Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aimalz opened this issue Jul 22, 2023 · 0 comments
Assignees

Comments

@aimalz
Copy link
Collaborator

aimalz commented Jul 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants