Skip to content

Conversation

@DeveloperViraj
Copy link
Contributor

Checklist:

Closes #65476

This PR clarifies the instructions for Step 44 of the Medical Data Validator workshop.

It explains what invalid_records contains, where the index value comes from, and how to format the expected output. This helps reduce confusion and repeated forum questions while keeping the step logic unchanged.

@DeveloperViraj DeveloperViraj requested review from a team as code owners January 25, 2026 06:15
@github-actions github-actions bot added the scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. label Jan 25, 2026
Copy link
Contributor

@majestic-owl448 majestic-owl448 left a comment

Choose a reason for hiding this comment

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

things that need to be exactly as written in the code needs to be wrapped in backticks

`invalid_records` is a list of keys that refer to invalid records in the current `dictionary`.
You will need to take the key from `invalid_records` and look up the value in `dictionary`.

`position` or `index` refers to the current dictionary in `medical_records`, defined by the first `for` loop in the function.
Copy link
Contributor

@pkdvalis pkdvalis Jan 25, 2026

Choose a reason for hiding this comment

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

Suggested change
`position` or `index` refers to the current dictionary in `medical_records`, defined by the first `for` loop in the function.
"Position" or `index` refers to the current dictionary in `medical_records`, defined by the outer `for` loop in the function.

Copy link
Contributor

@pkdvalis pkdvalis left a comment

Choose a reason for hiding this comment

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

Position is part of the string, not a variable. The language "outer loop" seems like a good improvement suggested here: #65476 (comment)

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

Labels

scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pythonv9 Build a Medical Data Validator Step 44

3 participants