whatisgithub

What is frontier-finance?

samaya-ai/frontier-finance — explained in plain English

Analysis updated 2026-05-18

17PythonAudience · researcherComplexity · 3/5Setup · moderate

In one sentence

A tool that grades an AI system's finance answers against a benchmark's rubrics using a panel of AI judge models.

Mindmap

mindmap
  root((frontier-finance))
    What it does
      Grades finance AI answers
      Uses rubric checklists
      Panel of judge models
    Tech stack
      Python
      Anthropic API
      OpenAI and Gemini APIs
    Use cases
      Benchmark AI systems
      Compare model quality
      Reproducible LLM grading
    Audience
      AI researchers
      Finance benchmark builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Grade an AI system's answers against the FrontierFinance benchmark's rubrics.

USE CASE 2

Compare multiple AI systems on finance question quality using a consistent judge panel.

USE CASE 3

Download the public FrontierFinance rubrics dataset for benchmarking.

USE CASE 4

Run reproducible LLM-judge evaluations with majority voting across model providers.

What is it built with?

PythonAnthropic APIOpenAI APIGemini API

How does it compare?

samaya-ai/frontier-finance0petru/sentimoagi-eval-official/forte
Stars171717
LanguagePythonPythonPython
Setup difficultymoderatemoderatehard
Complexity3/53/54/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires API keys for the judge models you configure (Anthropic, OpenAI, and/or Gemini).

So what is it?

frontier-finance is a grading tool for testing how well an AI system answers finance-related questions. It works with Samaya AI's FrontierFinance benchmark, a public set of finance questions where each question comes with a checklist of rubrics, specific facts or points a good answer should cover. You bring your own AI system's answers, and this tool checks each answer against its rubrics using a panel of AI language models acting as judges, then reports how often each rubric was satisfied. The grading panel typically uses three judge models from different providers, such as Claude, Gemini, and GPT, voting by majority on whether each rubric was met, so no single AI model's bias decides the outcome on its own. If a judge model fails to respond properly, it gets dropped from that vote rather than failing the whole question, as long as at least one judge still answers. The tool is self-contained and talks directly to each provider's official API rather than relying on any internal company framework. Installation is done with a Python package manager, and you install only the judge providers you plan to use, such as Anthropic, OpenAI, or Gemini, as optional extras. The benchmark's question and rubric data is downloadable separately from Hugging Face with a provided script, no login required, and is licensed under Creative Commons Attribution 4.0, meaning it can be reused with proper credit given. To run a grading pass, you set API keys for whichever judge models you are using, write a YAML configuration file pointing at the rubrics file and your own system's answers, and run the grader command. It produces a metrics summary and a detailed per-question breakdown showing how each rubric was judged, split out by categories like whether a rubric was essential or optional. Unit tests are included and can be run without any API keys.

Copy-paste prompts

Prompt 1
Help me install frontier-finance with the judge model providers I need.
Prompt 2
Explain how frontier-finance uses majority voting across judge models to grade a rubric.
Prompt 3
Show me how to write a YAML config to run frontier-finance-grader on my own system's answers.
Prompt 4
Walk me through what metrics.json reports after a grading run.

Frequently asked questions

What is frontier-finance?

A tool that grades an AI system's finance answers against a benchmark's rubrics using a panel of AI judge models.

What language is frontier-finance written in?

Mainly Python. The stack also includes Python, Anthropic API, OpenAI API.

How hard is frontier-finance to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is frontier-finance for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.