Parse reference solutions and evaluation criteria#16
Conversation
| /** | ||
| * Decodes a ROT13 encoded string. | ||
| */ | ||
| export function decodeRot13(str: string): string { |
There was a problem hiding this comment.
Is this necessary ? We can probably keep the solution in plain text.
Otherwise we should really encrypt it using a passphrase, but this involve more complexity for now.
There was a problem hiding this comment.
This was something that was mentioned during the last meeting and can be found in the codimd document. I think the idea isn't necessarily to have encryption as ROT13 can be easily decoded, but to at least make it so inspecting the metadata doesn't directly give you the answer, while keeping things simple (not using any actual secure encryption).

|
Thanks @brichet for the reviews! |
brichet
left a comment
There was a problem hiding this comment.
Thanks, LGTM.
Failing test is not related, jupyter-server/jupyter_releaser#659.
This PR implements decoding of encrypted reference solutions and parsing grading criteria from cell metadata to guide the AI tutor's feedback.