gem/oq-engine — pull request #1222 by matley (2013-07-05 15:56:34+00:00)
Title: Refactoring: moved risk calculation logic to risklib

This is a companion pull request of https://github.com/gem/oq-risklib/pull/55

See that for more details.

This pull requests also try to uniform the way we are performing QA tests for the risk calculators. Instead of running long hazard calculations, we load pre-computed test fixtures (dumped with our dump tool) and run tests given such input hazard data. This will allow us to use high-resolution hazard data, and make QA tests that are seed-independent (like the current QA test for event based).

Build status: http://ci.openquake.org/job/z_oq-engine_template/73/