solution_registry

Profile-scoped solution identities shared by evaluation and serving reports.

Functions

build_profile_solution_registry

Select realized width/depth scenarios and assign stable report styles.

canonical_solution_id

Return a stable width/depth identity independent of artifact paths.

write_solution_registry

Atomically persist a registry so partial writes cannot be resumed.

build_profile_solution_registry(mip_grid, *, selections)

Select realized width/depth scenarios and assign stable report styles.

Parameters:
  • mip_grid (dict[str, Any])

  • selections (Iterable[tuple[int, int]])

Return type:

dict[str, Any]

canonical_solution_id(hidden_width, removed_sublayers)

Return a stable width/depth identity independent of artifact paths.

Parameters:
  • hidden_width (int)

  • removed_sublayers (int)

Return type:

str

write_solution_registry(path, registry)

Atomically persist a registry so partial writes cannot be resumed.

Parameters:
  • path (str | Path)

  • registry (dict[str, Any])

Return type:

Path