Skip to content

Transform exercises in Stack projects - Phase 4 - Migrating all exercises - Part 1#189

Merged
rbasso merged 2 commits intoexercism:masterfrom
rbasso:transform-exercises-in-stack-projects-phase-4-part-1
Jul 10, 2016
Merged

Transform exercises in Stack projects - Phase 4 - Migrating all exercises - Part 1#189
rbasso merged 2 commits intoexercism:masterfrom
rbasso:transform-exercises-in-stack-projects-phase-4-part-1

Conversation

@rbasso
Copy link
Copy Markdown
Contributor

@rbasso rbasso commented Jul 8, 2016

Transform exercises in Stack projects #185.
Phase 4 - Migrating all exercises - Part 1

Migrate to stack projects:

  • nth-prime
  • palindrome-products
  • pascals-triangle
  • pig-latin
  • pythagorean-triplet
  • saddle-points
  • say
  • secret-handshake
  • series
  • sieve
  • simple-cipher
  • connect
  • parallel-letter-frequency
  • sgf-parsing
  • go-counting
  • zipper
  • forth
  • lens-person

Fix comment in exercises/pov/package.yaml.

Add incomplete stub solutions:

  • nth-prime
  • pythagorean-triplet
  • saddle-points
  • say
  • secret-handshake
  • series
  • sieve

Add stub solutions based on test suite analysis:

  • connect
  • pascals-triangle
  • pig-latin
  • simple-cipher

Add stub solutions based on test instructions:

  • go-counting
  • palindrome-products
  • parallel-letter-frequency
  • sgf-parsing

Update stub solutions to allow compilation:

  • lens-person

@rbasso rbasso self-assigned this Jul 8, 2016
@petertseng
Copy link
Copy Markdown
Member

I feel I should say real quick that here and in pov as well, "you want to use in you solution." should probably be "you want to use in your solution."


isPythagorean = undefined

mkTriplet =undefined
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

probably good to add extra space after =, consistency

@rbasso
Copy link
Copy Markdown
Contributor Author

rbasso commented Jul 9, 2016

Thank you for the review! I will fix it, but merging will probably be delayed until we finish Phase 2 (Online testing pov).

exposed-modules: Sieve
source-dirs: src
dependencies:
- vector
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This leads me to see an interesting point! (This may apply to exercises other than sieve as well)

This vector is here because the example solution uses it, right? It is not necessarily the case that every submitted solution will use it.

Are we OK with leaving them in here?

Then again, the alternative is to have some custom thing that splices in the example solution's dependencies when we go to Travis, which is not necessarily something we want to tackle.

So our answer might be "We're OK with it", as long as students don't think their solution must use vector.

My personal answer is probably to keep it as is for now, see whether any problems come up

Copy link
Copy Markdown
Contributor Author

@rbasso rbasso Jul 9, 2016

Choose a reason for hiding this comment

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

This is a problem for which I have no good answer. Maybe this will force us to give more attention to the example solutions, as they will define the packages available by default.

It's a design flaw. My bad! 😁

Edit: If it turns out to be a big problem, we can have an example.yaml just for travis, but that would be ugly.

rbasso added 2 commits July 9, 2016 21:15
- nth-prime
- palindrome-products
- pascals-triangle
- pig-latin
- pythagorean-triplet
- saddle-points
- say
- secret-handshake
- series
- sieve
- simple-cipher
- connect
- parallel-letter-frequency
- sgf-parsing
- go-counting
- zipper
- forth
- lens-person

Fix comment in `exercises/pov/package.yaml`
Add incomplete stub solutions:

- nth-prime
- pythagorean-triplet
- saddle-points
- say
- secret-handshake
- series
- sieve

Add stub solutions based on test suite analysis:

- connect
- pascals-triangle
- pig-latin
- simple-cipher

Add stub solutions based on test instructions:

- go-counting
- palindrome-products
- parallel-letter-frequency
- sgf-parsing

Update stub solutions to allow compilation:

- lens-person
@rbasso rbasso merged commit ccd7732 into exercism:master Jul 10, 2016
@rbasso rbasso deleted the transform-exercises-in-stack-projects-phase-4-part-1 branch July 10, 2016 10:42
@petertseng petertseng mentioned this pull request Aug 17, 2016
4 tasks
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.

2 participants