sampling-overview-concept-page#209
Conversation
…ling overview record for canonical concept discovery]
…ampling overview concept page]
…ge to the generation reader path]
…for the new concept route and touched discovery surfaces]
|
Implemented Changes:
Local validation completed before push:
|
|
BLOCKING review summary for Findings:
Acceptance criteria:
Behavioral assertion check for stories marked
General website standards:
Docs writing standards:
Validation evidence:
REJECTED until the blocking items above are fixed. |
… the new concept route and touched discovery surfaces
|
Addressed the blocking review feedback on commit Resolved items:
Validation on this head before push:
PR diff rechecked after push: the sampling-overview concept page and its focused test files are present on PR #209. CI is now running on |
|
Superseding review summary for head Earlier blocking feedback about inventory-style validation and page-meta prose is cleared on this head. The new canonical page, registry wiring, focused behavioral tests, local Remaining finding:
Acceptance criteria:
Behavioral assertion check for stories marked
General website standards:
Docs writing standards:
Graphing standards:
Review-rule pass:
Validation evidence:
REJECTED until the remaining PRD behavioral-assertion blocker above is fixed. |
{
"project": "Model Atlas — Sampling Overview Canonical Concept Page",
"branchName": "sampling-overview-concept-page",
"description": "Publish one canonical English
sampling-overviewconcept page, backed by the existingconcept.sampling-overviewregistry record and localized messages, so readers can understand the post-logit next-token choice step and move cleanly through the generation and sampling reader path.","context": {
"customerAsk": "Refill the queue with one more narrow concept-page slice that improves the generation reader path without replaying already-open tokenizer, attention, or alignment work. Add the canonical English concept page for
sampling-overviewusing the existing publishedconcept.sampling-overviewregistry record rather than introducing a duplicate concept. Scope: create the canonical concept page plus colocatedmessages/en.jsonand any neededassets.json; classify it correctly with the project docs; wire aliases, tags, and related links so readers can move betweenautoregressive-generation,decode,temperature,greedy-decoding,top-k-sampling,top-p-sampling, and nearby GPT-family pages; and add only the focused validation needed for the touched page and discovery surfaces. The page should explain in simple language what sampling changes after a model produces logits, why different strategies trade predictability against diversity, and how this overview differs from deeper pages for temperature or individual sampling methods. Keep the slice English-only and avoid touching locale infrastructure, tokenizer-family pages, or unrelated model/runtime code.","problem": "The repository already ships the published
concept.sampling-overviewregistry record and an English glossary page for sampling overview, plus nearby pages fortemperature,greedy-decoding,top-k-sampling,top-p-sampling,autoregressive-generation, anddecode. What it does not yet ship is the canonical concept-page version ofsampling-overviewthat acts as the broad explainer in the generation reader path. That leaves an avoidable gap between the short glossary entry and the narrower pages about specific controls or decoding methods, and it weakens discovery for readers who need a plain-language bridge from logits and probabilities to concrete token-selection strategies.","solution": "Publish
src/content/docs/concepts/sampling-overview/page.mdxusing the standard concept-page contract, with colocatedmessages/en.jsonand a minimalassets.jsononly if the page needs a structured teaching asset. Bind the page to the existingconcept.sampling-overviewrecord, keep the copy simple and technical-layperson-friendly, and clearly distinguish this overview page from deeper pages about temperature, greedy decoding, top-k sampling, and top-p sampling. Update only the focused aliases, tags, related-doc relationships, and discovery surfaces needed for readers to move cleanly between the overview, the generation loop, the decode step, the sampling-method pages, and nearby GPT-family pages."},
"acceptanceCriteria": [
"A canonical docs page exists for
sampling-overviewunder the concepts docs tree, binds toregistryId: concept.sampling-overview, and renders in the standard docs shell.","The page uses colocated
messages/en.jsonand any requiredassets.json, with reader-facing copy resolved through message keys rather than hard-coded prose inpage.mdx.","The opening summary and primary sections explain in simple language that sampling is the post-probability next-token choice step, that different strategies trade predictability against diversity, and that these controls do not change the model's underlying knowledge.",
"The page clearly distinguishes the broad overview from deeper pages for
temperature,greedy-decoding,top-k-sampling, andtop-p-sampling.","Readers can move cleanly between the canonical overview page,
autoregressive-generation,decode,temperature,greedy-decoding,top-k-sampling,top-p-sampling, and at least one nearby GPT-family page through touched related-doc, alias, tag, or focused inline-link surfaces.","The implementation stays English-only and does not reopen locale infrastructure, tokenizer-family pages, or unrelated model/runtime code.",
"Focused validation proves the canonical concept page resolves against the existing published registry record and that the touched discovery surfaces remain valid.",
"Quality gate: typecheck, lint, and focused touched tests pass."
],
"userStories": [
{
"id": "sampling-overview-concept-page-001",
"title": "Align the existing sampling overview record for canonical concept discovery",
"description": "As a reader searching for sampling basics, I want the existing
concept.sampling-overviewrecord to behave like a first-class broad concept so discovery surfaces can route me to one canonical explainer instead of only the glossary surface.","acceptanceCriteria": [
"The existing
concept.sampling-overviewrecord remains the canonical backing record and is adjusted only as needed with aliases, tags, related ids, or citations that fit a broad concept page.","Registry relationships connect the concept page to shipped nearby docs for
autoregressive-generation,decode,temperature,greedy-decoding,top-k-sampling,top-p-sampling, and at least one nearby GPT-family page.","Discovery metadata distinguishes the broad concept page from the existing glossary entry without introducing a duplicate concept record or broad taxonomy churn.",
"Typecheck passes",
"Tests pass"
],
"priority": 1,
"passes": true,
"notes": ""
},
{
"id": "sampling-overview-concept-page-002",
"title": "Publish the canonical sampling overview concept page",
"description": "As a technical layperson learning generation, I want one broad
sampling-overviewpage so I can understand what changes after logits exist and before one token is chosen, without having to infer that overview from several narrower pages.","acceptanceCriteria": [
"A canonical concept page exists at
/docs/concepts/sampling-overviewwith matching frontmatter,messages/en.json, and a colocatedassets.jsonthat stays empty or minimal unless a structured teaching asset is genuinely needed.","The page follows the concept template pattern and keeps
page.mdxstructural, with reader-facing text resolved throughmessages/en.json.","The page opens with one folded
openingSummaryand explains that sampling is the final next-token decision step after logits have been turned into probabilities.","The page explains in plain language why stricter rules are usually more repeatable and looser rules usually allow more diversity, without presenting those tradeoffs as changes to model knowledge.",
"The page clearly states how this overview differs from deeper pages for temperature and specific strategies such as greedy decoding, top-k sampling, and top-p sampling.",
"The page renders at the canonical concept route in the standard docs shell.",
"Typecheck passes",
"Tests pass",
"Verify in browser using the Browser plugin"
],
"priority": 2,
"passes": true,
"notes": ""
},
{
"id": "sampling-overview-concept-page-003",
"title": "Connect the overview page to the generation reader path",
"description": "As a reader moving through generation topics, I want the overview page connected to the generation loop, decode step, specific sampling methods, and nearby GPT-family context so I can keep going without dead ends.",
"acceptanceCriteria": [
"The
sampling-overviewconcept page exposes clear navigation toautoregressive-generation,decode,temperature,greedy-decoding,top-k-sampling,top-p-sampling, and at least one nearby GPT-family page through registry-backed related docs and any required focused inline links.","The page makes the relationship boundaries clear by presenting
autoregressive-generationanddecodeas generation-path context,temperatureas a probability-shaping control, andgreedy-decodingor truncation methods as downstream token-choice rules.","Touched discovery metadata keeps aliases and tags aligned with representative queries such as
sampling overview,token sampling,next-token sampling,sampling basics, anddecoding strategy.","Any supporting changes outside the new page remain narrowly scoped to reader movement to or from the new concept page.",
"Typecheck passes",
"Tests pass",
"Verify in browser using the Browser plugin"
],
"priority": 3,
"passes": true,
"notes": ""
},
{
"id": "sampling-overview-concept-page-004",
"title": "Add focused validation for the new concept route and touched discovery surfaces",
"description": "As a maintainer, I want targeted automated proof for the sampling overview concept slice so registry, message, route, and nearby discovery regressions are caught without unrelated churn.",
"acceptanceCriteria": [
"Automated validation or tests confirm the canonical
sampling-overviewconcept page resolves against the existing publishedconcept.sampling-overviewregistry record instead of duplicate concept data.","Automated validation or tests cover the touched discovery surface for the new page, including default English message loading and at least one route, related-doc, or search-document expectation for the canonical concept route.",
"Coverage remains focused on observable behavior for this page slice and does not expand into locale infrastructure, tokenizer-family pages, or broad inventory assertions.",
"Typecheck passes",
"Tests pass"
],
"priority": 4,
"passes": true,
"notes": ""
}
]
}