Skip to content

Combine output projection, unit and type fixes - #354

Draft
seyoung4503 wants to merge 2 commits into
fix/share-output-unitsfrom
fix/integrated-output-contract
Draft

seyoung4503 wants to merge 2 commits into
fix/share-output-unitsfrom
fix/integrated-output-contract

Conversation

@seyoung4503

@seyoung4503 seyoung4503 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Output-shape, unit and type fixes were isolated on separate branches, so no single source version contained all three. Combine them in the existing prompt builder: keep only requested projections, retain fractional shares unless percentages are specified, and preserve stored output types when casts are only needed for numeric ordering. No new generation rule, tool, function, runtime path or grading change is introduced beyond those reviewed changes.

This stacks on PR352 (fraction units), incorporates the exact output-type guidance from PR353, and removes the same automatic ranking-evidence bullet as PR341. Original experiment artifacts/protocols are copied byte-for-byte, retaining original model/revision/limitations. Isolated repairs were bird165 (Sol/high), local060 (Astra/high; join also changed), and bird086 (Astra/high). These cannot be summed into integrated accuracy.

Validation:348 root tests passed,1 skipped; scoped Ruff passes with the existing unrelated BLE001 excluded, diff passes, copied archive hashes verified. No CODE MAP generator exists. Product change relative to parent is one replacement plus one removed instruction line (net−1line); no new functions. Model invocations for integration:0. Previously repaired cases were not rerun, respecting the failure-only development loop. Broad BIRD and Spider clarification-effort jobs remain frozen on0c79539.

Keep draft: no integrated benchmark score exists. Removing the ranking-evidence rule may regress cases such as local210 whose earlier repair accompanied that rule. Passing unit tests does not establish freedom from model-output regressions. Same-revision full500/135 validation and the95% goal remain unfulfilled. The integration is available for further failed-case development, not a claim of successful rollout.

Principle Verdict Evidence
Reuse O Existing prompt builder; exact prior changes and artifacts; net−1product line,0new functions
Cause/scope O Consolidates output contract changes only
Logging N/A No new execution path; original traces preserved
Errors N/A No new catches/fallbacks/retries
Environment N/A No settings or env reads added
Issue comments O No issue-number comments added
Verification O 348passed/1skipped, scoped Ruff/diff, archive hashes; no CODE MAP generator
Authority O Draft PR only; no merge, no live source/job mutation
Consumers O Existing build_system_prompt→MCP instructions→Codex SQL
Sync/async N/A No I/O or duplicate implementation
Constants/deployment N/A No operational configuration added

Integrated candidate test completed at frozen1a1e2e5: BIRD0/1 (bird146), Spider0/5 (local064/local003/local062/local202/local279). These were unresolved early pilot cases previously run only on Sol; no prior successes were repeated. This test establishes no additional repairs. Raw events, exact prompts, SQL/CSV, settings, official scores, paired comparisons and57verified hashes are under bench/accuracy/mcp-review-results/integrated-pilot-backlog/. The product and model both differ from those old Sol baselines, so this is not a single-change ablation.

Bird146 retains the alternate link endpoint and additionally returns12monthly rows rather than the reference single average. Offline endpoint substitution diagnoses the old failure but is not model output and was never supplied to inference. local202 and local279 still clarify unresolved definition/mapping choices. Next investigation is optional executed-result cardinality checks alongside existing RunSQL projection checks; no such implementation or accuracy claim is included here. No full benchmark accuracy or regression-freedom claim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant