From bb3ac81129ca8fe72d19cabed7d3e751d9428eb1 Mon Sep 17 00:00:00 2001 From: Isaac Good Date: Mon, 25 May 2026 13:38:46 -0700 Subject: [PATCH 1/2] Format all `instructions.append.md` to start with an H1 (required but ignored) and H2 --- exercises/practice/allergies/.docs/instruction.append.md | 4 ++++ exercises/practice/bob/.docs/instructions.append.md | 4 ++++ .../practice/circular-buffer/.docs/instructions.append.md | 4 ++++ .../practice/collatz-conjecture/.docs/instructions.append.md | 4 ++++ exercises/practice/darts/.docs/instructions.append.md | 4 ++++ exercises/practice/gigasecond/.docs/instructions.append.md | 4 ++++ exercises/practice/high-scores/.docs/instructions.append.md | 4 ++++ exercises/practice/isogram/.docs/instructions.append.md | 4 ++++ exercises/practice/leap/.docs/instructions.append.md | 4 ++++ exercises/practice/meetup/.docs/instruction.append.md | 5 ++++- .../practice/nucleotide-count/.docs/instructions.append.md | 4 ++++ exercises/practice/raindrops/.docs/instructions.append.md | 4 ++++ .../practice/resistor-color/.docs/instructions.append.md | 4 ++++ exercises/practice/series/.docs/instructions.append.md | 4 ++++ exercises/practice/two-fer/.docs/instructions.append.md | 4 ++++ exercises/practice/yacht/.docs/instruction.append.md | 4 ++++ 16 files changed, 64 insertions(+), 1 deletion(-) diff --git a/exercises/practice/allergies/.docs/instruction.append.md b/exercises/practice/allergies/.docs/instruction.append.md index a1cff7e..9980edd 100644 --- a/exercises/practice/allergies/.docs/instruction.append.md +++ b/exercises/practice/allergies/.docs/instruction.append.md @@ -1,3 +1,7 @@ +# Instructions append + +## Implementation + Your task is to implement two functions - `isAllergicTo`: which takes as input the patient allergy score and the allergen under test, and returns true if the patient is allergic to the given allergen. diff --git a/exercises/practice/bob/.docs/instructions.append.md b/exercises/practice/bob/.docs/instructions.append.md index ffdac05..a15cae0 100644 --- a/exercises/practice/bob/.docs/instructions.append.md +++ b/exercises/practice/bob/.docs/instructions.append.md @@ -1 +1,5 @@ +# Instructions append + +## Implementation + Implement a function called `response` which takes a string as input and produces Bob's response as output. diff --git a/exercises/practice/circular-buffer/.docs/instructions.append.md b/exercises/practice/circular-buffer/.docs/instructions.append.md index 82f7b0e..12e07d7 100644 --- a/exercises/practice/circular-buffer/.docs/instructions.append.md +++ b/exercises/practice/circular-buffer/.docs/instructions.append.md @@ -1,3 +1,7 @@ +# Instructions append + +## Implementation + Your task is to implement a record `circularBuffer` that has the following methods - `clear()`: empties the buffer. diff --git a/exercises/practice/collatz-conjecture/.docs/instructions.append.md b/exercises/practice/collatz-conjecture/.docs/instructions.append.md index 9369cf0..32a311e 100644 --- a/exercises/practice/collatz-conjecture/.docs/instructions.append.md +++ b/exercises/practice/collatz-conjecture/.docs/instructions.append.md @@ -1,2 +1,6 @@ +# Instructions append + +## Implementation + Your function is to implement a function called `steps` which takes as input an integer `n` and returns the number of steps to get to 1. If the input `n` is smaller than or equal to zero, then the function should return an `IllegalArgumentError` with error message `Only positive integers are allowed`. diff --git a/exercises/practice/darts/.docs/instructions.append.md b/exercises/practice/darts/.docs/instructions.append.md index 259ad82..b620523 100644 --- a/exercises/practice/darts/.docs/instructions.append.md +++ b/exercises/practice/darts/.docs/instructions.append.md @@ -1 +1,5 @@ +# Instructions append + +## Implementation + The function to implement should be called `score`. diff --git a/exercises/practice/gigasecond/.docs/instructions.append.md b/exercises/practice/gigasecond/.docs/instructions.append.md index dfd8277..233a013 100644 --- a/exercises/practice/gigasecond/.docs/instructions.append.md +++ b/exercises/practice/gigasecond/.docs/instructions.append.md @@ -1 +1,5 @@ +# Instructions append + +## Implementation + Write a function `addGigasecond` which takes as input an object of type `datetime` and returns an object of the same type, representing the time instant one gigasecond later. diff --git a/exercises/practice/high-scores/.docs/instructions.append.md b/exercises/practice/high-scores/.docs/instructions.append.md index d884117..516b000 100644 --- a/exercises/practice/high-scores/.docs/instructions.append.md +++ b/exercises/practice/high-scores/.docs/instructions.append.md @@ -1,3 +1,7 @@ +# Instructions append + +## Implementation + Your task is to write three functions - `latest`: which takes an array of scores and returns the last one. diff --git a/exercises/practice/isogram/.docs/instructions.append.md b/exercises/practice/isogram/.docs/instructions.append.md index cc1b214..470e136 100644 --- a/exercises/practice/isogram/.docs/instructions.append.md +++ b/exercises/practice/isogram/.docs/instructions.append.md @@ -1 +1,5 @@ +# Instructions append + +## Implementation + Write a function `isIsogram` which takes as input a string and returns true if it is an isogram and false otherwise. diff --git a/exercises/practice/leap/.docs/instructions.append.md b/exercises/practice/leap/.docs/instructions.append.md index b024acb..4142498 100644 --- a/exercises/practice/leap/.docs/instructions.append.md +++ b/exercises/practice/leap/.docs/instructions.append.md @@ -1 +1,5 @@ +# Instructions append + +## Implementation + Implement a function called `isLeapYear`, which takes as input the year and returns true if it is a leap year and false otherwise. diff --git a/exercises/practice/meetup/.docs/instruction.append.md b/exercises/practice/meetup/.docs/instruction.append.md index 398312e..e544a17 100644 --- a/exercises/practice/meetup/.docs/instruction.append.md +++ b/exercises/practice/meetup/.docs/instruction.append.md @@ -1,2 +1,5 @@ -Your task is to implement a function called `meetup` which takes 4 inputs: the year, the month, the description and the day of the week and returns the date as an object of type `date` (defined in the `Time` built-in module). +# Instructions append + +## Implementation +Your task is to implement a function called `meetup` which takes 4 inputs: the year, the month, the description and the day of the week and returns the date as an object of type `date` (defined in the `Time` built-in module). diff --git a/exercises/practice/nucleotide-count/.docs/instructions.append.md b/exercises/practice/nucleotide-count/.docs/instructions.append.md index d1a4660..4d33a95 100644 --- a/exercises/practice/nucleotide-count/.docs/instructions.append.md +++ b/exercises/practice/nucleotide-count/.docs/instructions.append.md @@ -1,2 +1,6 @@ +# Instructions append + +## Implementation + Your task is to write a function `nucleotideCounts` which takes as input a string and returns as output an associative array counting how many times each nucleotide is present. If the string is an invalid sequence, the function should throw an `IllegalArgumentError` with message `Invalid nucleotide in strand`. diff --git a/exercises/practice/raindrops/.docs/instructions.append.md b/exercises/practice/raindrops/.docs/instructions.append.md index 197745e..c45ad2b 100644 --- a/exercises/practice/raindrops/.docs/instructions.append.md +++ b/exercises/practice/raindrops/.docs/instructions.append.md @@ -1 +1,5 @@ +# Instructions append + +## Implementation + Implement a function called `raindrops` which returns a string as described above. diff --git a/exercises/practice/resistor-color/.docs/instructions.append.md b/exercises/practice/resistor-color/.docs/instructions.append.md index 8e25a36..4f15fb7 100644 --- a/exercises/practice/resistor-color/.docs/instructions.append.md +++ b/exercises/practice/resistor-color/.docs/instructions.append.md @@ -1,3 +1,7 @@ +# Instructions append + +## Implementation + Your task is to implement two functions - `colors`: which returns an array of strings containing the colors in increasing order of value. diff --git a/exercises/practice/series/.docs/instructions.append.md b/exercises/practice/series/.docs/instructions.append.md index 9f3abc0..5114843 100644 --- a/exercises/practice/series/.docs/instructions.append.md +++ b/exercises/practice/series/.docs/instructions.append.md @@ -1,3 +1,7 @@ +# Instructions append + +## Implementation + Implement a function called `slices` that returns an array of strings as described above. Your function should throw an `IllegalArgumentError` with an appropriate error message as following. - If the given string is empty, error with message `series cannot be empty`. diff --git a/exercises/practice/two-fer/.docs/instructions.append.md b/exercises/practice/two-fer/.docs/instructions.append.md index 5561c7e..583a4a6 100644 --- a/exercises/practice/two-fer/.docs/instructions.append.md +++ b/exercises/practice/two-fer/.docs/instructions.append.md @@ -1 +1,5 @@ +# Instructions append + +## Implementation + Your task is to implement a function, called `twoFer`, which implements the behavior described above. diff --git a/exercises/practice/yacht/.docs/instruction.append.md b/exercises/practice/yacht/.docs/instruction.append.md index 259ad82..b620523 100644 --- a/exercises/practice/yacht/.docs/instruction.append.md +++ b/exercises/practice/yacht/.docs/instruction.append.md @@ -1 +1,5 @@ +# Instructions append + +## Implementation + The function to implement should be called `score`. From fdbe27e758678f81ecccb6dbc488e6034dd85d8e Mon Sep 17 00:00:00 2001 From: Isaac Good Date: Tue, 26 May 2026 22:16:54 -0700 Subject: [PATCH 2/2] Update the header to "Track specific instructions" --- exercises/practice/allergies/.docs/instruction.append.md | 2 +- exercises/practice/bob/.docs/instructions.append.md | 2 +- exercises/practice/circular-buffer/.docs/instructions.append.md | 2 +- .../practice/collatz-conjecture/.docs/instructions.append.md | 2 +- exercises/practice/darts/.docs/instructions.append.md | 2 +- exercises/practice/gigasecond/.docs/instructions.append.md | 2 +- exercises/practice/high-scores/.docs/instructions.append.md | 2 +- exercises/practice/isogram/.docs/instructions.append.md | 2 +- exercises/practice/leap/.docs/instructions.append.md | 2 +- exercises/practice/meetup/.docs/instruction.append.md | 2 +- .../practice/nucleotide-count/.docs/instructions.append.md | 2 +- exercises/practice/raindrops/.docs/instructions.append.md | 2 +- exercises/practice/resistor-color/.docs/instructions.append.md | 2 +- exercises/practice/series/.docs/instructions.append.md | 2 +- exercises/practice/two-fer/.docs/instructions.append.md | 2 +- exercises/practice/yacht/.docs/instruction.append.md | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/exercises/practice/allergies/.docs/instruction.append.md b/exercises/practice/allergies/.docs/instruction.append.md index 9980edd..1e0f26b 100644 --- a/exercises/practice/allergies/.docs/instruction.append.md +++ b/exercises/practice/allergies/.docs/instruction.append.md @@ -1,6 +1,6 @@ # Instructions append -## Implementation +## Track specific instructions Your task is to implement two functions diff --git a/exercises/practice/bob/.docs/instructions.append.md b/exercises/practice/bob/.docs/instructions.append.md index a15cae0..13b9b2e 100644 --- a/exercises/practice/bob/.docs/instructions.append.md +++ b/exercises/practice/bob/.docs/instructions.append.md @@ -1,5 +1,5 @@ # Instructions append -## Implementation +## Track specific instructions Implement a function called `response` which takes a string as input and produces Bob's response as output. diff --git a/exercises/practice/circular-buffer/.docs/instructions.append.md b/exercises/practice/circular-buffer/.docs/instructions.append.md index 12e07d7..48a0d25 100644 --- a/exercises/practice/circular-buffer/.docs/instructions.append.md +++ b/exercises/practice/circular-buffer/.docs/instructions.append.md @@ -1,6 +1,6 @@ # Instructions append -## Implementation +## Track specific instructions Your task is to implement a record `circularBuffer` that has the following methods diff --git a/exercises/practice/collatz-conjecture/.docs/instructions.append.md b/exercises/practice/collatz-conjecture/.docs/instructions.append.md index 32a311e..7345b19 100644 --- a/exercises/practice/collatz-conjecture/.docs/instructions.append.md +++ b/exercises/practice/collatz-conjecture/.docs/instructions.append.md @@ -1,6 +1,6 @@ # Instructions append -## Implementation +## Track specific instructions Your function is to implement a function called `steps` which takes as input an integer `n` and returns the number of steps to get to 1. If the input `n` is smaller than or equal to zero, then the function should return an `IllegalArgumentError` with error message `Only positive integers are allowed`. diff --git a/exercises/practice/darts/.docs/instructions.append.md b/exercises/practice/darts/.docs/instructions.append.md index b620523..2671a5c 100644 --- a/exercises/practice/darts/.docs/instructions.append.md +++ b/exercises/practice/darts/.docs/instructions.append.md @@ -1,5 +1,5 @@ # Instructions append -## Implementation +## Track specific instructions The function to implement should be called `score`. diff --git a/exercises/practice/gigasecond/.docs/instructions.append.md b/exercises/practice/gigasecond/.docs/instructions.append.md index 233a013..b93bc50 100644 --- a/exercises/practice/gigasecond/.docs/instructions.append.md +++ b/exercises/practice/gigasecond/.docs/instructions.append.md @@ -1,5 +1,5 @@ # Instructions append -## Implementation +## Track specific instructions Write a function `addGigasecond` which takes as input an object of type `datetime` and returns an object of the same type, representing the time instant one gigasecond later. diff --git a/exercises/practice/high-scores/.docs/instructions.append.md b/exercises/practice/high-scores/.docs/instructions.append.md index 516b000..5ff0de3 100644 --- a/exercises/practice/high-scores/.docs/instructions.append.md +++ b/exercises/practice/high-scores/.docs/instructions.append.md @@ -1,6 +1,6 @@ # Instructions append -## Implementation +## Track specific instructions Your task is to write three functions diff --git a/exercises/practice/isogram/.docs/instructions.append.md b/exercises/practice/isogram/.docs/instructions.append.md index 470e136..f6b88b6 100644 --- a/exercises/practice/isogram/.docs/instructions.append.md +++ b/exercises/practice/isogram/.docs/instructions.append.md @@ -1,5 +1,5 @@ # Instructions append -## Implementation +## Track specific instructions Write a function `isIsogram` which takes as input a string and returns true if it is an isogram and false otherwise. diff --git a/exercises/practice/leap/.docs/instructions.append.md b/exercises/practice/leap/.docs/instructions.append.md index 4142498..f097d7f 100644 --- a/exercises/practice/leap/.docs/instructions.append.md +++ b/exercises/practice/leap/.docs/instructions.append.md @@ -1,5 +1,5 @@ # Instructions append -## Implementation +## Track specific instructions Implement a function called `isLeapYear`, which takes as input the year and returns true if it is a leap year and false otherwise. diff --git a/exercises/practice/meetup/.docs/instruction.append.md b/exercises/practice/meetup/.docs/instruction.append.md index e544a17..2bf6904 100644 --- a/exercises/practice/meetup/.docs/instruction.append.md +++ b/exercises/practice/meetup/.docs/instruction.append.md @@ -1,5 +1,5 @@ # Instructions append -## Implementation +## Track specific instructions Your task is to implement a function called `meetup` which takes 4 inputs: the year, the month, the description and the day of the week and returns the date as an object of type `date` (defined in the `Time` built-in module). diff --git a/exercises/practice/nucleotide-count/.docs/instructions.append.md b/exercises/practice/nucleotide-count/.docs/instructions.append.md index 4d33a95..2c6fd03 100644 --- a/exercises/practice/nucleotide-count/.docs/instructions.append.md +++ b/exercises/practice/nucleotide-count/.docs/instructions.append.md @@ -1,6 +1,6 @@ # Instructions append -## Implementation +## Track specific instructions Your task is to write a function `nucleotideCounts` which takes as input a string and returns as output an associative array counting how many times each nucleotide is present. If the string is an invalid sequence, the function should throw an `IllegalArgumentError` with message `Invalid nucleotide in strand`. diff --git a/exercises/practice/raindrops/.docs/instructions.append.md b/exercises/practice/raindrops/.docs/instructions.append.md index c45ad2b..7223f89 100644 --- a/exercises/practice/raindrops/.docs/instructions.append.md +++ b/exercises/practice/raindrops/.docs/instructions.append.md @@ -1,5 +1,5 @@ # Instructions append -## Implementation +## Track specific instructions Implement a function called `raindrops` which returns a string as described above. diff --git a/exercises/practice/resistor-color/.docs/instructions.append.md b/exercises/practice/resistor-color/.docs/instructions.append.md index 4f15fb7..2265d27 100644 --- a/exercises/practice/resistor-color/.docs/instructions.append.md +++ b/exercises/practice/resistor-color/.docs/instructions.append.md @@ -1,6 +1,6 @@ # Instructions append -## Implementation +## Track specific instructions Your task is to implement two functions diff --git a/exercises/practice/series/.docs/instructions.append.md b/exercises/practice/series/.docs/instructions.append.md index 5114843..45c5f62 100644 --- a/exercises/practice/series/.docs/instructions.append.md +++ b/exercises/practice/series/.docs/instructions.append.md @@ -1,6 +1,6 @@ # Instructions append -## Implementation +## Track specific instructions Implement a function called `slices` that returns an array of strings as described above. Your function should throw an `IllegalArgumentError` with an appropriate error message as following. diff --git a/exercises/practice/two-fer/.docs/instructions.append.md b/exercises/practice/two-fer/.docs/instructions.append.md index 583a4a6..4df22c3 100644 --- a/exercises/practice/two-fer/.docs/instructions.append.md +++ b/exercises/practice/two-fer/.docs/instructions.append.md @@ -1,5 +1,5 @@ # Instructions append -## Implementation +## Track specific instructions Your task is to implement a function, called `twoFer`, which implements the behavior described above. diff --git a/exercises/practice/yacht/.docs/instruction.append.md b/exercises/practice/yacht/.docs/instruction.append.md index b620523..2671a5c 100644 --- a/exercises/practice/yacht/.docs/instruction.append.md +++ b/exercises/practice/yacht/.docs/instruction.append.md @@ -1,5 +1,5 @@ # Instructions append -## Implementation +## Track specific instructions The function to implement should be called `score`.