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

source-academy / py-slang / 27491150850
74%

Build:
DEFAULT BRANCH: main
Ran 14 Jun 2026 06:54AM UTC
Jobs 1
Files 74
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

14 Jun 2026 06:51AM UTC coverage: 73.845% (+0.05%) from 73.8%
27491150850

push

github

web-flow
Fix CSE machine loop spec compliance (#153) (#155)

* Fix CSE machine loop spec compliance (#153)

- while loops now raise TypeError when condition is not boolean
- for loops now raise ValueError when range step is zero
- for loops push v1+v3 as a Binary expression onto control instead of a pre-computed literal
- remove stale forRangeRole tagging from evaluateForIterator

* Add tests for loop spec compliance (#153)

Cover the three new behaviours from the loop-spec fix:
- while loop raises TypeError when condition is not boolean
- for loop raises ValueError when range step is zero
- for loop produces empty output for start==stop or reversed step

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

1563 of 2384 branches covered (65.56%)

Branch coverage included in aggregate %.

22 of 24 new or added lines in 2 files covered. (91.67%)

4575 of 5928 relevant lines covered (77.18%)

11196.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
88.15
-0.05% src/engines/cse/interpreter.ts
Jobs
ID Job ID Ran Files Coverage
1 27491150850.1 14 Jun 2026 06:54AM UTC 74
73.85
GitHub Action Run
Source Files on build 27491150850
  • Tree
  • List 74
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27491150850
  • 067b0e73 on github
  • Prev Build on main (#25542846504)
  • Next Build on main (#28018457337)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc