RaindropA practical guide to choosing decision modelsGitHub ↗

Rule application · question 3

Back to Rule application · All capabilities

Question ID: cruxeval/a6e2537971b4a62dfde7
Source: CRUXEval
Input format: adapted choices

Explore this question’s altered versions

Context

def f(text, char):
    if not text.endswith(char):
        return f(char + text, char)
    return text

Question

What does f('staovk', 'k') return?

Answer choices

  • A: 'staovv'
  • B: 'staoak'
  • C: 'staovk'
  • D: 'taovks'

Reference answer: 'staovk' (C)

Exact evaluated input as JSON
{
  "state": "def f(text, char):\n    if not text.endswith(char):\n        return f(char + text, char)\n    return text",
  "question": "What does f('staovk', 'k') return?",
  "choices": {
    "A": "'staovv'",
    "B": "'staoak'",
    "C": "'staovk'",
    "D": "'taovks'"
  }
}

Recorded model answers

Model Answer Outcome
Astra 'staovk' Correct
Opus 5.5 'staovk' Correct
GLiDE v1.2 'staovk' Correct
Decider v1.1 'staovk' Correct
Jev 'staovk' Correct
Microsoft Decision-1 'staovk' Correct
Clef 'staovk' Correct
Luna Decisions 'staovk' Correct
Clef Flash 'staovk' Correct
Strands Decider 'staovk' Correct
GLiNER2.5 Decide 'staovv' Incorrect
Laya 'taovks' Incorrect
CalDec v1 'staoak' Incorrect

Source and sharing

Attribution: Meta; CRUXEval authors.
Terms: MIT. Source sharing decision.
The capability assignment and choice-format normalization are part of this experiment. Source data retain their own terms.

Exact source locator and input fingerprint
{
  "source_locator": {
    "path": "data/cruxeval.jsonl",
    "record": "299",
    "kind": "source_file_record"
  },
  "source_revision": "190faf16d175b5847b0af05d937872b1fb395942",
  "input_hash": "9742711f7734cc2cdd1c019a53ced263bb4fccf06617f986258aafe0358c708b"
}

Type to search questions, variants and documentation.