Skip to content

UofT-DSI | Python - Assignment 2#2

Open
emailmealoy wants to merge 4 commits intomainfrom
Assignment-2
Open

UofT-DSI | Python - Assignment 2#2
emailmealoy wants to merge 4 commits intomainfrom
Assignment-2

Conversation

@emailmealoy
Copy link
Copy Markdown
Owner

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

Added codes

What did you learn from the changes you have made?

For loop is important, def class and using it correctly is important, how to import a file and process information.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

no

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

on the relative and absolute file path, but it was cleared in the session

How were these changes tested?

tested in the vscode platform

A reference to a related issue in your repository (if applicable)

N/A

Checklist

  • [x ] I can confirm that my changes are working as intended

Copy link
Copy Markdown

@anjali-deshpande-hub anjali-deshpande-hub left a comment

Choose a reason for hiding this comment

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

Its look good except for two issues:

  1. Changes to assignment-1.ipynb are also in the pull request. The PR should only include changes to assignment_2.ipynb. To check this, look at 'Files Changed' with the pull request. To fix this:
git checkout assignment-2 
git checkout main -- assignment_1.ipynb 
git add assignment_1.ipynb 
git commit -m "Revert assignment_1.ipynb to the original version in main branch" 
git push origin assignment-2

Make sure to run these commands in the correct directory.

  1. The function detect_problems should not parse over all files in all_paths. It should only work on one file path and return true/false value based on analyzing that file. You can run detect_problems function inside a for loop if you like to check detect problems in all files in all_paths.
    Kindly make the required changes. Thanks.

Copy link
Copy Markdown

@anjali-deshpande-hub anjali-deshpande-hub left a comment

Choose a reason for hiding this comment

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

All fixed. Well done!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants