endomorphosis commited on
Commit
ea00a46
·
verified ·
1 Parent(s): 11d7fcf

Bermuda catalog deepen batch 2: 334 laws / 12,076 articles

Browse files
Files changed (4) hide show
  1. MANIFEST.md +21 -20
  2. README.md +13 -5
  3. data/articles.parquet +2 -2
  4. data/laws.parquet +2 -2
MANIFEST.md CHANGED
@@ -1,32 +1,33 @@
1
  # ipfs_bermuda_laws manifest
2
 
3
- generated_utc: 2026-09-25T20:19:21Z
4
  cc: bm
5
- laws_rows: 234
6
- articles_rows: 9728
7
- laws_bytes: 3396860
8
- articles_bytes: 4027728
9
- laws_sha256: 75c5ed95cedc98019240f8e7243830e3e82f6c684c54c9d80cf9df015086d7bb
10
- articles_sha256: d52ab2d624c917a5885fe2233db17616a983bd551f5d764bc138d27db8090931
11
- laws_parquet: /workspace/legal-corpora/hf-staging/ipfs_bermuda_laws/data/laws.parquet
12
- articles_parquet: /workspace/legal-corpora/hf-staging/ipfs_bermuda_laws/data/articles.parquet
13
  compression: zstd
14
- collector: scrapers/collect_bm.py
15
- collector_note: bm_catalog_deepen_v1
16
  license: Official Bermuda Laws Online / Official Gazette texts (Crown Copyright); authentic Official Gazette / Bermuda Laws Online prevails; consolidations may lack full official sanction — verify; not legal advice
17
  retrieval: live-and-wayback-of-official
18
- live_instruments: 145
19
- archive_instruments: 89
20
- wayback_instruments: 89
21
- wayback_instruments_breakdown: 38 already on Hub tip b41f1c6c (35 wayback_pdf + 3 wayback_html) + 51 new in batch 1 (wayback_pdf)
22
- batch1_new_instruments: 59
23
- batch1_new_wayback: 51
24
- batch1_new_live: 8
25
  common_crawl_instruments: 0
26
  archive_is_instruments: 0
27
  constitution_present: true
28
  catalog_expected: None
29
  catalog_gap:
30
- gaps: bm_catalog_deepen_v1 2026-09-25 batch 1 — on Hub tip b41f1c6c (175/8334; local verified identical, merged). collect_bm.py MAX_NEW=100 over the bermudalaws.bm catalog (2,486 discovered: RSS + search shelves + CDX of official bermudalaws.bm URLs): ok=100, fail=15. 41 of the 100 were older /Laws/Consolidated Laws/<title>.pdf copies of Acts already on the tip (13 byte-identical, 28 same Act) and were quarantined, not staged; +59 genuinely new instruments (51 Consolidated Acts, 8 recent SIs/Orders). PROVENANCE: of the 59 new instruments, 51 were fetched from Internet Archive Wayback captures of official bermudalaws.bm URLs (live /Laws/ paths currently return an app shell, not the PDF) and 8 were fetched live from bermudalaws.bm. Pack-wide: 145 live / 89 Wayback-of-official (38 of the Wayback ones were already on the Hub tip). No non-official or third-party sources. Sections split with bm_cap_section_v1 on new instruments only; tip articles not rewritten. Catalog gap remains large (~2.2k raw catalog rows, many duplicates/variants). Not vLex. Not legal advice.
31
  uploaded: false
32
- hub_tip_base: b41f1c6c1095aa608d8d06a31e88e6886b2e9e1a (175 laws / 8334 arts)
 
 
1
  # ipfs_bermuda_laws manifest
2
 
3
+ generated_utc: 2026-09-25T20:36:11Z
4
  cc: bm
5
+ laws_rows: 334
6
+ articles_rows: 12076
7
+ laws_bytes: 3964118
8
+ articles_bytes: 4720457
9
+ laws_sha256: e208dc19618aedace352aac57d45df212908cd35f107538da6582c160c9ec400
10
+ articles_sha256: 56eecf89b9d463be067df388f864b814ec30e232468663f91dcc3446d20d81c2
11
+ laws_parquet: /workspace/legal-corpora/hf-staging/ipfs_bermuda_laws__v2/data/laws.parquet
12
+ articles_parquet: /workspace/legal-corpora/hf-staging/ipfs_bermuda_laws__v2/data/articles.parquet
13
  compression: zstd
14
+ collector: scrapers/collect_bm.py (batch runner scrapers/_bm_dedup_batch.py)
15
+ collector_note: bm_catalog_deepen_v2
16
  license: Official Bermuda Laws Online / Official Gazette texts (Crown Copyright); authentic Official Gazette / Bermuda Laws Online prevails; consolidations may lack full official sanction — verify; not legal advice
17
  retrieval: live-and-wayback-of-official
18
+ live_instruments: 242
19
+ archive_instruments: 92
20
+ wayback_instruments: 92
21
+ wayback_instruments_breakdown: 38 from the original tip b41f1c6c (35 wayback_pdf + 3 wayback_html) + 51 from batch 1 + 3 from batch 2 (wayback_pdf)
22
+ batch2_new_instruments: 100
23
+ batch2_new_live: 97
24
+ batch2_new_wayback: 3
25
  common_crawl_instruments: 0
26
  archive_is_instruments: 0
27
  constitution_present: true
28
  catalog_expected: None
29
  catalog_gap:
30
+ gaps: bm_catalog_deepen_v2 2026-09-25 batch 2 — cumulative on Hub tip 11d7fcfd (234/9728, byte-identical to the staged batch-1 pack; nothing to merge). Duplicate pre-filter over the 2,486-row bermudalaws.bm catalog skipped 685 rows before fetching (232 existing ids, 109 same Act as an existing instrument, 200 duplicate within catalog, 113 truncated /laws/Consolidated Laws/ titles, 20 garbled escapes, 11 previously 404/app-shell URLs), leaving 1,801 distinct rows. Batch 2 fetched ok=100, fail=5 (garbled catalog URLs), post-fetch duplicates 0. New: 97 Consolidated SIs + 3 Consolidated items. Sections split with bm_cap_section_v1 on the 100 new instruments only; tip articles not rewritten. PROVENANCE: batch 2 — 97 of 100 fetched live from bermudalaws.bm, 3 from Internet Archive Wayback captures of official bermudalaws.bm URLs. Pack-wide — 242 live / 92 Wayback-of-official (38 original tip + 51 batch 1 + 3 batch 2). No non-official or third-party sources. Known: 13 pairs of identical-text instruments were already on the original tip (year-prefixed vs older path ids); left unchanged. Remaining distinct catalog rows ~1,700. Not vLex. Not legal advice.
31
  uploaded: false
32
+ control_chars: normalized (cos_ctrl_v1, length-preserving replace, not delete; \x0b \x0c \x1c-\x1e \x85 U+2028/2029 -> newline, other C0 except \t\n\r and U+007F-U+009F -> space) on the 159 batch-1/batch-2 laws: batch 1 law text 1,000 / article text 950; batch 2 law text 1,145 / article text 1,087 (all \x0c page breaks). Per-row character lengths unchanged. The 175 original Hub-tip laws were left unchanged and still contain 6,365 (law text) / 6,162 (article text) \x0c page breaks; titles have none.
33
+ hub_tip_base: 11d7fcfde307ad2c2c019c4d0cc044201c994d2e (234 laws / 9728 arts)
README.md CHANGED
@@ -13,7 +13,7 @@ tags:
13
  - gazette
14
  - official-texts
15
  size_categories:
16
- - 1K<n<10K
17
  configs:
18
  - config_name: laws
19
  data_files: data/laws.parquet
@@ -36,9 +36,9 @@ Research snapshot of official national legislation from **bermudalaws.bm (Attorn
36
  | Coverage | catalog-backed incomplete |
37
  | Source | bermudalaws.bm (Attorney-General's Chambers Drafting Section / Bermuda Laws Online) / Official Gazette (gov.bm) |
38
  | Collector | `scrapers/collect_bm.py` |
39
- | Laws / instruments | 234 |
40
- | Articles | 9,728 |
41
- | Retrieval | 145 live from bermudalaws.bm / 89 from Wayback captures of official bermudalaws.bm URLs |
42
  | Language | en |
43
  | Jurisdiction | Bermuda |
44
  | License | `bm-bermudalaws-official-texts` |
@@ -63,4 +63,12 @@ This dataset is **not legal advice**. The official source prevails.
63
 
64
  Official PDFs from bermudalaws.bm Laws/ (Consolidated + Annual Acts/SIs) + Document/{uuid} + RSS (Annual/Consolidated/Gazette/SDO) + Constitution Order 1968 + limited gov.bm enacted Act PDFs. Live + Wayback CDX. Skip bills/drafts/fact-sheets/judgments. Not vLex.
65
 
66
- **Provenance (2026-09-25 batch 1, bm_catalog_deepen_v1):** 59 new instruments were added over Hub tip b41f1c6c (175 laws). 51 of the 59 were fetched from Internet Archive Wayback captures of official bermudalaws.bm URLs, because the live /Laws/ paths currently return an app shell instead of the PDF. The other 8 were fetched live from bermudalaws.bm. Across the whole pack, 145 instruments were fetched live and 89 came from Wayback captures of official bermudalaws.bm URLs. 38 of those 89 were already on the Hub tip. No non-official or third-party sources were used.
 
 
 
 
 
 
 
 
 
13
  - gazette
14
  - official-texts
15
  size_categories:
16
+ - 10K<n<100K
17
  configs:
18
  - config_name: laws
19
  data_files: data/laws.parquet
 
36
  | Coverage | catalog-backed incomplete |
37
  | Source | bermudalaws.bm (Attorney-General's Chambers Drafting Section / Bermuda Laws Online) / Official Gazette (gov.bm) |
38
  | Collector | `scrapers/collect_bm.py` |
39
+ | Laws / instruments | 334 |
40
+ | Articles | 12,076 |
41
+ | Retrieval | 242 live from bermudalaws.bm / 92 from Wayback captures of official bermudalaws.bm URLs |
42
  | Language | en |
43
  | Jurisdiction | Bermuda |
44
  | License | `bm-bermudalaws-official-texts` |
 
63
 
64
  Official PDFs from bermudalaws.bm Laws/ (Consolidated + Annual Acts/SIs) + Document/{uuid} + RSS (Annual/Consolidated/Gazette/SDO) + Constitution Order 1968 + limited gov.bm enacted Act PDFs. Live + Wayback CDX. Skip bills/drafts/fact-sheets/judgments. Not vLex.
65
 
66
+ ## Provenance
67
+
68
+ - Base: Hub tip 11d7fcfd (234 laws / 9,728 articles). This pack adds batch 2 (bm_catalog_deepen_v2, 2026-09-25).
69
+ - Batch 2 added 100 new instruments. 97 were fetched live from bermudalaws.bm, and 3 came from Internet Archive Wayback captures of official bermudalaws.bm URLs.
70
+ - Pack-wide, 242 instruments were fetched live and 92 came from Wayback captures of official bermudalaws.bm URLs. Those 92 are 38 from the original tip, 51 from batch 1 and 3 from batch 2.
71
+ - Wayback captures were used only where the live official path returned an app shell or failed.
72
+ - A duplicate pre-filter and post-fetch byte-hash/same-Act checks kept duplicate copies of existing Acts out of this batch.
73
+ - No non-official or third-party sources were used.
74
+ - Control characters: in the 159 laws added by batches 1 and 2, C0/C1 control characters were replaced, not deleted, so text lengths are unchanged. Page and line breaks became newlines and other control characters became spaces. The 175 original tip laws still contain \x0c page breaks (6,365 in law text and 6,162 in article text).
data/articles.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d52ab2d624c917a5885fe2233db17616a983bd551f5d764bc138d27db8090931
3
- size 4027728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56eecf89b9d463be067df388f864b814ec30e232468663f91dcc3446d20d81c2
3
+ size 4720457
data/laws.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:75c5ed95cedc98019240f8e7243830e3e82f6c684c54c9d80cf9df015086d7bb
3
- size 3396860
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e208dc19618aedace352aac57d45df212908cd35f107538da6582c160c9ec400
3
+ size 3964118