SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.04374 · 2026

FinReportBench: Measuring and Improving Institution-Grade Financial Report Generation

Wei Chen, Jun Zhou, Xiaolu Zhang, Wanli Gu, Yiyao Wang, Yinghao Tang, Tan Zhenwei

arXiv · PDF

Code that ran

24 of 34 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; 1 honoured the contract we drafted, 2 violated it and 1 has no contract verdict; 20 failures of our instrument; 10 no recorded run), measured 2026-11-23; 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/2608.04374.json · badge: /api/ran/2608.04374.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
MisterBrookT/finreportbench community
Papers with Code archive
24 ran · 10 no recorded run
FunctionStatusWhere it lives
_llm_key Ran
ran on a synthesized input
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("d6869a2f8afa65af")
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 os as _os

# The function _llm_key() takes no parameters - it only reads environment variables
# To make it executable, we need to set up the environment variables it might check

_os.environ['FINBENCH_LLM_KEY'] = 'test_key_finbench'
_os.environ['ANTCHAT_TOKEN'] = 'test_token_antchat'
_os.environ['INTERNAL_LLM_KEY'] = 'test_key_internal'

# Since _llm_key() takes no parameters, ARGS should be an empty dict
ARGS = {}
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
build_query_variants Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("194c9f93a3845373")
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 torch
import numpy as np

# The function build_query_variants takes string parameters and a list of strings
# It performs string manipulation and conditional logic based on task, depth, and language
# No complex objects are needed - just basic Python types

ARGS = {
    'entity': 'AI技术',
    'task': 'macro',
    'depth': 'comment',
    'focus': '政策导向',
    'mainlines': ['人工智能发展趋势', '产业链投资机会', '风险与监管'],
    'language': 'zh-CN'
}
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 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
derive_focus Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("83443b5d91c530c2")
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

INSTITUTION_TOKENS = {'BIS', 'GMO', 'IEA', 'IMF', 'Fed', 'Federal', 'Goldman', 'Oaktree', 'Sachs', 'JPMorgan', 'Morgan', 'Blackrock', 'Vanguard', 'Bridgewater', 'PIMCO', 'Fidelity', 'Barclays', 'Deutsche', 'Citi', 'Citigroup', 'UBS', 'HSBC', 'Nomura', 'Lazard', 'Evercore', 'Lilly', 'Manhattan', 'Investor'}

STOPWORDS = {'深度报告', '点评报告', '研究报告', '首次覆盖', '公司研究', '行业研究', '证券研究报告', '公司深度', '行业深度', '月报', '年报', '季报'}

def title_tokens(title: str) -> list[str]:
    cleaned = re.sub('【.*?】', '', title or '')
    pieces = re.split('[::,,;;()()【】\\[\\]\\-—_/ ]+', cleaned)
    out = []
    for p in pieces:
        p = p.strip()
        if p and p not in STOPWORDS and (len(p) >= 2):
            out.append(p)
    return out

def derive_focus(title: str, industry: str, entity: str, language: str='zh-CN') -> str:
    """从标题副标题派生研究焦点(去掉实体名后的主题短语)。
    EN 路径额外过滤机构名 token,避免 BIS/GMO/Oaktree 等漏进 focus。
    """
    toks = [t for t in title_tokens(title) if t not in (entity, industry)]
    if ':' in (title or '') or ':' in (title or ''):
        sub = re.split('[::]', title, 1)[-1]
        sub = re.sub('【.*?】', '', sub).strip()
        if 2 <= len(sub) <= 60:
            if language == 'en':
                first_word = sub.split()[0] if sub.split() else ''
                has_year = bool(re.search('\\b20\\d{2}\\b', sub))
                if first_word in INSTITUTION_TOKENS or has_year:
                    pass
                else:
                    return sub
            else:
                return sub
    if language == 'en':
        return 'recent developments and outlook'
    fallback = industry or '基本面'
    return toks[0] if toks else fallback


ARGS = {
    'title': '【金融】某公司深度研究:发展前景与机遇',
    'industry': '金融科技',
    'entity': '某公司',
    'language': 'zh-CN'
}
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
detect_period Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("06dee9524fe6217f")
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) 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

PERIOD_RE = re.compile("(20\\d{2}\\s?(?:年|A|E|Q[1-4])?|[1-4]Q\\s?2\\d|2\\dQ[1-4]|20\\d{2}Q[1-4]|一季度|二季度|三季度|四季度|Q[1-4]'?\\d{2}\\b|FY2[0-9]\\b|CY2[0-9]\\b|[1-4]Q2[0-9]\\b|\\b(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)[-']\\d{2}\\b)")

def detect_period(snippet: str) -> str:
    match = PERIOD_RE.search(snippet)
    if not match:
        return 'unspecified'
    period = re.sub('\\s+', '', match.group(1))
    return period.replace('年', '').replace('一季度', 'Q1').replace('二季度', 'Q2').replace('三季度', 'Q3').replace('四季度', 'Q4')

ARGS = {
    'snippet': 'The earnings report for 2023Q1 shows strong growth.'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
evidence_strength Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("e5d8393c823a8e25")
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) 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 torch
import numpy as np

# Construct a valid sidecar dict for the evidence_strength function
# The function checks:
# - sidecar.get('quality', {})
# - q.get('checks', {}).get('conservative_fact_count', 0)
# - q.get('status')

# Test case 1: high strength (status='pass' and n >= 4)
sidecar_high = {
    'quality': {
        'status': 'pass',
        'checks': {
            'conservative_fact_count': 5
        }
    }
}

# Test case 2: medium_high strength (status in ('pass', 'warn') and n >= 1)
sidecar_medium_high = {
    'quality': {
        'status': 'warn',
        'checks': {
            'conservative_fact_count': 2
        }
    }
}

# Test case 3: medium_needs_review (default case)
sidecar_medium_review = {
    'quality': {
        'status': 'fail',
        'checks': {
            'conservative_fact_count': 0
        }
    }
}

# Use the high strength case as the main argument
ARGS = {
    'sidecar': sidecar_high
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — 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
extract_report_structure Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("6ef3a07faa58157f")
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

# Construct valid arguments for extract_report_structure

# The function expects:
# - pages: list[dict] - a list of dictionaries with 'text' keys
# - language: str - either 'en' or 'zh-CN' (default)

# Create sample pages with text content
pages = [
    {'text': 'Key Takeaway: The company showed strong growth. Investment Thesis is solid.'},
    {'text': 'Financial Summary indicates robust earnings. Risks include market volatility.'},
    {'text': 'Valuation metrics are attractive. Price Target of $100 set. Rating: Buy'},
    {'text': 'Recommendation: Strong Buy. Data Center expansion underway.'},
    {'text': 'Supply Chain optimization ongoing. Fund Flows positive.'},
]

# Test with English language to trigger EN_STRUCT_KEYWORDS matching
ARGS = {
    'pages': pages,
    'language': 'en'
}
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
extract_visual_intents Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("54dd79ceb38c9639")
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 re

ARGS = {
    'pages': [
        {
            'text': '图1:公司收入和利润走势 公司2020年收入100亿元,同比增长20%。利润30亿元,同比增长15%。表1:财务指标汇总 2020年EPS为2.5元,PE估值20倍。图2:收入结构占比分析 主营业务占比80%,其他业务占比20%。'
        },
        {
            'text': '图3:市场价格走势 产品价格从100元上升到120元。表2:供需情况 库存水平保持稳定。图4:GDP增速预测 预计2021年GDP增速6%。'
        },
        {
            'text': '表3:宏观指标汇总 CPI同比上升2%,PMI为50。社融规模增长8%。就业率保持稳定。'
        },
        {
            'text': '图5:投资和消费数据 固定资产投资增速5%,社会消费品零售增速3%。'
        },
        {
            'text': '表4:行业对标 Exhibit 1: Revenue Comparison 竞争对手收入份额对标。'
        }
    ],
    'facts': [
        {
            'label': 'gdp_growth',
            'value': 6.0,
            'unit': '%',
            'period': '2021Q1'
        },
        {
            'label': 'cpi',
            'value': 2.0,
            'unit': '%',
            'period': '2021Q1'
        },
        {
            'label': 'pmi',
            'value': 50.5,
            'unit': 'index',
            'period': '2021Q1'
        },
        {
            'label': 'social_financing',
            'value': 8.0,
            'unit': '%',
            'period': '2021Q1'
        },
        {
            'label': 'unemployment',
            'value': 4.5,
            'unit': '%',
            'period': '2021Q1'
        }
    ],
    'language': 'zh-CN'
}
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 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
find_metric_number Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("460f3f21c6166edb")
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, 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 re

ARGS = {
    'snippet': 'The company reported revenue of 1.5 billion dollars in Q3 2023, with a 15% growth rate compared to last year.',
    'metric_text': 'revenue growth rate',
    'language': 'en'
}
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 tuple, ndim 1, dtype family float — a tuple 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
infer_chart_family Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("89556f7232fbb5fc")
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) 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 re

def infer_chart_family(title: str) -> list[str]:
    if re.search('构成|占比|结构', title, re.I):
        return ['stacked_bar', 'pie', 'treemap']
    if re.search('收入|利润|价格|销量|走势|增速', title, re.I):
        return ['bar_line_combo', 'line']
    if re.search('预测|估值|PE|EPS', title, re.I):
        return ['table', 'bar_line_combo']
    return ['table', 'bar']

ARGS = {
    'title': '销量走势分析'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 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
infer_investment_stance Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("19723a74e741e9b9")
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

def infer_investment_stance(title: str, rating: str, sidecar_text: str) -> str:
    text = f'{title} {rating} {sidecar_text}'
    if re.search('标的池|筛选逻辑|备选池|股票池|公司池', text):
        return 'screening'
    if re.search('风险验证|下行风险|压力测试', text):
        return 'risk_check'
    if re.search('卖出|减持|跑输|看空|偏谨慎|承压|下滑|恶化|下调|估值收缩', text, re.I):
        return 'bearish'
    if re.search('买入|增持|推荐|跑赢|优于|看多|偏看多|改善|修复|增长|加速|景气|突破|国产替代|估值提升', text, re.I):
        return 'bullish'
    return 'neutral_verification'

ARGS = {
    'title': '科技股分析报告',
    'rating': '买入',
    'sidecar_text': '看多未来增长前景'
}
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
infer_research_problem_domain Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("bb27f23b0801ebeb")
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

ARGS = {
    'title': 'AI技术发展与芯片产业链分析',
    'industry': '科技硬件',
    'entity': '半导体企业',
    'task': 'macro'
}
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
infer_sector_evidence_archetype Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("48b8c14a0690d77f")
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

def infer_sector_evidence_archetype(title: str, industry: str, task: str='') -> str:
    text = f'{industry} {title}'.lower()
    if task == 'macro':
        return 'macro_indicator_policy'
    if re.search('医药|医疗|创新药|药|临床|医保|集采|healthcare|pharma|biotech', text, re.I):
        return 'policy_clinical_pipeline'
    if re.search('银行|券商|保险|金融|息差|资产质量|信用|finance|bank|insurance|securities', text, re.I):
        return 'financial_balance_sheet_rate'
    if re.search('消费|食品|饮料|零售|渠道|品牌|动销|门店|consumer|retail', text, re.I):
        return 'consumer_channel_brand'
    if re.search('地产|房地产|建筑|建材|水泥|土地|销售面积|realestate|construction', text, re.I):
        return 'real_estate_policy_cycle'
    if re.search('化工|钢铁|煤炭|有色|材料|石油|开工率|供需|周期|chemicals|materials|coal|oil', text, re.I):
        return 'cyclical_supply_demand'
    if re.search('半导体|存储|ai|算力|软件|计算机|电子|通信|机器人|自动驾驶|智驾|电池|新能源|technology|semiconductor', text, re.I):
        return 'technology_supply_chain'
    return 'general_fundamental_evidence'

ARGS = {
    'title': 'AI chip development roadmap',
    'industry': 'semiconductor',
    'task': ''
}
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
infer_visual_purpose Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("b73083c4afe754b9")
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) 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

def infer_visual_purpose(title: str) -> str:
    if re.search('收入|利润|毛利|EPS|PE|估值|财务', title, re.I):
        return 'financial_trend'
    if re.search('revenue|profit|margin|EPS|P/E|valuation|earnings', title, re.I):
        return 'financial_trend'
    if re.search('构成|占比|结构|份额', title, re.I):
        return 'mix_or_share'
    if re.search('composition|breakdown|share|mix\\b', title, re.I):
        return 'mix_or_share'
    if re.search('价格|供需|库存|产量|销量|CPI|PPI|通胀|物价', title, re.I):
        return 'supply_demand'
    if re.search('supply|demand|inventory|price|inflation|CPI|PPI', title, re.I):
        return 'supply_demand'
    if re.search('走势|市场|指数|收益率|利率|汇率|大类资产', title, re.I):
        return 'market_performance'
    if re.search('performance|return|yield|rate|index|flow', title, re.I):
        return 'market_performance'
    if re.search('GDP|增速|同比|环比|社融|投资|消费|出口|进口|PMI|就业|财政', title, re.I):
        return 'macro_indicator_trend'
    if re.search('GDP|growth|PMI|employment|trade|fiscal|macro', title, re.I):
        return 'macro_indicator_trend'
    return 'evidence_exhibit'

ARGS = {
    'title': 'Revenue and Profit Trend Analysis'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
metric_unit_is_usable Ran
ran, violated the contract we drafted
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("1cae1b6ab9c50321")
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 re

MONEY_UNITS = {'亿元', '百万元', '万元', '亿美元', '万美元', '元', '亿', '万'}
PCT_UNITS = {'%', 'pct', '个百分点'}
VOLUME_UNITS = {'万台', '万辆', '万套', 'GWh', 'GW', 'MW', 'TWh', 'mb/d', 'mb', '万吨', '吨', '亿kWh', 'kWh'}

def metric_unit_is_usable(metric_text: str, unit: str) -> bool:
    if re.search('GDP|国内生产总值|CPI|PPI|PMI|失业率|增速|通胀|消费价格|出厂价格', metric_text, re.I):
        return unit in PCT_UNITS
    if re.search('社融|社会融资|赤字|专项债|政府债|财政收入|财政支出|固定资产投资|社会消费品零售', metric_text):
        return unit in MONEY_UNITS or unit in PCT_UNITS
    if re.search('LPR|MLF|逆回购|国债收益率|政策利率|利率|M[12]\\b|货币供应|信贷', metric_text, re.I):
        return unit in PCT_UNITS or unit in MONEY_UNITS
    if re.search('营业收入|营收|主营业务收入|归母净利润|归属于上市公司股东的净利润|归属母公司净利润|扣非归母净利润|扣除非经常性损益|研发费用|研发投入|现金流', metric_text):
        return unit in MONEY_UNITS
    if re.search('毛利率|市占率|市场份额|份额', metric_text):
        return unit in PCT_UNITS
    if re.search('销量|出货|装机', metric_text):
        return unit in VOLUME_UNITS
    if re.search('市场规模|TAM|空间', metric_text, re.I):
        return unit in MONEY_UNITS or unit in VOLUME_UNITS
    if re.search('EPS|每股收益', metric_text, re.I):
        return unit == '元'
    if re.search('市盈率|市净率|P/?E|P/?B', metric_text, re.I):
        return unit == '倍'
    return bool(unit)

ARGS = {
    'metric_text': 'GDP增速',
    'unit': '%'
}
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 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
metric_unit_is_usable_en Ran
ran, violated the contract we drafted
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("4689f9f443fa27fc")
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 re

ENERGY_UNITS_EN = {'GW', 'TWh', 'MW', 'GWh', 'kWh', 'mb/d', 'mb'}

PCT_UNITS_EN = {'%', 'pct', 'pp', 'bps', 'percent', 'percentage points', 'percentage point', '个百分点'}

def metric_unit_is_usable_en(metric_text: str, unit: str) -> bool:
    """English branch unit check — accepts spelled-out percent variants and energy units."""
    unit_lower = unit.lower()
    if re.search('GDP|CPI|PCE|PMI|inflation|unemployment|jobless|fed\\s+funds|treasury|policy\\s+rate|FOMC|trade\\s+balance|wage|capacity\\s+util|employment\\s+rate', metric_text, re.I):
        return unit_lower in {u.lower() for u in PCT_UNITS_EN}
    if re.search('revenue|net\\s+income|net\\s+profit|EBITDA|capex|capital\\s+expenditure|free\\s+cash|FCF', metric_text, re.I):
        return bool(unit_lower) and unit_lower not in {''}
    if re.search('margin|growth|EPS|P/E|P/B|price\\s+target|market\\s+share|share\\s+gain', metric_text, re.I):
        return unit_lower in {u.lower() for u in PCT_UNITS_EN}
    if re.search('capacity|generation|production|oil\\s+demand|oil\\s+supply', metric_text, re.I):
        return unit_lower in {u.lower() for u in ENERGY_UNITS_EN} or unit_lower in {u.lower() for u in PCT_UNITS_EN}
    return bool(unit_lower)

ARGS = {
    'metric_text': 'GDP growth rate',
    'unit': '%'
}
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 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
must_include Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("a29e097f73ef2f0e")
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.

# Setup code for must_include function

ARGS = {
    'task': 'macro',
    'depth': 'comment',
    'language': 'zh-CN'
}
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 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
natural_query_leak_findings Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("df92a989adbb3239")
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 re

BROKER_HINT = re.compile('(研究所|国信|中银|国金|招商|中信|华泰|海通)')

LEAK_PATTERNS = [re.compile('p\\.\\s*\\d+'), re.compile('20\\d{2}[-/]\\d{1,2}[-/]\\d{1,2}')]

def natural_query_leak_findings(query: str, allow_terms: list[str] | None=None) -> list[str]:
    issues = []
    for pat in LEAK_PATTERNS:
        if pat.search(query):
            issues.append(f'leak:{pat.pattern[:20]}')
    allow = ''.join(allow_terms or [])
    for m in BROKER_HINT.finditer(query):
        if m.group(0) not in allow:
            issues.append(f'leak:broker:{m.group(0)}')
    return issues

ARGS = {
    'query': '这是一个关于国信的查询,包含p. 123和2024-01-15的信息',
    'allow_terms': ['国信', '中信']
}
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 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
normalize_metric_unit Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("d8984d9524fa3232")
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

def normalize_metric_unit(metric_text: str, snippet: str, unit: str) -> str:
    if unit:
        return unit
    if re.search('EPS|每股收益', metric_text, re.I) and '元' in snippet:
        return '元'
    if re.search('市盈率|P/?E|市净率|P/?B', metric_text, re.I):
        return '倍'
    if re.search('毛利率|市占率|市场份额|份额', metric_text, re.I) and '%' in snippet:
        return '%'
    if re.search('GDP|CPI|PPI|PMI|增速|同比|环比|失业率|通胀', metric_text, re.I) and '%' in snippet:
        return '%'
    return unit

ARGS = {
    'metric_text': '每股收益',
    'snippet': '价格5元',
    'unit': ''
}
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
normalize_space Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("abeeb022c90d72ee")
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) 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

def normalize_space(text: str) -> str:
    return re.sub('\\s+', ' ', text or '').strip()

ARGS = {
    'text': '  hello   world  \n\t  test  '
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
normalize_unit_en Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("1f812169a90254fc")
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) 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 torch
import numpy as np

ARGS = {
    'unit': 'percent'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — 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
task_id_for Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("052bdc99eb62b3f8")
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) 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 hashlib

ARGS = {
    'report_id': 'report_123',
    'depth': 'level_2',
    'variant': 'v1_standard'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
title_tokens Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("6890fde4b0e19b99")
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) 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 re

STOPWORDS = {'深度报告', '点评报告', '研究报告', '首次覆盖', '公司研究', '行业研究', '证券研究报告', '公司深度', '行业深度', '月报', '年报', '季报'}

def title_tokens(title: str) -> list[str]:
    cleaned = re.sub('【.*?】', '', title or '')
    pieces = re.split('[::,,;;()()【】\\[\\]\\-—_/ ]+', cleaned)
    out = []
    for p in pieces:
        p = p.strip()
        if p and p not in STOPWORDS and (len(p) >= 2):
            out.append(p)
    return out

ARGS = {
    'title': '【重要】科技行业深度报告:人工智能发展趋势分析'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 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
to_number Ran
ran, honoured the contract we drafted
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("2f57c8e798a2d1e6")
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) 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 torch

ARGS = {
    "value": "42.5"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — 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
truncate Ran
ran; our contract draft was wrong, not the code
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("ef7fa1ce3390e81f")
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) 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 torch

torch.manual_seed(0)

ARGS = {
    "text": "Hello, this is a long text that needs to be truncated",
    "limit": 20
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — 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
_facts_to_mainlines_en Not yet run
unverified (harvested, no recorded run)
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("8e4d4e0cce24d768")
How it ran

no invocation recorded.

_llm_ci_extract Not yet run
unverified (harvested, no recorded run)
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("e8653a43c6606470")
How it ran

no invocation recorded.

_llm_macro_extract Not yet run
unverified (harvested, no recorded run)
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("48571947fb109962")
How it ran

no invocation recorded.

build_case Not yet run
unverified (harvested, no recorded run)
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("37c7b717ba78aa90")
How it ran

no invocation recorded.

build_sidecar Not yet run
unverified (harvested, no recorded run)
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("cc2f627ee58b0c3a")
How it ran

no invocation recorded.

build_taxonomy Not yet run
unverified (harvested, no recorded run)
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("6afebe9df9823731")
How it ran

no invocation recorded.

extract_metric_facts Not yet run
unverified (harvested, no recorded run)
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("7bfd1bb3acd28f29")
How it ran

no invocation recorded.

extract_pdf_pages Not yet run
unverified (harvested, no recorded run)
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("bad6dbb08427008c")
How it ran

no invocation recorded.

load_sidecar_or_build Not yet run
unverified (harvested, no recorded run)
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("d3185fc7de19f7ea")
How it ran

no invocation recorded.

mainlines_from_sidecar Not yet run
unverified (harvested, no recorded run)
MisterBrookT/finreportbench/harness/prepare/reverse_query.py
code served (permissive licence) · get_code("dad45d858d6a36f1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 34 samples lifted from this paper's linked repositories, 34 carry a function identity and 0 do not. Of the 34 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 34 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 can produce fluent financial analysis, but fluency does not establish whether a report is suitable for institutional delivery. Existing evaluations use broad dimensions that do not identify the specific defects that cause professional rejection. We introduce FinReportBench, an expert-grounded benchmark for measuring and improving institution-grade financial report generation. In a pilot review, three experts assign all 75 reports from three models the lowest readiness score despite generally fluent financial prose; the recurring gaps concern report identity, institutional components, source discipline, and visual delivery. Pilot interviews further identify a hierarchy of report criteria. We then derive the rubric through two rounds: expert partial orders over a small output set guide item induction with multimodal evidence, and experts audit the resulting decision boundaries. The final instrument contains 35 observable items across deliverability, report identity, and institutional completeness. Starting from 10,000 balanced Chinese and English financial-research source records, we curate 244 bilingual tasks across three research objects and two input tiers. Each task separates the public query, reconstructed research trajectory, and hidden source packet. Three independent judge families reproduce the expert partial order at near-ceiling rates, showing that the rubric's bounded, observable criteria support reliable evaluation. Across nine model families, basic deliverability is nearly saturated, while report identity and institutional completeness remain the primary bottlenecks. The largest cross-model gaps arise in generation-trace control, information density, and data discipline rather than basic report framing. Finally, we use benchmark-guided skill distillation to convert these recurrent failures into reusable generation and self-review constraints. Across five model families, the evolved skill improves mean G1 by 33.85 points and mean G2 by 13.83 points over the paired no-skill condition, while preserving G0 for every pair. Code and benchmark artifacts are available at https://github.com/MisterBrookT/finreportbench.

For agents

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

get_harvested_code_for_paper("2608.04374")
get_code_for_paper("2608.04374")
have("2608.04374")

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

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

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

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

Connect an agent — have() is free.