Are the exercises a fixed collection?

I’m fairly sure the answer is, “no, but”.

I have in mind an exercise to have the student download a word list and search for words containing ‘a’ ‘e’ ‘i’ ‘o’ ‘u’ in that order without intervening vowels (so accepting ABSTENTIOUS but not ADVENTITIOUS.) This would test their awareness of http access functions and pattern matching.

I wrote something similar in Deno a couple of years ago.

1 Like

What’s the question?

Can additional exercises be added? Yes.

Where should it go? If the exercise is not track specific, it should probably go into the problem specifications repo.

What makes an exercise valuable to add to the collection of exercises? That’s a hard question to answer. The answer should probably involve something about the exercise not having too much overlap with existing exercises and bringing something new to the table.

1 Like

I’d encourage you to provide the word list, not download it. The test runner won’t have internet access (right, @ErikSchierboom?) so it will need to be already in the exercise directory.

From a config perspective, you can add the word list filename to the .files.editor array in .meta/config.json

That is correct.