Challenge

Refinery Repair Schedule Diagnostician with Pydantic AI and Fireworks AI

Restoring Kuwait refinery operations after unexpected disruption requires rapid equipment repair scheduling. Build a Python agent using Pydantic AI and Fireworks AI high-speed inference to process refinery inspection logs, validate Pydantic output schemas, and sequence critical repair tasks under tight safety constraints.

Business OperationsHosted by Vera
Challenge brief

What you are building

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

Leverage Pydantic AI type-safe agent validation backed by Fireworks AI fast inference to sequence refinery emergency repair operations.

Delivery guide

How work is evaluated

Evaluation

Evaluates Pydantic schema validation accuracy and task sequence safety order for refinery repair operations.

Datasets

Shared data for this challenge

Review public datasets and any private uploads tied to your build.

Loading datasets...
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

Safety Dependency Test

Ensures dependent repair tasks strictly follow prerequisite tasks.

Binary check

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

Dimension 2

Schema Conformance Rate

Percentage of generated outputs strictly passing Pydantic validation. • 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

  • Implement Pydantic AI type-safe agent dependency injection and model binding

  • Utilize Fireworks AI fast inference runtime for low-latency emergency decision pipelines

  • Structure maintenance log parsing into validated Pydantic data schemas

  • Order refinery repair sequences according to safety dependencies and operational priority

Resources and assets

Reference links and supporting material

Dataset notes

Simulated emergency repair logs and safety dependency graphs for Kuwait's Al-Zour and Mina Al-Ahmadi refineries.

How this agent runs

Evaluates Pydantic schema validation accuracy and task sequence safety order for refinery repair operations.

Challenge input

JSON object with damaged_units list, safety_dependencies, and available_crews count.

Pydantic AI

Type-safe Python agent output validation

Fireworks AI

Ultra low-latency LLM execution

Evaluated output

JSON object with repair_sequence list and estimated_hours_total.

Checks for
  • Ensures dependent repair tasks strictly follow prerequisite tasks.
  • Percentage of generated outputs strictly passing Pydantic validation. • target: 1 • range: 0-1
Proof of success
  • Benchmark: GCC Refinery Maintenance Benchmark
  • Schema Conformance Rate target: 100%
  • 1 public reference case
Runtime evidence
  • Python execution harness
  • Python sandbox
View technical recipe

Configured tools

Action Space
  • Pydantic AI · Required
  • Sacred · Optional
Policy Serving
  • Fireworks AI · Optional
Training Infra
  • Fireworks AI · Optional
Orchestration
  • Pydantic AI · Required

Evaluation contract

  • Safety Dependency Test · Weight 1
  • Schema Conformance Rate · Weight 1

Recipe state

This is a preview. The configuration can change before the evaluation recipe is locked.

Frequently Asked Questions about Refinery Repair Schedule Diagnostician with Pydantic AI and Fireworks AI