analyzing-offline-evaluations
Fungsinya
Skill ini membaca eksperimen evaluasi AI offline Anda dan membandingkannya antar versi aplikasi, model, atau prompt. Ditujukan untuk tim yang menguji fitur AI sebelum rilis dan ingin tahu apakah suatu perubahan membantu.
Kapan dipakai
- ✓Saat Anda ingin tahu apakah versi prompt atau model baru mendapat skor lebih baik dari uji sebelumnya.
- ✓Saat kasus uji tertentu mulai gagal dan Anda perlu mencari tahu penyebabnya.
- ✓Saat Anda ingin melihat bagaimana skor sebuah evaluator berubah dari waktu ke waktu.
Link skill
https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/analyzing-offline-evaluations/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
“Apakah versi prompt baru meningkatkan skor evaluasi offline kami dibandingkan dengan uji minggu lalu?”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill mencari eksperimen yang sesuai, memeriksa apakah keduanya menggunakan data uji dan versi penilaian yang sama, lalu membandingkan hasilnya. Sebelum menarik kesimpulan, skill menyatakan perubahan apa yang diuji dan faktor apa yang tetap sama.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Analyzing offline evaluations
Offline experiments store results from applications and evaluators executed outside
PostHog. Their create/upload tools record results; they do not run code or call a judge.
For online Hog, LLM-judge, or sentiment evaluations on captured generations, use
exploring-llm-evaluations instead.
The posthog:llma-offline-* tools exist only in projects where offline evaluations
are enabled. If they are not in the tool list, tell the user that offline evaluations
are not enabled for the project and stop. Do not substitute online evaluation tools.
Find the runs and establish a comparison
Use posthog:llma-offline-experiment-list to find executions, then
posthog:llma-offline-experiment-get for their context and coverage. Scope searches
by suite, execution dates, run source, and dataset identity/revision when known.
Date ranges include date_from and exclude date_to.
Lists include all upload states by default. Prefer statuses: "completed" for a
finished comparison; uploading and failed runs may be partial. Scorer history
defaults to completed runs. An empty list means no matching stored experiments.
Check suite, dataset source/identifier/revision, scorer version, and trial coverage before attributing a change to an application, model, or prompt revision. State which dimension intentionally changed and which were held constant. If the cohorts differ, report the difference and avoid declaring a causal improvement. Match cases by durable case/dataset identities when available, not run-local item UUIDs or page position.
Read summaries before individual cases
Call posthog:llma-offline-experiment-scorer-summary-list for each run, or
posthog:llma-offline-scorer-history for a scorer across runs. These APIs calculate
over the full matching results and enforce scorer permissions; use them in SQL-first
sessions too. Do not compute a whole-run rate from one item page.
Scorer definitions, version numbers, and immutable version UUIDs are different IDs.
Use posthog:llma-score-definition-list / posthog:llma-score-definition-get to find
definitions, and posthog:llma-score-definition-version-list /
posthog:llma-score-definition-version-get to inspect versions. Filters and uploads
take the exact version UUID, never its integer version number. Summaries already
include the pinned configuration; fetch versions separately only when needed.
Keep versions separate even if their names or configurations match. Changing the current definition never reinterprets historical offline results.
Interpret each summary using its pinned config:
okis successful execution, including scores that fail the passing rule.- Boolean true passes by default;
true_is_failure: truereverses that polarity. - Numeric
gte/ltethresholds define passing; higher does not always mean better. - Categorical passing rules apply to category keys. Multiselect frequencies can sum above 100%.
- Numeric or categorical scores without a passing rule are neutral, with null pass rates. Null is not zero.
- Pass rate divides passes by successful results only. Report errors, skipped, not-applicable, and missing results separately alongside the denominator.
- Missing results count observed items without that scorer's result, not items that were never uploaded. Repeated trials each contribute an item, not a case-weighted vote.
- Visible counts cover authorized scorers. Unavailable counts and caller-declared expected totals do not establish the reader's result coverage.
For a worked comparison, see references/comparing-runs.md.
Investigate representative cases
Page through posthog:llma-offline-experiment-item-list, selecting relevant
scorer_version_ids as a comma-separated string of at most 20 UUIDs. The response
keeps unscored items and supplies shared scorer_versions; cells reference those UUIDs.
Use posthog:llma-offline-experiment-item-result-list for all scores on one item,
or posthog:llma-offline-experiment-item-get to inspect a known item's metadata.
For more than 20 scorer versions, keep one set of item IDs and fetch additional
columns with posthog:llma-offline-experiment-result-cells: at most 50 item IDs and
20 scorer-version IDs per call. Only interpret an absent cell as missing after that
batch succeeds. Follow next_cursor as cursor with unchanged filters; uploading
runs can change while being paged.
Fetch relevant content with `posthog:llma-
Pertanyaan umum
Mengapa skill memeriksa data uji terlebih dahulu?
Skor hanya bermakna jika dua uji menggunakan kasus dan versi penilai yang sama, sehingga skill memastikan hal itu sebelum membandingkan.
Apakah skill menjalankan uji sendiri?
Tidak. Hasil offline dibuat di luar PostHog dan diunggah, sehingga skill membaca dan membandingkannya.
Bagaimana jika evaluasi offline tidak diaktifkan untuk proyek saya?
Skill akan menyatakannya dan berhenti, karena alat yang diperlukan tidak tersedia dalam kondisi itu.
Detail
Deskripsi asli dari pembuat
Inspect and compare offline AI evaluation experiments, diagnose case-level regressions, and follow scorer history across application, model, or prompt changes. Use when a user asks whether an offline run improved, why a case failed, how scores changed between runs, or how to publish externally computed offline results. Covers immutable scorer versions, comparable dataset cohorts, incomplete coverage, and selective payload reads.
repo: PostHog/posthog
Popularitas
- Bintang GitHub
- 41k
- Peringkat
- #6827
- Lisensi
- —
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
depot-ci
41kMembantu agent Anda menyiapkan dan menjalankan alur kerja Depot CI, alternatif GitHub Actions, termasuk memigrasikan alur kerja yang ada dan membaca log eksekusi.
depot-container-builds
41kMembantu agent Anda membangun image Docker di builder jarak jauh Depot, termasuk image multi-platform, pengiriman ke registry, dan perbaikan kegagalan build.
depot-github-runners
41kMembantu agent Anda memindahkan job GitHub Actions ke runner yang dikelola Depot, memilih ukuran dan label runner, serta memecahkan masalah pengaturan runner.
editing-agents-md
41kMembantu agent Anda memutuskan apakah sebuah aturan layak masuk ke berkas AGENTS.md atau CLAUDE.md, dan menulisnya agar tetap dipatuhi tanpa membuat berkas membengkak.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.