Trend-tracking jq recipe prints evaluation_completed=false as 'n/a', because jq's // operator treats false like null (F-W1-DOCS-TRAIN-16)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 80/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- documentation
Direzione di ricerca
La vista jq difettosa si trova alla riga 47 di docs/usermanuals/en/evaluation/trend-tracking.md, e la copia turca alla stessa riga di docs/usermanuals/tr/evaluation/trend-tracking.md richiede la stessa modifica. Esegui l'espressione documentata con jq 1.7.1 sui tre input {"evaluation_completed": false}, {"evaluation_completed": true} e {} per vedere l'output attuale. È completato quando i tre casi stampano false, true e n/a, con entrambe le pagine linguistiche aggiornate nella stessa modifica.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Wave 4 · group W4 Docs · highest severity Low · 1 finding(s) · effort docs fix
Summary
The page explains that evaluation_completed: false marks a safety run that produced no usable evidence, then gives a jq view that renders the field with .evaluation_completed // "n/a". jq's alternative operator falls back on false as well as null, so exactly the rows the view is meant to expose print as completed=n/a, indistinguishable from older rows that lack the field.
Primary finding
F-W1-DOCS-TRAIN-16 — The trend query hides an explicit evaluation failure as missing telemetry
severity Low · confidence high · reproduced with jq 1.7.1
What happens. docs/usermanuals/en/evaluation/trend-tracking.md:47 and the Turkish mirror at the same line. Rows with evaluation_completed: false do occur: the safety orchestrator sets it when the classifier abstains (forgelm/safety/_orchestrator.py:359-361) and _append_trend_entry writes it to safety_trend.jsonl (forgelm/safety/_results.py:168).
Where.
docs/usermanuals/en/evaluation/trend-tracking.md:47docs/usermanuals/tr/evaluation/trend-tracking.md:47forgelm/safety/_orchestrator.py:359-361forgelm/safety/_results.py:168
Evidence (re-verified on 2026-10-09).
- With jq 1.7.1 the documented expression prints
completed=n/afor{"evaluation_completed": false},completed=truefortrue, andcompleted=n/awhen the field is absent.
Recommended fix. Render the field without the alternative operator, for example completed=\(if .evaluation_completed == null then "n/a" else .evaluation_completed end), which prints true, false and n/a for the three cases.
Acceptance criteria
- The jq view prints
true,falseandn/afor true, false and missing values. - Documentation listed above is corrected in English and in its Turkish mirror in the same PR.
- The finding is resolved or explicitly closed with a reason.
Found by the September 2026 independent review of ForgeLM against commit cab2947 and re-verified against development at f94595f on 2026-10-09. Code links point at cab2947; line numbers may have moved since. Finding IDs (F-W1-…) are stable references for this backlog.
- Lingua principale
- Python
- Stelle
- 9
- Fork
- 1
- Merge medio
- 7h 42m
- PR unite (30g)
- 4
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di HodeTech/ForgeLM
-
area: dev-tooling bug severity: low source: roadmap wave: 4
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
area: site bug good first issue severity: low source: review-2026-09 wave: 4
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
documentation good first issue severity: medium source: review-2026-09 wave: 3
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
documentation severity: medium source: review-2026-09 wave: 3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
documentation good first issue severity: medium source: review-2026-09 wave: 3
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Tutte le issue di HodeTech/ForgeLM
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
good first issue No-AI
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
🐛 Bug: Calendar work items cannot be opened on mobileForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni