ipfs_armenia_laws_ir / normalization_report.json
endomorphosis's picture
Add files using upload-large-folder tool
07ed893 verified
Raw History Blame Contribute Delete
5.77 kB
{
"source_dataset": "endomorphosis/ipfs_armenia_laws",
"source_revision": "dc754b3a1696d8da009e30fda704288719a8761c",
"laws_sha256": "ba3e9a9d40d178c68ae0ed7aa9113405f1a5343b11cf00c5faf21e2964bc58b8",
"articles_sha256": "a18e690b9205a05848cf83585d4e63bb4eb2118aee0fc0117a024960cc7a4fbb",
"n_laws_in": 342,
"n_articles_in": 16679,
"unit": "law+structured",
"article_law_coverage": 48.76900584795322,
"sparse_article_fallback": false,
"drops": {
"empty_body": 0,
"missing_instrument": 0,
"duplicate_cid": 73,
"duplicate_source_kept_first": 73
},
"drop_samples": {
"empty_body": [],
"missing_instrument": [],
"duplicate_cid": [
"am-100765-section-1",
"am-100765-section-1",
"am-100765-section-1",
"am-100765-section-1",
"am-100912-section-2",
"am-101039-section-1",
"am-101039-section-2",
"am-101039-section-2",
"am-101162-section-1",
"am-101525-article-1",
"am-101525-article-1",
"am-101592-section-1",
"am-101592-section-1",
"am-101592-section-1",
"am-101592-section-1",
"am-101592-section-1",
"am-101592-section-1",
"am-101592-section-1",
"am-101592-section-13",
"am-101592-section-14"
]
},
"language_breakdown": {
"hy": 27460
},
"quality_flags": {
"articles_table_empty": false,
"sparse_article_fallback": false,
"article_law_coverage": 48.76900584795322,
"all_source_article_counts_zero": false,
"article_extraction_status_counts": {},
"missing_date": true,
"missing_date_issued": true,
"eli_present": false,
"never_invented_legal_text": true,
"empty_bodies_dropped": 0,
"duplicate_cids_dropped": 73
},
"schema_surprises": [
"laws.article_count dtype=int64",
"laws.date is entirely null",
"laws.date_issued is entirely null",
"laws.eli non-null=0/342",
"laws.language values=['hy']",
"parent headings used for 145 instruments whose article rows were missing or thin"
],
"n_out": 27460,
"never_invented_legal_text": true,
"n_reconstructed_parents": 0,
"n_reconstructed_truncated": 0,
"n_reconstructed_stubs": 0,
"n_empty_parents_with_articles_not_reconstructed": 0,
"n_thin_instruments_replaced": 145,
"n_before_dedupe": 27533,
"n_law_rows": 342,
"n_child_rows": 27118,
"n_instruments": 342,
"n_dropped_total": 73,
"record_type_breakdown": {
"article": 18768,
"section": 8350,
"law": 342
},
"jurisdiction_breakdown": {
"AM": 27460
},
"snapshot_dates": [
"2026-09-04"
],
"heading_language_counts": {
"hy": 84
},
"heading_language_majority": "hy",
"document_language_majority": "hy",
"verification": {
"schema_version": "country-laws-normalize-verify/v1",
"slug": "",
"admitted": true,
"n_checks": 10,
"n_failed": 0,
"failed_ids": [],
"checks": [
{
"id": "nonempty_corpus",
"severity": "fail",
"passed": true,
"message": "normalized corpus has rows",
"evidence": {
"n_out": 27460,
"n_dropped": 73
}
},
{
"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": 27460,
"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": 285,
"n_bodies": 27460,
"fraction": 0.010378732702112163
}
},
{
"id": "parent_laws",
"severity": "warn",
"passed": true,
"message": "parent instruments present (342 law rows from 342 source laws)",
"evidence": {
"n_laws_in": 342,
"n_law_rows": 342
}
},
{
"id": "reconstruction_grounded",
"severity": "fail",
"passed": true,
"message": "reconstructed parents match child glue",
"evidence": {
"checked": 0,
"mismatches": 0,
"samples": []
}
},
{
"id": "empty_parents_with_articles",
"severity": "fail",
"passed": true,
"message": "eligible empty parents all have law rows",
"evidence": {
"n_empty_parents_with_articles_not_reconstructed": 0
}
},
{
"id": "legal_structure",
"severity": "warn",
"passed": true,
"message": "retrieval units are structured (law+structured, coverage=0.99)",
"evidence": {
"unit": "law+structured",
"structured_rows": 27118,
"coverage": 0.9875455207574654
}
},
{
"id": "heading_language",
"severity": "warn",
"passed": true,
"message": "heading lexicon hy vs document language hy",
"evidence": {
"document_language": "hy",
"heading_language": "hy",
"heading_counts": {
"hy": 84
}
}
}
],
"blocks_graphrag": false
}
}