-
copycat/copycat contains basic setup files.
-
copycat/static contains all the images, javascript, and css files (this includes CodeMirror). static/tutor/javascript/problem.js contains the javascript which controls the page when a student is working on a problem.
-
copycat/tutor stores the majority of the code.
-
copycat/tutor/concepts contains the files relating to the concept map, including a JSON representing the most updated version.
-
copycat/tutor/java contains all the java code. When students write code, only the class file is saved. If student 4 submitted an implementation to problem "Equality", the class file would be located at copycat/tutor/java/bin/4/EqualityClass.class. Similarly, if student 4 submitted a test case to problem "Equality", the class file would be located at copycat/tutor/java/bin/4/test/EqualityTest.class.
-
copycat/tutor/problems contains all the exercises. Each exercise is located under a folder with the problem name. For each problem, the following files must be present:
- problem.txt - Contains the text to be displayed at the top of the exercise
- solution.java - Instructor solution.
- template.java - Template students will initially see. Areas where students should write code should be replaced with "// Your Code Here". Must contain Python code at the top (see strings/template.java for an example).
- test.java - Instructor test cases (Junit)
-
copycat/tutor/templates contains the templates.
- base.html sets up the header.
- index.html will display the current exercises. Loading this page will also update the exercises if their corresponding files have changed.
- show.html contains the formatting for displaying a problem.
-
copycat/tutor/models.py sets up the models for a Problem, a Response, and a Test
-
copycat/tutor/views.py sets up the methods to load a problem, compile Java code, run Java code against tests, and reset a problem.
-
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
uid/copycat
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published