Skip to content

Commit 8a4de87

Browse files
[v3] Sync source information from prob-specs
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.
1 parent d18ac65 commit 8a4de87

File tree

79 files changed

+233
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+233
-79
lines changed

exercises/practice/accumulate/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Conversation with James Edward Gray II",
9+
"source_url": "https://twitter.com/jeg2"
810
}

exercises/practice/acronym/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Julien Vanier",
9+
"source_url": "https://github.com/monkbroc"
810
}

exercises/practice/allergies/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Jumpstart Lab Warm-up",
9+
"source_url": "http://jumpstartlab.com"
810
}

exercises/practice/anagram/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Inspired by the Extreme Startup game",
9+
"source_url": "https://github.com/rchatley/extreme_startup"
810
}

exercises/practice/armstrong-numbers/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Wikipedia",
9+
"source_url": "https://en.wikipedia.org/wiki/Narcissistic_number"
810
}

exercises/practice/atbash-cipher/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Wikipedia",
9+
"source_url": "http://en.wikipedia.org/wiki/Atbash"
810
}

exercises/practice/beer-song/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Learn to Program by Chris Pine",
9+
"source_url": "http://pine.fm/LearnToProgram/?Chapter=06"
810
}

exercises/practice/binary-search-tree/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Josh Cheek",
9+
"source_url": "https://twitter.com/josh_cheek"
810
}

exercises/practice/binary-search/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Wikipedia",
9+
"source_url": "http://en.wikipedia.org/wiki/Binary_search_algorithm"
810
}

exercises/practice/binary/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "All of Computer Science",
9+
"source_url": "http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-"
810
}

exercises/practice/bob/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial.",
9+
"source_url": "http://pine.fm/LearnToProgram/?Chapter=06"
810
}

exercises/practice/bowling/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "The Bowling Game Kata at but UncleBob",
9+
"source_url": "http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata"
810
}

exercises/practice/change/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Software Craftsmanship - Coin Change Kata",
9+
"source_url": "https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata"
810
}

exercises/practice/clock/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Pairing session with Erin Drummond",
9+
"source_url": "https://twitter.com/ebdrummond"
810
}

exercises/practice/collatz-conjecture/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "An unsolved problem in mathematics named after mathematician Lothar Collatz",
9+
"source_url": "https://en.wikipedia.org/wiki/3x_%2B_1_problem"
810
}

exercises/practice/crypto-square/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "J Dalbey's Programming Practice problems",
9+
"source_url": "http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html"
810
}

exercises/practice/diamond/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Seb Rose",
9+
"source_url": "http://claysnow.co.uk/recycling-tests-in-tdd/"
810
}

exercises/practice/difference-of-squares/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Problem 6 at Project Euler",
9+
"source_url": "http://projecteuler.net/problem=6"
810
}

exercises/practice/diffie-hellman/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Wikipedia, 1024 bit key from www.cryptopp.com/wiki.",
9+
"source_url": "http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange"
810
}

exercises/practice/dnd-character/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Simon Shine, Erik Schierboom",
9+
"source_url": "https://github.com/exercism/problem-specifications/issues/616#issuecomment-437358945"
810
}

exercises/practice/dot-dsl/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Wikipedia",
9+
"source_url": "https://en.wikipedia.org/wiki/DOT_(graph_description_language)"
810
}

exercises/practice/etl/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "The Jumpstart Lab team",
9+
"source_url": "http://jumpstartlab.com"
810
}

exercises/practice/flatten-array/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Interview Question",
9+
"source_url": "https://reference.wolfram.com/language/ref/Flatten.html"
810
}

exercises/practice/gigasecond/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Chapter 9 in Chris Pine's online Learn to Program tutorial.",
9+
"source_url": "http://pine.fm/LearnToProgram/?Chapter=09"
810
}

exercises/practice/grade-school/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "A pairing session with Phil Battos at gSchool",
9+
"source_url": "http://gschool.it"
810
}

exercises/practice/grains/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "JavaRanch Cattle Drive, exercise 6",
9+
"source_url": "http://www.javaranch.com/grains.jsp"
810
}

exercises/practice/grep/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Conversation with Nate Foster.",
9+
"source_url": "http://www.cs.cornell.edu/Courses/cs3110/2014sp/hw/0/ps0.pdf"
810
}

exercises/practice/hamming/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "The Calculating Point Mutations problem at Rosalind",
9+
"source_url": "http://rosalind.info/problems/hamm/"
810
}

exercises/practice/hello-world/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "This is an exercise to introduce users to using Exercism",
9+
"source_url": "http://en.wikipedia.org/wiki/%22Hello,_world!%22_program"
810
}

exercises/practice/hexadecimal/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "All of Computer Science",
9+
"source_url": "http://www.wolframalpha.com/examples/NumberBases.html"
810
}

exercises/practice/isbn-verifier/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Converting a string into a number and some basic processing utilizing a relatable real world example.",
9+
"source_url": "https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation"
810
}

exercises/practice/isogram/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Wikipedia",
9+
"source_url": "https://en.wikipedia.org/wiki/Isogram"
810
}

exercises/practice/kindergarten-garden/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Random musings during airplane trip.",
9+
"source_url": "http://jumpstartlab.com"
810
}

exercises/practice/largest-series-product/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "A variation on Problem 8 at Project Euler",
9+
"source_url": "http://projecteuler.net/problem=8"
810
}

exercises/practice/leap/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "JavaRanch Cattle Drive, exercise 3",
9+
"source_url": "http://www.javaranch.com/leap.jsp"
810
}

exercises/practice/luhn/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "The Luhn Algorithm on Wikipedia",
9+
"source_url": "http://en.wikipedia.org/wiki/Luhn_algorithm"
810
}

exercises/practice/matching-brackets/.meta/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Ginna Baker"
89
}

exercises/practice/matrix/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Warmup to the `saddle-points` warmup.",
9+
"source_url": "http://jumpstartlab.com"
810
}

exercises/practice/meetup/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Jeremy Hinegardner mentioned a Boulder meetup that happens on the Wednesteenth of every month",
9+
"source_url": "https://twitter.com/copiousfreetime"
810
}

exercises/practice/nth-prime/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "A variation on Problem 7 at Project Euler",
9+
"source_url": "http://projecteuler.net/problem=7"
810
}

exercises/practice/nucleotide-count/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "The Calculating DNA Nucleotides_problem at Rosalind",
9+
"source_url": "http://rosalind.info/problems/dna/"
810
}

exercises/practice/ocr-numbers/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Inspired by the Bank OCR kata",
9+
"source_url": "http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR"
810
}

exercises/practice/palindrome-products/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Problem 4 at Project Euler",
9+
"source_url": "http://projecteuler.net/problem=4"
810
}

exercises/practice/pangram/.meta/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Wikipedia",
9+
"source_url": "https://en.wikipedia.org/wiki/Pangram"
810
}

0 commit comments

Comments
 (0)