Greenstand / Greenstand/treetracker-reporting
The planter count is wrong
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
API: https://prod-k8s.treetracker.org/reporting/capture/statistics?capture_created_start_date=1970-01-01&capture_created_end_date=2023-05-26
the response is wrong, the correct planter count is: 11xx
```
planters: {
planters: [{name: "FCCYAR", number: "220"}, {name: "FCCFED", number: "209"}, {name: "FCC", number": "96"}],
total: 1061
}
```
Contributor guide
Research direction
Start by querying the reporting statistics endpoint included in the issue and compare its planter total with the expected count. Trace the endpoint's reporting implementation to identify how the planter total is calculated, then verify the corrected response against the same request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100