f36895095808f01d446315d27d3b17bfb8d9a624,api/data_refinery_api/views.py,Stats,_created_timeline,#Stats#Any#Any#,701
Before Change
return [self._get_job_interval(jobs, start, end) for (start, end) in self._get_time_intervals(range_param)]
def _created_timeline(self, objects, range_param):
return [({
"start": start,
"end": end,
"total": objects.filter(created_at__gte=start, created_at__lte=end).count()
}) for (start, end) in self._get_time_intervals(range_param)]
//////
// Transcriptome Indices
//////
After Change
return [self._get_job_interval(jobs, start, end) for (start, end) in self._get_time_intervals(range_param)]
def _created_timeline(self, objects, range_param):
results = []
for start, end in self._get_time_intervals(range_param):
total = objects.filter(created_at__gte=start, created_at__lte=end).count()
stats = {
"start": start,
"end": end,
"total": total
}
results.append(stats)
return results
//////
// Transcriptome Indices
//////
In pattern: SUPERPATTERN
Frequency: 11
Non-data size: 11
Instances
Project Name: AlexsLemonade/refinebio
Commit Name: f36895095808f01d446315d27d3b17bfb8d9a624
Time: 2018-09-27
Author: arielsvn@gmail.com
File Name: api/data_refinery_api/views.py
Class Name: Stats
Method Name: _created_timeline
Project Name: statsmodels/statsmodels
Commit Name: e72a95a604c6df99394fea508bab8a8c0a6d84f2
Time: 2021-01-09
Author: kshedden@umich.edu
File Name: statsmodels/genmod/cov_struct.py
Class Name: Stationary
Method Name: covariance_matrix_solve
Project Name: AlexsLemonade/refinebio
Commit Name: f36895095808f01d446315d27d3b17bfb8d9a624
Time: 2018-09-27
Author: arielsvn@gmail.com
File Name: api/data_refinery_api/views.py
Class Name: Stats
Method Name: _created_timeline
Project Name: horovod/horovod
Commit Name: 853156e0a3f222723a108b36020471421f733ae1
Time: 2017-10-11
Author: alexander.sergeev@live.com
File Name: horovod/tensorflow/__init__.py
Class Name: DistributedOptimizer
Method Name: compute_gradients
Project Name: uber/ludwig
Commit Name: 77a010bc4ec97a10dd9de3060744157bedb0e079
Time: 2019-10-10
Author: piero@uber.com
File Name: ludwig/utils/strings_utils.py
Class Name:
Method Name: load_vocabulary
Project Name: pytorch/text
Commit Name: 2057691205de3b357a0b4d743977516b50963d28
Time: 2021-02-18
Author: cpuhrsch@fb.com
File Name: torchtext/experimental/datasets/raw/udpos.py
Class Name:
Method Name: UDPOS
Project Name: biocore/scikit-bio
Commit Name: aa13ad19c58d5236eaafb19fc836e7baee853420
Time: 2014-05-13
Author: gregcaporaso@gmail.com
File Name: skbio/core/genetic_code.py
Class Name: GeneticCode
Method Name: sixframes
Project Name: mlflow/mlflow
Commit Name: 43faef575f64e9a0ef3df7c602db27c37cd0b56a
Time: 2018-10-19
Author: mani@databricks.com
File Name: mlflow/store/file_store.py
Class Name: FileStore
Method Name: list_experiments
Project Name: nltk/nltk
Commit Name: 0bcc8da0344cddc9dfff82a788df519c19489500
Time: 2017-10-17
Author: lyyb46@gmail.com
File Name: nltk/tokenize/treebank.py
Class Name: TreebankWordTokenizer
Method Name: span_tokenize
Project Name: david-abel/simple_rl
Commit Name: 28afe65ca63bd5492c038f51fd241845d5e6edfd
Time: 2019-04-03
Author: yrevar@github.com
File Name: simple_rl/tasks/navigation/NavigationWorldMDP.py
Class Name: NavigationWorldMDP
Method Name: get_all_states
Project Name: pfnet/optuna
Commit Name: 5abd67cfe591d58c41af5fedeff06bda057c6d55
Time: 2020-11-09
Author: imamura@ms.k.u-tokyo.ac.jp
File Name: optuna/multi_objective/trial.py
Class Name: MultiObjectiveTrial
Method Name: _get_values
Project Name: hellohaptik/chatbot_ner
Commit Name: 4c9dbd038881d5a028174a8ed99f951aeb69fbe2
Time: 2018-09-09
Author: pratik.jayarao@haptik.co
File Name: models/crf_v2/crf_preprocess_data.py
Class Name: CrfPreprocessData
Method Name: extract_features