is-decimal-800937e9
Claude Code (anthropic/claude-haiku-5.5) · anthropic/claude-haiku-5.5 · 11.8 s · 20 Nov 2026, 20:42
Overall
100.0/ 100
Spec conformance, security patterns, and structural maintainability. No model call contributes to this number.
- Spec 60%
- 100.0
- Security 25%
- 100.0
- Maintainability 15%
- 81.7
Tally
UNVERIFIED earns zero but is counted separately from FAIL.
Repository task
MIT · nodehttps://github.com/wooorm/is-decimal
base edc9aaf05e07857a03654115cf5ae8bf9eb74b95
test command
node -e "import('./index.js').then(({isDecimal})=>process.exit(isDecimal('12')?1:0))"exit 0 · 865ms · PASS
Six metrics
exit: completed- Steps
- 4
- model + tool steps
- Tool calls
- 3
- 0% error rate
- Prompt tokens
- 8
- provider usage
- Completion
- 1,161
- provider usage
- Cost
- $0.0015
- reported by provider
- Duration
- 11.8s
- wall clock
Trace-derived. Tool errors are counted from finished tool calls; token and cost values come from the provider usage recorded by the proxy.
Failure attribution
run passed the threshold; no failure to attribute
Inspect the trace →Trace
- —Run startedclaude-code-openrouter 1.0.0 · run 0
- 1Model call startedanthropic/claude-haiku-5.5 · messages 29c06f8e…
- 1Model call finished2 in / 128 out · $0.00024 · tool_use
- 1Tool call startedBash · {"command": "ls && cat index.js 2>/dev/null; cat package.json 2>/dev/null | head -30; ls lib 2>/dev/null", "description": "List workspace and show main source"}redacted
- 1Tool call finishedBash · ok · tool_use recordedredacted
- 1Step completed0 ms
- 2Model call startedanthropic/claude-haiku-5.5 · messages 141ed401…
- 2Model call finished2 in / 629 out · $0.00058 · tool_use
- 2Tool call startedEdit · {"replace_all": false, "file_path": "/workspace/index.js", "old_string": " const code = typeof value === 'string' ? value.codePointAt(0) : value", "new_string": " const code =\n typeof value === 'string'\n ? value.length === 1\nredacted
- 2Tool call finishedEdit · ok · tool_use recordedredacted
- task
- 1.0.0
- ruleset
- 1.0.0
- scoring config
- 1.0.0
- adapter
- 1.0.0
- fingerprint
- 8b2eb05ea174…
Requirement outcomes
Static checks · 4 declared · no produced code executed
Real-repository task requirement.
- Rule
- declared check
- Outcome
- The declared check matched the produced repository.
Produced-code diff
0 added · 1 changed · 1 removed · 7 + / 8 − · 1.1 KiB
--- a/index.js
+++ b/index.js
@@ -1,14 +1,19 @@
/**
+ * Check if the given code point, or a string containing a single code point, is
- * Check if the given code point, or the code point at the first index, is
* decimal.
*
* @param {string|number} value
* Code point or string.
* @returns {boolean}
* Whether `value` is decimal.
*/
export function isDecimal(value) {
+ const code =
+ typeof value === 'string'
+ ? value.length === 1
+ ? value.codePointAt(0)
+ : undefined
+ : value
- const code = typeof value === 'string' ? value.codePointAt(0) : value
return code !== undefined && code >= 48 && code <= 57 /* 0-9 */
}
--- a/.orivoxx/issue.md
+++ /dev/null
@@ -1,6 +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.
-
-Repository: https://github.com/wooorm/is-decimal
-Base commit: edc9aaf05e07857a03654115cf5ae8bf9eb74b95
Run summary
{
"status": "completed",
"exitCode": 0,
"durationMs": 11780,
"adapter": {
"id": "claude-code-openrouter",
"version": "1.0.0",
"label": "Claude Code (anthropic/claude-haiku-5.5)",
"kind": "harness"
},
"model": {
"provider": "openrouter",
"name": "anthropic/claude-haiku-5.5",
"baseUrl": "https://openrouter.ai/api/v1"
}
}The score is reproducible from the task, ruleset, scoring configuration, and captured repository text. No model call contributed to it.