Datasets:
Formats:
json
Languages:
English
Size:
10K - 100K
Tags:
survival-analysis
dynamic-survival-analysis
transportation
demand-responsive-transit
ride-sharing
time-series
License:
Upload README.md with huggingface_hub
Browse files1 unmodified line23456781 unmodified line10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758593 unmodified lines6364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013 unmodified lines1441451461471481491501511521531541551561 unmodified linelicense: cc-by-nc-sa-4.0language:- enpretty_name: SurvBench Order Snapshotstags:- survival-analysis- transportation1 unmodified line- ride-pooling- jsonlconfigs:- config_name: alldata_files:- split: trainpath: data/R*/*/*.jsonl- config_name: R1data_files:- split: trainpath: data/R1/*/*.jsonl- config_name: R2data_files:- split: trainpath: data/R2/*/*.jsonl- config_name: R3data_files:- split: trainpath: data/R3/*/*.jsonl- config_name: R4data_files:- split: trainpath: data/R4/*/*.jsonl---# SurvBench Order SnapshotsSurvBench Order Snapshots is an anonymized order-level temporal dataset forsurvival-analysis benchmarking in demand-responsive transportation. Each JSONLrecord represents one focal order and contains static trip attributes, terminaloutcome information, and an ordered sequence of system snapshots observed beforethe order outcome.The dataset is intended for research on order matching, cancellation dynamics,pickup dynamics, and time-to-event modeling in ride-pooling ordemand-responsive transit systems.## Dataset Details- **Format:** newline-delimited JSON (`application/x-ndjson`)- **Scope:** four anonymized service regions, named `R1` to `R4`- **Organization:** records are partitioned by region and service date- **Primary record:** one order per JSONL line- **Temporal component:** nested `snapshots` sequence per order- **License:** CC BY-NC-SA 4.0## Repository Structure```textREADME.md3 unmodified linessample/example_record.jsonsample_records.jsonldata/R1/YYYY-MM-DD/order_snapshots_R1_YYYY-MM-DD.jsonlR2/YYYY-MM-DD/order_snapshots_R2_YYYY-MM-DD.jsonlR3/YYYY-MM-DD/order_snapshots_R3_YYYY-MM-DD.jsonlR4/YYYY-MM-DD/order_snapshots_R4_YYYY-MM-DD.jsonl```Large source files may be split by line into`order_snapshots_<region>_<date>_part-NNN.jsonl`. File parts preserve completeJSONL records; no JSON object is split across files.## Data FieldsEach top-level record includes:- anonymized order and region identifiers- passenger count- pickup and dropoff coordinates in standardized planar coordinates- terminal outcome type and timestamp- an ordered `snapshots` arrayEach snapshot includes the focal order state, active surrounding orders,available vehicles, and anonymized matched vehicle information when applicable.See `SCHEMA.md` for field-level documentation.## LoadingThe files can be read directly as JSONL. For example:```pythonimport jsonfrom pathlib import Pathpath = Path("data/R1/2025-12-22/order_snapshots_R1_2025-12-22.jsonl")with path.open("r", encoding="utf-8") as f:first_record = json.loads(next(f))```With Hugging Face Datasets:```pythonfrom datasets import load_datasetdataset = load_dataset("json",data_files="data/R1/*/*.jsonl",split="train",)```Use streaming mode when reading many files or the full dataset:```pythonfrom datasets import load_datasetdataset = load_dataset("json",data_files="data/R*/*/*.jsonl",split="train",streaming=True,)```## Anonymization13 unmodified linesCoordinates are standardized planar coordinates, not raw latitude/longitude.## Metadata and Integrity- `SCHEMA.md` describes the record fields.- `croissant.jsonld` provides MLCommons Croissant metadata.- `checksums.sha256` contains SHA256 checksums for release files.To verify files after download:```bashsha256sum -c checksums.sha2561 unmodified line23456781 unmodified line101112131415161718192021222324252627282930313233343536373839404142434445464748493 unmodified lines535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810913 unmodified lines1231241251261271281291301311 unmodified linelicense: cc-by-nc-sa-4.0language:- enpretty_name: SurvCanceltags:- survival-analysis- transportation1 unmodified line- ride-pooling- jsonlconfigs:- config_name: defaultdata_files:- split: trainpath: train-*.jsonl---# SurvCancelSurvCancel is an anonymized order-level temporal dataset for benchmarkingsurvival-analysis models in demand-responsive transportation. Each JSONL recordrepresents one focal order and contains static trip attributes, terminal outcomeinformation, and an ordered sequence of system snapshots observed before theorder outcome.The dataset is designed for research on cancellation modeling, order matching,pickup dynamics, and time-to-event prediction in ride-pooling ordemand-responsive transit systems.This Hugging Face release is intentionally flat: each public region is storedin one JSONL shard, and all region shards are exposed as a single `train`split.## Dataset Summary- **Task type:** survival analysis, time-to-event modeling, cancellationmodeling- **Data type:** anonymized order-level temporal snapshots- **Format:** newline-delimited JSON (`application/x-ndjson`)- **Split:** `train`- **Region shards:** `train-R1.jsonl`, `train-R2.jsonl`, `train-R3.jsonl`,`train-R4.jsonl`- **License:** CC BY-NC-SA 4.0## Files```textREADME.md3 unmodified linessample/example_record.jsonsample_records.jsonltrain-R1.jsonltrain-R2.jsonltrain-R3.jsonltrain-R4.jsonl````sample/example_record.json` and `sample/sample_records.jsonl` are provided forquick inspection. They are not part of the default Hugging Face dataset split.## Loading```pythonfrom datasets import load_datasetdataset = load_dataset("Couteau/SurvCancel", split="train", streaming=True)```To load one region directly:```pythonfrom datasets import load_datasetr1 = load_dataset("json",data_files="hf://datasets/Couteau/SurvCancel/train-R1.jsonl",split="train",streaming=True,)```## Data StructureEach top-level record includes:- anonymized order and region identifiers- passenger count- pickup and dropoff coordinates in standardized planar coordinates- terminal outcome type and timestamp- an ordered `snapshots` arrayEach snapshot includes the focal order state, active surrounding orders,available vehicles, and anonymized matched vehicle information when applicable.See `SCHEMA.md` for field-level documentation.## Labels and OutcomesThe terminal outcome is stored in `end_type`. Typical values include completedorders and pre-match or post-match cancellations. `end_time` stores the terminaltimestamp for the focal order. Users can construct survival targets from thesnapshot timeline and terminal outcome fields according to their experimentalsetup.## Anonymization13 unmodified linesCoordinates are standardized planar coordinates, not raw latitude/longitude.## Integrity`checksums.sha256` contains SHA256 checksums for release files.```bashsha256sum -c checksums.sha256
README.md+56-81