Commit 8716cb0
Checkpoint prerequisite files for cross-container --script mode
download_private_prerequisites.py downloads files (puf_2015.csv,
demographics_2015.csv, soi.csv, np2023_d5_mid.csv, policy_data.db)
to the local filesystem, which vanishes when the container exits.
In --script mode, each script runs in a separate container, so
subsequent scripts couldn't find the prerequisites.
Fix: save prerequisite files to the checkpoint volume after download,
and restore them before running any other script.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent da8dddd commit 8716cb0
1 file changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
101 | 112 | | |
102 | 113 | | |
103 | 114 | | |
| |||
700 | 711 | | |
701 | 712 | | |
702 | 713 | | |
703 | | - | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
704 | 718 | | |
705 | 719 | | |
706 | 720 | | |
| |||
710 | 724 | | |
711 | 725 | | |
712 | 726 | | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
713 | 731 | | |
714 | 732 | | |
715 | 733 | | |
| |||
0 commit comments