Add diagnostics report workflow
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user