File size: 3,476 Bytes
ce0182f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
license: other
pretty_name: US Code Sparse GraphRAG
tags:
- legal
- us-code
- graphrag
- justicedao
- public-domain-us-government
configs:
- config_name: publicus-ir-graphrag/v2
  data_files:
  - split: train
    path: data/**/*.parquet
---

# US Code Sparse GraphRAG

Dataset repository: `justicedao/ipfs_uscode`

## Release profile

- Profile: `publicus-ir-graphrag/v2`
- Pinned source revision: `006dd603185b283c54648dd4aef3c2cbe650981a`
- Official release point: `us/pl/119/102`
- Embedding model: `thenlper/gte-small` @ `17e1f347d17fe144873b1201da91788898c639cd`
- Vector space: `gte-small@17e1f347d17fe144873b1201da91788898c639cd:d384:pool=mean:norm=l2`
- Primary key (default config): `entry_cid`

## Dataset configurations

The **default** configuration is viewer-safe v2 only. Recovery JSON and legacy monoliths are advertised as separate named configs and never contaminate the default Dataset Viewer schema.

- `publicus-ir-graphrag/v2` (default) — primary key `entry_cid`
  - Default viewer-safe v2 configuration.
  - Excludes recovery JSON and legacy uscode_parquet monoliths.

## Artifact layout

```text
README.md
manifest.json
release_metadata.json
dataset_configs.json
dataset_infos.json
data/corpus/part-*.parquet
data/bm25/documents/part-*.parquet
data/bm25/postings/part-*.parquet
data/vectors/centroid-*-part-*.parquet
data/graph/nodes/part-*.parquet
data/graph/edges/part-*.parquet
data/graph/adjacency/out/part-*.parquet
data/graph/adjacency/in/part-*.parquet
indexes/*
reports/admission.json
reports/quality.json
reports/reproducibility.json
reports/lineage.json   # verbose lineage (not control plane)
recovery/...          # quarantine config only
uscode_parquet/...    # legacy compatibility config only
```

## Control plane vs verbose lineage

The control plane consists of `manifest.json`, `release_metadata.json`, routing indexes, and compact admission/quality/reproducibility reports. Verbose per-row source lineage lives only in `reports/lineage.json` and is **not** mixed into Dataset Viewer configs or the release control plane.

## Currentness disclaimer

Acquisition and publication timestamps record when a package was retrieved or sealed; they are not a claim that the codified text is legally current as of wall-clock time. Retrieval output is a research aid and is not a substitute for the official source.

## Limitations

- Retrieval output is a research aid and is not a substitute for the official U.S. Code source.
- Acquisition and publication timestamps are not legal-currentness claims.
- Recovery quarantine rows are excluded from the default config and from corpus/BM25/vector/graph counts until normalized and admitted.
- Legacy uscode_parquet/* remains available only through the explicit compatibility configuration for one deprecation cycle.

## Integrity

Every artifact is descriptor-bound in `manifest.json` with relative path, media type, row count, byte count, SHA-256, schema identifier, and optional key range. Packaging is additive: legacy files are never deleted by this release builder.

Producer: `uscode_hf_release.py` (`USCIR-031` / `USCIR-G080`).


## Scrapers & normalizer
The scrapers and normalizer that produced this dataset are published in [justicedao/world_law_scrapers](https://huggingface.co/datasets/justicedao/world_law_scrapers) (canonical schema: `law_id, id, title, text, source_url, document_number, article_number, record_type, metadata_json`, matching endomorphosis/ipfs_malta_laws).