pipeline lab: scenario view for N-arm compares

Open
#26,420 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, python
Domain
tooling

Research direction

Start with inspector/scenario_view.py and static/scenario.js, then inspect how the view currently detects base/ and head/ and reads compare.json. Use its baseline, arms, metrics, and harness fields to guide the view changes. Done when compares with arbitrary or more than two arms can be opened with an arm picker, and the page shows the metrics table and harness drift warning.

Written by the indexing model from the issue text.

Description

Follow-up from #26416 (scenario compare by config).

scenario compare now writes one directory per arm (DIR/<arm>/) plus compare.json schema 2 (baseline, arms, scenarios[].arms, metrics, harness). The web view (inspector/scenario_view.py, static/scenario.js) still recognizes a compare only by base/ and head/ directories. So:

  • The two-ref form (compare BASE [HEAD]) opens as a compare, as before.
  • A compare whose arms have other names, or that has more than two arms, has to be opened one arm at a time (view DIR/<arm>).
  • The page shows neither the metric table nor the harness-drift warning.

Proposed: read compare.json baseline/arms to pick the sides (an arm picker against the baseline), and render the metrics table and the harness warning. This is lab tooling only.

🤖 Generated with Claude Code

Dominant language
Python
Stars
14k
Forks
2.7k
Avg merge
9h 19m
Merged PRs (30d)
655

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BasedHardware/omi

All issues in BasedHardware/omi

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.