• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

QuantEcon / QuantEcon.py / 39014093342
94%

Build:
DEFAULT BRANCH: main
Ran 17 Oct 2026 07:38AM UTC
Jobs 1
Files 94
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Oct 2026 07:33AM UTC coverage: 94.136% (-0.005%) from 94.141%
39014093342

push

github

web-flow
FIX: put the next-state expectation inside the inverse in solve_discrete_riccati_system (#983)

solve_discrete_riccati_system, which LQMarkov.stationary_values uses,
averaged the quadratic correction term over next-period Markov states
outside the inverse. The control is chosen before the next state is
known, so the expectation belongs inside: each P_i now gets the
single-state Riccati update evaluated at P_bar_i = sum_j Π[i, j] P_j.
The returned Ps are now the cost of following the returned Fs, and the
Fs are optimal. The left factor is formed directly rather than as a
transpose, so rounding asymmetry in Ps cannot grow across sweeps.

The docstring now states the equation solved and the ndim=3 return
type. The TestLQMarkov reference values are regenerated, and three
tests are added: Ps equal the exact cost of following Fs, perturbing
Fs does not lower that cost, and identical regimes match LQ.

Fixes #982

Assisted-by: Claude Code (Claude Sonnet 5.5)
Assisted-by: Claude Code (Claude Opus 5.5)
Signed-off-by: Gaurav Jadhav <gaurav.vjadhav01@gmail.com>
Co-authored-by: Matt McKay <mmcky@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

5603 of 5952 relevant lines covered (94.14%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39014093342.1 17 Oct 2026 07:38AM UTC 94
94.14
GitHub Action Run
Source Files on build 39014093342
  • Tree
  • List 94
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39014093342
  • ea7f43a6 on github
  • Prev Build on main (#38863802093)
  • Next Build on main (#39017508338)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc