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 3 new columns ({'population', 'title', 'rank'}) and 9 missing columns ({'predictions', 'questions', 'workerid', 'treatment', 'votes', 'elicitation_format', 'options', 'domain', 'problem'}).

This happened while the csv dataset builder was generating data using

hf://datasets/amritpuhan/SP-Rank-Dataset/geography.csv (at revision be1cd945021a1ef69907b3319705b49cd0bcfe98)

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 "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 643, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              rank: int64
              title: string
              population: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 596
              to
              {'workerid': Value(dtype='int64', id=None), 'problem': Value(dtype='int64', id=None), 'treatment': Value(dtype='int64', id=None), 'domain': Value(dtype='int64', id=None), 'questions': Value(dtype='int64', id=None), 'options': Value(dtype='string', id=None), 'votes': Value(dtype='string', id=None), 'predictions': Value(dtype='string', id=None), 'elicitation_format': Value(dtype='string', id=None)}
              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 1433, 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 1050, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1742, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1873, 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 3 new columns ({'population', 'title', 'rank'}) and 9 missing columns ({'predictions', 'questions', 'workerid', 'treatment', 'votes', 'elicitation_format', 'options', 'domain', 'problem'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/amritpuhan/SP-Rank-Dataset/geography.csv (at revision be1cd945021a1ef69907b3319705b49cd0bcfe98)
              
              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.

workerid
int64
problem
int64
treatment
int64
domain
int64
questions
int64
options
string
votes
string
predictions
string
elicitation_format
string
1
1
2
3
5
[9, 15, 21, 27]
[15]
[15]
top-top
1
2
2
1
2
[3, 9, 15, 21]
[3]
[3]
top-top
1
3
2
1
19
[22, 28, 34, 40]
[28]
[28]
top-top
1
4
2
1
11
[21, 27, 33, 39]
[21]
[21]
top-top
1
5
2
2
7
[13, 19, 25, 31]
[31]
[25]
top-top
1
6
3
3
20
[32, 38, 44, 50]
[38]
[38, 44, 50, 32]
top-rank
1
7
3
1
19
[22, 28, 34, 40]
[28]
[28, 22, 40, 34]
top-rank
1
8
3
1
6
[11, 17, 23, 29]
[11]
[11, 29, 17, 23]
top-rank
1
9
3
1
8
[15, 21, 27, 33]
[21]
[21, 15, 33, 27]
top-rank
1
10
3
2
16
[31, 37, 43, 49]
[37]
[37, 49, 31, 43]
top-rank
2
1
4
2
7
[13, 19, 25, 31]
[25, 13, 31, 19]
[]
rank-none
2
2
4
2
13
[25, 31, 37, 43]
[31, 25, 43, 37]
[]
rank-none
2
3
4
3
11
[21, 27, 33, 39]
[39, 21, 27, 33]
[]
rank-none
2
4
4
1
13
[25, 31, 37, 43]
[43, 31, 37, 25]
[]
rank-none
2
5
4
1
3
[5, 11, 17, 23]
[17, 5, 23, 11]
[]
rank-none
2
6
3
2
12
[23, 29, 35, 41]
[23]
[35, 23, 29, 41]
top-rank
2
7
3
2
1
[1, 7, 13, 19]
[13]
[7, 1, 13, 19]
top-rank
2
8
3
3
6
[11, 17, 23, 29]
[23]
[11, 23, 29, 17]
top-rank
2
9
3
1
1
[1, 7, 13, 19]
[13]
[19, 7, 1, 13]
top-rank
2
10
3
1
19
[22, 28, 34, 40]
[28]
[34, 40, 22, 28]
top-rank
3
1
2
2
19
[22, 28, 34, 40]
[34]
[28]
top-top
3
2
2
1
10
[19, 25, 31, 37]
[19]
[19]
top-top
3
3
2
1
2
[3, 9, 15, 21]
[3]
[3]
top-top
3
4
2
2
10
[19, 25, 31, 37]
[25]
[25]
top-top
3
5
2
2
14
[27, 33, 39, 45]
[27]
[27]
top-top
3
6
5
2
14
[27, 33, 39, 45]
[27, 33, 39, 45]
[27]
rank-top
3
7
5
1
10
[19, 25, 31, 37]
[19, 25, 31, 37]
[25]
rank-top
3
8
5
1
18
[12, 18, 24, 30]
[18, 30, 24, 12]
[18]
rank-top
3
9
5
2
1
[1, 7, 13, 19]
[1, 7, 19, 13]
[1]
rank-top
3
10
5
2
18
[12, 18, 24, 30]
[24, 30, 18, 12]
[24]
rank-top
4
1
1
2
20
[32, 38, 44, 50]
[38]
[]
top-none
4
2
1
1
19
[22, 28, 34, 40]
[22]
[]
top-none
4
3
1
1
9
[17, 23, 29, 35]
[17]
[]
top-none
4
4
1
2
13
[25, 31, 37, 43]
[43]
[]
top-none
4
5
1
1
5
[9, 15, 21, 27]
[21]
[]
top-none
4
6
2
2
12
[23, 29, 35, 41]
[29]
[35]
top-top
4
7
2
1
3
[5, 11, 17, 23]
[17]
[5]
top-top
4
8
2
1
12
[23, 29, 35, 41]
[29]
[41]
top-top
4
9
2
2
16
[31, 37, 43, 49]
[49]
[31]
top-top
4
10
2
1
11
[21, 27, 33, 39]
[33]
[21]
top-top
5
1
5
3
17
[2, 8, 14, 20]
[20, 14, 2, 8]
[20]
rank-top
5
2
5
2
7
[13, 19, 25, 31]
[13, 25, 31, 19]
[25]
rank-top
5
3
5
2
18
[12, 18, 24, 30]
[30, 12, 24, 18]
[30]
rank-top
5
4
5
3
3
[5, 11, 17, 23]
[23, 17, 11, 5]
[11]
rank-top
5
5
5
1
10
[19, 25, 31, 37]
[19, 31, 25, 37]
[19]
rank-top
5
6
4
3
1
[1, 7, 13, 19]
[1, 7, 19, 13]
[]
rank-none
5
7
4
2
19
[22, 28, 34, 40]
[22, 40, 34, 28]
[]
rank-none
5
8
4
2
6
[11, 17, 23, 29]
[11, 17, 29, 23]
[]
rank-none
5
9
4
3
14
[27, 33, 39, 45]
[45, 33, 27, 39]
[]
rank-none
5
10
4
1
15
[29, 35, 41, 47]
[41, 29, 35, 47]
[]
rank-none
6
1
2
2
18
[12, 18, 24, 30]
[12]
[30]
top-top
6
2
2
3
2
[3, 9, 15, 21]
[21]
[9]
top-top
6
3
2
1
1
[1, 7, 13, 19]
[1]
[13]
top-top
6
4
2
3
8
[15, 21, 27, 33]
[15]
[33]
top-top
6
5
2
3
17
[2, 8, 14, 20]
[20]
[2]
top-top
6
6
1
2
10
[19, 25, 31, 37]
[19]
[]
top-none
6
7
1
3
11
[21, 27, 33, 39]
[21]
[]
top-none
6
8
1
1
11
[21, 27, 33, 39]
[21]
[]
top-none
6
9
1
3
7
[13, 19, 25, 31]
[31]
[]
top-none
6
10
1
3
17
[2, 8, 14, 20]
[14]
[]
top-none
7
1
1
3
10
[19, 25, 31, 37]
[37]
[]
top-none
7
2
1
3
19
[22, 28, 34, 40]
[28]
[]
top-none
7
3
1
1
4
[7, 13, 19, 25]
[25]
[]
top-none
7
4
1
3
16
[31, 37, 43, 49]
[31]
[]
top-none
7
5
1
1
9
[17, 23, 29, 35]
[29]
[]
top-none
7
6
3
3
13
[25, 31, 37, 43]
[37]
[43, 25, 37, 31]
top-rank
7
7
3
3
6
[11, 17, 23, 29]
[17]
[17, 23, 11, 29]
top-rank
7
8
3
1
11
[21, 27, 33, 39]
[33]
[33, 39, 27, 21]
top-rank
7
9
3
3
11
[21, 27, 33, 39]
[33]
[33, 21, 27, 39]
top-rank
7
10
3
1
8
[15, 21, 27, 33]
[21]
[21, 15, 27, 33]
top-rank
8
1
6
2
15
[29, 35, 41, 47]
[35, 29, 41, 47]
[35, 29, 41, 47]
rank-rank
8
2
6
2
16
[31, 37, 43, 49]
[31, 37, 49, 43]
[37, 43, 31, 49]
rank-rank
8
3
6
3
12
[23, 29, 35, 41]
[35, 29, 23, 41]
[41, 29, 35, 23]
rank-rank
8
4
6
1
9
[17, 23, 29, 35]
[17, 29, 35, 23]
[29, 17, 35, 23]
rank-rank
8
5
6
3
4
[7, 13, 19, 25]
[25, 19, 7, 13]
[19, 13, 25, 7]
rank-rank
8
6
5
2
17
[2, 8, 14, 20]
[2, 8, 20, 14]
[2]
rank-top
8
7
5
2
13
[25, 31, 37, 43]
[31, 37, 25, 43]
[37]
rank-top
8
8
5
3
3
[5, 11, 17, 23]
[17, 11, 23, 5]
[17]
rank-top
8
9
5
1
17
[2, 8, 14, 20]
[2, 20, 14, 8]
[2]
rank-top
8
10
5
3
8
[15, 21, 27, 33]
[21, 15, 27, 33]
[27]
rank-top
9
1
5
3
16
[31, 37, 43, 49]
[43, 37, 49, 31]
[43]
rank-top
9
2
5
2
2
[3, 9, 15, 21]
[21, 3, 9, 15]
[21]
rank-top
9
3
5
1
8
[15, 21, 27, 33]
[21, 15, 27, 33]
[21]
rank-top
9
4
5
1
15
[29, 35, 41, 47]
[29, 41, 47, 35]
[41]
rank-top
9
5
5
1
17
[2, 8, 14, 20]
[2, 8, 20, 14]
[2]
rank-top
9
6
4
3
16
[31, 37, 43, 49]
[43, 37, 49, 31]
[]
rank-none
9
7
4
2
16
[31, 37, 43, 49]
[31, 49, 37, 43]
[]
rank-none
9
8
4
1
12
[23, 29, 35, 41]
[29, 41, 35, 23]
[]
rank-none
9
9
4
1
17
[2, 8, 14, 20]
[2, 8, 20, 14]
[]
rank-none
9
10
4
1
16
[31, 37, 43, 49]
[31, 37, 43, 49]
[]
rank-none
10
1
6
3
19
[22, 28, 34, 40]
[22, 34, 40, 28]
[22, 40, 34, 28]
rank-rank
10
2
6
3
2
[3, 9, 15, 21]
[21, 15, 3, 9]
[3, 9, 15, 21]
rank-rank
10
3
6
3
8
[15, 21, 27, 33]
[33, 21, 27, 15]
[27, 15, 21, 33]
rank-rank
10
4
6
2
15
[29, 35, 41, 47]
[41, 47, 29, 35]
[29, 47, 35, 41]
rank-rank
10
5
6
2
3
[5, 11, 17, 23]
[5, 17, 23, 11]
[5, 11, 17, 23]
rank-rank
10
6
2
3
19
[22, 28, 34, 40]
[40]
[22]
top-top
10
7
2
3
20
[32, 38, 44, 50]
[44]
[32]
top-top
10
8
2
3
17
[2, 8, 14, 20]
[2]
[8]
top-top
10
9
2
2
20
[32, 38, 44, 50]
[32]
[44]
top-top
10
10
2
2
9
[17, 23, 29, 35]
[35]
[35]
top-top
End of preview.

The dataset contains questions from three domains - Geography, Movies, and Paintings where multiple options are shown to voters and they are asked to provide two information - 1) Their vote on what the ground truth ranking of the alternatives is 2) Their prediction on what everyone else thinks the ground truth ranking of the alternatives is. The criteria for ranking is decreasing order of population for Geography, decreasing order of gross box office lifetime earnings for Movies, and decreasing order of auction prizes for paintings.

Dataset attributes:

workerid - Individual voter ID

problem - Problem number each voter answered

treatment - numerical representation of elicitation format

domain - Geography=1, Movies=2, and Paintings=3

questions - Question number form the global number that the voter responded to

options - The options presented to voters. Note that while being presented, this is randomized. But the way it is presented in the dataset can be used as ground truth ordering.

votes - Vote of each voter on what their own opinion is about the ground truth ranking

predictions - Vote of each voter on what they predict everyone else thinks about the ground truth ranking

elicitation_format - elicitation format name

Downloads last month
8