Skip to content

Fix check.sh threshold: accept decimal integers >= 10, reject malformed - #2

Open
kpool-std-tideline-pilot[bot] wants to merge 2 commits into
kpool/eval/threshold-20261129-eaa43e053cfrom
kpool/changes/57c46517409e2c95f980c1b2deca9f48f0bb3703488b8763c53775857a238e25
Open

kpool-std-tideline-pilot[bot] wants to merge 2 commits into
kpool/eval/threshold-20261129-eaa43e053cfrom
kpool/changes/57c46517409e2c95f980c1b2deca9f48f0bb3703488b8763c53775857a238e25

Conversation

@kpool-std-tideline-pilot

Copy link
Copy Markdown

check.sh currently uses [ "$value" -gt 10 ], which rejects the boundary value 10 (>= 10 required) and fails on malformed/non-decimal input with a test error instead of a clean rejection. Replace with an explicit decimal-integer validation plus a -ge 10 comparison.

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.

0 participants