Skip to content

Refactor roadmap: open-source code quality and English-first source #87

Closed

Description

@lanyue-llk

Codebase-wide audit (origin/main 32d8f3f7, 2026-10-29) and the staged plan for making Browser Eval a high-quality open-source repository:

  • no hardcoded environments, participants or measurements
  • fixed bugs
  • consistent style and enforced lint/format
  • one implementation per stage
  • English as the source language, with Chinese kept only where it is product output (the Chinese report edition, docs/README.zh-CN.md) or evidence (frozen references, quotations, hash-bound artifacts)

Each item is delivered as small PRs that are individually reviewable. Refactor PRs start after #81 merges and are based on main, so they do not have to be rebased across its 379-file change. harness/benchmarks/ from #81 enters scope at that point.

Ground rules for every PR:

Phase 0: safety net

Phase 1: mechanical, low risk

Phase 2: correctness and security

Phase 3: remove hardcoding

Phase 4: English-first source

Phase 5: structure

Open owner decisions

  1. Is the curated Trajectory Replay track (trajectory_replay/report.py, tasks.v4) still supported? (Consolidate parallel Trajectory Replay modules (curated vs public WebArena) #103)
  2. Should the distribution and import package be renamed (e.g. browser-eval / browser_eval) instead of browser-harness-eval / harness? (Packaging, Makefile and CI hygiene #106)
  3. Is adding Jinja2 as a templating dependency acceptable for the renderer split, or should the f-string/component builders stay? (Make English the source language of all report renderers, with Chinese as a catalog #99, Split giant renderers and functions; add type hints along the way #104)

Activity

  1. added
    refactor
    on Oct 29, 2026
  2. lanyue-llk commented on Oct 30, 2026

    @lanyue-llk
    ContributorAuthor

    Follow-ups from the #81 review, to land after #81 merges:

  3. lanyue-llk commented on Nov 4, 2026

    @lanyue-llk
    ContributorAuthor

    Finish line

    The refactor is done when:

    One PR closes one or several issues, whichever fits the work. Review findings block a PR only when that PR caused them or they are real bugs.

  4. lanyue-llk commented on Nov 4, 2026

    @lanyue-llk
    ContributorAuthor

    Closing the roadmap. Every issue it tracked is resolved or closed with a stated reason.

    • Language: report renderers and guides use English as their source, with Chinese in catalogs. Dataset, web and measured text keeps its raw language. The Web Fetch translation table stays, because saved and frozen pages depend on it (refactor(web-fetch): make English the source of report text #244).
    • Structure: one executor, publisher, release-check base and catalog per job; replay duplicates moved into trajectory_replay/core; scripts moved to subcommands.
    • Correctness: runtime, scoring and encoding bugs fixed, with golden report snapshots and paired scoring controls.
    • Public repo: private hosts and credentials removed from the current tree, with a guard test; the unrelated video skill moved out (chore(skills): move video-gen to the private template repository #242).
    • Rules: AGENTS.md cut from 32 KB to 12 KB, conflicts resolved, and track rules moved to the guides that own them.
    • Not done on purpose: repo-wide formatting, a type checker, further file splitting, and literals in hash-bound files.
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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions