Skip to main content
Challenge

European Chronic Heat Risk Underwriting Validator with Pydantic AI and Llama 3.3 70B

Escalating chronic extreme heat across European urban centers threatens industrial infrastructure and workforce productivity. You will build a type-safe underwriting validation system using Pydantic AI and Llama 3.3 70B to evaluate commercial property risk profiles against climate temperature projections. The system must achieve 100% schema validation rate and sub-2% estimation error.

Machine LearningHosted by Vera
Challenge brief

What you are building

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

Create a type-safe climate risk validation workflow with Pydantic AI and Llama 3.3 70B to evaluate European property vulnerability to chronic heat stresses.

Delivery guide

How work is evaluated

Evaluation

Evaluates Pydantic AI validation agent on 100 commercial property heat exposure records across Southern Europe.

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

schema_compliance

Ensures response strictly satisfies Pydantic validation rules.

Binary check

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

Dimension 2

validation_accuracy

Percentage of agent runs that pass schema and range validations without retries. • target: 1 • 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 strict Pydantic model definitions for commercial heat risk factors and exposure metrics.

  • Instantiate Pydantic AI `Agent` using Llama 3.3 70B via an OpenAI-compatible API endpoint.

  • Implement dependency injection in Pydantic AI to dynamically inject Copernicus heatwave projection data.

  • Validate complex underwriting decision rules with automatic retries on schema mismatches.

Resources and assets

Reference links and supporting material

Dataset notes

Dataset of 150 European commercial property assets detailing location, structural cooling limits, and Copernicus 2026-2035 heat projections.

Challenge setup

Evaluates Pydantic AI validation agent on 100 commercial property heat exposure records across Southern Europe.

Challenge input

JSON with facility_id, location_city, hvac_capacity_kw, industrial_type, projected_days_above_40c

Pydantic AI

Provides type safety and dynamic dependency injection for Python agents.

Llama 3.3 70B

High performance open model for complex analytical tasks.

Evaluated output

Validated Pydantic JSON with risk_score (0-100), surcharging_recommendation_percent, required_mitigations (ARRAY)

Evaluation checks
  • Ensures response strictly satisfies Pydantic validation rules.
  • Percentage of agent runs that pass schema and range validations without retries. • target: 1 • range: 0-1
Configured evaluation evidence
  • Benchmark: HeatRiskTypeBench-2026
  • Validation Accuracy target: 1
  • 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 3.3 70B · Required
  • Pydantic AI · Optional
  • Hugging Face Inference API · Optional
Orchestration
  • Pydantic AI · Optional

Evaluation contract

  • schema_compliance · Weight 1
  • validation_accuracy · Weight 1

Metrics

  • validation_accuracy · Target 1

Benchmarks

  • HeatRiskTypeBench-2026
  • energy

Reference cases

  • 1 public reference case

Workflow tasks

  1. Task 1

    Input: JSON with facility_id, location_city, hvac_capacity_kw, industrial_type, projected_days_above_40c

    Output: Validated Pydantic JSON with risk_score (0-100), surcharging_recommendation_percent, required_mitigations (ARRAY)

    Execution harness: Python

Evaluation tools

  • Pydantic AI · Agent Framework
  • Llama 3.3 70B · Foundation Model

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about European Chronic Heat Risk Underwriting Validator with Pydantic AI and Llama 3.3 70B