Skip to content

feat(testbed): loop-closure benchmark — broken-app testbed + harness for the product metric (Roadmap Phase 3) #66

Closed

Description

@jyotir-aditya

From ROADMAP.md Phase 3 — this is the product metric:

Measure the moat: a testbed of deliberately-broken apps + a harness that runs a coding agent against each failure and records whether the loop closes without human help. This number ("loop-closure rate") is the product metric; fix_hint changes are judged by whether it moves.

Task

  1. Broken-app testbed: a set of small apps (extending testbed/), each with one deliberate, categorized defect — wrong selector after a refactor, occluding modal, stale session, console error breaking a later render, slow endpoint, changed route, etc. Each case = app + flow config + the intended fix.
  2. Harness: runs a coding agent against each case with only Verfix's JSON output as the failure signal, and records whether the agent reaches the intended fix without human help, and in how many verify iterations.
  3. The metric: loop-closure rate (and mean iterations-to-close), reported per release. Every fix_hint/findings change (see Tracking: failure synthesis — connect the dots between captured evidence and failure reports #63) is judged by whether it moves this number.

Notes

  • The case format should be agent-agnostic (a case is an app + config + expected fix); the harness driving a specific agent can start as a thin script.
  • Benchmarks methodology doc exists at docs/6-resources/benchmarks-methodology.md — extend rather than duplicate.
  • Start small: 5–8 cases spanning the failure taxonomy beats 50 variations of one cause. Each field-review backlog in ROADMAP.md is a source of realistic cases.

Exit condition (from the roadmap): loop-closure rate measured and improving release over release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions