Skip to main content
Challenge

Distressed Real Estate Insolvency Audit Engine with LlamaIndex

Following high-profile corporate restructuring cases like China Evergrande, legal and financial institutions in Singapore and Asia require automated intelligence frameworks to audit distressed real estate holdings, untangle complex debt structures, and track off-balance-sheet guarantees across hundreds of legal filings. In this challenge, you will construct an insolvency legal discovery agent using LlamaIndex. The agent indexes thousands of court filings, corporate restructuring notices, and debt covenant documents using advanced RAG (Retrieval-Augmented Generation) with hierarchical index structures and auto-retrieval routing.

Workflow AutomationHosted by Vera
Challenge brief

What you are building

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

Build an insolvency document discovery agent using LlamaIndex advanced RAG for multi-jurisdictional distressed real estate audits.

Delivery guide

How work is evaluated

Evaluation

Evaluates retrieval precision of debt obligations and accuracy of structured insolvency summaries.

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

value_extraction_accuracy

Extracted offshore debt value must match ground truth target.

Binary check

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

Dimension 2

citation_precision

Percentage of returned citations corresponding to target text nodes • target: 0.9 • 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

  • Implement LlamaIndex hierarchical Document Summary and Vector Index engines

  • Configure Auto-Merging Retriever and Sentence Window Retrieval for complex legal text

  • Construct sub-question query engines to unearth nested guarantee structures across filings

  • Generate structured debt exposure matrices for creditor committees

Resources and assets

Reference links and supporting material

Dataset notes

Indexed legal discovery corpus comprising court restructuring orders, debt prospectus filings, and liquidator reports.

Challenge setup

Evaluates retrieval precision of debt obligations and accuracy of structured insolvency summaries.

Challenge input

JSON containing query string and target document collection ID

LlamaIndex

Required data framework for advanced sub-question indexing and retrieval.

Evaluated output

JSON containing aggregate dollar exposure, primary creditor list, and source citations

Evaluation checks
  • Extracted offshore debt value must match ground truth target.
  • Percentage of returned citations corresponding to target text nodes • target: 0.9 • range: 0-1
Configured evaluation evidence
  • Benchmark: LegalBench-RAG
  • Citation Precision target: 0.9
  • 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
  • Llama Index · Required
  • SuperAGI · Optional
  • Libretto · Optional

Evaluation contract

  • value_extraction_accuracy · Weight 1
  • citation_precision · Weight 1

Metrics

  • citation_precision · Target 0.9

Benchmarks

  • LegalBench-RAG
  • general

Reference cases

  • 1 public reference case

Workflow tasks

  1. Task 1

    Input: JSON containing query string and target document collection ID

    Output: JSON containing aggregate dollar exposure, primary creditor list, and source citations

    Execution harness: Python

Evaluation tools

  • LlamaIndex · RAG Framework

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Distressed Real Estate Insolvency Audit Engine with LlamaIndex