Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 7 new columns ({'scale', 'rejected', 'sensor', 'bronze', 'tier_summary', 'gold', 'silver'}) and 6 missing columns ({'silver_count', 'detected_hz', 'rejected_count', 'gold_count', 'bronze_count', 'tier'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Scan2s/opportunity-s2s-certified/opportunity_rua_certified.csv (at revision 4c253b6fdb92f13bb2fbae8cf494f4e3d91e1fa8), [/tmp/hf-datasets-cache/medium/datasets/61911773500828-config-parquet-and-info-Scan2s-opportunity-s2s-ce-1f5f4188/hub/datasets--Scan2s--opportunity-s2s-certified/snapshots/4c253b6fdb92f13bb2fbae8cf494f4e3d91e1fa8/opportunity_certified.csv (origin=hf://datasets/Scan2s/opportunity-s2s-certified@4c253b6fdb92f13bb2fbae8cf494f4e3d91e1fa8/opportunity_certified.csv), /tmp/hf-datasets-cache/medium/datasets/61911773500828-config-parquet-and-info-Scan2s-opportunity-s2s-ce-1f5f4188/hub/datasets--Scan2s--opportunity-s2s-certified/snapshots/4c253b6fdb92f13bb2fbae8cf494f4e3d91e1fa8/opportunity_rua_certified.csv (origin=hf://datasets/Scan2s/opportunity-s2s-certified@4c253b6fdb92f13bb2fbae8cf494f4e3d91e1fa8/opportunity_rua_certified.csv)]

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              subject: string
              activity: string
              file: string
              total_windows: int64
              pass_rate: double
              mean_score: double
              tier_summary: string
              gold: int64
              silver: int64
              bronze: int64
              rejected: int64
              sensor: string
              accel_cols: string
              gyro_cols: string
              scale: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1981
              to
              {'subject': Value('string'), 'activity': Value('string'), 'file': Value('string'), 'tier': Value('string'), 'pass_rate': Value('float64'), 'mean_score': Value('float64'), 'total_windows': Value('int64'), 'detected_hz': Value('float64'), 'gold_count': Value('int64'), 'silver_count': Value('int64'), 'bronze_count': Value('int64'), 'rejected_count': Value('int64'), 'accel_cols': Value('string'), 'gyro_cols': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1802, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 7 new columns ({'scale', 'rejected', 'sensor', 'bronze', 'tier_summary', 'gold', 'silver'}) and 6 missing columns ({'silver_count', 'detected_hz', 'rejected_count', 'gold_count', 'bronze_count', 'tier'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Scan2s/opportunity-s2s-certified/opportunity_rua_certified.csv (at revision 4c253b6fdb92f13bb2fbae8cf494f4e3d91e1fa8), [/tmp/hf-datasets-cache/medium/datasets/61911773500828-config-parquet-and-info-Scan2s-opportunity-s2s-ce-1f5f4188/hub/datasets--Scan2s--opportunity-s2s-certified/snapshots/4c253b6fdb92f13bb2fbae8cf494f4e3d91e1fa8/opportunity_certified.csv (origin=hf://datasets/Scan2s/opportunity-s2s-certified@4c253b6fdb92f13bb2fbae8cf494f4e3d91e1fa8/opportunity_certified.csv), /tmp/hf-datasets-cache/medium/datasets/61911773500828-config-parquet-and-info-Scan2s-opportunity-s2s-ce-1f5f4188/hub/datasets--Scan2s--opportunity-s2s-certified/snapshots/4c253b6fdb92f13bb2fbae8cf494f4e3d91e1fa8/opportunity_rua_certified.csv (origin=hf://datasets/Scan2s/opportunity-s2s-certified@4c253b6fdb92f13bb2fbae8cf494f4e3d91e1fa8/opportunity_rua_certified.csv)]
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

subject
string
activity
string
file
string
tier
string
pass_rate
float64
mean_score
float64
total_windows
int64
detected_hz
float64
gold_count
int64
silver_count
int64
bronze_count
int64
rejected_count
int64
accel_cols
string
gyro_cols
string
S1
ADL1
S1-ADL1
SILVER
0.929
58.6
99
30.3
0
88
4
7
[2, 5, 17]
[1, 16, 39]
S1
ADL2
S1-ADL2
SILVER
0.878
55.5
90
30.3
0
62
17
11
[2, 5, 8]
[6, 16, 42]
S1
ADL3
S1-ADL3
SILVER
0.956
58
91
30.3
0
81
6
4
[2, 5, 8]
[6, 16, 21]
S1
ADL4
S1-ADL4
SILVER
0.936
57.9
94
30.3
0
81
7
6
[2, 5, 8]
[6, 16, 21]
S1
ADL5
S1-ADL5
SILVER
0.945
57.9
91
30.3
0
78
8
5
[2, 5, 17]
[1, 16, 21]
S1
Drill
S1-Drill
SILVER
0.958
58.5
95
30.3
0
90
1
4
[2, 5, 17]
[3, 16, 21]
S2
ADL1
S2-ADL1
SILVER
0.947
59.3
94
30.3
1
83
5
5
[2, 5, 8]
[1, 3, 4]
S2
ADL2
S2-ADL2
SILVER
0.929
59.3
98
30.3
5
68
18
7
[2, 5, 20]
[1, 4, 22]
S2
ADL3
S2-ADL3
SILVER
0.939
57.9
98
30.3
0
80
12
6
[2, 5, 8]
[1, 4, 6]
S2
ADL4
S2-ADL4
SILVER
0.857
57.4
98
30.3
0
74
10
14
[2, 5, 8]
[1, 3, 4]
S2
ADL5
S2-ADL5
SILVER
0.908
56.4
98
30.3
1
68
20
9
[2, 5, 8]
[1, 12, 16]
S2
Drill
S2-Drill
SILVER
0.929
58
98
30.3
0
90
1
7
[2, 5, 17]
[1, 4, 16]
S3
ADL1
S3-ADL1
SILVER
0.854
58.6
96
30.3
0
76
6
14
[3, 5, 9]
[1, 2, 4]
S3
ADL2
S3-ADL2
SILVER
0.77
54.8
74
30.3
1
46
10
17
[2, 5, 17]
[1, 16, 19]
S3
ADL3
S3-ADL3
SILVER
0.882
56.8
85
30.3
0
65
10
10
[2, 5, 8]
[1, 6, 16]
S3
ADL4
S3-ADL4
REJECTED
0.333
48.8
72
30.3
0
11
13
48
[2, 5, 8]
[16, 21, 38]
S3
ADL5
S3-ADL5
SILVER
0.843
57.1
89
30.3
0
71
4
14
[2, 5, 17]
[1, 6, 16]
S3
Drill
S3-Drill
SILVER
0.808
57.7
99
30.3
1
79
0
19
[2, 5, 17]
[1, 6, 16]
S4
ADL1
S4-ADL1
SILVER
0.862
57
94
30.3
0
74
7
13
[2, 5, 9]
[1, 3, 4]
S4
ADL2
S4-ADL2
SILVER
0.845
56.5
84
30.3
0
63
8
13
[2, 5, 9]
[3, 4, 21]
S4
ADL4
S4-ADL4
SILVER
0.932
57.5
73
30.3
0
61
7
5
[2, 5, 10]
[3, 4, 21]
S4
ADL5
S4-ADL5
SILVER
0.879
57.2
91
30.3
0
73
7
11
[2, 5, 17]
[3, 4, 21]
S4
Drill
S4-Drill
SILVER
0.913
58.8
92
30.3
0
82
2
8
[2, 5, 17]
[1, 3, 4]
S1
ADL1
S1-ADL1
null
0.83
59.9
100
null
null
null
null
null
10-12
50-52
S1
ADL2
S1-ADL2
null
0.66
55.7
100
null
null
null
null
null
10-12
50-52
S1
ADL3
S1-ADL3
null
0.83
58.9
100
null
null
null
null
null
10-12
50-52
S1
ADL4
S1-ADL4
null
0.83
58.9
100
null
null
null
null
null
10-12
50-52
S1
ADL5
S1-ADL5
null
0.67
57.1
100
null
null
null
null
null
10-12
50-52
S1
Drill
S1-Drill
null
0.79
58.4
100
null
null
null
null
null
10-12
50-52
S2
ADL1
S2-ADL1
null
0.22
49.5
100
null
null
null
null
null
10-12
50-52
S2
ADL2
S2-ADL2
null
0.57
54.9
100
null
null
null
null
null
10-12
50-52
S2
ADL3
S2-ADL3
null
0.91
60.8
100
null
null
null
null
null
10-12
50-52
S2
ADL4
S2-ADL4
null
0.9
59.8
100
null
null
null
null
null
10-12
50-52
S2
ADL5
S2-ADL5
null
0.9
60.3
100
null
null
null
null
null
10-12
50-52
S2
Drill
S2-Drill
null
0.88
61
100
null
null
null
null
null
10-12
50-52
S3
ADL1
S3-ADL1
null
0.202
50.3
99
null
null
null
null
null
10-12
50-52
S3
ADL2
S3-ADL2
null
0.76
57.6
100
null
null
null
null
null
10-12
50-52
S3
ADL3
S3-ADL3
null
0.55
55.5
100
null
null
null
null
null
10-12
50-52
S3
ADL4
S3-ADL4
null
0.62
55.9
100
null
null
null
null
null
10-12
50-52
S3
ADL5
S3-ADL5
null
0.806
59.1
98
null
null
null
null
null
10-12
50-52
S3
Drill
S3-Drill
null
0.76
59.1
100
null
null
null
null
null
10-12
50-52
S4
ADL1
S4-ADL1
null
0.77
57.8
100
null
null
null
null
null
10-12
50-52
S4
ADL2
S4-ADL2
null
0.78
59.2
100
null
null
null
null
null
10-12
50-52
S4
ADL3
S4-ADL3
null
0.734
57.3
94
null
null
null
null
null
10-12
50-52
S4
ADL4
S4-ADL4
null
0.688
56.4
80
null
null
null
null
null
10-12
50-52
S4
ADL5
S4-ADL5
null
0.69
57
100
null
null
null
null
null
10-12
50-52
S4
Drill
S4-Drill
null
0.61
55.8
100
null
null
null
null
null
10-12
50-52

OPPORTUNITY — S2S Physics Certified (v1.7.0)

Physics-certified windows from the OPPORTUNITY Activity Recognition dataset. Validated against 8 biomechanical laws using S2S.

Two certifications provided

File Columns Rejection Notes
opportunity_rua_certified.csv Documented RUA sensor (cols 10-12) 14.4% More accurate
opportunity_certified.csv Auto-detected columns 12.3% Zero-config

Key finding: Documented sensor columns give different results than auto-detection. S2-ADL1 and S3-ADL1 show serious physics anomalies (20-22% pass rate).

Statistics (RUA documented)

Metric Value
Total windows 2,371
Files 24 (4 subjects × ADL1-5 + Drill)
Sample rate 30.3Hz (auto-detected)
Window size 256 samples
Overall rejection 14.4%
Worst session S2-ADL1: 78% rejected
Best session S2-ADL3: 9% rejected

Key findings

S2-ADL1: 22% pass rate — serious sensor anomaly S3-ADL1: 20% pass rate — serious sensor anomaly S1-Drill: 79% pass — drill task cleanest S2-ADL3/4/5: 90%+ pass — cleanest sessions

These anomalies are invisible to standard statistical checks. S2S detects them through biomechanical law violations.

Columns used (RUA documented)

From official OPPORTUNITY column documentation:

  • Accel: cols 10-12 (Right Upper Arm accelerometer, milli-g)
  • Gyro: cols 50-52 (Right Upper Arm gyroscope)

Source dataset

Original OPPORTUNITY: https://archive.ics.uci.edu/dataset/226/opportunity+activity+recognition

4 subjects, 7 IMU sensors, 30Hz, daily activities + drill tasks.

Citation

S2S Physics Certification Engine v1.7.0 https://github.com/timbo4u1/S2S DOI: 10.5281/zenodo.18878307 pip install s2s-certify

Downloads last month
28