v2 run (D53-D57): recomputed truths and RCT truths, re-rendered draft report; one thread per worker

Main draft grid 2,700 jobs and physician-cluster bootstrap 80 jobs, 0 errors.
Report prose in Section 1+ still quotes first-run numbers; to be rewritten after the Aim 1 review.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-30 09:09:26 -04:00
co-authored by Claude Opus 5.5
parent ae58d0f7ca
commit d86732ff0a
5 changed files with 25860 additions and 3570 deletions
+16057 -3186
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -2,6 +2,8 @@
# Usage: Rscript simulations/run_experiment.R main [--scale draft] [--cores 10] [--worlds W0,W2] # Usage: Rscript simulations/run_experiment.R main [--scale draft] [--cores 10] [--worlds W0,W2]
pkgload::load_all("pvisim", quiet = TRUE) pkgload::load_all("pvisim", quiet = TRUE)
suppressPackageStartupMessages(library(data.table)) suppressPackageStartupMessages(library(data.table))
# one thread per worker: parallelism comes from mclapply across replicates
setDTthreads(1); fixest::setFixest_nthreads(1)
a <- commandArgs(TRUE) a <- commandArgs(TRUE)
opt <- function(flag, default) { i <- match(flag, a); if (is.na(i)) default else a[i + 1] } opt <- function(flag, default) { i <- match(flag, a); if (is.na(i)) default else a[i + 1] }
grid_name <- a[1] grid_name <- a[1]
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff