Dataset Viewer
Auto-converted to Parquet Duplicate
clip_id
large_stringlengths
7
7
lesion_id
large_stringlengths
7
7
patient_id
large_stringclasses
27 values
t_start_s
float64
0
70.4
t_end_s
float64
0.13
80.7
class_label
large_stringclasses
1 value
c000154
l000001
p088
10.742706
36.648983
malignant_tumor
c000116
l000002
p113
0
4.223865
malignant_tumor
c000149
l000003
p212
10.159652
21.418833
malignant_tumor
c000030
l000004
p029
0
28.98742
malignant_tumor
c000152
l000005
p098
0
8.665054
malignant_tumor
c000013
l000006
p195
0
5.177449
malignant_tumor
c000148
l000007
p039
0
0.703668
malignant_tumor
c000168
l000008
p175
20.230451
25.024189
malignant_tumor
c000059
l000009
p175
0
10.42308
malignant_tumor
c000115
l000010
p195
2.301089
7.699796
malignant_tumor
c000047
l000011
p081
14.254289
20.017598
malignant_tumor
c000102
l000012
p195
0
6.062483
malignant_tumor
c000121
l000013
p195
0.885034
6.195239
malignant_tumor
c000080
l000014
p098
0
7.125577
malignant_tumor
c000109
l000015
p002
4.090609
5.674071
malignant_tumor
c000085
l000016
p180
0
6.821883
malignant_tumor
c000132
l000017
p019
0
5.539436
malignant_tumor
c000050
l000018
p039
0
1.14346
malignant_tumor
c000139
l000019
p173
12.35708
16.051011
malignant_tumor
c000005
l000020
p002
0
44.20497
malignant_tumor
c000056
l000021
p166
0
4.97031
malignant_tumor
c000151
l000022
p002
0
31.141412
malignant_tumor
c000136
l000023
p155
0
20.396476
malignant_tumor
c000083
l000024
p180
0
0.748207
malignant_tumor
c000040
l000025
p173
0
23.394899
malignant_tumor
c000096
l000026
p107
34.51308
34.996703
malignant_tumor
c000047
l000027
p081
0
16.454026
malignant_tumor
c000157
l000028
p039
0
2.814671
malignant_tumor
c000007
l000030
p166
0.043985
1.891357
malignant_tumor
c000136
l000031
p155
14.845815
20.088106
malignant_tumor
c000041
l000033
p198
0
2.242448
malignant_tumor
c000123
l000034
p166
12.271828
17.638003
malignant_tumor
c000146
l000035
p193
0
46.288942
malignant_tumor
c000002
l000038
p039
1.011523
15.260797
malignant_tumor
c000135
l000039
p166
0
14.9989
malignant_tumor
c000107
l000040
p173
0
1.363237
malignant_tumor
c000107
l000041
p173
1.275286
3.869833
malignant_tumor
c000135
l000042
p166
0
14.73499
malignant_tumor
c000008
l000043
p030
0
20.515078
malignant_tumor
c000046
l000044
p173
0
4.705365
malignant_tumor
c000119
l000045
p166
1.451506
3.518804
malignant_tumor
c000096
l000046
p107
0
18.02594
malignant_tumor
c000120
l000047
p039
0
2.726713
malignant_tumor
c000062
l000048
p159
0
14.119199
malignant_tumor
c000135
l000049
p166
12.623708
14.20717
malignant_tumor
c000002
l000050
p039
0
15.348755
malignant_tumor
c000131
l000051
p149
2.078908
8.270439
malignant_tumor
c000112
l000052
p157
0
68.70464
malignant_tumor
c000155
l000054
p166
0.879701
4.222564
malignant_tumor
c000035
l000055
p081
0
20.457545
malignant_tumor
c000138
l000056
p198
1.319087
2.242448
malignant_tumor
c000031
l000057
p039
0
11.170727
malignant_tumor
c000050
l000058
p039
1.627232
3.914153
malignant_tumor
c000089
l000059
p212
6.157365
7.520781
malignant_tumor
c000067
l000060
p157
0
6.685727
malignant_tumor
c000095
l000061
p136
0
7.528728
malignant_tumor
c000020
l000062
p195
0
67.882113
malignant_tumor
c000026
l000063
p014
0
1.803387
malignant_tumor
c000162
l000065
p166
0
3.914669
malignant_tumor
c000007
l000066
p166
0.08797
1.583462
malignant_tumor
c000007
l000068
p166
2.727073
3.298878
malignant_tumor
c000007
l000070
p166
0.17594
2.595118
malignant_tumor
c000049
l000071
p210
0
51.411734
malignant_tumor
c000161
l000072
p039
0.483772
2.858651
malignant_tumor
c000153
l000073
p159
0
1.363536
malignant_tumor
c000019
l000074
p149
0
19.614046
malignant_tumor
c000166
l000075
p039
0
1.495294
malignant_tumor
c000135
l000076
p166
1.583462
15.262811
malignant_tumor
c000155
l000077
p166
0.571806
4.178579
malignant_tumor
c000007
l000078
p166
0.08797
1.891357
malignant_tumor
c000170
l000079
p173
0.483729
5.057168
malignant_tumor
c000135
l000080
p166
11.612052
12.095887
malignant_tumor
c000075
l000081
p175
0
34.655643
malignant_tumor
c000082
l000082
p030
0
12.546775
malignant_tumor
c000173
l000083
p173
0
2.110818
malignant_tumor
c000135
l000084
p166
0
14.82296
malignant_tumor
c000117
l000085
p166
0
4.61843
malignant_tumor
c000138
l000086
p198
0
1.934661
malignant_tumor
c000170
l000087
p173
0
4.133685
malignant_tumor
c000133
l000089
p111
0
20.276214
malignant_tumor
c000107
l000091
p173
0
0.967458
malignant_tumor
c000096
l000092
p107
16.223346
34.644977
malignant_tumor
c000103
l000093
p039
0
3.254464
malignant_tumor
c000093
l000094
p098
0
2.287222
malignant_tumor
c000037
l000095
p098
6.949637
13.899274
malignant_tumor
c000164
l000096
p195
0
0.929286
malignant_tumor
c000053
l000097
p198
0
0.747483
malignant_tumor
c000161
l000098
p039
0
1.407336
malignant_tumor
c000105
l000099
p212
0
18.472094
malignant_tumor
c000135
l000100
p166
1.143611
8.269188
malignant_tumor
c000033
l000101
p039
0
0.263875
malignant_tumor
c000105
l000102
p212
16.09711
17.856357
malignant_tumor
c000051
l000103
p180
5.94164
22.006074
malignant_tumor
c000013
l000104
p195
3.805647
5.177449
malignant_tumor
c000119
l000105
p166
1.451506
3.826699
malignant_tumor
c000007
l000106
p166
2.331207
2.903013
malignant_tumor
c000150
l000107
p002
0
6.025951
malignant_tumor
c000106
l000108
p030
0
6.207352
malignant_tumor
c000139
l000109
p173
12.752858
14.73175
malignant_tumor
c000101
l000110
p098
0
2.375192
malignant_tumor
End of preview. Expand in Data Studio

Cystoscopy Benchmark

Patient-disjoint gold for three-class still classification and for lesion timing on cystoscopy clips. Procedure-level inspection completeness is specified and empty, so a later procedure video can be scored without changing the metrics.

This release is evaluation only. It contains no training split, and its patients are disjoint from the training set, which ships separately. Media sits next to its metadata; file_name is relative to that metadata file, and MANIFEST.json records the checksum of every file.

Install

pip install -e ".[dev]"

Scoring reads the tables in data/v0.1. To load them with the datasets library:

from datasets import load_dataset
stills = load_dataset("/path/to/cystobench", "stills_2c", split="test")
stills[0]["file_name"]

Tasks

Level Axis What is scored Gold in v0.1
Stills 2C Malignant tumor, non-malignant lesion, non-ROI 5,807 frames
Clip 2A Lesion count, matched on temporal overlap 161 track clips, 314 lesions
Clip 2B Mean temporal IoU of the 2A true positives Same lesions
Procedure 1 Eleven anatomical landmarks, dwell of at least 2 s Schema only, 0 rows

Non-ROI is anything that does not warrant a biopsy: normal mucosa, anatomical landmarks, foreign bodies, and instruments.

Headline numbers are macro F1 for 2C, micro F1 for 2A, and mean temporal IoU for 2B. The decision rules are frozen in docs/SPEC.md.

Sources

The release is assembled from three public collections, re-hosted on Hugging Face. Each is flattened to a single train split there; the patient split between evaluation and training data is not part of those datasets.

source Dataset Content
source_1 milkyroad/C CystoDS stills, 8,067 images with segmentation masks
source_2 milkyroad/D Kaggle stills, 1,754 frames across four tissue classes
source_3 milkyroad/B Institutional video cohort, 173 track videos; 161 released after excluding 3 PUNLMP patients

Filenames and patient numbers are replaced by anonymised identifiers in this release, so the mapping back to those datasets is not shipped. Cite the source datasets alongside this benchmark.

Training data

The benchmark holds only evaluation data. Images used to fit a baseline ship separately, and no patient appears in both. The split covers 182 still patients: 69 contribute the training images (4,014 stills) and 113 contribute the 5,807 evaluation stills. The clip cohort is 27 further patients and is evaluation only.

Because the two are disjoint and drawn from different collections, a model trained on the training images and scored on the clips is a cross-site test. See docs/SPEC.md for the split's provenance and the identifier scheme.

Score

cystobench score --level stills --axis 2c --baseline oracle
cystobench score --level clip --axis 2a --baseline empty
cystobench score --level stills --axis 2c --preds preds.jsonl

Submission lines are documented in docs/SUBMISSION.md.

Counts

Stills, malignant tumor / non-malignant lesion / non-ROI:

Malignant tumor Non-malignant lesion Non-ROI Total Patients
1,277 192 4,338 5,807 113

Track clips (every in-view tumor lesion is gold, including <1 s):

Clips Lesions Patients
161 314 27

The separate training set holds 4,014 stills from 69 other patients (837 / 163 / 3,014 by class).

always_non_roi scores 0.285 macro F1 here, so that is the floor any model has to clear. With 113 stills patients, patient-level resampling moves a macro F1 estimate by less than it did on the smaller v0.1 stills cohort.

Downloads last month
59