Skip to content

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

Open
iamdulanga wants to merge 1 commit intocodedex-io:mainfrom
iamdulanga:main
Open

fix: handle invalid AQI input and improve condition coverage#80
iamdulanga wants to merge 1 commit intocodedex-io:mainfrom
iamdulanga:main

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