analyzing-offline-evaluations
Skill này làm gì
Skill này đọc các thí nghiệm đánh giá AI ngoại tuyến của bạn và so sánh chúng qua các phiên bản ứng dụng, mô hình hoặc prompt. Nó dành cho các nhóm kiểm thử tính năng AI trước khi phát hành và muốn biết một thay đổi có giúp ích hay không.
Khi nào nên dùng
- ✓Khi bạn muốn biết một prompt hoặc phiên bản mô hình mới có đạt điểm cao hơn lần chạy trước không.
- ✓Khi một trường hợp kiểm thử cụ thể bắt đầu bị lỗi và bạn cần tìm nguyên nhân.
- ✓Khi bạn muốn xem điểm số của một bộ chấm thay đổi theo thời gian như thế nào.
Liên kết skill
https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/analyzing-offline-evaluations/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Prompt phiên bản mới có cải thiện điểm đánh giá ngoại tuyến của chúng tôi so với lần chạy tuần trước không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill tìm các lần chạy thí nghiệm tương ứng, kiểm tra xem chúng có dùng cùng dữ liệu kiểm thử và cùng phiên bản bộ chấm hay không, rồi so sánh kết quả. Skill nêu rõ thay đổi nào được thử nghiệm và yếu tố nào giữ nguyên trước khi đưa ra kết luận.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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-
Câu hỏi thường gặp
Vì sao skill kiểm tra dữ liệu kiểm thử trước?
Điểm số chỉ có ý nghĩa khi hai lần chạy dùng cùng các trường hợp và cùng phiên bản bộ chấm, nên skill xác nhận điều đó trước khi so sánh.
Skill có tự chạy các bài kiểm thử không?
Không. Kết quả ngoại tuyến được tạo bên ngoài PostHog và tải lên, nên skill chỉ đọc và so sánh chúng.
Nếu đánh giá ngoại tuyến chưa bật cho dự án của tôi thì sao?
Skill sẽ nói rõ điều đó và dừng lại, vì các công cụ cần thiết không có sẵn trong trường hợp đó.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6827
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
depot-ci
41kGiúp agent của bạn thiết lập và chạy quy trình Depot CI, một lựa chọn thay thế GitHub Actions, gồm chuyển các quy trình hiện có và đọc nhật ký chạy.
depot-container-builds
41kGiúp agent của bạn build image Docker trên các builder từ xa của Depot, gồm image đa nền tảng, đẩy lên registry và sửa lỗi build.
depot-github-runners
41kGiúp agent của bạn chuyển các job GitHub Actions sang runner do Depot quản lý, chọn kích thước và nhãn runner, và xử lý lỗi thiết lập runner.
editing-agents-md
41kGiúp agent của bạn quyết định một quy tắc nên nằm trong file AGENTS.md hay CLAUDE.md, và viết sao cho quy tắc được tuân thủ mà file không bị phình to.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.