Repository navigation
web evals: a hard set that shows B better (board #132) - #381
Merged
Merged
Conversation
…the hard set
- search_mcp.py: an MCP server with one tool, web_search, given to both
configurations of a task marked "search": true. Claude Code's WebSearch
runs the API's server-side search on the session's own model, and sol
through the gateway cannot ("400 ... this Codex gateway cannot
translate"); the server makes WebSearch's request (system text, forced
tool, reply shape) on haiku and logs each search's usage.
- run.py: --arms (A alone screens a set), round sizes from the tasks file,
the pilot's tasks from the file, search usage in the projection, and a
configuration the pilot left out projected at the piloted one's cost.
- report.py: the hard set's categories; criterion 4 is N/A for a set
without gist tasks; criterion 1 also reads whether B is better with
confidence (lower bound above 0); a by-task table; a one-configuration
folder reports as a screening round.
Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
tasks-hard.json: five categories (verbatim, long-page, long-pdf, image, search), each candidate with its answer key evidenced against the page's own source (HTML source lines, pdftotext pages, the image itself), a "mechanism" tag naming what should make WebFetch fail, and, for search tasks, "search": true (the question names no URL). The dev/final split is a seeded shuffle per category, fixed before any run. Candidates are screened next by running configuration A alone. grade.py: the exact-match rule covers any text a fact calls verbatim, not only code; every verbatim fact in tasks.json is code, so its grading is unchanged. Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
…its decisions The screening of board #132's 34 candidates on configuration A alone (44 runs): A answered 41 correctly. Its three failures, one run each, are two PDFs over 10 MB with no rescue found and one copyrighted spec the runner declined to quote. A reached the rest by routes around WebFetch's limits: r.jina.ai, a PDF page rasterizer, other editions of a document, parallel offsets. 10 of the 44 runs used a third-party reader or proxy. - design: "The hard set" under The evals, I4's new fields, the discoveries (WebSearch on sol through the gateway, A's routes, the 1 MB cut applying to HTML only), and two Decision Log entries (the harness and reading; how the set was screened). - report.py: a screening folder counts its extra second runs as part of its matrix, and a task's mechanism gets a column in the by-task table. - 2026-10-25-web-fetch-hard-screening.md: report.py over both screening folders. Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
…t errors, no redirects From the medium review of the hard-set harness: - report.py: folders taken together that hold both configurations are judged over the design's whole paired matrix of each set, so two one-configuration folders of one run each can no longer pass as a gate. - search_mcp.py: a reset connection or a body cut short is an error result, and any request that raises still gets a JSON-RPC answer, so the runner never waits out its limit on a lost call. - search_mcp.py: redirects are not followed, so the gateway's token cannot travel to another origin. Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
…m-h4 dropped - deny-readers/ (an eval-only plugin, loaded ahead of web in both configurations) and deny_readers.py: a WebFetch or mcp__web__fetch call through a third-party reader or proxy (r.jina.ai, wsrv.nl and images.weserv.nl, Google's document viewer, translate.goog, archive.org, archive.today) is denied, for the reason Bash is left out of both. A settings PreToolUse hook could not do it: the engine runs none for a mod's tool (probed: none fired for mcp__web__fetch, Pre or Post). The refusal is the eval's, so it never counts as a tool error. - grade.py: the grader is sol at xhigh (the owner's "all sol-xhigh"); --grader opus re-grades a folder, its final texts being kept. The projection keys the grader's usage as its own row, and report.py names the grader from the runs' grade records. - run.py: the manifest records the grader and the web plugin's version. - tasks-hard.json: verbatim-h4 dropped. A's one failure there was the runner declining to quote PKWARE's "All Rights Reserved" spec; counting B's verbatim copy as a quality win would reward bypassing a copyright safeguard. report.py skips the runs of a task its file no longer has. Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
… sol grading, keys trimmed - The re-screen: A once on the five tasks it had passed through a third-party reader, readers now denied. It failed 2 (image-h2, its article past WebFetch's 1 MB cut; search-h1, NASA's 30 MB PDF) and passed 3 by other editions of the same documents. - Sol re-graded copies of the 43 Phase 1 runs still in the set: 42 verdicts agree with opus. The one disagreement was a fact asking for more than its question; it and six like it are trimmed to what their questions ask, evidence unchanged. - The unversioned pages were re-checked (the Fed chartbook, curl's and OpenSSH's changelogs, Tom's Hardware's page and chart, NVIDIA's whitepaper): all still match their evidence; no key changed. - The screening record now holds both rounds and what changed between them; report.py judges a screening folder over the runs it was given, and grade.py skips the runs of a dropped task. - design: Decision Log entries for the reader rule, the sol grader and verbatim-h4's removal; the observation that the engine runs no settings hook for a mod's tool. web/CLAUDE.md names the grader and the plugin. Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
…[+0.031, +0.208] The hard set's final round on web 0.3.0: 24 final tasks x A and B x 4, sol at xhigh as runner and grader, third-party readers denied in both. B was ahead on 5 tasks, level on 19, behind on none, at a third of A's cost and time. The gain is mostly reach (three PDFs over WebFetch's 10 MB cap, mean d +0.75) plus two dense tables A misread from page images (+0.25 each). The round reads NOT PASSED as a gate on criterion 3 alone: the clipper's 30 s download limit ran out once on a 17.6 MB PDF, and B refetched and answered. It also found Defuddle dropping Tom's Hardware's chart gallery, which fails image-h2 in both configurations. - 2026-10-25-web-fetch-hard-eval-report.md: the result beside the first suite, what the set can and cannot show, each nonzero d with its mechanism, B's own failures, then report.py's rendering of the round. - report.py: a "By mechanism" table for a set whose tasks name one; a tool error's text kept on one line in the criterion 3 list. - design: the result under "The hard set"; observations for the round and for the gateway refusing PDF document blocks on sol. Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
… a folder; no verdict without runs From the second medium review (range 6d94c09..dba509f): - deny-readers' mod lets a fetch through only when the check exits 0. A check that fails (another exit, a spawn error, a timeout) denies the call with text opening "eval harness error:", and report.py holds such a run invalid in either configuration, so the gate is withheld rather than readers silently allowed back. - One folder is graded by one grader: grade.py without --regrade and run.py's resume grade again any run another model or effort graded, and report.py withholds a gate from a folder graded by two. - report.py gives no verdict for an empty matrix (a screening folder before its runs, or one whose only task was dropped). The final round is unaffected: its 33 reader calls were all refused, none got through, and all 192 runs were graded by sol at xhigh; its report renders byte for byte the same. Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)
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.
Board #132: a harder eval set for the
webplugin's fetch tool, one that can showmcp__web__fetch(B) is better than Claude Code'sWebFetch(A), not only "not worse". The first suite saturated: 384 of 384 runs were correct either way.Result
On web 0.3.0, the final round ran 24 tasks × A and B × 4 runs, with
solatxhighas both runner and grader and third-party readers denied in both configurations. B answered better, with confidence: d = +0.115, 90% interval [+0.031, +0.208]. B was ahead on 5 tasks, level on 19, and behind on none, at a third of A's cost and time.tasks.json)tasks-hard.json)What the gain consists of:
What the set cannot show:
On WebFetch's other limits (the quote rule, 100k-character windows, the 1 MB HTML cut, hidden images, PDF navigation),
solatxhighworks around them. They cost it time and tokens, not answers. The full reading is in the report:docs/doperpowers/specs/2026-10-25-web-fetch-hard-eval-report.md.As a gate, the round reads NOT PASSED on criterion 3 alone. The clipper's fixed 30 s download limit ran out once on a 17.6 MB PDF on a heavily loaded machine; B refetched with
refresh: trueand answered.What's in it
The set:
web/evals/tasks-hard.json.docs/doperpowers/specs/2026-10-25-web-fetch-hard-screening.md.Harness (
web/evals/).search_mcp.py: a search tool both configurations get on tasks that name no URL.WebSearchfails onsolthrough the gateway; this tool makes WebSearch's request on haiku.deny-readers/withdeny_readers.py: an eval-only plugin whose mod denies third-party readers and proxies (r.jina.ai, wsrv.nl, Google's document viewer and others) in both configurations. A settings hook could not do this, because the engine runs no settings hook for a mod's tool.run.py --arms A: screens a set on one configuration. Round sizes come from the tasks file, and the projection includes the search tool's usage.report.py:grade.py: the grader issolatxhigh, and--grader opusre-grades. Verbatim prose is now held to exact text, like code.Decisions. Recorded in the design's Decision Log: the search tool, the reader rule, the grader, dropping verbatim-h4 (a copyrighted spec), and the trimmed facts.
Findings for the backlog
WebSearchfails onsolthrough the gateway;solthrough the gateway rejects PDF document blocks (aReadof a whole PDF);grep(ugrep) refuses bounded repetition patterns.Verification
4f9501b1.6d94c099:6d94c099..dba509f2) found three more, all fixed in4f9501b1:Sminos-Session: web-fetch-plugin#700c5e84 (doperpowers on macbook)