본문으로 건너뛰기
Skillpedia
에이전트41k · #6827

analyzing-offline-evaluations

하는 일

이 스킬은 오프라인 AI 평가 실험을 읽고 앱, 모델, 프롬프트의 버전 사이에서 비교합니다. 출시 전에 AI 기능을 테스트하고, 변경이 도움이 되었는지 알고 싶은 팀을 위한 것입니다.

사용하는 경우

  • ✓새 프롬프트나 모델 버전이 지난 실행보다 점수가 높은지 알고 싶을 때.
  • ✓특정 테스트 케이스가 실패하기 시작해서 이유를 찾아야 할 때.
  • ✓평가자의 점수가 시간에 따라 어떻게 변했는지 보고 싶을 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/analyzing-offline-evaluations/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/analyzing-offline-evaluations/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“새 프롬프트 버전이 지난주 실행과 비교해 오프라인 평가 점수를 개선했나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

일치하는 실험 실행을 찾고, 같은 테스트 데이터와 점수 버전을 사용했는지 확인한 뒤 결과를 비교합니다. 결론을 내리기 전에 어떤 변경이 테스트되었고 어떤 요인이 그대로였는지 밝힙니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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:

  • ok is successful execution, including scores that fail the passing rule.
  • Boolean true passes by default; true_is_failure: true reverses that polarity.
  • Numeric gte / lte thresholds 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-

자주 묻는 질문

테스트 데이터를 왜 먼저 확인하나요?

두 실행이 같은 케이스와 채점 버전을 사용해야 점수가 의미를 가지므로, 비교 전에 이를 확인합니다.

스킬이 테스트를 직접 실행하나요?

아니요. 오프라인 결과는 PostHog 바깥에서 만들어져 업로드되므로, 스킬은 그것을 읽고 비교합니다.

프로젝트에 오프라인 평가가 켜져 있지 않으면 어떻게 되나요?

스킬은 그렇다고 알리고 중단합니다. 이 경우 필요한 도구를 사용할 수 없기 때문입니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
41k
순위
#6827
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬