@actuarialopensource

Actuarial Open Source Community

Open-source community for actuaries. Join the LinkedIn group to be a memeber.

Actuarial Open Source

Note:
A community for actuaries to discuss topics on open source software and technologies.

Initial Draft Written by @jimbrig

About

A networking place to introduce & discover open source tools for actuaries, to promote your open source projects, to share your knowledge about programming, actuarial modeling, data science, etc.


To join the community account, send your github account name to the community administrator.


Members

🔎 Click to View Active Members

UserFull Name2Factor EnabledPublicRoleLast Active
actuary87FALSEFALSEMemberNo activity
alang22FALSEFALSEMemberNo activity
alecloudenbackTRUEFALSEMember5/14/2023 18:13
bhatiariFALSEFALSEMemberNo activity
briandenzbrian denzFALSEFALSEMemberNo activity
CaidanSCaidan Speth-McCraryTRUEFALSEMember5/10/2023 15:36
carsonchFALSEFALSEMember10/6/2019 12:12
cjagerFALSEFALSEMemberNo activity
DemosthenisDFALSEFALSEMemberNo activity
EeethBEthan BrockmannFALSEFALSEMember5/12/2023 17:42
ekuo70FALSEFALSEMember3/20/2023 9:39
ewurchEduardo WürchTRUETRUEMember5/15/2023 10:28
franciscogarateFrancisco GárateTRUETRUEMember4/24/2023 5:31
fumitohfumitohTRUETRUEOwner5/14/2023 12:13
genedanGene DanTRUETRUEMember5/15/2023 8:54
GregorFabjanGregorFALSEFALSEMember5/8/2023 16:05
HoustonwpHoustonTRUEFALSEMember5/14/2023 21:46
jbogaardtJohn S BogaardtFALSEFALSEMember5/10/2023 7:44
jimbrigJimmy BriggsTRUETRUEOwner5/15/2023 9:03
kaustavSenKaustav SenFALSEFALSEMember5/10/2023 18:03
kelucLuc KestersTRUEFALSEMember10/10/2019 2:09
lewisfogdenFALSEFALSEMember5/14/2023 17:06
littleactuaryDuc-Hien VUFALSEFALSEMember5/13/2023 6:19
MatthewCaseresMatthew CaseresTRUEFALSEOwner5/14/2023 22:13
mglinickaFALSEFALSEMember9/19/2018 2:46
odddkidoutFALSETRUEMember5/14/2023 15:00
paddyhoranPaddy HoranTRUEFALSEMember5/12/2023 13:01
pdavidsonFIApeter.davidsonTRUEFALSEMember5/15/2023 5:52
PeichungFALSEFALSEMember5/9/2023 21:39
rrmistryRohit MistryTRUEFALSEMember5/15/2023 10:54
serenity4Cédric BelmantTRUEFALSEMember5/15/2023 6:03
simicdDejan SimicTRUEFALSEMember5/10/2023 18:10
sparktseungSpark TseungFALSEFALSEMember5/15/2023 3:02
switalaarturFALSEFALSEMember5/14/2023 7:26
VDamastaFALSEFALSEMember5/1/2023 7:19
wjwillemseWillem Jan WillemseTRUEFALSEMember5/4/2023 3:57
yabdellahStrarchFALSEFALSEMember3/24/2023 14:44
zchmielewskaZuzannaFALSEFALSEMember5/14/2023 5:20

Contributing Guide

Note: See CONTRIBUTING.md.

Pull requests, bug reports, and all other forms of contribution are welcomed and highly encouraged!:octocat:

🔎 Click to View Full Contributing Guide

Contents

This guide serves to set clear expectations for everyone involved with the project so that we can improve it together while also creating a welcoming space for everyone to participate. Following these guidelines will help ensure a positive experience for contributors and maintainers.

📖 Code of Conduct

Please review our Code of Conduct. It is in effect at all times. We expect it to be honored by everyone who contributes to this project. Acting like an asshole will not be tolerated.

💡 Asking Questions

See our Support Guide. In short, GitHub issues are not the appropriate place to debug your specific project, but should be reserved for filing bugs and feature requests.

📥 Opening an Issue

Note: See the organization's default issue labels for reference and usage.

Before creating an issue, check if you are using the latest version of the project. If you are not up-to-date, see if updating fixes your issue first.

🔒 Reporting Security Issues

Review our Security Policy. Do not file a public issue for security vulnerabilities.

🪲 Bug Reports and Other Issues

A great way to contribute to the project is to send a detailed issue when you encounter a problem. We always appreciate a well-written, thorough bug report. ✌️

In short, since you are most likely a developer, provide a ticket that you would like to receive.

  • Review the documentation and Support Guide before opening a new issue.

  • Do not open a duplicate issue! Search through existing issues to see if your issue has previously been reported. If your issue exists, comment with any additional information you have. You may simply note "I have this problem too", which helps prioritize the most common problems and requests.

  • Prefer using reactions, not comments, if you simply want to "+1" an existing issue.

  • Fully complete the provided issue template. The bug report template requests all the information we need to quickly and efficiently address your issue. Be clear, concise, and descriptive. Provide as much information as you can, including steps to reproduce, stack traces, compiler errors, library versions, OS versions, and screenshots (if applicable).

  • Use GitHub-flavored Markdown. Especially put code blocks and console outputs in backticks (```). This improves readability.

💌 Feature Requests

Feature requests are welcome! While we will consider all requests, we cannot guarantee your request will be accepted. We want to avoid feature creep. Your idea may be great, but also out-of-scope for the project. If accepted, we cannot make any commitments regarding the timeline for implementation and release. However, you are welcome to submit a pull request to help!

  • Do not open a duplicate feature request. Search for existing feature requests first. If you find your feature (or one very similar) previously requested, comment on that issue.

  • Fully complete the provided issue template. The feature request template asks for all necessary information for us to begin a productive conversation.

  • Be precise about the proposed outcome of the feature and how it relates to existing features. Include implementation details if possible.

🔍 Triaging Issues

You can triage issues which may include reproducing bug reports or asking for additional information, such as version numbers or reproduction instructions. Any help you can provide to quickly resolve an issue is very much appreciated!

🔁 Submitting Pull Requests

We love pull requests! Before forking the repo and creating a pull request for non-trivial changes, it is usually best to first open an issue to discuss the changes, or discuss your intended approach for solving the problem in the comments for an existing issue.

For most contributions, after your first pull request is accepted and merged, you will be invited to the project and given push access. 🎉

Note: All contributions will be licensed under the project's license.

  • Smaller is better. Submit one pull request per bug fix or feature. A pull request should contain isolated changes pertaining to a single bug fix or feature implementation. Do not refactor or reformat code that is unrelated to your change. It is better to submit many small pull requests rather than a single large one. Enormous pull requests will take enormous amounts of time to review, or may be rejected altogether.

  • Coordinate bigger changes. For large and non-trivial changes, open an issue to discuss a strategy with the maintainers. Otherwise, you risk doing a lot of work for nothing!

  • Prioritize understanding over cleverness. Write code clearly and concisely. Remember that source code usually gets written once and read often. Ensure the code is clear to the reader. The purpose and logic should be obvious to a reasonably skilled developer, otherwise you should add a comment that explains it.

  • Follow existing coding style and conventions. Keep your code consistent with the style, formatting, and conventions in the rest of the code base. When possible, these will be enforced with a linter. Consistency makes it easier to review and modify in the future.

  • Include test coverage. Add unit tests or UI tests when possible. Follow existing patterns for implementing tests.

  • Update the example project if one exists to exercise any new functionality you have added.

  • Add documentation. Document your changes with code doc comments or in existing guides.

  • Update the CHANGELOG for all enhancements and bug fixes. Include the corresponding issue number if one exists, and your GitHub username. (example: "bug: fixed crash in profile view resolving #123 @johndoe")

  • Use the repo's default branch. Branch from and submit your pull request to the repo's default branch. Usually this is main, but it could be dev, develop, or master.

  • Resolve any merge conflicts that occur.

  • Promptly address any CI failures. If your pull request fails to build or pass tests, please push another commit to fix it.

  • When writing comments, use properly constructed sentences, including punctuation.

  • Use spaces, not tabs.

📝 Writing Commit Messages

Please write a great commit message, ideally following the conventional commits framework:

<type>[optional scope]: <description>
[optional body]
[optional footer(s)]

Commit Structural Elements

Types

Note: Commit types fall inline with most of the pre-specified, default issue labels: feat: , bug:, docs:, chore:, etc.

  • feat: - feature or enhancement
    • Typically tied to a pre-existing issue or pull request that should be referenced in the commit message or body
    • Keep feature commits atomic and specific
  • bug: or fix: - bugs, patches, hot-fixes, defects, etc.

other potential types:

  • devops: (CI/CD)
    • Related to continuous integration or deployment (i.e. GitHub Actions or external pipelines).
  • test:
    • Testing related commits (also includes any code-coverage associated with the test being committed)
    • Unit, integration, end-to-end, functional, regression, etc.
  • docs:
    • Documentation related
  • setup:
    • Initialization and setup of the repository
  • infra:
    • Infrastructure related (i.e. Terraform, Ansible, Vagrant, Azure Bicep, Azure Resource Management Templates, AWS Cloud Formation, etc.) and associated scripts for infrastructure.
  • release:
    • Commits specific to releases
    • These commits should be tagged and annotated with the corresponding release version.
    • Additionally, a release checklist issue can be linked to in the commit body or message for reference.
  • refactor: or cleanup:
    • Code refactorings and cleanup commits (non-breaking)
  • chore:
    • Chores typically made by non-human interactions with the repo
  • style:
    • Code Style changes or proposals

Other commit types are allowed but try to follow a specific taxonomy for clarity amongst other developers.

See commitlint/config-conventional and the Angular conventions for reference and guidelines.

Scopes

Scopes are optional and follow the syntax elaborated above in the commit message (<type>[optional scope]: <description>). Scopes represent additiona contextual information and should be contained within parenthesis, for example, feat(api): add new endpoint for user authentication represents a feature commit under the scope of the API component of the project.

Footers

  • BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.

Footers other than BREAKING CHANGE: <description> are acceptable and may be provided by following a convention similar to the git trailer format.

Example Commits

Breaking Change Feature Commit

feat: update function XYZ with new arguments to support new business logic
BREAKING CHANGE: argument `A` was removed in support for argument `B`.

Commit with ! Representing a Breaking Change

feat!: add functionality for sending emails to user when new product is available

Commit with a Cope and ! Representing a Breaking Change

feat(api)!: add functionality for sending emails to user when new product is available

Benefits of Conventional Commits

  • Automatically generating CHANGELOGs and RELEASE NOTES (for example see git-cliff).
  • Automatically determining a semantic version bump (based on the types of commits landed).
  • Communicating the nature of changes to teammates, the public, and other stakeholders.
  • Triggering build and publish processes.
  • Making it easier for people to contribute to your projects, by allowing them to explore a more structured commit history.

Less Rigid Commit Guidelines

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line (example: "Fix networking issue")
  6. Wrap the body at about 72 characters
  7. Use the body to explain why, not what and how (the code shows that!)
  8. If applicable, prefix the title with the relevant component name. (examples: "[Docs] Fix typo", "[Profile] Fix missing avatar")
[TAG] Short summary of changes in 50 chars or less
Add a more detailed explanation here, if necessary. Possibly give some background about the issue being fixed, etc. The body of the commit message can be several paragraphs. Further paragraphs come after blank lines and please do proper word-wrap.
Wrap it to about 72 characters or so. In some contexts, the first line is treated as the subject of the commit and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); various tools like `log`, `shortlog` and `rebase` can get confused if you run the two together.
Explain the problem that this commit is solving. Focus on why you
are making this change as opposed to how or what. The code explains how or what. Reviewers and your future self can read the patch, but might not understand why a particular solution was implemented.
Are there side effects or other unintuitive consequences of this
change? Here's the place to explain them.
- Bullet points are okay, too
- A hyphen or asterisk should be used for the bullet, preceded
by a single space, with blank lines in between
Note the fixed or relevant GitHub issues at the end:
Resolves: #123
See also: #456, #789

✅ Code Review

  • Review the code, not the author. Look for and suggest improvements without disparaging or insulting the author. Provide actionable feedback and explain your reasoning.

  • You are not your code. When your code is critiqued, questioned, or constructively criticized, remember that you are not your code. Do not take code review personally.

  • Always do your best. No one writes bugs on purpose. Do your best, and learn from your mistakes.

  • Kindly note any violations to the guidelines specified in this document.

💅 Coding Style

Consistency is the most important. Following the existing style, formatting, and naming conventions of the file you are modifying and of the overall project. Failure to do so will result in a prolonged review process that has to focus on updating the superficial aspects of your code, rather than improving its functionality and performance.

For example, if all private properties are prefixed with an underscore _, then new ones you add should be prefixed in the same way. Or, if methods are named using camelcase, like thisIsMyNewMethod, then do not diverge from that by writing this_is_my_new_method. You get the idea. If in doubt, please ask or search the codebase for something similar.

When possible, style and format will be enforced with a linter.

🏅 Certificate of Origin

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

  1. The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
  2. The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
  3. The contribution was provided directly to me by some other person who certified (1), (2) or (3) and I have not modified it.
  4. I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

If you are reading this, bravo dear user and (hopefully) contributor for making it this far! You are awesome. 💯

To confirm that you have read this guide and are following it as best as possible, include this emoji at the top of your issue or pull request: 🖤

🙏 Credits

Please feel free to adopt this guide in your own projects. Fork it wholesale or remix it for your needs.

Many of the ideas and prose for the statements in this document were based on or inspired by work from the following communities:

We commend them for their efforts to facilitate collaboration in their projects.

Popular repositories Loading

  1. awesome-actuarial awesome-actuarialPublic

    An Awesome List of Actuarial Packages and Resources

    26 8

  2. pymort pymortPublic

    Jupyter Notebook 17 4

  3. benchmarks benchmarksPublic

    Some performance tests for actuarial applications

    Python 16 4

  4. python-notebooks python-notebooksPublic

    Jupyter Notebook 6

  5. expstudies expstudiesPublic

    An R Package for Life Experience Studies

    R 5 3

  6. methodology methodologyPublic

    For discussing and sharing methodology approaches

    Jupyter Notebook 4 1

Repositories

Showing 10 of 27 repositories

Top languages

Loading…

Most used topics

Loading…

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content
@actuarialopensource

Actuarial Open Source Community

Open-source community for actuaries. Join the LinkedIn group to be a memeber.

Actuarial Open Source

Note:
A community for actuaries to discuss topics on open source software and technologies.

Initial Draft Written by @jimbrig

About

A networking place to introduce & discover open source tools for actuaries, to promote your open source projects, to share your knowledge about programming, actuarial modeling, data science, etc.


To join the community account, send your github account name to the community administrator.


Members

🔎 Click to View Active Members

UserFull Name2Factor EnabledPublicRoleLast Active
actuary87FALSEFALSEMemberNo activity
alang22FALSEFALSEMemberNo activity
alecloudenbackTRUEFALSEMember5/14/2023 18:13
bhatiariFALSEFALSEMemberNo activity
briandenzbrian denzFALSEFALSEMemberNo activity
CaidanSCaidan Speth-McCraryTRUEFALSEMember5/10/2023 15:36
carsonchFALSEFALSEMember10/6/2019 12:12
cjagerFALSEFALSEMemberNo activity
DemosthenisDFALSEFALSEMemberNo activity
EeethBEthan BrockmannFALSEFALSEMember5/12/2023 17:42
ekuo70FALSEFALSEMember3/20/2023 9:39
ewurchEduardo WürchTRUETRUEMember5/15/2023 10:28
franciscogarateFrancisco GárateTRUETRUEMember4/24/2023 5:31
fumitohfumitohTRUETRUEOwner5/14/2023 12:13
genedanGene DanTRUETRUEMember5/15/2023 8:54
GregorFabjanGregorFALSEFALSEMember5/8/2023 16:05
HoustonwpHoustonTRUEFALSEMember5/14/2023 21:46
jbogaardtJohn S BogaardtFALSEFALSEMember5/10/2023 7:44
jimbrigJimmy BriggsTRUETRUEOwner5/15/2023 9:03
kaustavSenKaustav SenFALSEFALSEMember5/10/2023 18:03
kelucLuc KestersTRUEFALSEMember10/10/2019 2:09
lewisfogdenFALSEFALSEMember5/14/2023 17:06
littleactuaryDuc-Hien VUFALSEFALSEMember5/13/2023 6:19
MatthewCaseresMatthew CaseresTRUEFALSEOwner5/14/2023 22:13
mglinickaFALSEFALSEMember9/19/2018 2:46
odddkidoutFALSETRUEMember5/14/2023 15:00
paddyhoranPaddy HoranTRUEFALSEMember5/12/2023 13:01
pdavidsonFIApeter.davidsonTRUEFALSEMember5/15/2023 5:52
PeichungFALSEFALSEMember5/9/2023 21:39
rrmistryRohit MistryTRUEFALSEMember5/15/2023 10:54
serenity4Cédric BelmantTRUEFALSEMember5/15/2023 6:03
simicdDejan SimicTRUEFALSEMember5/10/2023 18:10
sparktseungSpark TseungFALSEFALSEMember5/15/2023 3:02
switalaarturFALSEFALSEMember5/14/2023 7:26
VDamastaFALSEFALSEMember5/1/2023 7:19
wjwillemseWillem Jan WillemseTRUEFALSEMember5/4/2023 3:57
yabdellahStrarchFALSEFALSEMember3/24/2023 14:44
zchmielewskaZuzannaFALSEFALSEMember5/14/2023 5:20

Contributing Guide

Note: See CONTRIBUTING.md.

Pull requests, bug reports, and all other forms of contribution are welcomed and highly encouraged!:octocat:

🔎 Click to View Full Contributing Guide

Contents

This guide serves to set clear expectations for everyone involved with the project so that we can improve it together while also creating a welcoming space for everyone to participate. Following these guidelines will help ensure a positive experience for contributors and maintainers.

📖 Code of Conduct

Please review our Code of Conduct. It is in effect at all times. We expect it to be honored by everyone who contributes to this project. Acting like an asshole will not be tolerated.

💡 Asking Questions

See our Support Guide. In short, GitHub issues are not the appropriate place to debug your specific project, but should be reserved for filing bugs and feature requests.

📥 Opening an Issue

Note: See the organization's default issue labels for reference and usage.

Before creating an issue, check if you are using the latest version of the project. If you are not up-to-date, see if updating fixes your issue first.

🔒 Reporting Security Issues

Review our Security Policy. Do not file a public issue for security vulnerabilities.

🪲 Bug Reports and Other Issues

A great way to contribute to the project is to send a detailed issue when you encounter a problem. We always appreciate a well-written, thorough bug report. ✌️

In short, since you are most likely a developer, provide a ticket that you would like to receive.

  • Review the documentation and Support Guide before opening a new issue.

  • Do not open a duplicate issue! Search through existing issues to see if your issue has previously been reported. If your issue exists, comment with any additional information you have. You may simply note "I have this problem too", which helps prioritize the most common problems and requests.

  • Prefer using reactions, not comments, if you simply want to "+1" an existing issue.

  • Fully complete the provided issue template. The bug report template requests all the information we need to quickly and efficiently address your issue. Be clear, concise, and descriptive. Provide as much information as you can, including steps to reproduce, stack traces, compiler errors, library versions, OS versions, and screenshots (if applicable).

  • Use GitHub-flavored Markdown. Especially put code blocks and console outputs in backticks (```). This improves readability.

💌 Feature Requests

Feature requests are welcome! While we will consider all requests, we cannot guarantee your request will be accepted. We want to avoid feature creep. Your idea may be great, but also out-of-scope for the project. If accepted, we cannot make any commitments regarding the timeline for implementation and release. However, you are welcome to submit a pull request to help!

  • Do not open a duplicate feature request. Search for existing feature requests first. If you find your feature (or one very similar) previously requested, comment on that issue.

  • Fully complete the provided issue template. The feature request template asks for all necessary information for us to begin a productive conversation.

  • Be precise about the proposed outcome of the feature and how it relates to existing features. Include implementation details if possible.

🔍 Triaging Issues

You can triage issues which may include reproducing bug reports or asking for additional information, such as version numbers or reproduction instructions. Any help you can provide to quickly resolve an issue is very much appreciated!

🔁 Submitting Pull Requests

We love pull requests! Before forking the repo and creating a pull request for non-trivial changes, it is usually best to first open an issue to discuss the changes, or discuss your intended approach for solving the problem in the comments for an existing issue.

For most contributions, after your first pull request is accepted and merged, you will be invited to the project and given push access. 🎉

Note: All contributions will be licensed under the project's license.

  • Smaller is better. Submit one pull request per bug fix or feature. A pull request should contain isolated changes pertaining to a single bug fix or feature implementation. Do not refactor or reformat code that is unrelated to your change. It is better to submit many small pull requests rather than a single large one. Enormous pull requests will take enormous amounts of time to review, or may be rejected altogether.

  • Coordinate bigger changes. For large and non-trivial changes, open an issue to discuss a strategy with the maintainers. Otherwise, you risk doing a lot of work for nothing!

  • Prioritize understanding over cleverness. Write code clearly and concisely. Remember that source code usually gets written once and read often. Ensure the code is clear to the reader. The purpose and logic should be obvious to a reasonably skilled developer, otherwise you should add a comment that explains it.

  • Follow existing coding style and conventions. Keep your code consistent with the style, formatting, and conventions in the rest of the code base. When possible, these will be enforced with a linter. Consistency makes it easier to review and modify in the future.

  • Include test coverage. Add unit tests or UI tests when possible. Follow existing patterns for implementing tests.

  • Update the example project if one exists to exercise any new functionality you have added.

  • Add documentation. Document your changes with code doc comments or in existing guides.

  • Update the CHANGELOG for all enhancements and bug fixes. Include the corresponding issue number if one exists, and your GitHub username. (example: "bug: fixed crash in profile view resolving #123 @johndoe")

  • Use the repo's default branch. Branch from and submit your pull request to the repo's default branch. Usually this is main, but it could be dev, develop, or master.

  • Resolve any merge conflicts that occur.

  • Promptly address any CI failures. If your pull request fails to build or pass tests, please push another commit to fix it.

  • When writing comments, use properly constructed sentences, including punctuation.

  • Use spaces, not tabs.

📝 Writing Commit Messages

Please write a great commit message, ideally following the conventional commits framework:

<type>[optional scope]: <description>
[optional body]
[optional footer(s)]

Commit Structural Elements

Types

Note: Commit types fall inline with most of the pre-specified, default issue labels: feat: , bug:, docs:, chore:, etc.

  • feat: - feature or enhancement
    • Typically tied to a pre-existing issue or pull request that should be referenced in the commit message or body
    • Keep feature commits atomic and specific
  • bug: or fix: - bugs, patches, hot-fixes, defects, etc.

other potential types:

  • devops: (CI/CD)
    • Related to continuous integration or deployment (i.e. GitHub Actions or external pipelines).
  • test:
    • Testing related commits (also includes any code-coverage associated with the test being committed)
    • Unit, integration, end-to-end, functional, regression, etc.
  • docs:
    • Documentation related
  • setup:
    • Initialization and setup of the repository
  • infra:
    • Infrastructure related (i.e. Terraform, Ansible, Vagrant, Azure Bicep, Azure Resource Management Templates, AWS Cloud Formation, etc.) and associated scripts for infrastructure.
  • release:
    • Commits specific to releases
    • These commits should be tagged and annotated with the corresponding release version.
    • Additionally, a release checklist issue can be linked to in the commit body or message for reference.
  • refactor: or cleanup:
    • Code refactorings and cleanup commits (non-breaking)
  • chore:
    • Chores typically made by non-human interactions with the repo
  • style:
    • Code Style changes or proposals

Other commit types are allowed but try to follow a specific taxonomy for clarity amongst other developers.

See commitlint/config-conventional and the Angular conventions for reference and guidelines.

Scopes

Scopes are optional and follow the syntax elaborated above in the commit message (<type>[optional scope]: <description>). Scopes represent additiona contextual information and should be contained within parenthesis, for example, feat(api): add new endpoint for user authentication represents a feature commit under the scope of the API component of the project.

Footers

  • BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.

Footers other than BREAKING CHANGE: <description> are acceptable and may be provided by following a convention similar to the git trailer format.

Example Commits

Breaking Change Feature Commit

feat: update function XYZ with new arguments to support new business logic
BREAKING CHANGE: argument `A` was removed in support for argument `B`.

Commit with ! Representing a Breaking Change

feat!: add functionality for sending emails to user when new product is available

Commit with a Cope and ! Representing a Breaking Change

feat(api)!: add functionality for sending emails to user when new product is available

Benefits of Conventional Commits

  • Automatically generating CHANGELOGs and RELEASE NOTES (for example see git-cliff).
  • Automatically determining a semantic version bump (based on the types of commits landed).
  • Communicating the nature of changes to teammates, the public, and other stakeholders.
  • Triggering build and publish processes.
  • Making it easier for people to contribute to your projects, by allowing them to explore a more structured commit history.

Less Rigid Commit Guidelines

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line (example: "Fix networking issue")
  6. Wrap the body at about 72 characters
  7. Use the body to explain why, not what and how (the code shows that!)
  8. If applicable, prefix the title with the relevant component name. (examples: "[Docs] Fix typo", "[Profile] Fix missing avatar")
[TAG] Short summary of changes in 50 chars or less
Add a more detailed explanation here, if necessary. Possibly give some background about the issue being fixed, etc. The body of the commit message can be several paragraphs. Further paragraphs come after blank lines and please do proper word-wrap.
Wrap it to about 72 characters or so. In some contexts, the first line is treated as the subject of the commit and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); various tools like `log`, `shortlog` and `rebase` can get confused if you run the two together.
Explain the problem that this commit is solving. Focus on why you
are making this change as opposed to how or what. The code explains how or what. Reviewers and your future self can read the patch, but might not understand why a particular solution was implemented.
Are there side effects or other unintuitive consequences of this
change? Here's the place to explain them.
- Bullet points are okay, too
- A hyphen or asterisk should be used for the bullet, preceded
by a single space, with blank lines in between
Note the fixed or relevant GitHub issues at the end:
Resolves: #123
See also: #456, #789

✅ Code Review

  • Review the code, not the author. Look for and suggest improvements without disparaging or insulting the author. Provide actionable feedback and explain your reasoning.

  • You are not your code. When your code is critiqued, questioned, or constructively criticized, remember that you are not your code. Do not take code review personally.

  • Always do your best. No one writes bugs on purpose. Do your best, and learn from your mistakes.

  • Kindly note any violations to the guidelines specified in this document.

💅 Coding Style

Consistency is the most important. Following the existing style, formatting, and naming conventions of the file you are modifying and of the overall project. Failure to do so will result in a prolonged review process that has to focus on updating the superficial aspects of your code, rather than improving its functionality and performance.

For example, if all private properties are prefixed with an underscore _, then new ones you add should be prefixed in the same way. Or, if methods are named using camelcase, like thisIsMyNewMethod, then do not diverge from that by writing this_is_my_new_method. You get the idea. If in doubt, please ask or search the codebase for something similar.

When possible, style and format will be enforced with a linter.

🏅 Certificate of Origin

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

  1. The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
  2. The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
  3. The contribution was provided directly to me by some other person who certified (1), (2) or (3) and I have not modified it.
  4. I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

If you are reading this, bravo dear user and (hopefully) contributor for making it this far! You are awesome. 💯

To confirm that you have read this guide and are following it as best as possible, include this emoji at the top of your issue or pull request: 🖤

🙏 Credits

Please feel free to adopt this guide in your own projects. Fork it wholesale or remix it for your needs.

Many of the ideas and prose for the statements in this document were based on or inspired by work from the following communities:

We commend them for their efforts to facilitate collaboration in their projects.

Popular repositories Loading

  1. awesome-actuarial awesome-actuarialPublic

    An Awesome List of Actuarial Packages and Resources

    26 8

  2. pymort pymortPublic

    Jupyter Notebook 17 4

  3. benchmarks benchmarksPublic

    Some performance tests for actuarial applications

    Python 16 4

  4. python-notebooks python-notebooksPublic

    Jupyter Notebook 6

  5. expstudies expstudiesPublic

    An R Package for Life Experience Studies

    R 5 3

  6. methodology methodologyPublic

    For discussing and sharing methodology approaches

    Jupyter Notebook 4 1

Repositories

Showing 10 of 27 repositories

Top languages

Loading…

Most used topics

Loading…

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
@actuarialopensource

Actuarial Open Source Community

Open-source community for actuaries. Join the LinkedIn group to be a memeber.

Actuarial Open Source

Note:
A community for actuaries to discuss topics on open source software and technologies.

Initial Draft Written by @jimbrig

About

A networking place to introduce & discover open source tools for actuaries, to promote your open source projects, to share your knowledge about programming, actuarial modeling, data science, etc.


To join the community account, send your github account name to the community administrator.


Members

🔎 Click to View Active Members

UserFull Name2Factor EnabledPublicRoleLast Active
actuary87FALSEFALSEMemberNo activity
alang22FALSEFALSEMemberNo activity
alecloudenbackTRUEFALSEMember5/14/2023 18:13
bhatiariFALSEFALSEMemberNo activity
briandenzbrian denzFALSEFALSEMemberNo activity
CaidanSCaidan Speth-McCraryTRUEFALSEMember5/10/2023 15:36
carsonchFALSEFALSEMember10/6/2019 12:12
cjagerFALSEFALSEMemberNo activity
DemosthenisDFALSEFALSEMemberNo activity
EeethBEthan BrockmannFALSEFALSEMember5/12/2023 17:42
ekuo70FALSEFALSEMember3/20/2023 9:39
ewurchEduardo WürchTRUETRUEMember5/15/2023 10:28
franciscogarateFrancisco GárateTRUETRUEMember4/24/2023 5:31
fumitohfumitohTRUETRUEOwner5/14/2023 12:13
genedanGene DanTRUETRUEMember5/15/2023 8:54
GregorFabjanGregorFALSEFALSEMember5/8/2023 16:05
HoustonwpHoustonTRUEFALSEMember5/14/2023 21:46
jbogaardtJohn S BogaardtFALSEFALSEMember5/10/2023 7:44
jimbrigJimmy BriggsTRUETRUEOwner5/15/2023 9:03
kaustavSenKaustav SenFALSEFALSEMember5/10/2023 18:03
kelucLuc KestersTRUEFALSEMember10/10/2019 2:09
lewisfogdenFALSEFALSEMember5/14/2023 17:06
littleactuaryDuc-Hien VUFALSEFALSEMember5/13/2023 6:19
MatthewCaseresMatthew CaseresTRUEFALSEOwner5/14/2023 22:13
mglinickaFALSEFALSEMember9/19/2018 2:46
odddkidoutFALSETRUEMember5/14/2023 15:00
paddyhoranPaddy HoranTRUEFALSEMember5/12/2023 13:01
pdavidsonFIApeter.davidsonTRUEFALSEMember5/15/2023 5:52
PeichungFALSEFALSEMember5/9/2023 21:39
rrmistryRohit MistryTRUEFALSEMember5/15/2023 10:54
serenity4Cédric BelmantTRUEFALSEMember5/15/2023 6:03
simicdDejan SimicTRUEFALSEMember5/10/2023 18:10
sparktseungSpark TseungFALSEFALSEMember5/15/2023 3:02
switalaarturFALSEFALSEMember5/14/2023 7:26
VDamastaFALSEFALSEMember5/1/2023 7:19
wjwillemseWillem Jan WillemseTRUEFALSEMember5/4/2023 3:57
yabdellahStrarchFALSEFALSEMember3/24/2023 14:44
zchmielewskaZuzannaFALSEFALSEMember5/14/2023 5:20

Contributing Guide

Note: See CONTRIBUTING.md.

Pull requests, bug reports, and all other forms of contribution are welcomed and highly encouraged!:octocat:

🔎 Click to View Full Contributing Guide

Contents

This guide serves to set clear expectations for everyone involved with the project so that we can improve it together while also creating a welcoming space for everyone to participate. Following these guidelines will help ensure a positive experience for contributors and maintainers.

📖 Code of Conduct

Please review our Code of Conduct. It is in effect at all times. We expect it to be honored by everyone who contributes to this project. Acting like an asshole will not be tolerated.

💡 Asking Questions

See our Support Guide. In short, GitHub issues are not the appropriate place to debug your specific project, but should be reserved for filing bugs and feature requests.

📥 Opening an Issue

Note: See the organization's default issue labels for reference and usage.

Before creating an issue, check if you are using the latest version of the project. If you are not up-to-date, see if updating fixes your issue first.

🔒 Reporting Security Issues

Review our Security Policy. Do not file a public issue for security vulnerabilities.

🪲 Bug Reports and Other Issues

A great way to contribute to the project is to send a detailed issue when you encounter a problem. We always appreciate a well-written, thorough bug report. ✌️

In short, since you are most likely a developer, provide a ticket that you would like to receive.

  • Review the documentation and Support Guide before opening a new issue.

  • Do not open a duplicate issue! Search through existing issues to see if your issue has previously been reported. If your issue exists, comment with any additional information you have. You may simply note "I have this problem too", which helps prioritize the most common problems and requests.

  • Prefer using reactions, not comments, if you simply want to "+1" an existing issue.

  • Fully complete the provided issue template. The bug report template requests all the information we need to quickly and efficiently address your issue. Be clear, concise, and descriptive. Provide as much information as you can, including steps to reproduce, stack traces, compiler errors, library versions, OS versions, and screenshots (if applicable).

  • Use GitHub-flavored Markdown. Especially put code blocks and console outputs in backticks (```). This improves readability.

💌 Feature Requests

Feature requests are welcome! While we will consider all requests, we cannot guarantee your request will be accepted. We want to avoid feature creep. Your idea may be great, but also out-of-scope for the project. If accepted, we cannot make any commitments regarding the timeline for implementation and release. However, you are welcome to submit a pull request to help!

  • Do not open a duplicate feature request. Search for existing feature requests first. If you find your feature (or one very similar) previously requested, comment on that issue.

  • Fully complete the provided issue template. The feature request template asks for all necessary information for us to begin a productive conversation.

  • Be precise about the proposed outcome of the feature and how it relates to existing features. Include implementation details if possible.

🔍 Triaging Issues

You can triage issues which may include reproducing bug reports or asking for additional information, such as version numbers or reproduction instructions. Any help you can provide to quickly resolve an issue is very much appreciated!

🔁 Submitting Pull Requests

We love pull requests! Before forking the repo and creating a pull request for non-trivial changes, it is usually best to first open an issue to discuss the changes, or discuss your intended approach for solving the problem in the comments for an existing issue.

For most contributions, after your first pull request is accepted and merged, you will be invited to the project and given push access. 🎉

Note: All contributions will be licensed under the project's license.

  • Smaller is better. Submit one pull request per bug fix or feature. A pull request should contain isolated changes pertaining to a single bug fix or feature implementation. Do not refactor or reformat code that is unrelated to your change. It is better to submit many small pull requests rather than a single large one. Enormous pull requests will take enormous amounts of time to review, or may be rejected altogether.

  • Coordinate bigger changes. For large and non-trivial changes, open an issue to discuss a strategy with the maintainers. Otherwise, you risk doing a lot of work for nothing!

  • Prioritize understanding over cleverness. Write code clearly and concisely. Remember that source code usually gets written once and read often. Ensure the code is clear to the reader. The purpose and logic should be obvious to a reasonably skilled developer, otherwise you should add a comment that explains it.

  • Follow existing coding style and conventions. Keep your code consistent with the style, formatting, and conventions in the rest of the code base. When possible, these will be enforced with a linter. Consistency makes it easier to review and modify in the future.

  • Include test coverage. Add unit tests or UI tests when possible. Follow existing patterns for implementing tests.

  • Update the example project if one exists to exercise any new functionality you have added.

  • Add documentation. Document your changes with code doc comments or in existing guides.

  • Update the CHANGELOG for all enhancements and bug fixes. Include the corresponding issue number if one exists, and your GitHub username. (example: "bug: fixed crash in profile view resolving #123 @johndoe")

  • Use the repo's default branch. Branch from and submit your pull request to the repo's default branch. Usually this is main, but it could be dev, develop, or master.

  • Resolve any merge conflicts that occur.

  • Promptly address any CI failures. If your pull request fails to build or pass tests, please push another commit to fix it.

  • When writing comments, use properly constructed sentences, including punctuation.

  • Use spaces, not tabs.

📝 Writing Commit Messages

Please write a great commit message, ideally following the conventional commits framework:

<type>[optional scope]: <description>
[optional body]
[optional footer(s)]

Commit Structural Elements

Types

Note: Commit types fall inline with most of the pre-specified, default issue labels: feat: , bug:, docs:, chore:, etc.

  • feat: - feature or enhancement
    • Typically tied to a pre-existing issue or pull request that should be referenced in the commit message or body
    • Keep feature commits atomic and specific
  • bug: or fix: - bugs, patches, hot-fixes, defects, etc.

other potential types:

  • devops: (CI/CD)
    • Related to continuous integration or deployment (i.e. GitHub Actions or external pipelines).
  • test:
    • Testing related commits (also includes any code-coverage associated with the test being committed)
    • Unit, integration, end-to-end, functional, regression, etc.
  • docs:
    • Documentation related
  • setup:
    • Initialization and setup of the repository
  • infra:
    • Infrastructure related (i.e. Terraform, Ansible, Vagrant, Azure Bicep, Azure Resource Management Templates, AWS Cloud Formation, etc.) and associated scripts for infrastructure.
  • release:
    • Commits specific to releases
    • These commits should be tagged and annotated with the corresponding release version.
    • Additionally, a release checklist issue can be linked to in the commit body or message for reference.
  • refactor: or cleanup:
    • Code refactorings and cleanup commits (non-breaking)
  • chore:
    • Chores typically made by non-human interactions with the repo
  • style:
    • Code Style changes or proposals

Other commit types are allowed but try to follow a specific taxonomy for clarity amongst other developers.

See commitlint/config-conventional and the Angular conventions for reference and guidelines.

Scopes

Scopes are optional and follow the syntax elaborated above in the commit message (<type>[optional scope]: <description>). Scopes represent additiona contextual information and should be contained within parenthesis, for example, feat(api): add new endpoint for user authentication represents a feature commit under the scope of the API component of the project.

Footers

  • BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.

Footers other than BREAKING CHANGE: <description> are acceptable and may be provided by following a convention similar to the git trailer format.

Example Commits

Breaking Change Feature Commit

feat: update function XYZ with new arguments to support new business logic
BREAKING CHANGE: argument `A` was removed in support for argument `B`.

Commit with ! Representing a Breaking Change

feat!: add functionality for sending emails to user when new product is available

Commit with a Cope and ! Representing a Breaking Change

feat(api)!: add functionality for sending emails to user when new product is available

Benefits of Conventional Commits

  • Automatically generating CHANGELOGs and RELEASE NOTES (for example see git-cliff).
  • Automatically determining a semantic version bump (based on the types of commits landed).
  • Communicating the nature of changes to teammates, the public, and other stakeholders.
  • Triggering build and publish processes.
  • Making it easier for people to contribute to your projects, by allowing them to explore a more structured commit history.

Less Rigid Commit Guidelines

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line (example: "Fix networking issue")
  6. Wrap the body at about 72 characters
  7. Use the body to explain why, not what and how (the code shows that!)
  8. If applicable, prefix the title with the relevant component name. (examples: "[Docs] Fix typo", "[Profile] Fix missing avatar")
[TAG] Short summary of changes in 50 chars or less
Add a more detailed explanation here, if necessary. Possibly give some background about the issue being fixed, etc. The body of the commit message can be several paragraphs. Further paragraphs come after blank lines and please do proper word-wrap.
Wrap it to about 72 characters or so. In some contexts, the first line is treated as the subject of the commit and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); various tools like `log`, `shortlog` and `rebase` can get confused if you run the two together.
Explain the problem that this commit is solving. Focus on why you
are making this change as opposed to how or what. The code explains how or what. Reviewers and your future self can read the patch, but might not understand why a particular solution was implemented.
Are there side effects or other unintuitive consequences of this
change? Here's the place to explain them.
- Bullet points are okay, too
- A hyphen or asterisk should be used for the bullet, preceded
by a single space, with blank lines in between
Note the fixed or relevant GitHub issues at the end:
Resolves: #123
See also: #456, #789

✅ Code Review

  • Review the code, not the author. Look for and suggest improvements without disparaging or insulting the author. Provide actionable feedback and explain your reasoning.

  • You are not your code. When your code is critiqued, questioned, or constructively criticized, remember that you are not your code. Do not take code review personally.

  • Always do your best. No one writes bugs on purpose. Do your best, and learn from your mistakes.

  • Kindly note any violations to the guidelines specified in this document.

💅 Coding Style

Consistency is the most important. Following the existing style, formatting, and naming conventions of the file you are modifying and of the overall project. Failure to do so will result in a prolonged review process that has to focus on updating the superficial aspects of your code, rather than improving its functionality and performance.

For example, if all private properties are prefixed with an underscore _, then new ones you add should be prefixed in the same way. Or, if methods are named using camelcase, like thisIsMyNewMethod, then do not diverge from that by writing this_is_my_new_method. You get the idea. If in doubt, please ask or search the codebase for something similar.

When possible, style and format will be enforced with a linter.

🏅 Certificate of Origin

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

  1. The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
  2. The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
  3. The contribution was provided directly to me by some other person who certified (1), (2) or (3) and I have not modified it.
  4. I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

If you are reading this, bravo dear user and (hopefully) contributor for making it this far! You are awesome. 💯

To confirm that you have read this guide and are following it as best as possible, include this emoji at the top of your issue or pull request: 🖤

🙏 Credits

Please feel free to adopt this guide in your own projects. Fork it wholesale or remix it for your needs.

Many of the ideas and prose for the statements in this document were based on or inspired by work from the following communities:

We commend them for their efforts to facilitate collaboration in their projects.

Popular repositories Loading

  1. awesome-actuarial awesome-actuarialPublic

    An Awesome List of Actuarial Packages and Resources

    26 8

  2. pymort pymortPublic

    Jupyter Notebook 17 4

  3. benchmarks benchmarksPublic

    Some performance tests for actuarial applications

    Python 16 4

  4. python-notebooks python-notebooksPublic

    Jupyter Notebook 6

  5. expstudies expstudiesPublic

    An R Package for Life Experience Studies

    R 5 3

  6. methodology methodologyPublic

    For discussing and sharing methodology approaches

    Jupyter Notebook 4 1

Repositories

Showing 10 of 27 repositories

Top languages

Loading…

Most used topics

Loading…

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
@actuarialopensource

Actuarial Open Source Community

Open-source community for actuaries. Join the LinkedIn group to be a memeber.

Actuarial Open Source

Note:
A community for actuaries to discuss topics on open source software and technologies.

Initial Draft Written by @jimbrig

About

A networking place to introduce & discover open source tools for actuaries, to promote your open source projects, to share your knowledge about programming, actuarial modeling, data science, etc.


To join the community account, send your github account name to the community administrator.


Members

🔎 Click to View Active Members

UserFull Name2Factor EnabledPublicRoleLast Active
actuary87FALSEFALSEMemberNo activity
alang22FALSEFALSEMemberNo activity
alecloudenbackTRUEFALSEMember5/14/2023 18:13
bhatiariFALSEFALSEMemberNo activity
briandenzbrian denzFALSEFALSEMemberNo activity
CaidanSCaidan Speth-McCraryTRUEFALSEMember5/10/2023 15:36
carsonchFALSEFALSEMember10/6/2019 12:12
cjagerFALSEFALSEMemberNo activity
DemosthenisDFALSEFALSEMemberNo activity
EeethBEthan BrockmannFALSEFALSEMember5/12/2023 17:42
ekuo70FALSEFALSEMember3/20/2023 9:39
ewurchEduardo WürchTRUETRUEMember5/15/2023 10:28
franciscogarateFrancisco GárateTRUETRUEMember4/24/2023 5:31
fumitohfumitohTRUETRUEOwner5/14/2023 12:13
genedanGene DanTRUETRUEMember5/15/2023 8:54
GregorFabjanGregorFALSEFALSEMember5/8/2023 16:05
HoustonwpHoustonTRUEFALSEMember5/14/2023 21:46
jbogaardtJohn S BogaardtFALSEFALSEMember5/10/2023 7:44
jimbrigJimmy BriggsTRUETRUEOwner5/15/2023 9:03
kaustavSenKaustav SenFALSEFALSEMember5/10/2023 18:03
kelucLuc KestersTRUEFALSEMember10/10/2019 2:09
lewisfogdenFALSEFALSEMember5/14/2023 17:06
littleactuaryDuc-Hien VUFALSEFALSEMember5/13/2023 6:19
MatthewCaseresMatthew CaseresTRUEFALSEOwner5/14/2023 22:13
mglinickaFALSEFALSEMember9/19/2018 2:46
odddkidoutFALSETRUEMember5/14/2023 15:00
paddyhoranPaddy HoranTRUEFALSEMember5/12/2023 13:01
pdavidsonFIApeter.davidsonTRUEFALSEMember5/15/2023 5:52
PeichungFALSEFALSEMember5/9/2023 21:39
rrmistryRohit MistryTRUEFALSEMember5/15/2023 10:54
serenity4Cédric BelmantTRUEFALSEMember5/15/2023 6:03
simicdDejan SimicTRUEFALSEMember5/10/2023 18:10
sparktseungSpark TseungFALSEFALSEMember5/15/2023 3:02
switalaarturFALSEFALSEMember5/14/2023 7:26
VDamastaFALSEFALSEMember5/1/2023 7:19
wjwillemseWillem Jan WillemseTRUEFALSEMember5/4/2023 3:57
yabdellahStrarchFALSEFALSEMember3/24/2023 14:44
zchmielewskaZuzannaFALSEFALSEMember5/14/2023 5:20

Contributing Guide

Note: See CONTRIBUTING.md.

Pull requests, bug reports, and all other forms of contribution are welcomed and highly encouraged!:octocat:

🔎 Click to View Full Contributing Guide

Contents

This guide serves to set clear expectations for everyone involved with the project so that we can improve it together while also creating a welcoming space for everyone to participate. Following these guidelines will help ensure a positive experience for contributors and maintainers.

📖 Code of Conduct

Please review our Code of Conduct. It is in effect at all times. We expect it to be honored by everyone who contributes to this project. Acting like an asshole will not be tolerated.

💡 Asking Questions

See our Support Guide. In short, GitHub issues are not the appropriate place to debug your specific project, but should be reserved for filing bugs and feature requests.

📥 Opening an Issue

Note: See the organization's default issue labels for reference and usage.

Before creating an issue, check if you are using the latest version of the project. If you are not up-to-date, see if updating fixes your issue first.

🔒 Reporting Security Issues

Review our Security Policy. Do not file a public issue for security vulnerabilities.

🪲 Bug Reports and Other Issues

A great way to contribute to the project is to send a detailed issue when you encounter a problem. We always appreciate a well-written, thorough bug report. ✌️

In short, since you are most likely a developer, provide a ticket that you would like to receive.

  • Review the documentation and Support Guide before opening a new issue.

  • Do not open a duplicate issue! Search through existing issues to see if your issue has previously been reported. If your issue exists, comment with any additional information you have. You may simply note "I have this problem too", which helps prioritize the most common problems and requests.

  • Prefer using reactions, not comments, if you simply want to "+1" an existing issue.

  • Fully complete the provided issue template. The bug report template requests all the information we need to quickly and efficiently address your issue. Be clear, concise, and descriptive. Provide as much information as you can, including steps to reproduce, stack traces, compiler errors, library versions, OS versions, and screenshots (if applicable).

  • Use GitHub-flavored Markdown. Especially put code blocks and console outputs in backticks (```). This improves readability.

💌 Feature Requests

Feature requests are welcome! While we will consider all requests, we cannot guarantee your request will be accepted. We want to avoid feature creep. Your idea may be great, but also out-of-scope for the project. If accepted, we cannot make any commitments regarding the timeline for implementation and release. However, you are welcome to submit a pull request to help!

  • Do not open a duplicate feature request. Search for existing feature requests first. If you find your feature (or one very similar) previously requested, comment on that issue.

  • Fully complete the provided issue template. The feature request template asks for all necessary information for us to begin a productive conversation.

  • Be precise about the proposed outcome of the feature and how it relates to existing features. Include implementation details if possible.

🔍 Triaging Issues

You can triage issues which may include reproducing bug reports or asking for additional information, such as version numbers or reproduction instructions. Any help you can provide to quickly resolve an issue is very much appreciated!

🔁 Submitting Pull Requests

We love pull requests! Before forking the repo and creating a pull request for non-trivial changes, it is usually best to first open an issue to discuss the changes, or discuss your intended approach for solving the problem in the comments for an existing issue.

For most contributions, after your first pull request is accepted and merged, you will be invited to the project and given push access. 🎉

Note: All contributions will be licensed under the project's license.

  • Smaller is better. Submit one pull request per bug fix or feature. A pull request should contain isolated changes pertaining to a single bug fix or feature implementation. Do not refactor or reformat code that is unrelated to your change. It is better to submit many small pull requests rather than a single large one. Enormous pull requests will take enormous amounts of time to review, or may be rejected altogether.

  • Coordinate bigger changes. For large and non-trivial changes, open an issue to discuss a strategy with the maintainers. Otherwise, you risk doing a lot of work for nothing!

  • Prioritize understanding over cleverness. Write code clearly and concisely. Remember that source code usually gets written once and read often. Ensure the code is clear to the reader. The purpose and logic should be obvious to a reasonably skilled developer, otherwise you should add a comment that explains it.

  • Follow existing coding style and conventions. Keep your code consistent with the style, formatting, and conventions in the rest of the code base. When possible, these will be enforced with a linter. Consistency makes it easier to review and modify in the future.

  • Include test coverage. Add unit tests or UI tests when possible. Follow existing patterns for implementing tests.

  • Update the example project if one exists to exercise any new functionality you have added.

  • Add documentation. Document your changes with code doc comments or in existing guides.

  • Update the CHANGELOG for all enhancements and bug fixes. Include the corresponding issue number if one exists, and your GitHub username. (example: "bug: fixed crash in profile view resolving #123 @johndoe")

  • Use the repo's default branch. Branch from and submit your pull request to the repo's default branch. Usually this is main, but it could be dev, develop, or master.

  • Resolve any merge conflicts that occur.

  • Promptly address any CI failures. If your pull request fails to build or pass tests, please push another commit to fix it.

  • When writing comments, use properly constructed sentences, including punctuation.

  • Use spaces, not tabs.

📝 Writing Commit Messages

Please write a great commit message, ideally following the conventional commits framework:

<type>[optional scope]: <description>
[optional body]
[optional footer(s)]

Commit Structural Elements

Types

Note: Commit types fall inline with most of the pre-specified, default issue labels: feat: , bug:, docs:, chore:, etc.

  • feat: - feature or enhancement
    • Typically tied to a pre-existing issue or pull request that should be referenced in the commit message or body
    • Keep feature commits atomic and specific
  • bug: or fix: - bugs, patches, hot-fixes, defects, etc.

other potential types:

  • devops: (CI/CD)
    • Related to continuous integration or deployment (i.e. GitHub Actions or external pipelines).
  • test:
    • Testing related commits (also includes any code-coverage associated with the test being committed)
    • Unit, integration, end-to-end, functional, regression, etc.
  • docs:
    • Documentation related
  • setup:
    • Initialization and setup of the repository
  • infra:
    • Infrastructure related (i.e. Terraform, Ansible, Vagrant, Azure Bicep, Azure Resource Management Templates, AWS Cloud Formation, etc.) and associated scripts for infrastructure.
  • release:
    • Commits specific to releases
    • These commits should be tagged and annotated with the corresponding release version.
    • Additionally, a release checklist issue can be linked to in the commit body or message for reference.
  • refactor: or cleanup:
    • Code refactorings and cleanup commits (non-breaking)
  • chore:
    • Chores typically made by non-human interactions with the repo
  • style:
    • Code Style changes or proposals

Other commit types are allowed but try to follow a specific taxonomy for clarity amongst other developers.

See commitlint/config-conventional and the Angular conventions for reference and guidelines.

Scopes

Scopes are optional and follow the syntax elaborated above in the commit message (<type>[optional scope]: <description>). Scopes represent additiona contextual information and should be contained within parenthesis, for example, feat(api): add new endpoint for user authentication represents a feature commit under the scope of the API component of the project.

Footers

  • BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.

Footers other than BREAKING CHANGE: <description> are acceptable and may be provided by following a convention similar to the git trailer format.

Example Commits

Breaking Change Feature Commit

feat: update function XYZ with new arguments to support new business logic
BREAKING CHANGE: argument `A` was removed in support for argument `B`.

Commit with ! Representing a Breaking Change

feat!: add functionality for sending emails to user when new product is available

Commit with a Cope and ! Representing a Breaking Change

feat(api)!: add functionality for sending emails to user when new product is available

Benefits of Conventional Commits

  • Automatically generating CHANGELOGs and RELEASE NOTES (for example see git-cliff).
  • Automatically determining a semantic version bump (based on the types of commits landed).
  • Communicating the nature of changes to teammates, the public, and other stakeholders.
  • Triggering build and publish processes.
  • Making it easier for people to contribute to your projects, by allowing them to explore a more structured commit history.

Less Rigid Commit Guidelines

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line (example: "Fix networking issue")
  6. Wrap the body at about 72 characters
  7. Use the body to explain why, not what and how (the code shows that!)
  8. If applicable, prefix the title with the relevant component name. (examples: "[Docs] Fix typo", "[Profile] Fix missing avatar")
[TAG] Short summary of changes in 50 chars or less
Add a more detailed explanation here, if necessary. Possibly give some background about the issue being fixed, etc. The body of the commit message can be several paragraphs. Further paragraphs come after blank lines and please do proper word-wrap.
Wrap it to about 72 characters or so. In some contexts, the first line is treated as the subject of the commit and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); various tools like `log`, `shortlog` and `rebase` can get confused if you run the two together.
Explain the problem that this commit is solving. Focus on why you
are making this change as opposed to how or what. The code explains how or what. Reviewers and your future self can read the patch, but might not understand why a particular solution was implemented.
Are there side effects or other unintuitive consequences of this
change? Here's the place to explain them.
- Bullet points are okay, too
- A hyphen or asterisk should be used for the bullet, preceded
by a single space, with blank lines in between
Note the fixed or relevant GitHub issues at the end:
Resolves: #123
See also: #456, #789

✅ Code Review

  • Review the code, not the author. Look for and suggest improvements without disparaging or insulting the author. Provide actionable feedback and explain your reasoning.

  • You are not your code. When your code is critiqued, questioned, or constructively criticized, remember that you are not your code. Do not take code review personally.

  • Always do your best. No one writes bugs on purpose. Do your best, and learn from your mistakes.

  • Kindly note any violations to the guidelines specified in this document.

💅 Coding Style

Consistency is the most important. Following the existing style, formatting, and naming conventions of the file you are modifying and of the overall project. Failure to do so will result in a prolonged review process that has to focus on updating the superficial aspects of your code, rather than improving its functionality and performance.

For example, if all private properties are prefixed with an underscore _, then new ones you add should be prefixed in the same way. Or, if methods are named using camelcase, like thisIsMyNewMethod, then do not diverge from that by writing this_is_my_new_method. You get the idea. If in doubt, please ask or search the codebase for something similar.

When possible, style and format will be enforced with a linter.

🏅 Certificate of Origin

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

  1. The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
  2. The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
  3. The contribution was provided directly to me by some other person who certified (1), (2) or (3) and I have not modified it.
  4. I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

If you are reading this, bravo dear user and (hopefully) contributor for making it this far! You are awesome. 💯

To confirm that you have read this guide and are following it as best as possible, include this emoji at the top of your issue or pull request: 🖤

🙏 Credits

Please feel free to adopt this guide in your own projects. Fork it wholesale or remix it for your needs.

Many of the ideas and prose for the statements in this document were based on or inspired by work from the following communities:

We commend them for their efforts to facilitate collaboration in their projects.

Popular repositories Loading

  1. awesome-actuarial awesome-actuarialPublic

    An Awesome List of Actuarial Packages and Resources

    26 8

  2. pymort pymortPublic

    Jupyter Notebook 17 4

  3. benchmarks benchmarksPublic

    Some performance tests for actuarial applications

    Python 16 4

  4. python-notebooks python-notebooksPublic

    Jupyter Notebook 6

  5. expstudies expstudiesPublic

    An R Package for Life Experience Studies

    R 5 3

  6. methodology methodologyPublic

    For discussing and sharing methodology approaches

    Jupyter Notebook 4 1

Repositories

Showing 10 of 27 repositories

Top languages

Loading…

Most used topics

Loading…

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content
@actuarialopensource

Actuarial Open Source Community

Open-source community for actuaries. Join the LinkedIn group to be a memeber.

Actuarial Open Source

Note:
A community for actuaries to discuss topics on open source software and technologies.

Initial Draft Written by @jimbrig

About

A networking place to introduce & discover open source tools for actuaries, to promote your open source projects, to share your knowledge about programming, actuarial modeling, data science, etc.


To join the community account, send your github account name to the community administrator.


Members

🔎 Click to View Active Members

UserFull Name2Factor EnabledPublicRoleLast Active
actuary87FALSEFALSEMemberNo activity
alang22FALSEFALSEMemberNo activity
alecloudenbackTRUEFALSEMember5/14/2023 18:13
bhatiariFALSEFALSEMemberNo activity
briandenzbrian denzFALSEFALSEMemberNo activity
CaidanSCaidan Speth-McCraryTRUEFALSEMember5/10/2023 15:36
carsonchFALSEFALSEMember10/6/2019 12:12
cjagerFALSEFALSEMemberNo activity
DemosthenisDFALSEFALSEMemberNo activity
EeethBEthan BrockmannFALSEFALSEMember5/12/2023 17:42
ekuo70FALSEFALSEMember3/20/2023 9:39
ewurchEduardo WürchTRUETRUEMember5/15/2023 10:28
franciscogarateFrancisco GárateTRUETRUEMember4/24/2023 5:31
fumitohfumitohTRUETRUEOwner5/14/2023 12:13
genedanGene DanTRUETRUEMember5/15/2023 8:54
GregorFabjanGregorFALSEFALSEMember5/8/2023 16:05
HoustonwpHoustonTRUEFALSEMember5/14/2023 21:46
jbogaardtJohn S BogaardtFALSEFALSEMember5/10/2023 7:44
jimbrigJimmy BriggsTRUETRUEOwner5/15/2023 9:03
kaustavSenKaustav SenFALSEFALSEMember5/10/2023 18:03
kelucLuc KestersTRUEFALSEMember10/10/2019 2:09
lewisfogdenFALSEFALSEMember5/14/2023 17:06
littleactuaryDuc-Hien VUFALSEFALSEMember5/13/2023 6:19
MatthewCaseresMatthew CaseresTRUEFALSEOwner5/14/2023 22:13
mglinickaFALSEFALSEMember9/19/2018 2:46
odddkidoutFALSETRUEMember5/14/2023 15:00
paddyhoranPaddy HoranTRUEFALSEMember5/12/2023 13:01
pdavidsonFIApeter.davidsonTRUEFALSEMember5/15/2023 5:52
PeichungFALSEFALSEMember5/9/2023 21:39
rrmistryRohit MistryTRUEFALSEMember5/15/2023 10:54
serenity4Cédric BelmantTRUEFALSEMember5/15/2023 6:03
simicdDejan SimicTRUEFALSEMember5/10/2023 18:10
sparktseungSpark TseungFALSEFALSEMember5/15/2023 3:02
switalaarturFALSEFALSEMember5/14/2023 7:26
VDamastaFALSEFALSEMember5/1/2023 7:19
wjwillemseWillem Jan WillemseTRUEFALSEMember5/4/2023 3:57
yabdellahStrarchFALSEFALSEMember3/24/2023 14:44
zchmielewskaZuzannaFALSEFALSEMember5/14/2023 5:20

Contributing Guide

Note: See CONTRIBUTING.md.

Pull requests, bug reports, and all other forms of contribution are welcomed and highly encouraged!:octocat:

🔎 Click to View Full Contributing Guide

Contents

This guide serves to set clear expectations for everyone involved with the project so that we can improve it together while also creating a welcoming space for everyone to participate. Following these guidelines will help ensure a positive experience for contributors and maintainers.

📖 Code of Conduct

Please review our Code of Conduct. It is in effect at all times. We expect it to be honored by everyone who contributes to this project. Acting like an asshole will not be tolerated.

💡 Asking Questions

See our Support Guide. In short, GitHub issues are not the appropriate place to debug your specific project, but should be reserved for filing bugs and feature requests.

📥 Opening an Issue

Note: See the organization's default issue labels for reference and usage.

Before creating an issue, check if you are using the latest version of the project. If you are not up-to-date, see if updating fixes your issue first.

🔒 Reporting Security Issues

Review our Security Policy. Do not file a public issue for security vulnerabilities.

🪲 Bug Reports and Other Issues

A great way to contribute to the project is to send a detailed issue when you encounter a problem. We always appreciate a well-written, thorough bug report. ✌️

In short, since you are most likely a developer, provide a ticket that you would like to receive.

  • Review the documentation and Support Guide before opening a new issue.

  • Do not open a duplicate issue! Search through existing issues to see if your issue has previously been reported. If your issue exists, comment with any additional information you have. You may simply note "I have this problem too", which helps prioritize the most common problems and requests.

  • Prefer using reactions, not comments, if you simply want to "+1" an existing issue.

  • Fully complete the provided issue template. The bug report template requests all the information we need to quickly and efficiently address your issue. Be clear, concise, and descriptive. Provide as much information as you can, including steps to reproduce, stack traces, compiler errors, library versions, OS versions, and screenshots (if applicable).

  • Use GitHub-flavored Markdown. Especially put code blocks and console outputs in backticks (```). This improves readability.

💌 Feature Requests

Feature requests are welcome! While we will consider all requests, we cannot guarantee your request will be accepted. We want to avoid feature creep. Your idea may be great, but also out-of-scope for the project. If accepted, we cannot make any commitments regarding the timeline for implementation and release. However, you are welcome to submit a pull request to help!

  • Do not open a duplicate feature request. Search for existing feature requests first. If you find your feature (or one very similar) previously requested, comment on that issue.

  • Fully complete the provided issue template. The feature request template asks for all necessary information for us to begin a productive conversation.

  • Be precise about the proposed outcome of the feature and how it relates to existing features. Include implementation details if possible.

🔍 Triaging Issues

You can triage issues which may include reproducing bug reports or asking for additional information, such as version numbers or reproduction instructions. Any help you can provide to quickly resolve an issue is very much appreciated!

🔁 Submitting Pull Requests

We love pull requests! Before forking the repo and creating a pull request for non-trivial changes, it is usually best to first open an issue to discuss the changes, or discuss your intended approach for solving the problem in the comments for an existing issue.

For most contributions, after your first pull request is accepted and merged, you will be invited to the project and given push access. 🎉

Note: All contributions will be licensed under the project's license.

  • Smaller is better. Submit one pull request per bug fix or feature. A pull request should contain isolated changes pertaining to a single bug fix or feature implementation. Do not refactor or reformat code that is unrelated to your change. It is better to submit many small pull requests rather than a single large one. Enormous pull requests will take enormous amounts of time to review, or may be rejected altogether.

  • Coordinate bigger changes. For large and non-trivial changes, open an issue to discuss a strategy with the maintainers. Otherwise, you risk doing a lot of work for nothing!

  • Prioritize understanding over cleverness. Write code clearly and concisely. Remember that source code usually gets written once and read often. Ensure the code is clear to the reader. The purpose and logic should be obvious to a reasonably skilled developer, otherwise you should add a comment that explains it.

  • Follow existing coding style and conventions. Keep your code consistent with the style, formatting, and conventions in the rest of the code base. When possible, these will be enforced with a linter. Consistency makes it easier to review and modify in the future.

  • Include test coverage. Add unit tests or UI tests when possible. Follow existing patterns for implementing tests.

  • Update the example project if one exists to exercise any new functionality you have added.

  • Add documentation. Document your changes with code doc comments or in existing guides.

  • Update the CHANGELOG for all enhancements and bug fixes. Include the corresponding issue number if one exists, and your GitHub username. (example: "bug: fixed crash in profile view resolving #123 @johndoe")

  • Use the repo's default branch. Branch from and submit your pull request to the repo's default branch. Usually this is main, but it could be dev, develop, or master.

  • Resolve any merge conflicts that occur.

  • Promptly address any CI failures. If your pull request fails to build or pass tests, please push another commit to fix it.

  • When writing comments, use properly constructed sentences, including punctuation.

  • Use spaces, not tabs.

📝 Writing Commit Messages

Please write a great commit message, ideally following the conventional commits framework:

<type>[optional scope]: <description>
[optional body]
[optional footer(s)]

Commit Structural Elements

Types

Note: Commit types fall inline with most of the pre-specified, default issue labels: feat: , bug:, docs:, chore:, etc.

  • feat: - feature or enhancement
    • Typically tied to a pre-existing issue or pull request that should be referenced in the commit message or body
    • Keep feature commits atomic and specific
  • bug: or fix: - bugs, patches, hot-fixes, defects, etc.

other potential types:

  • devops: (CI/CD)
    • Related to continuous integration or deployment (i.e. GitHub Actions or external pipelines).
  • test:
    • Testing related commits (also includes any code-coverage associated with the test being committed)
    • Unit, integration, end-to-end, functional, regression, etc.
  • docs:
    • Documentation related
  • setup:
    • Initialization and setup of the repository
  • infra:
    • Infrastructure related (i.e. Terraform, Ansible, Vagrant, Azure Bicep, Azure Resource Management Templates, AWS Cloud Formation, etc.) and associated scripts for infrastructure.
  • release:
    • Commits specific to releases
    • These commits should be tagged and annotated with the corresponding release version.
    • Additionally, a release checklist issue can be linked to in the commit body or message for reference.
  • refactor: or cleanup:
    • Code refactorings and cleanup commits (non-breaking)
  • chore:
    • Chores typically made by non-human interactions with the repo
  • style:
    • Code Style changes or proposals

Other commit types are allowed but try to follow a specific taxonomy for clarity amongst other developers.

See commitlint/config-conventional and the Angular conventions for reference and guidelines.

Scopes

Scopes are optional and follow the syntax elaborated above in the commit message (<type>[optional scope]: <description>). Scopes represent additiona contextual information and should be contained within parenthesis, for example, feat(api): add new endpoint for user authentication represents a feature commit under the scope of the API component of the project.

Footers

  • BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.

Footers other than BREAKING CHANGE: <description> are acceptable and may be provided by following a convention similar to the git trailer format.

Example Commits

Breaking Change Feature Commit

feat: update function XYZ with new arguments to support new business logic
BREAKING CHANGE: argument `A` was removed in support for argument `B`.

Commit with ! Representing a Breaking Change

feat!: add functionality for sending emails to user when new product is available

Commit with a Cope and ! Representing a Breaking Change

feat(api)!: add functionality for sending emails to user when new product is available

Benefits of Conventional Commits

  • Automatically generating CHANGELOGs and RELEASE NOTES (for example see git-cliff).
  • Automatically determining a semantic version bump (based on the types of commits landed).
  • Communicating the nature of changes to teammates, the public, and other stakeholders.
  • Triggering build and publish processes.
  • Making it easier for people to contribute to your projects, by allowing them to explore a more structured commit history.

Less Rigid Commit Guidelines

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line (example: "Fix networking issue")
  6. Wrap the body at about 72 characters
  7. Use the body to explain why, not what and how (the code shows that!)
  8. If applicable, prefix the title with the relevant component name. (examples: "[Docs] Fix typo", "[Profile] Fix missing avatar")
[TAG] Short summary of changes in 50 chars or less
Add a more detailed explanation here, if necessary. Possibly give some background about the issue being fixed, etc. The body of the commit message can be several paragraphs. Further paragraphs come after blank lines and please do proper word-wrap.
Wrap it to about 72 characters or so. In some contexts, the first line is treated as the subject of the commit and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); various tools like `log`, `shortlog` and `rebase` can get confused if you run the two together.
Explain the problem that this commit is solving. Focus on why you
are making this change as opposed to how or what. The code explains how or what. Reviewers and your future self can read the patch, but might not understand why a particular solution was implemented.
Are there side effects or other unintuitive consequences of this
change? Here's the place to explain them.
- Bullet points are okay, too
- A hyphen or asterisk should be used for the bullet, preceded
by a single space, with blank lines in between
Note the fixed or relevant GitHub issues at the end:
Resolves: #123
See also: #456, #789

✅ Code Review

  • Review the code, not the author. Look for and suggest improvements without disparaging or insulting the author. Provide actionable feedback and explain your reasoning.

  • You are not your code. When your code is critiqued, questioned, or constructively criticized, remember that you are not your code. Do not take code review personally.

  • Always do your best. No one writes bugs on purpose. Do your best, and learn from your mistakes.

  • Kindly note any violations to the guidelines specified in this document.

💅 Coding Style

Consistency is the most important. Following the existing style, formatting, and naming conventions of the file you are modifying and of the overall project. Failure to do so will result in a prolonged review process that has to focus on updating the superficial aspects of your code, rather than improving its functionality and performance.

For example, if all private properties are prefixed with an underscore _, then new ones you add should be prefixed in the same way. Or, if methods are named using camelcase, like thisIsMyNewMethod, then do not diverge from that by writing this_is_my_new_method. You get the idea. If in doubt, please ask or search the codebase for something similar.

When possible, style and format will be enforced with a linter.

🏅 Certificate of Origin

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

  1. The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
  2. The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
  3. The contribution was provided directly to me by some other person who certified (1), (2) or (3) and I have not modified it.
  4. I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

If you are reading this, bravo dear user and (hopefully) contributor for making it this far! You are awesome. 💯

To confirm that you have read this guide and are following it as best as possible, include this emoji at the top of your issue or pull request: 🖤

🙏 Credits

Please feel free to adopt this guide in your own projects. Fork it wholesale or remix it for your needs.

Many of the ideas and prose for the statements in this document were based on or inspired by work from the following communities:

We commend them for their efforts to facilitate collaboration in their projects.

Popular repositories Loading

  1. awesome-actuarial awesome-actuarialPublic

    An Awesome List of Actuarial Packages and Resources

    26 8

  2. pymort pymortPublic

    Jupyter Notebook 17 4

  3. benchmarks benchmarksPublic

    Some performance tests for actuarial applications

    Python 16 4

  4. python-notebooks python-notebooksPublic

    Jupyter Notebook 6

  5. expstudies expstudiesPublic

    An R Package for Life Experience Studies

    R 5 3

  6. methodology methodologyPublic

    For discussing and sharing methodology approaches

    Jupyter Notebook 4 1

Repositories

Showing 10 of 27 repositories

Top languages

Loading…

Most used topics

Loading…

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
@actuarialopensource

Actuarial Open Source Community

Open-source community for actuaries. Join the LinkedIn group to be a memeber.

Actuarial Open Source

Note:
A community for actuaries to discuss topics on open source software and technologies.

Initial Draft Written by @jimbrig

About

A networking place to introduce & discover open source tools for actuaries, to promote your open source projects, to share your knowledge about programming, actuarial modeling, data science, etc.


To join the community account, send your github account name to the community administrator.


Members

🔎 Click to View Active Members

UserFull Name2Factor EnabledPublicRoleLast Active
actuary87FALSEFALSEMemberNo activity
alang22FALSEFALSEMemberNo activity
alecloudenbackTRUEFALSEMember5/14/2023 18:13
bhatiariFALSEFALSEMemberNo activity
briandenzbrian denzFALSEFALSEMemberNo activity
CaidanSCaidan Speth-McCraryTRUEFALSEMember5/10/2023 15:36
carsonchFALSEFALSEMember10/6/2019 12:12
cjagerFALSEFALSEMemberNo activity
DemosthenisDFALSEFALSEMemberNo activity
EeethBEthan BrockmannFALSEFALSEMember5/12/2023 17:42
ekuo70FALSEFALSEMember3/20/2023 9:39
ewurchEduardo WürchTRUETRUEMember5/15/2023 10:28
franciscogarateFrancisco GárateTRUETRUEMember4/24/2023 5:31
fumitohfumitohTRUETRUEOwner5/14/2023 12:13
genedanGene DanTRUETRUEMember5/15/2023 8:54
GregorFabjanGregorFALSEFALSEMember5/8/2023 16:05
HoustonwpHoustonTRUEFALSEMember5/14/2023 21:46
jbogaardtJohn S BogaardtFALSEFALSEMember5/10/2023 7:44
jimbrigJimmy BriggsTRUETRUEOwner5/15/2023 9:03
kaustavSenKaustav SenFALSEFALSEMember5/10/2023 18:03
kelucLuc KestersTRUEFALSEMember10/10/2019 2:09
lewisfogdenFALSEFALSEMember5/14/2023 17:06
littleactuaryDuc-Hien VUFALSEFALSEMember5/13/2023 6:19
MatthewCaseresMatthew CaseresTRUEFALSEOwner5/14/2023 22:13
mglinickaFALSEFALSEMember9/19/2018 2:46
odddkidoutFALSETRUEMember5/14/2023 15:00
paddyhoranPaddy HoranTRUEFALSEMember5/12/2023 13:01
pdavidsonFIApeter.davidsonTRUEFALSEMember5/15/2023 5:52
PeichungFALSEFALSEMember5/9/2023 21:39
rrmistryRohit MistryTRUEFALSEMember5/15/2023 10:54
serenity4Cédric BelmantTRUEFALSEMember5/15/2023 6:03
simicdDejan SimicTRUEFALSEMember5/10/2023 18:10
sparktseungSpark TseungFALSEFALSEMember5/15/2023 3:02
switalaarturFALSEFALSEMember5/14/2023 7:26
VDamastaFALSEFALSEMember5/1/2023 7:19
wjwillemseWillem Jan WillemseTRUEFALSEMember5/4/2023 3:57
yabdellahStrarchFALSEFALSEMember3/24/2023 14:44
zchmielewskaZuzannaFALSEFALSEMember5/14/2023 5:20

Contributing Guide

Note: See CONTRIBUTING.md.

Pull requests, bug reports, and all other forms of contribution are welcomed and highly encouraged!:octocat:

🔎 Click to View Full Contributing Guide

Contents

This guide serves to set clear expectations for everyone involved with the project so that we can improve it together while also creating a welcoming space for everyone to participate. Following these guidelines will help ensure a positive experience for contributors and maintainers.

📖 Code of Conduct

Please review our Code of Conduct. It is in effect at all times. We expect it to be honored by everyone who contributes to this project. Acting like an asshole will not be tolerated.

💡 Asking Questions

See our Support Guide. In short, GitHub issues are not the appropriate place to debug your specific project, but should be reserved for filing bugs and feature requests.

📥 Opening an Issue

Note: See the organization's default issue labels for reference and usage.

Before creating an issue, check if you are using the latest version of the project. If you are not up-to-date, see if updating fixes your issue first.

🔒 Reporting Security Issues

Review our Security Policy. Do not file a public issue for security vulnerabilities.

🪲 Bug Reports and Other Issues

A great way to contribute to the project is to send a detailed issue when you encounter a problem. We always appreciate a well-written, thorough bug report. ✌️

In short, since you are most likely a developer, provide a ticket that you would like to receive.

  • Review the documentation and Support Guide before opening a new issue.

  • Do not open a duplicate issue! Search through existing issues to see if your issue has previously been reported. If your issue exists, comment with any additional information you have. You may simply note "I have this problem too", which helps prioritize the most common problems and requests.

  • Prefer using reactions, not comments, if you simply want to "+1" an existing issue.

  • Fully complete the provided issue template. The bug report template requests all the information we need to quickly and efficiently address your issue. Be clear, concise, and descriptive. Provide as much information as you can, including steps to reproduce, stack traces, compiler errors, library versions, OS versions, and screenshots (if applicable).

  • Use GitHub-flavored Markdown. Especially put code blocks and console outputs in backticks (```). This improves readability.

💌 Feature Requests

Feature requests are welcome! While we will consider all requests, we cannot guarantee your request will be accepted. We want to avoid feature creep. Your idea may be great, but also out-of-scope for the project. If accepted, we cannot make any commitments regarding the timeline for implementation and release. However, you are welcome to submit a pull request to help!

  • Do not open a duplicate feature request. Search for existing feature requests first. If you find your feature (or one very similar) previously requested, comment on that issue.

  • Fully complete the provided issue template. The feature request template asks for all necessary information for us to begin a productive conversation.

  • Be precise about the proposed outcome of the feature and how it relates to existing features. Include implementation details if possible.

🔍 Triaging Issues

You can triage issues which may include reproducing bug reports or asking for additional information, such as version numbers or reproduction instructions. Any help you can provide to quickly resolve an issue is very much appreciated!

🔁 Submitting Pull Requests

We love pull requests! Before forking the repo and creating a pull request for non-trivial changes, it is usually best to first open an issue to discuss the changes, or discuss your intended approach for solving the problem in the comments for an existing issue.

For most contributions, after your first pull request is accepted and merged, you will be invited to the project and given push access. 🎉

Note: All contributions will be licensed under the project's license.

  • Smaller is better. Submit one pull request per bug fix or feature. A pull request should contain isolated changes pertaining to a single bug fix or feature implementation. Do not refactor or reformat code that is unrelated to your change. It is better to submit many small pull requests rather than a single large one. Enormous pull requests will take enormous amounts of time to review, or may be rejected altogether.

  • Coordinate bigger changes. For large and non-trivial changes, open an issue to discuss a strategy with the maintainers. Otherwise, you risk doing a lot of work for nothing!

  • Prioritize understanding over cleverness. Write code clearly and concisely. Remember that source code usually gets written once and read often. Ensure the code is clear to the reader. The purpose and logic should be obvious to a reasonably skilled developer, otherwise you should add a comment that explains it.

  • Follow existing coding style and conventions. Keep your code consistent with the style, formatting, and conventions in the rest of the code base. When possible, these will be enforced with a linter. Consistency makes it easier to review and modify in the future.

  • Include test coverage. Add unit tests or UI tests when possible. Follow existing patterns for implementing tests.

  • Update the example project if one exists to exercise any new functionality you have added.

  • Add documentation. Document your changes with code doc comments or in existing guides.

  • Update the CHANGELOG for all enhancements and bug fixes. Include the corresponding issue number if one exists, and your GitHub username. (example: "bug: fixed crash in profile view resolving #123 @johndoe")

  • Use the repo's default branch. Branch from and submit your pull request to the repo's default branch. Usually this is main, but it could be dev, develop, or master.

  • Resolve any merge conflicts that occur.

  • Promptly address any CI failures. If your pull request fails to build or pass tests, please push another commit to fix it.

  • When writing comments, use properly constructed sentences, including punctuation.

  • Use spaces, not tabs.

📝 Writing Commit Messages

Please write a great commit message, ideally following the conventional commits framework:

<type>[optional scope]: <description>
[optional body]
[optional footer(s)]

Commit Structural Elements

Types

Note: Commit types fall inline with most of the pre-specified, default issue labels: feat: , bug:, docs:, chore:, etc.

  • feat: - feature or enhancement
    • Typically tied to a pre-existing issue or pull request that should be referenced in the commit message or body
    • Keep feature commits atomic and specific
  • bug: or fix: - bugs, patches, hot-fixes, defects, etc.

other potential types:

  • devops: (CI/CD)
    • Related to continuous integration or deployment (i.e. GitHub Actions or external pipelines).
  • test:
    • Testing related commits (also includes any code-coverage associated with the test being committed)
    • Unit, integration, end-to-end, functional, regression, etc.
  • docs:
    • Documentation related
  • setup:
    • Initialization and setup of the repository
  • infra:
    • Infrastructure related (i.e. Terraform, Ansible, Vagrant, Azure Bicep, Azure Resource Management Templates, AWS Cloud Formation, etc.) and associated scripts for infrastructure.
  • release:
    • Commits specific to releases
    • These commits should be tagged and annotated with the corresponding release version.
    • Additionally, a release checklist issue can be linked to in the commit body or message for reference.
  • refactor: or cleanup:
    • Code refactorings and cleanup commits (non-breaking)
  • chore:
    • Chores typically made by non-human interactions with the repo
  • style:
    • Code Style changes or proposals

Other commit types are allowed but try to follow a specific taxonomy for clarity amongst other developers.

See commitlint/config-conventional and the Angular conventions for reference and guidelines.

Scopes

Scopes are optional and follow the syntax elaborated above in the commit message (<type>[optional scope]: <description>). Scopes represent additiona contextual information and should be contained within parenthesis, for example, feat(api): add new endpoint for user authentication represents a feature commit under the scope of the API component of the project.

Footers

  • BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.

Footers other than BREAKING CHANGE: <description> are acceptable and may be provided by following a convention similar to the git trailer format.

Example Commits

Breaking Change Feature Commit

feat: update function XYZ with new arguments to support new business logic
BREAKING CHANGE: argument `A` was removed in support for argument `B`.

Commit with ! Representing a Breaking Change

feat!: add functionality for sending emails to user when new product is available

Commit with a Cope and ! Representing a Breaking Change

feat(api)!: add functionality for sending emails to user when new product is available

Benefits of Conventional Commits

  • Automatically generating CHANGELOGs and RELEASE NOTES (for example see git-cliff).
  • Automatically determining a semantic version bump (based on the types of commits landed).
  • Communicating the nature of changes to teammates, the public, and other stakeholders.
  • Triggering build and publish processes.
  • Making it easier for people to contribute to your projects, by allowing them to explore a more structured commit history.

Less Rigid Commit Guidelines

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line (example: "Fix networking issue")
  6. Wrap the body at about 72 characters
  7. Use the body to explain why, not what and how (the code shows that!)
  8. If applicable, prefix the title with the relevant component name. (examples: "[Docs] Fix typo", "[Profile] Fix missing avatar")
[TAG] Short summary of changes in 50 chars or less
Add a more detailed explanation here, if necessary. Possibly give some background about the issue being fixed, etc. The body of the commit message can be several paragraphs. Further paragraphs come after blank lines and please do proper word-wrap.
Wrap it to about 72 characters or so. In some contexts, the first line is treated as the subject of the commit and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); various tools like `log`, `shortlog` and `rebase` can get confused if you run the two together.
Explain the problem that this commit is solving. Focus on why you
are making this change as opposed to how or what. The code explains how or what. Reviewers and your future self can read the patch, but might not understand why a particular solution was implemented.
Are there side effects or other unintuitive consequences of this
change? Here's the place to explain them.
- Bullet points are okay, too
- A hyphen or asterisk should be used for the bullet, preceded
by a single space, with blank lines in between
Note the fixed or relevant GitHub issues at the end:
Resolves: #123
See also: #456, #789

✅ Code Review

  • Review the code, not the author. Look for and suggest improvements without disparaging or insulting the author. Provide actionable feedback and explain your reasoning.

  • You are not your code. When your code is critiqued, questioned, or constructively criticized, remember that you are not your code. Do not take code review personally.

  • Always do your best. No one writes bugs on purpose. Do your best, and learn from your mistakes.

  • Kindly note any violations to the guidelines specified in this document.

💅 Coding Style

Consistency is the most important. Following the existing style, formatting, and naming conventions of the file you are modifying and of the overall project. Failure to do so will result in a prolonged review process that has to focus on updating the superficial aspects of your code, rather than improving its functionality and performance.

For example, if all private properties are prefixed with an underscore _, then new ones you add should be prefixed in the same way. Or, if methods are named using camelcase, like thisIsMyNewMethod, then do not diverge from that by writing this_is_my_new_method. You get the idea. If in doubt, please ask or search the codebase for something similar.

When possible, style and format will be enforced with a linter.

🏅 Certificate of Origin

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

  1. The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
  2. The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
  3. The contribution was provided directly to me by some other person who certified (1), (2) or (3) and I have not modified it.
  4. I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

If you are reading this, bravo dear user and (hopefully) contributor for making it this far! You are awesome. 💯

To confirm that you have read this guide and are following it as best as possible, include this emoji at the top of your issue or pull request: 🖤

🙏 Credits

Please feel free to adopt this guide in your own projects. Fork it wholesale or remix it for your needs.

Many of the ideas and prose for the statements in this document were based on or inspired by work from the following communities:

We commend them for their efforts to facilitate collaboration in their projects.

Popular repositories Loading

  1. awesome-actuarial awesome-actuarialPublic

    An Awesome List of Actuarial Packages and Resources

    26 8

  2. pymort pymortPublic

    Jupyter Notebook 17 4

  3. benchmarks benchmarksPublic

    Some performance tests for actuarial applications

    Python 16 4

  4. python-notebooks python-notebooksPublic

    Jupyter Notebook 6

  5. expstudies expstudiesPublic

    An R Package for Life Experience Studies

    R 5 3

  6. methodology methodologyPublic

    For discussing and sharing methodology approaches

    Jupyter Notebook 4 1

Repositories

Showing 10 of 27 repositories

Top languages

Loading…

Most used topics

Loading…

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content
@actuarialopensource

Actuarial Open Source Community

Open-source community for actuaries. Join the LinkedIn group to be a memeber.

Actuarial Open Source

Note:
A community for actuaries to discuss topics on open source software and technologies.

Initial Draft Written by @jimbrig

About

A networking place to introduce & discover open source tools for actuaries, to promote your open source projects, to share your knowledge about programming, actuarial modeling, data science, etc.


To join the community account, send your github account name to the community administrator.


Members

🔎 Click to View Active Members

UserFull Name2Factor EnabledPublicRoleLast Active
actuary87FALSEFALSEMemberNo activity
alang22FALSEFALSEMemberNo activity
alecloudenbackTRUEFALSEMember5/14/2023 18:13
bhatiariFALSEFALSEMemberNo activity
briandenzbrian denzFALSEFALSEMemberNo activity
CaidanSCaidan Speth-McCraryTRUEFALSEMember5/10/2023 15:36
carsonchFALSEFALSEMember10/6/2019 12:12
cjagerFALSEFALSEMemberNo activity
DemosthenisDFALSEFALSEMemberNo activity
EeethBEthan BrockmannFALSEFALSEMember5/12/2023 17:42
ekuo70FALSEFALSEMember3/20/2023 9:39
ewurchEduardo WürchTRUETRUEMember5/15/2023 10:28
franciscogarateFrancisco GárateTRUETRUEMember4/24/2023 5:31
fumitohfumitohTRUETRUEOwner5/14/2023 12:13
genedanGene DanTRUETRUEMember5/15/2023 8:54
GregorFabjanGregorFALSEFALSEMember5/8/2023 16:05
HoustonwpHoustonTRUEFALSEMember5/14/2023 21:46
jbogaardtJohn S BogaardtFALSEFALSEMember5/10/2023 7:44
jimbrigJimmy BriggsTRUETRUEOwner5/15/2023 9:03
kaustavSenKaustav SenFALSEFALSEMember5/10/2023 18:03
kelucLuc KestersTRUEFALSEMember10/10/2019 2:09
lewisfogdenFALSEFALSEMember5/14/2023 17:06
littleactuaryDuc-Hien VUFALSEFALSEMember5/13/2023 6:19
MatthewCaseresMatthew CaseresTRUEFALSEOwner5/14/2023 22:13
mglinickaFALSEFALSEMember9/19/2018 2:46
odddkidoutFALSETRUEMember5/14/2023 15:00
paddyhoranPaddy HoranTRUEFALSEMember5/12/2023 13:01
pdavidsonFIApeter.davidsonTRUEFALSEMember5/15/2023 5:52
PeichungFALSEFALSEMember5/9/2023 21:39
rrmistryRohit MistryTRUEFALSEMember5/15/2023 10:54
serenity4Cédric BelmantTRUEFALSEMember5/15/2023 6:03
simicdDejan SimicTRUEFALSEMember5/10/2023 18:10
sparktseungSpark TseungFALSEFALSEMember5/15/2023 3:02
switalaarturFALSEFALSEMember5/14/2023 7:26
VDamastaFALSEFALSEMember5/1/2023 7:19
wjwillemseWillem Jan WillemseTRUEFALSEMember5/4/2023 3:57
yabdellahStrarchFALSEFALSEMember3/24/2023 14:44
zchmielewskaZuzannaFALSEFALSEMember5/14/2023 5:20

Contributing Guide

Note: See CONTRIBUTING.md.

Pull requests, bug reports, and all other forms of contribution are welcomed and highly encouraged!:octocat:

🔎 Click to View Full Contributing Guide

Contents

This guide serves to set clear expectations for everyone involved with the project so that we can improve it together while also creating a welcoming space for everyone to participate. Following these guidelines will help ensure a positive experience for contributors and maintainers.

📖 Code of Conduct

Please review our Code of Conduct. It is in effect at all times. We expect it to be honored by everyone who contributes to this project. Acting like an asshole will not be tolerated.

💡 Asking Questions

See our Support Guide. In short, GitHub issues are not the appropriate place to debug your specific project, but should be reserved for filing bugs and feature requests.

📥 Opening an Issue

Note: See the organization's default issue labels for reference and usage.

Before creating an issue, check if you are using the latest version of the project. If you are not up-to-date, see if updating fixes your issue first.

🔒 Reporting Security Issues

Review our Security Policy. Do not file a public issue for security vulnerabilities.

🪲 Bug Reports and Other Issues

A great way to contribute to the project is to send a detailed issue when you encounter a problem. We always appreciate a well-written, thorough bug report. ✌️

In short, since you are most likely a developer, provide a ticket that you would like to receive.

  • Review the documentation and Support Guide before opening a new issue.

  • Do not open a duplicate issue! Search through existing issues to see if your issue has previously been reported. If your issue exists, comment with any additional information you have. You may simply note "I have this problem too", which helps prioritize the most common problems and requests.

  • Prefer using reactions, not comments, if you simply want to "+1" an existing issue.

  • Fully complete the provided issue template. The bug report template requests all the information we need to quickly and efficiently address your issue. Be clear, concise, and descriptive. Provide as much information as you can, including steps to reproduce, stack traces, compiler errors, library versions, OS versions, and screenshots (if applicable).

  • Use GitHub-flavored Markdown. Especially put code blocks and console outputs in backticks (```). This improves readability.

💌 Feature Requests

Feature requests are welcome! While we will consider all requests, we cannot guarantee your request will be accepted. We want to avoid feature creep. Your idea may be great, but also out-of-scope for the project. If accepted, we cannot make any commitments regarding the timeline for implementation and release. However, you are welcome to submit a pull request to help!

  • Do not open a duplicate feature request. Search for existing feature requests first. If you find your feature (or one very similar) previously requested, comment on that issue.

  • Fully complete the provided issue template. The feature request template asks for all necessary information for us to begin a productive conversation.

  • Be precise about the proposed outcome of the feature and how it relates to existing features. Include implementation details if possible.

🔍 Triaging Issues

You can triage issues which may include reproducing bug reports or asking for additional information, such as version numbers or reproduction instructions. Any help you can provide to quickly resolve an issue is very much appreciated!

🔁 Submitting Pull Requests

We love pull requests! Before forking the repo and creating a pull request for non-trivial changes, it is usually best to first open an issue to discuss the changes, or discuss your intended approach for solving the problem in the comments for an existing issue.

For most contributions, after your first pull request is accepted and merged, you will be invited to the project and given push access. 🎉

Note: All contributions will be licensed under the project's license.

  • Smaller is better. Submit one pull request per bug fix or feature. A pull request should contain isolated changes pertaining to a single bug fix or feature implementation. Do not refactor or reformat code that is unrelated to your change. It is better to submit many small pull requests rather than a single large one. Enormous pull requests will take enormous amounts of time to review, or may be rejected altogether.

  • Coordinate bigger changes. For large and non-trivial changes, open an issue to discuss a strategy with the maintainers. Otherwise, you risk doing a lot of work for nothing!

  • Prioritize understanding over cleverness. Write code clearly and concisely. Remember that source code usually gets written once and read often. Ensure the code is clear to the reader. The purpose and logic should be obvious to a reasonably skilled developer, otherwise you should add a comment that explains it.

  • Follow existing coding style and conventions. Keep your code consistent with the style, formatting, and conventions in the rest of the code base. When possible, these will be enforced with a linter. Consistency makes it easier to review and modify in the future.

  • Include test coverage. Add unit tests or UI tests when possible. Follow existing patterns for implementing tests.

  • Update the example project if one exists to exercise any new functionality you have added.

  • Add documentation. Document your changes with code doc comments or in existing guides.

  • Update the CHANGELOG for all enhancements and bug fixes. Include the corresponding issue number if one exists, and your GitHub username. (example: "bug: fixed crash in profile view resolving #123 @johndoe")

  • Use the repo's default branch. Branch from and submit your pull request to the repo's default branch. Usually this is main, but it could be dev, develop, or master.

  • Resolve any merge conflicts that occur.

  • Promptly address any CI failures. If your pull request fails to build or pass tests, please push another commit to fix it.

  • When writing comments, use properly constructed sentences, including punctuation.

  • Use spaces, not tabs.

📝 Writing Commit Messages

Please write a great commit message, ideally following the conventional commits framework:

<type>[optional scope]: <description>
[optional body]
[optional footer(s)]

Commit Structural Elements

Types

Note: Commit types fall inline with most of the pre-specified, default issue labels: feat: , bug:, docs:, chore:, etc.

  • feat: - feature or enhancement
    • Typically tied to a pre-existing issue or pull request that should be referenced in the commit message or body
    • Keep feature commits atomic and specific
  • bug: or fix: - bugs, patches, hot-fixes, defects, etc.

other potential types:

  • devops: (CI/CD)
    • Related to continuous integration or deployment (i.e. GitHub Actions or external pipelines).
  • test:
    • Testing related commits (also includes any code-coverage associated with the test being committed)
    • Unit, integration, end-to-end, functional, regression, etc.
  • docs:
    • Documentation related
  • setup:
    • Initialization and setup of the repository
  • infra:
    • Infrastructure related (i.e. Terraform, Ansible, Vagrant, Azure Bicep, Azure Resource Management Templates, AWS Cloud Formation, etc.) and associated scripts for infrastructure.
  • release:
    • Commits specific to releases
    • These commits should be tagged and annotated with the corresponding release version.
    • Additionally, a release checklist issue can be linked to in the commit body or message for reference.
  • refactor: or cleanup:
    • Code refactorings and cleanup commits (non-breaking)
  • chore:
    • Chores typically made by non-human interactions with the repo
  • style:
    • Code Style changes or proposals

Other commit types are allowed but try to follow a specific taxonomy for clarity amongst other developers.

See commitlint/config-conventional and the Angular conventions for reference and guidelines.

Scopes

Scopes are optional and follow the syntax elaborated above in the commit message (<type>[optional scope]: <description>). Scopes represent additiona contextual information and should be contained within parenthesis, for example, feat(api): add new endpoint for user authentication represents a feature commit under the scope of the API component of the project.

Footers

  • BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.

Footers other than BREAKING CHANGE: <description> are acceptable and may be provided by following a convention similar to the git trailer format.

Example Commits

Breaking Change Feature Commit

feat: update function XYZ with new arguments to support new business logic
BREAKING CHANGE: argument `A` was removed in support for argument `B`.

Commit with ! Representing a Breaking Change

feat!: add functionality for sending emails to user when new product is available

Commit with a Cope and ! Representing a Breaking Change

feat(api)!: add functionality for sending emails to user when new product is available

Benefits of Conventional Commits

  • Automatically generating CHANGELOGs and RELEASE NOTES (for example see git-cliff).
  • Automatically determining a semantic version bump (based on the types of commits landed).
  • Communicating the nature of changes to teammates, the public, and other stakeholders.
  • Triggering build and publish processes.
  • Making it easier for people to contribute to your projects, by allowing them to explore a more structured commit history.

Less Rigid Commit Guidelines

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line (example: "Fix networking issue")
  6. Wrap the body at about 72 characters
  7. Use the body to explain why, not what and how (the code shows that!)
  8. If applicable, prefix the title with the relevant component name. (examples: "[Docs] Fix typo", "[Profile] Fix missing avatar")
[TAG] Short summary of changes in 50 chars or less
Add a more detailed explanation here, if necessary. Possibly give some background about the issue being fixed, etc. The body of the commit message can be several paragraphs. Further paragraphs come after blank lines and please do proper word-wrap.
Wrap it to about 72 characters or so. In some contexts, the first line is treated as the subject of the commit and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); various tools like `log`, `shortlog` and `rebase` can get confused if you run the two together.
Explain the problem that this commit is solving. Focus on why you
are making this change as opposed to how or what. The code explains how or what. Reviewers and your future self can read the patch, but might not understand why a particular solution was implemented.
Are there side effects or other unintuitive consequences of this
change? Here's the place to explain them.
- Bullet points are okay, too
- A hyphen or asterisk should be used for the bullet, preceded
by a single space, with blank lines in between
Note the fixed or relevant GitHub issues at the end:
Resolves: #123
See also: #456, #789

✅ Code Review

  • Review the code, not the author. Look for and suggest improvements without disparaging or insulting the author. Provide actionable feedback and explain your reasoning.

  • You are not your code. When your code is critiqued, questioned, or constructively criticized, remember that you are not your code. Do not take code review personally.

  • Always do your best. No one writes bugs on purpose. Do your best, and learn from your mistakes.

  • Kindly note any violations to the guidelines specified in this document.

💅 Coding Style

Consistency is the most important. Following the existing style, formatting, and naming conventions of the file you are modifying and of the overall project. Failure to do so will result in a prolonged review process that has to focus on updating the superficial aspects of your code, rather than improving its functionality and performance.

For example, if all private properties are prefixed with an underscore _, then new ones you add should be prefixed in the same way. Or, if methods are named using camelcase, like thisIsMyNewMethod, then do not diverge from that by writing this_is_my_new_method. You get the idea. If in doubt, please ask or search the codebase for something similar.

When possible, style and format will be enforced with a linter.

🏅 Certificate of Origin

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

  1. The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
  2. The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
  3. The contribution was provided directly to me by some other person who certified (1), (2) or (3) and I have not modified it.
  4. I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

If you are reading this, bravo dear user and (hopefully) contributor for making it this far! You are awesome. 💯

To confirm that you have read this guide and are following it as best as possible, include this emoji at the top of your issue or pull request: 🖤

🙏 Credits

Please feel free to adopt this guide in your own projects. Fork it wholesale or remix it for your needs.

Many of the ideas and prose for the statements in this document were based on or inspired by work from the following communities:

We commend them for their efforts to facilitate collaboration in their projects.

Popular repositories Loading

  1. awesome-actuarial awesome-actuarialPublic

    An Awesome List of Actuarial Packages and Resources

    26 8

  2. pymort pymortPublic

    Jupyter Notebook 17 4

  3. benchmarks benchmarksPublic

    Some performance tests for actuarial applications

    Python 16 4

  4. python-notebooks python-notebooksPublic

    Jupyter Notebook 6

  5. expstudies expstudiesPublic

    An R Package for Life Experience Studies

    R 5 3

  6. methodology methodologyPublic

    For discussing and sharing methodology approaches

    Jupyter Notebook 4 1

Repositories

Showing 10 of 27 repositories

Top languages

Loading…

Most used topics

Loading…

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content
@actuarialopensource

Actuarial Open Source Community

Open-source community for actuaries. Join the LinkedIn group to be a memeber.

Actuarial Open Source

Note:
A community for actuaries to discuss topics on open source software and technologies.

Initial Draft Written by @jimbrig

About

A networking place to introduce & discover open source tools for actuaries, to promote your open source projects, to share your knowledge about programming, actuarial modeling, data science, etc.


To join the community account, send your github account name to the community administrator.


Members

🔎 Click to View Active Members

UserFull Name2Factor EnabledPublicRoleLast Active
actuary87FALSEFALSEMemberNo activity
alang22FALSEFALSEMemberNo activity
alecloudenbackTRUEFALSEMember5/14/2023 18:13
bhatiariFALSEFALSEMemberNo activity
briandenzbrian denzFALSEFALSEMemberNo activity
CaidanSCaidan Speth-McCraryTRUEFALSEMember5/10/2023 15:36
carsonchFALSEFALSEMember10/6/2019 12:12
cjagerFALSEFALSEMemberNo activity
DemosthenisDFALSEFALSEMemberNo activity
EeethBEthan BrockmannFALSEFALSEMember5/12/2023 17:42
ekuo70FALSEFALSEMember3/20/2023 9:39
ewurchEduardo WürchTRUETRUEMember5/15/2023 10:28
franciscogarateFrancisco GárateTRUETRUEMember4/24/2023 5:31
fumitohfumitohTRUETRUEOwner5/14/2023 12:13
genedanGene DanTRUETRUEMember5/15/2023 8:54
GregorFabjanGregorFALSEFALSEMember5/8/2023 16:05
HoustonwpHoustonTRUEFALSEMember5/14/2023 21:46
jbogaardtJohn S BogaardtFALSEFALSEMember5/10/2023 7:44
jimbrigJimmy BriggsTRUETRUEOwner5/15/2023 9:03
kaustavSenKaustav SenFALSEFALSEMember5/10/2023 18:03
kelucLuc KestersTRUEFALSEMember10/10/2019 2:09
lewisfogdenFALSEFALSEMember5/14/2023 17:06
littleactuaryDuc-Hien VUFALSEFALSEMember5/13/2023 6:19
MatthewCaseresMatthew CaseresTRUEFALSEOwner5/14/2023 22:13
mglinickaFALSEFALSEMember9/19/2018 2:46
odddkidoutFALSETRUEMember5/14/2023 15:00
paddyhoranPaddy HoranTRUEFALSEMember5/12/2023 13:01
pdavidsonFIApeter.davidsonTRUEFALSEMember5/15/2023 5:52
PeichungFALSEFALSEMember5/9/2023 21:39
rrmistryRohit MistryTRUEFALSEMember5/15/2023 10:54
serenity4Cédric BelmantTRUEFALSEMember5/15/2023 6:03
simicdDejan SimicTRUEFALSEMember5/10/2023 18:10
sparktseungSpark TseungFALSEFALSEMember5/15/2023 3:02
switalaarturFALSEFALSEMember5/14/2023 7:26
VDamastaFALSEFALSEMember5/1/2023 7:19
wjwillemseWillem Jan WillemseTRUEFALSEMember5/4/2023 3:57
yabdellahStrarchFALSEFALSEMember3/24/2023 14:44
zchmielewskaZuzannaFALSEFALSEMember5/14/2023 5:20

Contributing Guide

Note: See CONTRIBUTING.md.

Pull requests, bug reports, and all other forms of contribution are welcomed and highly encouraged!:octocat:

🔎 Click to View Full Contributing Guide

Contents

This guide serves to set clear expectations for everyone involved with the project so that we can improve it together while also creating a welcoming space for everyone to participate. Following these guidelines will help ensure a positive experience for contributors and maintainers.

📖 Code of Conduct

Please review our Code of Conduct. It is in effect at all times. We expect it to be honored by everyone who contributes to this project. Acting like an asshole will not be tolerated.

💡 Asking Questions

See our Support Guide. In short, GitHub issues are not the appropriate place to debug your specific project, but should be reserved for filing bugs and feature requests.

📥 Opening an Issue

Note: See the organization's default issue labels for reference and usage.

Before creating an issue, check if you are using the latest version of the project. If you are not up-to-date, see if updating fixes your issue first.

🔒 Reporting Security Issues

Review our Security Policy. Do not file a public issue for security vulnerabilities.

🪲 Bug Reports and Other Issues

A great way to contribute to the project is to send a detailed issue when you encounter a problem. We always appreciate a well-written, thorough bug report. ✌️

In short, since you are most likely a developer, provide a ticket that you would like to receive.

  • Review the documentation and Support Guide before opening a new issue.

  • Do not open a duplicate issue! Search through existing issues to see if your issue has previously been reported. If your issue exists, comment with any additional information you have. You may simply note "I have this problem too", which helps prioritize the most common problems and requests.

  • Prefer using reactions, not comments, if you simply want to "+1" an existing issue.

  • Fully complete the provided issue template. The bug report template requests all the information we need to quickly and efficiently address your issue. Be clear, concise, and descriptive. Provide as much information as you can, including steps to reproduce, stack traces, compiler errors, library versions, OS versions, and screenshots (if applicable).

  • Use GitHub-flavored Markdown. Especially put code blocks and console outputs in backticks (```). This improves readability.

💌 Feature Requests

Feature requests are welcome! While we will consider all requests, we cannot guarantee your request will be accepted. We want to avoid feature creep. Your idea may be great, but also out-of-scope for the project. If accepted, we cannot make any commitments regarding the timeline for implementation and release. However, you are welcome to submit a pull request to help!

  • Do not open a duplicate feature request. Search for existing feature requests first. If you find your feature (or one very similar) previously requested, comment on that issue.

  • Fully complete the provided issue template. The feature request template asks for all necessary information for us to begin a productive conversation.

  • Be precise about the proposed outcome of the feature and how it relates to existing features. Include implementation details if possible.

🔍 Triaging Issues

You can triage issues which may include reproducing bug reports or asking for additional information, such as version numbers or reproduction instructions. Any help you can provide to quickly resolve an issue is very much appreciated!

🔁 Submitting Pull Requests

We love pull requests! Before forking the repo and creating a pull request for non-trivial changes, it is usually best to first open an issue to discuss the changes, or discuss your intended approach for solving the problem in the comments for an existing issue.

For most contributions, after your first pull request is accepted and merged, you will be invited to the project and given push access. 🎉

Note: All contributions will be licensed under the project's license.

  • Smaller is better. Submit one pull request per bug fix or feature. A pull request should contain isolated changes pertaining to a single bug fix or feature implementation. Do not refactor or reformat code that is unrelated to your change. It is better to submit many small pull requests rather than a single large one. Enormous pull requests will take enormous amounts of time to review, or may be rejected altogether.

  • Coordinate bigger changes. For large and non-trivial changes, open an issue to discuss a strategy with the maintainers. Otherwise, you risk doing a lot of work for nothing!

  • Prioritize understanding over cleverness. Write code clearly and concisely. Remember that source code usually gets written once and read often. Ensure the code is clear to the reader. The purpose and logic should be obvious to a reasonably skilled developer, otherwise you should add a comment that explains it.

  • Follow existing coding style and conventions. Keep your code consistent with the style, formatting, and conventions in the rest of the code base. When possible, these will be enforced with a linter. Consistency makes it easier to review and modify in the future.

  • Include test coverage. Add unit tests or UI tests when possible. Follow existing patterns for implementing tests.

  • Update the example project if one exists to exercise any new functionality you have added.

  • Add documentation. Document your changes with code doc comments or in existing guides.

  • Update the CHANGELOG for all enhancements and bug fixes. Include the corresponding issue number if one exists, and your GitHub username. (example: "bug: fixed crash in profile view resolving #123 @johndoe")

  • Use the repo's default branch. Branch from and submit your pull request to the repo's default branch. Usually this is main, but it could be dev, develop, or master.

  • Resolve any merge conflicts that occur.

  • Promptly address any CI failures. If your pull request fails to build or pass tests, please push another commit to fix it.

  • When writing comments, use properly constructed sentences, including punctuation.

  • Use spaces, not tabs.

📝 Writing Commit Messages

Please write a great commit message, ideally following the conventional commits framework:

<type>[optional scope]: <description>
[optional body]
[optional footer(s)]

Commit Structural Elements

Types

Note: Commit types fall inline with most of the pre-specified, default issue labels: feat: , bug:, docs:, chore:, etc.

  • feat: - feature or enhancement
    • Typically tied to a pre-existing issue or pull request that should be referenced in the commit message or body
    • Keep feature commits atomic and specific
  • bug: or fix: - bugs, patches, hot-fixes, defects, etc.

other potential types:

  • devops: (CI/CD)
    • Related to continuous integration or deployment (i.e. GitHub Actions or external pipelines).
  • test:
    • Testing related commits (also includes any code-coverage associated with the test being committed)
    • Unit, integration, end-to-end, functional, regression, etc.
  • docs:
    • Documentation related
  • setup:
    • Initialization and setup of the repository
  • infra:
    • Infrastructure related (i.e. Terraform, Ansible, Vagrant, Azure Bicep, Azure Resource Management Templates, AWS Cloud Formation, etc.) and associated scripts for infrastructure.
  • release:
    • Commits specific to releases
    • These commits should be tagged and annotated with the corresponding release version.
    • Additionally, a release checklist issue can be linked to in the commit body or message for reference.
  • refactor: or cleanup:
    • Code refactorings and cleanup commits (non-breaking)
  • chore:
    • Chores typically made by non-human interactions with the repo
  • style:
    • Code Style changes or proposals

Other commit types are allowed but try to follow a specific taxonomy for clarity amongst other developers.

See commitlint/config-conventional and the Angular conventions for reference and guidelines.

Scopes

Scopes are optional and follow the syntax elaborated above in the commit message (<type>[optional scope]: <description>). Scopes represent additiona contextual information and should be contained within parenthesis, for example, feat(api): add new endpoint for user authentication represents a feature commit under the scope of the API component of the project.

Footers

  • BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.

Footers other than BREAKING CHANGE: <description> are acceptable and may be provided by following a convention similar to the git trailer format.

Example Commits

Breaking Change Feature Commit

feat: update function XYZ with new arguments to support new business logic
BREAKING CHANGE: argument `A` was removed in support for argument `B`.

Commit with ! Representing a Breaking Change

feat!: add functionality for sending emails to user when new product is available

Commit with a Cope and ! Representing a Breaking Change

feat(api)!: add functionality for sending emails to user when new product is available

Benefits of Conventional Commits

  • Automatically generating CHANGELOGs and RELEASE NOTES (for example see git-cliff).
  • Automatically determining a semantic version bump (based on the types of commits landed).
  • Communicating the nature of changes to teammates, the public, and other stakeholders.
  • Triggering build and publish processes.
  • Making it easier for people to contribute to your projects, by allowing them to explore a more structured commit history.

Less Rigid Commit Guidelines

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line (example: "Fix networking issue")
  6. Wrap the body at about 72 characters
  7. Use the body to explain why, not what and how (the code shows that!)
  8. If applicable, prefix the title with the relevant component name. (examples: "[Docs] Fix typo", "[Profile] Fix missing avatar")
[TAG] Short summary of changes in 50 chars or less
Add a more detailed explanation here, if necessary. Possibly give some background about the issue being fixed, etc. The body of the commit message can be several paragraphs. Further paragraphs come after blank lines and please do proper word-wrap.
Wrap it to about 72 characters or so. In some contexts, the first line is treated as the subject of the commit and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); various tools like `log`, `shortlog` and `rebase` can get confused if you run the two together.
Explain the problem that this commit is solving. Focus on why you
are making this change as opposed to how or what. The code explains how or what. Reviewers and your future self can read the patch, but might not understand why a particular solution was implemented.
Are there side effects or other unintuitive consequences of this
change? Here's the place to explain them.
- Bullet points are okay, too
- A hyphen or asterisk should be used for the bullet, preceded
by a single space, with blank lines in between
Note the fixed or relevant GitHub issues at the end:
Resolves: #123
See also: #456, #789

✅ Code Review

  • Review the code, not the author. Look for and suggest improvements without disparaging or insulting the author. Provide actionable feedback and explain your reasoning.

  • You are not your code. When your code is critiqued, questioned, or constructively criticized, remember that you are not your code. Do not take code review personally.

  • Always do your best. No one writes bugs on purpose. Do your best, and learn from your mistakes.

  • Kindly note any violations to the guidelines specified in this document.

💅 Coding Style

Consistency is the most important. Following the existing style, formatting, and naming conventions of the file you are modifying and of the overall project. Failure to do so will result in a prolonged review process that has to focus on updating the superficial aspects of your code, rather than improving its functionality and performance.

For example, if all private properties are prefixed with an underscore _, then new ones you add should be prefixed in the same way. Or, if methods are named using camelcase, like thisIsMyNewMethod, then do not diverge from that by writing this_is_my_new_method. You get the idea. If in doubt, please ask or search the codebase for something similar.

When possible, style and format will be enforced with a linter.

🏅 Certificate of Origin

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

  1. The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
  2. The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
  3. The contribution was provided directly to me by some other person who certified (1), (2) or (3) and I have not modified it.
  4. I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

If you are reading this, bravo dear user and (hopefully) contributor for making it this far! You are awesome. 💯

To confirm that you have read this guide and are following it as best as possible, include this emoji at the top of your issue or pull request: 🖤

🙏 Credits

Please feel free to adopt this guide in your own projects. Fork it wholesale or remix it for your needs.

Many of the ideas and prose for the statements in this document were based on or inspired by work from the following communities:

We commend them for their efforts to facilitate collaboration in their projects.

Popular repositories Loading

  1. awesome-actuarial awesome-actuarialPublic

    An Awesome List of Actuarial Packages and Resources

    26 8

  2. pymort pymortPublic

    Jupyter Notebook 17 4

  3. benchmarks benchmarksPublic

    Some performance tests for actuarial applications

    Python 16 4

  4. python-notebooks python-notebooksPublic

    Jupyter Notebook 6

  5. expstudies expstudiesPublic

    An R Package for Life Experience Studies

    R 5 3

  6. methodology methodologyPublic

    For discussing and sharing methodology approaches

    Jupyter Notebook 4 1

Repositories

Showing 10 of 27 repositories

Top languages

Loading…

Most used topics

Loading…