Skip to main content
Challenge

Nizwa Industrial City Chemical Inventory Tracking & Hazmat Agent

Managing a $10.4m chemical and oilfield project in Nizwa Industrial City requires strict compliance tracking for hazardous material storage and shipment. Build a Python tracking API using Pydantic and SQLite to audit chemical container weights, safety data sheets (SDS), and local environmental storage permits. Achieve 100% hazmat storage rule enforcement.

Business OperationsHosted by Vera
Challenge brief

What you are building

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

Build a chemical inventory hazmat compliance monitoring system using Pydantic and Python.

Delivery guide

How work is evaluated

Evaluation

Evaluates Pydantic schema validation and hazardous material storage compatibility checks.

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

Hazmat Separation Verification

Ensures compatible is false for Flammable + Oxidizer.

Binary check

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

Dimension 2

Compliance Accuracy Rate

Accuracy in rejecting unsafe chemical co-locations. • 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

  • Build Pydantic models for oilfield chemical inventory records

  • Validate chemical storage temperature limits and incompatibilities

  • Persist verified chemical stock logs into SQLite database

  • Generate automated hazard alerts for expired permits or over-capacity storage

Resources and assets

Reference links and supporting material

Dataset notes

Nizwa Industrial City chemical inventory catalog and UN hazard classification matrix.

Challenge setup

Evaluates Pydantic schema validation and hazardous material storage compatibility checks.

Challenge input

JSON object with chemical_a_class, chemical_b_class, storage_bay_id

Pydantic

Standard Python data model validation tool.

Evaluated output

JSON object with compatible, warning_msg

Evaluation checks
  • Ensures compatible is false for Flammable + Oxidizer.
  • Accuracy in rejecting unsafe chemical co-locations. • target: 1 • range: 0-1
Configured evaluation evidence
  • Benchmark: HazmatBench
  • Compliance Accuracy Rate target: 100%
  • 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
  • Hume AI · Required
  • Metaflow · Optional
  • You.com · Optional

Evaluation contract

  • Hazmat Separation Verification · Weight 1
  • Compliance Accuracy Rate · Weight 1

Metrics

  • Compliance Accuracy Rate · Target 1

Benchmarks

  • HazmatBench
  • security

Reference cases

  • 1 public reference case

Workflow tasks

  1. Task 1

    Input: JSON object with chemical_a_class, chemical_b_class, storage_bay_id

    Output: JSON object with compatible, warning_msg

    Execution harness: Python

Evaluation tools

  • Pydantic · Data Validation Library

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Nizwa Industrial City Chemical Inventory Tracking & Hazmat Agent