Skip to content

Architecture#5

Merged
alex98247 merged 47 commits intomainfrom
architecture
Nov 28, 2024
Merged

Architecture#5
alex98247 merged 47 commits intomainfrom
architecture

Conversation

@alex98247
Copy link
Contributor

@alex98247 alex98247 commented Nov 23, 2024

Summary

Major code refactoring
Link to original pull request: alex98247/statistic-test#4

What's new?

  • changes in normality and exponentiality tests structures
  • some code cleaning

f1i3g3 and others added 16 commits October 22, 2024 16:41
…port and stubs for exponentiality) + added some missed files
Exponentially + refactoring of architecture
# Conflicts:
#	stattest/execution/data.py
#	stattest/execution/execution.py
#	stattest/test/common.py
#	stattest/test/normal.py
#	tests/normality/ad_test.py
#	tests/normality/bhs_test.py
#	tests/normality/da_test.py
#	tests/normality/lilliefors_test.py
#	tests/normality/swm_test.py
#	tests/normality/zhang_wu_a_test.py
#	tests/weibull/ad_weibull_test.py
#	tests/weibull/ks_weibull_test.py
#	tests/weibull/los_weibull_test.py
#	tests/weibull/msf_weibull_test.py
#	tests/weibull/ok_weibull_test.py
#	tests/weibull/rejg_weibull_test.py
#	tests/weibull/rsb_weibull_test.py
#	tests/weibull/sb_weibull_test.py
#	tests/weibull/spp_weibull_test.py
#	tests/weibull/st1_weibull_test.py
#	tests/weibull/st2_weibull_test.py
#	tests/weibull/ts_weibull_test.py
@alex98247 alex98247 requested a review from f1i3g3 November 23, 2024 08:22
@alex98247 alex98247 self-assigned this Nov 23, 2024
Copy link
Contributor

@f1i3g3 f1i3g3 left a comment

Choose a reason for hiding this comment

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

Мне еще не нравится, что PyCharm ругается в двух местах в config_schema.py.
А так вроде все ок.

pass

def init(self, **kwargs):
def init(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

    def init(self):
        """
        Initialize store.
        """
        pass

Точно стоит здесь удалять **kwargs в аргументе? Там же тогда сигнатура методов совпадать не будет.

Copy link
Contributor

Choose a reason for hiding this comment

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

Видимо, тогда остальные тесты тоже стоит в один файл занести (это я себе на будущее).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Да


from stattest.test.models import AbstractTestStatistic
from stattest.persistence.json_store.cache import MonteCarloCacheService
from abc import ABC
Copy link
Contributor

Choose a reason for hiding this comment

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

from abc import ABC
Это либа какая-то?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Нет, это встроенное в питон

Copy link
Contributor

Choose a reason for hiding this comment

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

My bad, это нужно для абстрактных классов - а мне нужно еще покурить синтаксис

@alex98247 alex98247 merged commit 8a8b8b7 into main Nov 28, 2024
@alex98247 alex98247 deleted the architecture branch November 28, 2024 19:26
@f1i3g3 f1i3g3 added the enhancement New feature or request label Apr 1, 2025
@f1i3g3 f1i3g3 linked an issue Apr 1, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor project structure

3 participants