Skip to content

Optimizer: print candidates for a workload and diff against sketch-bench #129 #767

Description

@milindsrivastava1997

Change

Before the MILP lands, make both sides print the candidate set for the same query workload and compare them.

  • ASAPQuery: candidate-gen-dump already prints enumerate_candidates per AQE. Extend it to print per item (AQE, T, SLAs) with family, params, W, S, query method, and eligibility after accuracy/latency filters.
  • sketch-bench#129: small_problem --candidates-only --print-candidates.
  • Define a small shared workload format (or a converter) so the same workloads run through both, and diff the outputs (normalizing ms vs s and sketch names).
  • Expected, explainable differences: scrape-interval alignment, Subtract, families present on only one side. Anything else is a bug on one side.

Part of #753.

🤖 Generated with Claude Code

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions