# Test Experiment {{exp_id}}

## CLI Reference

Run all abreka commands with `uv run abreka <command>`. Examples:
- `uv run abreka exp show {{exp_id}}`
- `uv run abreka wiki search "<query>"` — search the project wiki for testing pitfalls or methodology rules.

{{wiki_index}}

## Experiment Details

- **ID**: {{exp_id}}
- **Hypothesis**: {{hypothesis}}
- **Method**: {{method}}

## Working Directory

Your working directory is the **project root**. All paths are relative to it. Do NOT use `..` to navigate to a parent directory.

## Your Task

Validate the code for experiment {{exp_id}}:

1. **Run the full test suite**: `{{test_command}}`
2. If tests fail, **diagnose and fix** the issues.
3. If the experiment code added new shared library code in `src/{{lib_name}}/`, ensure there are tests for it.
4. If shared library modifications break existing tests, **revert the shared library changes** and copy the code to `abreka/experiments/{{exp_id}}/code/` instead.
5. Verify that `abreka/experiments/{{exp_id}}/run.py` exists and is syntactically valid.

After all tests pass, report success. If you cannot get tests to pass after reasonable effort, report failure with an explanation.
