Skip to content

Question: How do I see student solutions? #514

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

Open
heades opened this issue Feb 1, 2023 · 4 comments
Open

Question: How do I see student solutions? #514

heades opened this issue Feb 1, 2023 · 4 comments

Comments

@heades
Copy link

heades commented Feb 1, 2023

Related user(s):

No response

Related issue(s) or PR(s):

No response

Related project scope(s):

No response

Question?

I'm not sure how to see the students solutions. Is this in the docs? I may have missed it.

What has already been tested:

I did look at the Teach link, but not seeing a way to actually see student answers.

learn-ocaml --version

No response

git describe --long --always --abbrev=40 --tags

No response

What OS do you use?

GNU/Linux

What browser(s) do you use with learn-ocaml?

No response

Additional context:

No response

@erikmd
Copy link
Member

erikmd commented Feb 1, 2023

Dear @heades,
Good question, it appears the possible teacher workflows are not very well documented currently…
(Just tagged your issue as kind: documentation BTW.)
To sum up, as a teacher (having a so-called "teacher token" starting with X-xxx-xxx-xxx-xxx) you can indeed browse the Teach tab then see the list of exercises and the list of students tokens:

  • then double-click on any student line to see the list of all the exercises he/she participated in, including their code (provided they clicked on Grade!, Sync would not be sufficient… we plan to improve this).
  • or middle-click on an exercise to trigger the "partition-view" feature → cf. e.g. slide 10/20 of this presentation of mine: https://www.irit.fr/~Erik.Martin-Dorel/exposes/2022-W12_learn-ocaml_features.pdf (unfortunately this does not seems available on macOS, cf. issue #500).
  • or clone the underlying git repository of a given student → cf. e.g. slide 8/20 of the same presentation.

hoping that this helps; but feel free to ask more details

@erikmd
Copy link
Member

erikmd commented Feb 1, 2023

Also—just to recall—, if you are teacher and admin of your learn-ocaml instance, you can also fetch/backup/… the students solutions in the ./sync subdirectory (or in the typically-mounted-in-a-volume /sync directory if you use the official docker images).

@heades
Copy link
Author

heades commented Feb 17, 2023

Thanks so much @erikmd ! This helps a lot, and I now have it figured out. Sorry I didn't close this sooner.

@erikmd
Copy link
Member

erikmd commented Jan 26, 2025

I reopen this issue as it was symptomatic of some incomplete documentation on this topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants