SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.24005 · NeurIPS · 2024

Context-Aware Testing: A New Paradigm for Model Testing with Large Language Models

Mihaela Van Der Schaar, Nabeel Seedat, Max Luyten, Paulius Rauba

arXiv · PDF · Open in the Atlas

Code that ran

22 of 27 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 19 failures of our instrument; 5 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/2410.24005.json · badge: /api/ran/2410.24005.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
vanderschaarlab/SMART_Testing canonical (classifier label)
classifier basis: census
6 ran · 3 no recorded run
pauliusrauba/smart_testing canonical (classifier label)
classifier basis: classifier_2025
4 ran · 0 no recorded run
pauliusrauba/SMART_Testing marked official in Papers with Code
Papers with Code archive
12 ran · 2 no recorded run
FunctionStatusWhere it lives
add_categorical_variables Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pauliusrauba/smart_testing/experiments/exp1.py
pointer only (licence: NONE) · get_code("980b86cc82a40ff3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/smart_testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

bootstrapping_test_for_accuracy Ran
ran; our contract draft was wrong, not the code
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("082775765bcf5927")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

bootstrapping_test_for_accuracy_string Ran
ran; our contract draft was wrong, not the code
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("644cdbc5b96ea94b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_group_statistics_string Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("a842e24eaf74fcd2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_lift Ran
ran, honoured the contract we drafted
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("04ef2bc634603850")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_lift_outcome Ran
ran; our contract draft was wrong, not the code
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("952dd38f279afee7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_odds_ratio Ran
ran; our contract draft was wrong, not the code
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("48299ec78578a7ca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_odds_ratio_acc Ran
ran; our contract draft was wrong, not the code
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("ddea085ab8189264")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_weighted_relative_accuracy Ran
ran; our contract draft was wrong, not the code
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("fa2e7f5436b471ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_weighted_relative_outcomes Ran
ran, honoured the contract we drafted
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("c1530c3092d8eb42")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculcate_white_black_scores Ran
ran, honoured the contract we drafted
vanderschaarlab/SMART_Testing/experiments/exp4.py
pointer only (licence: NONE) · get_code("64d7572fd4d95cd6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vanderschaarlab/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

chi_square_test_for_accuracy Ran
ran; our contract draft was wrong, not the code
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("a17ed6b8532eb0da")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

clean_features Ran
ran; our contract draft was wrong, not the code
vanderschaarlab/SMART_Testing/experiments/exp2.py
pointer only (licence: NONE) · get_code("7b95bcfb0f225d7e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vanderschaarlab/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

clean_query_string Ran
ran; our contract draft was wrong, not the code
pauliusrauba/smart_testing/src/SMART.py
pointer only (licence: NONE) · get_code("78bb22f3c0eb1ec3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/smart_testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_to_string_condition Ran
ran; our contract draft was wrong, not the code
pauliusrauba/smart_testing/src/SMART.py
pointer only (licence: NONE) · get_code("861a293ada0282e4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/smart_testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_combinations_for_variable Ran
ran; our contract draft was wrong, not the code
pauliusrauba/smart_testing/src/SMART.py
pointer only (licence: NONE) · get_code("fbfa3ff05c9f3076")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/smart_testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_dataset Ran
ran; our contract draft was wrong, not the code
vanderschaarlab/SMART_Testing/experiments/exp3.py
pointer only (licence: NONE) · get_code("655af21881ab2ee3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vanderschaarlab/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_mdss_query_condition Ran
ran; our contract draft was wrong, not the code
vanderschaarlab/SMART_Testing/src/subgroup_helpers.py
pointer only (licence: NONE) · get_code("e041ca87d939d79f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vanderschaarlab/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_data_breast_cancer Ran
ran; our contract draft was wrong, not the code
vanderschaarlab/SMART_Testing/src/dataset_helpers.py
pointer only (licence: NONE) · get_code("5f50e8beb718878d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vanderschaarlab/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_data_education Ran
ran; our contract draft was wrong, not the code
vanderschaarlab/SMART_Testing/src/dataset_helpers.py
pointer only (licence: NONE) · get_code("859fdcdc54b12008")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vanderschaarlab/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mcnemars_test Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("3f9858e6a6582447")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

welchs_t_test_for_accuracy Ran
ran; our contract draft was wrong, not the code
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("dd22a0f722bbba34")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SMART Not yet run
unverified (harvested, no recorded run)
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("d6be180787be0544")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

calculate_group_statistics Not yet run
unverified (harvested, no recorded run)
pauliusrauba/SMART_Testing/src/SMART.py
pointer only (licence: NONE) · get_code("352bd9c2249abd79")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pauliusrauba/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_data_compas Not yet run
unverified (harvested, no recorded run)
vanderschaarlab/SMART_Testing/src/dataset_helpers.py
pointer only (licence: NONE) · get_code("8eafe28f193a5cb3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vanderschaarlab/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_queries_many_exp Not yet run
unverified (harvested, no recorded run)
vanderschaarlab/SMART_Testing/experiments/exp2.py
pointer only (licence: NONE) · get_code("dee4e53b7cfcbb6d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vanderschaarlab/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_seer_cutract_dataset Not yet run
unverified (harvested, no recorded run)
vanderschaarlab/SMART_Testing/experiments/exp2.py
pointer only (licence: NONE) · get_code("b0c4fc6d6786516a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vanderschaarlab/SMART_Testing when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

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

The predominant de facto paradigm of testing ML models relies on either using only held-out data to compute aggregate evaluation metrics or by assessing the performance on different subgroups. However, such data-only testing methods operate under the restrictive assumption that the available empirical data is the sole input for testing ML models, disregarding valuable contextual information that could guide model testing. In this paper, we challenge the go-to approach of data-only testing and introduce context-aware testing (CAT) which uses context as an inductive bias to guide the search for meaningful model failures. We instantiate the first CAT system, SMART Testing, which employs large language models to hypothesize relevant and likely failures, which are evaluated on data using a selffalsification mechanism. Through empirical evaluations in diverse settings, we show that SMART automatically identifies more relevant and impactful failures than alternatives, demonstrating the potential of CAT as a testing paradigm.

For agents

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

get_harvested_code_for_paper("2410.24005")
get_code_for_paper("2410.24005")
have("2410.24005")

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

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

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

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

Connect an agent — have() is free.