Skip to content

Fix regional simulation datasets resolving to manifest commit revisions #553

@anth-volk

Description

@anth-volk

Regional simulation requests can fail when a PolicyEngine-managed dataset URI comes from the bundled release manifest with a Hugging Face artifact commit revision. The simulation runtime maps these datasets to GCS, where the expected revision is the bundled data package version rather than the release-manifest commit hash.

This affects regional requests such as US state/place simulations where the region dataset path is selected directly or inherited from a parent region.

Expected fix:

  • distinguish bundled data package versions from artifact revisions
  • preserve explicit user-requested dataset versions
  • resolve PolicyEngine-managed HF dataset URIs to GCS using the correct runtime revision
  • add regression coverage for direct region and parent-region fallback paths
  • backfill app-release bundle metadata where needed for gateway provenance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions