Update median exercise and add new throw/catch practice exercises
@abdishakoor-dev is already working on this.
Since Aug 20, 2026.
Assessment
This issue has not been assessed yet.
Description
Which module(s) and week(s) does this change affect?
Module(s): Data Groups
Week(s): Sprint 1
What is the work that needs to be done?
Sprint-1/fix/median.js currently expects calculateMedian to return null/silently filter bad values, which now contradicts the error handling fundamentals content (curriculum#1949) that teaches throwing instead. Update this exercise to match, and add new exercises giving trainees practice throwing and catching errors.
Why is this work important to do?
Suggested by @illicitonion during review of curriculum#1949. Keeps exercises consistent with newly taught content.
Additional context
Who might need to know about this change?
@illicitonion
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 327
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeYourFuture/Module-Data-Groups
-
🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 1 Core Module-Data-Groups Submit:None 🦔 Size Tiny
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
🏝️ Priority Stretch 🐇 Size Small 📅 Sprint 2 Module-Data-Groups Optional Submit:Issue
Difficulty 1/5 Under an hour Newbie friendliness 58/100
-
🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 2 Core Module-Data-Groups Submit:Issue
Difficulty 1/5 1-3 hours Newbie friendliness 58/100
-
🏝️ Priority Stretch 🐂 Size Medium 📅 Sprint 3 Module-Data-Groups Optional Submit:None
Difficulty 1/5 Under an hour Newbie friendliness 35/100
-
🏝️ Priority Stretch 🐂 Size Medium 📅 Sprint 2 Module-Data-Groups Optional Submit:None
Difficulty 1/5 Under an hour Newbie friendliness 30/100
All issues in CodeYourFuture/Module-Data-Groups
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
docToolchain/docToolchain#1705 ·
-
Timezone select lists one option per character; duplicate "Failed" reason; shared tracker popover id Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1414 ·
-
bug v2
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
modelcontextprotocol/inspector#2458 · 1 comment ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
carbon-design-system/ibm-products#9907 ·