Repository navigation
experiment: evaluate Astra on 36 remaining Spider failures - #345
Draft
seyoung4503 wants to merge 5 commits into
Draft
seyoung4503 wants to merge 5 commits into
seyoung4503 wants to merge 5 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.
Evaluate Astra/high on 36 remaining Spider failures, after the preceding three-case Astra probe yielded no repairs. Those three unchanged attempts (local010/local272/local355) are not repeated. All selected cases have score0 in the completed integrated Sol baseline; previously correct cases are excluded. Include both SQL-producing and clarification failures so no-output cases remain part of the fixed denominator.
Frozen revision 56ade07. ChatGPT-auth Codex CLI -> production Lang2SQL MCP, gpt-6.2-astra/high, concurrency2 and 600s per-case deadline. Source hashes match the preceding Astra probe exactly. No product/prompt/scorer/default change. Fresh requests receive only question, schema and supplied documentation; no prior answer, gold, score or reference-audit finding enters inference.
Completed source scores, case identity and DB hashes were validated with the existing selector. All selected IDs, previous-attempt exclusions and hashes were committed before inference under
bench/accuracy/experiments/astra-spider-backlog/. Completed official scoring: 1/36 repaired (local050); 35 still failed, including 14 no-final-SQL clarifications. Model execution exited0; all scoring is complete and no jobs remain live. This is a selected-failure repair measurement, not full Spider135 accuracy or a general model ranking. No merge.Validation: data-only experiment; unchanged runtime was tested with 299 passed/1 skipped. Source identity, selection checks and diff check passed. Reuses existing runner, exact-input/event capture, execution binding and official scorer. No new implementation function/environment variable.
All 36 attempts are archived under
bench/accuracy/mcp-review-results/astra-spider-backlog/: exact input prompts, raw MCP events, records, SQL/CSV when produced, official scores/settings, paired HTML/JSON comparisons and hashes. Source/event/prompt integrity checks passed. Scorer API usage placeholders are null in archived summaries; actual CLI usage remains in raw records.The unchanged official comparator diagnostic categorizes remaining failures as 17 column-value/projection mismatches, 4 row-count mismatches and 14 no-final-SQL cases. These categories do not override grades, and unmatched columns may have wrong values rather than be absent. The result does not support a broad Spider improvement claim from changing model alone. Keep all failures and do not rerun unchanged cases without a new hypothesis.
Operational note: the first launch referenced a nonexistent manifest filename and exited before initialization or any model call; correcting the filename started this one recorded 36-case run. No model retry or score-based candidate selection occurred.
Full benchmark accuracy and 95% remain unproven. No prompt/tool/default or official grading change was made in this experiment; no merge.
Follow-up scope audit and existing evidence-only review: local077 remains0/1 with Astra/high on frozen0d7be046 (integrated tools). The model still expands the input period to July although the request starts September; declared12rows and8columns pass, demonstrating that output contracts do not verify the source population. The review input was checked byte-for-byte against the existing previous-answer/tool-observation whitelist; no reference, grade or offline diagnosis was supplied. Offline, changing only the baseline input lower bound from July to September matches reference_a/b/c with the unchanged comparator. The date column itself is excluded by official condition_cols; this is not a date-format or rounding repair. Offline counterfactuals are not model scores. Full evidence and integrity hashes: mcp-review-results/window-evidence-review. No new code/prompt/default was added and no unchanged retry is scheduled.
Related native BIRD483 audit in the same offline evidence bundle corrects an unverified earlier hypothesis: the reference contains only observed single/double bonds,843/478; the prediction adds a synthetic triple-bond row with0. There are no extra reference bond types. All nonzero counts agree; zero-category inclusion is the remaining population interpretation difference. Official grade is unchanged.
Verification: existing runtime/review/comparator reused; product net0lines, no new functions/env/deployment or I/O path. Full raw failure remains, review whitelist and all archive hashes verified; staged whitespace check passed. Artifact-only update, root tests not repeated; no merge.
Controlled effort follow-up: five prior multi-stage failures were rerun once with Astra/max, preserving runtime/source/schema and original user prompt bytes from Astra/high. Official result1/5: local032 repaired; local008/local259/local299/local025 remain wrong. No prior answer, reference, grader output, or analyst diagnosis was given to inference. local032 changes five-star review counting from1014 rows to993 distinct review IDs; the other three numeric metrics are unchanged. Official condition_cols scores values, not description labels. Summed case latency increased from258.7s to992.9s (approximately3.8x); this is not a paired wall-time comparison because the original larger run included other cases. Keep high as the current default; one selected repair does not justify a global max setting or full-accuracy claim.
Evidence: mcp-review-results/spider-max-calculations has44verified hashes, all5full traces/prompts/SQL/CSV, official scores, source/settings and paired HTML/JSON. Frozen runtime137d869 differs from original56ade07 only by evidence files. Initial source-diff preflight accidentally included an archived diagnostic Python file; corrected path classification confirmed runtime equality without restarting the already-started single inference run. No failures were dropped.
Implementation-principles verification for this artifact-only follow-up: existing runner/scorer/comparison reused, product net0lines; raw logs/errors preserved; env, exception levels, runtime comments, sync/async and deployment unchanged; all prompt/event/archive hashes and staged diff check pass; no new functions or CODE MAP changes; PR only, no merge. Existing root tests were not repeated for evidence files.
Further offline audits, no inference reruns or score changes:
These remain official0. The diagnostic projection equality is not an alternative grade and does not prove every native type or excuse other errors. No reference fields/values were fed to inference and no extra production columns were injected. Canonical reference/config hashes verified. Evidence: mcp-review-results/requested-projection-audit.
local331: there are36session/timestamp groups with multiple events and no documented chronological sequence key. Alternative tie orders that preserve timestamps produce different qualifying page counts. Removing action=view, excluding blanks, or the rowid tie-break alone does not change the baseline result. Trailing-slash normalization also changes outputs but does not establish intended semantics. Preserve the unresolved status; no arbitrary normalization or tie rule is deployed. Evidence includes9native SQL counterfactuals, results, DB hash and schema/index metadata in mcp-review-results/navigation-order-audit. This demonstrates an ordering ambiguity, not the exact cause of every reference mismatch.
Artifact-only checks:11archive hashes and pinned reference/config hashes verified; staged diff passes. No runtime/prompt, exception, env, sync/async or deployment change. Existing source tests not repeated; no merge or model restart.