Dataset Viewer
Auto-converted to Parquet Duplicate
trajectory_id
stringclasses
2 values
attempt
stringclasses
1 value
question_id
stringclasses
2 values
paper_id
stringclasses
2 values
question
stringclasses
2 values
expected_answerability
stringclasses
1 value
source_split
stringclasses
1 value
source_dataset
stringclasses
1 value
source_dataset_revision
stringclasses
1 value
teacher_model
stringclasses
1 value
teacher_reference_guidance
bool
1 class
student_protocol
stringclasses
1 value
system_prompt
stringclasses
1 value
initial_observation
stringclasses
2 values
messages
listlengths
7
7
trajectory
listlengths
3
3
review_verdict
stringclasses
1 value
review_notes
stringclasses
2 values
reviewer_type
stringclasses
1 value
review_was_independent_or_blind
bool
1 class
replay_verified
bool
1 class
accepted_for_sft
bool
1 class
qasper_proxy_score
dict
provider_models
listlengths
1
1
generation_response_count
int64
3
3
teacher_input_tokens
int64
6.35k
6.63k
teacher_output_tokens
int64
299
356
qasper_train_d51069595f67a3a53c044c8a37bae23facbfa45d:unhinted
unhinted
qasper_train_d51069595f67a3a53c044c8a37bae23facbfa45d
qasper_1608_06111
Use the known paper "An Incremental Parser for Abstract Meaning Representation" (doc_id: "qasper_1608_06111") to answer: Do they use pretrained models as part of their parser?
sufficient
train
allenai/qasper
13b496d2a5359329b110e3419628de3cf791843b
claude-sonnet-5
false
qasper-span-v1
You are an agent exploring a document corpus via Python code. Tools (already imported): search(query, top_k=5) → [{"doc_id", "title", "chunk", "score"}] search(query, method="chunk") → chunk-level search for buried facts read(doc_id) → full document text extract(doc_id, regex) ...
Question: Use the known paper "An Incremental Parser for Abstract Meaning Representation" (doc_id: "qasper_1608_06111") to answer: Do they use pretrained models as part of their parser?
[ { "role": "system", "content": "You are an agent exploring a document corpus via Python code.\n\nTools (already imported):\n search(query, top_k=5) → [{\"doc_id\", \"title\", \"chunk\", \"score\"}]\n search(query, method=\"chunk\") → chunk-level search for buried facts\n read(doc_id) ...
[ { "step": 1, "raw_action": "res = search_within(\"qasper_1608_06111\", \"pretrained embeddings word2vec GloVe\")\nfor r in res:\n print(r['text'][:500], r['offset'], r['score'])\n print('---')", "executed_action": "res = search_within(\"qasper_1608_06111\", \"pretrained embeddings word2vec GloVe\"...
pass
Actual source explicitly says the word/POS embeddings were pretrained on Wikipedia. The answer is exactly Yes. The cited span contains the complete supporting sentence; real search then passage then submit, three actions. Word2vec/GloVe are search hypotheses, not claims in the answer.
assistant
false
true
true
{ "reward_version": "qasper-answer-evidence-v1", "reward": 0.6223140495867768, "answer_f1": 1, "evidence_f1": 0.24462809917355371, "paragraph_recall": 1, "valid": true, "abstained": false, "reason": "scored" }
[ "claude-sonnet-5" ]
3
6,345
299
qasper_train_310e61b9dd4d75bc1bebbcb1dae578f55807cd04:unhinted
unhinted
qasper_train_310e61b9dd4d75bc1bebbcb1dae578f55807cd04
qasper_1711_04457
Use the known paper "Word, Subword or Character? An Empirical Study of Granularity in Chinese-English NMT" (doc_id: "qasper_1711_04457") to answer: What dataset did they use?
sufficient
train
allenai/qasper
13b496d2a5359329b110e3419628de3cf791843b
claude-sonnet-5
false
qasper-span-v1
You are an agent exploring a document corpus via Python code. Tools (already imported): search(query, top_k=5) → [{"doc_id", "title", "chunk", "score"}] search(query, method="chunk") → chunk-level search for buried facts read(doc_id) → full document text extract(doc_id, regex) ...
Question: Use the known paper "Word, Subword or Character? An Empirical Study of Granularity in Chinese-English NMT" (doc_id: "qasper_1711_04457") to answer: What dataset did they use?
[ { "role": "system", "content": "You are an agent exploring a document corpus via Python code.\n\nTools (already imported):\n search(query, top_k=5) → [{\"doc_id\", \"title\", \"chunk\", \"score\"}]\n search(query, method=\"chunk\") → chunk-level search for buried facts\n read(doc_id) ...
[ { "step": 1, "raw_action": "r = search_within(\"qasper_1711_04457\", \"dataset training corpus\")\nfor item in r:\n print(item['text'][:500], item['score'])\n print('---')", "executed_action": "r = search_within(\"qasper_1711_04457\", \"dataset training corpus\")\nfor item in r:\n print(item['t...
pass
Search starts from dataset/training/corpus concepts, then locates an observed sentence with text.find and prints passage 11639:12239. That exact passage supports LDC training and every listed NIST validation/test dataset. Complete supported answer in three actions.
assistant
false
true
true
{ "reward_version": "qasper-answer-evidence-v1", "reward": 0.2068411808982186, "answer_f1": 0.21818181818181817, "evidence_f1": 0.8960441582336707, "paragraph_recall": 1, "valid": true, "abstained": false, "reason": "scored" }
[ "claude-sonnet-5" ]
3
6,633
356

Envoy QASPER Code-Execution Trajectory Pilot

This is a small, fully disclosed pilot of executable research-agent trajectories. Claude Sonnet 5 generated Python actions against a persistent document REPL. The Envoy pipeline executed every action and retained the real observations. An AI coding assistant then reviewed answer support, stopping behavior, and replay.

This release is useful for studying trajectory validation and citation failures. It is not a production-ready SFT dataset.

Subsets

Subset Rows Intended use
reviewed (default) 2 Examples that passed the disclosed assistant review
diagnostic 24 Every candidate, including known failures and pending reviews

Diagnostic verdicts: 2 pass, 18 fail, and 4 pending. The same 12 QASPER training questions were attempted twice while developing the teacher prompt. Rows are not statistically independent, and this pilot is not an evaluation benchmark.

Only rows with accepted_for_sft=true belong in supervised training. Consumers must not interpret mechanically valid spans as semantic support. Review was assistant-led with QASPER annotations visible; it was not human, independent, or blind. Some diagnostic rows intentionally preserve execution errors, overly long searches, answer leakage, incomplete evidence, or unsupported claims.

Task and format

Each episode starts with a known-paper QASPER question. The agent writes Python using search_within(), read(), and passage(), observes actual tool output, and finishes with an answer, paper citation, and exact character offsets. The messages field is the student-facing conversation. trajectory preserves both the provider's raw action and the cleaned action that actually executed.

from datasets import load_dataset

reviewed = load_dataset(
    "jasonlingg/envoy-qasper-code-trajectories", "reviewed", split="train"
)
diagnostic = load_dataset(
    "jasonlingg/envoy-qasper-code-trajectories", "diagnostic", split="train"
)

Generation and review

  • Teacher: claude-sonnet-5; the returned provider identity was checked on every response. There was no Haiku fallback.
  • Source questions: QASPER's official training split; one known paper per question.
  • Student protocol: multi-turn executable Python followed by exact-span submission.
  • Candidate generation: 24 episodes over 12 unique questions, across a reference-guided attempt and an unhinted attempt.
  • Review: automated assistant review with annotations visible. The revised 12 episodes also replayed with identical executed observations and completion flags.
  • No Qwen checkpoint was trained on this release before publication.

Source data, license, and changes

This is an adaptation of QASPER, released by the Allen Institute for AI under CC BY 4.0. QASPER contains full text extracted from S2ORC, which is made available under ODC-By 1.0. This repository contains only the questions and short paper passages surfaced during agent execution; it does not redistribute the complete QASPER corpus, full papers, or PDFs.

Changes made here include selecting QASPER training questions, converting papers to stable character-offset documents, generating and executing Python tool-use trajectories, adding exact-span submissions, and attaching replay and review metadata. Neither Ai2, the QASPER authors, Semantic Scholar, nor the paper authors endorse this derivative dataset.

The derived dataset is released under CC BY 4.0. Retain this attribution and cite QASPER when redistributing it.

@inproceedings{dasigi-etal-2021-dataset,
  title = {A Dataset of Information-Seeking Questions and Answers Anchored in Research Papers},
  author = {Dasigi, Pradeep and Lo, Kyle and Beltagy, Iz and Cohan, Arman and Smith, Noah A. and Gardner, Matt},
  booktitle = {Proceedings of NAACL-HLT 2021},
  year = {2021}
}

Limitations

The release is extremely small, restricted to within-paper scientific QA, and contains repeated questions across prompt variants. Three revised trajectories remain pending rather than accepted. The proxy score uses lexical answer overlap and span overlap; it is not a semantic judge. Source excerpts inherit extraction artifacts from QASPER/S2ORC. Do not use the diagnostic subset as unfiltered SFT data or claim that it improves a model without a held-out comparison.

Reproducibility

provenance.json records source artifact hashes, prompt hash, QASPER revision, counts, and provider-model totals. Generation scripts and the full experiment record are in Envoy.

Downloads last month
56