STUD
← Plays

Score · Assess & Decide · Analysis & Finance

Causes ranked by importance, tractability, neglectedness

A function that takes a list of candidate causes each rated on importance (scale/severity), tractability (feasibility of progress), and neglectedness (how underfunded), and returns each cause's composite priority score plus a stable descending rank.

You receive: A pure function returning each cause's composite ITN score plus a dense 1..N rank (ties broken by importance then id) and the top cause, graded on hidden cases.

Part of Pitch Investors

Example

A sample of what this play produces. Your result is generated for your inputs.

def score_cause_priority_itn(inp):
    """Score candidate causes on the ITN framework (importance, tractability,
    neglectedness) and return a deterministic priority ranking.

    method "multiplicative": score = I * T * N (the classic ITN product).
    method "weighted_sum": score = wI*I + wT*T + wN*N, weights default to 1.
    Scores round to 2 decimals; rank is dense 1..N, ties broken by higher
    importance, then id ascending.
    """
    causes = inp["causes"]
    method = str(inp["method"]).strip().lower()
    wi = float(inp.get("w_importance", 1) or 1)
    wt = float(inp.get("w_tractability", 1) or 1)
    wn = float(inp.get("w_neglectedness", 1) or 1)
    scored = []
    for c in causes:
        i = float(c["importance"])
        t = float(c["tractability"])
        n = float(c["neglectedness"])
        if method == "multiplicative":
            s = i * t * n
        elif method == "weighted_sum":
            s = wi * i + wt * t + wn * n
        else:
            raise ValueError("unknown method: " + method)
        scored.append((str(c["id"]), round(s, 2), i))
    order = sorted(scored, key=lambda x: (-x[1], -x[2], x[0]))
    ranking = [
        {"id": cid, "score": sc, "rank": k + 1}
        for k, (cid, sc, _i) in enumerate(order)
    ]
    return {"ranking": ranking, "topCauseId": ranking[0]["id"]}

Opens later

This play is not open to run yet, so it has no price. Leave your email and STUD will tell you when it opens.

Scope of the check

What's verified: Verifies the composite score and ranking are computed correctly and deterministically from the buyer's factor ratings. Does NOT judge whether the factor ratings themselves are accurate, whether the cause is genuinely high-impact in the world, or whether the ITN model is the right lens for the decision.