OGOGI stands for OTOG Grader that is Optimized. Plus it can now Grade Interactive problem (previously known as otogGraderII)
This is an attempt to improve otogGrader mainly by implementing interactive script. OGOGI is also planed to use Cython for better performance.
- Now implemented external comparing script
- Modularization.
- Unlimited # of testcase.
- Command mode (type ' : ')
- Featuring 'reload' command. Reload any module without having to restart the grader.
- Improved debug console.
- Cleaner code for better maintainent.
- Minor performance improvement.
Todo is short-term plans that ment to be done within current version.
- Add more functionality to command mode
- Debug.
- More error handling.
Features to add in future version.
- Implement Cython.
- Reimplement modules using class.
- Add support for other languages. (to be considered)
Must be named interactive_script.py and put in source/probName.
Template:
# interactive_script.py
import sys
resultPath = sys.argv[1]
problemDir = sys.argv[2]
atCase = sys.argv[3]
# Do something
if answer_is_correct:
print("P")
else:
print("-")/grader
/compiled
/env
/img
/install
/source
.gitignore
LICENSE
ogogi
README.md
YES, please :) Pull requests are welcome.
- Karnjj - original work - Github
- pannxe - OGOGI project - Github
- Amethyst - supervisor - Github
- krist7599555 - supervisor - Github
OGOGI is under MIT licence.
