{ "schema_version": "country-laws-ir-graphrag/v1", "layout_family": "skillcenter-huggingface-release/v3", "packager_version": "0.5.0", "primary_key": "entry_cid", "dataset_id": "endomorphosis/ipfs_estonia_laws", "dataset_repo_id": "justicedao/ipfs_estonia_laws_ir", "dataset_revision": "902b122cd27eed93e96c28a0ba5a70e9cb36ab7d", "country": { "slug": "estonia", "repo": "endomorphosis/ipfs_estonia_laws", "name": "Estonia", "indexable": true }, "disclaimer": "Research snapshot. Not legal advice. The official gazette / authentic source prevails.", "bm25": { "k1": 1.2, "b": 0.75, "title_weight": 5.0, "body_weight": 1.0, "average_document_length": 214.82698850869872, "tokenizer": "hf-graphrag-bm25-tokens/v1", "max_query_terms": 64, "posting_rows_per_record": 4096, "terms_per_shard": 4096 }, "counts": { "bm25_document_chunks": 16, "bm25_documents": 62308, "bm25_keyword_shards": 53, "bm25_posting_rows": 215220, "bm25_postings": 5811140, "bm25_terms": 214840, "corpus_chunks": 16, "corpus_rows": 62308, "graph_edge_chunks": 0, "graph_edges": 498464, "graph_incoming_adjacency_edges": 0, "graph_incoming_adjacency_rows": 0, "graph_incoming_adjacency_shards": 0, "graph_node_chunks": 0, "graph_nodes": 75024, "graph_outgoing_adjacency_edges": 0, "graph_outgoing_adjacency_rows": 0, "graph_outgoing_adjacency_shards": 0, "vector_chunks": 16, "vector_rows": 62308, "n_laws": 0, "n_articles": 62308, "bm25_token_instances": 13385440 }, "parquet": { "compression": "zstd", "compression_level": 6, "max_rows_per_file": 4096, "row_group_size": 4096, "query_engine": "duckdb" }, "graph": { "adjacency_pointers_per_row": 4096, "adjacency_pointers_per_shard": 8192, "directions": [ "incoming", "outgoing" ], "max_remote_walk_depth": 8, "ordering": "score_desc_nulls_last", "edge_types": [ "HAS_JURISDICTION", "HAS_LANGUAGE", "BELONGS_TO_LAW", "HAS_ARTICLE", "BM25_NEIGHBOR_OF" ] }, "vector": { "model_name": "thenlper/gte-small", "dimension": 384, "similarity": "cosine", "assignment": "recursive_spherical_kmeans", "layout": "semantic_centroid_groups", "rows_sorted_by": "cosine_similarity_to_shard_centroid_desc", "max_rows_per_chunk": 4096, "max_rows_per_centroid": 8192, "max_shards_per_centroid": 2, "default_probe_centroids": 4, "centroid_count": 23, "shard_count": 23, "n_vectors": 62308, "status": "embedded" }, "canonical_fields": [ "entry_cid", "law_cid", "record_type", "jurisdiction", "language", "instrument_id", "instrument_title", "article_number", "article_title", "title", "body", "source_url", "snapshot_date", "coverage", "license", "collector", "source_dataset", "source_revision" ], "input_sha256": { "laws.parquet": "e4f3b3dfef5d79afc51de8a85d91db123cff5a41b7c389e65e5baa5cd50a1d50", "articles.parquet": "8a941191bde22bc8eb984637c1a5dbbbbea3ca550676afb298450aa0957dc364" }, "model_id": "thenlper/gte-small", "cid": { "codec": "raw", "hash": "sha2-256", "multibase": "base32", "payload": "json.dumps(obj, sort_keys=True, ensure_ascii=False, separators=(',', ':')).encode('utf-8')" }, "normalization": { "source_dataset": "endomorphosis/ipfs_estonia_laws", "source_revision": "902b122cd27eed93e96c28a0ba5a70e9cb36ab7d", "laws_sha256": "e4f3b3dfef5d79afc51de8a85d91db123cff5a41b7c389e65e5baa5cd50a1d50", "articles_sha256": "8a941191bde22bc8eb984637c1a5dbbbbea3ca550676afb298450aa0957dc364", "n_laws_in": 3484, "n_articles_in": 62308, "unit": "article", "article_law_coverage": 17.884041331802525, "sparse_article_fallback": false, "drops": { "empty_body": 0, "missing_instrument": 0, "duplicate_cid": 0, "duplicate_source_kept_first": 0 }, "drop_samples": { "empty_body": [], "missing_instrument": [], "duplicate_cid": [] }, "language_breakdown": { "et": 62308 }, "quality_flags": { "articles_table_empty": false, "sparse_article_fallback": false, "article_law_coverage": 17.884041331802525, "all_source_article_counts_zero": false, "article_extraction_status_counts": { "missing": 306, "ok": 3178 }, "missing_date": false, "missing_date_issued": true, "eli_present": true, "never_invented_legal_text": true, "empty_bodies_dropped": 0, "duplicate_cids_dropped": 0 }, "schema_surprises": [ "laws.article_count dtype=int32", "laws.date_issued is entirely null", "laws.eli non-null=3484/3484", "laws.language values=['et']" ], "n_out": 62308, "never_invented_legal_text": true, "n_before_dedupe": 62308, "n_dropped_total": 0, "record_type_breakdown": { "article": 62308 }, "jurisdiction_breakdown": { "EE": 62308 }, "snapshot_dates": [ "2026-09-02" ], "heading_language_counts": {}, "heading_language_majority": null, "document_language_majority": "et", "verification": { "schema_version": "country-laws-normalize-verify/v1", "slug": "", "admitted": true, "n_checks": 7, "n_failed": 0, "failed_ids": [], "checks": [ { "id": "nonempty_corpus", "severity": "fail", "passed": true, "message": "normalized corpus has rows", "evidence": { "n_out": 62308, "n_dropped": 0 } }, { "id": "entry_cid_unique", "severity": "fail", "passed": true, "message": "every row has a unique entry_cid", "evidence": { "missing": 0, "empty": 0, "duplicate": 0 } }, { "id": "never_invented_legal_text", "severity": "fail", "passed": true, "message": "normalizer did not invent legal text", "evidence": { "never_invented_legal_text": true } }, { "id": "html_residual", "severity": "fail", "passed": true, "message": "HTML tags stripped from legal bodies", "evidence": { "n_bodies": 62308, "n_with_tags": 0, "fraction": 0.0, "samples": [] } }, { "id": "short_bodies", "severity": "warn", "passed": true, "message": "most legal units have usable body length", "evidence": { "n_short": 9, "n_bodies": 62308, "fraction": 0.00014444373114206842 } }, { "id": "legal_structure", "severity": "warn", "passed": true, "message": "retrieval units are structured (article, coverage=1.00)", "evidence": { "unit": "article", "structured_rows": 62308, "coverage": 1.0 } }, { "id": "heading_language", "severity": "warn", "passed": true, "message": "heading lexicon none vs document language et", "evidence": { "document_language": "et", "heading_language": "", "heading_counts": {} } } ], "blocks_graphrag": false } }, "schema_mapping": { "laws": { "id": "instrument_id", "title": "instrument_title", "text": "body", "article_count_dtype_source": "int32" }, "articles": { "id": "source_id / article identity", "law_id": "instrument_id", "title": "article_title", "text": "body" }, "unit_policy": "prefer articles; fall back to law-level when articles empty", "required_law_columns": [ "id", "title", "text" ], "required_article_columns": [ "id", "law_id", "title", "text" ], "fail_closed": true, "notes": "Malta and Germany share the same column names. Drift: Malta article_count is int64, Germany article_count is int32; Germany eli is often null. Identifiers are never invented. Layout matches SkillCenter HF release / publicus-ir family." }, "indexes": { "bm25_document_chunks": { "cid": "bafkreibtvfyo7nknjdypnlsjlwdm5lwrjlu7jzt6rlwccbybvnwu2evtti", "sha256": "33a970efb54d48f0f6ae495d86ceaed14ae9f4e67e8aec210701ab6d4d12b39a", "size_bytes": 6896, "relative_path": "indexes/bm25_document_chunks.parquet" }, "bm25_keyword_shards": { "cid": "bafkreidkadhox6lkdxwvokpq3ylxsl2gkkteg4drdw6x56n36y2afikkau", "sha256": "6a00ceebf96a1ded5729f0de17792f4652a64370711dbd7ef9bbf63402a14a05", "size_bytes": 10222, "relative_path": "indexes/bm25_keyword_shards.parquet" }, "corpus_chunks": { "cid": "bafkreic4o7exstjhdyq3jjgbjfkjbdstzaf6erk4lih6tv36gih53jhcua", "sha256": "5c77c9794d271e21b4a4c14954908e53c80be2455c5a0fe9d77e320fdda4e2a0", "size_bytes": 10976, "relative_path": "indexes/corpus_chunks.parquet" }, "graph_edge_chunks": { "cid": "bafkreic3c4bprpyhstmx3cdv7xmdtdewypybwuxgbhordw7peuv5mwb4nq", "sha256": "5b1702f8bf0794d97d8875fdd8398c96c3f01b52e609dd11dbef252bd6583c6c", "size_bytes": 26899, "relative_path": "indexes/graph_edge_chunks.parquet" }, "graph_incoming_adjacency": { "relative_path": "indexes/graph_incoming_adjacency.parquet", "present": false }, "graph_node_chunks": { "cid": "bafkreid4igzoojmlliuutqz53naj2em5clzbicywapjo5a3vv6rv5lvb4a", "sha256": "7c41b2e7258b5a2949c33ddb409d119d12f2140b1603d2ee8375afa35eaea1e0", "size_bytes": 8146, "relative_path": "indexes/graph_node_chunks.parquet" }, "graph_outgoing_adjacency": { "relative_path": "indexes/graph_outgoing_adjacency.parquet", "present": false }, "vector_chunks": { "cid": "bafkreihqfqzp2opag57o7ttuvldp4x6o7tnrhsozbwqinnzda4l5656jmi", "sha256": "f02c32fd39e0377eefce74aac6fe5fcefcdb13c9d90da086b7230717df77c962", "size_bytes": 89080, "relative_path": "indexes/vector_chunks.parquet" } }, "source": { "source_dataset": "endomorphosis/ipfs_estonia_laws", "source_revision": "902b122cd27eed93e96c28a0ba5a70e9cb36ab7d", "laws_path": "/home/barberb/.ipfs_datasets/country-laws-ir/cache/hf/datasets--endomorphosis--ipfs_estonia_laws/snapshots/902b122cd27eed93e96c28a0ba5a70e9cb36ab7d/data/laws.parquet", "articles_path": "/home/barberb/.ipfs_datasets/country-laws-ir/cache/hf/datasets--endomorphosis--ipfs_estonia_laws/snapshots/902b122cd27eed93e96c28a0ba5a70e9cb36ab7d/data/articles.parquet", "laws_sha256": "e4f3b3dfef5d79afc51de8a85d91db123cff5a41b7c389e65e5baa5cd50a1d50", "articles_sha256": "8a941191bde22bc8eb984637c1a5dbbbbea3ca550676afb298450aa0957dc364", "n_laws_source": 3484, "n_articles_source": 62308, "laws_columns": [ "id", "title", "text", "source_url", "source_type", "jurisdiction", "country", "language", "eli", "date", "date_issued", "retrieved_at", "license", "law_status", "identifier", "official_identifier", "article_count", "json_path", "metadata_json" ], "articles_columns": [ "law_id", "id", "title", "text", "source_url", "document_number", "article_number", "record_type", "metadata_json" ], "article_count_dtype": "int32", "schema_surprises": [ "laws.article_count dtype=int32", "laws.date_issued is entirely null", "laws.eli non-null=3484/3484", "laws.language values=['et']" ] }, "incremental": { "kind": "full_rebuild", "mode": "auto", "reason": "operator forced full rebuild", "source_revision": "902b122cd27eed93e96c28a0ba5a70e9cb36ab7d", "prior_revision": "902b122cd27eed93e96c28a0ba5a70e9cb36ab7d", "source_fingerprint": "902b122cd27eed93e96c28a0ba5a70e9cb36ab7d|e4f3b3dfef5d79afc51de8a85d91db123cff5a41b7c389e65e5baa5cd50a1d50|8a941191bde22bc8eb984637c1a5dbbbbea3ca550676afb298450aa0957dc364", "prior_fingerprint": "902b122cd27eed93e96c28a0ba5a70e9cb36ab7d||", "delta": { "n_added": 894, "n_removed": 894, "n_unchanged": 61414, "prior_count": 62308, "current_count": 62308, "changed_ratio": 0.01434807729344545, "equivalent_to_full": false, "added_cids_sample": [ "bafkreia3f5xiboshl445hv5dnq7zfbqh2v4zf6hxznxb4auf7hxlaxau6u", "bafkreia3jxq4ykekrtkspnuxpoofnrxahjpuslnudn6zh725xhpj3qjmtu", "bafkreia3r4udpnxnnoiyblu2gbeb55els34ym5jvdsw2fjor5ty2wxoy2q", "bafkreia3w7afdjs532xsnwk6r2ujsdglhfdkjyhroewq4eqecno3zqzrwy", "bafkreia43qvv6pbdqesxcaoz3gucxnrdnsraol27ocvka3mdytijyldln4", "bafkreia5muq2fxvzji3x5v3tt3glbp27b4dz25uix2hrvebjf3uydcti6e", "bafkreia5ws2czueaqhm56k74humr7tnokbtcxrh4smfqkop5vpk3dbhrsq", "bafkreia666t4y3czhfvludqnanlzficg6cxixpyzd6jepvieeww2miqk2i" ], "removed_cids_sample": [ "bafkreia2hgq4eeux7h76d6qxywi3y5dgunfjyisip55l3vh5rwuyl5vl2m", "bafkreia2nqsrulfx3xjbmfr5wsr3rg3xn6zfgueut2gg2ytjdx24ff6gha", "bafkreia3evx33jfi6ao5rojkkqbjdffrvb32qscmnjxksp6yyxhim5nxfi", "bafkreia3hvc522s7gijzebqgoq4dfvqf7khavkeswum4k5qafuse7hnow4", "bafkreia3nknr6jk7ugl5tqsroqrehslofqyyschfpwdcxpa74icvdet4mm", "bafkreia3uahoz36g7on46f47qbxq43afrg3v5j2xcuauak5esgv6ijojgy", "bafkreia42n5u43jpmuckm4kea2nnray5g6bamnt2oox4dyp2ps6eaybnxy", "bafkreia4kevfc2hznlov3l3ezsifgowsbnfs4habypgr6f3l7rnuuklwxy" ] }, "reuse_embeddings": false, "skip_build": false, "equivalent_to_full": true, "schema_version": "country-laws-ir-graphrag/v1", "vectors": { "n_docs": 62308, "n_reused": 0, "n_encoded": 62308, "n_missing": 0, "model_name": "thenlper/gte-small", "model_revision": "17e1f347d17fe144873b1201da91788898c639cd", "dimension": 384, "status": "merged", "device": "cuda", "device_fallback": false } }, "sparse": { "engine": "hf_graphrag", "schema_version": "country-laws-ir-graphrag/v1", "bm25": { "bm25": { "average_document_length": 214.82698850869872, "b": 0.75, "body_weight": 1.0, "k1": 1.2, "max_query_terms": 64, "posting_rows_per_record": 4096, "terms_per_shard": 4096, "title_weight": 5.0, "tokenizer": "hf-graphrag-bm25-tokens/v1" }, "configs": { "bm25_documents": "data/bm25/documents/*.parquet", "bm25_postings": "data/bm25/postings/*.parquet", "bm25_keyword_index": "indexes/bm25_keyword_shards.parquet" }, "counts": { "bm25_document_chunks": 16, "bm25_documents": 62308, "bm25_keyword_shards": 53, "bm25_posting_rows": 215220, "bm25_postings": 5811140, "bm25_terms": 214840, "bm25_token_instances": 13385440 }, "indexes": { "bm25_document_chunks": { "cid": "bafkreibtvfyo7nknjdypnlsjlwdm5lwrjlu7jzt6rlwccbybvnwu2evtti", "relative_path": "indexes/bm25_document_chunks.parquet", "row_count": 16, "sha256": "33a970efb54d48f0f6ae495d86ceaed14ae9f4e67e8aec210701ab6d4d12b39a", "size_bytes": 6896 }, "bm25_keyword_shards": { "cid": "bafkreidkadhox6lkdxwvokpq3ylxsl2gkkteg4drdw6x56n36y2afikkau", "relative_path": "indexes/bm25_keyword_shards.parquet", "row_count": 53, "sha256": "6a00ceebf96a1ded5729f0de17792f4652a64370711dbd7ef9bbf63402a14a05", "size_bytes": 10222 } }, "schema_version": "hf-graphrag-bm25-layout/v1" }, "graph": { "node_count": 75024, "edge_count": 498464, "adjacency": "data/graph/adjacency/{out,in}/*.parquet" }, "sqlite": false, "query_engine": "duckdb" } }