Skip to content

Develop#2553

Open
boz1k wants to merge 3 commits intomate-academy:masterfrom
boz1k:develop
Open

Develop#2553
boz1k wants to merge 3 commits intomate-academy:masterfrom
boz1k:develop

Conversation

@boz1k
Copy link

@boz1k boz1k commented Mar 25, 2026

No description provided.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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

Review Summary

Great job on implementing all the functional requirements! Your code works correctly and the logic is sound.

However, this requires a small change to meet the project's coding standards. In app/main.py and app/cinema/hall.py, the function signatures for cinema_visit and movie_session are too long to fit on one line. As per [CHECKLIST ITEM #1], please format these definitions by placing each parameter on a new line to improve readability.

Once you've made this quick formatting fix, your solution will be perfect. Keep up the excellent work!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Important

Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.

Tip

If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.

Caution

Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.

Footnotes

  1. Rate AI review example

  2. Re-request AI review example

  3. Add AI review comments example

app/main.py Outdated
def cinema_visit(customers: list, hall_number: int, cleaner: str, movie: str):
# write you code here
pass
def cinema_visit(customers: list, hall_number: int, cleaner: str, movie: str) -> None:

Choose a reason for hiding this comment

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

This violates checklist item #1: 'If the function definition line is too long, place each parameter on a new line.'

To improve readability, consider breaking this long function signature into multiple lines, with each parameter on its own line.

def __init__(self, number: int) -> None:
self.number = number

def movie_session(self, movie_name: str, customers: list, cleaning_staff) -> None:

Choose a reason for hiding this comment

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

This function definition line is quite long. According to checklist item #1, it's better to place each parameter on a new line for improved readability when the line exceeds the standard length.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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

Review Summary

Excellent work! You've successfully addressed all the feedback from the previous review, and your solution now meets all the requirements perfectly. The code is clean, well-structured, and correctly implements the entire cinema visit simulation. Your implementation of all the classes and the main logic is spot-on. I am happy to accept this solution. Keep up the great work!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

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