Repository navigation
docs(bench): record the configuration pack as tried and dropped - #1215
Merged
Merged
Conversation
…dget score_brief.py gains freeze-home (the probes a binary built at a commit embeds, hashed), --probe-home, and pinned (two binaries or two probe sets on frozen homes, then compare). report.json records the probe identity, the route and the question SHA-256; compare flags runs that differ in more than one input. The default route is now the prompt-submit hook's brief-only payload (3 s window, probe floor, all parts): the brief command gave probes 750 ms and no floor, and config-registry timed out on one run and not the next. Refs #906
A test-bodies probe (append, kind tests or a prompt naming tests) quotes the test cases whose name or body carries the prompt's subject: Python def test_*, JS it/test, Rust fn under #[test] including inline modules. Candidates are the test files the brief names, then those whose path names the subject; word weights come from how many cases carry a word, not from a word list. Registered in bundled_probes.rs; the install tests derive their counts from the allowlist. Closes #1196
…es without quoting it error-origin ran only on a quoted message, and none of the seven error-origin questions of the public bench quotes one. It now also takes the short string literal that carries the most of the prompt's words, each weighed by how few source lines carry it, with the call and function that emit the string counted beside it. A string longer than the window is a manual, not a message; a JSON catalogue entry is followed to the code that names its key; inline test modules are skipped. CI installs ripgrep for the probes' own tests. Closes #1197
…tion names flow-rank followed the entry the brief's trace guessed, which for 'when I call requests.get' was auth.py's __call__. It now takes the entry the question names in code form (a dotted name, snake_case or camelCase) when the graph defines it: a path holding the leading parts first, a function before a method, no tests. From a named entry, a level where fewer than two callees carry the question's words keeps its best three, since a narrow chain is the path. It also runs for a 'walk me through' prompt the brief did not classify as flow. Closes #1198
A run on daemons left in the clones by pixel calls outside the harness answered 7 of 56 briefs differently from its two replays (an op left unanswered, flow-rank empty). activate now stops the clone's daemon before prepare-repo, so every run is served by a daemon it started. Refs #1201
doc-sections split only Markdown, so a project documented in .rst (flask, requests) never had a section quoted: requests-01's docs/api.rst and flask-03's docs/config.rst went unseen. Underlined .rst titles now make sections too; a transition rule after a blank line is not a title. Closes #1200
…zen-probe harness Refs #1200
On the hook route main already covers 37.9% of the config oracle lines (the 9% came from the brief command route), and config-registry gives each key's definition, default, override and read site. A prototype that quoted the definition behind each code pointer of a config brief moved two of seven questions and the config line count not at all. Closes #1199
# Conflicts: # docs/bench/brief-public-acceptance-2026-10-17/README.md # probes/error-origin/probe # probes/error-origin/tests/test_probe.py
navidemad
added a commit
that referenced
this pull request
Oct 18, 2026
One paired live pass of the 56 public questions on main 904d957 (the packs of #1208-#1215, probes frozen), then two repeats of the 22 pairs whose brief answer used no tool and passed source review on both arms. - First pass: 64 brief calls against 231 control calls (2026-10-17: 78/235); 34/56 zero-call brief answers; delivery 3/3 parts, none late. - 18/56 accepted (2026-10-17: 9/56): three repeats fell back to a tool, fd-06's r2 brief answer failed review. The control failed no review. - brief-zero-calls.py takes the `codex` on PATH and refuses to start without one: a first pass errored on all 112 sessions because it looked only in ~/.local/bin. Refs #906
This was referenced Oct 18, 2026
Closed
LivioGama
pushed a commit
that referenced
this pull request
Nov 25, 2026
* chore(bench): freeze the probe home and score briefs on the hook's budget score_brief.py gains freeze-home (the probes a binary built at a commit embeds, hashed), --probe-home, and pinned (two binaries or two probe sets on frozen homes, then compare). report.json records the probe identity, the route and the question SHA-256; compare flags runs that differ in more than one input. The default route is now the prompt-submit hook's brief-only payload (3 s window, probe floor, all parts): the brief command gave probes 750 ms and no floor, and config-registry timed out on one run and not the next. Refs #906 * feat(brief): quote the bodies of the tests a tests question asks about A test-bodies probe (append, kind tests or a prompt naming tests) quotes the test cases whose name or body carries the prompt's subject: Python def test_*, JS it/test, Rust fn under #[test] including inline modules. Candidates are the test files the brief names, then those whose path names the subject; word weights come from how many cases carry a word, not from a word list. Registered in bundled_probes.rs; the install tests derive their counts from the allowlist. Closes #1196 * docs(bench): record the test-bodies pack on the frozen-probe harness Refs #1196 * feat(brief): find the origin of an error message the question describes without quoting it error-origin ran only on a quoted message, and none of the seven error-origin questions of the public bench quotes one. It now also takes the short string literal that carries the most of the prompt's words, each weighed by how few source lines carry it, with the call and function that emit the string counted beside it. A string longer than the window is a manual, not a message; a JSON catalogue entry is followed to the code that names its key; inline test modules are skipped. CI installs ripgrep for the probes' own tests. Closes #1197 * docs(bench): record the error-origin pack on the frozen-probe harness Refs #1197 * feat(brief): start a walkthrough's call chain from the entry the question names flow-rank followed the entry the brief's trace guessed, which for 'when I call requests.get' was auth.py's __call__. It now takes the entry the question names in code form (a dotted name, snake_case or camelCase) when the graph defines it: a path holding the leading parts first, a function before a method, no tests. From a named entry, a level where fewer than two callees carry the question's words keeps its best three, since a narrow chain is the path. It also runs for a 'walk me through' prompt the brief did not classify as flow. Closes #1198 * chore(bench): stop a clone's leftover daemon before scoring on it A run on daemons left in the clones by pixel calls outside the harness answered 7 of 56 briefs differently from its two replays (an op left unanswered, flow-rank empty). activate now stops the clone's daemon before prepare-repo, so every run is served by a daemon it started. Refs #1201 * docs(bench): record the flow-rank named-entry pack on the frozen-probe harness Refs #1198 * feat(brief): quote reStructuredText documentation sections doc-sections split only Markdown, so a project documented in .rst (flask, requests) never had a section quoted: requests-01's docs/api.rst and flask-03's docs/config.rst went unseen. Underlined .rst titles now make sections too; a transition rule after a blank line is not a title. Closes #1200 * docs(bench): record the reStructuredText doc-sections pack on the frozen-probe harness Refs #1200 * docs(bench): record the configuration pack as tried and dropped On the hook route main already covers 37.9% of the config oracle lines (the 9% came from the brief command route), and config-registry gives each key's definition, default, override and read site. A prototype that quoted the definition behind each code pointer of a config brief moved two of seven questions and the config line count not at all. Closes #1199 * test(setup): list the test-bodies probe in the setup goldens and agents data Refs #1196
LivioGama
pushed a commit
that referenced
this pull request
Nov 25, 2026
One paired live pass of the 56 public questions on main 3bf8d7a (the packs of #1208-#1215, probes frozen), then two repeats of the 22 pairs whose brief answer used no tool and passed source review on both arms. - First pass: 64 brief calls against 231 control calls (2026-10-17: 78/235); 34/56 zero-call brief answers; delivery 3/3 parts, none late. - 18/56 accepted (2026-10-17: 9/56): three repeats fell back to a tool, fd-06's r2 brief answer failed review. The control failed no review. - brief-zero-calls.py takes the `codex` on PATH and refuses to start without one: a first pass errored on all 112 sessions because it looked only in ~/.local/bin. Refs #906
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1199
Stack (L7, #906): … ← #1214 (#1200) ← this PR (#1199). Base:
brief/1200-docs-rst. Docs only.Summary
Records the configuration pack as tried and dropped, as the issue's acceptance asks for a pack that does not move its number. No probe is added.
Evidence
main7887b9e6covers 371/979 config oracle lines (37.9 %), against the issue's 9 % (90/979), which came from thebriefcommand route (750 ms, no probe floor).config-registryalready prints each key's definition, default value or fallback, declaration and read site.config-sitesprototype (scratchpad, not committed) quoted the enclosing definition behind each code pointer of a config brief'sfiles:line (for examplecrates/core/flags/hiargs.rs:857,lib/application.js:63), gated likeconfig-registry. It was evaluated offline on the saved hook briefs of feat(brief): start a walkthrough's call chain from the entry the question names #1211's head, with the native merge ofprobe-test.py:configcategory line coverage 8.2 % → 10.9 %, on 2/7 questions only (ripgrep-031.1 % → 8.7 %,express-030.5 % → 11.6 %)file_recall0.436 → 0.436,region_cov0.099 → 0.100docs/bench/brief-public-acceptance-2026-10-17/README.md.Merge Danger
Door: two-way (docs only).
Blast radius: none.
Docs touched
docs/bench/brief-public-acceptance-2026-10-17/README.md(pack table row and paragraph). No changelog fragment: nothing ships.Need help on this PR? Tag
@codesmith-botwith what you need.