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

QuantEcon / QuantEcon.py / 31922203706
91%

Build:
DEFAULT BRANCH: main
Ran 16 Aug 2026 02:39AM 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

16 Aug 2026 02:34AM UTC coverage: 90.606% (+0.001%) from 90.605%
31922203706

push

github

web-flow
BUG: Return -1 from best_response_2p instead of falling through to None (#936)

* BUG: Return -1 from best_response_2p instead of falling through to None

When tol < 0, no action satisfies the tolerance condition and the
function fell through to an implicit None despite documenting an int
return. Return -1 in that case, as suggested by oyamad in the review
discussion on #576, and document the behavior.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* DOC: Drop 'must be nonnegative' from best_response_2p tol docs

The Returns section already documents the -1 sentinel for tol < 0, so
the input restriction read as contradictory. Addresses Copilot review
feedback on #936.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* DOC: Frame the -1 return of best_response_2p as an error condition

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* DOC: Restore the nonnegativity stipulation for best_response_2p tol

With -1 now explicitly framed as an error condition in the Returns
section, stating the valid domain in the parameter docs is
complementary rather than contradictory: the parameter doc gives the
precondition, the Returns doc gives the failure mode.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

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

5141 of 5674 relevant lines covered (90.61%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31922203706.1 16 Aug 2026 02:39AM UTC 94
90.61
GitHub Action Run
Source Files on build 31922203706
  • 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 #31922203706
  • 5758d989 on github
  • Prev Build on main (#31912350770)
  • Next Build on main (#31943460594)
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