Code Monkey home page Code Monkey logo

Comments (6)

mfthomps avatar mfthomps commented on June 10, 2024 1

from labtainers.

mfthomps avatar mfthomps commented on June 10, 2024 1

An update has been published to create a new container for checkwork operations. Use
update-labtainer.sh to get the update.

from labtainers.

mfthomps avatar mfthomps commented on June 10, 2024

Hi,
Thank for the report. I'll dig into it further, but would like to solicit opinions about the desired behavior of --redo when issued by the student. The original intent was to simply allow the student to get a fresh container that is free of any artifacts from previous work to allow performance of the lab without effects due to previous work. It was not intended to erase the history of the previous work, nor eliminate artifacts related to performance. For example, you do the lab, get it right and then decide you want to try some crazy stuff on the lab. So you use --redo and experiment and explore. Then you submit your work to the instructor. Shouldn't you get credit for getting it right, even though you later tried some experiments?

Perhaps Labtainers needs a distinct command to "hide my previous work from the world". I'd expect that deleting the zip and then doing a --redo would achieve that, but am only guessing for now.
Again, I'll dig into it some more, having forgotten much of what the current implementation does about the zip files in the --redo flag. Any thoughts on desired behavior are appreciated. Thanks again.

from labtainers.

xigaoli avatar xigaoli commented on June 10, 2024

Hi Mike,

Thanks a lot!

Indeed, labtainer may need a command to erase the previous work.
What I met today is a student did part of the work, then he used --redo and want a fresh start; however the labtainer preserved (and reverted) his previous work when he using the checkwork command.

Another example is when I grading the lab using gradelab, I graded some students (A), and then want to grade some new student submissions (B) so I deleted the (A), but gradelab will still show the grade (A), mixed with (B). And if I want to do the lab myself, I can't get rid of the students' results - they are permanent if not "find then sudo rm" them.

Sometimes labtainer labs runs into trouble such as work counter not increasing, checkwork not showing satisfied result, etc, students want to do it from a clean start, so using checkwork showing previous results make them confusing.

For the --redo command, (correct me if I'm wrong), if a user did something else in labtainer using --redo, should it show the corresponding results? Otherwise it also may confuse the user; for the original version of finished work, From my personal view, user can(should) preserve the original output (copy the zip from labtainer_xfer) to somewhere else by himself.

From a brief look at the redo (labutils.py:1973 - RedoLab() and StartLab()) python script, current implementation only starts a fresh container. Might be better if deletes all previously saved files (or get a new command doing this).

Really appreciated!

from labtainers.

xigaoli avatar xigaoli commented on June 10, 2024

Thanks!

from labtainers.

xigaoli avatar xigaoli commented on June 10, 2024

It worked, thanks a lot!

from labtainers.

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.