This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def count(digitgen): | |
"Takes an iterator which yields the digits of a number system and counts using it." | |
def subcount(digitgen, places): | |
if places == 1: | |
for d in digitgen(): | |
yield d | |
else: | |
for d in digitgen(): | |
for ld in subcount(digitgen, places - 1): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Front End: | |
Run tests functionality (we can run every time they hit run) | |
[X] Test output tab has a line for every line in the reference | |
[x] Modify the html in static/custom/templates/Rayage.html to mess with test output contents | |
[X] 'Test' button sends a message asking for a diff. Server responds with a JSON object | |
[ ] downgrade Test output from terminal to something simpler | |
[ ] change 'Logout' to 'Unspoof' when we are spoofing. (Can't figure this one out. I have code that should do this at static/custom/RayageMenu.js:70. It's not very high priority for me) | |
Submit assignment | |
message to server: "submit_assigment" |