-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frontend #41
Frontend #41
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Несколько мест выделил, но если функция ничего не возвращает, то стоит указывать это через "-> None". Исключения это magic методы типо init. Я не все места выделил где был этот момент, поставь, пожалуйста, в остальных тоже.
web_interface/main_multi.py
Outdated
active_sessions = {} # {session Id -> sid, process, conn} | ||
|
||
|
||
def worker_process(process_id, conn, sid): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code style
src/base/dataset_stats.py
Outdated
def remove( | ||
self, | ||
stat: str | ||
): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-> None
src/base/dataset_stats.py
Outdated
|
||
def clear_all_stats( | ||
self | ||
): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-> None
src/base/dataset_stats.py
Outdated
|
||
def list_to_hist( | ||
a_list: list | ||
): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-> dict
Переработаны статистики по датасету. Создан класс DatasetStats, куда перенесены расчеты. Поправлено на фронте, что падало на направленных графах (кроме Attributes assortativity).