{"tracks":[{"id":"motion","title":"Motion","blurb":"Nine rules for motion that explains, each with a plan that follows it and one that breaks it.","principles":[{"id":"motion-source","track":"motion","title":"Energy has a source","rule":"Something only pulses because something arrived: every hit lands as a packet does.","why":"A receiver that reacts to nothing reads as a glitch; one that reacts to a packet teaches cause and effect."},{"id":"motion-focal","track":"motion","title":"One focal action at a time","rule":"Packets travel one after another. Several may leave together only as one broadcast (one source) or one gather (one target).","why":"Unrelated things moving at once split attention, and the viewer follows neither; a fan-out or a gather reads as a single moment."},{"id":"motion-stagger","track":"motion","title":"Stagger entrances by about 120 ms","rule":"Bring several things in one after another, 0.08 to 0.2 s apart.","why":"All at once reads as a pop; much slower reads as waiting. A short stagger shows order and keeps the group together."},{"id":"motion-travel","track":"motion","title":"Let packets travel","rule":"A packet takes between 0.6 and 1.6 s to cross a beam.","why":"Faster than about half a second is a flicker the eye cannot place; much slower stalls the story."},{"id":"motion-camera","track":"motion","title":"The camera follows, then returns","rule":"Every focus is released, and only one is held at a time.","why":"A camera that stays zoomed hides the rest of the diagram; one that returns tells the viewer the moment is over."},{"id":"motion-rest","track":"motion","title":"Quiet at rest","rule":"No gap between moves longer than 3.5 s, and no more than 3 s of stillness at the end.","why":"Long silences make the viewer wonder whether it has stopped; the motion should carry the story, not wait."},{"id":"motion-narrate","track":"motion","title":"Say what is happening","rule":"A caption for each phase: at least one per 8 seconds, none longer than 100 characters.","why":"Motion alone shows that something happened, not what it means; a short caption carries the meaning, and is what screen readers get."},{"id":"motion-end-state","track":"motion","title":"End on something readable","rule":"When it finishes, every card is on stage: paused or reduced to a still, it must still explain itself.","why":"People who prefer reduced motion see the last frame, and everyone else lands there when it stops."},{"id":"motion-continuity","track":"motion","title":"Morph, don't cut","rule":"When a thing changes, change it in place (swap its label) instead of removing it and showing another.","why":"A cut makes the viewer re-find their place; a morph shows that it is the same thing, now different."}],"examples":["motion-source-do","motion-source-dont","motion-focal-do","motion-focal-dont","motion-stagger-do","motion-stagger-dont","motion-travel-do","motion-travel-dont","motion-camera-do","motion-camera-dont","motion-rest-do","motion-rest-dont","motion-narrate-do","motion-narrate-dont","motion-end-state-do","motion-end-state-dont","motion-continuity-do","motion-continuity-dont"]},{"id":"agents","title":"Agents","blurb":"Eight patterns for composing model calls, drawn as the flows they are, with where this app uses them.","principles":[{"id":"agents-simplest","track":"agents","title":"Use the simplest pattern that works","rule":"Start with one model call; add a pattern only when you can measure that the task is worse without it.","why":"Every added step adds latency, cost and a place to fail. A pattern earns its place by a number, not by looking sophisticated."},{"id":"agents-checks","track":"agents","title":"Put code between model calls","rule":"Validate, score or gate in plain code wherever a check can be written down.","why":"A check in code is repeatable and free; a second model call to check the first is neither."},{"id":"agents-learn","track":"agents","title":"Learn from every run","rule":"Record each run, and judge every change by the runs that came after it.","why":"A fix that was never checked is a guess; the next run is the cheapest evidence there is."},{"id":"agents-human","track":"agents","title":"Keep a person on what cannot be undone","rule":"Models propose; people confirm anything irreversible, expensive or outward-facing; then read the result back.","why":"A confident wrong action costs more than the click that would have stopped it."}],"examples":["agent-prompt-chain","agent-routing","agent-parallel","agent-orchestrator","agent-evaluator-optimizer","agent-human-checkpoint","agent-memory-loop","agent-graph-path"]},{"id":"generative-ui","title":"Generative UI","blurb":"Let a model choose and compose, never write: constrained choices, validated before they render.","principles":[{"id":"genui-constrain","track":"generative-ui","title":"Constrain the choices","rule":"Give the model a fixed vocabulary of real layouts and ask which fit, never to write one.","why":"A model choosing among things that exist cannot produce a broken screen; one writing markup eventually will."},{"id":"genui-validate","track":"generative-ui","title":"Validate before you render","rule":"Check every spec against a catalog and send the reasons back on failure; show a notice, never a half-drawn view.","why":"Validation turns an unpredictable generator into a predictable component."},{"id":"genui-decide","track":"generative-ui","title":"Decide, don't write","rule":"Compose from candidates with typed questions (choice, score, boolean); code assembles the answer.","why":"Answers are small, checkable and cheap, and the page's words and numbers come from your data, not the model's imagination."},{"id":"genui-floor","track":"generative-ui","title":"Keep every option alive","rule":"Floor each probability and sample several, spread apart, so unlikely layouts still appear.","why":"A model often puts near-zero on perfectly good options; showing twelve different ideas beats showing the top pick twelve times."}],"examples":["genui-jev-pricing","genui-jev-login","genui-jev-dashboard","genui-jev-faq","genui-jev-kanban","genui-jev-onboarding","genui-floor","genui-spec-class-progress","genui-spec-portfolio-risk","genui-spec-repo-history"]},{"id":"charts","title":"Charts","blurb":"One question, one mark: what the data's shape says to draw, tested against the chart guide.","principles":[{"id":"chart-trend","track":"charts","title":"Change over time: a line","rule":"Time on x, sorted; connect the points; do not force a zero baseline; at most eight lines.","why":"A line says these points are one sequence; the slope is the message."},{"id":"chart-compare","track":"charts","title":"Compare categories: bars from zero","rule":"Bars start at zero and are sorted by value unless the categories have a natural order.","why":"Length is how people compare magnitudes, so a truncated bar lies about the ratio."},{"id":"chart-rank","track":"charts","title":"Ranking: the top, horizontal","rule":"Show the top 10 to 15 as horizontal bars and say how many were left out.","why":"Long labels read left to right, and a ranking nobody can read to the end is not a ranking."},{"id":"chart-composition","track":"charts","title":"Part of a whole: five parts at most","rule":"Use an arc only for five or fewer additive parts; otherwise sorted or stacked bars.","why":"People judge angles badly; with many slices they cannot tell which is larger."},{"id":"chart-distribution","track":"charts","title":"Distribution: a histogram","rule":"Bin by a principled rule and say how many rows were missing.","why":"Averages hide spread; the shape is what you came to see."},{"id":"chart-relationship","track":"charts","title":"Relationship: a scatter, not a line","rule":"Two measures on two axes, points unconnected, color by a category of eight or fewer.","why":"Connecting points implies an order that rows do not have."},{"id":"chart-kpi","track":"charts","title":"How much: a number with context","rule":"A headline figure with its change against the previous period, not a chart.","why":"A single value needs a comparison to mean anything."},{"id":"chart-detail","track":"charts","title":"Look-up: a table","rule":"Right-align and format numbers; paginate past 50 rows.","why":"When the reader will look for one value, precision beats picture."}],"examples":["chart-trend","chart-compare","chart-rank","chart-composition","chart-composition-many","chart-distribution","chart-relationship","chart-kpi","chart-detail"]},{"id":"data-stories","title":"Data stories","blurb":"A question, a few steps of evidence, an answer. Every number in the words is computed.","principles":[{"id":"story-shape","track":"data-stories","title":"Setup, evidence, resolution","rule":"Open with the setup, close with what to do, and let a complication show where the first answer was incomplete.","why":"A list of charts is a report; a story has a question that gets answered."},{"id":"story-grounded","track":"data-stories","title":"Every number is computed","rule":"Build each sentence from the step's own facts; never type a number into prose.","why":"Words and charts drift apart the moment one is edited by hand."},{"id":"story-caveats","track":"data-stories","title":"Say what it cannot tell you","rule":"End with the limits: what was simulated, sampled or left out.","why":"A confident story with no limits is a claim; one with limits is evidence."}],"examples":["story-platform","story-change","story-learning","story-signups","story-alpha"]},{"id":"alpha","title":"Algorithms and alpha","blurb":"Finding an edge honestly: rules that cannot peek, judged on data they were not chosen on.","principles":[{"id":"alpha-out-of-sample","track":"alpha","title":"Judge on data the choice never saw","rule":"Choose on the first part, evaluate on the rest, and re-choose using only the past (walk-forward).","why":"A rule picked for how well it did on a sample will always do well on that sample."},{"id":"alpha-trials","track":"alpha","title":"Count every rule you tried","rule":"Charge the winner for the number of rules tried: an adjusted p-value and a deflated Sharpe ratio.","why":"The best of forty-eight no-edge rules looks like skill; the maths of the best of N says how much."},{"id":"alpha-costs","track":"alpha","title":"Take costs off before you decide","rule":"Net every trade of its cost, and report turnover beside the Sharpe ratio.","why":"The faster a rule trades, the more of its edge it pays away."},{"id":"alpha-no-peeking","track":"alpha","title":"A rule only sees the past","rule":"The position on day t uses returns before day t; test it by changing the future and watching the past.","why":"Look-ahead is the commonest way for a backtest to be wrong and look wonderful."}],"examples":["alpha-trend-found","alpha-no-edge","alpha-costs","alpha-no-peeking"]},{"id":"judgment","title":"Judgment patterns","blurb":"Ask a judgment model typed questions, then decide in code: route, weigh, walk a tree, match, and test what the answers are worth.","principles":[{"id":"judgment-fan-out","track":"judgment","title":"Ask everything in one request, decide in code","rule":"Send every question you might need in one call, then route with plain code that reads only the answers that apply.","why":"A chain of calls is slow and each link can fail; an unused answer costs almost nothing, and code you can test does the routing."},{"id":"judgment-composite","track":"judgment","title":"Score the parts, weigh them in code","rule":"Ask one Score per dimension, normalize each to 0 to 1, and combine them with weights that live in code and add up to 1.","why":"The model judges what it can see; how much each part matters is your choice, and it should change without re-asking."},{"id":"judgment-structure","track":"judgment","title":"Give the question structure","rule":"Write instructions and criteria as data, offer exactly the current node's children, and keep a second path only when the first two are close.","why":"Options built from the tree cannot drift from it, one level stays under the choice limit, and a narrow beam recovers from a close call."},{"id":"judgment-levels","track":"judgment","title":"Let the levels be the thresholds","rule":"Name one outcome per Score level and act on the nearest level, with no other cut points.","why":"A tuned threshold is a number nobody can explain; a level is a sentence the model was asked about."},{"id":"judgment-features","track":"judgment","title":"Test what an answer is worth","rule":"Turn answers into columns (a Score's mean and spread, a Noul's probability) and keep a question only if it beats a mean baseline on held-out rows.","why":"A question that sounds useful can add nothing; error on rows the fit never saw is the honest test."}],"examples":["judgment-fan-out","judgment-composite","judgment-taxonomy","judgment-alignment","judgment-features"]}],"principles":[{"id":"motion-source","track":"motion","title":"Energy has a source","rule":"Something only pulses because something arrived: every hit lands as a packet does.","why":"A receiver that reacts to nothing reads as a glitch; one that reacts to a packet teaches cause and effect."},{"id":"motion-focal","track":"motion","title":"One focal action at a time","rule":"Packets travel one after another. Several may leave together only as one broadcast (one source) or one gather (one target).","why":"Unrelated things moving at once split attention, and the viewer follows neither; a fan-out or a gather reads as a single moment."},{"id":"motion-stagger","track":"motion","title":"Stagger entrances by about 120 ms","rule":"Bring several things in one after another, 0.08 to 0.2 s apart.","why":"All at once reads as a pop; much slower reads as waiting. A short stagger shows order and keeps the group together."},{"id":"motion-travel","track":"motion","title":"Let packets travel","rule":"A packet takes between 0.6 and 1.6 s to cross a beam.","why":"Faster than about half a second is a flicker the eye cannot place; much slower stalls the story."},{"id":"motion-camera","track":"motion","title":"The camera follows, then returns","rule":"Every focus is released, and only one is held at a time.","why":"A camera that stays zoomed hides the rest of the diagram; one that returns tells the viewer the moment is over."},{"id":"motion-rest","track":"motion","title":"Quiet at rest","rule":"No gap between moves longer than 3.5 s, and no more than 3 s of stillness at the end.","why":"Long silences make the viewer wonder whether it has stopped; the motion should carry the story, not wait."},{"id":"motion-narrate","track":"motion","title":"Say what is happening","rule":"A caption for each phase: at least one per 8 seconds, none longer than 100 characters.","why":"Motion alone shows that something happened, not what it means; a short caption carries the meaning, and is what screen readers get."},{"id":"motion-end-state","track":"motion","title":"End on something readable","rule":"When it finishes, every card is on stage: paused or reduced to a still, it must still explain itself.","why":"People who prefer reduced motion see the last frame, and everyone else lands there when it stops."},{"id":"motion-continuity","track":"motion","title":"Morph, don't cut","rule":"When a thing changes, change it in place (swap its label) instead of removing it and showing another.","why":"A cut makes the viewer re-find their place; a morph shows that it is the same thing, now different."},{"id":"agents-simplest","track":"agents","title":"Use the simplest pattern that works","rule":"Start with one model call; add a pattern only when you can measure that the task is worse without it.","why":"Every added step adds latency, cost and a place to fail. A pattern earns its place by a number, not by looking sophisticated."},{"id":"agents-checks","track":"agents","title":"Put code between model calls","rule":"Validate, score or gate in plain code wherever a check can be written down.","why":"A check in code is repeatable and free; a second model call to check the first is neither."},{"id":"agents-learn","track":"agents","title":"Learn from every run","rule":"Record each run, and judge every change by the runs that came after it.","why":"A fix that was never checked is a guess; the next run is the cheapest evidence there is."},{"id":"agents-human","track":"agents","title":"Keep a person on what cannot be undone","rule":"Models propose; people confirm anything irreversible, expensive or outward-facing; then read the result back.","why":"A confident wrong action costs more than the click that would have stopped it."},{"id":"genui-constrain","track":"generative-ui","title":"Constrain the choices","rule":"Give the model a fixed vocabulary of real layouts and ask which fit, never to write one.","why":"A model choosing among things that exist cannot produce a broken screen; one writing markup eventually will."},{"id":"genui-validate","track":"generative-ui","title":"Validate before you render","rule":"Check every spec against a catalog and send the reasons back on failure; show a notice, never a half-drawn view.","why":"Validation turns an unpredictable generator into a predictable component."},{"id":"genui-decide","track":"generative-ui","title":"Decide, don't write","rule":"Compose from candidates with typed questions (choice, score, boolean); code assembles the answer.","why":"Answers are small, checkable and cheap, and the page's words and numbers come from your data, not the model's imagination."},{"id":"genui-floor","track":"generative-ui","title":"Keep every option alive","rule":"Floor each probability and sample several, spread apart, so unlikely layouts still appear.","why":"A model often puts near-zero on perfectly good options; showing twelve different ideas beats showing the top pick twelve times."},{"id":"chart-trend","track":"charts","title":"Change over time: a line","rule":"Time on x, sorted; connect the points; do not force a zero baseline; at most eight lines.","why":"A line says these points are one sequence; the slope is the message."},{"id":"chart-compare","track":"charts","title":"Compare categories: bars from zero","rule":"Bars start at zero and are sorted by value unless the categories have a natural order.","why":"Length is how people compare magnitudes, so a truncated bar lies about the ratio."},{"id":"chart-rank","track":"charts","title":"Ranking: the top, horizontal","rule":"Show the top 10 to 15 as horizontal bars and say how many were left out.","why":"Long labels read left to right, and a ranking nobody can read to the end is not a ranking."},{"id":"chart-composition","track":"charts","title":"Part of a whole: five parts at most","rule":"Use an arc only for five or fewer additive parts; otherwise sorted or stacked bars.","why":"People judge angles badly; with many slices they cannot tell which is larger."},{"id":"chart-distribution","track":"charts","title":"Distribution: a histogram","rule":"Bin by a principled rule and say how many rows were missing.","why":"Averages hide spread; the shape is what you came to see."},{"id":"chart-relationship","track":"charts","title":"Relationship: a scatter, not a line","rule":"Two measures on two axes, points unconnected, color by a category of eight or fewer.","why":"Connecting points implies an order that rows do not have."},{"id":"chart-kpi","track":"charts","title":"How much: a number with context","rule":"A headline figure with its change against the previous period, not a chart.","why":"A single value needs a comparison to mean anything."},{"id":"chart-detail","track":"charts","title":"Look-up: a table","rule":"Right-align and format numbers; paginate past 50 rows.","why":"When the reader will look for one value, precision beats picture."},{"id":"story-shape","track":"data-stories","title":"Setup, evidence, resolution","rule":"Open with the setup, close with what to do, and let a complication show where the first answer was incomplete.","why":"A list of charts is a report; a story has a question that gets answered."},{"id":"story-grounded","track":"data-stories","title":"Every number is computed","rule":"Build each sentence from the step's own facts; never type a number into prose.","why":"Words and charts drift apart the moment one is edited by hand."},{"id":"story-caveats","track":"data-stories","title":"Say what it cannot tell you","rule":"End with the limits: what was simulated, sampled or left out.","why":"A confident story with no limits is a claim; one with limits is evidence."},{"id":"alpha-out-of-sample","track":"alpha","title":"Judge on data the choice never saw","rule":"Choose on the first part, evaluate on the rest, and re-choose using only the past (walk-forward).","why":"A rule picked for how well it did on a sample will always do well on that sample."},{"id":"alpha-trials","track":"alpha","title":"Count every rule you tried","rule":"Charge the winner for the number of rules tried: an adjusted p-value and a deflated Sharpe ratio.","why":"The best of forty-eight no-edge rules looks like skill; the maths of the best of N says how much."},{"id":"alpha-costs","track":"alpha","title":"Take costs off before you decide","rule":"Net every trade of its cost, and report turnover beside the Sharpe ratio.","why":"The faster a rule trades, the more of its edge it pays away."},{"id":"alpha-no-peeking","track":"alpha","title":"A rule only sees the past","rule":"The position on day t uses returns before day t; test it by changing the future and watching the past.","why":"Look-ahead is the commonest way for a backtest to be wrong and look wonderful."},{"id":"judgment-fan-out","track":"judgment","title":"Ask everything in one request, decide in code","rule":"Send every question you might need in one call, then route with plain code that reads only the answers that apply.","why":"A chain of calls is slow and each link can fail; an unused answer costs almost nothing, and code you can test does the routing."},{"id":"judgment-composite","track":"judgment","title":"Score the parts, weigh them in code","rule":"Ask one Score per dimension, normalize each to 0 to 1, and combine them with weights that live in code and add up to 1.","why":"The model judges what it can see; how much each part matters is your choice, and it should change without re-asking."},{"id":"judgment-structure","track":"judgment","title":"Give the question structure","rule":"Write instructions and criteria as data, offer exactly the current node's children, and keep a second path only when the first two are close.","why":"Options built from the tree cannot drift from it, one level stays under the choice limit, and a narrow beam recovers from a close call."},{"id":"judgment-levels","track":"judgment","title":"Let the levels be the thresholds","rule":"Name one outcome per Score level and act on the nearest level, with no other cut points.","why":"A tuned threshold is a number nobody can explain; a level is a sentence the model was asked about."},{"id":"judgment-features","track":"judgment","title":"Test what an answer is worth","rule":"Turn answers into columns (a Score's mean and spread, a Noul's probability) and keep a question only if it beats a mean baseline on held-out rows.","why":"A question that sounds useful can add nothing; error on rows the fit never saw is the honest test."}],"examples":[{"id":"motion-source-do","track":"motion","title":"Energy has a source: follow it","summary":"Each card pulses when the packet reaches it.","principle":"motion-source","tags":["motion","psychopomp","source","do"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"body":{"kind":"motion","plan":{"title":"Pulses follow packets","caption":"Each card pulses when the packet reaches it.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"source","verdict":"do","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-source-dont","track":"motion","title":"Energy has a source: break it","summary":"The database pulses before anything has arrived.","principle":"motion-source","tags":["motion","psychopomp","source","dont"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"problem":"The database lights up at 1.0 s with nothing sent to it. The viewer looks for the cause, finds none, and stops trusting the diagram.","body":{"kind":"motion","plan":{"title":"A pulse for nothing","caption":"The database pulses before anything has arrived.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"hit","at":1,"target":"c"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"source","verdict":"dont","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.0s: Database lights up","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-focal-do","track":"motion","title":"One focal action at a time: follow it","summary":"The second packet waits for the first to land.","principle":"motion-focal","tags":["motion","psychopomp","focal","do"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"body":{"kind":"motion","plan":{"title":"One thing moves at a time","caption":"The second packet waits for the first to land.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"focal","verdict":"do","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-focal-dont","track":"motion","title":"One focal action at a time: break it","summary":"Both packets leave together.","principle":"motion-focal","tags":["motion","psychopomp","focal","dont"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"problem":"The second packet leaves at 1.8 s while the first is still crossing (1.4 to 2.3 s). The eye picks one and misses the other.","body":{"kind":"motion","plan":{"title":"Two packets at once","caption":"Both packets leave together.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"send","at":1.8,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"hit","at":2.7,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"focal","verdict":"dont","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","1.8s: “query” travels Server → Database","2.3s: Server lights up","2.7s: Server → Database connects","2.7s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-stagger-do","track":"motion","title":"Stagger entrances by about 120 ms: follow it","summary":"A short stagger shows the order and keeps them together.","principle":"motion-stagger","tags":["motion","psychopomp","stagger","do"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"body":{"kind":"motion","plan":{"title":"Cards arrive in order","caption":"A short stagger shows the order and keeps them together.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"stagger","verdict":"do","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-stagger-dont","track":"motion","title":"Stagger entrances by about 120 ms: break it","summary":"All three cards appear in the same instant.","principle":"motion-stagger","tags":["motion","psychopomp","stagger","dont"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"problem":"A stagger of 0 s puts all three cards in at once. There is no order to read, and it looks like a page loading, not a flow beginning.","body":{"kind":"motion","plan":{"title":"Everything pops in","caption":"All three cards appear in the same instant.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"stagger","verdict":"dont","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-travel-do","track":"motion","title":"Let packets travel: follow it","summary":"About a second to cross: long enough to track, short enough to keep moving.","principle":"motion-travel","tags":["motion","psychopomp","travel","do"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"body":{"kind":"motion","plan":{"title":"A packet you can follow","caption":"About a second to cross: long enough to track, short enough to keep moving.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent","secs":1},{"do":"hit","at":2.4,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success","secs":1},{"do":"hit","at":4.1,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"travel","verdict":"do","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.4s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.1s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-travel-dont","track":"motion","title":"Let packets travel: break it","summary":"The first packet crosses in a blink.","principle":"motion-travel","tags":["motion","psychopomp","travel","dont"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"problem":"The first packet crosses in 0.15 s. It reads as a flash on the beam, and the viewer cannot tell where it went.","body":{"kind":"motion","plan":{"title":"A flicker","caption":"The first packet crosses in a blink.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent","secs":0.15},{"do":"hit","at":1.55,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"travel","verdict":"dont","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","1.6s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-camera-do","track":"motion","title":"The camera follows, then returns: follow it","summary":"The camera leans in on the server, then returns to the whole picture.","principle":"motion-camera","tags":["motion","psychopomp","camera","do"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"body":{"kind":"motion","plan":{"title":"Focus, then let go","caption":"The camera leans in on the server, then returns to the whole picture.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"focus","at":2.3,"target":"b","secs":1},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"release","at":3.3},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"camera","verdict":"do","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.3s: the camera moves in on Server","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","3.3s: the camera pulls back","4.0s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-camera-dont","track":"motion","title":"The camera follows, then returns: break it","summary":"The camera leans in on the server and never comes back.","principle":"motion-camera","tags":["motion","psychopomp","camera","dont"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"problem":"The camera focuses on the server at 2.3 s and is never released, so the database is cropped for the rest of the plan.","body":{"kind":"motion","plan":{"title":"The camera stays","caption":"The camera leans in on the server and never comes back.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"focus","at":2.3,"target":"b","secs":1},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"camera","verdict":"dont","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.3s: the camera moves in on Server","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-rest-do","track":"motion","title":"Quiet at rest: follow it","summary":"Something moves every second or so.","principle":"motion-rest","tags":["motion","psychopomp","rest","do"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"body":{"kind":"motion","plan":{"title":"Steady pace","caption":"Something moves every second or so.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"rest","verdict":"do","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-rest-dont","track":"motion","title":"Quiet at rest: break it","summary":"Nothing happens for five seconds.","principle":"motion-rest","tags":["motion","psychopomp","rest","dont"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"problem":"After the first packet lands (2.3 s) nothing happens until 7.5 s. The viewer wonders whether it has stopped.","body":{"kind":"motion","plan":{"title":"Dead air","caption":"Nothing happens for five seconds.","duration":12,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":7.5,"beam":"bc"},{"do":"send","at":7.9,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":8.8,"target":"c"},{"do":"caption","at":9.2,"text":"The query lands in the database.","secs":2}]},"rule":"rest","verdict":"dont","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","7.5s: Server → Database connects","7.9s: “query” travels Server → Database","8.8s: Database lights up","9.2s: The query lands in the database."]}},{"id":"motion-narrate-do","track":"motion","title":"Say what is happening: follow it","summary":"A short caption for each phase.","principle":"motion-narrate","tags":["motion","psychopomp","narrate","do"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"body":{"kind":"motion","plan":{"title":"Captions carry the meaning","caption":"A short caption for each phase.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"narrate","verdict":"do","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-narrate-dont","track":"motion","title":"Say what is happening: break it","summary":"Motion with no words.","principle":"motion-narrate","tags":["motion","psychopomp","narrate","dont"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"problem":"No captions. The motion shows that things move, not what they mean, and a screen reader gets nothing.","body":{"kind":"motion","plan":{"title":"Silent","caption":"Motion with no words.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"}]},"rule":"narrate","verdict":"dont","transcript":["0.2s: Request, Server, Database appear","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up"]}},{"id":"motion-end-state-do","track":"motion","title":"End on something readable: follow it","summary":"Paused, or shown as a still, every card is there.","principle":"motion-end-state","tags":["motion","psychopomp","end-state","do"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"body":{"kind":"motion","plan":{"title":"It ends on the whole picture","caption":"Paused, or shown as a still, every card is there.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2}]},"rule":"end-state","verdict":"do","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database."]}},{"id":"motion-end-state-dont","track":"motion","title":"End on something readable: break it","summary":"Everything fades out at the end.","principle":"motion-end-state","tags":["motion","psychopomp","end-state","dont"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"problem":"All three cards fade out at 6.3 s. A viewer who pauses at the end, or prefers reduced motion, sees a blank stage.","body":{"kind":"motion","plan":{"title":"It ends on an empty stage","caption":"Everything fades out at the end.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2},{"do":"fade_out","at":6.3,"targets":["a","b","c"]}]},"rule":"end-state","verdict":"dont","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database.","6.3s: Request, Server, Database leave"]}},{"id":"motion-continuity-do","track":"motion","title":"Morph, don't cut: follow it","summary":"The server becomes the cache by relabelling, so it is plainly the same card.","principle":"motion-continuity","tags":["motion","psychopomp","continuity","do"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"body":{"kind":"motion","plan":{"title":"Change in place","caption":"The server becomes the cache by relabelling, so it is plainly the same card.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2},{"do":"swap_label","at":4.8,"target":"b","text":"Server (cached)"}]},"rule":"continuity","verdict":"do","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database.","4.8s: Server now reads “Server (cached)”"]}},{"id":"motion-continuity-dont","track":"motion","title":"Morph, don't cut: break it","summary":"The server is removed and another card takes its place.","principle":"motion-continuity","tags":["motion","psychopomp","continuity","dont"],"evidence":["packages/chat-tools/src/core/motion.ts (frameAt, planFromSteps)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan)","lib/playbook/motion-rules.ts (MOTION_RULES)"],"problem":"The server fades out and a new card settles in at the same spot 0.1 s later. The viewer has to work out that it is the same thing, changed.","body":{"kind":"motion","plan":{"title":"Cut to a new card","caption":"The server is removed and another card takes its place.","duration":7.4,"elements":[{"id":"a","kind":"card","at":[25,45],"title":"Request","subtitle":"from the browser","tone":"accent"},{"id":"b","kind":"card","at":[80,45],"title":"Server","subtitle":"checks and routes"},{"id":"c","kind":"card","at":[135,45],"title":"Database","subtitle":"stores it","tone":"success"},{"id":"ab","kind":"beam","from":"a","to":"b","label":"request"},{"id":"bc","kind":"beam","from":"b","to":"c","label":"query"},{"id":"b2","kind":"card","at":[80,45],"title":"Cache","subtitle":"answers instantly","tone":"warning"}],"beats":[{"do":"settle_in","at":0.2,"targets":["a","b","c"],"stagger":0.12},{"do":"caption","at":0.6,"text":"A request enters the server.","secs":2},{"do":"connect","at":1,"beam":"ab"},{"do":"send","at":1.4,"beam":"ab","label":"request","tone":"accent"},{"do":"hit","at":2.3,"target":"b"},{"do":"connect","at":2.7,"beam":"bc"},{"do":"send","at":3.1,"beam":"bc","label":"query","tone":"success"},{"do":"hit","at":4,"target":"c"},{"do":"caption","at":4.4,"text":"The query lands in the database.","secs":2},{"do":"fade_out","at":4.8,"targets":["b"]},{"do":"settle_in","at":4.9,"targets":["b2"]}]},"rule":"continuity","verdict":"dont","transcript":["0.2s: Request, Server, Database appear","0.6s: A request enters the server.","1.0s: Request → Server connects","1.4s: “request” travels Request → Server","2.3s: Server lights up","2.7s: Server → Database connects","3.1s: “query” travels Server → Database","4.0s: Database lights up","4.4s: The query lands in the database.","4.8s: Server leaves","4.9s: Cache appears"]}},{"id":"agent-prompt-chain","track":"agents","title":"Prompt chain","summary":"Split a task into steps, each model call taking the last one's output, with a plain-code check between them. Use it when: The task splits cleanly into fixed steps, and you would trade a little speed for accuracy.","principle":"agents-checks","also":["agents-simplest"],"tags":["agents","prompt-chain"],"evidence":["lib/json-render/compose.ts (composeSpec, selectQuestions, layoutQuestions)","lib/json-render/catalog.ts (validateSpec)"],"body":{"kind":"motion","plan":{"title":"Prompt chain: draft, check, refine","caption":"A gate between steps catches a bad draft before it is polished.","duration":11.05,"elements":[{"id":"ask","kind":"card","at":[16,45],"title":"Request","tone":"accent"},{"id":"draft","kind":"card","at":[48,45],"title":"Draft","subtitle":"model call"},{"id":"gate","kind":"card","at":[80,45],"title":"Check","subtitle":"code, not a model","tone":"warning","w":27},{"id":"refine","kind":"card","at":[112,45],"title":"Refine","subtitle":"model call"},{"id":"out","kind":"card","at":[144,45],"title":"Answer","tone":"success"},{"id":"e1","kind":"beam","from":"ask","to":"draft","label":"task"},{"id":"e2","kind":"beam","from":"draft","to":"gate","label":"draft"},{"id":"e3","kind":"beam","from":"gate","to":"refine","label":"passes"},{"id":"e4","kind":"beam","from":"refine","to":"out","label":"final"}],"beats":[{"do":"settle_in","at":0.2,"targets":["ask"]},{"do":"settle_in","at":0.47,"targets":["draft"]},{"do":"settle_in","at":0.74,"targets":["gate"]},{"do":"settle_in","at":1.01,"targets":["refine"]},{"do":"settle_in","at":1.28,"targets":["out"]},{"do":"caption","at":0.2,"text":"A gate between steps catches a bad draft before it is polished.","secs":1.4500000000000002},{"do":"connect","at":1.85,"beam":"e1","secs":0.5},{"do":"send","at":2.3,"beam":"e1","label":"task","secs":0.8},{"do":"caption","at":1.85,"text":"Request → Draft (task)"},{"do":"connect","at":3.45,"beam":"e2","secs":0.5},{"do":"send","at":3.9,"beam":"e2","label":"draft","secs":0.8},{"do":"caption","at":3.45,"text":"Draft → Check (draft)"},{"do":"connect","at":5.05,"beam":"e3","secs":0.5},{"do":"send","at":5.5,"beam":"e3","label":"passes","secs":0.8},{"do":"caption","at":5.05,"text":"Check → Refine (passes)"},{"do":"connect","at":6.65,"beam":"e4","secs":0.5},{"do":"send","at":7.1,"beam":"e4","label":"final","secs":0.8},{"do":"caption","at":6.65,"text":"Refine → Answer (final)"},{"do":"focus","at":8.25,"target":"out","secs":0.8},{"do":"release","at":9.85,"secs":0.8}]},"transcript":["0.2s: Request appears","0.2s: A gate between steps catches a bad draft before it is polished.","0.5s: Draft appears","0.7s: Check appears","1.0s: Refine appears","1.3s: Answer appears","1.9s: Request → Draft connects","1.9s: Request → Draft (task)","2.3s: “task” travels Request → Draft","3.5s: Draft → Check connects","3.5s: Draft → Check (draft)","3.9s: “draft” travels Draft → Check","5.0s: Check → Refine connects","5.0s: Check → Refine (passes)","5.5s: “passes” travels Check → Refine","6.7s: Refine → Answer connects","6.7s: Refine → Answer (final)","7.1s: “final” travels Refine → Answer","8.3s: the camera moves in on Answer","9.8s: the camera pulls back"]}},{"id":"agent-routing","track":"agents","title":"Routing","summary":"Classify the input once, then send it to a specialist with its own prompt and tools. Use it when: There are distinct kinds of request that are better served separately, and classifying them is reliable.","principle":"agents-simplest","tags":["agents","routing"],"evidence":["lib/evaluate/gateway.ts (Question, Answer)","lib/jev/index.ts (layoutFor)"],"body":{"kind":"motion","plan":{"title":"Routing: classify, then specialise","caption":"One cheap decision picks the right specialist.","duration":9.42,"elements":[{"id":"ask","kind":"card","at":[20,45],"title":"Request","tone":"accent"},{"id":"router","kind":"card","at":[60,45],"title":"Router","subtitle":"choice question"},{"id":"billing","kind":"card","at":[100,22.5],"title":"Billing"},{"id":"tech","kind":"card","at":[100,45],"title":"Technical"},{"id":"general","kind":"card","at":[100,67.5],"title":"General"},{"id":"reply","kind":"card","at":[140,45],"title":"Reply","tone":"success"},{"id":"e1","kind":"beam","from":"ask","to":"router","label":"message"},{"id":"e2","kind":"beam","from":"router","to":"billing","label":"money"},{"id":"e3","kind":"beam","from":"router","to":"tech","label":"bug"},{"id":"e4","kind":"beam","from":"router","to":"general","label":"other"},{"id":"e5","kind":"beam","from":"billing","to":"reply"},{"id":"e6","kind":"beam","from":"tech","to":"reply"},{"id":"e7","kind":"beam","from":"general","to":"reply"}],"beats":[{"do":"settle_in","at":0.2,"targets":["ask"]},{"do":"settle_in","at":0.47,"targets":["router"]},{"do":"settle_in","at":0.74,"targets":["billing","tech","general"]},{"do":"settle_in","at":1.25,"targets":["reply"]},{"do":"caption","at":0.2,"text":"One cheap decision picks the right specialist.","secs":1.42},{"do":"connect","at":1.82,"beam":"e1","secs":0.5},{"do":"send","at":2.27,"beam":"e1","label":"message","secs":0.8},{"do":"caption","at":1.82,"text":"Request → Router (message)"},{"do":"connect","at":3.42,"beam":"e2","secs":0.5},{"do":"send","at":3.87,"beam":"e2","label":"money","secs":0.8},{"do":"connect","at":3.42,"beam":"e3","secs":0.5},{"do":"send","at":3.87,"beam":"e3","label":"bug","secs":0.8},{"do":"connect","at":3.42,"beam":"e4","secs":0.5},{"do":"send","at":3.87,"beam":"e4","label":"other","secs":0.8},{"do":"caption","at":3.42,"text":"Router → Billing (money), Router → Technical (bug), Router → General (other)"},{"do":"connect","at":5.02,"beam":"e5","secs":0.5},{"do":"send","at":5.47,"beam":"e5","secs":0.8},{"do":"connect","at":5.02,"beam":"e6","secs":0.5},{"do":"send","at":5.47,"beam":"e6","secs":0.8},{"do":"connect","at":5.02,"beam":"e7","secs":0.5},{"do":"send","at":5.47,"beam":"e7","secs":0.8},{"do":"caption","at":5.02,"text":"Billing → Reply, Technical → Reply, General → Reply"},{"do":"focus","at":6.62,"target":"reply","secs":0.8},{"do":"release","at":8.22,"secs":0.8}]},"transcript":["0.2s: Request appears","0.2s: One cheap decision picks the right specialist.","0.5s: Router appears","0.7s: Billing, Technical, General appear","1.3s: Reply appears","1.8s: Request → Router connects","1.8s: Request → Router (message)","2.3s: “message” travels Request → Router","3.4s: Router → Billing connects","3.4s: Router → Technical connects","3.4s: Router → General connects","3.4s: Router → Billing (money), Router → Technical (bug), Router → General (other)","3.9s: “money” travels Router → Billing","3.9s: “bug” travels Router → Technical","3.9s: “other” travels Router → General","5.0s: Billing → Reply connects","5.0s: Technical → Reply connects","5.0s: General → Reply connects","5.0s: Billing → Reply, Technical → Reply, General → Reply","5.5s: a packet travels Billing → Reply","5.5s: a packet travels Technical → Reply","5.5s: a packet travels General → Reply","6.6s: the camera moves in on Reply","8.2s: the camera pulls back"]}},{"id":"agent-parallel","track":"agents","title":"Parallelisation","summary":"Run independent calls at once and combine them: split the work (sectioning) or ask several times and vote. Use it when: Subtasks do not depend on each other, or you want several independent opinions on one question.","principle":"agents-simplest","tags":["agents","parallel"],"evidence":["lib/ensemble/core.ts (MEMBER_IDS, MEMBER_INFO)"],"body":{"kind":"motion","plan":{"title":"Parallelisation: independent members, one answer","caption":"Members score separately; a member that cannot score is left out, not counted as zero.","duration":7.55,"elements":[{"id":"goal","kind":"card","at":[26.67,45],"title":"Goal","tone":"accent"},{"id":"graph","kind":"card","at":[80,22.5],"title":"Graph"},{"id":"lexical","kind":"card","at":[80,45],"title":"Lexical"},{"id":"model","kind":"card","at":[80,67.5],"title":"Model"},{"id":"mean","kind":"card","at":[133.33,45],"title":"Weighted mean","tone":"success"},{"id":"e1","kind":"beam","from":"goal","to":"graph"},{"id":"e2","kind":"beam","from":"goal","to":"lexical"},{"id":"e3","kind":"beam","from":"goal","to":"model"},{"id":"e4","kind":"beam","from":"graph","to":"mean","label":"score"},{"id":"e5","kind":"beam","from":"lexical","to":"mean","label":"score"},{"id":"e6","kind":"beam","from":"model","to":"mean","label":"score"}],"beats":[{"do":"settle_in","at":0.2,"targets":["goal"]},{"do":"settle_in","at":0.47,"targets":["graph","lexical","model"]},{"do":"settle_in","at":0.98,"targets":["mean"]},{"do":"caption","at":0.2,"text":"Members score separately; a member that cannot score is left out, not counted as zero.","secs":1.2},{"do":"connect","at":1.55,"beam":"e1","secs":0.5},{"do":"send","at":2,"beam":"e1","secs":0.8},{"do":"connect","at":1.55,"beam":"e2","secs":0.5},{"do":"send","at":2,"beam":"e2","secs":0.8},{"do":"connect","at":1.55,"beam":"e3","secs":0.5},{"do":"send","at":2,"beam":"e3","secs":0.8},{"do":"caption","at":1.55,"text":"Goal → Graph, Goal → Lexical, Goal → Model"},{"do":"connect","at":3.15,"beam":"e4","secs":0.5},{"do":"send","at":3.6,"beam":"e4","label":"score","secs":0.8},{"do":"connect","at":3.15,"beam":"e5","secs":0.5},{"do":"send","at":3.6,"beam":"e5","label":"score","secs":0.8},{"do":"connect","at":3.15,"beam":"e6","secs":0.5},{"do":"send","at":3.6,"beam":"e6","label":"score","secs":0.8},{"do":"caption","at":3.15,"text":"Graph → Weighted mean (score), Lexical → Weighted mean (score), Model → Weighted mean (score)"},{"do":"focus","at":4.75,"target":"mean","secs":0.8},{"do":"release","at":6.35,"secs":0.8}]},"transcript":["0.2s: Goal appears","0.2s: Members score separately; a member that cannot score is left out, not counted as zero.","0.5s: Graph, Lexical, Model appear","1.0s: Weighted mean appears","1.6s: Goal → Graph connects","1.6s: Goal → Lexical connects","1.6s: Goal → Model connects","1.6s: Goal → Graph, Goal → Lexical, Goal → Model","2.0s: a packet travels Goal → Graph","2.0s: a packet travels Goal → Lexical","2.0s: a packet travels Goal → Model","3.1s: Graph → Weighted mean connects","3.1s: Lexical → Weighted mean connects","3.1s: Model → Weighted mean connects","3.1s: Graph → Weighted mean (score), Lexical → Weighted mean (score), Model → Weighted mean (score)","3.6s: “score” travels Graph → Weighted mean","3.6s: “score” travels Lexical → Weighted mean","3.6s: “score” travels Model → Weighted mean","4.8s: the camera moves in on Weighted mean","6.3s: the camera pulls back"]}},{"id":"agent-orchestrator","track":"agents","title":"Orchestrator and workers","summary":"A central model breaks the task down at run time, hands pieces to workers, and synthesises what comes back. Use it when: You cannot predict the subtasks in advance (how many files to change, which sources to read).","principle":"agents-simplest","tags":["agents","orchestrator"],"evidence":["lib/agents/runner.ts (runAgent, generateText, isStepCount)"],"body":{"kind":"motion","plan":{"title":"Orchestrator and workers","caption":"The orchestrator decides the pieces; workers do them; one step puts them together.","duration":9.42,"elements":[{"id":"task","kind":"card","at":[20,45],"title":"Task","tone":"accent"},{"id":"boss","kind":"card","at":[60,45],"title":"Orchestrator","subtitle":"plans the pieces"},{"id":"w1","kind":"card","at":[100,22.5],"title":"Worker 1"},{"id":"w2","kind":"card","at":[100,45],"title":"Worker 2"},{"id":"w3","kind":"card","at":[100,67.5],"title":"Worker 3"},{"id":"synth","kind":"card","at":[140,45],"title":"Synthesise","tone":"success"},{"id":"e1","kind":"beam","from":"task","to":"boss"},{"id":"e2","kind":"beam","from":"boss","to":"w1","label":"piece"},{"id":"e3","kind":"beam","from":"boss","to":"w2","label":"piece"},{"id":"e4","kind":"beam","from":"boss","to":"w3","label":"piece"},{"id":"e5","kind":"beam","from":"w1","to":"synth"},{"id":"e6","kind":"beam","from":"w2","to":"synth"},{"id":"e7","kind":"beam","from":"w3","to":"synth"}],"beats":[{"do":"settle_in","at":0.2,"targets":["task"]},{"do":"settle_in","at":0.47,"targets":["boss"]},{"do":"settle_in","at":0.74,"targets":["w1","w2","w3"]},{"do":"settle_in","at":1.25,"targets":["synth"]},{"do":"caption","at":0.2,"text":"The orchestrator decides the pieces; workers do them; one step puts them together.","secs":1.42},{"do":"connect","at":1.82,"beam":"e1","secs":0.5},{"do":"send","at":2.27,"beam":"e1","secs":0.8},{"do":"caption","at":1.82,"text":"Task → Orchestrator"},{"do":"connect","at":3.42,"beam":"e2","secs":0.5},{"do":"send","at":3.87,"beam":"e2","label":"piece","secs":0.8},{"do":"connect","at":3.42,"beam":"e3","secs":0.5},{"do":"send","at":3.87,"beam":"e3","label":"piece","secs":0.8},{"do":"connect","at":3.42,"beam":"e4","secs":0.5},{"do":"send","at":3.87,"beam":"e4","label":"piece","secs":0.8},{"do":"caption","at":3.42,"text":"Orchestrator → Worker 1 (piece), Orchestrator → Worker 2 (piece), Orchestrator → Worker 3 (piece)"},{"do":"connect","at":5.02,"beam":"e5","secs":0.5},{"do":"send","at":5.47,"beam":"e5","secs":0.8},{"do":"connect","at":5.02,"beam":"e6","secs":0.5},{"do":"send","at":5.47,"beam":"e6","secs":0.8},{"do":"connect","at":5.02,"beam":"e7","secs":0.5},{"do":"send","at":5.47,"beam":"e7","secs":0.8},{"do":"caption","at":5.02,"text":"Worker 1 → Synthesise, Worker 2 → Synthesise, Worker 3 → Synthesise"},{"do":"focus","at":6.62,"target":"synth","secs":0.8},{"do":"release","at":8.22,"secs":0.8}]},"transcript":["0.2s: Task appears","0.2s: The orchestrator decides the pieces; workers do them; one step puts them together.","0.5s: Orchestrator appears","0.7s: Worker 1, Worker 2, Worker 3 appear","1.3s: Synthesise appears","1.8s: Task → Orchestrator connects","1.8s: Task → Orchestrator","2.3s: a packet travels Task → Orchestrator","3.4s: Orchestrator → Worker 1 connects","3.4s: Orchestrator → Worker 2 connects","3.4s: Orchestrator → Worker 3 connects","3.4s: Orchestrator → Worker 1 (piece), Orchestrator → Worker 2 (piece), Orchestrator → Worker 3 (piece)","3.9s: “piece” travels Orchestrator → Worker 1","3.9s: “piece” travels Orchestrator → Worker 2","3.9s: “piece” travels Orchestrator → Worker 3","5.0s: Worker 1 → Synthesise connects","5.0s: Worker 2 → Synthesise connects","5.0s: Worker 3 → Synthesise connects","5.0s: Worker 1 → Synthesise, Worker 2 → Synthesise, Worker 3 → Synthesise","5.5s: a packet travels Worker 1 → Synthesise","5.5s: a packet travels Worker 2 → Synthesise","5.5s: a packet travels Worker 3 → Synthesise","6.6s: the camera moves in on Synthesise","8.2s: the camera pulls back"]}},{"id":"agent-evaluator-optimizer","track":"agents","title":"Evaluator and optimizer","summary":"One call produces, another judges against clear criteria, and the verdict goes back until it passes or a limit is hit. Use it when: You have clear criteria and a first draft is measurably improved by feedback.","principle":"agents-checks","also":["agents-simplest"],"tags":["agents","evaluator-optimizer"],"evidence":["lib/json-render/catalog.ts (validateSpec)","packages/chat-tools/src/core/motion-lint.ts (lintMotionPlan, repairMotionPlan)"],"body":{"kind":"motion","plan":{"title":"Evaluator and optimizer: loop until it passes","caption":"The loop ends on a passing verdict or a retry limit, never on the producer's own opinion.","duration":11.08,"elements":[{"id":"brief","kind":"card","at":[20,45],"title":"Brief","tone":"accent"},{"id":"make","kind":"card","at":[60,45],"title":"Generate"},{"id":"judge","kind":"card","at":[100,45],"title":"Evaluate","subtitle":"against criteria","tone":"warning"},{"id":"ship","kind":"card","at":[140,45],"title":"Ship","tone":"success"},{"id":"e1","kind":"beam","from":"brief","to":"make"},{"id":"e2","kind":"beam","from":"make","to":"judge","label":"draft"},{"id":"e3","kind":"beam","from":"judge","to":"ship","label":"passes"},{"id":"e4","kind":"beam","from":"judge","to":"make","label":"feedback","dash":true}],"beats":[{"do":"settle_in","at":0.2,"targets":["brief"]},{"do":"settle_in","at":0.47,"targets":["make"]},{"do":"settle_in","at":0.74,"targets":["judge"]},{"do":"settle_in","at":1.01,"targets":["ship"]},{"do":"caption","at":0.2,"text":"The loop ends on a passing verdict or a retry limit, never on the producer's own opinion.","secs":1.2},{"do":"connect","at":1.58,"beam":"e1","secs":0.5},{"do":"send","at":2.03,"beam":"e1","secs":0.8},{"do":"caption","at":1.58,"text":"Brief → Generate"},{"do":"connect","at":3.18,"beam":"e2","secs":0.5},{"do":"send","at":3.63,"beam":"e2","label":"draft","secs":0.8},{"do":"caption","at":3.18,"text":"Generate → Evaluate (draft)"},{"do":"connect","at":4.78,"beam":"e3","secs":0.5},{"do":"send","at":5.23,"beam":"e3","label":"passes","secs":0.8},{"do":"caption","at":4.78,"text":"Evaluate → Ship (passes)"},{"do":"caption","at":6.38,"text":"Then back: Evaluate → Generate"},{"do":"connect","at":6.38,"beam":"e4","secs":0.6},{"do":"send","at":6.88,"beam":"e4","label":"feedback","tone":"success","secs":1.1},{"do":"focus","at":8.28,"target":"ship","secs":0.8},{"do":"release","at":9.88,"secs":0.8}]},"transcript":["0.2s: Brief appears","0.2s: The loop ends on a passing verdict or a retry limit, never on the producer's own opinion.","0.5s: Generate appears","0.7s: Evaluate appears","1.0s: Ship appears","1.6s: Brief → Generate connects","1.6s: Brief → Generate","2.0s: a packet travels Brief → Generate","3.2s: Generate → Evaluate connects","3.2s: Generate → Evaluate (draft)","3.6s: “draft” travels Generate → Evaluate","4.8s: Evaluate → Ship connects","4.8s: Evaluate → Ship (passes)","5.2s: “passes” travels Evaluate → Ship","6.4s: Then back: Evaluate → Generate","6.4s: Evaluate → Generate connects","6.9s: “feedback” travels Evaluate → Generate","8.3s: the camera moves in on Ship","9.9s: the camera pulls back"]}},{"id":"agent-human-checkpoint","track":"agents","title":"Human checkpoint","summary":"The model proposes; a person confirms; only then does anything run, and a read-back proves it did. Use it when: An action is hard to undo, costs money, or is outward-facing.","principle":"agents-human","also":["agents-simplest"],"tags":["agents","human-checkpoint"],"evidence":["lib/intent/confirm.ts (proposeVerb, confirmedIntent)","lib/intent/envelope.ts (STAGES)"],"body":{"kind":"motion","plan":{"title":"Human checkpoint: propose, confirm, act, verify","caption":"What runs is what the person saw: the proposal is bound to a digest.","duration":12.95,"elements":[{"id":"ask","kind":"card","at":[16,45],"title":"Request","tone":"accent"},{"id":"propose","kind":"card","at":[48,45],"title":"Propose","subtitle":"a card to read"},{"id":"person","kind":"card","at":[80,45],"title":"Person","subtitle":"reads, confirms","tone":"warning","w":27},{"id":"act","kind":"card","at":[112,45],"title":"Act"},{"id":"verify","kind":"card","at":[144,45],"title":"Read back","tone":"success"},{"id":"e1","kind":"beam","from":"ask","to":"propose"},{"id":"e2","kind":"beam","from":"propose","to":"person","label":"card"},{"id":"e3","kind":"beam","from":"person","to":"act","label":"confirm"},{"id":"e4","kind":"beam","from":"act","to":"verify","label":"result"},{"id":"e5","kind":"beam","from":"person","to":"propose","label":"revise","dash":true}],"beats":[{"do":"settle_in","at":0.2,"targets":["ask"]},{"do":"settle_in","at":0.47,"targets":["propose"]},{"do":"settle_in","at":0.74,"targets":["person"]},{"do":"settle_in","at":1.01,"targets":["act"]},{"do":"settle_in","at":1.28,"targets":["verify"]},{"do":"caption","at":0.2,"text":"What runs is what the person saw: the proposal is bound to a digest.","secs":1.4500000000000002},{"do":"connect","at":1.85,"beam":"e1","secs":0.5},{"do":"send","at":2.3,"beam":"e1","secs":0.8},{"do":"caption","at":1.85,"text":"Request → Propose"},{"do":"connect","at":3.45,"beam":"e2","secs":0.5},{"do":"send","at":3.9,"beam":"e2","label":"card","secs":0.8},{"do":"caption","at":3.45,"text":"Propose → Person (card)"},{"do":"connect","at":5.05,"beam":"e3","secs":0.5},{"do":"send","at":5.5,"beam":"e3","label":"confirm","secs":0.8},{"do":"caption","at":5.05,"text":"Person → Act (confirm)"},{"do":"connect","at":6.65,"beam":"e4","secs":0.5},{"do":"send","at":7.1,"beam":"e4","label":"result","secs":0.8},{"do":"caption","at":6.65,"text":"Act → Read back (result)"},{"do":"caption","at":8.25,"text":"Then back: Person → Propose"},{"do":"connect","at":8.25,"beam":"e5","secs":0.6},{"do":"send","at":8.75,"beam":"e5","label":"revise","tone":"success","secs":1.1},{"do":"focus","at":10.15,"target":"verify","secs":0.8},{"do":"release","at":11.75,"secs":0.8}]},"transcript":["0.2s: Request appears","0.2s: What runs is what the person saw: the proposal is bound to a digest.","0.5s: Propose appears","0.7s: Person appears","1.0s: Act appears","1.3s: Read back appears","1.9s: Request → Propose connects","1.9s: Request → Propose","2.3s: a packet travels Request → Propose","3.5s: Propose → Person connects","3.5s: Propose → Person (card)","3.9s: “card” travels Propose → Person","5.0s: Person → Act connects","5.0s: Person → Act (confirm)","5.5s: “confirm” travels Person → Act","6.7s: Act → Read back connects","6.7s: Act → Read back (result)","7.1s: “result” travels Act → Read back","8.3s: Then back: Person → Propose","8.3s: Person → Propose connects","8.8s: “revise” travels Person → Propose","10.2s: the camera moves in on Read back","11.8s: the camera pulls back"]}},{"id":"agent-memory-loop","track":"agents","title":"Memory and improvement loop","summary":"Before a run, read what earlier runs learned; after it, record the run. Each open lesson gets one decision from a ladder of fixes, and the runs after it judge the decision. Use it when: The same flow, demo or test runs again and again, and you want each run to start from what the last ones found.","principle":"agents-learn","also":["agents-simplest"],"tags":["agents","memory-loop"],"evidence":["lib/memory/improve.ts (introspect, decide, judge, LADDERS)","scripts/flows/improve.ts","scripts/memory/client.mjs (openMemory)"],"body":{"kind":"motion","plan":{"title":"Brief, run, record, decide, judge","caption":"A fix that had no effect is replaced by the next one on its ladder.","duration":12.95,"elements":[{"id":"brief","kind":"card","at":[16,45],"title":"Briefing","subtitle":"lessons so far","tone":"accent"},{"id":"run","kind":"card","at":[48,45],"title":"Run"},{"id":"record","kind":"card","at":[80,45],"title":"Record","subtitle":"steps, times, notes","w":27},{"id":"decide","kind":"card","at":[112,45],"title":"Decide","subtitle":"next fix"},{"id":"judge","kind":"card","at":[144,45],"title":"Judge","subtitle":"runs after it","tone":"success"},{"id":"e1","kind":"beam","from":"brief","to":"run","label":"starts from"},{"id":"e2","kind":"beam","from":"run","to":"record","label":"outcome"},{"id":"e3","kind":"beam","from":"record","to":"decide","label":"lessons"},{"id":"e4","kind":"beam","from":"decide","to":"judge","label":"next runs"},{"id":"e5","kind":"beam","from":"judge","to":"brief","label":"worked or not","dash":true}],"beats":[{"do":"settle_in","at":0.2,"targets":["brief"]},{"do":"settle_in","at":0.47,"targets":["run"]},{"do":"settle_in","at":0.74,"targets":["record"]},{"do":"settle_in","at":1.01,"targets":["decide"]},{"do":"settle_in","at":1.28,"targets":["judge"]},{"do":"caption","at":0.2,"text":"A fix that had no effect is replaced by the next one on its ladder.","secs":1.4500000000000002},{"do":"connect","at":1.85,"beam":"e1","secs":0.5},{"do":"send","at":2.3,"beam":"e1","label":"starts from","secs":0.8},{"do":"caption","at":1.85,"text":"Briefing → Run (starts from)"},{"do":"connect","at":3.45,"beam":"e2","secs":0.5},{"do":"send","at":3.9,"beam":"e2","label":"outcome","secs":0.8},{"do":"caption","at":3.45,"text":"Run → Record (outcome)"},{"do":"connect","at":5.05,"beam":"e3","secs":0.5},{"do":"send","at":5.5,"beam":"e3","label":"lessons","secs":0.8},{"do":"caption","at":5.05,"text":"Record → Decide (lessons)"},{"do":"connect","at":6.65,"beam":"e4","secs":0.5},{"do":"send","at":7.1,"beam":"e4","label":"next runs","secs":0.8},{"do":"caption","at":6.65,"text":"Decide → Judge (next runs)"},{"do":"caption","at":8.25,"text":"Then back: Judge → Briefing"},{"do":"connect","at":8.25,"beam":"e5","secs":0.6},{"do":"send","at":8.75,"beam":"e5","label":"worked or not","tone":"success","secs":1.1},{"do":"focus","at":10.15,"target":"judge","secs":0.8},{"do":"release","at":11.75,"secs":0.8}]},"transcript":["0.2s: Briefing appears","0.2s: A fix that had no effect is replaced by the next one on its ladder.","0.5s: Run appears","0.7s: Record appears","1.0s: Decide appears","1.3s: Judge appears","1.9s: Briefing → Run connects","1.9s: Briefing → Run (starts from)","2.3s: “starts from” travels Briefing → Run","3.5s: Run → Record connects","3.5s: Run → Record (outcome)","3.9s: “outcome” travels Run → Record","5.0s: Record → Decide connects","5.0s: Record → Decide (lessons)","5.5s: “lessons” travels Record → Decide","6.7s: Decide → Judge connects","6.7s: Decide → Judge (next runs)","7.1s: “next runs” travels Decide → Judge","8.3s: Then back: Judge → Briefing","8.3s: Judge → Briefing connects","8.8s: “worked or not” travels Judge → Briefing","10.2s: the camera moves in on Judge","11.8s: the camera pulls back"]}},{"id":"agent-graph-path","track":"agents","title":"Ask the graph, not the model","summary":"To answer how two things connect, load the graph once, search it exactly, and say each hop in words; the model only phrases the answer. Use it when: The question is about structure (what leads to what, what a flow exercises) and the platform already holds the graph.","principle":"agents-checks","also":["agents-simplest"],"tags":["agents","graph-path"],"evidence":["lib/memory/server.ts (platformGraph)","lib/graph-lab/explain.ts (explainPath, neighborhood, reachable)","lib/graph/min-heap.ts (MinHeap)"],"body":{"kind":"motion","plan":{"title":"Load once, search, explain","caption":"No store round trip inside the search: the graph is indexed before it starts.","duration":11.05,"elements":[{"id":"ask","kind":"card","at":[16,45],"title":"Question","tone":"accent"},{"id":"load","kind":"card","at":[48,45],"title":"Load graph","subtitle":"one query, cached","w":27},{"id":"search","kind":"card","at":[80,45],"title":"Search","subtitle":"Dijkstra or A*"},{"id":"explain","kind":"card","at":[112,45],"title":"Explain","subtitle":"a sentence per hop","w":27},{"id":"answer","kind":"card","at":[144,45],"title":"Answer","tone":"success"},{"id":"e1","kind":"beam","from":"ask","to":"load","label":"terms"},{"id":"e2","kind":"beam","from":"load","to":"search","label":"index"},{"id":"e3","kind":"beam","from":"search","to":"explain","label":"path"},{"id":"e4","kind":"beam","from":"explain","to":"answer","label":"hops"}],"beats":[{"do":"settle_in","at":0.2,"targets":["ask"]},{"do":"settle_in","at":0.47,"targets":["load"]},{"do":"settle_in","at":0.74,"targets":["search"]},{"do":"settle_in","at":1.01,"targets":["explain"]},{"do":"settle_in","at":1.28,"targets":["answer"]},{"do":"caption","at":0.2,"text":"No store round trip inside the search: the graph is indexed before it starts.","secs":1.4500000000000002},{"do":"connect","at":1.85,"beam":"e1","secs":0.5},{"do":"send","at":2.3,"beam":"e1","label":"terms","secs":0.8},{"do":"caption","at":1.85,"text":"Question → Load graph (terms)"},{"do":"connect","at":3.45,"beam":"e2","secs":0.5},{"do":"send","at":3.9,"beam":"e2","label":"index","secs":0.8},{"do":"caption","at":3.45,"text":"Load graph → Search (index)"},{"do":"connect","at":5.05,"beam":"e3","secs":0.5},{"do":"send","at":5.5,"beam":"e3","label":"path","secs":0.8},{"do":"caption","at":5.05,"text":"Search → Explain (path)"},{"do":"connect","at":6.65,"beam":"e4","secs":0.5},{"do":"send","at":7.1,"beam":"e4","label":"hops","secs":0.8},{"do":"caption","at":6.65,"text":"Explain → Answer (hops)"},{"do":"focus","at":8.25,"target":"answer","secs":0.8},{"do":"release","at":9.85,"secs":0.8}]},"transcript":["0.2s: Question appears","0.2s: No store round trip inside the search: the graph is indexed before it starts.","0.5s: Load graph appears","0.7s: Search appears","1.0s: Explain appears","1.3s: Answer appears","1.9s: Question → Load graph connects","1.9s: Question → Load graph (terms)","2.3s: “terms” travels Question → Load graph","3.5s: Load graph → Search connects","3.5s: Load graph → Search (index)","3.9s: “index” travels Load graph → Search","5.0s: Search → Explain connects","5.0s: Search → Explain (path)","5.5s: “path” travels Search → Explain","6.7s: Explain → Answer connects","6.7s: Explain → Answer (hops)","7.1s: “hops” travels Explain → Answer","8.3s: the camera moves in on Answer","9.8s: the camera pulls back"]}},{"id":"genui-jev-pricing","track":"generative-ui","title":"“pricing page with a yearly toggle”","summary":"A named page type, then a probability for each layout: three tiers, a comparison table, a toggle.","principle":"genui-constrain","tags":["generative-ui","jev","pricing"],"evidence":["lib/jev/index.ts (layoutFor, layoutRun)","lib/jev/vocabulary.ts (PAGES)","app/studio/screens/page.tsx"],"body":{"kind":"jev","request":"pricing page with a yearly toggle","expectPage":"pricing"}},{"id":"genui-jev-login","track":"generative-ui","title":"“sign in screen for a design tool”","summary":"Centered card, split brand panel or tabbed sign-in, over a backdrop it also chooses.","principle":"genui-constrain","tags":["generative-ui","jev","login"],"evidence":["lib/jev/index.ts (layoutFor, layoutRun)","lib/jev/vocabulary.ts (PAGES)","app/studio/screens/page.tsx"],"body":{"kind":"jev","request":"sign in screen for a design tool","expectPage":"login"}},{"id":"genui-jev-dashboard","track":"generative-ui","title":"“metrics dashboard for a fitness app”","summary":"Navigation, KPI row, chart and table are separate questions, so twelve dashboards differ in more than color.","principle":"genui-constrain","tags":["generative-ui","jev","dashboard"],"evidence":["lib/jev/index.ts (layoutFor, layoutRun)","lib/jev/vocabulary.ts (PAGES)","app/studio/screens/page.tsx"],"body":{"kind":"jev","request":"metrics dashboard for a fitness app","expectPage":"dashboard"}},{"id":"genui-jev-faq","track":"generative-ui","title":"“help center with searchable questions”","summary":"Ten FAQ layouts, from a plain accordion to a searchable, filtered help center.","principle":"genui-constrain","tags":["generative-ui","jev","faq"],"evidence":["lib/jev/index.ts (layoutFor, layoutRun)","lib/jev/vocabulary.ts (PAGES)","app/studio/screens/page.tsx"],"body":{"kind":"jev","request":"help center with searchable questions","expectPage":"faq"}},{"id":"genui-jev-kanban","track":"generative-ui","title":"“kanban board for my team's tasks”","summary":"Three- or four-column boards inside whichever navigation shell fits.","principle":"genui-constrain","tags":["generative-ui","jev","kanban"],"evidence":["lib/jev/index.ts (layoutFor, layoutRun)","lib/jev/vocabulary.ts (PAGES)","app/studio/screens/page.tsx"],"body":{"kind":"jev","request":"kanban board for my team's tasks","expectPage":"kanban"}},{"id":"genui-jev-onboarding","track":"generative-ui","title":"“a user invite screen”","summary":"An invite step, a checklist or a wizard: the request names the intent, the vocabulary names the layouts.","principle":"genui-constrain","tags":["generative-ui","jev","onboarding"],"evidence":["lib/jev/index.ts (layoutFor, layoutRun)","lib/jev/vocabulary.ts (PAGES)","app/studio/screens/page.tsx"],"body":{"kind":"jev","request":"a user invite screen","expectPage":"onboarding"}},{"id":"genui-floor","track":"generative-ui","title":"A request that names a layout still leaves room","summary":"“dashboard with a sidebar and a stat strip” makes those two the likeliest, yet every other layout keeps a floor, so twelve screens still differ.","principle":"genui-floor","also":["genui-constrain"],"tags":["generative-ui","jev","sampling"],"evidence":["lib/jev/sample.ts (sampleJoint)","lib/jev/local.ts (local)"],"body":{"kind":"jev","request":"dashboard with a sidebar and a stat strip","expectPage":"dashboard"}},{"id":"genui-spec-class-progress","track":"generative-ui","title":"A class dashboard from a spec","summary":"A json-render spec: data in state, bound elements, controls that write state, validated against the catalog (0 errors, 0 warnings) before it renders.","principle":"genui-validate","tags":["generative-ui","json-render","spec"],"evidence":["lib/json-render/examples.ts (SPEC_EXAMPLES)","lib/json-render/catalog.ts (validateSpec)"],"body":{"kind":"spec","exampleId":"demo-class-progress","spec":{"provenance":"sample","title":"Class Progress — Week 5","description":"How CISC 480 — Building with AI, Fall 2026, Section 01 (demo) is working with the agent on \"Week 5 — Refactor the order pipeline\".","state":{"course":"CISC 480 — Building with AI, Fall 2026, Section 01 (demo)","assignment":"Week 5 — Refactor the order pipeline","summary":{"students":12,"proposals":88,"accepted":85,"katasPassed":30,"lowActivity":2},"archetypeCounts":[{"archetype":"careful-reviewer","students":5},{"archetype":"heavy-acceptor","students":2},{"archetype":"frequent-escalator","students":2},{"archetype":"refusal-prone","students":1},{"archetype":"low-activity","students":2}],"students":[{"name":"Alex Chen","archetype":"careful-reviewer","proposals":8,"accepted":8,"explainRate":1,"katasPassed":4},{"name":"Jordan Williams","archetype":"heavy-acceptor","proposals":10,"accepted":10,"explainRate":0.1,"katasPassed":1},{"name":"Taylor Kim","archetype":"frequent-escalator","proposals":8,"accepted":8,"explainRate":1,"katasPassed":2},{"name":"Morgan Lee","archetype":"refusal-prone","proposals":8,"accepted":5,"explainRate":1,"katasPassed":2},{"name":"Sam Rivera","archetype":"low-activity","proposals":2,"accepted":2,"explainRate":0,"katasPassed":0},{"name":"Sarah Johnson","archetype":"careful-reviewer","proposals":8,"accepted":8,"explainRate":1,"katasPassed":5},{"name":"Michael Chen","archetype":"careful-reviewer","proposals":8,"accepted":8,"explainRate":1,"katasPassed":3},{"name":"Emily Park","archetype":"heavy-acceptor","proposals":10,"accepted":10,"explainRate":0.1,"katasPassed":1},{"name":"Priya Nair","archetype":"careful-reviewer","proposals":8,"accepted":8,"explainRate":1,"katasPassed":6},{"name":"Diego Martinez","archetype":"frequent-escalator","proposals":8,"accepted":8,"explainRate":1,"katasPassed":2},{"name":"Hana Sato","archetype":"careful-reviewer","proposals":8,"accepted":8,"explainRate":1,"katasPassed":3},{"name":"Chris Okafor","archetype":"low-activity","proposals":2,"accepted":2,"explainRate":0,"katasPassed":1}],"notes":""},"root":{"type":"Page","children":[{"type":"Row","children":[{"type":"Badge","props":{"text":{"$state":"/course"},"variant":"secondary"}},{"type":"Badge","props":{"text":{"$state":"/assignment"},"variant":"outline"}}]},{"type":"Grid","props":{"columns":4},"children":[{"type":"Stat","props":{"label":"Students","value":{"$state":"/summary/students"}}},{"type":"Stat","props":{"label":"Agent proposals","value":{"$state":"/summary/proposals"},"caption":"across the class"}},{"type":"Stat","props":{"label":"Proposals accepted","value":{"$state":"/summary/accepted"}}},{"type":"Stat","props":{"label":"Katas passed","value":{"$state":"/summary/katasPassed"},"caption":"all six katas, whole term"}}]},{"type":"Callout","visible":{"$state":"/summary/lowActivity","gt":0},"props":{"variant":"info","title":"Some students have little activity","body":{"$template":"${/summary/lowActivity} students made fewer than 5 proposals, so no signals are computed for them yet."}}},{"type":"Card","props":{"title":"Working styles in this section"},"children":[{"type":"Chart","props":{"mark":"bar","height":220,"sort":"-y","encoding":{"x":{"field":"archetype","type":"nominal","title":"Working style"},"y":{"field":"students","type":"quantitative","title":"Students"}},"data":{"$state":"/archetypeCounts"}}}]},{"type":"Section","props":{"title":"Students","subtitle":"Explain rate = explain answers given per accepted change"},"children":[{"type":"Table","props":{"caption":"Per-student activity on the Week 5 assignment","columns":[{"key":"name","label":"Student"},{"key":"archetype","label":"Working style"},{"key":"proposals","label":"Proposals","align":"right"},{"key":"accepted","label":"Accepted","align":"right"},{"key":"explainRate","label":"Explain rate","format":"percent","align":"right"},{"key":"katasPassed","label":"Katas passed","align":"right"}],"rows":{"$state":"/students"}}}]},{"type":"Section","access":{"minTier":"professor"},"props":{"title":"Professor notes","subtitle":"Only professors see this section"},"children":[{"type":"Textarea","props":{"value":{"$bindState":"/notes"},"label":"Notes for next class","rows":3}},{"type":"Row","children":[{"type":"Button","props":{"label":"Save notes","action":{"submit":"saveClassNotes"}}},{"type":"Button","props":{"label":"Clear","variant":"outline","action":{"reset":["/notes"]}}}]}]}]}}}},{"id":"genui-spec-portfolio-risk","track":"generative-ui","title":"A finance report from a spec","summary":"The same engine on a different domain: charts bound to state, with a provenance label so illustrative numbers are never mistaken for real ones.","principle":"genui-validate","tags":["generative-ui","json-render","finance"],"evidence":["lib/json-render/examples.ts (SPEC_EXAMPLES)"],"body":{"kind":"spec","exampleId":"quant-portfolio-risk","spec":{"provenance":"sample","title":"Multi-Factor Portfolio Risk Report","description":"Daily risk decomposition for a long/short equity book — exposures, VaR, and factor attribution.","state":{"horizon":"1d","showPositions":true,"portfolio":{"nav":"$48.2M","var95":"$1.24M","beta":0.32,"sharpe":1.86},"pnl":[{"day":"Mon","portfolio":100,"benchmark":100},{"day":"Tue","portfolio":101.2,"benchmark":100.4},{"day":"Wed","portfolio":100.6,"benchmark":99.7},{"day":"Thu","portfolio":102.4,"benchmark":100.9},{"day":"Fri","portfolio":103.8,"benchmark":101.2}],"factors":[{"factor":"Market","beta":0.32},{"factor":"Value","beta":0.18},{"factor":"Momentum","beta":-0.11},{"factor":"Quality","beta":0.24},{"factor":"Size","beta":-0.07}],"sectorRisk":[{"sector":"Technology","risk":38},{"sector":"Healthcare","risk":22},{"sector":"Financials","risk":18},{"sector":"Energy","risk":12},{"sector":"Other","risk":10}],"positions":[{"ticker":"NVDA","weight":"6.4%","beta":"1.42","var":"$214k","side":"Long"},{"ticker":"MSFT","weight":"5.1%","beta":"0.98","var":"$142k","side":"Long"},{"ticker":"TSLA","weight":"-3.8%","beta":"1.71","var":"$188k","side":"Short"},{"ticker":"XOM","weight":"4.2%","beta":"0.64","var":"$96k","side":"Long"},{"ticker":"META","weight":"-2.9%","beta":"1.23","var":"$121k","side":"Short"}]},"root":{"type":"Page","children":[{"type":"Row","children":[{"type":"Badge","props":{"text":"Long/Short Equity","variant":"secondary"}},{"type":"Badge","props":{"text":"As of close 2026-09-16","variant":"outline"}}]},{"type":"Row","props":{"justify":"between"},"children":[{"type":"Switch","props":{"checked":{"$bindState":"/showPositions"},"label":"Show position detail"}},{"type":"Button","props":{"label":"Hide detail","variant":"outline","action":{"setState":{"/showPositions":false}}}}]},{"type":"Grid","props":{"columns":4},"children":[{"type":"Stat","props":{"label":"Net Asset Value","value":"$48.2M","delta":0.7,"caption":"vs prior day"}},{"type":"Stat","props":{"label":"1-day VaR (95%)","value":"$1.24M","delta":-3.1,"caption":"risk reduced"}},{"type":"Stat","props":{"label":"Portfolio Beta","value":"0.32","trend":"flat"}},{"type":"Stat","props":{"label":"Sharpe (ann.)","value":"1.86","delta":4.2}}]},{"type":"Section","props":{"title":"Cumulative P&L vs Benchmark","subtitle":"Indexed to 100 at period start"},"children":[{"type":"Chart","props":{"mark":"line","height":260,"sort":"none","encoding":{"x":{"field":"day","type":"ordinal"},"y":[{"field":"portfolio","type":"quantitative","title":"Portfolio"},{"field":"benchmark","type":"quantitative","title":"Benchmark"}]},"data":{"$state":"/pnl"}}}]},{"type":"Grid","props":{"columns":2},"children":[{"type":"Card","props":{"title":"Factor Exposure (beta)"},"children":[{"type":"Chart","props":{"mark":"bar","height":220,"sort":"-y","encoding":{"x":{"field":"factor","type":"nominal"},"y":{"field":"beta","type":"quantitative","title":"Beta"}},"data":{"$state":"/factors"}}}]},{"type":"Card","props":{"title":"Risk Contribution by Sector"},"children":[{"type":"Chart","props":{"mark":"arc","height":220,"encoding":{"color":{"field":"sector","type":"nominal"},"theta":{"field":"risk","type":"quantitative","title":"Risk contribution (%)"}},"data":{"$state":"/sectorRisk"}}}]}]},{"type":"Section","visible":{"$state":"/showPositions"},"props":{"title":"Top Position Risk"},"children":[{"type":"Table","props":{"columns":[{"key":"ticker","label":"Ticker"},{"key":"weight","label":"Weight"},{"key":"beta","label":"Beta"},{"key":"var","label":"VaR contrib."},{"key":"side","label":"Side"}],"rows":{"$state":"/positions"}}}]},{"type":"Callout","props":{"variant":"warning","title":"Risk note","body":"Momentum exposure flipped negative this week. Net tech concentration (38% of risk) exceeds the 35% soft limit — consider trimming NVDA or adding a sector hedge."}}]}}}},{"id":"genui-spec-repo-history","track":"generative-ui","title":"A view built from real data","summary":"Rows in, a chart chosen from their shape, a table beneath: the data decides the view, and every number comes from the rows.","principle":"genui-decide","tags":["generative-ui","json-render","data"],"evidence":["lib/json-render/recommend.ts (mapToSpec)","lib/json-render/examples-e2e.ts"],"body":{"kind":"spec","exampleId":"repo-history","spec":{"title":"Repository history","description":"This repository's own commits (snapshot at 8220de0), classified Build / Repair / Plan / Tend from their conventional-commit prefixes.","provenance":"data","state":{"filters":{"kind":"all","range":"all"},"data":{"history":[{"date":"2025-12-11","hash":"ba9b186","kind":"tend","files":92,"subject":"Initialized repository for chat School Chatbot"},{"date":"2025-12-11","hash":"bb49e6c","kind":"build","files":26,"subject":"feat: add comprehensive Feature Engineering Guide"},{"date":"2025-12-11","hash":"a4b8808","kind":"build","files":1,"subject":"feat: protect exam questions with professor code"},{"date":"2025-12-11","hash":"0211459","kind":"repair","files":74,"subject":"fix: update SQL syntax for Neon driver compatibility"},{"date":"2025-12-11","hash":"516488b","kind":"repair","files":287,"subject":"fix: resolve Server Action export restrictions"},{"date":"2025-12-11","hash":"a52dede","kind":"repair","files":1,"subject":"fix: rename proxy to middleware for deployment"},{"date":"2025-12-11","hash":"2d2fa8a","kind":"build","files":5,"subject":"feat: add client-sanitize utility for SVG/HTML sanitization"},{"date":"2025-12-11","hash":"993102e","kind":"tend","files":62,"subject":"Add new files"},{"date":"2025-12-15","hash":"1818e47","kind":"tend","files":2,"subject":"Fix React Server Components CVE vulnerabilities"},{"date":"2025-12-15","hash":"0da1119","kind":"tend","files":2,"subject":"upgrade Next.js to 16.0.10"},{"date":"2025-12-15","hash":"dc23316","kind":"build","files":23,"subject":"feat: add git cleanup tools and guide"},{"date":"2026-09-16","hash":"3404848","kind":"tend","files":4,"subject":"Fix chat page responsiveness and layout boundaries"},{"date":"2026-09-16","hash":"6e64f39","kind":"tend","files":6,"subject":"Refine chat UI: 4pt corner scale, remove decorative gradients/glows"},{"date":"2026-09-17","hash":"ad24984","kind":"tend","files":3,"subject":"Add global overflow containment and fix responsive page headers"},{"date":"2026-09-17","hash":"fc3c026","kind":"tend","files":4,"subject":"Make custom page headers responsive (homework, connect, contact, projects/new)"},{"date":"2026-09-17","hash":"082201d","kind":"tend","files":1,"subject":"Flatten nav header logo to match 4pt refinement; add truncation guards"},{"date":"2026-09-17","hash":"233d425","kind":"tend","files":3,"subject":"Refine platform + home to monochrome purple theme, wire feature cards to SPA router"},{"date":"2026-09-17","hash":"27a06b4","kind":"tend","files":2,"subject":"Apply monochrome + purple theme to features and capabilities pages"},{"date":"2026-09-17","hash":"b250262","kind":"tend","files":1,"subject":"Remove redundant empty onClick on deploy tab trigger"},{"date":"2026-09-17","hash":"de59cff","kind":"tend","files":43,"subject":"Complete monochrome + purple sweep across app, learn, education, marketing, account, and a"},{"date":"2026-09-17","hash":"339abdb","kind":"tend","files":3,"subject":"Rebuild knowledge graph into interactive curriculum explorer from real SEIS data"},{"date":"2026-09-17","hash":"a9d1245","kind":"tend","files":2,"subject":"Rebuild knowledge graph as interactive explorer; remove dead AI model registry"},{"date":"2026-09-17","hash":"c5f0433","kind":"tend","files":8,"subject":"Build out glossary, courses, learning paths + honest platform catalog"},{"date":"2026-09-17","hash":"73f1577","kind":"tend","files":1,"subject":"Fix responsive highlighted pricing card boundaries"},{"date":"2026-09-17","hash":"33d37c9","kind":"tend","files":1,"subject":"Fix highlighted pricing card clipping"},{"date":"2026-09-17","hash":"0142f11","kind":"tend","files":10,"subject":"Enrich capabilities + knowledge graph, de-tacky off-brand colors"},{"date":"2026-09-17","hash":"a645b79","kind":"tend","files":1,"subject":"Sharpen radius scale + refine focus ring and scrollbars for professional high-fidelity loo"},{"date":"2026-09-17","hash":"3c12032","kind":"tend","files":2,"subject":"Add reduced-motion-aware scroll reveal to home sections"},{"date":"2026-09-17","hash":"4696826","kind":"tend","files":2,"subject":"Extend reveal motion to capabilities and knowledge graph pages"},{"date":"2026-09-17","hash":"f5c084f","kind":"tend","files":10,"subject":"Sharpen oversized rounded-2xl/3xl corners to standard scale"},{"date":"2026-09-17","hash":"a4a9459","kind":"tend","files":18,"subject":"Add AI Lab: live playground, checked build labs, adaptive assessments, and concept mastery"},{"date":"2026-09-17","hash":"c219c02","kind":"tend","files":1,"subject":"Fix chat page horizontal overflow clipping content at desktop widths"},{"date":"2026-09-17","hash":"2f8c884","kind":"tend","files":4,"subject":"Fix nav clipping, wire access-code signup, add frontier LLM topics"},{"date":"2026-09-17","hash":"6a86c3f","kind":"tend","files":4,"subject":"Add frontier research catalog and five advanced build labs with library/paper references"},{"date":"2026-09-17","hash":"f67f718","kind":"tend","files":2,"subject":"Integrate frontier research catalog into Tommie agent (tool + prompt briefing)"},{"date":"2026-09-17","hash":"3dc9f1f","kind":"tend","files":3,"subject":"Add NOOA agentic-architecture concept, research, and lab; wire into agent knowledge"},{"date":"2026-09-17","hash":"0f14704","kind":"tend","files":1,"subject":"Default chat agent to working Google Gemini provider"},{"date":"2026-09-17","hash":"93a7984","kind":"tend","files":3,"subject":"Add Modal, Railway, Hugging Face, and Gemma 4 as serving/deployment learning elements"},{"date":"2026-09-17","hash":"c414f3c","kind":"tend","files":8,"subject":"Add LPG Modeler tool, learning content, and graph nodes"},{"date":"2026-09-17","hash":"4ef7899","kind":"tend","files":3,"subject":"Add DuckDB, DuckPGQ, and Graph RAG as ontology-driven learning content"},{"date":"2026-09-17","hash":"5b6cd76","kind":"tend","files":10,"subject":"Add json-render Report Studio + Capability Studios to AI Lab"},{"date":"2026-09-17","hash":"fa7bb6d","kind":"tend","files":2,"subject":"Add deep-research inference concepts (attention sinks, KV cache, kernel opt) and fix broke"},{"date":"2026-09-17","hash":"4aef341","kind":"tend","files":9,"subject":"Add Code Graph Analyzer: AST parsing, import graph, code smells, graph-RAG suggestions"},{"date":"2026-09-17","hash":"0fb175b","kind":"tend","files":2,"subject":"Add code-intelligence concepts and deep research to knowledge graph"},{"date":"2026-09-17","hash":"7c53c97","kind":"tend","files":1,"subject":"Replace identical faculty placeholder icon with distinct monogram avatars"},{"date":"2026-09-17","hash":"1c51abf","kind":"tend","files":9,"subject":"Add runnable JEPA world model lab (Three.js) + wire concepts into knowledge graph"},{"date":"2026-09-17","hash":"260ee12","kind":"tend","files":2,"subject":"Fix world-model boundary issues: clamp decoded positions, guard NaN, add arena walls"},{"date":"2026-09-17","hash":"e223652","kind":"tend","files":7,"subject":"Add HF/Modal/Railway + MCP/OpenAPI-to-MCP capability studios and wire into knowledge graph"},{"date":"2026-09-17","hash":"e134069","kind":"tend","files":2,"subject":"Fix json-render prompt build error and expand code analyzer examples"},{"date":"2026-09-17","hash":"bcf9fa4","kind":"tend","files":9,"subject":"Redesign Capability Studios into Ecosystem Registry marketplace with skills + agent regist"},{"date":"2026-09-17","hash":"564f58c","kind":"tend","files":1,"subject":"Expand Code Analyzer with curated open-source examples"},{"date":"2026-09-17","hash":"2cb9bd4","kind":"build","files":2,"subject":"feat: add Hugging Face paper fetching and display feature"},{"date":"2026-09-17","hash":"86e8efb","kind":"build","files":1,"subject":"feat: update AccessGate message to description for saved papers tab"},{"date":"2026-09-17","hash":"9a1b220","kind":"tend","files":4,"subject":"Add Learn/Build education layer to Ecosystem Registry"},{"date":"2026-09-17","hash":"2523268","kind":"tend","files":1,"subject":"Layer education strip into research Hot Papers tab"},{"date":"2026-09-17","hash":"966d924","kind":"tend","files":2,"subject":"Update AI models to latest flagships; add Cloudflare, OpenRouter, LangWatch, Cline capabil"},{"date":"2026-09-17","hash":"21aee79","kind":"tend","files":1,"subject":"Make ecosystem tool snippets 1:1 with official provider docs"},{"date":"2026-09-21","hash":"d7da990","kind":"tend","files":2,"subject":"Add Jev + open-source decision-model tools with in-UI configuration"},{"date":"2026-09-21","hash":"4435ac7","kind":"tend","files":3,"subject":"Add Data Engineering concept area: Apache Iceberg open table formats + V4 roadmap"},{"date":"2026-09-21","hash":"3850cb5","kind":"tend","files":5,"subject":"Add hosted GitHub/Linear Integration Studio to Capability Studios"},{"date":"2026-09-22","hash":"884df64","kind":"tend","files":16,"subject":"Add Live Workspace: real multiplayer room with KV presence/feed + coding-agent personas"},{"date":"2026-09-22","hash":"e2b22c4","kind":"tend","files":3,"subject":"Add Desktop App tab (pop-out/PWA install/Tauri snippets) and real KV presence strips to Sa"},{"date":"2026-09-22","hash":"9e5d825","kind":"tend","files":1,"subject":"Fix Lab Hub card blurb text clipping (whitespace-nowrap inherited from TabsTrigger)"},{"date":"2026-09-22","hash":"56f8e21","kind":"tend","files":5,"subject":"Enhance Lab Hub grid layout, desktop popout pill, Code Graph RAG integration for seis-lab/"},{"date":"2026-09-22","hash":"4ad970e","kind":"tend","files":4,"subject":"Add AutoResearch & GPU Compute Studio with autonomous research loops, spot fleet pricing, "},{"date":"2026-09-22","hash":"aa6ce0d","kind":"tend","files":5,"subject":"Polish NIST AI RMF Governance Studio UI typography, button contrast, and responsiveness"},{"date":"2026-09-23","hash":"8e698cd","kind":"tend","files":1,"subject":"Make GitHub Sandbox and Linear Board fully interactive with PR review posting, merging, CI"},{"date":"2026-09-23","hash":"0fb2366","kind":"tend","files":2,"subject":"Add professional 3D Spatial Cockpit to Lab Hub with live telemetry, world models, and agen"},{"date":"2026-09-24","hash":"4aee96d","kind":"build","files":1,"subject":"feat: enhance spatial-cockpit-panel with new node categories, UI updates, and detailed met"},{"date":"2026-09-24","hash":"5db2f7a","kind":"build","files":1,"subject":"feat(lab): transform spatial cockpit into realistic QuantLink 3D OS with Apple/Windows and"},{"date":"2026-09-24","hash":"a0ef11f","kind":"build","files":1,"subject":"feat: streamline spatial-cockpit-panel UI, remove unused icons and simplify node structure"},{"date":"2026-09-24","hash":"24c591d","kind":"build","files":1,"subject":"feat: enhance QuantLink Spatial OS with authentic macOS/Windows desktop rendering, live ag"},{"date":"2026-09-24","hash":"5cec81d","kind":"tend","files":1,"subject":"Render QuantLink 3D Workspace World OS with floating real macOS/Windows desktop apps and C"},{"date":"2026-09-24","hash":"1069f79","kind":"build","files":1,"subject":"feat: add fullscreen toggle and collaborator data in SpatialCockpitPanel"},{"date":"2026-09-24","hash":"33abb03","kind":"build","files":1,"subject":"feat(cockpit): elevate QuantLink spatial workspace with WebGPU-grade 3D cityscape and mult"},{"date":"2026-09-24","hash":"5bc0a63","kind":"tend","files":1,"subject":"Refine Spatial Cockpit with Apple/Windows Mica glass styling and agent orchestrator integr"},{"date":"2026-09-24","hash":"f0fcd32","kind":"tend","files":1,"subject":"Elevate spatial cockpit with photorealistic Gaussian Splatting and native Apple/Windows ap"},{"date":"2026-09-24","hash":"1db11e0","kind":"tend","files":1,"subject":"refactor(spatial): refine GSplat radiance field and monochromatic Apple/Windows OS windows"},{"date":"2026-09-24","hash":"84a1bba","kind":"build","files":1,"subject":"feat(spatial-workspace): monochromatic liquid-lighting native OS windows and gsplat radian"},{"date":"2026-09-24","hash":"69b9e7c","kind":"build","files":6,"subject":"feat(spatial-backend): ontological Zod schemas, real AI agent dispatch, code execution san"},{"date":"2026-09-24","hash":"1329172","kind":"build","files":6,"subject":"feat(spatial): integrate cross-project defense ontology, TRIZ 40 engine, and telemetry str"},{"date":"2026-09-24","hash":"e9d9204","kind":"tend","files":1,"subject":"Elevate spatial cockpit with authentic macOS/Windows window fidelity and realistic monochr"},{"date":"2026-09-27","hash":"77e73d5","kind":"tend","files":12,"subject":"Add one-click dev admin login and fix admin gate and analytics query"},{"date":"2026-09-27","hash":"4064ab9","kind":"build","files":26,"subject":"feat: add new skill skit-analyze for cross-artifact consistency analysis"},{"date":"2026-09-27","hash":"02ffe35","kind":"build","files":41,"subject":"feat(ide): agent workbench with diff review and Time view (speckit plan/tasks/implement)"},{"date":"2026-09-27","hash":"bde3c79","kind":"tend","files":20,"subject":"Add speculative propose (draft then verify) with risk gate and acceptance stats"},{"date":"2026-09-28","hash":"b8b79da","kind":"tend","files":42,"subject":"Organize lib/ide into domain and server layers"},{"date":"2026-09-28","hash":"4f4226c","kind":"tend","files":22,"subject":"Update outdated model IDs, AI SDK options, dates, and /labs redirect across pages"},{"date":"2026-09-28","hash":"7cb4c0f","kind":"tend","files":35,"subject":"Harden access tiers, signed sessions, emulation and per-tier AI budgets"},{"date":"2026-09-28","hash":"5ea4efc","kind":"tend","files":7,"subject":"Add real Python execution via Vercel Sandbox with tier limits and network lockdown"},{"date":"2026-09-28","hash":"88098ea","kind":"build","files":5,"subject":"feat: refactor autoresearch API and studio component for enhanced functionality"},{"date":"2026-09-28","hash":"f547b4e","kind":"tend","files":6,"subject":"Add autoresearch-mlx style rigor gate: seeds, bootstrap CI, fail-fast, dedupe"},{"date":"2026-09-28","hash":"090ea6b","kind":"tend","files":8,"subject":"Add custom research programs with alpha harness, holdout and deflated Sharpe"},{"date":"2026-09-28","hash":"41b9f20","kind":"tend","files":24,"subject":"Add multiplayer research workspaces with background autoresearch loops and discovery monit"},{"date":"2026-09-30","hash":"612d3ec","kind":"build","files":45,"subject":"feat: implement new API routes for research protocol runs and UI components"},{"date":"2026-09-30","hash":"f98d09d","kind":"tend","files":62,"subject":"Protocolize research SDK: alignment, reasoning, compiler, decision API"},{"date":"2026-09-30","hash":"df6d612","kind":"tend","files":61,"subject":"Portable JSON suite manifests, Python protocol conformance tests, finite-size state"},{"date":"2026-09-30","hash":"1419f8b","kind":"plan","files":2,"subject":"docs(spec): specify 003 spatial workspace"},{"date":"2026-09-30","hash":"483cc6e","kind":"plan","files":5,"subject":"docs(plan): plan 003 spatial workspace"},{"date":"2026-09-30","hash":"1091a69","kind":"plan","files":1,"subject":"docs(tasks): task list for 003 spatial workspace"},{"date":"2026-09-30","hash":"a4da066","kind":"build","files":27,"subject":"feat(spatial): spatial workspace built from the real repository (003)"},{"date":"2026-09-30","hash":"12a761b","kind":"plan","files":5,"subject":"docs(spec): add the Time view to 003 as user story 4"},{"date":"2026-09-30","hash":"5ab5a14","kind":"build","files":24,"subject":"feat: integrate Agent Fabric personas & Mastra AI across IDE and agent flows"},{"date":"2026-09-30","hash":"d6b15fa","kind":"build","files":16,"subject":"feat(spatial): Time view and a fully real, live workspace (003 US4)"},{"date":"2026-09-30","hash":"1b8a7d3","kind":"plan","files":2,"subject":"docs(spec): specify 004 code world model"},{"date":"2026-09-30","hash":"a71ef10","kind":"plan","files":5,"subject":"docs(plan): plan and tasks for 004 code world model"},{"date":"2026-09-30","hash":"9527b56","kind":"build","files":11,"subject":"feat(world-model): JEPA code world model with shared 2D/3D embedding view (004)"},{"date":"2026-09-30","hash":"d8fea78","kind":"repair","files":2,"subject":"fix(spatial): unique artifact ids per code file"},{"date":"2026-09-30","hash":"378a60f","kind":"plan","files":2,"subject":"docs(plan): iteration 2 plan for 004 from three research passes"},{"date":"2026-09-30","hash":"e29c8e1","kind":"build","files":8,"subject":"feat(world-model): ranker v2 with rolling-origin evaluation (004 iteration 2)"},{"date":"2026-09-30","hash":"4fe7c07","kind":"plan","files":6,"subject":"docs: constitution 1.1.0 and spec, research, plan, tasks for 005 learning workbench"},{"date":"2026-09-30","hash":"905cfa6","kind":"build","files":23,"subject":"feat: admin feature flags for every route, Model view v2 flows, pattern coach"},{"date":"2026-09-30","hash":"bee615d","kind":"build","files":4,"subject":"feat(catalog): model cards and research suites linked to course concepts (005 US7)"},{"date":"2026-09-30","hash":"8bdfc04","kind":"build","files":18,"subject":"feat(workbench): assignment autonomy, guardrails, explain gate, provenance (005 US1)"},{"date":"2026-09-30","hash":"1523584","kind":"build","files":23,"subject":"feat(workspaces): GitHub App / Gitea / local git providers and worktree + sandbox workspac"},{"date":"2026-09-30","hash":"a1d473d","kind":"build","files":17,"subject":"feat(broadcast): redacted broadcasting to in-app, Slack, Discord and Teams channels (005 U"},{"date":"2026-09-30","hash":"54bde98","kind":"build","files":17,"subject":"feat(directory): skills, plugins and MCP server directory with ingest and tests (005 US5)"},{"date":"2026-09-30","hash":"f35aee4","kind":"build","files":5,"subject":"feat(instructor): engagement signals and grading evidence, synthetic demo class (005 US2 e"},{"date":"2026-09-30","hash":"32e266c","kind":"build","files":7,"subject":"feat(exercises): Prompt Problems with hidden tests and refactoring katas graded by the pat"},{"date":"2026-09-30","hash":"e4dfce4","kind":"build","files":8,"subject":"feat(workbench): grade explain-gate answers with AI Gateway evaluation; one shared admin c"},{"date":"2026-09-30","hash":"60d7363","kind":"tend","files":19,"subject":"bench: one command for evidence numbers across the workbench (ranker, coach, redaction, si"},{"date":"2026-09-30","hash":"79c709c","kind":"build","files":8,"subject":"feat(mcp): read-only MCP server so Claude Code, Cursor and VS Code can call the world mode"},{"date":"2026-09-30","hash":"a613d5f","kind":"build","files":7,"subject":"feat(ide): chat tab with bring-your-own-key and local models (Ollama, LM Studio)"},{"date":"2026-09-30","hash":"0f11ace","kind":"build","files":11,"subject":"feat(training): fine-tune locally with mlx-lm LoRA or on Hugging Face Jobs with your own t"},{"date":"2026-09-30","hash":"279c684","kind":"build","files":18,"subject":"feat(blocks): block documents that render as doc, slides, sheet, notebook, HTML and json-r"},{"date":"2026-09-30","hash":"a464823","kind":"tend","files":30,"subject":"data-apps: SQLite/libSQL/D1 backends, local/R2/Vercel Blob storage, Railway/Vercel/Cloudfl"},{"date":"2026-10-01","hash":"b79ced9","kind":"tend","files":16,"subject":"json-render: catalog-driven spec builder, viz grammar, data mapper, forms, TSX/HTML codege"},{"date":"2026-10-07","hash":"4eea87d","kind":"tend","files":2,"subject":"spec(005): record in-class security testing as US8 (FR-016..022, SC-007..009, tasks T019-T"},{"date":"2026-10-07","hash":"b351ed8","kind":"repair","files":8,"subject":"fix(exercises): graders can't be passed without solving (US8 T019, T020)"},{"date":"2026-10-07","hash":"9826b03","kind":"repair","files":12,"subject":"fix(broadcast,hf): no credentials leave the app; school token not spent on strangers (US8 "},{"date":"2026-10-07","hash":"3aa9003","kind":"repair","files":10,"subject":"fix(identity): who you are comes from the session, not the request (US8 T022)"},{"date":"2026-10-07","hash":"92809a5","kind":"tend","files":2,"subject":"spec(005): US9 login/chat/AI protection, US10 super-admin layer, US11 personas/examples/em"},{"date":"2026-10-07","hash":"4bbfead","kind":"repair","files":8,"subject":"fix(workspaces): validate repo/branch and require a student session (US8 T024)"},{"date":"2026-10-07","hash":"3dd6727","kind":"repair","files":11,"subject":"fix(chat,security): tier from session only; rate-limit keys from the platform address (US9"},{"date":"2026-10-07","hash":"33c5b9e","kind":"repair","files":5,"subject":"fix(auth): rate-limit OTP requests, constant-time verify, code out of subject (US9 T028)"},{"date":"2026-10-07","hash":"05b4523","kind":"repair","files":3,"subject":"fix(deep-research): history scoped to the session subject (US9 T029)"},{"date":"2026-10-07","hash":"2a358ab","kind":"repair","files":10,"subject":"fix(admin): one admin check for every admin API (US10 T031)"},{"date":"2026-10-07","hash":"4f68542","kind":"build","files":7,"subject":"feat(admin): audit log for every flag change (US10 T032)"},{"date":"2026-10-07","hash":"6db5748","kind":"repair","files":5,"subject":"fix(ai): generic client errors, provider detail logged server-side (US9 T030)"},{"date":"2026-10-07","hash":"48aba0f","kind":"build","files":4,"subject":"feat(admin): test fails when a route ships unregistered (US10 T034)"},{"date":"2026-10-07","hash":"b441215","kind":"build","files":7,"subject":"feat(admin): flag impact preview and generated route security matrix (US10 T033)"},{"date":"2026-10-07","hash":"d77ec48","kind":"tend","files":15,"subject":"Align personas, emulation, bots and examples so each setting actually takes effect"},{"date":"2026-10-07","hash":"620c6e0","kind":"tend","files":2,"subject":"spec(005): US12 hardening round 2 from the post-class code review (FR-034..040, SC-013, T0"},{"date":"2026-10-07","hash":"1da6a48","kind":"build","files":6,"subject":"feat(studio): examples walkthrough — data, recommendation, bindings, live render, exports"},{"date":"2026-10-07","hash":"52186ae","kind":"tend","files":2,"subject":"json-render: Vega-Lite v5 interop (toVegaLite / fromVegaLite) with per-mark round trips"},{"date":"2026-10-07","hash":"292102c","kind":"tend","files":2,"subject":"json-render: one export helper with a Vega-Lite option, used by the spec builder"},{"date":"2026-10-07","hash":"2871d02","kind":"tend","files":4,"subject":"mcp: MCP Apps UI resources + read-only json_render_render; vega-lite/json export formats"},{"date":"2026-10-07","hash":"2931e66","kind":"tend","files":1,"subject":"json-render: Vega-Lite tab in the examples walkthrough export"},{"date":"2026-10-07","hash":"bb4c792","kind":"tend","files":3,"subject":"json-render forms: nested objects as fieldset sections, multiselect and list kinds"},{"date":"2026-10-07","hash":"8220de0","kind":"tend","files":3,"subject":"json-render: OpenAPI 3.x operation -> form + submit descriptor + result view"}],"slices":{"all_all":[{"date":"2025-12-11","hash":"ba9b186","kind":"tend","files":92,"subject":"Initialized repository for chat School Chatbot"},{"date":"2025-12-11","hash":"bb49e6c","kind":"build","files":26,"subject":"feat: add comprehensive Feature Engineering Guide"},{"date":"2025-12-11","hash":"a4b8808","kind":"build","files":1,"subject":"feat: protect exam questions with professor code"},{"date":"2025-12-11","hash":"0211459","kind":"repair","files":74,"subject":"fix: update SQL syntax for Neon driver compatibility"},{"date":"2025-12-11","hash":"516488b","kind":"repair","files":287,"subject":"fix: resolve Server Action export restrictions"},{"date":"2025-12-11","hash":"a52dede","kind":"repair","files":1,"subject":"fix: rename proxy to middleware for deployment"},{"date":"2025-12-11","hash":"2d2fa8a","kind":"build","files":5,"subject":"feat: add client-sanitize utility for SVG/HTML sanitization"},{"date":"2025-12-11","hash":"993102e","kind":"tend","files":62,"subject":"Add new files"},{"date":"2025-12-15","hash":"1818e47","kind":"tend","files":2,"subject":"Fix React Server Components CVE vulnerabilities"},{"date":"2025-12-15","hash":"0da1119","kind":"tend","files":2,"subject":"upgrade Next.js to 16.0.10"},{"date":"2025-12-15","hash":"dc23316","kind":"build","files":23,"subject":"feat: add git cleanup tools and guide"},{"date":"2026-09-16","hash":"3404848","kind":"tend","files":4,"subject":"Fix chat page responsiveness and layout boundaries"},{"date":"2026-09-16","hash":"6e64f39","kind":"tend","files":6,"subject":"Refine chat UI: 4pt corner scale, remove decorative gradients/glows"},{"date":"2026-09-17","hash":"ad24984","kind":"tend","files":3,"subject":"Add global overflow containment and fix responsive page headers"},{"date":"2026-09-17","hash":"fc3c026","kind":"tend","files":4,"subject":"Make custom page headers responsive (homework, connect, contact, projects/new)"},{"date":"2026-09-17","hash":"082201d","kind":"tend","files":1,"subject":"Flatten nav header logo to match 4pt refinement; add truncation guards"},{"date":"2026-09-17","hash":"233d425","kind":"tend","files":3,"subject":"Refine platform + home to monochrome purple theme, wire feature cards to SPA router"},{"date":"2026-09-17","hash":"27a06b4","kind":"tend","files":2,"subject":"Apply monochrome + purple theme to features and capabilities pages"},{"date":"2026-09-17","hash":"b250262","kind":"tend","files":1,"subject":"Remove redundant empty onClick on deploy tab trigger"},{"date":"2026-09-17","hash":"de59cff","kind":"tend","files":43,"subject":"Complete monochrome + purple sweep across app, learn, education, marketing, account, and a"},{"date":"2026-09-17","hash":"339abdb","kind":"tend","files":3,"subject":"Rebuild knowledge graph into interactive curriculum explorer from real SEIS data"},{"date":"2026-09-17","hash":"a9d1245","kind":"tend","files":2,"subject":"Rebuild knowledge graph as interactive explorer; remove dead AI model registry"},{"date":"2026-09-17","hash":"c5f0433","kind":"tend","files":8,"subject":"Build out glossary, courses, learning paths + honest platform catalog"},{"date":"2026-09-17","hash":"73f1577","kind":"tend","files":1,"subject":"Fix responsive highlighted pricing card boundaries"},{"date":"2026-09-17","hash":"33d37c9","kind":"tend","files":1,"subject":"Fix highlighted pricing card clipping"},{"date":"2026-09-17","hash":"0142f11","kind":"tend","files":10,"subject":"Enrich capabilities + knowledge graph, de-tacky off-brand colors"},{"date":"2026-09-17","hash":"a645b79","kind":"tend","files":1,"subject":"Sharpen radius scale + refine focus ring and scrollbars for professional high-fidelity loo"},{"date":"2026-09-17","hash":"3c12032","kind":"tend","files":2,"subject":"Add reduced-motion-aware scroll reveal to home sections"},{"date":"2026-09-17","hash":"4696826","kind":"tend","files":2,"subject":"Extend reveal motion to capabilities and knowledge graph pages"},{"date":"2026-09-17","hash":"f5c084f","kind":"tend","files":10,"subject":"Sharpen oversized rounded-2xl/3xl corners to standard scale"},{"date":"2026-09-17","hash":"a4a9459","kind":"tend","files":18,"subject":"Add AI Lab: live playground, checked build labs, adaptive assessments, and concept mastery"},{"date":"2026-09-17","hash":"c219c02","kind":"tend","files":1,"subject":"Fix chat page horizontal overflow clipping content at desktop widths"},{"date":"2026-09-17","hash":"2f8c884","kind":"tend","files":4,"subject":"Fix nav clipping, wire access-code signup, add frontier LLM topics"},{"date":"2026-09-17","hash":"6a86c3f","kind":"tend","files":4,"subject":"Add frontier research catalog and five advanced build labs with library/paper references"},{"date":"2026-09-17","hash":"f67f718","kind":"tend","files":2,"subject":"Integrate frontier research catalog into Tommie agent (tool + prompt briefing)"},{"date":"2026-09-17","hash":"3dc9f1f","kind":"tend","files":3,"subject":"Add NOOA agentic-architecture concept, research, and lab; wire into agent knowledge"},{"date":"2026-09-17","hash":"0f14704","kind":"tend","files":1,"subject":"Default chat agent to working Google Gemini provider"},{"date":"2026-09-17","hash":"93a7984","kind":"tend","files":3,"subject":"Add Modal, Railway, Hugging Face, and Gemma 4 as serving/deployment learning elements"},{"date":"2026-09-17","hash":"c414f3c","kind":"tend","files":8,"subject":"Add LPG Modeler tool, learning content, and graph nodes"},{"date":"2026-09-17","hash":"4ef7899","kind":"tend","files":3,"subject":"Add DuckDB, DuckPGQ, and Graph RAG as ontology-driven learning content"},{"date":"2026-09-17","hash":"5b6cd76","kind":"tend","files":10,"subject":"Add json-render Report Studio + Capability Studios to AI Lab"},{"date":"2026-09-17","hash":"fa7bb6d","kind":"tend","files":2,"subject":"Add deep-research inference concepts (attention sinks, KV cache, kernel opt) and fix broke"},{"date":"2026-09-17","hash":"4aef341","kind":"tend","files":9,"subject":"Add Code Graph Analyzer: AST parsing, import graph, code smells, graph-RAG suggestions"},{"date":"2026-09-17","hash":"0fb175b","kind":"tend","files":2,"subject":"Add code-intelligence concepts and deep research to knowledge graph"},{"date":"2026-09-17","hash":"7c53c97","kind":"tend","files":1,"subject":"Replace identical faculty placeholder icon with distinct monogram avatars"},{"date":"2026-09-17","hash":"1c51abf","kind":"tend","files":9,"subject":"Add runnable JEPA world model lab (Three.js) + wire concepts into knowledge graph"},{"date":"2026-09-17","hash":"260ee12","kind":"tend","files":2,"subject":"Fix world-model boundary issues: clamp decoded positions, guard NaN, add arena walls"},{"date":"2026-09-17","hash":"e223652","kind":"tend","files":7,"subject":"Add HF/Modal/Railway + MCP/OpenAPI-to-MCP capability studios and wire into knowledge graph"},{"date":"2026-09-17","hash":"e134069","kind":"tend","files":2,"subject":"Fix json-render prompt build error and expand code analyzer examples"},{"date":"2026-09-17","hash":"bcf9fa4","kind":"tend","files":9,"subject":"Redesign Capability Studios into Ecosystem Registry marketplace with skills + agent regist"},{"date":"2026-09-17","hash":"564f58c","kind":"tend","files":1,"subject":"Expand Code Analyzer with curated open-source examples"},{"date":"2026-09-17","hash":"2cb9bd4","kind":"build","files":2,"subject":"feat: add Hugging Face paper fetching and display feature"},{"date":"2026-09-17","hash":"86e8efb","kind":"build","files":1,"subject":"feat: update AccessGate message to description for saved papers tab"},{"date":"2026-09-17","hash":"9a1b220","kind":"tend","files":4,"subject":"Add Learn/Build education layer to Ecosystem Registry"},{"date":"2026-09-17","hash":"2523268","kind":"tend","files":1,"subject":"Layer education strip into research Hot Papers tab"},{"date":"2026-09-17","hash":"966d924","kind":"tend","files":2,"subject":"Update AI models to latest flagships; add Cloudflare, OpenRouter, LangWatch, Cline capabil"},{"date":"2026-09-17","hash":"21aee79","kind":"tend","files":1,"subject":"Make ecosystem tool snippets 1:1 with official provider docs"},{"date":"2026-09-21","hash":"d7da990","kind":"tend","files":2,"subject":"Add Jev + open-source decision-model tools with in-UI configuration"},{"date":"2026-09-21","hash":"4435ac7","kind":"tend","files":3,"subject":"Add Data Engineering concept area: Apache Iceberg open table formats + V4 roadmap"},{"date":"2026-09-21","hash":"3850cb5","kind":"tend","files":5,"subject":"Add hosted GitHub/Linear Integration Studio to Capability Studios"},{"date":"2026-09-22","hash":"884df64","kind":"tend","files":16,"subject":"Add Live Workspace: real multiplayer room with KV presence/feed + coding-agent personas"},{"date":"2026-09-22","hash":"e2b22c4","kind":"tend","files":3,"subject":"Add Desktop App tab (pop-out/PWA install/Tauri snippets) and real KV presence strips to Sa"},{"date":"2026-09-22","hash":"9e5d825","kind":"tend","files":1,"subject":"Fix Lab Hub card blurb text clipping (whitespace-nowrap inherited from TabsTrigger)"},{"date":"2026-09-22","hash":"56f8e21","kind":"tend","files":5,"subject":"Enhance Lab Hub grid layout, desktop popout pill, Code Graph RAG integration for seis-lab/"},{"date":"2026-09-22","hash":"4ad970e","kind":"tend","files":4,"subject":"Add AutoResearch & GPU Compute Studio with autonomous research loops, spot fleet pricing, "},{"date":"2026-09-22","hash":"aa6ce0d","kind":"tend","files":5,"subject":"Polish NIST AI RMF Governance Studio UI typography, button contrast, and responsiveness"},{"date":"2026-09-23","hash":"8e698cd","kind":"tend","files":1,"subject":"Make GitHub Sandbox and Linear Board fully interactive with PR review posting, merging, CI"},{"date":"2026-09-23","hash":"0fb2366","kind":"tend","files":2,"subject":"Add professional 3D Spatial Cockpit to Lab Hub with live telemetry, world models, and agen"},{"date":"2026-09-24","hash":"4aee96d","kind":"build","files":1,"subject":"feat: enhance spatial-cockpit-panel with new node categories, UI updates, and detailed met"},{"date":"2026-09-24","hash":"5db2f7a","kind":"build","files":1,"subject":"feat(lab): transform spatial cockpit into realistic QuantLink 3D OS with Apple/Windows and"},{"date":"2026-09-24","hash":"a0ef11f","kind":"build","files":1,"subject":"feat: streamline spatial-cockpit-panel UI, remove unused icons and simplify node structure"},{"date":"2026-09-24","hash":"24c591d","kind":"build","files":1,"subject":"feat: enhance QuantLink Spatial OS with authentic macOS/Windows desktop rendering, live ag"},{"date":"2026-09-24","hash":"5cec81d","kind":"tend","files":1,"subject":"Render QuantLink 3D Workspace World OS with floating real macOS/Windows desktop apps and C"},{"date":"2026-09-24","hash":"1069f79","kind":"build","files":1,"subject":"feat: add fullscreen toggle and collaborator data in SpatialCockpitPanel"},{"date":"2026-09-24","hash":"33abb03","kind":"build","files":1,"subject":"feat(cockpit): elevate QuantLink spatial workspace with WebGPU-grade 3D cityscape and mult"},{"date":"2026-09-24","hash":"5bc0a63","kind":"tend","files":1,"subject":"Refine Spatial Cockpit with Apple/Windows Mica glass styling and agent orchestrator integr"},{"date":"2026-09-24","hash":"f0fcd32","kind":"tend","files":1,"subject":"Elevate spatial cockpit with photorealistic Gaussian Splatting and native Apple/Windows ap"},{"date":"2026-09-24","hash":"1db11e0","kind":"tend","files":1,"subject":"refactor(spatial): refine GSplat radiance field and monochromatic Apple/Windows OS windows"},{"date":"2026-09-24","hash":"84a1bba","kind":"build","files":1,"subject":"feat(spatial-workspace): monochromatic liquid-lighting native OS windows and gsplat radian"},{"date":"2026-09-24","hash":"69b9e7c","kind":"build","files":6,"subject":"feat(spatial-backend): ontological Zod schemas, real AI agent dispatch, code execution san"},{"date":"2026-09-24","hash":"1329172","kind":"build","files":6,"subject":"feat(spatial): integrate cross-project defense ontology, TRIZ 40 engine, and telemetry str"},{"date":"2026-09-24","hash":"e9d9204","kind":"tend","files":1,"subject":"Elevate spatial cockpit with authentic macOS/Windows window fidelity and realistic monochr"},{"date":"2026-09-27","hash":"77e73d5","kind":"tend","files":12,"subject":"Add one-click dev admin login and fix admin gate and analytics query"},{"date":"2026-09-27","hash":"4064ab9","kind":"build","files":26,"subject":"feat: add new skill skit-analyze for cross-artifact consistency analysis"},{"date":"2026-09-27","hash":"02ffe35","kind":"build","files":41,"subject":"feat(ide): agent workbench with diff review and Time view (speckit plan/tasks/implement)"},{"date":"2026-09-27","hash":"bde3c79","kind":"tend","files":20,"subject":"Add speculative propose (draft then verify) with risk gate and acceptance stats"},{"date":"2026-09-28","hash":"b8b79da","kind":"tend","files":42,"subject":"Organize lib/ide into domain and server layers"},{"date":"2026-09-28","hash":"4f4226c","kind":"tend","files":22,"subject":"Update outdated model IDs, AI SDK options, dates, and /labs redirect across pages"},{"date":"2026-09-28","hash":"7cb4c0f","kind":"tend","files":35,"subject":"Harden access tiers, signed sessions, emulation and per-tier AI budgets"},{"date":"2026-09-28","hash":"5ea4efc","kind":"tend","files":7,"subject":"Add real Python execution via Vercel Sandbox with tier limits and network lockdown"},{"date":"2026-09-28","hash":"88098ea","kind":"build","files":5,"subject":"feat: refactor autoresearch API and studio component for enhanced functionality"},{"date":"2026-09-28","hash":"f547b4e","kind":"tend","files":6,"subject":"Add autoresearch-mlx style rigor gate: seeds, bootstrap CI, fail-fast, dedupe"},{"date":"2026-09-28","hash":"090ea6b","kind":"tend","files":8,"subject":"Add custom research programs with alpha harness, holdout and deflated Sharpe"},{"date":"2026-09-28","hash":"41b9f20","kind":"tend","files":24,"subject":"Add multiplayer research workspaces with background autoresearch loops and discovery monit"},{"date":"2026-09-30","hash":"612d3ec","kind":"build","files":45,"subject":"feat: implement new API routes for research protocol runs and UI components"},{"date":"2026-09-30","hash":"f98d09d","kind":"tend","files":62,"subject":"Protocolize research SDK: alignment, reasoning, compiler, decision API"},{"date":"2026-09-30","hash":"df6d612","kind":"tend","files":61,"subject":"Portable JSON suite manifests, Python protocol conformance tests, finite-size state"},{"date":"2026-09-30","hash":"1419f8b","kind":"plan","files":2,"subject":"docs(spec): specify 003 spatial workspace"},{"date":"2026-09-30","hash":"483cc6e","kind":"plan","files":5,"subject":"docs(plan): plan 003 spatial workspace"},{"date":"2026-09-30","hash":"1091a69","kind":"plan","files":1,"subject":"docs(tasks): task list for 003 spatial workspace"},{"date":"2026-09-30","hash":"a4da066","kind":"build","files":27,"subject":"feat(spatial): spatial workspace built from the real repository (003)"},{"date":"2026-09-30","hash":"12a761b","kind":"plan","files":5,"subject":"docs(spec): add the Time view to 003 as user story 4"},{"date":"2026-09-30","hash":"5ab5a14","kind":"build","files":24,"subject":"feat: integrate Agent Fabric personas & Mastra AI across IDE and agent flows"},{"date":"2026-09-30","hash":"d6b15fa","kind":"build","files":16,"subject":"feat(spatial): Time view and a fully real, live workspace (003 US4)"},{"date":"2026-09-30","hash":"1b8a7d3","kind":"plan","files":2,"subject":"docs(spec): specify 004 code world model"},{"date":"2026-09-30","hash":"a71ef10","kind":"plan","files":5,"subject":"docs(plan): plan and tasks for 004 code world model"},{"date":"2026-09-30","hash":"9527b56","kind":"build","files":11,"subject":"feat(world-model): JEPA code world model with shared 2D/3D embedding view (004)"},{"date":"2026-09-30","hash":"d8fea78","kind":"repair","files":2,"subject":"fix(spatial): unique artifact ids per code file"},{"date":"2026-09-30","hash":"378a60f","kind":"plan","files":2,"subject":"docs(plan): iteration 2 plan for 004 from three research passes"},{"date":"2026-09-30","hash":"e29c8e1","kind":"build","files":8,"subject":"feat(world-model): ranker v2 with rolling-origin evaluation (004 iteration 2)"},{"date":"2026-09-30","hash":"4fe7c07","kind":"plan","files":6,"subject":"docs: constitution 1.1.0 and spec, research, plan, tasks for 005 learning workbench"},{"date":"2026-09-30","hash":"905cfa6","kind":"build","files":23,"subject":"feat: admin feature flags for every route, Model view v2 flows, pattern coach"},{"date":"2026-09-30","hash":"bee615d","kind":"build","files":4,"subject":"feat(catalog): model cards and research suites linked to course concepts (005 US7)"},{"date":"2026-09-30","hash":"8bdfc04","kind":"build","files":18,"subject":"feat(workbench): assignment autonomy, guardrails, explain gate, provenance (005 US1)"},{"date":"2026-09-30","hash":"1523584","kind":"build","files":23,"subject":"feat(workspaces): GitHub App / Gitea / local git providers and worktree + sandbox workspac"},{"date":"2026-09-30","hash":"a1d473d","kind":"build","files":17,"subject":"feat(broadcast): redacted broadcasting to in-app, Slack, Discord and Teams channels (005 U"},{"date":"2026-09-30","hash":"54bde98","kind":"build","files":17,"subject":"feat(directory): skills, plugins and MCP server directory with ingest and tests (005 US5)"},{"date":"2026-09-30","hash":"f35aee4","kind":"build","files":5,"subject":"feat(instructor): engagement signals and grading evidence, synthetic demo class (005 US2 e"},{"date":"2026-09-30","hash":"32e266c","kind":"build","files":7,"subject":"feat(exercises): Prompt Problems with hidden tests and refactoring katas graded by the pat"},{"date":"2026-09-30","hash":"e4dfce4","kind":"build","files":8,"subject":"feat(workbench): grade explain-gate answers with AI Gateway evaluation; one shared admin c"},{"date":"2026-09-30","hash":"60d7363","kind":"tend","files":19,"subject":"bench: one command for evidence numbers across the workbench (ranker, coach, redaction, si"},{"date":"2026-09-30","hash":"79c709c","kind":"build","files":8,"subject":"feat(mcp): read-only MCP server so Claude Code, Cursor and VS Code can call the world mode"},{"date":"2026-09-30","hash":"a613d5f","kind":"build","files":7,"subject":"feat(ide): chat tab with bring-your-own-key and local models (Ollama, LM Studio)"},{"date":"2026-09-30","hash":"0f11ace","kind":"build","files":11,"subject":"feat(training): fine-tune locally with mlx-lm LoRA or on Hugging Face Jobs with your own t"},{"date":"2026-09-30","hash":"279c684","kind":"build","files":18,"subject":"feat(blocks): block documents that render as doc, slides, sheet, notebook, HTML and json-r"},{"date":"2026-09-30","hash":"a464823","kind":"tend","files":30,"subject":"data-apps: SQLite/libSQL/D1 backends, local/R2/Vercel Blob storage, Railway/Vercel/Cloudfl"},{"date":"2026-10-01","hash":"b79ced9","kind":"tend","files":16,"subject":"json-render: catalog-driven spec builder, viz grammar, data mapper, forms, TSX/HTML codege"},{"date":"2026-10-07","hash":"4eea87d","kind":"tend","files":2,"subject":"spec(005): record in-class security testing as US8 (FR-016..022, SC-007..009, tasks T019-T"},{"date":"2026-10-07","hash":"b351ed8","kind":"repair","files":8,"subject":"fix(exercises): graders can't be passed without solving (US8 T019, T020)"},{"date":"2026-10-07","hash":"9826b03","kind":"repair","files":12,"subject":"fix(broadcast,hf): no credentials leave the app; school token not spent on strangers (US8 "},{"date":"2026-10-07","hash":"3aa9003","kind":"repair","files":10,"subject":"fix(identity): who you are comes from the session, not the request (US8 T022)"},{"date":"2026-10-07","hash":"92809a5","kind":"tend","files":2,"subject":"spec(005): US9 login/chat/AI protection, US10 super-admin layer, US11 personas/examples/em"},{"date":"2026-10-07","hash":"4bbfead","kind":"repair","files":8,"subject":"fix(workspaces): validate repo/branch and require a student session (US8 T024)"},{"date":"2026-10-07","hash":"3dd6727","kind":"repair","files":11,"subject":"fix(chat,security): tier from session only; rate-limit keys from the platform address (US9"},{"date":"2026-10-07","hash":"33c5b9e","kind":"repair","files":5,"subject":"fix(auth): rate-limit OTP requests, constant-time verify, code out of subject (US9 T028)"},{"date":"2026-10-07","hash":"05b4523","kind":"repair","files":3,"subject":"fix(deep-research): history scoped to the session subject (US9 T029)"},{"date":"2026-10-07","hash":"2a358ab","kind":"repair","files":10,"subject":"fix(admin): one admin check for every admin API (US10 T031)"},{"date":"2026-10-07","hash":"4f68542","kind":"build","files":7,"subject":"feat(admin): audit log for every flag change (US10 T032)"},{"date":"2026-10-07","hash":"6db5748","kind":"repair","files":5,"subject":"fix(ai): generic client errors, provider detail logged server-side (US9 T030)"},{"date":"2026-10-07","hash":"48aba0f","kind":"build","files":4,"subject":"feat(admin): test fails when a route ships unregistered (US10 T034)"},{"date":"2026-10-07","hash":"b441215","kind":"build","files":7,"subject":"feat(admin): flag impact preview and generated route security matrix (US10 T033)"},{"date":"2026-10-07","hash":"d77ec48","kind":"tend","files":15,"subject":"Align personas, emulation, bots and examples so each setting actually takes effect"},{"date":"2026-10-07","hash":"620c6e0","kind":"tend","files":2,"subject":"spec(005): US12 hardening round 2 from the post-class code review (FR-034..040, SC-013, T0"},{"date":"2026-10-07","hash":"1da6a48","kind":"build","files":6,"subject":"feat(studio): examples walkthrough — data, recommendation, bindings, live render, exports"},{"date":"2026-10-07","hash":"52186ae","kind":"tend","files":2,"subject":"json-render: Vega-Lite v5 interop (toVegaLite / fromVegaLite) with per-mark round trips"},{"date":"2026-10-07","hash":"292102c","kind":"tend","files":2,"subject":"json-render: one export helper with a Vega-Lite option, used by the spec builder"},{"date":"2026-10-07","hash":"2871d02","kind":"tend","files":4,"subject":"mcp: MCP Apps UI resources + read-only json_render_render; vega-lite/json export formats"},{"date":"2026-10-07","hash":"2931e66","kind":"tend","files":1,"subject":"json-render: Vega-Lite tab in the examples walkthrough export"},{"date":"2026-10-07","hash":"bb4c792","kind":"tend","files":3,"subject":"json-render forms: nested objects as fieldset sections, multiselect and list kinds"},{"date":"2026-10-07","hash":"8220de0","kind":"tend","files":3,"subject":"json-render: OpenAPI 3.x operation -> form + submit descriptor + result view"}],"all_90d":[{"date":"2026-09-16","hash":"3404848","kind":"tend","files":4,"subject":"Fix chat page responsiveness and layout boundaries"},{"date":"2026-09-16","hash":"6e64f39","kind":"tend","files":6,"subject":"Refine chat UI: 4pt corner scale, remove decorative gradients/glows"},{"date":"2026-09-17","hash":"ad24984","kind":"tend","files":3,"subject":"Add global overflow containment and fix responsive page headers"},{"date":"2026-09-17","hash":"fc3c026","kind":"tend","files":4,"subject":"Make custom page headers responsive (homework, connect, contact, projects/new)"},{"date":"2026-09-17","hash":"082201d","kind":"tend","files":1,"subject":"Flatten nav header logo to match 4pt refinement; add truncation guards"},{"date":"2026-09-17","hash":"233d425","kind":"tend","files":3,"subject":"Refine platform + home to monochrome purple theme, wire feature cards to SPA router"},{"date":"2026-09-17","hash":"27a06b4","kind":"tend","files":2,"subject":"Apply monochrome + purple theme to features and capabilities pages"},{"date":"2026-09-17","hash":"b250262","kind":"tend","files":1,"subject":"Remove redundant empty onClick on deploy tab trigger"},{"date":"2026-09-17","hash":"de59cff","kind":"tend","files":43,"subject":"Complete monochrome + purple sweep across app, learn, education, marketing, account, and a"},{"date":"2026-09-17","hash":"339abdb","kind":"tend","files":3,"subject":"Rebuild knowledge graph into interactive curriculum explorer from real SEIS data"},{"date":"2026-09-17","hash":"a9d1245","kind":"tend","files":2,"subject":"Rebuild knowledge graph as interactive explorer; remove dead AI model registry"},{"date":"2026-09-17","hash":"c5f0433","kind":"tend","files":8,"subject":"Build out glossary, courses, learning paths + honest platform catalog"},{"date":"2026-09-17","hash":"73f1577","kind":"tend","files":1,"subject":"Fix responsive highlighted pricing card boundaries"},{"date":"2026-09-17","hash":"33d37c9","kind":"tend","files":1,"subject":"Fix highlighted pricing card clipping"},{"date":"2026-09-17","hash":"0142f11","kind":"tend","files":10,"subject":"Enrich capabilities + knowledge graph, de-tacky off-brand colors"},{"date":"2026-09-17","hash":"a645b79","kind":"tend","files":1,"subject":"Sharpen radius scale + refine focus ring and scrollbars for professional high-fidelity loo"},{"date":"2026-09-17","hash":"3c12032","kind":"tend","files":2,"subject":"Add reduced-motion-aware scroll reveal to home sections"},{"date":"2026-09-17","hash":"4696826","kind":"tend","files":2,"subject":"Extend reveal motion to capabilities and knowledge graph pages"},{"date":"2026-09-17","hash":"f5c084f","kind":"tend","files":10,"subject":"Sharpen oversized rounded-2xl/3xl corners to standard scale"},{"date":"2026-09-17","hash":"a4a9459","kind":"tend","files":18,"subject":"Add AI Lab: live playground, checked build labs, adaptive assessments, and concept mastery"},{"date":"2026-09-17","hash":"c219c02","kind":"tend","files":1,"subject":"Fix chat page horizontal overflow clipping content at desktop widths"},{"date":"2026-09-17","hash":"2f8c884","kind":"tend","files":4,"subject":"Fix nav clipping, wire access-code signup, add frontier LLM topics"},{"date":"2026-09-17","hash":"6a86c3f","kind":"tend","files":4,"subject":"Add frontier research catalog and five advanced build labs with library/paper references"},{"date":"2026-09-17","hash":"f67f718","kind":"tend","files":2,"subject":"Integrate frontier research catalog into Tommie agent (tool + prompt briefing)"},{"date":"2026-09-17","hash":"3dc9f1f","kind":"tend","files":3,"subject":"Add NOOA agentic-architecture concept, research, and lab; wire into agent knowledge"},{"date":"2026-09-17","hash":"0f14704","kind":"tend","files":1,"subject":"Default chat agent to working Google Gemini provider"},{"date":"2026-09-17","hash":"93a7984","kind":"tend","files":3,"subject":"Add Modal, Railway, Hugging Face, and Gemma 4 as serving/deployment learning elements"},{"date":"2026-09-17","hash":"c414f3c","kind":"tend","files":8,"subject":"Add LPG Modeler tool, learning content, and graph nodes"},{"date":"2026-09-17","hash":"4ef7899","kind":"tend","files":3,"subject":"Add DuckDB, DuckPGQ, and Graph RAG as ontology-driven learning content"},{"date":"2026-09-17","hash":"5b6cd76","kind":"tend","files":10,"subject":"Add json-render Report Studio + Capability Studios to AI Lab"},{"date":"2026-09-17","hash":"fa7bb6d","kind":"tend","files":2,"subject":"Add deep-research inference concepts (attention sinks, KV cache, kernel opt) and fix broke"},{"date":"2026-09-17","hash":"4aef341","kind":"tend","files":9,"subject":"Add Code Graph Analyzer: AST parsing, import graph, code smells, graph-RAG suggestions"},{"date":"2026-09-17","hash":"0fb175b","kind":"tend","files":2,"subject":"Add code-intelligence concepts and deep research to knowledge graph"},{"date":"2026-09-17","hash":"7c53c97","kind":"tend","files":1,"subject":"Replace identical faculty placeholder icon with distinct monogram avatars"},{"date":"2026-09-17","hash":"1c51abf","kind":"tend","files":9,"subject":"Add runnable JEPA world model lab (Three.js) + wire concepts into knowledge graph"},{"date":"2026-09-17","hash":"260ee12","kind":"tend","files":2,"subject":"Fix world-model boundary issues: clamp decoded positions, guard NaN, add arena walls"},{"date":"2026-09-17","hash":"e223652","kind":"tend","files":7,"subject":"Add HF/Modal/Railway + MCP/OpenAPI-to-MCP capability studios and wire into knowledge graph"},{"date":"2026-09-17","hash":"e134069","kind":"tend","files":2,"subject":"Fix json-render prompt build error and expand code analyzer examples"},{"date":"2026-09-17","hash":"bcf9fa4","kind":"tend","files":9,"subject":"Redesign Capability Studios into Ecosystem Registry marketplace with skills + agent regist"},{"date":"2026-09-17","hash":"564f58c","kind":"tend","files":1,"subject":"Expand Code Analyzer with curated open-source examples"},{"date":"2026-09-17","hash":"2cb9bd4","kind":"build","files":2,"subject":"feat: add Hugging Face paper fetching and display feature"},{"date":"2026-09-17","hash":"86e8efb","kind":"build","files":1,"subject":"feat: update AccessGate message to description for saved papers tab"},{"date":"2026-09-17","hash":"9a1b220","kind":"tend","files":4,"subject":"Add Learn/Build education layer to Ecosystem Registry"},{"date":"2026-09-17","hash":"2523268","kind":"tend","files":1,"subject":"Layer education strip into research Hot Papers tab"},{"date":"2026-09-17","hash":"966d924","kind":"tend","files":2,"subject":"Update AI models to latest flagships; add Cloudflare, OpenRouter, LangWatch, Cline capabil"},{"date":"2026-09-17","hash":"21aee79","kind":"tend","files":1,"subject":"Make ecosystem tool snippets 1:1 with official provider docs"},{"date":"2026-09-21","hash":"d7da990","kind":"tend","files":2,"subject":"Add Jev + open-source decision-model tools with in-UI configuration"},{"date":"2026-09-21","hash":"4435ac7","kind":"tend","files":3,"subject":"Add Data Engineering concept area: Apache Iceberg open table formats + V4 roadmap"},{"date":"2026-09-21","hash":"3850cb5","kind":"tend","files":5,"subject":"Add hosted GitHub/Linear Integration Studio to Capability Studios"},{"date":"2026-09-22","hash":"884df64","kind":"tend","files":16,"subject":"Add Live Workspace: real multiplayer room with KV presence/feed + coding-agent personas"},{"date":"2026-09-22","hash":"e2b22c4","kind":"tend","files":3,"subject":"Add Desktop App tab (pop-out/PWA install/Tauri snippets) and real KV presence strips to Sa"},{"date":"2026-09-22","hash":"9e5d825","kind":"tend","files":1,"subject":"Fix Lab Hub card blurb text clipping (whitespace-nowrap inherited from TabsTrigger)"},{"date":"2026-09-22","hash":"56f8e21","kind":"tend","files":5,"subject":"Enhance Lab Hub grid layout, desktop popout pill, Code Graph RAG integration for seis-lab/"},{"date":"2026-09-22","hash":"4ad970e","kind":"tend","files":4,"subject":"Add AutoResearch & GPU Compute Studio with autonomous research loops, spot fleet pricing, "},{"date":"2026-09-22","hash":"aa6ce0d","kind":"tend","files":5,"subject":"Polish NIST AI RMF Governance Studio UI typography, button contrast, and responsiveness"},{"date":"2026-09-23","hash":"8e698cd","kind":"tend","files":1,"subject":"Make GitHub Sandbox and Linear Board fully interactive with PR review posting, merging, CI"},{"date":"2026-09-23","hash":"0fb2366","kind":"tend","files":2,"subject":"Add professional 3D Spatial Cockpit to Lab Hub with live telemetry, world models, and agen"},{"date":"2026-09-24","hash":"4aee96d","kind":"build","files":1,"subject":"feat: enhance spatial-cockpit-panel with new node categories, UI updates, and detailed met"},{"date":"2026-09-24","hash":"5db2f7a","kind":"build","files":1,"subject":"feat(lab): transform spatial cockpit into realistic QuantLink 3D OS with Apple/Windows and"},{"date":"2026-09-24","hash":"a0ef11f","kind":"build","files":1,"subject":"feat: streamline spatial-cockpit-panel UI, remove unused icons and simplify node structure"},{"date":"2026-09-24","hash":"24c591d","kind":"build","files":1,"subject":"feat: enhance QuantLink Spatial OS with authentic macOS/Windows desktop rendering, live ag"},{"date":"2026-09-24","hash":"5cec81d","kind":"tend","files":1,"subject":"Render QuantLink 3D Workspace World OS with floating real macOS/Windows desktop apps and C"},{"date":"2026-09-24","hash":"1069f79","kind":"build","files":1,"subject":"feat: add fullscreen toggle and collaborator data in SpatialCockpitPanel"},{"date":"2026-09-24","hash":"33abb03","kind":"build","files":1,"subject":"feat(cockpit): elevate QuantLink spatial workspace with WebGPU-grade 3D cityscape and mult"},{"date":"2026-09-24","hash":"5bc0a63","kind":"tend","files":1,"subject":"Refine Spatial Cockpit with Apple/Windows Mica glass styling and agent orchestrator integr"},{"date":"2026-09-24","hash":"f0fcd32","kind":"tend","files":1,"subject":"Elevate spatial cockpit with photorealistic Gaussian Splatting and native Apple/Windows ap"},{"date":"2026-09-24","hash":"1db11e0","kind":"tend","files":1,"subject":"refactor(spatial): refine GSplat radiance field and monochromatic Apple/Windows OS windows"},{"date":"2026-09-24","hash":"84a1bba","kind":"build","files":1,"subject":"feat(spatial-workspace): monochromatic liquid-lighting native OS windows and gsplat radian"},{"date":"2026-09-24","hash":"69b9e7c","kind":"build","files":6,"subject":"feat(spatial-backend): ontological Zod schemas, real AI agent dispatch, code execution san"},{"date":"2026-09-24","hash":"1329172","kind":"build","files":6,"subject":"feat(spatial): integrate cross-project defense ontology, TRIZ 40 engine, and telemetry str"},{"date":"2026-09-24","hash":"e9d9204","kind":"tend","files":1,"subject":"Elevate spatial cockpit with authentic macOS/Windows window fidelity and realistic monochr"},{"date":"2026-09-27","hash":"77e73d5","kind":"tend","files":12,"subject":"Add one-click dev admin login and fix admin gate and analytics query"},{"date":"2026-09-27","hash":"4064ab9","kind":"build","files":26,"subject":"feat: add new skill skit-analyze for cross-artifact consistency analysis"},{"date":"2026-09-27","hash":"02ffe35","kind":"build","files":41,"subject":"feat(ide): agent workbench with diff review and Time view (speckit plan/tasks/implement)"},{"date":"2026-09-27","hash":"bde3c79","kind":"tend","files":20,"subject":"Add speculative propose (draft then verify) with risk gate and acceptance stats"},{"date":"2026-09-28","hash":"b8b79da","kind":"tend","files":42,"subject":"Organize lib/ide into domain and server layers"},{"date":"2026-09-28","hash":"4f4226c","kind":"tend","files":22,"subject":"Update outdated model IDs, AI SDK options, dates, and /labs redirect across pages"},{"date":"2026-09-28","hash":"7cb4c0f","kind":"tend","files":35,"subject":"Harden access tiers, signed sessions, emulation and per-tier AI budgets"},{"date":"2026-09-28","hash":"5ea4efc","kind":"tend","files":7,"subject":"Add real Python execution via Vercel Sandbox with tier limits and network lockdown"},{"date":"2026-09-28","hash":"88098ea","kind":"build","files":5,"subject":"feat: refactor autoresearch API and studio component for enhanced functionality"},{"date":"2026-09-28","hash":"f547b4e","kind":"tend","files":6,"subject":"Add autoresearch-mlx style rigor gate: seeds, bootstrap CI, fail-fast, dedupe"},{"date":"2026-09-28","hash":"090ea6b","kind":"tend","files":8,"subject":"Add custom research programs with alpha harness, holdout and deflated Sharpe"},{"date":"2026-09-28","hash":"41b9f20","kind":"tend","files":24,"subject":"Add multiplayer research workspaces with background autoresearch loops and discovery monit"},{"date":"2026-09-30","hash":"612d3ec","kind":"build","files":45,"subject":"feat: implement new API routes for research protocol runs and UI components"},{"date":"2026-09-30","hash":"f98d09d","kind":"tend","files":62,"subject":"Protocolize research SDK: alignment, reasoning, compiler, decision API"},{"date":"2026-09-30","hash":"df6d612","kind":"tend","files":61,"subject":"Portable JSON suite manifests, Python protocol conformance tests, finite-size state"},{"date":"2026-09-30","hash":"1419f8b","kind":"plan","files":2,"subject":"docs(spec): specify 003 spatial workspace"},{"date":"2026-09-30","hash":"483cc6e","kind":"plan","files":5,"subject":"docs(plan): plan 003 spatial workspace"},{"date":"2026-09-30","hash":"1091a69","kind":"plan","files":1,"subject":"docs(tasks): task list for 003 spatial workspace"},{"date":"2026-09-30","hash":"a4da066","kind":"build","files":27,"subject":"feat(spatial): spatial workspace built from the real repository (003)"},{"date":"2026-09-30","hash":"12a761b","kind":"plan","files":5,"subject":"docs(spec): add the Time view to 003 as user story 4"},{"date":"2026-09-30","hash":"5ab5a14","kind":"build","files":24,"subject":"feat: integrate Agent Fabric personas & Mastra AI across IDE and agent flows"},{"date":"2026-09-30","hash":"d6b15fa","kind":"build","files":16,"subject":"feat(spatial): Time view and a fully real, live workspace (003 US4)"},{"date":"2026-09-30","hash":"1b8a7d3","kind":"plan","files":2,"subject":"docs(spec): specify 004 code world model"},{"date":"2026-09-30","hash":"a71ef10","kind":"plan","files":5,"subject":"docs(plan): plan and tasks for 004 code world model"},{"date":"2026-09-30","hash":"9527b56","kind":"build","files":11,"subject":"feat(world-model): JEPA code world model with shared 2D/3D embedding view (004)"},{"date":"2026-09-30","hash":"d8fea78","kind":"repair","files":2,"subject":"fix(spatial): unique artifact ids per code file"},{"date":"2026-09-30","hash":"378a60f","kind":"plan","files":2,"subject":"docs(plan): iteration 2 plan for 004 from three research passes"},{"date":"2026-09-30","hash":"e29c8e1","kind":"build","files":8,"subject":"feat(world-model): ranker v2 with rolling-origin evaluation (004 iteration 2)"},{"date":"2026-09-30","hash":"4fe7c07","kind":"plan","files":6,"subject":"docs: constitution 1.1.0 and spec, research, plan, tasks for 005 learning workbench"},{"date":"2026-09-30","hash":"905cfa6","kind":"build","files":23,"subject":"feat: admin feature flags for every route, Model view v2 flows, pattern coach"},{"date":"2026-09-30","hash":"bee615d","kind":"build","files":4,"subject":"feat(catalog): model cards and research suites linked to course concepts (005 US7)"},{"date":"2026-09-30","hash":"8bdfc04","kind":"build","files":18,"subject":"feat(workbench): assignment autonomy, guardrails, explain gate, provenance (005 US1)"},{"date":"2026-09-30","hash":"1523584","kind":"build","files":23,"subject":"feat(workspaces): GitHub App / Gitea / local git providers and worktree + sandbox workspac"},{"date":"2026-09-30","hash":"a1d473d","kind":"build","files":17,"subject":"feat(broadcast): redacted broadcasting to in-app, Slack, Discord and Teams channels (005 U"},{"date":"2026-09-30","hash":"54bde98","kind":"build","files":17,"subject":"feat(directory): skills, plugins and MCP server directory with ingest and tests (005 US5)"},{"date":"2026-09-30","hash":"f35aee4","kind":"build","files":5,"subject":"feat(instructor): engagement signals and grading evidence, synthetic demo class (005 US2 e"},{"date":"2026-09-30","hash":"32e266c","kind":"build","files":7,"subject":"feat(exercises): Prompt Problems with hidden tests and refactoring katas graded by the pat"},{"date":"2026-09-30","hash":"e4dfce4","kind":"build","files":8,"subject":"feat(workbench): grade explain-gate answers with AI Gateway evaluation; one shared admin c"},{"date":"2026-09-30","hash":"60d7363","kind":"tend","files":19,"subject":"bench: one command for evidence numbers across the workbench (ranker, coach, redaction, si"},{"date":"2026-09-30","hash":"79c709c","kind":"build","files":8,"subject":"feat(mcp): read-only MCP server so Claude Code, Cursor and VS Code can call the world mode"},{"date":"2026-09-30","hash":"a613d5f","kind":"build","files":7,"subject":"feat(ide): chat tab with bring-your-own-key and local models (Ollama, LM Studio)"},{"date":"2026-09-30","hash":"0f11ace","kind":"build","files":11,"subject":"feat(training): fine-tune locally with mlx-lm LoRA or on Hugging Face Jobs with your own t"},{"date":"2026-09-30","hash":"279c684","kind":"build","files":18,"subject":"feat(blocks): block documents that render as doc, slides, sheet, notebook, HTML and json-r"},{"date":"2026-09-30","hash":"a464823","kind":"tend","files":30,"subject":"data-apps: SQLite/libSQL/D1 backends, local/R2/Vercel Blob storage, Railway/Vercel/Cloudfl"},{"date":"2026-10-01","hash":"b79ced9","kind":"tend","files":16,"subject":"json-render: catalog-driven spec builder, viz grammar, data mapper, forms, TSX/HTML codege"},{"date":"2026-10-07","hash":"4eea87d","kind":"tend","files":2,"subject":"spec(005): record in-class security testing as US8 (FR-016..022, SC-007..009, tasks T019-T"},{"date":"2026-10-07","hash":"b351ed8","kind":"repair","files":8,"subject":"fix(exercises): graders can't be passed without solving (US8 T019, T020)"},{"date":"2026-10-07","hash":"9826b03","kind":"repair","files":12,"subject":"fix(broadcast,hf): no credentials leave the app; school token not spent on strangers (US8 "},{"date":"2026-10-07","hash":"3aa9003","kind":"repair","files":10,"subject":"fix(identity): who you are comes from the session, not the request (US8 T022)"},{"date":"2026-10-07","hash":"92809a5","kind":"tend","files":2,"subject":"spec(005): US9 login/chat/AI protection, US10 super-admin layer, US11 personas/examples/em"},{"date":"2026-10-07","hash":"4bbfead","kind":"repair","files":8,"subject":"fix(workspaces): validate repo/branch and require a student session (US8 T024)"},{"date":"2026-10-07","hash":"3dd6727","kind":"repair","files":11,"subject":"fix(chat,security): tier from session only; rate-limit keys from the platform address (US9"},{"date":"2026-10-07","hash":"33c5b9e","kind":"repair","files":5,"subject":"fix(auth): rate-limit OTP requests, constant-time verify, code out of subject (US9 T028)"},{"date":"2026-10-07","hash":"05b4523","kind":"repair","files":3,"subject":"fix(deep-research): history scoped to the session subject (US9 T029)"},{"date":"2026-10-07","hash":"2a358ab","kind":"repair","files":10,"subject":"fix(admin): one admin check for every admin API (US10 T031)"},{"date":"2026-10-07","hash":"4f68542","kind":"build","files":7,"subject":"feat(admin): audit log for every flag change (US10 T032)"},{"date":"2026-10-07","hash":"6db5748","kind":"repair","files":5,"subject":"fix(ai): generic client errors, provider detail logged server-side (US9 T030)"},{"date":"2026-10-07","hash":"48aba0f","kind":"build","files":4,"subject":"feat(admin): test fails when a route ships unregistered (US10 T034)"},{"date":"2026-10-07","hash":"b441215","kind":"build","files":7,"subject":"feat(admin): flag impact preview and generated route security matrix (US10 T033)"},{"date":"2026-10-07","hash":"d77ec48","kind":"tend","files":15,"subject":"Align personas, emulation, bots and examples so each setting actually takes effect"},{"date":"2026-10-07","hash":"620c6e0","kind":"tend","files":2,"subject":"spec(005): US12 hardening round 2 from the post-class code review (FR-034..040, SC-013, T0"},{"date":"2026-10-07","hash":"1da6a48","kind":"build","files":6,"subject":"feat(studio): examples walkthrough — data, recommendation, bindings, live render, exports"},{"date":"2026-10-07","hash":"52186ae","kind":"tend","files":2,"subject":"json-render: Vega-Lite v5 interop (toVegaLite / fromVegaLite) with per-mark round trips"},{"date":"2026-10-07","hash":"292102c","kind":"tend","files":2,"subject":"json-render: one export helper with a Vega-Lite option, used by the spec builder"},{"date":"2026-10-07","hash":"2871d02","kind":"tend","files":4,"subject":"mcp: MCP Apps UI resources + read-only json_render_render; vega-lite/json export formats"},{"date":"2026-10-07","hash":"2931e66","kind":"tend","files":1,"subject":"json-render: Vega-Lite tab in the examples walkthrough export"},{"date":"2026-10-07","hash":"bb4c792","kind":"tend","files":3,"subject":"json-render forms: nested objects as fieldset sections, multiselect and list kinds"},{"date":"2026-10-07","hash":"8220de0","kind":"tend","files":3,"subject":"json-render: OpenAPI 3.x operation -> form + submit descriptor + result view"}],"all_30d":[{"date":"2026-09-16","hash":"3404848","kind":"tend","files":4,"subject":"Fix chat page responsiveness and layout boundaries"},{"date":"2026-09-16","hash":"6e64f39","kind":"tend","files":6,"subject":"Refine chat UI: 4pt corner scale, remove decorative gradients/glows"},{"date":"2026-09-17","hash":"ad24984","kind":"tend","files":3,"subject":"Add global overflow containment and fix responsive page headers"},{"date":"2026-09-17","hash":"fc3c026","kind":"tend","files":4,"subject":"Make custom page headers responsive (homework, connect, contact, projects/new)"},{"date":"2026-09-17","hash":"082201d","kind":"tend","files":1,"subject":"Flatten nav header logo to match 4pt refinement; add truncation guards"},{"date":"2026-09-17","hash":"233d425","kind":"tend","files":3,"subject":"Refine platform + home to monochrome purple theme, wire feature cards to SPA router"},{"date":"2026-09-17","hash":"27a06b4","kind":"tend","files":2,"subject":"Apply monochrome + purple theme to features and capabilities pages"},{"date":"2026-09-17","hash":"b250262","kind":"tend","files":1,"subject":"Remove redundant empty onClick on deploy tab trigger"},{"date":"2026-09-17","hash":"de59cff","kind":"tend","files":43,"subject":"Complete monochrome + purple sweep across app, learn, education, marketing, account, and a"},{"date":"2026-09-17","hash":"339abdb","kind":"tend","files":3,"subject":"Rebuild knowledge graph into interactive curriculum explorer from real SEIS data"},{"date":"2026-09-17","hash":"a9d1245","kind":"tend","files":2,"subject":"Rebuild knowledge graph as interactive explorer; remove dead AI model registry"},{"date":"2026-09-17","hash":"c5f0433","kind":"tend","files":8,"subject":"Build out glossary, courses, learning paths + honest platform catalog"},{"date":"2026-09-17","hash":"73f1577","kind":"tend","files":1,"subject":"Fix responsive highlighted pricing card boundaries"},{"date":"2026-09-17","hash":"33d37c9","kind":"tend","files":1,"subject":"Fix highlighted pricing card clipping"},{"date":"2026-09-17","hash":"0142f11","kind":"tend","files":10,"subject":"Enrich capabilities + knowledge graph, de-tacky off-brand colors"},{"date":"2026-09-17","hash":"a645b79","kind":"tend","files":1,"subject":"Sharpen radius scale + refine focus ring and scrollbars for professional high-fidelity loo"},{"date":"2026-09-17","hash":"3c12032","kind":"tend","files":2,"subject":"Add reduced-motion-aware scroll reveal to home sections"},{"date":"2026-09-17","hash":"4696826","kind":"tend","files":2,"subject":"Extend reveal motion to capabilities and knowledge graph pages"},{"date":"2026-09-17","hash":"f5c084f","kind":"tend","files":10,"subject":"Sharpen oversized rounded-2xl/3xl corners to standard scale"},{"date":"2026-09-17","hash":"a4a9459","kind":"tend","files":18,"subject":"Add AI Lab: live playground, checked build labs, adaptive assessments, and concept mastery"},{"date":"2026-09-17","hash":"c219c02","kind":"tend","files":1,"subject":"Fix chat page horizontal overflow clipping content at desktop widths"},{"date":"2026-09-17","hash":"2f8c884","kind":"tend","files":4,"subject":"Fix nav clipping, wire access-code signup, add frontier LLM topics"},{"date":"2026-09-17","hash":"6a86c3f","kind":"tend","files":4,"subject":"Add frontier research catalog and five advanced build labs with library/paper references"},{"date":"2026-09-17","hash":"f67f718","kind":"tend","files":2,"subject":"Integrate frontier research catalog into Tommie agent (tool + prompt briefing)"},{"date":"2026-09-17","hash":"3dc9f1f","kind":"tend","files":3,"subject":"Add NOOA agentic-architecture concept, research, and lab; wire into agent knowledge"},{"date":"2026-09-17","hash":"0f14704","kind":"tend","files":1,"subject":"Default chat agent to working Google Gemini provider"},{"date":"2026-09-17","hash":"93a7984","kind":"tend","files":3,"subject":"Add Modal, Railway, Hugging Face, and Gemma 4 as serving/deployment learning elements"},{"date":"2026-09-17","hash":"c414f3c","kind":"tend","files":8,"subject":"Add LPG Modeler tool, learning content, and graph nodes"},{"date":"2026-09-17","hash":"4ef7899","kind":"tend","files":3,"subject":"Add DuckDB, DuckPGQ, and Graph RAG as ontology-driven learning content"},{"date":"2026-09-17","hash":"5b6cd76","kind":"tend","files":10,"subject":"Add json-render Report Studio + Capability Studios to AI Lab"},{"date":"2026-09-17","hash":"fa7bb6d","kind":"tend","files":2,"subject":"Add deep-research inference concepts (attention sinks, KV cache, kernel opt) and fix broke"},{"date":"2026-09-17","hash":"4aef341","kind":"tend","files":9,"subject":"Add Code Graph Analyzer: AST parsing, import graph, code smells, graph-RAG suggestions"},{"date":"2026-09-17","hash":"0fb175b","kind":"tend","files":2,"subject":"Add code-intelligence concepts and deep research to knowledge graph"},{"date":"2026-09-17","hash":"7c53c97","kind":"tend","files":1,"subject":"Replace identical faculty placeholder icon with distinct monogram avatars"},{"date":"2026-09-17","hash":"1c51abf","kind":"tend","files":9,"subject":"Add runnable JEPA world model lab (Three.js) + wire concepts into knowledge graph"},{"date":"2026-09-17","hash":"260ee12","kind":"tend","files":2,"subject":"Fix world-model boundary issues: clamp decoded positions, guard NaN, add arena walls"},{"date":"2026-09-17","hash":"e223652","kind":"tend","files":7,"subject":"Add HF/Modal/Railway + MCP/OpenAPI-to-MCP capability studios and wire into knowledge graph"},{"date":"2026-09-17","hash":"e134069","kind":"tend","files":2,"subject":"Fix json-render prompt build error and expand code analyzer examples"},{"date":"2026-09-17","hash":"bcf9fa4","kind":"tend","files":9,"subject":"Redesign Capability Studios into Ecosystem Registry marketplace with skills + agent regist"},{"date":"2026-09-17","hash":"564f58c","kind":"tend","files":1,"subject":"Expand Code Analyzer with curated open-source examples"},{"date":"2026-09-17","hash":"2cb9bd4","kind":"build","files":2,"subject":"feat: add Hugging Face paper fetching and display feature"},{"date":"2026-09-17","hash":"86e8efb","kind":"build","files":1,"subject":"feat: update AccessGate message to description for saved papers tab"},{"date":"2026-09-17","hash":"9a1b220","kind":"tend","files":4,"subject":"Add Learn/Build education layer to Ecosystem Registry"},{"date":"2026-09-17","hash":"2523268","kind":"tend","files":1,"subject":"Layer education strip into research Hot Papers tab"},{"date":"2026-09-17","hash":"966d924","kind":"tend","files":2,"subject":"Update AI models to latest flagships; add Cloudflare, OpenRouter, LangWatch, Cline capabil"},{"date":"2026-09-17","hash":"21aee79","kind":"tend","files":1,"subject":"Make ecosystem tool snippets 1:1 with official provider docs"},{"date":"2026-09-21","hash":"d7da990","kind":"tend","files":2,"subject":"Add Jev + open-source decision-model tools with in-UI configuration"},{"date":"2026-09-21","hash":"4435ac7","kind":"tend","files":3,"subject":"Add Data Engineering concept area: Apache Iceberg open table formats + V4 roadmap"},{"date":"2026-09-21","hash":"3850cb5","kind":"tend","files":5,"subject":"Add hosted GitHub/Linear Integration Studio to Capability Studios"},{"date":"2026-09-22","hash":"884df64","kind":"tend","files":16,"subject":"Add Live Workspace: real multiplayer room with KV presence/feed + coding-agent personas"},{"date":"2026-09-22","hash":"e2b22c4","kind":"tend","files":3,"subject":"Add Desktop App tab (pop-out/PWA install/Tauri snippets) and real KV presence strips to Sa"},{"date":"2026-09-22","hash":"9e5d825","kind":"tend","files":1,"subject":"Fix Lab Hub card blurb text clipping (whitespace-nowrap inherited from TabsTrigger)"},{"date":"2026-09-22","hash":"56f8e21","kind":"tend","files":5,"subject":"Enhance Lab Hub grid layout, desktop popout pill, Code Graph RAG integration for seis-lab/"},{"date":"2026-09-22","hash":"4ad970e","kind":"tend","files":4,"subject":"Add AutoResearch & GPU Compute Studio with autonomous research loops, spot fleet pricing, "},{"date":"2026-09-22","hash":"aa6ce0d","kind":"tend","files":5,"subject":"Polish NIST AI RMF Governance Studio UI typography, button contrast, and responsiveness"},{"date":"2026-09-23","hash":"8e698cd","kind":"tend","files":1,"subject":"Make GitHub Sandbox and Linear Board fully interactive with PR review posting, merging, CI"},{"date":"2026-09-23","hash":"0fb2366","kind":"tend","files":2,"subject":"Add professional 3D Spatial Cockpit to Lab Hub with live telemetry, world models, and agen"},{"date":"2026-09-24","hash":"4aee96d","kind":"build","files":1,"subject":"feat: enhance spatial-cockpit-panel with new node categories, UI updates, and detailed met"},{"date":"2026-09-24","hash":"5db2f7a","kind":"build","files":1,"subject":"feat(lab): transform spatial cockpit into realistic QuantLink 3D OS with Apple/Windows and"},{"date":"2026-09-24","hash":"a0ef11f","kind":"build","files":1,"subject":"feat: streamline spatial-cockpit-panel UI, remove unused icons and simplify node structure"},{"date":"2026-09-24","hash":"24c591d","kind":"build","files":1,"subject":"feat: enhance QuantLink Spatial OS with authentic macOS/Windows desktop rendering, live ag"},{"date":"2026-09-24","hash":"5cec81d","kind":"tend","files":1,"subject":"Render QuantLink 3D Workspace World OS with floating real macOS/Windows desktop apps and C"},{"date":"2026-09-24","hash":"1069f79","kind":"build","files":1,"subject":"feat: add fullscreen toggle and collaborator data in SpatialCockpitPanel"},{"date":"2026-09-24","hash":"33abb03","kind":"build","files":1,"subject":"feat(cockpit): elevate QuantLink spatial workspace with WebGPU-grade 3D cityscape and mult"},{"date":"2026-09-24","hash":"5bc0a63","kind":"tend","files":1,"subject":"Refine Spatial Cockpit with Apple/Windows Mica glass styling and agent orchestrator integr"},{"date":"2026-09-24","hash":"f0fcd32","kind":"tend","files":1,"subject":"Elevate spatial cockpit with photorealistic Gaussian Splatting and native Apple/Windows ap"},{"date":"2026-09-24","hash":"1db11e0","kind":"tend","files":1,"subject":"refactor(spatial): refine GSplat radiance field and monochromatic Apple/Windows OS windows"},{"date":"2026-09-24","hash":"84a1bba","kind":"build","files":1,"subject":"feat(spatial-workspace): monochromatic liquid-lighting native OS windows and gsplat radian"},{"date":"2026-09-24","hash":"69b9e7c","kind":"build","files":6,"subject":"feat(spatial-backend): ontological Zod schemas, real AI agent dispatch, code execution san"},{"date":"2026-09-24","hash":"1329172","kind":"build","files":6,"subject":"feat(spatial): integrate cross-project defense ontology, TRIZ 40 engine, and telemetry str"},{"date":"2026-09-24","hash":"e9d9204","kind":"tend","files":1,"subject":"Elevate spatial cockpit with authentic macOS/Windows window fidelity and realistic monochr"},{"date":"2026-09-27","hash":"77e73d5","kind":"tend","files":12,"subject":"Add one-click dev admin login and fix admin gate and analytics query"},{"date":"2026-09-27","hash":"4064ab9","kind":"build","files":26,"subject":"feat: add new skill skit-analyze for cross-artifact consistency analysis"},{"date":"2026-09-27","hash":"02ffe35","kind":"build","files":41,"subject":"feat(ide): agent workbench with diff review and Time view (speckit plan/tasks/implement)"},{"date":"2026-09-27","hash":"bde3c79","kind":"tend","files":20,"subject":"Add speculative propose (draft then verify) with risk gate and acceptance stats"},{"date":"2026-09-28","hash":"b8b79da","kind":"tend","files":42,"subject":"Organize lib/ide into domain and server layers"},{"date":"2026-09-28","hash":"4f4226c","kind":"tend","files":22,"subject":"Update outdated model IDs, AI SDK options, dates, and /labs redirect across pages"},{"date":"2026-09-28","hash":"7cb4c0f","kind":"tend","files":35,"subject":"Harden access tiers, signed sessions, emulation and per-tier AI budgets"},{"date":"2026-09-28","hash":"5ea4efc","kind":"tend","files":7,"subject":"Add real Python execution via Vercel Sandbox with tier limits and network lockdown"},{"date":"2026-09-28","hash":"88098ea","kind":"build","files":5,"subject":"feat: refactor autoresearch API and studio component for enhanced functionality"},{"date":"2026-09-28","hash":"f547b4e","kind":"tend","files":6,"subject":"Add autoresearch-mlx style rigor gate: seeds, bootstrap CI, fail-fast, dedupe"},{"date":"2026-09-28","hash":"090ea6b","kind":"tend","files":8,"subject":"Add custom research programs with alpha harness, holdout and deflated Sharpe"},{"date":"2026-09-28","hash":"41b9f20","kind":"tend","files":24,"subject":"Add multiplayer research workspaces with background autoresearch loops and discovery monit"},{"date":"2026-09-30","hash":"612d3ec","kind":"build","files":45,"subject":"feat: implement new API routes for research protocol runs and UI components"},{"date":"2026-09-30","hash":"f98d09d","kind":"tend","files":62,"subject":"Protocolize research SDK: alignment, reasoning, compiler, decision API"},{"date":"2026-09-30","hash":"df6d612","kind":"tend","files":61,"subject":"Portable JSON suite manifests, Python protocol conformance tests, finite-size state"},{"date":"2026-09-30","hash":"1419f8b","kind":"plan","files":2,"subject":"docs(spec): specify 003 spatial workspace"},{"date":"2026-09-30","hash":"483cc6e","kind":"plan","files":5,"subject":"docs(plan): plan 003 spatial workspace"},{"date":"2026-09-30","hash":"1091a69","kind":"plan","files":1,"subject":"docs(tasks): task list for 003 spatial workspace"},{"date":"2026-09-30","hash":"a4da066","kind":"build","files":27,"subject":"feat(spatial): spatial workspace built from the real repository (003)"},{"date":"2026-09-30","hash":"12a761b","kind":"plan","files":5,"subject":"docs(spec): add the Time view to 003 as user story 4"},{"date":"2026-09-30","hash":"5ab5a14","kind":"build","files":24,"subject":"feat: integrate Agent Fabric personas & Mastra AI across IDE and agent flows"},{"date":"2026-09-30","hash":"d6b15fa","kind":"build","files":16,"subject":"feat(spatial): Time view and a fully real, live workspace (003 US4)"},{"date":"2026-09-30","hash":"1b8a7d3","kind":"plan","files":2,"subject":"docs(spec): specify 004 code world model"},{"date":"2026-09-30","hash":"a71ef10","kind":"plan","files":5,"subject":"docs(plan): plan and tasks for 004 code world model"},{"date":"2026-09-30","hash":"9527b56","kind":"build","files":11,"subject":"feat(world-model): JEPA code world model with shared 2D/3D embedding view (004)"},{"date":"2026-09-30","hash":"d8fea78","kind":"repair","files":2,"subject":"fix(spatial): unique artifact ids per code file"},{"date":"2026-09-30","hash":"378a60f","kind":"plan","files":2,"subject":"docs(plan): iteration 2 plan for 004 from three research passes"},{"date":"2026-09-30","hash":"e29c8e1","kind":"build","files":8,"subject":"feat(world-model): ranker v2 with rolling-origin evaluation (004 iteration 2)"},{"date":"2026-09-30","hash":"4fe7c07","kind":"plan","files":6,"subject":"docs: constitution 1.1.0 and spec, research, plan, tasks for 005 learning workbench"},{"date":"2026-09-30","hash":"905cfa6","kind":"build","files":23,"subject":"feat: admin feature flags for every route, Model view v2 flows, pattern coach"},{"date":"2026-09-30","hash":"bee615d","kind":"build","files":4,"subject":"feat(catalog): model cards and research suites linked to course concepts (005 US7)"},{"date":"2026-09-30","hash":"8bdfc04","kind":"build","files":18,"subject":"feat(workbench): assignment autonomy, guardrails, explain gate, provenance (005 US1)"},{"date":"2026-09-30","hash":"1523584","kind":"build","files":23,"subject":"feat(workspaces): GitHub App / Gitea / local git providers and worktree + sandbox workspac"},{"date":"2026-09-30","hash":"a1d473d","kind":"build","files":17,"subject":"feat(broadcast): redacted broadcasting to in-app, Slack, Discord and Teams channels (005 U"},{"date":"2026-09-30","hash":"54bde98","kind":"build","files":17,"subject":"feat(directory): skills, plugins and MCP server directory with ingest and tests (005 US5)"},{"date":"2026-09-30","hash":"f35aee4","kind":"build","files":5,"subject":"feat(instructor): engagement signals and grading evidence, synthetic demo class (005 US2 e"},{"date":"2026-09-30","hash":"32e266c","kind":"build","files":7,"subject":"feat(exercises): Prompt Problems with hidden tests and refactoring katas graded by the pat"},{"date":"2026-09-30","hash":"e4dfce4","kind":"build","files":8,"subject":"feat(workbench): grade explain-gate answers with AI Gateway evaluation; one shared admin c"},{"date":"2026-09-30","hash":"60d7363","kind":"tend","files":19,"subject":"bench: one command for evidence numbers across the workbench (ranker, coach, redaction, si"},{"date":"2026-09-30","hash":"79c709c","kind":"build","files":8,"subject":"feat(mcp): read-only MCP server so Claude Code, Cursor and VS Code can call the world mode"},{"date":"2026-09-30","hash":"a613d5f","kind":"build","files":7,"subject":"feat(ide): chat tab with bring-your-own-key and local models (Ollama, LM Studio)"},{"date":"2026-09-30","hash":"0f11ace","kind":"build","files":11,"subject":"feat(training): fine-tune locally with mlx-lm LoRA or on Hugging Face Jobs with your own t"},{"date":"2026-09-30","hash":"279c684","kind":"build","files":18,"subject":"feat(blocks): block documents that render as doc, slides, sheet, notebook, HTML and json-r"},{"date":"2026-09-30","hash":"a464823","kind":"tend","files":30,"subject":"data-apps: SQLite/libSQL/D1 backends, local/R2/Vercel Blob storage, Railway/Vercel/Cloudfl"},{"date":"2026-10-01","hash":"b79ced9","kind":"tend","files":16,"subject":"json-render: catalog-driven spec builder, viz grammar, data mapper, forms, TSX/HTML codege"},{"date":"2026-10-07","hash":"4eea87d","kind":"tend","files":2,"subject":"spec(005): record in-class security testing as US8 (FR-016..022, SC-007..009, tasks T019-T"},{"date":"2026-10-07","hash":"b351ed8","kind":"repair","files":8,"subject":"fix(exercises): graders can't be passed without solving (US8 T019, T020)"},{"date":"2026-10-07","hash":"9826b03","kind":"repair","files":12,"subject":"fix(broadcast,hf): no credentials leave the app; school token not spent on strangers (US8 "},{"date":"2026-10-07","hash":"3aa9003","kind":"repair","files":10,"subject":"fix(identity): who you are comes from the session, not the request (US8 T022)"},{"date":"2026-10-07","hash":"92809a5","kind":"tend","files":2,"subject":"spec(005): US9 login/chat/AI protection, US10 super-admin layer, US11 personas/examples/em"},{"date":"2026-10-07","hash":"4bbfead","kind":"repair","files":8,"subject":"fix(workspaces): validate repo/branch and require a student session (US8 T024)"},{"date":"2026-10-07","hash":"3dd6727","kind":"repair","files":11,"subject":"fix(chat,security): tier from session only; rate-limit keys from the platform address (US9"},{"date":"2026-10-07","hash":"33c5b9e","kind":"repair","files":5,"subject":"fix(auth): rate-limit OTP requests, constant-time verify, code out of subject (US9 T028)"},{"date":"2026-10-07","hash":"05b4523","kind":"repair","files":3,"subject":"fix(deep-research): history scoped to the session subject (US9 T029)"},{"date":"2026-10-07","hash":"2a358ab","kind":"repair","files":10,"subject":"fix(admin): one admin check for every admin API (US10 T031)"},{"date":"2026-10-07","hash":"4f68542","kind":"build","files":7,"subject":"feat(admin): audit log for every flag change (US10 T032)"},{"date":"2026-10-07","hash":"6db5748","kind":"repair","files":5,"subject":"fix(ai): generic client errors, provider detail logged server-side (US9 T030)"},{"date":"2026-10-07","hash":"48aba0f","kind":"build","files":4,"subject":"feat(admin): test fails when a route ships unregistered (US10 T034)"},{"date":"2026-10-07","hash":"b441215","kind":"build","files":7,"subject":"feat(admin): flag impact preview and generated route security matrix (US10 T033)"},{"date":"2026-10-07","hash":"d77ec48","kind":"tend","files":15,"subject":"Align personas, emulation, bots and examples so each setting actually takes effect"},{"date":"2026-10-07","hash":"620c6e0","kind":"tend","files":2,"subject":"spec(005): US12 hardening round 2 from the post-class code review (FR-034..040, SC-013, T0"},{"date":"2026-10-07","hash":"1da6a48","kind":"build","files":6,"subject":"feat(studio): examples walkthrough — data, recommendation, bindings, live render, exports"},{"date":"2026-10-07","hash":"52186ae","kind":"tend","files":2,"subject":"json-render: Vega-Lite v5 interop (toVegaLite / fromVegaLite) with per-mark round trips"},{"date":"2026-10-07","hash":"292102c","kind":"tend","files":2,"subject":"json-render: one export helper with a Vega-Lite option, used by the spec builder"},{"date":"2026-10-07","hash":"2871d02","kind":"tend","files":4,"subject":"mcp: MCP Apps UI resources + read-only json_render_render; vega-lite/json export formats"},{"date":"2026-10-07","hash":"2931e66","kind":"tend","files":1,"subject":"json-render: Vega-Lite tab in the examples walkthrough export"},{"date":"2026-10-07","hash":"bb4c792","kind":"tend","files":3,"subject":"json-render forms: nested objects as fieldset sections, multiselect and list kinds"},{"date":"2026-10-07","hash":"8220de0","kind":"tend","files":3,"subject":"json-render: OpenAPI 3.x operation -> form + submit descriptor + result view"}],"build_all":[{"date":"2025-12-11","hash":"bb49e6c","kind":"build","files":26,"subject":"feat: add comprehensive Feature Engineering Guide"},{"date":"2025-12-11","hash":"a4b8808","kind":"build","files":1,"subject":"feat: protect exam questions with professor code"},{"date":"2025-12-11","hash":"2d2fa8a","kind":"build","files":5,"subject":"feat: add client-sanitize utility for SVG/HTML sanitization"},{"date":"2025-12-15","hash":"dc23316","kind":"build","files":23,"subject":"feat: add git cleanup tools and guide"},{"date":"2026-09-17","hash":"2cb9bd4","kind":"build","files":2,"subject":"feat: add Hugging Face paper fetching and display feature"},{"date":"2026-09-17","hash":"86e8efb","kind":"build","files":1,"subject":"feat: update AccessGate message to description for saved papers tab"},{"date":"2026-09-24","hash":"4aee96d","kind":"build","files":1,"subject":"feat: enhance spatial-cockpit-panel with new node categories, UI updates, and detailed met"},{"date":"2026-09-24","hash":"5db2f7a","kind":"build","files":1,"subject":"feat(lab): transform spatial cockpit into realistic QuantLink 3D OS with Apple/Windows and"},{"date":"2026-09-24","hash":"a0ef11f","kind":"build","files":1,"subject":"feat: streamline spatial-cockpit-panel UI, remove unused icons and simplify node structure"},{"date":"2026-09-24","hash":"24c591d","kind":"build","files":1,"subject":"feat: enhance QuantLink Spatial OS with authentic macOS/Windows desktop rendering, live ag"},{"date":"2026-09-24","hash":"1069f79","kind":"build","files":1,"subject":"feat: add fullscreen toggle and collaborator data in SpatialCockpitPanel"},{"date":"2026-09-24","hash":"33abb03","kind":"build","files":1,"subject":"feat(cockpit): elevate QuantLink spatial workspace with WebGPU-grade 3D cityscape and mult"},{"date":"2026-09-24","hash":"84a1bba","kind":"build","files":1,"subject":"feat(spatial-workspace): monochromatic liquid-lighting native OS windows and gsplat radian"},{"date":"2026-09-24","hash":"69b9e7c","kind":"build","files":6,"subject":"feat(spatial-backend): ontological Zod schemas, real AI agent dispatch, code execution san"},{"date":"2026-09-24","hash":"1329172","kind":"build","files":6,"subject":"feat(spatial): integrate cross-project defense ontology, TRIZ 40 engine, and telemetry str"},{"date":"2026-09-27","hash":"4064ab9","kind":"build","files":26,"subject":"feat: add new skill skit-analyze for cross-artifact consistency analysis"},{"date":"2026-09-27","hash":"02ffe35","kind":"build","files":41,"subject":"feat(ide): agent workbench with diff review and Time view (speckit plan/tasks/implement)"},{"date":"2026-09-28","hash":"88098ea","kind":"build","files":5,"subject":"feat: refactor autoresearch API and studio component for enhanced functionality"},{"date":"2026-09-30","hash":"612d3ec","kind":"build","files":45,"subject":"feat: implement new API routes for research protocol runs and UI components"},{"date":"2026-09-30","hash":"a4da066","kind":"build","files":27,"subject":"feat(spatial): spatial workspace built from the real repository (003)"},{"date":"2026-09-30","hash":"5ab5a14","kind":"build","files":24,"subject":"feat: integrate Agent Fabric personas & Mastra AI across IDE and agent flows"},{"date":"2026-09-30","hash":"d6b15fa","kind":"build","files":16,"subject":"feat(spatial): Time view and a fully real, live workspace (003 US4)"},{"date":"2026-09-30","hash":"9527b56","kind":"build","files":11,"subject":"feat(world-model): JEPA code world model with shared 2D/3D embedding view (004)"},{"date":"2026-09-30","hash":"e29c8e1","kind":"build","files":8,"subject":"feat(world-model): ranker v2 with rolling-origin evaluation (004 iteration 2)"},{"date":"2026-09-30","hash":"905cfa6","kind":"build","files":23,"subject":"feat: admin feature flags for every route, Model view v2 flows, pattern coach"},{"date":"2026-09-30","hash":"bee615d","kind":"build","files":4,"subject":"feat(catalog): model cards and research suites linked to course concepts (005 US7)"},{"date":"2026-09-30","hash":"8bdfc04","kind":"build","files":18,"subject":"feat(workbench): assignment autonomy, guardrails, explain gate, provenance (005 US1)"},{"date":"2026-09-30","hash":"1523584","kind":"build","files":23,"subject":"feat(workspaces): GitHub App / Gitea / local git providers and worktree + sandbox workspac"},{"date":"2026-09-30","hash":"a1d473d","kind":"build","files":17,"subject":"feat(broadcast): redacted broadcasting to in-app, Slack, Discord and Teams channels (005 U"},{"date":"2026-09-30","hash":"54bde98","kind":"build","files":17,"subject":"feat(directory): skills, plugins and MCP server directory with ingest and tests (005 US5)"},{"date":"2026-09-30","hash":"f35aee4","kind":"build","files":5,"subject":"feat(instructor): engagement signals and grading evidence, synthetic demo class (005 US2 e"},{"date":"2026-09-30","hash":"32e266c","kind":"build","files":7,"subject":"feat(exercises): Prompt Problems with hidden tests and refactoring katas graded by the pat"},{"date":"2026-09-30","hash":"e4dfce4","kind":"build","files":8,"subject":"feat(workbench): grade explain-gate answers with AI Gateway evaluation; one shared admin c"},{"date":"2026-09-30","hash":"79c709c","kind":"build","files":8,"subject":"feat(mcp): read-only MCP server so Claude Code, Cursor and VS Code can call the world mode"},{"date":"2026-09-30","hash":"a613d5f","kind":"build","files":7,"subject":"feat(ide): chat tab with bring-your-own-key and local models (Ollama, LM Studio)"},{"date":"2026-09-30","hash":"0f11ace","kind":"build","files":11,"subject":"feat(training): fine-tune locally with mlx-lm LoRA or on Hugging Face Jobs with your own t"},{"date":"2026-09-30","hash":"279c684","kind":"build","files":18,"subject":"feat(blocks): block documents that render as doc, slides, sheet, notebook, HTML and json-r"},{"date":"2026-10-07","hash":"4f68542","kind":"build","files":7,"subject":"feat(admin): audit log for every flag change (US10 T032)"},{"date":"2026-10-07","hash":"48aba0f","kind":"build","files":4,"subject":"feat(admin): test fails when a route ships unregistered (US10 T034)"},{"date":"2026-10-07","hash":"b441215","kind":"build","files":7,"subject":"feat(admin): flag impact preview and generated route security matrix (US10 T033)"},{"date":"2026-10-07","hash":"1da6a48","kind":"build","files":6,"subject":"feat(studio): examples walkthrough — data, recommendation, bindings, live render, exports"}],"build_90d":[{"date":"2026-09-17","hash":"2cb9bd4","kind":"build","files":2,"subject":"feat: add Hugging Face paper fetching and display feature"},{"date":"2026-09-17","hash":"86e8efb","kind":"build","files":1,"subject":"feat: update AccessGate message to description for saved papers tab"},{"date":"2026-09-24","hash":"4aee96d","kind":"build","files":1,"subject":"feat: enhance spatial-cockpit-panel with new node categories, UI updates, and detailed met"},{"date":"2026-09-24","hash":"5db2f7a","kind":"build","files":1,"subject":"feat(lab): transform spatial cockpit into realistic QuantLink 3D OS with Apple/Windows and"},{"date":"2026-09-24","hash":"a0ef11f","kind":"build","files":1,"subject":"feat: streamline spatial-cockpit-panel UI, remove unused icons and simplify node structure"},{"date":"2026-09-24","hash":"24c591d","kind":"build","files":1,"subject":"feat: enhance QuantLink Spatial OS with authentic macOS/Windows desktop rendering, live ag"},{"date":"2026-09-24","hash":"1069f79","kind":"build","files":1,"subject":"feat: add fullscreen toggle and collaborator data in SpatialCockpitPanel"},{"date":"2026-09-24","hash":"33abb03","kind":"build","files":1,"subject":"feat(cockpit): elevate QuantLink spatial workspace with WebGPU-grade 3D cityscape and mult"},{"date":"2026-09-24","hash":"84a1bba","kind":"build","files":1,"subject":"feat(spatial-workspace): monochromatic liquid-lighting native OS windows and gsplat radian"},{"date":"2026-09-24","hash":"69b9e7c","kind":"build","files":6,"subject":"feat(spatial-backend): ontological Zod schemas, real AI agent dispatch, code execution san"},{"date":"2026-09-24","hash":"1329172","kind":"build","files":6,"subject":"feat(spatial): integrate cross-project defense ontology, TRIZ 40 engine, and telemetry str"},{"date":"2026-09-27","hash":"4064ab9","kind":"build","files":26,"subject":"feat: add new skill skit-analyze for cross-artifact consistency analysis"},{"date":"2026-09-27","hash":"02ffe35","kind":"build","files":41,"subject":"feat(ide): agent workbench with diff review and Time view (speckit plan/tasks/implement)"},{"date":"2026-09-28","hash":"88098ea","kind":"build","files":5,"subject":"feat: refactor autoresearch API and studio component for enhanced functionality"},{"date":"2026-09-30","hash":"612d3ec","kind":"build","files":45,"subject":"feat: implement new API routes for research protocol runs and UI components"},{"date":"2026-09-30","hash":"a4da066","kind":"build","files":27,"subject":"feat(spatial): spatial workspace built from the real repository (003)"},{"date":"2026-09-30","hash":"5ab5a14","kind":"build","files":24,"subject":"feat: integrate Agent Fabric personas & Mastra AI across IDE and agent flows"},{"date":"2026-09-30","hash":"d6b15fa","kind":"build","files":16,"subject":"feat(spatial): Time view and a fully real, live workspace (003 US4)"},{"date":"2026-09-30","hash":"9527b56","kind":"build","files":11,"subject":"feat(world-model): JEPA code world model with shared 2D/3D embedding view (004)"},{"date":"2026-09-30","hash":"e29c8e1","kind":"build","files":8,"subject":"feat(world-model): ranker v2 with rolling-origin evaluation (004 iteration 2)"},{"date":"2026-09-30","hash":"905cfa6","kind":"build","files":23,"subject":"feat: admin feature flags for every route, Model view v2 flows, pattern coach"},{"date":"2026-09-30","hash":"bee615d","kind":"build","files":4,"subject":"feat(catalog): model cards and research suites linked to course concepts (005 US7)"},{"date":"2026-09-30","hash":"8bdfc04","kind":"build","files":18,"subject":"feat(workbench): assignment autonomy, guardrails, explain gate, provenance (005 US1)"},{"date":"2026-09-30","hash":"1523584","kind":"build","files":23,"subject":"feat(workspaces): GitHub App / Gitea / local git providers and worktree + sandbox workspac"},{"date":"2026-09-30","hash":"a1d473d","kind":"build","files":17,"subject":"feat(broadcast): redacted broadcasting to in-app, Slack, Discord and Teams channels (005 U"},{"date":"2026-09-30","hash":"54bde98","kind":"build","files":17,"subject":"feat(directory): skills, plugins and MCP server directory with ingest and tests (005 US5)"},{"date":"2026-09-30","hash":"f35aee4","kind":"build","files":5,"subject":"feat(instructor): engagement signals and grading evidence, synthetic demo class (005 US2 e"},{"date":"2026-09-30","hash":"32e266c","kind":"build","files":7,"subject":"feat(exercises): Prompt Problems with hidden tests and refactoring katas graded by the pat"},{"date":"2026-09-30","hash":"e4dfce4","kind":"build","files":8,"subject":"feat(workbench): grade explain-gate answers with AI Gateway evaluation; one shared admin c"},{"date":"2026-09-30","hash":"79c709c","kind":"build","files":8,"subject":"feat(mcp): read-only MCP server so Claude Code, Cursor and VS Code can call the world mode"},{"date":"2026-09-30","hash":"a613d5f","kind":"build","files":7,"subject":"feat(ide): chat tab with bring-your-own-key and local models (Ollama, LM Studio)"},{"date":"2026-09-30","hash":"0f11ace","kind":"build","files":11,"subject":"feat(training): fine-tune locally with mlx-lm LoRA or on Hugging Face Jobs with your own t"},{"date":"2026-09-30","hash":"279c684","kind":"build","files":18,"subject":"feat(blocks): block documents that render as doc, slides, sheet, notebook, HTML and json-r"},{"date":"2026-10-07","hash":"4f68542","kind":"build","files":7,"subject":"feat(admin): audit log for every flag change (US10 T032)"},{"date":"2026-10-07","hash":"48aba0f","kind":"build","files":4,"subject":"feat(admin): test fails when a route ships unregistered (US10 T034)"},{"date":"2026-10-07","hash":"b441215","kind":"build","files":7,"subject":"feat(admin): flag impact preview and generated route security matrix (US10 T033)"},{"date":"2026-10-07","hash":"1da6a48","kind":"build","files":6,"subject":"feat(studio): examples walkthrough — data, recommendation, bindings, live render, exports"}],"build_30d":[{"date":"2026-09-17","hash":"2cb9bd4","kind":"build","files":2,"subject":"feat: add Hugging Face paper fetching and display feature"},{"date":"2026-09-17","hash":"86e8efb","kind":"build","files":1,"subject":"feat: update AccessGate message to description for saved papers tab"},{"date":"2026-09-24","hash":"4aee96d","kind":"build","files":1,"subject":"feat: enhance spatial-cockpit-panel with new node categories, UI updates, and detailed met"},{"date":"2026-09-24","hash":"5db2f7a","kind":"build","files":1,"subject":"feat(lab): transform spatial cockpit into realistic QuantLink 3D OS with Apple/Windows and"},{"date":"2026-09-24","hash":"a0ef11f","kind":"build","files":1,"subject":"feat: streamline spatial-cockpit-panel UI, remove unused icons and simplify node structure"},{"date":"2026-09-24","hash":"24c591d","kind":"build","files":1,"subject":"feat: enhance QuantLink Spatial OS with authentic macOS/Windows desktop rendering, live ag"},{"date":"2026-09-24","hash":"1069f79","kind":"build","files":1,"subject":"feat: add fullscreen toggle and collaborator data in SpatialCockpitPanel"},{"date":"2026-09-24","hash":"33abb03","kind":"build","files":1,"subject":"feat(cockpit): elevate QuantLink spatial workspace with WebGPU-grade 3D cityscape and mult"},{"date":"2026-09-24","hash":"84a1bba","kind":"build","files":1,"subject":"feat(spatial-workspace): monochromatic liquid-lighting native OS windows and gsplat radian"},{"date":"2026-09-24","hash":"69b9e7c","kind":"build","files":6,"subject":"feat(spatial-backend): ontological Zod schemas, real AI agent dispatch, code execution san"},{"date":"2026-09-24","hash":"1329172","kind":"build","files":6,"subject":"feat(spatial): integrate cross-project defense ontology, TRIZ 40 engine, and telemetry str"},{"date":"2026-09-27","hash":"4064ab9","kind":"build","files":26,"subject":"feat: add new skill skit-analyze for cross-artifact consistency analysis"},{"date":"2026-09-27","hash":"02ffe35","kind":"build","files":41,"subject":"feat(ide): agent workbench with diff review and Time view (speckit plan/tasks/implement)"},{"date":"2026-09-28","hash":"88098ea","kind":"build","files":5,"subject":"feat: refactor autoresearch API and studio component for enhanced functionality"},{"date":"2026-09-30","hash":"612d3ec","kind":"build","files":45,"subject":"feat: implement new API routes for research protocol runs and UI components"},{"date":"2026-09-30","hash":"a4da066","kind":"build","files":27,"subject":"feat(spatial): spatial workspace built from the real repository (003)"},{"date":"2026-09-30","hash":"5ab5a14","kind":"build","files":24,"subject":"feat: integrate Agent Fabric personas & Mastra AI across IDE and agent flows"},{"date":"2026-09-30","hash":"d6b15fa","kind":"build","files":16,"subject":"feat(spatial): Time view and a fully real, live workspace (003 US4)"},{"date":"2026-09-30","hash":"9527b56","kind":"build","files":11,"subject":"feat(world-model): JEPA code world model with shared 2D/3D embedding view (004)"},{"date":"2026-09-30","hash":"e29c8e1","kind":"build","files":8,"subject":"feat(world-model): ranker v2 with rolling-origin evaluation (004 iteration 2)"},{"date":"2026-09-30","hash":"905cfa6","kind":"build","files":23,"subject":"feat: admin feature flags for every route, Model view v2 flows, pattern coach"},{"date":"2026-09-30","hash":"bee615d","kind":"build","files":4,"subject":"feat(catalog): model cards and research suites linked to course concepts (005 US7)"},{"date":"2026-09-30","hash":"8bdfc04","kind":"build","files":18,"subject":"feat(workbench): assignment autonomy, guardrails, explain gate, provenance (005 US1)"},{"date":"2026-09-30","hash":"1523584","kind":"build","files":23,"subject":"feat(workspaces): GitHub App / Gitea / local git providers and worktree + sandbox workspac"},{"date":"2026-09-30","hash":"a1d473d","kind":"build","files":17,"subject":"feat(broadcast): redacted broadcasting to in-app, Slack, Discord and Teams channels (005 U"},{"date":"2026-09-30","hash":"54bde98","kind":"build","files":17,"subject":"feat(directory): skills, plugins and MCP server directory with ingest and tests (005 US5)"},{"date":"2026-09-30","hash":"f35aee4","kind":"build","files":5,"subject":"feat(instructor): engagement signals and grading evidence, synthetic demo class (005 US2 e"},{"date":"2026-09-30","hash":"32e266c","kind":"build","files":7,"subject":"feat(exercises): Prompt Problems with hidden tests and refactoring katas graded by the pat"},{"date":"2026-09-30","hash":"e4dfce4","kind":"build","files":8,"subject":"feat(workbench): grade explain-gate answers with AI Gateway evaluation; one shared admin c"},{"date":"2026-09-30","hash":"79c709c","kind":"build","files":8,"subject":"feat(mcp): read-only MCP server so Claude Code, Cursor and VS Code can call the world mode"},{"date":"2026-09-30","hash":"a613d5f","kind":"build","files":7,"subject":"feat(ide): chat tab with bring-your-own-key and local models (Ollama, LM Studio)"},{"date":"2026-09-30","hash":"0f11ace","kind":"build","files":11,"subject":"feat(training): fine-tune locally with mlx-lm LoRA or on Hugging Face Jobs with your own t"},{"date":"2026-09-30","hash":"279c684","kind":"build","files":18,"subject":"feat(blocks): block documents that render as doc, slides, sheet, notebook, HTML and json-r"},{"date":"2026-10-07","hash":"4f68542","kind":"build","files":7,"subject":"feat(admin): audit log for every flag change (US10 T032)"},{"date":"2026-10-07","hash":"48aba0f","kind":"build","files":4,"subject":"feat(admin): test fails when a route ships unregistered (US10 T034)"},{"date":"2026-10-07","hash":"b441215","kind":"build","files":7,"subject":"feat(admin): flag impact preview and generated route security matrix (US10 T033)"},{"date":"2026-10-07","hash":"1da6a48","kind":"build","files":6,"subject":"feat(studio): examples walkthrough — data, recommendation, bindings, live render, exports"}],"repair_all":[{"date":"2025-12-11","hash":"0211459","kind":"repair","files":74,"subject":"fix: update SQL syntax for Neon driver compatibility"},{"date":"2025-12-11","hash":"516488b","kind":"repair","files":287,"subject":"fix: resolve Server Action export restrictions"},{"date":"2025-12-11","hash":"a52dede","kind":"repair","files":1,"subject":"fix: rename proxy to middleware for deployment"},{"date":"2026-09-30","hash":"d8fea78","kind":"repair","files":2,"subject":"fix(spatial): unique artifact ids per code file"},{"date":"2026-10-07","hash":"b351ed8","kind":"repair","files":8,"subject":"fix(exercises): graders can't be passed without solving (US8 T019, T020)"},{"date":"2026-10-07","hash":"9826b03","kind":"repair","files":12,"subject":"fix(broadcast,hf): no credentials leave the app; school token not spent on strangers (US8 "},{"date":"2026-10-07","hash":"3aa9003","kind":"repair","files":10,"subject":"fix(identity): who you are comes from the session, not the request (US8 T022)"},{"date":"2026-10-07","hash":"4bbfead","kind":"repair","files":8,"subject":"fix(workspaces): validate repo/branch and require a student session (US8 T024)"},{"date":"2026-10-07","hash":"3dd6727","kind":"repair","files":11,"subject":"fix(chat,security): tier from session only; rate-limit keys from the platform address (US9"},{"date":"2026-10-07","hash":"33c5b9e","kind":"repair","files":5,"subject":"fix(auth): rate-limit OTP requests, constant-time verify, code out of subject (US9 T028)"},{"date":"2026-10-07","hash":"05b4523","kind":"repair","files":3,"subject":"fix(deep-research): history scoped to the session subject (US9 T029)"},{"date":"2026-10-07","hash":"2a358ab","kind":"repair","files":10,"subject":"fix(admin): one admin check for every admin API (US10 T031)"},{"date":"2026-10-07","hash":"6db5748","kind":"repair","files":5,"subject":"fix(ai): generic client errors, provider detail logged server-side (US9 T030)"}],"repair_90d":[{"date":"2026-09-30","hash":"d8fea78","kind":"repair","files":2,"subject":"fix(spatial): unique artifact ids per code file"},{"date":"2026-10-07","hash":"b351ed8","kind":"repair","files":8,"subject":"fix(exercises): graders can't be passed without solving (US8 T019, T020)"},{"date":"2026-10-07","hash":"9826b03","kind":"repair","files":12,"subject":"fix(broadcast,hf): no credentials leave the app; school token not spent on strangers (US8 "},{"date":"2026-10-07","hash":"3aa9003","kind":"repair","files":10,"subject":"fix(identity): who you are comes from the session, not the request (US8 T022)"},{"date":"2026-10-07","hash":"4bbfead","kind":"repair","files":8,"subject":"fix(workspaces): validate repo/branch and require a student session (US8 T024)"},{"date":"2026-10-07","hash":"3dd6727","kind":"repair","files":11,"subject":"fix(chat,security): tier from session only; rate-limit keys from the platform address (US9"},{"date":"2026-10-07","hash":"33c5b9e","kind":"repair","files":5,"subject":"fix(auth): rate-limit OTP requests, constant-time verify, code out of subject (US9 T028)"},{"date":"2026-10-07","hash":"05b4523","kind":"repair","files":3,"subject":"fix(deep-research): history scoped to the session subject (US9 T029)"},{"date":"2026-10-07","hash":"2a358ab","kind":"repair","files":10,"subject":"fix(admin): one admin check for every admin API (US10 T031)"},{"date":"2026-10-07","hash":"6db5748","kind":"repair","files":5,"subject":"fix(ai): generic client errors, provider detail logged server-side (US9 T030)"}],"repair_30d":[{"date":"2026-09-30","hash":"d8fea78","kind":"repair","files":2,"subject":"fix(spatial): unique artifact ids per code file"},{"date":"2026-10-07","hash":"b351ed8","kind":"repair","files":8,"subject":"fix(exercises): graders can't be passed without solving (US8 T019, T020)"},{"date":"2026-10-07","hash":"9826b03","kind":"repair","files":12,"subject":"fix(broadcast,hf): no credentials leave the app; school token not spent on strangers (US8 "},{"date":"2026-10-07","hash":"3aa9003","kind":"repair","files":10,"subject":"fix(identity): who you are comes from the session, not the request (US8 T022)"},{"date":"2026-10-07","hash":"4bbfead","kind":"repair","files":8,"subject":"fix(workspaces): validate repo/branch and require a student session (US8 T024)"},{"date":"2026-10-07","hash":"3dd6727","kind":"repair","files":11,"subject":"fix(chat,security): tier from session only; rate-limit keys from the platform address (US9"},{"date":"2026-10-07","hash":"33c5b9e","kind":"repair","files":5,"subject":"fix(auth): rate-limit OTP requests, constant-time verify, code out of subject (US9 T028)"},{"date":"2026-10-07","hash":"05b4523","kind":"repair","files":3,"subject":"fix(deep-research): history scoped to the session subject (US9 T029)"},{"date":"2026-10-07","hash":"2a358ab","kind":"repair","files":10,"subject":"fix(admin): one admin check for every admin API (US10 T031)"},{"date":"2026-10-07","hash":"6db5748","kind":"repair","files":5,"subject":"fix(ai): generic client errors, provider detail logged server-side (US9 T030)"}],"plan_all":[{"date":"2026-09-30","hash":"1419f8b","kind":"plan","files":2,"subject":"docs(spec): specify 003 spatial workspace"},{"date":"2026-09-30","hash":"483cc6e","kind":"plan","files":5,"subject":"docs(plan): plan 003 spatial workspace"},{"date":"2026-09-30","hash":"1091a69","kind":"plan","files":1,"subject":"docs(tasks): task list for 003 spatial workspace"},{"date":"2026-09-30","hash":"12a761b","kind":"plan","files":5,"subject":"docs(spec): add the Time view to 003 as user story 4"},{"date":"2026-09-30","hash":"1b8a7d3","kind":"plan","files":2,"subject":"docs(spec): specify 004 code world model"},{"date":"2026-09-30","hash":"a71ef10","kind":"plan","files":5,"subject":"docs(plan): plan and tasks for 004 code world model"},{"date":"2026-09-30","hash":"378a60f","kind":"plan","files":2,"subject":"docs(plan): iteration 2 plan for 004 from three research passes"},{"date":"2026-09-30","hash":"4fe7c07","kind":"plan","files":6,"subject":"docs: constitution 1.1.0 and spec, research, plan, tasks for 005 learning workbench"}],"plan_90d":[{"date":"2026-09-30","hash":"1419f8b","kind":"plan","files":2,"subject":"docs(spec): specify 003 spatial workspace"},{"date":"2026-09-30","hash":"483cc6e","kind":"plan","files":5,"subject":"docs(plan): plan 003 spatial workspace"},{"date":"2026-09-30","hash":"1091a69","kind":"plan","files":1,"subject":"docs(tasks): task list for 003 spatial workspace"},{"date":"2026-09-30","hash":"12a761b","kind":"plan","files":5,"subject":"docs(spec): add the Time view to 003 as user story 4"},{"date":"2026-09-30","hash":"1b8a7d3","kind":"plan","files":2,"subject":"docs(spec): specify 004 code world model"},{"date":"2026-09-30","hash":"a71ef10","kind":"plan","files":5,"subject":"docs(plan): plan and tasks for 004 code world model"},{"date":"2026-09-30","hash":"378a60f","kind":"plan","files":2,"subject":"docs(plan): iteration 2 plan for 004 from three research passes"},{"date":"2026-09-30","hash":"4fe7c07","kind":"plan","files":6,"subject":"docs: constitution 1.1.0 and spec, research, plan, tasks for 005 learning workbench"}],"plan_30d":[{"date":"2026-09-30","hash":"1419f8b","kind":"plan","files":2,"subject":"docs(spec): specify 003 spatial workspace"},{"date":"2026-09-30","hash":"483cc6e","kind":"plan","files":5,"subject":"docs(plan): plan 003 spatial workspace"},{"date":"2026-09-30","hash":"1091a69","kind":"plan","files":1,"subject":"docs(tasks): task list for 003 spatial workspace"},{"date":"2026-09-30","hash":"12a761b","kind":"plan","files":5,"subject":"docs(spec): add the Time view to 003 as user story 4"},{"date":"2026-09-30","hash":"1b8a7d3","kind":"plan","files":2,"subject":"docs(spec): specify 004 code world model"},{"date":"2026-09-30","hash":"a71ef10","kind":"plan","files":5,"subject":"docs(plan): plan and tasks for 004 code world model"},{"date":"2026-09-30","hash":"378a60f","kind":"plan","files":2,"subject":"docs(plan): iteration 2 plan for 004 from three research passes"},{"date":"2026-09-30","hash":"4fe7c07","kind":"plan","files":6,"subject":"docs: constitution 1.1.0 and spec, research, plan, tasks for 005 learning workbench"}],"tend_all":[{"date":"2025-12-11","hash":"ba9b186","kind":"tend","files":92,"subject":"Initialized repository for chat School Chatbot"},{"date":"2025-12-11","hash":"993102e","kind":"tend","files":62,"subject":"Add new files"},{"date":"2025-12-15","hash":"1818e47","kind":"tend","files":2,"subject":"Fix React Server Components CVE vulnerabilities"},{"date":"2025-12-15","hash":"0da1119","kind":"tend","files":2,"subject":"upgrade Next.js to 16.0.10"},{"date":"2026-09-16","hash":"3404848","kind":"tend","files":4,"subject":"Fix chat page responsiveness and layout boundaries"},{"date":"2026-09-16","hash":"6e64f39","kind":"tend","files":6,"subject":"Refine chat UI: 4pt corner scale, remove decorative gradients/glows"},{"date":"2026-09-17","hash":"ad24984","kind":"tend","files":3,"subject":"Add global overflow containment and fix responsive page headers"},{"date":"2026-09-17","hash":"fc3c026","kind":"tend","files":4,"subject":"Make custom page headers responsive (homework, connect, contact, projects/new)"},{"date":"2026-09-17","hash":"082201d","kind":"tend","files":1,"subject":"Flatten nav header logo to match 4pt refinement; add truncation guards"},{"date":"2026-09-17","hash":"233d425","kind":"tend","files":3,"subject":"Refine platform + home to monochrome purple theme, wire feature cards to SPA router"},{"date":"2026-09-17","hash":"27a06b4","kind":"tend","files":2,"subject":"Apply monochrome + purple theme to features and capabilities pages"},{"date":"2026-09-17","hash":"b250262","kind":"tend","files":1,"subject":"Remove redundant empty onClick on deploy tab trigger"},{"date":"2026-09-17","hash":"de59cff","kind":"tend","files":43,"subject":"Complete monochrome + purple sweep across app, learn, education, marketing, account, and a"},{"date":"2026-09-17","hash":"339abdb","kind":"tend","files":3,"subject":"Rebuild knowledge graph into interactive curriculum explorer from real SEIS data"},{"date":"2026-09-17","hash":"a9d1245","kind":"tend","files":2,"subject":"Rebuild knowledge graph as interactive explorer; remove dead AI model registry"},{"date":"2026-09-17","hash":"c5f0433","kind":"tend","files":8,"subject":"Build out glossary, courses, learning paths + honest platform catalog"},{"date":"2026-09-17","hash":"73f1577","kind":"tend","files":1,"subject":"Fix responsive highlighted pricing card boundaries"},{"date":"2026-09-17","hash":"33d37c9","kind":"tend","files":1,"subject":"Fix highlighted pricing card clipping"},{"date":"2026-09-17","hash":"0142f11","kind":"tend","files":10,"subject":"Enrich capabilities + knowledge graph, de-tacky off-brand colors"},{"date":"2026-09-17","hash":"a645b79","kind":"tend","files":1,"subject":"Sharpen radius scale + refine focus ring and scrollbars for professional high-fidelity loo"},{"date":"2026-09-17","hash":"3c12032","kind":"tend","files":2,"subject":"Add reduced-motion-aware scroll reveal to home sections"},{"date":"2026-09-17","hash":"4696826","kind":"tend","files":2,"subject":"Extend reveal motion to capabilities and knowledge graph pages"},{"date":"2026-09-17","hash":"f5c084f","kind":"tend","files":10,"subject":"Sharpen oversized rounded-2xl/3xl corners to standard scale"},{"date":"2026-09-17","hash":"a4a9459","kind":"tend","files":18,"subject":"Add AI Lab: live playground, checked build labs, adaptive assessments, and concept mastery"},{"date":"2026-09-17","hash":"c219c02","kind":"tend","files":1,"subject":"Fix chat page horizontal overflow clipping content at desktop widths"},{"date":"2026-09-17","hash":"2f8c884","kind":"tend","files":4,"subject":"Fix nav clipping, wire access-code signup, add frontier LLM topics"},{"date":"2026-09-17","hash":"6a86c3f","kind":"tend","files":4,"subject":"Add frontier research catalog and five advanced build labs with library/paper references"},{"date":"2026-09-17","hash":"f67f718","kind":"tend","files":2,"subject":"Integrate frontier research catalog into Tommie agent (tool + prompt briefing)"},{"date":"2026-09-17","hash":"3dc9f1f","kind":"tend","files":3,"subject":"Add NOOA agentic-architecture concept, research, and lab; wire into agent knowledge"},{"date":"2026-09-17","hash":"0f14704","kind":"tend","files":1,"subject":"Default chat agent to working Google Gemini provider"},{"date":"2026-09-17","hash":"93a7984","kind":"tend","files":3,"subject":"Add Modal, Railway, Hugging Face, and Gemma 4 as serving/deployment learning elements"},{"date":"2026-09-17","hash":"c414f3c","kind":"tend","files":8,"subject":"Add LPG Modeler tool, learning content, and graph nodes"},{"date":"2026-09-17","hash":"4ef7899","kind":"tend","files":3,"subject":"Add DuckDB, DuckPGQ, and Graph RAG as ontology-driven learning content"},{"date":"2026-09-17","hash":"5b6cd76","kind":"tend","files":10,"subject":"Add json-render Report Studio + Capability Studios to AI Lab"},{"date":"2026-09-17","hash":"fa7bb6d","kind":"tend","files":2,"subject":"Add deep-research inference concepts (attention sinks, KV cache, kernel opt) and fix broke"},{"date":"2026-09-17","hash":"4aef341","kind":"tend","files":9,"subject":"Add Code Graph Analyzer: AST parsing, import graph, code smells, graph-RAG suggestions"},{"date":"2026-09-17","hash":"0fb175b","kind":"tend","files":2,"subject":"Add code-intelligence concepts and deep research to knowledge graph"},{"date":"2026-09-17","hash":"7c53c97","kind":"tend","files":1,"subject":"Replace identical faculty placeholder icon with distinct monogram avatars"},{"date":"2026-09-17","hash":"1c51abf","kind":"tend","files":9,"subject":"Add runnable JEPA world model lab (Three.js) + wire concepts into knowledge graph"},{"date":"2026-09-17","hash":"260ee12","kind":"tend","files":2,"subject":"Fix world-model boundary issues: clamp decoded positions, guard NaN, add arena walls"},{"date":"2026-09-17","hash":"e223652","kind":"tend","files":7,"subject":"Add HF/Modal/Railway + MCP/OpenAPI-to-MCP capability studios and wire into knowledge graph"},{"date":"2026-09-17","hash":"e134069","kind":"tend","files":2,"subject":"Fix json-render prompt build error and expand code analyzer examples"},{"date":"2026-09-17","hash":"bcf9fa4","kind":"tend","files":9,"subject":"Redesign Capability Studios into Ecosystem Registry marketplace with skills + agent regist"},{"date":"2026-09-17","hash":"564f58c","kind":"tend","files":1,"subject":"Expand Code Analyzer with curated open-source examples"},{"date":"2026-09-17","hash":"9a1b220","kind":"tend","files":4,"subject":"Add Learn/Build education layer to Ecosystem Registry"},{"date":"2026-09-17","hash":"2523268","kind":"tend","files":1,"subject":"Layer education strip into research Hot Papers tab"},{"date":"2026-09-17","hash":"966d924","kind":"tend","files":2,"subject":"Update AI models to latest flagships; add Cloudflare, OpenRouter, LangWatch, Cline capabil"},{"date":"2026-09-17","hash":"21aee79","kind":"tend","files":1,"subject":"Make ecosystem tool snippets 1:1 with official provider docs"},{"date":"2026-09-21","hash":"d7da990","kind":"tend","files":2,"subject":"Add Jev + open-source decision-model tools with in-UI configuration"},{"date":"2026-09-21","hash":"4435ac7","kind":"tend","files":3,"subject":"Add Data Engineering concept area: Apache Iceberg open table formats + V4 roadmap"},{"date":"2026-09-21","hash":"3850cb5","kind":"tend","files":5,"subject":"Add hosted GitHub/Linear Integration Studio to Capability Studios"},{"date":"2026-09-22","hash":"884df64","kind":"tend","files":16,"subject":"Add Live Workspace: real multiplayer room with KV presence/feed + coding-agent personas"},{"date":"2026-09-22","hash":"e2b22c4","kind":"tend","files":3,"subject":"Add Desktop App tab (pop-out/PWA install/Tauri snippets) and real KV presence strips to Sa"},{"date":"2026-09-22","hash":"9e5d825","kind":"tend","files":1,"subject":"Fix Lab Hub card blurb text clipping (whitespace-nowrap inherited from TabsTrigger)"},{"date":"2026-09-22","hash":"56f8e21","kind":"tend","files":5,"subject":"Enhance Lab Hub grid layout, desktop popout pill, Code Graph RAG integration for seis-lab/"},{"date":"2026-09-22","hash":"4ad970e","kind":"tend","files":4,"subject":"Add AutoResearch & GPU Compute Studio with autonomous research loops, spot fleet pricing, "},{"date":"2026-09-22","hash":"aa6ce0d","kind":"tend","files":5,"subject":"Polish NIST AI RMF Governance Studio UI typography, button contrast, and responsiveness"},{"date":"2026-09-23","hash":"8e698cd","kind":"tend","files":1,"subject":"Make GitHub Sandbox and Linear Board fully interactive with PR review posting, merging, CI"},{"date":"2026-09-23","hash":"0fb2366","kind":"tend","files":2,"subject":"Add professional 3D Spatial Cockpit to Lab Hub with live telemetry, world models, and agen"},{"date":"2026-09-24","hash":"5cec81d","kind":"tend","files":1,"subject":"Render QuantLink 3D Workspace World OS with floating real macOS/Windows desktop apps and C"},{"date":"2026-09-24","hash":"5bc0a63","kind":"tend","files":1,"subject":"Refine Spatial Cockpit with Apple/Windows Mica glass styling and agent orchestrator integr"},{"date":"2026-09-24","hash":"f0fcd32","kind":"tend","files":1,"subject":"Elevate spatial cockpit with photorealistic Gaussian Splatting and native Apple/Windows ap"},{"date":"2026-09-24","hash":"1db11e0","kind":"tend","files":1,"subject":"refactor(spatial): refine GSplat radiance field and monochromatic Apple/Windows OS windows"},{"date":"2026-09-24","hash":"e9d9204","kind":"tend","files":1,"subject":"Elevate spatial cockpit with authentic macOS/Windows window fidelity and realistic monochr"},{"date":"2026-09-27","hash":"77e73d5","kind":"tend","files":12,"subject":"Add one-click dev admin login and fix admin gate and analytics query"},{"date":"2026-09-27","hash":"bde3c79","kind":"tend","files":20,"subject":"Add speculative propose (draft then verify) with risk gate and acceptance stats"},{"date":"2026-09-28","hash":"b8b79da","kind":"tend","files":42,"subject":"Organize lib/ide into domain and server layers"},{"date":"2026-09-28","hash":"4f4226c","kind":"tend","files":22,"subject":"Update outdated model IDs, AI SDK options, dates, and /labs redirect across pages"},{"date":"2026-09-28","hash":"7cb4c0f","kind":"tend","files":35,"subject":"Harden access tiers, signed sessions, emulation and per-tier AI budgets"},{"date":"2026-09-28","hash":"5ea4efc","kind":"tend","files":7,"subject":"Add real Python execution via Vercel Sandbox with tier limits and network lockdown"},{"date":"2026-09-28","hash":"f547b4e","kind":"tend","files":6,"subject":"Add autoresearch-mlx style rigor gate: seeds, bootstrap CI, fail-fast, dedupe"},{"date":"2026-09-28","hash":"090ea6b","kind":"tend","files":8,"subject":"Add custom research programs with alpha harness, holdout and deflated Sharpe"},{"date":"2026-09-28","hash":"41b9f20","kind":"tend","files":24,"subject":"Add multiplayer research workspaces with background autoresearch loops and discovery monit"},{"date":"2026-09-30","hash":"f98d09d","kind":"tend","files":62,"subject":"Protocolize research SDK: alignment, reasoning, compiler, decision API"},{"date":"2026-09-30","hash":"df6d612","kind":"tend","files":61,"subject":"Portable JSON suite manifests, Python protocol conformance tests, finite-size state"},{"date":"2026-09-30","hash":"60d7363","kind":"tend","files":19,"subject":"bench: one command for evidence numbers across the workbench (ranker, coach, redaction, si"},{"date":"2026-09-30","hash":"a464823","kind":"tend","files":30,"subject":"data-apps: SQLite/libSQL/D1 backends, local/R2/Vercel Blob storage, Railway/Vercel/Cloudfl"},{"date":"2026-10-01","hash":"b79ced9","kind":"tend","files":16,"subject":"json-render: catalog-driven spec builder, viz grammar, data mapper, forms, TSX/HTML codege"},{"date":"2026-10-07","hash":"4eea87d","kind":"tend","files":2,"subject":"spec(005): record in-class security testing as US8 (FR-016..022, SC-007..009, tasks T019-T"},{"date":"2026-10-07","hash":"92809a5","kind":"tend","files":2,"subject":"spec(005): US9 login/chat/AI protection, US10 super-admin layer, US11 personas/examples/em"},{"date":"2026-10-07","hash":"d77ec48","kind":"tend","files":15,"subject":"Align personas, emulation, bots and examples so each setting actually takes effect"},{"date":"2026-10-07","hash":"620c6e0","kind":"tend","files":2,"subject":"spec(005): US12 hardening round 2 from the post-class code review (FR-034..040, SC-013, T0"},{"date":"2026-10-07","hash":"52186ae","kind":"tend","files":2,"subject":"json-render: Vega-Lite v5 interop (toVegaLite / fromVegaLite) with per-mark round trips"},{"date":"2026-10-07","hash":"292102c","kind":"tend","files":2,"subject":"json-render: one export helper with a Vega-Lite option, used by the spec builder"},{"date":"2026-10-07","hash":"2871d02","kind":"tend","files":4,"subject":"mcp: MCP Apps UI resources + read-only json_render_render; vega-lite/json export formats"},{"date":"2026-10-07","hash":"2931e66","kind":"tend","files":1,"subject":"json-render: Vega-Lite tab in the examples walkthrough export"},{"date":"2026-10-07","hash":"bb4c792","kind":"tend","files":3,"subject":"json-render forms: nested objects as fieldset sections, multiselect and list kinds"},{"date":"2026-10-07","hash":"8220de0","kind":"tend","files":3,"subject":"json-render: OpenAPI 3.x operation -> form + submit descriptor + result view"}],"tend_90d":[{"date":"2026-09-16","hash":"3404848","kind":"tend","files":4,"subject":"Fix chat page responsiveness and layout boundaries"},{"date":"2026-09-16","hash":"6e64f39","kind":"tend","files":6,"subject":"Refine chat UI: 4pt corner scale, remove decorative gradients/glows"},{"date":"2026-09-17","hash":"ad24984","kind":"tend","files":3,"subject":"Add global overflow containment and fix responsive page headers"},{"date":"2026-09-17","hash":"fc3c026","kind":"tend","files":4,"subject":"Make custom page headers responsive (homework, connect, contact, projects/new)"},{"date":"2026-09-17","hash":"082201d","kind":"tend","files":1,"subject":"Flatten nav header logo to match 4pt refinement; add truncation guards"},{"date":"2026-09-17","hash":"233d425","kind":"tend","files":3,"subject":"Refine platform + home to monochrome purple theme, wire feature cards to SPA router"},{"date":"2026-09-17","hash":"27a06b4","kind":"tend","files":2,"subject":"Apply monochrome + purple theme to features and capabilities pages"},{"date":"2026-09-17","hash":"b250262","kind":"tend","files":1,"subject":"Remove redundant empty onClick on deploy tab trigger"},{"date":"2026-09-17","hash":"de59cff","kind":"tend","files":43,"subject":"Complete monochrome + purple sweep across app, learn, education, marketing, account, and a"},{"date":"2026-09-17","hash":"339abdb","kind":"tend","files":3,"subject":"Rebuild knowledge graph into interactive curriculum explorer from real SEIS data"},{"date":"2026-09-17","hash":"a9d1245","kind":"tend","files":2,"subject":"Rebuild knowledge graph as interactive explorer; remove dead AI model registry"},{"date":"2026-09-17","hash":"c5f0433","kind":"tend","files":8,"subject":"Build out glossary, courses, learning paths + honest platform catalog"},{"date":"2026-09-17","hash":"73f1577","kind":"tend","files":1,"subject":"Fix responsive highlighted pricing card boundaries"},{"date":"2026-09-17","hash":"33d37c9","kind":"tend","files":1,"subject":"Fix highlighted pricing card clipping"},{"date":"2026-09-17","hash":"0142f11","kind":"tend","files":10,"subject":"Enrich capabilities + knowledge graph, de-tacky off-brand colors"},{"date":"2026-09-17","hash":"a645b79","kind":"tend","files":1,"subject":"Sharpen radius scale + refine focus ring and scrollbars for professional high-fidelity loo"},{"date":"2026-09-17","hash":"3c12032","kind":"tend","files":2,"subject":"Add reduced-motion-aware scroll reveal to home sections"},{"date":"2026-09-17","hash":"4696826","kind":"tend","files":2,"subject":"Extend reveal motion to capabilities and knowledge graph pages"},{"date":"2026-09-17","hash":"f5c084f","kind":"tend","files":10,"subject":"Sharpen oversized rounded-2xl/3xl corners to standard scale"},{"date":"2026-09-17","hash":"a4a9459","kind":"tend","files":18,"subject":"Add AI Lab: live playground, checked build labs, adaptive assessments, and concept mastery"},{"date":"2026-09-17","hash":"c219c02","kind":"tend","files":1,"subject":"Fix chat page horizontal overflow clipping content at desktop widths"},{"date":"2026-09-17","hash":"2f8c884","kind":"tend","files":4,"subject":"Fix nav clipping, wire access-code signup, add frontier LLM topics"},{"date":"2026-09-17","hash":"6a86c3f","kind":"tend","files":4,"subject":"Add frontier research catalog and five advanced build labs with library/paper references"},{"date":"2026-09-17","hash":"f67f718","kind":"tend","files":2,"subject":"Integrate frontier research catalog into Tommie agent (tool + prompt briefing)"},{"date":"2026-09-17","hash":"3dc9f1f","kind":"tend","files":3,"subject":"Add NOOA agentic-architecture concept, research, and lab; wire into agent knowledge"},{"date":"2026-09-17","hash":"0f14704","kind":"tend","files":1,"subject":"Default chat agent to working Google Gemini provider"},{"date":"2026-09-17","hash":"93a7984","kind":"tend","files":3,"subject":"Add Modal, Railway, Hugging Face, and Gemma 4 as serving/deployment learning elements"},{"date":"2026-09-17","hash":"c414f3c","kind":"tend","files":8,"subject":"Add LPG Modeler tool, learning content, and graph nodes"},{"date":"2026-09-17","hash":"4ef7899","kind":"tend","files":3,"subject":"Add DuckDB, DuckPGQ, and Graph RAG as ontology-driven learning content"},{"date":"2026-09-17","hash":"5b6cd76","kind":"tend","files":10,"subject":"Add json-render Report Studio + Capability Studios to AI Lab"},{"date":"2026-09-17","hash":"fa7bb6d","kind":"tend","files":2,"subject":"Add deep-research inference concepts (attention sinks, KV cache, kernel opt) and fix broke"},{"date":"2026-09-17","hash":"4aef341","kind":"tend","files":9,"subject":"Add Code Graph Analyzer: AST parsing, import graph, code smells, graph-RAG suggestions"},{"date":"2026-09-17","hash":"0fb175b","kind":"tend","files":2,"subject":"Add code-intelligence concepts and deep research to knowledge graph"},{"date":"2026-09-17","hash":"7c53c97","kind":"tend","files":1,"subject":"Replace identical faculty placeholder icon with distinct monogram avatars"},{"date":"2026-09-17","hash":"1c51abf","kind":"tend","files":9,"subject":"Add runnable JEPA world model lab (Three.js) + wire concepts into knowledge graph"},{"date":"2026-09-17","hash":"260ee12","kind":"tend","files":2,"subject":"Fix world-model boundary issues: clamp decoded positions, guard NaN, add arena walls"},{"date":"2026-09-17","hash":"e223652","kind":"tend","files":7,"subject":"Add HF/Modal/Railway + MCP/OpenAPI-to-MCP capability studios and wire into knowledge graph"},{"date":"2026-09-17","hash":"e134069","kind":"tend","files":2,"subject":"Fix json-render prompt build error and expand code analyzer examples"},{"date":"2026-09-17","hash":"bcf9fa4","kind":"tend","files":9,"subject":"Redesign Capability Studios into Ecosystem Registry marketplace with skills + agent regist"},{"date":"2026-09-17","hash":"564f58c","kind":"tend","files":1,"subject":"Expand Code Analyzer with curated open-source examples"},{"date":"2026-09-17","hash":"9a1b220","kind":"tend","files":4,"subject":"Add Learn/Build education layer to Ecosystem Registry"},{"date":"2026-09-17","hash":"2523268","kind":"tend","files":1,"subject":"Layer education strip into research Hot Papers tab"},{"date":"2026-09-17","hash":"966d924","kind":"tend","files":2,"subject":"Update AI models to latest flagships; add Cloudflare, OpenRouter, LangWatch, Cline capabil"},{"date":"2026-09-17","hash":"21aee79","kind":"tend","files":1,"subject":"Make ecosystem tool snippets 1:1 with official provider docs"},{"date":"2026-09-21","hash":"d7da990","kind":"tend","files":2,"subject":"Add Jev + open-source decision-model tools with in-UI configuration"},{"date":"2026-09-21","hash":"4435ac7","kind":"tend","files":3,"subject":"Add Data Engineering concept area: Apache Iceberg open table formats + V4 roadmap"},{"date":"2026-09-21","hash":"3850cb5","kind":"tend","files":5,"subject":"Add hosted GitHub/Linear Integration Studio to Capability Studios"},{"date":"2026-09-22","hash":"884df64","kind":"tend","files":16,"subject":"Add Live Workspace: real multiplayer room with KV presence/feed + coding-agent personas"},{"date":"2026-09-22","hash":"e2b22c4","kind":"tend","files":3,"subject":"Add Desktop App tab (pop-out/PWA install/Tauri snippets) and real KV presence strips to Sa"},{"date":"2026-09-22","hash":"9e5d825","kind":"tend","files":1,"subject":"Fix Lab Hub card blurb text clipping (whitespace-nowrap inherited from TabsTrigger)"},{"date":"2026-09-22","hash":"56f8e21","kind":"tend","files":5,"subject":"Enhance Lab Hub grid layout, desktop popout pill, Code Graph RAG integration for seis-lab/"},{"date":"2026-09-22","hash":"4ad970e","kind":"tend","files":4,"subject":"Add AutoResearch & GPU Compute Studio with autonomous research loops, spot fleet pricing, "},{"date":"2026-09-22","hash":"aa6ce0d","kind":"tend","files":5,"subject":"Polish NIST AI RMF Governance Studio UI typography, button contrast, and responsiveness"},{"date":"2026-09-23","hash":"8e698cd","kind":"tend","files":1,"subject":"Make GitHub Sandbox and Linear Board fully interactive with PR review posting, merging, CI"},{"date":"2026-09-23","hash":"0fb2366","kind":"tend","files":2,"subject":"Add professional 3D Spatial Cockpit to Lab Hub with live telemetry, world models, and agen"},{"date":"2026-09-24","hash":"5cec81d","kind":"tend","files":1,"subject":"Render QuantLink 3D Workspace World OS with floating real macOS/Windows desktop apps and C"},{"date":"2026-09-24","hash":"5bc0a63","kind":"tend","files":1,"subject":"Refine Spatial Cockpit with Apple/Windows Mica glass styling and agent orchestrator integr"},{"date":"2026-09-24","hash":"f0fcd32","kind":"tend","files":1,"subject":"Elevate spatial cockpit with photorealistic Gaussian Splatting and native Apple/Windows ap"},{"date":"2026-09-24","hash":"1db11e0","kind":"tend","files":1,"subject":"refactor(spatial): refine GSplat radiance field and monochromatic Apple/Windows OS windows"},{"date":"2026-09-24","hash":"e9d9204","kind":"tend","files":1,"subject":"Elevate spatial cockpit with authentic macOS/Windows window fidelity and realistic monochr"},{"date":"2026-09-27","hash":"77e73d5","kind":"tend","files":12,"subject":"Add one-click dev admin login and fix admin gate and analytics query"},{"date":"2026-09-27","hash":"bde3c79","kind":"tend","files":20,"subject":"Add speculative propose (draft then verify) with risk gate and acceptance stats"},{"date":"2026-09-28","hash":"b8b79da","kind":"tend","files":42,"subject":"Organize lib/ide into domain and server layers"},{"date":"2026-09-28","hash":"4f4226c","kind":"tend","files":22,"subject":"Update outdated model IDs, AI SDK options, dates, and /labs redirect across pages"},{"date":"2026-09-28","hash":"7cb4c0f","kind":"tend","files":35,"subject":"Harden access tiers, signed sessions, emulation and per-tier AI budgets"},{"date":"2026-09-28","hash":"5ea4efc","kind":"tend","files":7,"subject":"Add real Python execution via Vercel Sandbox with tier limits and network lockdown"},{"date":"2026-09-28","hash":"f547b4e","kind":"tend","files":6,"subject":"Add autoresearch-mlx style rigor gate: seeds, bootstrap CI, fail-fast, dedupe"},{"date":"2026-09-28","hash":"090ea6b","kind":"tend","files":8,"subject":"Add custom research programs with alpha harness, holdout and deflated Sharpe"},{"date":"2026-09-28","hash":"41b9f20","kind":"tend","files":24,"subject":"Add multiplayer research workspaces with background autoresearch loops and discovery monit"},{"date":"2026-09-30","hash":"f98d09d","kind":"tend","files":62,"subject":"Protocolize research SDK: alignment, reasoning, compiler, decision API"},{"date":"2026-09-30","hash":"df6d612","kind":"tend","files":61,"subject":"Portable JSON suite manifests, Python protocol conformance tests, finite-size state"},{"date":"2026-09-30","hash":"60d7363","kind":"tend","files":19,"subject":"bench: one command for evidence numbers across the workbench (ranker, coach, redaction, si"},{"date":"2026-09-30","hash":"a464823","kind":"tend","files":30,"subject":"data-apps: SQLite/libSQL/D1 backends, local/R2/Vercel Blob storage, Railway/Vercel/Cloudfl"},{"date":"2026-10-01","hash":"b79ced9","kind":"tend","files":16,"subject":"json-render: catalog-driven spec builder, viz grammar, data mapper, forms, TSX/HTML codege"},{"date":"2026-10-07","hash":"4eea87d","kind":"tend","files":2,"subject":"spec(005): record in-class security testing as US8 (FR-016..022, SC-007..009, tasks T019-T"},{"date":"2026-10-07","hash":"92809a5","kind":"tend","files":2,"subject":"spec(005): US9 login/chat/AI protection, US10 super-admin layer, US11 personas/examples/em"},{"date":"2026-10-07","hash":"d77ec48","kind":"tend","files":15,"subject":"Align personas, emulation, bots and examples so each setting actually takes effect"},{"date":"2026-10-07","hash":"620c6e0","kind":"tend","files":2,"subject":"spec(005): US12 hardening round 2 from the post-class code review (FR-034..040, SC-013, T0"},{"date":"2026-10-07","hash":"52186ae","kind":"tend","files":2,"subject":"json-render: Vega-Lite v5 interop (toVegaLite / fromVegaLite) with per-mark round trips"},{"date":"2026-10-07","hash":"292102c","kind":"tend","files":2,"subject":"json-render: one export helper with a Vega-Lite option, used by the spec builder"},{"date":"2026-10-07","hash":"2871d02","kind":"tend","files":4,"subject":"mcp: MCP Apps UI resources + read-only json_render_render; vega-lite/json export formats"},{"date":"2026-10-07","hash":"2931e66","kind":"tend","files":1,"subject":"json-render: Vega-Lite tab in the examples walkthrough export"},{"date":"2026-10-07","hash":"bb4c792","kind":"tend","files":3,"subject":"json-render forms: nested objects as fieldset sections, multiselect and list kinds"},{"date":"2026-10-07","hash":"8220de0","kind":"tend","files":3,"subject":"json-render: OpenAPI 3.x operation -> form + submit descriptor + result view"}],"tend_30d":[{"date":"2026-09-16","hash":"3404848","kind":"tend","files":4,"subject":"Fix chat page responsiveness and layout boundaries"},{"date":"2026-09-16","hash":"6e64f39","kind":"tend","files":6,"subject":"Refine chat UI: 4pt corner scale, remove decorative gradients/glows"},{"date":"2026-09-17","hash":"ad24984","kind":"tend","files":3,"subject":"Add global overflow containment and fix responsive page headers"},{"date":"2026-09-17","hash":"fc3c026","kind":"tend","files":4,"subject":"Make custom page headers responsive (homework, connect, contact, projects/new)"},{"date":"2026-09-17","hash":"082201d","kind":"tend","files":1,"subject":"Flatten nav header logo to match 4pt refinement; add truncation guards"},{"date":"2026-09-17","hash":"233d425","kind":"tend","files":3,"subject":"Refine platform + home to monochrome purple theme, wire feature cards to SPA router"},{"date":"2026-09-17","hash":"27a06b4","kind":"tend","files":2,"subject":"Apply monochrome + purple theme to features and capabilities pages"},{"date":"2026-09-17","hash":"b250262","kind":"tend","files":1,"subject":"Remove redundant empty onClick on deploy tab trigger"},{"date":"2026-09-17","hash":"de59cff","kind":"tend","files":43,"subject":"Complete monochrome + purple sweep across app, learn, education, marketing, account, and a"},{"date":"2026-09-17","hash":"339abdb","kind":"tend","files":3,"subject":"Rebuild knowledge graph into interactive curriculum explorer from real SEIS data"},{"date":"2026-09-17","hash":"a9d1245","kind":"tend","files":2,"subject":"Rebuild knowledge graph as interactive explorer; remove dead AI model registry"},{"date":"2026-09-17","hash":"c5f0433","kind":"tend","files":8,"subject":"Build out glossary, courses, learning paths + honest platform catalog"},{"date":"2026-09-17","hash":"73f1577","kind":"tend","files":1,"subject":"Fix responsive highlighted pricing card boundaries"},{"date":"2026-09-17","hash":"33d37c9","kind":"tend","files":1,"subject":"Fix highlighted pricing card clipping"},{"date":"2026-09-17","hash":"0142f11","kind":"tend","files":10,"subject":"Enrich capabilities + knowledge graph, de-tacky off-brand colors"},{"date":"2026-09-17","hash":"a645b79","kind":"tend","files":1,"subject":"Sharpen radius scale + refine focus ring and scrollbars for professional high-fidelity loo"},{"date":"2026-09-17","hash":"3c12032","kind":"tend","files":2,"subject":"Add reduced-motion-aware scroll reveal to home sections"},{"date":"2026-09-17","hash":"4696826","kind":"tend","files":2,"subject":"Extend reveal motion to capabilities and knowledge graph pages"},{"date":"2026-09-17","hash":"f5c084f","kind":"tend","files":10,"subject":"Sharpen oversized rounded-2xl/3xl corners to standard scale"},{"date":"2026-09-17","hash":"a4a9459","kind":"tend","files":18,"subject":"Add AI Lab: live playground, checked build labs, adaptive assessments, and concept mastery"},{"date":"2026-09-17","hash":"c219c02","kind":"tend","files":1,"subject":"Fix chat page horizontal overflow clipping content at desktop widths"},{"date":"2026-09-17","hash":"2f8c884","kind":"tend","files":4,"subject":"Fix nav clipping, wire access-code signup, add frontier LLM topics"},{"date":"2026-09-17","hash":"6a86c3f","kind":"tend","files":4,"subject":"Add frontier research catalog and five advanced build labs with library/paper references"},{"date":"2026-09-17","hash":"f67f718","kind":"tend","files":2,"subject":"Integrate frontier research catalog into Tommie agent (tool + prompt briefing)"},{"date":"2026-09-17","hash":"3dc9f1f","kind":"tend","files":3,"subject":"Add NOOA agentic-architecture concept, research, and lab; wire into agent knowledge"},{"date":"2026-09-17","hash":"0f14704","kind":"tend","files":1,"subject":"Default chat agent to working Google Gemini provider"},{"date":"2026-09-17","hash":"93a7984","kind":"tend","files":3,"subject":"Add Modal, Railway, Hugging Face, and Gemma 4 as serving/deployment learning elements"},{"date":"2026-09-17","hash":"c414f3c","kind":"tend","files":8,"subject":"Add LPG Modeler tool, learning content, and graph nodes"},{"date":"2026-09-17","hash":"4ef7899","kind":"tend","files":3,"subject":"Add DuckDB, DuckPGQ, and Graph RAG as ontology-driven learning content"},{"date":"2026-09-17","hash":"5b6cd76","kind":"tend","files":10,"subject":"Add json-render Report Studio + Capability Studios to AI Lab"},{"date":"2026-09-17","hash":"fa7bb6d","kind":"tend","files":2,"subject":"Add deep-research inference concepts (attention sinks, KV cache, kernel opt) and fix broke"},{"date":"2026-09-17","hash":"4aef341","kind":"tend","files":9,"subject":"Add Code Graph Analyzer: AST parsing, import graph, code smells, graph-RAG suggestions"},{"date":"2026-09-17","hash":"0fb175b","kind":"tend","files":2,"subject":"Add code-intelligence concepts and deep research to knowledge graph"},{"date":"2026-09-17","hash":"7c53c97","kind":"tend","files":1,"subject":"Replace identical faculty placeholder icon with distinct monogram avatars"},{"date":"2026-09-17","hash":"1c51abf","kind":"tend","files":9,"subject":"Add runnable JEPA world model lab (Three.js) + wire concepts into knowledge graph"},{"date":"2026-09-17","hash":"260ee12","kind":"tend","files":2,"subject":"Fix world-model boundary issues: clamp decoded positions, guard NaN, add arena walls"},{"date":"2026-09-17","hash":"e223652","kind":"tend","files":7,"subject":"Add HF/Modal/Railway + MCP/OpenAPI-to-MCP capability studios and wire into knowledge graph"},{"date":"2026-09-17","hash":"e134069","kind":"tend","files":2,"subject":"Fix json-render prompt build error and expand code analyzer examples"},{"date":"2026-09-17","hash":"bcf9fa4","kind":"tend","files":9,"subject":"Redesign Capability Studios into Ecosystem Registry marketplace with skills + agent regist"},{"date":"2026-09-17","hash":"564f58c","kind":"tend","files":1,"subject":"Expand Code Analyzer with curated open-source examples"},{"date":"2026-09-17","hash":"9a1b220","kind":"tend","files":4,"subject":"Add Learn/Build education layer to Ecosystem Registry"},{"date":"2026-09-17","hash":"2523268","kind":"tend","files":1,"subject":"Layer education strip into research Hot Papers tab"},{"date":"2026-09-17","hash":"966d924","kind":"tend","files":2,"subject":"Update AI models to latest flagships; add Cloudflare, OpenRouter, LangWatch, Cline capabil"},{"date":"2026-09-17","hash":"21aee79","kind":"tend","files":1,"subject":"Make ecosystem tool snippets 1:1 with official provider docs"},{"date":"2026-09-21","hash":"d7da990","kind":"tend","files":2,"subject":"Add Jev + open-source decision-model tools with in-UI configuration"},{"date":"2026-09-21","hash":"4435ac7","kind":"tend","files":3,"subject":"Add Data Engineering concept area: Apache Iceberg open table formats + V4 roadmap"},{"date":"2026-09-21","hash":"3850cb5","kind":"tend","files":5,"subject":"Add hosted GitHub/Linear Integration Studio to Capability Studios"},{"date":"2026-09-22","hash":"884df64","kind":"tend","files":16,"subject":"Add Live Workspace: real multiplayer room with KV presence/feed + coding-agent personas"},{"date":"2026-09-22","hash":"e2b22c4","kind":"tend","files":3,"subject":"Add Desktop App tab (pop-out/PWA install/Tauri snippets) and real KV presence strips to Sa"},{"date":"2026-09-22","hash":"9e5d825","kind":"tend","files":1,"subject":"Fix Lab Hub card blurb text clipping (whitespace-nowrap inherited from TabsTrigger)"},{"date":"2026-09-22","hash":"56f8e21","kind":"tend","files":5,"subject":"Enhance Lab Hub grid layout, desktop popout pill, Code Graph RAG integration for seis-lab/"},{"date":"2026-09-22","hash":"4ad970e","kind":"tend","files":4,"subject":"Add AutoResearch & GPU Compute Studio with autonomous research loops, spot fleet pricing, "},{"date":"2026-09-22","hash":"aa6ce0d","kind":"tend","files":5,"subject":"Polish NIST AI RMF Governance Studio UI typography, button contrast, and responsiveness"},{"date":"2026-09-23","hash":"8e698cd","kind":"tend","files":1,"subject":"Make GitHub Sandbox and Linear Board fully interactive with PR review posting, merging, CI"},{"date":"2026-09-23","hash":"0fb2366","kind":"tend","files":2,"subject":"Add professional 3D Spatial Cockpit to Lab Hub with live telemetry, world models, and agen"},{"date":"2026-09-24","hash":"5cec81d","kind":"tend","files":1,"subject":"Render QuantLink 3D Workspace World OS with floating real macOS/Windows desktop apps and C"},{"date":"2026-09-24","hash":"5bc0a63","kind":"tend","files":1,"subject":"Refine Spatial Cockpit with Apple/Windows Mica glass styling and agent orchestrator integr"},{"date":"2026-09-24","hash":"f0fcd32","kind":"tend","files":1,"subject":"Elevate spatial cockpit with photorealistic Gaussian Splatting and native Apple/Windows ap"},{"date":"2026-09-24","hash":"1db11e0","kind":"tend","files":1,"subject":"refactor(spatial): refine GSplat radiance field and monochromatic Apple/Windows OS windows"},{"date":"2026-09-24","hash":"e9d9204","kind":"tend","files":1,"subject":"Elevate spatial cockpit with authentic macOS/Windows window fidelity and realistic monochr"},{"date":"2026-09-27","hash":"77e73d5","kind":"tend","files":12,"subject":"Add one-click dev admin login and fix admin gate and analytics query"},{"date":"2026-09-27","hash":"bde3c79","kind":"tend","files":20,"subject":"Add speculative propose (draft then verify) with risk gate and acceptance stats"},{"date":"2026-09-28","hash":"b8b79da","kind":"tend","files":42,"subject":"Organize lib/ide into domain and server layers"},{"date":"2026-09-28","hash":"4f4226c","kind":"tend","files":22,"subject":"Update outdated model IDs, AI SDK options, dates, and /labs redirect across pages"},{"date":"2026-09-28","hash":"7cb4c0f","kind":"tend","files":35,"subject":"Harden access tiers, signed sessions, emulation and per-tier AI budgets"},{"date":"2026-09-28","hash":"5ea4efc","kind":"tend","files":7,"subject":"Add real Python execution via Vercel Sandbox with tier limits and network lockdown"},{"date":"2026-09-28","hash":"f547b4e","kind":"tend","files":6,"subject":"Add autoresearch-mlx style rigor gate: seeds, bootstrap CI, fail-fast, dedupe"},{"date":"2026-09-28","hash":"090ea6b","kind":"tend","files":8,"subject":"Add custom research programs with alpha harness, holdout and deflated Sharpe"},{"date":"2026-09-28","hash":"41b9f20","kind":"tend","files":24,"subject":"Add multiplayer research workspaces with background autoresearch loops and discovery monit"},{"date":"2026-09-30","hash":"f98d09d","kind":"tend","files":62,"subject":"Protocolize research SDK: alignment, reasoning, compiler, decision API"},{"date":"2026-09-30","hash":"df6d612","kind":"tend","files":61,"subject":"Portable JSON suite manifests, Python protocol conformance tests, finite-size state"},{"date":"2026-09-30","hash":"60d7363","kind":"tend","files":19,"subject":"bench: one command for evidence numbers across the workbench (ranker, coach, redaction, si"},{"date":"2026-09-30","hash":"a464823","kind":"tend","files":30,"subject":"data-apps: SQLite/libSQL/D1 backends, local/R2/Vercel Blob storage, Railway/Vercel/Cloudfl"},{"date":"2026-10-01","hash":"b79ced9","kind":"tend","files":16,"subject":"json-render: catalog-driven spec builder, viz grammar, data mapper, forms, TSX/HTML codege"},{"date":"2026-10-07","hash":"4eea87d","kind":"tend","files":2,"subject":"spec(005): record in-class security testing as US8 (FR-016..022, SC-007..009, tasks T019-T"},{"date":"2026-10-07","hash":"92809a5","kind":"tend","files":2,"subject":"spec(005): US9 login/chat/AI protection, US10 super-admin layer, US11 personas/examples/em"},{"date":"2026-10-07","hash":"d77ec48","kind":"tend","files":15,"subject":"Align personas, emulation, bots and examples so each setting actually takes effect"},{"date":"2026-10-07","hash":"620c6e0","kind":"tend","files":2,"subject":"spec(005): US12 hardening round 2 from the post-class code review (FR-034..040, SC-013, T0"},{"date":"2026-10-07","hash":"52186ae","kind":"tend","files":2,"subject":"json-render: Vega-Lite v5 interop (toVegaLite / fromVegaLite) with per-mark round trips"},{"date":"2026-10-07","hash":"292102c","kind":"tend","files":2,"subject":"json-render: one export helper with a Vega-Lite option, used by the spec builder"},{"date":"2026-10-07","hash":"2871d02","kind":"tend","files":4,"subject":"mcp: MCP Apps UI resources + read-only json_render_render; vega-lite/json export formats"},{"date":"2026-10-07","hash":"2931e66","kind":"tend","files":1,"subject":"json-render: Vega-Lite tab in the examples walkthrough export"},{"date":"2026-10-07","hash":"bb4c792","kind":"tend","files":3,"subject":"json-render forms: nested objects as fieldset sections, multiselect and list kinds"},{"date":"2026-10-07","hash":"8220de0","kind":"tend","files":3,"subject":"json-render: OpenAPI 3.x operation -> form + submit descriptor + result view"}]}}},"root":{"type":"Page","children":[{"type":"Card","props":{"title":"Filter","description":"Ranges count back from the newest commit in the snapshot, not from today."},"children":[{"type":"Form","props":{"bind":"/filters","submitLabel":"Save this view","action":{"submit":"save-history-view"},"fields":[{"name":"kind","label":"Change kind","kind":"select","required":true,"options":[{"value":"all","label":"All kinds"},{"value":"build","label":"Build"},{"value":"repair","label":"Repair"},{"value":"plan","label":"Plan"},{"value":"tend","label":"Tend"}]},{"name":"range","label":"Date range","kind":"radio","required":true,"options":[{"value":"all","label":"All history"},{"value":"90d","label":"Last 90 days"},{"value":"30d","label":"Last 30 days"}]}]}},{"type":"Button","props":{"label":"Show everything","variant":"outline","action":{"setState":{"/filters/kind":"all","/filters/range":"all"}}}}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"all"},{"$state":"/filters/range","eq":"all"}],"props":{"title":"All kinds · All history","subtitle":"150 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":1760,"delta":"+725.0%","trend":"up","caption":"total; latest 132 vs 16 before"}}]},{"type":"Card","props":{"title":"Files over Date by Kind","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"},"color":{"field":"kind","type":"nominal"}},"sort":"x","data":{"$state":"/data/slices/all_all"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/all_all"},"pageSize":10,"caption":"150 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"all"},{"$state":"/filters/range","eq":"90d"}],"props":{"title":"All kinds · Last 90 days","subtitle":"139 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":1185,"delta":"+725.0%","trend":"up","caption":"total; latest 132 vs 16 before"}}]},{"type":"Card","props":{"title":"Files over Date by Kind","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"},"color":{"field":"kind","type":"nominal"}},"sort":"x","data":{"$state":"/data/slices/all_90d"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/all_90d"},"pageSize":10,"caption":"139 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"all"},{"$state":"/filters/range","eq":"30d"}],"props":{"title":"All kinds · Last 30 days","subtitle":"139 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":1185,"delta":"+725.0%","trend":"up","caption":"total; latest 132 vs 16 before"}}]},{"type":"Card","props":{"title":"Files over Date by Kind","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"},"color":{"field":"kind","type":"nominal"}},"sort":"x","data":{"$state":"/data/slices/all_30d"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/all_30d"},"pageSize":10,"caption":"139 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"build"},{"$state":"/filters/range","eq":"all"}],"props":{"title":"Build · All history","subtitle":"41 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":470,"delta":"-91.9%","trend":"down","caption":"total; latest 24 vs 297 before"}}]},{"type":"Card","props":{"title":"Files over Date","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"}},"sort":"x","data":{"$state":"/data/slices/build_all"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/build_all"},"pageSize":10,"caption":"41 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"build"},{"$state":"/filters/range","eq":"90d"}],"props":{"title":"Build · Last 90 days","subtitle":"37 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":415,"delta":"-91.9%","trend":"down","caption":"total; latest 24 vs 297 before"}}]},{"type":"Card","props":{"title":"Files over Date","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"}},"sort":"x","data":{"$state":"/data/slices/build_90d"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/build_90d"},"pageSize":10,"caption":"37 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"build"},{"$state":"/filters/range","eq":"30d"}],"props":{"title":"Build · Last 30 days","subtitle":"37 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":415,"delta":"-91.9%","trend":"down","caption":"total; latest 24 vs 297 before"}}]},{"type":"Card","props":{"title":"Files over Date","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"}},"sort":"x","data":{"$state":"/data/slices/build_30d"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/build_30d"},"pageSize":10,"caption":"37 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"repair"},{"$state":"/filters/range","eq":"all"}],"props":{"title":"Repair · All history","subtitle":"13 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":436,"delta":"+3500.0%","trend":"up","caption":"total; latest 72 vs 2 before"}}]},{"type":"Card","props":{"title":"Files over Date","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"}},"sort":"x","data":{"$state":"/data/slices/repair_all"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/repair_all"},"pageSize":10,"caption":"13 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"repair"},{"$state":"/filters/range","eq":"90d"}],"props":{"title":"Repair · Last 90 days","subtitle":"10 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":74,"delta":"+3500.0%","trend":"up","caption":"total; latest 72 vs 2 before"}}]},{"type":"Card","props":{"title":"Files over Date","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"}},"sort":"x","data":{"$state":"/data/slices/repair_90d"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/repair_90d"},"pageSize":10,"caption":"10 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"repair"},{"$state":"/filters/range","eq":"30d"}],"props":{"title":"Repair · Last 30 days","subtitle":"10 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":74,"delta":"+3500.0%","trend":"up","caption":"total; latest 72 vs 2 before"}}]},{"type":"Card","props":{"title":"Files over Date","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"}},"sort":"x","data":{"$state":"/data/slices/repair_30d"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/repair_30d"},"pageSize":10,"caption":"10 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"plan"},{"$state":"/filters/range","eq":"all"}],"props":{"title":"Plan · All history","subtitle":"8 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":28,"caption":"total of 8 rows"}}]},{"type":"Card","props":{"title":"Files over Date by Hash","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"},"color":{"field":"hash","type":"nominal"}},"sort":"x","data":{"$state":"/data/slices/plan_all"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/plan_all"},"pageSize":10,"caption":"8 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"plan"},{"$state":"/filters/range","eq":"90d"}],"props":{"title":"Plan · Last 90 days","subtitle":"8 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":28,"caption":"total of 8 rows"}}]},{"type":"Card","props":{"title":"Files over Date by Hash","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"},"color":{"field":"hash","type":"nominal"}},"sort":"x","data":{"$state":"/data/slices/plan_90d"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/plan_90d"},"pageSize":10,"caption":"8 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"plan"},{"$state":"/filters/range","eq":"30d"}],"props":{"title":"Plan · Last 30 days","subtitle":"8 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":28,"caption":"total of 8 rows"}}]},{"type":"Card","props":{"title":"Files over Date by Hash","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"},"color":{"field":"hash","type":"nominal"}},"sort":"x","data":{"$state":"/data/slices/plan_30d"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/plan_30d"},"pageSize":10,"caption":"8 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"tend"},{"$state":"/filters/range","eq":"all"}],"props":{"title":"Tend · All history","subtitle":"88 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":826,"delta":"+125.0%","trend":"up","caption":"total; latest 36 vs 16 before"}}]},{"type":"Card","props":{"title":"Files over Date","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"}},"sort":"x","data":{"$state":"/data/slices/tend_all"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/tend_all"},"pageSize":10,"caption":"88 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"tend"},{"$state":"/filters/range","eq":"90d"}],"props":{"title":"Tend · Last 90 days","subtitle":"84 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":668,"delta":"+125.0%","trend":"up","caption":"total; latest 36 vs 16 before"}}]},{"type":"Card","props":{"title":"Files over Date","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"}},"sort":"x","data":{"$state":"/data/slices/tend_90d"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/tend_90d"},"pageSize":10,"caption":"84 commits, newest last"}}]}]},{"type":"Section","visible":[{"$state":"/filters/kind","eq":"tend"},{"$state":"/filters/range","eq":"30d"}],"props":{"title":"Tend · Last 30 days","subtitle":"84 commits"},"children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Files","value":668,"delta":"+125.0%","trend":"up","caption":"total; latest 36 vs 16 before"}}]},{"type":"Card","props":{"title":"Files over Date","description":"date is time, so position along x shows change"},"children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"date","type":"temporal"},"y":{"field":"files","type":"quantitative","aggregate":"sum","title":"Files"}},"sort":"x","data":{"$state":"/data/slices/tend_30d"}}}]},{"type":"Card","props":{"title":"Commits"},"children":[{"type":"Table","props":{"columns":[{"key":"date","label":"Date","format":"date"},{"key":"hash","label":"Commit"},{"key":"kind","label":"Kind"},{"key":"files","label":"Files","align":"right"},{"key":"subject","label":"Subject"}],"rows":{"$state":"/data/slices/tend_30d"},"pageSize":10,"caption":"84 commits, newest last"}}]}]},{"type":"Callout","props":{"variant":"neutral","title":"About this data","body":"150 commits from git log (merges, which change no files of their own, are left out). Kind comes from the subject prefix only: feat → Build, fix → Repair, docs → Plan, anything else → Tend."}}]}}}},{"id":"chart-trend","track":"charts","title":"Change over time","summary":"Time is on x and sorted, a line connects the months, and the baseline is not forced to zero.","principle":"chart-trend","tags":["charts","trend","line"],"evidence":["lib/json-render/recommend.ts (recommend, mapToSpec)","lib/json-render/catalog.ts (CHART_GUIDE)"],"body":{"kind":"chart","question":"change over time","intent":"trend","expect":{"mark":"line"},"spec":{"title":"Signups","description":"Signups over Month","provenance":"data","state":{"data":{"signups":[{"month":"2026-01-01","signups":116},{"month":"2026-02-01","signups":145},{"month":"2026-03-01","signups":142},{"month":"2026-04-01","signups":156},{"month":"2026-05-01","signups":179},{"month":"2026-06-01","signups":207},{"month":"2026-07-01","signups":206},{"month":"2026-08-01","signups":211},{"month":"2026-09-01","signups":246},{"month":"2026-10-01","signups":250},{"month":"2026-11-01","signups":245},{"month":"2026-12-01","signups":260}]}},"root":{"type":"Page","children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Signups","value":2363,"delta":"+6.1%","trend":"up","caption":"total; latest 260 vs 245 before"}}]},{"type":"Card","children":[{"type":"Chart","props":{"mark":"line","encoding":{"x":{"field":"month","type":"temporal"},"y":{"field":"signups","type":"quantitative","aggregate":"sum","title":"Signups"}},"sort":"x","title":"Signups over Month","description":"month is time, so position along x shows change","data":{"$state":"/data/signups"}}}]},{"type":"Card","props":{"title":"Rows"},"children":[{"type":"Table","props":{"columns":[{"key":"month","label":"Month","format":"date"},{"key":"signups","label":"Signups","align":"right"}],"rows":{"$state":"/data/signups"},"pageSize":10,"caption":"12 rows from signups"}}]},{"type":"Callout","props":{"variant":"neutral","title":"About this data","body":"12 rows, 2 columns from \"signups\". No missing values."}}]}}}},{"id":"chart-compare","track":"charts","title":"Compare categories","summary":"Bars from a zero baseline, sorted by value, so the order is the finding.","principle":"chart-compare","tags":["charts","compare","bar"],"evidence":["lib/json-render/recommend.ts (recommend, mapToSpec)","lib/json-render/catalog.ts (CHART_GUIDE)"],"body":{"kind":"chart","question":"compare categories","intent":"compare","expect":{"mark":"bar","sort":"-y"},"spec":{"title":"Scores","description":"Score by Assignment","provenance":"data","state":{"data":{"scores":[{"assignment":"Lab 1","score":72},{"assignment":"Lab 2","score":79},{"assignment":"Quiz 1","score":82},{"assignment":"Lab 3","score":94},{"assignment":"Project","score":77},{"assignment":"Final","score":81}]}},"root":{"type":"Page","children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Score","value":80.8333333333,"caption":"average of 6 rows"}}]},{"type":"Card","children":[{"type":"Chart","props":{"mark":"bar","encoding":{"x":{"field":"assignment","type":"nominal"},"y":{"field":"score","type":"quantitative","aggregate":"mean","title":"Score"}},"sort":"-y","horizontal":false,"title":"Score by Assignment","description":"bars from a zero baseline compare magnitudes accurately","data":{"$state":"/data/scores"}}}]},{"type":"Card","props":{"title":"Rows"},"children":[{"type":"Table","props":{"columns":[{"key":"assignment","label":"Assignment"},{"key":"score","label":"Score","align":"right"}],"rows":{"$state":"/data/scores"},"pageSize":10,"caption":"6 rows from scores"}}]},{"type":"Callout","props":{"variant":"neutral","title":"About this data","body":"6 rows, 2 columns from \"scores\". No missing values."}}]}}}},{"id":"chart-rank","track":"charts","title":"Ranking","summary":"Fourteen courses, so it shows the top ten as horizontal bars and says the rest were folded away.","principle":"chart-rank","tags":["charts","rank","bar"],"evidence":["lib/json-render/recommend.ts (recommend, mapToSpec)","lib/json-render/catalog.ts (CHART_GUIDE)"],"body":{"kind":"chart","question":"ranking / top N","intent":"rank","expect":{"mark":"bar","horizontal":true,"sort":"-y"},"spec":{"title":"Enrollment","description":"Enrollment by Course (ranked)","provenance":"data","state":{"data":{"enrollment":[{"course":"Intro to ML","enrollment":216},{"course":"Data Structures","enrollment":199},{"course":"Databases","enrollment":186},{"course":"Ethics in AI","enrollment":188},{"course":"Networks","enrollment":170},{"course":"Algorithms","enrollment":154},{"course":"Statistics","enrollment":144},{"course":"Linear Algebra","enrollment":131},{"course":"Compilers","enrollment":121},{"course":"Security","enrollment":120},{"course":"Graphics","enrollment":98},{"course":"HCI","enrollment":97},{"course":"Cloud","enrollment":81},{"course":"Robotics","enrollment":62}]}},"root":{"type":"Page","children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Enrollment","value":1967,"caption":"total of 14 rows"}}]},{"type":"Card","children":[{"type":"Chart","props":{"mark":"bar","encoding":{"x":{"field":"course","type":"nominal"},"y":{"field":"enrollment","type":"quantitative","aggregate":"sum","title":"Enrollment"}},"sort":"-y","horizontal":true,"topK":10,"title":"Enrollment by Course (ranked)","description":"bars from a zero baseline compare magnitudes accurately","data":{"$state":"/data/enrollment"}}}]},{"type":"Card","props":{"title":"Rows"},"children":[{"type":"Table","props":{"columns":[{"key":"course","label":"Course"},{"key":"enrollment","label":"Enrollment","align":"right"}],"rows":{"$state":"/data/enrollment"},"pageSize":10,"caption":"14 rows from enrollment"}}]},{"type":"Callout","props":{"variant":"neutral","title":"About this data","body":"14 rows, 2 columns from \"enrollment\". No missing values."}}]}}}},{"id":"chart-composition","track":"charts","title":"Part of a whole","summary":"Four parts of one total: few enough that angles still compare. Past five it switches to bars.","principle":"chart-composition","tags":["charts","composition","arc"],"evidence":["lib/json-render/recommend.ts (recommend, mapToSpec)","lib/json-render/catalog.ts (CHART_GUIDE)"],"body":{"kind":"chart","question":"part of a whole","intent":"composition","expect":{"mark":"arc"},"spec":{"title":"Sessions","description":"Share of Sessions by Device","provenance":"data","state":{"data":{"sessions":[{"device":"Phone","sessions":5400},{"device":"Laptop","sessions":3900},{"device":"Tablet","sessions":700},{"device":"Other","sessions":250}]}},"root":{"type":"Page","children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Sessions","value":10250,"caption":"total of 4 rows"}}]},{"type":"Card","children":[{"type":"Chart","props":{"mark":"arc","encoding":{"color":{"field":"device","type":"nominal"},"theta":{"field":"sessions","type":"quantitative","aggregate":"sum"}},"title":"Share of Sessions by Device","description":"4 parts (≤ 5) of one total: angles are still comparable","data":{"$state":"/data/sessions"}}}]},{"type":"Card","props":{"title":"Rows"},"children":[{"type":"Table","props":{"columns":[{"key":"device","label":"Device"},{"key":"sessions","label":"Sessions","align":"right"}],"rows":{"$state":"/data/sessions"},"pageSize":10,"caption":"4 rows from sessions"}}]},{"type":"Callout","props":{"variant":"neutral","title":"About this data","body":"4 rows, 2 columns from \"sessions\". No missing values."}}]}}}},{"id":"chart-composition-many","track":"charts","title":"Too many parts for a pie","summary":"Nine regions: the recommender refuses a pie and draws sorted bars, because nine slices cannot be compared.","principle":"chart-composition","tags":["charts","composition","bar"],"evidence":["lib/json-render/recommend.ts (recommend, mapToSpec)","lib/json-render/catalog.ts (CHART_GUIDE)"],"body":{"kind":"chart","question":"part of a whole","intent":"composition","expect":{"mark":"bar","horizontal":true,"sort":"-y"},"spec":{"title":"Revenue","description":"Revenue by Region (parts)","provenance":"data","state":{"data":{"revenue":[{"region":"North","revenue":927},{"region":"South","revenue":805},{"region":"East","revenue":783},{"region":"West","revenue":671},{"region":"Central","revenue":584},{"region":"Coastal","revenue":471},{"region":"Highland","revenue":408},{"region":"Island","revenue":349},{"region":"Border","revenue":258}]}},"root":{"type":"Page","children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Revenue","value":5256,"caption":"total of 9 rows"}}]},{"type":"Card","children":[{"type":"Chart","props":{"mark":"bar","horizontal":true,"sort":"-y","encoding":{"x":{"field":"region","type":"nominal"},"y":{"field":"revenue","type":"quantitative","aggregate":"sum"}},"topK":10,"title":"Revenue by Region (parts)","description":"9 parts is too many for a pie; sorted bars show each part's size","data":{"$state":"/data/revenue"}}}]},{"type":"Card","props":{"title":"Rows"},"children":[{"type":"Table","props":{"columns":[{"key":"region","label":"Region"},{"key":"revenue","label":"Revenue","align":"right"}],"rows":{"$state":"/data/revenue"},"pageSize":10,"caption":"9 rows from revenue"}}]},{"type":"Callout","props":{"variant":"neutral","title":"About this data","body":"9 rows, 2 columns from \"revenue\". No missing values."}}]}}}},{"id":"chart-distribution","track":"charts","title":"Distribution","summary":"Eighty scores binned by the Freedman-Diaconis rule, so spread, skew and outliers show.","principle":"chart-distribution","tags":["charts","distribution","histogram"],"evidence":["lib/json-render/recommend.ts (recommend, mapToSpec)","lib/json-render/catalog.ts (CHART_GUIDE)"],"body":{"kind":"chart","question":"distribution","intent":"distribution","expect":{"mark":"histogram"},"spec":{"title":"Quiz","description":"Distribution of Score","provenance":"data","state":{"data":{"quiz":[{"student":"S1","score":65},{"student":"S2","score":60},{"student":"S3","score":77},{"student":"S4","score":100},{"student":"S5","score":66},{"student":"S6","score":91},{"student":"S7","score":63},{"student":"S8","score":67},{"student":"S9","score":76},{"student":"S10","score":75},{"student":"S11","score":82},{"student":"S12","score":66},{"student":"S13","score":66},{"student":"S14","score":69},{"student":"S15","score":61},{"student":"S16","score":55},{"student":"S17","score":71},{"student":"S18","score":72},{"student":"S19","score":53},{"student":"S20","score":60},{"student":"S21","score":64},{"student":"S22","score":79},{"student":"S23","score":66},{"student":"S24","score":86},{"student":"S25","score":70},{"student":"S26","score":89},{"student":"S27","score":80},{"student":"S28","score":72},{"student":"S29","score":66},{"student":"S30","score":80},{"student":"S31","score":89},{"student":"S32","score":55},{"student":"S33","score":60},{"student":"S34","score":87},{"student":"S35","score":61},{"student":"S36","score":74},{"student":"S37","score":69},{"student":"S38","score":66},{"student":"S39","score":66},{"student":"S40","score":69},{"student":"S41","score":74},{"student":"S42","score":56},{"student":"S43","score":64},{"student":"S44","score":99},{"student":"S45","score":49},{"student":"S46","score":75},{"student":"S47","score":66},{"student":"S48","score":77},{"student":"S49","score":69},{"student":"S50","score":72},{"student":"S51","score":66},{"student":"S52","score":53},{"student":"S53","score":72},{"student":"S54","score":70},{"student":"S55","score":100},{"student":"S56","score":75},{"student":"S57","score":64},{"student":"S58","score":73},{"student":"S59","score":81},{"student":"S60","score":40},{"student":"S61","score":69},{"student":"S62","score":69},{"student":"S63","score":67},{"student":"S64","score":58},{"student":"S65","score":88},{"student":"S66","score":75},{"student":"S67","score":60},{"student":"S68","score":49},{"student":"S69","score":54},{"student":"S70","score":72},{"student":"S71","score":69},{"student":"S72","score":78},{"student":"S73","score":78},{"student":"S74","score":58},{"student":"S75","score":60},{"student":"S76","score":71},{"student":"S77","score":91},{"student":"S78","score":78},{"student":"S79","score":85},{"student":"S80","score":64}]}},"root":{"type":"Page","children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Score","value":70.3875,"caption":"average of 80 rows"}}]},{"type":"Card","children":[{"type":"Chart","props":{"mark":"histogram","encoding":{"x":{"field":"score","type":"quantitative"}},"title":"Distribution of Score","description":"a histogram shows spread, skew and outliers; bins by Freedman-Diaconis","data":{"$state":"/data/quiz"}}}]},{"type":"Card","props":{"title":"Rows"},"children":[{"type":"Table","props":{"columns":[{"key":"student","label":"Student"},{"key":"score","label":"Score","align":"right"}],"rows":{"$state":"/data/quiz"},"pageSize":10,"caption":"80 rows from quiz"}}]},{"type":"Callout","props":{"variant":"neutral","title":"About this data","body":"80 rows, 2 columns from \"quiz\". No missing values."}}]}}}},{"id":"chart-relationship","track":"charts","title":"Relationship of two numbers","summary":"Both axes are measures and the points are not connected, because rows are not a sequence.","principle":"chart-relationship","tags":["charts","relationship","point"],"evidence":["lib/json-render/recommend.ts (recommend, mapToSpec)","lib/json-render/catalog.ts (CHART_GUIDE)"],"body":{"kind":"chart","question":"relationship of two numbers","intent":"relationship","expect":{"mark":"point"},"spec":{"title":"Study","description":"Score vs Hours","provenance":"data","state":{"data":{"study":[{"student":"S1","hours":5.7,"score":72},{"student":"S2","hours":1.5,"score":45},{"student":"S3","hours":8.7,"score":88},{"student":"S4","hours":6.3,"score":79},{"student":"S5","hours":2.3,"score":55},{"student":"S6","hours":10.1,"score":82},{"student":"S7","hours":10.7,"score":83},{"student":"S8","hours":9.6,"score":80},{"student":"S9","hours":1.6,"score":61},{"student":"S10","hours":3,"score":52},{"student":"S11","hours":11,"score":89},{"student":"S12","hours":7.4,"score":85},{"student":"S13","hours":6.5,"score":76},{"student":"S14","hours":8.6,"score":92},{"student":"S15","hours":5.6,"score":67},{"student":"S16","hours":1.6,"score":62},{"student":"S17","hours":2.4,"score":49},{"student":"S18","hours":1.8,"score":59},{"student":"S19","hours":5.6,"score":71},{"student":"S20","hours":6.6,"score":78},{"student":"S21","hours":11.7,"score":100},{"student":"S22","hours":1.6,"score":65},{"student":"S23","hours":4.2,"score":60},{"student":"S24","hours":3.7,"score":61},{"student":"S25","hours":2.5,"score":73},{"student":"S26","hours":3.3,"score":50},{"student":"S27","hours":3.4,"score":55},{"student":"S28","hours":1.1,"score":62},{"student":"S29","hours":10,"score":84},{"student":"S30","hours":6.7,"score":65},{"student":"S31","hours":6.2,"score":71},{"student":"S32","hours":7.7,"score":74},{"student":"S33","hours":4.3,"score":60},{"student":"S34","hours":3.8,"score":61},{"student":"S35","hours":7.6,"score":76},{"student":"S36","hours":4,"score":60},{"student":"S37","hours":8.8,"score":73},{"student":"S38","hours":5.9,"score":74},{"student":"S39","hours":7.9,"score":81},{"student":"S40","hours":7.5,"score":68}]}},"root":{"type":"Page","children":[{"type":"Grid","props":{"columns":2},"children":[{"type":"Stat","props":{"label":"Hours","value":228.5,"caption":"total of 40 rows"}},{"type":"Stat","props":{"label":"Score","value":69.95,"caption":"average of 40 rows"}}]},{"type":"Card","children":[{"type":"Chart","props":{"mark":"point","encoding":{"x":{"field":"hours","type":"quantitative"},"y":{"field":"score","type":"quantitative"}},"title":"Score vs Hours","description":"two measures: a scatter shows correlation, clusters and outliers","data":{"$state":"/data/study"}}}]},{"type":"Card","props":{"title":"Rows"},"children":[{"type":"Table","props":{"columns":[{"key":"student","label":"Student"},{"key":"hours","label":"Hours","align":"right"},{"key":"score","label":"Score","align":"right"}],"rows":{"$state":"/data/study"},"pageSize":10,"caption":"40 rows from study"}}]},{"type":"Callout","props":{"variant":"neutral","title":"About this data","body":"40 rows, 3 columns from \"study\". No missing values."}}]}}}},{"id":"chart-kpi","track":"charts","title":"Headline numbers","summary":"When the question is how much, not how it moves, show the number with its change against the previous period.","principle":"chart-kpi","tags":["charts","kpi","Stat"],"evidence":["lib/json-render/recommend.ts (recommend, mapToSpec)","lib/json-render/catalog.ts (CHART_GUIDE)"],"body":{"kind":"chart","question":"kpi","intent":"kpi","expect":{"component":"Stat"},"spec":{"title":"Signups","provenance":"data","state":{"data":{"signups":[{"month":"2026-01-01","signups":116},{"month":"2026-02-01","signups":145},{"month":"2026-03-01","signups":142},{"month":"2026-04-01","signups":156},{"month":"2026-05-01","signups":179},{"month":"2026-06-01","signups":207},{"month":"2026-07-01","signups":206},{"month":"2026-08-01","signups":211},{"month":"2026-09-01","signups":246},{"month":"2026-10-01","signups":250},{"month":"2026-11-01","signups":245},{"month":"2026-12-01","signups":260}]}},"root":{"type":"Page","children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Signups","value":2363,"delta":"+6.1%","trend":"up","caption":"total; latest 260 vs 245 before"}}]},{"type":"Card","props":{"title":"Rows"},"children":[{"type":"Table","props":{"columns":[{"key":"month","label":"Month","format":"date"},{"key":"signups","label":"Signups","align":"right"}],"rows":{"$state":"/data/signups"},"pageSize":10,"caption":"12 rows from signups"}}]},{"type":"Callout","props":{"variant":"neutral","title":"About this data","body":"12 rows, 2 columns from \"signups\". No missing values."}}]}}}},{"id":"chart-detail","track":"charts","title":"Exact values","summary":"When people need to look values up, a table with right-aligned numbers beats any chart.","principle":"chart-detail","tags":["charts","detail","Table"],"evidence":["lib/json-render/recommend.ts (recommend, mapToSpec)","lib/json-render/catalog.ts (CHART_GUIDE)"],"body":{"kind":"chart","question":"exact values / lookup","intent":"detail","expect":{"component":"Table"},"spec":{"title":"Gradebook","provenance":"data","state":{"data":{"gradebook":[{"assignment":"Lab 1","score":72,"graded":"yes","late":false},{"assignment":"Lab 2","score":79,"graded":"no","late":false},{"assignment":"Quiz 1","score":82,"graded":"yes","late":false},{"assignment":"Lab 3","score":94,"graded":"no","late":false},{"assignment":"Project","score":77,"graded":"yes","late":true},{"assignment":"Final","score":81,"graded":"no","late":false}]}},"root":{"type":"Page","children":[{"type":"Grid","props":{"columns":1},"children":[{"type":"Stat","props":{"label":"Score","value":80.8333333333,"caption":"average of 6 rows"}}]},{"type":"Card","props":{"title":"Rows"},"children":[{"type":"Table","props":{"columns":[{"key":"assignment","label":"Assignment"},{"key":"score","label":"Score","align":"right"},{"key":"graded","label":"Graded"},{"key":"late","label":"Late"}],"rows":{"$state":"/data/gradebook"},"pageSize":10,"caption":"6 rows from gradebook"}}]},{"type":"Callout","props":{"variant":"neutral","title":"About this data","body":"6 rows, 4 columns from \"gradebook\". No missing values."}}]}}}},{"id":"story-platform","track":"data-stories","title":"What is this platform made of?","summary":"A story told from the platform's own graph: the layers, the most connected things, who can reach what, and where the edge is looser than the handler. Five steps, every number computed from the routes, flows and tables.","principle":"story-grounded","also":["story-shape","story-caveats"],"tags":["data-stories","ontology","narrative","real data"],"evidence":["lib/bizont/story.ts (platformStory)","lib/bizont/build.ts (buildGraph)","lib/datastory/index.ts (checkStory)"],"body":{"kind":"story","story":{"id":"ontology-platform","title":"What this platform is made of","question":"Where is the platform most connected, and where is access looser than it looks?","steps":[{"id":"layers","role":"setup","heading":"What it is made of","facts":{"nodes":"840","edges":"927"},"takeaway":"840 things and 927 connections, in six layers: who acts, how work is done, where data lives, what it means, what can act or teach, and who may do what."},{"id":"hubs","role":"evidence","heading":"Where it is most connected","facts":{"top":"Motion","topN":"18","second":"/api/access/validate","secondN":"14"},"takeaway":"Motion is the most connected component, with 18 connections; next is /api/access/validate with 14. A change to either ripples furthest."},{"id":"tiers","role":"evidence","heading":"Who can reach what","facts":{"routes":"428","open":"336"},"takeaway":"428 routes and pages are classified by who may reach them; 336 are open to anyone at the edge."},{"id":"models","role":"complication","heading":"Where the edge is looser than it looks","facts":{"modelRoutes":"55","modelOpen":"47","looser":"192"},"takeaway":"55 routes call a model, and 47 of them are open at the edge. A further 192 public API routes have a handler that checks a session or more, so the edge is looser than the handler."},{"id":"next","role":"resolution","heading":"Where to look first","facts":{"modelOpen":"47","looser":"192","first":"/api/agent/repo"},"takeaway":"Start with the 47 open routes that call a model, beginning with /api/agent/repo: each needs a guard, a budget and a test. Then the 192 whose handler is stricter than the edge."}],"answer":"The platform is 840 things in six layers; Motion is the hub, and 47 open routes call a model.","caveats":["Tiers are what the edge enforces; a handler may check more, which is the point of the last two steps.","Connections are the edges the sources produce (flows, routes, migrations), not every call in the code."]},"spec":{"title":"What this platform is made of","description":"Where is the platform most connected, and where is access looser than it looks?","provenance":"data","state":{"layers":[{"layer":"Organization","things":19},{"layer":"Business processes","things":135},{"layer":"Data and interfaces","things":531},{"layer":"Business meaning","things":68},{"layer":"AI assets","things":82},{"layer":"Governance and runtime","things":5}],"hubs":[{"thing":"Motion","connections":18},{"thing":"/api/access/validate","connections":14},{"thing":"Ontology steward","connections":11},{"thing":"Research agent runner","connections":10},{"thing":"Generative UI","connections":10},{"thing":"/api/buddy","connections":9},{"thing":"Charts","connections":9},{"thing":"/api/access/session","connections":8}],"tiers":[{"tier":"public","routes":336},{"tier":"student","routes":48},{"tier":"professor","routes":9},{"tier":"admin","routes":35}],"models":[{"tier":"public","routes":47},{"tier":"student","routes":7},{"tier":"professor","routes":0},{"tier":"admin","routes":1}]},"root":{"type":"Page","children":[{"type":"Card","props":{"title":"What it is made of"},"children":[{"type":"Text","props":{"text":"840 things and 927 connections, in six layers: who acts, how work is done, where data lives, what it means, what can act or teach, and who may do what.","muted":false}},{"type":"Chart","props":{"title":"Things in each layer","mark":"bar","height":228,"horizontal":true,"data":{"$state":"/layers"},"encoding":{"x":{"field":"layer","type":"nominal","title":"Layer"},"y":{"field":"things","type":"quantitative","title":"Things"}}}}]},{"type":"Card","props":{"title":"Where it is most connected"},"children":[{"type":"Text","props":{"text":"Motion is the most connected component, with 18 connections; next is /api/access/validate with 14. A change to either ripples furthest.","muted":false}},{"type":"Chart","props":{"title":"Most connected things","mark":"bar","height":284,"horizontal":true,"data":{"$state":"/hubs"},"encoding":{"x":{"field":"thing","type":"nominal","title":"Thing"},"y":{"field":"connections","type":"quantitative","title":"Connections"}}}}]},{"type":"Card","props":{"title":"Who can reach what"},"children":[{"type":"Text","props":{"text":"428 routes and pages are classified by who may reach them; 336 are open to anyone at the edge.","muted":false}},{"type":"Chart","props":{"title":"Routes and pages by access tier","mark":"bar","height":180,"data":{"$state":"/tiers"},"encoding":{"x":{"field":"tier","type":"nominal","title":"Tier at the edge"},"y":{"field":"routes","type":"quantitative","title":"Routes"}}}}]},{"type":"Card","props":{"title":"Where the edge is looser than it looks"},"children":[{"type":"Text","props":{"text":"55 routes call a model, and 47 of them are open at the edge. A further 192 public API routes have a handler that checks a session or more, so the edge is looser than the handler.","muted":false}},{"type":"Chart","props":{"title":"Routes that call a model, by access tier","mark":"bar","height":180,"data":{"$state":"/models"},"encoding":{"x":{"field":"tier","type":"nominal","title":"Tier at the edge"},"y":{"field":"routes","type":"quantitative","title":"Routes that call a model"}}}}]},{"type":"Card","props":{"title":"Where to look first"},"children":[{"type":"Text","props":{"text":"Start with the 47 open routes that call a model, beginning with /api/agent/repo: each needs a guard, a budget and a test. Then the 192 whose handler is stricter than the edge.","muted":false}}]},{"type":"Callout","props":{"variant":"success","title":"The answer","body":"The platform is 840 things in six layers; Motion is the hub, and 47 open routes call a model."}},{"type":"Callout","props":{"variant":"warning","title":"What this cannot tell you","body":"Tiers are what the edge enforces; a handler may check more, which is the point of the last two steps. Connections are the edges the sources produce (flows, routes, migrations), not every call in the code."}}]}}}},{"id":"story-change","track":"data-stories","title":"What happens if we change a busy route?","summary":"The same graph, asked a different question: who depends on the best-connected route that a flow walks through, which flows walk through it, what it shares with others, and what to re-run. It works for any node the graph has.","principle":"story-shape","also":["story-grounded"],"tags":["data-stories","ontology","impact","narrative","real data"],"evidence":["lib/bizont/story.ts (changeStory)","lib/bizont/analysis.ts (impact)"],"body":{"kind":"story","story":{"id":"ontology-change-endpoint:api_access_validate","title":"Changing /api/access/validate","question":"What happens if we change /api/access/validate?","steps":[{"id":"direct","role":"setup","heading":"What it touches directly","facts":{"node":"/api/access/validate","direct":"14","kind":"Endpoint"},"takeaway":"/api/access/validate is an endpoint in the data layer with 14 direct connections."},{"id":"dependents","role":"evidence","heading":"Who depends on it","facts":{"total":"26","layers":"1","node":"/api/access/validate"},"takeaway":"If /api/access/validate changes, 26 things depend on it, across 1 layer."},{"id":"processes","role":"evidence","heading":"Which flows walk through it","facts":{"processes":"13","steps":"13"},"takeaway":"13 flows walk through it, using it in 13 steps."},{"id":"shared","role":"complication","heading":"What it shares with others","facts":{"hub":"Tier: public","hubN":"340","relies":"5"},"takeaway":"It relies on 5 things, and its busiest neighbor, Tier: public, has 340 connections of its own, so a change there reaches the others too."},{"id":"rerun","role":"resolution","heading":"What to re-run","facts":{"flows":"guest-to-portfolio adaptive-quiz buddy-practice spec-studio admin-flags-routes admin-publish-lecture agent-boundaries cross-platform-build spec-to-app ide-review demo-student-tour demo-professor-tour presentation-stage","count":"13","direct":"14","dependents":"26"},"takeaway":"Before changing it, re-run 13 flows: pnpm flow guest-to-portfolio, pnpm flow adaptive-quiz, pnpm flow buddy-practice, pnpm flow spec-studio, pnpm flow admin-flags-routes, pnpm flow admin-publish-lecture, pnpm flow agent-boundaries, pnpm flow cross-platform-build, pnpm flow spec-to-app, pnpm flow ide-review, pnpm flow demo-student-tour, pnpm flow demo-professor-tour, pnpm flow presentation-stage."}],"answer":"26 things depend on /api/access/validate; 13 flows should be re-run.","caveats":["Dependence follows the edges in the graph; code that reaches a thing without a recorded edge is not shown.","A flow is re-run by name here; whether it covers the exact line you change is for you to judge."]},"spec":{"title":"Changing /api/access/validate","description":"What happens if we change /api/access/validate?","provenance":"data","state":{"direct":[{"connection":"GUARDED_BY out","count":1},{"connection":"CALLS in","count":13}],"dependents":[{"layer":"Business processes","things":26}],"processes":[{"flow":"guest-to-portfolio","steps":1},{"flow":"adaptive-quiz","steps":1},{"flow":"buddy-practice","steps":1},{"flow":"spec-studio","steps":1},{"flow":"admin-flags-routes","steps":1},{"flow":"admin-publish-lecture","steps":1},{"flow":"agent-boundaries","steps":1},{"flow":"cross-platform-build","steps":1},{"flow":"spec-to-app","steps":1},{"flow":"ide-review","steps":1},{"flow":"demo-student-tour","steps":1},{"flow":"demo-professor-tour","steps":1},{"flow":"presentation-stage","steps":1}],"shared":[{"kind":"Role","things":4},{"kind":"Endpoint","things":336}]},"root":{"type":"Page","children":[{"type":"Card","props":{"title":"What it touches directly"},"children":[{"type":"Text","props":{"text":"/api/access/validate is an endpoint in the data layer with 14 direct connections.","muted":false}},{"type":"Chart","props":{"title":"Direct connections by kind","mark":"bar","height":180,"horizontal":true,"data":{"$state":"/direct"},"encoding":{"x":{"field":"connection","type":"nominal","title":"Connection"},"y":{"field":"count","type":"quantitative","title":"Count"}}}}]},{"type":"Card","props":{"title":"Who depends on it"},"children":[{"type":"Text","props":{"text":"If /api/access/validate changes, 26 things depend on it, across 1 layer.","muted":false}},{"type":"Chart","props":{"title":"Things that depend on it, by layer","mark":"bar","height":180,"data":{"$state":"/dependents"},"encoding":{"x":{"field":"layer","type":"nominal","title":"Layer"},"y":{"field":"things","type":"quantitative","title":"Things"}}}}]},{"type":"Card","props":{"title":"Which flows walk through it"},"children":[{"type":"Text","props":{"text":"13 flows walk through it, using it in 13 steps.","muted":false}},{"type":"Chart","props":{"title":"Steps that use it, by flow","mark":"bar","height":424,"horizontal":true,"data":{"$state":"/processes"},"encoding":{"x":{"field":"flow","type":"nominal","title":"Flow"},"y":{"field":"steps","type":"quantitative","title":"Steps"}}}}]},{"type":"Card","props":{"title":"What it shares with others"},"children":[{"type":"Text","props":{"text":"It relies on 5 things, and its busiest neighbor, Tier: public, has 340 connections of its own, so a change there reaches the others too.","muted":false}},{"type":"Chart","props":{"title":"What is connected to Tier: public","mark":"bar","height":180,"data":{"$state":"/shared"},"encoding":{"x":{"field":"kind","type":"nominal","title":"Kind"},"y":{"field":"things","type":"quantitative","title":"Things"}}}}]},{"type":"Card","props":{"title":"What to re-run"},"children":[{"type":"Text","props":{"text":"Before changing it, re-run 13 flows: pnpm flow guest-to-portfolio, pnpm flow adaptive-quiz, pnpm flow buddy-practice, pnpm flow spec-studio, pnpm flow admin-flags-routes, pnpm flow admin-publish-lecture, pnpm flow agent-boundaries, pnpm flow cross-platform-build, pnpm flow spec-to-app, pnpm flow ide-review, pnpm flow demo-student-tour, pnpm flow demo-professor-tour, pnpm flow presentation-stage.","muted":false}}]},{"type":"Callout","props":{"variant":"success","title":"The answer","body":"26 things depend on /api/access/validate; 13 flows should be re-run."}},{"type":"Callout","props":{"variant":"warning","title":"What this cannot tell you","body":"Dependence follows the edges in the graph; code that reaches a thing without a recorded edge is not shown. A flow is re-run by name here; whether it covers the exact line you change is for you to judge."}}]}}}},{"id":"story-learning","track":"data-stories","title":"Where do learners get stuck?","summary":"Setup, evidence, a complication, then what to do: five steps, each a chart and one sentence, every number computed.","principle":"story-shape","also":["story-caveats"],"tags":["data-stories","learning","narrative"],"evidence":["lib/datastory/index.ts (checkStory, storySpec)","lib/codebuddy/core.ts"],"body":{"kind":"story","story":{"id":"where-learners-stick","title":"Where do learners get stuck?","question":"Which concept do learners find hardest, and what helps?","steps":[{"id":"class","role":"setup","heading":"Sixty learners, six concepts","facts":{"learners":"60","concepts":"6","attempts":"4","answers":"1440"},"takeaway":"60 learners answered 4 questions on each of 6 concepts: 1440 answers. Where did they get stuck?"},{"id":"weakest","role":"evidence","heading":"Recursion is where they struggle","facts":{"weakest":"Recursion","weakestRate":"43%","strongest":"Variables","strongestRate":"83%"},"takeaway":"Recursion is answered correctly 43% of the time, against 83% for Variables. It is the one to look at."},{"id":"practice","role":"evidence","heading":"Does practice help?","facts":{"first":"32%","last":"48%","concept":"Recursion"},"takeaway":"On Recursion the share correct rises from 32% on the first attempt to 48% on the last."},{"id":"hints","role":"complication","heading":"And a hint?","facts":{"hinted":"59%","unhinted":"32%","concept":"Recursion"},"takeaway":"With a hint, Recursion is answered correctly 59% of the time; without, 32%. A hint helps, but it also means the answer was not entirely the learner's own, so it is credited less."},{"id":"next","role":"resolution","heading":"What to do next","facts":{"concept":"Recursion"},"takeaway":"Spend the next session on Recursion: start with unhinted practice questions, and bring in hints only after a first try."}],"answer":"Recursion is the hardest concept, practice and hints both help, and the next session should target it.","caveats":["The quiz results are simulated from a simple model of ability and difficulty, so the pattern is known to be there.","With real learners, check the sample is large enough and that questions on one concept are comparable before acting."]},"spec":{"title":"Where do learners get stuck?","description":"Which concept do learners find hardest, and what helps?","provenance":"data","state":{"class":[{"concept":"Recursion","correct":43},{"concept":"Error handling","correct":55},{"concept":"Functions","correct":64},{"concept":"Loops","correct":67},{"concept":"Testing","correct":67},{"concept":"Variables","correct":83}],"weakest":[{"concept":"Recursion","correct":43},{"concept":"Variables","correct":83}],"practice":[{"attempt":1,"correct":32},{"attempt":2,"correct":43},{"attempt":3,"correct":48},{"attempt":4,"correct":48}],"hints":[{"answer":"Without a hint","correct":32},{"answer":"With a hint","correct":59}]},"root":{"type":"Page","children":[{"type":"Card","props":{"title":"Sixty learners, six concepts"},"children":[{"type":"Text","props":{"text":"60 learners answered 4 questions on each of 6 concepts: 1440 answers. Where did they get stuck?","muted":false}},{"type":"Chart","props":{"title":"Share of answers correct, by concept","mark":"bar","horizontal":true,"height":240,"sort":"-y","data":{"$state":"/class"},"encoding":{"x":{"field":"concept","type":"nominal","title":"Concept"},"y":{"field":"correct","type":"quantitative","title":"Correct (%)","domain":[0,100]}}}}]},{"type":"Card","props":{"title":"Recursion is where they struggle"},"children":[{"type":"Text","props":{"text":"Recursion is answered correctly 43% of the time, against 83% for Variables. It is the one to look at.","muted":false}},{"type":"Chart","props":{"title":"Weakest and strongest concept: share correct","mark":"bar","height":180,"data":{"$state":"/weakest"},"encoding":{"x":{"field":"concept","type":"nominal","title":"Concept"},"y":{"field":"correct","type":"quantitative","title":"Correct (%)","domain":[0,100]}}}}]},{"type":"Card","props":{"title":"Does practice help?"},"children":[{"type":"Text","props":{"text":"On Recursion the share correct rises from 32% on the first attempt to 48% on the last.","muted":false}},{"type":"Chart","props":{"title":"Recursion: share correct by attempt","mark":"line","height":200,"data":{"$state":"/practice"},"encoding":{"x":{"field":"attempt","type":"quantitative","title":"Attempt"},"y":{"field":"correct","type":"quantitative","title":"Correct (%)","domain":[0,100]}}}}]},{"type":"Card","props":{"title":"And a hint?"},"children":[{"type":"Text","props":{"text":"With a hint, Recursion is answered correctly 59% of the time; without, 32%. A hint helps, but it also means the answer was not entirely the learner's own, so it is credited less.","muted":false}},{"type":"Chart","props":{"title":"Recursion: share correct, with and without a hint","mark":"bar","height":200,"data":{"$state":"/hints"},"encoding":{"x":{"field":"answer","type":"nominal","title":"Answer"},"y":{"field":"correct","type":"quantitative","title":"Correct (%)","domain":[0,100]}}}}]},{"type":"Card","props":{"title":"What to do next"},"children":[{"type":"Text","props":{"text":"Spend the next session on Recursion: start with unhinted practice questions, and bring in hints only after a first try.","muted":false}}]},{"type":"Callout","props":{"variant":"success","title":"The answer","body":"Recursion is the hardest concept, practice and hints both help, and the next session should target it."}},{"type":"Callout","props":{"variant":"warning","title":"What this cannot tell you","body":"The quiz results are simulated from a simple model of ability and difficulty, so the pattern is known to be there. With real learners, check the sample is large enough and that questions on one concept are comparable before acting."}}]}}}},{"id":"story-signups","track":"data-stories","title":"Is signup growth steady?","summary":"Three steps from one series: the trend, the spread around it, and what a plan should assume. The smallest story that still has a shape.","principle":"story-shape","also":["story-grounded","story-caveats"],"tags":["data-stories","growth","narrative"],"evidence":["lib/datastory/index.ts (checkStory)","lib/playbook/examples/charts.ts (SIGNUPS)"],"body":{"kind":"story","story":{"id":"signups-steady","title":"Is signup growth steady?","question":"Are signups growing steadily enough to plan on?","steps":[{"id":"series","role":"setup","heading":"Signups over 12 months","facts":{"months":"12","first":"116","last":"260","growth":"124%","from":"2026-01","to":"2026-12"},"takeaway":"Monthly signups went from 116 in 2026-01 to 260 in 2026-12, up 124%."},{"id":"gains","role":"evidence","heading":"Month-on-month change","facts":{"avgGain":"13","dips":"3","worstFall":"5"},"takeaway":"The average month adds 13 signups. 3 of the months fell, the worst by 5."},{"id":"plan","role":"resolution","heading":"What to plan on","facts":{"avgGain":"13"},"takeaway":"Plan on about 13 more signups each month, and treat any single month's change as noise unless it is outside the usual spread."}],"answer":"Growth is steady enough to plan on at the average monthly gain; individual months are noisy.","caveats":["Twelve months is a short history; seasonality cannot be seen in it.","The signup counts are simulated for this example."]},"spec":{"title":"Is signup growth steady?","description":"Are signups growing steadily enough to plan on?","provenance":"data","state":{"series":[{"month":"2026-01-01","signups":116},{"month":"2026-02-01","signups":145},{"month":"2026-03-01","signups":142},{"month":"2026-04-01","signups":156},{"month":"2026-05-01","signups":179},{"month":"2026-06-01","signups":207},{"month":"2026-07-01","signups":206},{"month":"2026-08-01","signups":211},{"month":"2026-09-01","signups":246},{"month":"2026-10-01","signups":250},{"month":"2026-11-01","signups":245},{"month":"2026-12-01","signups":260}],"gains":[{"month":"2026-02-01","change":29},{"month":"2026-03-01","change":-3},{"month":"2026-04-01","change":14},{"month":"2026-05-01","change":23},{"month":"2026-06-01","change":28},{"month":"2026-07-01","change":-1},{"month":"2026-08-01","change":5},{"month":"2026-09-01","change":35},{"month":"2026-10-01","change":4},{"month":"2026-11-01","change":-5},{"month":"2026-12-01","change":15}]},"root":{"type":"Page","children":[{"type":"Card","props":{"title":"Signups over 12 months"},"children":[{"type":"Text","props":{"text":"Monthly signups went from 116 in 2026-01 to 260 in 2026-12, up 124%.","muted":false}},{"type":"Chart","props":{"title":"Signups by month","mark":"line","height":200,"data":{"$state":"/series"},"encoding":{"x":{"field":"month","type":"temporal","title":"Month"},"y":{"field":"signups","type":"quantitative","title":"Signups"}}}}]},{"type":"Card","props":{"title":"Month-on-month change"},"children":[{"type":"Text","props":{"text":"The average month adds 13 signups. 3 of the months fell, the worst by 5.","muted":false}},{"type":"Chart","props":{"title":"Change from the previous month","mark":"bar","height":200,"data":{"$state":"/gains"},"encoding":{"x":{"field":"month","type":"temporal","title":"Month"},"y":{"field":"change","type":"quantitative","title":"Change in signups"}}}}]},{"type":"Card","props":{"title":"What to plan on"},"children":[{"type":"Text","props":{"text":"Plan on about 13 more signups each month, and treat any single month's change as noise unless it is outside the usual spread.","muted":false}}]},{"type":"Callout","props":{"variant":"success","title":"The answer","body":"Growth is steady enough to plan on at the average monthly gain; individual months are noisy."}},{"type":"Callout","props":{"variant":"warning","title":"What this cannot tell you","body":"Twelve months is a short history; seasonality cannot be seen in it. The signup counts are simulated for this example."}}]}}}},{"id":"story-alpha","track":"data-stories","title":"Is it alpha, or is it luck?","summary":"The same format on a harder question: eight steps, a simulation with a known truth, and an honest table of how often the method is wrong.","principle":"story-grounded","also":["story-caveats"],"tags":["data-stories","finance","narrative"],"evidence":["lib/alpha/story.ts (alphaStory)","lib/datastory/index.ts (checkStory)"],"body":{"kind":"story","story":{"id":"alpha-or-luck","title":"Is it alpha, or is it luck?","question":"How do you tell a trading rule that has an edge from one that only looks good because it was chosen from many?","steps":[{"id":"two-markets","role":"setup","heading":"Two markets. One hides an edge.","facts":{"years":"7.9","rules":"48"},"takeaway":"Here are 7.9 years of two simulated markets. One is pure noise; the other hides a trend that flips between up and down for months. By eye you cannot tell which. A rule has to: so we try 48 of them."},{"id":"best-of-many","role":"evidence","heading":"Market A: try 48 rules and the best one looks good","facts":{"rules":"48","rule":"Reversion: 60-day, 1.5 deviations","sharpe":"0.82"},"takeaway":"Market A has no edge, yet the best of 48 rules, Reversion: 60-day, 1.5 deviations, shows a Sharpe ratio of 0.82 on the first part of the data. Try enough rules and something always looks like skill."},{"id":"unseen-data","role":"complication","heading":"Then the data it was never chosen on","facts":{"inSample":"0.82","outOfSample":"-0.28","hold":"0.27"},"takeaway":"On the later data the same rule earned a Sharpe of -0.28, against 0.82 when it was chosen. The in-sample number was selection, not skill. Buy and hold managed 0.27 on that stretch."},{"id":"pay-for-trials","role":"evidence","heading":"Charge each winner for the 48 rules tried","facts":{"pAdjustedA":"1.00","deflatedA":"0.28","pAdjustedB":"0.42","deflatedB":"0.54","rules":"48"},"takeaway":"Paying for 48 tries, Market A's winner has an adjusted p-value of 1.00 and a deflated Sharpe of 0.28: no evidence of an edge. Market B's winner has 0.42 and 0.54."},{"id":"trend-holds","role":"evidence","heading":"Market B: the winner holds up on new data","facts":{"rule":"Trend: 30/60-day averages","inSample":"1.16","outOfSample":"0.54","walkForward":"0.82","refit":"125"},"takeaway":"In Market B, Trend: 30/60-day averages scored 1.16 on the first part and 0.54 on the later data. Re-choosing every 125 days using only the past (walk-forward) earned 0.82: the edge is there, and smaller than the first number said."},{"id":"costs","role":"complication","heading":"Trading is not free","facts":{"free":"0.56","cheap":"0.54","dear":"0.47","steep":"0.35","turnover":"6.8","rule":"Trend: 30/60-day averages","bps":"5, 20, 50"},"takeaway":"Trend: 30/60-day averages turns its position over 6.8 times a year. Out of sample its Sharpe is 0.56 with free trading, 0.54 at 5 bps, 0.47 at 20 and 0.35 at 50. The more a rule trades, the more of its edge it hands over."},{"id":"many-markets","role":"evidence","heading":"Not one lucky seed: 40 markets of each kind","facts":{"markets":"40","bar":"0.9","inA":"0.70","outA":"-0.04","clearsA":"0 of 40","holdsA":"12 of 40","inB":"1.42","outB":"0.66","clearsB":"7 of 40","holdsB":"26 of 40"},"takeaway":"The two markets above were picked because they show the point; this table is the typical case. Across 40 no-edge markets the winner averaged 0.70 in sample and -0.04 out of sample, and the deflated Sharpe cleared 0.9 in 0 of 40. Across 40 trend markets it averaged 1.42 then 0.66, clearing 0.9 in 7 of 40: a strict test misses some real edges but invented none here."},{"id":"what-to-do","role":"resolution","heading":"What to do with a result that looks good","facts":{},"takeaway":"Judge it on data it was not chosen on. Count every rule you tried and charge the winner for them. Take trading costs off before you decide. Re-choose using only the past, as you would live. Prefer rules you can explain, and be suspicious of a Sharpe that is too good."}],"answer":"A rule has alpha only if it survives data it was not chosen on, after paying for every rule that was tried and for the cost of trading it.","caveats":["These are simulated markets. The hidden trend is far stronger than any real market's, so a rule can find it in a few years of data.","Real returns have fat tails, changing volatility and crowded trades that this does not model.","A single split and a single walk-forward are the simplest honest checks, not the only ones. Nothing here is investment advice."]},"spec":{"title":"Is it alpha, or is it luck?","description":"How do you tell a trading rule that has an edge from one that only looks good because it was chosen from many?","provenance":"data","state":{"two_markets":[{"day":0,"growth":0.993,"market":"Market A"},{"day":10,"growth":0.977,"market":"Market A"},{"day":20,"growth":0.945,"market":"Market A"},{"day":30,"growth":0.975,"market":"Market A"},{"day":40,"growth":0.963,"market":"Market A"},{"day":50,"growth":0.923,"market":"Market A"},{"day":60,"growth":0.921,"market":"Market A"},{"day":70,"growth":0.927,"market":"Market A"},{"day":80,"growth":0.94,"market":"Market A"},{"day":90,"growth":0.92,"market":"Market A"},{"day":100,"growth":0.927,"market":"Market A"},{"day":110,"growth":0.95,"market":"Market A"},{"day":120,"growth":0.959,"market":"Market A"},{"day":130,"growth":0.936,"market":"Market A"},{"day":140,"growth":0.857,"market":"Market A"},{"day":150,"growth":0.846,"market":"Market A"},{"day":160,"growth":0.844,"market":"Market A"},{"day":170,"growth":0.863,"market":"Market A"},{"day":180,"growth":0.858,"market":"Market A"},{"day":190,"growth":0.876,"market":"Market A"},{"day":200,"growth":0.899,"market":"Market A"},{"day":210,"growth":0.918,"market":"Market A"},{"day":220,"growth":0.96,"market":"Market A"},{"day":230,"growth":0.994,"market":"Market A"},{"day":240,"growth":1.001,"market":"Market A"},{"day":250,"growth":1.003,"market":"Market A"},{"day":260,"growth":1.001,"market":"Market A"},{"day":270,"growth":1.002,"market":"Market A"},{"day":280,"growth":0.985,"market":"Market A"},{"day":290,"growth":0.954,"market":"Market A"},{"day":300,"growth":0.958,"market":"Market A"},{"day":310,"growth":0.976,"market":"Market A"},{"day":320,"growth":1.003,"market":"Market A"},{"day":330,"growth":1.045,"market":"Market A"},{"day":340,"growth":1.049,"market":"Market A"},{"day":350,"growth":1.042,"market":"Market A"},{"day":360,"growth":1.067,"market":"Market A"},{"day":370,"growth":1.096,"market":"Market A"},{"day":380,"growth":1.092,"market":"Market A"},{"day":390,"growth":1.022,"market":"Market A"},{"day":400,"growth":1.06,"market":"Market A"},{"day":410,"growth":1.004,"market":"Market A"},{"day":420,"growth":1.004,"market":"Market A"},{"day":430,"growth":0.999,"market":"Market A"},{"day":440,"growth":1.01,"market":"Market A"},{"day":450,"growth":1.013,"market":"Market A"},{"day":460,"growth":1.035,"market":"Market A"},{"day":470,"growth":1.054,"market":"Market A"},{"day":480,"growth":1.099,"market":"Market A"},{"day":490,"growth":1.078,"market":"Market A"},{"day":500,"growth":1.022,"market":"Market A"},{"day":510,"growth":1.018,"market":"Market A"},{"day":520,"growth":1.012,"market":"Market A"},{"day":530,"growth":1.002,"market":"Market A"},{"day":540,"growth":0.966,"market":"Market A"},{"day":550,"growth":0.932,"market":"Market A"},{"day":560,"growth":0.911,"market":"Market A"},{"day":570,"growth":0.902,"market":"Market A"},{"day":580,"growth":0.897,"market":"Market A"},{"day":590,"growth":0.908,"market":"Market A"},{"day":600,"growth":0.913,"market":"Market A"},{"day":610,"growth":0.905,"market":"Market A"},{"day":620,"growth":0.917,"market":"Market A"},{"day":630,"growth":0.901,"market":"Market A"},{"day":640,"growth":0.916,"market":"Market A"},{"day":650,"growth":0.916,"market":"Market A"},{"day":660,"growth":0.898,"market":"Market A"},{"day":670,"growth":0.909,"market":"Market A"},{"day":680,"growth":0.909,"market":"Market A"},{"day":690,"growth":0.888,"market":"Market A"},{"day":700,"growth":0.871,"market":"Market A"},{"day":710,"growth":0.876,"market":"Market A"},{"day":720,"growth":0.902,"market":"Market A"},{"day":730,"growth":0.844,"market":"Market A"},{"day":740,"growth":0.863,"market":"Market A"},{"day":750,"growth":0.893,"market":"Market A"},{"day":760,"growth":0.886,"market":"Market A"},{"day":770,"growth":0.913,"market":"Market A"},{"day":780,"growth":0.889,"market":"Market A"},{"day":790,"growth":0.854,"market":"Market A"},{"day":800,"growth":0.83,"market":"Market A"},{"day":810,"growth":0.827,"market":"Market A"},{"day":820,"growth":0.835,"market":"Market A"},{"day":830,"growth":0.808,"market":"Market A"},{"day":840,"growth":0.819,"market":"Market A"},{"day":850,"growth":0.805,"market":"Market A"},{"day":860,"growth":0.788,"market":"Market A"},{"day":870,"growth":0.794,"market":"Market A"},{"day":880,"growth":0.764,"market":"Market A"},{"day":890,"growth":0.772,"market":"Market A"},{"day":900,"growth":0.732,"market":"Market A"},{"day":910,"growth":0.757,"market":"Market A"},{"day":920,"growth":0.776,"market":"Market A"},{"day":930,"growth":0.771,"market":"Market A"},{"day":940,"growth":0.772,"market":"Market A"},{"day":950,"growth":0.766,"market":"Market A"},{"day":960,"growth":0.741,"market":"Market A"},{"day":970,"growth":0.76,"market":"Market A"},{"day":980,"growth":0.767,"market":"Market A"},{"day":990,"growth":0.757,"market":"Market A"},{"day":1000,"growth":0.711,"market":"Market A"},{"day":1010,"growth":0.708,"market":"Market A"},{"day":1020,"growth":0.752,"market":"Market A"},{"day":1030,"growth":0.783,"market":"Market A"},{"day":1040,"growth":0.772,"market":"Market A"},{"day":1050,"growth":0.781,"market":"Market A"},{"day":1060,"growth":0.755,"market":"Market A"},{"day":1070,"growth":0.751,"market":"Market A"},{"day":1080,"growth":0.764,"market":"Market A"},{"day":1090,"growth":0.754,"market":"Market A"},{"day":1100,"growth":0.739,"market":"Market A"},{"day":1110,"growth":0.759,"market":"Market A"},{"day":1120,"growth":0.717,"market":"Market A"},{"day":1130,"growth":0.713,"market":"Market A"},{"day":1140,"growth":0.698,"market":"Market A"},{"day":1150,"growth":0.72,"market":"Market A"},{"day":1160,"growth":0.711,"market":"Market A"},{"day":1170,"growth":0.691,"market":"Market A"},{"day":1180,"growth":0.695,"market":"Market A"},{"day":1190,"growth":0.678,"market":"Market A"},{"day":1200,"growth":0.675,"market":"Market A"},{"day":1210,"growth":0.649,"market":"Market A"},{"day":1220,"growth":0.652,"market":"Market A"},{"day":1230,"growth":0.661,"market":"Market A"},{"day":1240,"growth":0.676,"market":"Market A"},{"day":1250,"growth":0.663,"market":"Market A"},{"day":1260,"growth":0.662,"market":"Market A"},{"day":1270,"growth":0.703,"market":"Market A"},{"day":1280,"growth":0.697,"market":"Market A"},{"day":1290,"growth":0.685,"market":"Market A"},{"day":1300,"growth":0.678,"market":"Market A"},{"day":1310,"growth":0.723,"market":"Market A"},{"day":1320,"growth":0.727,"market":"Market A"},{"day":1330,"growth":0.713,"market":"Market A"},{"day":1340,"growth":0.701,"market":"Market A"},{"day":1350,"growth":0.68,"market":"Market A"},{"day":1360,"growth":0.654,"market":"Market A"},{"day":1370,"growth":0.612,"market":"Market A"},{"day":1380,"growth":0.613,"market":"Market A"},{"day":1390,"growth":0.638,"market":"Market A"},{"day":1400,"growth":0.65,"market":"Market A"},{"day":1410,"growth":0.625,"market":"Market A"},{"day":1420,"growth":0.591,"market":"Market A"},{"day":1430,"growth":0.588,"market":"Market A"},{"day":1440,"growth":0.594,"market":"Market A"},{"day":1450,"growth":0.609,"market":"Market A"},{"day":1460,"growth":0.604,"market":"Market A"},{"day":1470,"growth":0.64,"market":"Market A"},{"day":1480,"growth":0.633,"market":"Market A"},{"day":1490,"growth":0.626,"market":"Market A"},{"day":1500,"growth":0.61,"market":"Market A"},{"day":1510,"growth":0.622,"market":"Market A"},{"day":1520,"growth":0.617,"market":"Market A"},{"day":1530,"growth":0.622,"market":"Market A"},{"day":1540,"growth":0.632,"market":"Market A"},{"day":1550,"growth":0.639,"market":"Market A"},{"day":1560,"growth":0.626,"market":"Market A"},{"day":1570,"growth":0.609,"market":"Market A"},{"day":1580,"growth":0.619,"market":"Market A"},{"day":1590,"growth":0.641,"market":"Market A"},{"day":1600,"growth":0.697,"market":"Market A"},{"day":1610,"growth":0.725,"market":"Market A"},{"day":1620,"growth":0.723,"market":"Market A"},{"day":1630,"growth":0.751,"market":"Market A"},{"day":1640,"growth":0.793,"market":"Market A"},{"day":1650,"growth":0.8,"market":"Market A"},{"day":1660,"growth":0.735,"market":"Market A"},{"day":1670,"growth":0.729,"market":"Market A"},{"day":1680,"growth":0.745,"market":"Market A"},{"day":1690,"growth":0.753,"market":"Market A"},{"day":1700,"growth":0.79,"market":"Market A"},{"day":1710,"growth":0.786,"market":"Market A"},{"day":1720,"growth":0.779,"market":"Market A"},{"day":1730,"growth":0.77,"market":"Market A"},{"day":1740,"growth":0.758,"market":"Market A"},{"day":1750,"growth":0.755,"market":"Market A"},{"day":1760,"growth":0.779,"market":"Market A"},{"day":1770,"growth":0.814,"market":"Market A"},{"day":1780,"growth":0.786,"market":"Market A"},{"day":1790,"growth":0.806,"market":"Market A"},{"day":1800,"growth":0.799,"market":"Market A"},{"day":1810,"growth":0.759,"market":"Market A"},{"day":1820,"growth":0.722,"market":"Market A"},{"day":1830,"growth":0.725,"market":"Market A"},{"day":1840,"growth":0.701,"market":"Market A"},{"day":1850,"growth":0.694,"market":"Market A"},{"day":1860,"growth":0.694,"market":"Market A"},{"day":1870,"growth":0.708,"market":"Market A"},{"day":1880,"growth":0.704,"market":"Market A"},{"day":1890,"growth":0.706,"market":"Market A"},{"day":1900,"growth":0.732,"market":"Market A"},{"day":1910,"growth":0.717,"market":"Market A"},{"day":1920,"growth":0.723,"market":"Market A"},{"day":1930,"growth":0.753,"market":"Market A"},{"day":1940,"growth":0.752,"market":"Market A"},{"day":1950,"growth":0.747,"market":"Market A"},{"day":1960,"growth":0.724,"market":"Market A"},{"day":1970,"growth":0.688,"market":"Market A"},{"day":1980,"growth":0.678,"market":"Market A"},{"day":1990,"growth":0.715,"market":"Market A"},{"day":0,"growth":0.991,"market":"Market B"},{"day":10,"growth":0.967,"market":"Market B"},{"day":20,"growth":0.948,"market":"Market B"},{"day":30,"growth":0.991,"market":"Market B"},{"day":40,"growth":0.971,"market":"Market B"},{"day":50,"growth":0.915,"market":"Market B"},{"day":60,"growth":0.898,"market":"Market B"},{"day":70,"growth":0.888,"market":"Market B"},{"day":80,"growth":0.886,"market":"Market B"},{"day":90,"growth":0.852,"market":"Market B"},{"day":100,"growth":0.843,"market":"Market B"},{"day":110,"growth":0.863,"market":"Market B"},{"day":120,"growth":0.883,"market":"Market B"},{"day":130,"growth":0.873,"market":"Market B"},{"day":140,"growth":0.81,"market":"Market B"},{"day":150,"growth":0.81,"market":"Market B"},{"day":160,"growth":0.818,"market":"Market B"},{"day":170,"growth":0.848,"market":"Market B"},{"day":180,"growth":0.854,"market":"Market B"},{"day":190,"growth":0.883,"market":"Market B"},{"day":200,"growth":0.904,"market":"Market B"},{"day":210,"growth":0.908,"market":"Market B"},{"day":220,"growth":0.933,"market":"Market B"},{"day":230,"growth":0.951,"market":"Market B"},{"day":240,"growth":0.941,"market":"Market B"},{"day":250,"growth":0.927,"market":"Market B"},{"day":260,"growth":0.91,"market":"Market B"},{"day":270,"growth":0.895,"market":"Market B"},{"day":280,"growth":0.865,"market":"Market B"},{"day":290,"growth":0.823,"market":"Market B"},{"day":300,"growth":0.813,"market":"Market B"},{"day":310,"growth":0.815,"market":"Market B"},{"day":320,"growth":0.823,"market":"Market B"},{"day":330,"growth":0.843,"market":"Market B"},{"day":340,"growth":0.839,"market":"Market B"},{"day":350,"growth":0.845,"market":"Market B"},{"day":360,"growth":0.877,"market":"Market B"},{"day":370,"growth":0.912,"market":"Market B"},{"day":380,"growth":0.921,"market":"Market B"},{"day":390,"growth":0.873,"market":"Market B"},{"day":400,"growth":0.917,"market":"Market B"},{"day":410,"growth":0.88,"market":"Market B"},{"day":420,"growth":0.891,"market":"Market B"},{"day":430,"growth":0.899,"market":"Market B"},{"day":440,"growth":0.92,"market":"Market B"},{"day":450,"growth":0.935,"market":"Market B"},{"day":460,"growth":0.968,"market":"Market B"},{"day":470,"growth":0.999,"market":"Market B"},{"day":480,"growth":1.055,"market":"Market B"},{"day":490,"growth":1.048,"market":"Market B"},{"day":500,"growth":1.007,"market":"Market B"},{"day":510,"growth":1.016,"market":"Market B"},{"day":520,"growth":1.024,"market":"Market B"},{"day":530,"growth":1.027,"market":"Market B"},{"day":540,"growth":1.003,"market":"Market B"},{"day":550,"growth":0.979,"market":"Market B"},{"day":560,"growth":0.97,"market":"Market B"},{"day":570,"growth":0.973,"market":"Market B"},{"day":580,"growth":0.981,"market":"Market B"},{"day":590,"growth":1.006,"market":"Market B"},{"day":600,"growth":1.024,"market":"Market B"},{"day":610,"growth":1.028,"market":"Market B"},{"day":620,"growth":1.04,"market":"Market B"},{"day":630,"growth":1.005,"market":"Market B"},{"day":640,"growth":1.004,"market":"Market B"},{"day":650,"growth":0.987,"market":"Market B"},{"day":660,"growth":0.963,"market":"Market B"},{"day":670,"growth":0.987,"market":"Market B"},{"day":680,"growth":1.001,"market":"Market B"},{"day":690,"growth":0.991,"market":"Market B"},{"day":700,"growth":0.984,"market":"Market B"},{"day":710,"growth":1.003,"market":"Market B"},{"day":720,"growth":1.046,"market":"Market B"},{"day":730,"growth":0.986,"market":"Market B"},{"day":740,"growth":0.99,"market":"Market B"},{"day":750,"growth":1.008,"market":"Market B"},{"day":760,"growth":0.984,"market":"Market B"},{"day":770,"growth":1.005,"market":"Market B"},{"day":780,"growth":0.992,"market":"Market B"},{"day":790,"growth":0.962,"market":"Market B"},{"day":800,"growth":0.919,"market":"Market B"},{"day":810,"growth":0.9,"market":"Market B"},{"day":820,"growth":0.894,"market":"Market B"},{"day":830,"growth":0.861,"market":"Market B"},{"day":840,"growth":0.884,"market":"Market B"},{"day":850,"growth":0.88,"market":"Market B"},{"day":860,"growth":0.873,"market":"Market B"},{"day":870,"growth":0.891,"market":"Market B"},{"day":880,"growth":0.868,"market":"Market B"},{"day":890,"growth":0.889,"market":"Market B"},{"day":900,"growth":0.854,"market":"Market B"},{"day":910,"growth":0.895,"market":"Market B"},{"day":920,"growth":0.929,"market":"Market B"},{"day":930,"growth":0.935,"market":"Market B"},{"day":940,"growth":0.949,"market":"Market B"},{"day":950,"growth":0.953,"market":"Market B"},{"day":960,"growth":0.935,"market":"Market B"},{"day":970,"growth":0.971,"market":"Market B"},{"day":980,"growth":0.993,"market":"Market B"},{"day":990,"growth":0.975,"market":"Market B"},{"day":1000,"growth":0.9,"market":"Market B"},{"day":1010,"growth":0.881,"market":"Market B"},{"day":1020,"growth":0.92,"market":"Market B"},{"day":1030,"growth":0.942,"market":"Market B"},{"day":1040,"growth":0.933,"market":"Market B"},{"day":1050,"growth":0.956,"market":"Market B"},{"day":1060,"growth":0.936,"market":"Market B"},{"day":1070,"growth":0.915,"market":"Market B"},{"day":1080,"growth":0.916,"market":"Market B"},{"day":1090,"growth":0.888,"market":"Market B"},{"day":1100,"growth":0.856,"market":"Market B"},{"day":1110,"growth":0.865,"market":"Market B"},{"day":1120,"growth":0.803,"market":"Market B"},{"day":1130,"growth":0.785,"market":"Market B"},{"day":1140,"growth":0.755,"market":"Market B"},{"day":1150,"growth":0.766,"market":"Market B"},{"day":1160,"growth":0.744,"market":"Market B"},{"day":1170,"growth":0.71,"market":"Market B"},{"day":1180,"growth":0.702,"market":"Market B"},{"day":1190,"growth":0.674,"market":"Market B"},{"day":1200,"growth":0.659,"market":"Market B"},{"day":1210,"growth":0.623,"market":"Market B"},{"day":1220,"growth":0.616,"market":"Market B"},{"day":1230,"growth":0.617,"market":"Market B"},{"day":1240,"growth":0.64,"market":"Market B"},{"day":1250,"growth":0.635,"market":"Market B"},{"day":1260,"growth":0.643,"market":"Market B"},{"day":1270,"growth":0.692,"market":"Market B"},{"day":1280,"growth":0.694,"market":"Market B"},{"day":1290,"growth":0.691,"market":"Market B"},{"day":1300,"growth":0.694,"market":"Market B"},{"day":1310,"growth":0.749,"market":"Market B"},{"day":1320,"growth":0.763,"market":"Market B"},{"day":1330,"growth":0.758,"market":"Market B"},{"day":1340,"growth":0.755,"market":"Market B"},{"day":1350,"growth":0.742,"market":"Market B"},{"day":1360,"growth":0.723,"market":"Market B"},{"day":1370,"growth":0.686,"market":"Market B"},{"day":1380,"growth":0.696,"market":"Market B"},{"day":1390,"growth":0.733,"market":"Market B"},{"day":1400,"growth":0.735,"market":"Market B"},{"day":1410,"growth":0.694,"market":"Market B"},{"day":1420,"growth":0.646,"market":"Market B"},{"day":1430,"growth":0.632,"market":"Market B"},{"day":1440,"growth":0.627,"market":"Market B"},{"day":1450,"growth":0.632,"market":"Market B"},{"day":1460,"growth":0.616,"market":"Market B"},{"day":1470,"growth":0.642,"market":"Market B"},{"day":1480,"growth":0.624,"market":"Market B"},{"day":1490,"growth":0.607,"market":"Market B"},{"day":1500,"growth":0.582,"market":"Market B"},{"day":1510,"growth":0.583,"market":"Market B"},{"day":1520,"growth":0.569,"market":"Market B"},{"day":1530,"growth":0.564,"market":"Market B"},{"day":1540,"growth":0.563,"market":"Market B"},{"day":1550,"growth":0.559,"market":"Market B"},{"day":1560,"growth":0.539,"market":"Market B"},{"day":1570,"growth":0.515,"market":"Market B"},{"day":1580,"growth":0.515,"market":"Market B"},{"day":1590,"growth":0.524,"market":"Market B"},{"day":1600,"growth":0.571,"market":"Market B"},{"day":1610,"growth":0.601,"market":"Market B"},{"day":1620,"growth":0.607,"market":"Market B"},{"day":1630,"growth":0.639,"market":"Market B"},{"day":1640,"growth":0.684,"market":"Market B"},{"day":1650,"growth":0.699,"market":"Market B"},{"day":1660,"growth":0.65,"market":"Market B"},{"day":1670,"growth":0.64,"market":"Market B"},{"day":1680,"growth":0.643,"market":"Market B"},{"day":1690,"growth":0.639,"market":"Market B"},{"day":1700,"growth":0.66,"market":"Market B"},{"day":1710,"growth":0.645,"market":"Market B"},{"day":1720,"growth":0.628,"market":"Market B"},{"day":1730,"growth":0.61,"market":"Market B"},{"day":1740,"growth":0.591,"market":"Market B"},{"day":1750,"growth":0.579,"market":"Market B"},{"day":1760,"growth":0.587,"market":"Market B"},{"day":1770,"growth":0.603,"market":"Market B"},{"day":1780,"growth":0.573,"market":"Market B"},{"day":1790,"growth":0.577,"market":"Market B"},{"day":1800,"growth":0.562,"market":"Market B"},{"day":1810,"growth":0.525,"market":"Market B"},{"day":1820,"growth":0.491,"market":"Market B"},{"day":1830,"growth":0.485,"market":"Market B"},{"day":1840,"growth":0.461,"market":"Market B"},{"day":1850,"growth":0.448,"market":"Market B"},{"day":1860,"growth":0.441,"market":"Market B"},{"day":1870,"growth":0.451,"market":"Market B"},{"day":1880,"growth":0.453,"market":"Market B"},{"day":1890,"growth":0.461,"market":"Market B"},{"day":1900,"growth":0.484,"market":"Market B"},{"day":1910,"growth":0.48,"market":"Market B"},{"day":1920,"growth":0.491,"market":"Market B"},{"day":1930,"growth":0.518,"market":"Market B"},{"day":1940,"growth":0.524,"market":"Market B"},{"day":1950,"growth":0.527,"market":"Market B"},{"day":1960,"growth":0.518,"market":"Market B"},{"day":1970,"growth":0.498,"market":"Market B"},{"day":1980,"growth":0.498,"market":"Market B"},{"day":1990,"growth":0.531,"market":"Market B"}],"best_of_many":[{"rule":"Reversion: 60-day, 1.5 deviations","sharpe":0.82},{"rule":"Reversion: 60-day, 1 deviations","sharpe":0.66},{"rule":"Reversion: 40-day, 1 deviations","sharpe":0.66},{"rule":"Reversion: 60-day, 2 deviations","sharpe":0.62},{"rule":"Trend: 50/250-day averages","sharpe":0.44},{"rule":"Trend: 30/250-day averages","sharpe":0.44},{"rule":"Reversion: 10-day, 1 deviations","sharpe":0.39},{"rule":"Reversion: 40-day, 1.5 deviations","sharpe":0.34}],"unseen_data":[{"period":"Chosen on (in sample)","sharpe":0.82},{"period":"Then tested (out of sample)","sharpe":-0.28}],"pay_for_trials":[{"market":"A (no edge)","rule":"Reversion: 60-day, 1.5 deviations","sharpe":"0.82","p":"0.05","pAdjusted":"1.00","deflated":"0.28"},{"market":"B (hidden trend)","rule":"Trend: 30/60-day averages","sharpe":"1.16","p":"0.01","pAdjusted":"0.42","deflated":"0.54"}],"trend_holds":[{"step":"Chosen on (in sample)","sharpe":1.16},{"step":"Then tested (out of sample)","sharpe":0.54},{"step":"Walk-forward (only the past)","sharpe":0.82}],"costs":[{"cost":"0 bps","sharpe":0.56},{"cost":"5 bps","sharpe":0.54},{"cost":"20 bps","sharpe":0.47},{"cost":"50 bps","sharpe":0.35}],"many_markets":[{"kind":"No edge","inSample":"0.70","outOfSample":"-0.04","holds":"12 of 40","clears":"0 of 40"},{"kind":"Hidden trend","inSample":"1.42","outOfSample":"0.66","holds":"26 of 40","clears":"7 of 40"}]},"root":{"type":"Page","children":[{"type":"Card","props":{"title":"Two markets. One hides an edge."},"children":[{"type":"Text","props":{"text":"Here are 7.9 years of two simulated markets. One is pure noise; the other hides a trend that flips between up and down for months. By eye you cannot tell which. A rule has to: so we try 48 of them.","muted":false}},{"type":"Chart","props":{"title":"Growth of 1 invested, by market","mark":"line","height":220,"data":{"$state":"/two_markets"},"encoding":{"x":{"field":"day","type":"quantitative","title":"Trading day"},"y":{"field":"growth","type":"quantitative","title":"Growth of 1"},"color":{"field":"market","type":"nominal","title":"Market"}}}}]},{"type":"Card","props":{"title":"Market A: try 48 rules and the best one looks good"},"children":[{"type":"Text","props":{"text":"Market A has no edge, yet the best of 48 rules, Reversion: 60-day, 1.5 deviations, shows a Sharpe ratio of 0.82 on the first part of the data. Try enough rules and something always looks like skill.","muted":false}},{"type":"Chart","props":{"title":"In-sample Sharpe ratio of the eight best rules, Market A","mark":"bar","horizontal":true,"height":240,"sort":"-y","data":{"$state":"/best_of_many"},"encoding":{"x":{"field":"rule","type":"nominal","title":"Rule"},"y":{"field":"sharpe","type":"quantitative","title":"Sharpe ratio (in sample)"}}}}]},{"type":"Card","props":{"title":"Then the data it was never chosen on"},"children":[{"type":"Text","props":{"text":"On the later data the same rule earned a Sharpe of -0.28, against 0.82 when it was chosen. The in-sample number was selection, not skill. Buy and hold managed 0.27 on that stretch.","muted":false}},{"type":"Chart","props":{"title":"The winning rule, before and after, Market A","mark":"bar","height":200,"data":{"$state":"/unseen_data"},"encoding":{"x":{"field":"period","type":"nominal","title":"Period"},"y":{"field":"sharpe","type":"quantitative","title":"Sharpe ratio"}}}}]},{"type":"Card","props":{"title":"Charge each winner for the 48 rules tried"},"children":[{"type":"Text","props":{"text":"Paying for 48 tries, Market A's winner has an adjusted p-value of 1.00 and a deflated Sharpe of 0.28: no evidence of an edge. Market B's winner has 0.42 and 0.54.","muted":false}},{"type":"Table","props":{"caption":"Adjusted p-value: the chance of a result this good by luck, after trying every rule. Deflated Sharpe: the probability the edge is real, 1 being certain.","columns":[{"key":"market","label":"Market"},{"key":"rule","label":"Winning rule"},{"key":"sharpe","label":"Sharpe (in sample)","align":"right"},{"key":"pAdjusted","label":"Adjusted p","align":"right"},{"key":"deflated","label":"Deflated Sharpe","align":"right"}],"rows":{"$state":"/pay_for_trials"}}}]},{"type":"Card","props":{"title":"Market B: the winner holds up on new data"},"children":[{"type":"Text","props":{"text":"In Market B, Trend: 30/60-day averages scored 1.16 on the first part and 0.54 on the later data. Re-choosing every 125 days using only the past (walk-forward) earned 0.82: the edge is there, and smaller than the first number said.","muted":false}},{"type":"Chart","props":{"title":"Market B: chosen, tested, and walked forward","mark":"bar","height":200,"data":{"$state":"/trend_holds"},"encoding":{"x":{"field":"step","type":"nominal","title":"How it was judged"},"y":{"field":"sharpe","type":"quantitative","title":"Sharpe ratio"}}}}]},{"type":"Card","props":{"title":"Trading is not free"},"children":[{"type":"Text","props":{"text":"Trend: 30/60-day averages turns its position over 6.8 times a year. Out of sample its Sharpe is 0.56 with free trading, 0.54 at 5 bps, 0.47 at 20 and 0.35 at 50. The more a rule trades, the more of its edge it hands over.","muted":false}},{"type":"Chart","props":{"title":"Out-of-sample Sharpe by cost per unit traded, Market B winner","mark":"bar","height":200,"data":{"$state":"/costs"},"encoding":{"x":{"field":"cost","type":"nominal","title":"Cost per unit of position changed"},"y":{"field":"sharpe","type":"quantitative","title":"Sharpe ratio"}}}}]},{"type":"Card","props":{"title":"Not one lucky seed: 40 markets of each kind"},"children":[{"type":"Text","props":{"text":"The two markets above were picked because they show the point; this table is the typical case. Across 40 no-edge markets the winner averaged 0.70 in sample and -0.04 out of sample, and the deflated Sharpe cleared 0.9 in 0 of 40. Across 40 trend markets it averaged 1.42 then 0.66, clearing 0.9 in 7 of 40: a strict test misses some real edges but invented none here.","muted":false}},{"type":"Table","props":{"caption":"Winner of 48 rules in each of 40 simulated markets per kind.","columns":[{"key":"kind","label":"Market kind"},{"key":"inSample","label":"Mean Sharpe, in sample","align":"right"},{"key":"outOfSample","label":"Mean Sharpe, out of sample","align":"right"},{"key":"holds","label":"Out-of-sample Sharpe above 0.3","align":"right"},{"key":"clears","label":"Deflated Sharpe above 0.9","align":"right"}],"rows":{"$state":"/many_markets"}}}]},{"type":"Card","props":{"title":"What to do with a result that looks good"},"children":[{"type":"Text","props":{"text":"Judge it on data it was not chosen on. Count every rule you tried and charge the winner for them. Take trading costs off before you decide. Re-choose using only the past, as you would live. Prefer rules you can explain, and be suspicious of a Sharpe that is too good.","muted":false}}]},{"type":"Callout","props":{"variant":"success","title":"The answer","body":"A rule has alpha only if it survives data it was not chosen on, after paying for every rule that was tried and for the cost of trading it."}},{"type":"Callout","props":{"variant":"warning","title":"What this cannot tell you","body":"These are simulated markets. The hidden trend is far stronger than any real market's, so a rule can find it in a few years of data. Real returns have fat tails, changing volatility and crowded trades that this does not model. A single split and a single walk-forward are the simplest honest checks, not the only ones. Nothing here is investment advice."}}]}}}},{"id":"alpha-trend-found","track":"alpha","title":"A rule where there is a real trend","summary":"Thirty- and sixty-day averages on a market with a hidden up-and-down regime: the edge shows on data the rule was not chosen on.","principle":"alpha-out-of-sample","also":["alpha-trials"],"tags":["alpha","backtest","algorithms"],"evidence":["lib/alpha/strategies.ts (sma, momentum, reversion)","lib/alpha/backtest.ts (backtest)","lib/alpha/research.ts (research)"],"body":{"kind":"inline-spec","spec":{"title":"A trend rule on a market with a trend","description":"The market hides a trend that flips for months at a time. A rule that follows the direction of the last few weeks can find it, and the proof is the part of the chart it was not chosen on.","provenance":"data","state":{"growth":[{"day":0,"growth":1.009,"series":"The rule, after costs"},{"day":10,"growth":0.99,"series":"The rule, after costs"},{"day":20,"growth":1.006,"series":"The rule, after costs"},{"day":30,"growth":1.04,"series":"The rule, after costs"},{"day":40,"growth":1.091,"series":"The rule, after costs"},{"day":50,"growth":1.104,"series":"The rule, after costs"},{"day":60,"growth":1.101,"series":"The rule, after costs"},{"day":70,"growth":1.09,"series":"The rule, after costs"},{"day":80,"growth":1.063,"series":"The rule, after costs"},{"day":90,"growth":1.085,"series":"The rule, after costs"},{"day":100,"growth":1.092,"series":"The rule, after costs"},{"day":110,"growth":1.133,"series":"The rule, after costs"},{"day":120,"growth":1.178,"series":"The rule, after costs"},{"day":130,"growth":1.19,"series":"The rule, after costs"},{"day":140,"growth":1.128,"series":"The rule, after costs"},{"day":150,"growth":1.186,"series":"The rule, after costs"},{"day":160,"growth":1.138,"series":"The rule, after costs"},{"day":170,"growth":1.12,"series":"The rule, after costs"},{"day":180,"growth":1.109,"series":"The rule, after costs"},{"day":190,"growth":1.089,"series":"The rule, after costs"},{"day":200,"growth":1.107,"series":"The rule, after costs"},{"day":210,"growth":1.146,"series":"The rule, after costs"},{"day":220,"growth":1.183,"series":"The rule, after costs"},{"day":230,"growth":1.249,"series":"The rule, after costs"},{"day":240,"growth":1.241,"series":"The rule, after costs"},{"day":250,"growth":1.192,"series":"The rule, after costs"},{"day":260,"growth":1.202,"series":"The rule, after costs"},{"day":270,"growth":1.19,"series":"The rule, after costs"},{"day":280,"growth":1.185,"series":"The rule, after costs"},{"day":290,"growth":1.212,"series":"The rule, after costs"},{"day":300,"growth":1.24,"series":"The rule, after costs"},{"day":310,"growth":1.25,"series":"The rule, after costs"},{"day":320,"growth":1.245,"series":"The rule, after costs"},{"day":330,"growth":1.235,"series":"The rule, after costs"},{"day":340,"growth":1.203,"series":"The rule, after costs"},{"day":350,"growth":1.235,"series":"The rule, after costs"},{"day":360,"growth":1.24,"series":"The rule, after costs"},{"day":370,"growth":1.255,"series":"The rule, after costs"},{"day":380,"growth":1.212,"series":"The rule, after costs"},{"day":390,"growth":1.211,"series":"The rule, after costs"},{"day":400,"growth":1.295,"series":"The rule, after costs"},{"day":410,"growth":1.326,"series":"The rule, after costs"},{"day":420,"growth":1.293,"series":"The rule, after costs"},{"day":430,"growth":1.274,"series":"The rule, after costs"},{"day":440,"growth":1.286,"series":"The rule, after costs"},{"day":450,"growth":1.298,"series":"The rule, after costs"},{"day":460,"growth":1.323,"series":"The rule, after costs"},{"day":470,"growth":1.379,"series":"The rule, after costs"},{"day":480,"growth":1.3,"series":"The rule, after costs"},{"day":490,"growth":1.306,"series":"The rule, after costs"},{"day":500,"growth":1.329,"series":"The rule, after costs"},{"day":510,"growth":1.318,"series":"The rule, after costs"},{"day":520,"growth":1.289,"series":"The rule, after costs"},{"day":530,"growth":1.306,"series":"The rule, after costs"},{"day":540,"growth":1.344,"series":"The rule, after costs"},{"day":550,"growth":1.407,"series":"The rule, after costs"},{"day":560,"growth":1.435,"series":"The rule, after costs"},{"day":570,"growth":1.445,"series":"The rule, after costs"},{"day":580,"growth":1.499,"series":"The rule, after costs"},{"day":590,"growth":1.459,"series":"The rule, after costs"},{"day":600,"growth":1.465,"series":"The rule, after costs"},{"day":610,"growth":1.475,"series":"The rule, after costs"},{"day":620,"growth":1.444,"series":"The rule, after costs"},{"day":630,"growth":1.426,"series":"The rule, after costs"},{"day":640,"growth":1.46,"series":"The rule, after costs"},{"day":650,"growth":1.402,"series":"The rule, after costs"},{"day":660,"growth":1.428,"series":"The rule, after costs"},{"day":670,"growth":1.482,"series":"The rule, after costs"},{"day":680,"growth":1.491,"series":"The rule, after costs"},{"day":690,"growth":1.514,"series":"The rule, after costs"},{"day":700,"growth":1.521,"series":"The rule, after costs"},{"day":710,"growth":1.491,"series":"The rule, after costs"},{"day":720,"growth":1.549,"series":"The rule, after costs"},{"day":730,"growth":1.584,"series":"The rule, after costs"},{"day":740,"growth":1.555,"series":"The rule, after costs"},{"day":750,"growth":1.436,"series":"The rule, after costs"},{"day":760,"growth":1.44,"series":"The rule, after costs"},{"day":770,"growth":1.378,"series":"The rule, after costs"},{"day":780,"growth":1.345,"series":"The rule, after costs"},{"day":790,"growth":1.357,"series":"The rule, after costs"},{"day":800,"growth":1.385,"series":"The rule, after costs"},{"day":810,"growth":1.357,"series":"The rule, after costs"},{"day":820,"growth":1.327,"series":"The rule, after costs"},{"day":830,"growth":1.325,"series":"The rule, after costs"},{"day":840,"growth":1.364,"series":"The rule, after costs"},{"day":850,"growth":1.414,"series":"The rule, after costs"},{"day":860,"growth":1.398,"series":"The rule, after costs"},{"day":870,"growth":1.505,"series":"The rule, after costs"},{"day":880,"growth":1.539,"series":"The rule, after costs"},{"day":890,"growth":1.598,"series":"The rule, after costs"},{"day":900,"growth":1.573,"series":"The rule, after costs"},{"day":910,"growth":1.618,"series":"The rule, after costs"},{"day":920,"growth":1.693,"series":"The rule, after costs"},{"day":930,"growth":1.71,"series":"The rule, after costs"},{"day":940,"growth":1.779,"series":"The rule, after costs"},{"day":950,"growth":1.819,"series":"The rule, after costs"},{"day":960,"growth":1.921,"series":"The rule, after costs"},{"day":970,"growth":1.943,"series":"The rule, after costs"},{"day":980,"growth":1.937,"series":"The rule, after costs"},{"day":990,"growth":1.868,"series":"The rule, after costs"},{"day":1000,"growth":1.877,"series":"The rule, after costs"},{"day":1010,"growth":1.885,"series":"The rule, after costs"},{"day":1020,"growth":2.029,"series":"The rule, after costs"},{"day":1030,"growth":2.037,"series":"The rule, after costs"},{"day":1040,"growth":2.027,"series":"The rule, after costs"},{"day":1050,"growth":2.034,"series":"The rule, after costs"},{"day":1060,"growth":2.197,"series":"The rule, after costs"},{"day":1070,"growth":2.238,"series":"The rule, after costs"},{"day":1080,"growth":2.225,"series":"The rule, after costs"},{"day":1090,"growth":2.214,"series":"The rule, after costs"},{"day":1100,"growth":2.176,"series":"The rule, after costs"},{"day":1110,"growth":2.122,"series":"The rule, after costs"},{"day":1120,"growth":2.234,"series":"The rule, after costs"},{"day":1130,"growth":2.2,"series":"The rule, after costs"},{"day":1140,"growth":2.086,"series":"The rule, after costs"},{"day":1150,"growth":2.077,"series":"The rule, after costs"},{"day":1160,"growth":2.076,"series":"The rule, after costs"},{"day":1170,"growth":1.933,"series":"The rule, after costs"},{"day":1180,"growth":1.974,"series":"The rule, after costs"},{"day":1190,"growth":1.987,"series":"The rule, after costs"},{"day":1200,"growth":1.971,"series":"The rule, after costs"},{"day":1210,"growth":2.019,"series":"The rule, after costs"},{"day":1220,"growth":1.936,"series":"The rule, after costs"},{"day":1230,"growth":1.99,"series":"The rule, after costs"},{"day":1240,"growth":1.824,"series":"The rule, after costs"},{"day":1250,"growth":1.794,"series":"The rule, after costs"},{"day":1260,"growth":1.79,"series":"The rule, after costs"},{"day":1270,"growth":1.831,"series":"The rule, after costs"},{"day":1280,"growth":1.845,"series":"The rule, after costs"},{"day":1290,"growth":1.848,"series":"The rule, after costs"},{"day":1300,"growth":1.858,"series":"The rule, after costs"},{"day":1310,"growth":1.925,"series":"The rule, after costs"},{"day":1320,"growth":2.01,"series":"The rule, after costs"},{"day":1330,"growth":2.009,"series":"The rule, after costs"},{"day":1340,"growth":1.971,"series":"The rule, after costs"},{"day":1350,"growth":1.806,"series":"The rule, after costs"},{"day":1360,"growth":1.784,"series":"The rule, after costs"},{"day":1370,"growth":1.801,"series":"The rule, after costs"},{"day":1380,"growth":1.895,"series":"The rule, after costs"},{"day":1390,"growth":2.027,"series":"The rule, after costs"},{"day":1400,"growth":2.072,"series":"The rule, after costs"},{"day":1410,"growth":1.928,"series":"The rule, after costs"},{"day":1420,"growth":1.897,"series":"The rule, after costs"},{"day":1430,"growth":1.909,"series":"The rule, after costs"},{"day":1440,"growth":1.919,"series":"The rule, after costs"},{"day":1450,"growth":1.858,"series":"The rule, after costs"},{"day":1460,"growth":1.899,"series":"The rule, after costs"},{"day":1470,"growth":1.946,"series":"The rule, after costs"},{"day":1480,"growth":2.002,"series":"The rule, after costs"},{"day":1490,"growth":2.067,"series":"The rule, after costs"},{"day":1500,"growth":2.108,"series":"The rule, after costs"},{"day":1510,"growth":2.079,"series":"The rule, after costs"},{"day":1520,"growth":2.022,"series":"The rule, after costs"},{"day":1530,"growth":2.125,"series":"The rule, after costs"},{"day":1540,"growth":2.107,"series":"The rule, after costs"},{"day":1550,"growth":2.161,"series":"The rule, after costs"},{"day":1560,"growth":2.312,"series":"The rule, after costs"},{"day":1570,"growth":2.469,"series":"The rule, after costs"},{"day":1580,"growth":2.499,"series":"The rule, after costs"},{"day":1590,"growth":2.628,"series":"The rule, after costs"},{"day":1600,"growth":2.698,"series":"The rule, after costs"},{"day":1610,"growth":2.741,"series":"The rule, after costs"},{"day":1620,"growth":2.679,"series":"The rule, after costs"},{"day":1630,"growth":2.658,"series":"The rule, after costs"},{"day":1640,"growth":2.612,"series":"The rule, after costs"},{"day":1650,"growth":2.651,"series":"The rule, after costs"},{"day":1660,"growth":2.629,"series":"The rule, after costs"},{"day":1670,"growth":2.686,"series":"The rule, after costs"},{"day":1680,"growth":2.835,"series":"The rule, after costs"},{"day":1690,"growth":2.869,"series":"The rule, after costs"},{"day":1700,"growth":2.885,"series":"The rule, after costs"},{"day":1710,"growth":2.835,"series":"The rule, after costs"},{"day":1720,"growth":2.729,"series":"The rule, after costs"},{"day":1730,"growth":2.681,"series":"The rule, after costs"},{"day":1740,"growth":2.508,"series":"The rule, after costs"},{"day":0,"growth":1.009,"series":"Buy and hold"},{"day":10,"growth":0.99,"series":"Buy and hold"},{"day":20,"growth":0.974,"series":"Buy and hold"},{"day":30,"growth":0.941,"series":"Buy and hold"},{"day":40,"growth":0.896,"series":"Buy and hold"},{"day":50,"growth":0.885,"series":"Buy and hold"},{"day":60,"growth":0.887,"series":"Buy and hold"},{"day":70,"growth":0.896,"series":"Buy and hold"},{"day":80,"growth":0.918,"series":"Buy and hold"},{"day":90,"growth":0.914,"series":"Buy and hold"},{"day":100,"growth":0.92,"series":"Buy and hold"},{"day":110,"growth":0.954,"series":"Buy and hold"},{"day":120,"growth":0.992,"series":"Buy and hold"},{"day":130,"growth":1.002,"series":"Buy and hold"},{"day":140,"growth":0.95,"series":"Buy and hold"},{"day":150,"growth":0.999,"series":"Buy and hold"},{"day":160,"growth":0.958,"series":"Buy and hold"},{"day":170,"growth":0.97,"series":"Buy and hold"},{"day":180,"growth":0.979,"series":"Buy and hold"},{"day":190,"growth":1.002,"series":"Buy and hold"},{"day":200,"growth":1.018,"series":"Buy and hold"},{"day":210,"growth":1.054,"series":"Buy and hold"},{"day":220,"growth":1.087,"series":"Buy and hold"},{"day":230,"growth":1.148,"series":"Buy and hold"},{"day":240,"growth":1.141,"series":"Buy and hold"},{"day":250,"growth":1.096,"series":"Buy and hold"},{"day":260,"growth":1.106,"series":"Buy and hold"},{"day":270,"growth":1.114,"series":"Buy and hold"},{"day":280,"growth":1.118,"series":"Buy and hold"},{"day":290,"growth":1.092,"series":"Buy and hold"},{"day":300,"growth":1.066,"series":"Buy and hold"},{"day":310,"growth":1.056,"series":"Buy and hold"},{"day":320,"growth":1.06,"series":"Buy and hold"},{"day":330,"growth":1.067,"series":"Buy and hold"},{"day":340,"growth":1.095,"series":"Buy and hold"},{"day":350,"growth":1.115,"series":"Buy and hold"},{"day":360,"growth":1.12,"series":"Buy and hold"},{"day":370,"growth":1.132,"series":"Buy and hold"},{"day":380,"growth":1.094,"series":"Buy and hold"},{"day":390,"growth":1.093,"series":"Buy and hold"},{"day":400,"growth":1.075,"series":"Buy and hold"},{"day":410,"growth":1.048,"series":"Buy and hold"},{"day":420,"growth":1.075,"series":"Buy and hold"},{"day":430,"growth":1.089,"series":"Buy and hold"},{"day":440,"growth":1.078,"series":"Buy and hold"},{"day":450,"growth":1.071,"series":"Buy and hold"},{"day":460,"growth":1.092,"series":"Buy and hold"},{"day":470,"growth":1.139,"series":"Buy and hold"},{"day":480,"growth":1.073,"series":"Buy and hold"},{"day":490,"growth":1.078,"series":"Buy and hold"},{"day":500,"growth":1.097,"series":"Buy and hold"},{"day":510,"growth":1.071,"series":"Buy and hold"},{"day":520,"growth":1.094,"series":"Buy and hold"},{"day":530,"growth":1.08,"series":"Buy and hold"},{"day":540,"growth":1.048,"series":"Buy and hold"},{"day":550,"growth":1,"series":"Buy and hold"},{"day":560,"growth":0.98,"series":"Buy and hold"},{"day":570,"growth":0.973,"series":"Buy and hold"},{"day":580,"growth":0.937,"series":"Buy and hold"},{"day":590,"growth":0.962,"series":"Buy and hold"},{"day":600,"growth":0.958,"series":"Buy and hold"},{"day":610,"growth":0.95,"series":"Buy and hold"},{"day":620,"growth":0.97,"series":"Buy and hold"},{"day":630,"growth":0.945,"series":"Buy and hold"},{"day":640,"growth":0.967,"series":"Buy and hold"},{"day":650,"growth":0.929,"series":"Buy and hold"},{"day":660,"growth":0.974,"series":"Buy and hold"},{"day":670,"growth":1.011,"series":"Buy and hold"},{"day":680,"growth":1.018,"series":"Buy and hold"},{"day":690,"growth":1.033,"series":"Buy and hold"},{"day":700,"growth":1.038,"series":"Buy and hold"},{"day":710,"growth":1.018,"series":"Buy and hold"},{"day":720,"growth":1.057,"series":"Buy and hold"},{"day":730,"growth":1.081,"series":"Buy and hold"},{"day":740,"growth":1.061,"series":"Buy and hold"},{"day":750,"growth":0.98,"series":"Buy and hold"},{"day":760,"growth":0.959,"series":"Buy and hold"},{"day":770,"growth":1.002,"series":"Buy and hold"},{"day":780,"growth":1.026,"series":"Buy and hold"},{"day":790,"growth":1.016,"series":"Buy and hold"},{"day":800,"growth":1.04,"series":"Buy and hold"},{"day":810,"growth":1.019,"series":"Buy and hold"},{"day":820,"growth":0.996,"series":"Buy and hold"},{"day":830,"growth":0.997,"series":"Buy and hold"},{"day":840,"growth":0.967,"series":"Buy and hold"},{"day":850,"growth":0.932,"series":"Buy and hold"},{"day":860,"growth":0.941,"series":"Buy and hold"},{"day":870,"growth":0.874,"series":"Buy and hold"},{"day":880,"growth":0.854,"series":"Buy and hold"},{"day":890,"growth":0.822,"series":"Buy and hold"},{"day":900,"growth":0.834,"series":"Buy and hold"},{"day":910,"growth":0.81,"series":"Buy and hold"},{"day":920,"growth":0.773,"series":"Buy and hold"},{"day":930,"growth":0.765,"series":"Buy and hold"},{"day":940,"growth":0.734,"series":"Buy and hold"},{"day":950,"growth":0.717,"series":"Buy and hold"},{"day":960,"growth":0.679,"series":"Buy and hold"},{"day":970,"growth":0.67,"series":"Buy and hold"},{"day":980,"growth":0.672,"series":"Buy and hold"},{"day":990,"growth":0.696,"series":"Buy and hold"},{"day":1000,"growth":0.692,"series":"Buy and hold"},{"day":1010,"growth":0.7,"series":"Buy and hold"},{"day":1020,"growth":0.753,"series":"Buy and hold"},{"day":1030,"growth":0.756,"series":"Buy and hold"},{"day":1040,"growth":0.752,"series":"Buy and hold"},{"day":1050,"growth":0.755,"series":"Buy and hold"},{"day":1060,"growth":0.816,"series":"Buy and hold"},{"day":1070,"growth":0.831,"series":"Buy and hold"},{"day":1080,"growth":0.826,"series":"Buy and hold"},{"day":1090,"growth":0.822,"series":"Buy and hold"},{"day":1100,"growth":0.807,"series":"Buy and hold"},{"day":1110,"growth":0.787,"series":"Buy and hold"},{"day":1120,"growth":0.746,"series":"Buy and hold"},{"day":1130,"growth":0.758,"series":"Buy and hold"},{"day":1140,"growth":0.798,"series":"Buy and hold"},{"day":1150,"growth":0.8,"series":"Buy and hold"},{"day":1160,"growth":0.756,"series":"Buy and hold"},{"day":1170,"growth":0.703,"series":"Buy and hold"},{"day":1180,"growth":0.688,"series":"Buy and hold"},{"day":1190,"growth":0.683,"series":"Buy and hold"},{"day":1200,"growth":0.688,"series":"Buy and hold"},{"day":1210,"growth":0.671,"series":"Buy and hold"},{"day":1220,"growth":0.699,"series":"Buy and hold"},{"day":1230,"growth":0.679,"series":"Buy and hold"},{"day":1240,"growth":0.66,"series":"Buy and hold"},{"day":1250,"growth":0.633,"series":"Buy and hold"},{"day":1260,"growth":0.634,"series":"Buy and hold"},{"day":1270,"growth":0.619,"series":"Buy and hold"},{"day":1280,"growth":0.614,"series":"Buy and hold"},{"day":1290,"growth":0.612,"series":"Buy and hold"},{"day":1300,"growth":0.609,"series":"Buy and hold"},{"day":1310,"growth":0.587,"series":"Buy and hold"},{"day":1320,"growth":0.561,"series":"Buy and hold"},{"day":1330,"growth":0.561,"series":"Buy and hold"},{"day":1340,"growth":0.57,"series":"Buy and hold"},{"day":1350,"growth":0.621,"series":"Buy and hold"},{"day":1360,"growth":0.655,"series":"Buy and hold"},{"day":1370,"growth":0.661,"series":"Buy and hold"},{"day":1380,"growth":0.696,"series":"Buy and hold"},{"day":1390,"growth":0.744,"series":"Buy and hold"},{"day":1400,"growth":0.761,"series":"Buy and hold"},{"day":1410,"growth":0.708,"series":"Buy and hold"},{"day":1420,"growth":0.696,"series":"Buy and hold"},{"day":1430,"growth":0.7,"series":"Buy and hold"},{"day":1440,"growth":0.695,"series":"Buy and hold"},{"day":1450,"growth":0.718,"series":"Buy and hold"},{"day":1460,"growth":0.702,"series":"Buy and hold"},{"day":1470,"growth":0.684,"series":"Buy and hold"},{"day":1480,"growth":0.664,"series":"Buy and hold"},{"day":1490,"growth":0.643,"series":"Buy and hold"},{"day":1500,"growth":0.63,"series":"Buy and hold"},{"day":1510,"growth":0.639,"series":"Buy and hold"},{"day":1520,"growth":0.656,"series":"Buy and hold"},{"day":1530,"growth":0.623,"series":"Buy and hold"},{"day":1540,"growth":0.628,"series":"Buy and hold"},{"day":1550,"growth":0.612,"series":"Buy and hold"},{"day":1560,"growth":0.571,"series":"Buy and hold"},{"day":1570,"growth":0.535,"series":"Buy and hold"},{"day":1580,"growth":0.528,"series":"Buy and hold"},{"day":1590,"growth":0.501,"series":"Buy and hold"},{"day":1600,"growth":0.488,"series":"Buy and hold"},{"day":1610,"growth":0.48,"series":"Buy and hold"},{"day":1620,"growth":0.49,"series":"Buy and hold"},{"day":1630,"growth":0.494,"series":"Buy and hold"},{"day":1640,"growth":0.502,"series":"Buy and hold"},{"day":1650,"growth":0.527,"series":"Buy and hold"},{"day":1660,"growth":0.523,"series":"Buy and hold"},{"day":1670,"growth":0.534,"series":"Buy and hold"},{"day":1680,"growth":0.564,"series":"Buy and hold"},{"day":1690,"growth":0.57,"series":"Buy and hold"},{"day":1700,"growth":0.574,"series":"Buy and hold"},{"day":1710,"growth":0.564,"series":"Buy and hold"},{"day":1720,"growth":0.543,"series":"Buy and hold"},{"day":1730,"growth":0.542,"series":"Buy and hold"},{"day":1740,"growth":0.578,"series":"Buy and hold"}],"metrics":[{"period":"In sample (chosen on)","sharpe":"1.16","ret":"17.8%","dd":"21%","turn":"7.9"},{"period":"Out of sample (not seen)","sharpe":"0.54","ret":"8.6%","dd":"23%","turn":"6.8"},{"period":"Out of sample, before costs","sharpe":"0.56","ret":"8.9%","dd":"23%","turn":"6.8"}]},"root":{"type":"Page","children":[{"type":"Text","props":{"text":"The market hides a trend that flips for months at a time. A rule that follows the direction of the last few weeks can find it, and the proof is the part of the chart it was not chosen on.","muted":false}},{"type":"Text","props":{"text":"The market is simulated, with a trend planted in it by construction, so a rule that \"finds\" an edge proves the method works, not that this edge exists in a real market. Trading days are counted after warm-up; the first 1050 are in sample.","muted":true}},{"type":"Chart","props":{"title":"Trend: 30/60-day averages: growth of 1 on a simulated market (hidden trend)","mark":"line","height":220,"data":{"$state":"/growth"},"encoding":{"x":{"field":"day","type":"quantitative","title":"Trading day"},"y":{"field":"growth","type":"quantitative","title":"Growth of 1 (starts at 1)"},"color":{"field":"series","type":"nominal","title":"Series"}}}},{"type":"Table","props":{"caption":"Trend: 30/60-day averages, 5 bps per unit traded. Sharpe is annualised; turnover is position changes per year.","columns":[{"key":"period","label":"Period"},{"key":"sharpe","label":"Sharpe","align":"right"},{"key":"ret","label":"Mean yearly return","align":"right"},{"key":"dd","label":"Worst fall","align":"right"},{"key":"turn","label":"Turnover","align":"right"}],"rows":{"$state":"/metrics"}}}]}}}},{"id":"alpha-no-edge","track":"alpha","title":"The same kind of rule where there is nothing","summary":"A trend rule on a market with no edge: it can look fine in sample and has nothing out of it.","principle":"alpha-trials","tags":["alpha","backtest","algorithms"],"evidence":["lib/alpha/strategies.ts (sma, momentum, reversion)","lib/alpha/backtest.ts (backtest)","lib/alpha/research.ts (research)"],"body":{"kind":"inline-spec","spec":{"title":"A trend rule on a market with no edge","description":"Nothing here predicts anything. Any gain the rule shows is the luck of one path, and it does not carry to data it was not chosen on.","provenance":"data","state":{"growth":[{"day":0,"growth":1.011,"series":"The rule, after costs"},{"day":10,"growth":1.009,"series":"The rule, after costs"},{"day":20,"growth":1.01,"series":"The rule, after costs"},{"day":30,"growth":0.992,"series":"The rule, after costs"},{"day":40,"growth":1.004,"series":"The rule, after costs"},{"day":50,"growth":0.999,"series":"The rule, after costs"},{"day":60,"growth":0.98,"series":"The rule, after costs"},{"day":70,"growth":0.953,"series":"The rule, after costs"},{"day":80,"growth":1,"series":"The rule, after costs"},{"day":90,"growth":1.003,"series":"The rule, after costs"},{"day":100,"growth":0.997,"series":"The rule, after costs"},{"day":110,"growth":1.021,"series":"The rule, after costs"},{"day":120,"growth":1.048,"series":"The rule, after costs"},{"day":130,"growth":1.045,"series":"The rule, after costs"},{"day":140,"growth":0.978,"series":"The rule, after costs"},{"day":150,"growth":1.014,"series":"The rule, after costs"},{"day":160,"growth":1.069,"series":"The rule, after costs"},{"day":170,"growth":1.069,"series":"The rule, after costs"},{"day":180,"growth":1.073,"series":"The rule, after costs"},{"day":190,"growth":1.061,"series":"The rule, after costs"},{"day":200,"growth":1.057,"series":"The rule, after costs"},{"day":210,"growth":1.033,"series":"The rule, after costs"},{"day":220,"growth":1.015,"series":"The rule, after costs"},{"day":230,"growth":1.058,"series":"The rule, after costs"},{"day":240,"growth":1.038,"series":"The rule, after costs"},{"day":250,"growth":0.984,"series":"The rule, after costs"},{"day":260,"growth":0.98,"series":"The rule, after costs"},{"day":270,"growth":0.955,"series":"The rule, after costs"},{"day":280,"growth":0.963,"series":"The rule, after costs"},{"day":290,"growth":0.998,"series":"The rule, after costs"},{"day":300,"growth":1.034,"series":"The rule, after costs"},{"day":310,"growth":1.057,"series":"The rule, after costs"},{"day":320,"growth":1.066,"series":"The rule, after costs"},{"day":330,"growth":1.071,"series":"The rule, after costs"},{"day":340,"growth":1.057,"series":"The rule, after costs"},{"day":350,"growth":1.051,"series":"The rule, after costs"},{"day":360,"growth":1.059,"series":"The rule, after costs"},{"day":370,"growth":1.08,"series":"The rule, after costs"},{"day":380,"growth":1.061,"series":"The rule, after costs"},{"day":390,"growth":1.079,"series":"The rule, after costs"},{"day":400,"growth":1.078,"series":"The rule, after costs"},{"day":410,"growth":1.057,"series":"The rule, after costs"},{"day":420,"growth":1.025,"series":"The rule, after costs"},{"day":430,"growth":1.023,"series":"The rule, after costs"},{"day":440,"growth":1.046,"series":"The rule, after costs"},{"day":450,"growth":1.066,"series":"The rule, after costs"},{"day":460,"growth":1.058,"series":"The rule, after costs"},{"day":470,"growth":1.027,"series":"The rule, after costs"},{"day":480,"growth":1.095,"series":"The rule, after costs"},{"day":490,"growth":1.071,"series":"The rule, after costs"},{"day":500,"growth":1.034,"series":"The rule, after costs"},{"day":510,"growth":1.041,"series":"The rule, after costs"},{"day":520,"growth":1.08,"series":"The rule, after costs"},{"day":530,"growth":1.052,"series":"The rule, after costs"},{"day":540,"growth":1.011,"series":"The rule, after costs"},{"day":550,"growth":1.01,"series":"The rule, after costs"},{"day":560,"growth":1.013,"series":"The rule, after costs"},{"day":570,"growth":1.003,"series":"The rule, after costs"},{"day":580,"growth":1.035,"series":"The rule, after costs"},{"day":590,"growth":1.021,"series":"The rule, after costs"},{"day":600,"growth":1.038,"series":"The rule, after costs"},{"day":610,"growth":1.059,"series":"The rule, after costs"},{"day":620,"growth":1.051,"series":"The rule, after costs"},{"day":630,"growth":1.092,"series":"The rule, after costs"},{"day":640,"growth":1.08,"series":"The rule, after costs"},{"day":650,"growth":1.138,"series":"The rule, after costs"},{"day":660,"growth":1.099,"series":"The rule, after costs"},{"day":670,"growth":1.072,"series":"The rule, after costs"},{"day":680,"growth":1.077,"series":"The rule, after costs"},{"day":690,"growth":1.083,"series":"The rule, after costs"},{"day":700,"growth":1.074,"series":"The rule, after costs"},{"day":710,"growth":1.015,"series":"The rule, after costs"},{"day":720,"growth":0.99,"series":"The rule, after costs"},{"day":730,"growth":0.978,"series":"The rule, after costs"},{"day":740,"growth":0.96,"series":"The rule, after costs"},{"day":750,"growth":0.902,"series":"The rule, after costs"},{"day":760,"growth":0.871,"series":"The rule, after costs"},{"day":770,"growth":0.819,"series":"The rule, after costs"},{"day":780,"growth":0.786,"series":"The rule, after costs"},{"day":790,"growth":0.792,"series":"The rule, after costs"},{"day":800,"growth":0.801,"series":"The rule, after costs"},{"day":810,"growth":0.774,"series":"The rule, after costs"},{"day":820,"growth":0.77,"series":"The rule, after costs"},{"day":830,"growth":0.755,"series":"The rule, after costs"},{"day":840,"growth":0.765,"series":"The rule, after costs"},{"day":850,"growth":0.742,"series":"The rule, after costs"},{"day":860,"growth":0.762,"series":"The rule, after costs"},{"day":870,"growth":0.724,"series":"The rule, after costs"},{"day":880,"growth":0.728,"series":"The rule, after costs"},{"day":890,"growth":0.743,"series":"The rule, after costs"},{"day":900,"growth":0.719,"series":"The rule, after costs"},{"day":910,"growth":0.727,"series":"The rule, after costs"},{"day":920,"growth":0.748,"series":"The rule, after costs"},{"day":930,"growth":0.743,"series":"The rule, after costs"},{"day":940,"growth":0.76,"series":"The rule, after costs"},{"day":950,"growth":0.764,"series":"The rule, after costs"},{"day":960,"growth":0.793,"series":"The rule, after costs"},{"day":970,"growth":0.789,"series":"The rule, after costs"},{"day":980,"growth":0.778,"series":"The rule, after costs"},{"day":990,"growth":0.76,"series":"The rule, after costs"},{"day":1000,"growth":0.734,"series":"The rule, after costs"},{"day":1010,"growth":0.733,"series":"The rule, after costs"},{"day":1020,"growth":0.779,"series":"The rule, after costs"},{"day":1030,"growth":0.771,"series":"The rule, after costs"},{"day":1040,"growth":0.758,"series":"The rule, after costs"},{"day":1050,"growth":0.751,"series":"The rule, after costs"},{"day":1060,"growth":0.8,"series":"The rule, after costs"},{"day":1070,"growth":0.805,"series":"The rule, after costs"},{"day":1080,"growth":0.79,"series":"The rule, after costs"},{"day":1090,"growth":0.776,"series":"The rule, after costs"},{"day":1100,"growth":0.752,"series":"The rule, after costs"},{"day":1110,"growth":0.78,"series":"The rule, after costs"},{"day":1120,"growth":0.833,"series":"The rule, after costs"},{"day":1130,"growth":0.831,"series":"The rule, after costs"},{"day":1140,"growth":0.798,"series":"The rule, after costs"},{"day":1150,"growth":0.781,"series":"The rule, after costs"},{"day":1160,"growth":0.812,"series":"The rule, after costs"},{"day":1170,"growth":0.778,"series":"The rule, after costs"},{"day":1180,"growth":0.781,"series":"The rule, after costs"},{"day":1190,"growth":0.773,"series":"The rule, after costs"},{"day":1200,"growth":0.753,"series":"The rule, after costs"},{"day":1210,"growth":0.759,"series":"The rule, after costs"},{"day":1220,"growth":0.743,"series":"The rule, after costs"},{"day":1230,"growth":0.735,"series":"The rule, after costs"},{"day":1240,"growth":0.726,"series":"The rule, after costs"},{"day":1250,"growth":0.708,"series":"The rule, after costs"},{"day":1260,"growth":0.722,"series":"The rule, after costs"},{"day":1270,"growth":0.725,"series":"The rule, after costs"},{"day":1280,"growth":0.718,"series":"The rule, after costs"},{"day":1290,"growth":0.708,"series":"The rule, after costs"},{"day":1300,"growth":0.695,"series":"The rule, after costs"},{"day":1310,"growth":0.681,"series":"The rule, after costs"},{"day":1320,"growth":0.662,"series":"The rule, after costs"},{"day":1330,"growth":0.657,"series":"The rule, after costs"},{"day":1340,"growth":0.634,"series":"The rule, after costs"},{"day":1350,"growth":0.622,"series":"The rule, after costs"},{"day":1360,"growth":0.647,"series":"The rule, after costs"},{"day":1370,"growth":0.645,"series":"The rule, after costs"},{"day":1380,"growth":0.67,"series":"The rule, after costs"},{"day":1390,"growth":0.707,"series":"The rule, after costs"},{"day":1400,"growth":0.714,"series":"The rule, after costs"},{"day":1410,"growth":0.656,"series":"The rule, after costs"},{"day":1420,"growth":0.65,"series":"The rule, after costs"},{"day":1430,"growth":0.656,"series":"The rule, after costs"},{"day":1440,"growth":0.648,"series":"The rule, after costs"},{"day":1450,"growth":0.617,"series":"The rule, after costs"},{"day":1460,"growth":0.606,"series":"The rule, after costs"},{"day":1470,"growth":0.601,"series":"The rule, after costs"},{"day":1480,"growth":0.594,"series":"The rule, after costs"},{"day":1490,"growth":0.585,"series":"The rule, after costs"},{"day":1500,"growth":0.586,"series":"The rule, after costs"},{"day":1510,"growth":0.568,"series":"The rule, after costs"},{"day":1520,"growth":0.543,"series":"The rule, after costs"},{"day":1530,"growth":0.526,"series":"The rule, after costs"},{"day":1540,"growth":0.539,"series":"The rule, after costs"},{"day":1550,"growth":0.534,"series":"The rule, after costs"},{"day":1560,"growth":0.507,"series":"The rule, after costs"},{"day":1570,"growth":0.524,"series":"The rule, after costs"},{"day":1580,"growth":0.521,"series":"The rule, after costs"},{"day":1590,"growth":0.539,"series":"The rule, after costs"},{"day":1600,"growth":0.544,"series":"The rule, after costs"},{"day":1610,"growth":0.544,"series":"The rule, after costs"},{"day":1620,"growth":0.532,"series":"The rule, after costs"},{"day":1630,"growth":0.535,"series":"The rule, after costs"},{"day":1640,"growth":0.549,"series":"The rule, after costs"},{"day":1650,"growth":0.569,"series":"The rule, after costs"},{"day":1660,"growth":0.557,"series":"The rule, after costs"},{"day":1670,"growth":0.562,"series":"The rule, after costs"},{"day":1680,"growth":0.586,"series":"The rule, after costs"},{"day":1690,"growth":0.585,"series":"The rule, after costs"},{"day":1700,"growth":0.581,"series":"The rule, after costs"},{"day":1710,"growth":0.563,"series":"The rule, after costs"},{"day":1720,"growth":0.558,"series":"The rule, after costs"},{"day":1730,"growth":0.565,"series":"The rule, after costs"},{"day":1740,"growth":0.536,"series":"The rule, after costs"},{"day":0,"growth":1.011,"series":"Buy and hold"},{"day":10,"growth":1.009,"series":"Buy and hold"},{"day":20,"growth":1.01,"series":"Buy and hold"},{"day":30,"growth":0.992,"series":"Buy and hold"},{"day":40,"growth":0.961,"series":"Buy and hold"},{"day":50,"growth":0.965,"series":"Buy and hold"},{"day":60,"growth":0.984,"series":"Buy and hold"},{"day":70,"growth":1.011,"series":"Buy and hold"},{"day":80,"growth":1.054,"series":"Buy and hold"},{"day":90,"growth":1.057,"series":"Buy and hold"},{"day":100,"growth":1.05,"series":"Buy and hold"},{"day":110,"growth":1.076,"series":"Buy and hold"},{"day":120,"growth":1.104,"series":"Buy and hold"},{"day":130,"growth":1.101,"series":"Buy and hold"},{"day":140,"growth":1.03,"series":"Buy and hold"},{"day":150,"growth":1.069,"series":"Buy and hold"},{"day":160,"growth":1.012,"series":"Buy and hold"},{"day":170,"growth":1.011,"series":"Buy and hold"},{"day":180,"growth":1.007,"series":"Buy and hold"},{"day":190,"growth":1.018,"series":"Buy and hold"},{"day":200,"growth":1.021,"series":"Buy and hold"},{"day":210,"growth":1.044,"series":"Buy and hold"},{"day":220,"growth":1.063,"series":"Buy and hold"},{"day":230,"growth":1.108,"series":"Buy and hold"},{"day":240,"growth":1.086,"series":"Buy and hold"},{"day":250,"growth":1.03,"series":"Buy and hold"},{"day":260,"growth":1.026,"series":"Buy and hold"},{"day":270,"growth":1.02,"series":"Buy and hold"},{"day":280,"growth":1.01,"series":"Buy and hold"},{"day":290,"growth":0.974,"series":"Buy and hold"},{"day":300,"growth":0.939,"series":"Buy and hold"},{"day":310,"growth":0.918,"series":"Buy and hold"},{"day":320,"growth":0.909,"series":"Buy and hold"},{"day":330,"growth":0.904,"series":"Buy and hold"},{"day":340,"growth":0.915,"series":"Buy and hold"},{"day":350,"growth":0.92,"series":"Buy and hold"},{"day":360,"growth":0.912,"series":"Buy and hold"},{"day":370,"growth":0.924,"series":"Buy and hold"},{"day":380,"growth":0.908,"series":"Buy and hold"},{"day":390,"growth":0.923,"series":"Buy and hold"},{"day":400,"growth":0.923,"series":"Buy and hold"},{"day":410,"growth":0.905,"series":"Buy and hold"},{"day":420,"growth":0.916,"series":"Buy and hold"},{"day":430,"growth":0.916,"series":"Buy and hold"},{"day":440,"growth":0.895,"series":"Buy and hold"},{"day":450,"growth":0.878,"series":"Buy and hold"},{"day":460,"growth":0.883,"series":"Buy and hold"},{"day":470,"growth":0.909,"series":"Buy and hold"},{"day":480,"growth":0.851,"series":"Buy and hold"},{"day":490,"growth":0.869,"series":"Buy and hold"},{"day":500,"growth":0.9,"series":"Buy and hold"},{"day":510,"growth":0.893,"series":"Buy and hold"},{"day":520,"growth":0.92,"series":"Buy and hold"},{"day":530,"growth":0.896,"series":"Buy and hold"},{"day":540,"growth":0.861,"series":"Buy and hold"},{"day":550,"growth":0.836,"series":"Buy and hold"},{"day":560,"growth":0.833,"series":"Buy and hold"},{"day":570,"growth":0.841,"series":"Buy and hold"},{"day":580,"growth":0.815,"series":"Buy and hold"},{"day":590,"growth":0.826,"series":"Buy and hold"},{"day":600,"growth":0.811,"series":"Buy and hold"},{"day":610,"growth":0.794,"series":"Buy and hold"},{"day":620,"growth":0.8,"series":"Buy and hold"},{"day":630,"growth":0.77,"series":"Buy and hold"},{"day":640,"growth":0.778,"series":"Buy and hold"},{"day":650,"growth":0.738,"series":"Buy and hold"},{"day":660,"growth":0.763,"series":"Buy and hold"},{"day":670,"growth":0.782,"series":"Buy and hold"},{"day":680,"growth":0.777,"series":"Buy and hold"},{"day":690,"growth":0.778,"series":"Buy and hold"},{"day":700,"growth":0.772,"series":"Buy and hold"},{"day":710,"growth":0.747,"series":"Buy and hold"},{"day":720,"growth":0.766,"series":"Buy and hold"},{"day":730,"growth":0.773,"series":"Buy and hold"},{"day":740,"growth":0.763,"series":"Buy and hold"},{"day":750,"growth":0.717,"series":"Buy and hold"},{"day":760,"growth":0.714,"series":"Buy and hold"},{"day":770,"growth":0.758,"series":"Buy and hold"},{"day":780,"growth":0.789,"series":"Buy and hold"},{"day":790,"growth":0.778,"series":"Buy and hold"},{"day":800,"growth":0.787,"series":"Buy and hold"},{"day":810,"growth":0.761,"series":"Buy and hold"},{"day":820,"growth":0.757,"series":"Buy and hold"},{"day":830,"growth":0.77,"series":"Buy and hold"},{"day":840,"growth":0.76,"series":"Buy and hold"},{"day":850,"growth":0.745,"series":"Buy and hold"},{"day":860,"growth":0.765,"series":"Buy and hold"},{"day":870,"growth":0.723,"series":"Buy and hold"},{"day":880,"growth":0.718,"series":"Buy and hold"},{"day":890,"growth":0.703,"series":"Buy and hold"},{"day":900,"growth":0.726,"series":"Buy and hold"},{"day":910,"growth":0.717,"series":"Buy and hold"},{"day":920,"growth":0.696,"series":"Buy and hold"},{"day":930,"growth":0.7,"series":"Buy and hold"},{"day":940,"growth":0.684,"series":"Buy and hold"},{"day":950,"growth":0.68,"series":"Buy and hold"},{"day":960,"growth":0.654,"series":"Buy and hold"},{"day":970,"growth":0.657,"series":"Buy and hold"},{"day":980,"growth":0.666,"series":"Buy and hold"},{"day":990,"growth":0.682,"series":"Buy and hold"},{"day":1000,"growth":0.668,"series":"Buy and hold"},{"day":1010,"growth":0.667,"series":"Buy and hold"},{"day":1020,"growth":0.709,"series":"Buy and hold"},{"day":1030,"growth":0.702,"series":"Buy and hold"},{"day":1040,"growth":0.69,"series":"Buy and hold"},{"day":1050,"growth":0.683,"series":"Buy and hold"},{"day":1060,"growth":0.729,"series":"Buy and hold"},{"day":1070,"growth":0.733,"series":"Buy and hold"},{"day":1080,"growth":0.719,"series":"Buy and hold"},{"day":1090,"growth":0.706,"series":"Buy and hold"},{"day":1100,"growth":0.685,"series":"Buy and hold"},{"day":1110,"growth":0.659,"series":"Buy and hold"},{"day":1120,"growth":0.617,"series":"Buy and hold"},{"day":1130,"growth":0.618,"series":"Buy and hold"},{"day":1140,"growth":0.643,"series":"Buy and hold"},{"day":1150,"growth":0.655,"series":"Buy and hold"},{"day":1160,"growth":0.63,"series":"Buy and hold"},{"day":1170,"growth":0.596,"series":"Buy and hold"},{"day":1180,"growth":0.593,"series":"Buy and hold"},{"day":1190,"growth":0.599,"series":"Buy and hold"},{"day":1200,"growth":0.613,"series":"Buy and hold"},{"day":1210,"growth":0.609,"series":"Buy and hold"},{"day":1220,"growth":0.645,"series":"Buy and hold"},{"day":1230,"growth":0.638,"series":"Buy and hold"},{"day":1240,"growth":0.63,"series":"Buy and hold"},{"day":1250,"growth":0.615,"series":"Buy and hold"},{"day":1260,"growth":0.627,"series":"Buy and hold"},{"day":1270,"growth":0.622,"series":"Buy and hold"},{"day":1280,"growth":0.627,"series":"Buy and hold"},{"day":1290,"growth":0.637,"series":"Buy and hold"},{"day":1300,"growth":0.644,"series":"Buy and hold"},{"day":1310,"growth":0.631,"series":"Buy and hold"},{"day":1320,"growth":0.614,"series":"Buy and hold"},{"day":1330,"growth":0.624,"series":"Buy and hold"},{"day":1340,"growth":0.646,"series":"Buy and hold"},{"day":1350,"growth":0.703,"series":"Buy and hold"},{"day":1360,"growth":0.731,"series":"Buy and hold"},{"day":1370,"growth":0.728,"series":"Buy and hold"},{"day":1380,"growth":0.757,"series":"Buy and hold"},{"day":1390,"growth":0.799,"series":"Buy and hold"},{"day":1400,"growth":0.806,"series":"Buy and hold"},{"day":1410,"growth":0.74,"series":"Buy and hold"},{"day":1420,"growth":0.734,"series":"Buy and hold"},{"day":1430,"growth":0.75,"series":"Buy and hold"},{"day":1440,"growth":0.759,"series":"Buy and hold"},{"day":1450,"growth":0.797,"series":"Buy and hold"},{"day":1460,"growth":0.792,"series":"Buy and hold"},{"day":1470,"growth":0.785,"series":"Buy and hold"},{"day":1480,"growth":0.776,"series":"Buy and hold"},{"day":1490,"growth":0.764,"series":"Buy and hold"},{"day":1500,"growth":0.761,"series":"Buy and hold"},{"day":1510,"growth":0.785,"series":"Buy and hold"},{"day":1520,"growth":0.82,"series":"Buy and hold"},{"day":1530,"growth":0.793,"series":"Buy and hold"},{"day":1540,"growth":0.812,"series":"Buy and hold"},{"day":1550,"growth":0.805,"series":"Buy and hold"},{"day":1560,"growth":0.765,"series":"Buy and hold"},{"day":1570,"growth":0.728,"series":"Buy and hold"},{"day":1580,"growth":0.731,"series":"Buy and hold"},{"day":1590,"growth":0.706,"series":"Buy and hold"},{"day":1600,"growth":0.699,"series":"Buy and hold"},{"day":1610,"growth":0.699,"series":"Buy and hold"},{"day":1620,"growth":0.714,"series":"Buy and hold"},{"day":1630,"growth":0.709,"series":"Buy and hold"},{"day":1640,"growth":0.712,"series":"Buy and hold"},{"day":1650,"growth":0.738,"series":"Buy and hold"},{"day":1660,"growth":0.722,"series":"Buy and hold"},{"day":1670,"growth":0.729,"series":"Buy and hold"},{"day":1680,"growth":0.759,"series":"Buy and hold"},{"day":1690,"growth":0.758,"series":"Buy and hold"},{"day":1700,"growth":0.753,"series":"Buy and hold"},{"day":1710,"growth":0.73,"series":"Buy and hold"},{"day":1720,"growth":0.694,"series":"Buy and hold"},{"day":1730,"growth":0.684,"series":"Buy and hold"},{"day":1740,"growth":0.72,"series":"Buy and hold"}],"metrics":[{"period":"In sample (chosen on)","sharpe":"-0.40","ret":"-6.1%","dd":"38%","turn":"9.8"},{"period":"Out of sample (not seen)","sharpe":"-0.68","ret":"-10.8%","dd":"40%","turn":"11.2"},{"period":"Out of sample, before costs","sharpe":"-0.65","ret":"-10.2%","dd":"39%","turn":"11.2"}]},"root":{"type":"Page","children":[{"type":"Text","props":{"text":"Nothing here predicts anything. Any gain the rule shows is the luck of one path, and it does not carry to data it was not chosen on.","muted":false}},{"type":"Text","props":{"text":"The market is simulated, with no edge planted in it, so a rule that \"finds\" an edge proves the method works, not that this edge exists in a real market. Trading days are counted after warm-up; the first 1050 are in sample.","muted":true}},{"type":"Chart","props":{"title":"Trend: 30/60-day averages: growth of 1 on a simulated market (no edge)","mark":"line","height":220,"data":{"$state":"/growth"},"encoding":{"x":{"field":"day","type":"quantitative","title":"Trading day"},"y":{"field":"growth","type":"quantitative","title":"Growth of 1 (starts at 1)"},"color":{"field":"series","type":"nominal","title":"Series"}}}},{"type":"Table","props":{"caption":"Trend: 30/60-day averages, 5 bps per unit traded. Sharpe is annualised; turnover is position changes per year.","columns":[{"key":"period","label":"Period"},{"key":"sharpe","label":"Sharpe","align":"right"},{"key":"ret","label":"Mean yearly return","align":"right"},{"key":"dd","label":"Worst fall","align":"right"},{"key":"turn","label":"Turnover","align":"right"}],"rows":{"$state":"/metrics"}}}]}}}},{"id":"alpha-costs","track":"alpha","title":"A rule that trades too much","summary":"A short-lookback reversion rule: before costs it looks like something, after costs it does not.","principle":"alpha-costs","tags":["alpha","backtest","algorithms"],"evidence":["lib/alpha/strategies.ts (sma, momentum, reversion)","lib/alpha/backtest.ts (backtest)","lib/alpha/research.ts (research)"],"body":{"kind":"inline-spec","spec":{"title":"A fast rule and its costs","description":"This rule flips its position many times a year. Compare the last two rows of the table: what it earns before costs, and what is left after.","provenance":"data","state":{"growth":[{"day":0,"growth":1.009,"series":"The rule, after costs"},{"day":10,"growth":1.028,"series":"The rule, after costs"},{"day":20,"growth":1.012,"series":"The rule, after costs"},{"day":30,"growth":1.012,"series":"The rule, after costs"},{"day":40,"growth":1.008,"series":"The rule, after costs"},{"day":50,"growth":1.004,"series":"The rule, after costs"},{"day":60,"growth":1.012,"series":"The rule, after costs"},{"day":70,"growth":0.989,"series":"The rule, after costs"},{"day":80,"growth":0.95,"series":"The rule, after costs"},{"day":90,"growth":0.963,"series":"The rule, after costs"},{"day":100,"growth":0.956,"series":"The rule, after costs"},{"day":110,"growth":0.964,"series":"The rule, after costs"},{"day":120,"growth":0.942,"series":"The rule, after costs"},{"day":130,"growth":0.934,"series":"The rule, after costs"},{"day":140,"growth":0.9,"series":"The rule, after costs"},{"day":150,"growth":0.903,"series":"The rule, after costs"},{"day":160,"growth":0.866,"series":"The rule, after costs"},{"day":170,"growth":0.852,"series":"The rule, after costs"},{"day":180,"growth":0.858,"series":"The rule, after costs"},{"day":190,"growth":0.868,"series":"The rule, after costs"},{"day":200,"growth":0.854,"series":"The rule, after costs"},{"day":210,"growth":0.818,"series":"The rule, after costs"},{"day":220,"growth":0.809,"series":"The rule, after costs"},{"day":230,"growth":0.784,"series":"The rule, after costs"},{"day":240,"growth":0.766,"series":"The rule, after costs"},{"day":250,"growth":0.727,"series":"The rule, after costs"},{"day":260,"growth":0.712,"series":"The rule, after costs"},{"day":270,"growth":0.71,"series":"The rule, after costs"},{"day":280,"growth":0.717,"series":"The rule, after costs"},{"day":290,"growth":0.716,"series":"The rule, after costs"},{"day":300,"growth":0.685,"series":"The rule, after costs"},{"day":310,"growth":0.677,"series":"The rule, after costs"},{"day":320,"growth":0.681,"series":"The rule, after costs"},{"day":330,"growth":0.687,"series":"The rule, after costs"},{"day":340,"growth":0.672,"series":"The rule, after costs"},{"day":350,"growth":0.68,"series":"The rule, after costs"},{"day":360,"growth":0.689,"series":"The rule, after costs"},{"day":370,"growth":0.695,"series":"The rule, after costs"},{"day":380,"growth":0.678,"series":"The rule, after costs"},{"day":390,"growth":0.682,"series":"The rule, after costs"},{"day":400,"growth":0.661,"series":"The rule, after costs"},{"day":410,"growth":0.635,"series":"The rule, after costs"},{"day":420,"growth":0.629,"series":"The rule, after costs"},{"day":430,"growth":0.637,"series":"The rule, after costs"},{"day":440,"growth":0.623,"series":"The rule, after costs"},{"day":450,"growth":0.617,"series":"The rule, after costs"},{"day":460,"growth":0.632,"series":"The rule, after costs"},{"day":470,"growth":0.629,"series":"The rule, after costs"},{"day":480,"growth":0.606,"series":"The rule, after costs"},{"day":490,"growth":0.61,"series":"The rule, after costs"},{"day":500,"growth":0.599,"series":"The rule, after costs"},{"day":510,"growth":0.587,"series":"The rule, after costs"},{"day":520,"growth":0.577,"series":"The rule, after costs"},{"day":530,"growth":0.571,"series":"The rule, after costs"},{"day":540,"growth":0.557,"series":"The rule, after costs"},{"day":550,"growth":0.549,"series":"The rule, after costs"},{"day":560,"growth":0.547,"series":"The rule, after costs"},{"day":570,"growth":0.543,"series":"The rule, after costs"},{"day":580,"growth":0.527,"series":"The rule, after costs"},{"day":590,"growth":0.531,"series":"The rule, after costs"},{"day":600,"growth":0.519,"series":"The rule, after costs"},{"day":610,"growth":0.516,"series":"The rule, after costs"},{"day":620,"growth":0.516,"series":"The rule, after costs"},{"day":630,"growth":0.5,"series":"The rule, after costs"},{"day":640,"growth":0.51,"series":"The rule, after costs"},{"day":650,"growth":0.492,"series":"The rule, after costs"},{"day":660,"growth":0.493,"series":"The rule, after costs"},{"day":670,"growth":0.49,"series":"The rule, after costs"},{"day":680,"growth":0.488,"series":"The rule, after costs"},{"day":690,"growth":0.486,"series":"The rule, after costs"},{"day":700,"growth":0.502,"series":"The rule, after costs"},{"day":710,"growth":0.48,"series":"The rule, after costs"},{"day":720,"growth":0.467,"series":"The rule, after costs"},{"day":730,"growth":0.459,"series":"The rule, after costs"},{"day":740,"growth":0.459,"series":"The rule, after costs"},{"day":750,"growth":0.444,"series":"The rule, after costs"},{"day":760,"growth":0.445,"series":"The rule, after costs"},{"day":770,"growth":0.432,"series":"The rule, after costs"},{"day":780,"growth":0.426,"series":"The rule, after costs"},{"day":790,"growth":0.432,"series":"The rule, after costs"},{"day":800,"growth":0.428,"series":"The rule, after costs"},{"day":810,"growth":0.426,"series":"The rule, after costs"},{"day":820,"growth":0.407,"series":"The rule, after costs"},{"day":830,"growth":0.412,"series":"The rule, after costs"},{"day":840,"growth":0.414,"series":"The rule, after costs"},{"day":850,"growth":0.402,"series":"The rule, after costs"},{"day":860,"growth":0.411,"series":"The rule, after costs"},{"day":870,"growth":0.4,"series":"The rule, after costs"},{"day":880,"growth":0.4,"series":"The rule, after costs"},{"day":890,"growth":0.398,"series":"The rule, after costs"},{"day":900,"growth":0.38,"series":"The rule, after costs"},{"day":910,"growth":0.387,"series":"The rule, after costs"},{"day":920,"growth":0.379,"series":"The rule, after costs"},{"day":930,"growth":0.368,"series":"The rule, after costs"},{"day":940,"growth":0.37,"series":"The rule, after costs"},{"day":950,"growth":0.36,"series":"The rule, after costs"},{"day":960,"growth":0.362,"series":"The rule, after costs"},{"day":970,"growth":0.365,"series":"The rule, after costs"},{"day":980,"growth":0.367,"series":"The rule, after costs"},{"day":990,"growth":0.364,"series":"The rule, after costs"},{"day":1000,"growth":0.379,"series":"The rule, after costs"},{"day":1010,"growth":0.386,"series":"The rule, after costs"},{"day":1020,"growth":0.385,"series":"The rule, after costs"},{"day":1030,"growth":0.397,"series":"The rule, after costs"},{"day":1040,"growth":0.4,"series":"The rule, after costs"},{"day":1050,"growth":0.405,"series":"The rule, after costs"},{"day":1060,"growth":0.389,"series":"The rule, after costs"},{"day":1070,"growth":0.389,"series":"The rule, after costs"},{"day":1080,"growth":0.398,"series":"The rule, after costs"},{"day":1090,"growth":0.401,"series":"The rule, after costs"},{"day":1100,"growth":0.403,"series":"The rule, after costs"},{"day":1110,"growth":0.394,"series":"The rule, after costs"},{"day":1120,"growth":0.371,"series":"The rule, after costs"},{"day":1130,"growth":0.37,"series":"The rule, after costs"},{"day":1140,"growth":0.367,"series":"The rule, after costs"},{"day":1150,"growth":0.357,"series":"The rule, after costs"},{"day":1160,"growth":0.355,"series":"The rule, after costs"},{"day":1170,"growth":0.344,"series":"The rule, after costs"},{"day":1180,"growth":0.33,"series":"The rule, after costs"},{"day":1190,"growth":0.334,"series":"The rule, after costs"},{"day":1200,"growth":0.324,"series":"The rule, after costs"},{"day":1210,"growth":0.323,"series":"The rule, after costs"},{"day":1220,"growth":0.314,"series":"The rule, after costs"},{"day":1230,"growth":0.303,"series":"The rule, after costs"},{"day":1240,"growth":0.292,"series":"The rule, after costs"},{"day":1250,"growth":0.29,"series":"The rule, after costs"},{"day":1260,"growth":0.282,"series":"The rule, after costs"},{"day":1270,"growth":0.284,"series":"The rule, after costs"},{"day":1280,"growth":0.279,"series":"The rule, after costs"},{"day":1290,"growth":0.278,"series":"The rule, after costs"},{"day":1300,"growth":0.278,"series":"The rule, after costs"},{"day":1310,"growth":0.28,"series":"The rule, after costs"},{"day":1320,"growth":0.283,"series":"The rule, after costs"},{"day":1330,"growth":0.283,"series":"The rule, after costs"},{"day":1340,"growth":0.276,"series":"The rule, after costs"},{"day":1350,"growth":0.26,"series":"The rule, after costs"},{"day":1360,"growth":0.261,"series":"The rule, after costs"},{"day":1370,"growth":0.265,"series":"The rule, after costs"},{"day":1380,"growth":0.259,"series":"The rule, after costs"},{"day":1390,"growth":0.251,"series":"The rule, after costs"},{"day":1400,"growth":0.247,"series":"The rule, after costs"},{"day":1410,"growth":0.232,"series":"The rule, after costs"},{"day":1420,"growth":0.229,"series":"The rule, after costs"},{"day":1430,"growth":0.231,"series":"The rule, after costs"},{"day":1440,"growth":0.236,"series":"The rule, after costs"},{"day":1450,"growth":0.234,"series":"The rule, after costs"},{"day":1460,"growth":0.24,"series":"The rule, after costs"},{"day":1470,"growth":0.237,"series":"The rule, after costs"},{"day":1480,"growth":0.232,"series":"The rule, after costs"},{"day":1490,"growth":0.232,"series":"The rule, after costs"},{"day":1500,"growth":0.234,"series":"The rule, after costs"},{"day":1510,"growth":0.227,"series":"The rule, after costs"},{"day":1520,"growth":0.22,"series":"The rule, after costs"},{"day":1530,"growth":0.216,"series":"The rule, after costs"},{"day":1540,"growth":0.217,"series":"The rule, after costs"},{"day":1550,"growth":0.216,"series":"The rule, after costs"},{"day":1560,"growth":0.212,"series":"The rule, after costs"},{"day":1570,"growth":0.201,"series":"The rule, after costs"},{"day":1580,"growth":0.203,"series":"The rule, after costs"},{"day":1590,"growth":0.2,"series":"The rule, after costs"},{"day":1600,"growth":0.197,"series":"The rule, after costs"},{"day":1610,"growth":0.197,"series":"The rule, after costs"},{"day":1620,"growth":0.195,"series":"The rule, after costs"},{"day":1630,"growth":0.2,"series":"The rule, after costs"},{"day":1640,"growth":0.203,"series":"The rule, after costs"},{"day":1650,"growth":0.199,"series":"The rule, after costs"},{"day":1660,"growth":0.2,"series":"The rule, after costs"},{"day":1670,"growth":0.199,"series":"The rule, after costs"},{"day":1680,"growth":0.199,"series":"The rule, after costs"},{"day":1690,"growth":0.199,"series":"The rule, after costs"},{"day":1700,"growth":0.198,"series":"The rule, after costs"},{"day":1710,"growth":0.199,"series":"The rule, after costs"},{"day":1720,"growth":0.194,"series":"The rule, after costs"},{"day":1730,"growth":0.192,"series":"The rule, after costs"},{"day":1740,"growth":0.188,"series":"The rule, after costs"},{"day":0,"growth":1.011,"series":"Buy and hold"},{"day":10,"growth":1.009,"series":"Buy and hold"},{"day":20,"growth":1.01,"series":"Buy and hold"},{"day":30,"growth":0.992,"series":"Buy and hold"},{"day":40,"growth":0.961,"series":"Buy and hold"},{"day":50,"growth":0.965,"series":"Buy and hold"},{"day":60,"growth":0.984,"series":"Buy and hold"},{"day":70,"growth":1.011,"series":"Buy and hold"},{"day":80,"growth":1.054,"series":"Buy and hold"},{"day":90,"growth":1.057,"series":"Buy and hold"},{"day":100,"growth":1.05,"series":"Buy and hold"},{"day":110,"growth":1.076,"series":"Buy and hold"},{"day":120,"growth":1.104,"series":"Buy and hold"},{"day":130,"growth":1.101,"series":"Buy and hold"},{"day":140,"growth":1.03,"series":"Buy and hold"},{"day":150,"growth":1.069,"series":"Buy and hold"},{"day":160,"growth":1.012,"series":"Buy and hold"},{"day":170,"growth":1.011,"series":"Buy and hold"},{"day":180,"growth":1.007,"series":"Buy and hold"},{"day":190,"growth":1.018,"series":"Buy and hold"},{"day":200,"growth":1.021,"series":"Buy and hold"},{"day":210,"growth":1.044,"series":"Buy and hold"},{"day":220,"growth":1.063,"series":"Buy and hold"},{"day":230,"growth":1.108,"series":"Buy and hold"},{"day":240,"growth":1.086,"series":"Buy and hold"},{"day":250,"growth":1.03,"series":"Buy and hold"},{"day":260,"growth":1.026,"series":"Buy and hold"},{"day":270,"growth":1.02,"series":"Buy and hold"},{"day":280,"growth":1.01,"series":"Buy and hold"},{"day":290,"growth":0.974,"series":"Buy and hold"},{"day":300,"growth":0.939,"series":"Buy and hold"},{"day":310,"growth":0.918,"series":"Buy and hold"},{"day":320,"growth":0.909,"series":"Buy and hold"},{"day":330,"growth":0.904,"series":"Buy and hold"},{"day":340,"growth":0.915,"series":"Buy and hold"},{"day":350,"growth":0.92,"series":"Buy and hold"},{"day":360,"growth":0.912,"series":"Buy and hold"},{"day":370,"growth":0.924,"series":"Buy and hold"},{"day":380,"growth":0.908,"series":"Buy and hold"},{"day":390,"growth":0.923,"series":"Buy and hold"},{"day":400,"growth":0.923,"series":"Buy and hold"},{"day":410,"growth":0.905,"series":"Buy and hold"},{"day":420,"growth":0.916,"series":"Buy and hold"},{"day":430,"growth":0.916,"series":"Buy and hold"},{"day":440,"growth":0.895,"series":"Buy and hold"},{"day":450,"growth":0.878,"series":"Buy and hold"},{"day":460,"growth":0.883,"series":"Buy and hold"},{"day":470,"growth":0.909,"series":"Buy and hold"},{"day":480,"growth":0.851,"series":"Buy and hold"},{"day":490,"growth":0.869,"series":"Buy and hold"},{"day":500,"growth":0.9,"series":"Buy and hold"},{"day":510,"growth":0.893,"series":"Buy and hold"},{"day":520,"growth":0.92,"series":"Buy and hold"},{"day":530,"growth":0.896,"series":"Buy and hold"},{"day":540,"growth":0.861,"series":"Buy and hold"},{"day":550,"growth":0.836,"series":"Buy and hold"},{"day":560,"growth":0.833,"series":"Buy and hold"},{"day":570,"growth":0.841,"series":"Buy and hold"},{"day":580,"growth":0.815,"series":"Buy and hold"},{"day":590,"growth":0.826,"series":"Buy and hold"},{"day":600,"growth":0.811,"series":"Buy and hold"},{"day":610,"growth":0.794,"series":"Buy and hold"},{"day":620,"growth":0.8,"series":"Buy and hold"},{"day":630,"growth":0.77,"series":"Buy and hold"},{"day":640,"growth":0.778,"series":"Buy and hold"},{"day":650,"growth":0.738,"series":"Buy and hold"},{"day":660,"growth":0.763,"series":"Buy and hold"},{"day":670,"growth":0.782,"series":"Buy and hold"},{"day":680,"growth":0.777,"series":"Buy and hold"},{"day":690,"growth":0.778,"series":"Buy and hold"},{"day":700,"growth":0.772,"series":"Buy and hold"},{"day":710,"growth":0.747,"series":"Buy and hold"},{"day":720,"growth":0.766,"series":"Buy and hold"},{"day":730,"growth":0.773,"series":"Buy and hold"},{"day":740,"growth":0.763,"series":"Buy and hold"},{"day":750,"growth":0.717,"series":"Buy and hold"},{"day":760,"growth":0.714,"series":"Buy and hold"},{"day":770,"growth":0.758,"series":"Buy and hold"},{"day":780,"growth":0.789,"series":"Buy and hold"},{"day":790,"growth":0.778,"series":"Buy and hold"},{"day":800,"growth":0.787,"series":"Buy and hold"},{"day":810,"growth":0.761,"series":"Buy and hold"},{"day":820,"growth":0.757,"series":"Buy and hold"},{"day":830,"growth":0.77,"series":"Buy and hold"},{"day":840,"growth":0.76,"series":"Buy and hold"},{"day":850,"growth":0.745,"series":"Buy and hold"},{"day":860,"growth":0.765,"series":"Buy and hold"},{"day":870,"growth":0.723,"series":"Buy and hold"},{"day":880,"growth":0.718,"series":"Buy and hold"},{"day":890,"growth":0.703,"series":"Buy and hold"},{"day":900,"growth":0.726,"series":"Buy and hold"},{"day":910,"growth":0.717,"series":"Buy and hold"},{"day":920,"growth":0.696,"series":"Buy and hold"},{"day":930,"growth":0.7,"series":"Buy and hold"},{"day":940,"growth":0.684,"series":"Buy and hold"},{"day":950,"growth":0.68,"series":"Buy and hold"},{"day":960,"growth":0.654,"series":"Buy and hold"},{"day":970,"growth":0.657,"series":"Buy and hold"},{"day":980,"growth":0.666,"series":"Buy and hold"},{"day":990,"growth":0.682,"series":"Buy and hold"},{"day":1000,"growth":0.668,"series":"Buy and hold"},{"day":1010,"growth":0.667,"series":"Buy and hold"},{"day":1020,"growth":0.709,"series":"Buy and hold"},{"day":1030,"growth":0.702,"series":"Buy and hold"},{"day":1040,"growth":0.69,"series":"Buy and hold"},{"day":1050,"growth":0.683,"series":"Buy and hold"},{"day":1060,"growth":0.729,"series":"Buy and hold"},{"day":1070,"growth":0.733,"series":"Buy and hold"},{"day":1080,"growth":0.719,"series":"Buy and hold"},{"day":1090,"growth":0.706,"series":"Buy and hold"},{"day":1100,"growth":0.685,"series":"Buy and hold"},{"day":1110,"growth":0.659,"series":"Buy and hold"},{"day":1120,"growth":0.617,"series":"Buy and hold"},{"day":1130,"growth":0.618,"series":"Buy and hold"},{"day":1140,"growth":0.643,"series":"Buy and hold"},{"day":1150,"growth":0.655,"series":"Buy and hold"},{"day":1160,"growth":0.63,"series":"Buy and hold"},{"day":1170,"growth":0.596,"series":"Buy and hold"},{"day":1180,"growth":0.593,"series":"Buy and hold"},{"day":1190,"growth":0.599,"series":"Buy and hold"},{"day":1200,"growth":0.613,"series":"Buy and hold"},{"day":1210,"growth":0.609,"series":"Buy and hold"},{"day":1220,"growth":0.645,"series":"Buy and hold"},{"day":1230,"growth":0.638,"series":"Buy and hold"},{"day":1240,"growth":0.63,"series":"Buy and hold"},{"day":1250,"growth":0.615,"series":"Buy and hold"},{"day":1260,"growth":0.627,"series":"Buy and hold"},{"day":1270,"growth":0.622,"series":"Buy and hold"},{"day":1280,"growth":0.627,"series":"Buy and hold"},{"day":1290,"growth":0.637,"series":"Buy and hold"},{"day":1300,"growth":0.644,"series":"Buy and hold"},{"day":1310,"growth":0.631,"series":"Buy and hold"},{"day":1320,"growth":0.614,"series":"Buy and hold"},{"day":1330,"growth":0.624,"series":"Buy and hold"},{"day":1340,"growth":0.646,"series":"Buy and hold"},{"day":1350,"growth":0.703,"series":"Buy and hold"},{"day":1360,"growth":0.731,"series":"Buy and hold"},{"day":1370,"growth":0.728,"series":"Buy and hold"},{"day":1380,"growth":0.757,"series":"Buy and hold"},{"day":1390,"growth":0.799,"series":"Buy and hold"},{"day":1400,"growth":0.806,"series":"Buy and hold"},{"day":1410,"growth":0.74,"series":"Buy and hold"},{"day":1420,"growth":0.734,"series":"Buy and hold"},{"day":1430,"growth":0.75,"series":"Buy and hold"},{"day":1440,"growth":0.759,"series":"Buy and hold"},{"day":1450,"growth":0.797,"series":"Buy and hold"},{"day":1460,"growth":0.792,"series":"Buy and hold"},{"day":1470,"growth":0.785,"series":"Buy and hold"},{"day":1480,"growth":0.776,"series":"Buy and hold"},{"day":1490,"growth":0.764,"series":"Buy and hold"},{"day":1500,"growth":0.761,"series":"Buy and hold"},{"day":1510,"growth":0.785,"series":"Buy and hold"},{"day":1520,"growth":0.82,"series":"Buy and hold"},{"day":1530,"growth":0.793,"series":"Buy and hold"},{"day":1540,"growth":0.812,"series":"Buy and hold"},{"day":1550,"growth":0.805,"series":"Buy and hold"},{"day":1560,"growth":0.765,"series":"Buy and hold"},{"day":1570,"growth":0.728,"series":"Buy and hold"},{"day":1580,"growth":0.731,"series":"Buy and hold"},{"day":1590,"growth":0.706,"series":"Buy and hold"},{"day":1600,"growth":0.699,"series":"Buy and hold"},{"day":1610,"growth":0.699,"series":"Buy and hold"},{"day":1620,"growth":0.714,"series":"Buy and hold"},{"day":1630,"growth":0.709,"series":"Buy and hold"},{"day":1640,"growth":0.712,"series":"Buy and hold"},{"day":1650,"growth":0.738,"series":"Buy and hold"},{"day":1660,"growth":0.722,"series":"Buy and hold"},{"day":1670,"growth":0.729,"series":"Buy and hold"},{"day":1680,"growth":0.759,"series":"Buy and hold"},{"day":1690,"growth":0.758,"series":"Buy and hold"},{"day":1700,"growth":0.753,"series":"Buy and hold"},{"day":1710,"growth":0.73,"series":"Buy and hold"},{"day":1720,"growth":0.694,"series":"Buy and hold"},{"day":1730,"growth":0.684,"series":"Buy and hold"},{"day":1740,"growth":0.72,"series":"Buy and hold"}],"metrics":[{"period":"In sample (chosen on)","sharpe":"-2.03","ret":"-21.5%","dd":"65%","turn":"128.4"},{"period":"Out of sample (not seen)","sharpe":"-2.35","ret":"-26.0%","dd":"54%","turn":"125.3"},{"period":"Out of sample, before costs","sharpe":"-0.09","ret":"-1.0%","dd":"22%","turn":"125.3"}]},"root":{"type":"Page","children":[{"type":"Text","props":{"text":"This rule flips its position many times a year. Compare the last two rows of the table: what it earns before costs, and what is left after.","muted":false}},{"type":"Text","props":{"text":"The market is simulated, with no edge planted in it, so a rule that \"finds\" an edge proves the method works, not that this edge exists in a real market. Trading days are counted after warm-up; the first 1050 are in sample.","muted":true}},{"type":"Chart","props":{"title":"Reversion: 5-day, 1 deviations: growth of 1 on a simulated market (no edge)","mark":"line","height":220,"data":{"$state":"/growth"},"encoding":{"x":{"field":"day","type":"quantitative","title":"Trading day"},"y":{"field":"growth","type":"quantitative","title":"Growth of 1 (starts at 1)"},"color":{"field":"series","type":"nominal","title":"Series"}}}},{"type":"Table","props":{"caption":"Reversion: 5-day, 1 deviations, 20 bps per unit traded. Sharpe is annualised; turnover is position changes per year.","columns":[{"key":"period","label":"Period"},{"key":"sharpe","label":"Sharpe","align":"right"},{"key":"ret","label":"Mean yearly return","align":"right"},{"key":"dd","label":"Worst fall","align":"right"},{"key":"turn","label":"Turnover","align":"right"}],"rows":{"$state":"/metrics"}}}]}}}},{"id":"alpha-no-peeking","track":"alpha","title":"A rule only sees the past","summary":"Push every return after a cut-off up by five percent a day, then down, and recompute: the rule's positions up to the cut-off do not move. If they did, the backtest could not be trusted.","principle":"alpha-no-peeking","tags":["alpha","backtest","look-ahead"],"evidence":["lib/alpha/strategies.ts (priceIndex, sma)","lib/playbook/alpha-run.ts (lookaheadClaims, peeking)","tests/unit/alpha.test.ts"],"body":{"kind":"property","claim":"Positions on or before day t depend only on returns before day t.","results":[{"name":"sma-10-60, future changed after day 350","ok":true,"detail":"positions through day 350 are identical"},{"name":"sma-10-60, future changed after day 500","ok":true,"detail":"positions through day 500 are identical"},{"name":"sma-10-60, future changed after day 699","ok":true,"detail":"positions through day 699 are identical"},{"name":"momentum-40, future changed after day 350","ok":true,"detail":"positions through day 350 are identical"},{"name":"momentum-40, future changed after day 500","ok":true,"detail":"positions through day 500 are identical"},{"name":"momentum-40, future changed after day 699","ok":true,"detail":"positions through day 699 are identical"},{"name":"reversion-20-1.5, future changed after day 350","ok":true,"detail":"positions through day 350 are identical"},{"name":"reversion-20-1.5, future changed after day 500","ok":true,"detail":"positions through day 500 are identical"},{"name":"reversion-20-1.5, future changed after day 699","ok":true,"detail":"positions through day 699 are identical"}]}},{"id":"judgment-fan-out","track":"judgment","title":"Ask everything at once, route in code","summary":"A support ticket gets five questions in one request (category, severity, steps to reproduce, a refund, frustration); a few lines of code route it, and the answers that do not apply are ignored.","principle":"judgment-fan-out","tags":["judgment","routing","jev"],"evidence":["lib/evaluate/gateway.ts (Question, Answer, evaluateDetailed)","packages/decide/src/decision.ts (questionHash, overLimit, MAX_CHOICES)","packages/decide/src/abstain.ts (decideChoice, MIN_CHOICE_PROBABILITY)","lib/bounties/triage.ts (UNCERTAIN_BAND, decideQueue)","lib/playbook/judgment.ts (routeTicket, fanOutClaims)"],"notes":"Pattern: speculative fan-out, from TypeSafe's docs (docs.typesafe.ai). Asking every question up front costs one request instead of a chain of them, and the answers you end up not needing cost almost nothing. The answers are recorded, not live: numbers kept in lib/playbook/examples/judgment.ts, so the card runs offline and the browser never calls a model.","body":{"kind":"judgment","pattern":"fan-out","input":{"pattern":"fan-out","ticket":{"id":"export-crash","label":"Export crashes","text":"The app crashes every time I export a report as CSV. Open any report, click Export, pick CSV: it closes and my filters are gone. I have a board meeting tomorrow and this is the third time I have written in.","answers":{"category":{"type":"choice","choice":"bug_report","probabilities":{"bug_report":0.93,"billing":0.03,"feature_request":0.04}},"severity":{"type":"score","score":2.31,"probabilities":{"0":0.02,"1":0.1,"2":0.43,"3":0.45}},"reproducible":{"type":"boolean","probability":0.91},"refund":{"type":"boolean","probability":0.04},"frustration":{"type":"score","score":2.1900000000000004,"probabilities":{"0":0.03,"1":0.15,"2":0.42,"3":0.4}}}},"rules":[{"id":"escalate","when":"bug_report","all":[{"read":"severity","above":1.5},{"read":"reproducible","above":0.6}],"then":"Escalate to engineering"},{"id":"refund","when":"billing","all":[{"read":"refund","above":0.7}],"then":"Flag for a refund"},{"id":"priority","when":"*","all":[{"read":"frustration","above":1.5}],"then":"Priority response"}]},"run":{"pattern":"fan-out","ticket":{"id":"export-crash","label":"Export crashes","text":"The app crashes every time I export a report as CSV. Open any report, click Export, pick CSV: it closes and my filters are gone. I have a board meeting tomorrow and this is the third time I have written in.","answers":{"category":{"type":"choice","choice":"bug_report","probabilities":{"bug_report":0.93,"billing":0.03,"feature_request":0.04}},"severity":{"type":"score","score":2.31,"probabilities":{"0":0.02,"1":0.1,"2":0.43,"3":0.45}},"reproducible":{"type":"boolean","probability":0.91},"refund":{"type":"boolean","probability":0.04},"frustration":{"type":"score","score":2.1900000000000004,"probabilities":{"0":0.03,"1":0.15,"2":0.42,"3":0.4}}}},"questions":{"category":{"type":"choice","instructions":"Which kind of support ticket is this?","criteria":{"bug_report":"Something in the product does not work as it should.","billing":"A charge, an invoice, a plan or a refund.","feature_request":"The product works; the customer wants it to do something more."}},"severity":{"type":"score","instructions":"If the ticket reports a bug, how badly does it get in the way of the customer's work?","criteria":["no real impact","minor: there is an easy workaround","major: a core task is blocked","critical: data is lost or the product is down"]},"reproducible":{"type":"boolean","instructions":"Does the ticket give steps another person could follow to see the problem happen?"},"refund":{"type":"boolean","instructions":"Does the customer ask for a refund or for a charge to be reversed?"},"frustration":{"type":"score","instructions":"How frustrated does the customer sound?","criteria":["calm","mildly annoyed","clearly frustrated","angry, or about to leave"]}},"requests":1,"rules":[{"id":"escalate","when":"bug_report","all":[{"read":"severity","above":1.5},{"read":"reproducible","above":0.6}],"then":"Escalate to engineering"},{"id":"refund","when":"billing","all":[{"read":"refund","above":0.7}],"then":"Flag for a refund"},{"id":"priority","when":"*","all":[{"read":"frustration","above":1.5}],"then":"Priority response"}],"route":{"category":"bug_report","queue":"Bug queue","actions":["Escalate to engineering","Priority response"]},"hash":"01f128191e69"},"claims":[{"name":"one request asks every question a rule reads","ok":true,"detail":"5 questions in 1 request"},{"name":"the route is a pure function of the answers","ok":true,"detail":"Bug queue; Escalate to engineering, Priority response"},{"name":"each rule reads only answers relevant to its category","ok":true,"detail":"every read is listed as relevant"},{"name":"ignored answers never change the route","ok":true,"detail":"refund pushed to both ends: same route"},{"name":"every threshold sits inside its answer's range","ok":true,"detail":"each bar can be crossed"}]}},{"id":"judgment-composite","track":"judgment","title":"Score each part, weigh them in code","summary":"Four Score questions rate a resume from 0 to 4; the code divides by 4, weighs by role and ranks. Change the role or a weight and the ranking changes; the answers do not.","principle":"judgment-composite","tags":["judgment","scoring","ranking"],"evidence":["lib/evaluate/gateway.ts (Question, Answer, evaluateDetailed)","packages/decide/src/decision.ts (questionHash, overLimit, MAX_CHOICES)","lib/playbook/judgment.ts (runComposite, setWeight, compositeClaims)"],"notes":"Pattern: composite scoring, from TypeSafe's docs (docs.typesafe.ai). The model is asked what it can judge (each dimension); what the role values is a business choice, so it stays in code where it can be changed without asking again. The answers are recorded, not live: numbers kept in lib/playbook/examples/judgment.ts, so the card runs offline and the browser never calls a model.","body":{"kind":"judgment","pattern":"composite","input":{"pattern":"composite","role":"senior-ic","weights":{"depth":40,"leadership":10,"delivery":40,"communication":10},"candidates":[{"id":"A","label":"A: backend engineer, 9 years","answers":{"depth":[0,0.02,0.1,0.38,0.5],"leadership":[0.05,0.45,0.4,0.1,0],"delivery":[0,0.03,0.17,0.5,0.3],"communication":[0.05,0.4,0.45,0.1,0]}},{"id":"B","label":"B: team lead, 7 years","answers":{"depth":[0,0.05,0.4,0.45,0.1],"leadership":[0,0.05,0.2,0.6,0.15],"delivery":[0,0.05,0.3,0.5,0.15],"communication":[0,0.05,0.25,0.5,0.2]}},{"id":"C","label":"C: engineering manager, 12 years","answers":{"depth":[0.02,0.18,0.5,0.25,0.05],"leadership":[0,0,0.05,0.35,0.6],"delivery":[0,0.05,0.35,0.45,0.15],"communication":[0,0.02,0.13,0.4,0.45]}},{"id":"D","label":"D: platform engineer, 5 years","answers":{"depth":[0,0.05,0.25,0.55,0.15],"leadership":[0.3,0.55,0.15,0,0],"delivery":[0.02,0.2,0.5,0.25,0.03],"communication":[0.1,0.5,0.35,0.05,0]}}]},"run":{"pattern":"composite","role":"senior-ic","questions":{"depth":{"type":"score","instructions":"How deep is the candidate's technical work, as the resume describes it?","criteria":["none shown","uses tools others built","builds features on an existing design","designs systems others build on","sets technical direction across teams"]},"leadership":{"type":"score","instructions":"How much has the candidate led people?","criteria":["none shown","mentored informally","led a project of a few people","managed a team","managed managers or a large group"]},"delivery":{"type":"score","instructions":"How strong is the record of shipping work that was used?","criteria":["none shown","contributed to launches","owned a launch","owned several launches with results named","owned a product line's results"]},"communication":{"type":"score","instructions":"How clearly does the candidate show they explain work to others?","criteria":["none shown","some writing or talks","regular writing, reviews or talks","known for docs, talks or teaching","communicates across the company or in public"]}},"candidates":[{"id":"A","label":"A: backend engineer, 9 years","answers":{"depth":[0,0.02,0.1,0.38,0.5],"leadership":[0.05,0.45,0.4,0.1,0],"delivery":[0,0.03,0.17,0.5,0.3],"communication":[0.05,0.4,0.45,0.1,0]}},{"id":"B","label":"B: team lead, 7 years","answers":{"depth":[0,0.05,0.4,0.45,0.1],"leadership":[0,0.05,0.2,0.6,0.15],"delivery":[0,0.05,0.3,0.5,0.15],"communication":[0,0.05,0.25,0.5,0.2]}},{"id":"C","label":"C: engineering manager, 12 years","answers":{"depth":[0.02,0.18,0.5,0.25,0.05],"leadership":[0,0,0.05,0.35,0.6],"delivery":[0,0.05,0.35,0.45,0.15],"communication":[0,0.02,0.13,0.4,0.45]}},{"id":"D","label":"D: platform engineer, 5 years","answers":{"depth":[0,0.05,0.25,0.55,0.15],"leadership":[0.3,0.55,0.15,0,0],"delivery":[0.02,0.2,0.5,0.25,0.03],"communication":[0.1,0.5,0.35,0.05,0]}}],"weights":{"depth":0.4,"leadership":0.1,"delivery":0.4,"communication":0.1},"rows":[{"id":"A","label":"A: backend engineer, 9 years","scores":{"depth":3.3600000000000003,"leadership":1.55,"delivery":3.0700000000000003,"communication":1.6},"normalized":{"depth":0.8400000000000001,"leadership":0.3875,"delivery":0.7675000000000001,"communication":0.4},"contributions":{"depth":0.3360000000000001,"leadership":0.03875000000000001,"delivery":0.30700000000000005,"communication":0.04000000000000001},"total":0.7217500000000001},{"id":"B","label":"B: team lead, 7 years","scores":{"depth":2.6,"leadership":2.85,"delivery":2.75,"communication":2.8499999999999996},"normalized":{"depth":0.65,"leadership":0.7125,"delivery":0.6875,"communication":0.7124999999999999},"contributions":{"depth":0.26,"leadership":0.07125000000000001,"delivery":0.275,"communication":0.07125},"total":0.6775000000000001},{"id":"C","label":"C: engineering manager, 12 years","scores":{"depth":2.13,"leadership":3.55,"delivery":2.7,"communication":3.2800000000000002},"normalized":{"depth":0.5325,"leadership":0.8875,"delivery":0.675,"communication":0.8200000000000001},"contributions":{"depth":0.213,"leadership":0.08875,"delivery":0.27,"communication":0.08200000000000002},"total":0.65375},{"id":"D","label":"D: platform engineer, 5 years","scores":{"depth":2.8000000000000003,"leadership":0.8500000000000001,"delivery":2.07,"communication":1.35},"normalized":{"depth":0.7000000000000001,"leadership":0.21250000000000002,"delivery":0.5175,"communication":0.3375},"contributions":{"depth":0.28,"leadership":0.021250000000000005,"delivery":0.207,"communication":0.03375},"total":0.542}],"ranking":["A","B","C","D"]},"claims":[{"name":"the weights add up to 1","ok":true,"detail":"they add up to 1"},{"name":"each score is its expected level over 4, between 0 and 1","ok":true,"detail":"16 scores normalized"},{"name":"each total is the sum of its weighted contributions","ok":true,"detail":"every bar adds up to its total"},{"name":"the ranking is the candidates sorted by total","ok":true,"detail":"A > B > C > D"}]}},{"id":"judgment-taxonomy","track":"judgment","title":"Walk a tree one choice at a time","summary":"A product listing is placed in a category tree by one Choice per level, each option carrying its subtree in words; when the top two are close, both paths are followed and the better one wins.","principle":"judgment-structure","tags":["judgment","taxonomy","beam search"],"evidence":["lib/evaluate/gateway.ts (Question, Answer, evaluateDetailed)","packages/decide/src/decision.ts (overLimit, MAX_CHOICES, chunkChoices, SPLIT_AT)","lib/playbook/judgment.ts (runTaxonomy, stepQuestion, taxonomyClaims)"],"notes":"Patterns: structured questions and a taxonomy walk, from TypeSafe's docs (docs.typesafe.ai). Instructions and criteria are written as JSON, so a step's options are data built from the tree, never prose that can drift from it. The answers are recorded, not live: numbers kept in lib/playbook/examples/judgment.ts, so the card runs offline and the browser never calls a model.","body":{"kind":"judgment","pattern":"taxonomy","input":{"pattern":"taxonomy","listing":{"id":"camp-stove","label":"Folding camp stove","text":"Folding two-burner stove. Runs on butane canisters, packs flat, fits in a backpack.","recorded":{"all":{"home":0.38,"outdoors":0.58,"electronics":0.04},"home":{"cookware":0.34,"appliances":0.66},"outdoors":{"camping":0.93,"cycling":0.07},"electronics":{"audio":0.1,"power":0.9},"cookware":{"frying-pans":0.15,"saucepans":0.1,"kettles":0.75},"appliances":{"blenders":0.02,"coffee-makers":0.04,"hot-plates":0.94},"camping":{"tents":0.02,"sleeping-bags":0.02,"camp-stoves":0.96},"cycling":{"bikes":0.3,"helmets":0.2,"bike-lights":0.5},"audio":{"headphones":0.5,"speakers":0.5},"power":{"chargers":0.4,"power-banks":0.6}}},"margin":0.25,"width":2},"run":{"pattern":"taxonomy","listing":{"id":"camp-stove","label":"Folding camp stove","text":"Folding two-burner stove. Runs on butane canisters, packs flat, fits in a backpack.","recorded":{"all":{"home":0.38,"outdoors":0.58,"electronics":0.04},"home":{"cookware":0.34,"appliances":0.66},"outdoors":{"camping":0.93,"cycling":0.07},"electronics":{"audio":0.1,"power":0.9},"cookware":{"frying-pans":0.15,"saucepans":0.1,"kettles":0.75},"appliances":{"blenders":0.02,"coffee-makers":0.04,"hot-plates":0.94},"camping":{"tents":0.02,"sleeping-bags":0.02,"camp-stoves":0.96},"cycling":{"bikes":0.3,"helmets":0.2,"bike-lights":0.5},"audio":{"headphones":0.5,"speakers":0.5},"power":{"chargers":0.4,"power-banks":0.6}}},"margin":0.25,"width":2,"steps":[{"level":0,"node":"all","question":{"type":"choice","instructions":"Which department does this product listing belong in?","criteria":{"home":"Home and kitchen: Cookware (Frying pans, Saucepans, Stovetop kettles); Small appliances (Blenders, Coffee makers, Hot plates)","outdoors":"Sports and outdoors: Camping (Tents, Sleeping bags, Camp stoves); Cycling (Bikes, Helmets, Bike lights)","electronics":"Electronics: Audio (Headphones, Speakers); Power (Chargers, Power banks)"}},"options":["home","outdoors","electronics"],"probabilities":{"home":0.38,"outdoors":0.58,"electronics":0.04},"opened":["outdoors","home"]},{"level":1,"node":"outdoors","question":{"type":"choice","instructions":"Within Sports and outdoors, which category does this product listing belong in?","criteria":{"camping":"Camping: Tents; Sleeping bags; Camp stoves","cycling":"Cycling: Bikes; Helmets; Bike lights"}},"options":["camping","cycling"],"probabilities":{"camping":0.93,"cycling":0.07},"opened":["camping"]},{"level":1,"node":"home","question":{"type":"choice","instructions":"Within Home and kitchen, which category does this product listing belong in?","criteria":{"cookware":"Cookware: Frying pans; Saucepans; Stovetop kettles","appliances":"Small appliances: Blenders; Coffee makers; Hot plates"}},"options":["cookware","appliances"],"probabilities":{"cookware":0.34,"appliances":0.66},"opened":["appliances"]},{"level":2,"node":"camping","question":{"type":"choice","instructions":"Within Camping, which category does this product listing belong in?","criteria":{"tents":"Tents","sleeping-bags":"Sleeping bags","camp-stoves":"Camp stoves"}},"options":["tents","sleeping-bags","camp-stoves"],"probabilities":{"tents":0.02,"sleeping-bags":0.02,"camp-stoves":0.96},"opened":["camp-stoves"]},{"level":2,"node":"appliances","question":{"type":"choice","instructions":"Within Small appliances, which category does this product listing belong in?","criteria":{"blenders":"Blenders","coffee-makers":"Coffee makers","hot-plates":"Hot plates"}},"options":["blenders","coffee-makers","hot-plates"],"probabilities":{"blenders":0.02,"coffee-makers":0.04,"hot-plates":0.94},"opened":["hot-plates"]}],"levels":[[{"nodes":["all","outdoors"],"p":0.58},{"nodes":["all","home"],"p":0.38}],[{"nodes":["all","outdoors","camping"],"p":0.5394},{"nodes":["all","home","appliances"],"p":0.2508}],[{"nodes":["all","outdoors","camping","camp-stoves"],"p":0.517824},{"nodes":["all","home","appliances","hot-plates"],"p":0.23575200000000002}]],"paths":[{"nodes":["all","outdoors","camping","camp-stoves"],"p":0.517824},{"nodes":["all","home","appliances","hot-plates"],"p":0.23575200000000002}]},"claims":[{"name":"each step's options are exactly the current node's children","ok":true,"detail":"5 steps, each under the 255-choice limit"},{"name":"the beam keeps at most its width in paths","ok":true,"detail":"at most 2 of 2 at any level"},{"name":"the runner-up is opened only when it is within the margin","ok":true,"detail":"margin 0.25"},{"name":"every kept path reaches a leaf","ok":true,"detail":"Camp stoves, Hot plates"},{"name":"a path's probability is the product of its steps","ok":true,"detail":"0.518, 0.236"}]}},{"id":"judgment-alignment","track":"judgment","title":"Let the levels be the thresholds","summary":"Are two beer catalog entries the same beer? One Score with three levels (different, related, the same) decides: leave them, send them to a curator, or link them. Field questions are shown to the curator, not routed on.","principle":"judgment-levels","tags":["judgment","entity resolution","catalog"],"evidence":["lib/evaluate/gateway.ts (Question, Answer, evaluateDetailed)","packages/decide/src/decision.ts (questionHash, overLimit, MAX_CHOICES)","packages/decide/src/abstain.ts (nearestLevel)","lib/playbook/judgment.ts (runAlignment, levelCuts, alignmentClaims)"],"notes":"Pattern: entity alignment, from TypeSafe's docs (docs.typesafe.ai). Each level of the Score names an outcome, so rounding to the nearest level is the whole decision and there is no magic number to tune. The breweries are made up. The answers are recorded, not live: numbers kept in lib/playbook/examples/judgment.ts, so the card runs offline and the browser never calls a model.","body":{"kind":"judgment","pattern":"alignment","input":{"pattern":"alignment","pair":{"id":"variant","kind":"A variant edition","left":"Lakeside Brewing · Hazy Harbor · IPA · 6.5%","right":"Lakeside Brewing · Hazy Harbor Double Dry Hopped · IPA · 7.2%","match":[0.08,0.74,0.18],"fields":{"sameName":0.62,"sameBrewery":0.98,"sameStyle":0.9}}},"run":{"pattern":"alignment","pair":{"id":"variant","kind":"A variant edition","left":"Lakeside Brewing · Hazy Harbor · IPA · 6.5%","right":"Lakeside Brewing · Hazy Harbor Double Dry Hopped · IPA · 7.2%","match":[0.08,0.74,0.18],"fields":{"sameName":0.62,"sameBrewery":0.98,"sameStyle":0.9}},"question":{"type":"score","instructions":"Do these two catalog entries describe the same beer?","criteria":["different beers","related: the same brewery or family, maybe a variant or edition","the same beer, written two ways"]},"score":1.1,"level":1,"cuts":[0.5,1.5],"actions":["Leave unlinked","Send to the curator queue","Assert sameAs"],"route":"Send to the curator queue"},"claims":[{"name":"the score is Σ k·p of the recorded levels","ok":true,"detail":"1.1"},{"name":"the route is the action at the nearest level","ok":true,"detail":"score 1.1 is level 1: Send to the curator queue"},{"name":"the only thresholds are the halfway points between levels","ok":true,"detail":"cut points 0.5 and 1.5, from rounding"},{"name":"sameAs is asserted only at the top level","ok":true,"detail":"only level 2 merges"}]}},{"id":"judgment-features","track":"judgment","title":"Turn answers into features, and test them","summary":"Questions about tasting notes become numeric columns (a Score's mean and spread, a Noul's probability); a small ridge fit predicts the rating, and held-out error against a mean baseline says which questions earn their place.","principle":"judgment-features","tags":["judgment","features","regression"],"evidence":["lib/evaluate/gateway.ts (Question, Answer, evaluateDetailed)","packages/decide/src/decision.ts (questionHash, overLimit, MAX_CHOICES)","lib/playbook/judgment.ts (runFeatures, ridge, featureClaims)"],"notes":"Pattern: a feature discovery loop, from TypeSafe's docs (docs.typesafe.ai), cut down to run offline: no new questions are proposed here, only the effect of keeping or dropping the ones asked. The answers are recorded, not live: numbers kept in lib/playbook/examples/judgment.ts, so the card runs offline and the browser never calls a model.","body":{"kind":"judgment","pattern":"features","input":{"pattern":"features","rows":[{"id":"n01","note":"A big resinous bitterness, noticeably sweet; well balanced.","hoppy":[0,0,0.17,0.83],"sweet":[0,0.29,0.66,0.05],"offFlavor":0.07,"balanced":0.76,"rating":3.9},{"id":"n02","note":"A light hop bite, syrupy sweet, with a stale, papery edge.","hoppy":[0.12,0.72,0.16,0],"sweet":[0,0,0.24,0.76],"offFlavor":0.81,"balanced":0.23,"rating":1.8},{"id":"n03","note":"Clearly hoppy, a touch of malt sweetness, with a stale, papery edge; well balanced.","hoppy":[0.01,0.45,0.52,0.02],"sweet":[0.03,0.56,0.4,0.01],"offFlavor":0.93,"balanced":0.78,"rating":2.3},{"id":"n04","note":"A big resinous bitterness, a touch of malt sweetness, with a stale, papery edge.","hoppy":[0,0,0.31,0.69],"sweet":[0.14,0.72,0.14,0],"offFlavor":0.89,"balanced":0.22,"rating":2.6},{"id":"n05","note":"Clearly hoppy, noticeably sweet; well balanced.","hoppy":[0,0.15,0.73,0.12],"sweet":[0,0.06,0.68,0.26],"offFlavor":0.09,"balanced":0.72,"rating":3.8},{"id":"n06","note":"Clearly hoppy, a touch of malt sweetness; well balanced.","hoppy":[0,0.13,0.73,0.14],"sweet":[0.24,0.69,0.07,0],"offFlavor":0.11,"balanced":0.75,"rating":3.4},{"id":"n07","note":"Clearly hoppy, noticeably sweet.","hoppy":[0,0.13,0.73,0.14],"sweet":[0.01,0.37,0.59,0.03],"offFlavor":0.07,"balanced":0.15,"rating":3},{"id":"n08","note":"Clearly hoppy, syrupy sweet, with a stale, papery edge; well balanced.","hoppy":[0,0.3,0.65,0.05],"sweet":[0,0,0.25,0.75],"offFlavor":0.83,"balanced":0.76,"rating":2.5},{"id":"n09","note":"A big resinous bitterness, a touch of malt sweetness, with a stale, papery edge; well balanced.","hoppy":[0,0.01,0.32,0.67],"sweet":[0.02,0.49,0.47,0.02],"offFlavor":0.83,"balanced":0.7,"rating":2.8},{"id":"n10","note":"A light hop bite, dry.","hoppy":[0.04,0.62,0.33,0.01],"sweet":[0.81,0.19,0,0],"offFlavor":0.05,"balanced":0.18,"rating":3},{"id":"n11","note":"A light hop bite, noticeably sweet.","hoppy":[0.05,0.65,0.3,0],"sweet":[0,0.06,0.66,0.28],"offFlavor":0.08,"balanced":0.17,"rating":3.1},{"id":"n12","note":"A big resinous bitterness, noticeably sweet.","hoppy":[0,0.01,0.31,0.68],"sweet":[0,0.06,0.67,0.27],"offFlavor":0.09,"balanced":0.29,"rating":3.7},{"id":"n13","note":"Barely bitter, noticeably sweet.","hoppy":[0.77,0.23,0,0],"sweet":[0,0.27,0.67,0.06],"offFlavor":0.07,"balanced":0.17,"rating":2.6},{"id":"n14","note":"Clearly hoppy, a touch of malt sweetness.","hoppy":[0,0.03,0.58,0.39],"sweet":[0.04,0.62,0.33,0.01],"offFlavor":0.09,"balanced":0.22,"rating":3.3},{"id":"n15","note":"Clearly hoppy, a touch of malt sweetness.","hoppy":[0,0.17,0.72,0.11],"sweet":[0.09,0.71,0.2,0],"offFlavor":0.04,"balanced":0.17,"rating":3.4},{"id":"n16","note":"A light hop bite, a touch of malt sweetness; well balanced.","hoppy":[0.08,0.7,0.22,0],"sweet":[0.17,0.72,0.11,0],"offFlavor":0.12,"balanced":0.77,"rating":2.8},{"id":"n17","note":"Clearly hoppy, noticeably sweet; well balanced.","hoppy":[0,0.03,0.56,0.41],"sweet":[0,0.26,0.68,0.06],"offFlavor":0.13,"balanced":0.92,"rating":3.8},{"id":"n18","note":"A big resinous bitterness, noticeably sweet.","hoppy":[0,0,0.26,0.74],"sweet":[0,0.05,0.65,0.3],"offFlavor":0.1,"balanced":0.19,"rating":3.5},{"id":"n19","note":"Barely bitter, a touch of malt sweetness.","hoppy":[0.54,0.45,0.01,0],"sweet":[0.05,0.63,0.31,0.01],"offFlavor":0.07,"balanced":0.23,"rating":2.7},{"id":"n20","note":"A light hop bite, noticeably sweet; well balanced.","hoppy":[0.27,0.67,0.06,0],"sweet":[0,0.02,0.55,0.43],"offFlavor":0.14,"balanced":0.92,"rating":3.2},{"id":"n21","note":"Clearly hoppy, a touch of malt sweetness.","hoppy":[0.01,0.4,0.56,0.03],"sweet":[0.15,0.73,0.12,0],"offFlavor":0.06,"balanced":0.13,"rating":3},{"id":"n22","note":"Clearly hoppy, a touch of malt sweetness, with a stale, papery edge.","hoppy":[0.01,0.37,0.59,0.03],"sweet":[0.07,0.7,0.23,0],"offFlavor":0.84,"balanced":0.05,"rating":1.9},{"id":"n23","note":"Clearly hoppy, dry, with a stale, papery edge.","hoppy":[0,0.1,0.72,0.18],"sweet":[0.61,0.38,0.01,0],"offFlavor":0.93,"balanced":0.06,"rating":1.9},{"id":"n24","note":"A light hop bite, noticeably sweet.","hoppy":[0.31,0.64,0.05,0],"sweet":[0,0.14,0.73,0.13],"offFlavor":0.1,"balanced":0.27,"rating":2.8}],"use":["hoppy","offFlavor","balanced"],"holdout":8,"lambda":0.1},"run":{"pattern":"features","rows":[{"id":"n01","note":"A big resinous bitterness, noticeably sweet; well balanced.","hoppy":[0,0,0.17,0.83],"sweet":[0,0.29,0.66,0.05],"offFlavor":0.07,"balanced":0.76,"rating":3.9},{"id":"n02","note":"A light hop bite, syrupy sweet, with a stale, papery edge.","hoppy":[0.12,0.72,0.16,0],"sweet":[0,0,0.24,0.76],"offFlavor":0.81,"balanced":0.23,"rating":1.8},{"id":"n03","note":"Clearly hoppy, a touch of malt sweetness, with a stale, papery edge; well balanced.","hoppy":[0.01,0.45,0.52,0.02],"sweet":[0.03,0.56,0.4,0.01],"offFlavor":0.93,"balanced":0.78,"rating":2.3},{"id":"n04","note":"A big resinous bitterness, a touch of malt sweetness, with a stale, papery edge.","hoppy":[0,0,0.31,0.69],"sweet":[0.14,0.72,0.14,0],"offFlavor":0.89,"balanced":0.22,"rating":2.6},{"id":"n05","note":"Clearly hoppy, noticeably sweet; well balanced.","hoppy":[0,0.15,0.73,0.12],"sweet":[0,0.06,0.68,0.26],"offFlavor":0.09,"balanced":0.72,"rating":3.8},{"id":"n06","note":"Clearly hoppy, a touch of malt sweetness; well balanced.","hoppy":[0,0.13,0.73,0.14],"sweet":[0.24,0.69,0.07,0],"offFlavor":0.11,"balanced":0.75,"rating":3.4},{"id":"n07","note":"Clearly hoppy, noticeably sweet.","hoppy":[0,0.13,0.73,0.14],"sweet":[0.01,0.37,0.59,0.03],"offFlavor":0.07,"balanced":0.15,"rating":3},{"id":"n08","note":"Clearly hoppy, syrupy sweet, with a stale, papery edge; well balanced.","hoppy":[0,0.3,0.65,0.05],"sweet":[0,0,0.25,0.75],"offFlavor":0.83,"balanced":0.76,"rating":2.5},{"id":"n09","note":"A big resinous bitterness, a touch of malt sweetness, with a stale, papery edge; well balanced.","hoppy":[0,0.01,0.32,0.67],"sweet":[0.02,0.49,0.47,0.02],"offFlavor":0.83,"balanced":0.7,"rating":2.8},{"id":"n10","note":"A light hop bite, dry.","hoppy":[0.04,0.62,0.33,0.01],"sweet":[0.81,0.19,0,0],"offFlavor":0.05,"balanced":0.18,"rating":3},{"id":"n11","note":"A light hop bite, noticeably sweet.","hoppy":[0.05,0.65,0.3,0],"sweet":[0,0.06,0.66,0.28],"offFlavor":0.08,"balanced":0.17,"rating":3.1},{"id":"n12","note":"A big resinous bitterness, noticeably sweet.","hoppy":[0,0.01,0.31,0.68],"sweet":[0,0.06,0.67,0.27],"offFlavor":0.09,"balanced":0.29,"rating":3.7},{"id":"n13","note":"Barely bitter, noticeably sweet.","hoppy":[0.77,0.23,0,0],"sweet":[0,0.27,0.67,0.06],"offFlavor":0.07,"balanced":0.17,"rating":2.6},{"id":"n14","note":"Clearly hoppy, a touch of malt sweetness.","hoppy":[0,0.03,0.58,0.39],"sweet":[0.04,0.62,0.33,0.01],"offFlavor":0.09,"balanced":0.22,"rating":3.3},{"id":"n15","note":"Clearly hoppy, a touch of malt sweetness.","hoppy":[0,0.17,0.72,0.11],"sweet":[0.09,0.71,0.2,0],"offFlavor":0.04,"balanced":0.17,"rating":3.4},{"id":"n16","note":"A light hop bite, a touch of malt sweetness; well balanced.","hoppy":[0.08,0.7,0.22,0],"sweet":[0.17,0.72,0.11,0],"offFlavor":0.12,"balanced":0.77,"rating":2.8},{"id":"n17","note":"Clearly hoppy, noticeably sweet; well balanced.","hoppy":[0,0.03,0.56,0.41],"sweet":[0,0.26,0.68,0.06],"offFlavor":0.13,"balanced":0.92,"rating":3.8},{"id":"n18","note":"A big resinous bitterness, noticeably sweet.","hoppy":[0,0,0.26,0.74],"sweet":[0,0.05,0.65,0.3],"offFlavor":0.1,"balanced":0.19,"rating":3.5},{"id":"n19","note":"Barely bitter, a touch of malt sweetness.","hoppy":[0.54,0.45,0.01,0],"sweet":[0.05,0.63,0.31,0.01],"offFlavor":0.07,"balanced":0.23,"rating":2.7},{"id":"n20","note":"A light hop bite, noticeably sweet; well balanced.","hoppy":[0.27,0.67,0.06,0],"sweet":[0,0.02,0.55,0.43],"offFlavor":0.14,"balanced":0.92,"rating":3.2},{"id":"n21","note":"Clearly hoppy, a touch of malt sweetness.","hoppy":[0.01,0.4,0.56,0.03],"sweet":[0.15,0.73,0.12,0],"offFlavor":0.06,"balanced":0.13,"rating":3},{"id":"n22","note":"Clearly hoppy, a touch of malt sweetness, with a stale, papery edge.","hoppy":[0.01,0.37,0.59,0.03],"sweet":[0.07,0.7,0.23,0],"offFlavor":0.84,"balanced":0.05,"rating":1.9},{"id":"n23","note":"Clearly hoppy, dry, with a stale, papery edge.","hoppy":[0,0.1,0.72,0.18],"sweet":[0.61,0.38,0.01,0],"offFlavor":0.93,"balanced":0.06,"rating":1.9},{"id":"n24","note":"A light hop bite, noticeably sweet.","hoppy":[0.31,0.64,0.05,0],"sweet":[0,0.14,0.73,0.13],"offFlavor":0.1,"balanced":0.27,"rating":2.8}],"use":["hoppy","offFlavor","balanced"],"lambda":0.1,"columns":["hoppy_mean","hoppy_sd","offFlavor_p","balanced_p"],"table":{"n01":{"hoppy_mean":2.8299999999999996,"hoppy_sd":0.375632799419859,"offFlavor_p":0.07,"balanced_p":0.76},"n02":{"hoppy_mean":1.04,"hoppy_sd":0.5276362383309168,"offFlavor_p":0.81,"balanced_p":0.23},"n03":{"hoppy_mean":1.55,"hoppy_sd":0.5545268253204708,"offFlavor_p":0.93,"balanced_p":0.78},"n04":{"hoppy_mean":2.69,"hoppy_sd":0.46249324319388707,"offFlavor_p":0.89,"balanced_p":0.22},"n05":{"hoppy_mean":1.9699999999999998,"hoppy_sd":0.5187484939737175,"offFlavor_p":0.09,"balanced_p":0.72},"n06":{"hoppy_mean":2.01,"hoppy_sd":0.5195190083144215,"offFlavor_p":0.11,"balanced_p":0.75},"n07":{"hoppy_mean":2.01,"hoppy_sd":0.5195190083144215,"offFlavor_p":0.07,"balanced_p":0.15},"n08":{"hoppy_mean":1.75,"hoppy_sd":0.5361902647381804,"offFlavor_p":0.83,"balanced_p":0.76},"n09":{"hoppy_mean":2.66,"hoppy_sd":0.494368283772331,"offFlavor_p":0.83,"balanced_p":0.7},"n10":{"hoppy_mean":1.31,"hoppy_sd":0.5602677931132576,"offFlavor_p":0.05,"balanced_p":0.18},"n11":{"hoppy_mean":1.25,"hoppy_sd":0.5361902647381804,"offFlavor_p":0.08,"balanced_p":0.17},"n12":{"hoppy_mean":2.67,"hoppy_sd":0.49101934788763674,"offFlavor_p":0.09,"balanced_p":0.29},"n13":{"hoppy_mean":0.23,"hoppy_sd":0.4208325082500162,"offFlavor_p":0.07,"balanced_p":0.17},"n14":{"hoppy_mean":2.36,"hoppy_sd":0.5388877434122992,"offFlavor_p":0.09,"balanced_p":0.22},"n15":{"hoppy_mean":1.94,"hoppy_sd":0.5257375771237967,"offFlavor_p":0.04,"balanced_p":0.17},"n16":{"hoppy_mean":1.14,"hoppy_sd":0.5295280917949491,"offFlavor_p":0.12,"balanced_p":0.77},"n17":{"hoppy_mean":2.38,"hoppy_sd":0.5436910887627274,"offFlavor_p":0.13,"balanced_p":0.92},"n18":{"hoppy_mean":2.7399999999999998,"hoppy_sd":0.4386342439892262,"offFlavor_p":0.1,"balanced_p":0.19},"n19":{"hoppy_mean":0.47000000000000003,"hoppy_sd":0.5187484939737176,"offFlavor_p":0.07,"balanced_p":0.23},"n20":{"hoppy_mean":0.79,"hoppy_sd":0.534696175411794,"offFlavor_p":0.14,"balanced_p":0.92},"n21":{"hoppy_mean":1.61,"hoppy_sd":0.563826214360418,"offFlavor_p":0.06,"balanced_p":0.13},"n22":{"hoppy_mean":1.64,"hoppy_sd":0.5571355310873648,"offFlavor_p":0.84,"balanced_p":0.05},"n23":{"hoppy_mean":2.08,"hoppy_sd":0.5230678732248808,"offFlavor_p":0.93,"balanced_p":0.06},"n24":{"hoppy_mean":0.74,"hoppy_sd":0.5407402333838309,"offFlavor_p":0.1,"balanced_p":0.27}},"trainIds":["n01","n02","n03","n04","n05","n06","n07","n08","n09","n10","n11","n12","n13","n14","n15","n16"],"testIds":["n17","n18","n19","n20","n21","n22","n23","n24"],"intercept":2.481771129368189,"coef":{"hoppy_mean":0.44112797698906697,"hoppy_sd":-0.1347606021315982,"offFlavor_p":-1.2140033516857676,"balanced_p":0.3817531018473417},"trainMean":2.9999999999999996,"rmse":0.1854153162912891,"baseline":0.6595452979136459},"claims":[{"name":"score columns come from the level probabilities (mean = Σ k·p, spread ≥ 0)","ok":true,"detail":"2 score columns"},{"name":"Noul columns are probabilities between 0 and 1","ok":true,"detail":"2 Noul columns"},{"name":"training and held-out rows never overlap","ok":true,"detail":"16 to fit, 8 held out"},{"name":"RMSE is measured on held-out rows only","ok":true,"detail":"0.185 on the held-out rows"},{"name":"the baseline is the held-out ratings' spread around the training mean","ok":true,"detail":"0.66 around 3"},{"name":"a constant column changes nothing","ok":true,"detail":"held-out RMSE 0.185 with it, 0.185 without"}]}}]}