Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/aw/experiments.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Use `${{ experiments.tone }}` tone when writing the issue body.

1. **One dimension** per experiment.
2. **Falsifiable hypothesis**.
3. **Primary metric** measurable from workflow run data (artifacts, outputs, duration, tokens).
3. **Primary metric** measurable from workflow run data (artifacts, outputs, duration, tokens). Prefer `eval:<id>` / `evals.<id>` when success is best measured as a YES/NO question.
4. **Guardrail metrics** — things that must not degrade. Use `direction: min` + bare number for lower-is-better rates, or `">=0.95"` for higher-is-better.
5. **Sample size estimate** per variant.

Expand All @@ -161,6 +161,8 @@ Use `{{#if experiments.prompt_style == "concise" }}` blocks to swap prompt instr

**Typical metrics**: output quality, AI credits, success rate, output length.

When `metric` references `eval:<id>` or `evals.<id>`, declare that eval question under `evals:`. `gh aw experiments analyze` will then show both the metric question text and observed eval YES/NO/UNKNOWN results.

### Engine & Model

```yaml
Expand Down Expand Up @@ -281,7 +283,7 @@ experiments:
2. **Instrument** — add `experiments:` and `{{#if experiments.<name> == "<variant>" }}` blocks. Never use `__GH_AW_EXPERIMENTS__*`.
3. **Compile** — `gh aw compile <workflow-name>`.
4. **Run** — check activation job step summary for variant assignment.
5. **Analyse** — once min sample size reached, compare distributions.
5. **Analyse** — once min sample size reached, compare distributions; for eval-backed metrics, use `gh aw experiments analyze <workflow>` to inspect the resolved question and current eval outcomes.
6. **Conclude** — rewrite baseline to winning variant, remove `experiments:`, recompile.

---
Expand Down
314 changes: 313 additions & 1 deletion .github/workflows/daily-agentrx-trace-optimizer.lock.yml

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .github/workflows/daily-agentrx-trace-optimizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ imports:
expires: 7d
features:
gh-aw-detection: true
evals:
- id: sub_agent_strategy_goal_met
question: Does the agent output show that the objective for experiment sub_agent_strategy was successfully completed?
Comment on lines +57 to +58

---

{{#runtime-import? .github/shared-instructions.md}}
Expand Down
309 changes: 308 additions & 1 deletion .github/workflows/dataflow-pr-discussion-dataset.lock.yml

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .github/workflows/dataflow-pr-discussion-dataset.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ experiments:
start_date: "2026-06-05"
issue: 37102
strict: true
evals:
- id: caveman_mode_goal_met
question: Does the agent output show that the objective for experiment caveman_mode was successfully completed?
Comment on lines +110 to +111

---

{{#if experiments.caveman_mode == 'yes' }}
Expand Down
314 changes: 313 additions & 1 deletion .github/workflows/deep-report.lock.yml

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .github/workflows/deep-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ imports:


- shared/otlp.md
evals:
- id: output_format_goal_met
question: Does the agent output show that the objective for experiment output_format was successfully completed?
Comment on lines +90 to +91

---

### DeepReport - Intelligence Gathering Agent
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gpclean.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .github/workflows/gpclean.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ evals:
question: Does the agent output confirm that go.mod was analyzed for GPL-licensed transitive dependencies?
- id: decision-explained
question: Does the agent output include an explanation of why a GPL issue was created or why noop was called?
- id: tool_verbosity_goal_met
question: Does the agent output show that the objective for experiment tool_verbosity was successfully completed?
Comment on lines +98 to +99

---

Expand Down
299 changes: 298 additions & 1 deletion .github/workflows/smoke-antigravity.lock.yml

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .github/workflows/smoke-antigravity.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ safe-outputs:
timeout-minutes: 10
features:
gh-aw-detection: false
evals:
- id: sub_agent_strategy_goal_met
question: Does the agent output show that the objective for experiment sub_agent_strategy was successfully completed?
Comment on lines +76 to +77

---

# Smoke Test: Antigravity Engine Validation
Expand Down
Loading
Loading