Skip to content

London | 25-ITP-May | Carol Owen | Sprint 2 | Sprint 2 exercises - #1466

Open
mrafeie wants to merge 13 commits into
CodeYourFuture:mainfrom
mrafeie:sprint2
Open

mrafeie wants to merge 13 commits into
CodeYourFuture:mainfrom
mrafeie:sprint2

Conversation

@mrafeie

@mrafeie mrafeie commented Sep 15, 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-1083

Changelist

Sprint 2 exercises

Questions

Log the recipe title, servings, and each ingredient on a new line.
Add validation to ensure 'contains' function receives a valid object.
Added tests for createLookup function to verify its behavior with multiple country currency pairs, single pairs, empty input, and duplicate country codes.
Refactor createLookup to accept countryCurrencyPairs as an argument and return a lookup object.
Enhance query string parsing to handle empty pairs and decode components.
Removed tests for handling identical keys in query strings.
Implement tally function to count occurrences of items.
Fix the implementation of the invert function to correctly swap keys and values.
Add unit tests for the invert function to verify its behavior with various inputs.
@mrafeie mrafeie added 📅 Sprint 2 Assigned during Sprint 2 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Data-Groups The name of the module. labels Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Data-Groups The name of the module. Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. 📅 Sprint 2 Assigned during Sprint 2 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant