Watch
0
0
Fork
You've already forked hyperhive
0

review classifier: the certainty column's header is just certainty, so the column stays narrow

This commit is contained in:
atlas 2026-10-15 01:02:48 +02:00 • committed by mara
commit e7ed28b382
2 changed files with 8 additions and 8 deletions

View file

@ -339,8 +339,8 @@ all.
The service account posts the verdict as a forge review, approve or request
changes, and the table is the review's body. An illustrative table:
| result | check | certainty / threshold | reason |
| ----------- | ------------ | --------------------- | -------------------------------------------- |
| result | check | certainty | reason |
| ----------- | ------------ | --------- | -------------------------------------------- |
| ❌ no match | datetime | 92 / 80 | Two new timestamps use naive datetimes. |
| ✅ no match | no-ads | 99 / 90 | No commit message carries an AI attribution. |
| ❔ unsure | bao-first | 95 / 70 | The PR adds no secret. |

View file

@ -711,7 +711,7 @@ fn no_verdict(reason: &str, rows: &[Row]) -> String {
/// The result table, one row per classification.
fn table(rows: &[Row]) -> String {
let mut out = String::from(
"| result | check | certainty / threshold | reason |\n\
"| result | check | certainty | reason |\n\
| --- | --- | --- | --- |\n",
);
for r in rows {
@ -920,7 +920,7 @@ mod tests {
assert_eq!(
body,
format!(
"| result | check | certainty / threshold | reason |\n\
"| result | check | certainty | reason |\n\
| --- | --- | --- | --- |\n{expected}\n"
),
"{case}"