-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoq-risk-qa.tex
211 lines (178 loc) · 8.41 KB
/
oq-risk-qa.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
% ------------------------------------------------------------------------------
% The OpenQuake-engine Risk Quality Assurance Report
%
% Authors:
% Anirudh Rao - GEM Model Facility, Pavia, Italy
%
% License:
% Document distributed under the CC BY-NC-SA 4.0 License
% Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
% http://creativecommons.org/licenses/by-nc-sa/4.0/
%
% Copyright:
% © GEM Foundation, Pavia, Italy. August 2015.
%
%-------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%-------------------------------------------------------------------------------
\documentclass[11pt,fleqn]{book} % ------------------ Left-justified equations -
\input{configuration/configuration.tex} % -------------------- Load packages -
\input{configuration/structure.tex} % ------------------------ Load template -
\begin{document}
\input{book/glossary.tex} % ---------------------------------- Load glossary -
%-------------------------------------------------------------------------------
% COVER PAGE
%-------------------------------------------------------------------------------
\includepdf[pages=-]{figures/oq-risk-qa-cover.pdf}
%-------------------------------------------------------------------------------
% TITLE PAGE
%-------------------------------------------------------------------------------
\begingroup
\thispagestyle{empty}
%\AddToShipoutPicture*{\put(6,5){\includegraphics[scale=1]{background}}}
\par\normalfont\fontsize{15}{15}\sffamily\selectfont
“OpenQuake: Calculate, share, explore”
\centering
\vspace*{9cm}
\par\normalfont\fontsize{35}{35}\sffamily\selectfont
Testing procedures adopted in the development of the risk
component of the OpenQuake-engine\par % Book title
\endgroup
%-------------------------------------------------------------------------------
% COPYRIGHT PAGE
%-------------------------------------------------------------------------------
\newpage
~\vfill
\thispagestyle{empty}
\noindent
\textbf{Authors} \\
Anirudh Rao$^1$, Michele Simionato$^1$ \hfill \\
\hfill \\
\small
\begin{tabular}{p{4cm}p{4cm}p{4cm}}
$^1$ GEM Model Facility \hfill \newline
via Ferrata, 1 \hfill \newline
20133 Pavia \hfill \newline
Italy \hfill \newline
\end{tabular} \hfill \newline
%
Email address (for all the authors):\hfill\\
$<$name.surname$>[email protected]\hfill\\
\normalsize
\noindent \copyright\ \textsc{2015 GEM Foundation}\\ % Copyright notice
\noindent \textsc{globalquakemodel.org/openquake}\\ % URL
\noindent \hfill\\
\noindent
{\textbf{Citation}} \hfill \\
Please cite this document as: \hfill \\
Rao, Anirudh and Simionato, Michele (2015). Testing procedures adopted in the development of the risk component of the OpenQuake-engine.
\textit{Global Earthquake Model (GEM) Technical Report 2015-08.
doi: 10.13117/GEM.OPENQUAKE.TR2015.08, 113 pages.} \hfill \\
\noindent \hfill\\
\noindent
{\bf{Disclaimer}} \hfill \\
This report is distributed in the hope that it will be useful, but without any warranty: without even the implied warranty of merchantability or fitness for a particular purpose. While every precaution has been taken in the preparation of this document, in no event shall the authors of the Manual and the GEM Foundation be liable to any party for direct, indirect, special, incidental, or consequential damages, including lost profits, arising out of the use of information contained in this document or from the use of programs and source code that may accompany it, even if the authors and GEM Foundation have been advised of the possibility of such damage. The report provided hereunder is on as ``as is'' basis, and the authors and GEM Foundation have no obligations to provide maintenance, support, updates, enhancements, or modifications. \hfill \\
\noindent \hfill\\
\noindent
{\bf{License}} \hfill \\
This report is distributed under the Creative Commons License Attribution-NonCommercial-ShareAlike 4.0 International (\href{http://creativecommons.org/licenses/by-nc-sa/4.0/}
{CC BY-NC-SA 4.0}).You can download this Manual and share it with others as long as you provide proper credit, but you cannot change it in any way or use it commercially.\hfill \\
\noindent \textit{First printing, August 2015} % Printing/edition date
%-------------------------------------------------------------------------------
% TABLE OF CONTENTS
%-------------------------------------------------------------------------------
\chapterimage{figures/chapter_head_1.pdf} % Table of contents heading image
\pagestyle{empty} % No headers
\tableofcontents % Print the table of contents itself
\cleardoublepage % Forces the first chapter to start on the right
\pagestyle{fancy} % Print headers again
%-------------------------------------------------------------------------------
% FOREWORD
%-------------------------------------------------------------------------------
% \chapterimage{figures/chapter_head_2.pdf} % Chapter heading image
% \chapter*{Preface}
% \addcontentsline{toc}{chapter}{Preface}
% \input{qareport/preamble.tex}
%-------------------------------------------------------------------------------
% THE QA REPORT
%-------------------------------------------------------------------------------
% ------------------------------------------------------- Part I: Introduction -
\part{Introduction}
\chapterimage{figures/chapter_head_2.pdf} % Chapter heading image
\chapter{Software Testing}
\label{chap:intro}
\input{qareport/introduction/introduction.tex}
% -------------------------------------------------------- Part II: Unit Tests -
\thispagestyle{empty}
\part{Unit Tests}
\chapterimage{figures/chapter_head_2.pdf} % Chapter heading image
\chapter{Unit Testing in the OpenQuake-engine}
\label{chap:unit-tests}
\input{qareport/unit-tests/unit-tests.tex}
\cleardoublepage
% ------------------------------------------------- Part III: Acceptance Tests -
\thispagestyle{empty}
\part{Acceptance Tests}
\chapterimage{figures/chapter_head_2.pdf} % Chapter heading image
\chapter{Framework for Acceptance Testing}
\label{chap:acc-framework}
\input{qareport/acceptance/acc-framework.tex}
\cleardoublepage
\chapter{Test Cases and Results}
\label{chap:acc-tests}
\input{qareport/acceptance/acc-tests.tex}
\cleardoublepage
\chapter{Conclusions}
\label{chap:acc-conclusions}
\input{qareport/acceptance/acc-conclusions.tex}
\cleardoublepage
% % -------------------------------------------------- Part IV: Benchmark Tests -
% \thispagestyle{empty}
% \part{Benchmark Tests}
% \chapterimage{figures/chapter_head_2.pdf} % Chapter heading image
% \chapter{Comparing the Classical and Event-Based Risk Calculators}
% \label{chap:bm-cr-ebr}
% \input{qareport/benchmarking/bm-cr-ebr.tex}
% \cleardoublepage
% \chapterimage{figures/chapter_head_2.pdf} % Chapter heading image
% \chapter{Comparison with Other Softwares}
% \label{chap:bm-comparison}
% \input{qareport/benchmarking/bm-comparison.tex}
% \cleardoublepage
% % -------------------------------------------------- Part V: Performance Tests -
% \thispagestyle{empty}
% \part{Performance Tests}
% \chapterimage{figures/chapter_head_2.pdf} % Chapter heading image
% \chapter{Demos}
% \label{chap:perf-demos}
% \input{qareport/performance/perf-demos.tex}
% \cleardoublepage
% \chapter{Stress Tests}
% \label{chap:perf-stress}
% \input{qareport/performance/perf-stress.tex}
% \cleardoublepage
% -------------------------------------------------------- Part VI: Appendices -
% \thispagestyle{empty}
% \part*{Appendices}
% \appendix
% \chapterimage{figures/chapter_head_2.pdf} % Chapter heading image
% \chapter{Chapter Name}
% \input{qareport/template.tex}
% \cleardoublepage
%-------------------------------------------------------------------------------
% BIBLIOGRAPHY
%-------------------------------------------------------------------------------
\chapter*{Bibliography}
\addcontentsline{toc}{chapter}{\textcolor{darkgray}{Bibliography}}
\printbibliography[heading=bibempty]
%-------------------------------------------------------------------------------
% INDEX & GLOSSARY
%-------------------------------------------------------------------------------
\cleardoublepage
\phantomsection
\setlength{\columnsep}{0.75cm}
\addcontentsline{toc}{chapter}{\textcolor{darkgray}{Index}}
\printindex
\printglossary
\hfill \\ \thispagestyle{empty} \clearpage % ---------------- Final empty page -
\end{document}