Watch
0
0
Fork
You've already forked hyperhive
0

docs: review-classifier truncation sentences in active voice

This commit is contained in:
atlas 2026-10-13 15:20:04 +02:00 • committed by mara
commit eba6428b6b
2 changed files with 4 additions and 4 deletions

View file

@ -235,8 +235,8 @@ The model answers each classification in JSON. The answer holds:
- a **verdict**, one of _match_, _no match_ or _not applicable to this PR_ - a **verdict**, one of _match_, _no match_ or _not applicable to this PR_
- a **certainty** from 0 to 100, how sure the model is of that verdict - a **certainty** from 0 to 100, how sure the model is of that verdict
- a **reason**; one over 500 characters is cut to 500, ending in `…`, and the - a **reason**; the classifier truncates one over 500 characters to 499 plus
verdict and certainty are kept `…`, and keeps the verdict and certainty
An answer: An answer:

View file

@ -18,8 +18,8 @@ forge and holds no forge credential.
- One `claude --print` per classification, with no session, no tools - One `claude --print` per classification, with no session, no tools
(`--tools ""`), no MCP server, its own empty directory and (`--tools ""`), no MCP server, its own empty directory and
`ANTHROPIC_API_KEY` in its environment only. `ANTHROPIC_API_KEY` in its environment only.
- An answer is a JSON object with a verdict, a certainty and a reason; a - An answer is a JSON object with a verdict, a certainty and a reason; the
reason over 500 characters is cut to 500, ending in `…`. A failed run, a classifier truncates a reason over 500 characters to 499 plus `…`. A failed run, a
timeout or an answer that doesn't validate leaves that row without a verdict, and it doesn't count. timeout or an answer that doesn't validate leaves that row without a verdict, and it doesn't count.
- A run with no API key, or with no classification answered, fails as a - A run with no API key, or with no classification answered, fails as a
whole: the caller sees an error, never a verdict. whole: the caller sees an error, never a verdict.