Skip to content

Commit

Permalink
[v3] Sync source information from prob-specs
Browse files Browse the repository at this point in the history
Source information for Practice Exercises will be stored in their `.meta/config.json` file, in the (optional) `source` and/or `source_url` properties.
This commit adds the source information from the corresponding problem-specifications exercise to the `.meta/config.json` file.

The new [configlet](https://github.com/exercism/configlet) version will add support for doing this syncing automatically.

Exercism v3 will automatically include the source information in the README.md file that is sent via the CLI using the source properties in the `.meta/config.json` file.

See [the spec](https://github.com/exercism/docs/blob/main/anatomy/tracks/practice-exercises.md) for more information.
  • Loading branch information
ErikSchierboom authored and iHiD committed Feb 12, 2021
1 parent 65f71b5 commit 32b84c4
Show file tree
Hide file tree
Showing 47 changed files with 137 additions and 47 deletions.
4 changes: 3 additions & 1 deletion exercises/practice/acronym/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Julien Vanier",
"source_url": "https://github.com/monkbroc"
}
4 changes: 3 additions & 1 deletion exercises/practice/allergies/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Jumpstart Lab Warm-up",
"source_url": "http://jumpstartlab.com"
}
4 changes: 3 additions & 1 deletion exercises/practice/anagram/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Inspired by the Extreme Startup game",
"source_url": "https://github.com/rchatley/extreme_startup"
}
4 changes: 3 additions & 1 deletion exercises/practice/armstrong-numbers/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Narcissistic_number"
}
4 changes: 3 additions & 1 deletion exercises/practice/atbash-cipher/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Wikipedia",
"source_url": "http://en.wikipedia.org/wiki/Atbash"
}
4 changes: 3 additions & 1 deletion exercises/practice/binary-search-tree/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Josh Cheek",
"source_url": "https://twitter.com/josh_cheek"
}
4 changes: 3 additions & 1 deletion exercises/practice/binary/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "All of Computer Science",
"source_url": "http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-"
}
4 changes: 3 additions & 1 deletion exercises/practice/bob/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial.",
"source_url": "http://pine.fm/LearnToProgram/?Chapter=06"
}
4 changes: 3 additions & 1 deletion exercises/practice/collatz-conjecture/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "An unsolved problem in mathematics named after mathematician Lothar Collatz",
"source_url": "https://en.wikipedia.org/wiki/3x_%2B_1_problem"
}
3 changes: 2 additions & 1 deletion exercises/practice/darts/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Inspired by an exercise created by a professor Della Paolera in Argentina"
}
4 changes: 3 additions & 1 deletion exercises/practice/difference-of-squares/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Problem 6 at Project Euler",
"source_url": "http://projecteuler.net/problem=6"
}
4 changes: 3 additions & 1 deletion exercises/practice/etl/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "The Jumpstart Lab team",
"source_url": "http://jumpstartlab.com"
}
4 changes: 3 additions & 1 deletion exercises/practice/flatten-array/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Interview Question",
"source_url": "https://reference.wolfram.com/language/ref/Flatten.html"
}
4 changes: 3 additions & 1 deletion exercises/practice/gigasecond/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Chapter 9 in Chris Pine's online Learn to Program tutorial.",
"source_url": "http://pine.fm/LearnToProgram/?Chapter=09"
}
4 changes: 3 additions & 1 deletion exercises/practice/grains/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "JavaRanch Cattle Drive, exercise 6",
"source_url": "http://www.javaranch.com/grains.jsp"
}
4 changes: 3 additions & 1 deletion exercises/practice/hamming/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "The Calculating Point Mutations problem at Rosalind",
"source_url": "http://rosalind.info/problems/hamm/"
}
4 changes: 3 additions & 1 deletion exercises/practice/hello-world/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "This is an exercise to introduce users to using Exercism",
"source_url": "http://en.wikipedia.org/wiki/%22Hello,_world!%22_program"
}
4 changes: 3 additions & 1 deletion exercises/practice/isbn-verifier/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Converting a string into a number and some basic processing utilizing a relatable real world example.",
"source_url": "https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation"
}
4 changes: 3 additions & 1 deletion exercises/practice/isogram/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Isogram"
}
4 changes: 3 additions & 1 deletion exercises/practice/largest-series-product/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "A variation on Problem 8 at Project Euler",
"source_url": "http://projecteuler.net/problem=8"
}
4 changes: 3 additions & 1 deletion exercises/practice/leap/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "JavaRanch Cattle Drive, exercise 3",
"source_url": "http://www.javaranch.com/leap.jsp"
}
4 changes: 3 additions & 1 deletion exercises/practice/luhn/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "The Luhn Algorithm on Wikipedia",
"source_url": "http://en.wikipedia.org/wiki/Luhn_algorithm"
}
3 changes: 2 additions & 1 deletion exercises/practice/matching-brackets/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Ginna Baker"
}
4 changes: 3 additions & 1 deletion exercises/practice/meetup/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Jeremy Hinegardner mentioned a Boulder meetup that happens on the Wednesteenth of every month",
"source_url": "https://twitter.com/copiousfreetime"
}
4 changes: 3 additions & 1 deletion exercises/practice/nth-prime/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "A variation on Problem 7 at Project Euler",
"source_url": "http://projecteuler.net/problem=7"
}
4 changes: 3 additions & 1 deletion exercises/practice/pangram/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Pangram"
}
4 changes: 3 additions & 1 deletion exercises/practice/pascals-triangle/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Pascal's Triangle at Wolfram Math World",
"source_url": "http://mathworld.wolfram.com/PascalsTriangle.html"
}
4 changes: 3 additions & 1 deletion exercises/practice/perfect-numbers/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Taken from Chapter 2 of Functional Thinking by Neal Ford.",
"source_url": "http://shop.oreilly.com/product/0636920029687.do"
}
4 changes: 3 additions & 1 deletion exercises/practice/prime-factors/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "The Prime Factors Kata by Uncle Bob",
"source_url": "http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata"
}
3 changes: 2 additions & 1 deletion exercises/practice/protein-translation/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Tyler Long"
}
4 changes: 3 additions & 1 deletion exercises/practice/proverb/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Wikipedia",
"source_url": "http://en.wikipedia.org/wiki/For_Want_of_a_Nail"
}
4 changes: 3 additions & 1 deletion exercises/practice/raindrops/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "A variation on FizzBuzz, a famous technical interview question that is intended to weed out potential candidates. That question is itself derived from Fizz Buzz, a popular children's game for teaching division.",
"source_url": "https://en.wikipedia.org/wiki/Fizz_buzz"
}
4 changes: 3 additions & 1 deletion exercises/practice/resistor-color-duo/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Maud de Vries, Erik Schierboom",
"source_url": "https://github.com/exercism/problem-specifications/issues/1464"
}
4 changes: 3 additions & 1 deletion exercises/practice/resistor-color/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Maud de Vries, Erik Schierboom",
"source_url": "https://github.com/exercism/problem-specifications/issues/1458"
}
4 changes: 3 additions & 1 deletion exercises/practice/reverse-string/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Introductory challenge to reverse an input string",
"source_url": "https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb"
}
4 changes: 3 additions & 1 deletion exercises/practice/rna-transcription/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Hyperphysics",
"source_url": "http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html"
}
4 changes: 3 additions & 1 deletion exercises/practice/roman-numerals/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "The Roman Numeral Kata",
"source_url": "http://codingdojo.org/cgi-bin/index.pl?KataRomanNumerals"
}
4 changes: 3 additions & 1 deletion exercises/practice/run-length-encoding/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Run-length_encoding"
}
4 changes: 3 additions & 1 deletion exercises/practice/scrabble-score/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Inspired by the Extreme Startup game",
"source_url": "https://github.com/rchatley/extreme_startup"
}
4 changes: 3 additions & 1 deletion exercises/practice/secret-handshake/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Bert, in Mary Poppins",
"source_url": "http://www.imdb.com/title/tt0058331/quotes/qt0437047"
}
4 changes: 3 additions & 1 deletion exercises/practice/series/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "A subset of the Problem 8 at Project Euler",
"source_url": "http://projecteuler.net/problem=8"
}
4 changes: 3 additions & 1 deletion exercises/practice/sieve/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Sieve of Eratosthenes at Wikipedia",
"source_url": "http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes"
}
4 changes: 3 additions & 1 deletion exercises/practice/space-age/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Partially inspired by Chapter 1 in Chris Pine's online Learn to Program tutorial.",
"source_url": "http://pine.fm/LearnToProgram/?Chapter=01"
}
4 changes: 3 additions & 1 deletion exercises/practice/strain/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Conversation with James Edward Gray II",
"source_url": "https://twitter.com/jeg2"
}
Loading

0 comments on commit 32b84c4

Please sign in to comment.