Skip to content

Commit 4d85393

Browse files
authored
Merge pull request #209 from OasisLMF/release/4.0.0
Release/4.0.0
2 parents 9631ab9 + 243b305 commit 4d85393

47 files changed

Lines changed: 20196 additions & 4765 deletions

Some content is hidden

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

CONTRIBUTING.md

Lines changed: 18 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,29 @@
1-
# Welcome to OasisLMF contributing guide :wave:
1+
# How to contribute to the Open Exposure Data Standard
22

3-
Thank you for investing your time in contributing to this project!
3+
There are a variety of ways in which you can contribute to the development
4+
and adoption of the OED standard.
45

5-
<!-- Read our [Code of Conduct](./CODE_OF_CONDUCT.md) to keep our community approachable and respectable. -->
6+
We recommend that before contributing you:
67

7-
In this guide you will get an overview of the coding style that we follow and of the contribution workflow from opening an issue, creating a pull request (PR), reviewing, and merging the PR.
8+
* Review the [OED documentation](Docs/) which provides an overview of the standard and introduces key concepts and terminology.
9+
* Review the OED specification which contains the main data components, field lists and valid values.
10+
* [Excel version](README.md#releases)
11+
* [Csv version](OpenExposureData/)
12+
* Review the [governance and release processes](Docs/ODS_Gov_Updates_Release_Processes_v1.1.pdf) documentation so that you are familiar with our processes for agreeing changes and releasing updates.
813

14+
## Proposing changes
915

10-
## Coding principles
16+
If you would like to propose a change to the standard then you can do this by [submitting an issue](https://github.com/OasisLMF/ODS_OpenExposureData/issues). For instance:
1117

12-
The goal of the these coding guidelines is to ensure that the OasisLMF repositories are highly maintainable, well documented, and well structured.
18+
* if you have noticed an error in the specification or documentation.
19+
* if you have a proposal for revising or extending the standard.
1320

14-
Please adhere to the following principles when contributing to the code base:
21+
We recommend filing an issue as the first step, so that fixes and changes can be discussed with the community.
1522

16-
- be **DRY** (aka Don't Repeat Yourself): avoid code duplication as much as possible. If an element (variable, constant, data type, function, etc.) is already defined somewhere else in the package, then re-use or augment the existing definition.
17-
18-
- add proper **documentation** to the code:
19-
- on general terms, we follow the Google Python Style Guide for comments and docstrings: see [Chapter 3.8](https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings).
20-
- all functions must have a docstring describing their purpose, the data type and the content of all input and output variables. Where external results (e.g., specific algorithms) are used, a short note or reference to the external source should be included.
21-
- the docstrings need to be concise and essential, yet complete.
22-
- in functions implementing non-trivial logic and/or complex algorithms, the code should be annotated with short and informative comments making clear the logic and the flow, and the reasoning behind non-obvious implementation decisions.
23-
24-
- format the code to make it **PEP8 compliant**. This is easily done with tools like `autopep8`: see how to use formatters in [VS code](https://code.visualstudio.com/docs/python/editing#_formatting) and [PyCharm](https://www.jetbrains.com/help/pycharm/reformat-and-rearrange-code.html).
25-
26-
When in doubt about the style, have a look at the [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html): it contains PEP-compliant style recommendations and examples.
23+
Changes will be carried out in line with our [governance and release processes](Docs/ODS_Gov_Updates_Release_Processes_v1.1.pdf).
2724

28-
Code that doesn't follow the above principles shall not be merged into the codebase.
25+
Please note that any proposed changes or data contributions you make must be done so under a CC0 1.0 Universal licence.
2926

30-
## Getting started
31-
32-
### Issues
33-
34-
**Create a new issue:** if you spot a problem with the code or the docs, search if an issue already exists in that repository. For example, for the OasisLMF/OasisLMF repository, see the [existing issues here](https://github.com/OasisLMF/OasisLMF/issues). If a related issue doesn't exist, you can open a new issue.
35-
36-
**Solve an issue:** scan through our existing issues to find one that interests you. You can narrow down the search using `labels` as filters. If you find an issue to work on, you are welcome to open a PR with a fix.
37-
38-
### Make Changes
39-
40-
1. [Install `git`](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git).
41-
42-
2. Fork the repository.
43-
- Using GitHub Desktop:
44-
- [Getting started with GitHub Desktop](https://docs.github.com/en/desktop/installing-and-configuring-github-desktop/getting-started-with-github-desktop) will guide you through setting up Desktop.
45-
- Once Desktop is set up, you can use it to [fork the repo](https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/cloning-and-forking-repositories-from-github-desktop)!
46-
47-
- Using the command line:
48-
- [Fork the repo](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo#fork-an-example-repository) so that you can make your changes without affecting the original project until you're ready to merge them.
49-
50-
3. Create a working branch and start with your changes!
51-
52-
### Commit your update
53-
54-
Commit and push the changes once you are happy with them.
55-
56-
### Pull Request
57-
58-
When you're finished with the changes, create a pull request, also known as a PR.
59-
- Fill the PR template in all its parts.
60-
- As a general rule, the **develop** branch is the target of all PRs for new features or bugfixes.
61-
- Add the "Ready for Review" label to this PR.
62-
- Don't forget to [link PR to issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) if you are solving one.
63-
- Enable the checkbox to [allow maintainer edits](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) so the branch can be updated for a merge.
64-
Once you submit your PR, a Docs team member will review your proposal. We may ask questions or request additional information.
65-
- We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch. In many cases, we can help by implementing the required changes ourselves.
66-
- As you update your PR and apply changes, mark each conversation as [resolved](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#resolving-conversations).
67-
- If you run into any merge issues, checkout this [git tutorial](https://github.com/skills/resolve-merge-conflicts) to help you resolve merge conflicts and other issues.
68-
69-
### Your PR is merged!
70-
71-
Congratulations :tada::tada: The OasisLMF team thanks you :sparkles:.
27+
## Promoting the standard
7228

29+
You can also contribute to making the standard a success by promoting it within your team, organisation or community.

Changelog.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
ODS Changelog
22
==================
33

4+
`v4.0.0`_
5+
-----------
6+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/207) - [Specification] Repo restructure and tidy up
7+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/194) - [Specification] Formally assign ids to coverages in OED specification
8+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/201) - [Specification] Introduce required field column by exposure class
9+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/196) - [Specification] Industry Codes table refactor
10+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/192) - [Specification] Update how the OED specification is stored, move from excel to csv
11+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/205) - [Specification] Update data examples for v4.0.0
12+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/206) - [Specification] Update general documentation for Cyber and Liability
13+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/193) - [Property] Correct AreaCode for Queensland to QLD
14+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/185) - [Property] LocPopNumber no longer needed after merge with property loc file
15+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/191) - [Property] OED fields update for offshore assets modelling
16+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/181) - [Property] Clarify relationship between "required field" and "blanks allowed" in OED Spec
17+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/187) - [Property] Original Currency field should not default to 0
18+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/186) - [Property, Cyber] BIWaitingPeriod change datatype from smallint to float
19+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/224) - [Property] Many fields incorrectly described as percentage instead of proportion
20+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/216) - [Property] Clarify value in BITIV as annualised in field description
21+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/225) - [Property] Valid values for BaseFloodElevation are incorrect
22+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/173) - [Cyber] Do not include implicit business logic in the schema design
23+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/182) - [Cyber, Liability] Integration of Cyber and Liability into Property specification
24+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/188) - [Cyber, Liability] Financial coverages and field name revisions
25+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/202) - [Marine] Integration into OED
26+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/210) - [Marine] Additional Occupancy codes for Marine Cargo to Accompany Current Marine Construction Codes
27+
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/162) - [Reinsurance] OriginalCurrency and RateOfExchange fields should not be in ReinsScope
28+
429
`v3.4.1`_
530
-----------
631
* (https://github.com/OasisLMF/ODS_OpenExposureData/issues/220) - Fixed group Peril codes, ZZ1 is not represented in the group peril to individual peril mappings

Docs/Cyber/Docs/OED_Cyber_DataFields_v1.0.0.csv

Lines changed: 0 additions & 63 deletions
This file was deleted.
-1.58 MB
Binary file not shown.

0 commit comments

Comments
 (0)