Closed firasm closed 3 years ago
This is not advisable based on the PL docs.
Actually according to the prairie learn docs, the "correct_answers" need to be in the data not data["params"]
I have been using data['params'] for all non answer fields and data['correct_answers'] for possible answers. I have local version of the md sample file that I modify as needed as im developing the conversion script; I was going to wait for our next meeting before overwriting the github file but can post it if you would like
Perfect, that's good - that's what the docs recommend/require.
I am actively updating the template files at the moment.
I've done several cleanup things:
part1
, it makes sense that data['correct_answers']
should be data['correct_answers']['part1']
part1
YAML header redundant so I've removed thatchoices: ans1, ans2, ans3, ans4
key:value in for now, A version of this has been implemented in PR #17. This will come to bite us in the butt though, so let this be some foresight...
What would be the consequence (if any) to the md_to_pl script if the
correct_answer
was moved from data['params'] to data['vars']?