Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record list of submission names so you don't have to enter each one #10

Open
hmontero1205 opened this issue Jan 7, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@hmontero1205
Copy link
Owner

A common use case is to grade all submissions assigned to you in one session. pygrader should record a list of submissions and run through each one, as opposed to the grader having to restart pygrader each time.

it would also be good to display progress if you decide to use a list of submission names (e.g. 4/20 submissions remaining...)

@hmontero1205 hmontero1205 added the enhancement New feature or request label Jan 7, 2021
@hmontero1205
Copy link
Owner Author

@kentjhall You may be interested in porting over the morgrader logic you wrote to do this

PalashSharma20 pushed a commit to columbia-borowski/pygrader that referenced this issue Feb 13, 2025
* HW3: created rubric

* HW3: started to implement

* HW3: added a find open port

* Do more error-checking (hmontero1205#8)

* IMPROVE: error checking in grade.py
>
>     KEY ERROR: in def grade(), we now check if the table is in the rubric and if the item is in the table

* Remove trailing space

Co-authored-by: Dave <[email protected]>

* Don't add subitem to pretty-print if it's singleton rubric item (e.g. A2)

* Update README

* Setup hw3 env

* Checkout to hw3 submission tag

* Appease the linter

* HW3: implemented table A and B

    BUG: siege doesn't work

* HW3: setup, cleanup, siege, create_webroot, clean_webroot

    FIX: siege now working
    FIX: _clean_webroot() removes the webroot
    MODIFY: _create_webroot() now used dd to create the temp files

    ADD: grade.py now calles cleanup before exiting

* HW3: table D

    BUG: shutil.rmtree won't delete dir without read write

* HW3: fix _clean_webroot()

    FIX: first change the error dir to have RWE permissison

* HW3: bug fixes; complete table D

    FIX BUG: requests.get crash
    ADD TEST: D2.3 siege server on dir to get ls
    FIX BUG: kill multi-server name mistake

* HW3: testing server with slowloris attack

* HW3: server now runs in separate thread, and logs to server to file

* HW3: table B complete

* HW3: table B still not done! My bad..... ;)

* HW3: Big Update hw3 now inheriting from hw_super()

   BUGS: most of dynamic testing does not work
   FIX: bat highlighting

* HW3: fixed most linting issues

* HW3: more linting errors fixed

* HW3: fixed all pylint errors other than git errors and duplicate code

Co-authored-by: Hans Montero <[email protected]>
PalashSharma20 pushed a commit to columbia-borowski/pygrader that referenced this issue Feb 13, 2025
* HW3: created rubric

* HW3: started to implement

* HW3: added a find open port

* Do more error-checking (hmontero1205#8)

* IMPROVE: error checking in grade.py
>
>     KEY ERROR: in def grade(), we now check if the table is in the rubric and if the item is in the table

* Remove trailing space

Co-authored-by: Dave <[email protected]>

* Don't add subitem to pretty-print if it's singleton rubric item (e.g. A2)

* Update README

* Setup hw3 env

* Checkout to hw3 submission tag

* Appease the linter

* HW3: implemented table A and B

    BUG: siege doesn't work

* HW3: setup, cleanup, siege, create_webroot, clean_webroot

    FIX: siege now working
    FIX: _clean_webroot() removes the webroot
    MODIFY: _create_webroot() now used dd to create the temp files

    ADD: grade.py now calles cleanup before exiting

* HW3: table D

    BUG: shutil.rmtree won't delete dir without read write

* HW3: fix _clean_webroot()

    FIX: first change the error dir to have RWE permissison

* HW3: bug fixes; complete table D

    FIX BUG: requests.get crash
    ADD TEST: D2.3 siege server on dir to get ls
    FIX BUG: kill multi-server name mistake

* HW3: testing server with slowloris attack

* HW3: server now runs in separate thread, and logs to server to file

* HW3: table B complete

* HW3: table B still not done! My bad..... ;)

* HW3: Big Update hw3 now inheriting from hw_super()

   BUGS: most of dynamic testing does not work
   FIX: bat highlighting

* HW3: fixed most linting issues

* HW3: more linting errors fixed

* HW3: fixed all pylint errors other than git errors and duplicate code

Co-authored-by: Hans Montero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant