Skip to main content
Validate the contract you changed with the smallest reproducible check, then exercise one real task and record evidence a reviewer can inspect.

Local Test Policy

AgentCompass keeps development and regression tests local rather than maintaining test files in the public repository. Put test scripts and fixtures, including tests for repository automation, under the ignored root tests/ directory. Do not commit them in another directory, use git add -f to include them, or remove or weaken the existing .gitignore rules. Benchmark runtime evaluators and required verifier assets are part of the integration itself and are outside this development-test policy. Use local tests to verify behavior when useful, then record the exact command, outcome, and relevant sanitized evidence in the PR description. A fresh checkout does not contain these local files, so identify any locally created fixtures needed to reproduce a check. Code review should assess the evidence and specific unverified behavior rather than require committed test files.

Run the Basic Checks

The public repository currently has no unified project test suite, no declared pytest test workflow, and no CI test job. The checked-in pull-request workflow runs pre-commit only. Do not cite a generic pytest command as repository validation; report the exact local target and command you actually ran. This baseline does not lower the correctness requirement: combine the existing static checks with component discovery, configuration inspection, focused local checks where useful, and representative single-task execution. During development, run pre-commit on the files you changed:
Before requesting review, run the same full command used by the current CI workflow:
The configured hooks run Flake8, isort, YAPF, whitespace and line-ending checks, YAML validation, requirement sorting, and merge-conflict detection. Some hooks can modify files; inspect the diff and rerun until the command succeeds without unexpected changes. Documentation changes also require the checks in Documentation Contributions.

Validate the Changed Surface

First inspect components and configuration from the installed revision instead of relying on a remembered component list:
These commands confirm that package imports reach the registration decorator and that the expected ID is unique. They do not verify credentials, dependencies, provider availability, compatibility, or task execution. For a Benchmark, Harness, or Environment config dataclass, inspect the generated public schema:
Confirm that field names, types, defaults, and descriptions match the implementation. Analyzer conf dictionaries and Recipe classes are not supported by config docs; validate their documented keys against source and runtime output instead. To inspect merged configuration without starting an evaluation, use:
For a multi-request orchestration file, the implemented dry-run path is:
agentcompass run has no --dry-run option. An orchestration dry run validates and prints resolved requests but does not load Benchmark tasks, open Environments, execute Harnesses, evaluate results, or prove cleanup. It cannot replace a single-task smoke run. Next run one known task. Use a stable task ID from a locally available public Benchmark and minimize unrelated variability:
Use the exact supported combination and component-specific parameters documented for that Benchmark. Keep --max-retries 0 for initial diagnosis so a retry does not hide the first failure. Redact credentials and private endpoint details before sharing the command. Inspect the resulting run_info.json, params.json, details/, summary.md, and run log as applicable. A process exit alone is insufficient evidence: verify the task ID, resolved execution plan, status, error category, final answer or artifacts, Benchmark score, cleanup events, and denominator represented by the summary. Finally, add checks for behavior unique to the changed surface: For lifecycle or compatibility changes, also test the relevant boundary: optional versus required input, a valid zero score versus evaluator failure, or timeout and cancellation followed by cleanup. Keep Harness, Environment, and Model failures distinguishable in persisted status and errors instead of normalizing them into one generic exception. Expand to other public Environment combinations only when a shared runtime change affects them. Before intentionally rewriting a summary, first run:
For pure parsing, merging, matching, plan transformation, aggregation, or serialization logic, run focused deterministic checks locally. Keep their test files and fixtures under the ignored root tests/ directory, and record the exact invocation and outcome in the PR description. A small sanitized fixture or excerpt can clarify the evidence there; do not commit test files or describe local checks as a maintained repository suite.

Record Validation Evidence

For every reported check, include:
  • the exact redacted command, tested revision, relevant dependency or provider versions, and selected public Benchmark, task ID, Harness, Environment, and Model protocol;
  • the pass/fail outcome and important output fields or artifact paths;
  • any checks not run, with the concrete reason and effect on risk assessment;
  • any score comparison, with matching task coverage, settings, and denominator.
Do not commit credentials, private endpoints, downloaded datasets, complete result directories, or large trajectories. Use small sanitized excerpts or stable external artifacts when a reviewer needs more than the pull request description can hold.