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

source-academy / py-slang / 37918430650
86%

Build:
DEFAULT BRANCH: main
Ran 09 Oct 2026 10:46AM UTC
Jobs 1
Files 158
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

09 Oct 2026 10:34AM UTC coverage: 86.362% (+0.1%) from 86.245%
37918430650

push

github

web-flow
WASM: numeric builtins, math_*, min/max and streams (#488 slice) (#506)

* WASM: numeric builtins, math_*, min/max and streams (#488); fix lambda return env

Bridge abs, round, real/imag/complex, is_number/is_integer, random_random,
time_time and the math_* functions to the stdlib's TypeScript
implementations through a builtin.call host import, so semantics and error
messages match CSE. Add the math constants and min/max as a Python prelude
(two arguments in chapters 1-2, variadic from chapter 3), the stream
function plus the shared stream prelude for chapters 3-4, and share the
per-chapter groups between the browser evaluators and the CLI. Unsupported
builtins now report 'not supported by the WASM engine' instead of an
undefined name.

Also fix lambdas not restoring the caller's environment on return, which
broke any call to a lambda whose result was used (and so all streams).

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

* WASM: address review — decode complex() strings, reject bool in min/max, keep user imports over prelude

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

---------

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

5581 of 6925 branches covered (80.59%)

Branch coverage included in aggregate %.

122 of 129 new or added lines in 11 files covered. (94.57%)

12283 of 13760 relevant lines covered (89.27%)

210421.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
86.59
src/engines/wasm/builtinBridge.ts
2
91.2
1.43% src/engines/wasm/index.ts
Jobs
ID Job ID Ran Files Coverage
1 37918430650.1 09 Oct 2026 10:46AM UTC 158
86.36
GitHub Action Run
Source Files on build 37918430650
  • Tree
  • List 158
  • Changed 10
  • Source Changed 9
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37918430650
  • 590d8051 on github
  • Prev Build on main (#37914241839)
  • Next Build on main (#37921405688)
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