Repository navigation
t27f: reel_factory.t27 -- content features to a unique scene plan per item (Closes #10561) - #10566
Merged
Merged
Conversation
… item (Closes #10561) The content factory of epic #10560 (R1 + R2). Each lesson's code and title are read into eleven feature counts; twelve scene archetypes are scored by term frequency over course frequency; the course is planned at once (best pair first, cap 4, no repeat within 2 items, then the least-used generic scene); accent, motion and layout dress the plan; eight output formats and the SSIM anomaly bound for R3. Lab: test-report 8/8 pass, 0 vacuous; seal --verify MATCH; t27b front end accepts it (JIT verdict is the arm64 ratchet's). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 18, 2026
This was referenced Oct 18, 2026
This was referenced Oct 18, 2026
Contributor
gHashTag
enabled auto-merge (squash)
October 18, 2026 18:30
gHashTag
added a commit
that referenced
this pull request
Oct 18, 2026
Ledger: keep reel_factory_plan row. Skill: keep the branch's fuller content-factory row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gHashTag
added a commit
that referenced
this pull request
Oct 18, 2026
Ledger: keep the reel_beats row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #10561. Part of epic #10560 (R1 + R2).
What
specs/t27f/reel_factory.t27is the content factory. An item's own content goes in, and a scene plan comes out. Every reel of a course gets a different scene, and no reel is edited by hand.reel_topics.t27is read keyword by keyword, at word boundaries, into eleven counts: test, fn, data, trit, loop, branch, use, guard, assert, name and pub. Each mention in the lesson's English title addsTITLE_WEIGHT(10). Without the title, lesson 8 "Expressions", with 8 asserts, would win the tests scene over lesson 9 "A test block", which has 1.ARCH_CAP(4) and never withinWINDOW(2) items of the same scene. Every item left over then takes the least-used generic scene: its code, title, task or place on the course map.t mod 4and the layout ist mod 3.The plan for course 0 (lab:
t27c gen+zig runof a scratch main; the spec itself keeps no main, see below)There are 12 archetypes and every one is used. Each lesson that teaches a construct gets that construct's scene:
Before this, every lesson had the same token_floor backdrop.
Self-critique, recorded in the spec's NOT CLAIMED block
t mod 12and the accent splits t from t+12. The uniqueness test is weak by itself; the window test is what keeps the scenes apart.TITLE_WEIGHTand the SSIM bound are chosen values, not measured ones.lesson_reel(R4) are not in this PR.Checks (Railway lab)
t27c test-report specs/t27f/reel_factory.t27: 8/8 pass, 0 vacuous. The per-test runtime asserts are 107, 14, 7, 456, 13, 81, 54 and 3.t27c seal --saveand then--verify: all hashes MATCH. The closure isreel_topics.t27.pass. On the x86 lab,t27b corpus specs/t27f --listtakes the spec through the front end and stops only at "the JIT runs only on arm64". The JIT verdict is the job of CI's t27b-native-ratchet.main, and t27b rejected it onstd.debug.print. The ledger's not-pass cap only moves down, somainwas dropped. Printing the plan becomes atricommand (R6 of the epic).The pointer row in
specs/t27f/frontend.t27waits for #10551, where that file is introduced.🤖 Generated with Claude Code