SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.12022 · 2023

GPQA: A Graduate-Level Google-Proof Q&A Benchmark

Julian Michael, Richard Yuanzhe Pang, Jackson Petty, David Rein, Julien Dirani, Samuel R. Bowman, Betty Li Hou, Asa Cooper Stickland

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 1 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2311.12022.json · badge: /api/ran/2311.12022.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
idavidrein/gpqa canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
f1_score Ran
ran, honoured the contract we drafted
idavidrein/gpqa/baselines/open_book.py
code served (permissive licence) · get_code("bf93745bda87d8d6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Analyze the function: it takes two set objects and performs set operations
# (intersection) and len() calls. It returns a float F1 score.

# Create two sets with some overlap for a meaningful F1 score
true_set = {"apple", "banana", "cherry", "date"}
pred_set = {"apple", "banana", "elderberry", "fig"}

ARGS = {
    "true_set": true_set,
    "pred_set": pred_set,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_prompt_from_examples Ran
ran; our contract draft was wrong, not the code
idavidrein/gpqa/baselines/utils.py
code served (permissive licence) · get_code("509cf2260198920d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Construct valid json_data for the function
json_data = {
    'questions': [
        {
            'question': 'What is the capital of France?',
            'choices': {
                'A': 'Paris',
                'B': 'London',
                'C': 'Berlin',
                'D': 'Madrid'
            },
            'explanation': 'France is a country in Western Europe. The capital city of France is Paris, which is located in the north-central part of the country.',
            'correct_answer': 'A'
        },
        {
            'question': 'Which planet is closest to the Sun?',
            'choices': {
                'A': 'Venus',
                'B': 'Mercury',
                'C': 'Earth',
                'D': 'Mars'
            },
            'explanation': 'The Solar System contains eight planets in order from the Sun. Mercury is the smallest and closest planet to the Sun.',
            'correct_answer': 'B'
        }
    ]
}

ARGS = {
    'json_data': json_data,
    'with_explanations': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_question_and_answers Ran
ran; our contract draft was wrong, not the code
idavidrein/gpqa/baselines/answer_cbow.py
code served (permissive licence) · get_code("c2c45901f9627f5e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import random

ARGS = {
    'example': {
        'Incorrect Answer 1': 'Wrong answer one',
        'Incorrect Answer 2': 'Wrong answer two',
        'Incorrect Answer 3': 'Wrong answer three',
        'Correct Answer': 'Correct answer text'
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_question_and_answers Ran
ran; our contract draft was wrong, not the code
idavidrein/gpqa/baselines/answer_only.py
code served (permissive licence) · get_code("ac2b95c8fa3bc645")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import random

ANSWER_LABELS = ['A', 'B', 'C', 'D']

PROMPT_PREFIX = 'Please choose the correct answer from among the following options: \n'

PROMPT_SUFFIX = 'The correct answer is: '

def generate_question_and_answers(example) -> dict:
    choice_indices = [1, 2, 3, 4]
    choice_order = random.sample(choice_indices, len(choice_indices))
    ans_idx = choice_order.index(4)
    ordered_choices = [example[f'Incorrect Answer {i}'] if i != 4 else example['Correct Answer'] for i in choice_order]
    ordered_choices = [f'({ANSWER_LABELS[i]}) {choice}' for i, choice in enumerate(ordered_choices)]
    context = PROMPT_PREFIX + '\n'.join(ordered_choices)
    question = PROMPT_SUFFIX
    answer = ANSWER_LABELS[ans_idx]
    return {'context': context, 'question': question, 'answer': answer, 'answer_start': context.index(answer), 'answer_end': context.index(answer) + len(answer)}

example = {
    'Correct Answer': 'Paris',
    'Incorrect Answer 1': 'London',
    'Incorrect Answer 2': 'Berlin',
    'Incorrect Answer 3': 'Madrid'
}

ARGS = {
    'example': example
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_from_json Ran
ran; our contract draft was wrong, not the code
idavidrein/gpqa/baselines/utils.py
code served (permissive licence) · get_code("a5691fda5dd24a86")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create a temporary JSON file for testing
temp_dir = tempfile.mkdtemp()
test_json_path = os.path.join(temp_dir, "test.json")

# Create a valid JSON file with some test data
test_data = {
    "key1": "value1",
    "key2": [1, 2, 3],
    "key3": {"nested": "object"}
}

with open(test_json_path, 'w') as f:
    json.dump(test_data, f)

# Define arguments for load_from_json
ARGS = {
    "path": test_json_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
remove_punctuation Ran
ran; our contract draft was wrong, not the code
idavidrein/gpqa/baselines/open_book.py
code served (permissive licence) · get_code("bc5679c991d7d2e6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import string

def remove_punctuation(text):
    return text.translate(str.maketrans('', '', string.punctuation))

ARGS = {
    "text": "Hello, World! This is a test. How are you?"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
tokenize_data Ran
ran; our contract draft was wrong, not the code
idavidrein/gpqa/baselines/answer_cbow.py
code served (permissive licence) · get_code("38400f169c72be8d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from transformers import AutoTokenizer

torch.manual_seed(0)

# Create a minimal tokenizer using a pre-initialized one from transformers
# We'll use a small tokenizer that doesn't require downloads by creating a mock
class MockTokenizer:
    def __init__(self):
        self.model_max_length = 128
        self.pad_token_id = 0
    
    def __call__(self, text, padding=None, truncation=None):
        # Simulate tokenization output
        if isinstance(text, list):
            batch_size = len(text)
        else:
            batch_size = 1
            text = [text]
        
        # Return dict with input_ids and attention_mask
        input_ids = torch.randint(1, 1000, (batch_size, 10))
        attention_mask = torch.ones(batch_size, 10, dtype=torch.long)
        
        return {
            'input_ids': input_ids,
            'attention_mask': attention_mask
        }

# Create example data
examples = {
    'text': ['This is the first example text.', 'This is the second example text.']
}

# Create tokenizer
tokenizer = MockTokenizer()

ARGS = {
    'examples': examples,
    'tokenizer': tokenizer
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
add_position_data Not yet run
unverified (harvested, no recorded run)
idavidrein/gpqa/baselines/answer_only.py
code served (permissive licence) · get_code("008fc7c26a7804df")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We present GPQA, a challenging dataset of 448 multiple-choice questions written by domain experts in biology, physics, and chemistry. We ensure that the questions are high-quality and extremely difficult: experts who have or are pursuing PhDs in the corresponding domains reach 65% accuracy (74% when discounting clear mistakes the experts identified in retrospect), while highly skilled non-expert validators only reach 34% accuracy, despite spending on average over 30 minutes with unrestricted access to the web (i.e., the questions are "Google-proof"). The questions are also difficult for state-of-the-art AI systems, with our strongest GPT-4-based baseline achieving 39% accuracy. If we are to use future AI systems to help us answer very hard questions-for example, when developing new scientific knowledge-we need to develop scalable oversight methods that enable humans to supervise their outputs, which may be difficult even if the supervisors are themselves skilled and knowledgeable. The difficulty of GPQA both for skilled non-experts and frontier AI systems should enable realistic scalable oversight experiments, which we hope can help devise ways for human experts to reliably get truthful information from AI systems that surpass human capabilities.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2311.12022")
get_code_for_paper("2311.12022")
have("2311.12022")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2311.12022.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2311.12022.svg)](https://syntology.ai/paper/2311.12022)

Connect an agent — have() is free.