ipfs_canada_laws / PACK_META.json
endomorphosis's picture
Append CA-BC (BC Laws consolidated Acts+Regulations, King's Printer Licence BC v1.1; NOT AN OFFICIAL VERSION)
cecb39f verified
Raw History Blame Contribute Delete
5.91 kB
{
"repo": "endomorphosis/ipfs_canada_laws",
"base_tip": "7e8066f09c8cdef1fbadad34ea8e35585828e8a0",
"staged_at": "2026-10-01T14:55:43-0700",
"uploaded": true,
"method": "append-only: federal rows first and byte-for-byte unchanged in value; provincial/territorial rows appended (jurisdiction CA-<PROV>)",
"append_order": [
"ON",
"NS",
"NB",
"NT",
"NU"
],
"held_out_local_only": [
"CA-MB",
"CA-SK"
],
"subnational_laws_added": {
"ON": 3073,
"NS": 1934,
"NB": 1098,
"NT": 808,
"NU": 619
},
"subnational_articles_added": {
"ON": 66681,
"NS": 35974,
"NB": 31615,
"NT": 22731,
"NU": 18340
},
"never_thin": {
"live_tip": "7e8066f09c8cdef1fbadad34ea8e35585828e8a0",
"tip_unchanged": true,
"laws_sha256_live": "0b7441df0da4502be55b2ec1fa6cc3af29ecf0075c813f63aa530008b6f6a78d",
"laws_sha256_snapshot": "0b7441df0da4502be55b2ec1fa6cc3af29ecf0075c813f63aa530008b6f6a78d",
"laws_snapshot_matches_live": true,
"laws_sha256_staged": "88a6777cc3ee5cbac23aa95053585f07c01935146d794c013a6a7007addb7fc0",
"articles_sha256_live": "99d5b3e50611ede15692ec5edf0373e4594c2281825c124f097bf23f7eec60f3",
"articles_sha256_snapshot": "99d5b3e50611ede15692ec5edf0373e4594c2281825c124f097bf23f7eec60f3",
"articles_snapshot_matches_live": true,
"articles_sha256_staged": "3ea625f2007c259da1a6c2dd7bc1b5decc5c590a4db4d1bbee8346cf9b2db735",
"files_removed": [],
"files_added": [
"scrapers/ca_build.py",
"scrapers/ca_collect.py",
"scrapers/ca_parse.py",
"scrapers/ca_stage_and_check.py"
],
"laws": {
"old_rows": 11676,
"new_rows": 19208,
"old_rows_compared": 11676,
"old_row_field_mismatches": 0,
"mismatch_columns": {},
"old_ids_missing": 0,
"unique_ids_before": 11676,
"unique_ids_after": 19208,
"duplicate_ids_after": 0,
"duplicate_ids_before": 0,
"new_duplicate_ids": 0,
"schema_equal": true
},
"articles": {
"old_rows": 267570,
"new_rows": 442911,
"old_rows_compared": 267570,
"old_row_field_mismatches": 0,
"mismatch_columns": {},
"old_ids_missing": 0,
"unique_ids_before": 267568,
"unique_ids_after": 442909,
"duplicate_ids_after": 2,
"duplicate_ids_before": 2,
"new_duplicate_ids": 0,
"schema_equal": true
},
"id_collisions_skipped": {
"laws": 0,
"articles": 0
},
"post": {
"article_count_mismatch_laws": 0,
"article_count_mismatch_sample": [],
"orphan_articles": 0,
"per_jurisdiction": {
"CA": {
"laws": 11676,
"articles": 267570,
"federal_laws": 11676,
"federal_articles": 267570,
"federal_zero_article_laws": 2560,
"zero_article_laws": 2560,
"text_under_200_chars": 887
},
"CA-NB": {
"laws": 1098,
"articles": 31615,
"regulation_laws": 676,
"regulation_articles": 11459,
"regulation_zero_article_laws": 1,
"statute_laws": 422,
"statute_articles": 20156,
"zero_article_laws": 1,
"text_under_200_chars": 1
},
"CA-NS": {
"laws": 1934,
"articles": 35974,
"regulation_laws": 1348,
"regulation_articles": 16853,
"regulation_zero_article_laws": 462,
"statute_laws": 586,
"statute_articles": 19121,
"zero_article_laws": 462,
"text_under_200_chars": 0
},
"CA-NT": {
"laws": 808,
"articles": 22731,
"statute_laws": 239,
"statute_articles": 12533,
"regulation_laws": 569,
"regulation_articles": 10198,
"regulation_zero_article_laws": 3,
"zero_article_laws": 3,
"text_under_200_chars": 15
},
"CA-NU": {
"laws": 619,
"articles": 18340,
"statute_laws": 223,
"statute_articles": 11042,
"regulation_laws": 396,
"regulation_articles": 7298,
"statute_zero_article_laws": 2,
"regulation_zero_article_laws": 7,
"zero_article_laws": 9,
"text_under_200_chars": 21
},
"CA-ON": {
"laws": 3073,
"articles": 66681,
"regulation_laws": 2217,
"regulation_articles": 34842,
"statute_laws": 856,
"statute_articles": 31839,
"zero_article_laws": 0,
"text_under_200_chars": 10
}
}
},
"PASS": true
},
"uploaded_at": "2026-10-01T14:58:13-0700",
"upload_parent_commit": "7e8066f09c8cdef1fbadad34ea8e35585828e8a0",
"ca_bc_append_20261026": {
"method": "append-only; prior 19,208 laws / 442,911 articles row groups copied unchanged; CA-BC appended last",
"laws_added": 2895,
"articles_added": 53910,
"build_stats": {
"excl_pdf_forms_schedules": 491,
"excl_ancillary_xsl:stylesheet": 15,
"excl_ancillary_xsd:schema": 7,
"excl_ancillary_none": 11,
"excl_ancillary_x:xmpmeta": 1,
"excl_ancillary_html": 1,
"excl_xsl_xsd": 6,
"excl_asset": 2331,
"fixed_mojibake": 3613,
"repealed": 14,
"kept_act": 1067,
"excl_stub_note_only": 1107,
"excl_sha_dup": 132,
"mojibake_unfixed": 3,
"kept_reg": 1828,
"excl_ancillary_tlc": 1849,
"excl_ancillary_ht": 493,
"excl_ancillary_act_pit": 692,
"excl_ancillary_reg_pit": 1913,
"excl_html_toc": 40,
"excl_multi_combined_dup_of_parts": 39,
"laws_added": 2895,
"articles_added": 53910,
"unique_doc_ids_in": 12023
},
"licence": "King's Printer Licence – BC v1.1",
"robots_disallowed": true,
"builder": "scripts/ca_bc_hub_build_20261026.py"
}
}