Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
package_name: string
version: string
summary: string
github_url: string
github_owner: string
github_repo: string
last_upload: timestamp[s]
dependent_count: int64
counts: struct<edges: int64, metadata_rows: int64, packages: int64, repositories: int64>
child 0, edges: int64
child 1, metadata_rows: int64
child 2, packages: int64
child 3, repositories: int64
files: struct<packages_10k.json: struct<bytes: int64, sha256: string>, pypi_edges.jsonl: struct<bytes: int6 (... 74 chars omitted)
child 0, packages_10k.json: struct<bytes: int64, sha256: string>
child 0, bytes: int64
child 1, sha256: string
child 1, pypi_edges.jsonl: struct<bytes: int64, sha256: string>
child 0, bytes: int64
child 1, sha256: string
child 2, pypi_meta.jsonl: struct<bytes: int64, sha256: string>
child 0, bytes: int64
child 1, sha256: string
schema_version: string
kind: string
to
{'counts': {'edges': Value('int64'), 'metadata_rows': Value('int64'), 'packages': Value('int64'), 'repositories': Value('int64')}, 'files': {'packages_10k.json': {'bytes': Value('int64'), 'sha256': Value('string')}, 'pypi_edges.jsonl': {'bytes': Value('int64'), 'sha256': Value('string')}, 'pypi_meta.jsonl': {'bytes': Value('int64'), 'sha256': Value('string')}}, 'kind': Value('string'), 'schema_version': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, 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 127, 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 483, 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 2840, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, 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 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, 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 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
package_name: string
version: string
summary: string
github_url: string
github_owner: string
github_repo: string
last_upload: timestamp[s]
dependent_count: int64
counts: struct<edges: int64, metadata_rows: int64, packages: int64, repositories: int64>
child 0, edges: int64
child 1, metadata_rows: int64
child 2, packages: int64
child 3, repositories: int64
files: struct<packages_10k.json: struct<bytes: int64, sha256: string>, pypi_edges.jsonl: struct<bytes: int6 (... 74 chars omitted)
child 0, packages_10k.json: struct<bytes: int64, sha256: string>
child 0, bytes: int64
child 1, sha256: string
child 1, pypi_edges.jsonl: struct<bytes: int64, sha256: string>
child 0, bytes: int64
child 1, sha256: string
child 2, pypi_meta.jsonl: struct<bytes: int64, sha256: string>
child 0, bytes: int64
child 1, sha256: string
schema_version: string
kind: string
to
{'counts': {'edges': Value('int64'), 'metadata_rows': Value('int64'), 'packages': Value('int64'), 'repositories': Value('int64')}, 'files': {'packages_10k.json': {'bytes': Value('int64'), 'sha256': Value('string')}, 'pypi_edges.jsonl': {'bytes': Value('int64'), 'sha256': Value('string')}, 'pypi_meta.jsonl': {'bytes': Value('int64'), 'sha256': Value('string')}}, 'kind': Value('string'), 'schema_version': Value('string')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
AGGS GitHub structural corpus
This snapshot supports repository discovery and dependency-graph navigation without redistributing source content. Its manifest records the exact build ID, schema version, artifact hashes, byte sizes, row counts, and audited structural symbol count.
Contents
- canonical GitHub
owner/repositoryand PyPI package identifiers; - typed package/repository/native dependency relations and numeric evidence;
- repository-relative source paths;
- qualified symbol names and symbol kinds; and
- whitespace-normalized signatures capped at 1,024 UTF-8 bytes.
The graph is a PostgreSQL custom-format dump compressed with xz. The matching Tantivy search index is a zstd-compressed tar archive. A target-specific Rust query executable is the third artifact. The graph and index carry one build ID and graph schema version; mixing generations is rejected, and all three artifacts are SHA-256 verified.
Deliberate exclusions
The snapshot contains no source archives, source bodies or snippets, comments,
docstrings, README text, repository/package descriptions, copied license text,
or local archive paths. Archive availability is false. Consequently,
source-search and fetch are unavailable; use ordinary search for structural
facts and obtain source separately under its repository's terms when needed.
Sources and licensing boundary
The catalog combines generated dependency data from deps.dev's public BigQuery tables, PyPI package metadata, GitHub public-repository metadata, and structural facts extracted from public repositories. deps.dev documents its generated data under CC BY 4.0; that license does not relicense fields originating from PyPI, GitHub, or repositories. GitHub public visibility likewise does not place repository content in the public domain.
The snapshot therefore does not claim one blanket copyright license over all identifiers or declarations. Its paths, names, kinds, and signatures are provided as structural/API facts under the applicable source terms and law. The signature allowance is a product risk decision, not legal advice or a conclusion for every jurisdiction. Users who retrieve source must comply with the corresponding repository license.
Primary provenance references:
- https://docs.deps.dev/faq/
- https://docs.deps.dev/bigquery/v1/#data
- https://cloud.google.com/bigquery/public-data
- https://docs.github.com/en/site-policy/github-terms/github-terms-of-service
Verification and installation
The release pipeline first runs github_structure_audit.py over the five-field
JSONL stream, then github_snapshot.py rejects incomplete or non-structural
builds, prose/archive leakage, mixed identities, and count mismatches before it
writes manifest.json. Install with:
bnbcode research install --code --execute
The installer verifies both SHA-256 hashes, graph row counts, build/profile
identity, and archive paths/symlinks before atomically placing the index and
writing ~/.config/opencode/arxiv_graph.env discovery settings.
Rebuilding from scratch
The builder/ directory holds the acquisition-time metadata inputs for
recreating this corpus without BigQuery or the GitHub search API: the
package/repository catalog, the PyPI dependency edges, and the PyPI package
metadata export. These are public registry facts, not source content.
aggs/scripts/github_build_from_scratch.py stages them, shallow-clones every
catalogued public repository, extracts native dependency evidence, runs the
closed-schema structural extractor and independent audit, and builds the same
graph schema and structural profile as this snapshot. Because cloning observes
current default-branch HEADs, a fresh build matches this snapshot's structure
and pipeline but not necessarily its exact rows where repositories have moved
or disappeared. Source is fetched directly from each repository under that
repository's license.
Current snapshot
| Snapshot date | Repositories | Packages | Graph edges | Artifact bytes | Backend target |
|---|---|---|---|---|---|
| 2026-08-19 | 52,520 | 509,232 | 2,468,590 | 1,580,778,877 | linux-x64 |
Build ID: 1787128807-160c21c9d3c3dc41. See manifest.json for artifact hashes,
individual byte sizes, table counts, and graph schema version.
Builder inputs
| Repositories | PyPI edges | Metadata rows | Builder bytes |
|---|---|---|---|
| 47,272 | 2,250,939 | 38,542 | 367,477,631 |
The builder/ directory contains the repository catalog and PyPI dependency
exports needed to rebuild this corpus from scratch by cloning the catalogued
repositories. See builder/manifest.json for hashes and the dataset card
body for the rebuild procedure.
- Downloads last month
- -