Dataset Viewer
Auto-converted to Parquet Duplicate
task_id
stringlengths
6
6
category
stringclasses
6 values
prompt
stringlengths
60
193
api_description
stringclasses
1 value
expected_output
stringlengths
18
87
th-000
twohop
In which city does Arvel work? Answer with the city name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Baskip"]]}
th-001
twohop
In which city does Bexil work? Answer with the city name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Corrowe"]]}
th-002
twohop
In which city does Cardun work? Answer with the city name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Dellmoor"]]}
th-003
twohop
In which city does Dovreth work? Answer with the city name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Ephrin"]]}
th-004
twohop
In which city does Elmara work? Answer with the city name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Baskip"]]}
th-005
twohop
In which city does Fenwick work? Answer with the city name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Fallowmere"]]}
th-006
twohop
In which city does Jorlan work? Answer with the city name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Gantry"]]}
th-007
twohop
In which city does Kestrin work? Answer with the city name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Dellmoor"]]}
th-008
twohop
Give the city each of Arvel, Halveth and Lumara works in, in that order, using 'unknown' where it cannot be derived. Return one row of three values.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Baskip", "Corrowe", "Ephrin"]]}
th-009
twohop
Do Arvel and Grishal work in the same city? Give each of their cities and then 1 if they match or 0 if they do not. Return one row of three values.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Baskip", "Baskip", 1]]}
th-010
threehop
In which country does Arvel work? This requires three facts. Answer with the country name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Norvane"]]}
th-011
threehop
In which country does Bexil work? This requires three facts. Answer with the country name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Ostrel"]]}
th-012
threehop
In which country does Cardun work? This requires three facts. Answer with the country name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Norvane"]]}
th-013
threehop
In which country does Dovreth work? This requires three facts. Answer with the country name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Pelenar"]]}
th-014
threehop
In which country does Fenwick work? This requires three facts. Answer with the country name, or 'unknown' if it cannot be derived. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Quirith"]]}
th-015
threehop
Give the country each of Arvel, Cardun and Fenwick works in, in that order. Return one row of three values.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Norvane", "Norvane", "Quirith"]]}
th-016
broken
In which city does Imbric work? Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["unknown"]]}
th-017
broken
In which country does Jorlan work? Jorlan's city is known. Return one row of one value.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["unknown"]]}
th-018
broken
Give the city and then the country for Jorlan, using 'unknown' where a fact is missing. Return one row of two values.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Gantry", "unknown"]]}
th-019
broken
Give the city for Imbric, for Jorlan and for Arvel, in that order. Return one row of three values.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["unknown", "Gantry", "Baskip"]]}
th-020
broken
How many of the twelve people have a derivable city, and how many have a derivable country? Return one row of two integers.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [[11, 10]]}
th-021
distractor
Which city is Sundermere based in, and which city does Elmara work in? Return one row of two values.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Baskip", "Baskip"]]}
th-022
distractor
Baskip is reached through more than one organisation. Give every PERSON whose city is Baskip, sorted alphabetically. Return one row of the names.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Arvel", "Elmara", "Grishal"]]}
th-023
distractor
Give every ORGANISATION based in Baskip, sorted alphabetically, and then the number of people working in Baskip. Return one row of the names followed by the count.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Ondrix", "Sundermere", 3]]}
th-024
distractor
Cardun and Kestrin work at the same organisation. Name it, then give both of their cities. Return one row of three values.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Quorvin", "Dellmoor", "Dellmoor"]]}
th-025
distractor
Norvane is reached through more than one city. Give every CITY located in Norvane, sorted alphabetically, and then every PERSON whose country is Norvane, sorted alphabetically. Return two rows.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Baskip", "Dellmoor"], ["Arvel", "Cardun", "Elmara", "Grishal", "Kestrin"]]}
th-026
distractor
Which organisation is based in Corrowe, and which people work in Corrowe, sorted alphabetically? Return one row of the organisation name followed by the people.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Palvane", "Bexil", "Halveth"]]}
th-027
reverse
Which people work in Dellmoor? Give their names sorted alphabetically. Return one row of the names.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Cardun", "Kestrin"]]}
th-028
reverse
Which people work in a city located in Pelenar? Give their names sorted alphabetically. Return one row of the names.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Dovreth", "Lumara"]]}
th-029
reverse
Which organisations employ someone whose country is Norvane? Give the organisation names sorted alphabetically. Return one row of the names.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Ondrix", "Quorvin", "Sundermere"]]}
th-030
reverse
Which cities have NO recorded country? Give them sorted alphabetically. Return one row of the names.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Gantry"]]}
th-031
aggregate
How many people work in each of Baskip, Corrowe, Dellmoor and Ephrin, in that order? Return one row of four integers.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [[3, 2, 2, 2]]}
th-032
aggregate
Which city has the most people working in it, and how many? Break ties by alphabetical city name. Return one row [city, count].
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [["Baskip", 3]]}
th-033
aggregate
How many people work in each of the countries Norvane, Ostrel, Pelenar and Quirith, in that order? Return one row of four integers.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [[5, 2, 2, 1]]}
th-034
aggregate
How many DISTINCT cities are reachable from some person by two hops, and how many distinct countries by three? Return one row of two integers.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [[6, 4]]}
th-035
aggregate
Give the number of people, organisations, cities and countries that appear anywhere in the facts, in that order. Return one row of four integers.
FACTS — this is the complete set; nothing outside it is known. Employment (person works at organisation): Arvel works at Ondrix. Bexil works at Palvane. Cardun works at Quorvin. Dovreth works at Ristal. Elmara works at Sundermere. Fenwick works at Trelane. Grishal works at Ondrix. Halveth works at Palv...
{"rows": [[12, 8, 6, 4]]}

twohop-tasks-v1

36 multi-hop reasoning tasks for the twohop-env RL environment, on the setting of "Lessons from Studying Two-Hop Latent Reasoning" (Balesni et al.).

field meaning
task_id th-000th-035
category twohop / threehop / broken / distractor / reverse / aggregate
prompt the question and the exact shape of the answer
api_description the complete synthetic fact set and the answer-format rules
expected_output JSON {"rows": [...]}, computed by executing a reference solution

Categories: twohop 10, threehop 6, distractor 6, broken 5, aggregate 5, reverse 4. No dependencies, no network.

What is and is not reproduced

The paper's headline experiments fine-tune models to study whether composition happens latently across separately-learned facts; those need GPUs. What is reproducible — and what an RL environment actually needs — is the in-context setting: a synthetic fact universe, a question requiring composition, an exact answer.

Every entity is invented, so no answer can come from pretraining.

The trap, and why the obvious check is not enough

A question is only two-hop if both hops are load-bearing, and it is very easy to write one that is not. Each multi-hop question is therefore verified twice:

  1. Ablation — remove each fact of the chain; the answer must become underivable.
  2. Non-forcing — some other organisation must lead somewhere else, so that knowing the employer is what selects the answer.

Check 1 was written first and looked sufficient. It is not. Point every organisation at the same city: the ablation still passes — deleting either fact leaves the resolver nothing to follow — while a model can answer correctly having ignored the first hop entirely, because there is only one city any employer could be in. A one-hop question in a two-hop costume, waved straight through.

Check 1 proves the resolver reads both facts. Only check 2 says anything about what the model must do. That distinction was found by deliberately trying to defeat check 1, and it is the main thing this dataset gets right.

A third guard is at the dataset level: the modal city must cover fewer than half the answers, so a model that ignores the facts and always names the most common city scores badly. It currently covers 3 of 11.

Declining is part of the task

Some organisations have no recorded city and some cities have no recorded country, so five questions have no derivable answer and the correct response is the literal word unknown. Naming a plausible-looking entity instead is exactly the failure a reasoning probe should catch, and comparison is case-sensitive, so Unknown and none are wrong in the same way.

Verify with python environments/twohop_env/build_tasks.py --verify (36/36). Source: https://github.com/eltociear/my-molt-agent/tree/main/environments/twohop_env

Downloads last month
34