Grader bypasses and verifier gaps in MiMo-V2.6-RL Webdev (Harbor) tasks

#1
by evanjolley-p - opened

While digging through the tasks and verifier setups, we noticed an edge case where an agent can accidentally (or intentionally) get past the grading checks, as well as a couple of spots where valid solutions can get tripped up. That route comes from a Harbor runner setting the task leaves unset, so we list it separately.

We looked at the Hugging Face dataset FineEnvs/MiMo-V2.6-RL-harbor-webdev at revision 884ed0a8 (2026-10-09).

For every row below we read the task files at that version and traced the route from what the agent can touch to what the grader scores. We did not run the tasks unless a row says so.

False-negative bugs (valid work scored down)

  • dasyn_260630_00087: file list cut to 200 before the index.html check (correct work can score 0)

    tests/grade.py:38 sorts every file under dist/ and keeps only the first 200 before tests/grade.py:39 looks for index.html. Paths such as _nuxt/... or assets/... sort before index.html, so a build with 200 or more of them scores 0.0 although dist/index.html exists. This brief asks for a Nuxt site, whose static output keeps its chunks under _nuxt/. Same grader in all 4 tasks we inspected.

    • Suggested fix: Check (dist / "index.html").is_file() directly and apply the 200 cap only to the reported file list.
  • dasyn_260638_00269: unstated asset rubric (following the brief lowers the score)

    One third of the score is premium_assets (tests/webdev/verdict.py:36). Its bands put bare placeholders below 0.2 and pure-CSS visuals below 0.6, and the judge may not score above 0.6 without premium imagery (tests/webdev/eval_rubric.py:81-86, :109). The brief allows CSS or local colored-block placeholders instead of external images, and asks for placeholder portraits and gray sponsor-logo placeholders (instruction.md:41); nothing tells the agent about this dimension, so a site that takes those options is capped well below full marks.

    • Suggested fix: Tell the judge to score premium_assets against the brief's own asset instructions, or state the asset expectation in the instruction.

Harbor-related issues (runner settings the tasks leave unset)

These issues come from Harbor runner settings that the tasks leave at their defaults, not from the task logic. On current Harbor (v0.26.0), a task that sets nothing gets public internet, runs the agent as the image's default user (usually root), and runs tests/test.sh inside the agent's own container after the agent finishes, so the grader sees every file the agent changed and any process it left running. Harbor deletes old reward files before grading, but a process the agent leaves running can still write one while the grader runs, and reward.json wins over reward.txt. Upgrading Harbor does not change these defaults for existing tasks. Each row names the task.toml setting that closes it.

  • dasyn_260630_00087: grader runs in the agent's root container (sets its own score)

    task.toml:20-25 sets no [agent].user and no [verifier] environment_mode, so Harbor grades in the agent's container while agent processes still run. The screenshot script is written to and run from /tmp (tests/webdev/shot.py:221-222), so a json.py or playwright module any agent leaves in /tmp replaces the real one (tests/webdev/shot.py:40-41) and runs as root. A root agent has more routes: tests/test.sh:6 kills only user agent, so a root process can keep writing /logs/verifier/reward.json (read before reward.txt) and read the judge key, and a .pth hook with an old timestamp escapes the clean-up at tests/test.sh:8-10. Root is inferred, not seen: the image is not in the task files, but setup runs as the same default user and creates /var/lib/mimo (task.toml:42). Same task.toml settings and grader files in all 4 tasks we inspected.

    • Suggested fix: Add environment_mode = "separate" under [verifier] with a top-level artifacts = ["/workspace/dist"], and set [agent] user to a non-root user that exists in the image (tests/test.sh:6 already expects one named agent). Setup still runs as the image's default user, because Harbor runs the healthcheck before it switches to the agent user (harbor v0.26.0: src/harbor/trial/trial.py:654-655).

Lower-impact notes

These only weaken a check and do not change a score on their own.

Lower-impact notes (2)
  • dasyn_260630_01270 (Weakens a check (one still desktop screenshot cannot see interactions or mobile layout)): The grader takes one full-page render at 1440x900 with no clicks (tests/grade.py:42, defaults at tests/webdev/shot.py:46-47), freezes animations and transitions (tests/webdev/shot.py:114-116), and tells the judge to score only what the screenshot shows (tests/webdev/eval_rubric.py:105). Brief items such as GSAP animations, hover effects, tabs, an accordion and a mobile layout (instruction.md:47-51) are never checked, so a page that skips them can score as well as one that builds them. The scroll pass before the shot (tests/webdev/shot.py:103-112) does reveal scroll-triggered content. 3 of the 4 briefs we inspected ask for interactions, animations or mobile behavior. Suggested fix: Add scripted actions and a mobile-width render for briefs that ask for them, or drop those items from the briefs.

  • dasyn_260630_01270 (Weakens a check (judge sees only the first 1,500 characters of the brief)): tests/grade.py:65 sends the judge cfg["query"][:1500]. The brief in tests/grade.json:3 is 4,782 characters long, so most of its sections never reach the judge and the brief-fulfilment score ignores them. 3 of the 4 tasks we inspected have briefs longer than 1,500 characters. Suggested fix: Send the full brief to the judge, or raise the cap above the longest brief in the set.

Sign up or log in to comment