Run test tool | Build |
---|---|
Stable | |
Development |
Test tool for new Oasis reinsurance functionality. A library of worked examples will be created that will be used to validate:
- the interpretation of the Open Exposure Data (OED) input format
- the execution logic of the Oasis FM
The pre-requisites for the system on an Ubuntu based system are listed in apt.txt. These can be installed by running:
cat apt.txt | xargs apt-get install -y
If using another distribution then the comparable packages will need to be identified and installed, or alternatively use a Docker image.
We recommend using a Python virtual environment for running the exercises. To set up the your virtual environment, run the following commands in the project root directory:
virtualenv -p python3.6 venv
source venv/bin/activate
pip install -r requirements.txt
jupyter nbextension install --user --py fileupload
jupyter nbextension enable --py --sys-prefix fileupload
jupyter nbextension enable --py --sys-prefix qgrid
pip install ipykernel
ipython kernel install --user --name=ReinsuranceTestTool
The test tool can either be ran directly from the command line using "reinsurance_tester.py", or via the Jupyter note book "run_test.ipynb".
The code in this project is licensed under BSD 3-clause license.