Assay
यह क्या करती है
यह स्किल AI को ऐसे मूल्यांकन डिज़ाइन करने में मार्गदर्शन देती है जो AI आउटपुट को कोड assertions और मॉडल से आँके गए फ़ैसलों से जाँचें। यह उन डेवलपरों और टीमों के लिए है जो मापना चाहते हैं कि AI फ़ीचर भरोसेमंद है या नहीं।
कब इस्तेमाल करें
- ✓जब आप जाँचना चाहते हों कि AI फ़ीचर लगातार सही आउटपुट देता है या नहीं।
- ✓जब आप एक ही कार्य-सेट पर दो prompts या मॉडलों की तुलना करना चाहते हों।
- ✓जब आपको ऐसा regression टेस्ट चाहिए जो किसी बदलाव के बाद AI गुणवत्ता में गिरावट पकड़े।
Skill का लिंक
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Assay/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे summarizer को बीस नमूना लेखों पर जाँचने वाला eval बनाइए, और बताइए कि हर रन कितनी बार पास होता है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI prompt और assertions के साथ टेस्ट केस लिखता है। सरल जाँचें कोड से चलती हैं, और फ़ैसले वाली जाँचें graded judge से। वह कई trials चलाता है और बताता है कि सभी trials पास हुए या नहीं, और क्या कोई भी पास हुआ।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Assay — Assertion-First AI Evaluation
Contents: Ideal State · Intent Routing · The taxonomy · Choosing a check: tier first, then shape · Selection, acceptance, and unavailable evidence · The canonical path · Doctrine (from Anthropic; encode, don't restate) · The image lane (visual evals) · Harness integration · Judgment-layer question systems · Data & Config · Gotchas · Examples
An eval gives an AI an input, then applies assertions to its output to measure success (Anthropic's definition). A case is {id, prompt, assert:[...]}. Each assertion is either deterministic (code, free) or model-graded (a calibrated judge). Cases run multiple trials and report pass^k (every trial passes; the reliability metric and the regression gate) and pass@k (any trial passes). Proof applies the same tiers to one run's output (the film, image, page, email or document it made) against what was asked, before the principal sees it: Intents/Proof.md, with the whole system in LIFEOS/DOCUMENTATION/Assay/AssaySystem.md. CreateQuestions designs the fast tier itself: it turns a fuzzy decision into a measured judgment-layer question system (LIFEOS/DOCUMENTATION/Assay/AssaySystem.md § Judgment layer).
Sources: Demystifying evals for AI agents (2026-01), A Statistical Approach to Model Evaluations (2024-11), develop tests, the eval-awareness contamination post (2026-03), and the live claude plugin eval surface.
Freshness contract: "aligned to Anthropic's doctrine" is a live claim. When designing a new suite class or touching ## Doctrine, re-fetch the demystifying-evals post and flag where it has moved. Report divergence, never auto-adopt; an unreachable URL never blocks a run.
Ideal State
- Every check sits at the lowest tier that can honestly answer it (code, glance, judge, human), and only code runs on a blocking path.
- Every score ships with pass^k, SEM and a 95% CI from the trials that completed, with the requested and completed trial counts beside it; fewer completed trials than requested never claims pass^k.
- A judged check is calibrated against the principal's labels or reads PROVISIONAL wherever it shows, and a judged suite keeps an adversarial fixture its judge must fail.
- A produced artifact is checked by Proof against what was asked before the principal sees it, and the receipt is bound to its bytes.
- Transport failures, malformed verdicts and missing observations are reported as unavailable evidence, never as a pass, a quality failure or an adversarial catch.
- A fuzzy decision handed to CreateQuestions leaves as a validated question system whose accuracy was measured on held-out cases the designer never saw, with its margin over one holistic baseline question, or as a stated finding that the judgment layer does not fit and what does; a design ends at a saved shadow registry row and never moves a caller toward enforce.
- When Assay builds the eval system for a project, the project's ISA ends current: every criterion it checks names its suite or glance question in Test Strategy, and the hand-rolled eval code, rows and stale criteria it replaced are removed in the same change.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Proof | "proof this", "check the output", "did it come out as asked", before showing any produced artifact | Intents/Proof.md |
| RunEval | "run the eval", "run suite", "evaluate this" | Intents/RunEval.md |
| CreateSuite | "new eval", "create a suite", "eval for X" | Intents/CreateSuite.md |
| CreateJudge | "write a judge", "llm-rubric", "grading criteria", "noul, choice or score", "glance question" | Intents/CreateJudge.md |
| Calibrate | "calibrate the judge", "judge agreement", "judged residue", "shrink the judges", "judged miss", "bunker miss" | Intents/Calibrate.md |
| Compare | "compare prompts", "compare models", "A/B this", "with/without", "ablation" | Intents/Compare.md |
| ModelRetro | "which model did we like", "model retro", "compare models looking back", "how did model X do historically" | Intents/ModelRetro.md |
| RunAgentic | "multi-turn eval", "agentic eval", "eval with tools", "plugin eval" | Intents/RunAgentic.md |
| ViewResults | "eval results", "how di |
अक्सर पूछे जाने वाले सवाल
pass^k क्या है?
इसका अर्थ है कि रन के एक सेट में हर trial पास हो। यह विश्वसनीयता का पैमाना और regression गेट है।
pass@k क्या है?
इसका अर्थ है कि कम से कम एक trial पास हो, जो दिखाता है कि AI अपने सर्वोत्तम रूप में क्या कर सकता है।
क्या यह एक ही कार्य पर AI के काम की जाँच कर सकती है?
हाँ। वही जाँचें एक रन के आउटपुट को किसी व्यक्ति के देखने से पहले माँगे गए काम से मिलाकर देख सकती हैं।
जानकारी
लेखक का मूल विवरण
Assertion-first eval framework: code asserts, calibrated judges, pass@k, A/B comparison, agentic evals, judgment-layer question systems and code-extract-decide-write pipelines. USE WHEN eval, evaluate, benchmark, judge, judge prompt, judge panel, regression test, assert, llm-rubric, calibrate judge, judged residue, pass@k, pass^k, grade output, compare prompts or models, A/B test, which model did we like, model retro, ablation, with/without, test agent, agentic eval, noul/choice/score question, glance row, judged miss, proof this, check the output, did it come out as asked, design judgment que
repo: danielmiessler/LifeOS
लोकप्रियता
- GitHub स्टार
- 20k
- रैंकिंग में स्थान
- #10404
- लाइसेंस
- MIT
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
LifeOS
20kआपके एजेंट को LifeOS सेट करने में मदद करती है, एक निजी प्रणाली जो एक इंटरव्यू और डैशबोर्ड से आपकी मौजूदा स्थिति को आपके आदर्श लक्ष्य से जोड़ती है।
AnnualReports
20kआपके एजेंट को प्रमुख विक्रेताओं की साइबर सुरक्षा वार्षिक रिपोर्ट खोजने और तुलना करने में मदद करती है, जैसे उल्लंघन और ransomware के रुझान, हर आँकड़े के स्रोत के साथ।
ApertureOscillation
20kआपके एजेंट को एक डिज़ाइन सवाल को संकीर्ण और व्यापक दायरे में परखना सिखाती है, फिर बनाने से पहले बताना कि दोनों जवाब कहाँ टकराते हैं।
Aphorisms
20kआपके एजेंट को एक चुने हुए संग्रह से श्रेय वाले उद्धरण खोजने, मिलाने और उनका रिकॉर्ड रखने देती है, और हाल में आपके न्यूज़लेटर में इस्तेमाल हुए उद्धरण छोड़ देती है।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।