Skip to content

Split aggregation helpers into grouped and non-grouped versions #64

@Maegereg

Description

@Maegereg

The various aggregation helper methods in src/tmlt/core/measurements/aggregations.py are all used to construct both group-by and scalar aggregations. Those two things don't actually have that much in common: they need different arguments, and produce different types of components - the only shared code is some validation and conversions between different privacy definitions. We should factor out the common code, and rewrite this is two different sets of methods, one of which handles groupby aggregations and one which handles scalar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions