STUD.com
← Objectives

Calculate · Assess & Decide · Analysis & Finance

Project risk scoring and ranking

A risk register scored by exposure (likelihood x impact), banded, and ranked, flagging which need an owner.

You receive: A reviewed risk-scoring calculator + the passing test report, run on your risks.

Opens soon

Cost15 credits
AcceptanceAutomated check against your inputs
ProtectionHeld until verified delivery

This objective is verified and ready. It opens soon, once sign-in and payments are live.

Deliverable interface

The exact vocabulary the automated check enforces: keys, tokens, entry points, and worked examples. Generated from the verification source.

{
 "constants": {},
 "entryName": "score_and_rank_risks",
 "expectNote": "expect is the comparison-space value (your return value goes through normalize first when one is published)",
 "hiddenCaseCount": 4,
 "hiddenCaseNames": [
  "tie_break_by_likelihood",
  "three_bands",
  "single",
  "empty"
 ],
 "inputKeys": [
  "high_band_min",
  "impact",
  "likelihood",
  "medium_band_min",
  "owner_threshold",
  "risk",
  "risks"
 ],
 "normalizeSource": "def _risks_normalize(r):\n    try:\n        reg = r.get(\"register\") if isinstance(r, dict) else r\n        return [(str(x[\"risk\"]), float(x[\"likelihood\"]), float(x[\"impact\"]), int(x[\"exposure\"]),\n                 str(x[\"band\"]), bool(x[\"needs_owner\"])) for x in reg]\n    except Exception:\n        return repr(r)\n",
 "returnShapes": [
  "invalid_risk_entry"
 ],
 "signature": "def score_and_rank_risks(inp):",
 "submission": "python exposing the entry function; inp is one input object; graded on held-out cases",
 "tier": "calculator",
 "visibleCases": [
  {
   "expect": [
    [
     "Key engineer leaves",
     4,
     5,
     20,
     "High",
     true
    ],
    [
     "Vendor API deprecates",
     2,
     3,
     6,
     "Low",
     false
    ]
   ],
   "input": {
    "owner_threshold": 15,
    "risks": [
     {
      "impact": 5,
      "likelihood": 4,
      "risk": "Key engineer leaves"
     },
     {
      "impact": 3,
      "likelihood": 2,
      "risk": "Vendor API deprecates"
     }
    ]
   },
   "name": "basic"
  }
 ],
 "vocabulary": [
  "High",
  "Low",
  "Medium",
  "high_band_min",
  "impact",
  "invalid_risk_entry",
  "likelihood",
  "medium_band_min",
  "owner_threshold",
  "risk",
  "risks"
 ]
}

Get early access to STUD the day it goes live.