Repository navigation
fix(brief): qualify error-origin evidence and unresolved call links - #1241
Conversation
Error-origin evidence qualification — #1231, 2026-10-19Verdict: improved evidence, with a measured coverage gain and one regression. Hypothesis and controlsHypothesis: distinguish syntax-backed evidence roles from literal/name matches,
The shipped offline probe judge, using the same fixed native base briefs instead Frozen native comparisonProtocol v4 from the shared reference. Exact argv, all probe hashes, pins and raw-report hashes: the identity below. python3 -c 'import fcntl,subprocess,sys; f=open("/tmp/pixel-benchmark.lock","a"); fcntl.flock(f,fcntl.LOCK_EX); sys.exit(subprocess.call(sys.argv[1:]))' \
python3 -I scripts/bench/tool-census/score_brief.py pinned \
--base /tmp/pixel-1197-audit/pixel \
--probe-home /tmp/pixel-1197-audit/runs/probe-home-a0d99d6268b7 \
--head-probe-commit b634bd8cc68ef88407f2683d11ed8f0974848643 \
--repo /Users/navid/code/personal/pixel-1231-error-evidence \
--questions /Users/navid/code/personal/pixel-1231-error-evidence/eval/brief-bench/questions.jsonl \
--route hook --root /tmp/pixel-1231/state --out /tmp/pixel-1231/runs --label evidence1231
Exact metrics/deltas: the tables below and in this report.
requests-07 gains the actual caught-type import and Limits and propagationProducer: error-origin stdout. Consumers: the unchanged bundled-probe registry Python syntax roles are bounded heuristics, not runtime tracing. Other languages 56 questions: baseline / candidate, protocol v4
Identity, commands, input and report hashes{
"native_source": "a0d99d6268b770b49bf44effef415ac95b1252aa",
"candidate_commit": "b634bd8cc68ef88407f2683d11ed8f0974848643",
"scorer_source": "b634bd8cc68ef88407f2683d11ed8f0974848643",
"scorer_sha256": "95bf349407a86091b7627f0d7726697478408b743345b32d4ed919da36233106",
"protocol_version": 4,
"binary_sha256": "fcde2a41d4d0e7017acdba2ee58e4803afa9379b8b3995b68e24b71ec14d8e64",
"questions_sha256": "984a632e96f5f32891279d58f872c3a891bfeabaee110b3993be313c63e17069",
"argv": [
"/Users/navid/.local/share/mise/installs/python/3.15.0/bin/python3",
"-I",
"/Users/navid/code/personal/pixel-1231-error-evidence/scripts/bench/tool-census/score_brief.py",
"pinned",
"--base",
"/tmp/pixel-1197-audit/pixel",
"--probe-home",
"/tmp/pixel-1197-audit/runs/probe-home-a0d99d6268b7",
"--head-probe-commit",
"b634bd8cc68ef88407f2683d11ed8f0974848643",
"--repo",
"/Users/navid/code/personal/pixel-1231-error-evidence",
"--questions",
"/Users/navid/code/personal/pixel-1231-error-evidence/eval/brief-bench/questions.jsonl",
"--route",
"hook",
"--root",
"/tmp/pixel-1231/state",
"--out",
"/tmp/pixel-1231/runs",
"--label",
"evidence1231"
],
"lock": "/tmp/pixel-benchmark.lock",
"python": "3.15.0 (main, Oct 9 2026, 15:11:47) [Clang 22.1.3 ]",
"base_probe_home": {
"frozen": true,
"home": "/private/tmp/pixel-1197-audit/runs/probe-home-a0d99d6268b7",
"commit": "a0d99d6268b770b49bf44effef415ac95b1252aa",
"probe_files": {
"cand-j-callers/pixel-plugin.toml": "4535fb5b9935b31ea72219c476dea36944022c163b948630d7b87ec0a43fec30",
"cand-j-callers/probe": "cf14ec0a61e34b8870a1c8421b0fde17e3e88870a3859e7b4cb5f7cd06e77ded",
"cand-j-chain/pixel-plugin.toml": "36940a8b4be105293d3c6aae9c4bd6db30bf3f5867765c6f8f0e1e836c286231",
"cand-j-chain/probe": "6a88df37b0cc2b95b1d05f3094d9197a7ad5a14c24102ae23e9e96b548bfba44",
"cand-j-stop-cause/pixel-plugin.toml": "60cc795e085b65800467713223553ad68f7f02ce4bcc48d3cb978e508a52bfad",
"cand-j-stop-cause/probe": "2fa455eaa2eba65815f0765ed3e2a92ecaec85f7e7621310dedfcb75f5f6e38b",
"cand-k-code-sites/pixel-plugin.toml": "4b6934d13a144eb7fbae56091112dff1024910a5942263c30d33eb33e94e6966",
"cand-k-code-sites/probe": "1475af5454eaf32311734f48107f0a9612907d0d53e1f2c059a057323826e127",
"cand-k-commit-patch/pixel-plugin.toml": "c184afb77ce51ced638eb42b2910a64e67a8a7349badb21f644f2f24e285499c",
"cand-k-commit-patch/probe": "e2d0a606f544aad1c3ec96ff755bb74d0ca89def9e5ba3c14238ff2cc8e5c7d1",
"config-registry/pixel-plugin.toml": "81a31387e718aed5e8229ebb2b7cb16dfb3941be79c40a3bf742f290b8cfbb04",
"config-registry/probe": "9ae398ef690ad181d005173f5f81c159b286ab8e80741dff8cc0f804860c8b4b",
"doc-sections/pixel-plugin.toml": "cec670ad784c63d579b7f8cccab2e35c253d96abe4168efba925b69b5e69631a",
"doc-sections/probe": "97b89c2521e10c95f5077b71f0abf7c82473be608178bb41571cf34c23d4ec99",
"error-origin/pixel-plugin.toml": "92e36132a2a0895ec67f77c0a7b7f85e62306c82be91de0137ba70423461f681",
"error-origin/probe": "1ea2b825e5b912708564f4001b8df897f498cbfc35e342e09c7d7881f6039e00",
"flow-rank/pixel-plugin.toml": "78e574d59e33613dd6cd72522c4135f2c9000882121a89e11a1add7c82fadc9f",
"flow-rank/probe": "6fdd598ae2b9fae7b3430f8284e6fb69f992390b10e7476738b048d74afff456",
"history-fallback/pixel-plugin.toml": "bd45e81583779cb3d58476e67661fdeb131b1fe91ef48a4c0ddfcbd97b155b82",
"history-fallback/probe": "e376833deb44fbb2e68f704cd239229e62268e9edaaa920fda677ae8e319f7c4",
"name-files/pixel-plugin.toml": "6311975835f54880785c5c9d0611af1bd3084090c6a0ae27ab91a9d384e5adb0",
"name-files/probe": "42781445e638b4e1bde9075db5a77b2cf9330f5651889621d3a3eb9ec2055474",
"overview-answer-evidence/pixel-plugin.toml": "bad7296859efc2e4da03b9c0ed59cb6af56a1380409610891b02101c7c922926",
"overview-answer-evidence/probe": "7f5f1be8239240a3ba92f20d3527fa80dcb3d74f32405c75b077d704e966d052",
"rank-blocks/pixel-plugin.toml": "fca68611008fc8b35facd2081197e51afa8d04ccb3ab9b5316930a37792c6060",
"rank-blocks/probe": "854f122c9733d5c87080ce2f015c84cbfc20e219f59d09fe0f468c5d5640068c",
"test-bodies/pixel-plugin.toml": "713ea81bbecbcc7c2e37ec623757902fb30df0624d0ef9f971e0c7a257d20c85",
"test-bodies/probe": "0ed7c49a317f54ed72e64400b6f059c76beba6b891f4c180bbae99d82983c15e"
}
},
"head_probe_home": {
"frozen": true,
"home": "/private/tmp/pixel-1231/runs/probe-home-b634bd8cc68e",
"commit": "b634bd8cc68ef88407f2683d11ed8f0974848643",
"probe_files": {
"cand-j-callers/pixel-plugin.toml": "4535fb5b9935b31ea72219c476dea36944022c163b948630d7b87ec0a43fec30",
"cand-j-callers/probe": "cf14ec0a61e34b8870a1c8421b0fde17e3e88870a3859e7b4cb5f7cd06e77ded",
"cand-j-chain/pixel-plugin.toml": "36940a8b4be105293d3c6aae9c4bd6db30bf3f5867765c6f8f0e1e836c286231",
"cand-j-chain/probe": "6a88df37b0cc2b95b1d05f3094d9197a7ad5a14c24102ae23e9e96b548bfba44",
"cand-j-stop-cause/pixel-plugin.toml": "60cc795e085b65800467713223553ad68f7f02ce4bcc48d3cb978e508a52bfad",
"cand-j-stop-cause/probe": "2fa455eaa2eba65815f0765ed3e2a92ecaec85f7e7621310dedfcb75f5f6e38b",
"cand-k-code-sites/pixel-plugin.toml": "4b6934d13a144eb7fbae56091112dff1024910a5942263c30d33eb33e94e6966",
"cand-k-code-sites/probe": "1475af5454eaf32311734f48107f0a9612907d0d53e1f2c059a057323826e127",
"cand-k-commit-patch/pixel-plugin.toml": "c184afb77ce51ced638eb42b2910a64e67a8a7349badb21f644f2f24e285499c",
"cand-k-commit-patch/probe": "e2d0a606f544aad1c3ec96ff755bb74d0ca89def9e5ba3c14238ff2cc8e5c7d1",
"config-registry/pixel-plugin.toml": "81a31387e718aed5e8229ebb2b7cb16dfb3941be79c40a3bf742f290b8cfbb04",
"config-registry/probe": "9ae398ef690ad181d005173f5f81c159b286ab8e80741dff8cc0f804860c8b4b",
"doc-sections/pixel-plugin.toml": "cec670ad784c63d579b7f8cccab2e35c253d96abe4168efba925b69b5e69631a",
"doc-sections/probe": "97b89c2521e10c95f5077b71f0abf7c82473be608178bb41571cf34c23d4ec99",
"error-origin/pixel-plugin.toml": "56f8b3a0f3258d1b647e47e6763bb663e216200e45433e0d4cf98f713f38be06",
"error-origin/probe": "509b7d1b33b7fe18cd9a69a6073d98a89e9f2c432f1bd42e4f58c550b32456f1",
"flow-rank/pixel-plugin.toml": "78e574d59e33613dd6cd72522c4135f2c9000882121a89e11a1add7c82fadc9f",
"flow-rank/probe": "6fdd598ae2b9fae7b3430f8284e6fb69f992390b10e7476738b048d74afff456",
"history-fallback/pixel-plugin.toml": "bd45e81583779cb3d58476e67661fdeb131b1fe91ef48a4c0ddfcbd97b155b82",
"history-fallback/probe": "e376833deb44fbb2e68f704cd239229e62268e9edaaa920fda677ae8e319f7c4",
"name-files/pixel-plugin.toml": "6311975835f54880785c5c9d0611af1bd3084090c6a0ae27ab91a9d384e5adb0",
"name-files/probe": "42781445e638b4e1bde9075db5a77b2cf9330f5651889621d3a3eb9ec2055474",
"overview-answer-evidence/pixel-plugin.toml": "bad7296859efc2e4da03b9c0ed59cb6af56a1380409610891b02101c7c922926",
"overview-answer-evidence/probe": "7f5f1be8239240a3ba92f20d3527fa80dcb3d74f32405c75b077d704e966d052",
"rank-blocks/pixel-plugin.toml": "fca68611008fc8b35facd2081197e51afa8d04ccb3ab9b5316930a37792c6060",
"rank-blocks/probe": "854f122c9733d5c87080ce2f015c84cbfc20e219f59d09fe0f468c5d5640068c",
"test-bodies/pixel-plugin.toml": "713ea81bbecbcc7c2e37ec623757902fb30df0624d0ef9f971e0c7a257d20c85",
"test-bodies/probe": "0ed7c49a317f54ed72e64400b6f059c76beba6b891f4c180bbae99d82983c15e"
}
},
"pins": {
"Pixel-CLI__pixel": "fe0a1eab44420768a8b8a115fb91c4148292fd9f",
"BurntSushi__ripgrep": "3fce3b5bb0236da2df6d99672afb8a719642eca7",
"psf__requests": "611c6162cbc4ac2020a2f91c7cfa4f3abf9bbb60",
"excalidraw__excalidraw": "541653c7c9d587d463a47daacff9fb30e45a52e7",
"pallets__flask": "d086db856be187255b8ec61ef409357393020f32",
"sharkdp__fd": "14dcd92fb76ca0ebc2e82671a275f67c790d25fc",
"expressjs__express": "a419aa7350389a275ab45fde2e849ed1f02449ef"
},
"base_result": {
"status": "complete",
"exit_code": 0,
"counts": {
"ok": 53,
"abstained": 3
},
"errors": []
},
"head_result": {
"status": "complete",
"exit_code": 0,
"counts": {
"ok": 53,
"abstained": 3
},
"errors": []
},
"report_sha256": {
"base": "2eadc24a2753f727defa84b341ec369a9ab2908031422374a1731e516ba82aca",
"head": "915eb546c0a86e514a00d5b7b5e588117e3eb3c5f74d228e66df54b67a434cba"
},
"prototype_controls_sha256": "1068b6c1c97e0bfd43921fa1b60a059da6b55f071d17e1d2c1b92e54359b29c2",
"native_comparison_exit": 0
} |
|
Revue critique et corrections publiées dans le commit signé 7b8c112. Constats vérifiés sur le candidat précédent
Le prototype hors crates passe 4/4 contrôles supplémentaires, contre 0/4 avant. Cinq méthodes de régression donnent 7 assertions en échec, 0 erreur de harness sans le correctif ; après correction, 16 tests de sonde + 24 autotests du harness passent. Les contrôles docstring-only, receiver homonyme, vraie émission, conversion et rethrow restent couverts. Judge offline sur les 56 briefs figés : OK, 7 exécutions, déterminisme x2, lecture seule, sans timeout. Le prototype précédemment rejeté n’a pas été repris. Comparaison native figée sous
Régression résiduelle explicite : flask-07, file_recall 0.461538 → 0.384615. Le message global Rapport de revue et commandes · identités/hashes · 56 questions · catégories. Les octets programme/manifest du head signé sont identiques à ceux du fixture de mesure immuable. Aucun scorer modifié, aucune installation ou campagne de mutations, aucune mesure live ni revendication zéro appel. Les liens dynamiques restent non résolus, la construction du message urllib3 reste non inspectée. #1197 reste CLOSED / COMPLETED. Le merge est demandé par le mainteneur et attend les checks du nouveau head. |
…1241) * fix(brief): qualify error-origin evidence and unresolved call links * docs(bench): record frozen error-evidence comparison and regression * fix(brief): preserve qualified error context and respect lexical scopes
Closes #1231
Summary
Error-origin distinguishes message definitions, documentation, candidate occurrences, local raise syntax, candidate conversion/rethrow handlers and candidate dependency boundaries. A same-name method call or import remains explicitly unresolved. #1197 stays closed.
The critical review also fixes global Python messages falsely assigned to the preceding function, nested-scope raises attributed to outer handlers, and the loss of useful ripgrep-07 conditions. Direct lexical references precede secondary snippets; those are independent context, never a composed path.
Evidence
Before: main's doc-only and receiver-homonym counterexamples are recorded in the initial report. Five additional review regression methods against PR head
1114d9b9produce 7 failing assertions, 0 harness errors, exit 1. They cover global scope, nested function/async/class scopes, import shadowing, retained conditions and a direct/indirect homonym collision.After:
python3 -I probes/error-origin/tests/test_probe.py: 16 pass.python3 -I scripts/bench/probe-test.py --self-test: 24 pass.--check-all, SPDX and whitespace checks pass. Only output-contract assertions change in probe-test; no scorer code changes.Generic scratch prototype: 4/4 review controls pass before integration, versus 0/4 on
1114d9b9; original seven controls include actual emission, conversion, rethrow, docstring-only, homonymous receiver and pinned requests-07. The rejected brief: error-origin pack — raise sites and callers of a quoted error (file_recall 15%) #1197 prototype is not ported.Reviewed frozen 56-question comparison, exact commands and identities, shared protocol v4 from bench(brief): distinguish scorer failures and abstentions from valid coverage reports #1230/bench(brief): preserve source-file attribution across consecutive excerpt blocks #1235 via fix(bench): retain source ownership in unknown and mixed excerpts #1240, lock
/tmp/pixel-benchmark.lock. Same native binary/sourcea0d99d62, SHA-256fcde2a41d4d0e7017acdba2ee58e4803afa9379b8b3995b68e24b71ec14d8e64; same questions, pins, other probes, warm state and budgets. Both new arms complete/exit 0, 53 ok + 3 abstained, no errors/cuts/partials. The baseline reproduces all 56 previous brief texts.ripgrep-07 region 0.003872 → 0.003125 → 0.003895: regression recovered with qualified independent context. requests-07 retains 0.005658 → 0.136806. Residual regression flask-07, region 0.066415 → 0.040112, file recall 0.461538 → 0.384615, from removing caller/test snippets derived from a falsely assigned global constant. These are coverage metrics, not answer-quality scores. Every question and category, including both deltas, are published; 53/56 questions retain coverage, 50/56 briefs are byte-identical to baseline.
Shipped offline judge on fixed native baseline: OK, 56 questions, 7 probe executions, deterministic x2/read-only/no timeout. Lexical guard flags are manually reviewed and documented, not reported as automatic passes.
Published signed head
7b8c1125da992acebfb9b1a643942af5332220d6preserves measured program SHA-2565ed40604621a1d3f6ece8b7eeae3669a91521d946fc0522d013535a78feb5ffcand manifest SHA-25656f8b3a0f3258d1b647e47e6763bb663e216200e45433e0d4cf98f713f38be06. CI and CodeQL completed successfully on this exact head: tests/format, doctests, script/probe contracts, Clippy/features, MSRV, ranking/service-time, both install lanes and the three CodeQL analyses pass.Record the green verdictpasses; dependency policy is skipped for unchanged dependencies and aggregate CodeQL is neutral. No review threads/findings remain. No Rust change, installation, mutation campaign, live-agent quality assessment or zero-call claim.Merge Danger
Door: one-way for setup: the next
pixel setuprewrites the installed first-party probe. A revert restores it on a subsequent setup.Blast radius: error-origin briefs. Qualified lexical snippets may still include irrelevant homonyms. Dynamic bindings, external emission sites and runtime paths remain unresolved. Conservative scope handling reduces flask-07 retrieval; the bounded Python handler scan is heuristic.
Docs touched
probes/error-origin/README.md,.github/changelog.d/error-origin-evidence.fixed.md, historical and reviewed evidence underdocs/bench/error-evidence-1231/, and the acceptance report's pointer to the latest comparison.ARCHITECTURE.mdand agent prompt contracts are unchanged (same commands, files, probe set and delivery). Common scorer and historical measurement data remain unchanged.