Skip to content

Fitters.py refactoring#76

Merged
siwreienta merged 9 commits into
mainfrom
fitters-refactor
May 8, 2026
Merged

Fitters.py refactoring#76
siwreienta merged 9 commits into
mainfrom
fitters-refactor

Conversation

@siwreienta
Copy link
Copy Markdown
Contributor

No description provided.

@siwreienta siwreienta linked an issue Mar 4, 2026 that may be closed by this pull request
@siwreienta siwreienta marked this pull request as draft March 10, 2026 23:49
@siwreienta siwreienta marked this pull request as ready for review April 10, 2026 14:07
@siwreienta siwreienta self-assigned this Apr 12, 2026
Copy link
Copy Markdown
Collaborator

@LeonidElkin LeonidElkin left a comment

Choose a reason for hiding this comment

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

  • Universal options (calculations) of the characteristic should be passed to query_method and stick out explicitly for the user as a public API instead of the current **options: Any. @Desiment will describe the use cases in more detail in the PR or personally
  • The strategy assumes responsibility for passing options to ComputationMethod. If no changes have been made by the user, we leave the defaults.

Comment thread src/pysatl_core/distributions/computations/__init__.py
Comment thread src/pysatl_core/distributions/computations/__init__.py Outdated
Comment thread src/pysatl_core/distributions/fitters/base.py Outdated
Comment thread src/pysatl_core/distributions/computations/base.py Outdated
Comment thread src/pysatl_core/distributions/fitters/base.py Outdated
Comment thread src/pysatl_core/distributions/computations/base.py Outdated
Comment thread src/pysatl_core/distributions/computations/base.py Outdated
Comment thread src/pysatl_core/distributions/fitters/continuous.py Outdated
Comment thread src/pysatl_core/distributions/computations/continuous.py Outdated
@PySATL PySATL deleted a comment from kmelnikovmh Apr 23, 2026
@siwreienta siwreienta force-pushed the fitters-refactor branch 2 times, most recently from f988423 to 8bb1996 Compare April 30, 2026 19:14
@siwreienta siwreienta requested a review from LeonidElkin April 30, 2026 20:35
Comment thread src/pysatl_core/distributions/computations/base.py Outdated
Comment thread src/pysatl_core/distributions/computations/base.py Outdated
Comment thread src/pysatl_core/distributions/computations/_utils.py
Comment thread src/pysatl_core/distributions/computation.py Outdated
Comment thread src/pysatl_core/distributions/computations/registry.py
Comment thread src/pysatl_core/distributions/strategies.py
Comment thread tests/unit/distributions/computations/test_base.py Outdated
@LeonidElkin LeonidElkin added API: Consistency Internal Consistency of API/Behavior API: Design ALG: Computations New algorithms for computations or improvements of existing ones Optimization core.distributions Refactor labels May 1, 2026
@LeonidElkin LeonidElkin added this to the Prototype alpha-version milestone May 1, 2026
@siwreienta siwreienta force-pushed the fitters-refactor branch 3 times, most recently from a8ed14f to 5bb91ad Compare May 1, 2026 20:12
@siwreienta siwreienta requested a review from LeonidElkin May 1, 2026 20:17
Copy link
Copy Markdown
Collaborator

@LeonidElkin LeonidElkin left a comment

Choose a reason for hiding this comment

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

It's much better than it was before, but there are still a couple of issues that were discussed but not resolved.

Also, don't forget to make jupiter notebook in the examples/ folder

Comment thread src/pysatl_core/distributions/computations/_utils.py Outdated
Comment thread src/pysatl_core/distributions/computations/_utils.py Outdated
Comment thread src/pysatl_core/distributions/computations/_utils.py Outdated
Comment thread src/pysatl_core/distributions/computations/_utils.py Outdated
Comment thread tests/unit/distributions/computations/test_helpers.py
Comment thread src/pysatl_core/distributions/strategies.py
Comment thread src/pysatl_core/distributions/computations/continuous.py Outdated
Comment thread src/pysatl_core/distributions/computations/_utils.py Outdated
Comment thread src/pysatl_core/distributions/strategies.py Outdated
Comment thread src/pysatl_core/distributions/computations/computation.py Outdated
@siwreienta siwreienta force-pushed the fitters-refactor branch 2 times, most recently from 7625613 to 4fb8281 Compare May 4, 2026 21:59
@siwreienta siwreienta requested a review from LeonidElkin May 4, 2026 22:10
Desiment
Desiment previously approved these changes May 6, 2026
Copy link
Copy Markdown
Collaborator

@LeonidElkin LeonidElkin left a comment

Choose a reason for hiding this comment

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

The example is not the best, but in general is ok

Comment thread src/pysatl_core/distributions/registry/configuration.py
Comment thread src/pysatl_core/distributions/computations/registry.py
Comment thread src/pysatl_core/distributions/computations/continuous.py
Comment thread src/pysatl_core/distributions/strategies.py Outdated
@siwreienta siwreienta requested a review from Desiment May 7, 2026 12:46
@siwreienta siwreienta merged commit a9798e6 into main May 8, 2026
14 checks passed
@siwreienta siwreienta deleted the fitters-refactor branch May 8, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ALG: Computations New algorithms for computations or improvements of existing ones API: Consistency Internal Consistency of API/Behavior API: Design core.distributions Optimization Refactor

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Fitters.py refactoring

3 participants