Social Life of Code: Modeling Evolution through Code Embedding and Opinion Dynamics
Paper
•
2602.15412
•
Published
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 ({'rohan-varma', 'mrshenli', 'seemethere', 'jamesr66a', 'peterjc123', 'jerryzh168', 'malfet'}) and 7 missing columns ({'liewegas', 'dillaman', 'cbodley', 'dzafman', 'batrick', 'jcsp', 'majianpeng'}).
This happened while the csv dataset builder was generating data using
hf://datasets/hreyulog/GitHub-3Repo-7User-Opinion-Dynamics/pytorch.csv (at revision 627e9063b70546a44c7c1eac439c069359521561)
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 1831, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
pr_time: string
jamesr66a: double
jerryzh168: double
malfet: double
mrshenli: double
peterjc123: double
rohan-varma: double
seemethere: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1209
to
{'pr_time': Value('string'), 'batrick': Value('float64'), 'cbodley': Value('float64'), 'dillaman': Value('float64'), 'dzafman': Value('float64'), 'jcsp': Value('float64'), 'liewegas': Value('float64'), 'majianpeng': Value('float64')}
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 1339, 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 972, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, 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 1833, 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 ({'rohan-varma', 'mrshenli', 'seemethere', 'jamesr66a', 'peterjc123', 'jerryzh168', 'malfet'}) and 7 missing columns ({'liewegas', 'dillaman', 'cbodley', 'dzafman', 'batrick', 'jcsp', 'majianpeng'}).
This happened while the csv dataset builder was generating data using
hf://datasets/hreyulog/GitHub-3Repo-7User-Opinion-Dynamics/pytorch.csv (at revision 627e9063b70546a44c7c1eac439c069359521561)
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.
pr_time
string | batrick
float64 | cbodley
float64 | dillaman
float64 | dzafman
float64 | jcsp
float64 | liewegas
float64 | majianpeng
float64 |
|---|---|---|---|---|---|---|---|
2017-02-01
| 0.405821
| 0.54148
| 0.33737
| 0.325392
| 0.447851
| 0.406066
| 0.31766
|
2017-03-01
| 0.317623
| 0.318124
| 0.391112
| 0.311146
| 0.401466
| 0.335026
| 0.299413
|
2017-04-01
| 0.358813
| 0.476688
| 0.384133
| 0.36973
| 0.310626
| 0.378038
| 0.227391
|
2017-05-01
| 0.316523
| 0.444118
| 0.324935
| 0.309026
| 0.307694
| 0.369036
| 0.541795
|
2017-06-01
| 0.274533
| 0.427552
| 0.349383
| 0.216233
| 0.257445
| 0.334827
| 0.492357
|
2017-07-01
| 0.533073
| 0.333774
| 0.399655
| 0.30938
| 0.351704
| 0.342256
| 0.309128
|
2017-08-01
| 0.334629
| 0.304565
| 0.522204
| 0.332381
| 0.253609
| 0.367453
| 0.307529
|
2017-09-01
| 0.408014
| 0.338392
| 0.372152
| 0.340914
| 0.332969
| 0.402054
| 0.258176
|
2017-10-01
| 0.342018
| 0.33867
| 0.369391
| 0.448808
| 0.381982
| 0.328663
| 0.316098
|
2017-11-01
| 0.308258
| 0.446121
| 0.366899
| 0.32965
| 0.367038
| 0.418106
| 0.316019
|
2017-12-01
| 0.30284
| 0.317553
| 0.456725
| 0.50619
| 0.323387
| 0.321851
| 0.336119
|
2018-01-01
| 0.380767
| 0.357885
| 0.340052
| 0.503699
| 0.418204
| 0.339189
| 0.330222
|
2018-02-01
| 0.333409
| 0.378046
| 0.347105
| 0.334108
| 0.311408
| 0.319224
| 0.309018
|
2020-03-01
| null | null | null | null | null | null | null |
2020-04-01
| null | null | null | null | null | null | null |
2020-05-01
| null | null | null | null | null | null | null |
2020-06-01
| null | null | null | null | null | null | null |
2020-07-01
| null | null | null | null | null | null | null |
2020-08-01
| null | null | null | null | null | null | null |
2020-09-01
| null | null | null | null | null | null | null |
2020-10-01
| null | null | null | null | null | null | null |
2020-11-01
| null | null | null | null | null | null | null |
2020-12-01
| null | null | null | null | null | null | null |
2021-01-01
| null | null | null | null | null | null | null |
2021-02-01
| null | null | null | null | null | null | null |
2021-03-01
| null | null | null | null | null | null | null |
2019-04-01
| null | null | null | null | null | null | null |
2019-05-01
| null | null | null | null | null | null | null |
2019-06-01
| null | null | null | null | null | null | null |
2019-07-01
| null | null | null | null | null | null | null |
2019-08-01
| null | null | null | null | null | null | null |
2019-09-01
| null | null | null | null | null | null | null |
2019-10-01
| null | null | null | null | null | null | null |
2019-11-01
| null | null | null | null | null | null | null |
2019-12-01
| null | null | null | null | null | null | null |
2020-01-01
| null | null | null | null | null | null | null |
2020-02-01
| null | null | null | null | null | null | null |
2020-03-01
| null | null | null | null | null | null | null |
2020-04-01
| null | null | null | null | null | null | null |
If you use this dataset in your research, please cite the following preprint:
@misc{he2026sociallifecodemodeling,
title={Social Life of Code: Modeling Evolution through Code Embedding and Opinion Dynamics},
author={Yulong He and Nikita Verbin and Sergey Kovalchuk},
year={2026},
eprint={2602.15412},
archivePrefix={arXiv},
primaryClass={cs.SE},
url={https://arxiv.org/abs/2602.15412},
}