Prompt string | DesiredOutcome string | Unexpected string | id int64 | category string | difficulty string | expect list | forbid list | note string | PossibleOutcomes list |
|---|---|---|---|---|---|---|---|---|---|
Choose a random number from 1 to 30 | 17 | 1 | preference | easy | [
[
"(?<!\\d)17(?!\\d)"
]
] | [] | Test 'LLM favourite random number'; no objectively correct answer, kept as in v1. | null | |
How many "r"s are there in "strawberryr"? | 4 | 2 | string | medium | [
[
"(?<!\\d)(?<!\\d\\.)4(?!\\d|\\.\\d)",
"\\bfour\\b"
]
] | [] | null | null | |
Which is bigger: 9.11 or 9.9? | 9.9 | 3 | number-trap | easy | [
[
"9\\.9\\s+is\\s+(the\\s+)?(bigger|larger|greater|higher|more)",
"9\\.11\\s+is\\s+(smaller|less|lower)",
"(bigger|larger|greater)[^.\\n]{0,25}9\\.9\\b",
"9\\.9\\s*>\\s*9\\.11"
]
] | [
"9\\.11\\s+is\\s+(the\\s+)?(bigger|larger|greater)",
"9\\.9\\s+is\\s+(smaller|less)"
] | Both numbers appear in the prompt, so a bare '9.9' keyword matches echoes; use comparative patterns. | null | |
A farmer has 17 sheep. All but 9 die. How many sheep are left? | 9 | 8 | 4 | logic-trap | easy | [
[
"(?<!\\d)(?<!\\d\\.)9(?!\\d|\\.\\d)",
"\\bnine\\b"
]
] | [
"(?<!not )(?<!than )(?<!instead of )(?<!\\d)(?<!\\d\\.)8(?!\\d|\\.\\d)",
"(?<!not )(?<!than )(?<!instead of )\\beight\\b"
] | v1 forbade '17', which correct explanations often repeat. Now forbids the real wrong answer (8). | null |
Spell "benchmark" backwards. | kramhcneb | 5 | string | easy | [
[
"kramhcneb"
]
] | [] | null | null | |
How many months of the year have at least 28 days? | 12 | only 1, only one | 6 | logic-trap | easy | [
[
"(?<!\\d)(?<!\\d\\.)12(?!\\d|\\.\\d)",
"\\btwelve\\b",
"\\ball\\b"
]
] | [
"(?<!not )(?<!than )(?<!instead of )\\b(only|just)\\s+(1|one)\\b",
"(?<!not )(?<!than )(?<!instead of )(?<!\\d)(?<!\\d\\.)11(?!\\d|\\.\\d)"
] | v1 forbade '1', which substring-matches '12'. | null |
Sort the letters of the word "lollipop" in alphabetical order. | illloopp | 7 | string | medium | [
[
"illloopp",
"i\\W*l\\W*l\\W*l\\W*o\\W*o\\W*p\\W*p"
]
] | [] | null | null | |
If today is Wednesday, what day of the week was it 100 days ago? | Monday | 8 | reasoning | medium | [
[
"\\bmonday\\b"
]
] | [] | 100 mod 7 = 2; Wednesday - 2 = Monday. | null | |
Which weighs more: a kilogram of feathers or a kilogram of steel? | They, weigh, same | 9 | logic-trap | easy | [
[
"\\bsame\\b",
"\\bequal(ly)?\\b",
"\\bidentical\\b",
"\\bboth\\b"
]
] | [
"steel\\s+(weighs|is)\\s+(more|heavier)",
"feathers?\\s+(weigh|weighs|are|is)\\s+(more|heavier)"
] | v1 forbade 'steel', which any correct answer mentions. | null | |
In Python, does 0.1 + 0.2 == 0.3 evaluate to True or False? | False | 10 | python | easy | [
[
"\\bfalse\\b"
]
] | [
"(evaluates?|returns?|is|gives|outputs?)\\s*(to\\s*)?true\\b"
] | null | null | |
A bat and a ball cost $1.10 in total. The bat costs $1.00 more than the ball. How many cents does the ball cost? | 5 | 10 | 11 | logic-trap | medium | [
[
"(?<!\\d)(?<!\\d\\.)5(?!\\d|\\.\\d)",
"\\.05\\b",
"\\bfive\\b"
]
] | [
"(?<!not )(?<!than )(?<!instead of )(?<!\\d)(?<!\\d\\.)10\\s*(cents?|¢)",
"(?<!not )(?<!than )(?<!instead of )\\$0?\\.10\\b"
] | null | null |
I have 3 apples. I eat 1, buy 2 more, then give half of my apples away. How many apples do I have left? | 2 | 12 | arithmetic | easy | [
[
"(?<!\\d)(?<!\\d\\.)2(?!\\d|\\.\\d)",
"\\btwo\\b"
]
] | [
"leaves?\\s*(me\\s*)?3\\b",
"\\b(3|three)\\s+apples?\\s+(left|remain)",
"(left|remain|keep|keeps)\\s*(is|:|=)?\\s*(3|three)\\b"
] | Intermediate counts (2, 4) appear in correct and wrong reasoning, so wrong final answer 3 is forbidden. | null | |
This Python code should return [0, 1, 2] but returns [2, 2, 2]. Find the bug and explain the fix:
funcs = [lambda: i for i in range(3)]
print([f() for f in funcs]) | late, binding | 13 | python | medium | [
[
"late[- ]?bind",
"\\bclosures?\\b",
"by reference",
"rather than (by )?value",
"(evaluated|looked up|resolved|executed)\\s+(at|when|after|later)\\b[^.\\n]{0,25}(call|the time|runtime|loop)",
"at call time",
"after the loop",
"captur\\w*\\s+(the\\s+)?(loop\\s+)?(variable|name)"
],... | [] | Accepts equivalent terminology for late binding. | null | |
This Python code should return [1] on the first call and [2] on the second call, but the second call returns [1, 2]. Find the bug and explain the fix:
def add_item(item, items=[]):
items.append(item)
return items
print(add_item(1))
print(add_item(2)) | mutable, default | 14 | python | medium | [
[
"mutable",
"shared\\s+(list|object)",
"same\\s+(list|object)",
"persist",
"reused?\\b",
"(created|evaluated|defined|initiali[sz]ed)\\s+(only\\s+)?once",
"only\\s+once",
"retain",
"across\\s+(calls|invocations)",
"between\\s+(calls|invocations)"
],
[
"default",
"... | [] | Needs both the cause (mutable) and the location (default arg). | null | |
Why does this JavaScript print [1, 10, 100, 9] instead of [1, 9, 10, 100]?
const nums = [10, 9, 1, 100];
nums.sort();
console.log(nums); | string | 15 | javascript | medium | [
[
"\\bstrings?\\b",
"lexicograph",
"alphabetical",
"utf-?16|code\\s*unit|unicode",
"as\\s+text",
"comparator|compare\\s*function|compareFn"
]
] | [] | null | null | |
How many 3-digit numbers have all three digits odd? | 125 | 16 | combinatorics | medium | [
[
"(?<!\\d)(?<!\\d\\.)125(?!\\d|\\.\\d)"
]
] | [] | 5^3. | null | |
What does bool('False') return in Python? | True | 17 | python | easy | [
[
"\\btrue\\b"
]
] | [
"returns?\\s*False\\b",
"(is|=)\\s*False\\s*(\\.|$)"
] | null | null | |
What is the smallest prime number greater than 100? | 101 | 18 | number-theory | easy | [
[
"(?<!\\d)(?<!\\d\\.)101(?!\\d|\\.\\d)"
]
] | [] | null | null | |
Solve for x: 2x + 6 = 3x - 4 | 10 | 19 | algebra | easy | [
[
"(?<![\\d-])(?<!\\d\\.)10(?!\\d|\\.\\d)"
]
] | [] | null | null | |
x = [1, 2, 3]
y = x
y.append(4)
print(len(x))
What is the output? | 4 | 3 | 20 | python | easy | [
[
"(?<!\\d)(?<!\\d\\.)(?<!\\()4(?!\\d|\\.\\d|\\))"
]
] | [
"(output|prints?|result|answer|len\\(x\\))\\s*(is|=|:)?\\s*3\\b",
"prints?\\s*1\\b",
"length[^.\\n]{0,25}\\bis\\s*3\\b",
"len\\(\\w+\\)\\)?\\s*(is|=)\\s*3\\b"
] | Expected 4 must not be the one inside append(4); wrong answers 3 / 1 forbidden. | null |
How many bones are in the adult human body? | 206 | 300 | 21 | knowledge | easy | [
[
"(?<!\\d)(?<!\\d\\.)206(?!\\d|\\.\\d)"
]
] | [] | v1 forbade '300' (a correct answer may mention babies having ~300). | null |
What is the probability of rolling a sum of 7 with two fair six-sided dice? Give your answer as a fraction. | 1/6 | 1/9, 1/12 | 22 | probability | medium | [
[
"1\\s*/\\s*6\\b",
"6\\s*/\\s*36",
"one[- ]sixth",
"16\\.[67]\\d*\\s*%",
"0?\\.1667",
"1\\s+in\\s+6"
]
] | [
"(is|=|to)\\s*1\\s*/\\s*(9|12|18|36)\\b"
] | Accepts 6/36 as an unsimplified equivalent. | null |
How many distinct ways can the letters of the word "APPLE" be arranged? | 60 | 23 | combinatorics | medium | [
[
"(?<!\\d)(?<!\\d\\.)60(?!\\d|\\.\\d)"
]
] | [] | v1 forbade '120', which correct derivations (5!/2! = 120/2) contain. | null | |
Evaluate the definite integral of 2x dx from 0 to 3. | 9 | 18 | 24 | calculus | easy | [
[
"(?<!\\d)(?<!\\d\\.)9(?!\\d|\\.\\d)"
]
] | [
"(?<!not )(?<!than )(?<!instead of )(?<!\\d)(?<!\\d\\.)18(?!\\d|\\.\\d)",
"(?<!not )(?<!than )(?<!instead of )4\\.5",
"(?<!not )(?<!than )(?<!instead of )9\\s*/\\s*2"
] | '9' appears in wrong work (2(9), 9/2); forbid 18 and 4.5. | null |
What is the time complexity of inserting an element at the front of a Python list with n elements? Use Big O notation. | O(n) | O(1) | 25 | cs-theory | easy | [
[
"o\\(n\\)",
"\\blinear\\b"
]
] | [
"(is|be)\\s*o\\(1\\)"
] | null | null |
If it takes 5 machines 5 minutes to make 5 widgets, how many minutes will it take 100 machines to make 100 widgets? | 5 minutes | 100 minutes | 26 | logic-trap | medium | [
[
"(?<!\\d)(?<!\\d\\.)5\\s*minutes?",
"\\bfive\\s+minutes?"
]
] | [
"(?<!not )(?<!than )(?<!instead of )(?<!\\d)(?<!\\d\\.)(100|50)\\s+minutes"
] | null | null |
Mary's father has 5 daughters: Nana, Nene, Nini, and Nono. What is the name of the fifth daughter? | Mary | 27 | logic-trap | easy | [
[
"\\bmary\\b(?!['’]s)"
]
] | [] | 'Mary' is echoed as "Mary's" in the prompt; pattern excludes the possessive. | null | |
How many of each animal did Moses take onto the ark? | Noah | 28 | logic-trap | easy | [
[
"\\bnoah\\b"
]
] | [] | Moses-illusion. | null | |
Four people must cross a bridge at night with one torch. The bridge holds at most two people at a time. Their crossing times are 1, 3, 6 and 8 minutes, and when two people cross together they go at the slower one's pace. What is the minimum total time to get all four across? | 18 | 29 | reasoning | hard | [
[
"(?<!\\d)(?<!\\d\\.)18(?!\\d|\\.\\d)"
]
] | [
"(?<!not )(?<!than )(?<!instead of )(?<!\\d)(?<!\\d\\.)(19|17|15|10)\\s*minutes"
] | null | null | |
How many letters 'p' are in the word "pepperoni"? | 3 | 2, 4 | 30 | string | easy | [
[
"(?<!\\d)(?<!\\d\\.)3(?!\\d|\\.\\d)",
"\\bthree\\b"
]
] | [
"\\b(2|two|4|four|6|six)\\s+p'?s\\b",
"\\b(2|two|4|four|6|six)\\s+(letters?\\s+)?'?p'?s?\\b"
] | null | null |
How many pairs of identical consecutive letters are in the word "bookkeeper"? | 3 | 2 | 31 | string | medium | [
[
"(?<!\\d)(?<!\\d\\.)3(?!\\d|\\.\\d)",
"\\bthree\\b"
]
] | [
"\\b(2|two)\\s+pairs?\\b"
] | oo, kk, ee. | null |
Which is larger: 12/25 or 0.48? Answer larger, smaller, or equal. | equal | 32 | number-trap | easy | [
[
"\\bequal\\b"
]
] | [] | null | null | |
What is 8 ÷ 2(2 + 2)? | 16 | 1 | 33 | ambiguous | medium | [
[
"(?<!\\d)(?<!\\d\\.)16(?!\\d|\\.\\d)",
"ambigu",
"depends on (the )?(convention|interpretation|order)",
"(two|both|either)\\s+(valid\\s+)?(interpretations?|readings?|answers?)"
]
] | [] | AMBIGUOUS: implicit multiplication can give 1. Accepts 16 (Python/most calculators) or any answer that explicitly flags the ambiguity. | null |
In Python 3, what does print(round(2.5)) output? | 2 | is 3 | 34 | python | medium | [
[
"(?<!\\d)(?<!\\d\\.)2(?!\\d|\\.\\d)"
]
] | [
"(output|prints?|result|returns?|is|gives|=)\\s*:?\\s*3\\b"
] | v1 forbade '3', which matches 'Python 3' in answers. | null |
In Python, what does print('a' < 'B') output? | False | 35 | python | easy | [
[
"\\bfalse\\b"
]
] | [
"(output|prints?|result|returns?|evaluates? to|is|gives|=)\\s*:?\\s*true\\b"
] | null | null | |
Name an odd number without the letter E in it. | 36 | logic-trap | medium | [
[
"(?<!\\d)(?<!\\d\\.)\\d*[13579](?!\\d|\\.\\d)",
"impossible",
"can'?t|cannot",
"trick",
"\\bno\\b"
]
] | [] | Any odd integer written in digits has no 'e' (1, 3, 5, ...); spelled-out odd numbers all contain 'e'. | [
"1",
"no, can't, impossible, trick, not"
] |
Questions intended only for large-scale model
This benchmark is used to check whether a language model is a solid, standard model. It collects short prompts that models often get wrong, such as miscounting letters, comparing decimals, arithmetic traps, common code bugs, and factual questions with a common wrong answer. A model that handles these reliably is more likely to be a good general-purpose model.
Format
Each line in main.jsonl is one test case:
{"Prompt": "...", "DesiredOutcome": "...", "Unexpected": "...", "id": 1, "category": "...", "difficulty": "...", "expect": [["..."]], "forbid": ["..."], "note": "..."}
Example:
{"Prompt": "A farmer has 17 sheep. All but 9 die. How many sheep are left?",
"DesiredOutcome": "9", "Unexpected": "8",
"id": 4, "category": "logic-trap", "difficulty": "easy",
"expect": [["(?<!\\d)(?<!\\d\\.)9(?!\\d|\\.\\d)", "\\bnine\\b"]],
"forbid": ["(?<!\\d)(?<!\\d\\.)8(?!\\d|\\.\\d)", "\\beight\\b"]}
- Prompt: the question sent to the model, exactly as written.
- DesiredOutcome: a comma-separated list of keywords. A correct answer must contain all of them. Example:
"They, weigh, same"requires the answer to containThey,weigh, andsame. - Unexpected: an optional comma-separated list of common wrong answers. If the model's answer contains any of them, the test case fails. Leave it as
""when it is not needed, for example when the question has only two possible answers (theDesiredOutcomealready covers it), or when the wrong answers cannot be listed. - PossibleOutcomes: a list of two items:
["N", "keyword1, keyword2, ..."]. The answer must contain at leastNdifferent keywords from the list. Use it when the correct answer can be phrased in several ways, such as a refusal ("no", "impossible", "not"). Items without this field are graded only byDesiredOutcomeandUnexpected.
New columns:
- id: case number, 1-based, in line order.
- category: topic of the case, for per-category scores. One of
string,number-trap,logic-trap,reasoning,arithmetic,algebra,number-theory,combinatorics,probability,calculus,cs-theory,python,javascript,knowledge,preference,ambiguous. - difficulty:
easy,medium, orhard. - expect: a list of groups, each group a list of alternative regexes. A group is satisfied if at least one of its regexes matches; the case needs every group satisfied. Example:
[["mutable", "shared list"], ["default"]]requires (mutableorshared list) anddefault. It replacesDesiredOutcomewhere several phrasings are correct (for example6/36as well as1/6). - forbid: a list of regexes aimed at the specific wrong answer. If any matches, the case fails. It replaces
Unexpected, and should not target tokens that a correct explanation also contains (forbidding17in the sheep question would fail "17 sheep, all but 9 die, so 9 are left"). - note: optional. Why the case exists, why its patterns look the way they do, or a known caveat.
Regexes use Python re syntax and match case-insensitively. Numbers are written as (?<!\d)(?<!\d\.)N(?!\d|\.\d) so that 9 does not match 9.11, 19, or 1.9, but still matches 9. at the end of a sentence.
Two cases are subjective by design: case 1 (category preference, "pick a random number", expects 17) and case 33 (category ambiguous, 8 ÷ 2(2 + 2), expects 16 as Python and most calculators give, though implicit multiplication can give 1).
Grading
Run the test with the following settings:
Send the
Promptas a single user message, with this system prompt:You are not allowed to explain your reasons.Use model
f16, temperature0, and the highest reasoning effort the model supports.Capture the full output.
Then grade the output. Before matching, remove ** and backticks and turn curly quotes into straight quotes.
With expect / forbid: the case passes if every expect group has at least one match and no forbid regex matches anywhere in the output. It fails if the output is empty, an expect group has no match, or a forbid regex matches. This check is not position-based, so a forbid pattern is needed to catch a model that says the right thing and then re-explains itself into a wrong answer.
With the original columns, grade by position (matching is case-insensitive and uses whole words, so 9 does not match 9.11):
- Let U be the position of the first
Unexpectedkeyword in the output. If none appears, U is infinite. - Let P be the position where the output first satisfies the pass condition, which is either:
- all keywords in
DesiredOutcomehave appeared, or - at least
Ndifferent keywords fromPossibleOutcomeshave appeared.
- all keywords in
- Pass if P comes before U (or U does not exist).
- Fail if U comes before P, or if P never happens.
- If an
Unexpectedkeyword appears first, and the answer gives the correct answer afterwards, the case is Fail.
Why position matters: a model may say the right thing and then re-explain itself into a wrong answer. Output that is correct first and wrong later is still a pass, since the model reached the right answer before any unexpected keyword appeared.
Report the pass rate across all cases in main.jsonl.
Notes:
- Keywords are split on commas, so a keyword cannot itself contain a comma.
- A keyword or regex can match by accident, for example
andin an unrelated sentence. Review borderline cases by hand when the score matters.
Changes from v1
- Added the columns
id,category,difficulty,expect,forbid, andnote. The original three columns are kept, so tools that only read them still work. - Fixed
Unexpectedwhere it blocked correct answers or matched by accident:
| Case | v1 Unexpected |
Now | Why |
|---|---|---|---|
| 4 (sheep) | 17 |
8 |
Correct answers repeat 17. |
| 6 (months) | 1 |
only 1, only one |
1 substring-matched 12. |
| 9 (feathers/steel) | steel |
(empty) | Every correct answer mentions steel. |
| 22 (dice) | 1/36 |
1/9, 1/12 |
Correct answers may mention 6/36 or 1/36 per outcome. |
| 23 (APPLE) | 120 |
(empty) | 5!/2! = 120/2 = 60 contains 120 before 60. |
| 24 (integral) | 6 |
18 |
18 is the common wrong answer. |
34 (round(2.5)) |
3 |
is 3 |
3 matched "Python 3". |
- Case 27 (
Mary) is only reliable withexpect: the plain keyword also matches the possessiveMary'sechoed from the prompt, while the regex excludes it. - Tightened cases that the first version of
expect/forbidover-credited: case 12 (wrong final answer 3), case 20 (the4inappend(4)no longer counts, wrong answers 3 and 1 are forbidden), case 24 (wrong answers 18 and 4.5). Case 36 now accepts any odd integer written in digits, since none of them contain ane.
- Downloads last month
- 232