You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -93,6 +94,7 @@ The GitHub App must have these permissions:
93
94
| `SCOUT_ESCALATION_TAG` | no | Label for escalated issues (default: `Escalated request`) |
94
95
| `OPIK_API_KEY` | **yes** | Opik API key. Opik is required — Scout sources its system prompt from Opik and traces every run there. |
95
96
| `OPIK_WORKSPACE` | **yes** | Opik workspace name |
97
+
| `OPIK_ENVIRONMENT` | no | Tags traces by environment in the Opik UI. Convention: `dev`(local), `test` (test suite — set automatically), `staging` (UAT), `prod` (GitHub Action). |
96
98
| `SCOUT_FEEDBACK_SINCE_DAYS` | no | Feedback sync only: how many days back to scan issues for 👍/👎 reactions (default: `7`) |
97
99
| `ISSUE_NUMBER` | no | Override issue number (auto-detected from event payload) |
98
100
| `SCOUT_MODEL` | no | Anthropic model ID (default: `claude-sonnet-4-6`) |
Copy file name to clipboardExpand all lines: evals/README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,10 @@ ANTHROPIC_API_KEY= # required — Scout agent and LLM judge both use Claud
18
18
GITHUB_TOKEN= # required — fetching issues and real-GitHub file mode during evals
19
19
OPIK_API_KEY= # required — logging traces and reading datasets
20
20
OPIK_WORKSPACE= # required — your Opik workspace name
21
+
OPIK_ENVIRONMENT=dev # dev (local + offline evals), test (test suite — auto-set), staging (UAT), prod (GitHub Action)
21
22
SCOUT_GITHUB_REPO_OWNER= # required — repo to fetch issues from
22
23
SCOUT_GITHUB_REPO_NAME= # required — repo to fetch issues from
23
-
SCOUT_EVAL_OPIK_PROJECT= #Optional — defaults to scout:{SCOUT_GITHUB_REPO_OWNER}/{SCOUT_GITHUB_REPO_NAME}
24
+
SCOUT_EVAL_OPIK_PROJECT= #optional — defaults to scout:{SCOUT_GITHUB_REPO_OWNER}/{SCOUT_GITHUB_REPO_NAME}
24
25
```
25
26
26
27
---
@@ -99,6 +100,8 @@ python evals/run_test_suite.py
99
100
100
101
Pass rate is printed on completion and visible in the Opik dashboard.
101
102
103
+
> **Environment convention:**`run_test_suite.py` automatically defaults to `OPIK_ENVIRONMENT=test` — no manual setup needed. Offline eval runs use `dev` from `.env`. Override either by setting `OPIK_ENVIRONMENT` in the shell before running (e.g. `OPIK_ENVIRONMENT=staging` for UAT). The GitHub Action sets `prod`.
0 commit comments