Skip to content

fix: handle invalid AQI input and improve condition coverage #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iamdulanga
Copy link

Updated AQI evaluation logic to explicitly handle values ≥301 as "Hazardous" and added a fallback condition for invalid inputs (e.g., negative values or non-numeric data).

Updated AQI evaluation logic to explicitly handle values ≥301 as "Hazardous" and added a fallback condition for invalid inputs (e.g., negative values or non-numeric data).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant