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

source-academy / py-slang / 33252805903
86%

Build:
DEFAULT BRANCH: main
Ran 29 Aug 2026 12:46PM UTC
Jobs 1
Files 139
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

29 Aug 2026 12:33PM UTC coverage: 85.672% (+0.05%) from 85.625%
33252805903

push

github

web-flow
Fix the same pair()/llist() chain bug in the stepper's module interop (#451)

#450 fixed the CSE machine and py2js compiler's pythonToModule, but the
substitution stepper (src/conductor/stepper/moduleInterop.ts) has its own,
independent copy of this conversion logic, with the identical bug: llist(a, b)
is nested 2-element ArrayExpression nodes - ArrayExpression[a,
ArrayExpression[b, None]] - not the flat ArrayExpression[a, b] a literal
[a, b] produces. stepNodeToModule's "ArrayExpression" case mapped node.elements
1:1 regardless, so a chain crossed into a module as a 2-element ARRAY whose
second element was itself a nested sub-list.

Same fix, mirrored: isProperLlist (already used by lists.ts's own
head/tail/print_llist family) is now exported and gates a flattening walk that
only fires for a genuine chain terminating in None - a flat literal list, or a
raw 2-tuple, takes the exact same path as before, unchanged.

Confirms source-academy/modules#931 was hit on the Stepper evaluator too
(chapters 1-2 default to it), even after #450 fixed CSE/py2js.

4846 of 6083 branches covered (79.66%)

Branch coverage included in aggregate %.

10 of 10 new or added lines in 2 files covered. (100.0%)

10856 of 12245 relevant lines covered (88.66%)

161317.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33252805903.1 29 Aug 2026 12:46PM UTC 139
85.67
GitHub Action Run
Source Files on build 33252805903
  • Tree
  • List 139
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33252805903
  • 41288e5e on github
  • Prev Build on main (#33248548384)
  • Next Build on main (#33709168755)
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