Add diagnostics report workflow

This commit is contained in:
aseimel
2026-06-15 16:33:19 +02:00
parent 91403e2bdf
commit bc2d616605
24 changed files with 7896 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# Diagnostics
This folder contains the repository diagnostics report for the Scientific Data Data Descriptor. It is generated from the model-ready inputs and the completed model/post-estimation outputs, so it can only be rerun after the estimation workflow has produced party-position, convergence, and validation artifacts.
Regenerate from the repository root with:
```bash
Rscript diagnostics/generate_diagnostics.R
```
If model outputs are stored outside the repository root, point the script to them:
```bash
PARTY2D_OUTPUTS_DIR=/path/to/outputs Rscript diagnostics/generate_diagnostics.R
```
Generated files are written to `diagnostics/generated/`. The Markdown report is also copied to `data/releases/party_2d_diagnostics_report_v0.md` for the release bundle.