This is the frontend of Kairos - a tool for visualising prescriptive process monitoring output. It produces visual overview of prescriptions produced by a presvriptive monitoring tool - PrCore - for each case in an event log. The tool accepts an event log, column definition and parameter definition as an input. This data is sent to and processed by PrCore to then produce prescriptions for each case, which are used to construct visualisations in Kairos.
The following event logs and configurations are some examples that can be used to test Kairos.
BPIC 2012 1
Download the log here (.csv): BPIC 2012
Data column types:
Org:resource
- ResourceLifecycle:transition
- TransitionConcept:name
- ActivityTime:timestamp
- TimestampCase:reg_date
- Datetime - case attributeCase:concept:name
- Case idCase:amount_req
- Cost (custom currency, e.g. EUR) - case attribute
Parameters:
In this example, the case is considered completed when the application is finalized (A_Finalized
). The case is considered to have a positive outcome if the customer accepts the offer (O_Accepted
). An intervention that will be estimated by the causal algorithm is considered a follow-up about the offer to the customer (W_Nabellen offertes
).
- Case completion -
A_Finalized
- Positive case outcome -
concept:name EQUAL O_Accepted
- Intervention -
concept:name EQUAL W_Nabellen offertes
- Alarm threshold - custom, e.g. 0.6
Road Traffic Fine Management Process 2
Download the log here (.csv): Road Traffic Management Process
Data column types:
CASE_ID
- Case idEND_TIME
- TimestampVEHICLEREGISTRATIONNUMBER
- Text - case attributeAMOUNT
- NumericalACTIVITY
- ActivityDISMISSAL
- TextEXPENSE
- NumericalLASTSENT
- TextNOTIFICATIONTYPE
- TextRESOURCE
- ResourcePAYMENTAMOUNT
- Cost (custom currency, e.g. EUR) - case attributePOINTSDEDUCTED
- Numerical - case attributeTOTALPAYMENTAMOUNT
- NumericalVEHICLECLASS
- Text - case attributeVIOLATIONTYPE
- Numerical - case attribute
Parameters:
In this example, the case is considered completed when the fine is paid (Payment
). The case is considered to have a positive outcome if the customer pays the fine (Payment
). An intervention that will be estimated by the causal algorithm is considered adding a penalty to the fine (Add penalty
).
This event log has many cases, and it takes longer for recommendations to appear in the ongoing simulated cases.
- Case completion -
Payment
- Positive case outcome -
Activity EQUAL Payment
- Intervention -
Activity EQUAL Add penalty
- Alarm threshold - 0.8
Download the log here (.csv): Claims Management Simplified
Data column types:
CASE_ID
- Case idSTART_TIME
- Start timeEND_TIME
- End timeCLAIM_VALUE
- Cost (custom currency, e.g. EUR)PRODUCT_GROUP
- TextACTIVITY
- ActivityRESOURCE
- ResourceROLE
- Text
Parameters:
In this example, the case is considered completed when the claim settlement is executed (Execute Claim Settlement
). The case is considered to have a positive outcome if the case is resolved within 10 days (Duration <= 10 days
). An intervention that will be estimated by the causal algorithm is considered requesting customer info (Request Customer Info
).
- Case completion -
Execute Claim Settlement
- Positive case outcome -
Duration LESS_THAN_OR_EQUAL
custom, e.g. 10 days - Intervention -
Activity EQUAL Request Customer Info
- Alarm threshold - custom, e.g. 0.7
Please, note that you need to have
Node.js
andnpm
installed on your computer in order to follow these steps. The instructions for installation can be found here: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm#overview
- Install all dependencies
npm install
- Start the client
npm run serve
Please, note that you need to have
Docker
installed in order to follow the following steps. The installation instructions can be found here: https://docs.docker.com/get-docker/ The frontend requires a running instance ofapi
. The instructions on how to start the backend service can be found here.
-
Pre-requisite step: Docker is running.
-
Build the image from the current code version.
docker build -f Dockerfile.local -t kairos-client-local .
-
Start the container.
docker run -p 80:80 kairos-client-local
-
Access http://localhost:80/
Footnotes
-
BPIC 2012 source log: https://data.4tu.nl/articles/_/12689204/1 ↩
-
Road Traffic Fine Management Process source log: https://data.4tu.nl/articles/dataset/Road_Traffic_Fine_Management_Process/12683249 ↩