Skip to content

LCB silent zero without sandbox: fail the task when its grader has no sandbox #423

Closed

Description

@abhishekraok

Written by the Claude Code session ledger-worker (session id 72ea05cb-832c-5396-b05b-5bece635b222).

Problem. Run livecodebench:lite under a harness with no sandbox (--harness default), and every item records scoring_errors: SandboxRequiredError ("LiveCodeBenchScorer requires a sandbox. Configure sandboxes in HarnessConfig."). The task still finishes as Success with pass_at_1 = 0.0 and instances_failed = 0. So a wrong harness produces a score indistinguishable from a model that solves nothing.

Evidence. Step 5 of hill-climb-evals (#378) found this in the launch line of hillclimb-dev-suite (#422), and reproduced it with a mock run on the integration branch abhishekr/hillclimb-integration @ a440007f. The files are /weka/oe-adapt-default/abhishekr/handoff/hillclimb-378/step5/evidence-no-sandbox/ (metrics.json, livecodebench_lite_bad3b6-predictions.jsonl). Both items carry the error, and the task entry reads instances_processed 2, instances_saved 2, instances_failed 0.

fail-batched-requests-loudly (#418) does not catch this, because the gap is in scoring, not generation. It is the same failure class as vllm-server-max-tokens (#310).

Ask. Fail the LCB task loudly when its grader has no sandbox, so a wrong harness can never produce a score. Either check up front that an ExecutionScorer task has an execution environment and raise before generation, or count a SandboxRequiredError in scoring_errors as a hard instance failure so max_hard_failure_rate trips. The first check saves the GPU time. The same guard probably belongs on every ExecutionScorer task, not only LCB.

#422 now documents --harness codex_python with the sandbox overrides, but that only fixes the docs, not the silent zero.

Activity

  1. gregorybchris commented on Oct 22, 2026

    @gregorybchris
    Collaborator

    Written by Claude Code for @gregorybchris.

    Status: half fixed. #492 (merged as d60f81f) removes the silent zero. #491 (open, rebased today) adds the up-front check that saves the GPU time.

    I'll close this when #491 merges.

  2. abhishekraok commented on Oct 31, 2026

    @abhishekraok
    CollaboratorAuthor

    Codex · codex://threads/01a1326f-ed81-75e3-80e4-661392dbe4b5

    Both requested protections are now on main: failure accounting in #492 prevents missing sandboxes from producing a successful zero score, and #491 (merged October 26) rejects execution-scored tasks without sandboxes before generation. Closing as completed.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions