MyNixOS website logo
Description

Submission Confidence Index Engine.

Converts standardized R4SUB (R for Regulatory Submission) evidence into indicator scores, pillar scores, and a Submission Confidence Index (SCI). Provides sensitivity analysis, explainability tables, and decision band classification to answer the question: are we ready for regulatory submission.

r4subscore

r4subscore is the scoring and calibration engine of the R4SUB ecosystem.

It converts standardized evidence (from r4subcore and companion packages like r4subtrace) into:

  • Indicator Scores (per-indicator 0--1)
  • Pillar Scores (per-domain 0--1)
  • Submission Confidence Index (SCI, 0--100)
  • Decision Bands (Ready / Minor Gaps / Conditional / High Risk)
  • Sensitivity Analysis (SCI stability under weight variations)
  • Explainability Tables (which indicators drive SCI up/down)

It answers the executive question:

Are we ready for regulatory submission -- and how confident are we?

Installation

pak::pak(c("R4SUB/r4subcore", "R4SUB/r4subscore"))

Quick Start

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

Core Functions

FunctionPurpose
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 Bands

SCIBandInterpretation
85--100readyReady for Submission
70--84minor_gapsMinor Gaps to Address
50--69conditionalConditional -- Address Key Issues
0--49high_riskHigh Risk

Scoring Logic

  1. Each evidence row gets a weighted score: result_score * (1 - severity_weight)
  2. Indicator scores = mean weighted score per indicator
  3. Pillar scores = mean indicator score per domain
  4. SCI = weighted sum of pillar scores x 100

License

MIT.

Metadata

Version

0.1.0

License

Unknown

Platforms (78)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows