GithubHelp home page GithubHelp logo

Add tests for MigrationGrader about rag HOT 6 OPEN

tansaku avatar tansaku commented on August 20, 2024
Add tests for MigrationGrader

from rag.

Comments (6)

tansaku avatar tansaku commented on August 20, 2024

I set up a test of the new grader for doing a migration grading, but we get this error

#<Graders::AutoGrader::NoSuchGraderError: Can't find grading strategy for MigrationGrader>

which I've encountered before - which is related to previous issue I mentioned in #63

I can quick fix that by adding the following temporarily to lib/autograder.rb:44

    require_relative 'graders/migration_grader/migration_grader.rb'

but that leads to this error:

expected PutResultException, got #<ArgumentError: Unable to find submission file "submissions/506af89a6181960fc69f47f1fbc8d708/performance-assignment/2016-02-19-12-20-54"> with backtrace:
        # ./lib/graders/migration_grader/migration_grader.rb:19:in `initialize'

which makes me think that the migration grader is still operating exactly at the old grader. So we would need to change the operation of the migration grader to work with wherever the submissions are now being inserted ...

from rag.

tansaku avatar tansaku commented on August 20, 2024

note of course that setting up this way still falls foul of #70 ...

from rag.

tansaku avatar tansaku commented on August 20, 2024

So the existing MigrationGrader is looking for an archive file submitted by the student, however the new grader is providing a directory ...

from rag.

tansaku avatar tansaku commented on August 20, 2024

the old migration grader unpacks the archive with a TempArchiveFile class that's no longer in the repo ...

from rag.

zhangaaron avatar zhangaaron commented on August 20, 2024

Not too aware of the migration grader, this was a low priority grader that was not updated with the autograder rehauling last summer. We aren't using it in Professor Fox's offering of the class, are you aware of any interest in using it in the online class?

from rag.

tansaku avatar tansaku commented on August 20, 2024

hi @zhangaaron it's being used in the online class (and has been every cycle for the last 3 years), and one of your fellow TAs recently asked for access to add two more homeworks to the Berkeley SPOC - not sure if this was one of them ...

from rag.

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.