-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata-catalog.yaml
More file actions
1558 lines (1558 loc) · 64.2 KB
/
Copy pathdata-catalog.yaml
File metadata and controls
1558 lines (1558 loc) · 64.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
# Babylon Data Source Catalog
# Canonical machine-readable catalog for III.4 Data Source Traceability.
# Runtime data sources are fetched/updated during operation.
# Fixtures are pinned snapshots for reproducible tests and NEVER runtime dependencies.
version: "2.7.3"
categories:
- name: Federal Economic
sources:
- id: QCEW
agency: BLS
dataset: Quarterly Census of Employment and Wages
vintage: Annual
granularity: County
cadence: Annual
class: Runtime
- id: BEA_GDP
agency: BEA
dataset: GDP by County
vintage: Annual
granularity: County
cadence: Annual
class: Runtime
- id: BEA_TiVA
agency: BEA
dataset: Trade in Value Added
vintage: Annual
granularity: State/Metro
cadence: Annual
class: Runtime
- id: BEA_EA
agency: BEA
dataset: Economic Areas (regional definitions)
vintage: Static
granularity: EA (county aggregate)
cadence: Static
class: Fixture
- id: BEA_IO_NATIONAL_USE
agency: BEA
dataset: Make-Use Tables, Before Redefinitions, Producer-Value (Use_Summary)
vintage: Annual
granularity: National-Industry (BEA Summary ~70 industries)
cadence: Annual
class: Runtime
- id: BEA_IO_NATIONAL_SUPPLY
agency: BEA
dataset: Supply-Use Tables (Use_Summary producer-side industry output)
vintage: Annual
granularity: National-Industry (BEA Summary ~70 industries)
cadence: Annual
class: Runtime
- id: BEA_IO_TOTAL_REQ
agency: BEA
dataset: Total Domestic Requirements (Leontief inverse, IxI_TR_Summary)
vintage: Annual
granularity: National-Industry (BEA Summary ~70 industries)
cadence: Annual
class: Runtime
- id: BEA_NAICS_CONCORDANCE
agency: BEA
dataset: NAICS-to-BEA-summary industry concordance
vintage: Periodic (revised when NAICS structure changes)
granularity: NAICS-6-digit → BEA-Summary industry mapping
cadence: Periodic
class: Runtime
- id: FRED
agency: St. Louis Fed
dataset: Federal Reserve Economic Data
vintage: Varies
granularity: Varies
cadence: Daily
class: Runtime
- id: Fed_SCF
agency: Federal Reserve
dataset: Survey of Consumer Finances
vintage: Triennial
granularity: National/Region
cadence: Triennial
class: Runtime
- id: Fed_Z1
agency: Federal Reserve
dataset: Financial Accounts of the US
vintage: Quarterly
granularity: National/Sector
cadence: Quarterly
class: Runtime
- id: Census_Trade
agency: Census Bureau
dataset: USA Trade Online
vintage: Annual
granularity: Port/State
cadence: Annual
class: Runtime
- id: PWT
agency: University of Groningen
dataset: Penn World Table
vintage: Annual
granularity: Country
cadence: Annual
class: Runtime
- id: USAspending
agency: Treasury
dataset: USASpending.gov
vintage: Quarterly
granularity: Recipient/County
cadence: Quarterly
class: Runtime
- id: LODES_OD_HEX
agency: Census Bureau (LEHD)
dataset: LODES JT00/S000 Origin-Destination matrix, raw block-resolution
.csv.gz (distinct from the county-level fact_lodes_commuter_flow table
above, and from the block-level bridge_lodes_block crosswalk — this is
the RAW OD source lodes_commute_matrix.py reads directly off disk, not
a sqlite-hydrated table)
vintage: Annual (2010-2021 for Michigan)
granularity: Census block pair (h_geocode/w_geocode), aggregated here to
H3 res-7 hex pair for the Detroit tri-county study area
cadence: Annual
class: Fixture
local_path: /media/user/data/babylon-data/lodes/ (raw; drive-only, read
ONLY by tools/make_lodes_tri_county_artifact.py at generation time —
CI-no-drive)
added_by: Vol II Circulation program prompt §3 (data-path gap) / Unit U2.
Checked-in, hash-stamped tri-county-hex artifact registered in
data-artifacts.yaml (lodes_od_tri_county_hex_* / lodes_xwalk_tri_county_hex
— hand-maintained, no sqlite table backs this source, so it carries no
`tables:` block row below).
- name: Federal Demographic
sources:
- id: Census_ACS
agency: Census Bureau
dataset: Decennial Census / ACS
vintage: Rolling
granularity: Tract/Block
cadence: Annual
class: Runtime
- id: CDC_WONDER
agency: CDC
dataset: Multiple cause of death, natality
vintage: Annual
granularity: County
cadence: Annual
class: Runtime
- id: NCHS
agency: CDC/NCHS
dataset: National Center for Health Statistics
vintage: Annual
granularity: County
cadence: Annual
class: Runtime
- id: SSA_Actuarial
agency: SSA
dataset: Life tables, beneficiary data
vintage: Annual
granularity: State/National
cadence: Annual
class: Runtime
- id: HHS_AHRF
agency: HHS
dataset: Area Health Resource File
vintage: Annual
granularity: County
cadence: Annual
class: Runtime
- id: HUD_USPS_Vacancy
agency: HUD
dataset: USPS Vacancy Data
vintage: Quarterly
granularity: Tract
cadence: Quarterly
class: Runtime
- id: ATUS
agency: BLS
dataset: American Time Use Survey
vintage: Annual
granularity: National/Region
cadence: Annual
class: Runtime
- id: MIT_Election_Lab
agency: MIT Election Data and Science Lab
dataset: County Presidential Election Returns 2000-2024
vintage: Static (dataset v20, 2026-02-25; CC0 1.0)
granularity: County
cadence: Static (per-election releases)
class: Fixture
provenance_url: https://doi.org/10.7910/DVN/VOQCHQ
local_path: /media/user/data/babylon-data/elections/mit_countypres/countypres_2000-2024_mirror.csv
added_by: >-
spec-070 T118 / ADR049 (ratified P25 U6, ADR132) — FR-039
FAC_RESTORATIONIST electoral seed; committed derivative =
data-artifacts.yaml mit_countypres_rep_share
- name: Federal Infrastructure
sources:
- id: HIFLD
agency: DHS
dataset: Homeland Infrastructure Foundation-Level Data
vintage: Quarterly
granularity: Point/County
cadence: Quarterly
class: Runtime
- id: BTS
agency: DOT
dataset: Border Crossing Data, TranStats
vintage: Monthly
granularity: Port/County
cadence: Monthly
class: Runtime
- id: FCC_BDC
agency: FCC
dataset: Broadband Data Collection
vintage: Biannual
granularity: Address/Block
cadence: Biannual
class: Runtime
- id: NHPN
agency: FHWA
dataset: National Highway Planning Network
vintage: Annual
granularity: Segment
cadence: Annual
class: Fixture
- id: HPMS
agency: FHWA
dataset: Highway Performance Monitoring System
vintage: Annual
granularity: Segment
cadence: Annual
class: Fixture
- id: FAF5
agency: FHWA
dataset: Freight Analysis Framework
vintage: Annual
granularity: FAF Zone
cadence: Annual
class: Runtime
- id: CFS
agency: Census/AMS
dataset: Commodity Flow Survey
vintage: Quinquennial
granularity: CFS Area
cadence: Quinquennial
class: Runtime
- name: International Trade
sources:
- id: WID
agency: WID.world
dataset: World Inequality Database
vintage: Annual
granularity: Country/State
cadence: Annual
class: Runtime
- id: Comtrade
agency: UN
dataset: UN Comtrade Database
vintage: Annual
granularity: Country/HS Code
cadence: Annual
class: Runtime
- id: OECD_TiVA
agency: OECD
dataset: Trade in Value Added
vintage: Annual
granularity: Country/Sector
cadence: Annual
class: Runtime
- id: Hickel_HSZ_Drain
agency: Hickel/Sullivan/Zoomkawala
dataset: Global South Value Drain time series 1960-2017 (annual_drain_usd_billions, ERDI, alpha)
vintage: Static (2021 publication; data through 2017)
granularity: National-aggregate (Global North vs Global South)
cadence: Static (no updates planned)
class: Fixture
provenance_url: https://doi.org/10.1016/j.gloenvcha.2021.102467
local_path: /media/user/data/babylon-data/babylon_hickel_final.csv
added_by: Spec 057 (Leontief Imperial Rent Integration) — research.md §R9
- id: Ricci_GVC
agency: Ricci (academic)
dataset: Unequal Exchange in the Age of Global Value Chains (Andrea Ricci, 2019) — region
x flow-direction x transfer-type transfer estimates (source_table values like
Ricci_Table_6.2)
vintage: Static (tables reproduce estimates for 1995/2000/2007/2009)
granularity: Region-aggregate (core/semi-periphery/periphery world-system tiers)
cadence: Static (no updates planned)
class: Fixture
local_path: src/babylon/data/reference/babylon_ricci_final.csv
added_by: Program 26 U5b (ai/decisions/ADR165_p26_director_rulings_trade_slate.yaml D2/D3)
- name: Land Cover / Spatial
sources:
- id: Natural_Earth
agency: Natural Earth
dataset: Vector/raster map data
vintage: Static
granularity: Various
cadence: Static
class: Fixture
- id: BIA_LAR
agency: BIA
dataset: Tribal Land Areas
vintage: Static
granularity: Polygon
cadence: Static
class: Fixture
# Cadence caveat (data-gap audit §3.4): upstream publishes annually
# (the fields below record the publisher's fact), but any acquisition
# must PIN ONE vintage (edition, version, sha256) — USGS explicitly
# warns AGAINST reading PAD-US version deltas as ground change, so
# never diff vintages to infer dispossession.
- id: PAD_US
agency: USGS
dataset: Protected Areas Database
vintage: Annual
granularity: Polygon
cadence: Annual
class: Fixture
# Cadence corrected 2026-08-12 (data-gap audit §3.4): the 5-year epoch
# product ended with NLCD 2021; Annual NLCD (1985-present, yearly
# releases) superseded it on 2024-10-24.
- id: NLCD
agency: USGS
dataset: National Land Cover Database (Annual NLCD)
vintage: Annual
granularity: 30m pixel
cadence: Annual
class: Fixture
- id: EPA_FRS
agency: EPA
dataset: Facility Registry Service
vintage: Quarterly
granularity: Point
cadence: Quarterly
class: Runtime
- id: USDA_ERS_CZ
agency: USDA ERS
dataset: Commuting Zones (derived from Census JTW)
vintage: Static
granularity: County aggregate
cadence: Static
class: Fixture
- id: OMB_CBSA
agency: OMB
dataset: Core-Based Statistical Areas
vintage: Static
granularity: County aggregate
cadence: Static
class: Fixture
- name: Legal / Judicial / Housing
sources:
- id: US_Courts
agency: AO/US Courts
dataset: Federal judicial caseload
vintage: Annual
granularity: District
cadence: Annual
class: Runtime
- id: Eviction_Lab
agency: Princeton
dataset: Eviction filing records
vintage: Annual
granularity: Block/Tract
cadence: Annual
class: Runtime
# NEVER ACQUIRED — commercial, redistribution-prohibited, hard-blocked by
# ADR098 (a non-redistributable set cannot be a committed build source).
# Killed by the data-gap audit (reports/data-gap-audit-2026-08-12.md §3.4,
# §9); retained only as the record of the considered-and-rejected parcel
# option. Do NOT plan against this row — the free replacements are HMDA
# Modified LAR (flow) + AgCensus Table 45 (agricultural tenure).
- id: ATTOM_CoreLogic
agency: Commercial
dataset: Property/parcel data
vintage: Quarterly
granularity: Parcel
cadence: Quarterly
class: Runtime
- id: Chetty_Atlas
agency: Opportunity Insights
dataset: Opportunity Atlas / Social Mobility
vintage: Static
granularity: Tract
cadence: Static
class: Fixture
tables:
- name: bridge_cfs_county
kind: table
source: CFS
disposition: investigate
subset_policy: full
material_relation: county-to-CFS-area allocation crosswalk — the geographic key
needed to scope FAF/CFS freight flows to counties; currently empty, blocking Michigan-scoping
of commodity-flow value.
notes: 0 rows; no loader ever populated it (never separately implemented from the
CFS family).
- name: bridge_county_h3
kind: table
source: derived
extractor: tools/ingest_tiger_geometry.py
consumers:
- src/babylon/engine/hydration/reference.py
- tools/ingest_tiger_geometry.py
tests:
- tests/integration/mvp/test_hydration.py
- tests/integration/test_michigan_reference_data.py
disposition: keep
subset_policy: full
material_relation: county-to-H3-hex spatial index — the hex-grid substrate join
enabling territory/hex hydration (Constitution spatial substrate).
- name: bridge_county_metro
kind: table
source: OMB_CBSA
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/cbsa_parser.py)
tests:
- tests/integration/test_michigan_reference_data.py
disposition: keep
subset_policy: full
material_relation: county-to-Metropolitan-Statistical-Area membership — the urban-agglomeration
key for the MSA-tier zoom hierarchy (Detroit MSA tests).
- name: bridge_naics_bea
kind: table
source: BEA_NAICS_CONCORDANCE
extractor: tools/load_bea_io.py
consumers:
- src/babylon/reference/bea/share_lookup_service.py
- src/babylon/reference/bea/ingest/stale_share_summary.py
- src/babylon/domain/economics/tensor_hierarchy/leontief_rent/industry_to_county_allocator.py
- src/babylon/domain/economics/adapters.py
- tools/load_bea_io.py
tests:
- tests/integration/test_sc005_bea_cv_stddev.py
- tests/integration/test_tensor_hydration.py
- tests/unit/reference/bea/test_share_lookup_service.py
- tests/unit/reference/bea/test_stale_share_summary.py
disposition: keep
subset_policy: full
material_relation: NAICS-to-BEA-industry concordance — the crosswalk letting county
QCEW industry employment be allocated against BEA's ~70-industry Leontief input-output
structure (imperial-rent tensor base).
- name: dim_asset_category
kind: table
source: FRED
extractor: deleted @ 4ce7c96a^ (src/babylon/data/fred/z1_loader.py)
consumers:
- tools/analyze_wealth_distribution.py
disposition: keep
subset_policy: full
material_relation: asset-class taxonomy (real estate, equities, deposits...) for
wealth-concentration decomposition — anchors which asset form embodies extracted
surplus.
- name: dim_bea_industry
kind: table
source: BEA_IO_NATIONAL_SUPPLY
extractor: tools/load_bea_io.py
consumers:
- src/babylon/domain/economics/tensor_hierarchy/inter_industry.py
- src/babylon/domain/economics/tensor_hierarchy/production_chain_rent.py
- src/babylon/reference/bea/share_lookup_service.py
- src/babylon/reference/bea/shaikh_bands.py
- src/babylon/persistence/hex_hydrator.py
- tools/load_bea_io.py
- tools/validate_bea_io_against_shaikh.py
tests:
- tests/integration/economics/test_tensor_hierarchy.py
- tests/unit/reference/bea/test_national_writer_upsert.py
- tests/unit/engine/headless_runner/test_gamma_wiring.py
- tests/unit/economics/tensor_hierarchy/leontief_rent/test_production_chain_rent.py
disposition: keep
subset_policy: full
material_relation: BEA Summary industry classification (~70 sectors) — the fixed
industry taxonomy every Leontief IO/tensor-hierarchy table joins against.
- name: dim_bea_io_table_type
kind: table
source: derived
extractor: src/babylon/reference/bea/ingest/io_coefficient_writer.py
consumers:
- src/babylon/domain/economics/tensor_hierarchy/inter_industry.py
- src/babylon/domain/economics/tensor_hierarchy/production_chain_rent.py
- src/babylon/reference/bea/ingest/io_matrix_parser.py
- tools/ingest_bea_imports.py
tests:
- tests/unit/reference/bea/test_share_lookup_service.py
disposition: keep
subset_policy: full
material_relation: IO-ingest pipeline's table-type enum (USE/TOTAL_REQ/IMPORT_USE)
distinguishing which Leontief coefficient matrix a row belongs to.
- name: dim_cfs_area
kind: table
source: CFS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/bts/faf_loader.py, on-demand stub
creation)
consumers:
- src/babylon/domain/economics/tensor_hierarchy/geographic_flow.py
tests:
- tests/unit/economics/tensor_hierarchy/test_geographic_flow.py
disposition: fill
subset_policy: full
material_relation: Commodity Flow Survey area geography — the freight origin/destination
zone key for scoping FAF/CFS commodity flows.
notes: stub rows only, state_id 100% null; real CFS area definitions never loaded.
- name: dim_coercive_type
kind: table
source: HIFLD
disposition: keep
subset_policy: full
material_relation: carceral/coercive-facility type taxonomy (prison, jail, detention...)
— classifies the repressive-apparatus nodes fact_coercive_infrastructure counts.
- name: dim_commodity
kind: table
source: USGS_MCS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/materials/loader_3nf.py + parser.py)
disposition: keep
subset_policy: full
material_relation: USGS Mineral Commodity Summaries commodity list (85 strategic
materials) — anchors the critical-minerals/extraction-dependency subsystem (owner-ratified
Prog-09 stretch).
notes: "CRITICALITY RE-DERIVED 2026-07-17 (Program 22 Wave 1): 30/85 rows
flagged from the official T4 50-mineral list (REE/PGM fold onto family
rows; Cesium+Rubidium have no salient chapter); primary_applications
filled from T4. The legacy 13-name dict had matched only 2/85."
- name: dim_commodity_metric
kind: table
source: USGS_MCS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/materials/loader_3nf.py + parser.py)
disposition: keep
subset_policy: full
material_relation: USGS MCS per-commodity metric taxonomy (imports/exports/price/production)
— the measurement-type dimension for fact_commodity_observation.
notes: "owner 2026-07-16: Program 22 — FK parent of fact_commodity_observation"
- name: dim_country
kind: table
source: Comtrade
extractor: "tools/ingest/ricci_unequal.py (retired 2026-07-17 with the R2 demotion;
country rows persist in the DB)"
consumers:
- src/babylon/persistence/postgres_initialization.py
- src/babylon/persistence/sqlite_hydrator.py
- src/babylon/domain/economics/melt/gamma_hydration.py
tests:
- tests/unit/reference/test_exposure_schema.py
- tests/unit/economics/melt/test_gamma_hydration.py
- tests/unit/reference/test_unequal_exchange_refdb_sync.py
disposition: keep
subset_policy: full
material_relation: country/bloc registry with world-system-tier classification (core,
semi-periphery, periphery) — the geographic key for Phi imperial-rent bloc attribution
and bilateral trade.
- name: dim_county
kind: table
source: Census_ACS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/cbsa_parser.py + census
loader tree)
consumers:
- src/babylon/engine/headless_runner/scopes.py
- src/babylon/engine/hydration/reference.py
- src/babylon/persistence/hex_hydrator.py
- src/babylon/persistence/tiger_ingestion.py
- src/babylon/domain/economics/county_exposure.py
- src/babylon/domain/economics/adapters.py
- src/babylon/domain/economics/tensor_registry.py
- src/babylon/persistence/county_aggregation.py
- src/babylon/persistence/sqlite_hydrator.py
- src/babylon/reference/bea/ingest/stale_share_summary.py
- tools/ingest_tiger_geometry.py
- tools/validate_detroit.py
- tools/normalize_qcew_rollups.py
- tools/demo_substrate.py
tests:
- tests/integration/test_michigan_reference_data.py
- tests/integration/test_db_initialization_queries.py
- tests/integration/test_post_067_consumer_queries.py
- tests/integration/test_tensor_hydration.py
- tests/integration/test_marx_identities.py
- tests/integration/economics/conftest.py
- tests/integration/tensors/conftest.py
- tests/unit/engine/hydration/test_hydrate_industry.py
disposition: keep
subset_policy: full
material_relation: the county dimension — the universal geographic join key underlying
nearly every Michigan-scoped fact table and the hex/territory substrate.
- name: dim_county_geometry
kind: table
source: TIGER
extractor: tools/ingest_tiger_geometry.py
consumers:
- src/babylon/persistence/hex_hydrator.py
- src/babylon/persistence/tiger_ingestion.py
- src/babylon/persistence/postgres_initialization.py
- tools/ingest_tiger_geometry.py
tests:
- tests/integration/test_michigan_reference_data.py
- tests/integration/test_db_initialization_queries.py
- tests/unit/persistence/test_substrate_apportionment.py
- tests/unit/tools/test_make_reference_subset.py
disposition: keep
subset_policy: full
material_relation: county polygon geometry (WKT + area) from TIGER/Line — the spatial
substrate hex_hydrator apportions into H3 territory cells.
- name: dim_data_source
kind: table
source: internal
tests:
- tests/integration/test_db_initialization_queries.py
disposition: keep
subset_policy: full
material_relation: provenance registry (agency/dataset per fact table) — the traceability
backbone every fact_* row's source_id FK resolves against (Constitution III.4).
- name: dim_education_level
kind: table
source: Census_ACS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/loader_3nf.py, table B15003)
disposition: investigate
subset_policy: full
material_relation: ACS educational-attainment taxonomy — classifies fact_census_education's
degree-level rows.
notes: "A21 amputation DEFERRED 2026-07-17: primary-key FK parent of
fact_census_education (disposition investigate) — dropping the dim would
orphan a living table. Falls together with that table when its fate is ruled."
- name: dim_employment_area
kind: table
source: QCEW
disposition: keep
subset_policy: full
material_relation: BLS QCEW employment-area geographic definitions — the area-code
dimension underlying fact_employment_industry_annual's industry-by-area employment
breakdown.
- name: dim_employment_status
kind: table
source: Census_ACS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/loader_3nf.py, table B23025)
disposition: investigate
subset_policy: full
material_relation: ACS employment-status taxonomy (employed/unemployed/not-in-labor-force)
— the classification the Phase-5.1 gamma_III brief plans to join against fact_census_employment.
- name: dim_fred_series
kind: table
source: FRED
extractor: deleted @ 4ce7c96a^ (src/babylon/data/fred/loader_3nf.py + z1_loader.py)
consumers:
- src/babylon/domain/economics/factory.py
- src/babylon/persistence/sqlite_hydrator.py
- src/babylon/domain/economics/melt/adapters.py
tests:
- tests/integration/economics/test_melt_adapters.py
- tests/unit/reference/test_fred_wealth_shares.py
disposition: keep
subset_policy: full
material_relation: FRED series registry (CPI, macro indicators) — the series-code
dimension every fact_fred_national/MELT deflator read joins against.
- name: dim_gender
kind: table
source: Census_ACS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/loader_3nf.py)
disposition: investigate
subset_policy: full
material_relation: gender classification dimension shared by Census worker-class
and ATUS time-use breakdowns.
- name: dim_geographic_hierarchy
kind: table
source: derived
extractor: deleted @ 4ce7c96a^ (src/babylon/data/geography/loader.py)
disposition: fill
subset_policy: full
material_relation: county population-weight hierarchy derived from Census/QCEW totals
— a geographic weighting scheme for allocating national/regional aggregates to
counties.
- name: dim_housing_tenure
kind: table
source: Census_ACS
extractor: babylon_data/src/babylon_data/census/loader_3nf.py
consumers:
- src/babylon/domain/economics/throughput/adapters.py
tests:
- tests/integration/economics/test_unemployment_adapter.py
disposition: keep
subset_policy: full
material_relation: owner/renter housing-tenure taxonomy — the classification behind
fact_census_housing's renter_share feeding the tick pipeline's housing-precarity
signal.
- name: dim_import_source
kind: table
source: USGS_MCS
extractor: python -m babylon_data.materials (aggregates.load_import_sources)
tests:
- tests/unit/reference/test_minerals_tables.py
disposition: keep
subset_policy: full
material_relation: import-source-country dimension for critical-materials analysis
— names which countries supply strategic minerals (import-dependency/unequal-exchange
linkage).
notes: "FILLED 2026-07-17 (Program 22 Wave 1): 43 countries from MCS2025_Fig3."
- name: dim_income_bracket
kind: table
source: Census_ACS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/loader_3nf.py:1795)
consumers:
- src/babylon/domain/economics/throughput/adapters.py
- tools/validate_detroit.py
tests:
- tests/integration/economics/test_unemployment_adapter.py
disposition: keep
subset_policy: full
material_relation: household-income-bracket taxonomy (17 brackets) — the classification
behind the top/bottom bracket ratio used as a class-proxy signal (labor-aristocracy
banding).
- name: dim_industry
kind: table
source: QCEW
extractor: deleted @ 4ce7c96a^ (src/babylon/data/qcew/loader_3nf.py)
consumers:
- src/babylon/persistence/sqlite_hydrator.py
- src/babylon/domain/economics/adapters.py
- src/babylon/domain/economics/throughput/adapters.py
- src/babylon/reference/bea/share_lookup_service.py
- src/babylon/sentinels/coverage/registry.py
- tools/normalize_qcew_rollups.py
tests:
- tests/integration/tensors/conftest.py
- tests/integration/test_tensor_hydration.py
- tests/unit/reference/bea/test_share_lookup_service.py
- tests/unit/engine/hydration/test_hydrate_industry.py
disposition: keep
subset_policy: full
material_relation: NAICS industry hierarchy annotated with Marxian class_composition
— the industry dimension anchoring QCEW/BEA/Leontief reads across the whole economics
subsystem.
- name: dim_metro_area
kind: table
source: OMB_CBSA
extractor: babylon_data/src/babylon_data/census/loader_3nf.py
tests:
- tests/integration/test_michigan_reference_data.py
disposition: keep
subset_policy: full
material_relation: Metropolitan Statistical Area definitions — the MSA-tier geographic
zoom level (Detroit MSA) in the living-map zoom hierarchy.
- name: dim_occupation
kind: table
source: Census_ACS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/loader_3nf.py, table C24010)
disposition: investigate
subset_policy: full
material_relation: occupation taxonomy (74 codes) with an unfinished Marxian productive,
unproductive, reproductive, managerial labor_type classification.
notes: labor_type 100% NULL — view_labor_type is a guaranteed-empty no-op until
backfilled.
- name: dim_ownership
kind: table
source: QCEW
extractor: deleted @ 4ce7c96a^ (src/babylon/data/qcew/loader_3nf.py:1529)
consumers:
- src/babylon/domain/economics/throughput/adapters.py
- src/babylon/domain/economics/melt/adapters.py
- src/babylon/domain/economics/throughput/data_sources.py
- tools/normalize_qcew_rollups.py
tests:
- tests/unit/reference/qcew/test_schema_086.py
- tests/integration/test_qcew_provenance.py
- tests/integration/test_post_067_consumer_queries.py
- tests/integration/test_normalize_qcew_rollups.py
- tests/integration/test_qcew_impute_e2e.py
disposition: keep
subset_policy: full
material_relation: QCEW ownership-sector codes (private/federal/state/local, own_code)
— resolves the own_code='0' Total-covered rows every QCEW read filters on.
- name: dim_poverty_category
kind: table
source: Census_ACS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/loader_3nf.py, table B17001)
disposition: keep
subset_policy: full
material_relation: ACS poverty-status taxonomy (B17001) — the classification the
owner-ratified National-Oppression program's poverty analysis is set to consume.
- name: dim_race
kind: table
source: Census_ACS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/loader_3nf.py)
consumers:
- src/babylon/domain/economics/throughput/adapters.py
tests:
- tests/unit/engine/headless_runner/conftest.py
disposition: keep
subset_policy: full
material_relation: race/ethnicity classification — resolves the race_code='T' (Total)
rows the throughput adapter filters on.
- name: dim_rent_burden
kind: table
source: Census_ACS
extractor: babylon_data/src/babylon_data/census/loader_3nf.py
disposition: investigate
subset_policy: full
material_relation: rent-burden severity taxonomy (cost-burdened/severely-burdened)
— the classification behind view_rent_crisis's housing-precarity metric.
notes: healthy live-loader data, zero code consumer; view_rent_crisis dormant and
broken.
- name: dim_sctg_commodity
kind: table
source: FAF5
extractor: deleted @ 4ce7c96a^ (src/babylon/data/bts/faf_loader.py, on-demand stub
creation)
disposition: investigate
subset_policy: full
material_relation: Standard Classification of Transported Goods commodity codes
— the freight-commodity dimension FK'd by fact_faf_commodity_flow (KEEP).
notes: 100% placeholder '{code}' names; FK of a KEEP table so cannot be dropped
outright.
- name: dim_state
kind: table
source: Census_ACS
extractor: babylon_data/src/babylon_data/census/loader_3nf.py
consumers:
- src/babylon/persistence/tiger_ingestion.py
tests:
- tests/integration/test_db_initialization_queries.py
- tests/integration/test_michigan_reference_data.py
- tests/unit/engine/headless_runner/conftest.py
- tests/unit/reference/qcew/test_schema_086.py
- tests/unit/reference/test_exposure_schema.py
disposition: keep
subset_policy: full
material_relation: state gazetteer/FIPS dimension — resolves michigan_state_id and
every state-level rollup/filter.
- name: dim_time
kind: table
source: derived
extractor: src/babylon/reference/bea/ingest/ (get_or_create_time() helpers)
consumers:
- src/babylon/domain/economics/throughput/adapters.py
- src/babylon/engine/hydration/reference.py
- src/babylon/persistence/sqlite_hydrator.py
- src/babylon/domain/economics/tensor_hierarchy/inter_industry.py
- src/babylon/reference/bea/ingest/io_matrix_parser.py
- tools/load_bea_io.py
- tools/ingest_bea_imports.py
- tools/ingest/bea_final_demand.py
- tools/ingest/hickel_erdi.py
- tools/validate_bea_io_against_shaikh.py
- tools/normalize_qcew_rollups.py
tests:
- tests/integration/test_db_initialization_queries.py
- tests/integration/test_tensor_hydration.py
- tests/integration/test_marx_identities.py
- tests/unit/engine/hydration/test_hydrate_industry.py
- tests/unit/reference/bea/test_stale_share_summary.py
disposition: keep
subset_policy: full
material_relation: the universal year/granularity time dimension every ingest pipeline
(Census/QCEW/BEA/FRED/Hickel/Ricci/ATUS) writes into and every fact table joins
against.
- name: dim_wealth_class
kind: table
source: FRED
extractor: deleted @ 4ce7c96a^ (src/babylon/data/fred/z1_loader.py)
consumers:
- tools/analyze_wealth_distribution.py
tests:
- tests/integration/test_db_initialization_queries.py
- tests/unit/reference/test_fred_wealth_shares.py
disposition: keep
subset_policy: full
material_relation: wealth-percentile-to-MLM-TW-class mapping (proletariat/labor-aristocracy/bourgeoisie
bands) — the classification anchoring wealth-concentration analysis to Babylon's
class model.
- name: dim_worker_class
kind: table
source: Census_ACS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/loader_3nf.py, table B24080)
disposition: investigate
subset_policy: full
material_relation: ACS class-of-worker taxonomy annotated with marxian_class — the
classification behind fact_census_worker_class's Marxian class-composition breakdown.
notes: 18/22 marxian_class rows populated; view_class_composition written but unconsumed.
- name: fact_bea_county_gdp
kind: table
source: BEA_GDP
extractor: deleted @ 4ce7c96a^ (src/babylon/data/bea/loader_county.py)
consumers:
- src/babylon/persistence/hex_hydrator.py
- src/babylon/persistence/postgres_initialization.py
tests:
- tests/integration/test_db_initialization_queries.py
- tests/integration/test_marx_identities.py
- tests/unit/persistence/test_hex_hydrator_marx.py
- tests/unit/tools/test_make_reference_subset.py
disposition: keep
subset_policy: full
material_relation: per-county GDP by industry — the primary county-level Value Produced
(V) term feeding hex GDP hydration and the Fundamental Theorem's national GDP
total.
- name: fact_bea_final_demand_annual
kind: table
source: BEA_IO_NATIONAL_USE
extractor: tools/ingest/bea_final_demand.py
consumers:
- src/babylon/domain/economics/tensor_hierarchy/leontief_rent/final_demand.py
- src/babylon/domain/economics/melt/gamma_hydration.py
- tools/ingest/bea_final_demand.py
tests:
- tests/unit/economics/tensor_hierarchy/leontief_rent/test_final_demand_source.py
- tests/unit/economics/melt/test_gamma_hydration.py
disposition: keep
subset_policy: full
material_relation: national final-demand totals by industry — the denominator ImperialRentSystem's
Leontief-rent final-demand allocation divides against.
- name: fact_bea_io_coefficient
kind: table
source: BEA_IO_TOTAL_REQ
extractor: tools/load_bea_io.py
consumers:
- src/babylon/persistence/sqlite_hydrator.py
- src/babylon/domain/economics/tensor_hierarchy/inter_industry.py
- src/babylon/domain/economics/tensor_hierarchy/production_chain_rent.py
- src/babylon/reference/bea/ingest/io_coefficient_writer.py
- tools/load_bea_io.py
- tools/ingest_bea_imports.py
tests:
- tests/integration/economics/tick/test_imperial_rent_real_wiring.py
- tests/integration/economics/test_tensor_hierarchy.py
disposition: keep
subset_policy: full
material_relation: national Leontief input-output coefficients (direct + total requirements)
— the inter-industry technical-coefficient matrix underlying imperial-rent tensor
propagation.
- name: fact_bea_national_industry
kind: table
source: BEA_IO_NATIONAL_SUPPLY
extractor: tools/load_bea_io.py
consumers:
- src/babylon/reference/bea/share_lookup_service.py
- src/babylon/persistence/hex_hydrator.py
- src/babylon/persistence/postgres_initialization.py
- src/babylon/reference/bea/ingest/national_writer.py
- tools/load_bea_io.py
- tools/validate_bea_io_against_shaikh.py
tests:
- tests/integration/test_sc005_bea_cv_stddev.py
- tests/unit/reference/bea/test_share_lookup_service.py
- tests/unit/reference/bea/test_national_writer_upsert.py
- tests/unit/reference/bea/test_stale_share_summary.py
disposition: keep
subset_policy: full
material_relation: national industry gross-output/value-added — the fallback national
GDP source and BEA-share lookup base for county GDP disaggregation.
- name: fact_bilateral_trade_annual
kind: table
source: Comtrade
consumers:
- src/babylon/persistence/postgres_initialization.py
- src/babylon/domain/economics/melt/gamma_hydration.py
tests:
- tests/unit/persistence/test_phi_attribution.py
- tests/unit/reference/test_exposure_schema.py
- tests/unit/economics/melt/test_gamma_hydration.py
disposition: keep
subset_policy: full
material_relation: bloc-to-bloc annual bilateral trade totals — the trade-flow input
to D3 Phi-attribution (imperial rent via unequal exchange).
notes: schema-only since spec-100; no dedicated loader script, populated additively.
- name: fact_bls_unemployment_decomposition
kind: table
source: BLS_LAUS
extractor: babylon_data/bls_unemployment/loader.py
consumers:
- src/babylon/domain/economics/throughput/adapters.py
- src/babylon/domain/economics/tick/system/__init__.py
- src/babylon/engine/headless_runner/runner.py
tests:
- tests/integration/economics/test_unemployment_adapter.py
disposition: keep
subset_policy: full
material_relation: county-level BLS LAUS U-3 unemployment decomposition — wired
into the tick pipeline's per-county unemployment_rate.
- name: fact_broadband_coverage
kind: table
source: FCC_BDC
extractor: src/babylon_data/fcc/{loader,downloader,parser}.py
consumers:
- src/babylon/persistence/hex_hydrator.py
- src/babylon/domain/geography/internet.py
tests:
- tests/unit/persistence/test_hex_hydrator_marx.py
- tests/unit/tools/test_make_reference_subset.py
disposition: keep
subset_policy: michigan
material_relation: per-county FCC broadband-coverage percentages — the material
basis for hex-level internet/infrastructure-access attributes.
- name: fact_census_education
kind: table
source: Census_ACS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/loader_3nf.py, table B15003)
disposition: investigate
subset_policy: skip
material_relation: ACS educational-attainment-by-county rows (single-year 2021 run)
— a stalled family-scoped repair-vs-drop decision.
notes: data_dictionary.md wrongly claims 0 rows / awaiting ETL — stale, 80,525 rows
verified.
- name: fact_census_employment
kind: table
source: Census_ACS
extractor: deleted @ 4ce7c96a^ (src/babylon/data/census/loader_3nf.py, table B23025)
disposition: keep
subset_policy: skip
material_relation: ACS employment/labor-force-status-by-county rows (single-year