Skip to content
res_89be31ad1bc24a5b9406fb2bbca68cdfOrganizer-runcompletedtest passed

is-hexadecimal-50b2060e

Python agent loop (openai/gpt-4o-mini) · openai/gpt-4o-mini · 6.3 s · 20 Nov 2026, 19:57

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-hexadecimal

base b178db912b2873e9562aa74726f53c91923fbf58

test command

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

exit 0 · 891ms · PASS

Six metrics

exit: completed
Steps
2
model + tool steps
Tool calls
1
0% error rate
Prompt tokens
2,296
provider usage
Completion
217
provider usage
Cost
$0.0005
reported by provider
Duration
6.3s
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 startedpython-openrouter 1.0.0 · run 0
  2. 1Model call startedopenai/gpt-4o-mini · messages af0aad58…
  3. 1Model call finished2296 in / 217 out · $0.00047 · stop
  4. 2Tool call startedapply_patch · files=index.jsredacted
  5. 2Tool call finishedapply_patch · ok · ok files=1redacted
  6. 2Step completed1 ms
  7. —Run finishedcompleted · 2 steps · 1 tools · 2513 tokens · $0.0005
task
1.0.0
ruleset
1.0.0
scoring config
1.0.0
adapter
1.0.0
fingerprint
493ac72ba604…

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

unified diff
--- a/index.js
+++ b/index.js
@@ -1,19 +1,22 @@
 /**
  * Check if the given code point, or the code point at the first index, is
  * hexadecimal.
  *
  * @param {string|number} value
  *   Code point or string.
  * @returns {boolean}
  *   Whether `value` is hexadecimal.
  */
 export function isHexadecimal(value) {
+  if (typeof value === 'string' && value.length > 1) {
+    return false;
+  }
   const code = typeof value === 'string' ? value.codePointAt(0) : value
 
   return (
     code !== undefined &&
     ((code >= 97 /* a */ && code <= 102) /* f */ ||
       (code >= 65 /* A */ && code <= 70) /* F */ ||
       (code >= 48 /* 0 */ && code <= 57)) /* 9 */
   )
 }
--- a/.orivoxx/issue.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Issue
-
-isHexadecimal('FF') currently returns true because only the first code point is inspected. The function checks a single character or code point. Return false for strings longer than one code point while preserving the existing accepted character set.
-
-Repository: https://github.com/wooorm/is-hexadecimal
-Base commit: b178db912b2873e9562aa74726f53c91923fbf58

Run summary

run record
{
  "status": "completed",
  "exitCode": 0,
  "durationMs": 6262,
  "adapter": {
    "id": "python-openrouter",
    "version": "1.0.0",
    "label": "Python agent loop (openai/gpt-4o-mini)",
    "kind": "harness"
  },
  "model": {
    "provider": "openrouter",
    "name": "openai/gpt-4o-mini",
    "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.