Giter Club home page Giter Club logo

classroom-generator's People

Contributors

orbeckst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

classroom-generator's Issues

manage static assets via generate.yml

BUILD_all.sh contains poor heuristics for copying starter code and README.md. etc. It does not copy example directories.

All problem assets should be handled by generate_tests.py and listed in the generate.yml file.

failed workflow banner is shown even if only extra tests failed

If a test is marked as extra then failing this test will always fail the whole workflow and thus lead to a workflow banner that indicates failure.

This can confuse students who know that they don't need the extra work to get full points (and indeed, the point banner shows that they have NN/NN points).

Failing extra tests should not fail the whole workflow or at least the "passing" banner should be shown if all regular tests passed. See also #3 .

generate tests that use values in an anonymous function

I want to be able to generate tests that take a variable defined in a file and pass these to an (arbitrary) function that I define in generate.yml and then compare the output to a reference given in the generate.yml.

Something like "provide indices a and b so that you can extract the list ["fee"] from ["foo", "fee", "fum"]".

  1. get a and b from student work (eg a=1, b=2)
  2. define lambda a, b: ["foo", "fee", "fum"][a:b]
  3. compare to desired output (e.g. ["fee"])

See

installation as a package

Create a Python package that can be installed with the standard mechanisms (such as pip).

  • replace BUILD_all.sh with a proper Python script
  • add standard package infrastructure
  • put package on pypi

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.