How parktj4264/drb-code works
DRB-Code automates REF-versus-TARGET measurement analysis: users provide raw measurements and ROOTID group mappings, choose GUI or script execution, and receive Sigma results plus review outputs. The README documents both launch paths invoking the shared main pipeline, configurable analysis inputs, and CSV, PowerPoint, and Spotfire outputs. The source excerpts were unavailable, so internal calls between the pipeline stages are not asserted; those stages are represented only where the tree supports their paths.
Main entry points: main.R Shared pipeline · gui_app.R GUI workflow · run_gui.R GUI launch · run.R Script launch
Components 19
Execution
- GUI launch
run_gui.R - Script launch
run.R - GUI workflow
src/gui/gui_app.R - Quick preview
src/gui/gui_preview.R
Analysis
- Analysis inputs
data - Shared pipeline
main.R - Data loading
src/01_load_data.R - Statistical analysis
src/02_calc_stats.R - One-sigma metric
src/metrics/metric_one_sigma.R - Custom metrics
src/metrics/metric_custom.R
Results and reports
- Analysis results
output/results.csv - Metric issue summary
output/metric_issues_latest.csv - Review presentation
src/03_create_ppt.R - Sigma summary PPT
output/sigma_summary_latest.pptx - Output finalization
src/05_finalize_outputs.R
Spotfire
- Spotfire data generation
src/04_create_spotfire.R - Spotfire data files
spotfire - Spotfire project
spotfire/drb_spotfire.dxp
Other components
- Analyst
Connections 15
- Analyst → GUI launch: launches
README.md - Analyst → Script launch: launches
README.md - GUI launch → GUI workflow: starts GUI
README.md - GUI workflow → Shared pipeline: runs full analysis
README.md - Script launch → Shared pipeline: runs analysis
README.md - Analysis inputs → Shared pipeline: provides inputs
README.md - Shared pipeline → Analysis results: produces results
README.md - Shared pipeline → Metric issue summary: reports issues
README.md - Shared pipeline → Review presentation: creates presentation
README.md - Review presentation → Sigma summary PPT: writes PPT
README.md - Shared pipeline → Spotfire data generation: generates when enabled
README.md - Spotfire data generation → Spotfire data files: writes data
README.md - Analyst → Quick preview: requests preview
README.md - GUI workflow → Quick preview: offers preview
README.md - Analyst → Spotfire project: may open
README.md