onsetbench
Menu

Get the benchmark

Score your own predictions locally, or submit them for official evaluation.

Run locally

The open 40-recording REASSEMBLE starter kit includes wrist videos, frame timestamps, and sensor-based loading references. The scorer validates and scores your predictions; it does not run a model. The starter kit does not reproduce the published results.

Get the scorer on GitHub · Get the starter-kit files on Hugging Face

1. Install the scorer

Use Python 3.11 or later.

git clone https://github.com/onsetbench/scorer.git
cd scorer
python -m pip install .

2. Try the scorer

From the scorer folder, run the bundled example. No video download or model is needed.

python -m onsetbench score --dataset examples/dataset.json --predictions examples/predictions.json --out example-score.json

Open example-score.json. Expected onset F1 at ±200 ms: 0.75. This is a scorer check on two synthetic recordings, not a model result.

3. Download the starter kit

Download and extract onsetbench-public40-labels.zip. If you are generating your own predictions, also download and extract onsetbench-public40-videos.zip for the wrist videos and frame timestamps.

4. Verify, fill, and score

In your terminal, go to the extracted labels folder, the one containing data/reassemble_public40.json. Verify the dataset and create a prediction template:

python -m onsetbench verify --dataset data/reassemble_public40.json
python -m onsetbench template --dataset data/reassemble_public40.json --out predictions.json

Fill in predictions.json using the supplied frame timestamps in epoch milliseconds for the 40-recording starter kit. Then score it from the same folder:

python -m onsetbench score --dataset data/reassemble_public40.json --predictions predictions.json --out score.json

Submit for official scoring

New lab submissions are scored on the 83 REASSEMBLE evaluation recordings. Email hello@haptera.ai for evaluation videos, frame timestamps and submission instructions. Reference labels are withheld from the evaluation package.

Published results cover 83 REASSEMBLE recordings and 1,684 RH20T episodes.