Repository navigation
experiment: remove competing ranking projection instruction - #341
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.
The shared instructions first require only requested columns, but a later rule automatically adds the measure justifying an entity's selection. That creates competing output guidance: ranking a list by a metric does not necessarily request that metric as an output column. Remove that one later bullet; retain the existing requested-output contract. No new prompt rule, runtime tool change, model change, answer injection or grader change.
The deterministic MCP runtime fixes remain inherited from PR339. The existing
expected_columnstool check only verifies the model's declared contract; it cannot resolve contradictory natural-language instructions. This is a final-stage guidance ablation after those runtime checks, not a substitute for tool fixes.Predeclared one currently wrong extra-projection case, bird165, before inference. Frozen revision ed17533, fresh ChatGPT-auth Codex CLI -> production Lang2SQL MCP, gpt-6.2-sol/high. It now returns only player_name, keeps AVG in ORDER BY, and passes unchanged official BIRD execution scoring: 0 -> 1. No prior answer/grade was supplied. All inputs, raw events, SQL/CSV, settings, official score and paired trace comparison are archived under
bench/accuracy/mcp-review-results/projection-precedence/, with SHA256 checks.Limits: This is one selected failure and one stochastic rerun, not full accuracy or causal proof. Previously passed cases were not rerun per the user's instruction. The removed rule previously accompanied a local210 repair, so regression freedom is not established. Keep draft; no merge or broad improvement claim.
Validation: root tests 295 passed, 1 skipped; Ruff passed for the changed prompt file with the existing unrelated BLE001 exception excluded; source/prompt/event hashes verified. Every source file other than the shared prompt is unchanged from a97a713. Diff checked with raw CSV CRLF/document whitespace preserved. No CODE MAP generator exists.
Reuses the shared prompt, existing MCP runner/official scorer, exact-input recorder and PR338 comparison tool. Product diff: one deleted bullet (zero new functions/env/settings).