Datasets:
Download normalization_report.json from justicedao/ipfs_libya_laws_ir: direct link, hf CLI and curl.
- Browser
- Download file 6.32 kB
-
https://huggingface.co/datasets/justicedao/ipfs_libya_laws_ir/resolve/main/normalization_report.json
- Command line
-
hf download hf://datasets/justicedao/ipfs_libya_laws_ir/normalization_report.json
-
curl -L -o normalization_report.json https://huggingface.co/datasets/justicedao/ipfs_libya_laws_ir/resolve/main/normalization_report.json
6.32 kB
| { | |
| "source_dataset": "endomorphosis/ipfs_libya_laws", | |
| "source_revision": "3e5c1f3d66a40d1f4bba5d4a214e229300bc9cca", | |
| "laws_sha256": "86bb71f6caaa1c44a9f65ddce6aa6027eccab797affc3ce20a0384a0d59bfbbe", | |
| "articles_sha256": "cd69ce7cdbb3dbbf7397746cd78096f575e1e9a469bdee47562df7bb6c913151", | |
| "n_laws_in": 329, | |
| "n_articles_in": 4938, | |
| "unit": "law+structured", | |
| "article_law_coverage": 15.009118541033434, | |
| "sparse_article_fallback": false, | |
| "drops": { | |
| "empty_body": 0, | |
| "missing_instrument": 0, | |
| "duplicate_cid": 75, | |
| "duplicate_source_kept_first": 75 | |
| }, | |
| "drop_samples": { | |
| "empty_body": [], | |
| "missing_instrument": [], | |
| "duplicate_cid": [ | |
| "ly-cc-0219335dde1b7f-art-42", | |
| "ly-cc-0219335dde1b7f-art-43", | |
| "ly-cc-0219335dde1b7f-art-44", | |
| "ly-cc-0219335dde1b7f-art-5", | |
| "ly-cc-0219335dde1b7f-art-6", | |
| "ly-cc-0219335dde1b7f-art-7", | |
| "ly-cc-0219335dde1b7f-art-8", | |
| "ly-cc-0219335dde1b7f-art-9", | |
| "ly-cc-0219335dde1b7f-art-50", | |
| "ly-cc-0219335dde1b7f-art-51", | |
| "ly-cc-0219335dde1b7f-art-52", | |
| "ly-cc-0219335dde1b7f-art-53", | |
| "ly-cc-0219335dde1b7f-art-54", | |
| "ly-cc-0219335dde1b7f-art-55", | |
| "ly-cc-0219335dde1b7f-art-56", | |
| "ly-cc-0219335dde1b7f-art-57", | |
| "ly-cc-0219335dde1b7f-art-58", | |
| "ly-cc-0219335dde1b7f-art-59", | |
| "ly-cc-0219335dde1b7f-art-60", | |
| "ly-cc-0219335dde1b7f-art-61" | |
| ] | |
| }, | |
| "language_breakdown": { | |
| "ar": 6575, | |
| "en": 2175, | |
| "fr": 31 | |
| }, | |
| "quality_flags": { | |
| "articles_table_empty": false, | |
| "sparse_article_fallback": false, | |
| "article_law_coverage": 15.009118541033434, | |
| "all_source_article_counts_zero": false, | |
| "article_extraction_status_counts": { | |
| "missing": 56 | |
| }, | |
| "missing_date": false, | |
| "missing_date_issued": false, | |
| "eli_present": false, | |
| "never_invented_legal_text": true, | |
| "empty_bodies_dropped": 0, | |
| "duplicate_cids_dropped": 75 | |
| }, | |
| "schema_surprises": [ | |
| "laws.article_count dtype=int64", | |
| "laws.eli non-null=0/329", | |
| "laws.language values=['ar', 'en', 'fr']", | |
| "parent headings used for 31 instruments whose article rows were missing or thin" | |
| ], | |
| "n_out": 8781, | |
| "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": 31, | |
| "n_before_dedupe": 8856, | |
| "n_law_rows": 329, | |
| "n_child_rows": 8452, | |
| "n_instruments": 329, | |
| "n_dropped_total": 75, | |
| "record_type_breakdown": { | |
| "article": 6692, | |
| "section": 1760, | |
| "law": 329 | |
| }, | |
| "jurisdiction_breakdown": { | |
| "LY": 8781 | |
| }, | |
| "snapshot_dates": [ | |
| "2026-09-15", | |
| "2026-09-18", | |
| "2026-10-10" | |
| ], | |
| "heading_language_counts": { | |
| "en": 62 | |
| }, | |
| "heading_language_majority": "en", | |
| "document_language_majority": "ar", | |
| "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": 8781, | |
| "n_dropped": 75 | |
| } | |
| }, | |
| { | |
| "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": 8781, | |
| "n_with_tags": 2, | |
| "fraction": 0.0002277644915157727, | |
| "samples": [ | |
| "BT /F1 14.000 Tf ET\n%PDF-1.4\n%\n0.000 G\n1.000 g\n/GS1 gs\n0.567 w\n0 Tr\n[] 0 d\n3 0 obj\n<>\n/Contents 4 0 R>>\nendobj\n4 0 obj\n<", | |
| "BT /F1 14.000 Tf ET\n%PDF-1.4\n%\n0.000 G\n1.000 g\n/GS1 gs\n0.567 w\n0 Tr\n[] 0 d\n3 0 obj\n<>\n/Contents 4 0 R>>\nendobj\n4 0 obj\n<" | |
| ] | |
| } | |
| }, | |
| { | |
| "id": "short_bodies", | |
| "severity": "warn", | |
| "passed": true, | |
| "message": "most legal units have usable body length", | |
| "evidence": { | |
| "n_short": 139, | |
| "n_bodies": 8781, | |
| "fraction": 0.0158296321603462 | |
| } | |
| }, | |
| { | |
| "id": "parent_laws", | |
| "severity": "warn", | |
| "passed": true, | |
| "message": "parent instruments present (329 law rows from 329 source laws)", | |
| "evidence": { | |
| "n_laws_in": 329, | |
| "n_law_rows": 329 | |
| } | |
| }, | |
| { | |
| "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.96)", | |
| "evidence": { | |
| "unit": "law+structured", | |
| "structured_rows": 8452, | |
| "coverage": 0.9625327411456553 | |
| } | |
| }, | |
| { | |
| "id": "heading_language", | |
| "severity": "warn", | |
| "passed": true, | |
| "message": "heading lexicon majority is en but documents are ar; review samples before trusting structure", | |
| "evidence": { | |
| "document_language": "ar", | |
| "heading_language": "en", | |
| "heading_counts": { | |
| "en": 62 | |
| } | |
| } | |
| } | |
| ], | |
| "blocks_graphrag": false | |
| } | |
| } | |