[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DEG5WAPT1J7FZWEZ4EBFWA":3,"skill-same:01M7DEG5WAPT1J7FZWEZ4EBFWA":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":28,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7DEG5WAPT1J7FZWEZ4EBFWA","szl-model-evaluation",null,"Scores binary predictions (Brier, log loss, ECE, MCE, AUROC, accuracy, reliability bins, per-cohort) or saved categorical outputs joined to retained targets, and audits a multi-run evaluation plan so failed, timed-out, invalid and missing attempts stay in the denominator. Use when the user reports held-out model quality, asks whether a classifier is calibrated, or when a 'best of N runs' number needs its full attempt ledger. Not for regression, survival or multiclass metrics, and it does not run inference.","szl-holdings\u002Fszl-skills","szl-holdings","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F273360816?v=4","01M7DEC83S24HX3V8G1JSWKHD0","SZL Holdings","01M7DEC85084EGHEJH2KMAA53K",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-model-evaluation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: szl-model-evaluation\ndescription: \"Scores binary predictions (Brier, log loss, ECE, MCE, AUROC, accuracy, reliability bins, per-cohort) or saved categorical outputs joined to retained targets, and audits a multi-run evaluation plan so failed, timed-out, invalid and missing attempts stay in the denominator. Use when the user reports held-out model quality, asks whether a classifier is calibrated, or when a 'best of N runs' number needs its full attempt ledger. Not for regression, survival or multiclass metrics, and it does not run inference.\"\nlicense: Apache-2.0\n---\n\n# Model evaluation with complete denominators\n\nA success-only score is a different number from a whole-plan score. This skill computes both and\nkeeps every attempt visible. Python 3.10+, stdlib, offline. The calibration metrics are adapted from\nthe Apache-2.0 [SZL calibration implementation](https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-calibration\u002Fblob\u002Fb2e317877abed98e70f9cf6730944a797837faf1\u002Fsrc\u002Fszl_calibration\u002Fmetrics.py).\n\n## Use when\n\n- \"Is this diagnostic classifier calibrated, or just accurate?\" (ECE\u002FMCE with reliability bins).\n- A paper reports accuracy from the three runs that finished and not the two that crashed.\n- Saved categorical outputs (triage labels, cell-type calls) need rescoring against retained targets\n  instead of trusting stored correctness flags.\n- A cohort breakdown is needed (by site, sex, device) without re-running the model.\n\n## Quick start\n\n```bash\npython scripts\u002Frun.py assets\u002Fexample.json\npython scripts\u002Frun.py assets\u002Fattempts-example.json\n```\n\nThe first synthetic fixture returns `\"status\": \"COMPUTED_ON_SUPPLIED_PREDICTIONS\"` with\n`brier 0.025`, `log_loss 0.164`, `ece 0.15`, `mce 0.2`, `auroc 1.0`, `accuracy 1.0`, a confusion\nmatrix and five reliability bins. The second routes to the attempt ledger and returns\n`\"status\": \"INCOMPLETE_ATTEMPT_LEDGER\"`: planned 7, recorded 6, attempted 5, completed 2,\nsuccessful 1, planned accuracy 1\u002F7 with every non-success counted as incorrect.\n\n## Three modes, one entry point\n\nInputs containing `planned_attempts` route to the ledger (`szl_audit_attempts`), inputs with\n`records` route to categorical scoring (`szl_evaluate_categories`), everything else routes to\nbinary scoring (`szl_evaluate_predictions`). Read `references\u002Fcontracts.md` for field names.\n\nBefore interpreting any score, fix the target population, retained labels, split construction\nand predeclared threshold and bin count. Keep observed outputs separate from declarations about\nmodel revision, tokenizer, inference settings and training overlap. Single-class AUROC is null.\nRepeated row ids are repeated attempts, not independent samples. A retained plan digest detects\nchanged plan bytes; it does not prove preregistration.\n\n## What it does not do\n\nNo provider calls, model loading, downloads, uploads or promotion. It cannot verify model origin,\nsplit independence or status declarations, and never imputes probabilities for missing attempts.\nConditional metrics over successful outputs must not be reported as whole-plan performance.\nAgent efficacy and scientific performance remain `NOT_MEASURED`; energy is null without a measurement.\n","# Model evaluation with complete denominators\n\nA success-only score is a different number from a whole-plan score. This skill computes both and\nkeeps every attempt visible. Python 3.10+, stdlib, offline. The calibration metrics are adapted from\nthe Apache-2.0 [SZL calibration implementation](https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-calibration\u002Fblob\u002Fb2e317877abed98e70f9cf6730944a797837faf1\u002Fsrc\u002Fszl_calibration\u002Fmetrics.py).\n\n## Use when\n\n- \"Is this diagnostic classifier calibrated, or just accurate?\" (ECE\u002FMCE with reliability bins).\n- A paper reports accuracy from the three runs that finished and not the two that crashed.\n- Saved categorical outputs (triage labels, cell-type calls) need rescoring against retained targets\n  instead of trusting stored correctness flags.\n- A cohort breakdown is needed (by site, sex, device) without re-running the model.\n\n## Quick start\n\n```bash\npython scripts\u002Frun.py assets\u002Fexample.json\npython scripts\u002Frun.py assets\u002Fattempts-example.json\n```\n\nThe first synthetic fixture returns `\"status\": \"COMPUTED_ON_SUPPLIED_PREDICTIONS\"` with\n`brier 0.025`, `log_loss 0.164`, `ece 0.15`, `mce 0.2`, `auroc 1.0`, `accuracy 1.0`, a confusion\nmatrix and five reliability bins. The second routes to the attempt ledger and returns\n`\"status\": \"INCOMPLETE_ATTEMPT_LEDGER\"`: planned 7, recorded 6, attempted 5, completed 2,\nsuccessful 1, planned accuracy 1\u002F7 with every non-success counted as incorrect.\n\n## Three modes, one entry point\n\nInputs containing `planned_attempts` route to the ledger (`szl_audit_attempts`), inputs with\n`records` route to categorical scoring (`szl_evaluate_categories`), everything else routes to\nbinary scoring (`szl_evaluate_predictions`). Read `references\u002Fcontracts.md` for field names.\n\nBefore interpreting any score, fix the target population, retained labels, split construction\nand predeclared threshold and bin count. Keep observed outputs separate from declarations about\nmodel revision, tokenizer, inference settings and training overlap. Single-class AUROC is null.\nRepeated row ids are repeated attempts, not independent samples. A retained plan digest detects\nchanged plan bytes; it does not prove preregistration.\n\n## What it does not do\n\nNo provider calls, model loading, downloads, uploads or promotion. It cannot verify model origin,\nsplit independence or status declarations, and never imputes probabilities for missing attempts.\nConditional metrics over successful outputs must not be reported as whole-plan performance.\nAgent efficacy and scientific performance remain `NOT_MEASURED`; energy is null without a measurement.\n",{"name":5,"license":15,"description":7},"main","8dd614e1f5097564340e36915f849d7d893cd68a","skills\u002Fszl-model-evaluation","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills","https:\u002F\u002Fa-11-oy.com","https:\u002F\u002Fgithub.com\u002Fszl-holdings","Governed AI infrastructure for inspectable decisions: source, runtime state, receipts, and proof boundaries.","2026-11-15 03:52:34",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add szl-holdings\u002Fszl-skills --skill szl-model-evaluation",{"tool":38,"command":39},"bunx","bunx skills add szl-holdings\u002Fszl-skills --skill szl-model-evaluation",{"tool":41,"command":42},"pnpm","pnpm dlx skills add szl-holdings\u002Fszl-skills --skill szl-model-evaluation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-model-evaluation\u002FSKILL.md",true,[46,52,56,62,68],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"assets\u002Fattempts-example.json","ASSET","资产文件",709,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-model-evaluation\u002Fassets\u002Fattempts-example.json",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"assets\u002Fexample.json",285,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-model-evaluation\u002Fassets\u002Fexample.json",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"kernel.py","SCRIPT","脚本",15431,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-model-evaluation\u002Fkernel.py",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fcontracts.md","REFERENCE","参考文档",4195,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-model-evaluation\u002Freferences\u002Fcontracts.md",{"path":69,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Frun.py",3931,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-model-evaluation\u002Fscripts\u002Frun.py",[73,80,87,94,100,105],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DENG22R761RTDSG11WWJB3","szl-unit-invariants","Checks declared SI dimensions, allowlisted unit conversions, expected ranges and fixed pointwise invariants (equal, sum, difference, product, ratio) over selected measurement or simulation columns, flagging incompatible quantities, scale errors of 1000x and broken conservation checks. Use when merging instrument exports with different units, validating simulation output against conservation laws, or when a reviewer asks how unit errors were ruled out. Not an uncertainty-propagation or symbolic tool.","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-unit-invariants\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7DENAVBJ6GSCRT3E1PWK56D","szl-uncertainty-lineage","Propagate declared measurement uncertainty through a small arithmetic dependency graph using a first-order delta approximation. Use when a researcher needs to see how corrected inputs or shared-source correlation change a reported standard uncertainty; require unit checks separately.","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-uncertainty-lineage\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7DEN2M7P59RTM6RJE99PGN8","szl-typesafe-ai","TypeSafe\u002FJev: Choice\u002FNoul\u002FScore in code, not TypeScript types. System One models turn natural language and application state into probabilities that software can compose. Use when building routing, ranking, extraction, verification, or replacing an LLM prompt-and-parse step with structured decisions; also when brainstorming what TypeSafe could make possible. Do not use for TypeScript\u002FJava\u002FRust static types, Zod\u002FPydantic\u002Fmypy\u002FJSON Schema\u002Fprotobuf codegen, or asking whether a pipeline is type-safe. At SZL, Jev is an optional second reader only.","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-typesafe-ai\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7DEN1C9G4H12N9HRHYK2HZ7","demo","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-skill-update-review\u002Fassets\u002Fexample\u002Fold-package\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":101,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7DEMZYRXT5CG2XPXERAM218","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-skill-update-review\u002Fassets\u002Fexample\u002Fnew-package\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7DEMVH2NMG4PS0DZTMGATAF","szl-skill-update-review","Compare pinned local skill packages using inventories and a retained lock; report changed skills, files, declarations and reruns without approving safety or validity.","https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-skill-update-review\u002FSKILL.md",[],[]]