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

Spandex/Synthesis container size when count not none #58

Open
cvanoli opened this issue May 30, 2018 · 0 comments
Open

Spandex/Synthesis container size when count not none #58

cvanoli opened this issue May 30, 2018 · 0 comments

Comments

@cvanoli
Copy link
Collaborator

cvanoli commented May 30, 2018

In spandex/targets/synthesis, when a count column is passed, the target value is matched by the sum of the count column instead of counting the number of rows. In the allocation process, the size of the containers (container_size array) is calculated by subtracting the corresponding values in the capacity column or the capacity expression to the number of rows in each geo_id_col element. However, the behavior the user expects when passing a count column is that the container size is also calculated by summing the values in the count column that belong to each geo_id_col element.

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

1 participant