Skip to main content

behavioral-evals

Guidance for creating, running, fixing, and promoting behavioral evaluations. Use when verifying agent decision logic, debugging failures, debugging prompt steering, or adding workspace regression tests.

소스 정보

저장소
google-gemini/gemini-cli
최근 소스 활동
2026년 4월 7일 19:26
감지된 SKILL.md 언어
영어
스타
107,283
포크
14,705

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
7 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
behavioral-evals
description
Guidance for creating, running, fixing, and promoting behavioral evaluations. Use when verifying agent decision logic, debugging failures, debugging prompt steering, or adding workspace regression tests.
# Behavioral Evals ## Overview Behavioral evaluations (evals) are tests that validate the **agent's decision-making** (e.g., tool choice) rather than pure functionality. They are critical for verifying prompt changes, debugging steerability, and preventing regressions. > [!NOTE] > **Single Source of Truth**: For core concepts, policies, running tests, and general best practices, always refer to **[evals/README.md](file:///Users/abhipatel/code/gemini-cli/docs/evals/README.md)**. --- ## 🔄 Workflow Decision Tree 1. **Does a prompt/tool change need validation?** * *No* -> Normal integration tests. * *Yes* -> Continue below. 2. **Is it UI/Interaction heavy?** * *Yes* -> Use `appEvalTest` (`AppRig`). See **[creating.md](references/creating.md)**. * *No* -> Use `evalTest` (`TestRig`). See **[creating.md](references/creating.md)**. 3. **Is it a new test?** * *Yes* -> Set policy to `USUALLY_PASSES`. * *No* -> `ALWAYS_PASSES` (locks in regression). 4. **Are you fixing a failure or promoting a test?** * *Fixing* -> See **[fixing.md](references/fixing.md)**. * *Promoting* -> See **[promoting.md](references/promoting.md)**. --- ## 📋 Quick Checklist ### 1. Setup Workspace Seed the workspace with necessary files using the `files` object to simulate a realistic scenario (e.g., NodeJS project with `package.json`). * *Details in **[creating.md](references/creating.md)*** ### 2. Write Assertions Audit agent decisions using `rig.setBreakpoint()` (AppRig only) or index verification on `rig.readToolLogs()`. * *Details in **[creating.md](references/creating.md)*** ### 3. Verify Run single tests locally with Vitest. Confirm stability locally before relying on CI workflows. * *See **[evals/README.md](file:///Users/abhipatel/code/gemini-cli/docs/evals/README.md)** for running commands.* --- ## 📦 Bundled Resources Detailed procedural guides: * **[creating.md](references/creating.md)**: Assertion strategies, Rig selection, Mock MCPs. * **[fixing.md](references/fixing.md)**: Step-by-step automated investigation, architecture diagnosis guidelines. * **[promoting.md](references/promoting.md)**: Candidate identification criteria and threshold guidelines.
GitHub에서 보기