BuildCanada / BuildCanada/OutcomeTrackerAPI
Don't use neutral evidences when scoring progress
- Dominant language
- Ruby
- Stars
- 5
- Forks
- 10
- Avg merge
- 5m
- Merged PRs (30d)
- 3
Description
**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
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100