Repository navigation
The design-rationale bench measures feature questions and extracted rows with knowledge hits - #274
Merged
Merged
Conversation
zlareb1
force-pushed
the
bench/design-rationale-feature-tasks
branch
from
November 5, 2026 11:08
ed7f46f to
365a4d6
Compare
…ows with knowledge hits Task kind D asks how a feature works, its limits, compatibility and dependencies, and is scored like A against gold facts. Arm 6 serves the extracted rows with the documents' knowledge hits of loom_search, so the two delivery forms compare on every kind. results.md carries the run over arms 0 to 4 and 6. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
… reads every surface Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…nking Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…gn and show D abstains Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…prints every published column The count-line change is taken back: the committed harness reproduces the published run. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…ead from the shared constants Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…bstention Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…w checks do Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…owledge check has a miss case Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…ts wrap Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…ationale run gives Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…ists latency as still required Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…names every measure arm 2 gives Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
… own paragraph Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
… 6-vs-3 pair have tests Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…schema says the gold lists are non-empty Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…ing comparison is given per kind Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
zlareb1
force-pushed
the
bench/design-rationale-feature-tasks
branch
from
November 5, 2026 13:34
22d6a2b to
3684b06
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
The design-rationale bench asks feature questions (how it works, limits, compatibility, dependencies) and compares extracted decision rows served with and without the documents' knowledge hits.
Why
The bench measured why questions, change requests and supersession, but not whether an agent learns how a feature works from the design documents, which is what most questions about a feature are. It also served extracted rows (arm 4) and the documents' knowledge hits (arm 2) only apart, so it could not say whether serving both adds to either.
loom_search, plus the knowledge section of the same search. The extract namespace already holds the documents, so one search returns both.results.mdcarries a run over arms 0 to 4 and 6, with the summary artifact regenerated.a_answers_without_claims(arm to share) is nowanswers_without_claims(kind to arm to share).What the run shows: serving the documents' knowledge hits beside the extracted rows raises feature-question recall over the rows alone (arm 6 vs 4, D recall +40.8, 95% interval +29.1 .. +57.1), and leaves B avoidance unresolved against arm 4 (+1.1, -27.3 .. +38.9) and 32.2 points below the gold rows. A hypothesis the run does not test: B avoidance follows the rows the pre-edit block serves (arms 4 and 6 served a row on 9 of the 43 tasks with gold rows, arm 3 on 39), but the arms also differ in the rows themselves.
Scope and risk
Bench harness, its tests and its results page only. No server code.
Compatibility, rollout and rollback
Tests
tests/unit/test_bench_design_rationale.py: a D answer scored against its gold facts, a D task without gold facts refused, and arm 6 serving arm 4's pre-edit rows with the knowledge section (offline, over the fake Loom).make format-check lint typecheckpass; the full unit suite passes except the CSV timing bound named in the checklist.PYTHONPATH=$PWD .venv/bin/python -m bench.design_rationale run <taskset> --out <dir> --base-url <server> --arms 0,1,2,3,4,6 --reader-model gpt-6-luna --judge-model gpt-6-luna --code-index <url> --code-index-org <org> --code-index-namespace <code namespace> --extract-model gpt-6-luna --k 3 --judge-repeats 1 --max-usd 3, thenscore --summary. Spend 0.76 USD. The committed harness reproduces the published run: arm 6 resolves document citations in the namespace it searched, which in this run holds the same documents as the kb namespace.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (an agent wrote most of the diff): Claude Code; the run's treatment check and per-task surfaces were read before the numbers were published.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make format-check,make lint,make typecheckandmake test-unitpass; the integration suite passes if server behaviour changed. Locally the full unit suite passes excepttest_the_delimiter_is_sniffed_in_bounded_time, a CSV extractor timing bound this PR does not touch, which fails on a loaded machine and passes on main's CI.docs/describe the system as it now is, and this description names any operator steps and wire changes.git commit -s), as CONTRIBUTING.md asks.🤖 Generated with Claude Code