Ordering issue in risk disaggregation

Bug #1352200 reported by Michele Simionato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake Engine
Fix Released
Critical
Michele Simionato

Bug Description

Theew is an ugly ordering problem in the code for risk disaggregation. In particular the rupture_ids are extracted from out.output.event_loss_table.keys() in an unspecified order. This as issue because later in the code there is a line zip(loss_ratios, rupture_ids) which assumes that the loss_ratios are in a fixed order. So in practice the associations rupture <-> loss_ratio are all wrong and we cannot trust the disaggregation results for loss fractions.

Revision history for this message
Michele Simionato (michele-simionato) wrote :
description: updated
Changed in oq-engine:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Michele Simionato (michele-simionato)
milestone: none → 1.0.1
description: updated
Changed in oq-engine:
status: In Progress → Won't Fix
status: Won't Fix → Fix Committed
Changed in oq-engine:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.