Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ All notable changes to SkillEvaluator are documented in this file.

### Documentation

- The CI guide's `jq` quality gate fails when a report has no quality score
(it passed before) and checks every skill's report in a folder run.

- The starter walkthrough identifies the PASS message as the success summary;
the runner's final line gives the report and editable-starter directory.

Expand Down
10 changes: 7 additions & 3 deletions docs/ci-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,15 @@ publication signal. Require `publication_status == "pass"` (or
A step that enforces a stricter score than the built-in gate:

```bash title="Gate on quality score with jq"
report=$(ls -t reports/skillevaluator-output-*.json | head -1)
jq -e '([.quality_summary[]?.overall_score] | min // 100) >= 80' "$report"
mapfile -t reports < <(find reports -name 'skillevaluator-output-*.json' -type f)
if [ "${#reports[@]}" -eq 0 ]; then
echo "No SkillEvaluator JSON report under reports/" >&2
exit 1
fi
jq -se 'all(.[]; [.quality_summary[]?.overall_score] | length > 0 and min >= 80)' "${reports[@]}"
```

`jq -e` exits non-zero when the expression is false, so the step fails the job on its own. For Tier 3 payloads and the full results-on-disk layout, see [Reports & Results](/skills/skillevaluator/reports).
A single-skill target writes its report at the top of `reports/`, and a folder target writes one per skill under `reports/<skill>/`, so the step checks every report it finds; write them to an empty `reports/` folder. The gate fails closed: a run with no report, or a report without a quality score, fails it. `jq -e` exits non-zero when the expression is false, so the step fails the job on its own. For Tier 3 payloads and the full results-on-disk layout, see [Reports & Results](/skills/skillevaluator/reports).

## Troubleshooting

Expand Down
Loading