Skip to content

feat: add OpenMS benchmark dashboard - #38

Open
nej1gotnochill wants to merge 2 commits into
mainfrom
feat/openms-benchmark-dashboard
Open

nej1gotnochill wants to merge 2 commits into
mainfrom
feat/openms-benchmark-dashboard

Conversation

@nej1gotnochill

Copy link
Copy Markdown
Collaborator

Description

Adds a standard-library-only dashboard over the stored benchmark result JSONs, so the latest results, their history and every run can be inspected without reading the report or the raw files. The generator imports the existing report_generate.py as a library, so provenance, verdicts and metric formatting stay identical to the CI report.

  • Latest — one card per (benchmark, dataset, runtime source) series: provenance, identification yield first, then verdict/correctness, then runtime and peak RSS as supporting context.
  • History — small multiples of wall time, peak RSS and the most relevant recorded benchmark metric, positioned at real run timestamps. Missing values are gaps; nothing is interpolated.
  • All runs — every OpenMS run plus the ProteoBench reference results, with benchmark and dataset filters, a visible row counter, and horizontal scrolling for the wide table.
  • SOURCE builds and PACKAGE .deb runs are separate series and are never merged, compared or ranked against each other; no cross-tool ranking is computed. A hardware/load/cache disclaimer is shown on the page.
  • Identification yield is rendered only when a result records it; otherwise the page says unavailable, never 0.
  • .github/workflows/pages.yml renders site/dashboard.html from site-results; the landing page links the dashboard first; pinned.html, latest.html and report.html are unchanged.
  • .github/workflows/pr-checks.yml runs benchmark/test_dashboard_generate.py, which covers series separation, missing-yield handling, escaping of run metadata, filters/row counter, non-interpolated history, and the CLI plus Pages-workflow wiring.

Smoke-benchmark identification yield is explicitly out of scope: it needs validated Percolator output (the metrics parser currently assumes one hit per PeptideIdentification, while CometAdapter runs with -num_hits 5) and agreed metric definitions before it can be shown.

Verified locally: dashboard tests, generic renderer (45), v2 schema (5), ProSE/OpenSWATH metric tests, Pages assembly (18) and the CI test-coverage guard all pass, and git diff --check is clean.

Checklist

  • New and existing unit tests pass locally with my changes

AI use (see the OpenMS AI Policy)

  • I have read the OpenMS AI Policy, and I understand, have reviewed and tested every change in this PR and can explain it in my own words
  • Substantial AI use in PR (e.g. agentic tools wrote significant parts); commits carry a Co-authored-by: trailer, and the description above explains the design intent and rationale

No need to edit the CHANGELOG file: entries are generated automatically once per week from merged changes.

How can I get additional information on failed tests during CI

Click to expand If your PR is failing you can check out the action statuses at the end of the PR or the "Checks" tab.

⚠️ Note: Once you opened a PR try to minimize the number of pushes to it as every push will trigger CI (automated builds and test) and is rather heavy on our infrastructure (e.g., if several pushes per day are performed).

Add a standard-library-only view over the stored benchmark result JSONs, so the
latest results, their history and every run can be inspected without reading
the report or the raw files.

- Latest: one card per (benchmark, dataset, runtime source) series with
  provenance, identification yield first, then verdict/correctness, then
  runtime and peak RSS as supporting context.
- History: small multiples of wall time, peak RSS and the most relevant
  recorded benchmark metric, positioned at the real run timestamps; missing
  values stay gaps and are never interpolated.
- All runs: every OpenMS run plus the ProteoBench reference results, with
  benchmark and dataset filters and a visible row counter.

SOURCE builds and PACKAGE .deb runs are separate series and are never merged
or ranked against each other, no cross-tool ranking is computed, and a
hardware/load/cache disclaimer is shown on the page. Identification yield is
rendered only when a result records it; otherwise it says "unavailable" and
never 0. Smoke-benchmark yield is deliberately out of scope until Percolator
output and the metric definitions are validated.

The Pages workflow renders site/dashboard.html from site-results, the landing
page links the dashboard first, and the new tests are wired into PR CI.
@nej1gotnochill
nej1gotnochill requested review from a team and a balanced review from Copilot December 5, 2026 09:32
@coderabbitai

coderabbitai Bot commented Dec 5, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ce72ce56-d2ae-47ce-b516-ce4b5cd0931d
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@timosachsenberg

Copy link
Copy Markdown

Cool can we see it somewhere?

nej1gotnochill commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator Author

Yes the dashboard is available in the GitHub Pages preview for this branch:
https://openms.github.io/OpenMS-benchmarking/dashboard.html

I’ll also check that the preview deployment has picked up this PR. If that URL isn’t live yet, the page is generated by the Pages workflow and will be available once the branch is deployed.

@nej1gotnochill

Copy link
Copy Markdown
Collaborator Author

uh oh there seems to be an issue which I am facing at my end , fixing this up rn...

@nej1gotnochill

Copy link
Copy Markdown
Collaborator Author

Hello @timosachsenberg , the preview is ready now. You'll have to open this Github Actions run:- https://github.com/OpenMS/OpenMS-benchmarking/actions/runs/47539435818 and at the bottom under Artifacts download open-ms-dashboard-preview. Extract it and then open dashboard.html in your browser and no setup is needed for the same.

I am happy to say that this uses the actual benchmark results and includes 71 OpenMS runs across 4 series plus the 2 reference results. I hope this looks plausible and that I am working towards the right direction. Feedback on the same is highly appreciated (; !

This branch has not been deployed

No deployments
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.

3 participants