Skip to content

Publish results as releases, add experiment folds, pin matchmaker 0.5.0 - #34

Merged
laurenceyoon merged 2 commits into
mainfrom
feature/experiments-and-releases
Nov 19, 2026
Merged

laurenceyoon merged 2 commits into
mainfrom
feature/experiments-and-releases

Conversation

@laurenceyoon

@laurenceyoon laurenceyoon commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator
  • Publish benchmark results as GitHub releases instead of committing results/.
  • Evaluation runs upload benchmark-results-* artifacts; Publish leaderboard bundles selected runs into a benchmark-* release and deploys the site from it.
  • Add diagnostics, offline and AMT reference folds to Evaluate references.
  • Pin all workflows to matchmaker v0.5.0, added the dannenberg reference.
  • Remove stale and release-specific workflow comments.

- Evaluation uploads merged results as artifacts instead of committing
  results/; Publish leaderboard turns selected runs into a benchmark-*
  release and deploys the site from its snapshot.
- Evaluate references can run the diagnostics, offline and AMT reference
  folds, each uploading one benchmark-results-<name> artifact.
- Pin every workflow to the matchmaker 0.5.0 release and describe the
  dannenberg reference.
@darth-alexus

Copy link
Copy Markdown
Collaborator

Thanks for splitting this out, it's much easier to review now! :)

  • Really glad the automatic evaluation on submissions is back! And batch publishing as releases is a nice way to do it.
  • The docs (submitting.md, maintaining.md) read consistently now too.
  • Pinning everything to v0.5.0 instead of the patch script is also great.

A few things, most important first:

1. Syncing the submissions branch
submissions is 15 commits behind main and still has the old evaluate.yml (commits results, v0.4.0, old TR thresholds). Since the push trigger runs the workflow file from that branch, I'd suggest this order:

  1. merge this PR
  2. fast-forward submissions to main (it has no commits of its own, so that's a clean fast-forward and doesn't trigger an evaluation)

I would not merge any student submissions before we have done this.

Telling the students
Students don't need to change or rebase anything, since their PRs only add their own folder, and matchmaker 0.5.0 is compatible with the API they used. But two things change for them, so it would be good if @CarlosCancino-Chacon could send a short note to the class once this is merged:

  • TR now counts musical beats, and the MIDI tolerance is stricter (0.5 → 0.1), so their local validation numbers may differ from CI.
  • After their PR is merged, the result appears in the run's artifacts first and goes live on the leaderboard with the next release, not immediately.

Could we also add a line to maintaining.md like "keep submissions in sync with main after changing the pipeline"?

2. Some safety checks in release_results.py
The script got much simpler, which I like, but I think a few checks are worth keeping:

  • Only use runs with conclusion == "success" (publish(), L80).
  • In stage_piano() (L56), skip entries that are partial or have n_pieces != fold_size. Otherwise a partial rerun replaces the complete entry from the previous release, and leaderboard.py then skips it, so the method disappears from the board.
  • latest() (L36) should only pick non-draft releases that have benchmark-snapshot.zip. Otherwise one failed upload breaks every later docs redeploy.
  • Only publish from main, e.g. if: github.ref == 'refs/heads/main' on the build job in pages.yml. The Pages deploy is already limited to main, but a dispatch from another branch would still create a release, which then becomes "latest".

(My draft #35 on top of this PR already adds the latest() filter, since the version menu needs it.)

3. OPHMM transitions on/off
The ophmm_playthrough fold and --global-transition were dropped, but the paper still reports 134 → 144 tracked performances for MIDI OPHMM with transitions on vs. off. Should we keep that fold, so the number can be reproduced in CI?

4. Diagnostic inputs

  • The data is now pinned by commit (3427d8d) but no longer by manifest_sha256, and run_diagnostics.py doesn't check the per-file hashes from manifest.json. Pinning the commit is probably fine, just mentioning it.
  • The diagnostic audio is now mp3 (like the eval fold, which makes sense), so we'll need to rerun the diagnostics for the paper tables.
  • Could the data README link to Suhit's pymatchmaker/diagnostic repo, where the synthetic KV 279 performances come from?

5. Comments
Some of the removed comments explained why things are set up a certain way and are still true. I'd keep those, e.g.:

  • In validate-submission.yml: what the smoke test can and can't prove (code safety and eval-fold tuning stay the reviewer's job), and why a PR into submissions may touch only one submission.
  • In evaluate.yml: why one BLAS thread, what MATCHMAKER_DATA_TOKEN is for, and the self-hosted runner note.

Happy to help with any of these. And once this is in, we can do the full rerun and publish benchmark-v1 for the paper.

…-experiment method lists; OPHMM global transitions off in the main benchmark and perturbations
@laurenceyoon

laurenceyoon commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator Author

Thanks for the careful review @darth-alexus! Here’s what I did:

  • Syncing submissions: Good catch. Let’s merge this first, then fast-forward submissions before any student PR goes in. I also added that note to maintaining.md.
  • Release checks: I added both success-only and main-only, thanks for those. The latest() filter can live in your Keep older result versions viewable on the leaderboard #35. I didn’t add the partial check, though. A run with a partial entry now fails on its own (merge_references.py exits 1), so it can never get published anyway.
  • OPHMM: We decided to keep global transitions off in the main benchmark, for both MIDI and audio. They’re only on for the K.282 repeat cases in diagnostics, so I think we can drop the playthrough fold.
  • Diagnostics: I think pinning the commit is fine for now. You’re right that they need an mp3 run. The eval and beyond_piano references already ran on mp3 (Nov 6–10). The diagnostics only ran on the older flac/wav inputs (Nov 8 and 11), because the mp3 inputs only landed in the data repo on Nov 13. All of those runs were still on matchmaker 0.4.0 with the old OPHMM setting, though, so I’ll redo everything together after this is merged. I’ll also add Suhit’s repo link to the data README.

Once this is merged, let’s do the full rerun and publish!

@darth-alexus darth-alexus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks great! 🙌 Failing the merge on incomplete entries is even nicer than a check at publish time. :)

Small non-blocking follow-ups:

  • Mention in builtin_methods.yaml that the benchmark turns MIDI OPHMM's global transitions off (unlike matchmaker's default).
  • Update the paper's 134 → 144, global-skip and BWV 858 parts together with the rerun.
  • Please don't immediately delete feature/experiments-and-releases after merging until I've switched #35's base to main.

@laurenceyoon
laurenceyoon merged commit e356009 into main Nov 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants