MOSS integration #34

Closed
opened 2024-09-10 15:58:20 +08:00 by manuel · 14 comments
Owner

For kind of backward compatibility we might want to think of how to handle MOSS. At the moment we don't have any "frontend" as JOJ1 had and we should not have one.

possible options to reflect on:

  • integrate to joj as a plugin, eg. with moss: h4 submissions (only sent to moss if activated by TT member)
  • integrate it to teapot
  • integrate it to gitea.sh
  • use gitea action attached to submission repo (cf. joj integration)
For kind of backward compatibility we might want to think of how to handle MOSS. At the moment we don't have any "frontend" as JOJ1 had and we should not have one. possible options to reflect on: - integrate to joj as a plugin, eg. with `moss: h4 submissions` (only sent to moss if activated by TT member) - integrate it to teapot - integrate it to gitea.sh - use gitea action attached to submission repo (cf. joj integration)
manuel added the
enhancement
component
parser
labels 2024-09-10 15:58:20 +08:00

better to integrate into teapot (or somewhere student's can't see.)
if we integrate into joj/gitea actions, since moss return a link to submitted code, eventually students could see what others write

better to integrate into teapot (or somewhere student's can't see.) if we integrate into joj/gitea actions, since moss return a link to submitted code, eventually students could see what others write
Author
Owner

sorry, to clarify: git action for the submission repo (not for students repos). for each course we have a repo where all prev submissions are stores (eg. ece482-submissions).

mechanics would have to be implemented somewhere, but triggered by some commit message, eg. moss: h2 commit on the submission repo could launch teapot to send the request to MOSS and open an issue with the link to the report

sorry, to clarify: git action for the submission repo (not for students repos). for each course we have a repo where all prev submissions are stores (eg. ece482-submissions). mechanics would have to be implemented somewhere, but triggered by some commit message, eg. `moss: h2` commit on the submission repo could launch teapot to send the request to MOSS and open an issue with the link to the report

still seems better to do in teapot...
since the thing moss returns is an "intermediate" result, not something that judgers or teapot can make direct use of

still seems better to do in teapot... since the thing moss returns is an "intermediate" result, not something that judgers or teapot can make direct use of
Author
Owner

yes teapot would make more sense. gitea actions would only provide an easy interface...

yes teapot would make more sense. gitea actions would only provide an easy interface...

so we label this as wontfix and open an issue at teapot's repository instead?

so we label this as *wontfix* and open an issue at teapot's repository instead?
Author
Owner

i guess teapot is a big part of joj3 (called it "joj-suite" for install purpose...). lets see what @bomingzh thinks then we can move to teapot if he is fine with it

i guess teapot is a big part of joj3 (called it "joj-suite" for install purpose...). lets see what @bomingzh thinks then we can move to teapot if he is fine with it

Do we only need to run MOSS once on all submissions of one homework after due date?

Do we only need to run MOSS once on all submissions of one homework after due date?
Author
Owner

yes but we need to include all prev submissions (from prev years). idea is to push new submissions to the repo, then we're ready to send that whole assignment to moss

yes but we need to include all prev submissions (from prev years). idea is to push new submissions to the repo, then we're ready to send that whole assignment to moss
Author
Owner

a simple independent script run through gitea actions coiuld also work... might not need to go through teapot for that?

a simple independent script run through gitea actions coiuld also work... might not need to go through teapot for that?

a simple independent script run through gitea actions coiuld also work... might not need to go through teapot for that?

Agree. This part is just not related to any other system. Just a script that sends everything stored in the assignment dir to MOSS is enough.

> a simple independent script run through gitea actions coiuld also work... might not need to go through teapot for that? Agree. This part is just not related to any other system. Just a script that sends everything stored in the assignment dir to MOSS is enough.

so where should the action being invoked, (upon submission) at students repo or (at end of semester) submissions repo?

so where should the action being invoked, (upon submission) at students repo or (at end of semester) submissions repo?
Author
Owner

ideally at the end of each hw all submissions are collected (could be automated by scanning all repos for releases) then pushed to submission repo. then all sent to MOSS. should be relatively straightforward to implement.

the "sent to MOSS" could then be autamatically done through gitea actions

ideally at the end of each hw all submissions are collected (could be automated by scanning all repos for releases) then pushed to submission repo. then all sent to MOSS. should be relatively straightforward to implement. the "sent to MOSS" could then be autamatically done through gitea actions
王韵晨520370910012 added the
wontfix
label 2024-09-12 16:54:35 +08:00
张泊明518370910136 removed the
wontfix
label 2024-09-15 10:02:41 +08:00
张泊明518370910136 removed the
component
parser
label 2024-09-26 04:50:06 +08:00

:-( moss is not working now. Could not connect to server moss.stanford.edu: Connection refused

:-( moss is not working now. `Could not connect to server moss.stanford.edu: Connection refused`

Done in 07db55402b.

Done in https://github.com/BoYanZh/Joint-Teapot/commit/07db55402b51e42bf3819cd8d005e4ea9e0efa17.
Sign in to join this conversation.
No description provided.