From 9d38f17f89fdbcbf6505054ca0d8ec45767f297d Mon Sep 17 00:00:00 2001 From: henrydingliu <106109320+henrydingliu@users.noreply.github.com> Date: Wed, 6 May 2026 21:32:03 -0700 Subject: [PATCH 1/9] Update data-tutorial.ipynb removing an old link --- docs/getting_started/tutorials/data-tutorial.ipynb | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/getting_started/tutorials/data-tutorial.ipynb b/docs/getting_started/tutorials/data-tutorial.ipynb index 8f414fd3..eeff7245 100644 --- a/docs/getting_started/tutorials/data-tutorial.ipynb +++ b/docs/getting_started/tutorials/data-tutorial.ipynb @@ -7,8 +7,6 @@ "# Data Preparation\n", "## Getting Started\n", "This tutorial focuses on data, including a brief discussion on how to best prepare your data so it works well with the `chainladder` package. \n", - "\n", - "Be sure to make sure your packages are updated. For more info on how to update your pakages, visit [Keeping Packages Updated](https://chainladder-python.readthedocs.io/en/latest/library/install.html#keeping-packages-updated)." ] }, { From 28c76d0b6faab72a8774f9e72b895e40934ac074 Mon Sep 17 00:00:00 2001 From: henrydingliu <106109320+henrydingliu@users.noreply.github.com> Date: Wed, 6 May 2026 21:32:23 -0700 Subject: [PATCH 2/9] Update data-tutorial.ipynb removing an old link --- docs/getting_started/tutorials/data-tutorial.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started/tutorials/data-tutorial.ipynb b/docs/getting_started/tutorials/data-tutorial.ipynb index eeff7245..0c372d35 100644 --- a/docs/getting_started/tutorials/data-tutorial.ipynb +++ b/docs/getting_started/tutorials/data-tutorial.ipynb @@ -6,7 +6,7 @@ "source": [ "# Data Preparation\n", "## Getting Started\n", - "This tutorial focuses on data, including a brief discussion on how to best prepare your data so it works well with the `chainladder` package. \n", + "This tutorial focuses on data, including a brief discussion on how to best prepare your data so it works well with the `chainladder` package. \n" ] }, { From 2ef7ab482cbfe87c3e28aa54aedcf73089309928 Mon Sep 17 00:00:00 2001 From: henrydingliu <106109320+henrydingliu@users.noreply.github.com> Date: Wed, 6 May 2026 21:32:47 -0700 Subject: [PATCH 3/9] Update deterministic-tutorial.ipynb removing an old link --- docs/getting_started/tutorials/deterministic-tutorial.ipynb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/getting_started/tutorials/deterministic-tutorial.ipynb b/docs/getting_started/tutorials/deterministic-tutorial.ipynb index dc2cce7e..cb080c65 100644 --- a/docs/getting_started/tutorials/deterministic-tutorial.ipynb +++ b/docs/getting_started/tutorials/deterministic-tutorial.ipynb @@ -6,9 +6,7 @@ "source": [ "# Applying Deterministic Methods\n", "## Getting Started\n", - "This tutorial focuses on using deterministic methods to square a triangle. \n", - "\n", - "Be sure to make sure your packages are updated. For more info on how to update your pakages, visit [Keeping Packages Updated](https://chainladder-python.readthedocs.io/en/latest/library/install.html#keeping-packages-updated)." + "This tutorial focuses on using deterministic methods to square a triangle. \n" ] }, { From 72deb71d7901e731f1471bcd4ed20b1d88a5cf54 Mon Sep 17 00:00:00 2001 From: henrydingliu <106109320+henrydingliu@users.noreply.github.com> Date: Wed, 6 May 2026 21:33:33 -0700 Subject: [PATCH 4/9] Update development-tutorial.ipynb removing an old link --- docs/getting_started/tutorials/development-tutorial.ipynb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/getting_started/tutorials/development-tutorial.ipynb b/docs/getting_started/tutorials/development-tutorial.ipynb index a93bdf46..27cef2a7 100644 --- a/docs/getting_started/tutorials/development-tutorial.ipynb +++ b/docs/getting_started/tutorials/development-tutorial.ipynb @@ -6,9 +6,7 @@ "source": [ "# Development Tutorial\n", "## Getting Started\n", - "This tutorial focuses on selecting the development factors. \n", - "\n", - "Be sure to make sure your packages are updated. For more info on how to update your pakages, visit [Keeping Packages Updated](https://chainladder-python.readthedocs.io/en/latest/library/install.html#keeping-packages-updated)." + "This tutorial focuses on selecting the development factors. \n" ] }, { From 09d8999e9fc072aeabf657436c89cbe1809993a1 Mon Sep 17 00:00:00 2001 From: henrydingliu <106109320+henrydingliu@users.noreply.github.com> Date: Wed, 6 May 2026 21:33:52 -0700 Subject: [PATCH 5/9] Update stochastic-tutorial.ipynb removing an old link --- docs/getting_started/tutorials/stochastic-tutorial.ipynb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/getting_started/tutorials/stochastic-tutorial.ipynb b/docs/getting_started/tutorials/stochastic-tutorial.ipynb index d27d86b1..903ed71b 100644 --- a/docs/getting_started/tutorials/stochastic-tutorial.ipynb +++ b/docs/getting_started/tutorials/stochastic-tutorial.ipynb @@ -6,9 +6,7 @@ "source": [ "# Applying Stochastic Methods\n", "## Getting Started\n", - "This tutorial focuses on using stochastic methods to estimate ultimates. \n", - "\n", - "Be sure to make sure your packages are updated. For more info on how to update your pakages, visit [Keeping Packages Updated](https://chainladder-python.readthedocs.io/en/latest/library/install.html#keeping-packages-updated)." + "This tutorial focuses on using stochastic methods to estimate ultimates. \n" ] }, { From 516046c98cad16343c96c2cbb74e9afa1f3843dc Mon Sep 17 00:00:00 2001 From: henrydingliu <106109320+henrydingliu@users.noreply.github.com> Date: Wed, 6 May 2026 21:34:11 -0700 Subject: [PATCH 6/9] Update tail-tutorial.ipynb removing an old link --- docs/getting_started/tutorials/tail-tutorial.ipynb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/getting_started/tutorials/tail-tutorial.ipynb b/docs/getting_started/tutorials/tail-tutorial.ipynb index 933c44af..f6caf9ad 100644 --- a/docs/getting_started/tutorials/tail-tutorial.ipynb +++ b/docs/getting_started/tutorials/tail-tutorial.ipynb @@ -6,9 +6,7 @@ "source": [ "# Extending Development Patterns with Tails\n", "## Getting Started\n", - "This tutorial focuses on extending the developent patterns beyond the tail. \n", - "\n", - "Be sure to make sure your packages are updated. For more info on how to update your pakages, visit [Keeping Packages Updated](https://chainladder-python.readthedocs.io/en/latest/library/install.html#keeping-packages-updated)." + "This tutorial focuses on extending the developent patterns beyond the tail. \n" ] }, { From d414987bd6be461d13b351eb3a4693397930ca1c Mon Sep 17 00:00:00 2001 From: henrydingliu <106109320+henrydingliu@users.noreply.github.com> Date: Wed, 6 May 2026 21:36:44 -0700 Subject: [PATCH 7/9] Update contributing.md changing reference of latest to main --- docs/library/contributing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/library/contributing.md b/docs/library/contributing.md index 71a800f2..da85d68d 100644 --- a/docs/library/contributing.md +++ b/docs/library/contributing.md @@ -21,7 +21,7 @@ You can help improve and shape the project in many ways: 2. Volunteer to implement code changes for existing issues. 3. Ask questions or discuss ideas on the [discussion forum](https://github.com/casact/chainladder-python/discussions). 4. Improve documentation where it is unclear. -5. Create new examples or tutorials in the [examples section](https://chainladder-python.readthedocs.io/en/latest/gallery/index.html). +5. Create new examples or tutorials in the [examples section](https://chainladder-python.readthedocs.io/main/gallery/index.html). --- From 80af53378ea75c40998028f18776d906ec6756da Mon Sep 17 00:00:00 2001 From: henrydingliu <106109320+henrydingliu@users.noreply.github.com> Date: Wed, 6 May 2026 21:41:24 -0700 Subject: [PATCH 8/9] Update README.rst switching out "latest" for main --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 1b2f3020..38ed11e8 100644 --- a/README.rst +++ b/README.rst @@ -15,8 +15,8 @@ .. |Build Status| image:: https://github.com/casact/chainladder-python/actions/workflows/pytest.yml/badge.svg :target: https://github.com/casact/chainladder-python/actions/workflows/pytest.yml -.. |Documentation Status| image:: https://readthedocs.org/projects/chainladder-python/badge/?version=latest - :target: https://chainladder-python.readthedocs.io/en/latest/?badge=latest +.. |Documentation Status| image:: https://readthedocs.org/projects/chainladder-python/badge/?version=main + :target: https://chainladder-python.readthedocs.io/main/ .. |codecov io| image:: https://codecov.io/gh/casact/chainladder-python/branch/master/graphs/badge.svg :target: https://codecov.io/github/casact/chainladder-python?branch=latest From 822c052c519c23a2393073c3f25a647dd465179d Mon Sep 17 00:00:00 2001 From: Kenneth Hsu Date: Thu, 7 May 2026 08:59:15 -0700 Subject: [PATCH 9/9] Removed the /en/ in urls --- README.rst | 2 +- .../tutorials/triangle-tutorial.ipynb | 3312 ++++++++--------- docs/library/releases.md | 10 +- 3 files changed, 1662 insertions(+), 1662 deletions(-) diff --git a/README.rst b/README.rst index 38ed11e8..4b32b804 100644 --- a/README.rst +++ b/README.rst @@ -50,7 +50,7 @@ We have a dedicated documentation website, where you can find installation instr Visit `Chainladder-Python on Read the Docs`_. -.. _Chainladder-Python on Read the Docs: https://chainladder-python.readthedocs.io/ +.. _Chainladder-Python on Read the Docs: https://chainladder-python.readthedocs.io/stable/ Contributors Working Group ---------------------------- diff --git a/docs/getting_started/tutorials/triangle-tutorial.ipynb b/docs/getting_started/tutorials/triangle-tutorial.ipynb index 07c0979c..e2d3a67a 100644 --- a/docs/getting_started/tutorials/triangle-tutorial.ipynb +++ b/docs/getting_started/tutorials/triangle-tutorial.ipynb @@ -6,7 +6,7 @@ "source": [ "# Working with Triangles\n", "## Getting Started\n", - "Welcome! We drafted these tutorials to help you get familiar with some of the common functionalities that most actuaries can use in their day-to-day responsibilities. The package also comes with [pre-installed datasets](https://chainladder-python.readthedocs.io/en/latest/library/sample_data.html#sample-dataset) that you can play with, which are also used in the tutorials here.\n", + "Welcome! We drafted these tutorials to help you get familiar with some of the common functionalities that most actuaries can use in their day-to-day responsibilities. The package also comes with [pre-installed datasets](https://chainladder-python.readthedocs.io/stable/library/sample_data.html#sample-dataset) that you can play with, which are also used in the tutorials here.\n", "\n", "The tutorials assume that you have the basic understanding of commonly used actuarial terms, and can independently perform an actuarial analysis in another tool, such as Microsoft Excel or another actuarial software. Furthermore, it is assumed that you already have some familiarity with Python, and that you have the basic knowledge and experience in using some common packages that are popular in the Python community, such as `pandas` and `numpy`." ] @@ -20,18 +20,18 @@ }, { "cell_type": "code", + "execution_count": 1, "metadata": { "ExecuteTime": { "end_time": "2026-01-28T04:18:57.448569Z", "start_time": "2026-01-28T04:18:57.446429Z" } }, + "outputs": [], "source": [ "# import jupyter_black as jb\n", "# jb.load()" - ], - "outputs": [], - "execution_count": 1 + ] }, { "cell_type": "markdown", @@ -39,26 +39,18 @@ "source": [ "All tutorials and exercises rely on chainladder v0.8.12 and later. It is highly recommended that you run your project in a virtual environment to facilitate package management and to avoid dependency conflicts with other projects.\n", "\n", - "For more info on installing chainladder and managing its dependencies, visit [Installation](https://chainladder-python.readthedocs.io/en/latest/getting_started/install.html)." + "For more info on installing chainladder and managing its dependencies, visit [Installation](https://chainladder-python.readthedocs.io/stable/getting_started/install.html)." ] }, { "cell_type": "code", + "execution_count": 2, "metadata": { "ExecuteTime": { "end_time": "2026-01-28T04:18:58.517070Z", "start_time": "2026-01-28T04:18:57.637807Z" } }, - "source": [ - "import pandas as pd\n", - "import numpy as np\n", - "import chainladder as cl\n", - "\n", - "print(\"pandas: \" + pd.__version__)\n", - "print(\"numpy: \" + np.__version__)\n", - "print(\"chainladder: \" + cl.__version__)" - ], "outputs": [ { "name": "stdout", @@ -70,7 +62,15 @@ ] } ], - "execution_count": 2 + "source": [ + "import pandas as pd\n", + "import numpy as np\n", + "import chainladder as cl\n", + "\n", + "print(\"pandas: \" + pd.__version__)\n", + "print(\"numpy: \" + np.__version__)\n", + "print(\"chainladder: \" + cl.__version__)" + ] }, { "cell_type": "markdown", @@ -81,17 +81,17 @@ }, { "cell_type": "code", + "execution_count": 3, "metadata": { "ExecuteTime": { "end_time": "2026-01-28T04:18:58.823841Z", "start_time": "2026-01-28T04:18:58.527160Z" } }, + "outputs": [], "source": [ "%matplotlib inline" - ], - "outputs": [], - "execution_count": 3 + ] }, { "cell_type": "markdown", @@ -111,44 +111,16 @@ }, { "cell_type": "code", + "execution_count": 4, "metadata": { "ExecuteTime": { "end_time": "2026-01-28T04:18:58.992727Z", "start_time": "2026-01-28T04:18:58.834683Z" } }, - "source": [ - "raa_df = pd.read_csv(\n", - " \"https://raw.githubusercontent.com/casact/chainladder-python/master/chainladder/utils/data/raa.csv\"\n", - ")\n", - "raa_df.head(20)" - ], "outputs": [ { "data": { - "text/plain": [ - " development origin values\n", - "0 1981 1981 5012.0\n", - "1 1982 1982 106.0\n", - "2 1983 1983 3410.0\n", - "3 1984 1984 5655.0\n", - "4 1985 1985 1092.0\n", - "5 1986 1986 1513.0\n", - "6 1987 1987 557.0\n", - "7 1988 1988 1351.0\n", - "8 1989 1989 3133.0\n", - "9 1990 1990 2063.0\n", - "10 1982 1981 8269.0\n", - "11 1983 1982 4285.0\n", - "12 1984 1983 8992.0\n", - "13 1985 1984 11555.0\n", - "14 1986 1985 9565.0\n", - "15 1987 1986 6445.0\n", - "16 1988 1987 4020.0\n", - "17 1989 1988 6947.0\n", - "18 1990 1989 5395.0\n", - "19 1983 1981 10907.0" - ], "text/html": [ "
\n", "