Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienos.com/blob/main/crates/site-builder/src/components/research.rs # aienos.com Source of www.aienos.com, served from my own hardware Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienos.com / crates / site-builder / src / components / research.rs` 185 lines · 12206 bytes Raw Blame History 1 use maud::{html, Markup, PreEscaped}; 2 3 use super::boxlink::{foot, source_dir_href, Target}; 4 use super::research_status as rs; 5 6 /// The Turing's qualification record in the Omega repository. 7 pub const TURING_RECORD: &str = "https://interplane.io/drakestapleton/omega-mv/blob/main/docs/turing/TURING_SCIENTIFIC_QUALIFICATION_STATE.md"; 8 9 pub fn render_research() -> Markup { 10 let papers = [ 11 ( 12 "Computing Machinery and Understanding", 13 rs::paper_note(), 14 "Formal paper", 15 "/research/computing-machinery-and-understanding", 16 "Read the paper", 17 "public/research/computing-machinery-and-understanding", 18 ), 19 ( 20 "Computing Machinery and Understanding: Emergence", 21 "The companion paper: how understanding emerges in a system, and what the measure says about it.", 22 "Companion paper", 23 "/research/computing-machinery-and-understanding-emergence", 24 "Read the companion", 25 "public/research/computing-machinery-and-understanding-emergence", 26 ), 27 ( 28 "The Stapleton Doctrine", 29 "The philosophy behind the architecture, stated as a position paper: build on physics, own the foundation, prove every claim.", 30 "Position paper", 31 "/research/the-stapleton-doctrine", 32 "Read the doctrine", 33 "public/research/the-stapleton-doctrine", 34 ), 35 ( 36 "The Case for Verified Learning", 37 "A proposal for programs, checks, and a learning loop on owned hardware.", 38 "Essay", 39 "/post-llm-case/", 40 "Read the essay", 41 "public/post-llm-case", 42 ), 43 ]; 44 45 html! { 46 section id="research" style="padding: 80px 0; border-bottom: 1px solid var(--border-subtle);" { 47 div class="container" { 48 div style="margin-bottom: 40px; max-width: 760px;" { 49 div class="badge badge-green" style="margin-bottom: 12px;" { 50 "PUBLISHED RESEARCH" 51 } 52 h2 style="font-size: 32px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary);" { 53 "Do not take my word for it. Check the receipts." 54 } 55 p style="color: var(--text-secondary); margin-top: 8px; line-height: 1.6;" { 56 "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." 57 } 58 } 59 60 // Featured: the Turing, with the playable demo. 61 div class="glow-box" style="padding: 32px; border-radius: 8px; margin-bottom: 24px;" { 62 div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px;" { 63 div { 64 div class="badge badge-blue" style="margin-bottom: 12px; font-size: 10px;" { 65 "THE TURING (T)" 66 } 67 h3 style="font-size: 24px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px;" { 68 "A unit of net held-out explanatory compression" 69 } 70 p style="color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin-bottom: 12px;" { 71 "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." 72 } 73 p style="color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin-bottom: 20px;" { 74 (rs::current_level_sentence()) 75 " " 76 a href="/research/status/" style="color: var(--accent-green); font-weight: 600;" { "See the full research ladder." } 77 } 78 div style="display: flex; gap: 12px; flex-wrap: wrap;" { 79 a href="/turing/" style="background: var(--accent-green); color: var(--bg-base); border-radius: 4px; padding: 8px 16px; font-family: var(--font-mono); font-size: 13px; font-weight: 700;" { 80 "Explore the Turing" 81 } 82 a href="/research/computing-machinery-and-understanding" style="background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-subtle); border-radius: 4px; padding: 8px 16px; font-family: var(--font-mono); font-size: 13px; font-weight: 600;" { 83 "Read the formal paper" 84 } 85 } 86 div style="margin-top: 22px;" { (foot(TURING_RECORD, Target::Evidence)) } 87 } 88 89 // The game: guess the next bit, earn Turings. 90 div id="turing-game" style="background: var(--bg-base); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 20px;" { 91 div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px;" { 92 span style="font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em;" { 93 "Try it: earn your first Turings" 94 } 95 span id="tg-round" style="font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);" { 96 "Round 0 / 12" 97 } 98 } 99 p style="font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px;" { 100 "A hidden rule is generating this stream of bits. Watch it, find the pattern, and call the next bit before it lands." 101 } 102 div id="tg-stream" aria-live="polite" style="font-family: var(--font-mono); font-size: 20px; font-weight: 700; letter-spacing: 0.35em; color: var(--text-primary); min-height: 30px; margin-bottom: 16px; word-break: break-all;" { 103 "" 104 } 105 div style="display: flex; gap: 12px; margin-bottom: 16px;" { 106 button type="button" id="tg-zero" style="flex: 1; background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 12px; font-family: var(--font-mono); font-size: 18px; font-weight: 700; cursor: pointer;" { 107 "0" 108 } 109 button type="button" id="tg-one" style="flex: 1; background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 12px; font-family: var(--font-mono); font-size: 18px; font-weight: 700; cursor: pointer;" { 110 "1" 111 } 112 } 113 div style="display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;" { 114 div style="font-family: var(--font-mono); font-size: 14px; color: var(--text-primary);" { 115 "Score: " 116 span id="tg-score" style="color: var(--accent-green); font-weight: 700;" { "0 T" } 117 } 118 button type="button" id="tg-reset" style="background: transparent; color: var(--text-muted); border: 1px solid var(--border-subtle); border-radius: 4px; padding: 6px 12px; font-family: var(--font-mono); font-size: 12px; cursor: pointer;" { 119 "New stream" 120 } 121 } 122 p id="tg-msg" aria-live="polite" style="font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-top: 12px; min-height: 20px;" { 123 "Each call you get right earns 1 T, each miss costs 1 T. A coin flip averages zero." 124 } 125 } 126 } 127 } 128 129 // The papers. 130 div class="responsive-card-grid" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px;" { 131 @for (title, desc, badge, url, cta, src) in &papers { 132 div class="glow-box" style="padding: 28px; border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;" { 133 div { 134 div style="margin-bottom: 12px;" { 135 span class="badge badge-blue" style="font-size: 10px;" { 136 (badge) 137 } 138 } 139 h3 style="font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px;" { 140 a href=(url) style="color: inherit;" { 141 (title) 142 } 143 } 144 p style="color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin: 0;" { 145 (desc) 146 } 147 } 148 div style="padding-top: 16px; border-top: 1px solid var(--border-subtle); font-family: var(--font-mono); font-size: 12px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between;" { 149 a href=(url) style="color: var(--accent-green); font-weight: 600;" { 150 (cta) " \u{2192}" 151 } 152 (foot(&source_dir_href(src), Target::Source)) 153 } 154 } 155 } 156 } 157 158 p style="margin-top: 24px; font-size: 14px; color: var(--text-secondary);" { 159 "Everything, including protocols, sealed experiment profiles, and source files: " 160 a href="/research/" style="color: var(--accent-green); font-weight: 600;" { 161 "the full research index" 162 } 163 (PreEscaped(" · ")) 164 a href="https://interplane.io/drakestapleton" target="_blank" rel="noopener noreferrer" style="color: var(--accent-green); font-weight: 600;" { 165 "the public code and receipts on the forge" 166 } 167 } 168 } 169 } 170 } 171 } 172 173 #[cfg(test)] 174 mod tests { 175 use super::*; 176 177 #[test] 178 fn the_turing_card_and_every_paper_card_link_to_interplane() { 179 let page = render_research().into_string(); 180 assert_eq!(crate::components::boxlink::check_boxes(&page), Ok(5), "the Turing card and four papers"); 181 assert!(page.contains(&TURING_RECORD.replace("https://github.com/aien-dev/", "https://interplane.io/drakestapleton/"))); 182 assert!(page.contains("https://interplane.io/drakestapleton/aienos.com/tree/main/public/research/the-stapleton-doctrine")); 183 assert_eq!(page.matches("box-link-source").count(), 4, "papers are source links, the Turing card is evidence"); 184 } 185 }