[Commotion-admin] [mlab-observatory] Adding sample checking module, Telescope data parser (#29)
Collin Anderson
notifications at github.com
Tue Dec 9 15:30:46 EST 2014
> + """
> + hash_key = '%s-%s' % (metadata['site_name'], metadata['isp'])
> + return hash_key
> +
> +
> +class SampleCountChecker(object):
> +
> + def __init__(self, sample_counter, sample_period_end,
> + min_samples_per_day, percentage_of_days_threshold):
> + """Checks whether sample counts for given dataset meet requirements.
> +
> + Args:
> + sample_counter: (SampleCounter) Object tracking sample counts for each
> + dataset.
> +
> + sample_period_end: (datetime.datetime) Time at which the relevant period
Why does this have a start and not an end?
---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/mlab-observatory/pull/29/files#r21559765
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20141209/eae063fd/attachment.html>
More information about the Commotion-admin
mailing list