diff --git a/full-ifrs17-template/Constants/CalculationEngine.ipynb b/full-ifrs17-template/Constants/CalculationEngine.ipynb index e30509df..af978b92 100644 --- a/full-ifrs17-template/Constants/CalculationEngine.ipynb +++ b/full-ifrs17-template/Constants/CalculationEngine.ipynb @@ -16,7 +16,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "0lsQIC1gDEODx-OkvAl3pQ", "cell_type": "code", "source": [ "var projectName = \"ifrs17\";", diff --git a/full-ifrs17-template/Database/Configure.ipynb b/full-ifrs17-template/Database/Configure.ipynb index 84f668d3..c536ff36 100644 --- a/full-ifrs17-template/Database/Configure.ipynb +++ b/full-ifrs17-template/Database/Configure.ipynb @@ -19,7 +19,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "4pCtjml9b0qsW_qdBuJO6w", "cell_type": "markdown", "source": [ "

DataSource Configuration

" @@ -29,7 +28,6 @@ "outputs": [] }, { - "id": "Vfn_7rax10adJW_1ZtDM8A", "cell_type": "code", "source": [ "#!import \"../Constants/CalculationEngine\"", @@ -40,7 +38,6 @@ "outputs": [] }, { - "id": "KhBa0fF-l0a93pgXYgVuFw", "cell_type": "code", "source": [ "#!import \"PersonalConnection\"" @@ -50,7 +47,6 @@ "outputs": [] }, { - "id": "Vh7nAxVvy0iUuSAGzjmDaw", "cell_type": "code", "source": [ "using System.Reflection;" @@ -60,7 +56,6 @@ "outputs": [] }, { - "id": "ZMZQjqRWTUGnPoJJpxkdLw", "cell_type": "markdown", "source": [ "# Database Configure" @@ -70,7 +65,6 @@ "outputs": [] }, { - "id": "M452PsrooEqiMehPCaxUyQ", "cell_type": "code", "source": [ "var allTypes = AppDomain.CurrentDomain.GetAssemblies().SelectMany(a => a.GetTypes())", @@ -84,7 +78,6 @@ "outputs": [] }, { - "id": "0N7ABGO-n06LsiMOOHcdJw", "cell_type": "code", "source": [ "await DataSource.Configure().UseMsSql(opt => opt.WithConnectionString(connectionStringMsSql)", @@ -95,7 +88,6 @@ "outputs": [] }, { - "id": "RmBLxQdX_kOIeA0ktt94xQ", "cell_type": "code", "source": [ "await DataSource.CommitAsync();" @@ -105,7 +97,6 @@ "outputs": [] }, { - "id": "BA0VOza8rEajIHBmKBrSXA", "cell_type": "markdown", "source": [ "# Reset Workspace" @@ -115,7 +106,6 @@ "outputs": [] }, { - "id": "9InVK4PX5EGrE4_tARwXLw", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules());" @@ -125,7 +115,6 @@ "outputs": [] }, { - "id": "oYFbN_9RAU6NiE_F3qNY1A", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Database/PersonalConnectionExample.ipynb b/full-ifrs17-template/Database/PersonalConnectionExample.ipynb index a7877df3..58813866 100644 --- a/full-ifrs17-template/Database/PersonalConnectionExample.ipynb +++ b/full-ifrs17-template/Database/PersonalConnectionExample.ipynb @@ -16,7 +16,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "PacHtppMCEiAbT28F8yC9Q", "cell_type": "code", "source": [ "var connectionStringMsSql = \"here enter your connection string\";" diff --git a/full-ifrs17-template/Database/Schema Delete.ipynb b/full-ifrs17-template/Database/Schema Delete.ipynb index 0894d1dd..68be7e2c 100644 --- a/full-ifrs17-template/Database/Schema Delete.ipynb +++ b/full-ifrs17-template/Database/Schema Delete.ipynb @@ -17,7 +17,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "kZ8F8V4tB0Wn8FeC8OhusQ", "cell_type": "code", "source": [ "#!import \"PersonalConnection\"" @@ -27,7 +26,6 @@ "outputs": [] }, { - "id": "ns9rbHPX0kSH-ZK7AejMeA", "cell_type": "code", "source": [ "#r \"nuget:SqlConnection,1.0.4\"" @@ -37,7 +35,6 @@ "outputs": [] }, { - "id": "4PUwLlVsK0uhCCfeGwRHFg", "cell_type": "code", "source": [ "string[] split = connectionStringMsSql.Split(new char[] { '=', ':', ',', ';' });", @@ -52,7 +49,6 @@ "outputs": [] }, { - "id": "_tMxxfxtoU-Ji32JWMtCRw", "cell_type": "code", "source": [ "using SQLConnection;", @@ -64,7 +60,6 @@ "outputs": [] }, { - "id": "4vlEnuUvfkqV87nAO3Zbsg", "cell_type": "code", "source": [ "string query = \"DECLARE @sql NVARCHAR(max)='' SELECT @sql += ' Drop table ' + QUOTENAME(TABLE_SCHEMA) + '.'+ QUOTENAME(TABLE_NAME) + '; 'FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' Exec Sp_executesql @sql\";" @@ -74,7 +69,6 @@ "outputs": [] }, { - "id": "wseyK5F-cE-ZP_jy2OkS8Q", "cell_type": "code", "source": [ "int rowAffect = SqlServer.AzureSqlConnection(serverName, database, userID, password, query);" diff --git a/full-ifrs17-template/Export/MapTemplate.ipynb b/full-ifrs17-template/Export/MapTemplate.ipynb index 8d0c70b3..931953b7 100644 --- a/full-ifrs17-template/Export/MapTemplate.ipynb +++ b/full-ifrs17-template/Export/MapTemplate.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "fjKBauyn0Uyuk0uljGsArg", "cell_type": "markdown", "source": [ "

Map Template

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "A4j8UHGNc0697n1iNB4Z7g", "cell_type": "markdown", "source": [ "This notebook exports the data nodes, data node states, and data node parameters belonging to a specific data partition into an excel file.", @@ -40,7 +38,6 @@ "outputs": [] }, { - "id": "WuQQ_5xug0mco92fji7LKw", "cell_type": "markdown", "source": [ "After setting the desired target Partition, the Data present in the workspace is ready to be exported. ", @@ -52,7 +49,6 @@ "outputs": [] }, { - "id": "91ew-zbV-kyChbcoiWA4Pg", "cell_type": "markdown", "source": [ "# Select Initialization" @@ -62,7 +58,6 @@ "outputs": [] }, { - "id": "Qv_pfuGhMk6HAPOyqqo4RA", "cell_type": "markdown", "source": [ "Choose to run the Map Template either with the set of Systemorph data in memory or with the data present in the Database: ", @@ -76,7 +71,6 @@ "outputs": [] }, { - "id": "jYRWlCvih0ih3Qb-VCnJxw", "cell_type": "code", "source": [ "#!eval-notebook \"../Import/CloseImportTemplate\"" @@ -86,7 +80,6 @@ "outputs": [] }, { - "id": "f0i5Zqm2k0CiHXxvSxfEMw", "cell_type": "markdown", "source": [ "# Workspace Initialization " @@ -96,7 +89,6 @@ "outputs": [] }, { - "id": "eyUx5D6bFkeK-e_YOjcKcw", "cell_type": "markdown", "source": [ "Firstly, the Workspace is initialized with basic dimensions and with Data Nodes. For a list of the dimensions please refer to the DataModel/DataStructure notebook." @@ -106,7 +98,6 @@ "outputs": [] }, { - "id": "XLZRzQo0h0KkxPio3o_pQA", "cell_type": "code", "source": [ "Workspace.InitializeFrom(DataSource);" @@ -116,7 +107,6 @@ "outputs": [] }, { - "id": "yaG0mhZJ4USG66zLvyOp8A", "cell_type": "markdown", "source": [ "# Map Template: Data Node", @@ -128,7 +118,6 @@ "outputs": [] }, { - "id": "ZwUv99iEz0-BpQlAkBB0MQ", "cell_type": "markdown", "source": [ "## Set Partition" @@ -138,7 +127,6 @@ "outputs": [] }, { - "id": "KZS8p8Zgm0aL-Acn-8hUUQ", "cell_type": "code", "source": [ "static var partition = new PartitionByReportingNode() { ReportingNode = \"CH\" };", @@ -149,7 +137,6 @@ "outputs": [] }, { - "id": "L64PC131ukOuV4NLTc8U8g", "cell_type": "markdown", "source": [ "## Export" @@ -159,7 +146,6 @@ "outputs": [] }, { - "id": "36zerkOEh0ChbLDtD5sf9Q", "cell_type": "code", "source": [ "await Export.ToExcel(\"DataNodes\")", @@ -176,7 +162,6 @@ "outputs": [] }, { - "id": "LHS727tkQ06vfv6NhHl_sg", "cell_type": "markdown", "source": [ "# Map Template: Data Node State", @@ -188,7 +173,6 @@ "outputs": [] }, { - "id": "5jGzLrGmT0Gj9wlvkzSy9Q", "cell_type": "markdown", "source": [ "## Set Partition" @@ -198,7 +182,6 @@ "outputs": [] }, { - "id": "vV883PT1KUOnvMOnG7uAoA", "cell_type": "code", "source": [ "static var partition = new PartitionByReportingNodeAndPeriod() { ReportingNode = \"CH\", Year = 2020, Month = 12 };", @@ -209,7 +192,6 @@ "outputs": [] }, { - "id": "cGT1t9x9WkiwDWDsmfpnCw", "cell_type": "markdown", "source": [ "## Export" @@ -219,7 +201,6 @@ "outputs": [] }, { - "id": "3xILTNiIAk2QthF03nLqeQ", "cell_type": "markdown", "source": [ "The data is retrieved for the Workspace and prepared for export." @@ -229,7 +210,6 @@ "outputs": [] }, { - "id": "1WrPhQtQwkic6piAumGUmw", "cell_type": "code", "source": [ "var dataNodeStates = (await Workspace.Query()", @@ -244,7 +224,6 @@ "outputs": [] }, { - "id": "oJW1Sg5FsUyI5evdcvmJ_A", "cell_type": "markdown", "source": [ "Export is performed." @@ -254,7 +233,6 @@ "outputs": [] }, { - "id": "p2h3e_gKYkSWAenN52sRYQ", "cell_type": "code", "source": [ "await Export.ToExcel(\"DataNodeState\")", @@ -269,7 +247,6 @@ "outputs": [] }, { - "id": "B9bFvDffqES-eH1DaAJaEw", "cell_type": "markdown", "source": [ "# Map Template: Data Node Parameter", @@ -281,7 +258,6 @@ "outputs": [] }, { - "id": "ZvrsiiVNcU6R9eFqGvFb8A", "cell_type": "markdown", "source": [ "## Set Partition" @@ -291,7 +267,6 @@ "outputs": [] }, { - "id": "YFFB0fSxIEKDyRQ75hVt2g", "cell_type": "code", "source": [ "static var partition = new PartitionByReportingNodeAndPeriod() { ReportingNode = \"CH\", Year = 2020, Month = 12 };", @@ -302,7 +277,6 @@ "outputs": [] }, { - "id": "Iy02_lvUWkqaWMeXB2KfpQ", "cell_type": "markdown", "source": [ "## Export" @@ -312,7 +286,6 @@ "outputs": [] }, { - "id": "l2jxOmpye0iihraZH8DCdg", "cell_type": "markdown", "source": [ "The data is retrieved for the Workspace and prepared for export." @@ -322,7 +295,6 @@ "outputs": [] }, { - "id": "LYzzjVLUkk-ts_ulw22Z4A", "cell_type": "code", "source": [ "var dataNodeParameters = (await Workspace.Query()", @@ -339,7 +311,6 @@ "outputs": [] }, { - "id": "DVUmvzU18kiplnYxpVJ6Aw", "cell_type": "markdown", "source": [ "Export is performed." @@ -349,7 +320,6 @@ "outputs": [] }, { - "id": "CAMD-p4UT0CPgGf2pt0gDQ", "cell_type": "code", "source": [ "await Export.ToExcel(\"DataNodeParameter\")", @@ -363,7 +333,6 @@ "outputs": [] }, { - "id": "TMlydk8uOUKGO2LOiMpREw", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Import/CloseImportTemplate.ipynb b/full-ifrs17-template/Import/CloseImportTemplate.ipynb index 50d70692..6c27c72e 100644 --- a/full-ifrs17-template/Import/CloseImportTemplate.ipynb +++ b/full-ifrs17-template/Import/CloseImportTemplate.ipynb @@ -16,7 +16,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "FEKLEJqGf0Oz-qMZllkbng", "cell_type": "markdown", "source": [ "*Note: before configuring your data please refer to [Map Template](../Export/MapTemplate) Notebook.*" @@ -26,7 +25,6 @@ "outputs": [] }, { - "id": "hMb1v4Hbz0uLUbhvmm6Y1A", "cell_type": "markdown", "source": [ "

Close Import Template

" @@ -36,7 +34,6 @@ "outputs": [] }, { - "id": "ArK9WxF3XUGSRdpNv0aa0A", "cell_type": "markdown", "source": [ "All imports are triggered via the Import command. Several options can be fluently appended to customize the import action:", @@ -51,7 +48,6 @@ "outputs": [] }, { - "id": "D5wNqWFLo0-UlPV4sPO33A", "cell_type": "markdown", "source": [ "# Set up data and configuration", @@ -63,7 +59,6 @@ "outputs": [] }, { - "id": "c7It4DDk0UaGqiW6TZG_iA", "cell_type": "markdown", "source": [ "Choose to run the Close Import Template notebook either on top of the set of Systemorph data in memory or on top to the data present in the Database: ", @@ -77,7 +72,6 @@ "outputs": [] }, { - "id": "USHMPCizs0G_kBACuX-dDA", "cell_type": "code", "source": [ "#!eval-notebook \"../Initialization/InitSystemorphToMemory\"" @@ -87,7 +81,6 @@ "outputs": [] }, { - "id": "U3F6pMBgdUyHgBU8qjiYJQ", "cell_type": "markdown", "source": [ "# DataNode and Parameters", @@ -105,7 +98,6 @@ "outputs": [] }, { - "id": "AaFS-0j0sEWW5SxoRYq4Vw", "cell_type": "code", "source": [ "var pathToFile = \"../Files/DataNodes/DataNodes_CH.csv\";" @@ -115,7 +107,6 @@ "outputs": [] }, { - "id": "ubGP1EsDNUC7xBL5VK7W7Q", "cell_type": "code", "source": [ "var format = ImportFormats.DataNode;" @@ -125,7 +116,6 @@ "outputs": [] }, { - "id": "-tgk2OJzaUWeC73huuAIAg", "cell_type": "code", "source": [ "await Import.FromFile(pathToFile).WithFormat(format).WithTarget(DataSource).ExecuteAsync()" @@ -135,7 +125,6 @@ "outputs": [] }, { - "id": "HHeBgnlDRkui1KTpqRPtaA", "cell_type": "markdown", "source": [ "# Transactional Data", @@ -152,7 +141,6 @@ "outputs": [] }, { - "id": "FQeU-8odV0ql_WZJ1jHEWQ", "cell_type": "code", "source": [ "var pathToFile = \"../Files/TransactionalData/Openings_CH_2020_12.csv\";" @@ -162,7 +150,6 @@ "outputs": [] }, { - "id": "iNUyEWfT3EamYL5mRG4amg", "cell_type": "code", "source": [ "var format = ImportFormats.Opening;" @@ -172,7 +159,6 @@ "outputs": [] }, { - "id": "98WY7o4cn06YizVrcR94xA", "cell_type": "code", "source": [ "await Import.FromFile(pathToFile).WithFormat(format).WithTarget(DataSource).ExecuteAsync()" @@ -182,7 +168,6 @@ "outputs": [] }, { - "id": "19kLJ4wFEkqfyJbhSgoIcg", "cell_type": "markdown", "source": [ "# Workspace reset" @@ -192,7 +177,6 @@ "outputs": [] }, { - "id": "zd61cWGdzkGJptkix9ISbA", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());", diff --git a/full-ifrs17-template/Initialization/InitSystemorphBaseToMemory.ipynb b/full-ifrs17-template/Initialization/InitSystemorphBaseToMemory.ipynb index 7cd237ff..86be515b 100644 --- a/full-ifrs17-template/Initialization/InitSystemorphBaseToMemory.ipynb +++ b/full-ifrs17-template/Initialization/InitSystemorphBaseToMemory.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "Jw20XG4x1EilMCJAihQP9g", "cell_type": "markdown", "source": [ "

In Memory Initialization of unconfigured DataSource

", @@ -31,7 +30,6 @@ "outputs": [] }, { - "id": "CJ391fe1PkqmNCzrbe2e9A", "cell_type": "code", "source": [ "#!import \"../Constants/CalculationEngine\"", @@ -42,7 +40,6 @@ "outputs": [] }, { - "id": "6_xa9moxtkyL3ihz07u5jw", "cell_type": "markdown", "source": [ "# Set default DataSource" @@ -52,7 +49,6 @@ "outputs": [] }, { - "id": "bxuByZKrEEGaJlJhmI9osQ", "cell_type": "code", "source": [ "await DataSource.SetAsync();", @@ -63,7 +59,6 @@ "outputs": [] }, { - "id": "s0AlrC6liUWQOtiQVIhETw", "cell_type": "markdown", "source": [ "# Initialize Workspace" @@ -73,7 +68,6 @@ "outputs": [] }, { - "id": "z4343SXng06FxPSXN2Aeow", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -83,7 +77,6 @@ "outputs": [] }, { - "id": "WL51QeoKJUmjFus2UMroPw", "cell_type": "code", "source": [ "Workspace.InitializeFrom(DataSource);" @@ -93,7 +86,6 @@ "outputs": [] }, { - "id": "2-aLOC4J4kGoki0zyUlMYA", "cell_type": "markdown", "source": [ "# Import Dimensions, Partitions" @@ -103,7 +95,6 @@ "outputs": [] }, { - "id": "K0kR1Ex6GUuSxR9UWW6lAw", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/Dimensions.csv\")", @@ -134,7 +125,6 @@ "outputs": [] }, { - "id": "gQrym4Or-UK0l0KA6Oo1Ag", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/Dimensions.csv\").WithFormat(ImportFormats.AocConfiguration).WithTarget(DataSource).ExecuteAsync()" @@ -144,7 +134,6 @@ "outputs": [] }, { - "id": "pVnKfqXxqkOFmEN6oMqzXA", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/ReportingNodes/ReportingNodes.csv\").WithType().WithTarget(DataSource).ExecuteAsync()" @@ -154,7 +143,6 @@ "outputs": [] }, { - "id": "CeFL2feAYEm4_iQf1FF-kw", "cell_type": "markdown", "source": [ "# Import Parameters" @@ -164,7 +152,6 @@ "outputs": [] }, { - "id": "jh9UF6J2W0yN7wPYYlWH3A", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/Parameters/YieldCurve.csv\").WithType().SnapshotMode().WithTarget(DataSource).ExecuteAsync()" @@ -174,7 +161,6 @@ "outputs": [] }, { - "id": "-yXSxX1SlkCP7ItYBNxBzQ", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/Parameters/ExchangeRate.csv\").WithType().SnapshotMode().WithTarget(DataSource).ExecuteAsync()" @@ -184,7 +170,6 @@ "outputs": [] }, { - "id": "g62eclyU5keZInFB-XjOuA", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/Parameters/PartnerRating.csv\").WithType().SnapshotMode().WithTarget(DataSource).ExecuteAsync()" @@ -194,7 +179,6 @@ "outputs": [] }, { - "id": "DBD01bxBz0ybP_0ZJWx6pQ", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/Parameters/CreditDefaultRate.csv\").WithType().SnapshotMode().WithTarget(DataSource).ExecuteAsync()" @@ -204,7 +188,6 @@ "outputs": [] }, { - "id": "mzOil6-bnEOxaKRmzJkALA", "cell_type": "markdown", "source": [ "# Import DataNodes and DataNodeParameters" @@ -214,7 +197,6 @@ "outputs": [] }, { - "id": "7-ashq1f2UamoHI5eVd6TQ", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/DataNodes/DataNodes_CH.csv\").WithFormat(ImportFormats.DataNode).WithTarget(DataSource).ExecuteAsync()" @@ -224,7 +206,6 @@ "outputs": [] }, { - "id": "vfjAuDCj4E6udIDEPDpi5g", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/DataNodes/DataNodeStates_CH_2020_12.csv\").WithFormat(ImportFormats.DataNodeState).WithTarget(DataSource).ExecuteAsync()" @@ -234,7 +215,6 @@ "outputs": [] }, { - "id": "gyPlZm5h-kyEEdSBKnxjQw", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/DataNodes/DataNodeParameters_CH_2020_12.csv\").WithFormat(ImportFormats.DataNodeParameter).WithTarget(DataSource).ExecuteAsync()" @@ -244,7 +224,6 @@ "outputs": [] }, { - "id": "j9T1pkXp8Ui_6fUppmZStQ", "cell_type": "markdown", "source": [ "# Reset Workspace" @@ -254,7 +233,6 @@ "outputs": [] }, { - "id": "oIEu2CZCckC-kJlVOOIFUA", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -264,7 +242,6 @@ "outputs": [] }, { - "id": "jPzyibohbkO7BcQpOMcOfg", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Initialization/InitSystemorphToDatabase.ipynb b/full-ifrs17-template/Initialization/InitSystemorphToDatabase.ipynb index 21faf6db..e1bf22ca 100644 --- a/full-ifrs17-template/Initialization/InitSystemorphToDatabase.ipynb +++ b/full-ifrs17-template/Initialization/InitSystemorphToDatabase.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "dXiMOEAkhUS3szd2gfF6AA", "cell_type": "markdown", "source": [ "

Physical Database Initialization

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "_W0Ol9Yp9UeBergpPJwHJQ", "cell_type": "code", "source": [ "#!import \"../Database/Configure\"" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "65YliV-tKkmoSPy38bJF1Q", "cell_type": "markdown", "source": [ "# Initialize Workspace" @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "a-PRJMIuu0-d1Wc9Vdzexw", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules());" @@ -58,7 +54,6 @@ "outputs": [] }, { - "id": "MiNtGH15D0yiZ7EBxZapSw", "cell_type": "code", "source": [ "Workspace.InitializeFrom(DataSource);" @@ -68,7 +63,6 @@ "outputs": [] }, { - "id": "ly36ekMIOEmIr3ecEcrcLw", "cell_type": "markdown", "source": [ "# Import Dimensions, Partitions" @@ -78,7 +72,6 @@ "outputs": [] }, { - "id": "x-MizAOJUE2I94Jd_HMpBA", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/Dimensions.csv\")", @@ -110,7 +103,6 @@ "outputs": [] }, { - "id": "dH5kihXlfU-Ipg3yKL6HZQ", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/ReportingNodes/ReportingNodes.csv\").WithType().WithTarget(DataSource).ExecuteAsync()" @@ -120,7 +112,6 @@ "outputs": [] }, { - "id": "ptLGGIqwaU-rOpJwqkDPMQ", "cell_type": "markdown", "source": [ "# Import Parameters" @@ -130,7 +121,6 @@ "outputs": [] }, { - "id": "nyVjHWMCwkq5BzpPbVxpSg", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/Parameters/YieldCurve.csv\").WithType().SnapshotMode().WithTarget(DataSource).ExecuteAsync()" @@ -140,7 +130,6 @@ "outputs": [] }, { - "id": "EnJEQa5B1kSZWSMWzVP6iQ", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/Parameters/ExchangeRate.csv\").WithType().SnapshotMode().WithTarget(DataSource).ExecuteAsync()" @@ -150,7 +139,6 @@ "outputs": [] }, { - "id": "nlxEPvEV8ke7pYuCdyx_Kw", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/Parameters/PartnerRating.csv\").WithType().SnapshotMode().WithTarget(DataSource).ExecuteAsync()" @@ -160,7 +148,6 @@ "outputs": [] }, { - "id": "MKh8LPhn8EWNCzMIjw0FPg", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/Parameters/CreditDefaultRate.csv\").WithType().SnapshotMode().WithTarget(DataSource).ExecuteAsync()" @@ -170,7 +157,6 @@ "outputs": [] }, { - "id": "6Lg4ijhfp02NEI7_K7WLeg", "cell_type": "markdown", "source": [ "# Import DataNodes and DataNodeParameters" @@ -180,7 +166,6 @@ "outputs": [] }, { - "id": "wybN1I0PzE60Q8fsBQncNA", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/DataNodes/DataNodes_CH.csv\").WithFormat(ImportFormats.DataNode).WithTarget(DataSource).ExecuteAsync()" @@ -190,7 +175,6 @@ "outputs": [] }, { - "id": "lDVi2RgwC0KBfSTM0haXLA", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/DataNodes/DataNodeStates_CH_2020_12.csv\").WithFormat(ImportFormats.DataNodeState).WithTarget(DataSource).ExecuteAsync()" @@ -200,7 +184,6 @@ "outputs": [] }, { - "id": "RZGXHFwlhUa4QElkgnabrA", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/DataNodes/DataNodeParameters_CH_2020_12.csv\").WithFormat(ImportFormats.DataNodeParameter).WithTarget(DataSource).ExecuteAsync()" @@ -210,7 +193,6 @@ "outputs": [] }, { - "id": "ZRzbVWjGt0CQWMBmcdV6xA", "cell_type": "markdown", "source": [ "# Import Cashflow and Actuals" @@ -220,7 +202,6 @@ "outputs": [] }, { - "id": "AQ2a6_t30kK9G1SpuPzbXA", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/Openings_CH_2020_12.csv\").WithFormat(ImportFormats.Opening).WithTarget(DataSource).ExecuteAsync()" @@ -230,7 +211,6 @@ "outputs": [] }, { - "id": "czdzFh4XYE6tgQIH0X5PeQ", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2020_12.csv\").WithFormat(ImportFormats.Cashflow).WithTarget(DataSource).ExecuteAsync()" @@ -240,7 +220,6 @@ "outputs": [] }, { - "id": "4oyINCcm00aOGDsmy3uYCg", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2020_12.csv\").WithFormat(ImportFormats.Actual).WithTarget(DataSource).ExecuteAsync()" @@ -250,7 +229,6 @@ "outputs": [] }, { - "id": "4QCb8Aedd0SGt_lDSgoLZg", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2021_3.csv\").WithFormat(ImportFormats.Cashflow).WithTarget(DataSource).ExecuteAsync()" @@ -260,7 +238,6 @@ "outputs": [] }, { - "id": "PpdBhbl5XUOHeuneQTuqHg", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2021_3.csv\").WithFormat(ImportFormats.Actual).WithTarget(DataSource).ExecuteAsync()" @@ -270,7 +247,6 @@ "outputs": [] }, { - "id": "cuqbrXADgESQzMGmdJNbKA", "cell_type": "markdown", "source": [ "# Reset Workspace" @@ -280,7 +256,6 @@ "outputs": [] }, { - "id": "yH5itqeYMkKbcSt0cjJdBw", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -290,7 +265,6 @@ "outputs": [] }, { - "id": "hQT5R1kCBUSQ-acs3AO6yg", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Initialization/InitSystemorphToMemory.ipynb b/full-ifrs17-template/Initialization/InitSystemorphToMemory.ipynb index c3796999..92e0deb5 100644 --- a/full-ifrs17-template/Initialization/InitSystemorphToMemory.ipynb +++ b/full-ifrs17-template/Initialization/InitSystemorphToMemory.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "cbbGg6wjDk-TVYeStR4qBQ", "cell_type": "markdown", "source": [ "

In Memory Initialization of unconfigured DataSource

", @@ -30,7 +29,6 @@ "outputs": [] }, { - "id": "IpRteNYsKEaP0_-LNWk1cw", "cell_type": "code", "source": [ "#!eval-notebook \"InitSystemorphBaseToMemory\"" @@ -40,7 +38,6 @@ "outputs": [] }, { - "id": "SoE3gUys8EKp3ltftwtJ6A", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -50,7 +47,6 @@ "outputs": [] }, { - "id": "a7zceRktk0Oj53N2bl_YgQ", "cell_type": "code", "source": [ "Workspace.InitializeFrom(DataSource);" @@ -60,7 +56,6 @@ "outputs": [] }, { - "id": "VNVvjMUDfUyw_34VpV0mKw", "cell_type": "markdown", "source": [ "# Import of Transactional Data" @@ -70,7 +65,6 @@ "outputs": [] }, { - "id": "fUkB1KS4Uk-UGYu3OGnZVQ", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/Openings_CH_2020_12.csv\").WithFormat(ImportFormats.Opening).WithTarget(DataSource).ExecuteAsync()" @@ -80,7 +74,6 @@ "outputs": [] }, { - "id": "4eI7O5E33kO7J2A17OzgkQ", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2020_12.csv\").WithFormat(ImportFormats.Cashflow).WithTarget(DataSource).ExecuteAsync()" @@ -90,7 +83,6 @@ "outputs": [] }, { - "id": "yZwiP28TokCPvTjooQvb3w", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2020_12.csv\").WithFormat(ImportFormats.Actual).WithTarget(DataSource).ExecuteAsync()" @@ -100,7 +92,6 @@ "outputs": [] }, { - "id": "-pwL5OY8Zk-MVsjCcc0GBw", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2021_3.csv\").WithFormat(ImportFormats.Cashflow).WithTarget(DataSource).ExecuteAsync()" @@ -110,7 +101,6 @@ "outputs": [] }, { - "id": "_BBWqUgvVEGssR-nINMZzw", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2021_3.csv\").WithFormat(ImportFormats.Actual).WithTarget(DataSource).ExecuteAsync()" @@ -120,7 +110,6 @@ "outputs": [] }, { - "id": "fZkRZKEuA0yPF2yeLMm9Nw", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/SimpleValue_CH_2020_12.csv\").WithFormat(ImportFormats.SimpleValue ).WithTarget(DataSource).ExecuteAsync()" @@ -130,7 +119,6 @@ "outputs": [] }, { - "id": "n9gNpRaqN0OZp7FW0xzn8Q", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2020_12_MTUP10pct.csv\").WithFormat(ImportFormats.Cashflow).WithTarget(DataSource).ExecuteAsync()" @@ -140,7 +128,6 @@ "outputs": [] }, { - "id": "nT-Kxk8_wEmlJuFiTIyo4g", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2020_12_MTUP10pct.csv\").WithFormat(ImportFormats.Actual).WithTarget(DataSource).ExecuteAsync()" @@ -150,7 +137,6 @@ "outputs": [] }, { - "id": "RxVrDBGSckmToNXY8u0qNA", "cell_type": "markdown", "source": [ "# Reset Workspace" @@ -160,7 +146,6 @@ "outputs": [] }, { - "id": "zJuYHgo2HkKTEErlOcc0tg", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -170,7 +155,6 @@ "outputs": [] }, { - "id": "1OoKa9wkCkSVyawbxgUPJA", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/InputFormatDescription.ipynb b/full-ifrs17-template/InputFormatDescription.ipynb index 02a51dce..691a245c 100644 --- a/full-ifrs17-template/InputFormatDescription.ipynb +++ b/full-ifrs17-template/InputFormatDescription.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "KxjjzFMIGE2XG47MupU_Rw", "cell_type": "markdown", "source": [ "

Structure of the Cashflows, Actuals and Openings Files

", @@ -36,7 +35,6 @@ "outputs": [] }, { - "id": "b_ujMXfzKkK739lQz4lDLA", "cell_type": "markdown", "source": [ "A cashflow file is named **NominalCashflows** *\\_* *\\_* *\\_* and is composed of two sections: **Main** and **Cashflow**.", @@ -58,7 +56,6 @@ "outputs": [] }, { - "id": "3ZvTFE0td0OhuzUYPSQNYg", "cell_type": "markdown", "source": [ "", @@ -72,7 +69,6 @@ "outputs": [] }, { - "id": "TmexPVnf9UOLk5M-rBIOFQ", "cell_type": "markdown", "source": [ "An Actuals file is named **Actuals** *\\_* *\\_* *\\_* and is composed of two sections: **Main** and **Actual**.", @@ -90,7 +86,6 @@ "outputs": [] }, { - "id": "8q7t_L66eUCR0RPDomX5vw", "cell_type": "markdown", "source": [ "", @@ -104,7 +99,6 @@ "outputs": [] }, { - "id": "KeCG80BBU0mkKTrFyzYswg", "cell_type": "markdown", "source": [ "An Openings file is named **Openings** *\\_* *\\_* *\\_* and is composed of two sections: **Main** and **Opening**. In an AoC for one period, we only need one file with the year/month combination of the beginning of the period. Some GICs do not need any entries in Openings.", diff --git a/full-ifrs17-template/OverviewIFRS17Template.ipynb b/full-ifrs17-template/OverviewIFRS17Template.ipynb index 46b1daf1..e20401bf 100644 --- a/full-ifrs17-template/OverviewIFRS17Template.ipynb +++ b/full-ifrs17-template/OverviewIFRS17Template.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "XqP6oT3oEUG8gfJACppeEA", "cell_type": "markdown", "source": [ "

IFRS17 Template - an Overview

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "fLQXzK7btES7Yy94RU7hPg", "cell_type": "markdown", "source": [ "# Introduction", @@ -44,7 +42,6 @@ "outputs": [] }, { - "id": "mgx2RMH1lU2loBaAni5g_A", "cell_type": "markdown", "source": [ "", @@ -80,7 +77,6 @@ "outputs": [] }, { - "id": "MzVwAqqUUU2txhGSipf7JQ", "cell_type": "markdown", "source": [ "# Data input", @@ -92,7 +88,6 @@ "outputs": [] }, { - "id": "nWSvAb7SxEKuYE10AgcJ3g", "cell_type": "markdown", "source": [ "", @@ -109,7 +104,6 @@ "outputs": [] }, { - "id": "Y-wDmfD8GUCqW-pX9i8oLA", "cell_type": "markdown", "source": [ "", @@ -129,7 +123,6 @@ "outputs": [] }, { - "id": "EeU9UVGsoEuSU1mmM-28cQ", "cell_type": "markdown", "source": [ "", @@ -152,7 +145,6 @@ "outputs": [] }, { - "id": "sLBXsjIWDUuSBmO6_bb3aQ", "cell_type": "markdown", "source": [ "", @@ -176,7 +168,6 @@ "outputs": [] }, { - "id": "EKBiTpxkLkKpIEhzVuZ-kw", "cell_type": "markdown", "source": [ "# Initialization", @@ -198,7 +189,6 @@ "outputs": [] }, { - "id": "ovtyPj3BG0OpMirbW0a-vg", "cell_type": "markdown", "source": [ "" @@ -208,7 +198,6 @@ "outputs": [] }, { - "id": "A_hBKHHrgEWrhwl60wgegQ", "cell_type": "markdown", "source": [ "", diff --git a/full-ifrs17-template/Report/Reports.ipynb b/full-ifrs17-template/Report/Reports.ipynb index 771699ba..e7e1391c 100644 --- a/full-ifrs17-template/Report/Reports.ipynb +++ b/full-ifrs17-template/Report/Reports.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "u7uIwzix5EikOZED39lDSQ", "cell_type": "markdown", "source": [ "", @@ -29,7 +28,6 @@ "outputs": [] }, { - "id": "4igmSVIW0E6Kv5_vkT9DLg", "cell_type": "markdown", "source": [ "For demonstration purposes we import here data for some *Group of Insurance Contract* (GIC) and *Group of Reinsurance Contract* (GRIC) - the import is triggered in the [Set up data and configuration](#set-up-data-and-configuration).", @@ -44,7 +42,6 @@ "outputs": [] }, { - "id": "hLLR1wkcZkyJXyEFLqPMMA", "cell_type": "markdown", "source": [ "# Set up data and configuration", @@ -60,7 +57,6 @@ "outputs": [] }, { - "id": "eKD8BZm_xUOZQuA6m8UmTg", "cell_type": "code", "source": [ "#!eval-notebook \"../Import/CloseImportTemplate\"" @@ -70,7 +66,6 @@ "outputs": [] }, { - "id": "U7KdEKhA_EOYfJ4pQQNz5A", "cell_type": "code", "source": [ "Workspace.InitializeFrom(DataSource);", @@ -81,7 +76,6 @@ "outputs": [] }, { - "id": "poAVlQqeLkiV37sb_NpveQ", "cell_type": "markdown", "source": [ "# Best Estimate", @@ -98,7 +92,6 @@ "outputs": [] }, { - "id": "vtm0lBQIJEGfynjBvvZOrA", "cell_type": "code", "source": [ "var pvReport = ifrs17Report.PresentValues;", @@ -114,7 +107,6 @@ "outputs": [] }, { - "id": "ldw5kzK-mUSWoT7wyZhjcw", "cell_type": "markdown", "source": [ "# Risk Adjustment", @@ -128,7 +120,6 @@ "outputs": [] }, { - "id": "6qXICBD8FUOKmE7kKFNOdw", "cell_type": "code", "source": [ "var raReport = ifrs17Report.RiskAdjustments;", @@ -143,7 +134,6 @@ "outputs": [] }, { - "id": "v073-6zoBUOkEN0NkPMINA", "cell_type": "markdown", "source": [ "# Written Actuals", @@ -158,7 +148,6 @@ "outputs": [] }, { - "id": "Bqo2fJLwn02ro4jOw7UcAQ", "cell_type": "code", "source": [ "var writtenActualReport = ifrs17Report.WrittenActuals;", @@ -173,7 +162,6 @@ "outputs": [] }, { - "id": "h3gavlvtO0u2bh1A333Oew", "cell_type": "markdown", "source": [ "## Advance, Overdue Actuals", @@ -188,7 +176,6 @@ "outputs": [] }, { - "id": "g5vadolJpEykmOcUutrCRg", "cell_type": "code", "source": [ "var accrualActualReport = ifrs17Report.AccrualActuals;", @@ -203,7 +190,6 @@ "outputs": [] }, { - "id": "yxg6Q5NzBE2TOmApSlpCKw", "cell_type": "markdown", "source": [ "## Deferrable Actuals", @@ -215,7 +201,6 @@ "outputs": [] }, { - "id": "1I7E2WC9I0SuubPYwDRh0w", "cell_type": "code", "source": [ "var deferrableActualReport = ifrs17Report.DeferralActuals;", @@ -230,7 +215,6 @@ "outputs": [] }, { - "id": "b21x1Qg4zka-PSLZ2_VVtw", "cell_type": "markdown", "source": [ "# Fulfilment Cashflow", @@ -246,7 +230,6 @@ "outputs": [] }, { - "id": "fQuP9scuY0GkBt5BDKH4rQ", "cell_type": "code", "source": [ "var fulfillmentCashflowsReport = ifrs17Report.FulfillmentCashflows;", @@ -261,7 +244,6 @@ "outputs": [] }, { - "id": "-Klq4DH4K0qG8aZqN3oSew", "cell_type": "markdown", "source": [ "# Actuarial Experience Adjustment", @@ -273,7 +255,6 @@ "outputs": [] }, { - "id": "Ed6yzeiYa0-3UyyBO7W0Rg", "cell_type": "code", "source": [ "var experienceAdjustmentsReport = ifrs17Report.ExperienceAdjustments;", @@ -288,7 +269,6 @@ "outputs": [] }, { - "id": "5cscmHZq0U2qZkBjPplHRA", "cell_type": "markdown", "source": [ "# LRC Technical Margin", @@ -301,7 +281,6 @@ "outputs": [] }, { - "id": "a3POL_T-EUqCOxc6-th4Ew", "cell_type": "code", "source": [ "var technicalMarginsReport = ifrs17Report.TechnicalMargins;", @@ -316,7 +295,6 @@ "outputs": [] }, { - "id": "gPdzoyThOU--U7xX2ECoQQ", "cell_type": "markdown", "source": [ "# Contractual Service Margin / Loss Component / Loss Recovery Component", @@ -330,7 +308,6 @@ "outputs": [] }, { - "id": "FmXWfR1g2EmvLBkN1e-E9w", "cell_type": "code", "source": [ "var allocatedTechnicalMarginsReport = ifrs17Report.AllocatedTechnicalMargins;", @@ -345,7 +322,6 @@ "outputs": [] }, { - "id": "wy3GYkeG5UKsa50J8R17YQ", "cell_type": "markdown", "source": [ "# LRC Actuarial", @@ -357,7 +333,6 @@ "outputs": [] }, { - "id": "Xpp0x9HDlkihJkci0h4Fmw", "cell_type": "code", "source": [ "var actuarialLrcReport = ifrs17Report.ActuarialLrc;", @@ -372,7 +347,6 @@ "outputs": [] }, { - "id": "k6LnLkmNYkytkmkTkJLNJg", "cell_type": "markdown", "source": [ "# LRC", @@ -384,7 +358,6 @@ "outputs": [] }, { - "id": "pnSRXZw4G0mlrw6Balh3Eg", "cell_type": "code", "source": [ "var lrcReport = ifrs17Report.Lrc;", @@ -399,7 +372,6 @@ "outputs": [] }, { - "id": "IEpuI6z2ZkSjC4N-wWpnXw", "cell_type": "markdown", "source": [ "# LIC Actuarial", @@ -411,7 +383,6 @@ "outputs": [] }, { - "id": "yS3hZ7c9YEWHWZPTNX-rhw", "cell_type": "code", "source": [ "var actuarialLicReport = ifrs17Report.ActuarialLic;", @@ -426,7 +397,6 @@ "outputs": [] }, { - "id": "bo9xgnvtk0CRHOeS9vTULg", "cell_type": "markdown", "source": [ "# LIC", @@ -438,7 +408,6 @@ "outputs": [] }, { - "id": "88vqIH2CvUaR5ukjOZzJwQ", "cell_type": "code", "source": [ "var licReport = ifrs17Report.Lic;", @@ -453,7 +422,6 @@ "outputs": [] }, { - "id": "euXCVCpFJ0-az91gK8ZAjg", "cell_type": "markdown", "source": [ "# Financial Performance", @@ -467,7 +435,6 @@ "outputs": [] }, { - "id": "s-A7Z24en0CV_hj-p9F5rQ", "cell_type": "code", "source": [ "var financialPerformanceReport = ifrs17Report.FinancialPerformance;", @@ -482,7 +449,6 @@ "outputs": [] }, { - "id": "K9KFyJWxWEeHa2Pc1M54LQ", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Test/AocStructureTest.ipynb b/full-ifrs17-template/Test/AocStructureTest.ipynb index b84e90da..36b7fec6 100644 --- a/full-ifrs17-template/Test/AocStructureTest.ipynb +++ b/full-ifrs17-template/Test/AocStructureTest.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "2SRO3ShzLkaZ7qWN8RvZ7Q", "cell_type": "markdown", "source": [ "

Test Aoc Management

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "M1VllEPGS0OhlSQ3uJd1eQ", "cell_type": "code", "source": [ "#!eval-notebook \"../Initialization/InitSystemorphBaseToMemory\"" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "hNl7XCToMUKSzhT3hzDPeQ", "cell_type": "markdown", "source": [ "# Workspace Initialization " @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "bQMzNpxXeUuoDw7sLQ_FJA", "cell_type": "code", "source": [ "Workspace.Initialize(x => x.FromSource(DataSource)", @@ -60,7 +56,6 @@ "outputs": [] }, { - "id": "_wLRhB1_zkK24aHF4LmP7Q", "cell_type": "markdown", "source": [ "# Test" @@ -70,7 +65,6 @@ "outputs": [] }, { - "id": "vNuhxD_Qo0GuHabTN1NA5g", "cell_type": "code", "source": [ "var reportingNode = \"CH\";", @@ -81,7 +75,6 @@ "outputs": [] }, { - "id": "9v46vtb-bUqHEbNG5SyPhw", "cell_type": "code", "source": [ "//Define partition", @@ -99,7 +92,6 @@ "outputs": [] }, { - "id": "Btn83FlNYE6_Ql5XGVzmIg", "cell_type": "code", "source": [ "public async Task CheckAocStepStructureAsync(IEnumerable inputVariables, ", @@ -248,7 +240,6 @@ "outputs": [] }, { - "id": "aFfmV7Ms80WfX9f9H0_wXQ", "cell_type": "markdown", "source": [ "# Use Cases" @@ -258,7 +249,6 @@ "outputs": [] }, { - "id": "mzSm3LewcEmN0pzLELyAoQ", "cell_type": "markdown", "source": [ "## Gross Cashflow: InForce, NewBusiness, and Combined" @@ -268,7 +258,6 @@ "outputs": [] }, { - "id": "_4kokfPYeUyHMwvE0QmYfA", "cell_type": "code", "source": [ "var groupOfContract = \"DT1.1\";" @@ -278,7 +267,6 @@ "outputs": [] }, { - "id": "0e0Hl6UeEkeKZFmm1F23BA", "cell_type": "code", "source": [ "var inputRawVariables = new RawVariable[]{", @@ -294,7 +282,6 @@ "outputs": [] }, { - "id": "Dz725xYrTU2lcT7unwrpWg", "cell_type": "code", "source": [ "var parentBm = new Dictionary>()", @@ -310,7 +297,6 @@ "outputs": [] }, { - "id": "gJi4A4oY9kSR1jm_-0Ottw", "cell_type": "code", "source": [ "var referenceBm = new Dictionary()", @@ -336,7 +322,6 @@ "outputs": [] }, { - "id": "o71ZpBEymEioQHtRrczoDw", "cell_type": "code", "source": [ "var fullAocBm = new Dictionary>()", @@ -374,7 +359,6 @@ "outputs": [] }, { - "id": "c2lCvWF2M0KxFyXg23xR5Q", "cell_type": "code", "source": [ "await CheckAocStepStructureAsync(inputRawVariables, parentBm, referenceBm, fullAocBm)" @@ -384,7 +368,6 @@ "outputs": [] }, { - "id": "fQPs1GfVgUGI3A2oi6ES_Q", "cell_type": "markdown", "source": [ "## Reinsurance Cashflow: InForce, NewBusiness, and Combined" @@ -394,7 +377,6 @@ "outputs": [] }, { - "id": "Y5UQw3aQ00Kwj2FwQlwFqA", "cell_type": "code", "source": [ "groupOfContract = \"DTR1.1\";" @@ -404,7 +386,6 @@ "outputs": [] }, { - "id": "gmZ98jyVhE-gKbFFWdRM_A", "cell_type": "code", "source": [ "inputRawVariables = new RawVariable[]{", @@ -420,7 +401,6 @@ "outputs": [] }, { - "id": "CASGAQ4Tfk-r5qegnk_VTg", "cell_type": "code", "source": [ "parentBm = new Dictionary>()", @@ -437,7 +417,6 @@ "outputs": [] }, { - "id": "CLL4jQwmfEe6fmoqWNjZGw", "cell_type": "code", "source": [ "var parentBm_CDR = new Dictionary>()", @@ -454,7 +433,6 @@ "outputs": [] }, { - "id": "6WWtvNB4FUO7jnbMl-3d6Q", "cell_type": "code", "source": [ "referenceBm = new Dictionary()", @@ -482,7 +460,6 @@ "outputs": [] }, { - "id": "I_If6UTWpUCQqU0iKSjSng", "cell_type": "code", "source": [ "fullAocBm = new Dictionary>()", @@ -523,7 +500,6 @@ "outputs": [] }, { - "id": "HtMAFjHCU0qgleOtt6J70A", "cell_type": "code", "source": [ "await CheckAocStepStructureAsync(inputRawVariables, parentBm, referenceBm, fullAocBm, parentBm_CDR)" @@ -533,7 +509,6 @@ "outputs": [] }, { - "id": "C7fWPcfSOU2tKgZUhmqOQA", "cell_type": "markdown", "source": [ "## Cashflow: InForce, and Combined" @@ -543,7 +518,6 @@ "outputs": [] }, { - "id": "zKke0guumkSXcJBCS71Uew", "cell_type": "code", "source": [ "var groupOfContract = \"DT1.1\";" @@ -553,7 +527,6 @@ "outputs": [] }, { - "id": "_18dqpvWvUqCFX2z2M5WfA", "cell_type": "code", "source": [ "inputRawVariables = new RawVariable[]{", @@ -567,7 +540,6 @@ "outputs": [] }, { - "id": "9J919h-K1kqu1tAGwVWYdw", "cell_type": "code", "source": [ "parentBm = new Dictionary>()", @@ -582,7 +554,6 @@ "outputs": [] }, { - "id": "ZE7AsxQoG02Qol7pRFbtXA", "cell_type": "code", "source": [ "referenceBm = new Dictionary()", @@ -604,7 +575,6 @@ "outputs": [] }, { - "id": "Ay6veykrjkKNWneUWBpL7Q", "cell_type": "code", "source": [ "fullAocBm = new Dictionary>()", @@ -632,7 +602,6 @@ "outputs": [] }, { - "id": "eHYrP4DJXUy7BsFDUCcJwg", "cell_type": "code", "source": [ "await CheckAocStepStructureAsync(inputRawVariables, parentBm, referenceBm, fullAocBm)" @@ -642,7 +611,6 @@ "outputs": [] }, { - "id": "m7BQFO0kqUiHx6TEe7OuIw", "cell_type": "markdown", "source": [ "## Actual" @@ -652,7 +620,6 @@ "outputs": [] }, { - "id": "_ic5CYtWrE24qDPr1qGI1Q", "cell_type": "code", "source": [ "var groupOfContract = \"DT1.1\";" @@ -662,7 +629,6 @@ "outputs": [] }, { - "id": "uANg5ulWwkiuBtfSR0K1eg", "cell_type": "code", "source": [ "var inputIfrsVariables = new IfrsVariable[]{", @@ -677,7 +643,6 @@ "outputs": [] }, { - "id": "l0y2QdR_O0mtdza797CLAw", "cell_type": "code", "source": [ "parentBm = null;" @@ -687,7 +652,6 @@ "outputs": [] }, { - "id": "SnSLmJ6Ph0SdiyWLD5gXAg", "cell_type": "code", "source": [ "referenceBm = null;" @@ -697,7 +661,6 @@ "outputs": [] }, { - "id": "pFoRvT0Vj0qccKEeuynz9w", "cell_type": "code", "source": [ "fullAocBm = new Dictionary>()", @@ -714,7 +677,6 @@ "outputs": [] }, { - "id": "fCPrGixu902KzS2gDA_COA", "cell_type": "code", "source": [ "await CheckAocStepStructureAsync(inputIfrsVariables, parentBm, referenceBm, fullAocBm)" @@ -724,7 +686,6 @@ "outputs": [] }, { - "id": "UKC3B3KBzEu2chdA44RYWQ", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Test/ExportIfrsVariable.ipynb b/full-ifrs17-template/Test/ExportIfrsVariable.ipynb index 268dbcda..3370546c 100644 --- a/full-ifrs17-template/Test/ExportIfrsVariable.ipynb +++ b/full-ifrs17-template/Test/ExportIfrsVariable.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "gyniYqnKikqyyeZwKE3w_A", "cell_type": "markdown", "source": [ "

Test Reports

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "b-vYp0gzsEG2ZbVtT_7kZA", "cell_type": "code", "source": [ "#!eval-notebook \"../Initialization/InitSystemorphToMemory\"" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "AnHy7aq_1UCdpDokxEg1ug", "cell_type": "markdown", "source": [ "# BenchMarks" @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "jYkLXYmEE0SzZNcORVzVyg", "cell_type": "code", "source": [ "var pathToBm = \"./Data/ReportBenchmarks/\";" @@ -58,7 +54,6 @@ "outputs": [] }, { - "id": "ntINVSp7zUe_bdSYQISwRQ", "cell_type": "code", "source": [ "var argsArray = new ImportArgs[]{", @@ -71,7 +66,6 @@ "outputs": [] }, { - "id": "XQD2qkj4kEmun05vfKjBXg", "cell_type": "code", "source": [ "var scenario = \"MTUP10pct\";" @@ -81,7 +75,6 @@ "outputs": [] }, { - "id": "K0v3eoXQ-0GR5wQUavZZdA", "cell_type": "code", "source": [ "var args = new ImportArgs (\"CH\", 2020, 12, Periodicity.Quarterly, scenario, null);", @@ -93,7 +86,6 @@ "outputs": [] }, { - "id": "RLE-nEp_AEC80dTOOpOuEw", "cell_type": "code", "source": [ "(0, computedVariables.Keys)" @@ -103,7 +95,6 @@ "outputs": [] }, { - "id": "JLu16Jzr1E2J_BrBOUhoAQ", "cell_type": "code", "source": [ "var estimateType = \"BEPA\";", @@ -129,7 +120,6 @@ "outputs": [] }, { - "id": "VMRDuKeShkua9CR3XEa9Uw", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Test/ExportReportVariables.ipynb b/full-ifrs17-template/Test/ExportReportVariables.ipynb index d9e1a630..74b2f841 100644 --- a/full-ifrs17-template/Test/ExportReportVariables.ipynb +++ b/full-ifrs17-template/Test/ExportReportVariables.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "w3hTos8PYE2anJHmCX5-og", "cell_type": "markdown", "source": [ "

Report Variable Exporter

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "HpEqqWuC7kuRLHoeY6YLaA", "cell_type": "markdown", "source": [ "# Infrastructure and Configuration" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "3Gteb02znkyyorr1rK8qrg", "cell_type": "markdown", "source": [ "## Initialize Workspace" @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "CHzk0G-F6EqVRewucQ24Tw", "cell_type": "code", "source": [ "#!eval-notebook \"../Initialization/InitSystemorphToMemory\"" @@ -58,7 +54,6 @@ "outputs": [] }, { - "id": "BYSXWDg9fkKVxwArMwDo2w", "cell_type": "code", "source": [ "Workspace.InitializeFrom(DataSource);" @@ -68,7 +63,6 @@ "outputs": [] }, { - "id": "EhBxY5wLOkSrpUozXxisOA", "cell_type": "markdown", "source": [ "## Imports and Configurations" @@ -78,7 +72,6 @@ "outputs": [] }, { - "id": "S02JZwmkG0epPmZbsUR7dg", "cell_type": "code", "source": [ "#!import \"ReportVariablesTestBase\"" @@ -88,7 +81,6 @@ "outputs": [] }, { - "id": "oJbkEK0FXkirjq30Wu873w", "cell_type": "markdown", "source": [ "## Storage" @@ -98,7 +90,6 @@ "outputs": [] }, { - "id": "r-VrgwtMV0WNk2B4EJSZ7w", "cell_type": "code", "source": [ "var reportStorage = new ReportStorage(Workspace, Report);", @@ -109,7 +100,6 @@ "outputs": [] }, { - "id": "D2-Sfwcbk0S_kDpIUPw9qw", "cell_type": "markdown", "source": [ "## Configurations" @@ -119,7 +109,6 @@ "outputs": [] }, { - "id": "fST1ooZG606uxzvrn9n86w", "cell_type": "code", "source": [ "//var path = \"./Data/ReportVariableBenchmarks/\";" @@ -129,7 +118,6 @@ "outputs": [] }, { - "id": "YG-CpjjbQk6oQcpgxXt23w", "cell_type": "markdown", "source": [ "# Defining Scope for the Reports and Tests" @@ -139,7 +127,6 @@ "outputs": [] }, { - "id": "_0V0ZWihnk-d3zNj56ZvcQ", "cell_type": "markdown", "source": [ "### Defining the Period and Reporting Node (...) for the Reports" @@ -149,7 +136,6 @@ "outputs": [] }, { - "id": "QPJPvzqJqU20dfRXkgSKCA", "cell_type": "code", "source": [ "((int Year, int Month) Period, string ReportingNode, string Scenario, CurrencyType CurrencyType)[] exportScope = {", @@ -167,7 +153,6 @@ "outputs": [] }, { - "id": "doLfGk3ZY0O0B-1OJ93Eww", "cell_type": "markdown", "source": [ "# Export" @@ -177,7 +162,6 @@ "outputs": [] }, { - "id": "J-gceJlUTEWA3b-_lA8jqQ", "cell_type": "code", "source": [ "// foreach(var args in exportScope){", @@ -191,7 +175,6 @@ "outputs": [] }, { - "id": "wimBAI-AxUamvGEoBsgvLQ", "cell_type": "code", "source": [ "var args = exportScope.First();" @@ -201,7 +184,6 @@ "outputs": [] }, { - "id": "g7w8cfsKC0uqqa8Hk-tvig", "cell_type": "code", "source": [ "var scopesData = await GetScopesDataAsync(args, reportStorage, Scopes);", @@ -212,7 +194,6 @@ "outputs": [] }, { - "id": "qIKmkC8tI0afnRzqSzu3Bg", "cell_type": "code", "source": [ "await Export.ToCsv(bmFileName)", diff --git a/full-ifrs17-template/Test/IfrsVariablesTest.ipynb b/full-ifrs17-template/Test/IfrsVariablesTest.ipynb index 95525812..159124cd 100644 --- a/full-ifrs17-template/Test/IfrsVariablesTest.ipynb +++ b/full-ifrs17-template/Test/IfrsVariablesTest.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "6scxNAfeaEKQpsdiYwPBiQ", "cell_type": "markdown", "source": [ "

Ifrs Variable

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "M5pmNZSIl0-IBqNKyS2OJw", "cell_type": "code", "source": [ "#!eval-notebook \"../Initialization/InitSystemorphToMemory\"" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "eEnHiGXZuk-HmFq5k-uskQ", "cell_type": "markdown", "source": [ "# BenchMarks" @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "c8Ih_f5ou0GfWn7tGD0NjA", "cell_type": "code", "source": [ "var pathToBm = \"./Data/IfrsVariableBenchmarks/\";" @@ -58,7 +54,6 @@ "outputs": [] }, { - "id": "Ady4_q_75kOPCb0L_OoTuA", "cell_type": "code", "source": [ "public record BenchmarkMetadata(string FileName, string ReportingNode, int Year, int Month, string Scenario = null){} " @@ -68,7 +63,6 @@ "outputs": [] }, { - "id": "FxYB_odz5kauR7Tzov4FBA", "cell_type": "code", "source": [ "var bmFiles = new BenchmarkMetadata[]{", @@ -113,7 +107,6 @@ "outputs": [] }, { - "id": "Jpf73ojEzEuugf6Eb4VxLg", "cell_type": "code", "source": [ "var excludedDataNodes = new[] {\"DT5.1\"}; // DT5.1 is simple importer and tested at report variable level" @@ -123,7 +116,6 @@ "outputs": [] }, { - "id": "Obh-9GjSVk-Kzliv3vZWlA", "cell_type": "markdown", "source": [ "# Functions" @@ -133,7 +125,6 @@ "outputs": [] }, { - "id": "_CiTAc6k0UGmQqN2FL2rpQ", "cell_type": "code", "source": [ "public static NumberStyles AllowedNumberStyles = NumberStyles.Float | NumberStyles.AllowLeadingWhite | NumberStyles.AllowTrailingWhite | NumberStyles.AllowLeadingSign | NumberStyles.AllowTrailingSign | NumberStyles.AllowDecimalPoint;" @@ -143,7 +134,6 @@ "outputs": [] }, { - "id": "8qbu0w9W6kOkf3L8Z9xYmQ", "cell_type": "code", "source": [ "public IfrsVariable CreateVariable (IDataRow row, Guid partition)", @@ -168,7 +158,6 @@ "outputs": [] }, { - "id": "ZSYfIGNm802cO89G2pEZJg", "cell_type": "code", "source": [ "public class BenchmarkTestResult", @@ -193,7 +182,6 @@ "outputs": [] }, { - "id": "WJCUw1Sgj0CdzcF6Odsd5w", "cell_type": "code", "source": [ "public List CompareAgainstBm (List errors, IEnumerable expected, IEnumerable computed)", @@ -240,7 +228,6 @@ "outputs": [] }, { - "id": "DdmDeyIpBUmkeNdMAzoCzw", "cell_type": "markdown", "source": [ "# Test Runner" @@ -250,7 +237,6 @@ "outputs": [] }, { - "id": "Z0IH9izEb0ShMy_VUmBNnA", "cell_type": "code", "source": [ "public bool ValidateMainTab(IDataRow mainRow, string reportingNode, int year, int month)", @@ -269,7 +255,6 @@ "outputs": [] }, { - "id": "Dsc_qCZWK0K7nrTWLfr_8A", "cell_type": "code", "source": [ "var errorList = new List();", @@ -323,7 +308,6 @@ "outputs": [] }, { - "id": "uhA9D1gG6UC-WWEIVAGg6g", "cell_type": "code", "source": [ "errorList.Count().Should().Be(0);" @@ -333,7 +317,6 @@ "outputs": [] }, { - "id": "yZXBFdNw30mnd_LjNJ-WeQ", "cell_type": "code", "source": [ "errorList" @@ -343,7 +326,6 @@ "outputs": [] }, { - "id": "q7f3jcfZBUC5JR4OObHU8Q", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Test/ImportStorageTest.ipynb b/full-ifrs17-template/Test/ImportStorageTest.ipynb index 0fa50ad3..bbc1ebb8 100644 --- a/full-ifrs17-template/Test/ImportStorageTest.ipynb +++ b/full-ifrs17-template/Test/ImportStorageTest.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "4V1Y85K3S0mh2c_A3peNmQ", "cell_type": "markdown", "source": [ "

Import Storage Test

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "PWZUG1NwMkCYuH0xNoicJQ", "cell_type": "code", "source": [ "#!eval-notebook \"../Initialization/InitSystemorphBaseToMemory\"" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "oYCixA-P702eBHkRn7BP-A", "cell_type": "markdown", "source": [ "# Workspace Initialization " @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "klkTq3g0X0ShwTF3rFiJug", "cell_type": "code", "source": [ "Workspace.Initialize(x => x.FromSource(DataSource)", @@ -60,7 +56,6 @@ "outputs": [] }, { - "id": "5LVp8kBA5kq29eX43K0yDA", "cell_type": "markdown", "source": [ "# Test IfrsVariables Query" @@ -70,7 +65,6 @@ "outputs": [] }, { - "id": "Cz4yiK0cikSAdKQTs5lIiw", "cell_type": "code", "source": [ "var gic = \"DT1.1\";", @@ -83,7 +77,6 @@ "outputs": [] }, { - "id": "ek6ue64fhU2TykP20XAnng", "cell_type": "code", "source": [ "//Define partition", @@ -107,7 +100,6 @@ "outputs": [] }, { - "id": "sbwZeNrQ8EOHB4SUYpHtSg", "cell_type": "code", "source": [ "public async Task CheckIfrsVariablesFromImportStorageAsync(string importFormat, IEnumerable inputDataSetForWorkspace, IEnumerable inputDataSetForDataSource, IEnumerable ivsBenchmark)", @@ -147,7 +139,6 @@ "outputs": [] }, { - "id": "Anr6vl-t3UC5nTGfEVzRxA", "cell_type": "code", "source": [ "//There is a previous year, and it's the first time Actuals are imported for the current year", @@ -176,7 +167,6 @@ "outputs": [] }, { - "id": "tE0Ru932CUGtOoYd5VsKgw", "cell_type": "code", "source": [ "//There is a previous year, and it's the second time Actuals are imported for the current year (reimport)", @@ -210,7 +200,6 @@ "outputs": [] }, { - "id": "fWKZntzNbUSeFnicGWY8qg", "cell_type": "code", "source": [ "//There is a previous year, Cashflows were already imported and Actuals are imported for the first time", @@ -246,7 +235,6 @@ "outputs": [] }, { - "id": "AVGmHZJBB0eWrY6cU1ZGHw", "cell_type": "code", "source": [ "//There is a previous year, Cashflows and Actuals were already imported and Actuals are imported again", @@ -290,7 +278,6 @@ "outputs": [] }, { - "id": "WZ5UNLEbQEaqkkw1Eal-Sg", "cell_type": "code", "source": [ "//There is a previous year for Primary Scope (GRIC10) ", @@ -344,7 +331,6 @@ "outputs": [] }, { - "id": "U-aIdwuQhEO1mNg6s_O8RQ", "cell_type": "markdown", "source": [ "# Data Node Parameter related logic" @@ -354,7 +340,6 @@ "outputs": [] }, { - "id": "CgIPciXcd0yoh5eSyjtWLQ", "cell_type": "markdown", "source": [ "## Data Preparation" @@ -364,7 +349,6 @@ "outputs": [] }, { - "id": "8sToc40RHEyX6mnl6-2JeQ", "cell_type": "code", "source": [ "//Define partition", @@ -388,7 +372,6 @@ "outputs": [] }, { - "id": "dj0d1i45IUCPGcUYSFqF1g", "cell_type": "code", "source": [ "var sampleGic = new GroupOfInsuranceContract(){Portfolio = \"P1\"};", @@ -431,7 +414,6 @@ "outputs": [] }, { - "id": "5tLIwPwQlE6Q-Mmjt5qABw", "cell_type": "code", "source": [ "public async Task PrepareWorkspaceDataNodes()", @@ -447,7 +429,6 @@ "outputs": [] }, { - "id": "lvmU4I0au0KQSSOu4P0Oaw", "cell_type": "code", "source": [ "public async Task CleanWorkspaceDataNodes()", @@ -463,7 +444,6 @@ "outputs": [] }, { - "id": "8RVSgsGTckq6uDozpgV2Xg", "cell_type": "markdown", "source": [ "## Get Underlying Gic" @@ -473,7 +453,6 @@ "outputs": [] }, { - "id": "g7MyEgjcT0mIl4njOQldiA", "cell_type": "code", "source": [ "public async Task CheckGetUnderlyingGicsAsync(RawVariable[] inputDataVariable, Dictionary> underlyingGicBm)", @@ -504,7 +483,6 @@ "outputs": [] }, { - "id": "_LC1ibvA6k-LB8A_F-ZPJA", "cell_type": "code", "source": [ "var inputDataVariable = new RawVariable[]{ sampleRawVar with {DataNode = \"Reins1\"},", @@ -522,7 +500,6 @@ "outputs": [] }, { - "id": "wt4c0eVk5EiGCnz9mj-E6g", "cell_type": "code", "source": [ "var inputDataVariable = new RawVariable[]{ sampleRawVar with {DataNode = \"Reins2\"},", @@ -538,7 +515,6 @@ "outputs": [] }, { - "id": "rHRLxr4v60KlzL_XBkR4dg", "cell_type": "markdown", "source": [ "## Get Reinsurance Coverage" @@ -548,7 +524,6 @@ "outputs": [] }, { - "id": "y3-b6njLFkOwrNvRICbFTw", "cell_type": "code", "source": [ "public async Task CheckGetReinsuranceCoverageAsync(RawVariable[] inputDataVariable, ", @@ -598,7 +573,6 @@ "outputs": [] }, { - "id": "3DoFFjphUk23ycw7uCoS-Q", "cell_type": "code", "source": [ "var inputDataVariable = new RawVariable[]{ sampleRawVar with {DataNode = \"Reins1\"},", @@ -623,7 +597,6 @@ "outputs": [] }, { - "id": "9SN-SI-1Z0yDm8u66Z2x9Q", "cell_type": "markdown", "source": [ "## Primary and Secondary Scope" @@ -633,7 +606,6 @@ "outputs": [] }, { - "id": "0rLWKbTR00WV1wWkicVaaQ", "cell_type": "code", "source": [ "public async Task CheckSecondaryScopeAsync(RawVariable[] inputDataVariable, string[] primaryScopeBm, string[] secondaryScopeBm)", @@ -674,7 +646,6 @@ "outputs": [] }, { - "id": "YdutG30Sxkit5d7-NlYKpg", "cell_type": "code", "source": [ "var inputDataVariable = new RawVariable[]{ sampleRawVar with {DataNode = \"Reins1\"},", @@ -689,7 +660,6 @@ "outputs": [] }, { - "id": "Ktz7zDRMKUayJsk8d4qJDg", "cell_type": "code", "source": [ "var inputDataVariable = new RawVariable[]{ sampleRawVar with {DataNode = \"Reins1\"},", @@ -703,7 +673,6 @@ "outputs": [] }, { - "id": "roTIyck4jUGmeXE_NdMzFA", "cell_type": "code", "source": [ "var inputDataVariable = new RawVariable[]{ sampleRawVar with {DataNode = \"Reins1\"},", @@ -718,7 +687,6 @@ "outputs": [] }, { - "id": "Ia3QbwB_qE-OLOF3bFIIow", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Test/MapTemplateAndImportTest.ipynb b/full-ifrs17-template/Test/MapTemplateAndImportTest.ipynb index 313984c2..9a72bb31 100644 --- a/full-ifrs17-template/Test/MapTemplateAndImportTest.ipynb +++ b/full-ifrs17-template/Test/MapTemplateAndImportTest.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "5pJ9_h3JCkqu1VYGsHT6Ig", "cell_type": "markdown", "source": [ "

Test Map Template Export and Import

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "wKj_RnoNyEmjYuzGN_J2ug", "cell_type": "code", "source": [ "#!eval-notebook \"../Initialization/InitSystemorphBaseToMemory\"" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "etRLzU1SR0KckKJ-yD-P8Q", "cell_type": "markdown", "source": [ "# Test Empty Database" @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "yKo9EdsuY0SaaQ7gp23QdQ", "cell_type": "code", "source": [ "(await DataSource.Query().ToArrayAsync()).Length.Should().NotBe(0);" @@ -58,7 +54,6 @@ "outputs": [] }, { - "id": "g50tzVTlvEqwzOtT6Vpj7A", "cell_type": "code", "source": [ "(await DataSource.Query().ToArrayAsync()).Length.Should().NotBe(0);" @@ -68,7 +63,6 @@ "outputs": [] }, { - "id": "DU0jOj1B-0-pm6boDCGI4A", "cell_type": "code", "source": [ "(await DataSource.Query().ToArrayAsync()).Length.Should().NotBe(0);" @@ -78,7 +72,6 @@ "outputs": [] }, { - "id": "4IuR29t8mkK5gCycGzQoeA", "cell_type": "code", "source": [ "(await DataSource.Query().ToArrayAsync()).Length.Should().NotBe(0);" @@ -88,7 +81,6 @@ "outputs": [] }, { - "id": "07qbwfjHbkywAJxFtlnxbA", "cell_type": "code", "source": [ "(await DataSource.Query().ToArrayAsync()).Length.Should().NotBe(0);" @@ -98,7 +90,6 @@ "outputs": [] }, { - "id": "BcOSQ2sTfkC6Y1bwQUDwzw", "cell_type": "code", "source": [ "(await DataSource.Query().ToArrayAsync()).Length.Should().NotBe(0);" @@ -108,7 +99,6 @@ "outputs": [] }, { - "id": "OzlMeIunREmpcZOAWqbnMw", "cell_type": "code", "source": [ "(await DataSource.Query().ToArrayAsync()).Length.Should().NotBe(0);" @@ -118,7 +108,6 @@ "outputs": [] }, { - "id": "yhLainJEZU6uJlBFKAYzcg", "cell_type": "code", "source": [ "(await DataSource.Query().ToArrayAsync()).Length.Should().NotBe(0);" @@ -128,7 +117,6 @@ "outputs": [] }, { - "id": "0OvZDdON4UGP-MhvLpIkmw", "cell_type": "code", "source": [ "(await DataSource.Query().ToArrayAsync()).Length.Should().NotBe(0);" @@ -138,7 +126,6 @@ "outputs": [] }, { - "id": "p9wR_qEd2kq7Ivro5jR4MA", "cell_type": "markdown", "source": [ "# Test Map Template" @@ -148,7 +135,6 @@ "outputs": [] }, { - "id": "wpwTbPXYtE2ecKT7QHQp9g", "cell_type": "markdown", "source": [ "## Data Node" @@ -158,7 +144,6 @@ "outputs": [] }, { - "id": "wWGCIr86_0yXgnuWRYSopA", "cell_type": "code", "source": [ "Workspace.InitializeFrom(DataSource);", @@ -190,7 +175,6 @@ "outputs": [] }, { - "id": "vbfz9uVrmEC0qFFSYb2zlw", "cell_type": "code", "source": [ "await Export.ToExcel(filename)", @@ -207,7 +191,6 @@ "outputs": [] }, { - "id": "5xqalt9bUEaXe1Sy6xOR6w", "cell_type": "code", "source": [ "// Run this only after having imported the file exported in the above cell.", @@ -243,7 +226,6 @@ "outputs": [] }, { - "id": "rir7jijjqk-YTZyHTWzY3A", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -253,7 +235,6 @@ "outputs": [] }, { - "id": "XnNuBPlC1kS4RpEgM99EFg", "cell_type": "markdown", "source": [ "## Data Node State" @@ -263,7 +244,6 @@ "outputs": [] }, { - "id": "pCBweGbCdEuZJs8OgKqxFQ", "cell_type": "code", "source": [ "static var partition = new PartitionByReportingNodeAndPeriod() { ReportingNode = \"CH\", Year = 2021, Month = 3 };", @@ -294,7 +274,6 @@ "outputs": [] }, { - "id": "vJAZZKAcXE6xZTu-pHEr-g", "cell_type": "code", "source": [ "await Export.ToExcel(filename)", @@ -309,7 +288,6 @@ "outputs": [] }, { - "id": "50DfYVJTrUi11ZM4hb0TrA", "cell_type": "code", "source": [ "// Run this only after having imported the file exported in the above cell.", @@ -336,7 +314,6 @@ "outputs": [] }, { - "id": "bJbigaiL_EaFa7Fwx7AH0Q", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -346,7 +323,6 @@ "outputs": [] }, { - "id": "pcaBVu-LgUu_4cP8fqy6Ug", "cell_type": "markdown", "source": [ "## DataNodeParameter" @@ -356,7 +332,6 @@ "outputs": [] }, { - "id": "j05en4nLBkCnDSt4QqP_lw", "cell_type": "code", "source": [ "Workspace.InitializeFrom(DataSource);", @@ -390,7 +365,6 @@ "outputs": [] }, { - "id": "zs5pxexv-k-GWOtbsvg3Ug", "cell_type": "code", "source": [ "await Export.ToExcel(filename)", @@ -404,7 +378,6 @@ "outputs": [] }, { - "id": "Rmq7ED57Y02ZNBD8YHmwew", "cell_type": "code", "source": [ "// Run this only after having imported the file exported in the above cell.", @@ -438,7 +411,6 @@ "outputs": [] }, { - "id": "e_0TmZvO70ejGkrK4F25ng", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -448,7 +420,6 @@ "outputs": [] }, { - "id": "Z4ZTJKWu00eZLDbEZb1V6g", "cell_type": "markdown", "source": [ "# Test Import Validation" @@ -458,7 +429,6 @@ "outputs": [] }, { - "id": "R-p92PVOLUmM6Yv6RxKing", "cell_type": "markdown", "source": [ "## Data Node State: entries cannot be imported which change status from Inactive to Active" @@ -468,7 +438,6 @@ "outputs": [] }, { - "id": "dhRD96R8vE2HU59-grSaDg", "cell_type": "code", "source": [ "Workspace.InitializeFrom(DataSource);", @@ -500,7 +469,6 @@ "outputs": [] }, { - "id": "6Ax3adBDIkuMlpHuD259GA", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -510,7 +478,6 @@ "outputs": [] }, { - "id": "OysWLQGElkmApA3NQlx07g", "cell_type": "markdown", "source": [ "## Data Node State: Validation removes the entry when the DataSource already contains a previous version " @@ -520,7 +487,6 @@ "outputs": [] }, { - "id": "3PbyoVI5ukuBQzBU3K4AGw", "cell_type": "code", "source": [ "Workspace.InitializeFrom(DataSource);", @@ -550,7 +516,6 @@ "outputs": [] }, { - "id": "VWtJVxUJek2A-Zhla7XVwQ", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -560,7 +525,6 @@ "outputs": [] }, { - "id": "A_IYqoP4xEaSzN2_Vg5Utw", "cell_type": "markdown", "source": [ "## Data Node Parameters : Validations" @@ -570,7 +534,6 @@ "outputs": [] }, { - "id": "jnMxJBaIy0iLBPXrb0-spQ", "cell_type": "code", "source": [ "public async Task CheckErrors(string inputFileName, List errorBms)", @@ -585,7 +548,6 @@ "outputs": [] }, { - "id": "GFhYIK8kQU2Qo1jjODs8_w", "cell_type": "code", "source": [ "var inputFileName = \"Data/DataNodeParameter_InvalidDataNode.csv\";", @@ -599,7 +561,6 @@ "outputs": [] }, { - "id": "uY5fv5iAuUuPnKjSik1_qQ", "cell_type": "code", "source": [ "var inputFileName = \"Data/DataNodeParameter_Duplicate.csv\";", @@ -612,7 +573,6 @@ "outputs": [] }, { - "id": "S_PoUgCd3kWhDZ0K3Dp5ng", "cell_type": "code", "source": [ "var inputFileName = \"Data/DataNodeParameter_InvalidReinsCov.csv\";", @@ -624,7 +584,6 @@ "outputs": [] }, { - "id": "CPwWIPYorkGHUKRtmHIkdw", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Test/ReportStorageTest.ipynb b/full-ifrs17-template/Test/ReportStorageTest.ipynb index 45305ec0..851ea575 100644 --- a/full-ifrs17-template/Test/ReportStorageTest.ipynb +++ b/full-ifrs17-template/Test/ReportStorageTest.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "D-7JQE_SnUOihXCor_sygQ", "cell_type": "code", "source": [ "#!eval-notebook \"../Initialization/InitSystemorphBaseToMemory\"" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "rSHUxHrWf0eGpJlmtEieVw", "cell_type": "markdown", "source": [ "# Test Exchange Rate Query" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "bfJP3e-LP0uEsVPX1d-owg", "cell_type": "code", "source": [ "Workspace.Initialize(x => x.FromSource(DataSource)", @@ -49,7 +46,6 @@ "outputs": [] }, { - "id": "O-C-vhVxNkupDBDl38H7hw", "cell_type": "code", "source": [ "public async Task CheckGetFx(string currentCurrency, string targetCurrency, int year, int month, IEnumerable testData, double fxBOPBenchmark, double fxAVGBenchmark, double fxEOPBenchmark)", @@ -79,7 +75,6 @@ "outputs": [] }, { - "id": "mbralKJV4Uu31Rk1uV7qzA", "cell_type": "code", "source": [ "var testData = new ExchangeRate[] {new ExchangeRate{ Currency = \"EUR\", Year = 2020, Month = 12, FxType = FxType.Spot, FxToGroupCurrency = 10 }, ", @@ -96,7 +91,6 @@ "outputs": [] }, { - "id": "3unkYVADQEGtn7_7XVHPEg", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -106,7 +100,6 @@ "outputs": [] }, { - "id": "rQ4xwp8ggUKcrL-V3XIOcA", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Test/ReportVariablesTest.ipynb b/full-ifrs17-template/Test/ReportVariablesTest.ipynb index 4e8088c9..30a7ab8b 100644 --- a/full-ifrs17-template/Test/ReportVariablesTest.ipynb +++ b/full-ifrs17-template/Test/ReportVariablesTest.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "n3ED-3EkxkuED3NiSerohA", "cell_type": "markdown", "source": [ "

Test Reports

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "jEW2JcFV1UqH9OxxrCWEEg", "cell_type": "markdown", "source": [ "# Infrastructure and Configuration" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "jrvWTVmt0U2tdCG7sYizeg", "cell_type": "markdown", "source": [ "## Imports and Configurations" @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "2HW97YdZKUOnq-DRyvt3Uw", "cell_type": "code", "source": [ "#r \"nuget:FluentAssertions\" " @@ -58,7 +54,6 @@ "outputs": [] }, { - "id": "w7sYIzs9ykulzszdiIyXGg", "cell_type": "code", "source": [ "#!import \"ReportVariablesTestBase\"" @@ -68,7 +63,6 @@ "outputs": [] }, { - "id": "jk5ZRZUAoUCXUNcy1_1eXA", "cell_type": "markdown", "source": [ "## Storage" @@ -78,7 +72,6 @@ "outputs": [] }, { - "id": "C7GJzm1J-EuPR9aGuWZwQg", "cell_type": "code", "source": [ "var reportStorage = new ReportStorage(Workspace, Report);", @@ -89,7 +82,6 @@ "outputs": [] }, { - "id": "LzDL_aRFO0etCQGzAUu0vg", "cell_type": "markdown", "source": [ "## Configurations" @@ -99,7 +91,6 @@ "outputs": [] }, { - "id": "Y42oT-3UIU-VktHZCgIgMA", "cell_type": "code", "source": [ "var path = \"./Data/ReportVariableBenchmarks/\";" @@ -109,7 +100,6 @@ "outputs": [] }, { - "id": "a8qO17ZhGk2lD513BUl1kg", "cell_type": "code", "source": [ "((int Year, int Month) Period, string ReportingNode, string Scenario, CurrencyType CurrencyType) args;", @@ -121,7 +111,6 @@ "outputs": [] }, { - "id": "yNI1-7C-DkCwPylFdztLLg", "cell_type": "markdown", "source": [ "# Test Cases" @@ -131,7 +120,6 @@ "outputs": [] }, { - "id": "DG6J_osu7EG_geAlI15nDQ", "cell_type": "markdown", "source": [ "## ((2020, 12), \"CH\", null, CurrencyType.Contractual)" @@ -141,7 +129,6 @@ "outputs": [] }, { - "id": "_9qOvBWy9kWXqjvg2Ojx-Q", "cell_type": "code", "source": [ "args = ((2020, 12), \"CH\", null, CurrencyType.Contractual);" @@ -151,7 +138,6 @@ "outputs": [] }, { - "id": "oZphaPxRS0Cr60WeHFtueA", "cell_type": "code", "source": [ "scopesData = await GetScopesDataAsync(args, reportStorage, Scopes);", @@ -162,7 +148,6 @@ "outputs": [] }, { - "id": "ezagEsinVkq0-jfyCtYp9A", "cell_type": "code", "source": [ "scopesData.Should().BeEquivalentTo(benchmarkData,", @@ -181,7 +166,6 @@ "outputs": [] }, { - "id": "Rll-mqrAM0-4SIC9DLFDwA", "cell_type": "markdown", "source": [ "## ((2021, 3), \"CH\", null, CurrencyType.Contractual)" @@ -191,7 +175,6 @@ "outputs": [] }, { - "id": "O9tsdJU1VUWk5_AsCG7iQA", "cell_type": "code", "source": [ "args = ((2021, 3), \"CH\", null, CurrencyType.Contractual);" @@ -201,7 +184,6 @@ "outputs": [] }, { - "id": "NrAH0jftEkKUA-mvSJBY8w", "cell_type": "code", "source": [ "scopesData = await GetScopesDataAsync(args, reportStorage, Scopes);", @@ -212,7 +194,6 @@ "outputs": [] }, { - "id": "vBqjLjwokUKpiME0hFnzxQ", "cell_type": "code", "source": [ "scopesData.Should().BeEquivalentTo(benchmarkData,", @@ -231,7 +212,6 @@ "outputs": [] }, { - "id": "Q2klv4_48EmNfNAi7QNdZQ", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Test/ReportVariablesTestBase.ipynb b/full-ifrs17-template/Test/ReportVariablesTestBase.ipynb index 5593b6f7..d4bf9f98 100644 --- a/full-ifrs17-template/Test/ReportVariablesTestBase.ipynb +++ b/full-ifrs17-template/Test/ReportVariablesTestBase.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "OfXdxxCELEGQtjyg7Em6yQ", "cell_type": "markdown", "source": [ "

Report Variable Test Base

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "MXuHvMBcyU6DSwnzBvDrOw", "cell_type": "code", "source": [ "#!import \"../Initialization/InitSystemorphToMemory\"" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "r3DErbUXa0GbhAkpyzPxCw", "cell_type": "code", "source": [ "Workspace.InitializeFrom(DataSource);" @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "KK8NJ8Kn1kqC5rY_2kCkRg", "cell_type": "markdown", "source": [ "# Helpers" @@ -58,7 +54,6 @@ "outputs": [] }, { - "id": "_jzXNzU3P02T6qxgFz5DGg", "cell_type": "code", "source": [ "const string benchmarkFileNamePrefix = \"ReportVariableBenchmarks_\";" @@ -68,7 +63,6 @@ "outputs": [] }, { - "id": "CH-fLI1W7kqtm9mGUtCEfw", "cell_type": "code", "source": [ "static string GetBenchmarkFileName(((int Year, int Month) Period, string ReportingNode, string Scenario, CurrencyType CurrencyType) args) => args.ToString().Replace(\"(\", \"\").Replace(\")\", \"\").Replace(\" \", \"\").Replace(\",\", \"_\");" @@ -78,7 +72,6 @@ "outputs": [] }, { - "id": "sW00wUjChEa73rX2vWQAoA", "cell_type": "markdown", "source": [ "# Calculated" @@ -88,7 +81,6 @@ "outputs": [] }, { - "id": "oV0C7FIcU0e_8DCrad0TkA", "cell_type": "code", "source": [ "static ICollection GetScopesData(Systemorph.Vertex.Scopes.IScopeWithStorage universe, ICollection<(ReportIdentity, CurrencyType)> identities) {", @@ -133,7 +125,6 @@ "outputs": [] }, { - "id": "8lMXT1ZNw0KM3pDqhdlmsQ", "cell_type": "code", "source": [ "static async Task> GetScopesDataAsync(((int Year, int Month) Period, string ReportingNode, string Scenario, CurrencyType CurrencyType) args, ReportStorage reportStorage, Systemorph.Vertex.Scopes.Proxy.IScopeFactory scopes ) {", @@ -148,7 +139,6 @@ "outputs": [] }, { - "id": "8vcku7aLC0WSTTyYO5gapQ", "cell_type": "markdown", "source": [ "# Benchmarks" @@ -158,7 +148,6 @@ "outputs": [] }, { - "id": "eUmau60eO0CVOS0nctUgDQ", "cell_type": "code", "source": [ "static async Task> GetBenchmarkDataAsync(((int Year, int Month) Period, string ReportingNode, string Scenario, CurrencyType CurrencyType) args, string path, IWorkspace workspace, IImportVariable importVariable) {", diff --git a/full-ifrs17-template/Test/ScenarioTest.ipynb b/full-ifrs17-template/Test/ScenarioTest.ipynb index 88646c21..befedf0d 100644 --- a/full-ifrs17-template/Test/ScenarioTest.ipynb +++ b/full-ifrs17-template/Test/ScenarioTest.ipynb @@ -16,7 +16,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "AxJoK7p0ZEikTWZszSK7UQ", "cell_type": "code", "source": [ "#!eval-notebook \"../Initialization/InitSystemorphBaseToMemory\"" @@ -26,7 +25,6 @@ "outputs": [] }, { - "id": "bgViMPoQM02MCvRfuRHl7w", "cell_type": "markdown", "source": [ "# Context" @@ -36,7 +34,6 @@ "outputs": [] }, { - "id": "7Xfmz9pFvE6I6S2B4NHMGw", "cell_type": "code", "source": [ "var log = await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2020_12.csv\").WithFormat(ImportFormats.Cashflow).WithTarget(DataSource).ExecuteAsync();", @@ -49,7 +46,6 @@ "outputs": [] }, { - "id": "0VAf4yddEUOUDuScbDjM_w", "cell_type": "code", "source": [ "var log = await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2020_12.csv\").WithFormat(ImportFormats.Actual).WithTarget(DataSource).ExecuteAsync();", @@ -62,7 +58,6 @@ "outputs": [] }, { - "id": "M9d9pYiEbk6gAY96p8hI2A", "cell_type": "code", "source": [ "var defaultVarsBE = Workspace.Query().ToArray();" @@ -72,7 +67,6 @@ "outputs": [] }, { - "id": "_-nNIt_H2k2zv5Ibul0djQ", "cell_type": "markdown", "source": [ "# Scenario Cashflows" @@ -82,7 +76,6 @@ "outputs": [] }, { - "id": "3eInMKlI1kmMxVzPEbL7fw", "cell_type": "code", "source": [ "var cashflows_scenarioTest = @\"", @@ -101,7 +94,6 @@ "outputs": [] }, { - "id": "S9PeLiV2B0SNvYbYxid_xA", "cell_type": "code", "source": [ "var cashflows_scenarioTest_equalTo_BestEstimate = @\"", @@ -120,7 +112,6 @@ "outputs": [] }, { - "id": "D62FZxiYFEunrBSsfdn96A", "cell_type": "code", "source": [ "var log = await Import.FromString(cashflows_scenarioTest).WithFormat(ImportFormats.Cashflow).WithTarget(DataSource).ExecuteAsync();", @@ -133,7 +124,6 @@ "outputs": [] }, { - "id": "TZowMnri7EaX3jCDg7pEmw", "cell_type": "code", "source": [ "await Workspace.Partition.SetAsync(new{ReportingNode = \"CH\", Scenario = \"Test\", Year = 2020, Month = 12});", @@ -147,7 +137,6 @@ "outputs": [] }, { - "id": "PMUFzN4SSUCmJ1DPrFqlpQ", "cell_type": "markdown", "source": [ "# Scenario Actuals" @@ -157,7 +146,6 @@ "outputs": [] }, { - "id": "wcUzBjX4rkmEmLoUol7Weg", "cell_type": "code", "source": [ "var actuals_scenarioTest = @\"", @@ -173,7 +161,6 @@ "outputs": [] }, { - "id": "layYHEbmVky9lqX_ZWDryg", "cell_type": "code", "source": [ "var actuals_scenarioTest_equalTo_BestEstimate = @\"", @@ -189,7 +176,6 @@ "outputs": [] }, { - "id": "j-dxFUVPfEaRhZpGuDPd8g", "cell_type": "code", "source": [ "var log = await Import.FromString(actuals_scenarioTest).WithFormat(ImportFormats.Actual).WithTarget(DataSource).ExecuteAsync();", @@ -202,7 +188,6 @@ "outputs": [] }, { - "id": "ZJQHdd7UWUWU5kC0i4eisw", "cell_type": "code", "source": [ "await Workspace.Partition.SetAsync(new{ReportingNode = \"CH\", Scenario = \"Test\", Year = 2020, Month = 12});", @@ -216,7 +201,6 @@ "outputs": [] }, { - "id": "csPTUe173UWekIIcmPUCuw", "cell_type": "markdown", "source": [ "# Robustness: back to Best Estimate" @@ -226,7 +210,6 @@ "outputs": [] }, { - "id": "crKKS7_XGk6NeuFAgakr0g", "cell_type": "code", "source": [ "var log = await Import.FromString(actuals_scenarioTest_equalTo_BestEstimate).WithFormat(ImportFormats.Actual).WithTarget(DataSource).ExecuteAsync();", @@ -239,7 +222,6 @@ "outputs": [] }, { - "id": "P-sUQjsyOUSNfI7RLgEJMQ", "cell_type": "code", "source": [ "var log = await Import.FromString(cashflows_scenarioTest_equalTo_BestEstimate).WithFormat(ImportFormats.Cashflow).WithTarget(DataSource).ExecuteAsync();", @@ -252,7 +234,6 @@ "outputs": [] }, { - "id": "Q2FeKDKw7kedk-qOC3uK4A", "cell_type": "code", "source": [ "Workspace.Query().Except(defaultVarsBE, IfrsVariableComparer.Instance()).ToArray().Length.Should().Be(0);" @@ -262,7 +243,6 @@ "outputs": [] }, { - "id": "sC_GMD2sbECP6PN620THIg", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Test/SequenceImportTest.ipynb b/full-ifrs17-template/Test/SequenceImportTest.ipynb index 927dacc9..0bf8a9f9 100644 --- a/full-ifrs17-template/Test/SequenceImportTest.ipynb +++ b/full-ifrs17-template/Test/SequenceImportTest.ipynb @@ -16,7 +16,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "lT6-ULeaLkCjHnJPRMVzZw", "cell_type": "code", "source": [ "#!eval-notebook \"../Initialization/InitSystemorphBaseToMemory\"" @@ -26,7 +25,6 @@ "outputs": [] }, { - "id": "r8NoIEbwSUOe4IGLlZFmKw", "cell_type": "markdown", "source": [ "# Cashflow -> Actuals" @@ -36,7 +34,6 @@ "outputs": [] }, { - "id": "0gDULLGzvEW8v5jg0vRrjQ", "cell_type": "code", "source": [ "var ws1 = Workspace.CreateNew();", @@ -47,7 +44,6 @@ "outputs": [] }, { - "id": "Pz3H5OYg0E26NZvdiCWCeg", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2020_12.csv\").WithFormat(ImportFormats.Cashflow).WithTarget(ws1).ExecuteAsync()" @@ -57,7 +53,6 @@ "outputs": [] }, { - "id": "0kv-mqLlQkquKj4WurtKzQ", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2020_12.csv\").WithFormat(ImportFormats.Actual).WithTarget(ws1).ExecuteAsync()" @@ -67,7 +62,6 @@ "outputs": [] }, { - "id": "2UA1ZnfH3UipDQ1TnW8J9A", "cell_type": "code", "source": [ "ws1.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());", @@ -78,7 +72,6 @@ "outputs": [] }, { - "id": "6Zv5wDEHp0ejngPzm70Uug", "cell_type": "code", "source": [ "var ifrsVars1 = await ws1.Query().ToArrayAsync();", @@ -89,7 +82,6 @@ "outputs": [] }, { - "id": "6Ptjc2FbG0-LBe6nw1BIdA", "cell_type": "markdown", "source": [ "# Actuals -> Cashflow" @@ -99,7 +91,6 @@ "outputs": [] }, { - "id": "82iAzppfNkqb5SpUKsi8pA", "cell_type": "code", "source": [ "var ws2 = Workspace.CreateNew();", @@ -110,7 +101,6 @@ "outputs": [] }, { - "id": "UgadDCbuM0qHwMnrQkN-TQ", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/Actuals_CH_2020_12.csv\").WithFormat(ImportFormats.Actual).WithTarget(ws2).ExecuteAsync()" @@ -120,7 +110,6 @@ "outputs": [] }, { - "id": "4S9H9rEKb0yCeAF4IyKWMw", "cell_type": "code", "source": [ "await Import.FromFile(\"../Files/TransactionalData/NominalCashflows_CH_2020_12.csv\").WithFormat(ImportFormats.Cashflow).WithTarget(ws2).ExecuteAsync()" @@ -130,7 +119,6 @@ "outputs": [] }, { - "id": "JqkyqzHW9Eazf8YuELjfOg", "cell_type": "code", "source": [ "ws2.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());", @@ -141,7 +129,6 @@ "outputs": [] }, { - "id": "EpWHnU8f10qpBtUfsHT6MA", "cell_type": "code", "source": [ "var ifrsVars2 = await ws2.Query().ToArrayAsync();", @@ -152,7 +139,6 @@ "outputs": [] }, { - "id": "HNS3Oub88kqttNJZXJ3xjw", "cell_type": "markdown", "source": [ "# Test" @@ -162,7 +148,6 @@ "outputs": [] }, { - "id": "XHa4H0YDOEuNvjfy0CL-8A", "cell_type": "code", "source": [ "ifrsVars1.Except(ifrsVars2, IfrsVariableComparer.Instance()).Count().Should().Be(0);" @@ -172,7 +157,6 @@ "outputs": [] }, { - "id": "q7E4H2BDAke4TLC0oSQtuA", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Test/TechnicalMarginTest.ipynb b/full-ifrs17-template/Test/TechnicalMarginTest.ipynb index 8256ed07..1407c020 100644 --- a/full-ifrs17-template/Test/TechnicalMarginTest.ipynb +++ b/full-ifrs17-template/Test/TechnicalMarginTest.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "i-PJ_EbKKUuy-mN1LlBMNQ", "cell_type": "markdown", "source": [ "

Technical Margin Allocation

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "0nWYqIzjFEiBzB7hPQOrWw", "cell_type": "code", "source": [ "#!eval-notebook \"../Initialization/InitSystemorphBaseToMemory\"" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "6Wpl9e-2Ike62_H1mswKBQ", "cell_type": "markdown", "source": [ "# Workspace Initialization " @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "hXJrXlCyBUWqzF9TYY4pQg", "cell_type": "code", "source": [ "Workspace.Initialize(x => x.FromSource(DataSource)", @@ -60,7 +56,6 @@ "outputs": [] }, { - "id": "dsGn5owwTkSqoOzILS2fuA", "cell_type": "markdown", "source": [ "# Test switch logic" @@ -70,7 +65,6 @@ "outputs": [] }, { - "id": "FAJtV21jM0SnurHMD958jw", "cell_type": "code", "source": [ "//define group of contract", @@ -81,7 +75,6 @@ "outputs": [] }, { - "id": "_r9tBgRmo0yWpWOrVOogww", "cell_type": "code", "source": [ "//Define partition", @@ -95,7 +88,6 @@ "outputs": [] }, { - "id": "jT2AUILrHUyhaSmU-w039g", "cell_type": "code", "source": [ "public async Task CheckSwitchLogicAsync(IEnumerable inputDataSet, Dictionary csmLcSwitchBenchmark)", @@ -169,7 +161,6 @@ "outputs": [] }, { - "id": "f5gdp2GlKUehTXeQ_SvCIw", "cell_type": "code", "source": [ "var basicIfrsVariable = new IfrsVariable{Partition = partition.Id, DataNode = groupOfContract, AccidentYear = null, AmountType = \"PR\", EstimateType = \"BE\", EconomicBasis = \"L\"};", @@ -200,7 +191,6 @@ "outputs": [] }, { - "id": "WPvTHMwp5EqJmWNsjt81fA", "cell_type": "code", "source": [ "var basicIfrsVariable = new IfrsVariable{Partition = partition.Id, DataNode = groupOfContract, AccidentYear = null, AmountType = \"PR\", EstimateType = \"BE\", EconomicBasis = \"L\"};", @@ -231,7 +221,6 @@ "outputs": [] }, { - "id": "fRgoEiIujky1sZ9hnyj78A", "cell_type": "code", "source": [ "var basicIfrsVariable = new IfrsVariable{Partition = partition.Id, DataNode = groupOfContract, AccidentYear = null, AmountType = \"PR\", EstimateType = \"BE\", EconomicBasis = \"L\"};", @@ -258,7 +247,6 @@ "outputs": [] }, { - "id": "xdTbysPGFkeRLHr0sUBUlA", "cell_type": "code", "source": [ "var basicIfrsVariable = new IfrsVariable{Partition = partition.Id, DataNode = groupOfContract, AccidentYear = null, AmountType = \"PR\", EstimateType = \"BE\", EconomicBasis = \"L\"};", @@ -298,7 +286,6 @@ "outputs": [] }, { - "id": "dTZEjO9WM0uCJgoboB4qhw", "cell_type": "code", "source": [ "" diff --git a/full-ifrs17-template/Test/Tests.ipynb b/full-ifrs17-template/Test/Tests.ipynb index 1c330cb5..9a73127f 100644 --- a/full-ifrs17-template/Test/Tests.ipynb +++ b/full-ifrs17-template/Test/Tests.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "MQ7XPYnTFEOMHrtoB3Oerg", "cell_type": "markdown", "source": [ "

Tests

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "8IHp-7c15Uq0vxaFsrXmzQ", "cell_type": "code", "source": [ "#!eval-notebook \"IfrsVariablesTest\"" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "-uvPzzVPT0-Y54bxFtKl0g", "cell_type": "code", "source": [ "#!eval-notebook \"ImportStorageTest\"" @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "HvLhnrHPakG-RHLDv1YlTw", "cell_type": "code", "source": [ "#!eval-notebook \"ReportStorageTest\"" @@ -58,7 +54,6 @@ "outputs": [] }, { - "id": "GHLqatm6zEix6r7rBO-VVg", "cell_type": "code", "source": [ "#!eval-notebook \"AocStructureTest\"" @@ -68,7 +63,6 @@ "outputs": [] }, { - "id": "H39eZoIm9Uu2XuyAa0Sg_Q", "cell_type": "code", "source": [ "#!eval-notebook \"TechnicalMarginTest\"" @@ -78,7 +72,6 @@ "outputs": [] }, { - "id": "sLb7AsZlOUyGeRzwfKoM-Q", "cell_type": "code", "source": [ "#!eval-notebook \"SequenceImportTest\"" @@ -88,7 +81,6 @@ "outputs": [] }, { - "id": "B_dzy6sUvUKc2e3m81pOJg", "cell_type": "code", "source": [ "#!eval-notebook \"ScenarioTest\"" @@ -98,7 +90,6 @@ "outputs": [] }, { - "id": "hWVGU3WYHkycqipZOO1fFw", "cell_type": "markdown", "source": [ "---" @@ -108,7 +99,6 @@ "outputs": [] }, { - "id": "dZoX6ICHOkGWZZzUHjZ9DQ", "cell_type": "code", "source": [ "#!eval-notebook \"MapTemplateAndImportTest\"" @@ -118,7 +108,6 @@ "outputs": [] }, { - "id": "1YHxPQejxkGzdzCOLao7HQ", "cell_type": "markdown", "source": [ "---" @@ -128,7 +117,6 @@ "outputs": [] }, { - "id": "kXdtF5erPkm1bfIJoQ7S6g", "cell_type": "code", "source": [ "#!eval-notebook \"ReportVariablesTest\"" @@ -138,7 +126,6 @@ "outputs": [] }, { - "id": "W9Bknri1XkC2erPpRjyrjQ", "cell_type": "code", "source": [ "" diff --git a/ifrs17/CalculationEngine.ipynb b/ifrs17/CalculationEngine.ipynb index a130e870..1fa93770 100644 --- a/ifrs17/CalculationEngine.ipynb +++ b/ifrs17/CalculationEngine.ipynb @@ -16,7 +16,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "lx6moIFczkyb5a8hEBu_6Q", "cell_type": "code", "source": [ "#!import \"DataModel/DataStructure\"", @@ -30,7 +29,6 @@ "outputs": [] }, { - "id": "Tc-fiN15c0q-DNnqPEEVQg", "cell_type": "code", "source": [ "var ifrs17Report = new Ifrs17Reports(Workspace, Scopes, Report);" diff --git a/ifrs17/Constants/Consts.ipynb b/ifrs17/Constants/Consts.ipynb index 0e0a411d..41649364 100644 --- a/ifrs17/Constants/Consts.ipynb +++ b/ifrs17/Constants/Consts.ipynb @@ -19,7 +19,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "tozdHqMbAkO8Ttd_Z-FPQw", "cell_type": "markdown", "source": [ "

Consts

" @@ -29,7 +28,6 @@ "outputs": [] }, { - "id": "lqga2fWJikO2K6CkYd0uNQ", "cell_type": "markdown", "source": [ "# Numerical Precision" @@ -39,7 +37,6 @@ "outputs": [] }, { - "id": "92t7bfloDk-X5dbxj8-BzA", "cell_type": "code", "source": [ "public const double Precision = 1E-5;" @@ -49,7 +46,6 @@ "outputs": [] }, { - "id": "tU4Y0UN8FkWG4j6fdhnEdg", "cell_type": "code", "source": [ "public const double ProjectionPrecision = 1E-3;" @@ -59,7 +55,6 @@ "outputs": [] }, { - "id": "AQz0euBRNkyhgAPTzk8kJA", "cell_type": "code", "source": [ "public const double BenchmarkPrecision = 1E-4;" @@ -69,7 +64,6 @@ "outputs": [] }, { - "id": "ZEsXT31ETE--9F4_5F7OoQ", "cell_type": "markdown", "source": [ "# Time Period" @@ -79,7 +73,6 @@ "outputs": [] }, { - "id": "-PEstjbAfE2GTGXiNFlkzA", "cell_type": "code", "source": [ "public const int CurrentPeriod = 0; " @@ -89,7 +82,6 @@ "outputs": [] }, { - "id": "Lt52PYx8LUSbxE-o4dGlUQ", "cell_type": "code", "source": [ "public const int PreviousPeriod = -1; " @@ -99,7 +91,6 @@ "outputs": [] }, { - "id": "KBZJtyq_206bd_HK1F6yNw", "cell_type": "code", "source": [ "public const int MonthInAYear = 12;" @@ -109,7 +100,6 @@ "outputs": [] }, { - "id": "7o1TktT0akubYO5_0tMJ5w", "cell_type": "markdown", "source": [ "# Defaults" @@ -119,7 +109,6 @@ "outputs": [] }, { - "id": "Tibnci4N-0-dkhVAS2c69g", "cell_type": "code", "source": [ "public const int DefaultDataNodeActivationMonth = 1;" @@ -129,7 +118,6 @@ "outputs": [] }, { - "id": "nMozFF7qoUKtssTOwgYi2A", "cell_type": "code", "source": [ "public const double DefaultPremiumExperienceAdjustmentFactor = 1.0;" @@ -139,7 +127,6 @@ "outputs": [] }, { - "id": "CzLFY5d-nEmoKLUyhvG9aA", "cell_type": "markdown", "source": [ "# Names" @@ -149,7 +136,6 @@ "outputs": [] }, { - "id": "9nQYRJNFO0OR5QKOtr40ZQ", "cell_type": "code", "source": [ "public const string Main = nameof(Main);" @@ -159,7 +145,6 @@ "outputs": [] }, { - "id": "4vArq04Dc0SUQ1B8pnTYIg", "cell_type": "code", "source": [ "public const string Default = nameof(Default);" @@ -169,7 +154,6 @@ "outputs": [] }, { - "id": "bTl8GyvuRkGBooAK9zlXLg", "cell_type": "code", "source": [ "public const string ValueType = nameof(ValueType);" @@ -179,7 +163,6 @@ "outputs": [] }, { - "id": "ziRQ7cjXbESP3l2CdNBYGQ", "cell_type": "markdown", "source": [ "GroupCurrency defines the SystemName (from Currency Dimension) to be used as the Group Currency." @@ -189,7 +172,6 @@ "outputs": [] }, { - "id": "A9ITNucOV02h-mBUmn3lsQ", "cell_type": "code", "source": [ "public const string GroupCurrency = \"CHF\";" @@ -199,7 +181,6 @@ "outputs": [] }, { - "id": "QlC_r7WQ7kOmdj8kKb5aNw", "cell_type": "markdown", "source": [ "# Import Formats" @@ -209,7 +190,6 @@ "outputs": [] }, { - "id": "C8v98kZ_aEWi1JyDSiGkzA", "cell_type": "code", "source": [ "public static class ImportFormats{", @@ -230,7 +210,6 @@ "outputs": [] }, { - "id": "XWnM8TzYv0ytgc74W9RuiA", "cell_type": "markdown", "source": [ "# IFRS specific" @@ -240,7 +219,6 @@ "outputs": [] }, { - "id": "phrHTtbxI0OYX3MaAVo2Tg", "cell_type": "code", "source": [ "public static class ValuationApproaches{", @@ -254,7 +232,6 @@ "outputs": [] }, { - "id": "Db-Dvk_gpU2pI_BFacjbCg", "cell_type": "code", "source": [ "public static class LiabilityTypes{", @@ -267,7 +244,6 @@ "outputs": [] }, { - "id": "fQo3LSnzhUGkWwVbf21L1A", "cell_type": "code", "source": [ "public static class EstimateTypes{", @@ -294,7 +270,6 @@ "outputs": [] }, { - "id": "B7toQMiP_0qZXm43pyxShw", "cell_type": "code", "source": [ "public static class AocTypes{", @@ -322,7 +297,6 @@ "outputs": [] }, { - "id": "HulL6n-6IkWevFLCSC9hDQ", "cell_type": "code", "source": [ "public static class Novelties{", @@ -336,7 +310,6 @@ "outputs": [] }, { - "id": "yejc0ve4BEe-oAi5YgJJDw", "cell_type": "code", "source": [ "public static class EconomicBases{", @@ -350,7 +323,6 @@ "outputs": [] }, { - "id": "qeXt2V5wQ0S2TiixZhHlHg", "cell_type": "code", "source": [ "public static class AmountTypes{", @@ -373,7 +345,6 @@ "outputs": [] }, { - "id": "nuYnoG2NB0WPGTggymtcLg", "cell_type": "code", "source": [ "public static class Scenarios{", @@ -400,7 +371,6 @@ "outputs": [] }, { - "id": "aX8Ixs4Q3EOw3EmvsvyFng", "cell_type": "markdown", "source": [ "# Insurance specific" @@ -410,7 +380,6 @@ "outputs": [] }, { - "id": "xO1Ga-uPsES_cjwlbNf1yw", "cell_type": "code", "source": [ "public static class LineOfBusinesses{", diff --git a/ifrs17/Constants/Enums.ipynb b/ifrs17/Constants/Enums.ipynb index 5b4ccc1a..fdfae548 100644 --- a/ifrs17/Constants/Enums.ipynb +++ b/ifrs17/Constants/Enums.ipynb @@ -19,7 +19,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "xWFL-UDyVkKeoXQRsDI7YQ", "cell_type": "markdown", "source": [ "# Enumerables", @@ -31,7 +30,6 @@ "outputs": [] }, { - "id": "lYFecRN4gkuJ-bMXNO9DnQ", "cell_type": "markdown", "source": [ "## Exchange Rates", @@ -43,7 +41,6 @@ "outputs": [] }, { - "id": "h_kYaWMEjkGKhJBHv5ZTOA", "cell_type": "code", "source": [ "public enum FxType { Spot, Average }" @@ -53,7 +50,6 @@ "outputs": [] }, { - "id": "79eI1G0CiE2WMkFq2s3ung", "cell_type": "code", "source": [ "public enum FxPeriod { NotApplicable, BeginningOfPeriod, Average, EndOfPeriod }" @@ -63,7 +59,6 @@ "outputs": [] }, { - "id": "bMmXBU5L1EiXVURfzYrfhg", "cell_type": "markdown", "source": [ "## Currency Types" @@ -73,7 +68,6 @@ "outputs": [] }, { - "id": "ThheUoz160CrIXKT0-N2NQ", "cell_type": "markdown", "source": [ "Currency Types define which currency is used as standard at different aggregation levels (in the Data Level hierarchy).", @@ -87,7 +81,6 @@ "outputs": [] }, { - "id": "jFSshWJs3km8UAmJUvoUWA", "cell_type": "code", "source": [ "public enum CurrencyType { Functional, Group, Contractual, Transactional }" @@ -97,7 +90,6 @@ "outputs": [] }, { - "id": "HcVv9bIVN0CTv_BR3h38KA", "cell_type": "markdown", "source": [ "## Period Type" @@ -107,7 +99,6 @@ "outputs": [] }, { - "id": "QQ_1DwAHIUWlTKSktjtX5w", "cell_type": "code", "source": [ "public enum PeriodType { NotApplicable, BeginningOfPeriod, EndOfPeriod }" @@ -117,7 +108,6 @@ "outputs": [] }, { - "id": "IWLntYaWLUCby854KcCzPQ", "cell_type": "markdown", "source": [ "## Valuation Period" @@ -127,7 +117,6 @@ "outputs": [] }, { - "id": "fxCUAx87AEKTJXenM6OrSw", "cell_type": "code", "source": [ "public enum ValuationPeriod { NotApplicable, BeginningOfPeriod, MidOfPeriod, Delta, EndOfPeriod }" @@ -137,7 +126,6 @@ "outputs": [] }, { - "id": "Iua4aiPYeUSkSdOZBIHwNQ", "cell_type": "markdown", "source": [ "## Portfolio View" @@ -147,7 +135,6 @@ "outputs": [] }, { - "id": "N7qSoOiDaEG0mbO_prv_9w", "cell_type": "code", "source": [ "[Flags] public enum PortfolioView { Gross = 1, Reinsurance = 2, Net = Gross | Reinsurance }" @@ -157,7 +144,6 @@ "outputs": [] }, { - "id": "ofzaBHXeLUGsPwp53tWk4A", "cell_type": "markdown", "source": [ "## Structure Type" @@ -167,7 +153,6 @@ "outputs": [] }, { - "id": "NJmE1eEV_Uuey166OH3U_g", "cell_type": "code", "source": [ "public enum StructureType { None, AoC }" @@ -177,7 +162,6 @@ "outputs": [] }, { - "id": "t6CUcWp67ESaBdUmxsyJ8A", "cell_type": "markdown", "source": [ "## State" @@ -187,7 +171,6 @@ "outputs": [] }, { - "id": "YSkBfw3IHEuyoW2lvsOC7g", "cell_type": "markdown", "source": [ "State describes the state in which a Data Node can be - There are two types of states:", @@ -199,7 +182,6 @@ "outputs": [] }, { - "id": "sqXQ1mcVxEit4CgNnQPAXA", "cell_type": "code", "source": [ "public enum State { Active, Inactive }" @@ -209,7 +191,6 @@ "outputs": [] }, { - "id": "oThs73B7kkyDAHtyVfg5QA", "cell_type": "markdown", "source": [ "## Periodicity" @@ -219,7 +200,6 @@ "outputs": [] }, { - "id": "TAHQhWhLr0mR59KmOekVrQ", "cell_type": "code", "source": [ "public enum Periodicity { Monthly, Quarterly, Yearly }" @@ -229,7 +209,6 @@ "outputs": [] }, { - "id": "kBck_5hoX0yAEEWJHOKRsg", "cell_type": "markdown", "source": [ "## Input Source" @@ -239,7 +218,6 @@ "outputs": [] }, { - "id": "rfBIAwenWUa1zipcMY1qnQ", "cell_type": "code", "source": [ "[Flags]", @@ -254,7 +232,6 @@ "outputs": [] }, { - "id": "7dL-4X1fUEiQSzYaooPprg", "cell_type": "markdown", "source": [ "## Data Type" @@ -264,7 +241,6 @@ "outputs": [] }, { - "id": "WPim6MSI-UWnSqnOfEbFxw", "cell_type": "code", "source": [ "public enum DataType { Optional, Mandatory, Calculated, CalculatedTelescopic }" @@ -274,7 +250,6 @@ "outputs": [] }, { - "id": "nPBJqeOjdEibtyin5hzeUQ", "cell_type": "markdown", "source": [ "## Import Scope" @@ -284,7 +259,6 @@ "outputs": [] }, { - "id": "pU2UM-nbJ0-aG0rhi86JLw", "cell_type": "code", "source": [ "public enum ImportScope { Primary, Secondary }" diff --git a/ifrs17/Constants/Validations.ipynb b/ifrs17/Constants/Validations.ipynb index 9c7fc17c..20b641d6 100644 --- a/ifrs17/Constants/Validations.ipynb +++ b/ifrs17/Constants/Validations.ipynb @@ -19,7 +19,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "XVEH7X-d10OpDfN_HGsgWw", "cell_type": "markdown", "source": [ "

Errors and Warnings

" @@ -29,7 +28,6 @@ "outputs": [] }, { - "id": "X6KZCCXZXUiL9T5SxOhs6Q", "cell_type": "code", "source": [ "#!import \"Enums\"", @@ -40,7 +38,6 @@ "outputs": [] }, { - "id": "XeX545EVhUujhEkMkdUSbQ", "cell_type": "markdown", "source": [ "# Codes" @@ -50,7 +47,6 @@ "outputs": [] }, { - "id": "BPYWZkdC6UaNstT83ZmPqQ", "cell_type": "code", "source": [ "public enum Warning {", @@ -65,7 +61,6 @@ "outputs": [] }, { - "id": "-g7L46bNBUi0ZX88o37kBw", "cell_type": "code", "source": [ "public enum Error { ", @@ -100,7 +95,6 @@ "outputs": [] }, { - "id": "NLh7KHTP4ESl-nGxh_T64Q", "cell_type": "markdown", "source": [ "# Messages" @@ -110,7 +104,6 @@ "outputs": [] }, { - "id": "N0nqsxkmUka6GK5XzE71xg", "cell_type": "code", "source": [ "public static string Get (Error e, params string[] s) => (e, s.Length) switch ", @@ -184,7 +177,6 @@ "outputs": [] }, { - "id": "qxv841q1gkOJt-zqkEwcZQ", "cell_type": "code", "source": [ "public static string Get (Warning w, params string[] s) => (w, s.Length) switch {", @@ -200,7 +192,6 @@ "outputs": [] }, { - "id": "DobUDUwhxUWanDJDmzxJ8Q", "cell_type": "code", "source": [ "" diff --git a/ifrs17/DataModel/DataStructure.ipynb b/ifrs17/DataModel/DataStructure.ipynb index c179a578..f18052af 100644 --- a/ifrs17/DataModel/DataStructure.ipynb +++ b/ifrs17/DataModel/DataStructure.ipynb @@ -19,7 +19,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "vvMYbQ5-bEKq_A2vJ_DmRA", "cell_type": "markdown", "source": [ "", @@ -32,7 +31,6 @@ "outputs": [] }, { - "id": "6fcBzsfTH0e5CiWZtlKLtw", "cell_type": "markdown", "source": [ "# References", @@ -43,7 +41,6 @@ "outputs": [] }, { - "id": "n4jj6X3ycEap0QydisZJvw", "cell_type": "markdown", "source": [ "## Libraries" @@ -53,7 +50,6 @@ "outputs": [] }, { - "id": "zUmmhub5NES3DO-kz0dAnQ", "cell_type": "code", "source": [ "#r \"nuget:Systemorph.Activities,1.5.7\"", @@ -76,7 +72,6 @@ "outputs": [] }, { - "id": "D9W0OLZ5G0qyvEYQxfSLew", "cell_type": "markdown", "source": [ "## Usings" @@ -86,7 +81,6 @@ "outputs": [] }, { - "id": "nlOhRlJHvk-F0uDp6VMMlw", "cell_type": "code", "source": [ "using System.ComponentModel.DataAnnotations;", @@ -102,7 +96,6 @@ "outputs": [] }, { - "id": "50Tr9UVLkE-2gM0G6oVEnQ", "cell_type": "markdown", "source": [ "## Notebooks" @@ -112,7 +105,6 @@ "outputs": [] }, { - "id": "NKLM1yXTtU2Ti8W3ihDigw", "cell_type": "code", "source": [ "#!import \"../Constants/Enums\"", @@ -124,7 +116,6 @@ "outputs": [] }, { - "id": "WrFH5QlWuk2M_JmM06sq8A", "cell_type": "markdown", "source": [ "# Data Infrastructure" @@ -134,7 +125,6 @@ "outputs": [] }, { - "id": "ohM1Biwwe0eZ1b-HaHop9Q", "cell_type": "markdown", "source": [ "", @@ -148,7 +138,6 @@ "outputs": [] }, { - "id": "-MQGfu51EkyCmQryoyg9mg", "cell_type": "code", "source": [ "public interface IKeyed", @@ -161,7 +150,6 @@ "outputs": [] }, { - "id": "12_68uyAs0GIWjs7tV5EQA", "cell_type": "markdown", "source": [ "The interface IPartition identifies the partitions in the system." @@ -171,7 +159,6 @@ "outputs": [] }, { - "id": "AlL0TcQlpkq8jqpV2BKhkw", "cell_type": "code", "source": [ "public interface IPartition : IKeyed {}" @@ -181,7 +168,6 @@ "outputs": [] }, { - "id": "0YssLND4Ake3pVnlzyDWDw", "cell_type": "markdown", "source": [ "The interface IPartitioned simply assigns a unique identifier for elements of a data partition - The exact definition of such elements can be found in the [partition](#partition) section below." @@ -191,7 +177,6 @@ "outputs": [] }, { - "id": "C_K3oA4OAU-LQiaHkTW4Tw", "cell_type": "code", "source": [ "public interface IPartitioned", @@ -204,7 +189,6 @@ "outputs": [] }, { - "id": "z-6_NJX8rEeP2QxJvJ1iOw", "cell_type": "markdown", "source": [ "The interface IHierarchy is used for modelling dimensions which have an hierarchical structure, such as [Amount Type](#amount-type)." @@ -214,7 +198,6 @@ "outputs": [] }, { - "id": "kl63jpe0oE6L_8z668bdPQ", "cell_type": "code", "source": [ "public interface IHierarchy", @@ -231,7 +214,6 @@ "outputs": [] }, { - "id": "0Ute_DjaYE2kd2UHUcFnDA", "cell_type": "markdown", "source": [ "The interface IWithYearAndMonth allows to speficy to which year and month a certain piece of data applies to:" @@ -241,7 +223,6 @@ "outputs": [] }, { - "id": "WsvB3-kq7UGjOBaBu7IJ-Q", "cell_type": "code", "source": [ "public interface IWithYearAndMonth", @@ -256,7 +237,6 @@ "outputs": [] }, { - "id": "LC_mdbBTsUGl9YAFXVcTpg", "cell_type": "markdown", "source": [ "The interface IWithYearMonthAndScenario allows to identify the year, month and scenario associated to the data:", @@ -267,7 +247,6 @@ "outputs": [] }, { - "id": "Iq8rP4E8k0eGgF2BjhQZGg", "cell_type": "code", "source": [ "public interface IWithYearMonthAndScenario : IWithYearAndMonth", @@ -280,7 +259,6 @@ "outputs": [] }, { - "id": "HtTP2eQc90eX8Ldk4oC4bw", "cell_type": "markdown", "source": [ "", @@ -292,7 +270,6 @@ "outputs": [] }, { - "id": "hev6GlsneUqQtJultvGUFQ", "cell_type": "code", "source": [ "public abstract record KeyedRecord : IKeyed {", @@ -306,7 +283,6 @@ "outputs": [] }, { - "id": "01cW7mL7aU6ojJyBRYnoRw", "cell_type": "code", "source": [ "public abstract record KeyedDimension : INamed {", @@ -326,7 +302,6 @@ "outputs": [] }, { - "id": "G4Du5Lq4ekyLtRBqqmY8KQ", "cell_type": "code", "source": [ "public abstract record KeyedOrderedDimension : KeyedDimension, IOrdered {", @@ -339,7 +314,6 @@ "outputs": [] }, { - "id": "apV-0FaPCUC53iF8dtg4bA", "cell_type": "code", "source": [ "public abstract record KeyedOrderedDimensionWithExternalId : KeyedOrderedDimension {", @@ -353,7 +327,6 @@ "outputs": [] }, { - "id": "c99r-95hxEGNlSWFap4psw", "cell_type": "markdown", "source": [ "", @@ -371,7 +344,6 @@ "outputs": [] }, { - "id": "OLKX7adzcEiBfX4ViPGUAw", "cell_type": "markdown", "source": [ "", @@ -385,7 +357,6 @@ "outputs": [] }, { - "id": "kosUH41ZvEy3T-sTMgijyg", "cell_type": "code", "source": [ "//TODO: Should this be abstract or have a reference to the type?", @@ -396,7 +367,6 @@ "outputs": [] }, { - "id": "Tp-41ZIa1kub9oJSD5ibqQ", "cell_type": "markdown", "source": [ "", @@ -407,7 +377,6 @@ "outputs": [] }, { - "id": "8eBHNXGQzEyLbfkkhfefWQ", "cell_type": "markdown", "source": [ "Amount Type is a dimension used to describe the nature of numbers. For example: Numbers associated to the payment of premiums have Amount Type 'Premiums'; Numbers associated to the payment of claims have Amount Type 'Claims'; Numbers associated to expenses have Amount Type 'Expenses'. ", @@ -421,7 +390,6 @@ "outputs": [] }, { - "id": "QJYJ1Q90-UavXxYFeCGs-A", "cell_type": "code", "source": [ "public record AmountType : KeyedOrderedDimensionWithExternalId, IHierarchicalDimension", @@ -440,7 +408,6 @@ "outputs": [] }, { - "id": "zwL1mP_fyEaPJIo7MRDj0g", "cell_type": "markdown", "source": [ "We distinguish between amount types used for cashflows and actuals (**Present Value Amount Types**), and amount types used for deferrable values (**Deferrable Amount Types**). In particular, deferrable amount types are for costs and expenses that can be deferred to the future. These amounts are treated separately from the Present Value Amount Types because they are not considered for the calculation of Contractual Service Margin and Loss Component." @@ -450,7 +417,6 @@ "outputs": [] }, { - "id": "xXvF54kBF0C6mNNLJGYH9Q", "cell_type": "code", "source": [ "public record DeferrableAmountType : AmountType {}" @@ -460,7 +426,6 @@ "outputs": [] }, { - "id": "40iqJ-O9qEGg2OiuWQvabA", "cell_type": "markdown", "source": [ "", @@ -475,7 +440,6 @@ "outputs": [] }, { - "id": "SORci-jtcEW5a8OFmDj2Fg", "cell_type": "code", "source": [ "public record RiskDriver : KeyedOrderedDimension, IHierarchicalDimension", @@ -490,7 +454,6 @@ "outputs": [] }, { - "id": "nYMm-mQrj0KEBCHoXoH5hQ", "cell_type": "markdown", "source": [ "", @@ -503,7 +466,6 @@ "outputs": [] }, { - "id": "m8jX-ECAtECu0gFbBS1s7g", "cell_type": "code", "source": [ "public record EstimateType : KeyedOrderedDimensionWithExternalId", @@ -523,7 +485,6 @@ "outputs": [] }, { - "id": "kPTZ7_RnoUqohThIWWYy0A", "cell_type": "markdown", "source": [ "", @@ -536,7 +497,6 @@ "outputs": [] }, { - "id": "K0d74Xw5i0iPT4baRGhcPw", "cell_type": "code", "source": [ "public record Novelty : KeyedOrderedDimension {}" @@ -546,7 +506,6 @@ "outputs": [] }, { - "id": "7EP52ewzjk293OCh5CO0iA", "cell_type": "markdown", "source": [ "", @@ -557,7 +516,6 @@ "outputs": [] }, { - "id": "b5paXRuxKUus4Bm6tLyi9w", "cell_type": "code", "source": [ "public record VariableType : KeyedOrderedDimension, IHierarchicalDimension", @@ -571,7 +529,6 @@ "outputs": [] }, { - "id": "wFBlWBk4c0in2LsXyLqbBA", "cell_type": "markdown", "source": [ "", @@ -591,7 +548,6 @@ "outputs": [] }, { - "id": "kDoD4QjYMUGAzXwEvCwf-A", "cell_type": "code", "source": [ "public record AocType : VariableType", @@ -606,7 +562,6 @@ "outputs": [] }, { - "id": "nDI4hKR530udvpIoO6ixsQ", "cell_type": "code", "source": [ "public record AocStep(string AocType, string Novelty){}" @@ -616,7 +571,6 @@ "outputs": [] }, { - "id": "U4FRFJw6u0eSeSy4yO1pWg", "cell_type": "markdown", "source": [ "", @@ -629,7 +583,6 @@ "outputs": [] }, { - "id": "LMKMAXnc3EqZp672ZjbR-g", "cell_type": "code", "source": [ "public record PnlVariableType : VariableType {}" @@ -639,7 +592,6 @@ "outputs": [] }, { - "id": "bVzzi7gJVUOAENq25I1JUQ", "cell_type": "markdown", "source": [ "", @@ -652,7 +604,6 @@ "outputs": [] }, { - "id": "Azjq6-w3xU6XO28qySfeEQ", "cell_type": "code", "source": [ "public record BsVariableType : VariableType {}" @@ -662,7 +613,6 @@ "outputs": [] }, { - "id": "tnri9RIpOEO8xYbVkcSDaw", "cell_type": "markdown", "source": [ "## Accounting Variable Type", @@ -673,7 +623,6 @@ "outputs": [] }, { - "id": "_ITqpse1tkOzZIOiGx5RCg", "cell_type": "code", "source": [ "public record AccountingVariableType : VariableType {}" @@ -683,7 +632,6 @@ "outputs": [] }, { - "id": "4-lSJ9zaOUeDX79K04UlPQ", "cell_type": "markdown", "source": [ "", @@ -695,7 +643,6 @@ "outputs": [] }, { - "id": "_LV67wZghEKrJhiuaRhbmQ", "cell_type": "code", "source": [ "public record Scenario : KeyedDimension {}" @@ -705,7 +652,6 @@ "outputs": [] }, { - "id": "7b7N1_AF0UehwCPAqas-Mw", "cell_type": "markdown", "source": [ " The 'neutral' Scenario (i.e. the default one, with no-stress situations applied) is designated as 'Best Estimate'." @@ -715,7 +661,6 @@ "outputs": [] }, { - "id": "Ta7e8UWrjUO1NU-lBUgTeA", "cell_type": "markdown", "source": [ "", @@ -726,7 +671,6 @@ "outputs": [] }, { - "id": "o0OA9JhZYU2nHM2f_Udg9A", "cell_type": "markdown", "source": [ "Line Of Business is a dimension used to identity insurance business according to usual business classifications (usually a market or company-specific business classification representing a convolution of risk covered, 1st party / 3rd party cover type, product type, etc...)", @@ -737,7 +681,6 @@ "outputs": [] }, { - "id": "QGo_JuZyVkuYVndoizxDOw", "cell_type": "code", "source": [ "public record LineOfBusiness : KeyedOrderedDimension, IHierarchicalDimension", @@ -752,7 +695,6 @@ "outputs": [] }, { - "id": "dbbd2ggxGE6mHjqrwgHL1g", "cell_type": "markdown", "source": [ "", @@ -763,7 +705,6 @@ "outputs": [] }, { - "id": "nqDwmu8MDEO3jL-H-woh2Q", "cell_type": "markdown", "source": [ "Currency is a dimension used to identity the currency.", @@ -774,7 +715,6 @@ "outputs": [] }, { - "id": "XA10ILHLkUWbpQzJBAkXZQ", "cell_type": "code", "source": [ "public record Currency : KeyedDimension {}" @@ -784,7 +724,6 @@ "outputs": [] }, { - "id": "wsLO89dcuE27G1nHtDuN0Q", "cell_type": "markdown", "source": [ "", @@ -797,7 +736,6 @@ "outputs": [] }, { - "id": "_YZihbxs1kq82s_4uJ50rw", "cell_type": "code", "source": [ "public record EconomicBasis : KeyedDimension {}" @@ -807,7 +745,6 @@ "outputs": [] }, { - "id": "1rEXbs0tE0ixs2PKxuzijw", "cell_type": "markdown", "source": [ "", @@ -819,7 +756,6 @@ "outputs": [] }, { - "id": "8xWDJeD0HUSL7cCWWfxB2A", "cell_type": "code", "source": [ "public record ValuationApproach : KeyedDimension {}" @@ -829,7 +765,6 @@ "outputs": [] }, { - "id": "-VuXuyWx-UeVrmyIH4tynw", "cell_type": "markdown", "source": [ "", @@ -841,7 +776,6 @@ "outputs": [] }, { - "id": "pBn2RHZYH0mvlWDyMqWAYQ", "cell_type": "code", "source": [ "public record LiabilityType : KeyedDimension, IHierarchicalDimension", @@ -856,7 +790,6 @@ "outputs": [] }, { - "id": "JqUkEBkxEUyu9LWoQ9edog", "cell_type": "markdown", "source": [ "", @@ -868,7 +801,6 @@ "outputs": [] }, { - "id": "-pft1geAOkqbKgubPnY0PA", "cell_type": "code", "source": [ "public record OciType : KeyedDimension {}" @@ -878,7 +810,6 @@ "outputs": [] }, { - "id": "S5jtO-BT_EWHwNwFWnSteQ", "cell_type": "markdown", "source": [ "", @@ -889,7 +820,6 @@ "outputs": [] }, { - "id": "agAepHAWC0aM8vwzMiATxA", "cell_type": "markdown", "source": [ "Profitability is a dimension used in IFRS 17 to describe the profitability of a Group of Contracts (GIC/GRIC).", @@ -900,7 +830,6 @@ "outputs": [] }, { - "id": "4s8YBnMHfEy5nNG3RvtvQg", "cell_type": "code", "source": [ "public record Profitability : KeyedDimension {}" @@ -910,7 +839,6 @@ "outputs": [] }, { - "id": "sG9C9SlT80Sa9yKzTmomHg", "cell_type": "markdown", "source": [ "", @@ -922,7 +850,6 @@ "outputs": [] }, { - "id": "2PWRjN6ClE2h1_mjVLnjVA", "cell_type": "code", "source": [ "public record Partner : KeyedDimension {}" @@ -932,7 +859,6 @@ "outputs": [] }, { - "id": "xFvb4itG9kGr-znXcMtZmg", "cell_type": "markdown", "source": [ "", @@ -944,7 +870,6 @@ "outputs": [] }, { - "id": "aBpP5Oc4Eke83JkSwrVEyA", "cell_type": "code", "source": [ "public record CreditRiskRating : KeyedDimension {}" @@ -954,7 +879,6 @@ "outputs": [] }, { - "id": "JYBlHEuf2EeBJK2agw9PTg", "cell_type": "markdown", "source": [ "", @@ -966,7 +890,6 @@ "outputs": [] }, { - "id": "sdTROCNthU-SbN8qtndCug", "cell_type": "code", "source": [ "public record ReportingNode : KeyedDimension, IHierarchicalDimension ", @@ -986,7 +909,6 @@ "outputs": [] }, { - "id": "f3cgPrGYWEuewvULtOePgw", "cell_type": "markdown", "source": [ "", @@ -997,7 +919,6 @@ "outputs": [] }, { - "id": "OscX2jPkaUKAsAMmlWbnLA", "cell_type": "markdown", "source": [ "Projections are configured by defining the following 2 parameters:", @@ -1013,7 +934,6 @@ "outputs": [] }, { - "id": "Y6oQoI4XX0CwFsNhatS-RQ", "cell_type": "code", "source": [ "public record ProjectionConfiguration : KeyedDimension", @@ -1029,7 +949,6 @@ "outputs": [] }, { - "id": "WYjnvQgpH06wl1eIrT8woA", "cell_type": "markdown", "source": [ "", @@ -1040,7 +959,6 @@ "outputs": [] }, { - "id": "E5oOYjdJEUCETU2i9e-Qug", "cell_type": "markdown", "source": [ "", @@ -1051,7 +969,6 @@ "outputs": [] }, { - "id": "6GbflKhoxUiG2pAgS_I-0A", "cell_type": "markdown", "source": [ "The record below holds parameters over time for each combination of AocType and Novelty. In particular:", @@ -1070,7 +987,6 @@ "outputs": [] }, { - "id": "x8qrzUb0PEOCGxJSra4XXg", "cell_type": "code", "source": [ "public record AocConfiguration : KeyedRecord, IWithYearAndMonth, IOrdered", @@ -1138,7 +1054,6 @@ "outputs": [] }, { - "id": "QVPcX4AOT0uI2pyntN7nxw", "cell_type": "markdown", "source": [ "", @@ -1152,7 +1067,6 @@ "outputs": [] }, { - "id": "fjWZFfSVXUuuznBgoCdv3g", "cell_type": "code", "source": [ "public record ExchangeRate : KeyedRecord, IWithYearMonthAndScenario", @@ -1198,7 +1112,6 @@ "outputs": [] }, { - "id": "ZKgLspAsdEC-hOZtcXzNPg", "cell_type": "markdown", "source": [ "", @@ -1214,7 +1127,6 @@ "outputs": [] }, { - "id": "tMR0fSlBv0Krf5Y3YbA8SA", "cell_type": "code", "source": [ "public record CreditDefaultRate : KeyedRecord, IWithYearMonthAndScenario", @@ -1256,7 +1168,6 @@ "outputs": [] }, { - "id": "7dQwcrF4RUaBa9E-lwlRJg", "cell_type": "markdown", "source": [ "", @@ -1273,7 +1184,6 @@ "outputs": [] }, { - "id": "5_Tdu0mOuUKPDS1__w7oKw", "cell_type": "code", "source": [ "public record YieldCurve : KeyedRecord, IWithYearMonthAndScenario", @@ -1315,7 +1225,6 @@ "outputs": [] }, { - "id": "nOgE_q28hEOm1sKGlkVYFQ", "cell_type": "markdown", "source": [ "", @@ -1327,7 +1236,6 @@ "outputs": [] }, { - "id": "NsO44SR5NEmuCID96R3hkg", "cell_type": "code", "source": [ "public record PartnerRating : KeyedRecord, IWithYearMonthAndScenario", @@ -1370,7 +1278,6 @@ "outputs": [] }, { - "id": "BEbzTJO6dE2xO4j5NLPSOg", "cell_type": "markdown", "source": [ "", @@ -1382,7 +1289,6 @@ "outputs": [] }, { - "id": "QkFB_IgHtkGLWDYc5tCu2g", "cell_type": "code", "source": [ "public abstract record IfrsPartition : IPartition {", @@ -1407,7 +1313,6 @@ "outputs": [] }, { - "id": "VHEBFc1800ql7zqmcDgZSA", "cell_type": "markdown", "source": [ "For instance, the data pertaining to a certain [Reporting Node](#reporting-node) for a certain [Scenario](#scenario) is called an IfrsPartition and assigned a unique identifier:" @@ -1417,7 +1322,6 @@ "outputs": [] }, { - "id": "bfSp5T3pV0KWnxNftKMGeQ", "cell_type": "code", "source": [ "public record PartitionByReportingNode : IfrsPartition {}" @@ -1427,7 +1331,6 @@ "outputs": [] }, { - "id": "s-Z9GAJm7kSMmpdCbP93bA", "cell_type": "markdown", "source": [ "The partition PartitionByReportingNodeAndPeriod is a further partition of the IfrsPartition sets - In particular, it defines sets for the data pertaining to a certain [Reporting Node](#reporting-node), [Scenario](#scenario), year and month. The value of the Month is the last month of the reporting period to which the data belongs to. " @@ -1437,7 +1340,6 @@ "outputs": [] }, { - "id": "zISZyAdnkEyzTE1zpuwyyg", "cell_type": "code", "source": [ "public record PartitionByReportingNodeAndPeriod : IfrsPartition {", @@ -1457,7 +1359,6 @@ "outputs": [] }, { - "id": "SqNVh5wtfUezX47Ykwro3g", "cell_type": "markdown", "source": [ "", @@ -1470,7 +1371,6 @@ "outputs": [] }, { - "id": "kQT5JYjIskOeFjgMZ1w69g", "cell_type": "markdown", "source": [ "", @@ -1490,7 +1390,6 @@ "outputs": [] }, { - "id": "sDuxslDif0Sc7ayoPFDBvw", "cell_type": "code", "source": [ "public record DataNode : KeyedDimension, IPartitioned {", @@ -1530,7 +1429,6 @@ "outputs": [] }, { - "id": "FSa402W3TkiFSw4IlrT0JQ", "cell_type": "markdown", "source": [ "", @@ -1545,7 +1443,6 @@ "outputs": [] }, { - "id": "FyJPLygckkiVEUELn08X3A", "cell_type": "code", "source": [ "public record Portfolio : DataNode {}", @@ -1558,7 +1455,6 @@ "outputs": [] }, { - "id": "-hbDX86jWke27T_Qi4yjUQ", "cell_type": "markdown", "source": [ "", @@ -1573,7 +1469,6 @@ "outputs": [] }, { - "id": "rElVpacAmUegdwqcG3mmGw", "cell_type": "code", "source": [ "public record GroupOfContract : DataNode {", @@ -1606,7 +1501,6 @@ "outputs": [] }, { - "id": "UoH8t8Gr3EeGXaXp2w6Vyg", "cell_type": "markdown", "source": [ "A group of insurance contracts is called a **GIC** and has no information on Partner.", @@ -1619,7 +1513,6 @@ "outputs": [] }, { - "id": "fxV6ONW9S02XR3zAH5RGdw", "cell_type": "code", "source": [ "public record GroupOfInsuranceContract : GroupOfContract {", @@ -1653,7 +1546,6 @@ "outputs": [] }, { - "id": "2RcBhR-gLEi1fyPfMVmLuA", "cell_type": "markdown", "source": [ "", @@ -1667,7 +1559,6 @@ "outputs": [] }, { - "id": "Aaigxy_oXE6AunRElFSYAw", "cell_type": "code", "source": [ "public record DataNodeState : KeyedRecord, IPartitioned, IWithYearMonthAndScenario", @@ -1715,7 +1606,6 @@ "outputs": [] }, { - "id": "iDKOuanhL0i6psYc1KBeHw", "cell_type": "markdown", "source": [ "", @@ -1732,7 +1622,6 @@ "outputs": [] }, { - "id": "-lkGCfDzo0SbSF7dZDXIUQ", "cell_type": "code", "source": [ "public record DataNodeParameter : KeyedRecord, IPartitioned, IWithYearMonthAndScenario", @@ -1775,7 +1664,6 @@ "outputs": [] }, { - "id": "zpfXY4qd10-jnedhyiVr-Q", "cell_type": "code", "source": [ "public record SingleDataNodeParameter : DataNodeParameter {", @@ -1800,7 +1688,6 @@ "outputs": [] }, { - "id": "kxGsVzfJE0y6EdlnIRcskg", "cell_type": "markdown", "source": [ "## DataNodeData PocoType", @@ -1811,7 +1698,6 @@ "outputs": [] }, { - "id": "vIbSqkxEAEimfOTb5df1lw", "cell_type": "code", "source": [ "public record DataNodeData {", @@ -1847,7 +1733,6 @@ "outputs": [] }, { - "id": "GoHhGqOtG0-OVZzbd26MIQ", "cell_type": "markdown", "source": [ "", @@ -1862,7 +1747,6 @@ "outputs": [] }, { - "id": "1uBvKkke9E-jE50KJE63Kg", "cell_type": "code", "source": [ "public abstract record BaseVariableIdentity {", @@ -1887,7 +1771,6 @@ "outputs": [] }, { - "id": "09RqJAd98k-0yKxsVJoj7A", "cell_type": "code", "source": [ "public abstract record BaseDataRecord : BaseVariableIdentity, IKeyed, IPartitioned {", @@ -1915,7 +1798,6 @@ "outputs": [] }, { - "id": "MNQBq-sMm0qE88pJs4TI0w", "cell_type": "markdown", "source": [ "Basically, RawVariable is defined for a certain Reporting Node, Scenario, Year, Month, Amount Type and Calculation Type:" @@ -1925,7 +1807,6 @@ "outputs": [] }, { - "id": "KWxQ2RGp3U-5Si5Yn8_TxQ", "cell_type": "code", "source": [ "public record RawVariable : BaseDataRecord", @@ -1944,7 +1825,6 @@ "outputs": [] }, { - "id": "32EH_CRHdkaqykLzNiRMlA", "cell_type": "markdown", "source": [ "", @@ -1964,7 +1844,6 @@ "outputs": [] }, { - "id": "ATEjwkbM7EmskgkBl5iDXA", "cell_type": "code", "source": [ "public record IfrsVariable : BaseDataRecord", @@ -1989,7 +1868,6 @@ "outputs": [] }, { - "id": "IEgWB97Takeh-qD2nT3RMA", "cell_type": "markdown", "source": [ "", @@ -2001,7 +1879,6 @@ "outputs": [] }, { - "id": "QzLZ4ykjzUmtv-rANE7xIw", "cell_type": "code", "source": [ "public record ImportIdentity : BaseVariableIdentity {", @@ -2039,7 +1916,6 @@ "outputs": [] }, { - "id": "o5bDYrCFbEq9Q86kAQ8M2A", "cell_type": "markdown", "source": [ "", @@ -2052,7 +1928,6 @@ "outputs": [] }, { - "id": "uJSztRmWuUqUk4sLXE3pqQ", "cell_type": "code", "source": [ "public record ReportVariable {", @@ -2227,7 +2102,6 @@ "outputs": [] }, { - "id": "5KnkxM7jkkq7I_q6uVn55w", "cell_type": "markdown", "source": [ "# Args" @@ -2237,7 +2111,6 @@ "outputs": [] }, { - "id": "3Q9oP3-cLUqSGJRmFqlnTA", "cell_type": "code", "source": [ "public record Args(string ReportingNode, int Year, int Month, Periodicity Periodicity, string Scenario){}" @@ -2247,7 +2120,6 @@ "outputs": [] }, { - "id": "cR_ZU4RxdECNosEby4pYNQ", "cell_type": "code", "source": [ "public record ImportArgs : Args", @@ -2266,7 +2138,6 @@ "outputs": [] }, { - "id": "GioFDTgmvEmQbwUEAS8ywA", "cell_type": "code", "source": [ "public record ReportArgs : Args", diff --git a/ifrs17/Export/ExportConfiguration.ipynb b/ifrs17/Export/ExportConfiguration.ipynb index 81651f36..2387d75f 100644 --- a/ifrs17/Export/ExportConfiguration.ipynb +++ b/ifrs17/Export/ExportConfiguration.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "P-g7GArHA0aKcY2PxC5q8Q", "cell_type": "markdown", "source": [ "

Export Configuration

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "rsDJFZee4EKdQ35EUXjOKA", "cell_type": "code", "source": [ "#!import \"../DataModel/DataStructure\"" @@ -38,7 +36,6 @@ "outputs": [] }, { - "id": "Xz94Khhs1kmnH1IVWMSmaw", "cell_type": "code", "source": [ "using Systemorph.Vertex.Export.Builders.Interfaces;", @@ -49,7 +46,6 @@ "outputs": [] }, { - "id": "Ou65UNaKpEyCJRGlrLysBQ", "cell_type": "markdown", "source": [ "# Main Tab" @@ -59,7 +55,6 @@ "outputs": [] }, { - "id": "BWX9kQ_c00uLzpJKNyOhew", "cell_type": "code", "source": [ "public static IDocumentBuilder MainTabConfigurationWoScenario(this IDocumentBuilder builder, T args) where T : IfrsPartition", @@ -74,7 +69,6 @@ "outputs": [] }, { - "id": "uvnoDsE4oUSt0PB0WNhadA", "cell_type": "code", "source": [ "public static IDocumentBuilder MainTabConfiguration(this IDocumentBuilder builder, T args) where T : IfrsPartition", @@ -88,7 +82,6 @@ "outputs": [] }, { - "id": "hQK8WsGMl0mDnOVj_sjG-A", "cell_type": "markdown", "source": [ "# Porfolio" @@ -98,7 +91,6 @@ "outputs": [] }, { - "id": "ozokghlNa0ODKC1mTz08zw", "cell_type": "code", "source": [ "public static IDocumentBuilder PortfolioConfiguration(this IDocumentBuilder builder, Type DependsOnType = default) where T : Portfolio", @@ -117,7 +109,6 @@ "outputs": [] }, { - "id": "KWuLpwNT0Ui1wDosD3-3UA", "cell_type": "markdown", "source": [ "# Group of Contract" @@ -127,7 +118,6 @@ "outputs": [] }, { - "id": "0uiDgQgJTkO85SFnjbGm0w", "cell_type": "code", "source": [ "public static IDocumentBuilder GroupofContractConfiguration(this IDocumentBuilder builder, Type DependsOnType = default) where T : GroupOfContract", @@ -152,7 +142,6 @@ "outputs": [] }, { - "id": "yHfYqYJoYEOI-zwzcrmiTA", "cell_type": "markdown", "source": [ "# Data Node State" @@ -162,7 +151,6 @@ "outputs": [] }, { - "id": "dPWh1L5KDkOezW6JgfkpVA", "cell_type": "code", "source": [ "using DocumentFormat.OpenXml.Spreadsheet;" @@ -172,7 +160,6 @@ "outputs": [] }, { - "id": "9wuPH7XlmUmQii3J5fpAXQ", "cell_type": "code", "source": [ "public record HelperState { public string State {get; init;} }" @@ -182,7 +169,6 @@ "outputs": [] }, { - "id": "07W-etuVhUCGCNpWWgHgXQ", "cell_type": "code", "source": [ "public static IExcelDocumentBuilder DataNodeStateConfiguration (this IExcelDocumentBuilder builder, DataNodeState[] data)", @@ -212,7 +198,6 @@ "outputs": [] }, { - "id": "HU5u0yMp_U68TZhQJQ7Pug", "cell_type": "code", "source": [ "public static IExcelDocumentBuilder StateEnumConfiguration (this IExcelDocumentBuilder builder)", @@ -229,7 +214,6 @@ "outputs": [] }, { - "id": "aVQIFdhD-kCArwh73N3GYA", "cell_type": "markdown", "source": [ "# Data Node Parameter" @@ -239,7 +223,6 @@ "outputs": [] }, { - "id": "rnyY1JSYWkaeU1B5vAG6Ng", "cell_type": "code", "source": [ "public static IExcelDocumentBuilder DataNodeParameterConfiguration (this IExcelDocumentBuilder builder, Dictionary data)", @@ -278,7 +261,6 @@ "outputs": [] }, { - "id": "fAsIOPFhGUO054zF6vyX0A", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Import/ImportScopeCalculation.ipynb b/ifrs17/Import/ImportScopeCalculation.ipynb index 92be02bf..6c12cedb 100644 --- a/ifrs17/Import/ImportScopeCalculation.ipynb +++ b/ifrs17/Import/ImportScopeCalculation.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "IZg63U-r4Uq_ro4hRUgeRw", "cell_type": "markdown", "source": [ "", @@ -29,7 +28,6 @@ "outputs": [] }, { - "id": "HGJXnMwy4kWKjzkHkvX8iw", "cell_type": "markdown", "source": [ "This notebook contains the logic used to perform calculations upon import of data (actuals and cashflows). This is also called 'Data Loading' and the concept of Scope is used here to define the logic and provide the means of executing the logic." @@ -39,7 +37,6 @@ "outputs": [] }, { - "id": "e-Y5r2I4OUCIlOVCJaGGgg", "cell_type": "markdown", "source": [ "# References", @@ -50,7 +47,6 @@ "outputs": [] }, { - "id": "D25xwuzaa0Ok5fW4jO2zzg", "cell_type": "markdown", "source": [ "## Notebooks" @@ -60,7 +56,6 @@ "outputs": [] }, { - "id": "-meq1BlgnEO_9Qi9rN8PKQ", "cell_type": "code", "source": [ "#!import \"ImportStorage\"" @@ -70,7 +65,6 @@ "outputs": [] }, { - "id": "q7mCfe8spkiYyz0WXIYsng", "cell_type": "markdown", "source": [ "", @@ -84,7 +78,6 @@ "outputs": [] }, { - "id": "K3W7iT04JUmcnpM2pQHY5A", "cell_type": "code", "source": [ "public interface IModel : IMutableScopeWithStorage{}" @@ -94,7 +87,6 @@ "outputs": [] }, { - "id": "JrH9-tdBRkum_Pb0wxjsvw", "cell_type": "markdown", "source": [ "## Getting Existing Identities", @@ -108,7 +100,6 @@ "outputs": [] }, { - "id": "Dr6JlCAOa0qTLmEK7mkBRQ", "cell_type": "code", "source": [ "public interface AllCfIdentities : IScope // string represents a DataNode", @@ -126,7 +117,6 @@ "outputs": [] }, { - "id": "AoUS_cRh0U-AkCOrRjqHQA", "cell_type": "code", "source": [ "public interface GetIdentities : IScope", @@ -221,7 +211,6 @@ "outputs": [] }, { - "id": "jE0aaaKrhka02hbasl8sXw", "cell_type": "markdown", "source": [ "## Getting Amount Types", @@ -233,7 +222,6 @@ "outputs": [] }, { - "id": "3ZoSi02F8UqASGhq1HtvUw", "cell_type": "code", "source": [ "public interface ValidAmountType : IScope", @@ -267,7 +255,6 @@ "outputs": [] }, { - "id": "O-LqZH86kkyVyuFwRmE5Ng", "cell_type": "markdown", "source": [ "", @@ -280,7 +267,6 @@ "outputs": [] }, { - "id": "cAjg0RqZuU6dxyD4BHjSaw", "cell_type": "markdown", "source": [ "### ParentAocStep ", @@ -307,7 +293,6 @@ "outputs": [] }, { - "id": "sGX4WCgwCEWf2CpcEzCASQ", "cell_type": "code", "source": [ "public interface ParentAocStep : IScope<(ImportIdentity Id, string AmountType), ImportStorage>", @@ -342,7 +327,6 @@ "outputs": [] }, { - "id": "ZQKnYOpT6EKVKhyDAHuKHw", "cell_type": "markdown", "source": [ "### ReferenceAocStep", @@ -371,7 +355,6 @@ "outputs": [] }, { - "id": "52TfWUCcQUyc39rYcKe5KA", "cell_type": "code", "source": [ "public interface ReferenceAocStep : IScope ", @@ -403,7 +386,6 @@ "outputs": [] }, { - "id": "XSykc2IcnUu5GLwIp9a5xQ", "cell_type": "markdown", "source": [ "### PreviousAocSteps", @@ -432,7 +414,6 @@ "outputs": [] }, { - "id": "LFMQRLnGDUeBO3zmMY_IgA", "cell_type": "code", "source": [ "public interface PreviousAocSteps : IScope<(ImportIdentity Id, InputSource ScopeInputSource), ImportStorage> ", @@ -456,7 +437,6 @@ "outputs": [] }, { - "id": "Ki7yLCpDS0Wgdmiahnjg7g", "cell_type": "markdown", "source": [ "The exact structure being return depends on the **order** of the AoC Steps (which is set by the [AoC Type](../DataModel/DataStructure#aoc-type)), and on which AoC steps exist." @@ -466,7 +446,6 @@ "outputs": [] }, { - "id": "EHEOFcljGkOYAoWWvUEJjQ", "cell_type": "markdown", "source": [ "", @@ -479,7 +458,6 @@ "outputs": [] }, { - "id": "o-nF81nHo0O2pGOpaMZPOA", "cell_type": "markdown", "source": [ "", @@ -498,7 +476,6 @@ "outputs": [] }, { - "id": "y-3vJArEak2Gxm9Aya6jOA", "cell_type": "markdown", "source": [ "", @@ -521,7 +498,6 @@ "outputs": [] }, { - "id": "5Vjdb4UUeUWnuDe1HDkF2Q", "cell_type": "code", "source": [ "public interface MonthlyRate : IScope", @@ -542,7 +518,6 @@ "outputs": [] }, { - "id": "gD7ZdyMyvkmzaiszXR_dqw", "cell_type": "markdown", "source": [ "", @@ -558,7 +533,6 @@ "outputs": [] }, { - "id": "ZmO1j4uGlkGdbfvcSEXJQg", "cell_type": "code", "source": [ "public interface NominalCashflow : IScope<(ImportIdentity Id, string AmountType, string EstimateType, int? AccidentYear), ImportStorage>", @@ -600,7 +574,6 @@ "outputs": [] }, { - "id": "IIkemYfM30ytcItha5eYDw", "cell_type": "markdown", "source": [ "For a given month $i$ they are denoted as $\\rm{Nominal}_i$." @@ -610,7 +583,6 @@ "outputs": [] }, { - "id": "_PYIAO14FkCWaGjw_h3sjg", "cell_type": "markdown", "source": [ "", @@ -625,7 +597,6 @@ "outputs": [] }, { - "id": "PaIuIxDLMUymcYHNicfmFw", "cell_type": "markdown", "source": [ "", @@ -651,7 +622,6 @@ "outputs": [] }, { - "id": "85QfNxNpt06PAgYiZIqTLg", "cell_type": "code", "source": [ "public interface DiscountedCashflow : IScope<(ImportIdentity Id, string AmountType, string EstimateType, int? Accidentyear), ImportStorage>", @@ -685,7 +655,6 @@ "outputs": [] }, { - "id": "Yyg3nKDMaUegdQgSZmJfhg", "cell_type": "markdown", "source": [ "", @@ -710,7 +679,6 @@ "outputs": [] }, { - "id": "c6EYdq9zZ0uT4yfFAynddw", "cell_type": "code", "source": [ "public interface TelescopicDifference : IScope<(ImportIdentity Id, string AmountType, string EstimateType, int? Accidentyear), ImportStorage>", @@ -733,7 +701,6 @@ "outputs": [] }, { - "id": "DKL8osruCU-DbEb-tO_8wA", "cell_type": "markdown", "source": [ "", @@ -762,7 +729,6 @@ "outputs": [] }, { - "id": "wmAA753Li0Osew0Rx9zS6A", "cell_type": "code", "source": [ "public interface IWithGetValueFromValues : IScope<(ImportIdentity Id, string AmountType, string EstimateType, int? AccidentYear), ImportStorage>", @@ -787,7 +753,6 @@ "outputs": [] }, { - "id": "XDKoRCKk-ESOsrY7vOJ-Ew", "cell_type": "markdown", "source": [ "", @@ -811,7 +776,6 @@ "outputs": [] }, { - "id": "k8NFcJLF20-kg-ZccJEv5A", "cell_type": "code", "source": [ "public interface IWithInterestAccretion : IScope<(ImportIdentity Id, string AmountType, string EstimateType, int? AccidentYear), ImportStorage>", @@ -867,7 +831,6 @@ "outputs": [] }, { - "id": "dM2KZ1PPx0u8-5bNcF2Ccg", "cell_type": "markdown", "source": [ "", @@ -895,7 +858,6 @@ "outputs": [] }, { - "id": "8GRVgEhgUECARHHffZ47qg", "cell_type": "code", "source": [ "public interface PresentValue : IWithGetValueFromValues", @@ -960,7 +922,6 @@ "outputs": [] }, { - "id": "0kSvVBqlrkKl9AsILO34Rw", "cell_type": "markdown", "source": [ "", @@ -996,7 +957,6 @@ "outputs": [] }, { - "id": "rwsQvKBwpEKmspbkigTlhA", "cell_type": "code", "source": [ "public interface PvLocked : IScope", @@ -1041,7 +1001,6 @@ "outputs": [] }, { - "id": "p2piX2ZdiUu8ZvUw9tRc7g", "cell_type": "markdown", "source": [ "", @@ -1064,7 +1023,6 @@ "outputs": [] }, { - "id": "IxvlLZjNpkeg3-puzDYTog", "cell_type": "code", "source": [ "public interface RaLocked : IScope", @@ -1101,7 +1059,6 @@ "outputs": [] }, { - "id": "d4HlvRMhakijU2gChsTaBg", "cell_type": "markdown", "source": [ "", @@ -1114,7 +1071,6 @@ "outputs": [] }, { - "id": "DeqWNbrHikiG4bMQfqXG2w", "cell_type": "markdown", "source": [ "", @@ -1130,7 +1086,6 @@ "outputs": [] }, { - "id": "_ELmzzZJN0uiiI1FeT0svQ", "cell_type": "code", "source": [ "public interface CoverageUnitCashflow : IScope", @@ -1148,7 +1103,6 @@ "outputs": [] }, { - "id": "T8Y3hoFpOUuOHW_Ykmzvmw", "cell_type": "markdown", "source": [ "", @@ -1159,7 +1113,6 @@ "outputs": [] }, { - "id": "HeJtygvtGk6eh7_xoPz94w", "cell_type": "markdown", "source": [ "For a certain GIC, the monthly Amortization Factors $\\text{Monthly }AF_i$ are computed from the cashflows of the underlying coverage unit for that GIC:", @@ -1178,7 +1131,6 @@ "outputs": [] }, { - "id": "6LTCrGSIBUC8NNCHa7XoSw", "cell_type": "code", "source": [ "public interface MonthlyAmortizationFactorCashflow : IScope", @@ -1202,7 +1154,6 @@ "outputs": [] }, { - "id": "T-KevHUzMU6jtx0febbk3Q", "cell_type": "markdown", "source": [ "For a certain projection period - defined by the Shift, $S$, and the Time-Step, $TS$, parameters - the Amortization Factor is then given by the product of the corresponding monthly amortization factors:", @@ -1220,7 +1171,6 @@ "outputs": [] }, { - "id": "XMjWT533GUeMzhXBqcbNQQ", "cell_type": "code", "source": [ "public interface CurrentPeriodAmortizationFactor : IScope", @@ -1255,7 +1205,6 @@ "outputs": [] }, { - "id": "4Fjpb-dp4kKfTVXN_ZcKZQ", "cell_type": "markdown", "source": [ "", @@ -1280,7 +1229,6 @@ "outputs": [] }, { - "id": "cEHGz5WS5E-Ii9iLJJsfQw", "cell_type": "markdown", "source": [ "", @@ -1305,7 +1253,6 @@ "outputs": [] }, { - "id": "xxzl252E4UqfccTJZC6Yxw", "cell_type": "code", "source": [ "public interface ActualBase : IScope<(ImportIdentity Id, string AmountType, string EstimateType, int? AccidentYear), ImportStorage>", @@ -1338,7 +1285,6 @@ "outputs": [] }, { - "id": "f5KR23M1rku81r40flA3WQ", "cell_type": "markdown", "source": [ "", @@ -1355,7 +1301,6 @@ "outputs": [] }, { - "id": "qn7r5BBOzEOndYaSAj9Xdg", "cell_type": "code", "source": [ "public interface Actual : IScope", @@ -1376,7 +1321,6 @@ "outputs": [] }, { - "id": "k7EQao6-V0KRhEJwrzUb9Q", "cell_type": "markdown", "source": [ "", @@ -1398,7 +1342,6 @@ "outputs": [] }, { - "id": "S0pnzxS5wEW8KgMHCvHTBA", "cell_type": "code", "source": [ "public interface AdvanceActual : IScope", @@ -1419,7 +1362,6 @@ "outputs": [] }, { - "id": "k8Nl310aM06j_MP1MVjzvw", "cell_type": "markdown", "source": [ "", @@ -1443,7 +1385,6 @@ "outputs": [] }, { - "id": "f7C3NzK97EiGVPP6pEN7BA", "cell_type": "code", "source": [ "public interface OverdueActual : IScope", @@ -1464,7 +1405,6 @@ "outputs": [] }, { - "id": "As4FInLuokOmKXArqSH_pg", "cell_type": "markdown", "source": [ "", @@ -1490,7 +1430,6 @@ "outputs": [] }, { - "id": "Ca6TvbsWNUqcgsiEXoNsxg", "cell_type": "code", "source": [ "public interface DeferrableActual : IScope", @@ -1540,7 +1479,6 @@ "outputs": [] }, { - "id": "h9P0A4w8mkuZ-TOMU_ONEw", "cell_type": "markdown", "source": [ "", @@ -1553,7 +1491,6 @@ "outputs": [] }, { - "id": "Jk5HEkRb2EOEir320okRBg", "cell_type": "markdown", "source": [ "## Experience Adjustment on Premium" @@ -1563,7 +1500,6 @@ "outputs": [] }, { - "id": "oJfwg9hckEmVYLOQDafYxQ", "cell_type": "markdown", "source": [ "The Experience Adjustment (EA) on Premiums weights the cash-flow (CF aocSteps) for premium amount types by the PremiumAllocationFactor input for each group of insurance contract. ", @@ -1582,7 +1518,6 @@ "outputs": [] }, { - "id": "gR_oBLnGjkCdbSR1Xv36KQ", "cell_type": "code", "source": [ "public interface BeExperienceAdjustmentForPremium : IScope", @@ -1609,7 +1544,6 @@ "outputs": [] }, { - "id": "k0CqaQ-_ok2vg6GE1FC75A", "cell_type": "code", "source": [ "public interface ActualExperienceAdjustmentForPremium : IScope", @@ -1633,7 +1567,6 @@ "outputs": [] }, { - "id": "zPtJDlQU6k-Z5r6O60RZaw", "cell_type": "markdown", "source": [ "", @@ -1701,7 +1634,6 @@ "outputs": [] }, { - "id": "19jPup_Bx0GSC7YLpp-7aA", "cell_type": "code", "source": [ "public interface TechnicalMargin : IScope", @@ -1795,7 +1727,6 @@ "outputs": [] }, { - "id": "EL8bVpKgg0mqV06dSFrnyg", "cell_type": "markdown", "source": [ "", @@ -1920,7 +1851,6 @@ "outputs": [] }, { - "id": "wNL0WqL5DEWHPLdAu6D-Qg", "cell_type": "code", "source": [ "public interface AllocateTechnicalMargin: IScope", @@ -2050,7 +1980,6 @@ "outputs": [] }, { - "id": "q9wQO79KLE6XecsW71bHug", "cell_type": "markdown", "source": [ "For the **Group of Reinsurance Contracts** (GRICs), the switch is computed within the underlying GIC context and $CSM$ and $LR$ are then computed in the same manner as for the underlying GICs CSM and LC." @@ -2060,7 +1989,6 @@ "outputs": [] }, { - "id": "wtSp81Pr5k2osiHdsbp9IQ", "cell_type": "markdown", "source": [ "The scopes below are simply used to set the appropriate Estimate Type (C for $CSM$, L for $LC$ and LR for $LoReCo$), as well as to set $CSM$ values to be positive:" @@ -2070,7 +1998,6 @@ "outputs": [] }, { - "id": "YikKMJsnVkabj5NdPZgtRA", "cell_type": "code", "source": [ "public interface ContractualServiceMargin : IScope", @@ -2085,7 +2012,6 @@ "outputs": [] }, { - "id": "Z7iybzoX0kOwNsxQO5PGHg", "cell_type": "code", "source": [ "public interface LossComponent : IScope", @@ -2100,7 +2026,6 @@ "outputs": [] }, { - "id": "WDtHHWXvdUmzUQSyWWjScQ", "cell_type": "code", "source": [ "public interface LossRecoveryComponent : IScope", @@ -2115,7 +2040,6 @@ "outputs": [] }, { - "id": "ZktIv7ZYt0qmFTGek6WDHA", "cell_type": "markdown", "source": [ "## Computing All Scopes", @@ -2127,7 +2051,6 @@ "outputs": [] }, { - "id": "senAlJILrECJzpbfr5ar4A", "cell_type": "code", "source": [ "public interface ComputeAllScopes: IScope //ComputeIfrsVariable", @@ -2304,7 +2227,6 @@ "outputs": [] }, { - "id": "p-LnlEZSK0W1q5f2SrxZMQ", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Import/ImportStorage.ipynb b/ifrs17/Import/ImportStorage.ipynb index db6aebee..cbf5ca60 100644 --- a/ifrs17/Import/ImportStorage.ipynb +++ b/ifrs17/Import/ImportStorage.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "b-AJSwH1T0q6LGMLygwVYQ", "cell_type": "markdown", "source": [ "", @@ -46,7 +45,6 @@ "outputs": [] }, { - "id": "tB8k622IxkexI_F9H3qDew", "cell_type": "code", "source": [ "#!import \"../Utils/EqualityComparers\"", @@ -58,7 +56,6 @@ "outputs": [] }, { - "id": "F3zQ1GvRyUyHAKF0DboHiw", "cell_type": "markdown", "source": [ "# Import Storage" @@ -68,7 +65,6 @@ "outputs": [] }, { - "id": "5OFxFeAcmES2tfGQNvWgHw", "cell_type": "code", "source": [ "public class ImportStorage", @@ -396,7 +392,6 @@ "outputs": [] }, { - "id": "jVpRLSU0bk6kufLUDDNU3Q", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Import/Importers.ipynb b/ifrs17/Import/Importers.ipynb index af7d117c..848abb61 100644 --- a/ifrs17/Import/Importers.ipynb +++ b/ifrs17/Import/Importers.ipynb @@ -19,7 +19,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "GEBNBjd7AESlxlt81wmoXQ", "cell_type": "markdown", "source": [ "", @@ -31,7 +30,6 @@ "outputs": [] }, { - "id": "6aPxAWjoMEGEYwn_2mU05g", "cell_type": "code", "source": [ "#!import \"ImportScopeCalculation\"" @@ -41,7 +39,6 @@ "outputs": [] }, { - "id": "x_-nRNU4fU6Dnxx46JV05A", "cell_type": "markdown", "source": [ "# Parsing Storage", @@ -54,7 +51,6 @@ "outputs": [] }, { - "id": "97QSbHoWKEGb8n7ygLi1dg", "cell_type": "code", "source": [ "public class ParsingStorage", @@ -227,7 +223,6 @@ "outputs": [] }, { - "id": "nEV2GklBnUqC8JIi92ETNw", "cell_type": "markdown", "source": [ "# Basics", @@ -239,7 +234,6 @@ "outputs": [] }, { - "id": "pFCSFdMzVkehiGs_gLbbUg", "cell_type": "markdown", "source": [ "## Clean the Database" @@ -249,7 +243,6 @@ "outputs": [] }, { - "id": "WbGNfikYmUOK7NYwj-HfkQ", "cell_type": "code", "source": [ "async public Task CleanDatabaseAsync (Expression> filter = null) where T : class", @@ -263,7 +256,6 @@ "outputs": [] }, { - "id": "B09ETZusIUyL99bgkGPjRA", "cell_type": "code", "source": [ "async public Task CleanDatabaseFromPartitionAsync (Guid partitionId, Func filter = null) where T : class, IPartitioned", @@ -278,7 +270,6 @@ "outputs": [] }, { - "id": "PMbRolQ05UuKOPa9451dEg", "cell_type": "markdown", "source": [ "## Update the Database" @@ -288,7 +279,6 @@ "outputs": [] }, { - "id": "EjST6sz8JEurnRLnwPYl1Q", "cell_type": "code", "source": [ "async public Task CommitToDatabase (Guid partitionId, bool snapshot = true, Func filter = null) where T : class, IPartitioned", @@ -303,7 +293,6 @@ "outputs": [] }, { - "id": "pQiCmfx0i0qTKU8MrX7n5w", "cell_type": "markdown", "source": [ "## Data Node Factory" @@ -313,7 +302,6 @@ "outputs": [] }, { - "id": "iefdpcJCZE2JSkpcLQ_yAA", "cell_type": "code", "source": [ "public async Task DataNodeFactoryAsync(IDataSet dataSet, string tableName, ImportArgs args)", @@ -347,7 +335,6 @@ "outputs": [] }, { - "id": "5zZRjIRbVk6RvrXn7GTtHA", "cell_type": "markdown", "source": [ "# Importers" @@ -357,7 +344,6 @@ "outputs": [] }, { - "id": "8psLQ8lKpU-50HR8Z9fFeg", "cell_type": "markdown", "source": [ "## Analysis of Change Configuration" @@ -367,7 +353,6 @@ "outputs": [] }, { - "id": "ptM1upQYJUSJ3HgrC0UyOQ", "cell_type": "markdown", "source": [ "The [Analysis of Change configuration](../DataModel/DataStructure#aoc-step-configuration) is parsed from the input file and complemented with defaults to allow for an easy insertion of new Aoc steps. ", @@ -392,7 +377,6 @@ "outputs": [] }, { - "id": "PXcWmb1qTkKlCSVOjJDHxw", "cell_type": "code", "source": [ "Import.DefineFormat(ImportFormats.AocConfiguration, async (options, dataSet) => {", @@ -473,7 +457,6 @@ "outputs": [] }, { - "id": "0sc5KOQvKEicxmEkg9I2Nw", "cell_type": "markdown", "source": [ "## Parse Main Tab and return Args", @@ -485,7 +468,6 @@ "outputs": [] }, { - "id": "YiFEJAxq8Eeo4f1pOhrslA", "cell_type": "code", "source": [ "public async Task GetArgsFromMainAsync(IDataSet dataSet)", @@ -548,7 +530,6 @@ "outputs": [] }, { - "id": "D_Yg7U6xL0iEu2J5dYGGQQ", "cell_type": "markdown", "source": [ "## Parse and Upload: Data Nodes", @@ -560,7 +541,6 @@ "outputs": [] }, { - "id": "_YEY_T29PEuM6hOitLi_yA", "cell_type": "markdown", "source": [ "### Portfolio and Group of contract" @@ -570,7 +550,6 @@ "outputs": [] }, { - "id": "iPkLnvWBw0K_vugEhM6eEA", "cell_type": "code", "source": [ "public async Task UploadDataNodesToWorkspaceAsync(IDataSet dataSet)", @@ -677,7 +656,6 @@ "outputs": [] }, { - "id": "dZee9zb4hU-600lxQvKKfA", "cell_type": "code", "source": [ "Import.DefineFormat(ImportFormats.DataNode, async (options, dataSet) => {", @@ -695,7 +673,6 @@ "outputs": [] }, { - "id": "OvJQpOepfUKs9HO05RZt3g", "cell_type": "markdown", "source": [ "### Data Node State" @@ -705,7 +682,6 @@ "outputs": [] }, { - "id": "twd-9JphDkKWlYMzzMHRZg", "cell_type": "code", "source": [ "public async Task ValidateDataNodeStatesAsync(Dictionary persistentDataNodeByDataNode)", @@ -730,7 +706,6 @@ "outputs": [] }, { - "id": "11oMaqji9ESPXtnfGdol1A", "cell_type": "code", "source": [ "public async Task UploadDataNodeStateToWorkspaceAsync(IDataSet dataSet)", @@ -770,7 +745,6 @@ "outputs": [] }, { - "id": "bLmthg_F0UmHmuC_hebLZg", "cell_type": "code", "source": [ "Import.DefineFormat(ImportFormats.DataNodeState, async (options, dataSet) => {", @@ -784,7 +758,6 @@ "outputs": [] }, { - "id": "rveYUL5bPUC82CbWaGi4lQ", "cell_type": "markdown", "source": [ "### DataNode Parameters" @@ -794,7 +767,6 @@ "outputs": [] }, { - "id": "8BBfuwsh-kKG9CE8LIqlIg", "cell_type": "code", "source": [ "public async Task UploadDataNodeParameterToWorkspaceAsync(IDataSet dataSet, Guid targetPartitionByReportingNodeId)", @@ -886,7 +858,6 @@ "outputs": [] }, { - "id": "qresbZmRKUGDdhb2Qg2bYQ", "cell_type": "code", "source": [ "Import.DefineFormat(ImportFormats.DataNodeParameter, async (options, dataSet) => {", @@ -904,7 +875,6 @@ "outputs": [] }, { - "id": "pbi5WLybL0WeWvmp48L8dA", "cell_type": "markdown", "source": [ "## Parse and Upload: Variables", @@ -921,7 +891,6 @@ "outputs": [] }, { - "id": "0qtpigTMXUeFOJBGAhD64A", "cell_type": "markdown", "source": [ "### Validation for Active Data Node States" @@ -931,7 +900,6 @@ "outputs": [] }, { - "id": "df6Q6O4n8UGZ6QMEHXWp7Q", "cell_type": "code", "source": [ "public async Task ValidateForDataNodeStateActiveAsync(Dictionary dataNodes) where T : BaseDataRecord", @@ -946,7 +914,6 @@ "outputs": [] }, { - "id": "zer3DehdW0OXTbIW-BE5wQ", "cell_type": "markdown", "source": [ "### Cashflow as Raw Variable and Ifrs Variable" @@ -956,7 +923,6 @@ "outputs": [] }, { - "id": "qxiTr4OQU02FSTwnCLjAqg", "cell_type": "code", "source": [ "public async Task ParseCashflowsToWorkspaceAsync(IDataSet dataSet, ImportArgs args)", @@ -1028,7 +994,6 @@ "outputs": [] }, { - "id": "d2PR6nE090qnEhAx26W4Fw", "cell_type": "code", "source": [ "Import.DefineFormat(ImportFormats.Cashflow, async (options, dataSet) => {", @@ -1066,7 +1031,6 @@ "outputs": [] }, { - "id": "F_ov9xx25ECCgKn8LjsZgw", "cell_type": "markdown", "source": [ "### Actuals as Ifrs Variable" @@ -1076,7 +1040,6 @@ "outputs": [] }, { - "id": "kEyrQCxqEkmoUupmjE-B8Q", "cell_type": "code", "source": [ "public async Task ParseActualsToWorkspaceAsync(IDataSet dataSet, ImportArgs args)", @@ -1142,7 +1105,6 @@ "outputs": [] }, { - "id": "HqDpHFbZNkynz3nM9TSiDA", "cell_type": "code", "source": [ "Import.DefineFormat(ImportFormats.Actual, async (options, dataSet) => {", @@ -1177,7 +1139,6 @@ "outputs": [] }, { - "id": "cl1ZHPkmTk66Nh-WZoQ0Ag", "cell_type": "markdown", "source": [ "# Simple Value Import", @@ -1192,7 +1153,6 @@ "outputs": [] }, { - "id": "jjIv6ndV_EeSuPrStrKGNQ", "cell_type": "markdown", "source": [ "## Simple Value to Workspace" @@ -1202,7 +1162,6 @@ "outputs": [] }, { - "id": "k8vc0EGeGk2hVkNAYZzgig", "cell_type": "code", "source": [ "public async Task ParseSimpleValueToWorkspaceAsync(IDataSet dataSet, ImportArgs args, Guid targetPartitionByReportingNodeAndPeriodId)", @@ -1270,7 +1229,6 @@ "outputs": [] }, { - "id": "RQi9nkdXQEmaeLBlImg__A", "cell_type": "markdown", "source": [ "## Simple Value as IfrsVariable" @@ -1280,7 +1238,6 @@ "outputs": [] }, { - "id": "DJPGRNmcW0u6oJJTFjNFLg", "cell_type": "code", "source": [ "Import.DefineFormat(ImportFormats.SimpleValue, async (options, dataSet) => {", @@ -1307,7 +1264,6 @@ "outputs": [] }, { - "id": "uAVHYz0MD0SFk1IMsDUcIw", "cell_type": "markdown", "source": [ "## Openings as IfrsVariable" @@ -1317,7 +1273,6 @@ "outputs": [] }, { - "id": "oyD6qvynF0Or3udnGnPqoQ", "cell_type": "code", "source": [ "Import.DefineFormat(ImportFormats.Opening, async (options, dataSet) => {", @@ -1353,7 +1308,6 @@ "outputs": [] }, { - "id": "PijxDGahGkKV1GD0j9HrCg", "cell_type": "code", "source": [ "" diff --git a/ifrs17/OverviewCalculationEngine.ipynb b/ifrs17/OverviewCalculationEngine.ipynb index 62ff16a0..9b6a8c65 100644 --- a/ifrs17/OverviewCalculationEngine.ipynb +++ b/ifrs17/OverviewCalculationEngine.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "3f2xh5L6m0OJIHBDr3UlXg", "cell_type": "markdown", "source": [ "

IFRS 17 Calculation Engine - an Overview

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "CUdOibiJDEewI_wagM7MpA", "cell_type": "markdown", "source": [ "# Introduction", @@ -44,7 +42,6 @@ "outputs": [] }, { - "id": "3IgPzAqQsEa9vnFOg7U30g", "cell_type": "markdown", "source": [ "", @@ -81,7 +78,6 @@ "outputs": [] }, { - "id": "p2eQ-g5oYUKG2H4ZlhOBWw", "cell_type": "markdown", "source": [ "", @@ -96,7 +92,6 @@ "outputs": [] }, { - "id": "CvHU8yPgcku6OEvcmEIpSQ", "cell_type": "markdown", "source": [ "", @@ -115,7 +110,6 @@ "outputs": [] }, { - "id": "jOqvoH1Bl0ewf9in5N9NIQ", "cell_type": "markdown", "source": [ "", @@ -134,7 +128,6 @@ "outputs": [] }, { - "id": "k_CuwJdj_UOGz6TPZHdngQ", "cell_type": "markdown", "source": [ "", @@ -181,7 +174,6 @@ "outputs": [] }, { - "id": "RzhAC13vCE6swA2hTa2Sqw", "cell_type": "markdown", "source": [ "", diff --git a/ifrs17/Report/ReportConfigurationAndUtils.ipynb b/ifrs17/Report/ReportConfigurationAndUtils.ipynb index e6c85b7d..355fb97c 100644 --- a/ifrs17/Report/ReportConfigurationAndUtils.ipynb +++ b/ifrs17/Report/ReportConfigurationAndUtils.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "G81HH-rybkeg0vlY1DNDgA", "cell_type": "markdown", "source": [ "

Report Configuration And Utils

" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "8YLIovEcLkm_r75W6SD-tQ", "cell_type": "code", "source": [ "#!import \"../Utils/EqualityComparers\"", @@ -39,7 +37,6 @@ "outputs": [] }, { - "id": "YDShzSvSMEydbrp8JkeGsQ", "cell_type": "code", "source": [ "using Systemorph.Vertex.Pivot.Builder;", @@ -66,7 +63,6 @@ "outputs": [] }, { - "id": "n6rie8G-ykemdglb-7PEvw", "cell_type": "markdown", "source": [ "# Currency methods" @@ -76,7 +72,6 @@ "outputs": [] }, { - "id": "puLk5ud_Ck6vPZU4g9XFFQ", "cell_type": "code", "source": [ "public static double GetCurrencyToGroupFx(Dictionary> exchangeRates, string currency, FxPeriod fxPeriod, string groupCurrency)", @@ -98,7 +93,6 @@ "outputs": [] }, { - "id": "nqjo4v0cw0-uU5WuJwKR6g", "cell_type": "markdown", "source": [ "# Queries" @@ -108,7 +102,6 @@ "outputs": [] }, { - "id": "JH81cH0s3k-O6MdnNoeqVA", "cell_type": "markdown", "source": [ "## Query Report Variables" @@ -118,7 +111,6 @@ "outputs": [] }, { - "id": "uRooxq8TMEqondN6Rh6pAw", "cell_type": "code", "source": [ "public static async Task QueryReportVariablesSingleScenarioAsync(this IWorkspace workspace, (int Year, int Month, string ReportingNode, string Scenario) args ) {", @@ -176,7 +168,6 @@ "outputs": [] }, { - "id": "mSy1fCO1M0ONNi3ki_Pmxw", "cell_type": "code", "source": [ "public static async Task> QueryReportVariablesAsync(this IWorkspace workspace, (int Year, int Month, string ReportingNode, string Scenario) args ) {", @@ -192,7 +183,6 @@ "outputs": [] }, { - "id": "Sv4LupuFhkaAnNNufoj3ag", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Report/ReportMutableScopes.ipynb b/ifrs17/Report/ReportMutableScopes.ipynb index f76e992e..24b46333 100644 --- a/ifrs17/Report/ReportMutableScopes.ipynb +++ b/ifrs17/Report/ReportMutableScopes.ipynb @@ -16,7 +16,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "4-B50jXklE2YDIuIe3HA2w", "cell_type": "markdown", "source": [ "", @@ -27,7 +26,6 @@ "outputs": [] }, { - "id": "FYMR6GSWdUyCG1R-fIE1Vw", "cell_type": "markdown", "source": [ "This notebook contains the set up of mutable scopes used to achieve high interactivity with reports." @@ -37,7 +35,6 @@ "outputs": [] }, { - "id": "0JhA_sNpO0izpVqyzUX_Eg", "cell_type": "markdown", "source": [ "# References", @@ -48,7 +45,6 @@ "outputs": [] }, { - "id": "UvJZERnCKUCBkDX8E0AU4g", "cell_type": "code", "source": [ "#!import \"ReportScopes\"" @@ -58,7 +54,6 @@ "outputs": [] }, { - "id": "LtTQpqceO0G0az5CE1YolA", "cell_type": "markdown", "source": [ "# Mutable Scope" @@ -68,7 +63,6 @@ "outputs": [] }, { - "id": "rwM6oqgcL0STU-YscKiCQQ", "cell_type": "markdown", "source": [ "The IIfrs17Report mutable scope is created with applicabilities to control how the data for each individual report is retrieved from the [report scopes](./ReportScopes)" @@ -78,7 +72,6 @@ "outputs": [] }, { - "id": "XNQ232XQiUOqTdvMRJCv1w", "cell_type": "code", "source": [ "public interface ReportUniverse : IMutableScopeWithStorage{}" @@ -88,7 +81,6 @@ "outputs": [] }, { - "id": "eBl7wxcU4EaUPLogx9wtYg", "cell_type": "code", "source": [ "[InitializeScope(nameof(InitAsync))]", @@ -294,7 +286,6 @@ "outputs": [] }, { - "id": "gU99z__YGU2k9S64YWfNoQ", "cell_type": "markdown", "source": [ "# IFRS 17 Reports" @@ -304,7 +295,6 @@ "outputs": [] }, { - "id": "bxYmQqMxw0atpKUxyO_Vsg", "cell_type": "markdown", "source": [ "This class is used to trigger the calculation of the reports and it is exposed to the end-user in the reports." @@ -314,7 +304,6 @@ "outputs": [] }, { - "id": "6GqpaLYsskm-MRqPqzLMvg", "cell_type": "code", "source": [ "public class Ifrs17Reports ", @@ -357,7 +346,6 @@ "outputs": [] }, { - "id": "osiVbq3V10aq7PZzUsHrdA", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Report/ReportScopes.ipynb b/ifrs17/Report/ReportScopes.ipynb index fe17e3d7..2d580c86 100644 --- a/ifrs17/Report/ReportScopes.ipynb +++ b/ifrs17/Report/ReportScopes.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "_jUdggiDrUyBhzYT-zsKlg", "cell_type": "markdown", "source": [ "", @@ -29,7 +28,6 @@ "outputs": [] }, { - "id": "FCENXAo530GTEsahnzh3Zg", "cell_type": "markdown", "source": [ "This notebook contains the logic used to perform calculations upon reporting of data." @@ -39,7 +37,6 @@ "outputs": [] }, { - "id": "k-67Zop3rk6rPomMgZXjpg", "cell_type": "markdown", "source": [ "# References", @@ -50,7 +47,6 @@ "outputs": [] }, { - "id": "kmL7X4N-cEiLhdpkQ-IxCQ", "cell_type": "markdown", "source": [ "## Notebooks" @@ -60,7 +56,6 @@ "outputs": [] }, { - "id": "F2Ak5SkrkkKRPq9k2iDyvw", "cell_type": "code", "source": [ "#!import \"ReportStorage\"" @@ -70,7 +65,6 @@ "outputs": [] }, { - "id": "rtjV1Wjggk-Q5YLDgDjl4A", "cell_type": "markdown", "source": [ "# Scopes" @@ -80,7 +74,6 @@ "outputs": [] }, { - "id": "jI7xd2iiDk6piQEpKjxoEQ", "cell_type": "markdown", "source": [ "## Helper Scopes" @@ -90,7 +83,6 @@ "outputs": [] }, { - "id": "4yXIuwsJmUuwuLKrj4iWWQ", "cell_type": "markdown", "source": [ "### Universe" @@ -100,7 +92,6 @@ "outputs": [] }, { - "id": "r6QP8peSmkyuJm6uEbonxw", "cell_type": "code", "source": [ "public interface IUniverse: IScopeWithStorage {}" @@ -110,7 +101,6 @@ "outputs": [] }, { - "id": "zFL_sMbgU0CN5e4NZ813YA", "cell_type": "markdown", "source": [ "## Data Transformation" @@ -120,7 +110,6 @@ "outputs": [] }, { - "id": "nQVTU_-Eg0yRndbemAgtXA", "cell_type": "markdown", "source": [ "### Retrieve Raw Data" @@ -130,7 +119,6 @@ "outputs": [] }, { - "id": "ymr0ZlbYG0um2uqiz3v6UA", "cell_type": "code", "source": [ "public interface Data: IScope<(ReportIdentity ReportIdentity, string EstimateType), ReportStorage>, IDataCube {", @@ -161,7 +149,6 @@ "outputs": [] }, { - "id": "2vgu3Y_ASU29KA6DDK4lpQ", "cell_type": "markdown", "source": [ "### Foreign Exchange (FX) Rates" @@ -171,7 +158,6 @@ "outputs": [] }, { - "id": "rbuEOG3Gq0O68H41e9mDaA", "cell_type": "code", "source": [ "public interface Fx: IScope<(string ContractualCurrency, string FunctionalCurrency, FxPeriod FxPeriod, (int, int) Period, CurrencyType CurrencyType), ReportStorage> { ", @@ -193,7 +179,6 @@ "outputs": [] }, { - "id": "OL1a5GVDXUePbsqWJV1SFA", "cell_type": "code", "source": [ "public interface FxData: IScope<(ReportIdentity ReportIdentity, CurrencyType CurrencyType, string EstimateType), ReportStorage>, IDataCube {", @@ -229,7 +214,6 @@ "outputs": [] }, { - "id": "NIBuXEsJL06BDspV6kTFjA", "cell_type": "markdown", "source": [ "## Present Value" @@ -239,7 +223,6 @@ "outputs": [] }, { - "id": "tfD7_v70RkiwMtqIi9PUGg", "cell_type": "markdown", "source": [ "", @@ -252,7 +235,6 @@ "outputs": [] }, { - "id": "E63asVZNJkm2FlOPo5UiaQ", "cell_type": "code", "source": [ "public interface BestEstimate: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -276,7 +258,6 @@ "outputs": [] }, { - "id": "OSD06OKuX024WjdhfeUpKg", "cell_type": "markdown", "source": [ "", @@ -289,7 +270,6 @@ "outputs": [] }, { - "id": "s6YtyFfYD0-IBvSoruABxQ", "cell_type": "code", "source": [ "public interface RiskAdjustment: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -313,7 +293,6 @@ "outputs": [] }, { - "id": "2lAiiNzYE024n3K2gWD5TA", "cell_type": "markdown", "source": [ "", @@ -325,7 +304,6 @@ "outputs": [] }, { - "id": "32lphidM90CypfxohxRmPA", "cell_type": "code", "source": [ "public interface Fcf: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -354,7 +332,6 @@ "outputs": [] }, { - "id": "c_u6A_a9WU2mKDRqKmdzFQ", "cell_type": "markdown", "source": [ "", @@ -367,7 +344,6 @@ "outputs": [] }, { - "id": "TUE27vAmQkWg0ezEqXWxRQ", "cell_type": "code", "source": [ "public interface Csm: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -379,7 +355,6 @@ "outputs": [] }, { - "id": "-SGsILz87kComI2ryE1PPw", "cell_type": "code", "source": [ "public interface Lc: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -391,7 +366,6 @@ "outputs": [] }, { - "id": "7Lzjmyf7fkSxbTm5DqqS9Q", "cell_type": "code", "source": [ "public interface Loreco: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -403,7 +377,6 @@ "outputs": [] }, { - "id": "YEqw7EtuUEqkhmOGvwd-Xg", "cell_type": "code", "source": [ "public interface LrcTechnicalMargin: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -419,7 +392,6 @@ "outputs": [] }, { - "id": "lM0v7sd3zUmm29lWswyOgg", "cell_type": "markdown", "source": [ "", @@ -434,7 +406,6 @@ "outputs": [] }, { - "id": "6XEGR7p1mUCG81V7tcooHA", "cell_type": "code", "source": [ "public interface WrittenAndAccruals: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -448,7 +419,6 @@ "outputs": [] }, { - "id": "GmCd7oNDAE2xXgDVnfPpQg", "cell_type": "code", "source": [ "public interface Deferrals: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -460,7 +430,6 @@ "outputs": [] }, { - "id": "QbqNuXbyKEyPhcyRLIMeTw", "cell_type": "markdown", "source": [ "## Experience Adjustment", @@ -472,7 +441,6 @@ "outputs": [] }, { - "id": "daTkuCMpPE6-KM2VA5EiVA", "cell_type": "code", "source": [ "public interface ExperienceAdjustment: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -491,7 +459,6 @@ "outputs": [] }, { - "id": "7BLBDJJG60imA4l4SJTO8g", "cell_type": "markdown", "source": [ "", @@ -504,7 +471,6 @@ "outputs": [] }, { - "id": "_AULGacqNUum95KZX-PBMg", "cell_type": "code", "source": [ "public interface LicActuarial: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -516,7 +482,6 @@ "outputs": [] }, { - "id": "_uefLxRQg0mTthc9-Nq4IA", "cell_type": "markdown", "source": [ "", @@ -529,7 +494,6 @@ "outputs": [] }, { - "id": "zpDmC1m_QkioS6c5DCwG1g", "cell_type": "code", "source": [ "public interface Lic: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -552,7 +516,6 @@ "outputs": [] }, { - "id": "5QxEG_hUsk2V1Qr7j222CA", "cell_type": "markdown", "source": [ "", @@ -565,7 +528,6 @@ "outputs": [] }, { - "id": "a9T_pIpBd0yGYTlAWfXkpw", "cell_type": "code", "source": [ "public interface LrcActuarial: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -581,7 +543,6 @@ "outputs": [] }, { - "id": "pRaL_4nHG02rEuyl_ad4CA", "cell_type": "markdown", "source": [ "", @@ -594,7 +555,6 @@ "outputs": [] }, { - "id": "WO319mP3Y0i-8FXf9phGoQ", "cell_type": "code", "source": [ "public interface Lrc: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -617,7 +577,6 @@ "outputs": [] }, { - "id": "olUh-gLctUKqNfn8A1FU4g", "cell_type": "markdown", "source": [ "", @@ -628,7 +587,6 @@ "outputs": [] }, { - "id": "-pWSLHQ6BEiVRhO7lJSW0w", "cell_type": "markdown", "source": [ "The IFRS 17 Financial Performance aims at disclosing the deltas (i.e. difference between EoP and BoP, or the Change in Estimate) of the IFRS 17 Balance Sheet items (LRC, LIC) and the relevant incurred cashflows (Premiums, Claims, Expenses, etc...) for the given period.", @@ -676,7 +634,6 @@ "outputs": [] }, { - "id": "87HgSSgPc0esWEFkSSQbYg", "cell_type": "markdown", "source": [ "## Fulfillment Cashflows (excluding the Loss Component)" @@ -686,7 +643,6 @@ "outputs": [] }, { - "id": "iRZKr4GKJUypzzUVaj_FaA", "cell_type": "markdown", "source": [ "Let us first describe the Balance Sheet items, where we need to disclose the Changes in Estimate in the Financial Performance.", @@ -713,7 +669,6 @@ "outputs": [] }, { - "id": "yGaOPpu5p0G1MQls1BXj7g", "cell_type": "code", "source": [ "public interface FcfChangeInEstimate: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -777,7 +732,6 @@ "outputs": [] }, { - "id": "6yzD7vGt10uiK-1r4mR6PQ", "cell_type": "markdown", "source": [ "Subsequently, the Contractual Service Margin (CSM), Loss Component (LC) and Loss Recovery Component (LoReCo) are also divided into non-financial and financial components. In addition the corresponding amortization/releases (CSM Amortization, LC Release and LoReCo Release) are also explicitly shown." @@ -787,7 +741,6 @@ "outputs": [] }, { - "id": "2JE11m-Dn0qxXR5pl8cLEw", "cell_type": "markdown", "source": [ "## Contractual Service Margin (CSM)", @@ -807,7 +760,6 @@ "outputs": [] }, { - "id": "wBzBXtv0WU-4jYPn9U-wjQ", "cell_type": "code", "source": [ "public interface CsmChangeInEstimate: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -843,7 +795,6 @@ "outputs": [] }, { - "id": "7We5gUppukC5PIKD6AvRtQ", "cell_type": "markdown", "source": [ "## Loss Component (LC)", @@ -863,7 +814,6 @@ "outputs": [] }, { - "id": "1OX7jmo1u0qucu_hK3fc2Q", "cell_type": "code", "source": [ "public interface LcChangeInEstimate: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -894,7 +844,6 @@ "outputs": [] }, { - "id": "1U-L40Fnh02n4EVojEwt_g", "cell_type": "markdown", "source": [ "## Loss Recovery Component (LoReCo)", @@ -914,7 +863,6 @@ "outputs": [] }, { - "id": "mff2Ff27G0mYqJQPfGD8AA", "cell_type": "code", "source": [ "public interface LorecoChangeInEstimate: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -945,7 +893,6 @@ "outputs": [] }, { - "id": "nXJNTJrviEOmKUkfCkhiiw", "cell_type": "markdown", "source": [ "## Incurred Actuals" @@ -955,7 +902,6 @@ "outputs": [] }, { - "id": "cnTgM4V6M067D6fex6xYiw", "cell_type": "markdown", "source": [ "After the main Balance Sheet items, we need to disclose the Incurred Cashflows (i.e. Actuals) for the period in the Financial Performance (which includes the effect of Advance and Overdue Accruals, but Write-Off amounts are not taken into account).", @@ -973,7 +919,6 @@ "outputs": [] }, { - "id": "GcIzXWU8AUq2EvF-1feb_g", "cell_type": "code", "source": [ "public interface IncurredActuals: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -1012,7 +957,6 @@ "outputs": [] }, { - "id": "XJJJPF92_E-e0GD3rJSWQQ", "cell_type": "markdown", "source": [ "## Incurred Deferrals and Acquisition Expenses" @@ -1022,7 +966,6 @@ "outputs": [] }, { - "id": "XSS55G_c7UiKAwnsGXRUPg", "cell_type": "markdown", "source": [ "The next item are the Deferrals, where the Amortization is the only contribution explicitly shown, but these do not have any direct impact on the Financial Performance under the current methodology assumptions. The Amortization contribution is here considered with its sign changed. This contribution is allocated under 'Insurance Service Expense' in 'Acquisition Expenses' section and under 'Insurance Revenue' in 'Acquistion Expenses Amortization' section with a sign change. " @@ -1032,7 +975,6 @@ "outputs": [] }, { - "id": "yvtBdx8DfkC1Ovp_U8RSgw", "cell_type": "code", "source": [ "public interface IncurredDeferrals: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -1050,7 +992,6 @@ "outputs": [] }, { - "id": "hDUy7NYvt0yV69m-BBvghQ", "cell_type": "markdown", "source": [ "## Experience Adjustment on Premium (allocation to CSM vs P&L recognition)" @@ -1060,7 +1001,6 @@ "outputs": [] }, { - "id": "ryvagAUg8U6YShWSSB9glg", "cell_type": "markdown", "source": [ "The figures disclosed in the Financial Performance as described above consider full Premiums for past, current and future services (for Best Estimate and Actuals).", @@ -1071,7 +1011,6 @@ "outputs": [] }, { - "id": "sU1M91XJ0UK6I31YdF86mg", "cell_type": "code", "source": [ "public interface ExperienceAdjustmentOnPremium: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -1090,7 +1029,6 @@ "outputs": [] }, { - "id": "AEQ0pDhL5UKqmPJVbk-5dQ", "cell_type": "markdown", "source": [ "## Financial Performance" @@ -1100,7 +1038,6 @@ "outputs": [] }, { - "id": "DptCmibiyESCNqXKLfX2dg", "cell_type": "markdown", "source": [ "As the last step, all the contributions above are calculated and combined into the Financial Performance, which will be used to generate the final report." @@ -1110,7 +1047,6 @@ "outputs": [] }, { - "id": "Ii5nhJOlykOUsHamB2X5pQ", "cell_type": "code", "source": [ "public interface FinancialPerformance: IScope<(ReportIdentity Id, CurrencyType CurrencyType), ReportStorage>, IDataCube {", @@ -1131,7 +1067,6 @@ "outputs": [] }, { - "id": "YlhbqrDEhEqxO83nS1Jqkg", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Report/ReportStorage.ipynb b/ifrs17/Report/ReportStorage.ipynb index fb5fff54..4effa761 100644 --- a/ifrs17/Report/ReportStorage.ipynb +++ b/ifrs17/Report/ReportStorage.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "1PJN6PAzZkuiz9CSQFSHuQ", "cell_type": "markdown", "source": [ "", @@ -35,7 +34,6 @@ "outputs": [] }, { - "id": "fiz_NudplEqKgTW2opTLTQ", "cell_type": "code", "source": [ "#!import \"ReportConfigurationAndUtils\"" @@ -45,7 +43,6 @@ "outputs": [] }, { - "id": "Y_VqzYOdekWZUm6JV8ylqw", "cell_type": "markdown", "source": [ "# Report Identity" @@ -55,7 +52,6 @@ "outputs": [] }, { - "id": "XDkSxyikzECrdEnqADyjJQ", "cell_type": "code", "source": [ "[IdentityAggregationBehaviour(IdentityAggregationBehaviour.Aggregate)]", @@ -99,7 +95,6 @@ "outputs": [] }, { - "id": "ZDfc2OninkSDvaY7EQF9Rg", "cell_type": "markdown", "source": [ "# Report Storage" @@ -109,7 +104,6 @@ "outputs": [] }, { - "id": "TD8VjJUqrUW3Hya0qH8Lkg", "cell_type": "code", "source": [ "public class ReportStorage {", @@ -234,7 +228,6 @@ "outputs": [] }, { - "id": "X8pPD9yFS0euioBXF3GJyA", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Test/AocConfigurationTest.ipynb b/ifrs17/Test/AocConfigurationTest.ipynb index a19ffac1..2404aa2b 100644 --- a/ifrs17/Test/AocConfigurationTest.ipynb +++ b/ifrs17/Test/AocConfigurationTest.ipynb @@ -16,7 +16,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "RvStBkOdQ0qCjIE9nw6vXg", "cell_type": "markdown", "source": [ "

Test Aoc Configuration

" @@ -26,7 +25,6 @@ "outputs": [] }, { - "id": "Q6WMnHkb20q4NHKjIkv7PQ", "cell_type": "code", "source": [ "#!import \"../CalculationEngine\"" @@ -36,7 +34,6 @@ "outputs": [] }, { - "id": "oErV2qfnK0Oj3-gnLxBzQw", "cell_type": "markdown", "source": [ "# Workspace Initialization " @@ -46,7 +43,6 @@ "outputs": [] }, { - "id": "53B8s-spOkmfP6SngEWjAA", "cell_type": "code", "source": [ "string novelties = ", @@ -61,7 +57,6 @@ "outputs": [] }, { - "id": "ENCsBW3eVEycGgR5HwvThA", "cell_type": "code", "source": [ "await Import.FromString(novelties).WithType().WithTarget(DataSource).ExecuteAsync()" @@ -71,7 +66,6 @@ "outputs": [] }, { - "id": "YBmxdsvzoEGKiEaf5FOOAg", "cell_type": "code", "source": [ "var workspace = Workspace.CreateNew();", @@ -82,7 +76,6 @@ "outputs": [] }, { - "id": "BkjPwerC0E2S87WaUdeOfg", "cell_type": "markdown", "source": [ "# Canonical Aoc Types and Configurations" @@ -92,7 +85,6 @@ "outputs": [] }, { - "id": "5CJAH8_bR0aj6rOjfxeSiw", "cell_type": "code", "source": [ "string canonicalAocTypes = ", @@ -121,7 +113,6 @@ "outputs": [] }, { - "id": "O2-y9gewBEK4CDCWSPoTcg", "cell_type": "code", "source": [ "string canonicalAocConfig = ", @@ -154,7 +145,6 @@ "outputs": [] }, { - "id": "fXmeKnWrMkipdOdvmDEdYg", "cell_type": "markdown", "source": [ "# Test" @@ -164,7 +154,6 @@ "outputs": [] }, { - "id": "1dYHTh43rUip61jayTv9VQ", "cell_type": "code", "source": [ "public async Task CheckAocConfigurationDefault(AocType[] newAocTypes)", @@ -187,7 +176,6 @@ "outputs": [] }, { - "id": "SIYcSk5kNUms-ILsc7Fc9g", "cell_type": "markdown", "source": [ "## NewAoc < RCU" @@ -197,7 +185,6 @@ "outputs": [] }, { - "id": "gCHBZZiJZkKsAgsn81BU8Q", "cell_type": "code", "source": [ "var aocConfigLog = await CheckAocConfigurationDefault( new[]{ new AocType{SystemName = \"A1\", DisplayName = \"a1\", Order = 25} } );", @@ -208,7 +195,6 @@ "outputs": [] }, { - "id": "Pj5C8V1V4kOJGNPAPZNP7Q", "cell_type": "code", "source": [ "var newConfigExpected = (await workspace.Query().ToArrayAsync()).First(x => ", @@ -221,7 +207,6 @@ "outputs": [] }, { - "id": "RaeGfGDv20OR0lBo7tL98Q", "cell_type": "markdown", "source": [ "## RCU < NewAoc < CF" @@ -231,7 +216,6 @@ "outputs": [] }, { - "id": "9hBKJlQyeEO9TpeNwxhCqA", "cell_type": "code", "source": [ "var aocConfigLog = await CheckAocConfigurationDefault( new[]{ new AocType{SystemName = \"A1\", DisplayName = \"a1\", Order = 45} } );", @@ -242,7 +226,6 @@ "outputs": [] }, { - "id": "vSrtK8_4k0uMWWB9xWF-wg", "cell_type": "code", "source": [ "var newConfigExpected = (await workspace.Query().ToArrayAsync()).First(x => ", @@ -255,7 +238,6 @@ "outputs": [] }, { - "id": "1ipfwQM1NkaeqopEOOGQMQ", "cell_type": "markdown", "source": [ "## IA < NewAoc < YCU" @@ -265,7 +247,6 @@ "outputs": [] }, { - "id": "oCF44mYnYkiJ3b4OyniJDg", "cell_type": "code", "source": [ "var aocConfigLog = await CheckAocConfigurationDefault( new[]{ new AocType{SystemName = \"A1\", DisplayName = \"a1\", Order = 82} } );", @@ -276,7 +257,6 @@ "outputs": [] }, { - "id": "sEfq7iYvaEmysMRMzhJJRg", "cell_type": "code", "source": [ "var newConfigExpected = (await workspace.Query().ToArrayAsync()).First(x => ", @@ -289,7 +269,6 @@ "outputs": [] }, { - "id": "Am5-CmdiEUuOaphZ2xGo0g", "cell_type": "code", "source": [ "var newConfigExpected = (await workspace.Query().ToArrayAsync()).First(x => ", @@ -302,7 +281,6 @@ "outputs": [] }, { - "id": "h9RDWoiWoEmTB_a1jHk7Ag", "cell_type": "markdown", "source": [ "## CRU < NewAoc < EV" @@ -312,7 +290,6 @@ "outputs": [] }, { - "id": "11o-ltR8wk650EqHmKcVlA", "cell_type": "code", "source": [ "var aocConfigLog = await CheckAocConfigurationDefault( new[]{ new AocType{SystemName = \"A1\", DisplayName = \"a1\", Order = 106} } );", @@ -323,7 +300,6 @@ "outputs": [] }, { - "id": "mW4K3Q9IZUa3eWjVQVy_Bw", "cell_type": "code", "source": [ "var newConfigExpected = (await workspace.Query().ToArrayAsync()).First(x => ", @@ -336,7 +312,6 @@ "outputs": [] }, { - "id": "Kg_NacjnKEa2gIH1OeS76A", "cell_type": "code", "source": [ "var newConfigExpected = (await workspace.Query().ToArrayAsync()).First(x => ", @@ -349,7 +324,6 @@ "outputs": [] }, { - "id": "b7L0eUNUmk-CIXbI4j1tOA", "cell_type": "markdown", "source": [ "## EV < NewAoc < WO" @@ -359,7 +333,6 @@ "outputs": [] }, { - "id": "xxKajX96jkyljqCugz69EA", "cell_type": "code", "source": [ "var aocConfigLog = await CheckAocConfigurationDefault( new[]{ new AocType{SystemName = \"A1\", DisplayName = \"a1\", Order = 116} } );", @@ -370,7 +343,6 @@ "outputs": [] }, { - "id": "LOnPRjuIoEyyt9aiNWiXYA", "cell_type": "code", "source": [ "var newConfigExpected = (await workspace.Query().ToArrayAsync()).First(x => ", @@ -383,7 +355,6 @@ "outputs": [] }, { - "id": "00jPx2RmPkS5eNv7uftM2A", "cell_type": "code", "source": [ "var newConfigExpected = (await workspace.Query().ToArrayAsync()).First(x => ", @@ -396,7 +367,6 @@ "outputs": [] }, { - "id": "LcyGd3hXF0uWCX5LKfozug", "cell_type": "markdown", "source": [ "## WO < NewAoc < CL" @@ -406,7 +376,6 @@ "outputs": [] }, { - "id": "KwwQI25owUCfnoQgEbAA6g", "cell_type": "code", "source": [ "var aocConfigLog = await CheckAocConfigurationDefault( new[]{ new AocType{SystemName = \"A1\", DisplayName = \"a1\", Order = 125} } );", @@ -417,7 +386,6 @@ "outputs": [] }, { - "id": "Kfjgb1gbwkq8DAteZPY4jQ", "cell_type": "code", "source": [ "var newConfigExpected = (await workspace.Query().ToArrayAsync()).First(x => ", @@ -430,7 +398,6 @@ "outputs": [] }, { - "id": "8gHymelTSUy7cigprRzYjA", "cell_type": "markdown", "source": [ "## Two or more Aoc Config with same Order" @@ -440,7 +407,6 @@ "outputs": [] }, { - "id": "WHY91p0GgEi9BppkYtLjew", "cell_type": "code", "source": [ "var aocConfigLog = await CheckAocConfigurationDefault( new[]{ new AocType{SystemName = \"A1\", DisplayName = \"a1\", Order = 111},", @@ -455,7 +421,6 @@ "outputs": [] }, { - "id": "kLp5Mr2wmEGr-avkMByaDg", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Test/QueriesTest.ipynb b/ifrs17/Test/QueriesTest.ipynb index 4b7b2bdc..a3f67136 100644 --- a/ifrs17/Test/QueriesTest.ipynb +++ b/ifrs17/Test/QueriesTest.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "NTIr8pfNRUG9v1rz8xmpmw", "cell_type": "code", "source": [ "#!import \"../CalculationEngine\"" @@ -28,7 +27,6 @@ "outputs": [] }, { - "id": "plOzpIasQkGNAf30KoXM0w", "cell_type": "code", "source": [ "var gic = \"DT1.1\";", @@ -39,7 +37,6 @@ "outputs": [] }, { - "id": "5tdLFj2NXEGuOW74rTYVpQ", "cell_type": "markdown", "source": [ "# Test Load Current and Previous Parameter for Yield Curve" @@ -49,7 +46,6 @@ "outputs": [] }, { - "id": "DWSAoP5ltkaMOSp03MyfIA", "cell_type": "code", "source": [ "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" @@ -59,7 +55,6 @@ "outputs": [] }, { - "id": "KFB4S_jzpku_e4E1QCF6Cw", "cell_type": "code", "source": [ "public async Task CheckLoadCurrentAndPreviousParameterForYieldCurveAsync(Args args, IEnumerable testData, ", @@ -87,7 +82,6 @@ "outputs": [] }, { - "id": "YR7Ds1eSw0eeuBWg6pC_tQ", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -99,7 +93,6 @@ "outputs": [] }, { - "id": "bGwUfhJAL0WVLcJwx-g1Zg", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,scenario);", @@ -112,7 +105,6 @@ "outputs": [] }, { - "id": "pHPnD9INVECBXJCkAZQECg", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -124,7 +116,6 @@ "outputs": [] }, { - "id": "KGJ2HY_UdEuIxuNWoAdNAw", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,scenario);", @@ -137,7 +128,6 @@ "outputs": [] }, { - "id": "jpLrgab2eEWK83fcpK6ukA", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -150,7 +140,6 @@ "outputs": [] }, { - "id": "679b2tiitkmmP1P-PKnNYQ", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,scenario);", @@ -163,7 +152,6 @@ "outputs": [] }, { - "id": "axsxcDx2K0aO6jgzo7jliw", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,scenario);", @@ -176,7 +164,6 @@ "outputs": [] }, { - "id": "ycXFIXbC_0aw9Kv0vxBhwA", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -189,7 +176,6 @@ "outputs": [] }, { - "id": "ek8T4yoF8kibcfRRiC9LGw", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -202,7 +188,6 @@ "outputs": [] }, { - "id": "19ioyaUzHkqelLWINjrBJQ", "cell_type": "code", "source": [ "var args = new Args(\"EUR\",2020,9,Periodicity.Monthly,scenario);", @@ -216,7 +201,6 @@ "outputs": [] }, { - "id": "U1iy3VALHESu8R42kYbXpg", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -229,7 +213,6 @@ "outputs": [] }, { - "id": "8LEJFkLz7UObFQjBwvOxjg", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -242,7 +225,6 @@ "outputs": [] }, { - "id": "X6DmfAY4XkewNDJ2FNoMSw", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -256,7 +238,6 @@ "outputs": [] }, { - "id": "ofyBo-TEyESmYRURsUqWsg", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly, scenario);", @@ -271,7 +252,6 @@ "outputs": [] }, { - "id": "9rf-JkSGr0uNL5SeX9Klgg", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -286,7 +266,6 @@ "outputs": [] }, { - "id": "rj4pcMyboE-oEhMl3Rs5-w", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -302,7 +281,6 @@ "outputs": [] }, { - "id": "TSlFdPDzxk6CAkX57WjS_A", "cell_type": "markdown", "source": [ "# Test Data Node State Query" @@ -312,7 +290,6 @@ "outputs": [] }, { - "id": "7UZrdvTKHUqRUDxSqwFsXQ", "cell_type": "code", "source": [ "public async Task CheckLoadDataNodeStateAsync(Args args, IEnumerable testData, bool isExpectedToBeActive)", @@ -331,7 +308,6 @@ "outputs": [] }, { - "id": "3frqAxWAb0-iRoIjC0x0bA", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,12,Periodicity.Monthly,null);", @@ -344,7 +320,6 @@ "outputs": [] }, { - "id": "x5o02N_2yEqNFaUnCf27LA", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,12,Periodicity.Monthly,null);", @@ -357,7 +332,6 @@ "outputs": [] }, { - "id": "tEke28UUmk63X5X3t8-NZQ", "cell_type": "markdown", "source": [ "# Test Load Yield Curve" @@ -367,7 +341,6 @@ "outputs": [] }, { - "id": "Yg49scOm9kC3fsYCLvns2Q", "cell_type": "code", "source": [ "public async Task CheckLoadYieldCurveAsync(Args args, IEnumerable testData, ", @@ -407,7 +380,6 @@ "outputs": [] }, { - "id": "m3_gugcNbk-GBVbWxV57Gw", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -423,7 +395,6 @@ "outputs": [] }, { - "id": "oqe6zXHpG0GJbLONZfGj3w", "cell_type": "markdown", "source": [ "# Test Load Data Node Parameter" @@ -433,7 +404,6 @@ "outputs": [] }, { - "id": "5MJtyunB80GSP-alkKjOwA", "cell_type": "code", "source": [ "var gic2 = \"gic2\";", @@ -445,7 +415,6 @@ "outputs": [] }, { - "id": "lUU-biiLX0ibSzMuSzMh5A", "cell_type": "code", "source": [ "public async Task CheckLoadInterDataNodeParameterAsync(Args args, IEnumerable testData, ", @@ -538,7 +507,6 @@ "outputs": [] }, { - "id": "4RaLKB7k-UajGf1Y1Zu6fQ", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -556,7 +524,6 @@ "outputs": [] }, { - "id": "GeSYU4-OaUO9yOc8NBoZCw", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -578,7 +545,6 @@ "outputs": [] }, { - "id": "ZQ0UWivBMkaecxy1ZES6TQ", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -597,7 +563,6 @@ "outputs": [] }, { - "id": "t4W8kuYz4EWT7eheyHepVA", "cell_type": "code", "source": [ "var args = new Args(\"CH\",2020,9,Periodicity.Monthly,null);", @@ -616,7 +581,6 @@ "outputs": [] }, { - "id": "kkwtnEW9N0WyXdhPCi9tIQ", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Test/Tests.ipynb b/ifrs17/Test/Tests.ipynb index 94626ecf..e2f0e955 100644 --- a/ifrs17/Test/Tests.ipynb +++ b/ifrs17/Test/Tests.ipynb @@ -16,7 +16,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "tIV7Q4vx8UeFi8kmrwPcEg", "cell_type": "markdown", "source": [ "

Tests

" @@ -26,7 +25,6 @@ "outputs": [] }, { - "id": "afu9qRQM0EK0X8DYxEDABQ", "cell_type": "code", "source": [ "#!eval-notebook \"AocConfigurationTest\"" @@ -36,7 +34,6 @@ "outputs": [] }, { - "id": "eiuXjlas1kCmW7Fty4gKoQ", "cell_type": "code", "source": [ "#!eval-notebook \"QueriesTest\"" diff --git a/ifrs17/Utils/ApplicationMessage.ipynb b/ifrs17/Utils/ApplicationMessage.ipynb index fe7025d8..8f3dfbd6 100644 --- a/ifrs17/Utils/ApplicationMessage.ipynb +++ b/ifrs17/Utils/ApplicationMessage.ipynb @@ -19,7 +19,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "wLzDwTbQ9Uaiyx6Djl_hGQ", "cell_type": "markdown", "source": [ "

Application Message

" @@ -29,7 +28,6 @@ "outputs": [] }, { - "id": "de93et2JM0KcfJdU0ydEuw", "cell_type": "code", "source": [ "#!import \"../Constants/Validations\"", @@ -40,7 +38,6 @@ "outputs": [] }, { - "id": "CZ5guP7mh0mpnrz00G3S0g", "cell_type": "code", "source": [ "using Microsoft.Extensions.Logging;", @@ -68,7 +65,6 @@ "outputs": [] }, { - "id": "VQkVErt-S0290QjxpeU_pg", "cell_type": "code", "source": [ "ApplicationMessage.Configure(Log, Activity)" @@ -78,7 +74,6 @@ "outputs": [] }, { - "id": "drAxOrfkYUW3-64_fh5Ddw", "cell_type": "markdown", "source": [ "# Utils" @@ -88,7 +83,6 @@ "outputs": [] }, { - "id": "JhD11IJpqEe5iKVccpEdOg", "cell_type": "code", "source": [ "public static bool HasErrors (this ActivityLog[] logs) {", @@ -103,7 +97,6 @@ "outputs": [] }, { - "id": "-nHLgnv6CkGmjrCtmn-FfQ", "cell_type": "code", "source": [ "public static ActivityLog Merge (this ActivityLog a, ActivityLog b) {", @@ -132,7 +125,6 @@ "outputs": [] }, { - "id": "sYT7OFkE8Eu3GY-TUwLWdQ", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Utils/EqualityComparers.ipynb b/ifrs17/Utils/EqualityComparers.ipynb index 39d798e8..c8cde44b 100644 --- a/ifrs17/Utils/EqualityComparers.ipynb +++ b/ifrs17/Utils/EqualityComparers.ipynb @@ -16,7 +16,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "ogmxH-FTpEGc4-ymE-mFYg", "cell_type": "markdown", "source": [ "

Equality Comparers

" @@ -26,7 +25,6 @@ "outputs": [] }, { - "id": "-Y69asl-c0OSbbvFliOOCg", "cell_type": "code", "source": [ "#!import \"../DataModel/DataStructure\"" @@ -36,7 +34,6 @@ "outputs": [] }, { - "id": "cewEsMJ9cUyBQhfByCbaAg", "cell_type": "code", "source": [ "class RawVariableComparer: IEqualityComparer", @@ -66,7 +63,6 @@ "outputs": [] }, { - "id": "sWecJZ9b5UWdmf2iaZSduA", "cell_type": "code", "source": [ "class IfrsVariableComparer: IEqualityComparer", @@ -96,7 +92,6 @@ "outputs": [] }, { - "id": "dxFBW3aXtEeO1ZVIRlC_XA", "cell_type": "code", "source": [ "using System;", @@ -115,7 +110,6 @@ "outputs": [] }, { - "id": "ejquQGmoSEK5L6HGwXrM9A", "cell_type": "code", "source": [ "class EqualityComparer : IEqualityComparer", @@ -154,7 +148,6 @@ "outputs": [] }, { - "id": "dQkdrzS8s0i1J4MQfOER6w", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Utils/Extensions.ipynb b/ifrs17/Utils/Extensions.ipynb index 898a83a4..a403aeff 100644 --- a/ifrs17/Utils/Extensions.ipynb +++ b/ifrs17/Utils/Extensions.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "37QLGftFt0GR52lqdw-HNQ", "cell_type": "markdown", "source": [ "

Extention Methods (this IList array, int index)\"? ", @@ -71,7 +67,6 @@ "outputs": [] }, { - "id": "A-JqTxL5pE21nMgEZ1JTAg", "cell_type": "code", "source": [ "public static Dictionary ToDictionaryGrouped(this IEnumerable source, Func keySelector, Func, TResult> elementSelector) => source.GroupBy(keySelector).ToDictionary(g => g.Key, elementSelector);" @@ -81,7 +76,6 @@ "outputs": [] }, { - "id": "MAeKIQ5QvECLkH8cmeI75w", "cell_type": "code", "source": [ "public static IDataCube SelectToDataCube(this IEnumerable source, Func whereClause, Func selector) => source.Where(whereClause).Select(selector).ToDataCube();" @@ -91,7 +85,6 @@ "outputs": [] }, { - "id": "izvvatd1rE21dda6NHFZPg", "cell_type": "code", "source": [ "public static IDataCube SelectToDataCube(this IEnumerable source, Func selector) => source.SelectToDataCube(x => true, selector);" @@ -101,7 +94,6 @@ "outputs": [] }, { - "id": "bNj5qyvo3kue3cwR_5Azsw", "cell_type": "code", "source": [ "public static double[] Prune (this IEnumerable source, double precision = Precision) => source.Reverse().SkipWhile(x => Math.Abs(x) < precision).Reverse().ToArray();" @@ -111,7 +103,6 @@ "outputs": [] }, { - "id": "DrWpMND_l0mojje8dHygRA", "cell_type": "markdown", "source": [ "# String Extensions" @@ -121,7 +112,6 @@ "outputs": [] }, { - "id": "s2mmvm2-A02lMpUVEQb-4A", "cell_type": "code", "source": [ "using System.Globalization;" @@ -131,7 +121,6 @@ "outputs": [] }, { - "id": "Bnfm2rWKHEme4-DjALszfQ", "cell_type": "code", "source": [ "public static double CheckStringForExponentialAndConvertToDouble (this string s)", @@ -146,7 +135,6 @@ "outputs": [] }, { - "id": "CMA8w5ro8UGCKdLzCLQZjg", "cell_type": "markdown", "source": [ "# Enum Extentions" @@ -156,7 +144,6 @@ "outputs": [] }, { - "id": "7PBYRiDYtUCiAzeiZoNS3Q", "cell_type": "code", "source": [ "public static bool Contains(this T value, T lookingForFlag) ", @@ -172,7 +159,6 @@ "outputs": [] }, { - "id": "kJ91UizKf0eoJht6A0xCgw", "cell_type": "markdown", "source": [ "# ToIdentityString" @@ -182,7 +168,6 @@ "outputs": [] }, { - "id": "v_U3DILjyUqmOf__msiQCw", "cell_type": "code", "source": [ "using System.Text;", @@ -202,7 +187,6 @@ "outputs": [] }, { - "id": "72YmbK18UEC9lOicYn7zRQ", "cell_type": "code", "source": [ "" diff --git a/ifrs17/Utils/ImportCalculationMethods.ipynb b/ifrs17/Utils/ImportCalculationMethods.ipynb index 81b9d57d..c5db1a05 100644 --- a/ifrs17/Utils/ImportCalculationMethods.ipynb +++ b/ifrs17/Utils/ImportCalculationMethods.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "dm2BpbZSZ0y3Rm2xKWMh0A", "cell_type": "markdown", "source": [ "

Import Calculation Methods > GetPreviousIdentities(IEnumerable identities)", @@ -68,7 +64,6 @@ "outputs": [] }, { - "id": "Q-zkjr-DsUye5AKQihTa6w", "cell_type": "markdown", "source": [ "# Get Reference AocStep for calculated steps" @@ -78,7 +73,6 @@ "outputs": [] }, { - "id": "oMMELTAwO02FIHDVa5WP8w", "cell_type": "code", "source": [ "public static AocStep GetReferenceAocStepForCalculated(this IEnumerable identities, Dictionary aocConfigurationByAocStep, AocStep identityAocStep)", @@ -95,7 +89,6 @@ "outputs": [] }, { - "id": "IyQ1h7IPzUqnUGBTT9vlWA", "cell_type": "markdown", "source": [ "# Discount and Cumulate" @@ -105,7 +98,6 @@ "outputs": [] }, { - "id": "COS5E2hpRka2paEchEV85A", "cell_type": "code", "source": [ "public static double[] ComputeDiscountAndCumulate(this double[] nominalValues, double[] monthlyDiscounting, PeriodType periodType) ", @@ -132,7 +124,6 @@ "outputs": [] }, { - "id": "1jcSQCWC-UOP2rpI3vcXhw", "cell_type": "code", "source": [ "public static double[] ComputeDiscountAndCumulateWithCreditDefaultRisk(this double[] nominalValues, double[] monthlyDiscounting, double nonPerformanceRiskRate) //Is it correct that NonPerformanceRiskRate is a double? Should it be an array that takes as input tau/t?", @@ -149,7 +140,6 @@ "outputs": [] }, { - "id": "peOs8OplG0Km9WLVYerNLg", "cell_type": "markdown", "source": [ "# Import Configuration " @@ -159,7 +149,6 @@ "outputs": [] }, { - "id": "C-ywsGdsCUqqw4-y32DtDA", "cell_type": "markdown", "source": [ "## Data Nodes" @@ -169,7 +158,6 @@ "outputs": [] }, { - "id": "FaimY7RfJU28U8LOflKePQ", "cell_type": "code", "source": [ "public GroupOfInsuranceContract ExtendGroupOfContract(GroupOfInsuranceContract gic, IDataRow datarow) => gic;" @@ -179,7 +167,6 @@ "outputs": [] }, { - "id": "D0amuqeOkkmg6Bgrns581A", "cell_type": "code", "source": [ "public GroupOfReinsuranceContract ExtendGroupOfContract(GroupOfReinsuranceContract gric, IDataRow datarow) => gric;" @@ -189,7 +176,6 @@ "outputs": [] }, { - "id": "w1toWOQWFEy8EQVu7pTCng", "cell_type": "markdown", "source": [ "## Change Sign Rules" @@ -199,7 +185,6 @@ "outputs": [] }, { - "id": "et9tX4p4UkuwJsMFOuKnHw", "cell_type": "code", "source": [ "public static int GetSign((string AocType, string AmountType, string EstimateType, bool IsReinsurance) variable, Systemorph.Vertex.Hierarchies.IHierarchicalDimensionCache hierarchyCache) => 1;" @@ -209,7 +194,6 @@ "outputs": [] }, { - "id": "_FOFZ-JqNEC7R6nwFYMFUg", "cell_type": "markdown", "source": [ "## EstimateType And AmountType" @@ -219,7 +203,6 @@ "outputs": [] }, { - "id": "3DI_KVkmz0KSb_7hr6gpSQ", "cell_type": "code", "source": [ "public static Dictionary> GetAmountTypesByEstimateType(Systemorph.Vertex.Hierarchies.IHierarchicalDimensionCache hierarchyCache)", @@ -237,7 +220,6 @@ "outputs": [] }, { - "id": "K8et8EQkfk-iSDvi3aF6sw", "cell_type": "markdown", "source": [ "## Technical Margin EstimateType" @@ -247,7 +229,6 @@ "outputs": [] }, { - "id": "tqX2rC2hv0q0W8nRW9Ug0g", "cell_type": "code", "source": [ "public static HashSet GetTechnicalMarginEstimateType()", diff --git a/ifrs17/Utils/Queries.ipynb b/ifrs17/Utils/Queries.ipynb index 9f3dfef8..54efbb41 100644 --- a/ifrs17/Utils/Queries.ipynb +++ b/ifrs17/Utils/Queries.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "fbab8KjyQkyLiXKGJyfa2A", "cell_type": "markdown", "source": [ "

Queries >> GetExchangeRatesDictionaryAsync(this IQuerySource querySource, int year, int month)", @@ -80,7 +75,6 @@ "outputs": [] }, { - "id": "9oo-zuul8EKzrnCJFAzqQQ", "cell_type": "markdown", "source": [ "# Current and Previous Parameters" @@ -90,7 +84,6 @@ "outputs": [] }, { - "id": "HuKjnIgTUEaGC4yIEllZdg", "cell_type": "code", "source": [ "public static async Task LoadParameterAsync(", @@ -111,7 +104,6 @@ "outputs": [] }, { - "id": "em1hxyD6qEqWWc6s02QdKA", "cell_type": "code", "source": [ "public static async Task> LoadCurrentParameterAsync (", @@ -136,7 +128,6 @@ "outputs": [] }, { - "id": "7CWHPi_ERU-LT0Hkk1MSGQ", "cell_type": "code", "source": [ "public static async Task>> LoadCurrentAndPreviousParameterAsync (", @@ -171,7 +162,6 @@ "outputs": [] }, { - "id": "Ot_9jtjxvk6ShPq6_QndnA", "cell_type": "markdown", "source": [ "", @@ -182,7 +172,6 @@ "outputs": [] }, { - "id": "H6u21U5weU65vzmg7twmhw", "cell_type": "markdown", "source": [ "## Locked-in" @@ -192,7 +181,6 @@ "outputs": [] }, { - "id": "3u_OXnhOjkKNpNivnkOuYQ", "cell_type": "code", "source": [ "public static async Task> LoadLockedInYieldCurveAsync(this IQuerySource querySource, Args args, ", @@ -218,7 +206,6 @@ "outputs": [] }, { - "id": "ZQl3LDNHKUCgaIvyB6G62w", "cell_type": "markdown", "source": [ "## Current" @@ -228,7 +215,6 @@ "outputs": [] }, { - "id": "4uLD-gkkTU2DzKqGAi4WKg", "cell_type": "code", "source": [ "public static async Task>> LoadCurrentYieldCurveAsync(this IQuerySource querySource, Args args, ", @@ -246,7 +232,6 @@ "outputs": [] }, { - "id": "WVEn8m01vUW4RRliQ5T0-g", "cell_type": "markdown", "source": [ "# Data Node State" @@ -256,7 +241,6 @@ "outputs": [] }, { - "id": "9VQcw0Oh20G7E1m1XrBZcw", "cell_type": "code", "source": [ "public static async Task> LoadDataNodeStateAsync(this IQuerySource querySource, Args args)", @@ -271,7 +255,6 @@ "outputs": [] }, { - "id": "SxQLPtHgQ0ep3YzMpxVbUg", "cell_type": "markdown", "source": [ "# Data Nodes" @@ -281,7 +264,6 @@ "outputs": [] }, { - "id": "pfrZAbrPnUqrtPaJDeIUyg", "cell_type": "code", "source": [ "public static async Task> LoadDataNodesAsync(this IQuerySource querySource, Args args)", @@ -319,7 +301,6 @@ "outputs": [] }, { - "id": "Oew7zanlnUKPlmBc2trXBQ", "cell_type": "markdown", "source": [ "# Data Node Parameters" @@ -329,7 +310,6 @@ "outputs": [] }, { - "id": "Mj2iGP3LDkKeLA7Cd8W7BA", "cell_type": "markdown", "source": [ "## Single data Node" @@ -339,7 +319,6 @@ "outputs": [] }, { - "id": "YRhKcQ4Mzk2fcTyvycCDAw", "cell_type": "code", "source": [ "public static async Task>> LoadSingleDataNodeParametersAsync(this IQuerySource querySource, Args args)", @@ -352,7 +331,6 @@ "outputs": [] }, { - "id": "W-tpkmQTjkeAKd9P26BEKA", "cell_type": "markdown", "source": [ "## Inter data Node" @@ -362,7 +340,6 @@ "outputs": [] }, { - "id": "563xeprOJU2gJV_TNxa4GA", "cell_type": "code", "source": [ "public static async Task>>> LoadInterDataNodeParametersAsync(this IQuerySource querySource, Args args)", @@ -392,7 +369,6 @@ "outputs": [] }, { - "id": "pWmi0o2H60SDDht7Au0x-g", "cell_type": "markdown", "source": [ "# Aoc Step Configuration" @@ -402,7 +378,6 @@ "outputs": [] }, { - "id": "IbK-mlyTFEeWmk4cJZQNqw", "cell_type": "code", "source": [ "public static async Task> LoadAocStepConfigurationAsync(this IQuerySource querySource, int year, int month)", @@ -415,7 +390,6 @@ "outputs": [] }, { - "id": "p4-Lxx_SzkWaUMWcuregEQ", "cell_type": "code", "source": [ "public static async Task> LoadAocStepConfigurationAsDictionaryAsync(this IQuerySource querySource, int year, int month) ", diff --git a/ifrs17/Utils/TestHelper.ipynb b/ifrs17/Utils/TestHelper.ipynb index 756fe07e..6ae41a17 100644 --- a/ifrs17/Utils/TestHelper.ipynb +++ b/ifrs17/Utils/TestHelper.ipynb @@ -18,7 +18,6 @@ "nbformat_minor": 5, "cells": [ { - "id": "qY8DKa9dQUWTSl9qUoJHmA", "cell_type": "markdown", "source": [ "

Test Helper Methods WithGridOptionsForIfrsVariable",