Download individual submitted code for questions from the CodingBat website.
- compile and run once to generate config file
- provide details in config file (recommend verify yaml contents if not familiar with yaml)
- run again and give it 30-60 seconds to fetch all of the questions on CodingBat
- the current version is functional, but crude
- only fetches Java questions, Python coming
- makes no distinction between questions you've completed and questions you haven't
- will show errors if a question has comments in the code
- does not produce code you can run as-is, that is, without creating your own test files
Though this could be accomplished far more efficiently (lines of code) as a script, my students have been learning Java and I wanted to provide them with a tool written in Java to fetch their work for archival / portfolio purposes.