Skip to content

No test suite for risk calculation logic #253

Description

@Muskankr

backend/alertsystem.py contains the flood and heatwave risk scoring logic but there are no automated tests in the repo (no tests/ folder, no pytest in requirements.txt). Add unit tests covering the flood/heat risk formulas with known input/output pairs, including edge cases like 0% humidity or extreme temperatures.

Metadata

Metadata

Assignees

Labels

featureAdd new feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions