BuildCanada / BuildCanada/OutcomeTrackerAPI
Don't use neutral evidences when scoring progress
- Lingua principale
- Ruby
- Stelle
- 5
- Fork
- 10
- Merge medio
- 5m
- PR unite (30g)
- 3
Descrizione
**Describe the bug**
When generating a progress score, the AI is currently using all evidences. Evidences that are `neutral` should not be considered in the scoring.
This is giving a false sense of progress when there is none. We don't show neutral evidences in the UI, so we shouldn't consider it in the scoring.
Alternatively, is there any strong reason why we are attaching neutral evidences in the first place?
Example with neutral evidences that should not be considered in the progress scoring: https://outcomes-tracker-api.apps.canadasbuilding.com/admin/resources/promises/207
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
No files or tests are named. Start by tracing the progress-score generation entry point and how evidences with a neutral status are passed into scoring; confirm the behavior against the linked promise example. Done means neutral evidences no longer affect progress scores, with coverage for that case if the project has relevant tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ruby
- Ambito
- api, backend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100