Skip to content
This repository was archived by the owner on Jan 3, 2018. It is now read-only.

Programmatically extract individual challenges into separate md files #120

Closed
strootman opened this issue Jan 14, 2015 · 9 comments
Closed
Assignees
Milestone

Comments

@strootman
Copy link

During a recent workshop, I manually broke out the challenges from several lessons into individual md files.
This was very convenient to display only one challenge at a time. Also, I could display them from my own computer if the network went down

@jdblischak
Copy link
Contributor

I have also extracted exercises manually in the past and wished it could be automated. Not only is this nice for displaying for the students, but I also like to compile all the challenges (and ideally their solutions as well) to give the helpers to prepare for the workshop.

@fmichonneau
Copy link
Contributor

For data carpentry I used what I called a "skeleton" file that includes the
exercises and useful pieces of code. The file is generated automatically by
the make file using knitr::purl(). It's not perfect because the text for
the exercise is duplicated (once in the lesson and once as comments in the
R chunk) but the participants liked it.

On Wed, Jan 14, 2015 at 9:54 PM, John Blischak notifications@github.com
wrote:

I have also extracted exercises manually in the past and wished it could
be automated. Not only is this nice for displaying for the students, but I
also like to compile all the challenges (and ideally their solutions as
well) to give the helpers to prepare for the workshop.


Reply to this email directly or view it on GitHub
#120 (comment)
.

@rgaiacs
Copy link
Contributor

rgaiacs commented Jan 16, 2015

Thanks all for the feedbacks.

This was very convenient to display only one challenge at a time. Also, I could display them from my own computer if the network went down

@strootman I like to wrote the challenges at the etherpad because (1) I can add extra challenges and (2) students can write their solutions if they want so. Unfortunately this isn't bullet proof across network problems.

I also like to compile all the challenges (and ideally their solutions as well) to give the helpers to prepare for the workshop.

@jdblischak I believe that we can accomplish this using CSS. I'm working to get the all-in-one version of the lesson and will add your request to all-in-one version of challenges.

For data carpentry I used what I called a "skeleton" file that includes the exercises and useful pieces of code.

Jekyll allows this "skeleton" model but many of our instructors complained when we try to use it, more information at swcarpentry/DEPRECATED-bc#729.

@gvwilson
Copy link
Contributor

gvwilson commented Jun 7, 2015

@r-gaia-cs @abought progress on this?

@rgaiacs
Copy link
Contributor

rgaiacs commented Jun 7, 2015

@gvwilson Nope. And I will only be available to work on this next month. =(

@fmichonneau
Copy link
Contributor

@gvwilson
Copy link
Contributor

gvwilson commented Jun 7, 2015 via email

@abought
Copy link
Contributor

abought commented Jun 12, 2015

I'm going to build on the script from #247, with some filename handling improvements.

Is there any preference on filename / format conventions for the output? If people are doing anything special to render/display the individual challenge files, I can add post-processing to make this as convenient as possible for our instructors.

@gvwilson
Copy link
Contributor

gvwilson commented Feb 3, 2016

This one has gone stale, but will be revived once a new lesson format is agreed on - the new Kramdown tools for exporting an AST as JSON will help.

@gvwilson gvwilson closed this as completed Feb 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants