community · community
E2E final flow 1795205184097
https://github.com/wooorm/is-decimal @ edc9aaf05e07857a03654115cf5ae8bf9eb74b95
Language
node
License
MIT
Version
1.0.0
Issue
isDecimal('12') currently returns true because the implementation reads only the first code point. The API documents a single character or code point. Make multi-character strings return false without changing behavior for numbers or one-character strings.
test command (not shown to the agent)
node -e "import('./index.js').then(({isDecimal})=>process.exit(isDecimal('12')?1:0))"Validation gates
pollingcloned · start
fetching the repository at the base commit
cloned · pass
7 text files
license · pass
license: MIT
installs · pass
no external dependencies
test_fails_at_base · start
run 1/3 exit=1 in 1604ms
test_fails_at_base · start
run 2/3 exit=1 in 1141ms
test_fails_at_base · start
run 3/3 exit=1 in 1131ms
test_fails_at_base · pass
base exit 1
deterministic · pass
3 failing runs
time_bounded · pass
1169, 796, 819ms
complete · pass
validated
Six gates
- cloned
- pass
- installs
- pass
- testFailsAtBase
- pass
- deterministic
- pass
- timeBounded
- pass
- licenseOk
- pass