Skip to content

Move engine literals and the task 225 branch out of hash-bound replay files #205

Closed as not planned

Description

@lanyue-llk

Follow-up to #202, which left these files alone because cohort_reference_hashes in remote_execution.py records their SHA-256 for each remote cohort.

Remaining literals in hash-bound files

  • src/harness/trajectory_replay/remote_execution.py: engine branches in _browser_command, the engine="chromium" default of _run_task and the --engine choices.
  • src/harness/trajectory_replay/remote_runtime.py: the engine set in validate_method_identity and the --engine choices.
  • src/harness/trajectory_replay/webarena_corrections.py: the if task.task_id == 225: branch with magic counts. Moving it to correction data would change both this file (correction_logic) and task-corrections.json (task_corrections). A move also needs paired regression controls.

When to do it

Make these changes together with the next remote cohort revision, when the bound hashes change anyway and the new values are recorded by that run. Doing it sooner would make the current sources differ from the hashes recorded in existing cohort manifests.

Done when

  • The two engine sets read BROWSER_ADAPTERS or the participant registry.
  • The task 225 reference checks live in correction data, with paired controls.
  • Existing frozen evidence still verifies.

Part of #97

Activity

  1. lanyue-llk commented on Nov 4, 2026

    @lanyue-llk
    ContributorAuthor

    Closing: remaining literals are not bugs and live in files bound by cohort_reference_hashes. Tidy them when a remote cohort revision next changes these files for a real reason.

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