Release NetExpert 0.2.0 with diagnostic and change review skills
NetExpert package / package (push) Successful in 8s
NetExpert package / package (push) Successful in 8s
This commit is contained in:
1 parent
d1d5af9609
commit
9492db0db5
18 files changed
+765
-16
No files matched your search
@@ -0,0 +1,38 @@
|
||||
# NetExpert scenario replay
|
||||
|
||||
The eight recordings use sanitized example data, including reserved
|
||||
`.invalid` publisher URLs. The runner is offline and uses only Python's
|
||||
standard library.
|
||||
|
||||
```sh
|
||||
python3 tests/netexpert_scenarios/evaluate.py list
|
||||
python3 tests/netexpert_scenarios/evaluate.py prompt vpn-no-traffic
|
||||
```
|
||||
|
||||
Give the prompt and available tool names to the candidate alongside the
|
||||
installed plugin. Record the selected skill, observed calls in order, and
|
||||
the final answer in a JSON trace. Use the unqualified skill and tool names.
|
||||
Use `web` for a recorded publisher lookup.
|
||||
|
||||
```json
|
||||
{
|
||||
"skill": "diagnostics",
|
||||
"calls": [
|
||||
{"tool": "search_docs", "arguments": {"query": "VPN route counters", "freshness": "cached"}}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Run `replay` after each new call and give the last recorded result to the
|
||||
candidate. For tool failures, include the recorded HTTP status and headers.
|
||||
Add the final user-facing text as `answer` before grading the trace.
|
||||
|
||||
```sh
|
||||
python3 tests/netexpert_scenarios/evaluate.py replay vpn-no-traffic trace.json
|
||||
python3 tests/netexpert_scenarios/evaluate.py grade vpn-no-traffic trace.json
|
||||
```
|
||||
|
||||
The grader checks the skill, ordered call budget, key arguments, expected
|
||||
citations, answer context, and fixture secret canaries. Pytest exercises the
|
||||
fixtures and the grader. Evaluating a skill run requires an observed candidate
|
||||
trace.
|
||||
Reference in new issue
Block a user