Skip to content

delta=0 if groups#897

Open
mccalluc wants to merge 4 commits intomainfrom
883-no-delta-if-groups
Open

delta=0 if groups#897
mccalluc wants to merge 4 commits intomainfrom
883-no-delta-if-groups

Conversation

@mccalluc
Copy link
Contributor

@mccalluc mccalluc commented Mar 6, 2026

@Shoeboxam , since this is about demonstrating correct API usage, could you look at this PR?

Comment on lines -263 to -271
is_just_histograms = all(
plan_column[0].statistic_name == histogram.name
for plan_column in self.analysis_plan.analysis_columns.values()
)
margins_list = (
# Histograms don't need margins.
"[]"
if is_just_histograms
else self._make_margins_list(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

is_just_histograms wasn't a good check, because we actually do need the margins, albeit with public keys, if we want to be able to set delta to zero.

@mccalluc mccalluc requested a review from Shoeboxam March 6, 2026 22:07
@mccalluc mccalluc moved this from Pending to Ready for Review in DP Wizard Mar 10, 2026
@mccalluc mccalluc removed the request for review from Shoeboxam March 11, 2026 17:31
@mccalluc
Copy link
Contributor Author

There are a few PRs out that change (improve?) the code generation. My plan is to get Mike to look at the generated code when they are merged, but before the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready for Review

Development

Successfully merging this pull request may close these issues.

If we have enumerations for all groups, delta can be zero

1 participant