docs: publish audited baseline prompt protocol
Browse files- baseline_prompts.md +107 -0
baseline_prompts.md
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Audited baseline prompts and run protocol
|
| 2 |
+
|
| 3 |
+
Source: `general_agent_judge/graders/baselines.py`
|
| 4 |
+
|
| 5 |
+
Source SHA-256: `385e33c73a4c371876945380ce8bb1871cbd01ab1b584f2a41e14aed601fc9af`
|
| 6 |
+
|
| 7 |
+
## Scope
|
| 8 |
+
|
| 9 |
+
The prompts below are extracted from the executable grader classes. The
|
| 10 |
+
configuration in this document defines the **new audited rerun protocol**. It
|
| 11 |
+
does not retroactively establish the model identifiers or sampling parameters
|
| 12 |
+
of the historical reported runs. In particular, the archived code does not
|
| 13 |
+
preserve a complete historical 8-pass harness, so no same-backbone or
|
| 14 |
+
prompt-invariant interpretation is claimed for the previously reported margin.
|
| 15 |
+
|
| 16 |
+
## LLM-as-Judge
|
| 17 |
+
|
| 18 |
+
- Model ID for audited reruns: `qwen3.7-plus`
|
| 19 |
+
- Temperature: `0.1`
|
| 20 |
+
- Maximum output tokens: `256`
|
| 21 |
+
- Passes: `1`
|
| 22 |
+
|
| 23 |
+
System prompt:
|
| 24 |
+
|
| 25 |
+
```text
|
| 26 |
+
You are an evaluator. Given a task description and an agent's response, determine whether the agent successfully completed the task.
|
| 27 |
+
|
| 28 |
+
Output ONLY a JSON object: {"verdict": "pass" or "fail", "confidence": 0.0-1.0, "reason": "brief explanation"}
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
User prompt:
|
| 32 |
+
|
| 33 |
+
```text
|
| 34 |
+
## Task
|
| 35 |
+
{question}
|
| 36 |
+
|
| 37 |
+
## Reference Answer
|
| 38 |
+
{reference_answer}
|
| 39 |
+
|
| 40 |
+
## Agent Response
|
| 41 |
+
{agent_response}
|
| 42 |
+
|
| 43 |
+
## Agent Status: success
|
| 44 |
+
|
| 45 |
+
Did the agent successfully complete the task? Respond with JSON: {"verdict": "pass"/"fail", "confidence": 0.0-1.0, "reason": "..."}
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
## Agent-as-Judge
|
| 49 |
+
|
| 50 |
+
- Model ID for audited reruns: `qwen3.7-plus`
|
| 51 |
+
- Temperature: `0.1`
|
| 52 |
+
- Maximum output tokens: `512`
|
| 53 |
+
- Passes: `1`
|
| 54 |
+
|
| 55 |
+
System prompt:
|
| 56 |
+
|
| 57 |
+
```text
|
| 58 |
+
You are an expert evaluator assessing whether an AI agent successfully completed a given task. You will be provided with:
|
| 59 |
+
1. The task description
|
| 60 |
+
2. Reference answer / expected outcome
|
| 61 |
+
3. Checkpoints that should be satisfied
|
| 62 |
+
4. The agent's response and execution details
|
| 63 |
+
|
| 64 |
+
Evaluate thoroughly and output ONLY a JSON object:
|
| 65 |
+
{"verdict": "pass" or "fail", "score": 0.0-1.0, "confidence": 0.0-1.0, "checkpoints_met": [true/false for each], "reason": "detailed explanation"}
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
User prompt:
|
| 69 |
+
|
| 70 |
+
```text
|
| 71 |
+
## Task
|
| 72 |
+
{question}
|
| 73 |
+
|
| 74 |
+
## Reference Answer
|
| 75 |
+
{reference_answer}
|
| 76 |
+
|
| 77 |
+
## Checkpoints (2 items)
|
| 78 |
+
- {checkpoint_1}
|
| 79 |
+
- {checkpoint_2}
|
| 80 |
+
## Agent Response
|
| 81 |
+
{agent_response}
|
| 82 |
+
|
| 83 |
+
## Execution Details
|
| 84 |
+
- Status: success
|
| 85 |
+
- Steps: 12
|
| 86 |
+
- Tokens: 3456
|
| 87 |
+
- Wall time: 7.8s
|
| 88 |
+
|
| 89 |
+
## Tool Calls (1 total)
|
| 90 |
+
✓ {tool_name}(123ms)
|
| 91 |
+
|
| 92 |
+
Evaluate whether the agent successfully completed the task. Respond with JSON.
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
## 8-pass ensemble
|
| 96 |
+
|
| 97 |
+
The ensemble repeats the LLM-as-Judge prompt exactly eight times.
|
| 98 |
+
|
| 99 |
+
- Model ID for audited reruns: `qwen3.7-plus`
|
| 100 |
+
- Temperature: `0.7`
|
| 101 |
+
- Maximum output tokens per pass: `256`
|
| 102 |
+
- Passes: `8`
|
| 103 |
+
- Aggregation: strict majority vote; a `4–4` tie is failure
|
| 104 |
+
|
| 105 |
+
This setting is implemented by `EightPassEnsembleBaselineGrader`. It is a
|
| 106 |
+
prospective, reproducible configuration and does not retroactively establish
|
| 107 |
+
the missing temperature or harness metadata for the historical reported runs.
|