|
Ran
|
Jobs
1
|
Files
167
|
Run time
1min
|
Badge
README BADGES
|
push
github
Error Handling and Stringify Changes (#1893) * Modify stringify to prioritize toReplString * Make the extract declarations helper actually work * Add ability to change loader for source modules * Add a new option for controlling how Source modules are loaded * Improve typing for CSE machine * Add ability to check if modules are loaded with the wrong Source chapter * Refactor errors to extend from Error class * Refactor modules errors * Refactor parser errors * Refactor cse machine errors * Mostly fix error handling in the tracer * Tidy up generator and explainer implementations for tracer * Remove unnecessary imports and type guards * Adjust rttc checks to be type guards instead of returning errors * Adjust miscellanous error changes * Add eslint rule for useless constructor * Fix incorrect ordering for checking exceptionerrors * Minor changes * Run format * Run linting * Override the message property, but also enable noImplicitOverride to prevent accidental overriding * Add some documentation to some errors * Add errors to possible imports for modules * Update getIds helper * Minor fix to test case * Run format * Allow modules to try and load the context of other modules without crashing * Fix incorrect stdlib name * Add some more functions to the stdlib list library * Change to use GeneralRuntimeError for list * Revert "Change to use GeneralRuntimeError for list" This reverts commit 642bd99e6. * Update src/errors/errors.ts Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Add ability to change manifest and docs importers * Change how external builtins are defined * Fix typings and list lib overloads * Miscellanous changes * Add the Source equality function to stdlib/misc * Merge from main branch for tracer * Add handling for the new importers * Change errors and made redex a local variable * Improve tracer typing * Relocate... (continued)
3125 of 4193 branches covered (74.53%)
Branch coverage included in aggregate %.
899 of 1089 new or added lines in 96 files covered. (82.55%)
21 existing lines in 12 files now uncovered.7031 of 8741 relevant lines covered (80.44%)
185057.72 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 3 |
91.35 |
0.7% | src/cse-machine/interpreter.ts |
| 3 |
90.37 |
-3.68% | src/cse-machine/utils.ts |
| 3 |
86.36 |
3.27% | src/stepper/generator.ts |
| 2 |
51.61 |
0.0% | src/editors/ace/modes/source.ts |
| 2 |
81.63 |
-6.37% | src/runner/sourceRunner.ts |
| 2 |
74.79 |
-0.21% | src/stdlib/parser.ts |
| 1 |
59.05 |
7.74% | src/errors/errors.ts |
| 1 |
69.49 |
1.07% | src/modules/errors.ts |
| 1 |
81.08 |
-2.25% | src/modules/loader/loaders.ts |
| 1 |
70.0 |
-3.53% | src/stepper/nodes/Expression/Identifier.ts |
| 1 |
92.31 |
-1.81% | src/stepper/nodes/Statement/ExpressionStatement.ts |
| 1 |
26.92 |
2.79% | src/typeChecker/internalTypeErrors.ts |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 24868044425.1 | 167 |
78.52 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|