SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.14578 · ICLR · 2024

RAmBLA: A Framework for Evaluating the Reliability of LLMs as Assistants in the Biomedical Domain

Gsk Ai, William Bolton, Rafael Poyiadzi, Edward Morrell, Gabriela Van Bergen Gonzalez Bueno, Lea Goetz

arXiv · PDF · Open in the Atlas

Code that ran

4 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 0 have no contract verdict; 4 failures of our instrument; 4 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/2403.14578.json · badge: /api/ran/2403.14578.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
gsk-ai/rambla canonical (classifier label)
classifier basis: census
4 ran · 4 no recorded run
FunctionStatusWhere it lives
add_label_column_for_similarity_task Ran
ran; our contract draft was wrong, not the code
gsk-ai/rambla/rambla/datasets/utils.py
code served (permissive licence) · get_code("af3c72584d47d5af")
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 Dataset. 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.

from datasets import Dataset

# Create a minimal dataset with some dummy data
data = {
    "text": ["example 1", "example 2"],
    "id": [0, 1]
}
dataset = Dataset.from_dict(data)

# Define arguments for the function
ARGS = {
    "dataset": dataset,
    "column_name": "label"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
datasets — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Dataset — a Dataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Dataset output the recorded ndim 1 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
compute_sklearn_metric Ran
ran; our contract draft was wrong, not the code
gsk-ai/rambla/rambla/evaluation/utils.py
code served (permissive licence) · get_code("a813a1c9dd5d952d")
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 dict. 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 copy
from typing import Dict, List, Optional, Union
import sklearn.metrics

SUPPORTED_SKLEARN_METRICS = ['roc_curve', 'roc_auc_score', 'reverse_roc_curve', 'reverse_roc_auc_score']

def compute_sklearn_metric(metric_name: str, *, predictions: List[float], targets: List[float], kwargs: Optional[dict]=None) -> Union[dict, float]:
    """Loads and computes sklearn evaluation metrics.

    Parameters
    ----------
    metric_names : str,
        Metric to load and compute
    predictions : List[str]
    targets : List[str]
    metric_kwargs: Dict[str, Dict[str, Any]], optional
        Option for providing kwargs to be passed on when computing metrics
    """
    if not kwargs:
        kwargs = {}
    full_metric_name = copy.copy(metric_name)
    if metric_name in ['reverse_roc_curve', 'reverse_roc_auc_score']:
        predictions, targets = (targets, predictions)
        metric_name = metric_name.split('_', 1)
        metric_name = metric_name[1]
    metric = getattr(sklearn.metrics, metric_name)
    result = metric(y_score=predictions, y_true=list(map(int, targets)), **kwargs)
    if metric_name == 'roc_curve':
        output = {full_metric_name: dict(zip(['fpr', 'tpr', 'thresholds'], result))}
    elif metric_name == 'roc_auc_score':
        output = {full_metric_name: result}
    else:
        raise ValueError(f'metric_name={metric_name!r} not supported.\n            Try one of {SUPPORTED_SKLEARN_METRICS}.')
    return output


ARGS = {
    'metric_name': 'roc_auc_score',
    'predictions': [0.1, 0.4, 0.35, 0.8],
    'targets': [0, 0, 1, 1],
    'kwargs': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
create_twoway_dataset_split Ran
ran; our contract draft was wrong, not the code
gsk-ai/rambla/rambla/datasets/utils.py
code served (permissive licence) · get_code("d41a97c323eb9e38")
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 DatasetDict. 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.

from datasets import Dataset, DatasetDict
import numpy as np

# Create a small dataset with index and target fields
data = {
    'index_field': list(range(10)),
    'target_field': [0, 1, 0, 1, 0, 1, 0, 1, 0, 1],
    'text': ['sample ' + str(i) for i in range(10)]
}

dataset = Dataset.from_dict(data)

ARGS = {
    'dataset': dataset,
    'index_field': 'index_field',
    'target_field': 'target_field',
    'seed': 42
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
datasets, numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DatasetDict — a DatasetDict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DatasetDict 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
flatten_pubmedqa Ran
ran; our contract draft was wrong, not the code
gsk-ai/rambla/rambla/datasets/pubmedqa.py
code served (permissive licence) · get_code("3233faffab0eb925")
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 Dataset. 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
from datasets import Dataset

# Create a minimal dataset that matches the expected structure
# The function expects: pubid, context (with nested 'contexts', 'labels', 'meshes')

data = {
    'pubid': ['pub1', 'pub2'],
    'context': [
        {
            'contexts': ['Context text 1a', 'Context text 1b'],
            'labels': ['label1', 'label2'],
            'meshes': ['mesh1', 'mesh2'],
            'reasoning_free_pred': 'ignored',
            'reasoning_requiers_pred': 'ignored'
        },
        {
            'contexts': ['Context text 2a', 'Context text 2b'],
            'labels': ['label3'],
            'meshes': ['mesh3', 'mesh4', 'mesh5'],
            'reasoning_free_pred': 'ignored',
            'reasoning_requiers_pred': 'ignored'
        }
    ]
}

df = pd.DataFrame(data)
dataset = Dataset.from_pandas(df)

ARGS = {
    'dataset': dataset
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
datasets, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Dataset — a Dataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Dataset output the recorded ndim 1 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
count_tokens Not yet run
unverified (harvested, no recorded run)
gsk-ai/rambla/rambla/models/utils.py
code served (permissive licence) · get_code("a953ecb4b9b05c6a")
How it ran

no invocation recorded.

create_flat_pubmedqa Not yet run
unverified (harvested, no recorded run)
gsk-ai/rambla/rambla/datasets/pubmedqa.py
code served (permissive licence) · get_code("10786bc6b7249026")
How it ran

no invocation recorded.

load_pretrained_tokenizer Not yet run
unverified (harvested, no recorded run)
gsk-ai/rambla/rambla/models/utils.py
code served (permissive licence) · get_code("709083ebf449e8d6")
How it ran

no invocation recorded.

tokenizer_based_message_formatter Not yet run
unverified (harvested, no recorded run)
gsk-ai/rambla/rambla/models/utils.py
code served (permissive licence) · get_code("62addd68a6cc6fc9")
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

Large Language Models (LLMs) increasingly support applications in a wide range of domains, some with potential high societal impact such as biomedicine, yet their reliability in realistic use cases is under-researched. In this work we introduce the Reliability AssesMent for Biomedical LLM Assistants (RAmBLA 1 ) framework and evaluate whether four state-of-the-art foundation LLMs can serve as reliable assistants in the biomedical domain. We identify prompt robustness, high recall, and a lack of hallucinations as necessary criteria for this use case. We design shortform tasks and tasks requiring LLM freeform responses mimicking real-world user interactions. We evaluate LLM performance using semantic similarity with a ground truth response, through an evaluator LLM.

For agents

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

get_harvested_code_for_paper("2403.14578")
get_code_for_paper("2403.14578")
have("2403.14578")

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

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

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

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

Connect an agent — have() is free.