BuySideFlow: A Point-in-Time Benchmark for LLM Agents in Investment Research
Evaluating executable SQL and SQL–Python agents under point-in-time constraints, licensed financial database snapshots, and strict output contracts.
Abstract
Buy-side investment research is not just “write SQL and run it.” A workflow can execute successfully and still be wrong: it may pull a filing that was not yet public at the research date, rely on a classification revised after the fact, or apply today's security list to a date when it looked different. BuySideFlow is a benchmark of 408 practitioner-derived tasks spanning equities, funds, fixed income, and macroeconomics. Every task runs against the same fixed sample snapshot of a licensed financial database. Reference workflows comprise 254 SQL-native tasks and 154 SQL–Python tasks. Nine agent configurations are evaluated on all 408 tasks. Full-match result accuracy ranges from 16.2% to 36.8%. Among 380 audited submissions that pass the result check, 193 (50.8%) still contain confirmed point-in-time violations, so output agreement alone does not establish temporal validity.
Benchmark Highlights
Point-in-Time Correctness
Tasks require agents to respect research dates, disclosure dates, effective intervals, classification vintages, and historical security universes.
Executable Workflows
Submissions are evaluated by execution under strict output contracts, rather than by generated text alone.
Controlled Financial Data
The benchmark runs against a fixed licensed financial database snapshot identified as Gildata_20260430_v1. Agents must select the task-appropriate historical records.
Dataset at a Glance
| Item | Count |
|---|---|
| Tasks | 408 |
| Equity / fund / fixed-income / macro tasks | 166 / 125 / 93 / 24 |
| SQL-native / SQL–Python reference workflows | 254 / 154 |
| CSV / mixed / figure-oriented tasks | 401 / 1 / 6 |
| Audited database tables | 91 |
| Database rows | 446,170,760 |
| Compressed Parquet data | 26.03 GB |
Workflow labels describe reference implementations, not proof that Python is required. The 91 audited tables were identified by a static audit of reference-code dependencies, not runtime access logs. These inventory statistics do not establish download or redistribution rights.
Comparison with Existing Benchmarks
BuySideFlow differs from existing text-to-SQL, financial-agent, and executable-analysis benchmarks through a separate expert audit of temporal requirements in agent-written workflows. Related benchmarks also implement temporal controls, as summarized below.
| Benchmark | Task setting | Data and execution | Output evaluation | Temporal checks |
|---|---|---|---|---|
| BULL | Financial querying | Financial databases; generated SQL | Execution-result accuracy | NR |
| Spider 2.0 | Enterprise analytics | Databases and code projects; SQL/Python/dbt | Task-specific output checks | NR |
| DAB | Data analysis | Databases; SQL and Python tools | Deterministic answer checks | NR |
| FinGAIA | Financial analysis | Web, files, and Python | Answer accuracy | NR |
| FinSkillBench | Investment subtasks | Market/XBRL retrieval; condition-dependent financial tools | Structured outputs; deterministic checks | ✓ As-of data slices |
| AlphaQT-Bench | Factor generation | Price/volume data; single-turn Python generation | Reference-output accuracy | ✓ Prefix-causality safety gates functional accuracy |
| OpenPM | Portfolio allocation | Market and vintage data | Portfolio performance and rule adherence | ✓ Runtime availability audit and certificate |
| BuySideFlow | Chinese buy-side research | Fixed financial database; agent-written SQL or SQL–Python | Reference checks for tables, figures, and mixed outputs | ✓ Separate expert audit of executed dependencies: cutoffs, historical states, and record versions |
Adapted from Table 11 of the paper. ✓ indicates a specified temporal control or check; NR means not reported in the cited work, not demonstrated absence.
Evaluation Protocol
Result Checks + Workflow Audit
Executed outputs are checked against reference artifacts. A separate expert audit reviews task rules, programs, outputs, and execution traces for confirmed workflow errors.
Static PIT Screening
Rule-based screening flags predefined patterns such as runtime-date use, missing temporal guards, and current-state filtering. It does not execute code or block runtime calls; its diagnostic flags remain separate from result scores.
Output Contracts
Outputs must satisfy task-specific requirements on schema, ordering, units, rounding, and artifact type.
How result passing is determined
Tables are compared programmatically using task-specific field, unit, precision, and ordering rules. Complete rows and multiplicity are preserved. Flexible-format tasks allow declared aliases, column reordering, and alternative layouts.
Images and text use model judges with task-grounded checklists. For mixed outputs, normalized table:image:text weights are 3:2:1. These weighted scores summarize item results; they do not replace the passing criteria. Tables must match, and visual or mixed outputs require all mandatory items to pass and judging to be available. Mandatory visual items require scores of at least 0.999.
PIT Audit: Scope and Findings
The audit covers 900 submissions: nine configurations on the same 100-task subset spanning all four asset domains. Of the 380 result-pass submissions, 193 have at least one confirmed PIT violation (50.8%). Among 520 result-fail submissions, 345 have a confirmed PIT violation (66.3%).
A1 · Temporal-semantic misuse
Confusing information availability, business-valid time, and system-recording time, such as treating a report-period end as its disclosure date.
A2 · Current state for history
Substituting current classifications, ratings, or status for the historical state required at the research date.
A3 · Faulty historical reconstruction
Using the appropriate historical sources and time semantics but incorrectly handling validity intervals, record versions, joins, or duplicate removal.
The full taxonomy contains 20 error types across seven groups: temporal and condition filtering; table and field interpretation; data analysis and planning; joins; output requirements; agent behavior and context; and execution and SQL dialect. A1–A3 define PIT violations; categories can overlap.
Each submission is counted once in the any-PIT rate. These are audit-subset findings, not PIT prevalence estimates for every benchmark run. No confirmed violation does not establish PIT compliance, and result agreement alone does not establish temporal validity.
Leaderboard
Result accuracy on all 408 tasks. Score is the percentage of tasks that pass their task-specific result checks. It is not a PIT-compliance score.
Loading leaderboard…
Result accuracy (%) on all 408 tasks.
Submission Guidelines
Please email your submission materials to buysideflow@163.com. To help us review your results, include the following files:
- The running log file generated during inference. The log file should comprehensively record the model inputs, outputs, and necessary intermediate steps to ensure the reliability and reproducibility of the submitted results.
- The output files produced by your system.
- The results (JSON file) generated by running the official evaluation code without any modifications to the evaluation code.
- Please provide all materials above so that we can review and verify your submission.
We process submissions in batches once per week.
Data Access and Reproduction
All evaluations use the fixed licensed Gildata sample Gildata_20260430_v1. The database maintainer confirms that the data have remained unchanged since 30 April 2026. The sample retains records on both sides of individual research dates; workflows must enforce each task’s temporal requirements.
The paper describes a package of 408 tasks, reference programs and answers, and background-knowledge files. Reference materials remain hidden from agents during evaluation. Database access is separate from these benchmark materials. The audited database inventory covers 91 tables. See the dataset documentation for the current terms. The published query-only terms and the hosted-file distribution mode require reconciliation; this page does not grant download or redistribution rights.
The licensed database is not an unrestricted public download. The available package does not include the original production-to-sample extraction manifest or complete per-table retention rules. Reproduction uses the identified licensed sample; rebuilding an identical sample requires extraction rules from the maintainer.
Database access and distribution rights must be confirmed under the applicable terms; no database credentials are distributed here.