code wiki / _hdl_build / nx_team_scorecard.nx

nx_team_scorecard.nx

buildroot/runtime/_hdl_build/nx_team_scorecard.nx

2997 B60 linesdepth 2pulls 2 transitivereach 10 importersview sourcekind librarytopic team
docsdependenciesstructsconstsfunctions

about

nx_team_scorecard.nx -- the TEAMMATE growth loop (operator: consistently grade the TEAMMATES, not the capabilities, as we work, so the team improves WITHOUT REGRESSION and each teammate becomes MORE capable -- a loop Claude is tied into so the operator isn't manually suggesting growth work, run until the team beats the AI benchmarks). Each ORGAN (Engineer, Doctor, Builder, ... Critic, Caretaker) is scored on capability dimensions; the loop: 1. GRADES every teammate (0-100) -> score per round. 2. REGRESSION GUARD: any teammate whose score DROPPED vs last round is an alarm -- the team must only get stronger; a build that weakens another organ is caught. 3. GROWTH TARGET: the below-benchmark teammate with the largest (gap * leverage) -> the NEXT thing Claude builds. Deterministic, not hand-picked. 4. BENCHMARK: when every teammate >= the benchmark, the team has beaten the bar. So Claude is the builder INSIDE the loop: grade -> pick weakest-highest-leverage -> build it -> re-grade (no regression) -> repeat until all pass. license_tier: ORIGINAL Refs: M0-M4 autonomy ladder.

dependencies 1 imports · 4 importers

nx_syscalls.nx nx_team_scorecard.nx nx_examiner.nx nx_peer_review.nx nx_team_grade_test.nx nx_team_scorecard_test.nx

imports: nx_syscalls.nx

imported by: nx_examiner.nxnx_peer_review.nxnx_team_grade_test.nxnx_team_scorecard_test.nx

structs

none

consts

17const TSC_BENCHMARK: i64 = 60 // a teammate "beats the bar" at >= 60 (the AI-benchmark gate)

functions

21func tsc_score(proven: i64, autonomy: i64, breadth: i64, robustness: i64) -> i64
called by 2: mainmain
25func tsc_passes(score: i64, benchmark: i64) -> i64 { if score >= benchmark { return 1 } return 0 }
27func tsc_all_pass(n: i64, scores: *i64, benchmark: i64) -> i64
34func tsc_any_regression(n: i64, prev: *i64, cur: *i64) -> i64
called by 1: main
42func tsc_growth_target(n: i64, scores: *i64, leverage: *i64, benchmark: i64) -> i64
56func tsc_total_gap(n: i64, scores: *i64, benchmark: i64) -> i64
called by 2: mainmain