Git Product home page Git Product logo

Comments (2)

chrispyles avatar chrispyles commented on August 15, 2024

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.

KshitijKarnawat avatar KshitijKarnawat commented on August 15, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.