Skip to content

Швороб. Task №6#1

Open
shvorobsofia wants to merge 22 commits intomainfrom
task_6
Open

Швороб. Task №6#1
shvorobsofia wants to merge 22 commits intomainfrom
task_6

Conversation

@shvorobsofia
Copy link
Owner

Add a realization of treap.
Were implemented:

  • Class "Treap" and methods for it
  • Tests for those methods
  • CI settings

@shvorobsofia shvorobsofia requested a review from Krekep November 11, 2024 11:53
Copy link
Collaborator

@Krekep Krekep left a comment

Choose a reason for hiding this comment

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

По самому заданию вопросов нет, но надо провести облагораживание кода

Comment on lines 5 to 10
branches:
- task_6
pull_request:
branches:
- task_6
- main
Copy link
Collaborator

Choose a reason for hiding this comment

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

Лучше запускать CI не на конкретных ветках, а как в code_style.yml

on:
  # Triggers the workflow on push or pull request events
  [ push, pull_request ]

Copy link
Collaborator

Choose a reason for hiding this comment

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

Не хватает настроенного CI для статической проверки типов с помощью mypy

Copy link
Owner Author

Choose a reason for hiding this comment

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

добавила

Copy link
Collaborator

Choose a reason for hiding this comment

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

test_basic стоит удалить и тесты для каждого модуля писать в отдельном файле

Copy link
Collaborator

Choose a reason for hiding this comment

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

Также добавьте тест, проверяющий работу оператора in

Copy link
Owner Author

Choose a reason for hiding this comment

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

Разделила тесты по функциональности по разным файлам. Добавила тест для оператора in

@shvorobsofia shvorobsofia requested a review from Krekep April 5, 2025 14:29
Copy link
Collaborator

@Krekep Krekep left a comment

Choose a reason for hiding this comment

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

Не хватает typehint в классе Treap

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.

3 participants