indexPhases

fun indexPhases(report: JsonObject, keys: List<String>, expectedCount: Int? = null): Map<List<String>, JsonObject>(source)

Indexes actual phase identities without accepting duplicate or missing registrations. Each key is canonical JSON text: object order and decimal spelling do not change an identity. Exact decimal values remain distinct without Gson's mixed-number equality/hash behavior.