Skip to content

Refactor make_query structure for batch size flexibility re: budget resource integration #131

@aimalz

Description

@aimalz

make_query(batch=N, ...) in database.py returns N objects as recommended for follow-up "query". This does not account for the cost of the observation. make_query_budget(budget=...) does account for the budget. In that case we put the query strategy that calls the cosmology metric into query_budget_strategies.py. We want to evaluate the cosmology metric and the resource cost for each hot light curve under consideration and then have make_query reconcile them. We will restructure query_strategies.py, query_budget_strategies.py, and metrics.py to more cohesively accommodate mixing and matching cosmology metrics, resource footprint formulations, and batch construction optimization.

Metadata

Metadata

Assignees

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