SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2106.03530 · 2021

CAiRE in DialDoc21: Data Augmentation for Information-Seeking Dialogue System

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 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; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 3 no recorded run), measured 2026-11-22; 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/2106.03530.json · badge: /api/ran/2106.03530.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
HLTCHKUST/CAiRE_in_DialDoc21 canonical (classifier label)
classifier basis: census
6 ran · 3 no recorded run
FunctionStatusWhere it lives
btag Ran
ran on a synthesized input
HLTCHKUST/CAiRE_in_DialDoc21/task2/seq2seq_utils.py
code served (permissive licence) · get_code("e2ad8489a367a513")
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

def text2line(text):
    return text.replace('\n', ' ').replace('\r', ' ').strip()

def btag(tag, text):
    return '<{}>\t{}'.format(tag, text2line(text))

# Setup code to construct valid arguments for btag
tag_value = "section"
text_value = "This is a sample\ntext with newlines\rand carriage returns."

ARGS = {
    "tag": tag_value,
    "text": text_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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
getDataLoader Ran
ran on a synthesized input
HLTCHKUST/CAiRE_in_DialDoc21/task2/wow_reader.py
code served (permissive licence) · get_code("4cc91bb2f3ff1629")
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 DataLoader. 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 torch.utils.data import TensorDataset

torch.manual_seed(0)

# Create a simple dataset with small tensors
# TensorDataset expects tensors and will return (x, y) tuples when iterated
x_data = torch.randn(2, 4)  # 2 samples, 4 features
y_data = torch.randint(0, 2, (2,))  # 2 labels
dataset = TensorDataset(x_data, y_data)

ARGS = {
    "dataset": dataset,
    "bsz": 2,
    "test": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataLoader — a DataLoader output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataLoader 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
get_data_from_batch Ran
ran on a synthesized input
HLTCHKUST/CAiRE_in_DialDoc21/task2/wow_reader.py
code served (permissive licence) · get_code("0e48d1e095a13e53")
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 tuple. 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

torch.manual_seed(0)

# Create batch dictionary with required tensors
batch_size = 2
seq_len = 4
vocab_size = 10

batch = {
    'chosen_sentence': torch.randint(0, vocab_size, (batch_size, seq_len)),
    'chosen_sentence_mask': torch.ones(batch_size, seq_len),
    'context': torch.randint(0, vocab_size, (batch_size, seq_len)),
    'context_mask': torch.ones(batch_size, seq_len),
    'response': torch.randint(0, vocab_size, (batch_size, seq_len)),
    'response_mask': torch.ones(batch_size, seq_len),
}

ARGS = {
    'batch': batch,
    'model_type': 'decoder_only'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
insert_missing_spans Ran
ran on a synthesized input
HLTCHKUST/CAiRE_in_DialDoc21/task1/postprocess_prediction.py
code served (permissive licence) · get_code("65190e80584fade5")
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 list, ndim 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

# The function insert_missing_spans takes a list of tuples representing spans
# and inserts missing spans between gaps, then returns a sorted list

# Example: if we have spans [(0, 5), (10, 15)], it will insert (5, 10) between them

spans = [(0, 5), (10, 15), (20, 25)]

ARGS = {
    "spans": spans
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family int — a list output has no array shape of its own; none is stated
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
prepare_doc_info_from_doc_datasets Ran
ran on a synthesized input
HLTCHKUST/CAiRE_in_DialDoc21/task1/postprocess_prediction.py
code served (permissive licence) · get_code("02f3fb4bf22031fa")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

torch.manual_seed(0)

ARGS = {
    'data': {
        'doc_id': ['doc_1', 'doc_2'],
        'spans': [
            [
                {'id_sec': 'sec_a', 'text_sec': 'Introduction text'},
                {'id_sec': 'sec_b', 'text_sec': 'Body text'},
                {'id_sec': 'sec_a', 'text_sec': 'Another intro'},
            ],
            [
                {'id_sec': 'sec_x', 'text_sec': 'Conclusion text'},
                {'id_sec': 'sec_y', 'text_sec': 'Summary text'},
            ]
        ]
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
text2line Ran
ran on a synthesized input
HLTCHKUST/CAiRE_in_DialDoc21/task2/seq2seq_utils.py
code served (permissive licence) · get_code("80f9ffaa5f9b37c2")
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

torch.manual_seed(0)

# The function text2line takes a single parameter 'text' which is a string
# It performs string operations: replace newlines and carriage returns with spaces, then strip
# So we need to provide a string with newlines and/or carriage returns

text_input = "Hello\nWorld\r\nTest"

ARGS = {
    "text": text_input
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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
filter_save Not yet run
unverified (harvested, no recorded run)
HLTCHKUST/CAiRE_in_DialDoc21/task1/postprocess_prediction.py
code served (permissive licence) · get_code("df675544dd207659")
How it ran

no invocation recorded.

postprocess_qa_predictions Not yet run
unverified (harvested, no recorded run)
HLTCHKUST/CAiRE_in_DialDoc21/task1/utils_qa.py
code served (permissive licence) · get_code("0ce9a974b3175422")
How it ran

no invocation recorded.

postprocess_qa_predictions_with_beam_search Not yet run
unverified (harvested, no recorded run)
HLTCHKUST/CAiRE_in_DialDoc21/task1/utils_qa.py
code served (permissive licence) · get_code("a2b329a6b17f8924")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 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, 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.

FunctionAlso present inEarliest-datedOthers named
getDataLoader 1 other paper
1 dated earlier
2105.06232 (2021-05)
Retrieval-Free Knowledge-Grounded Dialogue Response Generation with Adapters

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

Repositories linked to this paper

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

Abstract

Information-seeking dialogue systems, including knowledge identification and response generation, aim to respond to users with fluent, coherent, and informative responses based on users' needs, which. To tackle this challenge, we utilize data augmentation methods and several training techniques with the pre-trained language models to learn a general pattern of the task and thus achieve promising performance. In DialDoc21 competition, our system achieved 74.95 F1 score and 60.74 Exact Match score in subtask 1, and 37.72 SacreBLEU score in subtask 2. Empirical analysis is provided to explain the effectiveness of our approaches.

For agents

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

get_harvested_code_for_paper("2106.03530")
get_code_for_paper("2106.03530")
have("2106.03530")

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

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

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

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

Connect an agent — have() is free.