← Blog

finance

2 articles about "finance".

ActuarialPythonpandas開源TestingFinancechainladder

One Character Made 775 Reserve Rows Wrong: Inside chainladder's CapeCod.predict Bug

chainladder-python, maintained by the Casualty Actuarial Society, is the standard library actuaries use for loss reserving. CapeCod.predict() had a condition written as > 1 that should have been > 0, so the most common usage got the wrong apriori: the comauto line fitted 0.569, predict returned 1.252, and all 775 rows were off. An existing test covered the path and still missed it, because its dataset always walked the other branch. On what the Cape Cod method computes, why the line was wrong, how the test missed, and the AI-use disclosure filed under casact's policy.

· 7 min read
AIfinanceGitHubopen sourcetradinghedge fundprediction markets

Best AI Finance GitHub Repos for Retail Investors (2026)

Which AI finance repos on GitHub can a retail investor actually run? 9 ranked by stars (26 Sep 2026), from ai-hedge-fund to NoFx, and which trade real money.

· 17 min read