Skip to content

Web Fetch: one run entry with a shared argument builder #326

Done

Description

@lanyue-llk

Part of the convergence on the repository specification (#313). Rules: 3. Size: M.

Problem

Five run paths converge on runner.run_evaluation (web_fetch/runner.py:545) but each parses arguments separately: webstone run (cli.py:149), scripts/run_benchmark.py (benchmark_runner.py:36-62), scripts/run_certified_benchmark.py (certification.py:215-270), headless-run (headless_runner.py:226) and risk_control.py:434. A sixth, webmainbench_runner.run, is covered by the benchmark adapter task.

Direction

One run stage with scope and certification selected by the profile or flags, built from a single argument definition. The other entries become thin wrappers or are removed.

Done when

  • One argument definition for the run stage.
  • Diagnostic and certified runs differ by declared mode, not by entry module.

Paths are relative to src/harness/ unless prefixed; line numbers are from main at 997a228.

Activity

  1. added
    refactor
    on Nov 24, 2026
  2. lanyue-llk commented on Nov 24, 2026

    @lanyue-llk
    ContributorAuthor

    Remaining after #351: scripts/run_benchmark.py, the default certifier's parser, headless-run and risk-control still build their own arguments.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactor

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions