Closed alexander-veit closed 3 years ago
Ok, I think this is better now.
cost --update-tsv
will update only the "Cost" row in the tsv. It will always be updated (overwritten), even if it was there before.cost_estimate --update-tsv
will update only the "Cost_Estimate" row in the tsv. It will always be updated (overwritten), even if it was there before. In case the exact cost is available, cost_estimate
will return the exact cost and update the "Cost_Estimate" row in the tsv with that value. The "Cost" row is not updated automatically in that case. cost --update-tsv
needs to be called for that.Does that make sense?
Yup that sounds good.
This PR adds cost estimation to Tibanna workflow runs. Estimated costs can be obtained as soon as the job finished. It is available from the command line by invoking
cost_estimate
. When the true costs are available,cost_estimate
will return the true costs instead of the estimate. The estimated costs will also be automatically added to the metrics report.The estimated costs seem accurate, when the true price is more than a few cent. In other words, the relative error is large, when the true cost is below 1 or 2 cent, otherwise the relative error is small.