-
Notifications
You must be signed in to change notification settings - Fork 9
Clean up doc #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Clean up doc #71
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
2b614aa
remove spec tests
dcolleoni b9327b1
Merge remote-tracking branch 'origin/develop' into CleanUpDoc
dcolleoni 452e683
read me and big picture
dcolleoni 9e534e6
help review
dcolleoni 9643a51
code of conduct. Readme. Remove Spec tests
dcolleoni 9f25ef3
env for go live
dcolleoni 0a631c7
rename of directories in file
dcolleoni 56053c3
overview template
dcolleoni b0ca63e
improve template readme
dcolleoni 4c67d57
calculation engine and reports in template
dcolleoni bf9a703
more on ifrs17ce
dcolleoni 0798957
NB titles
dcolleoni f59d9ac
clean up display order
dcolleoni 1e77893
improve validation
dcolleoni b6814a3
fix links
dcolleoni 59ce1c4
fix link
dcolleoni 7ecf895
Close import template
dcolleoni d74b769
additions to report guide
dcolleoni e5ba903
solve conflicts
dcolleoni d92ec7e
Merge remote-tracking branch 'origin/develop' into CleanUpDoc
dcolleoni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
full-ifrs17-template/Database/PersonalConnectionExample.ipynb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| { | ||
| "metadata": { | ||
| "authors": [], | ||
| "kernelspec": { | ||
| "display_name": "Formula Framework", | ||
| "language": "C#", | ||
| "name": "C#" | ||
| }, | ||
| "language_info": { | ||
| "file_extension": ".cs", | ||
| "mimetype": "text/plain", | ||
| "name": "C#" | ||
| } | ||
| }, | ||
| "nbformat": 4, | ||
| "nbformat_minor": 5, | ||
| "cells": [ | ||
| { | ||
| "cell_type": "code", | ||
| "source": [ | ||
| "var connectionStringMsSql = \"here enter your connection string\";" | ||
| ] | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,125 @@ | ||
| { | ||
| "metadata": { | ||
| "authors": [], | ||
| "kernelspec": { | ||
| "display_name": "Formula Framework", | ||
| "language": "C#", | ||
| "name": "C#" | ||
| }, | ||
| "language_info": { | ||
| "file_extension": ".cs", | ||
| "mimetype": "text/plain", | ||
| "name": "C#" | ||
| } | ||
| }, | ||
| "nbformat": 4, | ||
| "nbformat_minor": 5, | ||
| "cells": [ | ||
| { | ||
| "cell_type": "markdown", | ||
| "source": [ | ||
| "<p style=\"font-weight:bold;\"> <span style=\"font-size: 36px\"> Close Imports Template</span> </p>" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "source": [ | ||
| "All imports are triggered via the <code>Import</code> command. Several options can be fluently appended to customize the import action:", | ||
| "\n- <code>FromFile()</code> : accepts a string as input (eg. \"../Files/TransactionalData/Openings_CH_2020_12.csv\"). It corresponds the file to be imported complete with the path", | ||
| "\n- <code>WithFormat()</code> : accepts a string as input (eg. \"Cashflow\" or \"Actual\"). It is used to trigger the desired import logic for the current file. Full list of avalaible ImportFormat can be found [here](https://portal.systemorph.cloud/project/ifrs17/env/v1.0.0/Constants/Consts#import-formats)", | ||
| "\n- <code>WithFileStorage()</code> : defined the drive from where the input files is retrieved. In this example we use the project file storage (new files have to be uploaded into the project), other options are SharePoint and OneDrive. ", | ||
| "\n- <code>WithTarget()</code> : target drive where the results are stored. In this example we use our in-memory set up", | ||
| "\n" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "source": [ | ||
| "# Set up data and configuration", | ||
| "\n", | ||
| "\nThe data source is initialized and the whole IFRS 17 Calculation Engine code is compiled. " | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "code", | ||
| "source": [ | ||
| "#!eval-notebook \"../Initialization/InitSystemorphToMemory\"" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "source": [ | ||
| "# DataNode and Parameters", | ||
| "\n", | ||
| "\nNew Data Nodes and Parameters are imported here.", | ||
| "\n<br> To easily generate these files, please refer to the **Map Template** files exported [here](../Export/MapTemplate). Edit them at your wish and import them back into the solution through the following cells. ", | ||
| "\n<br> For the **ImportFormat**, the following options are expected:", | ||
| "\n- ImportFormats.DataNode : [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)", | ||
| "\n- ImportFormats.DataNodeState : the [state of a data node](https://portal.systemorph.cloud/project/ifrs17/env/v1.0.0/DataModel/DataStructure#data-node-state) can be either active or inactive.", | ||
| "\n- ImportFormats.DataNodeParameter : parameters are described [here](https://portal.systemorph.cloud/project/ifrs17/env/v1.0.0/DataModel/DataStructure#data-node-parameters). For **Group of Insurance Contracts** a default [Premium Allocation factor](https://portal.systemorph.cloud/project/ifrs17/env/v1.0.0/Import/ImportScopeCalculation#experience-adjustment-on-premium) of 1 is applied if the parameter is not imported.", | ||
| "\n" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "code", | ||
| "source": [ | ||
| "var pathToFile = \"../Files/DataNodes/DataNodes_CH.csv\";" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "code", | ||
| "source": [ | ||
| "var format = ImportFormats.DataNode;" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "code", | ||
| "source": [ | ||
| "await Import.FromFile(pathToFile).WithFormat(format).WithTarget(DataSource).ExecuteAsync()" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "source": [ | ||
| "# Transactional Data", | ||
| "\n", | ||
| "\nTransactional data are imported here. ", | ||
| "\n<br> For the **ImportFormat**, the following options are expected:", | ||
| "\n- ImportFormats.Opening : for opening values in a Fair Value Approach", | ||
| "\n- ImportFormats.Cashflow : nominal cash flows", | ||
| "\n- ImportFormats.Actual : written actuals, payable and receivables. ", | ||
| "\n- ImportFormats.SimpleValue : direct import of pre-calculated Present Value and Actual values for all reports - no calculation is triggered -" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "code", | ||
| "source": [ | ||
| "var pathToFile = \"../Files/TransactionalData/Openings_CH_2020_12.csv\";" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "code", | ||
| "source": [ | ||
| "var format = ImportFormats.Opening;" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "code", | ||
| "source": [ | ||
| "await Import.FromFile(pathToFile).WithFormat(format).WithTarget(DataSource).ExecuteAsync()" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "source": [ | ||
| "# Workspace reset" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "code", | ||
| "source": [ | ||
| "Workspace.Reset(x => x.ResetInitializationRules().ResetCurrentPartitions());" | ||
| ] | ||
| } | ||
| ] | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.