|
Ran
|
Jobs
1
|
Files
60
|
Run time
1min
|
Badge
README BADGES
|
push
github
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
| 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 |
| 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 |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 23727466431.1 | 60 |
59.42 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|