Skip to content

fix(harbor): keep reward output numeric - #68

Open
SergioHC95 wants to merge 1 commit into
aisa-group:add_harbor_supportfrom
SergioHC95:fix/numeric-harbor-reward
Open

fix(harbor): keep reward output numeric#68
SergioHC95 wants to merge 1 commit into
aisa-group:add_harbor_supportfrom
SergioHC95:fix/numeric-harbor-reward

Conversation

@SergioHC95

@SergioHC95 SergioHC95 commented Aug 11, 2026

Copy link
Copy Markdown

Summary

The Harbor verifier captures the metric parser with 2>&1, so a malformed metrics.json folds the parser diagnostic into ACCURACY and writes a non-numeric reward.txt.

This keeps stdout exclusively numeric while preserving parser diagnostics in metrics_parse_error.txt and the verifier stderr stream. A genuine score of zero and a parse failure remain distinguishable in verifier artifacts.

Validation

bash -n src/harbor_adapter/template/tests/test.sh
git diff --check

Refs #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant