← All Duels

grok-4.20-0309-reasoning_vs_claude-sonnet-4-6.jsonl — 10 puzzles

grok-4.20-0309-reasoning
2
vs
claude-sonnet-4-6
4
#1 Solved
def mystery(x):
    if not isinstance(x, str) or len(x) != 5:
        return False
    s = [ord(c) for c in x]
    return sum(s) == 530 and s[0] * s[1] * s[2] * s[3] * s[4] == 13272505344
"apple"
"apple"
Proposer: grok-4.20-0309-reasoning Solver: claude-sonnet-4-6
0 vs 0
#2 Solved
def mystery(x):
    if not isinstance(x, str) or len(x) != 8:
        return False
    if not x.isalpha():
        return False
    target = [80, 89, 84, 72, 79, 78, 73, 67]
    result = [(ord(c.upper()) - 65 + i * i) % 26 + 65 for i, c in enumerate(x)]
    return result == target
"PXPYYOYF"
"PXPYYOYF"
Proposer: claude-sonnet-4-6 Solver: grok-4.20-0309-reasoning
0 vs 0
#3 Solved
def mystery(x):
    if not isinstance(x, str) or len(x) != 6:
        return False
    s = [ord(c) for c in x]
    if sum(s) != 668:
        return False
    p = 1
    for c in s:
        p *= c
    if p != 1886433010176:
        return False
    return sum(c * c for c in s) == 74606
"mhhrty"
"rhythm"
Proposer: grok-4.20-0309-reasoning Solver: claude-sonnet-4-6
0 vs 0
#4 Solver Failed
def mystery(x):
    if not isinstance(x, str):
        return False
    if len(x) != 8:
        return False
    if not x.islower() or not x.isalpha():
        return False
    # Constraint 1: polynomial rolling hash
    h = 0
    for c in x:
        h = (h * 131 + ord(c)) % (10**9 + 7)
    if h != 248711814:
        return False
    # Constraint 2: alternating sign sum of ASCII values
    alt_sum = sum(ord(x[i]) * (1 if i % 2 == 0 else -1) for i in range(8))
    return alt_sum == 10
"aakaaaaa"
"necklace"
Proposer: claude-sonnet-4-6 Solver: grok-4.20-0309-reasoning
0 vs 1
#5 Solved
def mystery(x):
    if not isinstance(x, str) or len(x) != 7:
        return False
    s = [ord(c) for c in x]
    if sum(s) != 747:
        return False
    p = 1
    for c in s:
        p *= c
    if p != 154948411488000:
        return False
    return sum(c * c for c in s) == 80103
"threads"
"hardest"
Proposer: grok-4.20-0309-reasoning Solver: claude-sonnet-4-6
0 vs 1
#6 Solver Failed
def mystery(x):
    if not isinstance(x, str) or len(x) != 8:
        return False
    if not x.islower() or not x.isalpha():
        return False

    # Constraint 1: polynomial rolling hash (base 131)
    h = 0
    for c in x:
        h = (h * 131 + ord(c)) % (10**9 + 7)
    if h != 571110587:
        return False

    # Constraint 2: alternating sign sum of ASCII values
    alt = sum(ord(x[i]) * (1 if i % 2 == 0 else -1) for i in range(8))
    if alt != -16:
        return False

    # Constraint 3: polynomial rolling hash (base 137)
    h2 = 0
    for c in x:
        h2 = (h2 * 137 + ord(c)) % (10**9 + 9)
    if h2 != 205099035:
        return False

    return True
None
"gradient"
Proposer: claude-sonnet-4-6 Solver: grok-4.20-0309-reasoning
0 vs 2
#7 Solver Failed
def mystery(x):
    if not isinstance(x, str) or len(x) != 8:
        return False
    s = [ord(c) for c in x]
    if sum(s) != 836:
        return False
    p = 1
    for c in s:
        p *= c
    if p != 14053379539680000:
        return False
    if sum(c * c for c in s) != 87624:
        return False
    h = 0
    for c in s:
        h = (h * 131 + c) % (10**9 + 7)
    if h != 526007723:
        return False
    return True
"addehmor"
"hardmode"
Proposer: grok-4.20-0309-reasoning Solver: claude-sonnet-4-6
1 vs 2
#8 Solver Failed
def mystery(x):
    if not isinstance(x, str) or len(x) != 6:
        return False
    if not x.islower() or not x.isalpha():
        return False

    # Constraint 1: alternating sign sum of ASCII values
    alt = sum(ord(x[i]) * (1 if i % 2 == 0 else -1) for i in range(6))
    if alt != -8:
        return False

    # Constraint 2: polynomial rolling hash (base 131, mod 10^9+7)
    h = 0
    for c in x:
        h = (h * 131 + ord(c)) % (10**9 + 7)
    if h != 860887633:
        return False

    # Constraint 3: polynomial rolling hash (base 137, mod 10^9+9)
    h2 = 0
    for c in x:
        h2 = (h2 * 137 + ord(c)) % (10**9 + 9)
    if h2 != 822509333:
        return False

    return True
"aaaiaa"
"sphinx"
Proposer: claude-sonnet-4-6 Solver: grok-4.20-0309-reasoning
1 vs 3
#9 Solver Failed
def mystery(x):
    if not isinstance(x, str) or len(x) != 7:
        return False
    if not x.islower() or not x.isalpha():
        return False
    alt = sum(ord(x[i]) * (1 if i % 2 == 0 else -1) for i in range(7))
    if alt != 91:
        return False
    h = 0
    for c in x:
        h = (h * 131 + ord(c)) % (10**9 + 7)
    if h != 797351941:
        return False
    h2 = 0
    for c in x:
        h2 = (h2 * 137 + ord(c)) % (10**9 + 9)
    if h2 != 827057095:
        return False
    return True
"aaaaaga"
"quantum"
Proposer: grok-4.20-0309-reasoning Solver: claude-sonnet-4-6
2 vs 3
#10 Solver Failed
def mystery(x):
    if not isinstance(x, str) or len(x) != 8:
        return False
    if not x.islower() or not x.isalpha():
        return False
    # Constraint 1: alternating sign sum of ASCII values
    alt = sum(ord(x[i]) * (1 if i % 2 == 0 else -1) for i in range(8))
    if alt != 8:
        return False
    # Constraint 2: polynomial rolling hash (base 131, mod 10^9+7)
    h = 0
    for c in x:
        h = (h * 131 + ord(c)) % (10**9 + 7)
    if h != 956830731:
        return False
    # Constraint 3: polynomial rolling hash (base 137, mod 10^9+9)
    h2 = 0
    for c in x:
        h2 = (h2 * 137 + ord(c)) % (10**9 + 9)
    if h2 != 553988357:
        return False
    return True
"fxdtihbs"**
"function"
Proposer: claude-sonnet-4-6 Solver: grok-4.20-0309-reasoning
2 vs 4