hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
64279708b3855421a401e56d281735620a7325b1 | 5,172 | py | Python | tests/acceptance/test_Hosts.py | AntonKuzminRussia/web-scout | 5b8fed2c5917c9ecc210052703a65f1204f4b347 | [
"MIT"
] | 6 | 2017-10-11T18:56:05.000Z | 2019-09-29T21:45:05.000Z | tests/acceptance/test_Hosts.py | AntonKuzminRussia/web-scout | 5b8fed2c5917c9ecc210052703a65f1204f4b347 | [
"MIT"
] | 3 | 2021-03-31T19:17:30.000Z | 2021-12-13T20:16:23.000Z | tests/acceptance/test_Hosts.py | AntonKuzminRussia/web-scout | 5b8fed2c5917c9ecc210052703a65f1204f4b347 | [
"MIT"
] | null | null | null | import subprocess
import os
import time
import re
runPath = os.path.realpath(os.path.dirname(os.path.abspath(__file__)) + '/../../')
class Test_Hosts(object):
dict_path = '/tmp/wstest.dict'
headers_file_path = '/tmp/wstest.headers_file'
conf_file_path = "/tmp/wstest.conf_file"
def get_results_count(... | 28.893855 | 82 | 0.483952 | 550 | 5,172 | 4.450909 | 0.158182 | 0.068627 | 0.095588 | 0.11152 | 0.809641 | 0.809641 | 0.783497 | 0.783497 | 0.767974 | 0.755719 | 0 | 0.027894 | 0.355375 | 5,172 | 178 | 83 | 29.05618 | 0.706359 | 0 | 0 | 0.757764 | 0 | 0 | 0.268561 | 0.126063 | 0 | 0 | 0 | 0 | 0.080745 | 1 | 0.049689 | false | 0 | 0.024845 | 0.006211 | 0.10559 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ff367dd3679a71c878c8050451aba5440a429917 | 265 | py | Python | userena/contrib/umessages/tests/__init__.py | ixc/django-userena | 5a8c61dcf5133e8b745c25d3b54e5578043222d8 | [
"BSD-3-Clause"
] | 3 | 2015-11-30T05:00:09.000Z | 2021-09-21T00:03:57.000Z | userena/contrib/umessages/tests/__init__.py | ixc/django-userena | 5a8c61dcf5133e8b745c25d3b54e5578043222d8 | [
"BSD-3-Clause"
] | null | null | null | userena/contrib/umessages/tests/__init__.py | ixc/django-userena | 5a8c61dcf5133e8b745c25d3b54e5578043222d8 | [
"BSD-3-Clause"
] | 2 | 2016-09-18T01:20:06.000Z | 2021-09-21T00:01:54.000Z | from userena.contrib.umessages.tests.fields import *
from userena.contrib.umessages.tests.forms import *
from userena.contrib.umessages.tests.managers import *
from userena.contrib.umessages.tests.models import *
from userena.contrib.umessages.tests.views import *
| 44.166667 | 54 | 0.830189 | 35 | 265 | 6.285714 | 0.314286 | 0.25 | 0.409091 | 0.613636 | 0.836364 | 0.690909 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 265 | 5 | 55 | 53 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ff465eea7335fd57b27f7181a31c4ba1eeb5b360 | 3,743 | py | Python | comparisons_among_different_model_formulations/on_MORPH2/DOEL_2groups_resnet18/generate_list.py | Xiejiu/second_age_estimation | 89e9ef371a07aba0bbba496697176381e4e9432c | [
"MIT"
] | 1 | 2021-09-27T06:34:03.000Z | 2021-09-27T06:34:03.000Z | comparisons_among_different_model_formulations/on_MORPH2/DOEL_2groups_resnet18/generate_list.py | Xiejiu/second_age_estimation | 89e9ef371a07aba0bbba496697176381e4e9432c | [
"MIT"
] | 1 | 2021-07-29T01:14:11.000Z | 2021-07-29T01:54:33.000Z | comparisons_among_different_model_formulations/on_MORPH2/DOEL_2groups_resnet18/generate_list.py | Xiejiu/second_age_estimation | 89e9ef371a07aba0bbba496697176381e4e9432c | [
"MIT"
] | 1 | 2021-09-27T07:14:48.000Z | 2021-09-27T07:14:48.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jan 4 18:37:47 2019
@author: xjc
"""
import os
orig_train_list='./S1_train_processed.txt'
orig_valid_list='./S1_validation_processed.txt'
orig_test_list='./S1_test_processed.txt'
modified_train_list='./S1_train_modified.txt'
modified_valid_list='./... | 25.993056 | 49 | 0.618488 | 570 | 3,743 | 3.773684 | 0.107018 | 0.066946 | 0.063226 | 0.039052 | 0.958624 | 0.901906 | 0.781962 | 0.781962 | 0.781962 | 0.781962 | 0 | 0.025303 | 0.229228 | 3,743 | 144 | 50 | 25.993056 | 0.720277 | 0.024846 | 0 | 0.890909 | 0 | 0 | 0.097315 | 0.083893 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018182 | 0 | 0.018182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ff50b89a69fe1972aedcc06d4dd59825b8d1315a | 74 | py | Python | exampleproject/b.py | pjdelport/pytest-testmon | dbbaf2f29cc7e9a2745f27dae91e44ce973e8d10 | [
"MIT"
] | null | null | null | exampleproject/b.py | pjdelport/pytest-testmon | dbbaf2f29cc7e9a2745f27dae91e44ce973e8d10 | [
"MIT"
] | null | null | null | exampleproject/b.py | pjdelport/pytest-testmon | dbbaf2f29cc7e9a2745f27dae91e44ce973e8d10 | [
"MIT"
] | null | null | null | def divide(a, b):
return a // b
def multiply(a, b):
return a * b
| 12.333333 | 19 | 0.540541 | 14 | 74 | 2.857143 | 0.428571 | 0.2 | 0.4 | 0.45 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.310811 | 74 | 5 | 20 | 14.8 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
44141a92b7c31b021bbb389ba1254363f47e9517 | 14,941 | py | Python | LatexPlots/MatLibPlot/IntersectionPlots.py | Hengoo/BVHRaytracer | d911f06e1af88859a9c94926669f334a64c516eb | [
"MIT"
] | null | null | null | LatexPlots/MatLibPlot/IntersectionPlots.py | Hengoo/BVHRaytracer | d911f06e1af88859a9c94926669f334a64c516eb | [
"MIT"
] | null | null | null | LatexPlots/MatLibPlot/IntersectionPlots.py | Hengoo/BVHRaytracer | d911f06e1af88859a9c94926669f334a64c516eb | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
inputFolder = "../Data/"
outputFolder = "../Plots/IntersectionPlots/"
showImage = True
def endPlot():
if showImage:
plt.show()
else:
plt.close()
def primaryAnalysis():
#load the workload file and visualize it.
filePath = inputFolder + "averageTable_AllInter... | 38.607235 | 193 | 0.723044 | 1,680 | 14,941 | 6.404762 | 0.119643 | 0.013662 | 0.015613 | 0.027323 | 0.902416 | 0.887918 | 0.861059 | 0.83987 | 0.827602 | 0.81868 | 0 | 0.029053 | 0.143029 | 14,941 | 387 | 194 | 38.607235 | 0.811309 | 0.092163 | 0 | 0.827957 | 0 | 0 | 0.157949 | 0.076496 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021505 | false | 0 | 0.007168 | 0 | 0.028674 | 0.046595 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
44824aeaf5977d7644e89e3a7ff4aa4f4d419c46 | 7,549 | py | Python | convert_descriptor_to_swagger/mn_tasks.py | brighthive/convert_descriptor_to_swagger | ac59504ddf70622fb76e68b23dfdf4555836d3bd | [
"MIT"
] | null | null | null | convert_descriptor_to_swagger/mn_tasks.py | brighthive/convert_descriptor_to_swagger | ac59504ddf70622fb76e68b23dfdf4555836d3bd | [
"MIT"
] | 3 | 2019-12-10T19:47:39.000Z | 2019-12-20T19:11:59.000Z | convert_descriptor_to_swagger/mn_tasks.py | brighthive/convert_descriptor_to_swagger | ac59504ddf70622fb76e68b23dfdf4555836d3bd | [
"MIT"
] | 1 | 2020-04-29T18:18:49.000Z | 2020-04-29T18:18:49.000Z | from deepmerge import always_merger
from convert_descriptor_to_swagger.reference.full_output import (
component_schemas_mn,
component_responses_mn,
component_request_bodies_mn,
)
def add_mn_schemas(swag: dict = {}) -> dict:
swag = always_merger.merge(swag, component_schemas_mn)
return swag
def a... | 41.251366 | 84 | 0.313551 | 388 | 7,549 | 6.012887 | 0.154639 | 0.133733 | 0.113159 | 0.144021 | 0.839691 | 0.828976 | 0.803258 | 0.803258 | 0.766395 | 0.707244 | 0 | 0.027678 | 0.559677 | 7,549 | 182 | 85 | 41.478022 | 0.674188 | 0 | 0 | 0.581395 | 0 | 0 | 0.265201 | 0.095907 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.011628 | 0 | 0.05814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2bd2a5fa412b8cec87b1a08dab779ef7fbd76638 | 16,480 | py | Python | program05/Herd2.py | yijxiang/cs_python | 390a8d17e5381186421bf8d6a55fced03ddd5cb7 | [
"CNRI-Python"
] | 3 | 2021-05-19T16:33:15.000Z | 2021-05-19T19:50:32.000Z | program05/Herd2.py | sip958/cs_python | 390a8d17e5381186421bf8d6a55fced03ddd5cb7 | [
"CNRI-Python"
] | null | null | null | program05/Herd2.py | sip958/cs_python | 390a8d17e5381186421bf8d6a55fced03ddd5cb7 | [
"CNRI-Python"
] | null | null | null | # -*- coding: utf-8 -*-
"""
***********************************************
Pablo Fernandez
Emily Klein
Copyright 2016, www.pablofernandez.com
***********************************************
"""
print("************************************");
print("Pablo Fernandez");
print("Emily Klein");
print("Program 05 Herd of Tu... | 36.460177 | 225 | 0.674333 | 2,293 | 16,480 | 4.521151 | 0.057567 | 0.247709 | 0.366355 | 0.42153 | 0.81499 | 0.812096 | 0.756053 | 0.756053 | 0.753352 | 0.753352 | 0 | 0.081936 | 0.175 | 16,480 | 452 | 226 | 36.460177 | 0.680568 | 0.011286 | 0 | 0.635443 | 0 | 0 | 0.09886 | 0.007052 | 0 | 0 | 0.006297 | 0 | 0 | 1 | 0 | false | 0 | 0.007595 | 0 | 0.007595 | 0.017722 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a61fad7c5657a0677edfd05ace0df1e4d887930c | 7,278 | py | Python | xmas1.py | abdulfaizp/adventofcode | 11dd475312d69aadfa341a5d1e39b521cb6afe7c | [
"CC0-1.0"
] | null | null | null | xmas1.py | abdulfaizp/adventofcode | 11dd475312d69aadfa341a5d1e39b521cb6afe7c | [
"CC0-1.0"
] | null | null | null | xmas1.py | abdulfaizp/adventofcode | 11dd475312d69aadfa341a5d1e39b521cb6afe7c | [
"CC0-1.0"
] | null | null | null | def basement(a):
if a==(-1):
return True
else:
return False
def main():
indata="((((()(()(((((((()))(((()((((()())(())()(((()((((((()((()(()(((()(()((())))()((()()())))))))))()((((((())((()))(((((()(((((((((()()))((()(())()((())((()(()))((()))()))()(((((()(((()()))()())((()((((())()())()((((())()(()(()(((()(()... | 303.25 | 7,010 | 0.021847 | 42 | 7,278 | 3.785714 | 0.428571 | 0.056604 | 0.100629 | 0.201258 | 0.36478 | 0.36478 | 0.36478 | 0 | 0 | 0 | 0 | 0.000833 | 0.010855 | 7,278 | 24 | 7,011 | 303.25 | 0.021253 | 0 | 0 | 0.3 | 0 | 0 | 0.961808 | 0.961671 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a6ded1fec0f1e801d90133bce2e4764ddcd034b4 | 149 | py | Python | FrCmprss/FrCmprssMain.py | sadaakisz/FractalCompression | 2a2a4f2f092c9d4945de988e830ca15b4a0e0bff | [
"Unlicense"
] | null | null | null | FrCmprss/FrCmprssMain.py | sadaakisz/FractalCompression | 2a2a4f2f092c9d4945de988e830ca15b4a0e0bff | [
"Unlicense"
] | null | null | null | FrCmprss/FrCmprssMain.py | sadaakisz/FractalCompression | 2a2a4f2f092c9d4945de988e830ca15b4a0e0bff | [
"Unlicense"
] | null | null | null | import matplotlib.pyplot as plt
import matplotlib.image as mpimg
from scipy import ndimage
from scipy import optimize
import numpy as np
import math
| 21.285714 | 32 | 0.838926 | 24 | 149 | 5.208333 | 0.583333 | 0.256 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147651 | 149 | 6 | 33 | 24.833333 | 0.984252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a6ef3433e3d9f5e0335a195515e128c6e248a1f9 | 12,686 | py | Python | Incident-Response/Tools/dfirtrack/dfirtrack_api/tests/dfirtrack_main/task/test_task_api_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 1 | 2021-07-24T17:22:50.000Z | 2021-07-24T17:22:50.000Z | Incident-Response/Tools/dfirtrack/dfirtrack_api/tests/dfirtrack_main/task/test_task_api_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-28T03:40:31.000Z | 2022-02-28T03:40:52.000Z | Incident-Response/Tools/dfirtrack/dfirtrack_api/tests/dfirtrack_main/task/test_task_api_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-25T08:34:51.000Z | 2022-03-16T17:29:44.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from django.utils import timezone
from dfirtrack_main.models import System, Systemstatus, Tag, Tagcolor, Task, Taskname, Taskpriority, Taskstatus
import urllib.parse
class TaskAPIViewTestCase(TestCase):
""" task API view tests """
@c... | 39.64375 | 111 | 0.634242 | 1,453 | 12,686 | 5.246387 | 0.079835 | 0.044602 | 0.037518 | 0.029385 | 0.89348 | 0.875246 | 0.854257 | 0.828808 | 0.773186 | 0.767546 | 0 | 0.017572 | 0.259814 | 12,686 | 319 | 112 | 39.768025 | 0.794249 | 0.111067 | 0 | 0.652174 | 0 | 0 | 0.145299 | 0.021233 | 0 | 0 | 0 | 0 | 0.059783 | 1 | 0.065217 | false | 0.054348 | 0.027174 | 0 | 0.097826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
a6efb62809a097581155da404fa1b0c3b2ddc91a | 16,477 | py | Python | accelbyte_py_sdk/api/platform/wrappers/_payment_station.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/platform/wrappers/_payment_station.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/platform/wrappers/_payment_station.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
# pylint: disable=duplicate-code
# pylint: disable=li... | 44.532432 | 649 | 0.742793 | 1,874 | 16,477 | 6.27588 | 0.079509 | 0.039282 | 0.058668 | 0.040813 | 0.855114 | 0.77893 | 0.768047 | 0.761925 | 0.753932 | 0.753932 | 0 | 0.000293 | 0.171451 | 16,477 | 369 | 650 | 44.653117 | 0.861193 | 0.046489 | 0 | 0.752475 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033003 | false | 0 | 0.115512 | 0 | 0.280528 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a6f690936d017dd16c4fce8096118163820f45ef | 17,458 | py | Python | Main_Server/nav.py | aby03/Geometric-Reconstruction | aea05fec0332530ecb2986201223b05f3d91633e | [
"MIT"
] | null | null | null | Main_Server/nav.py | aby03/Geometric-Reconstruction | aea05fec0332530ecb2986201223b05f3d91633e | [
"MIT"
] | null | null | null | Main_Server/nav.py | aby03/Geometric-Reconstruction | aea05fec0332530ecb2986201223b05f3d91633e | [
"MIT"
] | null | null | null |
elements = []
#for i in range (0,98):
# elements.append([])
# index 0 for lift, 1 for toilet, 2 for stairs
#from 0
elements.append(["turn left and go straight 2 to 3 metres","turn right and go straight 4 to 5 metres","turn left and go straight 7 to 8 metres"])
#from 1 to 10
elements.append(["turn back and move 5 to ... | 108.434783 | 273 | 0.753809 | 3,210 | 17,458 | 4.099688 | 0.027103 | 0.112766 | 0.082751 | 0.084347 | 0.914818 | 0.869909 | 0.781155 | 0.715122 | 0.669073 | 0.603495 | 0 | 0.033848 | 0.162332 | 17,458 | 160 | 274 | 109.1125 | 0.866042 | 0.015294 | 0 | 0.214286 | 0 | 0 | 0.813301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008929 | false | 0 | 0 | 0.008929 | 0.017857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4705db8ff8b0c86c5f3fcb8cc72fadfb68a02831 | 590 | py | Python | eval_mosmed_timm-regnetx_002_RandomBrightnessContrast.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_mosmed_timm-regnetx_002_RandomBrightnessContrast.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_mosmed_timm-regnetx_002_RandomBrightnessContrast.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_0_RandomBrightnessContrast.yml",
"python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_1_RandomBrightnessContrast.yml",
"python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_2_RandomBri... | 53.636364 | 112 | 0.859322 | 80 | 590 | 5.9625 | 0.3 | 0.104822 | 0.125786 | 0.199161 | 0.87631 | 0.87631 | 0.87631 | 0.87631 | 0.87631 | 0.87631 | 0 | 0.035778 | 0.052542 | 590 | 11 | 113 | 53.636364 | 0.817531 | 0 | 0 | 0 | 0 | 0 | 0.888325 | 0.676819 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
470933fe37dab1f28109446bb1f624e1fa9c478e | 54,029 | py | Python | vsts/vsts/work_item_tracking_process_definitions/v4_1/work_item_tracking_process_definitions_client.py | dhilmathy/azure-devops-python-api | d16026911f93361becb52d2f1c124d5c3e8a82e7 | [
"MIT"
] | null | null | null | vsts/vsts/work_item_tracking_process_definitions/v4_1/work_item_tracking_process_definitions_client.py | dhilmathy/azure-devops-python-api | d16026911f93361becb52d2f1c124d5c3e8a82e7 | [
"MIT"
] | 37 | 2020-04-27T07:45:19.000Z | 2021-04-05T07:27:15.000Z | vsts/vsts/work_item_tracking_process_definitions/v4_1/work_item_tracking_process_definitions_client.py | dhilmathy/azure-devops-python-api | d16026911f93361becb52d2f1c124d5c3e8a82e7 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | 56.04668 | 141 | 0.624461 | 6,607 | 54,029 | 4.857121 | 0.045255 | 0.080895 | 0.0483 | 0.04668 | 0.894394 | 0.875105 | 0.856782 | 0.84787 | 0.82238 | 0.806363 | 0 | 0.030441 | 0.271595 | 54,029 | 963 | 142 | 56.104881 | 0.784957 | 0.009976 | 0 | 0.87037 | 0 | 0 | 0.165637 | 0.064451 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.005051 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4724d80261859f7757d95177a746199625116d32 | 21,176 | py | Python | core.py | LAION-AI/crawlingathome | 43a477777fb403046d67224747cde1dac9f2094a | [
"MIT"
] | 11 | 2021-06-02T03:46:52.000Z | 2021-09-11T22:19:12.000Z | core.py | LAION-AI/crawlingathome | 43a477777fb403046d67224747cde1dac9f2094a | [
"MIT"
] | 9 | 2021-06-14T07:46:20.000Z | 2021-08-28T22:50:46.000Z | core.py | LAION-AI/crawlingathome | 43a477777fb403046d67224747cde1dac9f2094a | [
"MIT"
] | 7 | 2021-06-01T11:59:36.000Z | 2022-03-20T13:44:18.000Z | ##############################
# Crawling@Home Client #
# (c) Theo Coombes, 2021 #
# TheoCoombes/crawlingathome #
##############################
from requests import session, Response
from typing import Optional, Union
from time import sleep
import numpy as np
import logging
import tarfile
import... | 35.589916 | 144 | 0.55851 | 2,544 | 21,176 | 4.55228 | 0.112028 | 0.022364 | 0.032381 | 0.034539 | 0.816251 | 0.809257 | 0.806062 | 0.797945 | 0.797945 | 0.793541 | 0 | 0.004717 | 0.319182 | 21,176 | 594 | 145 | 35.649832 | 0.798571 | 0.110691 | 0 | 0.735369 | 0 | 0.010178 | 0.178002 | 0.004799 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099237 | false | 0 | 0.033079 | 0 | 0.195929 | 0.16285 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5b292cea70a8b344dea0f7d2e4ea767eb654eaa6 | 10,147 | py | Python | corehq/ex-submodules/casexml/apps/phone/tests/test_index_tree.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | corehq/ex-submodules/casexml/apps/phone/tests/test_index_tree.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:03:25.000Z | 2022-03-12T01:03:25.000Z | corehq/ex-submodules/casexml/apps/phone/tests/test_index_tree.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | from django.test import SimpleTestCase
from casexml.apps.phone.models import IndexTree, SimplifiedSyncLog
class TestExtendedFootprint(SimpleTestCase):
def test_simple_linear_structure(self):
[grandparent_id, parent_id, child_id] = all_cases = ['grandparent', 'parent', 'child']
tree = IndexTree(in... | 44.89823 | 109 | 0.699517 | 1,483 | 10,147 | 4.367498 | 0.082266 | 0.087541 | 0.079203 | 0.123205 | 0.85271 | 0.83727 | 0.806237 | 0.787556 | 0.77505 | 0.751891 | 0 | 0.003917 | 0.219966 | 10,147 | 225 | 110 | 45.097778 | 0.814403 | 0.083177 | 0 | 0.755952 | 0 | 0 | 0.02036 | 0 | 0 | 0 | 0 | 0 | 0.297619 | 1 | 0.071429 | false | 0 | 0.011905 | 0.005952 | 0.10119 | 0.005952 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5b580064681024b8a5b753cb9d4854bcd5ecbe27 | 4,943 | py | Python | test_driven_ranges_test.py | clean-code-craft-tcq-2/tdd-buckets-Sathyapriyan-Kannan | f83e186e5f3ab073228368cea5a7dfee7642aa6d | [
"MIT"
] | null | null | null | test_driven_ranges_test.py | clean-code-craft-tcq-2/tdd-buckets-Sathyapriyan-Kannan | f83e186e5f3ab073228368cea5a7dfee7642aa6d | [
"MIT"
] | 1 | 2022-03-21T04:11:31.000Z | 2022-03-21T04:11:31.000Z | test_driven_ranges_test.py | clean-code-craft-tcq-2/tdd-buckets-Sathyapriyan-Kannan | f83e186e5f3ab073228368cea5a7dfee7642aa6d | [
"MIT"
] | null | null | null | import unittest
import test_driven_ranges
class TestDrivenRangesTest(unittest.TestCase):
def test_valid_input(self):
self.assertTrue(test_driven_ranges.is_valid_input([1, 2]))
self.assertFalse(test_driven_ranges.is_valid_input([]))
def test_get_range(self):
self.assertEqual(test_drive... | 56.170455 | 116 | 0.658102 | 658 | 4,943 | 4.574468 | 0.138298 | 0.126246 | 0.201993 | 0.249169 | 0.828571 | 0.788704 | 0.751163 | 0.746512 | 0.734552 | 0.562126 | 0 | 0.121387 | 0.230022 | 4,943 | 87 | 117 | 56.816092 | 0.669469 | 0 | 0 | 0.30137 | 0 | 0 | 0.029334 | 0 | 0 | 0 | 0 | 0 | 0.438356 | 1 | 0.123288 | false | 0 | 0.027397 | 0 | 0.164384 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5b5fe97517109a39eae916478ec731bef364b218 | 99 | py | Python | assets/tuned/daemon/tuned/plugins/exceptions.py | sjug/cluster-node-tuning-operator | 8654d1c9558d0d5ef03d14373c877ebc737f9736 | [
"Apache-2.0"
] | 53 | 2018-11-13T07:02:03.000Z | 2022-03-25T00:00:04.000Z | assets/tuned/daemon/tuned/plugins/exceptions.py | sjug/cluster-node-tuning-operator | 8654d1c9558d0d5ef03d14373c877ebc737f9736 | [
"Apache-2.0"
] | 324 | 2018-10-02T14:18:54.000Z | 2022-03-31T23:47:33.000Z | assets/tuned/daemon/tuned/plugins/exceptions.py | sjug/cluster-node-tuning-operator | 8654d1c9558d0d5ef03d14373c877ebc737f9736 | [
"Apache-2.0"
] | 54 | 2018-10-01T16:55:09.000Z | 2022-03-28T13:56:53.000Z | import tuned.exceptions
class NotSupportedPluginException(tuned.exceptions.TunedException):
pass
| 19.8 | 67 | 0.868687 | 9 | 99 | 9.555556 | 0.777778 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 99 | 4 | 68 | 24.75 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
5b6c7b169bbff704603a33c87c8e8e0c2012a913 | 105 | py | Python | cognite/client/__init__.py | sakshi87/cognite-sdk-python | eb3d569fd058dfd8e3c0c29dee2a635deabad1ac | [
"Apache-2.0"
] | null | null | null | cognite/client/__init__.py | sakshi87/cognite-sdk-python | eb3d569fd058dfd8e3c0c29dee2a635deabad1ac | [
"Apache-2.0"
] | null | null | null | cognite/client/__init__.py | sakshi87/cognite-sdk-python | eb3d569fd058dfd8e3c0c29dee2a635deabad1ac | [
"Apache-2.0"
] | null | null | null | from cognite.client._cognite_client import CogniteClient
from cognite.client._version import __version__
| 35 | 56 | 0.885714 | 13 | 105 | 6.615385 | 0.461538 | 0.453488 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 105 | 2 | 57 | 52.5 | 0.886598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5bff93c9c7f411cad28d013b77c9ed04f20a4b69 | 244 | py | Python | theseus/segmentation/datasets/__init__.py | kaylode/shrec22-pothole | 700d1632de686214e42a2f56aeaceab30c8b9a3f | [
"MIT"
] | 1 | 2022-03-19T11:52:53.000Z | 2022-03-19T11:52:53.000Z | theseus/segmentation/datasets/__init__.py | kaylode/shrec22-pothole | 700d1632de686214e42a2f56aeaceab30c8b9a3f | [
"MIT"
] | null | null | null | theseus/segmentation/datasets/__init__.py | kaylode/shrec22-pothole | 700d1632de686214e42a2f56aeaceab30c8b9a3f | [
"MIT"
] | 1 | 2022-03-19T11:53:10.000Z | 2022-03-19T11:53:10.000Z | from theseus.base.datasets import DATASET_REGISTRY, DATALOADER_REGISTRY
from .csv_dataset import CSVDataset
from .mosaic_dataset import CSVDatasetWithMosaic
DATASET_REGISTRY.register(CSVDataset)
DATASET_REGISTRY.register(CSVDatasetWithMosaic) | 34.857143 | 71 | 0.889344 | 27 | 244 | 7.814815 | 0.481481 | 0.21327 | 0.218009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 244 | 7 | 72 | 34.857143 | 0.925439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
753ef0b6bc909f3c77fd22607ba40531e9b7383c | 55,355 | py | Python | tests/test_drs.py | rpatil524/fence | c5233752f34eaa4ff1046ee930ab7f4218d4ac3b | [
"Apache-2.0"
] | null | null | null | tests/test_drs.py | rpatil524/fence | c5233752f34eaa4ff1046ee930ab7f4218d4ac3b | [
"Apache-2.0"
] | null | null | null | tests/test_drs.py | rpatil524/fence | c5233752f34eaa4ff1046ee930ab7f4218d4ac3b | [
"Apache-2.0"
] | null | null | null | import flask
import httpx
import hashlib
import json
import jwt
import pytest
import requests
import responses
from tests import utils
import time
from unittest.mock import MagicMock, patch
from gen3authz.client.arborist.client import ArboristClient
from fence.config import config
from fence.models import GA4GHPasspo... | 32.447245 | 94 | 0.573245 | 5,782 | 55,355 | 5.212037 | 0.060706 | 0.023892 | 0.022299 | 0.039023 | 0.936023 | 0.934364 | 0.928126 | 0.921257 | 0.917607 | 0.915782 | 0 | 0.031908 | 0.292855 | 55,355 | 1,705 | 95 | 32.466276 | 0.737968 | 0.054394 | 0 | 0.823253 | 0 | 0 | 0.258116 | 0.056633 | 0 | 0 | 0 | 0 | 0.028898 | 1 | 0.011425 | false | 0.09879 | 0.014113 | 0 | 0.02621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
7559abc11f30f72979aa3bfbc3adc76e19d2eabb | 6,315 | py | Python | cbe/cbe/supplier_partner/migrations/0001_initial.py | cdaf/cbe | 7945a3fad11ae4612e22163094571ac9157dca7f | [
"Apache-2.0"
] | 3 | 2019-02-26T19:54:51.000Z | 2021-03-23T02:57:02.000Z | cbe/cbe/supplier_partner/migrations/0001_initial.py | cdaf/cbe | 7945a3fad11ae4612e22163094571ac9157dca7f | [
"Apache-2.0"
] | 6 | 2016-12-23T02:11:21.000Z | 2018-09-30T18:50:59.000Z | cbe/cbe/supplier_partner/migrations/0001_initial.py | cdaf/cbe | 7945a3fad11ae4612e22163094571ac9157dca7f | [
"Apache-2.0"
] | 4 | 2017-02-11T04:40:52.000Z | 2020-10-12T22:22:54.000Z | # Generated by Django 2.0.1 on 2018-01-31 15:25
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('party', '0001_initial'),
('resource', '0001_initial'),
]
operations = [
... | 68.641304 | 169 | 0.641964 | 629 | 6,315 | 6.219396 | 0.138315 | 0.069018 | 0.099693 | 0.115031 | 0.884202 | 0.851227 | 0.826431 | 0.816973 | 0.816973 | 0.811861 | 0 | 0.010803 | 0.22312 | 6,315 | 91 | 170 | 69.395604 | 0.786588 | 0.007126 | 0 | 0.511905 | 1 | 0 | 0.271491 | 0.148454 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f37464f83f643cb4f590c4fddb03b1710334e045 | 1,724 | py | Python | test/unit/core/git/test_ignore.py | novopl/peltak | 7c8ac44f994d923091a534870960fdae1e15e95e | [
"Apache-2.0"
] | 6 | 2015-09-10T13:20:34.000Z | 2021-02-15T08:10:27.000Z | test/unit/core/git/test_ignore.py | novopl/peltak | 7c8ac44f994d923091a534870960fdae1e15e95e | [
"Apache-2.0"
] | 41 | 2015-09-09T12:44:55.000Z | 2021-06-01T23:25:56.000Z | test/unit/core/git/test_ignore.py | novopl/peltak | 7c8ac44f994d923091a534870960fdae1e15e95e | [
"Apache-2.0"
] | null | null | null | # pylint: disable=missing-docstring
from unittest.mock import patch, mock_open
from peltak.core import git
from peltak.core import util
FAKE_GIT_IGNORE = '\n'.join([
'pattern1',
'pattern2',
'/pattern3',
])
@patch('peltak.core.git.open', mock_open(read_data='\n'.join([
'pattern1',
'pattern2',
... | 21.822785 | 63 | 0.61891 | 205 | 1,724 | 5.02439 | 0.234146 | 0.113592 | 0.124272 | 0.163107 | 0.759223 | 0.723301 | 0.723301 | 0.723301 | 0.723301 | 0.723301 | 0 | 0.019912 | 0.213457 | 1,724 | 78 | 64 | 22.102564 | 0.739676 | 0.019142 | 0 | 0.772727 | 0 | 0 | 0.195974 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 1 | 0.060606 | false | 0 | 0.045455 | 0 | 0.106061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f3a5bb8d7982c7d85f7d3e584dc3d1925927e78e | 229 | py | Python | serpcord/exceptions/__init__.py | PgBiel/serpcord | 482736dc691027417edcd6500cdfbf9053f92b63 | [
"MIT"
] | null | null | null | serpcord/exceptions/__init__.py | PgBiel/serpcord | 482736dc691027417edcd6500cdfbf9053f92b63 | [
"MIT"
] | null | null | null | serpcord/exceptions/__init__.py | PgBiel/serpcord | 482736dc691027417edcd6500cdfbf9053f92b63 | [
"MIT"
] | null | null | null | from .serpcordexc import SerpcordException, APIRequestException # TODO: Exception Hierarchy graph
from .dataparseexc import APIDataParseException, APIJsonParseException, APIJsonParsedTypeMismatchException
from .httpexc import *
| 57.25 | 106 | 0.868996 | 18 | 229 | 11.055556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091703 | 229 | 3 | 107 | 76.333333 | 0.956731 | 0.135371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
340e5bbb372686d75ed04441a12868c0fd2d8f56 | 260 | py | Python | fluxio_parser/transformers/__init__.py | NarrativeScience/fluxio-parser | bddd6b86a550ec87a58a2d854978d559e29cf3f4 | [
"BSD-3-Clause"
] | 1 | 2021-06-09T20:22:38.000Z | 2021-06-09T20:22:38.000Z | fluxio_parser/transformers/__init__.py | NarrativeScience/fluxio-parser | bddd6b86a550ec87a58a2d854978d559e29cf3f4 | [
"BSD-3-Clause"
] | null | null | null | fluxio_parser/transformers/__init__.py | NarrativeScience/fluxio-parser | bddd6b86a550ec87a58a2d854978d559e29cf3f4 | [
"BSD-3-Clause"
] | 1 | 2021-06-09T20:22:39.000Z | 2021-06-09T20:22:39.000Z | """Contains exports from the transformers subpackage"""
from fluxio_parser.transformers.data_dict import DataDictTransformer
from fluxio_parser.transformers.run_method import RunMethodTransformer
from fluxio_parser.transformers.script import ScriptTransformer
| 52 | 70 | 0.884615 | 29 | 260 | 7.758621 | 0.586207 | 0.133333 | 0.213333 | 0.373333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069231 | 260 | 4 | 71 | 65 | 0.929752 | 0.188462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
341db8f982686bdc05e7fea5f460507b7076a32a | 1,276 | py | Python | tests/test_658.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_658.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_658.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pytest
"""
Test 658. Find K Closest Elements
"""
@pytest.fixture(scope="session")
def init_variables_658():
from src.leetcode_658_find_k_closest_elements import Solution
solution = Solution()
def _init_variables_658():
return solution
yield _init_variables_658... | 22.385965 | 95 | 0.68652 | 184 | 1,276 | 4.48913 | 0.190217 | 0.220339 | 0.271186 | 0.038741 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.104449 | 0.189655 | 1,276 | 56 | 96 | 22.785714 | 0.694391 | 0.031348 | 0 | 1 | 0 | 0 | 0.012153 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.307692 | false | 0 | 0.153846 | 0.076923 | 0.615385 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
34502a9a4579f9434df7232f0efdd8a1859f7ff5 | 48 | py | Python | app/util/__init__.py | Manuel7AP/dobc_web_app | ebb775e18a4f03f70d1bdb14a7ec8142bce9e857 | [
"Apache-2.0"
] | 11 | 2015-08-28T17:48:20.000Z | 2021-11-16T12:20:16.000Z | app/util/__init__.py | Manuel7AP/dobc_web_app | ebb775e18a4f03f70d1bdb14a7ec8142bce9e857 | [
"Apache-2.0"
] | 9 | 2015-02-23T01:48:42.000Z | 2021-12-07T09:59:57.000Z | app/util/__init__.py | Manuel7AP/dobc_web_app | ebb775e18a4f03f70d1bdb14a7ec8142bce9e857 | [
"Apache-2.0"
] | 12 | 2015-01-06T17:21:21.000Z | 2021-08-05T19:15:27.000Z | from flash_form_errors import flash_form_errors
| 24 | 47 | 0.916667 | 8 | 48 | 5 | 0.625 | 0.45 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
3452ee91f25627b34cb8e218eb232e8a056f34f9 | 33 | py | Python | projekt ASD CLICKER/exe-compiled/save.py | extara/PY_machine_clicker | 6a0151132eb44c16e8d534154bfee1c6c95d7734 | [
"MIT"
] | null | null | null | projekt ASD CLICKER/exe-compiled/save.py | extara/PY_machine_clicker | 6a0151132eb44c16e8d534154bfee1c6c95d7734 | [
"MIT"
] | null | null | null | projekt ASD CLICKER/exe-compiled/save.py | extara/PY_machine_clicker | 6a0151132eb44c16e8d534154bfee1c6c95d7734 | [
"MIT"
] | null | null | null | 46
1280
7
800
13
3000
5000
50000
| 3.666667 | 5 | 0.757576 | 8 | 33 | 3.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | 33 | 8 | 6 | 4.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
345da0dcb7cb02a63e13850045843ba4ee5a05a4 | 173 | py | Python | tests/test_version.py | LucaCappelletti94/hpo_downloader | 14497478626c234539659b9f55b16496e6b6b86b | [
"MIT"
] | null | null | null | tests/test_version.py | LucaCappelletti94/hpo_downloader | 14497478626c234539659b9f55b16496e6b6b86b | [
"MIT"
] | null | null | null | tests/test_version.py | LucaCappelletti94/hpo_downloader | 14497478626c234539659b9f55b16496e6b6b86b | [
"MIT"
] | null | null | null | from validate_version_code import validate_version_code
from hpo_downloader.__version__ import __version__
def test_version():
assert validate_version_code(__version__) | 34.6 | 55 | 0.872832 | 22 | 173 | 5.954545 | 0.454545 | 0.343511 | 0.435115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092486 | 173 | 5 | 56 | 34.6 | 0.834395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3481748156a53070d1dacc05ed123a4bc85f9630 | 35,182 | py | Python | sdk/python/pulumi_gcp/compute/node_group.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | sdk/python/pulumi_gcp/compute/node_group.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | sdk/python/pulumi_gcp/compute/node_group.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 43.86783 | 236 | 0.647547 | 4,056 | 35,182 | 5.439596 | 0.064349 | 0.072792 | 0.081811 | 0.058832 | 0.910257 | 0.89539 | 0.883017 | 0.876173 | 0.863527 | 0.838009 | 0 | 0.00263 | 0.25442 | 35,182 | 801 | 237 | 43.922597 | 0.838474 | 0.398044 | 0 | 0.796875 | 1 | 0 | 0.122079 | 0.034169 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164063 | false | 0.002604 | 0.018229 | 0 | 0.28125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cace876d4f7a98fd6ce01eeef50003644fc57388 | 60,582 | py | Python | esp_sdk/apis/custom_compliance_controls_api.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 6 | 2017-06-05T20:37:19.000Z | 2019-04-10T08:43:59.000Z | esp_sdk/apis/custom_compliance_controls_api.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 18 | 2016-06-22T16:14:33.000Z | 2018-10-29T21:53:15.000Z | esp_sdk/apis/custom_compliance_controls_api.py | zimmermanc/esp-sdk-python | cdef13c0dc6c3996b6c444160c71b2f1e3910c97 | [
"MIT"
] | 18 | 2016-07-27T19:20:01.000Z | 2020-11-17T02:09:58.000Z | # coding: utf-8
"""
ESP Documentation
The Evident Security Platform API (version 2.0) is designed to allow users granular control over their Amazon Web Service security experience by allowing them to review alerts, monitor signatures, and create custom signatures.
OpenAPI spec version: v2_sdk
Ge... | 48.93538 | 230 | 0.615133 | 6,511 | 60,582 | 5.480418 | 0.034403 | 0.084298 | 0.090239 | 0.075666 | 0.971583 | 0.967884 | 0.962811 | 0.952835 | 0.942606 | 0.940476 | 0 | 0.000382 | 0.309432 | 60,582 | 1,237 | 231 | 48.974939 | 0.852543 | 0.365439 | 0 | 0.81759 | 0 | 0 | 0.222175 | 0.103778 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034202 | false | 0 | 0.011401 | 0 | 0.096091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
caec440d4d0cc71b65ff3dbff33f1cab35d337db | 167 | py | Python | tests/parser/grounding.backjump.13.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/grounding.backjump.13.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/grounding.backjump.13.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
num(2).
node(a).
p(N) :- num(N), #count{Y:node(Y)} = N1, N<=N1.
"""
output = """
num(2).
node(a).
p(N) :- num(N), #count{Y:node(Y)} = N1, N<=N1.
"""
| 15.181818 | 47 | 0.437126 | 32 | 167 | 2.28125 | 0.34375 | 0.109589 | 0.219178 | 0.246575 | 0.849315 | 0.849315 | 0.849315 | 0.849315 | 0.849315 | 0.849315 | 0 | 0.044444 | 0.191617 | 167 | 10 | 48 | 16.7 | 0.496296 | 0 | 0 | 0.8 | 0 | 0.2 | 0.807453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
1b0ff6726fa4e15c96ef698253008513cd2625f3 | 270,684 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_subscriber_infra_tmplmgr_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_subscriber_infra_tmplmgr_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_subscriber_infra_tmplmgr_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XR_subscriber_infra_tmplmgr_cfg
This module contains a collection of YANG definitions
for Cisco IOS\-XR subscriber\-infra\-tmplmgr package configuration.
This module contains definitions
for the following management objects\:
dynamic\-template\: All dynamic template configurations
Copyright (c) 2013... | 40.036089 | 298 | 0.453684 | 23,129 | 270,684 | 5.105322 | 0.016473 | 0.034417 | 0.043021 | 0.033875 | 0.97434 | 0.967133 | 0.962441 | 0.960722 | 0.957284 | 0.955861 | 0 | 0.013747 | 0.479171 | 270,684 | 6,760 | 299 | 40.042012 | 0.823826 | 0.257163 | 0 | 0.925373 | 0 | 0.003124 | 0.110162 | 0.074897 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15446 | false | 0 | 0.032628 | 0.001388 | 0.490802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1b1017c6446e927aeef5fd5cd2045f80f298d788 | 8,494 | py | Python | ACDC/preprocess1.py | lars76/segmentation_activations | e0a52e3d5309dc9aec396ff16afc5b565fd25c2f | [
"MIT"
] | null | null | null | ACDC/preprocess1.py | lars76/segmentation_activations | e0a52e3d5309dc9aec396ff16afc5b565fd25c2f | [
"MIT"
] | null | null | null | ACDC/preprocess1.py | lars76/segmentation_activations | e0a52e3d5309dc9aec396ff16afc5b565fd25c2f | [
"MIT"
] | null | null | null | """
Credits: https://github.com/liut969/Automated-Cardiac-Segmentation-and-Diagnosis/blob/master/roi.py
changed __main__
"""
from skimage.feature import peak_local_max, canny
from skimage.transform import hough_circle
from scipy.fftpack import fftn, ifftn
import numpy as np
import nibabel as nib
import csv
import os
c... | 41.033816 | 165 | 0.57523 | 1,056 | 8,494 | 4.407197 | 0.183712 | 0.030941 | 0.021487 | 0.015471 | 0.805114 | 0.774817 | 0.774817 | 0.774817 | 0.755479 | 0.755479 | 0 | 0.020218 | 0.318696 | 8,494 | 207 | 166 | 41.033816 | 0.783999 | 0.127973 | 0 | 0.712329 | 0 | 0 | 0.012957 | 0.007774 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034247 | false | 0 | 0.047945 | 0 | 0.109589 | 0.006849 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1b79623671c9933766596e717331f6ed4a323b33 | 156 | py | Python | fmdtools/resultdisp/__init__.py | DesignEngrLab/fmdkit | 2d87c415c036f44fe10310500788f5ab697e618d | [
"MIT"
] | 8 | 2020-07-10T19:58:11.000Z | 2022-01-06T18:47:09.000Z | fmdtools/resultdisp/__init__.py | nasa/fmdtools | 7415068776998ff05eb199c78531ee7f9c2422e7 | [
"MIT"
] | 10 | 2020-07-10T23:17:59.000Z | 2021-05-20T13:31:43.000Z | fmdtools/resultdisp/__init__.py | nasa/fmdtools | 7415068776998ff05eb199c78531ee7f9c2422e7 | [
"MIT"
] | 3 | 2020-02-06T21:02:20.000Z | 2022-03-01T08:59:37.000Z |
from fmdtools.resultdisp import tabulate
from fmdtools.resultdisp import process
from fmdtools.resultdisp import graph
from fmdtools.resultdisp import plot | 31.2 | 40 | 0.871795 | 20 | 156 | 6.8 | 0.4 | 0.352941 | 0.647059 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 156 | 5 | 41 | 31.2 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
1bbb1e3c6be9f17d4fcbdf4944dfb366cecf6d04 | 1,319 | py | Python | test/bibliopixel/layout/layout_matrix_test.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 253 | 2015-01-03T23:17:57.000Z | 2021-12-14T02:31:08.000Z | test/bibliopixel/layout/layout_matrix_test.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 879 | 2015-01-11T16:07:25.000Z | 2021-12-10T16:24:31.000Z | test/bibliopixel/layout/layout_matrix_test.py | rec/leds | ed5fd11ed155e7008d4ef6d5b3d82cd7f8b3ed6a | [
"MIT"
] | 71 | 2015-01-04T01:02:47.000Z | 2022-03-25T18:30:10.000Z | import unittest
from bibliopixel.layout.geometry import matrix
class MatrixTest(unittest.TestCase):
def test_simple(self):
m = matrix.Matrix(list(range(12)), 3)
self.assertEqual(m.get(0, 0), 0)
self.assertEqual(m.get(1, 0), 1)
self.assertEqual(m.get(0, 1), 3)
self.assertEqu... | 34.710526 | 64 | 0.585292 | 211 | 1,319 | 3.630332 | 0.161137 | 0.411227 | 0.438642 | 0.520888 | 0.763708 | 0.762402 | 0.732376 | 0.70235 | 0.515666 | 0.515666 | 0 | 0.077 | 0.24185 | 1,319 | 37 | 65 | 35.648649 | 0.689 | 0 | 0 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.65625 | 1 | 0.125 | false | 0 | 0.0625 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9449c06d0d198411378bc208a6fad5ff413b3bb5 | 7,361 | py | Python | forums/tests/test_create.py | bhokin/ThaiMoung | afac52ad1fefe2c78b6d69b2b08c63aee699ee20 | [
"MIT"
] | 1 | 2022-02-13T04:31:00.000Z | 2022-02-13T04:31:00.000Z | forums/tests/test_create.py | XOQDY/ThaiMoung | afac52ad1fefe2c78b6d69b2b08c63aee699ee20 | [
"MIT"
] | 40 | 2021-10-13T07:30:30.000Z | 2022-01-30T08:24:14.000Z | forums/tests/test_create.py | XOQDY/ThaiMoung | afac52ad1fefe2c78b6d69b2b08c63aee699ee20 | [
"MIT"
] | 3 | 2021-10-31T17:58:58.000Z | 2021-11-12T17:05:14.000Z | """Tests for create methods."""
from django.test import TestCase
from django.urls import reverse
from forums.views import *
class CreateTopic(TestCase):
"""Tests for create topic."""
def setUp(self):
"""Initialize a user with username, email, password and first name."""
self.credentials = {
... | 47.490323 | 110 | 0.535253 | 700 | 7,361 | 5.538571 | 0.125714 | 0.037142 | 0.05107 | 0.078927 | 0.871034 | 0.833118 | 0.794945 | 0.794945 | 0.787722 | 0.779469 | 0 | 0.014996 | 0.338677 | 7,361 | 154 | 111 | 47.798701 | 0.78143 | 0.215867 | 0 | 0.752475 | 0 | 0 | 0.15927 | 0.026662 | 0 | 0 | 0 | 0 | 0.138614 | 1 | 0.108911 | false | 0.069307 | 0.029703 | 0 | 0.178218 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
849c02618c73f34cfab41d3faded0d8ca2423856 | 1,513 | py | Python | src/test.py | DavRack/final-ADA-2021-2 | 019d544f7d49c87ec32c989b0e1415648c7220ee | [
"MIT"
] | null | null | null | src/test.py | DavRack/final-ADA-2021-2 | 019d544f7d49c87ec32c989b0e1415648c7220ee | [
"MIT"
] | null | null | null | src/test.py | DavRack/final-ADA-2021-2 | 019d544f7d49c87ec32c989b0e1415648c7220ee | [
"MIT"
] | null | null | null | import slow, fast
import time
import copy
import test500
cases = [10, 20, 50, 100, 200, 300, 400, 500, 1000]
resoults = []
def get_ms():
return round(time.time() * 1000)
for case in cases:
atributes = test500.atributes
products = test500.products[:case]
time_fast1 = get_ms()
ordered_products... | 39.815789 | 109 | 0.757436 | 198 | 1,513 | 5.570707 | 0.19697 | 0.217588 | 0.362647 | 0.226655 | 0.705349 | 0.705349 | 0.705349 | 0.705349 | 0.705349 | 0.698096 | 0 | 0.036172 | 0.122935 | 1,513 | 37 | 110 | 40.891892 | 0.795026 | 0 | 0 | 0.357143 | 0 | 0 | 0.013219 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.142857 | 0.035714 | 0.214286 | 0.035714 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
84b02aa71336f64fb5835f81b4d7a5fd881b07f6 | 83 | py | Python | src/browserist/helper/operating_system.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | 2 | 2022-02-20T10:03:19.000Z | 2022-03-22T11:17:10.000Z | src/browserist/helper/operating_system.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | null | null | null | src/browserist/helper/operating_system.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | null | null | null | import sys
def is_windows() -> bool:
return sys.platform.startswith("win32")
| 13.833333 | 43 | 0.698795 | 11 | 83 | 5.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.168675 | 83 | 5 | 44 | 16.6 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
84e8578c8af88d74d8ca7e781b37c7a36fea279a | 17,498 | py | Python | bgRemove.py | SihanGunarathne/ImageEditor | a9329d7aa0c4c59e4e840274b5d16025aba59512 | [
"MIT"
] | null | null | null | bgRemove.py | SihanGunarathne/ImageEditor | a9329d7aa0c4c59e4e840274b5d16025aba59512 | [
"MIT"
] | null | null | null | bgRemove.py | SihanGunarathne/ImageEditor | a9329d7aa0c4c59e4e840274b5d16025aba59512 | [
"MIT"
] | null | null | null | from tkinter import Toplevel, Label, Scale, Button, HORIZONTAL, RIGHT
import cv2 # for image processing
import numpy as np
class BgRemove(Toplevel):
def __init__(self, master=None):
Toplevel.__init__(self, master=master)
self.original_image = self.master.processed_image
self.bgremoved_im... | 42.0625 | 94 | 0.630986 | 2,246 | 17,498 | 4.80187 | 0.086376 | 0.019471 | 0.015299 | 0.021326 | 0.874363 | 0.837459 | 0.82077 | 0.806305 | 0.806305 | 0.806305 | 0 | 0.054442 | 0.267288 | 17,498 | 415 | 95 | 42.163855 | 0.786756 | 0.28969 | 0 | 0.731225 | 0 | 0 | 0.023226 | 0.006822 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059289 | false | 0 | 0.011858 | 0 | 0.075099 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
84ebbeca1c5131f18b021fbc9baceb2b70863ae3 | 12,650 | py | Python | scikits/crab/metrics/tests/test_classes.py | CrazyCaspian/crab | beb355538acc419b82beae3c6845d1e1cff5d26b | [
"BSD-3-Clause"
] | 863 | 2015-01-01T05:09:14.000Z | 2022-03-27T05:05:25.000Z | scikits/crab/metrics/tests/test_classes.py | qqwjq/crab | beb355538acc419b82beae3c6845d1e1cff5d26b | [
"BSD-3-Clause"
] | 21 | 2015-01-02T15:42:46.000Z | 2018-08-18T16:02:03.000Z | scikits/crab/metrics/tests/test_classes.py | qqwjq/crab | beb355538acc419b82beae3c6845d1e1cff5d26b | [
"BSD-3-Clause"
] | 318 | 2015-01-01T13:13:04.000Z | 2022-03-29T11:38:08.000Z | from nose.tools import assert_equals, assert_almost_equals, assert_raises, assert_true
from ...similarities.basic_similarities import UserSimilarity
from ...metrics.pairwise import euclidean_distances, jaccard_coefficient
from ...models.classes import MatrixPreferenceDataModel, \
MatrixBooleanPrefDataModel
from ... | 51.008065 | 91 | 0.62585 | 1,821 | 12,650 | 4.204283 | 0.061505 | 0.097962 | 0.048328 | 0.065831 | 0.866641 | 0.840648 | 0.82001 | 0.817529 | 0.8157 | 0.806034 | 0 | 0.046534 | 0.184585 | 12,650 | 247 | 92 | 51.214575 | 0.695686 | 0.031779 | 0 | 0.642105 | 0 | 0 | 0.197955 | 0 | 0 | 0 | 0 | 0 | 0.415789 | 1 | 0.010526 | false | 0 | 0.036842 | 0 | 0.047368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ca169aec4538cb9faef3722f2f5df3f9371775aa | 91,741 | py | Python | tccli/services/dlc/dlc_client.py | HS-Gray/tencentcloud-cli | 3822fcfdfed570fb526fe49abe6793e2f9127f4a | [
"Apache-2.0"
] | 47 | 2018-05-31T11:26:25.000Z | 2022-03-08T02:12:45.000Z | tccli/services/dlc/dlc_client.py | HS-Gray/tencentcloud-cli | 3822fcfdfed570fb526fe49abe6793e2f9127f4a | [
"Apache-2.0"
] | 23 | 2018-06-14T10:46:30.000Z | 2022-02-28T02:53:09.000Z | tccli/services/dlc/dlc_client.py | HS-Gray/tencentcloud-cli | 3822fcfdfed570fb526fe49abe6793e2f9127f4a | [
"Apache-2.0"
] | 22 | 2018-10-22T09:49:45.000Z | 2022-03-30T08:06:04.000Z | # -*- coding: utf-8 -*-
import os
import sys
import json
import tccli.options_define as OptionsDefine
import tccli.format_output as FormatOutput
from tccli import __version__
from tccli.utils import Utils
from tccli.exceptions import ConfigurationError, ClientError, ParamError
from tencentcloud.common import credential... | 52.155202 | 155 | 0.676982 | 9,934 | 91,741 | 6.028287 | 0.02728 | 0.098389 | 0.296652 | 0.128329 | 0.911814 | 0.907456 | 0.905352 | 0.902112 | 0.898205 | 0.894865 | 0 | 0.004619 | 0.188138 | 91,741 | 1,758 | 156 | 52.184869 | 0.799412 | 0.00448 | 0 | 0.79484 | 0 | 0 | 0.138138 | 0.070882 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021499 | false | 0 | 0.009828 | 0.000614 | 0.032555 | 0.02027 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ca18dcf23635fdb21456a967266a4ff2e9dd8c73 | 12,930 | py | Python | fdk_client/platform/models/ContentValidator.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | fdk_client/platform/models/ContentValidator.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | fdk_client/platform/models/ContentValidator.py | kavish-d/fdk-client-python | a1023eb530473322cb52e095fc4ceb226c1e6037 | [
"MIT"
] | null | null | null | """Class Validators."""
from marshmallow import fields, Schema
from marshmallow.validate import OneOf
from ..enums import *
from ..models.BaseSchema import BaseSchema
class ContentValidator:
class getAnnouncementsList(BaseSchema):
company_id = fields.Str(required=False)
appl... | 25.155642 | 52 | 0.57007 | 1,169 | 12,930 | 6.177074 | 0.076989 | 0.29525 | 0.357845 | 0.463094 | 0.84365 | 0.84365 | 0.838942 | 0.838942 | 0.838942 | 0.838942 | 0 | 0 | 0.351585 | 12,930 | 514 | 53 | 25.155642 | 0.861283 | 0.001315 | 0 | 0.714912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.280702 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ca3c008bc598f7cbc3731ed13ea8c4d21c98c31b | 90 | py | Python | eod/plugins/classification/models/__init__.py | Helicopt/EOD | b5db36f4ce267bf64d093b8174bde2c4097b4718 | [
"Apache-2.0"
] | 196 | 2021-10-30T05:15:36.000Z | 2022-03-30T18:43:40.000Z | eod/tasks/cls/models/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | 12 | 2021-10-30T11:33:28.000Z | 2022-03-31T14:22:58.000Z | eod/tasks/cls/models/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | 23 | 2021-11-01T07:26:17.000Z | 2022-03-27T05:55:37.000Z | from .heads import * # noqa
from .losses import * # noqa
from .postprocess import * # noqa | 30 | 33 | 0.711111 | 12 | 90 | 5.333333 | 0.5 | 0.46875 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188889 | 90 | 3 | 33 | 30 | 0.876712 | 0.155556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ca3cd771bae91a442ab38172a996ac74ca0a06f6 | 222 | py | Python | social/users/admin.py | RichardRosario/awesome-pinoy-social | c46192b356ead7f1fb4c672239eb8055d415f4f6 | [
"MIT"
] | 9 | 2020-10-15T01:13:36.000Z | 2021-05-02T23:15:04.000Z | social/users/admin.py | RichardRosario/awesome-pinoy-social | c46192b356ead7f1fb4c672239eb8055d415f4f6 | [
"MIT"
] | 26 | 2020-10-21T22:41:10.000Z | 2021-03-01T15:52:36.000Z | social/users/admin.py | RichardRosario/awesome-pinoy-social | c46192b356ead7f1fb4c672239eb8055d415f4f6 | [
"MIT"
] | 2 | 2020-10-16T16:40:24.000Z | 2020-12-02T11:52:53.000Z | from django.contrib import admin
from django.contrib.auth import get_user_model
from django.contrib.auth.admin import UserAdmin as AuthUserAdmin
@admin.register(get_user_model())
class UserAdmin(AuthUserAdmin):
pass
| 24.666667 | 64 | 0.824324 | 31 | 222 | 5.774194 | 0.483871 | 0.167598 | 0.284916 | 0.234637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 222 | 8 | 65 | 27.75 | 0.90404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
ca4933266b8b70285a73542db0849f50c298bca9 | 164 | py | Python | django_test/hmdb/models.py | wolframowy/mgr | 9d61cef8d135e255f724f57ba55a0dc8c4269219 | [
"MIT"
] | null | null | null | django_test/hmdb/models.py | wolframowy/mgr | 9d61cef8d135e255f724f57ba55a0dc8c4269219 | [
"MIT"
] | null | null | null | django_test/hmdb/models.py | wolframowy/mgr | 9d61cef8d135e255f724f57ba55a0dc8c4269219 | [
"MIT"
] | null | null | null |
from hmdb.submodels.spectra import *
from hmdb.submodels.metabolite import *
from hmdb.submodels.metabolite_names import *
from hmdb.submodels.biolocation import * | 32.8 | 45 | 0.829268 | 21 | 164 | 6.428571 | 0.380952 | 0.237037 | 0.503704 | 0.511111 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 164 | 5 | 46 | 32.8 | 0.912162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ca5de6dfbd9af9a63888f9b8d6f987aeb4a8c697 | 122 | py | Python | discord/embeds.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/embeds.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/embeds.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | from disnake.embeds import *
from disnake.embeds import __dict__ as __original_dict__
locals().update(__original_dict__)
| 24.4 | 56 | 0.836066 | 16 | 122 | 5.5 | 0.5625 | 0.25 | 0.386364 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 122 | 4 | 57 | 30.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
ca6b8802b2319269e56377269a3d2c9d8cfcf5d9 | 9,763 | py | Python | tests/components/rfxtrx/test_sensor.py | tobycheese/core | e5a081c7dd774f188afebfca09c00eb6e2b4f4c9 | [
"Apache-2.0"
] | 6 | 2020-07-18T16:33:25.000Z | 2021-09-26T09:52:04.000Z | tests/components/rfxtrx/test_sensor.py | tobycheese/core | e5a081c7dd774f188afebfca09c00eb6e2b4f4c9 | [
"Apache-2.0"
] | 1 | 2020-10-27T23:58:15.000Z | 2020-10-27T23:58:15.000Z | tests/components/rfxtrx/test_sensor.py | tobycheese/core | e5a081c7dd774f188afebfca09c00eb6e2b4f4c9 | [
"Apache-2.0"
] | 3 | 2020-10-18T07:08:40.000Z | 2021-06-21T02:26:00.000Z | """The tests for the Rfxtrx sensor platform."""
from homeassistant.const import TEMP_CELSIUS, UNIT_PERCENTAGE
from homeassistant.setup import async_setup_component
from . import _signal_event
async def test_default_config(hass, rfxtrx):
"""Test with 0 sensor."""
await async_setup_component(
hass, "se... | 32.009836 | 82 | 0.629827 | 1,095 | 9,763 | 5.401826 | 0.087671 | 0.17295 | 0.11716 | 0.133897 | 0.916145 | 0.865427 | 0.856298 | 0.831784 | 0.829417 | 0.829417 | 0 | 0.052048 | 0.242344 | 9,763 | 304 | 83 | 32.115132 | 0.7476 | 0.005634 | 0 | 0.741525 | 0 | 0 | 0.254035 | 0.097901 | 0 | 0 | 0 | 0 | 0.423729 | 1 | 0 | false | 0 | 0.012712 | 0 | 0.012712 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ca81e84d2d6ecf841e50653666299d1be3918efb | 93 | py | Python | pfibs/block_preconditioners/__init__.py | iprotasov/pfibs | 589724369b248971ba76da3f764f4b760b666761 | [
"BSD-3-Clause"
] | 10 | 2019-02-08T19:37:48.000Z | 2021-09-16T01:46:15.000Z | pfibs/block_preconditioners/__init__.py | iprotasov/pfibs | 589724369b248971ba76da3f764f4b760b666761 | [
"BSD-3-Clause"
] | 2 | 2019-04-09T17:14:38.000Z | 2019-04-12T20:57:37.000Z | pfibs/block_preconditioners/__init__.py | iprotasov/pfibs | 589724369b248971ba76da3f764f4b760b666761 | [
"BSD-3-Clause"
] | 3 | 2019-04-09T17:19:09.000Z | 2021-09-02T19:54:10.000Z | from pfibs.block_preconditioners.base import *
from pfibs.block_preconditioners.pcd import *
| 31 | 46 | 0.849462 | 12 | 93 | 6.416667 | 0.583333 | 0.233766 | 0.363636 | 0.753247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 2 | 47 | 46.5 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
046454588551a0f3d5351765098463aa03231c71 | 2,281 | py | Python | AOC2017_1a.py | ghexp/aoc2017 | 0b51d78b8f3fe78958ad36dd9ff73de86d7e90b3 | [
"Apache-2.0"
] | null | null | null | AOC2017_1a.py | ghexp/aoc2017 | 0b51d78b8f3fe78958ad36dd9ff73de86d7e90b3 | [
"Apache-2.0"
] | null | null | null | AOC2017_1a.py | ghexp/aoc2017 | 0b51d78b8f3fe78958ad36dd9ff73de86d7e90b3 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
instr = '738576468625144447399791512378297253634373265751783467175946279546121378242834293189618169557899627432131741924235953478395737293295377433633811848896717272765186249883819531765428979755868345851112699621795332281722937237345586217784447844339183548459152523565186346489117792724495492582... | 228.1 | 2,084 | 0.960982 | 38 | 2,281 | 57.684211 | 0.447368 | 0.016423 | 0.015055 | 0.016423 | 0.011861 | 0 | 0 | 0 | 0 | 0 | 0 | 0.929785 | 0.019728 | 2,281 | 9 | 2,085 | 253.444444 | 0.050537 | 0.029373 | 0 | 0 | 0 | 0 | 0.937613 | 0.937613 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
04a05eb2fd74ea1892039dc7b448e25be8c927dc | 2,428 | py | Python | backend/apps/core/session.py | ambient-innovation/workshop-django | 3105f6684097a4443919edc0ac300f64937a1371 | [
"MIT"
] | null | null | null | backend/apps/core/session.py | ambient-innovation/workshop-django | 3105f6684097a4443919edc0ac300f64937a1371 | [
"MIT"
] | null | null | null | backend/apps/core/session.py | ambient-innovation/workshop-django | 3105f6684097a4443919edc0ac300f64937a1371 | [
"MIT"
] | null | null | null | class SessionService:
SESSION_LAST_SET_DUT_COMPANY_ID = 'last_set_dut_company_id'
SESSION_LAST_SET_DUT_CATEGORY_ID = 'last_set_dut_category_id'
SESSION_LAST_SET_DUT_LOCATION_ID = 'last_set_dut_location_id'
SESSION_LAST_SET_TEMPLATE_COMPANY_ID = 'last_set_template_company_id'
SESSION_LAST_SET_TEMPLA... | 39.803279 | 105 | 0.772241 | 317 | 2,428 | 5.400631 | 0.072555 | 0.122664 | 0.10514 | 0.179907 | 0.949766 | 0.868575 | 0.735981 | 0.643107 | 0.512266 | 0.512266 | 0 | 0 | 0.158567 | 2,428 | 60 | 106 | 40.466667 | 0.837983 | 0 | 0 | 0.365854 | 0 | 0 | 0.056842 | 0.056842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243902 | false | 0 | 0 | 0.121951 | 0.512195 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
04afdf5ffb242915238b709155403affb8f0d4e1 | 170 | py | Python | test_file.py | morganoh/Python_with_Kirk | 11bffec8601e553ccebad5b431702627239f72a1 | [
"Apache-2.0"
] | null | null | null | test_file.py | morganoh/Python_with_Kirk | 11bffec8601e553ccebad5b431702627239f72a1 | [
"Apache-2.0"
] | null | null | null | test_file.py | morganoh/Python_with_Kirk | 11bffec8601e553ccebad5b431702627239f72a1 | [
"Apache-2.0"
] | null | null | null | print "hello world !!"
print "Adding second line for printing !!"
print "Hello everybody from master branch"
for i in range (5):
print "hello world , it's me !!"
| 18.888889 | 42 | 0.670588 | 26 | 170 | 4.384615 | 0.730769 | 0.263158 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.217647 | 170 | 8 | 43 | 21.25 | 0.849624 | 0 | 0 | 0 | 0 | 0 | 0.623529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.8 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
04feadbcb79ad0a8318d3864dbbd4de5f6becb7e | 10,149 | py | Python | test/hummingbot/connector/exchange/ftx/test_ftx_in_flight_order.py | pecuniafinance/hummingbot | 2cbb19c187a429d3e6000dc938617ca2a1f9f357 | [
"Apache-2.0"
] | 542 | 2021-12-17T22:34:31.000Z | 2022-03-31T14:36:23.000Z | test/hummingbot/connector/exchange/ftx/test_ftx_in_flight_order.py | pecuniafinance/hummingbot | 2cbb19c187a429d3e6000dc938617ca2a1f9f357 | [
"Apache-2.0"
] | 291 | 2021-12-17T20:07:53.000Z | 2022-03-31T11:07:23.000Z | test/hummingbot/connector/exchange/ftx/test_ftx_in_flight_order.py | pecuniafinance/hummingbot | 2cbb19c187a429d3e6000dc938617ca2a1f9f357 | [
"Apache-2.0"
] | 220 | 2021-12-17T12:41:23.000Z | 2022-03-31T23:03:22.000Z | from datetime import datetime
from decimal import Decimal
from unittest import TestCase
from hummingbot.connector.exchange.ftx.ftx_in_flight_order import FtxInFlightOrder
from hummingbot.core.data_type.common import OrderType, TradeType
class FtxInFlightOrderTests(TestCase):
def setUp(self):
super().set... | 38.298113 | 99 | 0.602621 | 1,094 | 10,149 | 5.308044 | 0.105119 | 0.095574 | 0.060272 | 0.034441 | 0.814534 | 0.785604 | 0.770966 | 0.736869 | 0.730153 | 0.721715 | 0 | 0.056177 | 0.277367 | 10,149 | 264 | 100 | 38.443182 | 0.735615 | 0 | 0 | 0.703863 | 0 | 0 | 0.121194 | 0.023451 | 0 | 0 | 0 | 0 | 0.201717 | 1 | 0.025751 | false | 0 | 0.021459 | 0 | 0.051502 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f3d9da6e5cee117bc681adf890f5dd2a99344e2d | 5,399 | py | Python | matlab/src/sumpdf.py | DPBayes/robust-private-lr | ec36e51a52ea303055bbb72c129d12b4d21dcd8a | [
"MIT"
] | 1 | 2018-06-08T08:48:46.000Z | 2018-06-08T08:48:46.000Z | matlab/src/sumpdf.py | DPBayes/robust-private-lr | ec36e51a52ea303055bbb72c129d12b4d21dcd8a | [
"MIT"
] | null | null | null | matlab/src/sumpdf.py | DPBayes/robust-private-lr | ec36e51a52ea303055bbb72c129d12b4d21dcd8a | [
"MIT"
] | null | null | null | import autograd.numpy as np
from autograd import grad, value_and_grad
import numpy as np_orig
import numpy.random as npr
import scipy.stats as sps
import matplotlib.pyplot as plt
from scipy.optimize import minimize
from scipy.special import erfc
# > y := integrate(1/sqrt(2*Pi*a^2) * exp(\ ... | 42.179688 | 81 | 0.19448 | 565 | 5,399 | 1.853097 | 0.099115 | 0.08978 | 0.08596 | 0.038204 | 0.696275 | 0.672397 | 0.663801 | 0.633238 | 0.625597 | 0.625597 | 0 | 0.0931 | 0.608076 | 5,399 | 127 | 82 | 42.511811 | 0.401701 | 0.87331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.615385 | 0.076923 | 0.769231 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6d4706eba5754341facdfe101a19ddb2a09b15d8 | 32,658 | py | Python | image/image.py | Onii-Chan-Discord/onii-cogs | ec0a22e9a1dcd8fd0617448ba21b4c39ee113bd5 | [
"Apache-2.0"
] | 1 | 2021-07-11T18:46:08.000Z | 2021-07-11T18:46:08.000Z | image/image.py | Onii-Chan-Discord/onii-cogs | ec0a22e9a1dcd8fd0617448ba21b4c39ee113bd5 | [
"Apache-2.0"
] | 35 | 2021-06-05T06:33:34.000Z | 2022-03-22T01:44:00.000Z | image/image.py | Onii-Chan-Discord/onii-cogs | ec0a22e9a1dcd8fd0617448ba21b4c39ee113bd5 | [
"Apache-2.0"
] | 4 | 2021-07-07T04:29:33.000Z | 2021-12-31T12:12:00.000Z | """
Copyright 2021 Onii-chan
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | 37.537931 | 150 | 0.474861 | 3,338 | 32,658 | 4.565309 | 0.087777 | 0.02113 | 0.015093 | 0.024739 | 0.821642 | 0.81193 | 0.795459 | 0.788503 | 0.778529 | 0.769801 | 0 | 0.002457 | 0.401831 | 32,658 | 869 | 151 | 37.581128 | 0.774251 | 0.046206 | 0 | 0.807799 | 0 | 0.013928 | 0.201584 | 0.012487 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002786 | false | 0 | 0.008357 | 0 | 0.04039 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6d5af1ebb355e954310d434c8c698e851419c57a | 67,888 | py | Python | sirius_si.py | lnls-fac/sirius_wiki | 1995cffa149a55cd8f0184cf8a8f04492cfc347c | [
"MIT"
] | 2 | 2015-04-13T23:20:24.000Z | 2015-04-13T23:47:18.000Z | sirius_si.py | lnls-fac/sirius_wiki | 1995cffa149a55cd8f0184cf8a8f04492cfc347c | [
"MIT"
] | 1 | 2015-04-14T04:20:36.000Z | 2015-04-14T04:20:52.000Z | sirius_si.py | lnls-fac/sirius_wiki | 1995cffa149a55cd8f0184cf8a8f04492cfc347c | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from parameter import Parameter
from definitions import ParameterDefinitions as Prms
'''Storage ring parameters
======================='''
si_lattice_version = 'V03'
si_lattice_type = '5BA'
si_lattice_circumference ... | 178.652632 | 464 | 0.711937 | 10,427 | 67,888 | 4.466673 | 0.033087 | 0.0505 | 0.071499 | 0.080302 | 0.9498 | 0.928029 | 0.871688 | 0.832804 | 0.774016 | 0.673165 | 0 | 0.025309 | 0.096703 | 67,888 | 379 | 465 | 179.124011 | 0.733885 | 0.006349 | 0 | 0 | 0 | 0.270115 | 0.498327 | 0.10538 | 0.017241 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005747 | 0 | 0.005747 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b62c28b63adbdb5f6314e0379a097b8e48141fad | 437 | py | Python | templates/database/mongodb/actions.py | Jumpscale/ays_jumpscale8 | 4ff4a2fb3b95de6f46ea494bd5b5a2a0fb9ecdb1 | [
"Apache-2.0"
] | null | null | null | templates/database/mongodb/actions.py | Jumpscale/ays_jumpscale8 | 4ff4a2fb3b95de6f46ea494bd5b5a2a0fb9ecdb1 | [
"Apache-2.0"
] | 148 | 2016-03-21T08:45:34.000Z | 2021-09-08T12:28:55.000Z | templates/database/mongodb/actions.py | Jumpscale/ays_jumpscale8 | 4ff4a2fb3b95de6f46ea494bd5b5a2a0fb9ecdb1 | [
"Apache-2.0"
] | null | null | null | def install(job):
cuisine = job.service.executor.cuisine
name = 'mongod_%s' % job.service.name
cuisine.apps.mongodb.install(start=True, name=name)
def start(job):
cuisine = job.service.executor.cuisine
name = 'mongod_%s' % job.service.name
cuisine.apps.mongodb.start(name)
def stop(job):
... | 25.705882 | 55 | 0.693364 | 60 | 437 | 5 | 0.233333 | 0.2 | 0.13 | 0.2 | 0.78 | 0.78 | 0.78 | 0.78 | 0.78 | 0.78 | 0 | 0 | 0.169336 | 437 | 16 | 56 | 27.3125 | 0.826446 | 0 | 0 | 0.5 | 0 | 0 | 0.061785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fcefc9a3927d12c2a793ef1684506178befa7826 | 32,711 | py | Python | sdk/python/pulumi_azure/management/group_template_deployment.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/management/group_template_deployment.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/management/group_template_deployment.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 48.460741 | 230 | 0.662652 | 3,666 | 32,711 | 5.712493 | 0.068467 | 0.064607 | 0.072199 | 0.067233 | 0.905501 | 0.893802 | 0.885971 | 0.877662 | 0.873365 | 0.861666 | 0 | 0.012639 | 0.238085 | 32,711 | 674 | 231 | 48.532641 | 0.827629 | 0.460671 | 0 | 0.788274 | 1 | 0 | 0.105691 | 0.028388 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162866 | false | 0.003257 | 0.016287 | 0.009772 | 0.276873 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1e00c3c55f9e1252d7ce9a97de1b7b06ffdc307d | 6,081 | py | Python | modules/tryton.py | dozymoe/fireh_runner | e431ff64d4c1952ee1ddfa113abce3c0447bc3cd | [
"MIT"
] | 2 | 2017-07-11T09:23:36.000Z | 2018-05-16T02:26:51.000Z | modules/tryton.py | dozymoe/fireh_runner | e431ff64d4c1952ee1ddfa113abce3c0447bc3cd | [
"MIT"
] | null | null | null | modules/tryton.py | dozymoe/fireh_runner | e431ff64d4c1952ee1ddfa113abce3c0447bc3cd | [
"MIT"
] | 1 | 2018-04-04T14:52:02.000Z | 2018-04-04T14:52:02.000Z | """ Tryton module.
Tryton is a three-tier high-level general purpose application platform under
the license GPL-3 written in Python and using PostgreSQL as database engine.
It is the core base of a complete business solution providing modularity,
scalability and security.
Website: http://www.tryton.org
"""
import os... | 33.229508 | 104 | 0.675382 | 777 | 6,081 | 5.060489 | 0.109395 | 0.104273 | 0.045778 | 0.044761 | 0.875636 | 0.856307 | 0.821719 | 0.821719 | 0.821719 | 0.811801 | 0 | 0.001234 | 0.200132 | 6,081 | 182 | 105 | 33.412088 | 0.807155 | 0.082717 | 0 | 0.833333 | 0 | 0 | 0.11157 | 0.004671 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036232 | false | 0 | 0.007246 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1e22b658c2cc77396c69500bafece5ee42e65bf9 | 197 | py | Python | tools/accuracy_checker/accuracy_checker/pipeline_connectors/__init__.py | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | null | null | null | tools/accuracy_checker/accuracy_checker/pipeline_connectors/__init__.py | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | null | null | null | tools/accuracy_checker/accuracy_checker/pipeline_connectors/__init__.py | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | null | null | null | from .connectors import Connection, StageConnectionDescription, create_connection_description
__all__ = [
'Connection',
'StageConnectionDescription',
'create_connection_description'
]
| 24.625 | 93 | 0.796954 | 14 | 197 | 10.642857 | 0.571429 | 0.483221 | 0.563758 | 0.697987 | 0.845638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13198 | 197 | 7 | 94 | 28.142857 | 0.871345 | 0 | 0 | 0 | 0 | 0 | 0.329949 | 0.279188 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1e67557b2a7833cf4bdee0226d0f0729c2941dd3 | 7,516 | py | Python | userbot/modules/imagefun.py | TAMILVIP007/javes-3.0 | d9238785fa2d79740bbb526aca92455dbccb3838 | [
"MIT"
] | null | null | null | userbot/modules/imagefun.py | TAMILVIP007/javes-3.0 | d9238785fa2d79740bbb526aca92455dbccb3838 | [
"MIT"
] | null | null | null | userbot/modules/imagefun.py | TAMILVIP007/javes-3.0 | d9238785fa2d79740bbb526aca92455dbccb3838 | [
"MIT"
] | null | null | null | # DARKCOBRA ORIGINAL
# by @danish_00
# by #team dc
# Kangers Keep Credits
# Kepp Credits
import cv2
# by @danish_00
import os, scipy, sys, shutil
import numpy as np
import requests, re
from PIL import Image
from telegraph import upload_file
from telethon.tl.types import MessageMediaPhoto
from userbot import bot, C... | 31.579832 | 115 | 0.669638 | 1,087 | 7,516 | 4.485741 | 0.122355 | 0.102543 | 0.049221 | 0.061526 | 0.82219 | 0.820345 | 0.8105 | 0.8105 | 0.8105 | 0.793273 | 0 | 0.01721 | 0.195982 | 7,516 | 237 | 116 | 31.71308 | 0.789674 | 0.037387 | 0 | 0.744444 | 0 | 0 | 0.09681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
94ae857f75237c0ab8f2f550f27da36525803b04 | 220 | py | Python | torchsso/utils/__init__.py | jjxu217/pytorch-sso | 124954a5588120885e2f017c99db7fc540d5b9ab | [
"MIT"
] | 121 | 2019-10-10T16:09:52.000Z | 2022-03-03T01:28:12.000Z | torchsso/utils/__init__.py | jjxu217/pytorch-sso | 124954a5588120885e2f017c99db7fc540d5b9ab | [
"MIT"
] | 3 | 2020-02-27T23:03:46.000Z | 2022-02-18T07:08:23.000Z | torchsso/utils/__init__.py | jjxu217/pytorch-sso | 124954a5588120885e2f017c99db7fc540d5b9ab | [
"MIT"
] | 20 | 2019-10-18T02:10:21.000Z | 2022-01-17T19:28:58.000Z | from torchsso.utils.logger import Logger # NOQA
from torchsso.utils.inv_cupy import inv # NOQA
from torchsso.utils.cholesky_cupy import cholesky # NOQA
from torchsso.utils.accumulator import TensorAccumulator # NOQA
| 44 | 64 | 0.818182 | 30 | 220 | 5.933333 | 0.366667 | 0.269663 | 0.382022 | 0.353933 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 220 | 4 | 65 | 55 | 0.927083 | 0.086364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bf7cf1e61c50548a27756b39391577ad803f5081 | 8,614 | py | Python | tests/producer/test_apireaders.py | jjaakola/bang-a-gong | d30f889c18eeaff3d62d47cd02e93516e4d24dd7 | [
"MIT"
] | null | null | null | tests/producer/test_apireaders.py | jjaakola/bang-a-gong | d30f889c18eeaff3d62d47cd02e93516e4d24dd7 | [
"MIT"
] | null | null | null | tests/producer/test_apireaders.py | jjaakola/bang-a-gong | d30f889c18eeaff3d62d47cd02e93516e4d24dd7 | [
"MIT"
] | null | null | null | import asyncio
import time
import unittest
from aioresponses import CallbackResult, aioresponses
from api_status_monitor.producer.apireaders import create_reader
WORLD_CLOCK_RESPONSE_STRING = '{"$id":"1","currentDateTime":"2021-05-12T20:23Z","utcOffset":"00:00:00","isDayLightSavingsTime":false,"dayOfTheWeek":"Wednesd... | 38.455357 | 267 | 0.568261 | 929 | 8,614 | 5.149623 | 0.148547 | 0.094064 | 0.040761 | 0.032609 | 0.809156 | 0.797659 | 0.772157 | 0.729724 | 0.729724 | 0.721572 | 0 | 0.024789 | 0.297539 | 8,614 | 223 | 268 | 38.627803 | 0.765824 | 0.003483 | 0 | 0.715084 | 0 | 0.005587 | 0.214752 | 0.036355 | 0 | 0 | 0 | 0 | 0.27933 | 1 | 0.005587 | false | 0 | 0.027933 | 0 | 0.055866 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
44e0dd6246c9f20087460a59472dc06da940672d | 4,394 | py | Python | test/unit/test_vecod_data_shims.py | VecoOfficial/sentinel | a25583061902d3ceeec128f84f8978a7c729a93c | [
"MIT"
] | null | null | null | test/unit/test_vecod_data_shims.py | VecoOfficial/sentinel | a25583061902d3ceeec128f84f8978a7c729a93c | [
"MIT"
] | null | null | null | test/unit/test_vecod_data_shims.py | VecoOfficial/sentinel | a25583061902d3ceeec128f84f8978a7c729a93c | [
"MIT"
] | 2 | 2019-10-18T19:58:30.000Z | 2019-10-20T19:16:44.000Z | import pytest
import sys
import os
os.environ['SENTINEL_CONFIG'] = os.path.normpath(os.path.join(os.path.dirname(__file__), '../test_sentinel.conf'))
sys.path.append(os.path.normpath(os.path.join(os.path.dirname(__file__), '../../lib')))
import vecolib
@pytest.fixture
def sentinel_proposal_hex():
return '5b227072... | 112.666667 | 578 | 0.934001 | 135 | 4,394 | 30 | 0.266667 | 0.008889 | 0.015802 | 0.017778 | 0.093333 | 0.086914 | 0.086914 | 0.020247 | 0.020247 | 0.020247 | 0 | 0.69168 | 0.023441 | 4,394 | 38 | 579 | 115.631579 | 0.252156 | 0.016386 | 0 | 0.166667 | 0 | 0 | 0.788194 | 0.782639 | 0 | 1 | 0 | 0 | 0.166667 | 1 | 0.25 | false | 0 | 0.166667 | 0.166667 | 0.583333 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
44e3908bf5a456cba7904fdb4b547526fee2e160 | 12,642 | py | Python | src/ufc-2.0.5/src/utils/python/ufc_utils/finite_element.py | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | src/ufc-2.0.5/src/utils/python/ufc_utils/finite_element.py | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | src/ufc-2.0.5/src/utils/python/ufc_utils/finite_element.py | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | # Code generation format strings for UFC (Unified Form-assembly Code) v. 2.0.5.
# This code is released into the public domain.
#
# The FEniCS Project (http://www.fenicsproject.org/) 2006-2011.
finite_element_combined = """\
/// This class defines the interface for a finite element.
class %(classname)s: public ufc::f... | 30.909535 | 99 | 0.590413 | 1,464 | 12,642 | 4.98429 | 0.072404 | 0.058791 | 0.044402 | 0.048102 | 0.950254 | 0.93326 | 0.925312 | 0.925312 | 0.918186 | 0.91243 | 0 | 0.001296 | 0.328429 | 12,642 | 408 | 100 | 30.985294 | 0.858186 | 0.014634 | 0 | 0.60479 | 0 | 0.002994 | 0.991246 | 0.172261 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
44fcd668586db70a6f1c3a37e009d6cdacb11a43 | 4,029 | py | Python | tests/snapshots/snap_test_fixed_elements.py | danpoland/slacktools | 0a66f7dd7bbc32ac70f3c4855e5af51bf7d3d1c5 | [
"MIT"
] | 7 | 2020-02-28T17:31:41.000Z | 2021-08-23T17:57:47.000Z | tests/snapshots/snap_test_fixed_elements.py | danpoland/slacktools | 0a66f7dd7bbc32ac70f3c4855e5af51bf7d3d1c5 | [
"MIT"
] | 2 | 2020-03-31T11:13:49.000Z | 2021-02-02T22:42:54.000Z | tests/snapshots/snap_test_fixed_elements.py | danpoland/slacktools | 0a66f7dd7bbc32ac70f3c4855e5af51bf7d3d1c5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots['TestFixedButton.test_fixed 1'] = {
'action_id': 'test_action',
'confirm': {
'confirm': {
'text': 'confirm',
... | 22.016393 | 69 | 0.409034 | 321 | 4,029 | 4.968847 | 0.121495 | 0.165517 | 0.244514 | 0.117241 | 0.825705 | 0.815047 | 0.815047 | 0.815047 | 0.815047 | 0.796865 | 0 | 0.004098 | 0.394391 | 4,029 | 182 | 70 | 22.137363 | 0.64959 | 0.015388 | 0 | 0.686047 | 0 | 0 | 0.384208 | 0.065338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011628 | 0 | 0.011628 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
44fdecae87fda71b21a46954e9439d2ff2ce705c | 230 | py | Python | deprecated_dataloaders/robotics/__init__.py | TianhaoFu/MultiBench | b174a3187124d6f92be1ff3b487eef292f7883bb | [
"MIT"
] | 148 | 2021-03-06T06:54:13.000Z | 2022-03-29T19:27:21.000Z | deprecated_dataloaders/robotics/__init__.py | TianhaoFu/MultiBench | b174a3187124d6f92be1ff3b487eef292f7883bb | [
"MIT"
] | 10 | 2021-07-19T22:57:49.000Z | 2022-02-04T03:12:29.000Z | deprecated_dataloaders/robotics/__init__.py | TianhaoFu/MultiBench | b174a3187124d6f92be1ff3b487eef292f7883bb | [
"MIT"
] | 18 | 2021-07-22T07:17:27.000Z | 2022-03-27T16:11:40.000Z | from .MultimodalManipulationDataset import MultimodalManipulationDataset
from .MultimodalManipulationDataset_robust import MultimodalManipulationDataset_robust
from .ProcessForce import ProcessForce
from .ToTensor import ToTensor
| 46 | 86 | 0.913043 | 18 | 230 | 11.555556 | 0.333333 | 0.317308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 230 | 4 | 87 | 57.5 | 0.971963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
78a9ca786388ec6492ae629ed68c8620143b68be | 474 | py | Python | testsuite/tests/Q914-045__UT_ex/run_test.py | AdaCore/style_checker | 17108ebfc44375498063ecdad6c6e4430458e60a | [
"CNRI-Python"
] | 2 | 2017-10-22T18:04:26.000Z | 2020-03-06T11:07:41.000Z | testsuite/tests/Q914-045__UT_ex/run_test.py | AdaCore/style_checker | 17108ebfc44375498063ecdad6c6e4430458e60a | [
"CNRI-Python"
] | null | null | null | testsuite/tests/Q914-045__UT_ex/run_test.py | AdaCore/style_checker | 17108ebfc44375498063ecdad6c6e4430458e60a | [
"CNRI-Python"
] | 4 | 2018-05-22T12:08:54.000Z | 2020-12-14T15:25:27.000Z | def test_quote_arg_empty_arg(style_checker):
style_checker.enable_unit_test()
from asclib.ex import quote_arg
assert quote_arg('') == "''"
def test_quote_arg_single_quote(style_checker):
style_checker.enable_unit_test()
from asclib.ex import quote_arg
assert quote_arg("'") == r"''\'''"
def... | 23.7 | 47 | 0.71308 | 69 | 474 | 4.478261 | 0.26087 | 0.23301 | 0.116505 | 0.145631 | 0.757282 | 0.757282 | 0.757282 | 0.757282 | 0.757282 | 0.757282 | 0 | 0 | 0.160338 | 474 | 19 | 48 | 24.947368 | 0.776382 | 0 | 0 | 0.5 | 0 | 0 | 0.035865 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
78c1c84203b63cdc56c2fd0c77a92accc07739ac | 769 | py | Python | Jupyter/cntccp4emaps.py | MooersLab/jupyterlabpymolpysnipsplus | b886750d63372434df53d4d6d7cdad6cb02ae4e7 | [
"MIT"
] | null | null | null | Jupyter/cntccp4emaps.py | MooersLab/jupyterlabpymolpysnipsplus | b886750d63372434df53d4d6d7cdad6cb02ae4e7 | [
"MIT"
] | null | null | null | Jupyter/cntccp4emaps.py | MooersLab/jupyterlabpymolpysnipsplus | b886750d63372434df53d4d6d7cdad6cb02ae4e7 | [
"MIT"
] | null | null | null | # Description: Count number of *.ccp4 (electron density map) files in current directory.
# Source: placeHolder
"""
cmd.do('print("Count the number of ccp4 electron density files in current directory.");')
cmd.do('print("Usage: cntccp4s");')
cmd.do('myPath = os.getcwd();')
cmd.do('ccp4Counter = len(glob.glob1(myPath,... | 45.235294 | 107 | 0.707412 | 110 | 769 | 4.945455 | 0.254545 | 0.091912 | 0.110294 | 0.183824 | 0.891544 | 0.841912 | 0.841912 | 0.841912 | 0.841912 | 0.841912 | 0 | 0.01909 | 0.114434 | 769 | 16 | 108 | 48.0625 | 0.779736 | 0.561769 | 0 | 0 | 0 | 0 | 0.817073 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
153f8bf6af9aedf1816bf59f9c152b6b9c4eb60e | 2,199 | py | Python | LifeMeter.py | VizStars7/LifeMeter | f67abf0a8f897788b4e1072685a0a74cd54d797d | [
"Apache-2.0"
] | null | null | null | LifeMeter.py | VizStars7/LifeMeter | f67abf0a8f897788b4e1072685a0a74cd54d797d | [
"Apache-2.0"
] | null | null | null | LifeMeter.py | VizStars7/LifeMeter | f67abf0a8f897788b4e1072685a0a74cd54d797d | [
"Apache-2.0"
] | null | null | null | import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00@\x00\x00\x00s\xd0\x00\x00\x00d\x00d\x01l\x00m\x01Z\x01\x01\x00d\x02Z\x02e\x01d\x03\x83\x01\x01\x00e\x03e\x02\x83\x01\x01\x00e\x04d\x04\x83\x01Z\x05e\x01d\x03\x83\x01\x01\x00e\x03d\x05e\x05\x83\x02\x01\x00e\x01d\x03\... | 1,099.5 | 2,184 | 0.606185 | 363 | 2,199 | 3.37741 | 0.333333 | 0.141925 | 0.132137 | 0.117455 | 0.243883 | 0.181077 | 0.181077 | 0.075856 | 0.056281 | 0.029364 | 0 | 0.270833 | 0.126876 | 2,199 | 2 | 2,184 | 1,099.5 | 0.367708 | 0 | 0 | 0 | 0 | 1 | 0.638182 | 0.538636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 11 |
155e4fc12333d410be0f5ab3eeb8e4ba2bf3e88e | 10,117 | py | Python | lib/systems/c150h30.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/c150h30.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/c150h30.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | import pulsar as psr
def load_ref_system():
""" Returns c150h30 as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
C 1.21035 0.69880 0.00000
C 2.45871 1.41954 0.00000
... | 53.81383 | 63 | 0.355046 | 1,289 | 10,117 | 2.784329 | 0.101629 | 0.320981 | 0.29061 | 0.044581 | 0.961828 | 0.961828 | 0.961828 | 0.961828 | 0.958206 | 0.954583 | 0 | 0.74023 | 0.56242 | 10,117 | 187 | 64 | 54.101604 | 0.070477 | 0.01028 | 0 | 0 | 0 | 0 | 0.991594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005435 | true | 0 | 0.005435 | 0 | 0.016304 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
156e84da1b7e41da9f830a3da9ce852344a74aca | 6,457 | py | Python | php4dvd/test_film_adding.py | semenkravchenko/selenium-py-training-kravchenko | beefad65de6a42f184fd3eeb3b998c7806edb4b2 | [
"Apache-2.0"
] | null | null | null | php4dvd/test_film_adding.py | semenkravchenko/selenium-py-training-kravchenko | beefad65de6a42f184fd3eeb3b998c7806edb4b2 | [
"Apache-2.0"
] | null | null | null | php4dvd/test_film_adding.py | semenkravchenko/selenium-py-training-kravchenko | beefad65de6a42f184fd3eeb3b998c7806edb4b2 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from model.user import User
import unittest
def test_film_adding_imdb_search(app):
search_target_string = u"Криминальное чтиво"
app.ensure_logout()
app.login(User.Admin())
assert app.is_logged_in()
films_before_adding = app.get_films_on_page()
app.open_add_film_form(... | 40.10559 | 105 | 0.735326 | 946 | 6,457 | 4.683932 | 0.108879 | 0.074475 | 0.108328 | 0.162492 | 0.84947 | 0.844053 | 0.823065 | 0.773866 | 0.731438 | 0.69262 | 0 | 0.005629 | 0.11956 | 6,457 | 160 | 106 | 40.35625 | 0.773791 | 0.003252 | 0 | 0.461538 | 0 | 0 | 0.136929 | 0.003264 | 0 | 0 | 0 | 0 | 0.136752 | 1 | 0.068376 | false | 0 | 0.017094 | 0 | 0.08547 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
15bf2d911c8a8822759e78af0689f7946111a57c | 5,987 | py | Python | lms_app/migrations/0002_auto_20201211_1025.py | neethu-niya/sbr | cdae2000e718ccc6fca948d241f29acb2d2b388d | [
"MIT"
] | null | null | null | lms_app/migrations/0002_auto_20201211_1025.py | neethu-niya/sbr | cdae2000e718ccc6fca948d241f29acb2d2b388d | [
"MIT"
] | null | null | null | lms_app/migrations/0002_auto_20201211_1025.py | neethu-niya/sbr | cdae2000e718ccc6fca948d241f29acb2d2b388d | [
"MIT"
] | null | null | null | # Generated by Django 3.0 on 2020-12-11 10:25
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('cities_light', '0010_auto_20200508_1851'),
('lms_app', '0001_init... | 39.913333 | 147 | 0.604142 | 631 | 5,987 | 5.580032 | 0.115689 | 0.061346 | 0.10338 | 0.162454 | 0.849759 | 0.838398 | 0.753763 | 0.753763 | 0.753763 | 0.753763 | 0 | 0.007766 | 0.268749 | 5,987 | 149 | 148 | 40.181208 | 0.796482 | 0.007182 | 0 | 0.739437 | 1 | 0 | 0.127735 | 0.003871 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021127 | 0 | 0.049296 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ecb34e9248539dd548316446f0fe7fe040feef4b | 39,357 | py | Python | src/World_Bank_Correlations/World_Bank_Correlations.py | JohnMarion54/World_Bank_Correlations | d677f3e8708fe5e04166adaf5a4a14cbe61de181 | [
"MIT"
] | null | null | null | src/World_Bank_Correlations/World_Bank_Correlations.py | JohnMarion54/World_Bank_Correlations | d677f3e8708fe5e04166adaf5a4a14cbe61de181 | [
"MIT"
] | null | null | null | src/World_Bank_Correlations/World_Bank_Correlations.py | JohnMarion54/World_Bank_Correlations | d677f3e8708fe5e04166adaf5a4a14cbe61de181 | [
"MIT"
] | null | null | null | import requests
import pandas as pd
import world_bank_data as wb
import lxml
def wb_corr(data, col, indicator, change=False):
pd.options.mode.chained_assignment = None # Change option within function to avoid warning of value being placed on a copy of a slice.
"""
Returns the relationship that an input v... | 75.978764 | 442 | 0.657647 | 5,810 | 39,357 | 4.336145 | 0.073322 | 0.031437 | 0.010717 | 0.021871 | 0.864327 | 0.847219 | 0.838804 | 0.804271 | 0.801453 | 0.798079 | 0 | 0.025438 | 0.202912 | 39,357 | 517 | 443 | 76.125725 | 0.777629 | 0.055594 | 0 | 0.722689 | 0 | 0.008403 | 0.239518 | 0 | 0 | 0 | 0 | 0 | 0.106443 | 1 | 0.011204 | false | 0.014006 | 0.019608 | 0 | 0.07563 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
01b18aad97e402b9cba88203c46d02b4787436f6 | 77 | py | Python | numerous/engine/model/graph_representation/__init__.py | amipy/numerous | 46eb3806ad904c3c0b3dccad7f8f3ddb5582cbd9 | [
"BSD-3-Clause"
] | 20 | 2019-12-11T18:19:39.000Z | 2022-01-30T15:37:58.000Z | numerous/engine/model/graph_representation/__init__.py | amipy/numerous | 46eb3806ad904c3c0b3dccad7f8f3ddb5582cbd9 | [
"BSD-3-Clause"
] | 38 | 2020-04-11T22:25:58.000Z | 2022-03-29T12:24:15.000Z | numerous/engine/model/graph_representation/__init__.py | amipy/numerous | 46eb3806ad904c3c0b3dccad7f8f3ddb5582cbd9 | [
"BSD-3-Clause"
] | 7 | 2019-12-21T12:12:09.000Z | 2021-12-02T14:12:09.000Z | from .mappings_graph import *
from .lower_graph import *
from .graph import * | 25.666667 | 29 | 0.779221 | 11 | 77 | 5.272727 | 0.454545 | 0.568966 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 3 | 30 | 25.666667 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bf0c0c7b3f5e733b6958635fcc95fb027afb9898 | 7,991 | py | Python | riak/tests/test_feature_detection.py | lixen/riak-python-client | 43c0e2d43b185180fe8dd02ca759fbfb54bfec4b | [
"Apache-2.0"
] | 89 | 2015-01-06T01:54:57.000Z | 2020-11-25T04:47:09.000Z | riak/tests/test_feature_detection.py | lixen/riak-python-client | 43c0e2d43b185180fe8dd02ca759fbfb54bfec4b | [
"Apache-2.0"
] | 125 | 2015-01-05T09:32:37.000Z | 2021-06-27T21:28:51.000Z | riak/tests/test_feature_detection.py | lixen/riak-python-client | 43c0e2d43b185180fe8dd02ca759fbfb54bfec4b | [
"Apache-2.0"
] | 73 | 2015-01-19T18:04:35.000Z | 2022-03-25T17:10:51.000Z | # Copyright 2010-present Basho Technologies, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 37.341121 | 74 | 0.659742 | 970 | 7,991 | 5.235052 | 0.141237 | 0.209531 | 0.224498 | 0.12052 | 0.773533 | 0.756991 | 0.754234 | 0.754234 | 0.754234 | 0.754234 | 0 | 0.009183 | 0.209611 | 7,991 | 213 | 75 | 37.516432 | 0.794807 | 0.073958 | 0 | 0.775281 | 0 | 0 | 0.007989 | 0 | 0 | 0 | 0 | 0 | 0.814607 | 1 | 0.067416 | false | 0.005618 | 0.011236 | 0.005618 | 0.101124 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bf26cb8f61884cd7b936fb9dd70d968e32c92a22 | 9,417 | py | Python | loldib/getpros/views.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getpros/views.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getpros/views.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from getpros.models import NA_Pros #, EUW_Pros, EUNE_Pros, KR_Pros, JP_Pros, BR_Pros, RU_Pros, LAN_Pros, LAS_Pros, OCE_Pros, TR_Pros
import cassiopeia as cass
def index(request):
cass.set_riot_api_key("RGAPI-daa909e6-146f-4c9d-a03a-2ff08bac37be")
cass.set_default_regio... | 56.389222 | 133 | 0.660401 | 1,222 | 9,417 | 4.806056 | 0.054828 | 0.179806 | 0.119871 | 0.149838 | 0.922527 | 0.922527 | 0.921505 | 0.921505 | 0.9055 | 0.9055 | 0 | 0.008106 | 0.213975 | 9,417 | 166 | 134 | 56.728916 | 0.785328 | 0.841457 | 0 | 0.47619 | 0 | 0 | 0.147679 | 0.035443 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.142857 | 0 | 0.238095 | 0.190476 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
17223690c76f0643e698b26a944ff009c13a2e28 | 165 | py | Python | anchore_engine/clients/__init__.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | 1,484 | 2017-09-11T19:08:42.000Z | 2022-03-29T07:47:44.000Z | anchore_engine/clients/__init__.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | 913 | 2017-09-27T20:37:53.000Z | 2022-03-29T17:21:28.000Z | anchore_engine/clients/__init__.py | dspalmer99/anchore-engine | 8c61318be6fec5d767426fa4ccd98472cc85b5cd | [
"Apache-2.0"
] | 294 | 2017-09-12T16:54:03.000Z | 2022-03-14T01:28:51.000Z | import requests.packages
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
| 33 | 71 | 0.89697 | 16 | 165 | 9.1875 | 0.5625 | 0.326531 | 0.312925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.048485 | 165 | 4 | 72 | 41.25 | 0.923567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
172a110a1f59742600edf93a4b58a61032c0a3e3 | 204 | py | Python | ttp/match/to.py | tobiasjohanssonsdnit/ttp | 0582cc82c07f059d489cc20af5109b027ada8f11 | [
"MIT"
] | null | null | null | ttp/match/to.py | tobiasjohanssonsdnit/ttp | 0582cc82c07f059d489cc20af5109b027ada8f11 | [
"MIT"
] | null | null | null | ttp/match/to.py | tobiasjohanssonsdnit/ttp | 0582cc82c07f059d489cc20af5109b027ada8f11 | [
"MIT"
] | null | null | null | def to_str(data):
return str(data), None
def to_list(data):
return [data], None
def to_int(data):
try:
return int(data), None
except ValueError:
return data, None | 18.545455 | 30 | 0.593137 | 29 | 204 | 4.068966 | 0.37931 | 0.271186 | 0.186441 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.303922 | 204 | 11 | 31 | 18.545455 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
177889e13306a59182e8e0d00028314ee1176015 | 16,952 | py | Python | google/cloud/datastore_admin_v1/proto/datastore_admin_pb2_grpc.py | tswast/python-datastore | ddbbb03fc42bf53e698b3869a660a9938b3339e8 | [
"Apache-2.0"
] | null | null | null | google/cloud/datastore_admin_v1/proto/datastore_admin_pb2_grpc.py | tswast/python-datastore | ddbbb03fc42bf53e698b3869a660a9938b3339e8 | [
"Apache-2.0"
] | null | null | null | google/cloud/datastore_admin_v1/proto/datastore_admin_pb2_grpc.py | tswast/python-datastore | ddbbb03fc42bf53e698b3869a660a9938b3339e8 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from google.cloud.datastore_admin_v1.proto import (
datastore_admin_pb2 as google_dot_cloud_dot_datastore__admin__v1_dot_proto_dot_datastore__admin__pb2,
)
f... | 40.848193 | 149 | 0.70735 | 1,978 | 16,952 | 5.82912 | 0.123357 | 0.065568 | 0.053079 | 0.029488 | 0.867823 | 0.864701 | 0.851518 | 0.838335 | 0.812663 | 0.812663 | 0 | 0.004626 | 0.222216 | 16,952 | 414 | 150 | 40.94686 | 0.869852 | 0.477879 | 0 | 0.640884 | 1 | 0 | 0.085854 | 0.057563 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055249 | false | 0 | 0.077348 | 0.022099 | 0.171271 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
17963a3208c6a0556b7b03c34314cf11533d148c | 9,956 | py | Python | tests/application/data/test_dimensions.py | AlexKouzy/ethnicity-facts-and-figures-publisher | 18ab2495a8633f585e18e607c7f75daa564a053d | [
"MIT"
] | 1 | 2021-10-06T13:48:36.000Z | 2021-10-06T13:48:36.000Z | tests/application/data/test_dimensions.py | AlexKouzy/ethnicity-facts-and-figures-publisher | 18ab2495a8633f585e18e607c7f75daa564a053d | [
"MIT"
] | 116 | 2018-11-02T17:20:47.000Z | 2022-02-09T11:06:22.000Z | tests/application/data/test_dimensions.py | racedisparityaudit/rd_cms | a12f0e3f5461cc41eed0077ed02e11efafc5dd76 | [
"MIT"
] | 2 | 2018-11-09T16:47:35.000Z | 2020-04-09T13:06:48.000Z | from flask import url_for
from application.data.dimensions import DimensionObjectBuilder
from application.utils import write_dimension_csv
from application.cms.models import UKCountry
from tests.models import MeasureVersionWithDimensionFactory, ClassificationFactory, DataSourceFactory
from tests.test_data.chart_and_ta... | 42.186441 | 115 | 0.744677 | 1,155 | 9,956 | 6.049351 | 0.115152 | 0.067983 | 0.0541 | 0.072134 | 0.905682 | 0.892944 | 0.871189 | 0.858595 | 0.846572 | 0.809646 | 0 | 0.00231 | 0.173765 | 9,956 | 235 | 116 | 42.365957 | 0.84707 | 0.114504 | 0 | 0.72327 | 0 | 0 | 0.140547 | 0.036902 | 0 | 0 | 0 | 0 | 0.188679 | 1 | 0.050314 | false | 0 | 0.050314 | 0 | 0.100629 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
179b6a639c861641a0c4555fbbd82c5c5c9b6703 | 36,167 | py | Python | sdk/python/pulumi_cloudamqp/integration_metric.py | pulumi/pulumi-cloudamqp | 1d411fb0076c257b51a6b133aaedb9292efa2373 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-09-23T11:53:33.000Z | 2021-12-01T20:56:35.000Z | sdk/python/pulumi_cloudamqp/integration_metric.py | pulumi/pulumi-cloudamqp | 1d411fb0076c257b51a6b133aaedb9292efa2373 | [
"ECL-2.0",
"Apache-2.0"
] | 53 | 2019-12-09T20:12:27.000Z | 2022-03-31T15:21:00.000Z | sdk/python/pulumi_cloudamqp/integration_metric.py | pulumi/pulumi-cloudamqp | 1d411fb0076c257b51a6b133aaedb9292efa2373 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-12-11T09:29:16.000Z | 2019-12-11T09:29:16.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 41.571264 | 136 | 0.633174 | 4,165 | 36,167 | 5.260984 | 0.043457 | 0.106426 | 0.125867 | 0.135542 | 0.91872 | 0.911236 | 0.896541 | 0.887459 | 0.880842 | 0.857658 | 0 | 0.000037 | 0.250643 | 36,167 | 869 | 137 | 41.619102 | 0.808464 | 0.226201 | 0 | 0.877778 | 1 | 0 | 0.105619 | 0.00275 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161111 | false | 0.001852 | 0.009259 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
da2782da7cee09a35a9a3e04dde4c97cb8b7e652 | 2,408 | py | Python | parallel_image_generator.py | sumu007/Image-Processing | 72d372aafa33c2772a6577dd17eee12b1a7aa3f7 | [
"Apache-2.0"
] | 73 | 2019-02-15T16:26:20.000Z | 2022-03-06T17:35:37.000Z | parallel_image_generator.py | Gowtham1729/Image-Processing-Toolbox | 3af60e241c95aa54ca7c81ea4b12c72a9eaa59a9 | [
"Apache-2.0"
] | null | null | null | parallel_image_generator.py | Gowtham1729/Image-Processing-Toolbox | 3af60e241c95aa54ca7c81ea4b12c72a9eaa59a9 | [
"Apache-2.0"
] | 19 | 2019-09-26T19:17:39.000Z | 2022-03-24T21:47:39.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri Nov 9 11:14:26 2018
@author: Gowtham
"""
import numpy as np
import cv2
img = cv2.imread("gray.bmp")
#cv2.imwrite("gray.bmp", img)
#cv2.imshow('image',a)
#cv2.waitKey(0)
#cv2.destroyAllWindows()
#shift 1 bit down
a = np.zeros(img.shape)
for i in range... | 24.08 | 42 | 0.488787 | 450 | 2,408 | 2.615556 | 0.113333 | 0.108751 | 0.101954 | 0.198811 | 0.809686 | 0.798641 | 0.798641 | 0.798641 | 0.798641 | 0.798641 | 0 | 0.035336 | 0.294851 | 2,408 | 100 | 43 | 24.08 | 0.657833 | 0.187292 | 0 | 0.627451 | 0 | 0 | 0.046423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039216 | 0 | 0.039216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
da37380e4a794f40ed556f522a640a9c71805448 | 1,562 | py | Python | tests/test_markup.py | sahemmen/anchorman | 69e027089ae3ff4be364776f3b76a3e5471015d1 | [
"Apache-2.0"
] | 9 | 2015-05-26T21:53:48.000Z | 2020-03-07T19:50:40.000Z | tests/test_markup.py | sahemmen/anchorman | 69e027089ae3ff4be364776f3b76a3e5471015d1 | [
"Apache-2.0"
] | 2 | 2017-07-20T12:54:18.000Z | 2021-03-25T21:43:37.000Z | tests/test_markup.py | sahemmen/anchorman | 69e027089ae3ff4be364776f3b76a3e5471015d1 | [
"Apache-2.0"
] | 4 | 2015-05-05T12:08:45.000Z | 2020-03-07T19:50:29.000Z | # -*- coding: utf-8 -*-
from anchorman import annotate, clean, get_config
from tests.utils import fix_bs4_parsing_spaces
from tests.data.dummy import LINKS
def test_remove_decoration():
annotated = """<div><p id="1">lala <span type="letterA"><a class="anchorman">A</a></span> la lala <span type="letterA"><a class... | 104.133333 | 1,154 | 0.660051 | 286 | 1,562 | 3.583916 | 0.202797 | 0.226341 | 0.163902 | 0.081951 | 0.598049 | 0.460488 | 0.292683 | 0.126829 | 0 | 0 | 0 | 0.005747 | 0.108835 | 1,562 | 14 | 1,155 | 111.571429 | 0.730603 | 0.013444 | 0 | 0 | 0 | 0.333333 | 0.86263 | 0.479818 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
da6113a188c903023a7d37426db0bf52105b08f5 | 14,868 | py | Python | bibframe/ingesters/tutt_maps.py | jermnelson/aristotle-library-apps | f742847cd20c5b5c3b46dd53dfc395a2e1caa240 | [
"Apache-2.0"
] | 2 | 2015-03-30T16:36:51.000Z | 2016-06-15T01:39:47.000Z | bibframe/ingesters/tutt_maps.py | jermnelson/aristotle-library-apps | f742847cd20c5b5c3b46dd53dfc395a2e1caa240 | [
"Apache-2.0"
] | 2 | 2021-06-10T17:43:54.000Z | 2021-12-13T19:40:08.000Z | bibframe/ingesters/tutt_maps.py | jermnelson/aristotle-library-apps | f742847cd20c5b5c3b46dd53dfc395a2e1caa240 | [
"Apache-2.0"
] | 1 | 2015-11-08T00:40:11.000Z | 2015-11-08T00:40:11.000Z | #
# Tutt library III location codes
#
FULL_CODE_MAP = {
'dacc': 'Digital Archives of Colorado College',
'ewww':'Online',
'ewwwd':'Online Government Documents',
'ewwwp':'Online Periodcals',
'ewwwn':'Online',
'tarf':'Tutt Reference',
'tarfa':'Tutt 1st Floor South',
'tarfc':'Tutt Reference... | 40.292683 | 70 | 0.615079 | 1,620 | 14,868 | 5.641358 | 0.169136 | 0.185141 | 0.038079 | 0.035343 | 0.952402 | 0.907867 | 0.904147 | 0.904147 | 0.896816 | 0.896816 | 0 | 0.006439 | 0.23749 | 14,868 | 368 | 71 | 40.402174 | 0.799682 | 0.002085 | 0 | 0.913165 | 0 | 0 | 0.673118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
da7b0792345cc3595ae95e255d7389752ef942d7 | 9,795 | py | Python | tests/collections/common/test_spc_tokenizer.py | madhukarkm/NeMo | 648c97f076147684bee6aaada209f2f20adcaf5d | [
"Apache-2.0"
] | 4,145 | 2019-09-13T08:29:43.000Z | 2022-03-31T18:31:44.000Z | tests/collections/common/test_spc_tokenizer.py | madhukarkm/NeMo | 648c97f076147684bee6aaada209f2f20adcaf5d | [
"Apache-2.0"
] | 2,031 | 2019-09-17T16:51:39.000Z | 2022-03-31T23:52:41.000Z | tests/collections/common/test_spc_tokenizer.py | madhukarkm/NeMo | 648c97f076147684bee6aaada209f2f20adcaf5d | [
"Apache-2.0"
] | 1,041 | 2019-09-13T10:08:21.000Z | 2022-03-30T06:37:38.000Z | # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 36.548507 | 104 | 0.646452 | 1,360 | 9,795 | 4.433824 | 0.102206 | 0.050415 | 0.06932 | 0.053566 | 0.832836 | 0.813433 | 0.789221 | 0.775954 | 0.763018 | 0.748259 | 0 | 0.005155 | 0.227667 | 9,795 | 267 | 105 | 36.685393 | 0.791937 | 0.086779 | 0 | 0.747253 | 0 | 0 | 0.09153 | 0.002465 | 0 | 0 | 0 | 0 | 0.247253 | 1 | 0.104396 | false | 0 | 0.016484 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
16f6956bf25a2e0cdba859005e5bea2765d980e0 | 3,608 | py | Python | 2A_Working_with_Data/3_Using_datasets.py | aditagrawal/Azure_ML | 30d7021c19aef8f56b05580cba25d38a5bc0b24e | [
"Unlicense"
] | null | null | null | 2A_Working_with_Data/3_Using_datasets.py | aditagrawal/Azure_ML | 30d7021c19aef8f56b05580cba25d38a5bc0b24e | [
"Unlicense"
] | null | null | null | 2A_Working_with_Data/3_Using_datasets.py | aditagrawal/Azure_ML | 30d7021c19aef8f56b05580cba25d38a5bc0b24e | [
"Unlicense"
] | null | null | null | ### Work with tabular datasets-
df = tab_ds.to_pandas_dataframe()
# code to work with dataframe goes here, for example:
print(df.head())
### Pass a tabular dataset to an experiment script
## Use a script argument for a tabular dataset
# ScriptRunConfig:
env = Environment('my_env')
packages = CondaDependencies.creat... | 30.319328 | 98 | 0.598947 | 400 | 3,608 | 5.215 | 0.185 | 0.017258 | 0.047939 | 0.069032 | 0.848514 | 0.809204 | 0.795781 | 0.7814 | 0.723873 | 0.705177 | 0 | 0 | 0.284922 | 3,608 | 118 | 99 | 30.576271 | 0.808527 | 0.126109 | 0 | 0.742424 | 0 | 0 | 0.114313 | 0.03074 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.030303 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e5bfe77e78267f578e3c2adee5accdfac30bfc6c | 8,174 | py | Python | tests/test_optionStrategy.py | IanMadlenya/kaleidoscope | be3e28c1b4b958f81d8d67df03abebbebcf7965a | [
"MIT"
] | 1 | 2020-08-30T15:29:04.000Z | 2020-08-30T15:29:04.000Z | tests/test_optionStrategy.py | IanMadlenya/kaleidoscope | be3e28c1b4b958f81d8d67df03abebbebcf7965a | [
"MIT"
] | null | null | null | tests/test_optionStrategy.py | IanMadlenya/kaleidoscope | be3e28c1b4b958f81d8d67df03abebbebcf7965a | [
"MIT"
] | 2 | 2019-09-18T07:13:32.000Z | 2020-11-20T18:15:18.000Z | from unittest import TestCase
from kaleidoscope.options.option_query import OptionQuery
from kaleidoscope.options.option_strategies import OptionStrategies
from kaleidoscope.options.option_strategy import OptionStrategy
from kaleidoscope.options.option import Option
from kaleidoscope.globals import OptionType
from kal... | 45.921348 | 99 | 0.667115 | 1,107 | 8,174 | 4.757001 | 0.103884 | 0.080896 | 0.134827 | 0.135587 | 0.838207 | 0.809153 | 0.788264 | 0.776491 | 0.738891 | 0.710976 | 0 | 0.101343 | 0.180328 | 8,174 | 177 | 100 | 46.180791 | 0.684627 | 0.043186 | 0 | 0.447154 | 0 | 0 | 0.140038 | 0.022934 | 0 | 0 | 0 | 0 | 0.520325 | 1 | 0.089431 | false | 0 | 0.056911 | 0 | 0.154472 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e5d5ea6a51a639e87396db06c12ce432a69501fa | 64 | py | Python | src/__init__.py | meryemcode/Why-churn | ba19e52bf5b9786e955da3d03f99226183cd6c33 | [
"MIT"
] | null | null | null | src/__init__.py | meryemcode/Why-churn | ba19e52bf5b9786e955da3d03f99226183cd6c33 | [
"MIT"
] | null | null | null | src/__init__.py | meryemcode/Why-churn | ba19e52bf5b9786e955da3d03f99226183cd6c33 | [
"MIT"
] | null | null | null | from src import app
from src import data
from src import models
| 16 | 22 | 0.8125 | 12 | 64 | 4.333333 | 0.5 | 0.403846 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 23 | 21.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e5d9e66f608105b51e3ece23d61da1bddd128119 | 154 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_0/_pkg1_1_1_0_1/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_0/_pkg1_1_1_0_1/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_1/_pkg1_1_1_0/_pkg1_1_1_0_1/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from ._mod1_1_1_0_1_0 import *
from ._mod1_1_1_0_1_1 import *
from ._mod1_1_1_0_1_2 import *
from ._mod1_1_1_0_1_3 import *
from ._mod1_1_1_0_1_4 import * | 30.8 | 30 | 0.811688 | 40 | 154 | 2.375 | 0.2 | 0.126316 | 0.473684 | 0.526316 | 0.884211 | 0.884211 | 0.757895 | 0 | 0 | 0 | 0 | 0.222222 | 0.123377 | 154 | 5 | 31 | 30.8 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 11 |
f91fd4885dcc4cc4e17efdc47c198aab05629de3 | 1,183 | py | Python | Profiles/models.py | CHESyrian/Syrians | 8376e9bed6e3a03f536d8aacd523d630f6bc4345 | [
"MIT"
] | null | null | null | Profiles/models.py | CHESyrian/Syrians | 8376e9bed6e3a03f536d8aacd523d630f6bc4345 | [
"MIT"
] | null | null | null | Profiles/models.py | CHESyrian/Syrians | 8376e9bed6e3a03f536d8aacd523d630f6bc4345 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
from My_Account.models import Sharing_Post, Sharing_Image
class Posts_Good( models.Model ):
Post = models.ForeignKey(Sharing_Post, on_delete=models.CASCADE, null=True)
username = models.ForeignKey(User, on_delete=models.CASCADE, nu... | 39.433333 | 87 | 0.743872 | 162 | 1,183 | 5.191358 | 0.234568 | 0.11415 | 0.099881 | 0.149822 | 0.819263 | 0.819263 | 0.819263 | 0.819263 | 0.819263 | 0.819263 | 0 | 0 | 0.157227 | 1,183 | 30 | 88 | 39.433333 | 0.843531 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
0060f5cf1843bf947fa2f51aca0a6aae6727ccf2 | 59,792 | py | Python | dohq_teamcity/api/build_queue_api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 23 | 2018-10-19T07:28:45.000Z | 2021-11-12T12:46:09.000Z | dohq_teamcity/api/build_queue_api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 31 | 2018-10-16T05:53:11.000Z | 2021-09-09T14:44:14.000Z | dohq_teamcity/api/build_queue_api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 12 | 2018-10-28T23:00:17.000Z | 2021-09-07T12:07:13.000Z | # coding: utf-8
"""
TeamCity REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2018.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
fro... | 38.451447 | 139 | 0.605583 | 6,708 | 59,792 | 5.090936 | 0.026685 | 0.043104 | 0.035842 | 0.033734 | 0.974495 | 0.968814 | 0.966266 | 0.957833 | 0.952416 | 0.949048 | 0 | 0.014727 | 0.30387 | 59,792 | 1,554 | 140 | 38.47619 | 0.805732 | 0.286393 | 0 | 0.819015 | 1 | 0 | 0.19139 | 0.04965 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037801 | false | 0 | 0.010309 | 0 | 0.105384 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
007a66dc285844b90e6be768675ae0f3e0615fea | 13,564 | py | Python | common/build.py | JohnHillegass/celpy | a273133b0502d2d228ad5459e08b2463b2c8f10b | [
"BSD-3-Clause"
] | null | null | null | common/build.py | JohnHillegass/celpy | a273133b0502d2d228ad5459e08b2463b2c8f10b | [
"BSD-3-Clause"
] | null | null | null | common/build.py | JohnHillegass/celpy | a273133b0502d2d228ad5459e08b2463b2c8f10b | [
"BSD-3-Clause"
] | null | null | null | # python build stubs for package common
# File is generated by gopy. Do not edit.
# gopy build -output=common github.com/google/cel-go/common
from pybindgen import retval, param, Module
import sys
mod = Module('_common')
mod.add_include('"common_go.h"')
mod.add_function('GoPyInit', None, [])
mod.add_function('DecRef'... | 89.236842 | 146 | 0.708272 | 1,996 | 13,564 | 4.45992 | 0.053106 | 0.122669 | 0.218603 | 0.202426 | 0.93024 | 0.886318 | 0.863514 | 0.773309 | 0.647944 | 0.622669 | 0 | 0.04302 | 0.055736 | 13,564 | 151 | 147 | 89.827815 | 0.652014 | 0.009953 | 0 | 0 | 1 | 0 | 0.415524 | 0.08306 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013889 | 0 | 0.013889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
00813504da6e39fda4e95782e3b16bf4e1cdff99 | 126 | py | Python | network-error-logging/support/redirect.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 8 | 2019-04-09T21:13:05.000Z | 2021-11-23T17:25:18.000Z | network-error-logging/support/redirect.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 21 | 2021-03-31T19:48:22.000Z | 2022-03-12T00:24:53.000Z | network-error-logging/support/redirect.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 11 | 2019-04-12T01:20:16.000Z | 2021-11-23T17:25:02.000Z | # Always redirects to no-policy-pass.png.
def main(request, response):
return 302, [("Location", "no-policy-pass.png")], ""
| 31.5 | 54 | 0.68254 | 18 | 126 | 4.777778 | 0.777778 | 0.186047 | 0.27907 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.119048 | 126 | 3 | 55 | 42 | 0.747748 | 0.309524 | 0 | 0 | 0 | 0 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 8 |
008538a21cf502bad07242144abbe1c659c056fa | 10,984 | py | Python | pycsmaca/simulations/shortcuts.py | larioandr/pycsmaca | 3788c4f5d1f7adace3ceedbd707a14226a1e8713 | [
"MIT"
] | 1 | 2021-01-17T15:49:03.000Z | 2021-01-17T15:49:03.000Z | pycsmaca/simulations/shortcuts.py | larioandr/pycsmaca | 3788c4f5d1f7adace3ceedbd707a14226a1e8713 | [
"MIT"
] | null | null | null | pycsmaca/simulations/shortcuts.py | larioandr/pycsmaca | 3788c4f5d1f7adace3ceedbd707a14226a1e8713 | [
"MIT"
] | 1 | 2021-03-16T01:52:51.000Z | 2021-03-16T01:52:51.000Z | from collections import namedtuple
from .wireless_networks import CollisionDomainNetwork, \
CollisionDomainSaturatedNetwork, WirelessHalfDuplexLineNetwork
from .wired_networks import WiredLineNetwork
from pydesim import simulate, Logger
SPEED_OF_LIGHT = 299792458.0
def collision_domain_network(
num_cli... | 39.088968 | 80 | 0.659232 | 1,267 | 10,984 | 5.36543 | 0.09629 | 0.037217 | 0.030009 | 0.025154 | 0.85481 | 0.82083 | 0.808914 | 0.795969 | 0.774493 | 0.774493 | 0 | 0.008799 | 0.24472 | 10,984 | 280 | 81 | 39.228571 | 0.810632 | 0.004643 | 0 | 0.702811 | 0 | 0 | 0.078683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016064 | false | 0 | 0.016064 | 0 | 0.048193 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
008b7d1ac38d4c33aee160fdec748050fb593bdb | 60,548 | py | Python | odor_tracking_sim/swarm_models.py | annierak/odor_tracking_sim | 4600a7be942666c3a5a0f366dab6d14838f332a0 | [
"MIT"
] | null | null | null | odor_tracking_sim/swarm_models.py | annierak/odor_tracking_sim | 4600a7be942666c3a5a0f366dab6d14838f332a0 | [
"MIT"
] | null | null | null | odor_tracking_sim/swarm_models.py | annierak/odor_tracking_sim | 4600a7be942666c3a5a0f366dab6d14838f332a0 | [
"MIT"
] | null | null | null | from __future__ import print_function
import scipy
import scipy.stats
import numpy as np
import matplotlib.pyplot as plt
import time
from odor_models import FakeDiffusionOdorField
from pompy import models
from utility import unit_vector
from utility import rotate_vecs
from utility import distance
from utility import p... | 50.837951 | 198 | 0.645141 | 8,258 | 60,548 | 4.495398 | 0.075684 | 0.024998 | 0.016162 | 0.021119 | 0.816583 | 0.789645 | 0.778897 | 0.761334 | 0.747057 | 0.729655 | 0 | 0.009465 | 0.253155 | 60,548 | 1,190 | 199 | 50.880672 | 0.811477 | 0.202401 | 0 | 0.755495 | 0 | 0 | 0.052426 | 0.002871 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042582 | false | 0.002747 | 0.021978 | 0.005495 | 0.104396 | 0.020604 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
00c69056d5cfcecee58289a40a3996541beb3c08 | 8,522 | py | Python | third_party_package/RDKit_2015_03_1/rdkit/Chem/FeatMaps/UnitTestFeatMapUtils.py | Ivy286/cluster_basedfps | 7fc216537f570436f008ea567c137d03ba2b6d81 | [
"WTFPL"
] | 9 | 2019-04-23T01:46:12.000Z | 2021-08-16T07:07:12.000Z | third_party_package/RDKit_2015_03_1/rdkit/Chem/FeatMaps/UnitTestFeatMapUtils.py | Ivy286/cluster_basedfps | 7fc216537f570436f008ea567c137d03ba2b6d81 | [
"WTFPL"
] | null | null | null | third_party_package/RDKit_2015_03_1/rdkit/Chem/FeatMaps/UnitTestFeatMapUtils.py | Ivy286/cluster_basedfps | 7fc216537f570436f008ea567c137d03ba2b6d81 | [
"WTFPL"
] | 5 | 2016-09-21T03:47:48.000Z | 2019-07-30T22:17:35.000Z | # $Id$
#
# Copyright (C) 2006 greg Landrum
#
# @@ All Rights Reserved @@
# This file is part of the RDKit.
# The contents are covered by the terms of the BSD license
# which is included in the file license.txt, found at the root
# of the RDKit source tree.
#
from rdkit import RDConfig
import unittest,sys,os,ma... | 39.271889 | 103 | 0.675194 | 1,263 | 8,522 | 4.548694 | 0.088678 | 0.054656 | 0.048042 | 0.03342 | 0.868581 | 0.868581 | 0.868581 | 0.867363 | 0.859182 | 0.859008 | 0 | 0.081122 | 0.150904 | 8,522 | 216 | 104 | 39.453704 | 0.712825 | 0.028984 | 0 | 0.761111 | 0 | 0.172222 | 0.218686 | 0 | 0 | 0 | 0 | 0 | 0.377778 | 1 | 0.033333 | false | 0 | 0.033333 | 0.011111 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
00cc59ae50140ffa9b8b10b06ef85404de3803ae | 116,999 | py | Python | Octavo/Assembler/archive/array_scalar.py | laforest/Octavo | e3041ad98c58eeff1f59e65b01da1eb458a0d591 | [
"BSD-2-Clause"
] | 63 | 2015-03-16T08:37:44.000Z | 2021-11-15T00:35:14.000Z | Octavo/Assembler/archive/array_scalar.py | laforest/Octavo | e3041ad98c58eeff1f59e65b01da1eb458a0d591 | [
"BSD-2-Clause"
] | 55 | 2015-01-11T02:05:57.000Z | 2019-03-20T00:12:32.000Z | Octavo/Assembler/archive/array_scalar.py | laforest/Octavo | e3041ad98c58eeff1f59e65b01da1eb458a0d591 | [
"BSD-2-Clause"
] | 13 | 2016-05-13T10:23:45.000Z | 2021-11-15T00:35:13.000Z | #! /usr/bin/python
import empty
from opcodes import *
from memory_map import mem_map
from branching_flags import *
bench_dir = "Array_Scalar"
bench_file = "array_scalar"
bench_name = bench_dir + "/" + bench_file
SIMD_bench_name = bench_dir + "/" + "SIMD_" + bench_file
# Get empty instances with default parameters
e... | 103.999111 | 147 | 0.301438 | 10,051 | 116,999 | 3.360561 | 0.031937 | 0.374515 | 0.102585 | 0.113776 | 0.894455 | 0.884448 | 0.881103 | 0.875892 | 0.868165 | 0.86473 | 0 | 0.032899 | 0.569518 | 116,999 | 1,124 | 148 | 104.091637 | 0.637732 | 0.691356 | 0 | 0.734375 | 0 | 0 | 0.150652 | 0 | 0 | 0 | 0.000293 | 0 | 0 | 1 | 0.022321 | false | 0 | 0.008929 | 0 | 0.051339 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
97063b24e4b142eaba46da5abd9fa79fe1cefa7a | 5,588 | py | Python | Latest/venv/Lib/site-packages/pyface/tasks/tests/test_task_window.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | 1 | 2022-01-09T20:04:31.000Z | 2022-01-09T20:04:31.000Z | Latest/venv/Lib/site-packages/pyface/tasks/tests/test_task_window.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | 1 | 2022-02-15T12:01:57.000Z | 2022-03-24T19:48:47.000Z | Latest/venv/Lib/site-packages/pyface/tasks/tests/test_task_window.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | null | null | null | import unittest
from traits.testing.unittest_tools import UnittestTools
from pyface.tasks.api import Task
from ..task_window import TaskWindow
def _task_window_with_named_tasks(*names, **kwargs):
tasks = [Task(name=name) for name in names]
first_active = kwargs.pop('first_active', False)
if first_activ... | 36.285714 | 73 | 0.669291 | 700 | 5,588 | 5.035714 | 0.08 | 0.215603 | 0.144681 | 0.080851 | 0.85078 | 0.838298 | 0.827234 | 0.76539 | 0.737589 | 0.679433 | 0 | 0.006576 | 0.23801 | 5,588 | 153 | 74 | 36.522876 | 0.821278 | 0.066929 | 0 | 0.54 | 0 | 0 | 0.098115 | 0 | 0 | 0 | 0 | 0 | 0.28 | 1 | 0.16 | false | 0 | 0.04 | 0 | 0.22 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
973d559b8def30498f71c725d22c934cbe79ce9a | 41 | py | Python | tests/t62.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | 3 | 2019-08-21T22:01:35.000Z | 2021-07-25T00:21:28.000Z | tests/t62.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null | tests/t62.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null | a = [1,2,3,4]
print a
b = a[2:4]
print b
| 8.2 | 13 | 0.512195 | 13 | 41 | 1.615385 | 0.538462 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 0.243902 | 41 | 4 | 14 | 10.25 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.