Comments (2)
Otter has a plugin system that is easy to extend if you'd like to write your own plugin to accomplish this: https://otter-grader.readthedocs.io/en/latest/plugins/index.html
For your existing solution, you can have otter include the .py file your script generates in its zip file by adding the files
argument to Notebook.export
(so that students only need to submit the zip file). If you're using otter assign, this can be set in the assignment config. For example, if your script writes a file named hw01.py
:
# ASSIGNMENT CONFIG
export_cell:
files:
- hw01.py
If you'd like a built-in method of doing this (i.e. for us to write a plugin that's built into Otter for this), I'm happy to leave this open but I don't know when I'll get around to it.
from otter-grader.
@chrispyles Thanks for the quick reply.
This indeed resolves most of our issues.
I will close this issue. I understand that making this a built-in feature is not on your priority list and the workaround is quite good for the issue and easy to set up.
Thanks.
from otter-grader.
Related Issues (20)
- Otter run --debug flag does not work HOT 1
- Gradescope does tests in a different order than in the jupyter notebook HOT 3
- Otter Generate should deduplicate user-specified requirements with otter-provided ones HOT 1
- Empty assignment config results in AttributeError
- Strip type annotations from generated test files in Otter Assign
- Add process for retrieving the executed notebook to docs
- Add metadata to last solution cell to run hidden test cases if question has no public tests
- Add manually graded questions within the same gradescope assignment HOT 1
- Add Points Per Question and Total Points to final_grades.csv HOT 2
- Refactor otter grade image builds so that assignment data is not included in the grading image HOT 1
- Otter-grader problems with juno app on ios HOT 4
- Cannot run grade HOT 4
- Incorrerct Grade HOT 11
- Plugins and submission_metadata HOT 4
- Otter Grade and Notebook Timeout
- Otter Grade: Write out Individual Results as well as final_grades.csv HOT 2
- Add support for Quarto assignments in R HOT 2
- Problem with variable name in test HOT 1
- Add option to get results pickle file to otter run
- R image build requires mamba gcc_linux-64 and gxx_linux-64 HOT 5
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 otter-grader.