Skip to content

Conversation

AndrewSazonov
Copy link
Member

calculate_pattern() no longer returns y_calc_total, since the calculated pattern is already stored in experiment.datastore.pattern.calc.

Fixes #16

@AndrewSazonov AndrewSazonov added this to the New API Stabilization milestone Sep 3, 2025
@AndrewSazonov AndrewSazonov added the [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH) label Sep 3, 2025
@AndrewSazonov AndrewSazonov force-pushed the 16-investigate-if-calculate_pattern-returning-y_calc_total-is-redundant branch from 4325b7b to 3fc0c87 Compare September 5, 2025 10:15
Copy link
Member

@rozyczko rozyczko left a comment

Choose a reason for hiding this comment

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

The change absolutely makes sense.
calculate_pattern is an action which, if anything, should only return an error code (or throw).
The code looks good.
I'm just confused with the need to update the lockfile.

…calculate_pattern-returning-y_calc_total-is-redundant
@AndrewSazonov
Copy link
Member Author

I'm just confused with the need to update the lockfile.

I think this is because I removed the feature with the editable installation of ed (and its related environment) from the configuration, and then pushed those changes to the develop branch.

@AndrewSazonov AndrewSazonov merged commit 8348884 into develop Sep 5, 2025
3 checks passed
@AndrewSazonov AndrewSazonov deleted the 16-investigate-if-calculate_pattern-returning-y_calc_total-is-redundant branch September 5, 2025 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants