-
-
Notifications
You must be signed in to change notification settings - Fork 43k
Open
freeCodeCamp/CurriculumExpansion
#1071Labels
Naomi's SprintsThis label is for issues that Naomi is managing through her sprint initiatives on Discord.This label is for issues that Naomi is managing through her sprint initiatives on Discord.js v9 certThis is for the JS V9 certification.This is for the JS V9 certification.
Description
Type: Workshop
Summary: In this workshop, you will analyze nested arrays of sensor bursts to detect spikes, silent gaps, and rolling statistics.
User Stories
- You should accept input shaped like
[[10, 12, 15], [0, 0, 0], [18, 22]], where each nested array is a burst for a single sensor loop. - You should create
analyzeBurst(burst, windowSize)that returns averages, mins, and maxes using sliding windows. - You should create
detectSpikes(burst, threshold)that usessome/everyto flag bursts exceeding thresholds. - You should create
detectSilence(burst, windowSize)that returns true if a full window contains zero readings. - You should create
summarizeSensorData(bursts)that maps through all bursts, aggregates stats, and returns an array of summary objects. - You should ensure helper functions never mutate the original burst arrays.
Technical Notes
- Include sample fixtures with inconsistent burst lengths and tests for edge cases.
This issue is part of Naomi's sprint initiatives.
If you are interested in working on this issue, join our Discord and ping Naomi!
Action Items
- Prototype created and PRed to https://github.com/freeCodeCamp/curriculumexpansion
- Prototype reviewed + approved + merged by staff
- Break prototype down into steps (if workshop) or individual "step" (if lab) - write description, hint text only (no tests yet), and seed code. Refer to https://contribute.freecodecamp.org/how-to-work-on-coding-challenges
- DRAFT PR opened on https://github.com/freeCodeCamp/freeCodeCamp
- Team + Naomi review your steps, confirm the breakdown + user stories look good
- Begin writing the actual test logic, refer to https://contribute.freecodecamp.org/curriculum-help/#js-helper for how to write tests for JS challenges
- Mark PR as not a draft, team reviews + approves + merges
- YOU DID IT GO CELEBRATE!
Other Details
- Remember to keep an eye on your PRs and respond to review comments and suggestions
- For workshops, refer to: https://contribute.freecodecamp.org/how-to-work-on-coding-challenges/
- For labs, refer to: https://contribute.freecodecamp.org/how-to-work-on-labs/
Questions
Ping Naomi in the sprint channel on Discord
Metadata
Metadata
Assignees
Labels
Naomi's SprintsThis label is for issues that Naomi is managing through her sprint initiatives on Discord.This label is for issues that Naomi is managing through her sprint initiatives on Discord.js v9 certThis is for the JS V9 certification.This is for the JS V9 certification.
Type
Projects
Status
In progress