SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.08762 · ICLR · 2025

EDINET-Bench: Evaluating LLMs on Complex Financial Tasks using Japanese Financial Statements

Takashi Ishida, Taro Makino, David Ha, Issa Sugiura, Chieko Tazuke, Takanori Nakagawa, Kosuke Nakago

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 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 8 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-24; 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/2506.08762.json · badge: /api/ran/2506.08762.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
sakanaai/edinet-bench canonical (classifier label)
classifier basis not recorded on the link
6 ran · 1 no recorded run
sakanaai/edinet2dataset canonical (classifier label)
classifier basis not recorded on the link
2 ran · 0 no recorded run
FunctionStatusWhere it lives
collect_industry_metrics Ran
ran on a synthesized input
sakanaai/edinet-bench/src/edinet_bench/industry_prediction/make_leaderboard.py
code served (permissive licence) · get_code("e05392e27d07bd24")
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 json
import numpy as np
import os
import tempfile

# Create a temporary directory structure with sample data
temp_dir = tempfile.mkdtemp()
result_base_dir = temp_dir

# Create sample result directories and files
result_dirs = ["result_0", "result_1", "result_2"]
sheets = ["sheet1", "sheet2"]
model_names = ['logistic', 'naive_prediction', 'claude-3-5-sonnet-20241022']

for result_dir_name in result_dirs:
    result_dir = os.path.join(result_base_dir, result_dir_name)
    os.makedirs(result_dir, exist_ok=True)
    
    for model_name in model_names:
        model_dir = os.path.join(result_dir, 'industry_prediction', model_name)
        os.makedirs(model_dir, exist_ok=True)
        
        # Create sample JSONL file
        filename = '_'.join(sorted(sheets)) + '.jsonl'
        filepath = os.path.join(model_dir, filename)
        
        with open(filepath, 'w', encoding='utf-8') as f:
            # Write sample predictions and labels
            for i in range(5):
                json_line = json.dumps({
                    'prediction': ['tech', 'finance', 'retail', 'healthcare'][i % 4],
                    'industry': ['tech', 'finance', 'retail', 'healthcare'][(i + 1) % 4]
                })
                f.write(json_line + '\n')

ARGS = {
    'result_base_dir': result_base_dir,
    'result_dirs': result_dirs,
    'sheets': sheets,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, 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_industry_confusion_matrix Ran
ran on a synthesized input
sakanaai/edinet-bench/src/edinet_bench/industry_prediction/make_leaderboard.py
code served (permissive licence) · get_code("7f47c8b8002eec2e")
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 float, 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 os
import json
import tempfile
import shutil

# Create a temporary directory structure with test data
temp_base_dir = tempfile.mkdtemp()

# Create the directory structure
result_dir_name = "result_0"
model_name = "test_model"
sheets = ["sheet1", "sheet2"]

result_path = os.path.join(
    temp_base_dir,
    result_dir_name,
    'industry_prediction',
    model_name
)
os.makedirs(result_path, exist_ok=True)

# Create a test JSONL file with prediction data
jsonl_filename = '_'.join(sorted(sheets)) + '.jsonl'
jsonl_path = os.path.join(result_path, jsonl_filename)

# Sample data with Japanese industry labels
sample_data = [
    {'prediction': '食品', 'industry': '食品'},
    {'prediction': '食品', 'industry': '食品'},
    {'prediction': '電気・ガス・エネルギー資源', 'industry': '電気・ガス・エネルギー資源'},
    {'prediction': '建設・資材', 'industry': '電気・ガス・エネルギー資源'},
    {'prediction': '素材・化学', 'industry': '素材・化学'},
    {'prediction': '医薬品', 'industry': '医薬品'},
    {'prediction': '自動車・輸送機', 'industry': '自動車・輸送機'},
    {'prediction': '鉄鋼・非鉄', 'industry': '鉄鋼・非鉄'},
    {'prediction': '機械', 'industry': '機械'},
    {'prediction': '電機・精密', 'industry': '電機・精密'},
    {'prediction': '情報通信・サービスその他', 'industry': '情報通信・サービスその他'},
    {'prediction': '運輸・物流', 'industry': '運輸・物流'},
    {'prediction': '商社・卸売', 'industry': '商社・卸売'},
    {'prediction': '小売', 'industry': '小売'},
    {'prediction': '銀行', 'industry': '銀行'},
    {'prediction': '金融(除く銀行)', 'industry': '金融(除く銀行)'},
    {'prediction': '不動産', 'industry': '不動産'},
]

# Write JSONL file
with open(jsonl_path, 'w', encoding='utf-8') as f:
    for item in sample_data:
        f.write(json.dumps(item) + '\n')

ARGS = {
    'result_base_dir': temp_base_dir,
    'result_dir_name': result_dir_name,
    'model_name': model_name,
    'sheets': sheets
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
extract_json_between_markers Ran
ran on a synthesized input
sakanaai/edinet-bench/src/edinet_bench/utils.py
code served (permissive licence) · get_code("c149dea72586c53e")
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 re
import json

def extract_json_between_markers(llm_output: str) -> dict | None:
    json_pattern = '```json(.*?)```'
    matches = re.findall(json_pattern, llm_output, re.DOTALL)
    if not matches:
        json_pattern = '\\{.*?\\}'
        matches = re.findall(json_pattern, llm_output, re.DOTALL)
    for json_string in matches:
        json_string = json_string.strip()
        try:
            parsed_json = json.loads(json_string)
            return parsed_json
        except json.JSONDecodeError:
            try:
                json_string_clean = re.sub('[\\x00-\\x1F\\x7F]', '', json_string)
                parsed_json = json.loads(json_string_clean)
                return parsed_json
            except json.JSONDecodeError:
                continue
    return None

ARGS = {
    "llm_output": '```json\n{"key": "value", "number": 42}\n```'
}
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
extract_leaf_elements Ran
ran on a synthesized input
sakanaai/edinet2dataset/src/edinet2dataset/parser.py
code served (permissive licence) · get_code("73a0780970b78559")
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 torch

torch.manual_seed(0)

# Construct a nested dictionary with leaf elements at various depths
sheet = {
    "name": "John",
    "age": 30,
    "address": {
        "street": "123 Main St",
        "city": "Springfield",
        "coordinates": {
            "latitude": 40.7128,
            "longitude": -74.0060
        }
    },
    "active": True,
    "scores": [1, 2, 3]
}

ARGS = {
    "sheet": sheet
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — 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
fill_and_align_data Ran
ran on a synthesized input
sakanaai/edinet-bench/src/edinet_bench/logistic.py
code served (permissive licence) · get_code("1f2f0bea426febc2")
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 pandas as pd
import numpy as np

# Create sample DataFrames for X_train and X_test
# X_train: 4 rows, 5 columns with some missing values
np.random.seed(0)
X_train = pd.DataFrame({
    'col1': [1.0, 2.0, np.nan, 4.0],
    'col2': [5.0, np.nan, np.nan, 8.0],
    'col3': [9.0, 10.0, 11.0, 12.0],
    'col4': [1.0, 1.0, 1.0, 1.0],  # constant column
    'col5': [13.0, 14.0, 15.0, 16.0]
})

# X_test: 3 rows, 6 columns (includes extra column and some missing values)
X_test = pd.DataFrame({
    'col1': [17.0, np.nan, 19.0],
    'col2': [20.0, 21.0, 22.0],
    'col3': [np.nan, 24.0, 25.0],
    'col4': [1.0, 1.0, 1.0],  # constant column
    'col5': [26.0, 27.0, 28.0],
    'col6': [29.0, 30.0, 31.0]  # extra column not in training
})

ARGS = {
    'X_train': X_train,
    'X_test': X_test
}
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 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_fiscal_start_year Ran
ran on a synthesized input
sakanaai/edinet-bench/src/edinet_bench/contamination/analyze_performance_per_year.py
code served (permissive licence) · get_code("9673c324bd62abd9")
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 json

def get_fiscal_start_year(example):
    meta = json.loads(example['meta'])
    fiscal_start_year = meta['当事業年度開始日'].split('-')[0]
    return fiscal_start_year

# Construct valid arguments
example = {
    'meta': json.dumps({
        '当事業年度開始日': '2023-04-01'
    })
}

ARGS = {
    'example': example
}
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
preprocess_data Ran
ran on a synthesized input
sakanaai/edinet-bench/src/edinet_bench/logistic.py
code served (permissive licence) · get_code("f738811c8a5b14ff")
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 numpy as np
import pandas as pd

# Construct test data for preprocess_data
data_list = [
    {
        'label': 'class_A',
        'feature1': {
            '2020': '10.5',
            '2021': '11.2',
            '2022': '12.1'
        },
        'feature2': {
            '2020': '100',
            '2021': '-',
            '2022': '120'
        },
        'feature3': None
    },
    {
        'label': 'class_B',
        'feature1': {
            '2020': '20.3',
            '2021': '21.5',
            '2022': '22.8'
        },
        'feature2': {
            '2020': '200',
            '2021': '210',
            '2022': None
        },
        'feature3': {
            '2020': '1.1',
            '2021': '1.2',
            '2022': '1.3'
        }
    }
]

ARGS = {
    'data_list': data_list
}
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
search_company Ran
ran on a synthesized input
sakanaai/edinet2dataset/src/edinet2dataset/downloader.py
code served (permissive licence) · get_code("3b28bcad9699de49")
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 polars as pl

# Create a sample DataFrame with EDINET company information
# The function uses:
# - filter() method with pl.col() for filtering
# - .str.contains() for string matching
# - is_empty() to check if result is empty
# - select() to pick specific columns

edinet_code_info = pl.DataFrame({
    '提出者名': [
        'トヨタ自動車株式会社',
        'ソニーグループ株式会社',
        'パナソニック株式会社',
        '日本電気株式会社',
    ],
    'EDINETコード': ['E05948', 'E12345', 'E54321', 'E99999'],
    '提出者業種': ['自動車', '電気機器', '電気機器', '電気機器'],
})

query = 'トヨタ'

ARGS = {
    'edinet_code_info': edinet_code_info,
    'query': query,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
polars — 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
prepare_dataset Not yet run
unverified (harvested, no recorded run)
sakanaai/edinet-bench/src/edinet_bench/logistic.py
code served (permissive licence) · get_code("67b49b0983888fd3")
How it ran

no invocation recorded.

Also present in other papers' code

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

Large Language Models (LLMs) have made remarkable progress, surpassing human performance on several benchmarks in domains such as mathematics and coding. A key driver of this progress has been the development of benchmark datasets. In contrast, the financial domain poses higher entry barriers due to its demand for specialized expertise, and benchmarks remain relatively scarce compared to those in mathematics or coding. We introduce EDINET-Bench, an open-source Japanese financial benchmark designed to evaluate LLMs on challenging tasks such as accounting fraud detection, earnings forecasting, and industry classification. EDINET-Bench is constructed from ten years of annual reports filed by Japanese companies. These tasks require models to process entire annual reports and integrate information across multiple tables and textual sections, demanding expert-level reasoning that is challenging even for human professionals. Our experiments show that even state-of-the-art LLMs struggle in this domain, performing only marginally better than logistic regression in binary classification tasks such as fraud detection and earnings forecasting. Our results show that simply providing reports to LLMs in a straightforward setting is not enough. This highlights the need for benchmark frameworks that better reflect the environments in which financial professionals operate, with richer scaffolding such as realistic simulations and task-specific reasoning support to enable more effective problem solving. We make our dataset and code publicly available to support future research.

For agents

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

get_harvested_code_for_paper("2506.08762")
get_code_for_paper("2506.08762")
have("2506.08762")

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

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

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

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

Connect an agent — have() is free.