Skip to content
res_77ab9c6d5ddb43d1bbffdd13bab6aa69Organizer-runcompletedtest passed

is-decimal-single-char

Claude Code (anthropic/claude-sonnet-4.5) · anthropic/claude-sonnet-4.5 · 32.4 s · 20 Nov 2026, 08:54

Compare

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

4 passed0 failed0 drifted0 unverified

UNVERIFIED earns zero but is counted separately from FAIL.

Repository task

MIT · node

https://github.com/wooorm/is-decimal

base edc9aaf05e07857a03654115cf5ae8bf9eb74b95

test command

node -e "import('./index.js').then(({isDecimal})=>process.exit(isDecimal('12')?1:0))"

exit 0 · 1033ms · PASS

Six metrics

exit: completed
Steps
7
model + tool steps
Tool calls
7
0% error rate
Prompt tokens
15
provider usage
Completion
1,375
provider usage
Cost
$0.1512
reported by provider
Duration
32.4s
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.

Unattributed

Failure attribution

run passed the threshold; no failure to attribute

Inspect the trace →

Trace

  1. —Run startedclaude-code-openrouter 1.0.0 · run 0
  2. 1Model call startedanthropic/claude-sonnet-4.5 · messages 7b5f0d34…
  3. 1Model call finished9 in / 202 out · $0.08465 · tool_use
  4. 1Tool call startedRead · {"file_path": "/workspace"}redacted
  5. 1Tool call finishedRead · ok · tool_use recordedredacted
  6. 1Step completed0 ms
  7. 2Model call startedanthropic/claude-sonnet-4.5 · messages e5130672…
  8. 2Model call finished1 in / 105 out · $0.00913 · tool_use
  9. 2Tool call startedBash · {"command": "find /workspace -type f -name \"*.js\" -o -name \"*.ts\" -o -name \"*.json\" | head -20", "description": "List source files in the workspace"}redacted
  10. 2Tool call finishedBash · ok · tool_use recordedredacted
task
1.0.0
ruleset
1.0.0
scoring config
1.0.0
adapter
1.0.0
fingerprint
91d3a19185d1…

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 · 6 + / 7 − · 1.0 KiB

unified diff
--- a/index.js
+++ b/index.js
@@ -1,14 +1,19 @@
 /**
  * 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.codePointAt(0) : value
 
+  return (
+    code !== undefined &&
+    code >= 48 &&
+    code <= 57 /* 0-9 */ &&
+    (typeof value !== 'string' || value.length === 1)
+  )
-  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

run record
{
  "status": "completed",
  "exitCode": 0,
  "durationMs": 32391,
  "adapter": {
    "id": "claude-code-openrouter",
    "version": "1.0.0",
    "label": "Claude Code (anthropic/claude-sonnet-4.5)",
    "kind": "harness"
  },
  "model": {
    "provider": "openrouter",
    "name": "anthropic/claude-sonnet-4.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.