Skip to content

London | ITP-May-2025 | Surafel Workneh | Structuring and testing data | acoursework/sprint 2 #647

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

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

SuWebOnes
Copy link

@SuWebOnes SuWebOnes commented Jul 7, 2025

Self checklist

[x] I have committed my files one by one, on purpose, and for a reason
[x] I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | PROJ_NAME
[x] I have tested my changes
[x] My changes follow the style guide
[x] My changes meet the requirements of this task

The following are main Change-lists
Fixed variable redeclaration errors in test blocks and functions.
Corrected logic in math functions like sum, square, and multiply.
Added utility functions: calculateBMI, toUpperSnakeCase, and toPounds.
Explained function outputs for better clarity (e.g., formatTimeDisplay).
Added tests for formatAs12HourClock to cover key edge cases like midnight, noon, and late hours.

SuWebOnes added 30 commits June 24, 2025 22:37
…pdate comments for clarity Sprint-2/1-key-errors/0.js
… parameter definition and error explanation in Sprint-2/1-key-errors/2.js
…d explain function for clarity in Sprint-2/2-mandatory-debug/0.js
… return the sum of two numbers and explain code for clarity in Sprint-2/2-mandatory-debug/1.js
…x getLastDigit function to correctly return the last digit of a number and update comments for clarity in Sprint-2/2-mandatory-debug/2.js
…hy it always returns '3' in Sprint-2/2-mandatory-debug/2.js
…sed on weight and height, including detailed comments for clarity in Sprint-2/3-mandatory-implement/1-bmi.js
…KE_CASE with example usage Sprint-2/3-mandatory-implement/2-cases.js
…tted pounds with example usage Sprint-2/3-mandatory-implement/3-to-pounds.js
…ps of input data or edge cases as you can, and fix any bugs in Sprint-2/5-stretch-extend/format-time.js
…add tests for zero numerator and denominator
…, and invalid inputs with corresponding tests
…s for numerator and denominator, ensuring proper fraction validation
@SuWebOnes SuWebOnes added the Needs Review Participant to add when requesting review label Jul 7, 2025
@SuWebOnes SuWebOnes changed the title London | May-2025 | Surafel Workneh | acoursework/sprint 2 London | ITP-May-2025 | Surafel Workneh | acoursework/sprint 2 Jul 7, 2025
@SuWebOnes SuWebOnes changed the title London | ITP-May-2025 | Surafel Workneh | acoursework/sprint 2 London | ITP-May-2025 | Surafel Workneh | Structuring and testing data | acoursework/sprint 2 Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review Participant to add when requesting review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant