{"track":"judgment","examples":[{"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"}]}}]}