Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Trend-tracking jq recipe prints evaluation_completed=false as 'n/a', because jq's // operator treats false like null (F-W1-DOCS-TRAIN-16)

Aperta Adatta ai principianti
#884 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

documentation good first issue severity: low source: review-2026-09 wave: 4

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.

Evidence (re-verified on 2026-10-09).

  • With jq 1.7.1 the documented expression prints completed=n/a for {"evaluation_completed": false}, completed=true for true, and completed=n/a when 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, false and n/a for 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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di HodeTech/ForgeLM

Tutte le issue di HodeTech/ForgeLM

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.