Skip to content

increase_reads_in_percent calculations are incorrect. #40

@alxmrtn

Description

@alxmrtn

On line 46 in calculators.py in the function increase_reads_in_percent, you have

increase = int(
    float(current_provisioning)*(float(percent)/100+1))
updated_provisioning = current_provisioning + increase

it should just be

increase = int(float(current_provisioning)*(float(percent)/100))
updated_provisioning = current_provisioning + increase

or alternatively

updated_provisioning = int(float(current_provisioning)*(float(percent)/100+1))

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions