Assay
Fungsinya
Skill ini memandu AI merancang evaluasi yang memeriksa keluaran AI dengan asersi kode dan penilaian berbasis model. Skill ini ditujukan untuk developer dan tim yang ingin mengukur apakah sebuah fitur AI andal.
Kapan dipakai
- ✓Saat Anda ingin menguji apakah sebuah fitur AI memberikan keluaran yang benar secara konsisten.
- ✓Saat Anda ingin membandingkan dua prompt atau model pada kumpulan tugas yang sama.
- ✓Saat Anda memerlukan pengujian regresi yang menangkap penurunan kualitas AI setelah sebuah perubahan.
Link skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Assay/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Buat evaluasi yang memeriksa summarizer saya pada dua puluh artikel contoh dan melaporkan seberapa sering setiap pengulangan lolos.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI menulis kasus uji dengan prompt dan asersi. Pemeriksaan sederhana dijalankan sebagai kode, dan pemeriksaan penilaian menggunakan penilai yang dinilai. AI menjalankan beberapa percobaan dan melaporkan apakah semuanya lolos dan apakah ada yang gagal.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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 |
Pertanyaan umum
Apa itu pass^k?
Artinya setiap percobaan dalam sekumpulan pengulangan lolos. Ini adalah ukuran keandalan dan gerbang regresi.
Apa itu pass@k?
Artinya setidaknya satu percobaan lolos, yang menunjukkan apa yang bisa dilakukan AI pada kondisi terbaiknya.
Bisakah memeriksa pekerjaan AI pada satu tugas?
Bisa. Pemeriksaan yang sama dapat meninjau keluaran satu pengulangan terhadap apa yang diminta sebelum dilihat orang.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 20k
- Peringkat
- #10404
- Lisensi
- MIT
- Diperbarui
- 28/10/2026
Komentar
- …
Skill lain dari repositori ini
LifeOS
20kMembantu agent Anda menyiapkan LifeOS, sistem pribadi yang memetakan kondisi Anda saat ini ke kondisi ideal melalui wawancara dan dasbor.
AnnualReports
20kMembantu agent Anda menemukan dan membandingkan laporan tahunan keamanan siber dari vendor besar, seperti tren pelanggaran dan ransomware, dengan sumber untuk setiap angka.
ApertureOscillation
20kMengajari agent Anda menguji satu pertanyaan desain pada cakupan sempit dan cakupan luas, lalu menyebutkan di mana kedua jawaban bertentangan sebelum Anda membangun.
Aphorisms
20kMembantu agent Anda menemukan, mencocokkan, dan melacak kutipan yang diatribusikan dari koleksi terkurasi, sambil menghindari kutipan yang baru dipakai di newsletter Anda.
Skill serupa
test-driven-development
311kMengajari agent Anda menulis tes yang gagal dulu, melihatnya gagal, lalu menulis kode terkecil yang lulus, sebelum membangun fitur atau perbaikan apa pun.
verification-before-completion
311kMengajari agent Anda menjalankan pemeriksaan nyata dan membaca keluarannya sebelum menyatakan tugas, perbaikan, atau build sudah selesai atau lulus.
migrate-to-shoehorn
310kMengganti type cast berisiko di file tes Anda dengan pustaka shoehorn, sehingga tes bisa memakai data parsial dan tetap lulus pemeriksaan tipe.