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

source-academy / py-slang / 23727466431
61%

Build:
DEFAULT BRANCH: main
Ran 30 Mar 2026 04:07AM UTC
Jobs 1
Files 60
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

30 Mar 2026 04:06AM UTC coverage: 59.421% (+18.2%) from 41.233%
23727466431

push

github

web-flow
Python chapter 2 (+ 3?) support (#81)

* feat: introduce chapter-based CSE evaluators + improve type safety of value type + add stubs for LINKED_LIST group

* add Python Chapter 1 back to the Rollup config

* Turned resolver type-checking back on + fix build_linked_list not working

* Fix bug where groups weren't loading + Make builtins more type-safe + Added native list functions (print_linked_list, head, tail)

* my changes

* Add Python chapter 3 functions + Fix syntax of stream prelude + Add list creation instruction + Make parser variant specific + Add basic tests for standard library

* Fix rounding + add tests for linked lists

* Fixed bug regarding representation of strings (printing ["a", "b"] returned [a, b])

* Mark files as unused (for now)

* Fix test cases

* Added variant to parser in WASM compiler

* Fix linked-list prelude using the old terminology of list + Fix build_linked_list(None) returning None instead of list()

* Add ability to check output from testing framework

* Add documentation for TestCases + add the repr function

* Improve alignment with Python specs + add ability to index lists + move variant checking to the resolver + improve test names + add a lot more tests

* Add more tests for operators + restrict the not operator to only booleans + disallow booleans in the unary minus operator

* FIx print_linked_list not actually printing the linked list

* Implement while loops + unpacking with for loops + implement tuples + break and continue

* Added a public is_linked_list function, added more comprehensive test cases for is_pair and is_linked_list

* extended test cases for linked lists

* Updated to have distinction between linkedlist Value and Python List for ease of future implementation of python list

* Revert "Updated to have distinction between linkedlist Value and Python List for ease of future implementation of python list"

This reverts commit d444793b1.

* fixed and/or operator bu... (continued)

779 of 1553 branches covered (50.16%)

Branch coverage included in aggregate %.

442 of 651 new or added lines in 32 files covered. (67.9%)

17 existing lines in 4 files now uncovered.

2400 of 3797 relevant lines covered (63.21%)

3195.38 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
80.21
37.35% src/cse-machine/types.ts
1
90.0
src/validator/features/loop-break-continue-only.ts
1
77.78
src/validator/features/no-is-operator.ts
2
91.3
src/cse-machine/instrCreator.ts
2
55.45
41.12% src/errors/errors.ts
3
79.03
src/cse-machine/environment.ts
5
66.67
src/stdlib/stream.ts
8
84.0
-16.0% src/resolver/errors.ts
12
40.0
src/stdlib/pairmutator.ts
13
48.28
src/stdlib/list.ts
16
62.79
src/cse-machine/operators.ts
30
64.86
src/cse-machine/utils.ts
56
18.79
12.68% src/stdlib.ts
59
74.05
src/cse-machine/interpreter.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.37
-0.51% src/ast-types.ts
3
17.07
-7.32% src/validator/traverse.ts
4
73.27
5.04% src/resolver/resolver.ts
9
18.79
12.68% src/stdlib.ts
Jobs
ID Job ID Ran Files Coverage
1 23727466431.1 30 Mar 2026 04:07AM UTC 60
59.42
GitHub Action Run
Source Files on build 23727466431
  • Tree
  • List 60
  • Changed 18
  • Source Changed 14
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23727466431
  • e908db8d on github
  • Prev Build on main (#23705602541)
  • Next Build on main (#23740964738)
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