LangGraph Litigation Funding & TPLF Risk Engine
Property and casualty carriers face rising litigation costs driven by third-party litigation funding (TPLF) in claim disputes. Build a LangGraph workflow to detect TPLF involvement from legal filings and estimate defense cost inflation.
What you are building
The core problem, expected build, and operating context for this challenge.
Build a stateful LangGraph graph to parse legal pleadings and output litigation escalation probabilities.
How work is evaluated
Evaluates TPLF classification accuracy and defense cost prediction error.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
tplf_flag_accuracy
Ensures true positive TPLF identification
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
alae_mae
Mean absolute error on defense cost multiplier • target: 0.15 • range: 0-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Construct a LangGraph pipeline to monitor court docket text for third-party funding markers
Forecast litigation duration and total defense expense under TPLF presence
Generate early settlement strategy recommendations for claims managers
Reference links and supporting material
Court pleading documents and litigation outcome records across NC civil court dockets.
Challenge setup
Evaluates TPLF classification accuracy and defense cost prediction error.
Challenge input
JSON containing docket_text and initial_claim_reserve
LangChain
Provides LangGraph primitives for stateful graph construction
Evaluated output
JSON with tplf_detected (bool), projected_alae_multiplier, and settlement_recommendation
- Ensures true positive TPLF identification
- Mean absolute error on defense cost multiplier • target: 0.15 • range: 0-1
- Benchmark: Litigation-Risk-Bench
- Alae Mae target: 0.15
- 1 public reference case
- 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
- LangGraph · Required
- Graphlit · Optional
- Amazon Bedrock · Optional
- LangGraph · Required
Evaluation contract
- tplf_flag_accuracy · Weight 1
- alae_mae · Weight 1
Metrics
- alae_mae · Target 0.15
Benchmarks
- Litigation-Risk-Bench
- security
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON containing docket_text and initial_claim_reserve
Output: JSON with tplf_detected (bool), projected_alae_multiplier, and settlement_recommendation
Execution harness: Python
Evaluation tools
- LangChain · Agent Framework
Recipe freeze marker
No recipe freeze time is recorded.