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 ({'topk_scores_json', 'topk_labels_json', 'top1_label', 'top3_hit', 'top5_hit', 'topk_hit', 'top1_score'}) and 4 missing columns ({'inference_time_ms', 'prediction', 'correct', 'prediction_raw'}).

This happened while the csv dataset builder was generating data using

gzip://CodeBERT-PECAN.csv::hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/codebert_pecan_official_test_top10_20260704/eval-20260704-024122/topk_predictions/CodeBERT-PECAN.csv.gz, ['hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/codebert_pecan_official_test_top10_20260704/eval-20260704-024122/predictions/CodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/codebert_pecan_official_test_top10_20260704/eval-20260704-024122/topk_predictions/CodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/gptoss_official_test_top10_20260715/run_topk_full/predictions/OpenAI_openai_gpt-oss-120b.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/graphcodebert_pecan_official_test_top10_20260707/eval-20260707-000635/predictions/GraphCodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/graphcodebert_pecan_official_test_top10_20260707/eval-20260707-000635/topk_predictions/GraphCodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_official_test_top10_20260629/eval-20260629-153521/predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_official_test_top10_20260629/eval-20260629-153521/topk_predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_retrained_official_test_20260724/run/predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_retrained_official_test_20260724/run/topk_predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/highlightjs_official_test_common_top10_20260725/predictions.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/highlightjs_official_test_pruned_top10_20260725/predictions.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/linguist_official_test_top10_20260629/eval-20260629-122132/predictions/GitHub_Linguist.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/linguist_official_test_top10_20260629/eval-20260629-122132/topk_predictions/GitHub_Linguist.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_corrected_official_test_top10_20260816/run_topk_full/predictions/SCC.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_corrected_official_test_top10_20260816/run_topk_full/topk_predictions/SCC.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/predictions/SCC++_(rf).csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/predictions/SCC++_(xgboost).csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/predictions/SCC.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/topk_predictions/SCC++_(rf).csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/topk_predictions/SCC++_(xgboost).csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/topk_predictions/SCC.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/unixcoder_pecan_official_test_top10_20260713/eval-20260713-010944/predictions/UniXcoder-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/unixcoder_pecan_official_test_top10_20260713/eval-20260713-010944/topk_predictions/UniXcoder-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/xlmroberta_pecan_official_test_top10_20260714/eval-20260714-011522/predictions/XLM-RoBERTa-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/xlmroberta_pecan_official_test_top10_20260714/eval-20260714-011522/topk_predictions/XLM-RoBERTa-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/codebert_pecan_official_test_top10_20260704/eval-20260704-024122/predictions/CodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/codebert_pecan_official_test_top10_20260704/eval-20260704-024122/topk_predictions/CodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/graphcodebert_pecan_official_test_top10_20260707/eval-20260707-000635/predictions/GraphCodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/graphcodebert_pecan_official_test_top10_20260707/eval-20260707-000635/topk_predictions/GraphCodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_official_test_top10_20260629/eval-20260629-153521/predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_official_test_top10_20260629/eval-20260629-153521/topk_predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/linguist_official_test_top10_20260629/eval-20260629-122132/predictions/GitHub_Linguist.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/linguist_official_test_top10_20260629/eval-20260629-122132/topk_predictions/GitHub_Linguist.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/unixcoder_pecan_official_test_top10_20260713/eval-20260713-010944/predictions/UniXcoder-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/unixcoder_pecan_official_test_top10_20260713/eval-20260713-010944/topk_predictions/UniXcoder-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/xlmroberta_pecan_official_test_top10_20260714/eval-20260714-011522/predictions/XLM-RoBERTa-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/xlmroberta_pecan_official_test_top10_20260714/eval-20260714-011522/topk_predictions/XLM-RoBERTa-PECAN.csv.gz']

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.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              sample_idx: int64
              language_raw: string
              language: string
              top1_label: string
              top1_score: double
              top3_hit: int64
              top5_hit: int64
              topk_hit: int64
              topk_labels_json: string
              topk_scores_json: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1482
              to
              {'sample_idx': Value('int64'), 'language_raw': Value('string'), 'language': Value('string'), 'prediction_raw': Value('string'), 'prediction': Value('string'), 'correct': Value('bool'), 'inference_time_ms': 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 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              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 ({'topk_scores_json', 'topk_labels_json', 'top1_label', 'top3_hit', 'top5_hit', 'topk_hit', 'top1_score'}) and 4 missing columns ({'inference_time_ms', 'prediction', 'correct', 'prediction_raw'}).
              
              This happened while the csv dataset builder was generating data using
              
              gzip://CodeBERT-PECAN.csv::hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/codebert_pecan_official_test_top10_20260704/eval-20260704-024122/topk_predictions/CodeBERT-PECAN.csv.gz, ['hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/codebert_pecan_official_test_top10_20260704/eval-20260704-024122/predictions/CodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/codebert_pecan_official_test_top10_20260704/eval-20260704-024122/topk_predictions/CodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/gptoss_official_test_top10_20260715/run_topk_full/predictions/OpenAI_openai_gpt-oss-120b.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/graphcodebert_pecan_official_test_top10_20260707/eval-20260707-000635/predictions/GraphCodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/graphcodebert_pecan_official_test_top10_20260707/eval-20260707-000635/topk_predictions/GraphCodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_official_test_top10_20260629/eval-20260629-153521/predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_official_test_top10_20260629/eval-20260629-153521/topk_predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_retrained_official_test_20260724/run/predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_retrained_official_test_20260724/run/topk_predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/highlightjs_official_test_common_top10_20260725/predictions.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/highlightjs_official_test_pruned_top10_20260725/predictions.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/linguist_official_test_top10_20260629/eval-20260629-122132/predictions/GitHub_Linguist.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/linguist_official_test_top10_20260629/eval-20260629-122132/topk_predictions/GitHub_Linguist.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_corrected_official_test_top10_20260816/run_topk_full/predictions/SCC.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_corrected_official_test_top10_20260816/run_topk_full/topk_predictions/SCC.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/predictions/SCC++_(rf).csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/predictions/SCC++_(xgboost).csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/predictions/SCC.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/topk_predictions/SCC++_(rf).csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/topk_predictions/SCC++_(xgboost).csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/scc_official_test_top10_20260816/run_topk_full/topk_predictions/SCC.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/unixcoder_pecan_official_test_top10_20260713/eval-20260713-010944/predictions/UniXcoder-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/unixcoder_pecan_official_test_top10_20260713/eval-20260713-010944/topk_predictions/UniXcoder-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/xlmroberta_pecan_official_test_top10_20260714/eval-20260714-011522/predictions/XLM-RoBERTa-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/xlmroberta_pecan_official_test_top10_20260714/eval-20260714-011522/topk_predictions/XLM-RoBERTa-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/codebert_pecan_official_test_top10_20260704/eval-20260704-024122/predictions/CodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/codebert_pecan_official_test_top10_20260704/eval-20260704-024122/topk_predictions/CodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/graphcodebert_pecan_official_test_top10_20260707/eval-20260707-000635/predictions/GraphCodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/graphcodebert_pecan_official_test_top10_20260707/eval-20260707-000635/topk_predictions/GraphCodeBERT-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_official_test_top10_20260629/eval-20260629-153521/predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/guesslang_official_test_top10_20260629/eval-20260629-153521/topk_predictions/Guesslang.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/linguist_official_test_top10_20260629/eval-20260629-122132/predictions/GitHub_Linguist.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/linguist_official_test_top10_20260629/eval-20260629-122132/topk_predictions/GitHub_Linguist.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/unixcoder_pecan_official_test_top10_20260713/eval-20260713-010944/predictions/UniXcoder-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/unixcoder_pecan_official_test_top10_20260713/eval-20260713-010944/topk_predictions/UniXcoder-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/xlmroberta_pecan_official_test_top10_20260714/eval-20260714-011522/predictions/XLM-RoBERTa-PECAN.csv.gz', 'hf://datasets/pecan-anon/pecan-predictions@7177e86bbaa6633c37e53b30536717fe9cc4b9ae/xlmroberta_pecan_official_test_top10_20260714/eval-20260714-011522/topk_predictions/XLM-RoBERTa-PECAN.csv.gz']
              
              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.

sample_idx
int64
language_raw
string
language
string
prediction_raw
string
prediction
string
correct
bool
inference_time_ms
float64
0
perl6
perl6
perl6
perl6
true
144.843102
1
perl6
perl6
perl6
perl6
true
5.976677
2
perl6
perl6
perl6
perl6
true
4.959345
3
perl6
perl6
perl6
perl6
true
5.076408
4
perl6
perl6
perl6
perl6
true
4.76265
5
perl6
perl6
perl6
perl6
true
4.989386
6
perl6
perl6
perl6
perl6
true
4.991055
7
perl6
perl6
perl6
perl6
true
8.793592
8
ecl
ecl
ecl
ecl
true
4.39167
9
ecl
ecl
ecl
ecl
true
4.327536
10
zephir
zephir
zephir
zephir
true
4.411459
11
thrift
thrift
thrift
thrift
true
4.279613
12
thrift
thrift
thrift
thrift
true
4.266024
13
urweb
urweb
urweb
urweb
true
4.999399
14
urweb
urweb
urweb
urweb
true
5.246878
15
urweb
urweb
urweb
urweb
true
4.995584
16
urweb
urweb
urweb
urweb
true
4.917383
17
urweb
urweb
urweb
urweb
true
4.921198
18
urweb
urweb
urweb
urweb
true
4.714489
19
urweb
urweb
urweb
urweb
true
4.926682
20
urweb
urweb
urweb
urweb
true
5.213737
21
ren'py
ren'py
ren'py
ren'py
true
4.767656
22
ren'py
ren'py
ren'py
ren'py
true
4.744768
23
ren'py
ren'py
ren'py
ren'py
true
4.759073
24
ren'py
ren'py
ren'py
ren'py
true
4.711866
25
ren'py
ren'py
ren'py
ren'py
true
4.70233
26
ren'py
ren'py
ren'py
ren'py
true
4.686356
27
prolog
prolog
prolog
prolog
true
4.843235
28
inno-setup
inno-setup
inno-setup
inno-setup
true
4.310846
29
inno-setup
inno-setup
inno-setup
inno-setup
true
4.346848
30
inno-setup
inno-setup
inno-setup
inno-setup
true
9.373426
31
xbase
xbase
xbase
xbase
true
4.745483
32
xbase
xbase
xbase
xbase
true
4.957914
33
xbase
xbase
xbase
xbase
true
4.948139
34
xbase
xbase
xbase
xbase
true
6.454945
35
xbase
xbase
xbase
xbase
true
4.950285
36
xbase
xbase
xbase
xbase
true
3.520489
37
volt
volt
volt
volt
true
4.871368
38
volt
volt
volt
volt
true
4.956007
39
volt
volt
volt
volt
true
4.944086
40
volt
volt
volt
volt
true
4.914999
41
volt
volt
volt
volt
true
4.93598
42
volt
volt
volt
volt
true
3.795624
43
uno
uno
c-sharp
c-sharp
false
4.719734
44
uno
uno
uno
uno
true
3.465414
45
max
max
max
max
true
5.079746
46
max
max
max
max
true
5.095005
47
max
max
max
max
true
5.003691
48
max
max
max
max
true
5.060911
49
max
max
max
max
true
5.021095
50
max
max
max
max
true
5.017281
51
max
max
max
max
true
5.231619
52
max
max
max
max
true
5.200148
53
max
max
max
max
true
5.007982
54
max
max
max
max
true
5.204678
55
max
max
max
max
true
4.972219
56
max
max
max
max
true
5.195141
57
max
max
max
max
true
5.24354
58
max
max
max
max
true
5.226851
59
max
max
max
max
true
5.194426
60
max
max
max
max
true
6.153107
61
max
max
max
max
true
6.134272
62
max
max
max
max
true
6.082773
63
max
max
max
max
true
5.220652
64
max
max
max
max
true
5.208492
65
max
max
max
max
true
6.085873
66
max
max
max
max
true
5.209923
67
max
max
max
max
true
6.097794
68
max
max
max
max
true
5.195618
69
max
max
max
max
true
6.088018
70
max
max
max
max
true
5.234003
71
max
max
max
max
true
5.208492
72
max
max
max
max
true
6.093979
73
max
max
max
max
true
5.209208
74
max
max
max
max
true
5.169392
75
max
max
max
max
true
6.056309
76
max
max
max
max
true
5.179167
77
max
max
max
max
true
6.059885
78
max
max
max
max
true
5.191803
79
max
max
max
max
true
5.200863
80
max
max
max
max
true
5.227566
81
max
max
max
max
true
4.985809
82
max
max
max
max
true
5.164862
83
max
max
max
max
true
5.139112
84
max
max
max
max
true
4.970551
85
max
max
max
max
true
4.83346
86
io
io
io
io
true
2.939224
87
json5
json5
json5
json5
true
4.615545
88
json5
json5
json5
json5
true
4.683733
89
json5
json5
cucumber
cucumber
false
6.064892
90
json5
json5
cucumber
cucumber
false
6.085634
91
json5
json5
handlebars
handlebars
false
5.12743
92
json5
json5
json5
json5
true
4.868269
93
json5
json5
json5
json5
true
4.538536
94
rdoc
rdoc
rdoc
rdoc
true
4.382372
95
rdoc
rdoc
rdoc
rdoc
true
4.348516
96
rdoc
rdoc
rdoc
rdoc
true
4.6134
97
rdoc
rdoc
rdoc
rdoc
true
4.309416
98
rdoc
rdoc
rdoc
rdoc
true
27.861595
99
stan
stan
stan
stan
true
3.967524
End of preview.

PECAN per-fragment predictions

Per-fragment predictions on the official PECAN test split (9,179,661 fragments, 319 languages) for the 14 system configurations evaluated in the PECAN paper. These files make every reported number recomputable without rerunning any model, and let new systems be compared against these ones with paired significance tests.

Artifact repository (scoring code, results, instructions): https://anonymous.4open.science/r/pecan-benchmark Dataset: https://huggingface.co/datasets/pecan-anon/pecan-anon

Files

Files keep the folder layout read by the artifact's scripts/rescore_official.py. Each run folder has predictions/ (top-1) and, where available, topk_predictions/ (ranked top-10). All files are gzipped CSV and are read directly by the scoring scripts.

System Run folder
GraphCodeBERT-PECAN graphcodebert_pecan_official_test_top10_20260707/
CodeBERT-PECAN codebert_pecan_official_test_top10_20260704/
UniXcoder-PECAN unixcoder_pecan_official_test_top10_20260713/
XLM-RoBERTa-PECAN xlmroberta_pecan_official_test_top10_20260714/
Guesslang (retrained) guesslang_retrained_official_test_20260724/
SCC++ (RF), SCC++ (XGBoost), SCC (as shipped) scc_official_test_top10_20260816/
SCC (Naive Bayes, corrected) scc_corrected_official_test_top10_20260816/
GPT-OSS 120B (zero-shot) gptoss_official_test_top10_20260715/ (top-1); gptoss_official_topk_stratified/ (top-10, 500k language-stratified subset)
GitHub Linguist linguist_official_test_top10_20260629/
Guesslang (off the shelf) guesslang_official_test_top10_20260629/
highlight.js (pruned / common) highlightjs_official_test_pruned_top10_20260725/, highlightjs_official_test_common_top10_20260725/

Columns

Top-1 files (predictions/*.csv.gz): sample_idx (row index in the test split), language (true label), language_raw, prediction (the system's label), prediction_raw (raw tool output), correct, inference_time_ms.

Top-k files (topk_predictions/*.csv.gz): sample_idx, language, topk_labels_json (JSON list, best first), topk_scores_json, plus convenience columns (top1_label, top3_hit, top5_hit, topk_hit). highlight.js files store the ranking as columns top_1 to top_10.

prediction values are the systems' own outputs. Benchmark scores apply the reviewed alias table (for example c# to c-sharp) in the scoring scripts, never in these files, so correct reflects the raw match only. Use the artifact's scorers for reported numbers.

Usage

hf download pecan-anon/pecan-predictions --repo-type dataset \
  --include "graphcodebert*/*/predictions/*" --local-dir predictions
python3 scripts/score_predictions.py predictions/graphcodebert*/*/predictions/GraphCodeBERT-PECAN.csv.gz

scripts/rescore_official.py --eval-root predictions recomputes all 14 systems, and scripts/score_predictions.py my_predictions.csv --compare <file> runs McNemar's test against any of them.

License

CC BY 4.0. The files contain labels and predictions only, no source code.

Downloads last month
77