[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DEKP3JK3J1EPF9WTB02CSZ":3,"skill-same:01M7DEKP3JK3J1EPF9WTB02CSZ":68},{"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},"01M7DEKP3JK3J1EPF9WTB02CSZ","szl-retrieval-eval",null,"Scores a literature or document retrieval system against relevance judgments: nDCG@k, MRR, MAP, precision@k and recall@k per query and on average, with judged queries that the system never answered kept in the denominator at zero, unjudged queries listed rather than silently scored, and duplicate results dropped and counted. Accepts JSON or TREC run\u002Fqrels files. Use when a lab evaluates a RAG or search pipeline over papers, protocols or records, compares two retrievers, or asks 'did the new embedding model actually find more of the relevant papers'. Not a judgment of whether the relevance labels are right.","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-retrieval-eval\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: szl-retrieval-eval\ndescription: \"Scores a literature or document retrieval system against relevance judgments: nDCG@k, MRR, MAP, precision@k and recall@k per query and on average, with judged queries that the system never answered kept in the denominator at zero, unjudged queries listed rather than silently scored, and duplicate results dropped and counted. Accepts JSON or TREC run\u002Fqrels files. Use when a lab evaluates a RAG or search pipeline over papers, protocols or records, compares two retrievers, or asks 'did the new embedding model actually find more of the relevant papers'. Not a judgment of whether the relevance labels are right.\"\nlicense: Apache-2.0\n---\n\n# Retrieval evaluation with complete denominators\n\nLabs building literature RAG usually report one nDCG from a notebook that quietly skipped the\nqueries the system failed on. This skill keeps every judged query in the denominator, lists the\nqueries nobody judged instead of scoring them, drops duplicate results and says how many, and\nevaluates the gates you declare. Stdlib only, offline.\n\n## When you would use this\n\n- You replaced the embedding model in a paper-search pipeline and need to know whether recall@10 moved.\n- Two retrievers are compared on the same judged query set and the comparison has to be reproducible.\n- A reviewer asks how many of the evaluation queries had any relevant document at all.\n- You have TREC-format run and qrels files from an existing benchmark and want the metrics without a framework.\n\n## Ten seconds\n\n```\npython scripts\u002Frun.py assets\u002Fexample.json\n```\n\nFive judged queries about CRISPR off-target search, organoid protocols, power analysis and\nreporting guidelines, one of which the system never answered, plus one unjudged query the system\ndid answer. Expected result: `SCORED`, nDCG@5 0.5144, MRR 0.5, MAP 0.4511, recall@5 0.6;\n`queries_missing_from_run` lists `q5-never-run` (scored zero, kept in the mean),\n`queries_unjudged_in_run` lists `q9-unjudged` (excluded, reported), one duplicate dropped.\nRaise `gates.min_judged_queries` to 20 and the status becomes `INSUFFICIENT` without hiding the numbers.\n\nTREC files:\n\n```\npython scripts\u002Frun.py config.json --trec-run run.txt --trec-qrels qrels.txt\n```\n\n## Definitions\n\nnDCG@k uses gain 2^grade - 1 and a log2(rank + 1) discount against the ideal ordering of the\njudged relevant documents. MRR uses the first document with grade > 0. MAP is the mean of\naverage precision with binary relevance over all relevant documents, not only those retrieved.\nPrecision@k divides by k; recall@k divides by the number of judged relevant documents.\n\n## Status\n\n`SCORED` when no declared gate fails, `BELOW_GATES` when a metric gate fails, `INSUFFICIENT`\nwhen fewer judged queries than `min_judged_queries` exist, `ERROR` for malformed input. Gates you\ndo not declare are not evaluated and are not reported as passed.\n\n## What it will not tell you\n\n- Whether the judgments are right or complete. Unjudged documents count as not relevant, so a pool\n  built from other systems penalises a retriever that finds new relevant documents.\n- Whether the difference between two systems is significant; pair the per-query metrics with\n  szl-paired-science for that.\n- Anything about answer quality downstream of retrieval.\n","# Retrieval evaluation with complete denominators\n\nLabs building literature RAG usually report one nDCG from a notebook that quietly skipped the\nqueries the system failed on. This skill keeps every judged query in the denominator, lists the\nqueries nobody judged instead of scoring them, drops duplicate results and says how many, and\nevaluates the gates you declare. Stdlib only, offline.\n\n## When you would use this\n\n- You replaced the embedding model in a paper-search pipeline and need to know whether recall@10 moved.\n- Two retrievers are compared on the same judged query set and the comparison has to be reproducible.\n- A reviewer asks how many of the evaluation queries had any relevant document at all.\n- You have TREC-format run and qrels files from an existing benchmark and want the metrics without a framework.\n\n## Ten seconds\n\n```\npython scripts\u002Frun.py assets\u002Fexample.json\n```\n\nFive judged queries about CRISPR off-target search, organoid protocols, power analysis and\nreporting guidelines, one of which the system never answered, plus one unjudged query the system\ndid answer. Expected result: `SCORED`, nDCG@5 0.5144, MRR 0.5, MAP 0.4511, recall@5 0.6;\n`queries_missing_from_run` lists `q5-never-run` (scored zero, kept in the mean),\n`queries_unjudged_in_run` lists `q9-unjudged` (excluded, reported), one duplicate dropped.\nRaise `gates.min_judged_queries` to 20 and the status becomes `INSUFFICIENT` without hiding the numbers.\n\nTREC files:\n\n```\npython scripts\u002Frun.py config.json --trec-run run.txt --trec-qrels qrels.txt\n```\n\n## Definitions\n\nnDCG@k uses gain 2^grade - 1 and a log2(rank + 1) discount against the ideal ordering of the\njudged relevant documents. MRR uses the first document with grade > 0. MAP is the mean of\naverage precision with binary relevance over all relevant documents, not only those retrieved.\nPrecision@k divides by k; recall@k divides by the number of judged relevant documents.\n\n## Status\n\n`SCORED` when no declared gate fails, `BELOW_GATES` when a metric gate fails, `INSUFFICIENT`\nwhen fewer judged queries than `min_judged_queries` exist, `ERROR` for malformed input. Gates you\ndo not declare are not evaluated and are not reported as passed.\n\n## What it will not tell you\n\n- Whether the judgments are right or complete. Unjudged documents count as not relevant, so a pool\n  built from other systems penalises a retriever that finds new relevant documents.\n- Whether the difference between two systems is significant; pair the per-query metrics with\n  szl-paired-science for that.\n- Anything about answer quality downstream of retrieval.\n",{"name":5,"license":15,"description":7},"main","8dd614e1f5097564340e36915f849d7d893cd68a","skills\u002Fszl-retrieval-eval","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-retrieval-eval",{"tool":38,"command":39},"bunx","bunx skills add szl-holdings\u002Fszl-skills --skill szl-retrieval-eval",{"tool":41,"command":42},"pnpm","pnpm dlx skills add szl-holdings\u002Fszl-skills --skill szl-retrieval-eval","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-retrieval-eval\u002FSKILL.md",true,[46,52,58,64],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"assets\u002Fexample.json","ASSET","资产文件",829,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-retrieval-eval\u002Fassets\u002Fexample.json",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"kernel.py","SCRIPT","脚本",5769,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-retrieval-eval\u002Fkernel.py",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fcontract.md","REFERENCE","参考文档",1172,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-retrieval-eval\u002Freferences\u002Fcontract.md",{"path":65,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Frun.py",1701,"https:\u002F\u002Fgithub.com\u002Fszl-holdings\u002Fszl-skills\u002Fblob\u002Fmain\u002Fskills\u002Fszl-retrieval-eval\u002Fscripts\u002Frun.py",[69,76,83,90,96,101],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"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":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"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":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"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":91,"name":92,"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":93,"categories":94,"keywords":95,"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":97,"name":92,"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":98,"categories":99,"keywords":100,"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":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"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",[],[]]