Skip to content

Make the official IPL glossary available as explicit supplemental context - #360

Draft
seyoung4503 wants to merge 4 commits into
fix/benchmark-selection-countfrom
fix/spider-shared-domain-document
Draft

seyoung4503 wants to merge 4 commits into
fix/benchmark-selection-countfrom
fix/spider-shared-domain-document

Conversation

@seyoung4503

@seyoung4503 seyoung4503 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Some IPL failures request clarification about cricket metrics, while Spider's own resource bundle contains a generic cricket glossary that is attached only to particular IPL tasks. Add an explicitly selected schema variant that appends the exact official glossary to the IPL database context. The original per-task question and external_knowledge fields, original schema map and default behavior stay unchanged.

This is a supplemental-context experiment, not the upstream per-task baseline. The document is pinned at upstream commit cafb867313aab4e674652054198f383cf4018943; its original filename is baseball_game_special_words_definition.md, despite describing cricket. The exact bytes and hash match the document already referenced by the canonical IPL manifest. No new domain definitions, SQL examples, question IDs, expected rows or gold SQL are added. Other databases' schema text is byte-for-byte unchanged.

The document defines batting average, strike rate, wickets, economy rate and runs given. It does not resolve every attribution or tie rule. Strict clarification remains in force; the runner must not invent missing rules. Product prompts, tools, graders and model defaults are unchanged. Only the existing pinned schema loader's accepted variants expand.

The planned failure-only check covers local020/023/025/026/229, whose original task input did not include this glossary. Previously passed cases and tasks already receiving the document are excluded. No prior answers, grades or analyst diagnosis are sent to inference. Results will be archived whether they improve or not; no accuracy improvement is claimed before scoring. Historical source runs differ in earlier product/settings changes, so this is not an isolated causal attribution to the glossary.

Validation checks the exact source hash against canonical document references, reconstructs the appended context, confirms all other database contexts are unchanged, and passes 371 root tests (1 skipped), scoped Ruff and diff checks. Existing loader/logging/provenance are reused; no new runtime function or production code is introduced.

Principle Result Evidence
Reuse O Existing pinned loader and schema-context path; net +3 loader lines, no new runtime function.
Cause only O Document available upstream but absent from these task inputs.
Logging O Existing loader records selected map hash.
Errors O Existing hash validation rejects altered maps.
Environment N/A No settings or environment variables added.
Issue comments O No issue-number comments.
Verification O Source/variant integrity test, root tests, Ruff and diff checks; no CODE MAP generator exists.
Authorization O Draft PR only; no merge.
Request path O Explicit schema variant → pinned loader → existing model context.
Async N/A No new runtime I/O or duplicate execution path.
Constants O Release hashes are correctness pins, not operational tuning values.

Official outcome: 2/5 repaired (local020 and local026). Local023/local025 still return mismatching results; local229 still asks about partnership extras. All five traces, exact prompts, SQL, scores and validated historical comparisons are archived under shared-ipl-glossary (42 verified hashes). No unchanged retries or additional prompt edits were made. This selected-failure result does not establish full accuracy.

A separate zero-model-call audit checked the instruction transport hypothesis: fresh production stdio initialization returns all 10,054 instruction characters, and Codex CLI 0.170.0's corresponding upstream source carries server instructions into the model-visible namespace description. The audit preserves the initialization response and source hashes/URLs. It is not a capture of an actual benchmark model HTTP request and does not prove that the model follows every instruction. No client or product changes were made based on the unproven missing-instructions hypothesis.

One subsequent review-source trial for the newly SQL-producing local023 remained 0/1. The model still projects only player name and batting average; the reference also requires average runs per match. Its 12 MCP calls succeeded and its declared two-column/five-row contract passed correctly. Self-declared contracts do not prove that the projection matches the requested output. The review used only prior answer/tool observations, with no grade, gold or analyst hint. All raw evidence and validated comparison are archived under ipl-output-review (16 verified hashes). No product change or unchanged rerun follows this negative result.

An offline audit further isolates historical local259: against reference_b, 468 players and 18 columns differ only in six retired-hurt dismissal/average entries and 47 zero-career-wicket best-performance strings. Changing both conventions matches reference_b with the unchanged official comparator; either change alone does not. This is diagnostic only, not a model repair: original score remains zero, no reference-derived conventions enter inference or production. The provided task/glossary does not explicitly settle those two conventions. SQL variants, exact source/DB/evaluator/reference hashes and reproduction script are archived under ipl-boundary-audit.

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