Skip to content

Cape Town | 26-ITP-Sep | Quentin Gwele | Sprint 1 | Data-group - #1576

Open
lwandogwele52-ui wants to merge 8 commits into
CodeYourFuture:mainfrom
lwandogwele52-ui:sprint-1
Open

lwandogwele52-ui wants to merge 8 commits into
CodeYourFuture:mainfrom
lwandogwele52-ui:sprint-1

Conversation

@lwandogwele52-ui

@lwandogwele52-ui lwandogwele52-ui commented Nov 22, 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

Did all necessary changes.

@lwandogwele52-ui lwandogwele52-ui added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Nov 22, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Nov 22, 2026
Comment thread Sprint-1/implement/describe-median.js Resolved
@github-actions

This comment has been minimized.

@cyf-ai-code-reviewer cyf-ai-code-reviewer Bot added the Reviewed Volunteer to add when completing a review with trainee action still to take. label Nov 22, 2026
@cyf-ai-code-reviewer

Copy link
Copy Markdown

The CYF AI review has left comments. It will only review a PR one time. When you have addressed these comments, please request review again and a volunteer will take a look.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@lwandogwele52-ui lwandogwele52-ui added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Nov 22, 2026
@hackertainment hackertainment added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take. labels Nov 22, 2026
@lwandogwele52-ui lwandogwele52-ui added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Nov 22, 2026

@hackertainment hackertainment left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The code looks generally ok to me. You are almost there and just 1 issue to fix. please keep it up. Thank you.

Comment thread Sprint-1/implement/describe-median.js Resolved
@hackertainment hackertainment removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Nov 22, 2026
@lwandogwele52-ui lwandogwele52-ui added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Nov 22, 2026
@hackertainment

Copy link
Copy Markdown

Lines 33-65 of Sprint-1/implement/describe-median.js should be removed but I cannot see your new commit. Would you please check again whether the fixed file is staged and committed correctly? Thank you very much.

@hackertainment hackertainment removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Nov 23, 2026
@lwandogwele52-ui lwandogwele52-ui added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Nov 23, 2026
expect(describeMedian([])).toBe(
"Could not calculate a median: calculateMedian requires a non-empty array"
);
});

@hackertainment hackertainment Nov 23, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Have you actually run this test case? I cannot see how this test passed. Since the first line of "Sprint-1/implement/describe-median.js" // Don't change this function. and the first few lines in the function calculateMedian() has been deleted (maybe accidentally), you may need to restore only the function (but keeping your code in describeMedian() untouched). This test case should be kept as well. If you don't know how to fix this safely, please feel free to ask a volunteer in Saturday workshop. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants