Coder Social home page Coder Social logo

Comments (13)

wabscale avatar wabscale commented on June 26, 2024 2

We dont use celery, we use python-rq. It is just like celery, but significantly simpler. I did half of the backend bit for this issue here if you want to see how it was put together. It was basically just making an enqueue function (something we do to keep our rpc calls organized) for the bulk_autograde.

ee32af1

from anubis.

wabscale avatar wabscale commented on June 26, 2024 1

No, no one is working on this right now. Go ahead if you would like to take it

from anubis.

devbazregari avatar devbazregari commented on June 26, 2024

bro, do you want the admin users could manually trigger all the functions in lms/autograde.py ?
this means i should set an endpoint that when admin users call all the functions get executed , am I right ?l

from anubis.

wabscale avatar wabscale commented on June 26, 2024

There is a bit more to this than just calling the function. The autograde functions generally take quite a while to run. We'll need the endpoints to enqueue the bulk_autograde function to run in an rpc queue.

from anubis.

devbazregari avatar devbazregari commented on June 26, 2024

sorry bro it's beyond my abilities. I haven't worked with RPC. but I know about celery and async if you can handle your work with these two techs I can be a little helpful

from anubis.

dolf321 avatar dolf321 commented on June 26, 2024

@wabscale Is somebody working on this(asking because its in progress on the board)

from anubis.

dolf321 avatar dolf321 commented on June 26, 2024

Yes, ill take it up thanks!

from anubis.

dolf321 avatar dolf321 commented on June 26, 2024

Clarifying @wabscale :

You want an autograde button here:
Image

And you want me to call this "enqueue_bulk_autograde" function in the backend:

Image

Let me know if i'm missing anything here.

from anubis.

wabscale avatar wabscale commented on June 26, 2024

Oh the title of this is slightly misleading. We actually already have a button for regrading an entire assignment. We need a button for regrading all the submissions for a given student.

I guess it likely makes sense to put the actual button on the admin assignment page (the one with the assignment specific settings) that opens a dialog with an autocomplete that has all the students. TA then selects the student from the dropdown, and clicks regrade. That hits the endpoint that will call the enqueue_bulk_regrade_submissions function with all the submissions from that student. Let me know if this makes sense.

You don't need to do the frontend if that is too much react/mui stuff. If you do half, I'll do the other half.

from anubis.

dolf321 avatar dolf321 commented on June 26, 2024

Oh! Okay well I've definitely misconstrued that issue sorry(my poor button what a waste), yes i'll be on it. Hopefully will finish half of the frontend by today, would you like commit access to my fork or would you like me to pr unfinished frontend code? Or i could PR to a new branch as well.

from anubis.

wabscale avatar wabscale commented on June 26, 2024

When you open the PR, I think you can check a box to allow maintainers (so me) to be able to push to the branch in your repo.

from anubis.

dolf321 avatar dolf321 commented on June 26, 2024

@wabscale do you think it should go in the autograde results section instead? Or i can stick to assignments as agreed if you'd like.

from anubis.

wabscale avatar wabscale commented on June 26, 2024

Well this action would completely invalidate everything on the student's results page. The new results will not be recalculated for at least a minute or two. So you would need to redirect after clicking somewhere else.

Feel free to add that too if you want, but the main way of doing it should be the way I described.

from anubis.

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.