r4subscore is the scoring and calibration engine of the R4SUB ecosystem.
It converts standardized evidence (from r4subcore and
companion packages like r4subtrace) into:
It answers the executive question:
Are we ready for regulatory submission – and how confident are we?
pak::pak(c("R4SUB/r4subcore", "R4SUB/r4subscore"))library(r4subcore)
library(r4subscore)
# assume ev is a validated evidence table
pillar_scores <- compute_pillar_scores(ev)
sci <- compute_sci(pillar_scores)
sci$SCI
sci$band| Function | Purpose |
|---|---|
sci_config_default() |
Pillar weights + decision bands config |
classify_band() |
Classify an SCI value into a decision band |
compute_indicator_scores() |
Severity-weighted indicator-level scores |
compute_pillar_scores() |
Aggregate indicators into pillar scores |
compute_sci() |
Compute SCI (0–100) + band classification |
sci_sensitivity_analysis() |
SCI under alternative weight scenarios |
sci_explain() |
Top loss contributors + pillar breakdown |
| SCI | Band | Interpretation |
|---|---|---|
| 85–100 | ready |
Ready for Submission |
| 70–84 | minor_gaps |
Minor Gaps to Address |
| 50–69 | conditional |
Conditional – Address Key Issues |
| 0–49 | high_risk |
High Risk |
result_score * (1 - severity_weight)MIT