bcgov / bcgov/wps

HFI Calculator: Show only forecasted dailies

Open
#2,123 6 comments 0 reactions 0 assignees View on GitHub
4Refinement User Requested User Story
Dominant language
Python
Stars
65
Forks
11
Avg merge
21h 25m
Merged PRs (30d)
70

Description

**As a** *HFI User* **I want** *to generate HFI calc results based on forecasts only* **So That** *I don't have to race to download a PDF before actuals come in*

TODO: should this be a toggle or just the default data?

**Additional Context**
- Feedback from DK and SI in NWFC
- WF1 API supports this with query param `query=recordType.id=="FORECAST"`

**Acceptance Criteria**
- [ ] Given (Context), When (action carried out), Then (expected outcome)
- [ ] Given (Context), When (action carried out), Then (expected outcome)

**Definition of Done**
- Ready to Demo in Sprint Review
- Does what I have made have appropriate test coverage?
- Documentation and/or scientific documentation exists and can be found
- Peer Reviewed by 2 people on the team
- Manual testing of all PRs in Dev and Prod
- Merged

Contributor guide

Open the contributing guide

Research direction

Start at the HFI calculator entry point and trace its requests to the WF1 API, where the issue identifies the FORECAST recordType query parameter. Clarify whether forecast-only results should be a toggle or the default, then define concrete acceptance criteria and add appropriate test coverage before demonstrating the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.