Quality assurance tests for classical PSHA calculator

Bug #811060 reported by Damiano Monelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
High
Unassigned

Bug Description

The attached set of tests aims at assessing the correctness of the classical PSHA calculator.
Tests are taken from "Verification of Probabilistic Seismic Hazard Analysis Computer Programs", PACIFIC EARTHQUAKE ENGINEERING RESEARCH CENTER, Patricia Thomas and Ivan Wong (URS Corporation), Norman Abrahamson (Pacific Gas and Electric Company), MAY 2010. (http://peer.berkeley.edu/publications/peer_reports/reports_2010/web_PEER_10106_THOMASetal.pdf)
4 tests are attached; three involving a simple fault source and one considering an area source. The tests require the capability to compute hazard curves on a set of points. The attachment contains the configuration and input files to run the tests plus ASCII files containing the expected results. A README.txt file contains an explanation of each test.

Revision history for this message
Damiano Monelli (monelli) wrote :
Revision history for this message
Damiano Monelli (monelli) wrote :

Sorry, this the correct attachment

Changed in openquake:
importance: Undecided → High
John Tarter (toh2)
Changed in openquake:
milestone: none → 0.4.3
Revision history for this message
Lars Butler (lars-butler) wrote :

I think this depends on 805425.

John Tarter (toh2)
Changed in openquake:
milestone: 0.4.3 → 0.4.4
John Tarter (toh2)
Changed in openquake:
assignee: nobody → Andrea Cerisara (andreacerisara-b)
Revision history for this message
Lars Butler (lars-butler) wrote :

Since most computation results (including curves and maps) are now saved to the database by default, verifying the correctness of the calculation results should be pretty simple: Initialize a job, run it, then query the database for the job results (and compare to the expected results).

Revision history for this message
Lars Butler (lars-butler) wrote :

Another important detail: The blackbox tests need to be run as part of the CI build to detect regression bugs. It could be as simple as including the tests in the unit test suite, but it may be more appropriate to make the test suites distinct and separate.

Changed in openquake:
status: New → In Progress
Revision history for this message
John Tarter (toh2) wrote :

1 Smoketest in Master, 1 in review and 3 to implement as of today

Changed in openquake:
milestone: 0.4.4 → 0.4.5
Changed in openquake:
status: In Progress → Fix Committed
Changed in openquake:
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.