Datasets:
order_id stringlengths 20 20 | region_id stringclasses 1
value | pax_num int64 1 10 | end_type stringclasses 3
values | end_time timestamp[s]date 2025-12-22 07:02:42 2026-01-01 17:45:44 | pickup_x float64 -2,211.05 3.26k ⌀ | pickup_y float64 -1,687.09 1.54k ⌀ | dropoff_x float64 -2,211.05 3.26k ⌀ | dropoff_y float64 -1,687.09 1.55k ⌀ | snapshots listlengths 2 728 |
|---|---|---|---|---|---|---|---|---|---|
ord_9896068813d32960 | reg_8c26d1fe0d64f43f | 1 | completed | 2025-12-22T07:08:50 | -1,206.711494 | 757.330915 | -1,189.950596 | -495.670556 | [
{
"snapshot_ts": "2025-12-22T07:01:03",
"elapsed_time": 0,
"status_at_t": "pre_match",
"active_orders_list": [],
"available_vehicles_list": [
{
"vehicle_id": "veh_553847e2a470157a",
"vehicle_x": 2632.313903034516,
"vehicle_y": -968.585420487309,
"remaining_c... |
ord_237e969667af7493 | reg_8c26d1fe0d64f43f | 1 | post_match_cancel | 2025-12-22T07:05:06 | 654.71586 | 1,173.230304 | 544.483068 | 11.908894 | [
{
"snapshot_ts": "2025-12-22T07:01:47",
"elapsed_time": 0,
"status_at_t": "pre_match",
"active_orders_list": [
{
"order_id": "ord_9896068813d32960",
"status_at_t": "post_match",
"pax_num": 1,
"elapsed_time": 44,
"pickup_x": -1206.71,
"pickup_y": ... |
ord_c81ec5978f3c83b9 | reg_8c26d1fe0d64f43f | 1 | post_match_cancel | 2025-12-22T07:12:39 | -2,153.583218 | 88.525731 | -414.489156 | -919.394023 | [
{
"snapshot_ts": "2025-12-22T07:01:48",
"elapsed_time": 0,
"status_at_t": "pre_match",
"active_orders_list": [
{
"order_id": "ord_9896068813d32960",
"status_at_t": "post_match",
"pax_num": 1,
"elapsed_time": 45,
"pickup_x": -1206.71,
"pickup_y": ... |
ord_1ab3ac66ca932b7e | reg_8c26d1fe0d64f43f | 1 | post_match_cancel | 2025-12-22T07:02:42 | 1,190.708467 | -641.497707 | 625.646739 | 341.809263 | [
{
"snapshot_ts": "2025-12-22T07:01:59",
"elapsed_time": 0,
"status_at_t": "pre_match",
"active_orders_list": [
{
"order_id": "ord_9896068813d32960",
"status_at_t": "post_match",
"pax_num": 1,
"elapsed_time": 56,
"pickup_x": -1206.71,
"pickup_y": ... |
ord_d4084737ea6be38e | reg_8c26d1fe0d64f43f | 2 | completed | 2025-12-22T07:11:31 | -1,581.722844 | -824.995979 | 222.825573 | 982.706623 | [{"snapshot_ts":"2025-12-22T07:02:39","elapsed_time":0,"status_at_t":"pre_match","active_orders_list(...TRUNCATED) |
ord_152374b56d5100c1 | reg_8c26d1fe0d64f43f | 1 | completed | 2025-12-22T07:07:49 | 318.396575 | -467.163405 | -390.773413 | -906.337503 | [{"snapshot_ts":"2025-12-22T07:02:42","elapsed_time":0,"status_at_t":"pre_match","active_orders_list(...TRUNCATED) |
ord_6c5020551b136cd0 | reg_8c26d1fe0d64f43f | 1 | post_match_cancel | 2025-12-22T07:06:36 | 654.71586 | 1,173.230304 | 544.483068 | 11.908894 | [{"snapshot_ts":"2025-12-22T07:05:21","elapsed_time":0,"status_at_t":"pre_match","active_orders_list(...TRUNCATED) |
ord_9f23922db4c85b6f | reg_8c26d1fe0d64f43f | 1 | completed | 2025-12-22T07:12:16 | -2,116.43511 | 923.599396 | -1,189.950596 | -495.670556 | [{"snapshot_ts":"2025-12-22T07:07:01","elapsed_time":0,"status_at_t":"pre_match","active_orders_list(...TRUNCATED) |
ord_e984c3f79ba1b014 | reg_8c26d1fe0d64f43f | 1 | post_match_cancel | 2025-12-22T07:12:11 | -1,581.722844 | -824.995979 | -844.191917 | 294.46828 | [{"snapshot_ts":"2025-12-22T07:09:50","elapsed_time":0,"status_at_t":"pre_match","active_orders_list(...TRUNCATED) |
ord_c11dd99f21fce388 | reg_8c26d1fe0d64f43f | 1 | completed | 2025-12-22T07:16:14 | 1,643.201748 | 858.871464 | -414.489156 | -919.394023 | [{"snapshot_ts":"2025-12-22T07:10:55","elapsed_time":0,"status_at_t":"pre_match","active_orders_list(...TRUNCATED) |
SurvCancel
SurvCancel is an anonymized order-level temporal dataset for benchmarking survival-analysis models in demand-responsive transportation. Each JSONL record represents one focal order and contains static trip attributes, terminal outcome information, and an ordered sequence of system snapshots observed before the order outcome.
The dataset is designed for research on cancellation modeling, order matching, pickup dynamics, and time-to-event prediction in ride-pooling or demand-responsive transit systems.
This Hugging Face release is intentionally flat: each public region is stored
in one JSONL shard, and all region shards are exposed as a single train
split.
Dataset Summary
- Task type: survival analysis, time-to-event modeling, cancellation modeling
- 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
README.md
SCHEMA.md
croissant.jsonld
checksums.sha256
sample/
example_record.json
sample_records.jsonl
train-R1.jsonl
train-R2.jsonl
train-R3.jsonl
train-R4.jsonl
sample/example_record.json and sample/sample_records.jsonl are provided for
quick inspection. They are not part of the default Hugging Face dataset split.
Loading
from datasets import load_dataset
dataset = load_dataset("Couteau/SurvCancel", split="train", streaming=True)
To load one region directly:
from datasets import load_dataset
r1 = load_dataset(
"json",
data_files="hf://datasets/Couteau/SurvCancel/train-R1.jsonl",
split="train",
streaming=True,
)
Data Structure
Each 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
snapshotsarray
Each 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 Outcomes
The terminal outcome is stored in end_type. Typical values include completed
orders and pre-match or post-match cancellations. end_time stores the terminal
timestamp for the focal order. Users can construct survival targets from the
snapshot timeline and terminal outcome fields according to their experimental
setup.
Anonymization
Source-system identifiers are replaced with salted HMAC-SHA256 surrogate strings:
order_id->ord_*vehicle_idandmatched_vehicle_id->veh_*region_id->reg_*
The same original identifier in the same namespace maps to the same surrogate throughout this release. The private salt and source-to-surrogate mappings are not included.
Station identifier fields are omitted because they are not used by the benchmark features.
Coordinates are standardized planar coordinates, not raw latitude/longitude.
Integrity
checksums.sha256 contains SHA256 checksums for release files.
sha256sum -c checksums.sha256
Intended Use
This dataset is intended for academic and non-commercial research on survival analysis, demand-responsive transportation, ride-pooling, order matching, and cancellation or pickup time-to-event modeling.
License
This dataset is released under the Creative Commons Attribution-NonCommercial- ShareAlike 4.0 International License (CC BY-NC-SA 4.0).
- Downloads last month
- 33