Skip to content

Commit a4e0880

Browse files
committed
feat(qa): add mcq (#145) and activity
1 parent a3fa5fc commit a4e0880

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

pages/guide/verification_validation/quality_assurance.qmd

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,61 @@ Key resources to check out when planning your quality assurance:
232232
* The [Quality assurance of code for analysis and research](https://best-practice-and-impact.github.io/qa-of-code-guidance/intro.html) book from the Government Analysis Function.
233233

234234
* [Facets of trust in simulation studies](https://doi.org/10.1016/j.ejor.2020.06.043) - a framework for thinking about different dimensions of trust in simulation work and how they evolve over a study’s lifecycle.
235+
236+
## Test yourself
237+
238+
<div class="h3-tight"></div>
239+
240+
### Quiz
241+
242+
```{r}
243+
#| echo: false
244+
library(webexercises) # nolint: library_call_linter
245+
```
246+
247+
::: {.callout-note}
248+
249+
## Which statement best describes quality assurance (QA) in analytical projects?
250+
251+
```{r}
252+
#| output: asis
253+
#| echo: false
254+
cat(longmcq(c(
255+
"A one-off final check of results before publication.",
256+
"A process limited to testing code for bugs.",
257+
answer = paste0(
258+
"A formal, systematic process of planning checks, carrying them out, and ",
259+
"keeping evidence."
260+
)
261+
)))
262+
```
263+
264+
:::
265+
266+
::: {.callout-note}
267+
268+
## Which option best captures the relationship between QA, verification, and validation as described on the page?
269+
270+
```{r}
271+
#| output: asis
272+
#| echo: false
273+
cat(longmcq(c(
274+
"QA and verification are the same; validation is separate.",
275+
answer = "Verification and validation are specific checks within QA.",
276+
"Validation replaces QA in higher‑risk projects."
277+
)))
278+
```
279+
280+
:::
281+
282+
### Activity
283+
284+
Reflect on how you might apply quality assurance to the simulation model you have been developing, or to another recent piece of analytical work. At a minimum, write down:
285+
286+
* The decision the work is intended to inform.
287+
* Who could act as commissioner, analyst, assurer, and approver (even if some roles are combined).
288+
* A few QA activities you could realistically do when (a) scoping, (b) design, (c) analysis, and (d) delivery.
289+
290+
You could also have a go creating a **GitHub Project**, adding some QA items as issues. You could then treat open items as your QA plan and closed items as your QA log.
291+
292+
<br><br>

0 commit comments

Comments
 (0)