Skip to content

run_onlineTA makes very specific assumptions on submission structure #63

Description

@madsobitsoe

The code currently expects a submission to

  • contain a file matching the regex README* in the root directory
    And OnlineTA to:
  • expect a file named code.zip

It also unpacks the submitted zip-file and re-zips it before sending it to online_ta as code.zip.

These assumptions are iirc. from PoP2021. I believe they should be removed.

The good thing about unzipping and rezipping is that we avoid submitting "junk" by cleaning up the students handins first.
The con of that, is that we hide the students' errors from them.
It's a choice between "making stuff work" and reporting errors.

I suggest we either add another function or clean up the one we already have.
The filename of the rezipped file should be the same as the submitted zip-file. (Or just use the submitted zip-file, although that will cause a lot fewer PoP-submissions to go through onlineTA successfully).

def run_onlineTA(base, handin, url):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions