Commit Graph

172 Commits

Author SHA1 Message Date
Robert Tice
3d4b160bd0 Modifying lab io regex to allow for no space between lab identifier and argument string. 2019-07-01 13:36:24 -04:00
Robert Tice
00ae65eb4f Adding lab tagging to stderr messages generated by lab output. 2019-05-31 12:02:11 -04:00
Robert Tice
8adf2ff1eb Removing debug ASCII printing. 2019-05-31 11:55:37 -04:00
Robert Tice
d9aed1e0b3 Removing extraneous import. 2019-05-31 11:51:14 -04:00
Robert Tice
e1c4f79fda Fixing regex in run.py that stripped initial space from expected output. 2019-05-31 11:33:11 -04:00
Robert Tice
3e687e5ead Refactoring some code. 2019-05-17 15:17:17 -04:00
Robert Tice
17acc8b52c Fixing error where issues sent on stdout that had a newline on the end were not rendered properly on the frontend with clickable references. 2019-04-08 12:17:48 -04:00
Robert Tice
7f25506a1d All messages from the server are json strings now. Also fixing docstrings. 2019-04-04 10:10:08 -04:00
Robert Tice
8ef4320920 Adding failure state to labs based on process retcode. 2019-04-03 15:38:25 -04:00
Robert Tice
e1cd55ba1a Removing all print statements in favor of specialized prints to ensure that all messages coming from backend are put in the correct place in the frontend. 2019-04-02 14:36:05 -04:00
Robert Tice
15088ef662 Restructuring print statements so that we can organize them on the frontend. 2019-04-02 14:22:59 -04:00
Robert Tice
1933a29808 refactoring unneccesary functions. Increasing readability of lab output. 2019-04-02 11:49:52 -04:00
Robert Tice
227a1a74d1 Fixing print messages for clarity and fixing input arg expansion problem. 2019-04-02 10:58:26 -04:00
Robert Tice
0f0f24c497 More refactoring. 2019-04-01 16:46:15 -04:00
Robert Tice
6bd6bc889f Adding more error checking and refactoring sanity checks. 2019-04-01 16:37:50 -04:00
Robert Tice
9d952cc61f Refactoring duplicate code. 2019-04-01 16:28:03 -04:00
Robert Tice
6397dd9301 Refactoring some redundancies. 2019-04-01 12:17:07 -04:00
Robert Tice
3f03ca0ac9 Fixing off-by-one error in run.py arg parsing. 2019-03-28 16:11:28 -04:00
Robert Tice
e97fb719e0 Strengthening regexes and refactoring debug print logic into debug_print. 2019-03-26 10:27:22 -04:00
Robert Tice
506f4d6afa Fixing lab io block regex to allow for blank input or blank output in a test case. 2019-03-26 09:38:24 -04:00
Robert Tice
4816baf252 Grabbing process output and comparing against known values for lab submission. 2019-03-25 16:27:56 -04:00
Robert Tice
0ec318391e Adding labs framework. Submit gets labs_io.txt from the frontend and uses that to drive test cases. TODO: need to figure out how to compare test case stdout with expected values to evaluate success. 2019-03-22 16:43:55 -04:00
Robert Tice
7cca6a37bd Changing DEBUG back to False in run.py. 2019-02-26 10:16:12 -05:00
Robert Tice
454cfa518a Adding functionality to allow command line arguments to be passed to executable. 2019-02-26 10:12:47 -05:00
Nicolas Setton
3024c55a46 Adjust regexp to know about underscores in identifiers
Fixes an issue where mains with underscores weren't considered
as mains.
2019-02-12 15:31:40 -05:00