Skip to content

Commit 563c61c

Browse files
Add authors and contributors to Practice Exercises
For each Practice Exercise, we've looked at the commit history of its files to see which commits touched that Practice Exercise. Each commit that we could associate with a Practice Exercise was used to determine authorship/contributorship. ### Authors 1. Find the Git commit author of the oldest commit linked to that Practice Exercise 2. Find the GitHub username for the Git commit author of that commit 3. Add the GitHub username of the Git commit author to the `authors` key in the `.meta/config.json` file ### Contributors 1. Find the Git commit authors and any co-authors of all but the oldest commit linked to that Practice Exercise. If there is only one commit, there won't be any contributors. 1. Exclude the Git commit author and any co-authors of the oldest commit from the list of Git commit authors (an author is _not_ also a contributor) 2. Find the GitHub usernames for the Git commit authors and any co-authors of those commits 3. Add the GitHub usernames of the Git commit authors and any co-authors to the `contributor` key in the `.meta/config.json` file We used the GitHub GraphQL API to find the username of a commit author or any co-authors. In some cases though, a username cannot be found for a commit (e.g. due to the user account no longer existing), in which case the commit was skipped. ## Renames There are a small number of Practice Exercises that might have been renamed at some point. You can ask Git to "follow" a file over its renames using `git log --follow <file>`, which will also return commits made before renames. Unfortunately, Git does not store renames, it just stores the contents of the renamed files and tries to guess if a file was renamed by looking at its contents. This _can_ (and will) lead to false positives, where Git will think a file has been renamed whereas it hasn't. As we don't want to have incorrect authors/contributors for exercises, we're ignoring renames. The only exception to this are known exercise renames: - `bracket-push` was renamed to `matching-brackets` - `retree` was renamed to `satellite` - `resistor-colors` was renamed to `resistor-color-duo` - `kindergarden-garden` was renamed to `kindergarten-garden` ## Exclusions There are some commits that we skipped over, and which thus didn't influence the authors/contributors list: - Commits authored by `dependabot[bot]`, `dependabot-preview[bot]` or `github-actions[bot]` - Bulk update PRs made by `ErikSchierboom` or `kytrinx` to update the track
1 parent 1bba843 commit 563c61c

File tree

101 files changed

+1374
-91
lines changed

Some content is hidden

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

101 files changed

+1374
-91
lines changed

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
{
22
"blurb": "Implement the `accumulate` operation, which, given a collection and an operation to perform on each element of the collection, returns a new collection containing the result of applying that operation to each element of the input collection.",
3-
"authors": [],
3+
"authors": [
4+
"etrepum"
5+
],
6+
"contributors": [
7+
"iHiD",
8+
"kytrinyx",
9+
"mttakai",
10+
"petertseng",
11+
"ppartarr",
12+
"rbasso",
13+
"sshine",
14+
"tejasbubane"
15+
],
416
"files": {
517
"solution": [],
618
"test": [],

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
{
22
"blurb": "Convert a long phrase to its acronym",
3-
"authors": [],
3+
"authors": [
4+
"lpalma"
5+
],
6+
"contributors": [
7+
"alanvardy",
8+
"iHiD",
9+
"marionebl",
10+
"navossoc",
11+
"petertseng",
12+
"ppartarr",
13+
"rbasso",
14+
"sharno",
15+
"sshine",
16+
"tejasbubane"
17+
],
418
"files": {
519
"solution": [],
620
"test": [],

exercises/practice/all-your-base/.meta/config.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
{
22
"blurb": "Convert a number, represented as a sequence of digits in one base, to any other base.",
3-
"authors": [],
3+
"authors": [
4+
"rbasso"
5+
],
6+
"contributors": [
7+
"dbalmain",
8+
"iHiD",
9+
"navossoc",
10+
"petertseng",
11+
"ppartarr",
12+
"sshine",
13+
"tejasbubane"
14+
],
415
"files": {
516
"solution": [],
617
"test": [],

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
{
22
"blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.",
3-
"authors": [],
3+
"authors": [
4+
"etrepum"
5+
],
6+
"contributors": [
7+
"iHiD",
8+
"kytrinyx",
9+
"lpalma",
10+
"navossoc",
11+
"petertseng",
12+
"ppartarr",
13+
"rbasso",
14+
"sshine",
15+
"tejasbubane"
16+
],
417
"files": {
518
"solution": [],
619
"test": [],

exercises/practice/alphametics/.meta/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
{
22
"blurb": "Write a function to solve alphametics puzzles.",
33
"authors": [],
4+
"contributors": [
5+
"iHiD",
6+
"kytrinyx",
7+
"navossoc",
8+
"omer-g",
9+
"petertseng",
10+
"ppartarr",
11+
"rbasso",
12+
"sshine",
13+
"tejasbubane"
14+
],
415
"files": {
516
"solution": [],
617
"test": [],

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
{
22
"blurb": "Given a word and a list of possible anagrams, select the correct sublist.",
3-
"authors": [],
3+
"authors": [
4+
"etrepum"
5+
],
6+
"contributors": [
7+
"gris",
8+
"iHiD",
9+
"kytrinyx",
10+
"mttakai",
11+
"petertseng",
12+
"ppartarr",
13+
"rbasso",
14+
"sshine",
15+
"tejasbubane"
16+
],
417
"files": {
518
"solution": [],
619
"test": [],

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
22
"blurb": "Determine if a number is an Armstrong number",
33
"authors": [],
4+
"contributors": [
5+
"iHiD",
6+
"petertseng",
7+
"ppartarr",
8+
"sshine",
9+
"tejasbubane"
10+
],
411
"files": {
512
"solution": [],
613
"test": [],

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
{
22
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
3-
"authors": [],
3+
"authors": [
4+
"etrepum"
5+
],
6+
"contributors": [
7+
"iHiD",
8+
"JavierGelatti",
9+
"kytrinyx",
10+
"lpalma",
11+
"navossoc",
12+
"petertseng",
13+
"ppartarr",
14+
"rbasso",
15+
"sshine",
16+
"stevejb71",
17+
"tejasbubane"
18+
],
419
"files": {
520
"solution": [],
621
"test": [],

exercises/practice/bank-account/.meta/config.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
{
22
"blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money. Watch out for concurrent transactions!",
3-
"authors": [],
3+
"authors": [
4+
"etrepum"
5+
],
6+
"contributors": [
7+
"iHiD",
8+
"kytrinyx",
9+
"lpalma",
10+
"nicuveo",
11+
"petertseng",
12+
"ppartarr",
13+
"rbasso",
14+
"sshine",
15+
"tejasbubane"
16+
],
417
"files": {
518
"solution": [],
619
"test": [],

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
{
22
"blurb": "Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.",
3-
"authors": [],
3+
"authors": [
4+
"etrepum"
5+
],
6+
"contributors": [
7+
"iHiD",
8+
"kytrinyx",
9+
"navossoc",
10+
"petertseng",
11+
"ppartarr",
12+
"rbasso",
13+
"sshine",
14+
"tejasbubane"
15+
],
416
"files": {
517
"solution": [],
618
"test": [],

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
{
22
"blurb": "Insert and search for numbers in a binary tree.",
3-
"authors": [],
3+
"authors": [
4+
"etrepum"
5+
],
6+
"contributors": [
7+
"iHiD",
8+
"kytrinyx",
9+
"lpalma",
10+
"petertseng",
11+
"ppartarr",
12+
"rbasso",
13+
"sshine",
14+
"tejasbubane"
15+
],
416
"files": {
517
"solution": [],
618
"test": [],

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
{
22
"blurb": "Implement a binary search algorithm.",
3-
"authors": [],
3+
"authors": [
4+
"sshine"
5+
],
6+
"contributors": [
7+
"iHiD",
8+
"petertseng",
9+
"ppartarr",
10+
"tejasbubane"
11+
],
412
"files": {
513
"solution": [],
614
"test": [],

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
{
22
"blurb": "Convert a binary number, represented as a string (e.g. '101010'), to its decimal equivalent using first principles",
3-
"authors": [],
3+
"authors": [
4+
"etrepum"
5+
],
6+
"contributors": [
7+
"iHiD",
8+
"kytrinyx",
9+
"mttakai",
10+
"navossoc",
11+
"petertseng",
12+
"ppartarr",
13+
"rbasso",
14+
"sshine",
15+
"tejasbubane"
16+
],
417
"files": {
518
"solution": [],
619
"test": [],

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

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
{
22
"blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.",
3-
"authors": [],
3+
"authors": [
4+
"etrepum"
5+
],
6+
"contributors": [
7+
"austinlyons",
8+
"cmccandless",
9+
"danbst",
10+
"eijynagai",
11+
"hritchie",
12+
"iHiD",
13+
"jrib",
14+
"Kobata",
15+
"kytrinyx",
16+
"petertseng",
17+
"ppartarr",
18+
"rbasso",
19+
"sshine",
20+
"tejasbubane",
21+
"tofische"
22+
],
423
"files": {
524
"solution": [],
625
"test": [],

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
{
22
"blurb": "Score a bowling game",
3-
"authors": [],
3+
"authors": [
4+
"abo64"
5+
],
6+
"contributors": [
7+
"iHiD",
8+
"kytrinyx",
9+
"lpalma",
10+
"petertseng",
11+
"ppartarr",
12+
"rbasso",
13+
"sshine",
14+
"tejasbubane"
15+
],
416
"files": {
517
"solution": [],
618
"test": [],

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
{
22
"blurb": "Correctly determine change to be given using the least number of coins",
3-
"authors": [],
3+
"authors": [
4+
"abo64"
5+
],
6+
"contributors": [
7+
"iHiD",
8+
"petertseng",
9+
"ppartarr",
10+
"rbasso",
11+
"robphoenix",
12+
"sdublish",
13+
"sshine",
14+
"tejasbubane"
15+
],
416
"files": {
517
"solution": [],
618
"test": [],

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

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
{
22
"blurb": "Implement a clock that handles times without dates.",
3-
"authors": [],
3+
"authors": [
4+
"etrepum"
5+
],
6+
"contributors": [
7+
"felix91gr",
8+
"iHiD",
9+
"jeeger",
10+
"kevin-meyers",
11+
"kytrinyx",
12+
"lpalma",
13+
"petertseng",
14+
"ppartarr",
15+
"rbasso",
16+
"sshine",
17+
"tejasbubane",
18+
"tiniuclx"
19+
],
420
"files": {
521
"solution": [],
622
"test": [],

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
{
22
"blurb": "Calculate the number of steps to reach 1 using the Collatz conjecture",
33
"authors": [],
4+
"contributors": [
5+
"guygastineau",
6+
"iHiD",
7+
"navossoc",
8+
"petertseng",
9+
"ppartarr",
10+
"sshine",
11+
"tejasbubane"
12+
],
413
"files": {
514
"solution": [],
615
"test": [],

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
{
22
"blurb": "Implement complex numbers.",
3-
"authors": [],
3+
"authors": [
4+
"Average-user"
5+
],
6+
"contributors": [
7+
"cmccandless",
8+
"iHiD",
9+
"petertseng",
10+
"ppartarr",
11+
"sshine",
12+
"tejasbubane"
13+
],
414
"files": {
515
"solution": [],
616
"test": [],

0 commit comments

Comments
 (0)