Skip to content

[Refactor] Return a single data structure for metrics instead of 3-tuples #50

@reyna-abhyankar

Description

@reyna-abhyankar

We are returning 3-tuples for quality, cost, and latency, but this is error-prone. We should just return a small data structure Metrics that has score, cost, and time as fields. Otherwise, we have to rely on the calling code being correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions