Repository navigation
experiment: measure evidence-only review on eight remaining SQL failures - #340
Draft
seyoung4503 wants to merge 2 commits into
Draft
seyoung4503 wants to merge 2 commits into
seyoung4503 wants to merge 2 commits into
Conversation
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.
Several remaining SQL failures persist despite successful MCP calls and relevant diagnostics. For example, local008 explicitly queried 101332 batting rows and 18659 players, then selected per-record maxima. Adding another row-count tool does not address that observed decision.
Predeclare a controlled replay of the existing evidence-only review path on eight unresolved SQL-producing cases: bird165/245/384/381 and local008/007/299/220. The completed integrated source grades were validated as zero before generation. Only the prior model answer and MCP observations enter review; prior score/gold/diagnostic labels are excluded. The final reviewed answer is the only prediction scored, never best-of-gold selection.
Frozen revision:
f3ebf5a3d0f5b23a35f2e4b5e60bc35e08b81003. Model: ChatGPT-auth Codex CLI -> production Lang2SQL MCP, gpt-6.2-sol/high, concurrency2 per suite. Product code, existing review prompt text and official scoring are unchanged from a97a713. Source hashes/manifests and selection protocol were committed before inference. Completed: BIRD 1/4 repaired (bird384), Spider 0/4 repaired. Both CLI run handles exited 0; official grading completed. This is not full benchmark accuracy.This is an additional model invocation per case, so any improvement is a two-pass repair result with additional cost, not same-budget pass@1 or full benchmark accuracy. No previously passed cases are rerun. Existing review had limited success in earlier experiments; this experiment tests whether the integrated implementation and current traces merit any further investment. No runtime default change or merge.
Validation: existing runtime tests 295 passed/1 skipped on a97a713; this commit adds only predeclared protocol/manifests.
_scored_caseschecks completed coverage, exact inputs and matching database hashes. Diff check passed. Reuses existing runner, evidence whitelist, input validators and official evaluators; no new function or environment variable.Completed evidence is under
bench/accuracy/mcp-review-results/integrated-review/: all 8 records, exact submitted prompts, raw events, SQL/CSV when produced, official scores, settings, paired HTML/JSON comparisons and a 70-file SHA256 index. All prompt/event/source hashes were verified. The submitted prior evidence was parsed to verify the existing whitelist (answer + tool observations only). Scorer API usage placeholders are null in archived summary copies; real CLI usage stays in records/events. Raw CSV CRLF and prompt/document trailing whitespace are preserved as evidence.The one repair changes a date cutoff from age at least 51 to strictly older than 50. Review still retained the extra projection (bird165), deduplication weighting (bird245), and NULL missing-weight assumption (bird381). Spider local008 now asks about career/season/stint grain rather than guessing a final SQL; its grade stays 0. The remaining Spider predictions still fail official result comparison. There is insufficient evidence to enable review by default; no runtime default changes were made.
clarification-audit.jsonseparately records all 21 no-final-SQL cases from the preceding integrated run, including supplied question, actual clarification, trace hashes, diagnostic call count and provisional cause. These cases were not rerun. The hypotheses do not assert grader defects and do not override scores. Supplied documents omit regression weights for local277 and a numeric typical-pit-stop threshold for local336/local344; do not manufacture constants to force answers.Verification: all 8 final predictions were graded once using unchanged official comparators; all source Python hashes match the predeclared protocol; artifact integrity and exact prompt-to-prior-evidence checks passed. Existing runtime root tests remain 295 passed/1 skipped; this PR changes experiment artifacts only. No merge.