lietzsche;flynn

updated 2026-11-26·8 min read

UTBK-SNBT Item Response Theory

Permendikbudristek No. 48/2022 7-subtest blueprint, Birnbaum 3PL model, 41-node Bayesian EAP quadrature, Test Information, SEM, and BPPP 200-1000 scaling.

My first UTBK scorer solved for ability θ\theta using Newton-Raphson Maximum Likelihood Estimation, which worked fine on middle-of-the-pack scores and blew up with NaN the moment someone hit 0/160 or 160/160 (driving θ\theta toward ±∞\pm \infty and dividing by zero). Then while auditing the item bank, one quantitative item (utbk-pm-02, C(v)=2v2−160v+4200C(v) = 2v^2 - 160v + 4200) turned out to mix thousands of rupiah in the prompt with raw rupiah in the answer key.

Scoring the Ujian Tulis Berbasis Komputer Seleksi Nasional Berdasarkan Tes (UTBK-SNBT) honestly means grading the full 160-item, 195-minute Permendikbudristek No. 48/2022 structure with Birnbaum’s 3-Parameter Logistic (3PL) model instead of flat percentage correct, and solving ability with a 41-node Bayesian Expected A Posteriori (EAP) estimator that doesn’t crash on extreme score vectors.

UTBK-SNBT practice runner showing Literasi dalam Bahasa Indonesia reading passage above the prompt stem, options A through E, and 30-item Question Navigator
the /modules/utbk-snbt/practice runner displaying a reading stimulus stacked above the prompt and choices, with the 30-item navigator on the right.

7-Subtest National Blueprint (160 Items, 195 Minutes)

There are 152 multiple-choice items and 8 short numeric fill-in items split across TPS (Tes Potensi Skolastik) and Literasi:

National Blueprint Table: TPS & Literasi (7 Subtests, 160 Items)
ClusterCodeSubtestItemsTimePaceFormat
TPSPUPenalaran Umum3030 min60s / item5-Option MCQ
TPSPBMPemahaman Bacaan & Menulis2025 min75s / item5-Option MCQ
TPSPPUPengetahuan & Pemahaman Umum2015 min45s / item5-Option MCQ
TPSPKPengetahuan Kuantitatif2020 min60s / itemMCQ + Numeric Fill-in
LiterasiLBILiterasi dalam Bahasa Indonesia3042.5 min85s / itemReading Passage MCQ
LiterasiLBELiterasi dalam Bahasa Inggris2020 min60s / itemReading Passage MCQ
LiterasiPMPenalaran Matematika2042.5 min127.5s / itemMCQ + Numeric Fill-in

Birnbaum 3PL & 41-Node Bayesian EAP

Under the 3PL model (Birnbaum, 1968; Lord, 1980), each item carries three parameters:

  • ai∈[0.90,2.20]a_i \in [0.90, 2.20]: Item discrimination (how steeply an item separates higher and lower ability around bib_i).
  • bi∈[−2.5,+2.5]b_i \in [-2.5, +2.5]: Item difficulty in logits.
  • cic_i: Lower pseudo-guessing asymptote, set to 0.20 for 5-choice MCQs and 0.0 for PK/PM numeric fill-ins (where 1-of-5 guessing doesn’t apply).

Instead of Newton-Raphson MLE, Flynn evaluates a 41-node uniform-grid Bayesian EAP quadrature over θk∈[−4.0,+4.0]\theta_k \in [-4.0, +4.0] with step size ΔX=0.2\Delta X = 0.2 and standard normal prior weights. Subtracting the peak log-likelihood before exponentiating keeps 160-item products from underflowing IEEE 754 floats, and the Gaussian prior pulls empty and perfect scores smoothly to finite bounds alongside a 95% confidence interval from the posterior SEM.

Math: Birnbaum 3PL, EAP Quadrature, Test Information & SEM

Birnbaum 3PL Probability (D=1.702D = 1.702 aligns the logistic curve to the normal ogive within <0.01< 0.01):

Pi(θ)=ci+1−ci1+exp⁡(−D⋅ai(θ−bi))P_i(\theta) = c_i + \frac{1 - c_i}{1 + \exp\left(-D \cdot a_i (\theta - b_i)\right)}

Log-Domain Bayesian EAP Estimator (Wk∝g(Xk) ΔXW_k \propto g(X_k)\,\Delta X):

ln⁡L(u∣θ)=∑i=1N[uiln⁡Pi(θ)+(1−ui)ln⁡(1−Pi(θ))]\ln L(\mathbf{u} \mid \theta) = \sum_{i=1}^N \left[ u_i \ln P_i(\theta) + (1 - u_i) \ln(1 - P_i(\theta)) \right]

θ^EAP=∑k=141Xk⋅L~(u∣Xk)⋅Wk∑k=141L~(u∣Xk)⋅Wk,L~(u∣Xk)=exp⁡(ln⁡L(u∣Xk)−max⁡jln⁡L(u∣Xj))\hat{\theta}_{\text{EAP}} = \frac{\sum_{k=1}^{41} X_k \cdot \tilde{L}(\mathbf{u} \mid X_k) \cdot W_k}{\sum_{k=1}^{41} \tilde{L}(\mathbf{u} \mid X_k) \cdot W_k}, \qquad \tilde{L}(\mathbf{u} \mid X_k) = \exp\left(\ln L(\mathbf{u} \mid X_k) - \max_j \ln L(\mathbf{u} \mid X_j)\right)

Item / Test Information & Posterior SEM (95%95\% CI [θ^EAP−1.96⋅SEM,  θ^EAP+1.96⋅SEM][\hat{\theta}_{\text{EAP}} - 1.96 \cdot \text{SEM}, \; \hat{\theta}_{\text{EAP}} + 1.96 \cdot \text{SEM}]):

Ii(θ)=(Dai)21−Pi(θ)Pi(θ)[Pi(θ)−ci1−ci]2,I(θ)=∑i=1NIi(θ)I_i(\theta) = (D a_i)^2 \frac{1 - P_i(\theta)}{P_i(\theta)} \left[ \frac{P_i(\theta) - c_i}{1 - c_i} \right]^2, \qquad I(\theta) = \sum_{i=1}^N I_i(\theta)

SEM⁡(θ^)=∑k=141(Xk−θ^EAP)2⋅L~(u∣Xk)⋅Wk∑k=141L~(u∣Xk)⋅Wk\operatorname{SEM}(\hat{\theta}) = \sqrt{\frac{\sum_{k=1}^{41} (X_k - \hat{\theta}_{\text{EAP}})^2 \cdot \tilde{L}(\mathbf{u} \mid X_k) \cdot W_k}{\sum_{k=1}^{41} \tilde{L}(\mathbf{u} \mid X_k) \cdot W_k}}

Implementation: computeEapTheta (src/utils/irtScoring.ts)
export function p3PL(theta: number, a = 1.2, b = 0.0, c = 0.20): number {
  const exponent = -1.702 * a * (theta - b)
  if (exponent > 50) return c
  if (exponent < -50) return 1.0
  return c + (1.0 - c) / (1.0 + Math.exp(exponent))
}

export function computeEapTheta(
  responses: { isCorrect: boolean; a: number; b: number; c: number }[]
): { theta: number; sem: number } {
  const NODES = 41
  const MIN_THETA = -4.0
  const STEP = 8.0 / (NODES - 1)

  const logLikelihoods = new Float64Array(NODES)
  let maxLogLikelihood = -Infinity

  for (let k = 0; k < NODES; k++) {
    const thetaK = MIN_THETA + k * STEP
    let logL = 0
    for (const item of responses) {
      const p = p3PL(thetaK, item.a, item.b, item.c)
      const clampedP = Math.max(1e-12, Math.min(1.0 - 1e-12, p))
      logL += item.isCorrect ? Math.log(clampedP) : Math.log(1.0 - clampedP)
    }
    logLikelihoods[k] = logL
    if (logL > maxLogLikelihood) maxLogLikelihood = logL
  }

  let numerator = 0
  let denominator = 0
  const weights = new Float64Array(NODES)

  for (let k = 0; k < NODES; k++) {
    const thetaK = MIN_THETA + k * STEP
    const prior = Math.exp(-0.5 * thetaK * thetaK) / Math.sqrt(2 * Math.PI)
    const w = Math.exp(logLikelihoods[k] - maxLogLikelihood) * prior * STEP
    weights[k] = w
    numerator += thetaK * w
    denominator += w
  }

  const theta = Math.max(-4.0, Math.min(4.0, denominator > 0 ? numerator / denominator : 0))

  let variance = 0
  for (let k = 0; k < NODES; k++) {
    const diff = MIN_THETA + k * STEP - theta
    variance += diff * diff * weights[k]
  }
  const sem = Math.sqrt(Math.max(1e-4, denominator > 0 ? variance / denominator : 1.0))

  return { theta, sem }
}

BPPP 200-1000 Scale & Procedural AIG

Latent ability θ^∈[−4.0,+4.0]\hat{\theta} \in [-4.0, +4.0] maps linearly onto the BPPP scale (M=500,SD=100M = 500, SD = 100) via min(1000, max(200, round(500 + 100 * theta))).

Landscape A4 UTBK 2026 score report certificate displaying candidate metadata, pasfoto silhouette, procedural QR code, Gaussian bell-curve watermark, TPS and Literasi subtest scores, and Composite Average
the landscape a4 utbk-snbt certificate report rendering subtest scaled scores on the bppp 200-1000 scale.

For the printable landscape certificate (UTBKCertificateDocument.tsx), I built a zero-dependency procedural SVG QR code (UTBKProceduralQrCode.tsx) and Gaussian bell-curve watermark (UTBKWatermarkSvg.tsx) directly instead of pulling in 50+ KB qrcode or html2canvas bundles, and toSafeDataUrl pre-inlines external OAuth avatars as base64 data URLs so CORS doesn’t taint canvas PDF exports.

For Attempt 2+ drills (PK and PM), Flynn applies cognitive Automated Item Generation (Embretson, 1999; Gierl & Haladyna, 2012): structural radicals that lock item difficulty bib_i stay fixed while surface incidentals mutate deterministically via SplitMix32. See Platform Architecture for 4-hour JWT session handling and Database & Empirical Evaluation for the log-domain stabilization details and algebraic generator fixes.

Every canonical bank also runs through automated checks before shipping to catch unit mismatches (like utbk-pm-02 mixing thousands of rupiah with raw rupiah) and competing synonym distractors (berkala vs serentak for sering). Option order stays locked on Data Sufficiency and PP-vs-QQ comparisons, MCQ keys balance within each subtest (max streak ≤2\le 2), and longest-option keys stay under 35%35\% across reading passages so you can’t guess answers by word length.

Flynn is an independent study platform with no affiliation to BPPP, SNPMB, or Kemendikbudristek. Item parameters (ai,bi,cia_i, b_i, c_i) are instrument-calibrated weights rather than official national cohort parameterizations, and scaled scores are for private practice only.

Primary Sources: UTBK-SNBT & 3PL IRT
  • Permendikbudristek No. 48/2022 & BP-SNPMB Framework: Official 7-subtest structure, 160-item blueprint, and 200-1000 standard scale.
  • Birnbaum, A. (1968): Some latent trait models and their use in inferring an examinee’s ability. In Lord & Novick, Statistical Theories of Mental Test Scores.
  • Lord, F. M. (1980): Applications of Item Response Theory to Practical Testing Problems. Lawrence Erlbaum Associates.
  • Embretson, S. E. (1999) & Gierl, M. J., & Haladyna, T. M. (2012): Cognitive model-based Automatic Item Generation (radical-incidental parameterization).

Search wiki and portfolio

type to search across all entries.