Skip to content

Commit 911cd71

Browse files
dcolleonisbusatonnikolopoulosnnikolopoulosAndrea Muolo
authored
Dev to main (#84)
* base code * correct broken links * fixed Opening re-import * Rename "PvBase" to "PresentValue" (#32) * include new default spaces * reorder global metadata using alphabetical order * Break utils nb (#33) * working on reports doc * metadata * break down utils * remove preview * update references to utils * fix image paths * reset doc around reports * fixing test + a ton of metadata * Cleanup redundant comments and import /Tests/TestHelper in SpecificationsFinancialPerformance * Move Export.ipynb inside the Export folder, fix import /Export/Export statement and comments cleanup in Utils/Extensions.ipynb * Empty commit to refresh the meta-data * Remove all *.orig files Co-authored-by: nnikolopoulos <nnikolopoulos@systemorph.com> * Including FX positions to FP scope * FP specification nb - add FX aoc step * Rename calculation type with estimate type (#34) * Replace CalculationType with EstimateType * Correct estimateType capitalization error in Test/SpecificationsImportCashflows.ipynb * Clean up notebooks spaces * Empty commit to refresh the meta-data * Cleanup comments in Import/ImportStorage.ipynb * Fix capitalization in Importers & ImportStorage NB * Fix column order in csv * Add blank cell DataNodeParameters link * new data node factory * metadata * metadata x2 * metadata x3 * implement feedback * split directories * fix tests + add readme + seperate overview nb * include changes on factory * adapt to the split * still not working properly * code cleanup * new file creation * update packages and fix csm with bm * approaching * better * testing ifrsvariables * implement feedback * final feedback * fix * const version ce * testing IfrsVariables calculations * new partition added * implementing new test * test cleaned * Update links (#51) * working on links * read me * remove redundant code * clean up * AocConfiguration ImportFormat * remove reference to init from Overview * removal arithmetics * testing queries * Simple value test data (#54) * Adding data files * Fix input * Fix input * change to importers test * Fix to sign * Int convention * reset consts * implement feedback part 1 * Overview texts (#53) * Overview (Template), revised text * Reports of template with small adjustments * Overview IFRS17, some adjustments * finalized + hot fixes * ReportGridOptions * checking multiple import of the same scenario * final fixes and feedback implementations * dynamic problems solved * fixing aoctype for scenario * Interactive reports (#58) * Ifrs17ReportScopes * wip * latest * add other reports * start with pv * filter does not work * clean up * clean up reports * clean up * typo * move it ce * remove partition set * adjust reporting * test readme with relative path for image * back to absolute path - bug in the portal - * wip * settle with identities * some more docs * adding rn and period selector * test for actualsr * code cleanup * New format design in importers (#62) * Define new ImportFormats * Apply import w format in DN, DNS, DP, CF * Apply import w format in A, SV and O * Correct Import statements * Replace abs link with var link * Adjust naming convention * Adjust new import format in full-template * forward * Package update (#65) * update packages * add anchors * cleanups * Fixing AA and OA opening and benchmark simple importer (#57) * Fixing input data * Workaround for bm generation * Fixed GetSign * Inputs * Fixed Importers * add some doc * fixed CU * Dirty fix on signs * undo CU sign * wip * Fix signs * Init * fix * fix * exclude simple value from test * some partial fix * Full fix * much better * implemented * Aggregate by in report variable (#67) * included back AggregateBy * included Currency column in ReportVariable benchmarks * Clean up doc (#71) * remove spec tests * read me and big picture * help review * code of conduct. Readme. Remove Spec tests * env for go live * rename of directories in file * overview template * improve template readme * calculation engine and reports in template * more on ifrs17ce * NB titles * clean up display order * improve validation * fix links * fix link * Close import template * additions to report guide * solve conflicts * implement feedback * cleanups * cleanups x2 * fixes needed after merge * all tests are green * implement feedback * Doc cleanup2 (#76) * forbiddenSlices and chose init or db connection * clean ups * small letters to capital * complete sentence about filters * implement all feedbacks * packages + withGridOption + await HierarchyCache init (#83) Co-authored-by: Sara Busato <sbusato@systemorph.com> Co-authored-by: sbusato <103484221+sbusato@users.noreply.github.com> Co-authored-by: nnikolopoulos <114566025+nnikolopoulos@users.noreply.github.com> Co-authored-by: nnikolopoulos <nnikolopoulos@systemorph.com> Co-authored-by: Andrea Muolo <amuolo@systemorph.com> Co-authored-by: amuolo <and.muolo@gmail.com> Co-authored-by: Danilo Calderini <dcalderini@systemorph.com> Co-authored-by: Daniel Trzesniak <dtrzesniak@systemorph.com> Co-authored-by: UMueller1 <108468853+UMueller1@users.noreply.github.com>
1 parent f693727 commit 911cd71

83 files changed

Lines changed: 3816 additions & 8413 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

full-ifrs17-template/Constants/Consts.ipynb renamed to full-ifrs17-template/Constants/CalculationEngine.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
{
1919
"cell_type": "code",
2020
"source": [
21-
"var projectName = \"ifrs17ce\";",
22-
"\nvar environmentName = \"dev\";",
21+
"var projectName = \"ifrs17\";",
22+
"\nvar environmentName = \"v1.0.0\";",
2323
"\nvar notebookName = \"CalculationEngine\";",
2424
"\nvar calculationEngine = $\"#!import \\\"//{projectName}/{environmentName}/{notebookName}\\\"\";"
2525
]
2626
}
2727
]
28-
}
28+
}

full-ifrs17-template/Database/Configure.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
{
2828
"cell_type": "code",
2929
"source": [
30-
"#!import \"../Constants/Consts\"",
30+
"#!import \"../Constants/CalculationEngine\"",
3131
"\n#!eval calculationEngine"
3232
]
3333
},
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"metadata": {
3+
"authors": [],
4+
"kernelspec": {
5+
"display_name": "Formula Framework",
6+
"language": "C#",
7+
"name": "C#"
8+
},
9+
"language_info": {
10+
"file_extension": ".cs",
11+
"mimetype": "text/plain",
12+
"name": "C#"
13+
}
14+
},
15+
"nbformat": 4,
16+
"nbformat_minor": 5,
17+
"cells": [
18+
{
19+
"cell_type": "code",
20+
"source": [
21+
"var connectionStringMsSql = \"here enter your connection string\";"
22+
]
23+
}
24+
]
25+
}

full-ifrs17-template/Export/MapTemplate.ipynb

Lines changed: 45 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,17 @@
2626
{
2727
"cell_type": "markdown",
2828
"source": [
29-
"This Notebook exports the Data nodes, states, and parameters for the target partition to a spreadsheet file which can be read, modified, and is ready to be re-imported."
29+
"This notebook exports the data nodes, data node states, and data node parameters belonging to a specific data partition into an excel file.",
30+
"\n<br> This file contains reference data used to prepopulate dropdows and validations to facilitate editing.",
31+
"\n<br> This can be modified and imported in the calculation engine to create and modify data."
3032
]
3133
},
3234
{
3335
"cell_type": "markdown",
3436
"source": [
35-
"After setting the desired target Partition, the Data present in the workspace is ready to be exported. "
37+
"After setting the desired target Partition, the Data present in the workspace is ready to be exported. ",
38+
"\n",
39+
"\nThe default location of the exported files is the project file storage. A **download** link is generated and available for as long as the session is active. "
3640
]
3741
},
3842
{
@@ -44,16 +48,17 @@
4448
{
4549
"cell_type": "markdown",
4650
"source": [
47-
"Choose to run the Map Template either with the set of Systemorph data in memory or with the data present in the Database. Uncomment the desired option."
51+
"Choose to run the Map Template either with the set of Systemorph data in memory or with the data present in the Database: ",
52+
"\n- #!eval-notebook \"../Database/Configure\" : connects to a physical Database",
53+
"\n- #!eval-notebook \"../Import/CloseImportTemplate\" : uses the in-memory set up",
54+
"\n",
55+
"\nWe use here the in-memory set up."
4856
]
4957
},
5058
{
5159
"cell_type": "code",
5260
"source": [
53-
"/* The DataSource is configured and connected to real database */",
54-
"\n//#!eval-notebook \"../Database/Configure\"",
55-
"\n/* The Systemorph set of dimensions + mockdata are dispatched to the unconfigured in-memory DataSource */",
56-
"\n#!eval-notebook \"../Initialization/InitSystemorphBaseToMemory\""
61+
"#!eval-notebook \"../Import/CloseImportTemplate\""
5762
]
5863
},
5964
{
@@ -77,7 +82,9 @@
7782
{
7883
"cell_type": "markdown",
7984
"source": [
80-
"# Map Template: Data Node"
85+
"# Map Template: Data Node",
86+
"\n",
87+
"\n[DataNodes](https://portal.systemorph.cloud/project/ifrs17/env/v1.0.0/DataModel/DataStructure#data-node) defines the properties of [Portfolios](https://portal.systemorph.cloud/project/ifrs17/env/v1.0.0/DataModel/DataStructure#portfolios) and [Group of Contracts](https://portal.systemorph.cloud/project/ifrs17/env/v1.0.0/DataModel/DataStructure#group-of-contracts)."
8188
]
8289
},
8390
{
@@ -89,13 +96,8 @@
8996
{
9097
"cell_type": "code",
9198
"source": [
92-
"static var partition = new PartitionByReportingNode() { ReportingNode = \"CH\" };"
93-
]
94-
},
95-
{
96-
"cell_type": "code",
97-
"source": [
98-
"await Workspace.Partition.SetAsync<PartitionByReportingNode>( partition );"
99+
"static var partition = new PartitionByReportingNode() { ReportingNode = \"CH\" };",
100+
"\nawait Workspace.Partition.SetAsync<PartitionByReportingNode>( partition );"
99101
]
100102
},
101103
{
@@ -120,7 +122,9 @@
120122
{
121123
"cell_type": "markdown",
122124
"source": [
123-
"# Map Template: Data Node State"
125+
"# Map Template: Data Node State",
126+
"\n",
127+
"\n[Data Node State](https://portal.systemorph.cloud/project/ifrs17/env/v1.0.0/DataModel/DataStructure#data-node-state) defines whether the instance is active (used in import/output) or inactive (present in the DataSource but not used in input/output operations)."
124128
]
125129
},
126130
{
@@ -132,19 +136,20 @@
132136
{
133137
"cell_type": "code",
134138
"source": [
135-
"static var partition = new PartitionByReportingNodeAndPeriod() { ReportingNode = \"CH\", Year = 2020, Month = 12 };"
139+
"static var partition = new PartitionByReportingNodeAndPeriod() { ReportingNode = \"CH\", Year = 2020, Month = 12 };",
140+
"\nawait Workspace.Partition.SetAsync<PartitionByReportingNode>( new PartitionByReportingNode() { ReportingNode = partition.ReportingNode } );"
136141
]
137142
},
138143
{
139-
"cell_type": "code",
144+
"cell_type": "markdown",
140145
"source": [
141-
"await Workspace.Partition.SetAsync<PartitionByReportingNode>( new PartitionByReportingNode() { ReportingNode = partition.ReportingNode } );"
146+
"## Export"
142147
]
143148
},
144149
{
145150
"cell_type": "markdown",
146151
"source": [
147-
"## Export"
152+
"The data is retrieved for the Workspace and prepared for export."
148153
]
149154
},
150155
{
@@ -158,6 +163,12 @@
158163
"\n .ToArray();"
159164
]
160165
},
166+
{
167+
"cell_type": "markdown",
168+
"source": [
169+
"Export is performed."
170+
]
171+
},
161172
{
162173
"cell_type": "code",
163174
"source": [
@@ -172,7 +183,9 @@
172183
{
173184
"cell_type": "markdown",
174185
"source": [
175-
"# Map Template: Data Node Parameter"
186+
"# Map Template: Data Node Parameter",
187+
"\n",
188+
"\n[Data Node Parameters](https://portal.systemorph.cloud/project/ifrs17/env/v1.0.0/DataModel/DataStructure#data-node-parameters) are defined at the Group of Contract level and are used during the import calculation. "
176189
]
177190
},
178191
{
@@ -184,19 +197,20 @@
184197
{
185198
"cell_type": "code",
186199
"source": [
187-
"static var partition = new PartitionByReportingNodeAndPeriod() { ReportingNode = \"CH\", Year = 2020, Month = 12 };"
200+
"static var partition = new PartitionByReportingNodeAndPeriod() { ReportingNode = \"CH\", Year = 2020, Month = 12 };",
201+
"\nawait Workspace.Partition.SetAsync<PartitionByReportingNode>( new PartitionByReportingNode() { ReportingNode = partition.ReportingNode } );"
188202
]
189203
},
190204
{
191-
"cell_type": "code",
205+
"cell_type": "markdown",
192206
"source": [
193-
"await Workspace.Partition.SetAsync<PartitionByReportingNode>( new PartitionByReportingNode() { ReportingNode = partition.ReportingNode } );"
207+
"## Export"
194208
]
195209
},
196210
{
197211
"cell_type": "markdown",
198212
"source": [
199-
"## Export"
213+
"The data is retrieved for the Workspace and prepared for export."
200214
]
201215
},
202216
{
@@ -212,6 +226,12 @@
212226
"\n .ToArray() );"
213227
]
214228
},
229+
{
230+
"cell_type": "markdown",
231+
"source": [
232+
"Export is performed."
233+
]
234+
},
215235
{
216236
"cell_type": "code",
217237
"source": [

full-ifrs17-template/Files/900.TransactionalData/Actuals_CH_2020_12.csv

Lines changed: 0 additions & 33 deletions
This file was deleted.

full-ifrs17-template/Files/900.TransactionalData/Actuals_CH_2021_3.csv

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)