Skip to content

Add configuration defaults for nextercism - #704

Merged
Smarticles101 merged 1 commit into
masterfrom
nextercism-defaults
Jul 15, 2017
Merged

Smarticles101 merged 1 commit into
masterfrom
nextercism-defaults

Conversation

@kytrinyx

Copy link
Copy Markdown
Member

We will be moving to a tree-shaped track rather than a linear one, as described in the progression & learning in Exercism design document.

In order to support this, we need to expand the metadata that exercises are configured with.

Note that 'core' exercises are never unlocked by any other exercises. Core exercises appear in the track in the order that they are listed in the array.

Non-core exercises depend on only one exercise (unlocked_by: ). At the moment we are assuming that this is a core exercise, but there is no reason that it needs to be.

Until now we have operated with a separate deprecated array. These are now being moved into the exercises array with a deprecated field.

With these defaults the track in nextercism will have no core exercises, and all the exercises will be available as 'extras' from the start.

If you haven't already, now would be a good time to do the following:

  • add a rough estimate of difficulty to each exercise (scale: 1-10)
  • add topics to each exercise
  • choose at most 20 exercises to be core exercises (set core: true, and delete the unlocked_by key)
  • for each exercise that is not core, decide which exercise is the prerequisite (max 1)

If possible, leave 3 or 4 simple exercises as (core: false, unlocked_by: null), as this will provide new participants with some exercises that they can tackle even if they have not finished the first core exercise.

See exercism/meta#16

We will be moving to a tree-shaped track rather than a linear one, as described in the [progression & learning in Exercism](https://github.com/exercism/docs/blob/master/about/conception/progression.md) design document.

In order to support this, we need to expand the metadata that exercises are configured with.

Note that 'core' exercises are never unlocked by any other exercises. Core exercises appear in the track in the order that they are listed in the array.

Non-core exercises depend on only one exercise (unlocked_by: ). At the moment we are assuming that this is a core exercise, but there is no reason that it needs to be.

Until now we have operated with a separate deprecated array. These are now being moved into the exercises array with a deprecated field.

With these defaults the track in nextercism will have no core exercises, and all the exercises will be available as 'extras' from the start.

If you haven't already, now would be a good time to do the following:

* add a rough estimate of difficulty to each exercise (scale: 1-10)
* add topics to each exercise
* choose *at most 20 exercises* to be core exercises (set core: true, and delete the unlocked_by key)
* for each exercise that is not core, decide which exercise is the prerequisite (max 1)

If possible, leave 3 or 4 simple exercises as (core: false, unlocked_by: null), as this will provide new participants with some exercises that they can tackle even if they have not finished the first core exercise.

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks @kytrinyx :)

So when people port a new exercise to java from another track, they need to generate the uuid for it? Exactly what am I meant to tell them to do?

@Smarticles101

Copy link
Copy Markdown
Member

I have the same question as @FridaTveit

Where do the udid's come from?

@kytrinyx

kytrinyx commented Jul 15, 2017 via email

Copy link
Copy Markdown
Member Author

@kytrinyx

Copy link
Copy Markdown
Member Author

Ok, back at my computer :)

You can use any UUID tool—as long as the UUID is different from any other UUID on Exercism.

I used Ruby's SecureRandom.uuid. When I document this I'll link to https://www.uuidgenerator.net/ so people don't have to go find their own tool if they don't have one.

@Smarticles101

Copy link
Copy Markdown
Member

Awesome, thanks @kytrinyx

@Smarticles101
Smarticles101 merged commit 9027667 into master Jul 15, 2017
@FridaTveit FridaTveit mentioned this pull request Jul 16, 2017
@stkent
stkent deleted the nextercism-defaults branch July 16, 2017 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants