Skip to main content
Challenge

Sale-Leaseback Financial Structuring Workflow with LangChain & o3

Institutional investors require precise cap-rate analysis and tenant credit valuation for complex sale-leaseback deals. Build a LangChain agent using OpenAI o3 reasoning models to evaluate corporate balance sheets and generate terms meeting all institutional underwriting constraints.

Business OperationsHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Build a stateful deal structuring workflow using LangChain, LangGraph state chains, and OpenAI o3 deep reasoning models.

Delivery guide

How work is evaluated

Evaluation

Evaluates accuracy of sale-leaseback rent coverage ratios and lease term recommendations.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

coverage_ratio_accuracy

Coverage ratio calculated correctly as tenant_ebitdar / annual_rent

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Dimension 2

financial_structuring_score

Accuracy across test cases for rent and lease length outputs • target: 0.98 • range: 0-1

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • Construct a LangChain and LangGraph stateful graph for sale-leaseback transaction analysis.

  • Leverage OpenAI o3 reasoning capabilities to perform multi-step corporate debt and coverage ratio analysis.

  • Generate structured lease escalation clauses matching institutional targets.

  • Ensure 100% schema alignment on generated lease terms output.

Resources and assets

Reference links and supporting material

Dataset notes

25 corporate real estate portfolio balance sheets with facility valuations and financial statements.

Challenge setup

Evaluates accuracy of sale-leaseback rent coverage ratios and lease term recommendations.

Challenge input

JSON containing property_valuation, tenant_ebitdar, requested_cap_rate

LangChain

Framework assignment for stateful agent workflow construction.

o3

Assigned model for complex step-by-step financial reasoning.

Evaluated output

JSON with annual_initial_rent, rent_coverage_ratio, recommended_lease_term_years

Evaluation checks
  • Coverage ratio calculated correctly as tenant_ebitdar / annual_rent
  • Accuracy across test cases for rent and lease length outputs • target: 0.98 • range: 0-1
Configured evaluation evidence
  • Benchmark: LangChain-Finance-Bench
  • Financial Structuring Score target: 0.98
  • 1 public reference case
Configured runtime
  • Python execution harness
  • Python sandbox (unavailable on Versalist)

Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.

View technical recipe

Configured tools

Action Space
  • LangChain · Required
  • Langchain · Optional
Policy Serving
  • o3 · Optional
Orchestration
  • LangChain · Required
  • Langchain · Optional

Evaluation contract

  • coverage_ratio_accuracy · Weight 1
  • financial_structuring_score · Weight 1

Metrics

  • financial_structuring_score · Target 0.98

Benchmarks

  • LangChain-Finance-Bench
  • general

Reference cases

  • 1 public reference case

Workflow tasks

  1. Task 1

    Input: JSON containing property_valuation, tenant_ebitdar, requested_cap_rate

    Output: JSON with annual_initial_rent, rent_coverage_ratio, recommended_lease_term_years

    Execution harness: Python

Evaluation tools

  • LangChain · Chain & Graph Orchestration Framework
  • o3 · High-Reasoning Foundation Model

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Sale-Leaseback Financial Structuring Workflow with LangChain & o3