SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.16914 · IJCAI · 2023

Computationally Assisted Quality Control for Public Health Data Streams

Bryan Wilder, Kathryn Mazaitis, Ananya Joshi, Roni Rosenfeld

arXiv · PDF · Open in the Atlas

Code that ran

6 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; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 2 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/2306.16914.json · badge: /api/ran/2306.16914.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
cmu-delphi/covidcast-indicators canonical (classifier label)
classifier basis: census
6 ran · 2 no recorded run
FunctionStatusWhere it lives
add_default_nancodes Ran
ran on a synthesized input
cmu-delphi/covidcast-indicators/_delphi_utils_python/delphi_utils/nancodes.py
code served (permissive licence) · get_code("43dde531240f6d9f")
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 DataFrame. 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 pandas as pd
import numpy as np
from enum import IntEnum

class Nans(IntEnum):
    """An enum of not-a-number codes for the indicators.

    See the descriptions here: https://cmu-delphi.github.io/delphi-epidata/api/missing_codes.html
    """
    NOT_MISSING = 0
    NOT_APPLICABLE = 1
    REGION_EXCEPTION = 2
    CENSORED = 3
    DELETED = 4
    OTHER = 5

# Create a sample DataFrame with 'val' column
df = pd.DataFrame({
    'val': [1.5, 2.3, np.nan, 4.1, np.nan, 3.2],
    'other_col': ['a', 'b', 'c', 'd', 'e', 'f']
})

ARGS = {
    'df': df
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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_prefix Ran
ran on a synthesized input
cmu-delphi/covidcast-indicators/_delphi_utils_python/delphi_utils/signal.py
code served (permissive licence) · get_code("76dfedde55294a59")
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 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.

ARGS = {
    'signal_names': ['signal_a', 'signal_b', 'signal_c'],
    'wip_signal': True,
    'prefix': 'wip_'
}
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 list, ndim 1, dtype family float — 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
get_date_range Ran
ran on a synthesized input
cmu-delphi/covidcast-indicators/testing_utils/indicator_validation.py
code served (permissive licence) · get_code("8ca7b3244c92366d")
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 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.

# Examine the function to understand its parameters
# Parameters: start (str), end (str), format (str with default 'list')
# The function uses date_range, to_datetime from pandas and returns formatted dates

ARGS = {
    'start': '2024-01-01',
    'end': '2024-01-05',
    'format': 'list'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — 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
load_csvs Ran
ran on a synthesized input
cmu-delphi/covidcast-indicators/testing_utils/indicator_validation.py
code served (permissive licence) · get_code("a3b695eb9b18ee56")
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 3, 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 tempfile
import os
from pathlib import Path

# Create temporary directory with mock CSV files
temp_dir = tempfile.mkdtemp()
receiving_dir = os.path.join(temp_dir, 'receiving')
os.makedirs(receiving_dir, exist_ok=True)

# Create mock CSV files with proper filenames containing dates in YYYYMMDD format
csv_files = []
for i, date_str in enumerate(['20230101', '20230102']):
    filename = f'{date_str}_data.csv'
    filepath = os.path.join(receiving_dir, filename)
    
    # Write CSV content
    with open(filepath, 'w') as f:
        f.write('geo_id,val,se,sample_size\n')
        f.write('G001,10.5,0.5,100\n')
        f.write('G002,20.3,0.8,200\n')
    
    csv_files.append(filename)

# Change to temp directory so relative path 'receiving' works
original_dir = os.getcwd()
os.chdir(temp_dir)

ARGS = {
    'filename_list': csv_files
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 3, dtype family float — 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
params_get Ran
ran on a synthesized input
cmu-delphi/covidcast-indicators/_delphi_utils_python/delphi_utils/utils.py
code served (permissive licence) · get_code("91dc934a4c85c3b9")
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 int, ndim 0, dtype family int, 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

torch.manual_seed(0)

# The function params_get takes a dot-delimited path and navigates through
# a nested dict structure to retrieve a value.
# It splits the path by '.' and successively indexes into the params dict.

# Create a nested params dict with some test values
params = {
    'model': {
        'layers': {
            'hidden_size': 128,
            'dropout': 0.1
        },
        'activation': 'relu'
    },
    'training': {
        'learning_rate': 0.001,
        'batch_size': 32
    },
    'top_level': 'value'
}

# Test path: navigate through nested dicts
path = 'model.layers.hidden_size'

ARGS = {
    'path': path,
    'params': params
}
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 int, ndim 0, dtype family int, 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
read_relevant_date_filenames Ran
ran on a synthesized input
cmu-delphi/covidcast-indicators/testing_utils/indicator_validation.py
code served (permissive licence) · get_code("5f894da0dafb7dfc")
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 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 tempfile
import os

# Create a temporary directory with test CSV files
temp_dir = tempfile.mkdtemp()

# Create some test files with the naming format YYYYMMDD_signal_info.csv
test_files = [
    "20230101_signal_covid_06001.csv",
    "20230102_signal_covid_06001.csv",
    "20230105_signal_flu_06001.csv",
    "20230110_signal_covid_06002.csv",
    "20230115_signal_covid_06001.csv",
]

for filename in test_files:
    filepath = os.path.join(temp_dir, filename)
    with open(filepath, 'w') as f:
        f.write("date,value\n")
        f.write("2023-01-01,100\n")

# Define the arguments
ARGS = {
    'data_path': temp_dir,
    'date_slist': ['20230101', '20230102', '20230105'],
    'geo_code': '06001',
    'signal_type': 'covid',
    'return_path': False
}
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 list, ndim 1, dtype family float — 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
diff_export_csv Not yet run
unverified (harvested, no recorded run)
cmu-delphi/covidcast-indicators/_delphi_utils_python/delphi_utils/archive.py
code served (permissive licence) · get_code("380daed1754be831")
How it ran

no invocation recorded.

filter_contradicting_missing_codes Not yet run
unverified (harvested, no recorded run)
cmu-delphi/covidcast-indicators/_delphi_utils_python/delphi_utils/export.py
code served (permissive licence) · get_code("52e9cc01fa225bca")
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-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

Irregularities in public health data streams (like COVID-19 Cases) hamper data-driven decisionmaking for public health stakeholders. A real-time, computer-generated list of the most important, outlying data points from thousands of daily-updated public health data streams could assist an expert reviewer in identifying these irregularities. However, existing outlier detection frameworks perform poorly on this task because they do not account for the data volume or for the statistical properties of public health streams. Accordingly, we developed FlaSH (Flagging Streams in public Health), a practical outlier detection framework for public health data users that uses simple, scalable models to capture these statistical properties explicitly. In an experiment where human experts evaluate FlaSH and existing methods (including deep learning approaches), FlaSH scales to the data volume of this task, matches or exceeds these other methods in mean accuracy, and identifies the outlier points that users empirically rate as more helpful. Based on these results, FlaSH has been deployed on data streams used by public health stakeholders.

For agents

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

get_harvested_code_for_paper("2306.16914")
get_code_for_paper("2306.16914")
have("2306.16914")

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

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

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

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

Connect an agent — have() is free.