Skip to main content
Loading navigation

Build an OCDS Contracting Release Package Auditor

Parse Open Contracting Data Standard (OCDS) release packages to validate package metadata and release array structure. Detect missing publisher URIs, schema versions, and invalid release compilation structures.

EngineeringHosted by Vera

What you are building

Parse Open Contracting Data Standard (OCDS) release packages to validate package metadata and release array structure. Detect missing publisher URIs, schema versions, and invalid release compilation structures.

Procurement Transparency Analyst

Ingest OCDS release package JSON files representing published procurement events.

Evaluate the root package metadata including URI, publisher details, and schema version.

Traverse the releases array to ensure each release contains the required structure and ID.

Compile an audit report flagging non-compliant or missing package metadata.

Browser validation dashboard showing package metadata compliance status and release ID listings.

Generate synthetic OCDS release packages containing valid and invalid root metadata structures. Starter examples below are synthetic. They are not downloaded records.

Open Contracting Data Standard Implements the OCDS Release Package structure, enforcing required fields such as uri, version, publishedDate, releases, and publisher.

langgraph, pandas, fastapi. LangGraph manages stateful traversal and validation workflows across multi-stage schema auditing pipelines. Hosted reasoning model capable of interpreting JSON schema structures and validating required metadata fields.

Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.

Validates presence of required package metadata fields (uri, publishedDate, publisher, version).

Ensures releases array is present and contains at least one release object.

Produces a structured JSON error report for missing metadata.

```json [ { "input": { "uri": "http://example.com/ocds/package-1", "version": "1.1", "publishedDate": "2023-10-01T12:00:00Z", "publisher": { "name": "City Procurement" }, "releases": [ { "id": "release-1", "ocid": "ocds-213-1" } ] }, "expected_output": { "package_valid": true, "missing_fields": [], "release_count": 1, "status": "COMPLIANT", "note": "Simplified synthetic app records, not complete official schema files." } }, { "input": { "version": "1.1", "publishedDate": "2023-10-01T12:00:00Z", "publisher": { "name": "City Procurement" }, "releases": [] }, "expected_output": { "package_valid": false, "missing_fields": [ "uri" ], "release_count": 0, "status": "NON_COMPLIANT_EMPTY_RELEASES", "note": "Simplified synthetic app records, not complete official schema files." } } ] ```

Acts as an analytical project management tool without executing real-world contractual or site dispatch actions. Use mock external writes. Require human review before any real deployment.

Rules

Acts as an analytical project management tool without executing real-world contractual or site dispatch actions. Use mock external writes and human review.

How work is evaluated

Evaluation

Validates presence of required package metadata fields (uri, publishedDate, publisher, version). Ensures releases array is present and contains at least one release object. Produces a structured JSON error report for missing metadata.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Public datasets, plus the private datasets you have access to.

How submissions are scored

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

Complete workflow

Ingest OCDS release package JSON files representing published procurement events. Evaluate the root package metadata including URI, publisher details, and schema version. Traverse the releases array to ensure each release contains the required structure and ID. Compile an audit report flagging non-compliant or missing package metadata.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 2

Correctness and evidence

Validates presence of required package metadata fields (uri, publishedDate, publisher, version). Ensures releases array is present and contains at least one release object. Produces a structured JSON error report for missing metadata.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 3

Review interface

Browser validation dashboard showing package metadata compliance status and release ID listings.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 4

Safe execution

Acts as an analytical project management tool without executing real-world contractual or site dispatch actions.

Binary check

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

Learning goals

  • Ingest OCDS release package JSON files representing published procurement events.

  • Evaluate the root package metadata including URI, publisher details, and schema version.

  • Traverse the releases array to ensure each release contains the required structure and ID.

  • Compile an audit report flagging non-compliant or missing package metadata.

Resources

Dataset notes

Generate synthetic OCDS release packages containing valid and invalid root metadata structures. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Challenge input

Input details are not configured.

LangGraph

Runtime for stateful agent workflows.

Evaluated output

No output checks are configured.

Evaluation checks
  • Ingest OCDS release package JSON files representing published procurement events. Evaluate the root package...
  • Validates presence of required package metadata fields (uri, publishedDate, publisher, version). Ensures re...
  • Browser validation dashboard showing package metadata compliance status and release ID listings.
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 2 configured tools

Shows the first task, up to three tools, and up to three evidence items.

View technical recipe

Configured tools

Action Space
  • LangGraph · Optional
Orchestration
  • LangGraph · Optional

Evaluation contract

  • Complete workflow · Weight 40
  • Correctness and evidence · Weight 30
  • Review interface · Weight 20
  • Safe execution · Weight 10

Reference cases

  • 2 public reference cases

Workflow tasks

No workflow tasks are configured.

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Build an OCDS Contracting Release Package Auditor