Skip to content

London | 26-ITP-SEP | Russom Gebremeskel | Sprint 1 | Coursework - #1506

Open
russom-g wants to merge 62 commits into
CodeYourFuture:mainfrom
russom-g:coursework/sprint-1-current
Open

russom-g wants to merge 62 commits into
CodeYourFuture:mainfrom
russom-g:coursework/sprint-1-current

Conversation

@russom-g

@russom-g russom-g commented Nov 8, 2026

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Task code

CYF-1071

Changelist

Fix, refactor and implement code. Write test cases for the program.

@russom-g russom-g changed the title London | 26-ITP-Sep | Russom Gebremeskel | Sprint 1 | Coursework London | 26-ITP-SEP | Russom Gebremeskel | Sprint 1 | Coursework Nov 28, 2026

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also address the remaining unresolved comments made by the AI?

Comment thread Sprint-1/implement/describe-median.js Resolved
Comment thread Sprint-1/implement/describe-median.js Resolved
Comment thread Sprint-1/implement/mean.test.js Resolved
Comment thread Sprint-1/implement/max.js Resolved
@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Nov 28, 2026
@russom-g russom-g added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Nov 28, 2026
@cjyuan

cjyuan commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Did you push your changes to GitHub?

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Nov 29, 2026
@russom-g

Copy link
Copy Markdown
Author

I just pushed it now.

@russom-g russom-g added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Nov 30, 2026
Comment thread Sprint-1/implement/mean.js Outdated
}
total = total + item;
}
return Number(total.toFixed(2)) / list.length;

@cjyuan cjyuan Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why limit the mean to only two decimal places?

To get accurate mean.

What should the average of 0.001, and 0.002 be? 0 or 0.0015?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It rounds to 0. I removed the rounding method now.

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Nov 30, 2026
@russom-g russom-g added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Nov 30, 2026

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants