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

source-academy / py-slang / 33248548384
86%

Build:
DEFAULT BRANCH: main
Ran 29 Aug 2026 11:00AM 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 10:45AM UTC coverage: 85.625% (+0.02%) from 85.61%
33248548384

push

github

web-flow
Fix pair()/llist() chains misconverting into a nested module ARRAY (#450)

* Fix pair()/llist() chains misconverting into a nested module ARRAY

llist(a, b) builds nested cons cells - { list: [a, { list: [b, { none }] }] } -
not the flat { list: [a, b] } a literal [a, b] produces (py2js: [a, [b, null]]
vs. [a, b]). pythonToModule's list/array conversion mapped the raw JS array
1:1 regardless, so a chain crossed into a module as a 2-element ARRAY whose
second element was itself a nested sub-list, instead of the list's actual
elements - e.g. consecutively(llist(piano(60, 1), piano(64, 1))) in the sound
module received [sound1, [sound2, EMPTY_LIST]] instead of [sound1, sound2].

isProperList (already used by head/tail/_print_llist) now gates a flattening
walk that only fires for a genuine chain terminating in None - a flat literal
list of any length, or a raw 2-tuple like a round-tripped module PAIR, takes
the exact same path as before, unchanged.

Fixes source-academy/modules#931.

* Apply prettier formatting

4843 of 6081 branches covered (79.64%)

Branch coverage included in aggregate %.

19 of 19 new or added lines in 3 files covered. (100.0%)

10841 of 12236 relevant lines covered (88.6%)

161435.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33248548384.1 29 Aug 2026 11:00AM UTC 139
85.63
GitHub Action Run
Source Files on build 33248548384
  • Tree
  • List 139
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33248548384
  • 32212ffd on github
  • Prev Build on main (#32939238869)
  • Next Build on main (#33252805903)
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