RaindropA practical guide to choosing decision modelsGitHub ↗

Evidence order · Swap values in an expression whose result is unchanged by their order variant

Original question · Other versions of this question · All variants

This version keeps the original reference answer. Its context, question instructions or answer choices were changed as described below.

Changed fields: context.

How the edits were constructed

Context

def f(text, n):
    length = len(text)
    return text[(n%4)*length:length ]

Question

What does f('abc', 1) return?

Answer choices

  • A. 'b'
  • B. 'a'
  • C. '0'
  • D. ''

Reference answer: D.

Exact evaluated input as JSON
{
  "state": "def f(text, n):\n    length = len(text)\n    return text[(n%4)*length:length ]",
  "question": "What does f('abc', 1) return?",
  "choices": {
    "A": "'b'",
    "B": "'a'",
    "C": "'0'",
    "D": "''"
  }
}

Recorded model answers

The original column uses the control response paired with this variant. Missing responses and inputs outside a model’s limit remain visible.

Model Original answer Variant answer Change
GLiDE v1.2 D — '' D — '' Same answer
Decider v1.1 D — '' D — '' Same answer
Jev D — '' A — 'b' Different answer
Microsoft Decision-1 B — 'a' B — 'a' Same answer
Clef D — '' D — '' Same answer
Luna Decisions D — '' D — '' Same answer
Clef Flash D — '' D — '' Same answer
Strands Decider D — '' A — 'b' Different answer
GLiNER2.5 Decide A — 'b' A — 'b' Same answer
Laya A — 'b' A — 'b' Same answer
CalDec v1 A — 'b' A — 'b' Same answer

Ordering comparison: coupled wording reference chronology or representation. Only the exact matched comparison sets contribute to the reported ordering contrasts.

Identifiers and recorded conditions

Variant ID: cruxeval/c78bd20037af9eacc078/presentation_order/swap_native_commutative_operands/clean-source_first_scoped_qualifier_given_operand_orders_full_0314

Input fingerprint: 79ceef85963122f0de4f30bd7a590587bfe42fddd09f748eef4c56f9ab7a6fd3

Change Recorded version
Evidence order Swap values in an expression whose result is unchanged by their order

Source attribution and dataset terms are linked from the original question.

Type to search questions, variants and documentation.