Repository navigation
Expand file tree
/
Copy pathmodeling_handoff.json
More file actions
832 lines (832 loc) · 38.5 KB
/
Copy pathmodeling_handoff.json
File metadata and controls
832 lines (832 loc) · 38.5 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
{
"datasets": [
{
"columns": 18,
"dataset": "chemical_imidacloprid_detection_training_v1",
"dataset_path": "data/processed/chemical_imidacloprid_detection_training_v1.csv",
"dataset_sha256": "686885fa458a9f098df9133058b0e007482d92307ba495eb996436c9c664afde",
"domain": "CHEMICAL",
"feature_manifest_path": "data/processed/chemical_imidacloprid_detection_training_v1.features.json",
"feature_manifest_sha256": "ced00126dcf178529e02456c76a2e54d4939aee09e2768954c421404e93e03dd",
"features": {
"FEATURES": [
"pdp_commodity_code",
"pdp_commodity_type_code",
"pdp_origin_code",
"pdp_import_origin_country_code",
"pdp_product_claim_code",
"pdp_sample_unit_count",
"pdp_collection_dow_iso",
"pdp_collection_doy",
"pdp_collection_isoweek"
],
"FORBIDDEN": [
"result_mean",
"result_concen",
"result_concen_raw",
"result_concen_missing_reason",
"result_annotate",
"result_confmethod",
"result_confmethod2",
"result_quantitate",
"result_extract",
"result_determin",
"result_lod",
"result_lab",
"result_testclass",
"contaminated",
"unsafe_food",
"pesticide_exceedance",
"recall_status",
"previous_positive_rate",
"full_history_count",
"future_weather",
"supplier_id",
"pdp_variety_text"
],
"IDENTIFIER_ONLY": [
"observation_id",
"pdp_sample_id",
"pdp_source_row_number",
"pdp_result_source_row_number"
],
"METADATA_ONLY": [
"collection_date",
"observation_time",
"source_release",
"analyte_code"
],
"TARGET": "imidacloprid_detected",
"categorical_domains": {
"pdp_commodity_code": {
"AL": 531,
"AP": 704,
"AV": 706,
"BK": 684,
"CB": 607,
"CS": 101,
"CT": 529,
"CU": 708,
"FS": 176,
"KZ": 24,
"LH": 708,
"LL": 706,
"NZ": 52,
"OG": 709,
"ON": 708,
"PK": 706,
"PN": 656,
"PO": 177,
"TT": 679
},
"pdp_commodity_type_code": {
"FR": 8865,
"FZ": 300,
"PU": 706
},
"pdp_import_origin_country_code": {
"160": 4,
"260": 172,
"275": 148,
"280": 77,
"285": 5,
"295": 579,
"315": 2,
"320": 26,
"325": 29,
"336": 1,
"415": 46,
"430": 51,
"450": 2,
"595": 2556,
"610": 19,
"660": 6,
"685": 16,
"720": 60,
"730": 1,
"801": 31,
"830": 2,
"925": 2,
"930": 4,
"945": 1,
"973": 1,
"M15": 1,
"MT5": 1
},
"pdp_origin_code": {
"1": 5936,
"2": 3843,
"3": 92
},
"pdp_product_claim_code": {
"NC": 9173,
"PD": 67,
"PO": 620,
"PP": 11
}
},
"categorical_features": [
"pdp_commodity_code",
"pdp_commodity_type_code",
"pdp_origin_code",
"pdp_import_origin_country_code",
"pdp_product_claim_code"
],
"dataset": "chemical_imidacloprid_detection_training_v1",
"feature_contracts": {
"pdp_collection_dow_iso": {
"available_at_upper_bound": "2025-12-23",
"datatype": "integer",
"derivation": "ISO weekday (1=Monday..7=Sunday) of the validated collection date",
"family": "pdp_collection_calendar",
"feature": "pdp_collection_dow_iso",
"leakage_assessment": "Sample context/calendar, independent of analytical results; identifier and outcome inputs forbidden",
"missingness": "Required non-null native value; literal codes preserved",
"observation_time": "2025-12-24",
"prediction_time_availability": "Verified release-time retrospective only, not prospective 2024",
"source": "usda_pdp.samples",
"source_column": "collection_date",
"unit": "iso_weekday_1_monday_7_sunday"
},
"pdp_collection_doy": {
"available_at_upper_bound": "2025-12-23",
"datatype": "integer",
"derivation": "day of year (1..366) of the validated collection date",
"family": "pdp_collection_calendar",
"feature": "pdp_collection_doy",
"leakage_assessment": "Sample context/calendar, independent of analytical results; identifier and outcome inputs forbidden",
"missingness": "Required non-null native value; literal codes preserved",
"observation_time": "2025-12-24",
"prediction_time_availability": "Verified release-time retrospective only, not prospective 2024",
"source": "usda_pdp.samples",
"source_column": "collection_date",
"unit": "day_of_year_1_366"
},
"pdp_collection_isoweek": {
"available_at_upper_bound": "2025-12-23",
"datatype": "integer",
"derivation": "ISO week number (1..53) of the validated collection date",
"family": "pdp_collection_calendar",
"feature": "pdp_collection_isoweek",
"leakage_assessment": "Sample context/calendar, independent of analytical results; identifier and outcome inputs forbidden",
"missingness": "Required non-null native value; literal codes preserved",
"observation_time": "2025-12-24",
"prediction_time_availability": "Verified release-time retrospective only, not prospective 2024",
"source": "usda_pdp.samples",
"source_column": "collection_date",
"unit": "iso_week_number_1_53"
},
"pdp_commodity_code": {
"available_at_upper_bound": "2025-12-23",
"datatype": "string",
"derivation": "verbatim native PDP commodity code",
"family": "pdp_product_context",
"feature": "pdp_commodity_code",
"leakage_assessment": "Sample context/calendar, independent of analytical results; identifier and outcome inputs forbidden",
"missingness": "Required non-null native value; literal codes preserved",
"observation_time": "2025-12-24",
"prediction_time_availability": "Verified release-time retrospective only, not prospective 2024",
"source": "usda_pdp.samples",
"source_column": "commod",
"unit": "not_applicable"
},
"pdp_commodity_type_code": {
"available_at_upper_bound": "2025-12-23",
"datatype": "string",
"derivation": "verbatim native PDP commodity-form code",
"family": "pdp_product_context",
"feature": "pdp_commodity_type_code",
"leakage_assessment": "Sample context/calendar, independent of analytical results; identifier and outcome inputs forbidden",
"missingness": "Required non-null native value; literal codes preserved",
"observation_time": "2025-12-24",
"prediction_time_availability": "Verified release-time retrospective only, not prospective 2024",
"source": "usda_pdp.samples",
"source_column": "commtype",
"unit": "not_applicable"
},
"pdp_import_origin_country_code": {
"available_at_upper_bound": "2025-12-23",
"datatype": "string",
"derivation": "verbatim native PDP import-origin country code; null is not imputed",
"family": "pdp_product_context",
"feature": "pdp_import_origin_country_code",
"leakage_assessment": "Sample context/calendar, independent of analytical results; identifier and outcome inputs forbidden",
"missingness": "Null domestic non-applicability or unknown import origin; consult origin code",
"observation_time": "2025-12-24",
"prediction_time_availability": "Verified release-time retrospective only, not prospective 2024",
"source": "usda_pdp.samples",
"source_column": "country",
"unit": "not_applicable"
},
"pdp_origin_code": {
"available_at_upper_bound": "2025-12-23",
"datatype": "string",
"derivation": "verbatim native PDP origin code",
"family": "pdp_product_context",
"feature": "pdp_origin_code",
"leakage_assessment": "Sample context/calendar, independent of analytical results; identifier and outcome inputs forbidden",
"missingness": "Required non-null native value; literal codes preserved",
"observation_time": "2025-12-24",
"prediction_time_availability": "Verified release-time retrospective only, not prospective 2024",
"source": "usda_pdp.samples",
"source_column": "origin",
"unit": "not_applicable"
},
"pdp_product_claim_code": {
"available_at_upper_bound": "2025-12-23",
"datatype": "string",
"derivation": "verbatim native PDP label-claim code",
"family": "pdp_product_context",
"feature": "pdp_product_claim_code",
"leakage_assessment": "Sample context/calendar, independent of analytical results; identifier and outcome inputs forbidden",
"missingness": "Required non-null native value; literal codes preserved",
"observation_time": "2025-12-24",
"prediction_time_availability": "Verified release-time retrospective only, not prospective 2024",
"source": "usda_pdp.samples",
"source_column": "claim",
"unit": "not_applicable"
},
"pdp_sample_unit_count": {
"available_at_upper_bound": "2025-12-23",
"datatype": "integer",
"derivation": "verbatim nonnegative integer sample-unit count; null is not zero",
"family": "pdp_product_context",
"feature": "pdp_sample_unit_count",
"leakage_assessment": "Sample context/calendar, independent of analytical results; identifier and outcome inputs forbidden",
"missingness": "Null unknown, never zero",
"observation_time": "2025-12-24",
"prediction_time_availability": "Verified release-time retrospective only, not prospective 2024",
"source": "usda_pdp.samples",
"source_column": "quantity",
"unit": "count_individual_sample_units"
}
},
"forbidden_behavior": "No inference of labels from recalls/conditions; no history from this table without a newly reviewed availability contract.",
"missingness": {
"pdp_import_origin_country_code": 6028,
"pdp_sample_unit_count": 2045
},
"null_encoding": "\\N",
"numeric_features": [
"pdp_sample_unit_count",
"pdp_collection_dow_iso",
"pdp_collection_doy",
"pdp_collection_isoweek"
],
"reader": "tracefront_data.modeling_handoff.load_model_ready or cleaning.common.read_table; do not use dataframe default NA/type guessing",
"schema_version": "1.0",
"unknown_columns": "REJECT",
"version": "1.0"
},
"group_column": "pdp_sample_id",
"leakage_audit_passed": true,
"leakage_audit_path": "reports/m7_validation.json",
"leakage_audit_sha256": "4056852c6926e2f93a4fcb8b26c37737983836f2b2f5cef621bed29f13037a3b",
"limitations": [
"Retrospective supervised association study of the released 2024 PDP cohort only. Digital context and outcomes were released together; pre-assay public availability and operational prospective validation are unproved.",
"Detection depends on analyte/commodity assay sensitivity and sampling program; ND is not zero residue, absence of all pesticides, safe food or legal compliance. No tolerance comparison or regulatory exceedance target.",
"One fixed parent analyte (967 Imidacloprid); metabolites and other analytes are excluded. No sample-level any-pesticide label or untested negative manufactured.",
"One re-extraction excluded under a prespecified conservative original-result policy; NP would be excluded as marginal-performing nondetect. This selection can affect estimand and missingness.",
"Temporal collection-date holdout measures later-2024 cohort association, not a model trainable during 2024: all labels were published after the cohort. No future-year generalization is established.",
"No verified lot, farm, supplier or facility grouping; repeated upstream entities may remain. Do not claim new-farm/facility performance or representative population prevalence.",
"Imbalanced observed target; use prevalence baseline and class-aware metrics. Person B owns fitting, calibration, explanation and evaluation; no model or accuracy claim produced here.",
"Country null mixes domestic non-applicability and unknown origin. Quantity null is unknown, never zero. Native categorical tokens are not harmonized; variety text remains withheld.",
"No cross-source or historical features; NOAA ambient weather is not cold-chain telemetry. Pending FSIS, inspections and sensor datasets remain unavailable.",
"Actual IBM Z LinuxONE/s390x runtime has not been tested. Portable stdlib CSV/JSON path validated locally on x86_64 only."
],
"model_ready": true,
"negative_class": "0 = publisher MEAN ND (validated well-recovered nondetect)",
"observation_time": "2025-12-24",
"positive_class": "1 = publisher MEAN O (original-extraction imidacloprid detection)",
"profile": {
"categorical_domains": {
"pdp_commodity_code": {
"AL": 531,
"AP": 704,
"AV": 706,
"BK": 684,
"CB": 607,
"CS": 101,
"CT": 529,
"CU": 708,
"FS": 176,
"KZ": 24,
"LH": 708,
"LL": 706,
"NZ": 52,
"OG": 709,
"ON": 708,
"PK": 706,
"PN": 656,
"PO": 177,
"TT": 679
},
"pdp_commodity_type_code": {
"FR": 8865,
"FZ": 300,
"PU": 706
},
"pdp_import_origin_country_code": {
"160": 4,
"260": 172,
"275": 148,
"280": 77,
"285": 5,
"295": 579,
"315": 2,
"320": 26,
"325": 29,
"336": 1,
"415": 46,
"430": 51,
"450": 2,
"595": 2556,
"610": 19,
"660": 6,
"685": 16,
"720": 60,
"730": 1,
"801": 31,
"830": 2,
"925": 2,
"930": 4,
"945": 1,
"973": 1,
"M15": 1,
"MT5": 1
},
"pdp_origin_code": {
"1": 5936,
"2": 3843,
"3": 92
},
"pdp_product_claim_code": {
"NC": 9173,
"PD": 67,
"PO": 620,
"PP": 11
}
},
"collection_date_max": "2024-12-23",
"collection_date_min": "2024-01-02",
"columns": 18,
"missingness": {
"pdp_import_origin_country_code": 6028,
"pdp_sample_unit_count": 2045
},
"no_duplicate_sample": true,
"numeric_ranges": {
"pdp_collection_dow_iso": {
"max": 4,
"min": 1
},
"pdp_collection_doy": {
"max": 358,
"min": 2
},
"pdp_collection_isoweek": {
"max": 52,
"min": 1
},
"pdp_sample_unit_count": {
"max": 2124,
"min": 1
}
},
"rows": 9871,
"target_counts": {
"0": 9481,
"1": 390
},
"target_feature_separation": true,
"temporal_cutoff_proven": true,
"unique_observation_ids": 9871,
"unique_samples": 9871
},
"prospective_deployment_ready": false,
"provenance_sha256": "0767a5bfe419b4d12cea1bed0e5910c034834382afce866c09a4ba6ad4849426",
"readiness_path": "data/processed/chemical_imidacloprid_detection_training_v1.readiness.json",
"readiness_scope": "RETROSPECTIVE_RELEASE_COHORT_ONLY",
"recommended_split": {
"group_column": "pdp_sample_id",
"policy": "Whole collection days in chronological order, all rows of each sample together. Dataset has one row per sample. Fit all transforms on training only. Require both classes per partition; stop if unsupported.",
"proportions": [
0.7,
0.15,
0.15
],
"rationale": "Later collection-period holdout probes within-2024 drift without analytical sample overlap. All labels released together: this is retrospective temporal validation, not evidence a model could be trained during 2024. No result availability at earlier training boundaries is claimed.",
"secondary": "GROUPED sample holdout for within-cohort comparison; GEOGRAPHIC only after source location semantics reviewed. No facility IDs; cannot prove lot/farm independence.",
"time_column": "collection_date",
"type": "TEMPORAL"
},
"rows": 9871,
"schema_sha256": "0456a029bbbe74658b48daec4776903e3ed05974f486b8ca6ddf30242ff18a5e",
"schema_version": "1.0",
"split_audit": {
"limitation": "Released cohort study only; not a prospective 2024 backtest. No label-availability assumption at earlier collection boundaries.",
"method": "TEMPORAL_COLLECTION_PERIOD_RETROSPECTIVE",
"no_sample_overlap": true,
"partitions": {
"test": {
"max_date": "2024-12-23",
"min_date": "2024-11-06",
"rows": 1418,
"target_counts": {
"0": 1372,
"1": 46
}
},
"train": {
"max_date": "2024-09-09",
"min_date": "2024-01-02",
"rows": 6913,
"target_counts": {
"0": 6622,
"1": 291
}
},
"validation": {
"max_date": "2024-11-05",
"min_date": "2024-09-10",
"rows": 1540,
"target_counts": {
"0": 1487,
"1": 53
}
}
}
},
"target": "imidacloprid_detected",
"target_meaning": "Publisher original-extraction imidacloprid detection (O=1) versus validated well-recovered nondetect (ND=0). NP marginal-performing nondetect and R re-extraction excluded. Nondetect is assay-relative, not zero residue or safe food.",
"task": "binary_classification",
"temporal_cutoffs": "All context available by 2025-12-23 < observation_time 2025-12-24; no historical aggregates.",
"time_column": "collection_date",
"timestamps": {
"collection_date": "Specimen calendar date, no availability implication",
"observation_time": "2025-12-24, fixed retrospective release cutoff"
},
"training_performed": false,
"unit_of_observation": "One unambiguous original imidacloprid analytical result for one PDP 2024 sample; at most one row per sample.",
"version": "1.0"
}
],
"milestone": "M8",
"person_a_workflow_complete": true,
"person_b_contract": {
"compatible_invariants": "Source sample groups, target/ID exclusion, whole-day chronological splits, both classes per partition, fit preprocessing on training only; no estimated label-lag history.",
"existing": "food-risk-ml/docs/data_contract.md is Salmonella/FSIS-only and is NOT applicable to this chemical dataset.",
"required_adapter": "Separate chemical loader using this readiness/whitelist. Do not rename detection to salmonella_positive or pesticide_exceedance. Do not call existing FSIS training entrypoint on these files."
},
"portability": {
"architecture_assumptions": "No endian, SIMD or x86 instructions in the data path",
"formats": [
"UTF-8 CSV with LF and declared null escaping",
"UTF-8 JSON"
],
"known_s390x_issues": "No data-format issue known; actual interpreter/sqlite3 and target execution need verification. Person B modeling dependencies are a separate unresolved s390x concern.",
"native_data_dependencies_added": [],
"python_minimum": "3.11",
"runtime_dependencies": "Python standard library, including sqlite3 for upstream cleaning",
"s390x_executed": false,
"tested_architecture": "x86_64"
},
"provenance": {
"publisher_member_evidence": {
"analyte_reference_row": [
"967",
"Imidacloprid",
"A",
"9872"
],
"archive_path": "data/raw/usda_pdp/sha256/de916ba119f8d6dd5a4d5596c69b00c476fceeb31a96b1389dd005031c9c4d79/2024PDPDatabase.zip",
"archive_sha256": "de916ba119f8d6dd5a4d5596c69b00c476fceeb31a96b1389dd005031c9c4d79",
"dictionary_member": "PDP DataDictionary 2024.pdf",
"dictionary_relationship": "SAMPLE_PK uniquely identifies samples and is the analytical table foreign key.",
"mean_code_definitions": {
"ND": "Non-Detect: Validated, well-recovered",
"NP": "Non-Detect: Marginal Performing Analyte",
"O": "Detect: Original Extraction Value",
"R": "Detect - Re-extraction Analysis Value"
},
"reference_member": "PDP ReferenceTables 2024.xlsx",
"reference_member_sha256": "f530bd5dd31256733d4f9302f153111aeee14dcf3a04ebc8a88265203d108158"
},
"raw_artifacts": {
"fda_inspections": [
{
"artifact_id": "fda_classification_page",
"path": "data/raw/fda_inspections/sha256/7113e6b41a7ba98f99e93c2f4e073550636a653992ab555d1763b0127873a3f6/inspection-classification-database.html",
"retrieved_at": "2026-10-17T05:55:45.750521+00:00",
"sha256": "7113e6b41a7ba98f99e93c2f4e073550636a653992ab555d1763b0127873a3f6",
"size_bytes": 42257,
"source_url": "https://www.fda.gov/inspections-compliance-enforcement-and-criminal-investigations/inspection-classification-database",
"source_version": null
},
{
"artifact_id": "fda_inspection_dashboard",
"path": "data/raw/fda_inspections/sha256/b47ab3cb75d1e4d97ef5b26081de461e873e4c323bef698f9c7ff02fa715c73d/inspections.htm",
"retrieved_at": "2026-10-17T05:55:46.921522+00:00",
"sha256": "b47ab3cb75d1e4d97ef5b26081de461e873e4c323bef698f9c7ff02fa715c73d",
"size_bytes": 27649,
"source_url": "https://datadashboard.fda.gov/oii/cd/inspections.htm",
"source_version": null
},
{
"artifact_id": "fda_api_documentation",
"path": "data/raw/fda_inspections/sha256/91b62cbff3b236e5a2253030fb2d9ea5957d4ba99ffafe190a1f423f8e58a97d/api-index.htm",
"retrieved_at": "2026-10-17T05:55:47.159603+00:00",
"sha256": "91b62cbff3b236e5a2253030fb2d9ea5957d4ba99ffafe190a1f423f8e58a97d",
"size_bytes": 58406,
"source_url": "https://datadashboard.fda.gov/oii/api/index.htm",
"source_version": null
},
{
"artifact_id": "fda_license",
"path": "data/raw/fda_inspections/sha256/63fe227e41e9843bd7855c25c9a7a26a50f0d5a51a7da23aab868d75361b605d/website-policies.html",
"retrieved_at": "2026-10-17T05:57:23.596251+00:00",
"sha256": "63fe227e41e9843bd7855c25c9a7a26a50f0d5a51a7da23aab868d75361b605d",
"size_bytes": 45587,
"source_url": "https://www.fda.gov/about-fda/about-website/website-policies",
"source_version": null
}
],
"fsis_raw_poultry": [
{
"artifact_id": "fsis_catalog_page",
"path": "data/raw/fsis/sha256/ce9ab489a207ae0faa1aaaf80a6a31318c4f118d81af4a2c8839f2223c4a4ce3/catalog.html",
"retrieved_at": "2026-10-17T05:39:59.722602+00:00",
"sha256": "ce9ab489a207ae0faa1aaaf80a6a31318c4f118d81af4a2c8839f2223c4a4ce3",
"size_bytes": 123843,
"source_url": "https://catalog.data.gov/dataset/fsis-laboratory-sampling-data-raw-poultry-sampling",
"source_version": null
},
{
"artifact_id": "fsis_catalog_metadata",
"path": "data/raw/fsis/sha256/e8f3d9d7641f8109eab5405de93e833f573ed349e13266f1b03e71058338c3a0/catalog_metadata.json",
"retrieved_at": "2026-10-17T05:40:00.232526+00:00",
"sha256": "e8f3d9d7641f8109eab5405de93e833f573ed349e13266f1b03e71058338c3a0",
"size_bytes": 1581,
"source_url": "https://catalog.data.gov/harvest_record/8bd3606e-32f0-415c-ab74-38527ec5f9aa/raw",
"source_version": null
}
],
"noaa_ghcn_daily": [
{
"artifact_id": "ghcn_stations",
"path": "data/raw/noaa/sha256/428eabc955883187935bce283766d5646e3ed7484b92eb0803874c0e8dd9b342/ghcnd-stations.txt",
"retrieved_at": "2026-10-17T05:55:51.729577+00:00",
"sha256": "428eabc955883187935bce283766d5646e3ed7484b92eb0803874c0e8dd9b342",
"size_bytes": 11441354,
"source_url": "https://www.ncei.noaa.gov/pub/data/ghcn/daily/ghcnd-stations.txt",
"source_version": null
},
{
"artifact_id": "ghcn_readme",
"path": "data/raw/noaa/sha256/0e4e6f0e6947cf1add884c328a01760f31c56ef5fb86b85ed57dd5dc4c4aeaa6/readme.txt",
"retrieved_at": "2026-10-17T05:55:48.222051+00:00",
"sha256": "0e4e6f0e6947cf1add884c328a01760f31c56ef5fb86b85ed57dd5dc4c4aeaa6",
"size_bytes": 29587,
"source_url": "https://www.ncei.noaa.gov/pub/data/ghcn/daily/readme.txt",
"source_version": null
},
{
"artifact_id": "ghcn_version",
"path": "data/raw/noaa/sha256/af43ea47247547b0905b10a88cf70d7d99a04120dd29cd0e8f4487457a608cef/ghcnd-version.txt",
"retrieved_at": "2026-10-17T05:55:47.997985+00:00",
"sha256": "af43ea47247547b0905b10a88cf70d7d99a04120dd29cd0e8f4487457a608cef",
"size_bytes": 270,
"source_url": "https://www.ncei.noaa.gov/pub/data/ghcn/daily/ghcnd-version.txt",
"source_version": null
},
{
"artifact_id": "ghcn_catalog",
"path": "data/raw/noaa/sha256/48c36b6d4d9ebe2ad523cb20c634372c25a14c89fc1608743d6038638c61d5a0/C00861.html",
"retrieved_at": "2026-10-17T05:55:48.719235+00:00",
"sha256": "48c36b6d4d9ebe2ad523cb20c634372c25a14c89fc1608743d6038638c61d5a0",
"size_bytes": 53716,
"source_url": "https://www.ncei.noaa.gov/access/metadata/landing-page/bin/iso?id=gov.noaa.ncdc:C00861",
"source_version": null
},
{
"artifact_id": "noaa_policy",
"path": "data/raw/noaa/sha256/472f577c9f53d5f54782f71a9e6a110b694b9e8b4fd33fcb26a4bc4e6417e999/privacy.html",
"retrieved_at": "2026-10-17T05:55:49.230594+00:00",
"sha256": "472f577c9f53d5f54782f71a9e6a110b694b9e8b4fd33fcb26a4bc4e6417e999",
"size_bytes": 19821,
"source_url": "https://data.ngdc.noaa.gov/ngdcinfo/privacy.html",
"source_version": null
},
{
"artifact_id": "ghcn_station_data",
"path": "data/raw/noaa/sha256/66f1bdd365da92a90f5fe4f74347f9988c09bc09eeadeff8090f031f8f75ee24/MYM00048647.dly",
"retrieved_at": "2026-10-17T05:56:38.000203+00:00",
"sha256": "66f1bdd365da92a90f5fe4f74347f9988c09bc09eeadeff8090f031f8f75ee24",
"size_bytes": 715770,
"source_url": "https://www.ncei.noaa.gov/pub/data/ghcn/daily/all/MYM00048647.dly",
"source_version": null
}
],
"opendosm_crops_district_area": [
{
"artifact_id": "crops_district_area",
"path": "data/raw/opendosm/sha256/10e71cb5da3471b92ecf20d7ac0d74c3be3e403b226086307fefa808b4b7e672/crops_district_area.csv",
"retrieved_at": "2026-10-17T05:55:52.943510+00:00",
"sha256": "10e71cb5da3471b92ecf20d7ac0d74c3be3e403b226086307fefa808b4b7e672",
"size_bytes": 542038,
"source_url": "https://storage.data.gov.my/agriculture/crops_district_area.csv",
"source_version": null
},
{
"artifact_id": "crops_district_area_catalog",
"path": "data/raw/opendosm/sha256/2b93292c7c60d6712557c4976087f0f4b84ede81adc45dd06fb32ccab36b9ecf/crops_district_area.html",
"retrieved_at": "2026-10-17T05:55:53.003432+00:00",
"sha256": "2b93292c7c60d6712557c4976087f0f4b84ede81adc45dd06fb32ccab36b9ecf",
"size_bytes": 115303,
"source_url": "https://open.dosm.gov.my/data-catalogue/crops_district_area",
"source_version": null
}
],
"opendosm_crops_district_production": [
{
"artifact_id": "crops_district_production",
"path": "data/raw/opendosm/sha256/d3bdf3a710f4635214f3191deb6970849e9f8b623bae43b3de823bfe802449cd/crops_district_production.csv",
"retrieved_at": "2026-10-17T05:55:52.598252+00:00",
"sha256": "d3bdf3a710f4635214f3191deb6970849e9f8b623bae43b3de823bfe802449cd",
"size_bytes": 567921,
"source_url": "https://storage.data.gov.my/agriculture/crops_district_production.csv",
"source_version": null
},
{
"artifact_id": "crops_district_production_catalog",
"path": "data/raw/opendosm/sha256/90f565daeeec929a06eb4e178441d0675fdd0fbebbda944b52b658764f297fee/crops_district_production.html",
"retrieved_at": "2026-10-17T05:55:52.732970+00:00",
"sha256": "90f565daeeec929a06eb4e178441d0675fdd0fbebbda944b52b658764f297fee",
"size_bytes": 115273,
"source_url": "https://open.dosm.gov.my/data-catalogue/crops_district_production",
"source_version": null
}
],
"opendosm_crops_state": [
{
"artifact_id": "crops_state",
"path": "data/raw/opendosm/sha256/b977d8ff61c536909f8131374de484bd1d0cb2d37935c875018b1b89577a849b/crops_state.csv",
"retrieved_at": "2026-10-17T05:55:52.137738+00:00",
"sha256": "b977d8ff61c536909f8131374de484bd1d0cb2d37935c875018b1b89577a849b",
"size_bytes": 68546,
"source_url": "https://storage.data.gov.my/agriculture/crops_state.csv",
"source_version": null
},
{
"artifact_id": "crops_state_catalog",
"path": "data/raw/opendosm/sha256/f5d90d4b1404fb01abbf3d4d775bc62e682d9e699df4e8120da09fab7a217d5c/crops_state.html",
"retrieved_at": "2026-10-17T05:55:52.313171+00:00",
"sha256": "f5d90d4b1404fb01abbf3d4d775bc62e682d9e699df4e8120da09fab7a217d5c",
"size_bytes": 106748,
"source_url": "https://open.dosm.gov.my/data-catalogue/crops_state",
"source_version": null
}
],
"openfda_enforcement": [
{
"artifact_id": "openfda_local_json",
"path": "data/external/openfda/sha256/02f3e7959cc732d8f1983f2b87edbbecc6d2f4959eaef50a597f640fbc513e2d/food-enforcement-0001-of-0001.json",
"retrieved_at": null,
"sha256": "02f3e7959cc732d8f1983f2b87edbbecc6d2f4959eaef50a597f640fbc513e2d",
"size_bytes": 39906111,
"source_url": null,
"source_version": "embedded 2026-10-14; original retrieval unknown"
},
{
"artifact_id": "openfda_local_zip",
"path": "data/external/openfda/sha256/7f8e2b5bd6e05e0cbf15e43860c74538ad09e1f8b07928e9c92de3ead3dac9c6/food-enforcement-0001-of-0001.json.zip",
"retrieved_at": null,
"sha256": "7f8e2b5bd6e05e0cbf15e43860c74538ad09e1f8b07928e9c92de3ead3dac9c6",
"size_bytes": 5858570,
"source_url": null,
"source_version": null
},
{
"artifact_id": "openfda_download_index",
"path": "data/external/openfda/sha256/e9c8536852ecd25fdc15b79a5f7c41cb3803f31dbc7c52b86a6feddc3ac220a1/download_index.json",
"retrieved_at": "2026-10-17T05:40:03.609682+00:00",
"sha256": "e9c8536852ecd25fdc15b79a5f7c41cb3803f31dbc7c52b86a6feddc3ac220a1",
"size_bytes": 593799,
"source_url": "https://api.fda.gov/download.json",
"source_version": null
},
{
"artifact_id": "openfda_license",
"path": "data/external/openfda/sha256/7fda0041a24f8d7139a1781d4462ae39643a2ee6f3b0f079946c989a8e1982d2/license.html",
"retrieved_at": "2026-10-17T05:40:05.044709+00:00",
"sha256": "7fda0041a24f8d7139a1781d4462ae39643a2ee6f3b0f079946c989a8e1982d2",
"size_bytes": 123019,
"source_url": "https://open.fda.gov/license/",
"source_version": null
},
{
"artifact_id": "openfda_dictionary",
"path": "data/external/openfda/sha256/9c92fc04f447e70936c8646d9ac0f7a50af2118f01fd3b26d039e19860418baa/foodenforcement_reference.pdf",
"retrieved_at": "2026-10-17T05:40:05.830130+00:00",
"sha256": "9c92fc04f447e70936c8646d9ac0f7a50af2118f01fd3b26d039e19860418baa",
"size_bytes": 55827,
"source_url": "https://open.fda.gov/fields/foodenforcement_reference.pdf",
"source_version": null
},
{
"artifact_id": "openfda_upstream_zip",
"path": "data/external/openfda/sha256/7f8e2b5bd6e05e0cbf15e43860c74538ad09e1f8b07928e9c92de3ead3dac9c6/food-enforcement-0001-of-0001.json.zip",
"retrieved_at": "2026-10-17T05:40:08.830596+00:00",
"sha256": "7f8e2b5bd6e05e0cbf15e43860c74538ad09e1f8b07928e9c92de3ead3dac9c6",
"size_bytes": 5858570,
"source_url": "https://download.open.fda.gov/food/enforcement/food-enforcement-0001-of-0001.json.zip",
"source_version": null
}
],
"usda_pdp": [
{
"artifact_id": "pdp_2024",
"path": "data/raw/usda_pdp/sha256/de916ba119f8d6dd5a4d5596c69b00c476fceeb31a96b1389dd005031c9c4d79/2024PDPDatabase.zip",
"retrieved_at": "2026-10-17T05:55:45.335571+00:00",
"sha256": "de916ba119f8d6dd5a4d5596c69b00c476fceeb31a96b1389dd005031c9c4d79",
"size_bytes": 10600875,
"source_url": "https://www.ams.usda.gov/sites/default/files/media/2024PDPDatabase.zip",
"source_version": null
},
{
"artifact_id": "pdp_catalog",
"path": "data/raw/usda_pdp/sha256/2ed2e7b9eb9111d0bd5ca722cf28a3101e49bc5c7d9615f33025e5509bcbf338/pdpdata.html",
"retrieved_at": "2026-10-17T05:55:44.364242+00:00",
"sha256": "2ed2e7b9eb9111d0bd5ca722cf28a3101e49bc5c7d9615f33025e5509bcbf338",
"size_bytes": 49219,
"source_url": "https://www.ams.usda.gov/datasets/pdp/pdpdata",
"source_version": null
},
{
"artifact_id": "pdp_instructions",
"path": "data/raw/usda_pdp/sha256/e1e1bbe759d73074a9915373097b5433f05aeb4c8ef7d70c5a904949ae4bb1fe/PDPDatabaseInstructions.pdf",
"retrieved_at": "2026-10-17T05:55:44.645478+00:00",
"sha256": "e1e1bbe759d73074a9915373097b5433f05aeb4c8ef7d70c5a904949ae4bb1fe",
"size_bytes": 80736,
"source_url": "https://www.ams.usda.gov/sites/default/files/media/PDPDatabaseInstructions.pdf",
"source_version": null
},
{
"artifact_id": "pdp_search_dictionary",
"path": "data/raw/usda_pdp/sha256/da5a0b019cafd956b707aef30059d1e089fa9893e721c78967fd3c3942e176e1/PDPSearchAppDataDictionary.pdf",
"retrieved_at": "2026-10-17T05:55:43.768886+00:00",
"sha256": "da5a0b019cafd956b707aef30059d1e089fa9893e721c78967fd3c3942e176e1",
"size_bytes": 250124,
"source_url": "https://www.ams.usda.gov/sites/default/files/media/PDPSearchAppDataDictionary.pdf",
"source_version": null
}
]
},
"raw_immutability": {
"acquisition_status": "partial",
"checked_artifacts": 28,
"failures": [],
"integrity_ok": true
},
"stage_fingerprints": {
"configs/m6_join_proposals.json": "396c9f23a68a32fa9c05e1888ec34fec529fd1db28fb344b72e90d3ad0af4852",
"configs/m7_chemical_detection_v1.json": "3f83182269e23b09122534042030e7086390af8815f442c224dc48d196b66dca",
"configs/source_contracts.json": "d7fce7156f82a1dbded326f672c9fd678a95f2c37b918d423c73bed714de29a1",
"reports/m1_source_manifest.json": "ea1b9446b2f2e47013217b1abe1729b77e0ae67d50f56d9987e65e37b5743581",
"reports/m2_cleaning_summary.json": "b99300603ddc2cb23cccf4a26a6f15faa5c6e717ee5d1655ad3a25a4114c9afb",
"reports/m5_validation.json": "9aebaa735ec8c0d36e9d16a62bdb2e7ca89f5909f4ddd465bb5feeadc79495e0",
"reports/m6_validation.json": "70a7b06d473f479517d061ef2b3a3c6744bb9e23ec92a23d7d2e3bbbf976e57b",
"reports/m7_validation.json": "4056852c6926e2f93a4fcb8b26c37737983836f2b2f5cef621bed29f13037a3b",
"src/tracefront_data/enrichment.py": "ff057d0c268df44be98ff170e352d404e28d2c34a58c3a4e15708052d62cd6d6",
"src/tracefront_data/modeling_handoff.py": "d4e2db6636057be6f583ae32ba6d281011b6c65edf28224654228cecdd004192"
},
"training_source": "USDA AMS PDP 2024 only; other source artifacts are acquisition context, not inputs to predictors or target.",
"versions": {
"M1": "frozen 20261017T060123145416Z-29c44de9 receipt",
"canonical_schema": "configs/source_contracts.json (source-specific M4 mappings)",
"cleaning": "m2_v1",
"dataset": "1.0",
"enrichment": "m6_v1 J01 only",
"features": "m5_v1",
"leakage_audit": "m7_v1"
}
},
"reproduction_command": "PYTHONPATH=src python -m tracefront_data.modeling_handoff --rebuild-check",
"status": "COMPLETE",
"task_readiness": {
"BIOLOGICAL": {
"reason": "BLOCKED_PENDING_FSIS: official raw pathogen samples and matching dictionary not acquired.",
"status": "BLOCKED"
},
"CHEMICAL": {
"reason": "Original imidacloprid detection; retrospective release-cohort scope only.",
"status": "MODEL_READY"
},
"COLD_CHAIN": {
"reason": "BLOCKED_PENDING_SENSOR_DATA: no validated specimen-linked storage/sensor/microbial series.",
"status": "BLOCKED"
}
},
"training_performed": false,
"workflow": "Frozen raw → M2 clean → verify M4/M5 → M6 J01 → M7 leakage/target audit → M8 processed dataset"
}