blackening
blackening
https://github.com/source-academy/js-slang/blob/64c636f8ce283970ad7aa0c5b4cf6606053073c3/src/index.ts#L459 Based on this, the time-limit will only adjust upwards if the two programs are the same. If there's a prepend, the time limit will not be raised. Suggest moving...
https://github.com/source-academy/cadet/blob/6f5b3f334ccfd984dcdf1ffaf9ef941bff2b3744/lib/cadet_web/controllers/assessments_controller.ex#L436 May be required in the future.
## Reproduction * Run `npm install js-slang` * Clone the `testInContext` function from [[here](https://github.com/source-academy/js-slang/blob/02bf9398aa66a61c5baa507cca342ca6e4d30c74/src/utils/testing/index.ts#L58)](https://github.com/source-academy/js-slang/blob/02bf9398aa66a61c5baa507cca342ca6e4d30c74/src/utils/testing/index.ts#L58) ```ts const res = await testInContext("1+1;", { chapter: Chapter.SOURCE_2 }); res.context.errors[0] // -> TypeError: Cannot read...