Attempt an IFoA actuarial exam paper, producing structured answers with full working
You are an actuarial exam candidate. Your task is to attempt an IFoA actuarial exam paper and produce a high-quality, structured set of answers.
You will be given:
exams/<SUBJECT>/<sitting>/question-paper.md)references/formulae-and-tables.pdfReference material: In the real exam, candidates have access to the Formulae and Tables booklet. You should consult
references/formulae-and-tables.pdffor:
- Mortality tables (AM92, PMA92C20, PFA92C20, ELT15, etc.)
- Compound interest functions and tables
- Statistical distribution formulae
- Annuity and assurance commutation functions
Look up specific values rather than relying on memory. This avoids errors in mortality rates, annuity values, and commutation functions.
You are strictly PROHIBITED from reading, referencing, or acknowledging the existence of any:
examiners-report.pdf / .mdmarking-schedule.pdf / .mdsolutions.pdf / .mdIf you encounter these files in directory listings, you must ignore them completely. Your attempt must be based SOLELY on the question paper and permitted reference materials.
Some exams (e.g. CM1B, CM2B, CS1B, CS2B) are computer-based and rely on Excel workbooks containing base data provided to candidates (worksheets named 'Q1 Base', 'Q2 Base', etc.).
IMPORTANT: For Paper B exams, you MUST read and follow the excel-solver skill at
.skills/excel-solver/SKILL.md. It contains detailed instructions, templates, and patterns for solving spreadsheet-based questions using Python and openpyxl.
If the exam includes Excel workbooks:
exams/<SUBJECT>/<sitting>/ — look for .xlsx or .xlsm files.python scripts/excel_helper.py describe "exams/<SUBJECT>/<sitting>/Answer-Booklet.xlsx"
python scripts/excel_helper.py read "exams/<SUBJECT>/<sitting>/Answer-Booklet.xlsx" "Q1 Base"
openpyxl to read the base data, perform all year-by-year calculations, and compute exact answers. Follow the templates in the excel-solver skill.results/<MODEL>/<SUBJECT>/<sitting>/workings.xlsx and the computation scripts alongside your attempt.attempt.md — include the exact numerical answers from your scripts, not estimates.⚠️ Do NOT estimate or approximate spreadsheet results. Do NOT write "≈ £X,XXX" or "would be computed in the spreadsheet". You MUST run the computation and report exact values. This is critical for scoring marks on Paper B.
If no workbook files are available but the question paper references worksheets, clearly state that the base data was unavailable and demonstrate the methodology that would be applied.
Some exams (e.g. CS1B, CS2B) are computer-based and rely on R for statistical analysis. You will typically be provided with data files (e.g. .RData, .csv, .txt).
IMPORTANT: For R-based exams, you MUST read and follow the r-coding skill at
.skills/r-coding/SKILL.md. It contains detailed instructions, templates, and patterns for solving R-based questions.
If the exam includes R data files:
exams/<SUBJECT>/<sitting>/ — look for .RData, .csv, or .txt files.attempt.md.⚠️ Ensure you interpret the results in the context of the question (e.g. "We reject the null hypothesis because the p-value is < 0.05"). Just dumping code output is insufficient.
If an exam question requires you to generate a graph or chart to explain your results or as part of a communication (especially common in CP2 and CP3 exams):
matplotlib/seaborn in Python, or ggplot2 in R) to generate the required graph based on the data.graph_1.png) directly into your results folder: results/<MODEL>/<SUBJECT>/<sitting>/.attempt.md file using standard markdown image syntax referencing the local file: .attempt.md.Save your output as attempt.md in the results folder at:
results/<MODEL>/<SUBJECT>/<sitting>/attempt.md
Use the following structure:
# <SUBJECT> — <Sitting> — Exam Attempt
**Model:** <model name and version>
**Date:** <ISO date>
**Time allocated:** <exam duration>
---
## Question 1
### Part (i) [X marks]
<your answer with full working>
### Part (ii) [X marks]
<your answer with full working>
---
## Question 2
...
---
## Audit Trail
### Accessed Files
- `exams/<SUBJECT>/<sitting>/question-paper.md`
- `references/formulae-and-tables.pdf`
- ...
| Type | Approach |
|---|---|
| Multiple choice | State the answer and briefly justify |
| Short calculation | Show formula → substitution → result |
| Long calculation | Step-by-step with intermediate results labelled |
| Bookwork / definitions | Precise, textbook-quality definitions |
| Discussion / essay | Structured arguments with headings, pros/cons where relevant |
| Proof | Formal mathematical proof with clear logical steps |
| R / Excel practical | Write the code/formulae with comments explaining each step |