Comments (4)
Generation of "emptied" solution files that act as templates is perfectly possible with nbgrader, just enclosing stuff that needs to be hidden with "### BEGIN SOLUTION" and "# END SOLUTION".
Not sure what happens with travis-generated content, though. I think it can be commited next to the solution files with a small script in travis, then we would have a travis commit after each of our commits
from reinforcement_learning_course_materials.
Does the enclosing works also for markdown?
If not, how do we mark solutions there?
from reinforcement_learning_course_materials.
Ok this is the instruction list:
- Install nbgrader with
conda install jupyter
conda install -c conda-forge nbgrader
(do not use pip!)
-
Get the folder structure right, such that nbgrader can work:
- exercises/
- nbgrader_config.py # configuration
- templates/ # destination for autogenerated templates
- solutions/ # actual source code (solutions with markers)
- ex1/
- ex2/
...
- exercises/
-
For each exercise solution notebook:
- Open the notebook and click on
View
>Cell toolbar
>Create Assignment
- This enables assigning types and points to each cell
- Mark task templates with "read-only", solution markdown with "manually graded answer", and solution code with "autograded answer", where solution lines are enclosed with
### BEGIN SOLUTION
and### END SOLUTION
.
- Open the notebook and click on
-
Generate the template from the solution with
nbgrader generate_assignment "<<exercise name>>"
,
e.g.nbgrader generate_assignment "ex01"
I can go ahead and start with point 2 but I will need assistance for point 3 and all exercises except 1 and 8.
The generation of the templates (point 4) from the solutions can be outsourced to TravisCI as soon as we have 1-3 finished.
from reinforcement_learning_course_materials.
all templates are generated and readmes were created.
from reinforcement_learning_course_materials.
Related Issues (15)
- Exercise 5: Change the example environment for tasks 3 & 4 HOT 2
- Grammatical Errors HOT 1
- A mistake in lecture 1, slide 46 HOT 1
- Insufficient explanation Lecture 2, slide 8 HOT 2
- A typo in Lecture 2, slide 13 HOT 1
- Lecture 2, slide 28: inconsistent notation HOT 2
- Lecture 2, slide 40: rewording is needed HOT 1
- Missed steps in going from Eq.3 to Eq.3.12 HOT 1
- Eligibility traces for SARSA(lambda) HOT 2
- Dependency Issues for Running the Excercises HOT 3
- Representation error in the task sheet 3 (template and solution) HOT 4
- Grammatical Error HOT 1
- Exercise 4: cannot find Racetrack Environment HOT 1
- Lecture2 figure caption is cut HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reinforcement_learning_course_materials.