SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · aaai_17874 · AAAI · 2021

Responsible Prediction Making of COVID-19 Mortality (Student Abstract)

Hubert Baniecki, Przemyslaw Biecek

Open in the Atlas

Code that ran

4 of 6 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 4 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/aaai_17874.json · badge: /api/ran/aaai_17874.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
hbaniecki/Pre-Surv-COVID-19 canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
FunctionStatusWhere it lives
StratifiedKFold_func Ran
ran on a synthesized input
hbaniecki/Pre-Surv-COVID-19/utils_features_selection.py
code served (permissive licence) · get_code("90e6153dd6663fa7")
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 numpy as np
import xgboost as xgb
from sklearn.model_selection import StratifiedKFold
from sklearn.metrics import f1_score, roc_auc_score

# Create small synthetic dataset
np.random.seed(0)
n_samples = 20
n_features = 4
x = np.random.randn(n_samples, n_features).astype(np.float32)
y = np.random.randint(0, 2, n_samples)

# Create model
model = xgb.XGBClassifier(max_depth=4, learning_rate=0.2, reg_alpha=1, random_state=0)

# Define arguments
ARGS = {
    'x': x,
    'y': y,
    'Num_iter': 2,
    'model': model,
    'score_type': 'auc'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, xgboost — 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
StratifiedKFold_func_with_features_sel Ran
ran on a synthesized input
hbaniecki/Pre-Surv-COVID-19/utils_features_selection.py
code served (permissive licence) · get_code("e9feaed780d7263b")
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 numpy as np
import xgboost as xgb
from sklearn.model_selection import StratifiedKFold
from sklearn.metrics import f1_score, roc_auc_score

# Set random seed for reproducibility
np.random.seed(0)

# Create small synthetic dataset
# x: 20 samples, 4 features
# y: binary classification (0 or 1)
n_samples = 20
n_features = 4
x = np.random.randn(n_samples, n_features).astype(np.float32)
y = np.random.randint(0, 2, n_samples)

# Ensure we have at least some of each class for stratified splitting
y[0:10] = 0
y[10:20] = 1

ARGS = {
    'x': x,
    'y': y,
    'Num_iter': 2,
    'score_type': 'auc'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, xgboost — 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
is_number Ran
ran on a synthesized input
hbaniecki/Pre-Surv-COVID-19/utils.py
code served (permissive licence) · get_code("f97aabe235dec048")
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 bool, ndim 0, dtype family float, 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 numpy as np

def is_number(s):
    if s is None:
        s = np.nan
    try:
        float(s)
        return True
    except ValueError:
        pass
    try:
        import unicodedata
        unicodedata.numeric(s)
        return True
    except (TypeError, ValueError):
        pass
    return False

# Test cases for the parameter 's'
ARGS = {
    "s": 42
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, 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
merge_data_by_sliding_window Ran
ran on a synthesized input
hbaniecki/Pre-Surv-COVID-19/utils.py
code served (permissive licence) · get_code("d8b6294050eecce3")
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 datetime import datetime, timedelta

# Create sample MultiIndex DataFrame with PATIENT_ID and RE_DATE
np.random.seed(0)

# Create dates
base_date = datetime(2023, 1, 1)
dates = [base_date + timedelta(days=i) for i in range(5)]

# Create sample data
patient_ids = [1, 1, 1, 2, 2]
re_dates = dates

# Create discharge dates (discharge_time column named '出院时间')
discharge_dates = [base_date + timedelta(days=i+10) for i in range(5)]

# Build DataFrame
data_list = []
for pid, re_date, discharge_date in zip(patient_ids, re_dates, discharge_dates):
    data_list.append({
        'PATIENT_ID': pid,
        'RE_DATE': re_date,
        '出院时间': discharge_date,
        'value1': np.random.randn(),
        'value2': np.random.randn(),
    })

df = pd.DataFrame(data_list)
df = df.set_index('PATIENT_ID')
df['RE_DATE'] = pd.to_datetime(df['RE_DATE'])
df['出院时间'] = pd.to_datetime(df['出院时间'])

# Ensure proper structure - set RE_DATE as secondary index for the input
df = df.set_index('RE_DATE', append=True)

ARGS = {
    'data': df,
    'n_days': 1,
    'dropna': True,
    'subset': None,
    'time_form': 'diff'
}
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
read Not yet run
unverified (harvested, no recorded run)
hbaniecki/Pre-Surv-COVID-19/utils.py
code served (permissive licence) · get_code("bd1a6c1715adc6c4")
How it ran

no invocation recorded.

read_train_data Not yet run
unverified (harvested, no recorded run)
hbaniecki/Pre-Surv-COVID-19/utils_features_selection.py
code served (permissive licence) · get_code("7c1669a82f6785ab")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 5 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 5 later) and 1 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
StratifiedKFold_func 1 other paper
1 later
2505.12371 (2025-05)
MedAgentBoard: Benchmarking Multi-Agent Collaboration with Conventional Methods for Diverse Medical Tasks
StratifiedKFold_func_with_features_sel 1 other paper
1 later
2505.12371 (2025-05)
MedAgentBoard: Benchmarking Multi-Agent Collaboration with Conventional Methods for Diverse Medical Tasks
is_number 1 other paper
1 later
2505.12371 (2025-05)
MedAgentBoard: Benchmarking Multi-Agent Collaboration with Conventional Methods for Diverse Medical Tasks
merge_data_by_sliding_window 1 other paper
1 later
2505.12371 (2025-05)
MedAgentBoard: Benchmarking Multi-Agent Collaboration with Conventional Methods for Diverse Medical Tasks
read 1 other paper
1 later
2505.12371 (2025-05)
MedAgentBoard: Benchmarking Multi-Agent Collaboration with Conventional Methods for Diverse Medical Tasks

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

Repositories linked to this paper

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

Abstract

For high-stakes prediction making, the Responsible Artificial Intelligence (RAI) is more important than ever. It builds upon Explainable Artificial Intelligence (XAI) to advance the efforts in providing fairness, model explainability, and accountability to the AI systems. During the literature review of COVID-19 related prognosis and diagnosis, we found out that most of the predictive models are not faithful to the RAI principles, which can lead to biassed results and wrong reasoning. To solve this problem, we show how novel XAI techniques boost transparency, reproducibility and quality of models.

For agents

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

get_harvested_code_for_paper("aaai_17874")
get_code_for_paper("aaai_17874")
have("aaai_17874")

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

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

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

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

Connect an agent — have() is free.