-
-
Notifications
You must be signed in to change notification settings - Fork 153
London | ITP-May-2025 | Seddiq Azam | Module-Data-Groups | Sprint 1 #549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
created new file called mean.test.js: prep/mean.test.js created new file called mean.js
deleted: prep/mean.test.js
new file: package.json
modified: Sprint-1/implement/dedupe.test.js
modified: Sprint-1/implement/max.test.js
modified: Sprint-1/implement/sum.test.js
modified: Sprint-1/refactor/includes.test.js new file: prep/mean.test.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work on this sprint - you built very detailed test cases. You can close this PR now.
Sprint-1/refactor/includes.js
Outdated
// return false; | ||
// } | ||
|
||
// module.exports = includes; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
be careful of committing lots of commented-out code to git if it doesn't need to be there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, unnecessary information should not be included. Thank you for the information.
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
🛠️ PR Summary: Sprint 1
This pull request includes all completed work covering core kata implementations, test coverage, refactoring, and a stretch goal from Advent of Code.
✅ Completed Work
📦 Core Katas
1.
dedupe.js
2.
max.js
-Infinity
)3.
sum.js
accumulator
misuse in.reduce()
.4.
includes.js
(Refactor)for...of
loop instead of a traditionalfor
loop.🚀 Stretch Goal: Advent of Code 2018 - Day 1
solution.js
calculateFrequency(changes)
:+1
,-2
).0
and applies all deltas.calculate Frequency
→calculateFrequency
.🧪 Testing
Questions
Ask any questions you have for your reviewer.