SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.04284 · EMNLP · 2023

CRAB: Assessing the Strength of Causal Relationships Between Real-World Events

Antoine Bosselut, Angelika Romanou, Debjit Paul, Syrielle Montariol, Karl Aberer, Léo Laugier

arXiv · PDF · Open in the Atlas

Code that ran

4 of 5 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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.04284.json · badge: /api/ran/2311.04284.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
epfl-nlp/CRAB canonical (classifier label)
classifier basis: census
3 ran · 1 no recorded run
agromanou/crab canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
ask_gpt3 Ran
ran, honoured the contract we drafted
epfl-nlp/CRAB/src/pairwise_causality.py
pointer only (licence: NONE) · get_code("c6146ed2a3f46646")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, epfl-nlp/CRAB when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ask_gpt_3 Ran
ran, honoured the contract we drafted
epfl-nlp/CRAB/src/graded_causality.py
pointer only (licence: NONE) · get_code("ce2277196a180d99")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, epfl-nlp/CRAB when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ask_gpt_4 Ran
ran; our contract draft was wrong, not the code
epfl-nlp/CRAB/src/graded_causality.py
pointer only (licence: NONE) · get_code("c86a61bd1a02253f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, epfl-nlp/CRAB when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_json Ran
ran; our contract draft was wrong, not the code
agromanou/crab/src/graded_causality.py
pointer only (licence: NONE) · get_code("f8c65c92ec213846")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, agromanou/crab when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ask_gpt_4 Not yet run
unverified (harvested, no recorded run)
epfl-nlp/CRAB/src/pairwise_causality.py
pointer only (licence: NONE) · get_code("1eb5fe8a701c4c14")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, epfl-nlp/CRAB when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 3 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.

FunctionAlso present inEarliest-datedOthers named
read_json 7 other papers
1 dated earlier, 6 later
2310.15239 (2023-10)
CROW: Benchmarking Commonsense Reasoning in Real-World Tasks
2402.02823 (2024-02)
Evading Data Contamination Detection for Language Models is (too) Easy
2405.17220 (2024-05)
RLAIF-V: Open-Source AI Feedback Leads to Super GPT-4V Trustworthiness
and 4 more not named here

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-23.

Repositories linked to this paper

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

Abstract

Understanding narratives requires reasoning about the cause-and-effect relationships between events mentioned in the text. While existing foundation models yield impressive results in many NLP tasks requiring reasoning, it is unclear whether they understand the complexity of the underlying network of causal relationships of events in narratives. In this work, we present CRAB, a new Causal Reasoning Assessment Benchmark designed to evaluate causal understanding of events in real-world narratives. CRAB contains fine-grained, contextual causality annotations for ∼ 2.7K pairs of real-world events that describe various newsworthy event timelines (e.g., the acquisition of Twitter by Elon Musk). Using CRAB, we measure the performance of several large language models, demonstrating that most systems achieve poor performance on the task. Motivated by classical causal principles, we also analyze the causal structures of groups of events in CRAB, and find that models perform worse on causal reasoning when events are derived from complex causal structures compared to simple linear causal chains. We make our dataset and code available to the research community. 1 * Equal contribution 1 https://github.com/epfl-nlp/CRAB

For agents

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

get_harvested_code_for_paper("2311.04284")
get_code_for_paper("2311.04284")
have("2311.04284")

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

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

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

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

Connect an agent — have() is free.