Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Expected object or value
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 291, in _generate_tables
                  pa_table = paj.read_json(
                      io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
                  )
                File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3052, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2559, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2584, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 306, in _generate_tables
                  batch = json_encode_fields_in_json_lines(original_batch, json_field_paths)
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 111, in json_encode_fields_in_json_lines
                  examples = [ujson_loads(line) for line in original_batch.splitlines()]
                              ~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value

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.

Joern C++ GitHub 300: source inventory

A research inventory for testing C++ parser and source-CFG tooling. It records 300 distinct public GitHub repositories and 578 selected C++ source files, plus two repositories where selection found no suitable file. Source files are not redistributed: manifest.json records exact repository commits, upstream paths, Git blob hashes, SHA-256 hashes, raw source URLs, and GitHub-reported repository SPDX identifiers. The repository-level SPDX value is discovery metadata, not a file-level licensing determination. Review each upstream project and file before downloading or redistributing it.

This is an unqualified source inventory, not a benchmark leaderboard, a verified CFG oracle, a dataset of compilable translation units, or a claim of standard/version coverage. Source files are selected from public GitHub repository search results stratified by project creation date and a compiler topic query. Rankings and API availability introduce selection bias. The original Ninja, Snappy and double-conversion corpora were excluded. GitHub tree truncation is recorded; the largest-file choice applies only to the returned eligible tree, not necessarily the whole repository. Two entries may point to the same project if upstream projects have copied sources; distinct repositories do not prove independent codebases.

Per repository, the selection favors a non-vendored C++ implementation file and, where different, the largest eligible implementation file between 256 bytes and 200,000 bytes. It is a discovery sample rather than a curated set of representative whole projects. Search queries, unsuccessful selection, exact commits and hashes are preserved in the manifest. GNU/C++ standard, actual build flags, generated headers, dependencies, source ownership, license exceptions and target configuration have not been established. Projects may change or disappear; immutable commit URLs and hashes provide verification when still available.

The local initial diagnostic ran Rust-Joern in strict mode against raw files. Such files often require headers and macro expansion, so rejections do not measure parser quality. A separate standalone Clang C++17 qualification was attempted on all 578 files: 564 were rejected or lacked build context; 8 compiler-accepted files were rejected by Rust-Joern after preprocessing, and 6 produced no functions. Details and limited owner-only diagnostics are in diagnostic-summary.json. Neither that setting nor a successful parse proves the original project's build mode or CFG correctness. Original Joern and trustworthy compiler-backed CFG comparisons are future work.

Selection and run tooling: https://github.com/sjkim1127/joern-c-cpp-corpus . The initial tooling is pinned at commit 27fe5ea in that repository. No source file contents or compiler-generated/preprocessed files are uploaded in this dataset.

Downloads last month
42