aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / om / site / discovery.om
| 1 | note Discovery renderer. Compose after runtime/json; the core supplies the leading om2. |
| 2 | note Source content baseline 3d36bd7829d1. Canonical research data is read on every entry. |
| 3 | note All counts are source-record bookkeeping, never claims of current activity or qualification. |
| 4 | text dpath "crates/site-builder/data/research_status.json" |
| 5 | text dcopy "om/site/discovery.json" |
| 6 | text dsource "https://interplane.io/drakestapleton/aienos.com/blob/main/crates/site-builder/data/research_status.json" |
| 7 | text dqs "https://interplane.io/drakestapleton/omega-mv/blob/main/docs/turing/TURING_SCIENTIFIC_QUALIFICATION_STATE.md" |
| 8 | text dgit "https://interplane.io/drakestapleton/" |
| 9 | text dblob "/blob/main/" |
| 10 | text domega "omega-mv" |
| 11 | text daienux "aienux" |
| 12 | text darch "aien-architecture-mv" |
| 13 | text datlas "atlas" |
| 14 | text dpreom "omega " |
| 15 | text dpreos "aienos " |
| 16 | text dprear "aien-architecture " |
| 17 | text dpreat "atlas " |
| 18 | text dcurdoc "TURING_CURRENT_STATE.md" |
| 19 | text dcurpth "docs/turing/TURING_CURRENT_STATE.md" |
| 20 | text dqsword "QS" |
| 21 | text dqscolon "QS:" |
| 22 | text dline "#L" |
| 23 | text dslash "/" |
| 24 | text dhttps "https://" |
| 25 | text deh ".h" |
| 26 | text dec ".c" |
| 27 | text demd ".md" |
| 28 | text desh ".sh" |
| 29 | text dejson ".json" |
| 30 | text demk ".mk" |
| 31 | text detxt ".txt" |
| 32 | text detsv ".tsv" |
| 33 | text dkid "id" |
| 34 | text dktitle "title" |
| 35 | text dkdesc "description" |
| 36 | text dkhref "href" |
| 37 | text dksource "source" |
| 38 | text dklink "link" |
| 39 | text dkevid "evidence" |
| 40 | text dklevel "level" |
| 41 | text dksum "summary" |
| 42 | text dkout "outside_scope" |
| 43 | text dknote "note" |
| 44 | text dkmean "meaning" |
| 45 | text dklimit "limitations" |
| 46 | text dkcurr "current_level" |
| 47 | text dkladder "ladder" |
| 48 | text dkstate "state" |
| 49 | text dkname "name" |
| 50 | text dkdetail "detail" |
| 51 | text dkbasis "basis" |
| 52 | text dkattemp "attempts" |
| 53 | text dkbeside "beside" |
| 54 | text dkoutcom "outcome" |
| 55 | text dkled "led_to" |
| 56 | text dkturing "turing_rows" |
| 57 | text dkimpl "implementation_rows" |
| 58 | text dkstatus "status" |
| 59 | text dkstatdt "status_detail" |
| 60 | text dkplain "plain" |
| 61 | text dkhead "headline" |
| 62 | text dknyield "not_yield" |
| 63 | text dkscope "scope" |
| 64 | text dkclaim "claim_level" |
| 65 | text dkrcpt "receipt" |
| 66 | text dkcommit "commit" |
| 67 | text dkdate "date" |
| 68 | text dknext "next_dependency" |
| 69 | text dkclass "class" |
| 70 | text dkasof "as_of" |
| 71 | text dktable "source_table" |
| 72 | text dkcomm "source_commits" |
| 73 | text dkhier "evidence_hierarchy" |
| 74 | text dkcaveat "caveats" |
| 75 | text dkdefine "turing_definition" |
| 76 | text dkabbrev "abbreviations" |
| 77 | text dkshort "short" |
| 78 | text dklong "long" |
| 79 | text dkallow "allowed_statuses" |
| 80 | text dkastate "allowed_ladder_states" |
| 81 | text dkacls "allowed_classes" |
| 82 | text dkom "omega" |
| 83 | text dkos "aienos" |
| 84 | text dkar "aien_architecture" |
| 85 | text dksite "aienos_com" |
| 86 | text dkcards "cards" |
| 87 | text dkparas "paragraphs" |
| 88 | text dklabel "label" |
| 89 | text dkintro "intro" |
| 90 | text dkphilo "philosophy" |
| 91 | text dkehub "evidence" |
| 92 | text dkorder "hierarchy" |
| 93 | text dkexams "exams" |
| 94 | text dkrecid "record_id" |
| 95 | text dkcaps "capabilities" |
| 96 | text dkrcpts "receipts" |
| 97 | text dkverd "verdict" |
| 98 | text dkfigure "figure" |
| 99 | text dkenv "environment" |
| 100 | text dkgate "gate" |
| 101 | text dkproves "proves" |
| 102 | text dknotpr "not_proves" |
| 103 | text dkpapers "papers" |
| 104 | text dty2 "TY-2" |
| 105 | text dpass "PASS" |
| 106 | text dfail "FAIL" |
| 107 | text dincompl "INCOMPLETE" |
| 108 | text dblocked "BLOCKED" |
| 109 | text dpartial "PARTIAL" |
| 110 | text dnotest "NOT ESTABLISHED" |
| 111 | text dnotstrt "NOT STARTED" |
| 112 | text dachieve "achieved" |
| 113 | text dpart "partial" |
| 114 | text dnotach "not achieved" |
| 115 | text dnotatt "not attempted" |
| 116 | text dimpl "Implemented" |
| 117 | text dpimpl "Partially implemented" |
| 118 | text dexper "Experimental" |
| 119 | text dplan "Planned" |
| 120 | text dhypoth "Research hypothesis" |
| 121 | text dl0 "L0" |
| 122 | text dl1 "L1" |
| 123 | text dl2 "L2" |
| 124 | text dl3 "L3" |
| 125 | text dl4 "L4" |
| 126 | text dl5 "L5" |
| 127 | text dl6 "L6" |
| 128 | text dl7 "L7+" |
| 129 | text dp "<p>" |
| 130 | text dpend "</p>" |
| 131 | text dstrong "<strong>" |
| 132 | text dstend "</strong>" |
| 133 | text dspace " " |
| 134 | text ddash "-" |
| 135 | text dcolon ": " |
| 136 | text dperiod ". " |
| 137 | text dli "<li>" |
| 138 | text dliend "</li>" |
| 139 | text dul "<ul>" |
| 140 | text dulend "</ul>" |
| 141 | text ddivend "</div>" |
| 142 | text dsecend "</section>" |
| 143 | text dartend "</article>" |
| 144 | text dh2 "<h2>" |
| 145 | text dh2end "</h2>" |
| 146 | text dh3 "<h3>" |
| 147 | text dh3end "</h3>" |
| 148 | text ddlist "<dl class=\"rs-facts\">" |
| 149 | text ddlend "</dl>" |
| 150 | text ddt "<div><dt>" |
| 151 | text ddd "</dt><dd>" |
| 152 | text dddend "</dd></div>" |
| 153 | text danchor "<a href=\"" |
| 154 | text dclose "\">" |
| 155 | text dfoot "<a class=\"box-link\" href=\"" |
| 156 | text dfsrc "<a class=\"box-link box-link-source\" href=\"" |
| 157 | text dfoote "\" target=\"_blank\" rel=\"noopener noreferrer\">Evidence on Interplane <span class=\"box-arrow\" aria-hidden=\"true\">↗</span></a>" |
| 158 | text dfoots "\" target=\"_blank\" rel=\"noopener noreferrer\">Source on Interplane <span class=\"box-arrow\" aria-hidden=\"true\">↗</span></a>" |
| 159 | text dlstatus "Status" |
| 160 | text dlscope "Scope" |
| 161 | text dlclaim "Claim level" |
| 162 | text dllimit "Limitations" |
| 163 | text dlnext "Next dependency" |
| 164 | text dlevid "Evidence" |
| 165 | text dlrcpt "Receipt" |
| 166 | text dlcommit "Commit" |
| 167 | text dldate "Date" |
| 168 | text dlenv "Environment" |
| 169 | text dlgate "Gate" |
| 170 | text dlproves "Proves" |
| 171 | text dlnotpr "Does not prove" |
| 172 | text dlsource "Receipt source" |
| 173 | |
| 174 | fn sd_get node ulong key view uchar * to ulong |
| 175 | v = sj_find node key |
| 176 | if ne sj_kind v 3 |
| 177 | exit 72 |
| 178 | end |
| 179 | ret v |
| 180 | end |
| 181 | |
| 182 | fn sd_arr node ulong key view uchar * to ulong |
| 183 | v = sj_find node key |
| 184 | if ne sj_kind v 2 |
| 185 | exit 72 |
| 186 | end |
| 187 | ret v |
| 188 | end |
| 189 | |
| 190 | fn sd_value node ulong key view uchar * to void |
| 191 | sj_emit sd_get node key |
| 192 | end |
| 193 | |
| 194 | fn sd_field node ulong key view uchar * label view uchar * to void |
| 195 | sr_raw ddt |
| 196 | sr_esc label |
| 197 | sr_raw ddd |
| 198 | sd_value node key |
| 199 | sr_raw dddend |
| 200 | end |
| 201 | |
| 202 | fn sd_nth arr ulong idx ulong to ulong |
| 203 | item = sj_first arr |
| 204 | for k ulong idx |
| 205 | if eq item 0 |
| 206 | exit 72 |
| 207 | end |
| 208 | item = sj_next item |
| 209 | end |
| 210 | if eq item 0 |
| 211 | exit 72 |
| 212 | end |
| 213 | ret item |
| 214 | end |
| 215 | |
| 216 | fn sd_expect arr ulong idx ulong value view uchar * to void |
| 217 | if not sj_eq sd_nth arr idx value |
| 218 | exit 72 |
| 219 | end |
| 220 | end |
| 221 | |
| 222 | fn sd_member node ulong arr ulong to bool |
| 223 | item = sj_first arr |
| 224 | while ne item 0 bound 999999 |
| 225 | if sj_same node item |
| 226 | ret true |
| 227 | end |
| 228 | item = sj_next item |
| 229 | end |
| 230 | ret false |
| 231 | end |
| 232 | |
| 233 | fn sd_find arr ulong key view uchar * value ulong to ulong |
| 234 | item = sj_first arr |
| 235 | while ne item 0 bound 999999 |
| 236 | if sj_same sd_get item key value |
| 237 | ret item |
| 238 | end |
| 239 | item = sj_next item |
| 240 | end |
| 241 | ret 0 |
| 242 | end |
| 243 | |
| 244 | fn sd_named arr ulong value view uchar * to ulong |
| 245 | item = sj_first arr |
| 246 | while ne item 0 bound 999999 |
| 247 | if sj_eq sd_get item dkid value |
| 248 | ret item |
| 249 | end |
| 250 | item = sj_next item |
| 251 | end |
| 252 | exit 72 |
| 253 | end |
| 254 | |
| 255 | fn sd_enums root ulong to void |
| 256 | a = sd_arr root dkallow |
| 257 | if ne sj_len a 7 |
| 258 | exit 72 |
| 259 | end |
| 260 | sd_expect a 0 dpass |
| 261 | sd_expect a 1 dfail |
| 262 | sd_expect a 2 dincompl |
| 263 | sd_expect a 3 dblocked |
| 264 | sd_expect a 4 dpartial |
| 265 | sd_expect a 5 dnotest |
| 266 | sd_expect a 6 dnotstrt |
| 267 | b = sd_arr root dkastate |
| 268 | if ne sj_len b 4 |
| 269 | exit 72 |
| 270 | end |
| 271 | sd_expect b 0 dachieve |
| 272 | sd_expect b 1 dpart |
| 273 | sd_expect b 2 dnotach |
| 274 | sd_expect b 3 dnotatt |
| 275 | c = sd_arr root dkacls |
| 276 | if ne sj_len c 5 |
| 277 | exit 72 |
| 278 | end |
| 279 | sd_expect c 0 dimpl |
| 280 | sd_expect c 1 dpimpl |
| 281 | sd_expect c 2 dexper |
| 282 | sd_expect c 3 dplan |
| 283 | sd_expect c 4 dhypoth |
| 284 | end |
| 285 | |
| 286 | fn sd_check_rows arr ulong allowed ulong key view uchar * to void |
| 287 | item = sj_first arr |
| 288 | if eq item 0 |
| 289 | exit 72 |
| 290 | end |
| 291 | while ne item 0 bound 999999 |
| 292 | ident = sd_get item dkid |
| 293 | if not sd_member sd_get item key allowed |
| 294 | exit 72 |
| 295 | end |
| 296 | other = sj_next item |
| 297 | while ne other 0 bound 999999 |
| 298 | if sj_same ident sd_get other dkid |
| 299 | exit 72 |
| 300 | end |
| 301 | other = sj_next other |
| 302 | end |
| 303 | item = sj_next item |
| 304 | end |
| 305 | end |
| 306 | |
| 307 | fn sd_check_ladder root ulong to void |
| 308 | arr = sd_arr root dkladder |
| 309 | if ne sj_len arr 8 |
| 310 | exit 72 |
| 311 | end |
| 312 | sd_expect_level arr 0 dl0 |
| 313 | sd_expect_level arr 1 dl1 |
| 314 | sd_expect_level arr 2 dl2 |
| 315 | sd_expect_level arr 3 dl3 |
| 316 | sd_expect_level arr 4 dl4 |
| 317 | sd_expect_level arr 5 dl5 |
| 318 | sd_expect_level arr 6 dl6 |
| 319 | sd_expect_level arr 7 dl7 |
| 320 | allowed = sd_arr root dkastate |
| 321 | item = sj_first arr |
| 322 | top = ulong 0 |
| 323 | gap = false |
| 324 | while ne item 0 bound 999999 |
| 325 | value = sd_get item dkstate |
| 326 | if not sd_member value allowed |
| 327 | exit 72 |
| 328 | end |
| 329 | if sj_eq value dachieve |
| 330 | if gap |
| 331 | exit 72 |
| 332 | end |
| 333 | top = sd_get item dklevel |
| 334 | else |
| 335 | gap = true |
| 336 | end |
| 337 | item = sj_next item |
| 338 | end |
| 339 | if eq top 0 |
| 340 | exit 72 |
| 341 | end |
| 342 | if not sj_same top sd_get sj_find root dkcurr dklevel |
| 343 | exit 72 |
| 344 | end |
| 345 | end |
| 346 | |
| 347 | fn sd_expect_level arr ulong idx ulong value view uchar * to void |
| 348 | if not sj_eq sd_get sd_nth arr idx dklevel value |
| 349 | exit 72 |
| 350 | end |
| 351 | end |
| 352 | |
| 353 | fn sd_check_attempts root ulong to void |
| 354 | arr = sd_arr root dkattemp |
| 355 | item = sj_first arr |
| 356 | while ne item 0 bound 999999 |
| 357 | row = sd_find sd_arr root dkturing dkid sd_get item dkid |
| 358 | if eq row 0 |
| 359 | exit 72 |
| 360 | end |
| 361 | if not sj_same sd_get row dkstatus sd_get item dkoutcom |
| 362 | exit 72 |
| 363 | end |
| 364 | if eq sd_find sd_arr root dkladder dklevel sd_get item dkbeside 0 |
| 365 | exit 72 |
| 366 | end |
| 367 | if eq sd_find sd_arr root dkturing dkid sd_get item dkled 0 |
| 368 | exit 72 |
| 369 | end |
| 370 | item = sj_next item |
| 371 | end |
| 372 | end |
| 373 | |
| 374 | fn sd_load to ulong |
| 375 | root = sj_load dpath |
| 376 | sd_enums root |
| 377 | sd_check_ladder root |
| 378 | sd_check_rows sd_arr root dkturing sd_arr root dkallow dkstatus |
| 379 | sd_check_rows sd_arr root dkimpl sd_arr root dkacls dkclass |
| 380 | sd_check_attempts root |
| 381 | ret root |
| 382 | end |
| 383 | |
| 384 | fn sd_prefix txt view uchar * prefix view uchar * to bool |
| 385 | if lt len txt len prefix |
| 386 | ret false |
| 387 | end |
| 388 | for k ulong len prefix |
| 389 | if ne get txt k get prefix k |
| 390 | ret false |
| 391 | end |
| 392 | end |
| 393 | ret true |
| 394 | end |
| 395 | |
| 396 | fn sd_suffix txt view uchar * suffix view uchar * to bool |
| 397 | if lt len txt len suffix |
| 398 | ret false |
| 399 | end |
| 400 | start = sub len txt len suffix |
| 401 | for k ulong len suffix |
| 402 | if ne get txt add start k get suffix k |
| 403 | ret false |
| 404 | end |
| 405 | end |
| 406 | ret true |
| 407 | end |
| 408 | |
| 409 | note A "github" href (historic name) is a forge link: FORGE/<repo>/... with the repo in rdallow. |
| 410 | fn sd_safehref node ulong github bool to void |
| 411 | if github |
| 412 | if not sj_prefix node dgit |
| 413 | exit 72 |
| 414 | end |
| 415 | else |
| 416 | if sj_prefix node dslash |
| 417 | if gt sj_size node 1 |
| 418 | if eq sj_byte node 1 47 |
| 419 | exit 72 |
| 420 | end |
| 421 | end |
| 422 | else |
| 423 | if not sj_prefix node dhttps |
| 424 | exit 72 |
| 425 | end |
| 426 | end |
| 427 | end |
| 428 | sj_href node |
| 429 | end |
| 430 | |
| 431 | fn sd_source to void |
| 432 | sr_raw dfsrc |
| 433 | sr_raw dsource |
| 434 | sr_raw dfoots |
| 435 | end |
| 436 | |
| 437 | note An empty url is a link with no Radicle equivalent: no box link at all. |
| 438 | fn sd_urlfoot url ulong evidence bool to void |
| 439 | if eq sj_size url 0 |
| 440 | ret |
| 441 | end |
| 442 | if evidence |
| 443 | sr_raw dfoot |
| 444 | else |
| 445 | sr_raw dfsrc |
| 446 | end |
| 447 | sd_safehref url true |
| 448 | if evidence |
| 449 | sr_raw dfoote |
| 450 | else |
| 451 | sr_raw dfoots |
| 452 | end |
| 453 | rd_rcpt url |
| 454 | end |
| 455 | |
| 456 | fn sd_fileext txt view uchar * to bool |
| 457 | if sd_suffix txt deh |
| 458 | ret true |
| 459 | end |
| 460 | if sd_suffix txt dec |
| 461 | ret true |
| 462 | end |
| 463 | if sd_suffix txt demd |
| 464 | ret true |
| 465 | end |
| 466 | if sd_suffix txt desh |
| 467 | ret true |
| 468 | end |
| 469 | if sd_suffix txt dejson |
| 470 | ret true |
| 471 | end |
| 472 | if sd_suffix txt demk |
| 473 | ret true |
| 474 | end |
| 475 | if sd_suffix txt detxt |
| 476 | ret true |
| 477 | end |
| 478 | if sd_suffix txt detsv |
| 479 | ret true |
| 480 | end |
| 481 | ret false |
| 482 | end |
| 483 | |
| 484 | fn sd_qsfoot txt view uchar * to void |
| 485 | sr_raw dfoot |
| 486 | sr_raw dqs |
| 487 | if gt len txt 3 |
| 488 | k = ulong 3 |
| 489 | while lt k len txt bound 999999 |
| 490 | b = get txt k |
| 491 | if or lt b 48 gt b 57 |
| 492 | break |
| 493 | end |
| 494 | k = add k 1 |
| 495 | end |
| 496 | if gt k 3 |
| 497 | sr_raw dline |
| 498 | sr_esc part txt 3 sub k 3 |
| 499 | end |
| 500 | end |
| 501 | sr_raw dfoote |
| 502 | end |
| 503 | |
| 504 | note atlas (repo 3) has no Radicle copy, so its citations stay plain text with no box link. |
| 505 | fn sd_pathfoot txt view uchar * repo ulong to bool |
| 506 | if eq repo 3 |
| 507 | ret false |
| 508 | end |
| 509 | colon = len txt |
| 510 | slash = false |
| 511 | for k ulong len txt |
| 512 | b = get txt k |
| 513 | if eq b 58 |
| 514 | colon = k |
| 515 | break |
| 516 | end |
| 517 | if eq b 47 |
| 518 | slash = true |
| 519 | end |
| 520 | if eq b 46 |
| 521 | if lt add k 1 len txt |
| 522 | if eq get txt add k 1 46 |
| 523 | ret false |
| 524 | end |
| 525 | end |
| 526 | end |
| 527 | end |
| 528 | special = sr_equal part txt 0 colon dcurdoc |
| 529 | if not special |
| 530 | if not slash |
| 531 | ret false |
| 532 | end |
| 533 | if eq get txt 0 47 |
| 534 | ret false |
| 535 | end |
| 536 | if not sd_fileext part txt 0 colon |
| 537 | ret false |
| 538 | end |
| 539 | end |
| 540 | sr_raw dfoot |
| 541 | sr_raw ghforge |
| 542 | if eq repo 1 |
| 543 | sr_raw daienux |
| 544 | else |
| 545 | if eq repo 2 |
| 546 | sr_raw darch |
| 547 | else |
| 548 | if eq repo 3 |
| 549 | sr_raw datlas |
| 550 | else |
| 551 | sr_raw domega |
| 552 | end |
| 553 | end |
| 554 | end |
| 555 | sr_raw dblob |
| 556 | if special |
| 557 | sr_raw dcurpth |
| 558 | else |
| 559 | sr_esc part txt 0 colon |
| 560 | end |
| 561 | if lt colon len txt |
| 562 | start = add colon 1 |
| 563 | finish = start |
| 564 | while lt finish len txt bound 999999 |
| 565 | b = get txt finish |
| 566 | if or lt b 48 gt b 57 |
| 567 | break |
| 568 | end |
| 569 | finish = add finish 1 |
| 570 | end |
| 571 | if gt finish start |
| 572 | sr_raw dline |
| 573 | sr_esc part txt start sub finish start |
| 574 | end |
| 575 | end |
| 576 | sr_raw dfoote |
| 577 | ret true |
| 578 | end |
| 579 | |
| 580 | fn sd_citation txt view uchar * to bool |
| 581 | start = ulong 0 |
| 582 | while lt start len txt bound 999999 |
| 583 | if gt get txt start 32 |
| 584 | break |
| 585 | end |
| 586 | start = add start 1 |
| 587 | end |
| 588 | repo = ulong 0 |
| 589 | if sd_prefix part txt start sub len txt start dpreos |
| 590 | repo = 1 |
| 591 | start = add start len dpreos |
| 592 | else |
| 593 | if sd_prefix part txt start sub len txt start dprear |
| 594 | repo = 2 |
| 595 | start = add start len dprear |
| 596 | else |
| 597 | if sd_prefix part txt start sub len txt start dpreat |
| 598 | repo = 3 |
| 599 | start = add start len dpreat |
| 600 | else |
| 601 | if sd_prefix part txt start sub len txt start dpreom |
| 602 | start = add start len dpreom |
| 603 | end |
| 604 | end |
| 605 | end |
| 606 | end |
| 607 | finish = start |
| 608 | while lt finish len txt bound 999999 |
| 609 | if le get txt finish 32 |
| 610 | break |
| 611 | end |
| 612 | finish = add finish 1 |
| 613 | end |
| 614 | while gt finish start bound 999999 |
| 615 | b = get txt sub finish 1 |
| 616 | if not or or eq b 44 eq b 59 eq b 58 |
| 617 | break |
| 618 | end |
| 619 | finish = sub finish 1 |
| 620 | end |
| 621 | if eq finish start |
| 622 | ret false |
| 623 | end |
| 624 | if or sr_equal part txt start sub finish start dqsword sd_prefix part txt start sub finish start dqscolon |
| 625 | sd_qsfoot part txt start sub finish start |
| 626 | ret true |
| 627 | end |
| 628 | ret sd_pathfoot part txt start sub finish start repo |
| 629 | end |
| 630 | |
| 631 | fn sd_optional_link node ulong to ulong |
| 632 | url = sj_find node dklink |
| 633 | if eq url 0 |
| 634 | ret 0 |
| 635 | end |
| 636 | if eq sj_kind url 7 |
| 637 | ret 0 |
| 638 | end |
| 639 | if ne sj_kind url 3 |
| 640 | exit 72 |
| 641 | end |
| 642 | ret url |
| 643 | end |
| 644 | |
| 645 | fn sd_evidence node ulong key view uchar * to void |
| 646 | buf = new uchar 4096 0 |
| 647 | url = sd_optional_link node |
| 648 | if ne url 0 |
| 649 | sd_urlfoot url true |
| 650 | ret |
| 651 | end |
| 652 | ev = sd_get node key |
| 653 | n = sj_string ev buf |
| 654 | if not sd_citation part buf 0 n |
| 655 | sd_source |
| 656 | end |
| 657 | end |
| 658 | |
| 659 | fn sd_slug node ulong to void |
| 660 | buf = new uchar 1 0 |
| 661 | pending = false |
| 662 | wrote = false |
| 663 | for k ulong sj_size node |
| 664 | b = sj_byte node k |
| 665 | if and ge b 65 le b 90 |
| 666 | b = add b 32 |
| 667 | end |
| 668 | if or and ge b 97 le b 122 and ge b 48 le b 57 |
| 669 | if pending |
| 670 | sr_raw ddash |
| 671 | pending = false |
| 672 | end |
| 673 | put buf 0 b |
| 674 | sr_raw buf |
| 675 | wrote = true |
| 676 | else |
| 677 | if wrote |
| 678 | pending = true |
| 679 | end |
| 680 | end |
| 681 | end |
| 682 | end |
| 683 | |
| 684 | text dbadge "<span class=\"rs-badge rs-badge--" |
| 685 | text dspend "</span>" |
| 686 | fn sd_badge node ulong to void |
| 687 | sr_raw dbadge |
| 688 | sd_slug node |
| 689 | sr_raw dclose |
| 690 | sj_emit node |
| 691 | sr_raw dspend |
| 692 | end |
| 693 | |
| 694 | text dcurrent "<p class=\"rs-current\"><strong>Current level: " |
| 695 | text dcurrmid ".</strong> " |
| 696 | fn sd_current root ulong to void |
| 697 | cur = sj_find root dkcurr |
| 698 | sr_raw dcurrent |
| 699 | sd_value cur dksum |
| 700 | sr_raw dcurrmid |
| 701 | sd_value cur dkout |
| 702 | sr_raw dspace |
| 703 | sd_value cur dknote |
| 704 | sr_raw dpend |
| 705 | sr_raw dp |
| 706 | sd_value cur dkmean |
| 707 | sr_raw dpend |
| 708 | end |
| 709 | |
| 710 | text dladopen "<div class=\"rs-ladder\">" |
| 711 | note Ladder markup matches the original research_status.rs stairs (mark, head, state, detail, basis) so assets/style.css lays it out. |
| 712 | text dladhint "<p class=\"muted\">Each step rests on the one below it. The state is written on every step; a partial step above a gap does not raise the claim ceiling.</p><ol class=\"rs-stairs\">" |
| 713 | text dladend "</ol></div>" |
| 714 | text dstep "<li class=\"rs-step rs-step--" |
| 715 | text dstlev "\" data-level=\"" |
| 716 | text dststate "\" data-state=\"" |
| 717 | text dsteph "\"><span class=\"rs-step-mark\" aria-hidden=\"true\"></span><div class=\"rs-step-body\"><div class=\"rs-step-head\"><span class=\"rs-step-level\">" |
| 718 | text dstname "</span><span class=\"rs-step-name\">" |
| 719 | text dststat "</span></div><p class=\"rs-step-state\">" |
| 720 | text dstdet "</p><p class=\"rs-step-detail\">" |
| 721 | text dbasis "</p><p class=\"rs-step-basis\">Evidence: " |
| 722 | text dattempt "<div class=\"rs-attempt\" data-attempt=\"" |
| 723 | text datth "\"><div class=\"rs-attempt-head\">" |
| 724 | text dattst "<strong>" |
| 725 | text dattkeep "</strong><span>failed attempt, kept on the record</span></div><p>" |
| 726 | text dledto " Led to " |
| 727 | fn sd_attempts root ulong level ulong to void |
| 728 | item = sj_first sd_arr root dkattemp |
| 729 | while ne item 0 bound 999999 |
| 730 | if sj_same sd_get item dkbeside level |
| 731 | sr_raw dattempt |
| 732 | sd_value item dkid |
| 733 | sr_raw datth |
| 734 | sd_badge sd_get item dkoutcom |
| 735 | sr_raw dattst |
| 736 | sd_value item dkid |
| 737 | sr_raw dattkeep |
| 738 | sd_value item dksum |
| 739 | sr_raw dledto |
| 740 | sd_value item dkled |
| 741 | sr_raw dpend |
| 742 | sr_raw ddivend |
| 743 | end |
| 744 | item = sj_next item |
| 745 | end |
| 746 | end |
| 747 | |
| 748 | fn sd_ladder_data root ulong to void |
| 749 | sr_raw dladopen |
| 750 | sd_current root |
| 751 | sr_raw dladhint |
| 752 | item = sj_first sd_arr root dkladder |
| 753 | while ne item 0 bound 999999 |
| 754 | sr_raw dstep |
| 755 | sd_value item dkstate |
| 756 | sr_raw dstlev |
| 757 | sd_value item dklevel |
| 758 | sr_raw dststate |
| 759 | sd_value item dkstate |
| 760 | sr_raw dsteph |
| 761 | sd_value item dklevel |
| 762 | sr_raw dstname |
| 763 | sd_value item dkname |
| 764 | sr_raw dststat |
| 765 | sd_value item dkstate |
| 766 | sr_raw dstdet |
| 767 | sd_value item dkdetail |
| 768 | sr_raw dbasis |
| 769 | sd_value item dkbasis |
| 770 | sr_raw dpend |
| 771 | sd_evidence item dkbasis |
| 772 | sd_attempts root sd_get item dklevel |
| 773 | sr_raw ddivend |
| 774 | sr_raw dliend |
| 775 | item = sj_next item |
| 776 | end |
| 777 | sr_raw dladend |
| 778 | end |
| 779 | |
| 780 | fn sd_ladder to void |
| 781 | root = sd_load |
| 782 | sd_ladder_data root |
| 783 | end |
| 784 | |
| 785 | fn sd_facts node ulong to void |
| 786 | sr_raw ddlist |
| 787 | sd_field node dkstatdt dlstatus |
| 788 | sd_field node dkscope dlscope |
| 789 | sd_field node dkclaim dlclaim |
| 790 | sd_field node dklimit dllimit |
| 791 | sd_field node dknext dlnext |
| 792 | sd_field node dkevid dlevid |
| 793 | sd_field node dkrcpt dlrcpt |
| 794 | sd_field node dkcommit dlcommit |
| 795 | sd_field node dkdate dldate |
| 796 | sr_raw ddlend |
| 797 | end |
| 798 | |
| 799 | text dcards "<div class=\"rs-cards\">" |
| 800 | text dcard "<article class=\"rs-card panel\" id=\"rs-" |
| 801 | text drow "\" data-row=\"" |
| 802 | text dstat "\" data-status=\"" |
| 803 | text dtitle "<h3 class=\"rs-card-title\" data-role=\"result-label\">" |
| 804 | text dhead "<p class=\"rs-card-headline\" data-role=\"result-label\">" |
| 805 | text dcallout "<p class=\"rs-card-callout\">" |
| 806 | text dmore "<details><summary>Scope, limits and receipt</summary>" |
| 807 | text dmend "</details>" |
| 808 | fn sd_turing_card row ulong to void |
| 809 | sr_raw dcard |
| 810 | sd_slug sd_get row dkid |
| 811 | sr_raw drow |
| 812 | sd_value row dkid |
| 813 | sr_raw dstat |
| 814 | sd_value row dkstatus |
| 815 | sr_raw dclose |
| 816 | sd_badge sd_get row dkstatus |
| 817 | sr_raw dspace |
| 818 | sd_value row dkid |
| 819 | sr_raw dtitle |
| 820 | sd_value row dktitle |
| 821 | sr_raw dh3end |
| 822 | h = sj_find row dkhead |
| 823 | if ne h 0 |
| 824 | sr_raw dhead |
| 825 | sj_emit h |
| 826 | sr_raw dpend |
| 827 | end |
| 828 | n = sj_find row dknyield |
| 829 | if ne n 0 |
| 830 | sr_raw dcallout |
| 831 | sj_emit n |
| 832 | sr_raw dpend |
| 833 | end |
| 834 | sr_raw dp |
| 835 | sd_value row dkplain |
| 836 | sr_raw dpend |
| 837 | sr_raw dmore |
| 838 | sd_facts row |
| 839 | sr_raw dmend |
| 840 | sd_evidence row dkevid |
| 841 | sr_raw dartend |
| 842 | end |
| 843 | |
| 844 | fn sd_cards root ulong to void |
| 845 | sr_raw dcards |
| 846 | item = sj_first sd_arr root dkturing |
| 847 | while ne item 0 bound 999999 |
| 848 | sd_turing_card item |
| 849 | item = sj_next item |
| 850 | end |
| 851 | sr_raw ddivend |
| 852 | end |
| 853 | |
| 854 | text dgroup "<section class=\"rs-group section\" data-class=\"" |
| 855 | text dcount " (" |
| 856 | text dcounten ")" |
| 857 | text dibuilt "<p>Code and tests exist. Each entry says how far that goes.</p>" |
| 858 | text dipart "<p>Some of it exists. The missing part is named.</p>" |
| 859 | text diexper "<p>Being tried. Results so far, including failures, are on the record.</p>" |
| 860 | text diplan "<p>Written down as a plan or specification. No code yet.</p>" |
| 861 | text dihyp "<p>Not built. An idea to test, not a feature.</p>" |
| 862 | text diitem "<li class=\"rs-impl-item panel\" data-impl=\"" |
| 863 | fn sd_class_intro cls ulong to void |
| 864 | if sj_eq cls dimpl |
| 865 | sr_raw dibuilt |
| 866 | end |
| 867 | if sj_eq cls dpimpl |
| 868 | sr_raw dipart |
| 869 | end |
| 870 | if sj_eq cls dexper |
| 871 | sr_raw diexper |
| 872 | end |
| 873 | if sj_eq cls dplan |
| 874 | sr_raw diplan |
| 875 | end |
| 876 | if sj_eq cls dhypoth |
| 877 | sr_raw dihyp |
| 878 | end |
| 879 | end |
| 880 | |
| 881 | fn sd_group arr ulong cls ulong to void |
| 882 | count = ulong 0 |
| 883 | item = sj_first arr |
| 884 | while ne item 0 bound 999999 |
| 885 | if sj_same sd_get item dkclass cls |
| 886 | count = add count 1 |
| 887 | end |
| 888 | item = sj_next item |
| 889 | end |
| 890 | if eq count 0 |
| 891 | ret |
| 892 | end |
| 893 | sr_raw dgroup |
| 894 | sj_emit cls |
| 895 | sr_raw dclose |
| 896 | sr_raw dh3 |
| 897 | sj_emit cls |
| 898 | sr_raw dcount |
| 899 | sr_num count |
| 900 | sr_raw dcounten |
| 901 | sr_raw dh3end |
| 902 | sd_class_intro cls |
| 903 | sr_raw dul |
| 904 | item = sj_first arr |
| 905 | while ne item 0 bound 999999 |
| 906 | if sj_same sd_get item dkclass cls |
| 907 | sr_raw diitem |
| 908 | sd_value item dkid |
| 909 | sr_raw dclose |
| 910 | sr_raw dh3 |
| 911 | sd_value item dkid |
| 912 | sr_raw dh3end |
| 913 | sr_raw dp |
| 914 | sd_value item dkstatdt |
| 915 | sr_raw dpend |
| 916 | sr_raw dp |
| 917 | sd_value item dkscope |
| 918 | sr_raw dpend |
| 919 | sr_raw dmore |
| 920 | sd_facts item |
| 921 | sr_raw dmend |
| 922 | sd_evidence item dkevid |
| 923 | sr_raw dliend |
| 924 | end |
| 925 | item = sj_next item |
| 926 | end |
| 927 | sr_raw dulend |
| 928 | sr_raw dsecend |
| 929 | end |
| 930 | |
| 931 | text dimplbox "<div class=\"rs-impl\">" |
| 932 | fn sd_implementation_data root ulong to void |
| 933 | sr_raw dimplbox |
| 934 | item = sj_first sd_arr root dkacls |
| 935 | while ne item 0 bound 999999 |
| 936 | sd_group sd_arr root dkimpl item |
| 937 | item = sj_next item |
| 938 | end |
| 939 | sr_raw ddivend |
| 940 | end |
| 941 | |
| 942 | fn sd_implementation to void |
| 943 | root = sd_load |
| 944 | sd_implementation_data root |
| 945 | end |
| 946 | |
| 947 | text dsources "<section id=\"sources\" class=\"section rs-sources\"><h2>Sources and caveats</h2>" |
| 948 | text drepocom "<p>Repository commits read: omega " |
| 949 | text doscomm ", aienos " |
| 950 | text darcomm ", aien-architecture " |
| 951 | text dsitecom ", aienos.com " |
| 952 | text derank "<p>Evidence ranks: " |
| 953 | text dlevlim " Evidence for the current level: " |
| 954 | text dabhead "<h3>Abbreviations</h3>" |
| 955 | fn sd_sources root ulong to void |
| 956 | sr_raw dsources |
| 957 | sr_raw dp |
| 958 | sd_value root dktable |
| 959 | sr_raw dpend |
| 960 | c = sj_find root dkcomm |
| 961 | sr_raw drepocom |
| 962 | sd_value c dkom |
| 963 | sr_raw doscomm |
| 964 | sd_value c dkos |
| 965 | sr_raw darcomm |
| 966 | sd_value c dkar |
| 967 | sr_raw dsitecom |
| 968 | sd_value c dksite |
| 969 | sr_raw dpend |
| 970 | sr_raw derank |
| 971 | sd_value root dkhier |
| 972 | sr_raw dpend |
| 973 | sr_raw dul |
| 974 | item = sj_first sd_arr root dkcaveat |
| 975 | while ne item 0 bound 999999 |
| 976 | sr_raw dli |
| 977 | sj_emit item |
| 978 | sr_raw dliend |
| 979 | item = sj_next item |
| 980 | end |
| 981 | cur = sj_find root dkcurr |
| 982 | sr_raw dli |
| 983 | sd_value cur dklimit |
| 984 | sr_raw dlevlim |
| 985 | sd_value cur dkevid |
| 986 | sr_raw dliend |
| 987 | sr_raw dulend |
| 988 | sr_raw dabhead |
| 989 | sr_raw ddlist |
| 990 | item = sj_first sd_arr root dkabbrev |
| 991 | while ne item 0 bound 999999 |
| 992 | sr_raw ddt |
| 993 | sd_value item dkshort |
| 994 | sr_raw ddd |
| 995 | sd_value item dklong |
| 996 | sr_raw dddend |
| 997 | item = sj_next item |
| 998 | end |
| 999 | sr_raw ddlend |
| 1000 | sd_source |
| 1001 | sr_raw dsecend |
| 1002 | end |
| 1003 | |
| 1004 | text dhubcard "<article class=\"hub-card panel\">" |
| 1005 | text dcardhd "</a></h3>" |
| 1006 | text dcardgr "<div class=\"dashboard-grid\">" |
| 1007 | fn sd_content_card node ulong to void |
| 1008 | sr_raw dhubcard |
| 1009 | label = sj_find node dklabel |
| 1010 | if ne label 0 |
| 1011 | sr_raw dp |
| 1012 | sj_emit label |
| 1013 | sr_raw dpend |
| 1014 | end |
| 1015 | sr_raw dh3 |
| 1016 | sr_raw danchor |
| 1017 | sd_safehref sd_get node dkhref false |
| 1018 | sr_raw dclose |
| 1019 | sd_value node dktitle |
| 1020 | sr_raw dcardhd |
| 1021 | sr_raw dp |
| 1022 | sd_value node dkdesc |
| 1023 | sr_raw dpend |
| 1024 | url = sd_optional_link node |
| 1025 | if ne url 0 |
| 1026 | sd_urlfoot url true |
| 1027 | else |
| 1028 | sd_urlfoot sd_get node dksource false |
| 1029 | end |
| 1030 | sr_raw dartend |
| 1031 | end |
| 1032 | |
| 1033 | fn sd_content_cards arr ulong to void |
| 1034 | sr_raw dcardgr |
| 1035 | item = sj_first arr |
| 1036 | while ne item 0 bound 999999 |
| 1037 | sd_content_card item |
| 1038 | item = sj_next item |
| 1039 | end |
| 1040 | sr_raw ddivend |
| 1041 | end |
| 1042 | |
| 1043 | fn sd_paragraphs arr ulong to void |
| 1044 | item = sj_first arr |
| 1045 | while ne item 0 bound 999999 |
| 1046 | sr_raw dp |
| 1047 | sj_emit item |
| 1048 | sr_raw dpend |
| 1049 | item = sj_next item |
| 1050 | end |
| 1051 | end |
| 1052 | |
| 1053 | text dhubhead "<header class=\"page-intro\"><p class=\"eyebrow\">Discoveries</p><h1>" |
| 1054 | text dhubmid "</h1><p class=\"lede\">" |
| 1055 | text dhubend "</p></header>" |
| 1056 | text dphiloh "<section class=\"section prose\"><h2>What these papers argue</h2>" |
| 1057 | text dphilol "<p><a href=\"/evidence/\">Evidence</a> · <a href=\"/research/status/\">Research status record</a></p></section>" |
| 1058 | fn sd_philosophy to void |
| 1059 | root = sj_load dcopy |
| 1060 | node = sj_find root dkphilo |
| 1061 | sr_raw dhubhead |
| 1062 | sd_value node dktitle |
| 1063 | sr_raw dhubmid |
| 1064 | sd_value node dklabel |
| 1065 | sr_raw dhubend |
| 1066 | sr_raw dp |
| 1067 | sd_value node dkintro |
| 1068 | sr_raw dpend |
| 1069 | sr_raw dphiloh |
| 1070 | sd_paragraphs sd_arr node dkparas |
| 1071 | sr_raw dphilol |
| 1072 | sd_content_cards sd_arr node dkcards |
| 1073 | end |
| 1074 | |
| 1075 | text deorder "<section class=\"section\"><h2 id=\"evidence-order\">What counts as evidence</h2><ol class=\"evidence-ladder\">" |
| 1076 | text deordend "</ol><p>Website prose never overrides code, tests, or receipts.</p></section><section class=\"section\"><h2>Where to inspect it</h2>" |
| 1077 | text defail "<section class=\"section prose\" aria-labelledby=\"evidence-failure\"><h2 id=\"evidence-failure\">Failure is evidence.</h2><p>Failed and incomplete experiments stay on the record. They are never deleted, hidden, or rewritten into success. A meter you cannot fail is not a meter.</p><p><a href=\"/discoveries/#receipts\">Dated receipt trail</a> · <a href=\"/hive/\">The Hive</a>. Activity is not qualification; each receipt keeps its own date, scope and limits.</p></section>" |
| 1078 | fn sd_evidence_hub to void |
| 1079 | root = sj_load dcopy |
| 1080 | node = sj_find root dkehub |
| 1081 | sr_raw dhubhead |
| 1082 | sd_value node dktitle |
| 1083 | sr_raw dhubmid |
| 1084 | sd_value node dkintro |
| 1085 | sr_raw dhubend |
| 1086 | sr_raw deorder |
| 1087 | item = sj_first sd_arr node dkorder |
| 1088 | while ne item 0 bound 999999 |
| 1089 | sr_raw dli |
| 1090 | sr_raw dstrong |
| 1091 | sd_value item dktitle |
| 1092 | sr_raw dstend |
| 1093 | sr_raw dspace |
| 1094 | sd_value item dkdesc |
| 1095 | sr_raw dliend |
| 1096 | item = sj_next item |
| 1097 | end |
| 1098 | sr_raw deordend |
| 1099 | sd_content_cards sd_arr node dkcards |
| 1100 | sr_raw dsecend |
| 1101 | sr_raw defail |
| 1102 | end |
| 1103 | |
| 1104 | text drshead "<header class=\"page-intro\"><p class=\"eyebrow\">Research status</p><h1>Where the research stands</h1><p class=\"lede\">" |
| 1105 | text drsasof "<p>Every status on this page is rendered from one data file, built from the consolidated research status table. Failed and incomplete experiments are shown, not hidden. As of " |
| 1106 | text drstoc "</p><nav class=\"cluster\" aria-label=\"On this page\"><a href=\"#ladder\">The ladder</a><a href=\"#experiments\">Experiments</a><a href=\"#implementation\">What is built</a><a href=\"#sources\">Sources</a><a href=\"/research-status.json\">Data file (JSON)</a></nav></header>" |
| 1107 | text dladsect "<section id=\"ladder\" class=\"section\"><h2>The research ladder</h2>" |
| 1108 | text dexpsect "<section id=\"experiments\" class=\"section\"><h2>Experiment status</h2><p>One card per result. The badge is the verdict; the lines below say what it covers, what it does not, and what it waits on.</p>" |
| 1109 | text dimplsec "<section id=\"implementation\" class=\"section\"><h2>What is built and what is still an idea</h2><p>Implemented work and research hypotheses are kept apart. A hypothesis listed here is a question, not a feature.</p>" |
| 1110 | fn sd_status_page to void |
| 1111 | root = sd_load |
| 1112 | sr_raw drshead |
| 1113 | sd_value root dkdefine |
| 1114 | sr_raw dpend |
| 1115 | sr_raw drsasof |
| 1116 | sd_value root dkasof |
| 1117 | sr_raw drstoc |
| 1118 | sr_raw dladsect |
| 1119 | sd_ladder_data root |
| 1120 | sr_raw dsecend |
| 1121 | sr_raw dexpsect |
| 1122 | sd_cards root |
| 1123 | sr_raw dsecend |
| 1124 | sr_raw dimplsec |
| 1125 | sd_implementation_data root |
| 1126 | sr_raw dsecend |
| 1127 | sd_sources root |
| 1128 | end |
| 1129 | |
| 1130 | text dexphead "<header class=\"page-intro\"><p class=\"eyebrow\">Experiments</p><h1>Experiments</h1><p class=\"lede\">Every experiment on the Aien research ladder, with its scope, its receipt and its outcome, failures included. Everything below is rendered from one data file, so this page cannot drift from the record.</p></header><section class=\"section\" aria-labelledby=\"experiments-ladder\"><h2 id=\"experiments-ladder\">Where the research stands</h2>" |
| 1131 | text dexpopen "<section id=\"experiment-cards\" class=\"section\" data-source=\"research_status.json\" aria-labelledby=\"experiment-cards-title\"><h2 id=\"experiment-cards-title\">Experiment cards</h2><p>One card per result. The badge is the verdict; the lines below say what it covers, what it does not, and what it waits on.</p>" |
| 1132 | text dexpfoot "<p><a class=\"hub-button\" href=\"/research/status/\">Open the full research status record</a></p></section><section class=\"section prose\"><h2>Check it yourself</h2><p>An experiment is frozen before it is scored, and its record stays public whatever the outcome. The same record is published as <a href=\"/research-status.json\">machine-readable data</a>, the protocols sit with the <a href=\"/research/computing-machinery-and-understanding/\">Turing paper</a>, and the <a href=\"/evidence/\">Evidence</a> page explains which sources count and where to find them.</p></section>" |
| 1133 | fn sd_experiments to void |
| 1134 | root = sd_load |
| 1135 | sr_raw dexphead |
| 1136 | sd_ladder_data root |
| 1137 | sr_raw dsecend |
| 1138 | sr_raw dexpopen |
| 1139 | sd_cards root |
| 1140 | sr_raw dexpfoot |
| 1141 | sd_sources root |
| 1142 | end |
| 1143 | |
| 1144 | text dclassop "<span class=\"rs-badge rs-class--" |
| 1145 | text dclassid "\" data-impl=\"" |
| 1146 | text dclassvh "\"><span class=\"visually-hidden\">Status: </span>" |
| 1147 | fn sd_record_badge ident view uchar * to void |
| 1148 | root = sd_load |
| 1149 | row = sd_named sd_arr root dkimpl ident |
| 1150 | sr_raw dclassop |
| 1151 | sd_slug sd_get row dkclass |
| 1152 | sr_raw dclassid |
| 1153 | sd_value row dkid |
| 1154 | sr_raw dclassvh |
| 1155 | sd_value row dkclass |
| 1156 | sr_raw dspend |
| 1157 | end |
| 1158 | |
| 1159 | text dexamop "<section class=\"section prose narr-exam\" id=\"" |
| 1160 | text dnorec "<p class=\"narr-norecord\">Not on the status record yet.</p>" |
| 1161 | text dcaphead "<h3>Generic capabilities it will receive</h3>" |
| 1162 | fn sd_exam idx ulong to void |
| 1163 | buf = new uchar 4096 0 |
| 1164 | root = sj_load dcopy |
| 1165 | row = sd_nth sd_arr root dkexams idx |
| 1166 | sr_raw dexamop |
| 1167 | sd_value row dkid |
| 1168 | sr_raw dclose |
| 1169 | sr_raw dh2 |
| 1170 | sd_value row dktitle |
| 1171 | ident = sj_find row dkrecid |
| 1172 | hasrec = eq sj_kind ident 3 |
| 1173 | if hasrec |
| 1174 | n = sj_string ident buf |
| 1175 | sr_raw dspace |
| 1176 | sd_record_badge part buf 0 n |
| 1177 | end |
| 1178 | sr_raw dh2end |
| 1179 | if not hasrec |
| 1180 | sr_raw dnorec |
| 1181 | end |
| 1182 | root = sj_load dcopy |
| 1183 | row = sd_nth sd_arr root dkexams idx |
| 1184 | sd_paragraphs sd_arr row dksum |
| 1185 | caps = sd_arr row dkcaps |
| 1186 | if gt sj_len caps 0 |
| 1187 | sr_raw dcaphead |
| 1188 | sr_raw dul |
| 1189 | item = sj_first caps |
| 1190 | while ne item 0 bound 999999 |
| 1191 | sr_raw dli |
| 1192 | sj_emit item |
| 1193 | sr_raw dliend |
| 1194 | item = sj_next item |
| 1195 | end |
| 1196 | sr_raw dulend |
| 1197 | end |
| 1198 | sr_raw dsecend |
| 1199 | end |
| 1200 | |
| 1201 | text dexamsin "<article class=\"prose\"><header class=\"page-intro\"><p class=\"eyebrow\">Scientific Discovery</p><h1>Examinations of representation discovery</h1><p class=\"lede\">Physics Zero, Dirac, Zeta and supersymmetry are examinations the program means to run. None of them is an Aien feature. Each one will test whether the machine can find a representation because it explains unseen observations better, after paying for its own complexity.</p></header><section id=\"rule\" class=\"section\"><h2>The rule</h2><blockquote><p>Never give Aien the named answer when the experiment is intended to test discovery.</p></blockquote><p>Each exam will supply generic mathematical machinery instead of the answer. A structure that emerges will count only if it earns positive Turings on held-out data. <a href=\"/machine/#turing\">How the Turing scores.</a></p><p>Each exam carries its entry from the <a href=\"/research/status/#implementation\">research status record</a>, where one exists.</p></section>" |
| 1202 | text dexamsen "<section id=\"later\" class=\"section\"><h2>When</h2><p>The full design of these exams belongs to a later phase of the program, after the general mathematical machinery exists. Until then they remain designs and open questions. <a href=\"/machine/#today\">See what exists today.</a></p><p><a href=\"/research/status/#implementation\">Read the complete implementation record</a>, including the separate Dirac workstream record and its limits. The exam mapping above is preserved from its authored source; a missing exam badge is not an assertion that the workstream has no record.</p><a class=\"source-link\" href=\"https://interplane.io/drakestapleton/aienos.com/blob/main/om/site/discovery.json\">Exam design source</a></section></article>" |
| 1203 | fn sd_discovery to void |
| 1204 | sr_raw dexamsin |
| 1205 | root = sj_load dcopy |
| 1206 | count = sj_len sd_arr root dkexams |
| 1207 | for idx ulong count |
| 1208 | sd_exam idx |
| 1209 | end |
| 1210 | sr_raw dexamsen |
| 1211 | end |
| 1212 | |
| 1213 | text drcptop "<article class=\"receipt panel\"><p class=\"badge\">" |
| 1214 | text drcptfig "</p><p class=\"stat\">" |
| 1215 | fn sd_receipt row ulong to void |
| 1216 | sr_raw drcptop |
| 1217 | sd_value row dkverd |
| 1218 | sr_raw drcptfig |
| 1219 | sd_value row dkfigure |
| 1220 | sr_raw dpend |
| 1221 | sr_raw dh3 |
| 1222 | sd_value row dktitle |
| 1223 | sr_raw dh3end |
| 1224 | sr_raw dp |
| 1225 | sd_value row dkdesc |
| 1226 | sr_raw dpend |
| 1227 | sr_raw ddlist |
| 1228 | sd_field row dkproves dlproves |
| 1229 | sd_field row dknotpr dlnotpr |
| 1230 | sd_field row dkdate dldate |
| 1231 | sd_field row dkenv dlenv |
| 1232 | sd_field row dkgate dlgate |
| 1233 | sd_field row dksource dlsource |
| 1234 | sr_raw ddlend |
| 1235 | sd_urlfoot sd_get row dklink true |
| 1236 | sr_raw dartend |
| 1237 | end |
| 1238 | |
| 1239 | text drcptin "<section id=\"receipts\" class=\"section\"><header><p class=\"eyebrow\">Proof, not promises</p><h2>Every claim carries a receipt</h2><p>This project does not ask to be believed. Each card names its environment, its gate, its date, and its verdict, and states plainly what the receipt proves and what it does not prove. That includes the failures, especially the failures.</p><p class=\"muted\">Dated evidence, not a live dashboard: these preserved receipt cards describe the runs and branch states recorded in the site inventory of 2026-10-19. Words such as today and newest inside a card refer to that dated record, not the current machine. The Qwen models in these cards were retired on 2026-11-06, and none of them is served now. Research results below retain the canonical record's own date.</p></header>" |
| 1240 | text dtyenv "<p>Environment: Omega verification suite, turing-yield CI on main. Receipt source: <a href=\"https://interplane.io/drakestapleton/omega-mv/patches\">aien-dev/omega · PR #88</a>.</p>" |
| 1241 | fn sd_receipts to void |
| 1242 | sr_raw drcptin |
| 1243 | root = sj_load dcopy |
| 1244 | sr_raw dcardgr |
| 1245 | item = sj_first sd_arr root dkrcpts |
| 1246 | while ne item 0 bound 999999 |
| 1247 | sd_receipt item |
| 1248 | item = sj_next item |
| 1249 | end |
| 1250 | sr_raw ddivend |
| 1251 | root = sd_load |
| 1252 | sr_raw dtyenv |
| 1253 | sd_turing_card sd_named sd_arr root dkturing dty2 |
| 1254 | sr_raw dsecend |
| 1255 | end |
| 1256 | |
| 1257 | text dresrch "<section id=\"research\" class=\"section\"><header><p class=\"eyebrow\">Published research</p><h2>Do not take my word for it. Check the receipts.</h2><p>Most AI asks you to trust a demo and a promise. This project publishes its science in the open instead: the Turing, a unit of net held-out explanatory compression (one operational component of machine understanding), plus the papers behind it and the data anyone can recheck. It starts with the Turing.</p></header><article class=\"hub-card panel\"><p class=\"eyebrow\">The Turing (T)</p><h3>A unit of net held-out explanatory compression</h3><p>One Turing is one bit of net held-out description-length improvement: a short explanation that predicts things it has never seen earns Turings. Guessing earns nothing. Memorizing earns nothing, because the test data is new.</p>" |
| 1258 | text drlinks "<p class=\"cluster\"><a class=\"button\" href=\"/turing/\">Explore the Turing</a><a href=\"/research/computing-machinery-and-understanding\">Read the formal paper</a><a href=\"/research/status/\">See the full research ladder.</a></p>" |
| 1259 | text dgame "<div id=\"turing-game\" class=\"panel\"><h3>Try it: earn your first Turings</h3><p id=\"tg-round\">Round 0 / 12</p><p>A hidden rule is generating this stream of bits. Watch it, find the pattern, and call the next bit before it lands.</p><div id=\"tg-stream\" aria-live=\"polite\"></div><div class=\"cluster\"><button type=\"button\" id=\"tg-zero\">0</button><button type=\"button\" id=\"tg-one\">1</button></div><p>Score: <span id=\"tg-score\">0 T</span></p><button type=\"button\" id=\"tg-reset\">New stream</button><p id=\"tg-msg\" aria-live=\"polite\">Each call you get right earns 1 T, each miss costs 1 T. A coin flip averages zero.</p><noscript><p>The interactive stream needs JavaScript. <a href=\"/turing/\">Read the Turing explanation</a> or <a href=\"/research/computing-machinery-and-understanding/\">inspect the paper and protocols</a> without it.</p></noscript></div>" |
| 1260 | text drend "<p>Everything, including protocols, sealed experiment profiles, and source files: <a href=\"/research/\">the full research index</a> · <a href=\"https://interplane.io/explore\">the public code and receipts on GitHub</a>.</p></section>" |
| 1261 | fn sd_research_home to void |
| 1262 | root = sd_load |
| 1263 | sr_raw dresrch |
| 1264 | sr_raw dp |
| 1265 | sd_value root dkdefine |
| 1266 | sr_raw dpend |
| 1267 | sd_current root |
| 1268 | sr_raw drlinks |
| 1269 | sr_raw dfoot |
| 1270 | sr_raw dqs |
| 1271 | sr_raw dfoote |
| 1272 | sr_raw dartend |
| 1273 | sr_raw dgame |
| 1274 | root = sj_load dcopy |
| 1275 | sd_content_cards sd_arr root dkpapers |
| 1276 | sr_raw drend |
| 1277 | end |
| 1278 | |
| 1279 | text ddiscint "<header class=\"page-intro\"><p class=\"eyebrow\">Discoveries</p><h1>Follow a question all the way to its evidence.</h1><p class=\"lede\">I keep the experiments, the failures and the limits together. Start with the research record, inspect a receipt, or follow the work through the Hive.</p></header><nav class=\"cluster\" aria-label=\"Discovery trails\"><a href=\"/research/\">Papers and protocols</a><a href=\"/experiments/\">Experiments</a><a href=\"/evidence/\">Evidence rules</a><a href=\"/discovery/\">Future examinations</a><a href=\"/philosophy/\">Philosophy</a><a href=\"/hive/\">Hive activity</a></nav><section class=\"section\" aria-labelledby=\"discovery-record\"><h2 id=\"discovery-record\">The recorded research state</h2><p>Read from <a href=\"/research-status.json\">research-status.json</a> at build time. Record as of " |
| 1280 | text ddiscage "</p><p class=\"muted\">These are counts of records, not successful discoveries, live agents, or hardware qualifications. The Hive publishes its own observation time and freshness state. Activity there does not promote a research verdict here.</p><div class=\"stat-grid\">" |
| 1281 | text dstatop "<div class=\"stat\"><strong>" |
| 1282 | text dstature "</strong> experiment and instrument records</div>" |
| 1283 | text dstaimpl "</strong> implementation and hypothesis records</div>" |
| 1284 | text dstaladd "</strong> ladder steps</div>" |
| 1285 | text ddashend "</section><section class=\"section\"><h2>Take the next trail</h2><div class=\"dashboard-grid\"><article class=\"hub-card panel\"><h3><a href=\"/research/\">Read the science</a></h3><p>The formal paper, emergence companion, protocols, profiles and source artifacts remain fully readable.</p><a class=\"box-link box-link-source\" href=\"https://interplane.io/drakestapleton/aienos.com/tree/main/public/research\">Source on Interplane</a></article><article class=\"hub-card panel\"><h3><a href=\"/evidence/\">Inspect the evidence</a></h3><p>Code, tests and receipts outrank a website. Check the scope and the limits before drawing a conclusion.</p><a class=\"box-link box-link-source\" href=\"https://interplane.io/drakestapleton/aienos.com/blob/main/om/site/discovery.json\">Source on Interplane</a></article><article class=\"hub-card panel\"><h3><a href=\"/hive/\">Follow the Hive</a></h3><p>Open the observation board for source-timestamped activity and evidence trails. A stale observation remains stale; this dashboard makes no live count claim.</p><p><a href=\"/hive/board/\">Open the no-JavaScript board</a></p><a class=\"box-link box-link-source\" href=\"https://interplane.io/drakestapleton/aienos.com/blob/main/om/hive-render/render.om\">Source on Interplane</a></article></div></section>" |
| 1286 | text ddmore "<details class=\"section\"><summary>Every experiment, including failures</summary>" |
| 1287 | text ddimpl "<details class=\"section\"><summary>Every implementation record and research hypothesis</summary><p>Hypothesis, implementation, exercise, qualification, merge and deployment are different claims. A badge never erases the row's scope or limitations.</p>" |
| 1288 | text ddashsrc "<p><a class=\"hub-button\" href=\"/research/status/\">Open the full research status record</a> · <a href=\"/research-status.json\">Canonical data</a></p>" |
| 1289 | fn sd_dashboard to void |
| 1290 | root = sd_load |
| 1291 | sr_raw ddiscint |
| 1292 | sd_value root dkasof |
| 1293 | sr_raw ddiscage |
| 1294 | sr_raw dstatop |
| 1295 | sr_num sj_len sd_arr root dkturing |
| 1296 | sr_raw dstature |
| 1297 | sr_raw dstatop |
| 1298 | sr_num sj_len sd_arr root dkimpl |
| 1299 | sr_raw dstaimpl |
| 1300 | sr_raw dstatop |
| 1301 | sr_num sj_len sd_arr root dkladder |
| 1302 | sr_raw dstaladd |
| 1303 | sr_raw ddivend |
| 1304 | sd_source |
| 1305 | sd_ladder_data root |
| 1306 | sr_raw ddashsrc |
| 1307 | sr_raw ddashend |
| 1308 | sr_raw ddmore |
| 1309 | sd_cards root |
| 1310 | sr_raw dmend |
| 1311 | sr_raw ddimpl |
| 1312 | sd_implementation_data root |
| 1313 | sr_raw dmend |
| 1314 | sd_sources root |
| 1315 | sd_receipts |
| 1316 | end |
| 1317 | |
| 1318 | text drdash "/discoveries/" |
| 1319 | text drstatus "/research/status/" |
| 1320 | text drexp "/experiments/" |
| 1321 | text drdiscov "/discovery/" |
| 1322 | text drevid "/evidence/" |
| 1323 | text drphilo "/philosophy/" |
| 1324 | fn sd_page route view uchar * to bool |
| 1325 | if sr_equal route drdash |
| 1326 | sd_dashboard |
| 1327 | ret true |
| 1328 | end |
| 1329 | if sr_equal route drstatus |
| 1330 | sd_status_page |
| 1331 | ret true |
| 1332 | end |
| 1333 | if sr_equal route drexp |
| 1334 | sd_experiments |
| 1335 | ret true |
| 1336 | end |
| 1337 | if sr_equal route drdiscov |
| 1338 | sd_discovery |
| 1339 | ret true |
| 1340 | end |
| 1341 | if sr_equal route drevid |
| 1342 | sd_evidence_hub |
| 1343 | ret true |
| 1344 | end |
| 1345 | if sr_equal route drphilo |
| 1346 | sd_philosophy |
| 1347 | ret true |
| 1348 | end |
| 1349 | note /research/ and all static paper bodies remain core-owned, with their complete assets. |
| 1350 | ret false |
| 1351 | end |