SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.11944 · 2023

FinanceBench: A New Benchmark for Financial Question Answering

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 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; 1 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/2311.11944.json · badge: /api/ran/2311.11944.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
SuperpoweredAI/spRAG community (classifier label)
classifier basis not recorded on the link
6 ran · 1 no recorded run
FunctionStatusWhere it lives
annotate_chunk Ran
ran on a synthesized input
SuperpoweredAI/spRAG/dsrag/custom_term_mapping.py
code served (permissive licence) · get_code("4113404d569c2289")
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 re
from typing import List, Dict

def annotate_chunk(chunk: str, key: str, terms: List[str]) -> str:
    """Annotate a single chunk with terms and their mapping."""
    for term in terms:
        instances = re.finditer(re.escape(term), chunk)
        instances = list(instances)
        for instance in reversed(instances):
            end = instance.end()
            chunk = chunk[:end] + f' ({key})' + chunk[end:]
    return chunk.strip()


ARGS = {
    "chunk": "The quick brown fox jumps over the lazy dog. The fox is clever.",
    "key": "animal",
    "terms": ["fox", "dog"]
}
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 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
convert_decimal_to_numbers Ran
ran on a synthesized input
SuperpoweredAI/spRAG/dsrag/metadata.py
code served (permissive licence) · get_code("6fe4863230800414")
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.

from decimal import Decimal
from typing import Any

def convert_decimal_to_numbers(obj: Any) -> Any:
    """
    Recursively traverse the object, converting all Decimals to integers or floats
    """
    if isinstance(obj, dict):
        return {k: convert_decimal_to_numbers(v) for k, v in obj.items()}
    elif isinstance(obj, list):
        return [convert_decimal_to_numbers(item) for item in obj]
    elif isinstance(obj, Decimal):
        if obj == Decimal('1') or obj == Decimal('0'):
            return bool(obj)
        elif obj % 1 == 0:
            return int(obj)
        else:
            return float(obj)
    else:
        return obj


# Setup valid arguments for convert_decimal_to_numbers
ARGS = {
    "obj": {
        "decimal_zero": Decimal('0'),
        "decimal_one": Decimal('1'),
        "decimal_integer": Decimal('42'),
        "decimal_float": Decimal('3.14159'),
        "nested_list": [
            Decimal('5'),
            Decimal('2.5'),
            [Decimal('10'), Decimal('0')]
        ],
        "nested_dict": {
            "inner_decimal": Decimal('100'),
            "inner_float_decimal": Decimal('7.89'),
            "inner_list": [Decimal('1'), Decimal('3.33')]
        },
        "mixed_types": [
            42,
            "string",
            3.14,
            Decimal('99'),
            {"key": Decimal('1.5')}
        ]
    }
}
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 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
convert_numbers_to_decimal Ran
ran on a synthesized input
SuperpoweredAI/spRAG/dsrag/metadata.py
code served (permissive licence) · get_code("e2167869eb94e0c5")
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.

from decimal import Decimal
from typing import Any

def convert_numbers_to_decimal(obj: Any) -> Any:
    """
    Recursively traverse the object, converting all integers and floats to Decimals
    """
    if isinstance(obj, dict):
        return {k: convert_numbers_to_decimal(v) for k, v in obj.items()}
    elif isinstance(obj, list):
        return [convert_numbers_to_decimal(item) for item in obj]
    elif isinstance(obj, bool):
        return obj
    elif isinstance(obj, (int, float)):
        return Decimal(str(obj))
    else:
        return obj

# Create a complex nested structure with various types
test_obj = {
    "integers": [1, 2, 3],
    "floats": [1.5, 2.7, 3.14],
    "nested_dict": {
        "value": 42,
        "pi": 3.14159,
        "mixed_list": [1, 2.5, "string", True, False]
    },
    "booleans": [True, False],
    "string": "hello",
    "deep_nesting": {
        "level2": {
            "level3": [100, 200.5, {"final": 999}]
        }
    }
}

ARGS = {
    "obj": test_obj
}
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 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
get_best_segments Ran
ran on a synthesized input
SuperpoweredAI/spRAG/dsrag/rse.py
code served (permissive licence) · get_code("8c361eebd85bd873")
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
import numpy as np

torch.manual_seed(0)

# Construct arguments for get_best_segments
# - all_relevance_values: list of lists of relevance values for each chunk
# - document_splits: list of indices marking document boundaries
# - max_length: maximum length of a single segment
# - overall_max_length: maximum total length of all segments combined
# - minimum_value: minimum score threshold for a segment

ARGS = {
    "all_relevance_values": [
        [0.5, 0.8, 0.3, 0.9, 0.2, 0.7, 0.4],
        [0.6, 0.9, 0.1, 0.8, 0.5],
        [0.7, 0.4, 0.8, 0.2, 0.6, 0.9, 0.3, 0.5]
    ],
    "document_splits": [0, 7, 12],
    "max_length": 4,
    "overall_max_length": 10,
    "minimum_value": 1.5
}
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 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
get_chunk_value Ran
ran on a synthesized input
SuperpoweredAI/spRAG/dsrag/rse.py
code served (permissive licence) · get_code("eccf1da54e8860ef")
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 float64, ndim 0, 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

# Construct chunk_info dict with the keys that get_chunk_value accesses
chunk_info = {
    'rank': 5,
    'absolute_relevance_value': 0.75
}

# irrelevant_chunk_penalty: float controlling segment size
irrelevant_chunk_penalty = 0.2

# decay_rate: int used in exponential decay calculation
decay_rate = 10

ARGS = {
    'chunk_info': chunk_info,
    'irrelevant_chunk_penalty': irrelevant_chunk_penalty,
    'decay_rate': decay_rate
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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_meta_document Ran
ran on a synthesized input
SuperpoweredAI/spRAG/dsrag/rse.py
code served (permissive licence) · get_code("4ead314b16ba18d1")
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
import numpy as np

# Build test data for all_ranked_results
# This is a list of lists, where each inner list contains ranked results
# Each result is a dict with at least a 'metadata' key containing 'doc_id' and 'chunk_index'

ranked_results_1 = [
    {'metadata': {'doc_id': 'doc_1', 'chunk_index': 0}},
    {'metadata': {'doc_id': 'doc_1', 'chunk_index': 1}},
    {'metadata': {'doc_id': 'doc_2', 'chunk_index': 0}},
]

ranked_results_2 = [
    {'metadata': {'doc_id': 'doc_2', 'chunk_index': 1}},
    {'metadata': {'doc_id': 'doc_3', 'chunk_index': 0}},
    {'metadata': {'doc_id': 'doc_1', 'chunk_index': 2}},
]

all_ranked_results = [ranked_results_1, ranked_results_2]

top_k_for_document_selection = 2

ARGS = {
    'all_ranked_results': all_ranked_results,
    'top_k_for_document_selection': top_k_for_document_selection,
}
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 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
truncate_content Not yet run
unverified (harvested, no recorded run)
SuperpoweredAI/spRAG/dsrag/auto_context.py
code served (permissive licence) · get_code("608723ccb787b364")
How it ran

no invocation recorded.

Also present in other papers' code

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

FinanceBench is a first-of-its-kind test suite for evaluating the performance of LLMs on open book financial question answering (QA). It comprises 10,231 questions about publicly traded companies, with corresponding answers and evidence strings. The questions in FinanceBench are ecologically valid and cover a diverse set of scenarios. They are intended to be clear-cut and straightforward to answer to serve as a minimum performance standard. We test 16 state of the art model configurations (including GPT-4-Turbo, Llama2 and Claude2, with vector stores and long context prompts) on a sample of 150 cases from FinanceBench, and manually review their answers (n=2,400). The cases are available open-source. We show that existing LLMs have clear limitations for financial QA. Notably, GPT-4-Turbo used with a retrieval system incorrectly answered or refused to answer 81% of questions. While augmentation techniques such as using longer context window to feed in relevant evidence improve performance, they are unrealistic for enterprise settings due to increased latency and cannot support larger financial documents. We find that all models examined exhibit weaknesses, such as hallucinations, that limit their suitability for use by enterprises.

For agents

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

get_harvested_code_for_paper("2311.11944")
get_code_for_paper("2311.11944")
have("2311.11944")

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

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

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

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

Connect an agent — have() is free.