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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
044709703b3e2d93cb532f7cbac637283e255862 | 36 | py | Python | plotly/plotly/chunked_requests/__init__.py | SamLau95/plotly.py | 7dd4ddd4e18e79ff30cec3ef331fa2f8949ed1bd | [
"MIT"
] | 48 | 2017-08-04T03:30:22.000Z | 2022-03-09T03:24:11.000Z | SLpackage/private/thirdparty/pythonpkgs/plotly/plotly_2.6.0/lib/python2.7/site-packages/plotly/plotly/chunked_requests/__init__.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | SLpackage/private/thirdparty/pythonpkgs/plotly/plotly_2.6.0/lib/python2.7/site-packages/plotly/plotly/chunked_requests/__init__.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | 15 | 2017-09-30T18:55:48.000Z | 2021-04-27T18:27:55.000Z | from . chunked_request import Stream | 36 | 36 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f08d3f162bd46504de8317062ce3d5c36c7e7769 | 26 | py | Python | pbo1-project/Orders/__init__.py | hifra01/PBO1-Project | 82b9abbdf1cab4da18e0f9514e92d298d9661b26 | [
"MIT"
] | null | null | null | pbo1-project/Orders/__init__.py | hifra01/PBO1-Project | 82b9abbdf1cab4da18e0f9514e92d298d9661b26 | [
"MIT"
] | null | null | null | pbo1-project/Orders/__init__.py | hifra01/PBO1-Project | 82b9abbdf1cab4da18e0f9514e92d298d9661b26 | [
"MIT"
] | null | null | null | from .Order import Order
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f099498419645fb283e2271163e3c095066ce594 | 69 | py | Python | inheritance/zoo/project/bear.py | borko81/SU_OOP_2021 | 8c38682bd4a2b032ca09f85b0a579be152223a59 | [
"MIT"
] | null | null | null | inheritance/zoo/project/bear.py | borko81/SU_OOP_2021 | 8c38682bd4a2b032ca09f85b0a579be152223a59 | [
"MIT"
] | null | null | null | inheritance/zoo/project/bear.py | borko81/SU_OOP_2021 | 8c38682bd4a2b032ca09f85b0a579be152223a59 | [
"MIT"
] | null | null | null | from polymorhism.project import Mammal
class Bear(Mammal):
pass | 13.8 | 38 | 0.768116 | 9 | 69 | 5.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 5 | 39 | 13.8 | 0.929825 | 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 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f0a4bcecdd246f2059f66820bd720bc5023632a4 | 27 | py | Python | unit_testing_course/lesson1/task1/task.py | behzod/pycharm-courses | 0ba74ff0ff87e7747173c60cd139c25b8d7f3b0e | [
"Apache-2.0"
] | 213 | 2015-01-03T19:25:02.000Z | 2020-02-06T03:08:43.000Z | unit_testing_course/lesson1/task1/task.py | behzod/pycharm-courses | 0ba74ff0ff87e7747173c60cd139c25b8d7f3b0e | [
"Apache-2.0"
] | 24 | 2015-01-01T17:03:09.000Z | 2019-12-22T10:28:22.000Z | unit_testing_course/lesson1/task1/task.py | behzod/pycharm-courses | 0ba74ff0ff87e7747173c60cd139c25b8d7f3b0e | [
"Apache-2.0"
] | 139 | 2015-01-03T19:24:22.000Z | 2020-01-24T18:05:51.000Z | # TODO: type solution here
| 13.5 | 26 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.909091 | 0.888889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0d48b50997b446679e8810de35cc865ba1ed0dc | 1,459 | py | Python | mnist/DecoyMNIST/00_make_data.py | laura-rieger/deep-explanation-penalization | ac82aa4717b24e0ccf48ecbbf4c05d7e77a6d88f | [
"MIT"
] | 105 | 2019-10-01T19:00:35.000Z | 2022-03-25T14:03:32.000Z | mnist/DecoyMNIST/00_make_data.py | laura-rieger/deep-explanation-penalization | ac82aa4717b24e0ccf48ecbbf4c05d7e77a6d88f | [
"MIT"
] | 11 | 2020-01-13T15:49:13.000Z | 2021-12-28T11:36:21.000Z | mnist/DecoyMNIST/00_make_data.py | laura-rieger/deep-explanation-penalization | ac82aa4717b24e0ccf48ecbbf4c05d7e77a6d88f | [
"MIT"
] | 16 | 2019-12-22T20:53:33.000Z | 2022-03-15T14:17:50.000Z | import torch
import torchvision
import torchvision.datasets as datasets
import sys
import numpy as np
import torch.utils.data as utils
from colour import Color
from os.path import join as oj
mnist_trainset = datasets.MNIST(root='../data', train=True, download=True, transform=None)
color_x = np.zeros((60000, ... | 39.432432 | 93 | 0.703907 | 262 | 1,459 | 3.732824 | 0.21374 | 0.134969 | 0.055215 | 0.07362 | 0.813906 | 0.783231 | 0.783231 | 0.783231 | 0.705521 | 0.705521 | 0 | 0.046311 | 0.126799 | 1,459 | 36 | 94 | 40.527778 | 0.72135 | 0 | 0 | 0.516129 | 0 | 0 | 0.060436 | 0.014758 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.290323 | 0 | 0.290323 | 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 | 0 | 0 | 0 | 0 | 6 |
f0d6b4c33412491f6c8ca96296c6955bce551e5f | 157 | py | Python | cride/frontend/views.py | alexhernandez-git/cride-frontend | 3c7e7b2ab374efb33b798d959e473a943b6df03c | [
"MIT"
] | null | null | null | cride/frontend/views.py | alexhernandez-git/cride-frontend | 3c7e7b2ab374efb33b798d959e473a943b6df03c | [
"MIT"
] | 11 | 2020-02-25T07:34:21.000Z | 2022-01-13T02:15:57.000Z | cride/frontend/views.py | alexhernandez-git/cride-frontend | 3c7e7b2ab374efb33b798d959e473a943b6df03c | [
"MIT"
] | null | null | null |
from django.shortcuts import render
# Create your views here.
from django.views import View
def index(request):
return render(request, 'index.html')
| 15.7 | 40 | 0.751592 | 22 | 157 | 5.363636 | 0.681818 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165605 | 157 | 9 | 41 | 17.444444 | 0.900763 | 0.146497 | 0 | 0 | 0 | 0 | 0.076336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f0df5a888dcc419bbf211e23cb7341f3c4e93d4c | 49 | py | Python | Core/dicom2nii/__init__.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | 10 | 2019-09-26T03:12:52.000Z | 2022-02-25T06:05:38.000Z | Core/dicom2nii/__init__.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Core/dicom2nii/__init__.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | 8 | 2020-02-26T01:54:48.000Z | 2022-03-19T01:23:55.000Z | from .Dicom2nii import convertDicoms,convertDicom | 49 | 49 | 0.897959 | 5 | 49 | 8.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.061224 | 49 | 1 | 49 | 49 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0ef8ef797fce029df8277a3fee6f71a595f2172 | 112 | py | Python | simtools/tests/__init__.py | gammasim/gammasim-tools | 0b746254916f4c2e2a3fbd1854c565c3bc90d493 | [
"BSD-3-Clause"
] | 5 | 2020-06-02T09:46:38.000Z | 2022-03-26T16:42:26.000Z | simtools/tests/__init__.py | gammasim/gammasim-tools | 0b746254916f4c2e2a3fbd1854c565c3bc90d493 | [
"BSD-3-Clause"
] | 166 | 2020-04-24T10:22:16.000Z | 2022-03-31T12:51:02.000Z | simtools/tests/__init__.py | gammasim/gammasim-tools | 0b746254916f4c2e2a3fbd1854c565c3bc90d493 | [
"BSD-3-Clause"
] | null | null | null | import logging
logging.basicConfig(format='%(levelname)s::%(module)s(l%(lineno)s)::%(funcName)s::%(message)s')
| 28 | 95 | 0.705357 | 16 | 112 | 4.9375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 112 | 3 | 96 | 37.333333 | 0.731481 | 0 | 0 | 0 | 0 | 0.5 | 0.580357 | 0.580357 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9bec0d54bbee1a83032ffcb0203e569522bf0bad | 44 | py | Python | model_zoo/__init__.py | rahulgupta9202/ColossalAI | 993088d45eaa032e39cf5959df2a506f0663bc2e | [
"Apache-2.0"
] | 1 | 2021-11-02T14:00:27.000Z | 2021-11-02T14:00:27.000Z | model_zoo/__init__.py | rahulgupta9202/ColossalAI | 993088d45eaa032e39cf5959df2a506f0663bc2e | [
"Apache-2.0"
] | null | null | null | model_zoo/__init__.py | rahulgupta9202/ColossalAI | 993088d45eaa032e39cf5959df2a506f0663bc2e | [
"Apache-2.0"
] | null | null | null | from .vit import *
from .mlp_mixer import *
| 14.666667 | 24 | 0.727273 | 7 | 44 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 25 | 22 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a85984ce3d782928e7b3905a0217996a72917558 | 6,945 | py | Python | tests/issues/test_project_issue.py | mubashshirjamal/code | d9c7adf7efed8e9c1ab3ff8cdeb94e7eb1a45382 | [
"BSD-3-Clause"
] | 1,582 | 2015-01-05T02:41:44.000Z | 2022-03-30T20:03:22.000Z | tests/issues/test_project_issue.py | mubashshirjamal/code | d9c7adf7efed8e9c1ab3ff8cdeb94e7eb1a45382 | [
"BSD-3-Clause"
] | 66 | 2015-01-23T07:58:04.000Z | 2021-11-12T02:23:27.000Z | tests/issues/test_project_issue.py | mubashshirjamal/code | d9c7adf7efed8e9c1ab3ff8cdeb94e7eb1a45382 | [
"BSD-3-Clause"
] | 347 | 2015-01-05T07:47:07.000Z | 2021-09-20T21:22:32.000Z | # encoding: UTF-8
from tests.base import TestCase
from vilya.models.issue import Issue
from vilya.models.project_issue import ProjectIssue
class TestProjectIssue(TestCase):
def test_add_issue(self):
p = ProjectIssue.add('test', 'test description', 'test', project=1)
assert isinstance(p, Project... | 35.075758 | 78 | 0.599424 | 852 | 6,945 | 4.699531 | 0.090376 | 0.060689 | 0.03996 | 0.068931 | 0.812937 | 0.795954 | 0.758991 | 0.737762 | 0.71029 | 0.615385 | 0 | 0.0282 | 0.280058 | 6,945 | 197 | 79 | 35.253807 | 0.7726 | 0.00216 | 0 | 0.628931 | 0 | 0 | 0.10407 | 0 | 0 | 0 | 0 | 0 | 0.352201 | 1 | 0.044025 | false | 0 | 0.018868 | 0 | 0.069182 | 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 | 0 | 0 | 0 | 0 | 6 |
a86edd3bf65f44cfa6e63ea33aa4da773d2eae8c | 15,545 | py | Python | main.py | bl-msch-c220-max-park/01-Interactive-Fiction | 38d32c8b81596c5328d34ac1f103881f581bd175 | [
"MIT"
] | null | null | null | main.py | bl-msch-c220-max-park/01-Interactive-Fiction | 38d32c8b81596c5328d34ac1f103881f581bd175 | [
"MIT"
] | null | null | null | main.py | bl-msch-c220-max-park/01-Interactive-Fiction | 38d32c8b81596c5328d34ac1f103881f581bd175 | [
"MIT"
] | null | null | null | import sys
assert sys.version_info >= (3,9), "This script requires at least Python 3.9"
passages = [
{
"name": "Headquarters",
"tags": "",
"id": "1",
"text": "You are at Space Headquaters. Your objective today is to find the infamous space robber throughout the space city. Where would you li... | 39.554707 | 276 | 0.57652 | 1,856 | 15,545 | 4.816272 | 0.124461 | 0.035798 | 0.054369 | 0.030428 | 0.781967 | 0.738673 | 0.731066 | 0.71876 | 0.692807 | 0.674796 | 0 | 0.003073 | 0.288196 | 15,545 | 392 | 277 | 39.655612 | 0.80479 | 0.015375 | 0 | 0.416894 | 0 | 0.081744 | 0.654388 | 0.002348 | 0 | 0 | 0 | 0 | 0.002725 | 1 | 0.002725 | false | 0.114441 | 0.002725 | 0 | 0.008174 | 0.029973 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a888bfeb26fc5f01c0b2b6c7ce24cf1a0ec09629 | 10,526 | py | Python | mayan/apps/documents/tests/test_document_type_views.py | wan1869/dushuhu | 934dd178e67140cffc6b9203e793fdf8bbc73a54 | [
"Apache-2.0"
] | 1 | 2021-02-24T15:03:23.000Z | 2021-02-24T15:03:23.000Z | mayan/apps/documents/tests/test_document_type_views.py | wan1869/dushuhu | 934dd178e67140cffc6b9203e793fdf8bbc73a54 | [
"Apache-2.0"
] | null | null | null | mayan/apps/documents/tests/test_document_type_views.py | wan1869/dushuhu | 934dd178e67140cffc6b9203e793fdf8bbc73a54 | [
"Apache-2.0"
] | 1 | 2021-04-30T09:44:14.000Z | 2021-04-30T09:44:14.000Z | import os
from ..models import DocumentType
from ..permissions import (
permission_document_properties_edit,
permission_document_type_create, permission_document_type_delete,
permission_document_type_edit, permission_document_type_view,
)
from .base import GenericDocumentViewTestCase
from .literals import... | 34.398693 | 82 | 0.727342 | 1,150 | 10,526 | 6.16 | 0.066087 | 0.14568 | 0.151327 | 0.084698 | 0.844156 | 0.824534 | 0.788255 | 0.76454 | 0.75974 | 0.727696 | 0 | 0.009603 | 0.208531 | 10,526 | 305 | 83 | 34.511475 | 0.840715 | 0 | 0 | 0.595745 | 0 | 0 | 0.0038 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 1 | 0.102128 | false | 0 | 0.025532 | 0 | 0.165957 | 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 | 0 | 0 | 0 | 0 | 6 |
a8b4f65b7badd5772043639bab3958d8ef80899f | 14,946 | py | Python | dfirtrack_artifacts/tests/artifact/test_artifact_creator_forms.py | stuhli/dfirtrack | 9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e | [
"Apache-2.0"
] | 273 | 2018-04-18T22:09:15.000Z | 2021-06-04T09:15:48.000Z | dfirtrack_artifacts/tests/artifact/test_artifact_creator_forms.py | stuhli/dfirtrack | 9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e | [
"Apache-2.0"
] | 75 | 2018-08-31T11:05:37.000Z | 2021-06-08T14:15:07.000Z | dfirtrack_artifacts/tests/artifact/test_artifact_creator_forms.py | stuhli/dfirtrack | 9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e | [
"Apache-2.0"
] | 61 | 2018-11-12T22:55:48.000Z | 2021-06-06T15:16:16.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from dfirtrack_artifacts.forms import ArtifactCreatorForm
from dfirtrack_artifacts.models import Artifactpriority, Artifactstatus, Artifacttype
from dfirtrack_main.models import System, Systemstatus, Tag, Tagcolor
class ArtifactCreatorFormT... | 33.287305 | 97 | 0.59347 | 1,353 | 14,946 | 6.242424 | 0.077605 | 0.046886 | 0.031257 | 0.052096 | 0.82252 | 0.810798 | 0.759531 | 0.730523 | 0.724959 | 0.724959 | 0 | 0.009803 | 0.324301 | 14,946 | 448 | 98 | 33.361607 | 0.826517 | 0.088251 | 0 | 0.693333 | 0 | 0 | 0.131405 | 0.029003 | 0 | 0 | 0 | 0 | 0.073333 | 1 | 0.07 | false | 0.003333 | 0.016667 | 0 | 0.09 | 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 | 0 | 0 | 0 | 0 | 6 |
a8b9a9df73f312fbc36d73d384e6b26fbc15dc84 | 49 | py | Python | transfermarkt/__init__.py | omerbd21/transfermarkt | 1e5f48eb7dde3918a8df092fe2110a41fdb668a5 | [
"MIT"
] | null | null | null | transfermarkt/__init__.py | omerbd21/transfermarkt | 1e5f48eb7dde3918a8df092fe2110a41fdb668a5 | [
"MIT"
] | null | null | null | transfermarkt/__init__.py | omerbd21/transfermarkt | 1e5f48eb7dde3918a8df092fe2110a41fdb668a5 | [
"MIT"
] | null | null | null | from .team import Team
from .player import Player | 24.5 | 26 | 0.816327 | 8 | 49 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 26 | 24.5 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a8c30d617a036b97bca50d5da3bd47835b7a9c8d | 34 | py | Python | .venv/lib/python3.8/site-packages/pycrop/__init__.py | amon-wanyonyi/publication | caae5e04f9191493408145ac80dc943dba7e93ca | [
"MIT"
] | null | null | null | .venv/lib/python3.8/site-packages/pycrop/__init__.py | amon-wanyonyi/publication | caae5e04f9191493408145ac80dc943dba7e93ca | [
"MIT"
] | null | null | null | .venv/lib/python3.8/site-packages/pycrop/__init__.py | amon-wanyonyi/publication | caae5e04f9191493408145ac80dc943dba7e93ca | [
"MIT"
] | null | null | null | from .tools import contain, cover
| 17 | 33 | 0.794118 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a8d77c60666afe619d543f6d918bb3b0504b688d | 171 | py | Python | src/sentry/auth/utils.py | tobetterman/sentry | fe85d3aee19dcdbfdd27921c4fb04529fc995a79 | [
"BSD-3-Clause"
] | 1 | 2017-08-30T06:55:25.000Z | 2017-08-30T06:55:25.000Z | src/sentry/auth/utils.py | tobetterman/sentry | fe85d3aee19dcdbfdd27921c4fb04529fc995a79 | [
"BSD-3-Clause"
] | null | null | null | src/sentry/auth/utils.py | tobetterman/sentry | fe85d3aee19dcdbfdd27921c4fb04529fc995a79 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
def is_active_superuser(user):
# TODO(dcramer): add VPN support via INTERNAL_IPS + ipaddr ranges
return user.is_superuser
| 24.428571 | 69 | 0.783626 | 24 | 171 | 5.208333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163743 | 171 | 6 | 70 | 28.5 | 0.874126 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
765a70d20c56667a8f62151097ef08710e59964f | 30 | py | Python | app/__init__.py | rilder-almeida/projeto_case_enfase | 8503145cac37b8ae6c569b7f08aee2ebbe24cafd | [
"MIT"
] | null | null | null | app/__init__.py | rilder-almeida/projeto_case_enfase | 8503145cac37b8ae6c569b7f08aee2ebbe24cafd | [
"MIT"
] | null | null | null | app/__init__.py | rilder-almeida/projeto_case_enfase | 8503145cac37b8ae6c569b7f08aee2ebbe24cafd | [
"MIT"
] | null | null | null | from .core import get_dataset
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76badfa4e69ea46cb5ecf19c3a96195e888fea29 | 3,195 | py | Python | day06.py | FailedCode/adventofcode-2017 | 82456586aea9a614367ef3971c76b787e620ed52 | [
"Unlicense"
] | 3 | 2017-12-03T16:59:46.000Z | 2020-04-12T09:49:30.000Z | day06.py | FailedCode/adventofcode-2017 | 82456586aea9a614367ef3971c76b787e620ed52 | [
"Unlicense"
] | null | null | null | day06.py | FailedCode/adventofcode-2017 | 82456586aea9a614367ef3971c76b787e620ed52 | [
"Unlicense"
] | null | null | null | #!/usr/bin/python
tests = [
{'in': '0 2 7 0', 'out': 5},
]
with open('input/day06.txt', 'r') as file:
file_text = file.read()
inputs = map(lambda v: int(v), file_text.split())
print ""
print "part 1: count steps"
def redistribute_count(banks):
def highestValueIndex(items):
highest_index = 0
... | 28.026316 | 81 | 0.590923 | 389 | 3,195 | 4.717224 | 0.22365 | 0.030518 | 0.038147 | 0.056676 | 0.760218 | 0.752589 | 0.752589 | 0.73733 | 0.67139 | 0.67139 | 0 | 0.01486 | 0.283881 | 3,195 | 113 | 82 | 28.274336 | 0.78715 | 0.005008 | 0 | 0.771084 | 0 | 0 | 0.060307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.120482 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 6 |
4f0facbe66748615b6e069c46f2afb58e9182d97 | 36 | py | Python | ninjarmmpy/__init__.py | StuffbyYuki/ninjarmmpy | b2d5205a1075024164e7007526605bca0f398a2c | [
"MIT"
] | 2 | 2021-06-10T02:34:39.000Z | 2021-07-13T12:19:24.000Z | ninjarmmpy/__init__.py | StuffbyYuki/ninjarmmpy | b2d5205a1075024164e7007526605bca0f398a2c | [
"MIT"
] | 1 | 2021-03-28T20:21:09.000Z | 2021-03-28T20:21:09.000Z | ninjarmmpy/__init__.py | StuffbyYuki/ninjarmmpy | b2d5205a1075024164e7007526605bca0f398a2c | [
"MIT"
] | 2 | 2021-01-28T22:23:01.000Z | 2021-01-30T21:22:37.000Z | from ninjarmmpy.client import Client | 36 | 36 | 0.888889 | 5 | 36 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f4cf650d0268303c754dcd369650b4fae20ff3f | 117 | py | Python | nasdaqdatalink/model/data_list.py | edvn0/data-link-python | 1920b0d71f6068b14854493cfd1879bd67479581 | [
"MIT"
] | 1,178 | 2015-07-23T07:49:48.000Z | 2022-03-30T19:11:15.000Z | nasdaqdatalink/model/data_list.py | edvn0/data-link-python | 1920b0d71f6068b14854493cfd1879bd67479581 | [
"MIT"
] | 105 | 2015-07-31T18:43:51.000Z | 2022-02-27T18:00:22.000Z | nasdaqdatalink/model/data_list.py | edvn0/data-link-python | 1920b0d71f6068b14854493cfd1879bd67479581 | [
"MIT"
] | 330 | 2015-08-13T16:28:12.000Z | 2022-03-15T19:34:42.000Z | from .model_list import ModelList
from .data_mixin import DataMixin
class DataList(DataMixin, ModelList):
pass
| 16.714286 | 37 | 0.794872 | 15 | 117 | 6.066667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 117 | 6 | 38 | 19.5 | 0.919192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4f9515e129a2972afd245ed25c7120e4356361d7 | 91 | py | Python | 0x04-python-more_data_structures/3-common_elements.py | malu17/alx-higher_level_programming | 75a24d98c51116b737f339697c75855e34254d3a | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/3-common_elements.py | malu17/alx-higher_level_programming | 75a24d98c51116b737f339697c75855e34254d3a | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/3-common_elements.py | malu17/alx-higher_level_programming | 75a24d98c51116b737f339697c75855e34254d3a | [
"MIT"
] | null | null | null | #!/usr/bin/python3
def common_elements(set_1, set_2):
return (set(set_1) & set(set_2))
| 22.75 | 36 | 0.692308 | 17 | 91 | 3.411765 | 0.588235 | 0.137931 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 0.131868 | 91 | 3 | 37 | 30.333333 | 0.670886 | 0.186813 | 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 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4f9d2d920af7b00c5928b46d70e1d87745ac2541 | 78 | py | Python | sample/sample.py | eaybek/livequery | 62818ecee2a7c6a154b56337ad8ec8cbca5195de | [
"MIT"
] | null | null | null | sample/sample.py | eaybek/livequery | 62818ecee2a7c6a154b56337ad8ec8cbca5195de | [
"MIT"
] | null | null | null | sample/sample.py | eaybek/livequery | 62818ecee2a7c6a154b56337ad8ec8cbca5195de | [
"MIT"
] | null | null | null | from livequery.livequery import Livequery
class Livequery(object):
pass
| 13 | 41 | 0.782051 | 9 | 78 | 6.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 5 | 42 | 15.6 | 0.938462 | 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 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
96e727e3961039285ba0752231d2002dda527c08 | 61,127 | py | Python | mate_tpv/core/scrapping/prueba.py | jorgesaw/mate_tpv | e38dcc34168e23650a84982223719251aae29cbf | [
"Unlicense"
] | null | null | null | mate_tpv/core/scrapping/prueba.py | jorgesaw/mate_tpv | e38dcc34168e23650a84982223719251aae29cbf | [
"Unlicense"
] | null | null | null | mate_tpv/core/scrapping/prueba.py | jorgesaw/mate_tpv | e38dcc34168e23650a84982223719251aae29cbf | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Created on 10/02/2015
@author: jorgesaw
'''
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Created on 25/01/2015
@author: jorgesaw
'''
from bs4 import BeautifulSoup
from core.scrapping.ScrapBase import ScrapBase
from core.scrapping.ScrapLotNacional import ScrapL... | 41.052384 | 1,853 | 0.67242 | 9,020 | 61,127 | 4.543459 | 0.142129 | 0.13118 | 0.187399 | 0.237373 | 0.650188 | 0.625055 | 0.612976 | 0.588624 | 0.440071 | 0.430652 | 0 | 0.05132 | 0.105845 | 61,127 | 1,489 | 1,854 | 41.052384 | 0.698392 | 0.007705 | 0 | 0.351927 | 0 | 0.114604 | 0.980939 | 0.400489 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.001014 | 0.010142 | null | null | 0.002028 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c33d4430163ca6a0a19931a7ae1c8608a7d053c | 230 | py | Python | day15/tests.py | andrewyang96/AdventOfCode2017 | 665d7869fb8677f41c07ca2177b4fe3ea3356fec | [
"MIT"
] | null | null | null | day15/tests.py | andrewyang96/AdventOfCode2017 | 665d7869fb8677f41c07ca2177b4fe3ea3356fec | [
"MIT"
] | null | null | null | day15/tests.py | andrewyang96/AdventOfCode2017 | 665d7869fb8677f41c07ca2177b4fe3ea3356fec | [
"MIT"
] | null | null | null | from solution import final_count
from solution import final_count2
assert final_count(65, 8921, 5) == 1
print(final_count(679, 771, 40000000))
assert final_count2(65, 8921, 5000000) == 309
print(final_count2(679, 771, 5000000))
| 25.555556 | 45 | 0.773913 | 36 | 230 | 4.777778 | 0.472222 | 0.174419 | 0.209302 | 0.267442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267327 | 0.121739 | 230 | 8 | 46 | 28.75 | 0.584158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
8c6293e65ec6ab041279a06fb067660892d88a8c | 2,428 | py | Python | 2016/lab4/hastad/code.py | JustHitTheCore/ctf_workshops | d50e8a5c90e80cdae3e17a92bce83955f0618570 | [
"MIT"
] | 7 | 2016-12-27T17:32:43.000Z | 2019-03-27T07:15:23.000Z | 2016/lab4/hastad/code.py | JustHitTheCore/ctf_workshops | d50e8a5c90e80cdae3e17a92bce83955f0618570 | [
"MIT"
] | 1 | 2017-12-07T02:21:29.000Z | 2017-12-07T02:21:29.000Z | 2016/lab4/hastad/code.py | JustHitTheCore/ctf_workshops | d50e8a5c90e80cdae3e17a92bce83955f0618570 | [
"MIT"
] | 1 | 2017-01-08T01:49:05.000Z | 2017-01-08T01:49:05.000Z | # https://id0-rsa.pub/problem/11/
import gmpy2
def crt(a, n):
"""Chinese remainder theorem
from: http://rosettacode.org/wiki/Chinese_remainder_theorem#Python
x = a[0] % n[0]
x = a[1] % n[1]
x = a[2] % n[2]
Args:
a(list): remainders
n(list): modules
Returns:
lo... | 49.55102 | 263 | 0.835255 | 157 | 2,428 | 12.828025 | 0.496815 | 0.002979 | 0.02284 | 0.007944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427131 | 0.101318 | 2,428 | 48 | 264 | 50.583333 | 0.495875 | 0.012768 | 0 | 0 | 0 | 0 | 0.025532 | 0 | 0 | 1 | 0.731442 | 0 | 0 | 0 | null | null | 0 | 0.041667 | null | null | 0.083333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4fe8eb938d0f0733464ab3315cfb8b689ba7038f | 299 | py | Python | neural_mmo/forge/ethyr/torch/policy/__init__.py | fangqyi/sandbox-society | 39a539994f47f4937ec3ff698f8ed08a5161e14a | [
"MIT"
] | 1 | 2022-01-25T10:56:38.000Z | 2022-01-25T10:56:38.000Z | neural_mmo/forge/ethyr/torch/policy/__init__.py | davidADSP/neural-mmo | c9510890576fad1037474340194d0b5342a9b45f | [
"MIT"
] | null | null | null | neural_mmo/forge/ethyr/torch/policy/__init__.py | davidADSP/neural-mmo | c9510890576fad1037474340194d0b5342a9b45f | [
"MIT"
] | null | null | null | from neural_mmo.forge.ethyr.torch.policy.attention import Attention, SelfAttention
from neural_mmo.forge.ethyr.torch.policy.recurrent import BatchFirstLSTM
from neural_mmo.forge.ethyr.torch.policy.embed import BiasedInput, MixedDTypeInput
from neural_mmo.forge.ethyr.torch.policy.embed import Input
| 59.8 | 82 | 0.866221 | 42 | 299 | 6.071429 | 0.380952 | 0.156863 | 0.203922 | 0.282353 | 0.619608 | 0.619608 | 0.619608 | 0.352941 | 0.352941 | 0 | 0 | 0 | 0.060201 | 299 | 4 | 83 | 74.75 | 0.907473 | 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 | 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 | 6 |
8b3265c26cc4e56a9ebffda3582e1e70fb085651 | 118 | py | Python | demo_cumtd_gmaps/py/compute.py | intrepiduiuc/cs-205 | abe87c37b5cc2d061640f90916511d477426bc9e | [
"MIT"
] | null | null | null | demo_cumtd_gmaps/py/compute.py | intrepiduiuc/cs-205 | abe87c37b5cc2d061640f90916511d477426bc9e | [
"MIT"
] | null | null | null | demo_cumtd_gmaps/py/compute.py | intrepiduiuc/cs-205 | abe87c37b5cc2d061640f90916511d477426bc9e | [
"MIT"
] | null | null | null | # Import the libraries we will use in this file
import urllib.request
import urllib.parse
import json
import datetime
| 19.666667 | 47 | 0.822034 | 19 | 118 | 5.105263 | 0.736842 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 118 | 5 | 48 | 23.6 | 0.97 | 0.381356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c9312bd8bf85a4109aa83e0f95334ae8111117f | 44 | py | Python | src/lib/SocketServer.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/SocketServer.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/SocketServer.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("SocketServer")
| 22 | 43 | 0.795455 | 6 | 44 | 5 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8c9a4ac2f1e2c361dc45bd78cf659d05b9fb0eb4 | 20,058 | py | Python | tests/commands/test_sorted_set.py | dynalz/coredis | 54c95a323897a9742bf30ceff67141d9a1cfc97a | [
"MIT"
] | null | null | null | tests/commands/test_sorted_set.py | dynalz/coredis | 54c95a323897a9742bf30ceff67141d9a1cfc97a | [
"MIT"
] | null | null | null | tests/commands/test_sorted_set.py | dynalz/coredis | 54c95a323897a9742bf30ceff67141d9a1cfc97a | [
"MIT"
] | null | null | null | import pytest
from coredis import DataError
from coredis.utils import b
from tests.conftest import targets
@targets("redis_basic", "redis_cluster")
@pytest.mark.asyncio()
class TestSortedSet:
async def test_zadd(self, client):
await client.zadd("a{foo}", a1=1, a2=2, a3=3)
assert await client.zran... | 39.252446 | 88 | 0.491126 | 2,900 | 20,058 | 3.367241 | 0.051379 | 0.225294 | 0.208909 | 0.063902 | 0.871377 | 0.840348 | 0.786175 | 0.738249 | 0.639017 | 0.592012 | 0 | 0.061629 | 0.291355 | 20,058 | 510 | 89 | 39.329412 | 0.625369 | 0.014009 | 0 | 0.476082 | 0 | 0 | 0.102743 | 0 | 0 | 0 | 0 | 0 | 0.318907 | 1 | 0 | false | 0 | 0.009112 | 0 | 0.01139 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 6 |
8cab4849e945cf20828b2cae11b713df33bae8aa | 291 | py | Python | tests/data/x-test_pot.py | fKunstner/pytest-optional-tests | 835dfde4638e17564937b2a0fa36592c532d58a9 | [
"MIT"
] | 1 | 2021-10-06T21:13:58.000Z | 2021-10-06T21:13:58.000Z | tests/data/x-test_pot.py | fKunstner/pytest-optional-tests | 835dfde4638e17564937b2a0fa36592c532d58a9 | [
"MIT"
] | 1 | 2020-12-14T12:33:39.000Z | 2021-04-22T13:34:09.000Z | tests/data/x-test_pot.py | fKunstner/pytest-optional-tests | 835dfde4638e17564937b2a0fa36592c532d58a9 | [
"MIT"
] | 2 | 2019-10-11T21:10:41.000Z | 2021-04-22T13:06:00.000Z | import pytest
def test_no_mark():
pass
@pytest.mark.opt1
def test_opt1():
pass
@pytest.mark.opt1
@pytest.mark.opt2
def test_opt12():
pass
@pytest.mark.opt2
def test_opt2():
pass
@pytest.mark.opt3
def test_opt3():
pass
@pytest.mark.other
def test_other():
pass
| 10.777778 | 19 | 0.680412 | 45 | 291 | 4.244444 | 0.266667 | 0.219895 | 0.366492 | 0.188482 | 0.219895 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042735 | 0.195876 | 291 | 26 | 20 | 11.192308 | 0.773504 | 0 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | true | 0.315789 | 0.052632 | 0 | 0.368421 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8cb0a3c7ba17ea2a6cdb6d8b0eee07b1e6f91090 | 153 | py | Python | test_collision/test_bodies.py | Klumhru/boost-python-bullet | d9ffae09157280f60cb469d8c9c9fa4c1920e3ce | [
"MIT"
] | 2 | 2015-09-16T15:24:39.000Z | 2015-11-18T11:53:51.000Z | test_collision/test_bodies.py | Klumhru/boost-python-bullet | d9ffae09157280f60cb469d8c9c9fa4c1920e3ce | [
"MIT"
] | 1 | 2018-04-04T15:33:20.000Z | 2018-04-04T15:33:20.000Z | test_collision/test_bodies.py | Klumhru/boost-python-bullet | d9ffae09157280f60cb469d8c9c9fa4c1920e3ce | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_dynamics.test_bodies
"""
from __future__ import unicode_literals, print_function, absolute_import
| 21.857143 | 72 | 0.745098 | 20 | 153 | 5.25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.104575 | 153 | 6 | 73 | 25.5 | 0.759124 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
8cc733757fa1e8f68193a25e32ee9efb5e114a84 | 74 | py | Python | src/Utilities/__init__.py | christosgalano/Chatroom_Server | cf6ba3bd5a140d65e3d7cb2d8594796272c866c9 | [
"BSD-2-Clause"
] | null | null | null | src/Utilities/__init__.py | christosgalano/Chatroom_Server | cf6ba3bd5a140d65e3d7cb2d8594796272c866c9 | [
"BSD-2-Clause"
] | null | null | null | src/Utilities/__init__.py | christosgalano/Chatroom_Server | cf6ba3bd5a140d65e3d7cb2d8594796272c866c9 | [
"BSD-2-Clause"
] | null | null | null | from .shared import create_shared_standards
create_shared_standards()
| 18.5 | 44 | 0.837838 | 9 | 74 | 6.444444 | 0.555556 | 0.413793 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 3 | 45 | 24.666667 | 0.892308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
8ce8a89c2a33649a7aaaaa9b82cf027b15bfca9e | 187 | py | Python | meli_challenge/core/__init__.py | rafaelleinio/meli-challenge | 72391cc24a502a199523f204779d4fe928c7b10d | [
"MIT"
] | 1 | 2021-02-28T02:12:37.000Z | 2021-02-28T02:12:37.000Z | meli_challenge/core/__init__.py | rafaelleinio/meli-challenge | 72391cc24a502a199523f204779d4fe928c7b10d | [
"MIT"
] | null | null | null | meli_challenge/core/__init__.py | rafaelleinio/meli-challenge | 72391cc24a502a199523f204779d4fe928c7b10d | [
"MIT"
] | null | null | null | """core module."""
from meli_challenge.core.characters_graph import CharactersGraph
from meli_challenge.core.spark_client import SparkClient
__all__ = ["CharactersGraph", "SparkClient"]
| 31.166667 | 64 | 0.818182 | 21 | 187 | 6.904762 | 0.619048 | 0.110345 | 0.234483 | 0.289655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080214 | 187 | 5 | 65 | 37.4 | 0.843023 | 0.064171 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f97167b35b35af0a3e030a73a320ae08f1d57c6 | 70 | py | Python | spikeextractors/extractors/mdaextractors/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 145 | 2018-12-06T23:12:54.000Z | 2022-02-10T22:57:35.000Z | spikeextractors/extractors/mdaextractors/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 396 | 2018-11-26T11:46:30.000Z | 2022-01-04T07:27:47.000Z | spikeextractors/extractors/mdaextractors/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 67 | 2018-11-19T12:38:01.000Z | 2021-09-25T03:18:22.000Z | from .mdaextractors import MdaRecordingExtractor, MdaSortingExtractor
| 35 | 69 | 0.9 | 5 | 70 | 12.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 70 | 1 | 70 | 70 | 0.969231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fce2cf747e2331002841a5cf4c4c8c9d1568ab6 | 94 | py | Python | doc/sphinxext/numpydoc/__init__.py | vimalromeo/pandas | 7c14e4f14aff216be558bf5d4d2d00b4838c2360 | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 303 | 2016-03-03T00:44:37.000Z | 2022-03-14T03:43:38.000Z | doc/sphinxext/numpydoc/__init__.py | vimalromeo/pandas | 7c14e4f14aff216be558bf5d4d2d00b4838c2360 | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 189 | 2015-02-20T03:21:31.000Z | 2021-03-23T13:46:24.000Z | doc/sphinxext/numpydoc/__init__.py | vimalromeo/pandas | 7c14e4f14aff216be558bf5d4d2d00b4838c2360 | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 67 | 2016-03-03T22:38:35.000Z | 2022-01-12T08:03:47.000Z | from __future__ import division, absolute_import, print_function
from .numpydoc import setup
| 23.5 | 64 | 0.851064 | 12 | 94 | 6.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 94 | 3 | 65 | 31.333333 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
0fed2b57e37d4bc33ac456180e450b861ac10b6e | 131 | py | Python | e2xgrader/exporters/__init__.py | mhwasil/e2xgrader | 14c57c0b8e4bd7a689a9f98066c700b83818e954 | [
"MIT"
] | null | null | null | e2xgrader/exporters/__init__.py | mhwasil/e2xgrader | 14c57c0b8e4bd7a689a9f98066c700b83818e954 | [
"MIT"
] | null | null | null | e2xgrader/exporters/__init__.py | mhwasil/e2xgrader | 14c57c0b8e4bd7a689a9f98066c700b83818e954 | [
"MIT"
] | null | null | null | from .gradeexporter import GradeTaskExporter, GradeNotebookExporter, GradeAssignmentExporter
from .formexporter import FormExporter | 65.5 | 92 | 0.900763 | 10 | 131 | 11.8 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068702 | 131 | 2 | 93 | 65.5 | 0.967213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ff5727a071241855bd7d5bb6e13316be341aed9 | 18,796 | py | Python | tests/test_basis_evaluation.py | jiduque/scikit-fda | 5ea71e78854801b259aa3a01eb6b154aa63bf54b | [
"BSD-3-Clause"
] | 147 | 2019-05-10T20:46:42.000Z | 2022-03-25T17:23:19.000Z | tests/test_basis_evaluation.py | jiduque/scikit-fda | 5ea71e78854801b259aa3a01eb6b154aa63bf54b | [
"BSD-3-Clause"
] | 306 | 2019-04-26T08:56:05.000Z | 2022-03-30T11:12:48.000Z | tests/test_basis_evaluation.py | jiduque/scikit-fda | 5ea71e78854801b259aa3a01eb6b154aa63bf54b | [
"BSD-3-Clause"
] | 38 | 2019-09-03T17:24:04.000Z | 2022-01-06T05:09:18.000Z |
from skfda.representation.basis import (
FDataBasis, Monomial, BSpline, Fourier, Constant, VectorValued, Tensor)
import unittest
import numpy as np
class TestBasisEvaluationFourier(unittest.TestCase):
def test_evaluation_simple_fourier(self):
"""Test the evaluation of FDataBasis"""
fourier ... | 38.915114 | 79 | 0.54884 | 2,510 | 18,796 | 3.965339 | 0.090438 | 0.058776 | 0.09796 | 0.10851 | 0.878027 | 0.85753 | 0.811112 | 0.773234 | 0.771024 | 0.760474 | 0 | 0.117178 | 0.312141 | 18,796 | 482 | 80 | 38.995851 | 0.652641 | 0.118429 | 0 | 0.602113 | 0 | 0 | 0.000489 | 0 | 0 | 0 | 0 | 0 | 0.232394 | 1 | 0.073944 | false | 0 | 0.010563 | 0 | 0.102113 | 0.003521 | 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 | 0 | 0 | 0 | 0 | 6 |
ba0d16e18df9cfd4a84303c8490a3dae126c6570 | 133 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/cachecontrol/caches/__init__.py | realxwx/leetcode-solve | 3a7d7d8e92a5fd5fecc347d141a1c532b92e763e | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/pip/_vendor/cachecontrol/caches/__init__.py | realxwx/leetcode-solve | 3a7d7d8e92a5fd5fecc347d141a1c532b92e763e | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/pip/_vendor/cachecontrol/caches/__init__.py | realxwx/leetcode-solve | 3a7d7d8e92a5fd5fecc347d141a1c532b92e763e | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2020
# Author: xiaoweixiang
from .file_cache import FileCache # noqa
from .redis_cache import RedisCache # noqa
| 22.166667 | 43 | 0.75188 | 17 | 133 | 5.764706 | 0.764706 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.180451 | 133 | 5 | 44 | 26.6 | 0.862385 | 0.37594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba2edc232ba5ac9e25dee1bf0079a28f3cf6e567 | 63 | py | Python | lomapy/helpers/__init__.py | AlanTaranti/Lomapy | db3af6cbf4a2a7fe6cedb78619ba39f8b9ad3fbc | [
"MIT"
] | 2 | 2019-09-19T23:22:35.000Z | 2019-09-26T14:35:05.000Z | lomapy/helpers/__init__.py | AlanTaranti/Lomapy | db3af6cbf4a2a7fe6cedb78619ba39f8b9ad3fbc | [
"MIT"
] | null | null | null | lomapy/helpers/__init__.py | AlanTaranti/Lomapy | db3af6cbf4a2a7fe6cedb78619ba39f8b9ad3fbc | [
"MIT"
] | 1 | 2021-02-23T20:35:19.000Z | 2021-02-23T20:35:19.000Z | from .padronizar_resposta import padronizar_resposta_categoria
| 31.5 | 62 | 0.920635 | 7 | 63 | 7.857143 | 0.714286 | 0.654545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.932203 | 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 | 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 | 6 |
e882d289b4a2c9e7d95219ad97653d59f5827644 | 150 | py | Python | backend/ventserver/integration/__init__.py | raavilagoo/Test | e2de25cc4b6fcbffe3f98f4a7ce1644fa8b6bb16 | [
"Apache-2.0"
] | 1 | 2020-10-20T23:47:23.000Z | 2020-10-20T23:47:23.000Z | backend/ventserver/integration/__init__.py | raavilagoo/Test | e2de25cc4b6fcbffe3f98f4a7ce1644fa8b6bb16 | [
"Apache-2.0"
] | 242 | 2020-10-23T06:44:01.000Z | 2022-01-28T05:50:45.000Z | backend/ventserver/integration/__init__.py | pez-globo/pufferfish-vent-software | f1e5e47acf1941e7c729adb750b85bf26c38b274 | [
"Apache-2.0"
] | 1 | 2021-04-12T02:10:18.000Z | 2021-04-12T02:10:18.000Z | """Modules for integration between Sans-I/O protocols and I/O drivers.
Modules:
_trio: integration between Sans-I/O protocols and trio I/O.
"""
| 21.428571 | 70 | 0.726667 | 24 | 150 | 4.5 | 0.458333 | 0.074074 | 0.407407 | 0.425926 | 0.666667 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 150 | 6 | 71 | 25 | 0.864 | 0.94 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e892d59d8def60381c645487cfd61b09d325c649 | 211 | py | Python | shop/admin.py | ilvar/lotien | c951dbe5dffb8e4e6c0f574e8b2192eefe2391e3 | [
"MIT"
] | null | null | null | shop/admin.py | ilvar/lotien | c951dbe5dffb8e4e6c0f574e8b2192eefe2391e3 | [
"MIT"
] | null | null | null | shop/admin.py | ilvar/lotien | c951dbe5dffb8e4e6c0f574e8b2192eefe2391e3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django_markdown.admin import MarkdownModelAdmin
from shop.models import Collection, Flower
admin.site.register(Collection)
admin.site.register(Flower, MarkdownModelAdmin)
| 26.375 | 52 | 0.853081 | 26 | 211 | 6.884615 | 0.5 | 0.111732 | 0.189944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085308 | 211 | 7 | 53 | 30.142857 | 0.927461 | 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 | 0 | 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 | 6 |
e8d0017ed73557baf733fa1ab9aacfdac8a79066 | 33 | py | Python | config_writer/__init__.py | glennib/py-config | eb02ec689c7f44ec7e88b33cc2f4f17b5ba6423b | [
"MIT"
] | null | null | null | config_writer/__init__.py | glennib/py-config | eb02ec689c7f44ec7e88b33cc2f4f17b5ba6423b | [
"MIT"
] | null | null | null | config_writer/__init__.py | glennib/py-config | eb02ec689c7f44ec7e88b33cc2f4f17b5ba6423b | [
"MIT"
] | null | null | null | from .config import ConfigWriter
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa0edf87ffbf20835bd5a5c41efcbd74e3a09704 | 26 | py | Python | terrascript/pagerduty/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/pagerduty/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/pagerduty/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | """2019-05-28 10:50:16"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
fa54f824c61099bd64777d19b69a8a3900b4ac3e | 34 | py | Python | gym-duckietown/learning/imitation/iil_dagger/model/__init__.py | lyf44/CS4278-5478-Project-Materials | 685419c65847e72450e99586e9e0f3794369b4a3 | [
"MIT"
] | 4 | 2020-04-28T15:48:56.000Z | 2020-05-03T14:03:01.000Z | gym-duckietown/learning/imitation/iil_dagger/model/__init__.py | lyf44/CS4278-5478-Project-Materials | 685419c65847e72450e99586e9e0f3794369b4a3 | [
"MIT"
] | null | null | null | gym-duckietown/learning/imitation/iil_dagger/model/__init__.py | lyf44/CS4278-5478-Project-Materials | 685419c65847e72450e99586e9e0f3794369b4a3 | [
"MIT"
] | 21 | 2020-04-28T16:38:01.000Z | 2021-11-16T14:21:08.000Z | from .squeezenet import Squeezenet | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa5d4a3023c4e98ae48ce9f7e47c93eadd6b4447 | 11,971 | py | Python | bert-distillation/bert_distill/data/dataset.py | distillbert/code | f71b25e68fbac6ab4b6b4abe5a4d04f56c6b8791 | [
"MIT"
] | null | null | null | bert-distillation/bert_distill/data/dataset.py | distillbert/code | f71b25e68fbac6ab4b6b4abe5a4d04f56c6b8791 | [
"MIT"
] | null | null | null | bert-distillation/bert_distill/data/dataset.py | distillbert/code | f71b25e68fbac6ab4b6b4abe5a4d04f56c6b8791 | [
"MIT"
] | null | null | null | from torchtext.data import Field, TabularDataset, Iterator
from torchtext.vocab import Vectors
import torch
from .base import allennlp_tokenize, basic_tokenize, uniform_unk_init, space_tokenize, \
bert_tokenize, gpt2_tokenize
_REGISTRY = {}
class RegisteredDataset(TabularDataset):
def __init_subclass__(cl... | 46.945098 | 134 | 0.690669 | 1,635 | 11,971 | 4.853823 | 0.079511 | 0.02558 | 0.045867 | 0.055066 | 0.835181 | 0.820817 | 0.81628 | 0.81628 | 0.810988 | 0.804814 | 0 | 0.008333 | 0.178014 | 11,971 | 254 | 135 | 47.129921 | 0.798171 | 0 | 0 | 0.692308 | 0 | 0 | 0.067001 | 0.002339 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.020513 | 0.046154 | 0.487179 | 0.005128 | 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 | 0 | 0 | 0 | 0 | 6 |
fa609302dfae7da4eb112e30beb0dfef83d6fcb5 | 5,525 | py | Python | tests/test_node.py | glennlaughlin/ariadne-relay | ed1c5c8aa68ac160c5fddae2d010cfc8fb52528d | [
"BSD-3-Clause"
] | null | null | null | tests/test_node.py | glennlaughlin/ariadne-relay | ed1c5c8aa68ac160c5fddae2d010cfc8fb52528d | [
"BSD-3-Clause"
] | null | null | null | tests/test_node.py | glennlaughlin/ariadne-relay | ed1c5c8aa68ac160c5fddae2d010cfc8fb52528d | [
"BSD-3-Clause"
] | null | null | null | from typing import Dict
from ariadne import InterfaceType, make_executable_schema, QueryType
from graphql import graphql_sync
from graphql_relay import to_global_id
from graphql_relay.utils import base64
from ariadne_relay import NodeInterfaceType, RelayObjectType, RelayQueryType
from .conftest import Foo, Qux
def ... | 30.865922 | 88 | 0.66009 | 667 | 5,525 | 5.103448 | 0.101949 | 0.063455 | 0.079906 | 0.067568 | 0.814042 | 0.787015 | 0.765276 | 0.749412 | 0.726498 | 0.726498 | 0 | 0.001919 | 0.245611 | 5,525 | 178 | 89 | 31.039326 | 0.814779 | 0.017014 | 0 | 0.628205 | 0 | 0 | 0.02524 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 1 | 0.057692 | false | 0 | 0.044872 | 0 | 0.102564 | 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 | 0 | 0 | 0 | 0 | 6 |
d71bd7e94d8b8e6ed691b5b16907702f870e0d18 | 278 | py | Python | confu/builds/__init__.py | ararslan/confu | 55da0b09f125187e617c6857a62c22a0bbdeb619 | [
"MIT"
] | 13 | 2017-02-05T07:03:39.000Z | 2021-08-09T11:21:48.000Z | confu/builds/__init__.py | ararslan/confu | 55da0b09f125187e617c6857a62c22a0bbdeb619 | [
"MIT"
] | 4 | 2017-10-30T09:41:05.000Z | 2020-09-26T22:56:55.000Z | confu/builds/__init__.py | ararslan/confu | 55da0b09f125187e617c6857a62c22a0bbdeb619 | [
"MIT"
] | 14 | 2017-02-28T14:06:34.000Z | 2020-11-16T18:16:29.000Z | from confu.builds.base import Build
from confu.builds.unix import UnixBuild
from confu.builds.pnacl import PNaClBuild
from confu.builds.emscripten import EmscriptenBuild
from confu.builds.module import Module, ModuleCollection
from confu.builds.deps import DependencyCollection
| 39.714286 | 56 | 0.863309 | 37 | 278 | 6.486486 | 0.432432 | 0.225 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089928 | 278 | 6 | 57 | 46.333333 | 0.948617 | 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 | 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 | 6 |
d7247cf603e414da1a0c50c99a7cd82c68b77d8f | 21 | py | Python | src/models/__init__.py | NoSyu/CDMM-B | 0baa831e217368782ed275f6dba35cca591f99e6 | [
"MIT"
] | 1 | 2021-03-17T12:44:35.000Z | 2021-03-17T12:44:35.000Z | src/models/__init__.py | NoSyu/CDMM-B | 0baa831e217368782ed275f6dba35cca591f99e6 | [
"MIT"
] | null | null | null | src/models/__init__.py | NoSyu/CDMM-B | 0baa831e217368782ed275f6dba35cca591f99e6 | [
"MIT"
] | null | null | null | from .cdmmb import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d759b3d2730e34641eb32563eff61cd6212cdb05 | 204 | py | Python | SAM2017/registration/admin.py | jpavelw/sam-2017 | 2f1eba1d8fc91bfc0c53483f46cc6d60fa6d00fd | [
"MIT"
] | 1 | 2016-08-31T16:49:17.000Z | 2016-08-31T16:49:17.000Z | SAM2017/registration/admin.py | jpavelw/sam-2017 | 2f1eba1d8fc91bfc0c53483f46cc6d60fa6d00fd | [
"MIT"
] | null | null | null | SAM2017/registration/admin.py | jpavelw/sam-2017 | 2f1eba1d8fc91bfc0c53483f46cc6d60fa6d00fd | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
class UserFieldFilter(admin.ModelAdmin):
fields = ['role']
admin.site.register(models.User, UserFieldFilter)
admin.site.register(models.Role)
| 18.545455 | 49 | 0.77451 | 25 | 204 | 6.32 | 0.56 | 0.253165 | 0.21519 | 0.291139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 204 | 10 | 50 | 20.4 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad355a43924eb55c85a3ff244bd1aa54d68c7ce1 | 37 | py | Python | F_Machine_learning/2_Supervised-Learning/solutions/ex0_4a.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 7 | 2019-07-03T07:41:55.000Z | 2022-02-06T20:25:37.000Z | Lab2-ML-tissue-classification/solutions/ex0_4a.py | computational-medicine/BMED360-2021 | 2c6052b9affedf1fee23c89d23941bf08eb2614c | [
"MIT"
] | 9 | 2019-03-14T15:15:09.000Z | 2019-08-01T14:18:21.000Z | Lab2-ML-tissue-classification/solutions/ex0_4a.py | computational-medicine/BMED360-2021 | 2c6052b9affedf1fee23c89d23941bf08eb2614c | [
"MIT"
] | 11 | 2019-03-12T10:43:11.000Z | 2021-10-05T12:15:00.000Z | def pcnt(N, p):
return int(p * N) | 18.5 | 21 | 0.540541 | 8 | 37 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 37 | 2 | 21 | 18.5 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ad68a57b007121f472c7c6ae2f77ba83f6b463ec | 88,768 | py | Python | dataframe_creator.py | Funny-Panda/StructurePrediction18 | 8ce61b8822eea52eea7053cce673b05c8cb85fe9 | [
"BSD-3-Clause"
] | 8 | 2021-03-11T15:20:37.000Z | 2022-03-22T06:11:51.000Z | dataframe_creator.py | Funny-Panda/StructurePrediction18 | 8ce61b8822eea52eea7053cce673b05c8cb85fe9 | [
"BSD-3-Clause"
] | 3 | 2021-03-02T12:04:06.000Z | 2022-02-09T23:51:26.000Z | dataframe_creator.py | Funny-Panda/StructurePrediction18 | 8ce61b8822eea52eea7053cce673b05c8cb85fe9 | [
"BSD-3-Clause"
] | 3 | 2020-12-30T02:50:52.000Z | 2022-01-31T08:38:31.000Z | __author__ = "Andrea Galassi"
__copyright__ = "Copyright 2018-2020 Andrea Galassi"
__license__ = "BSD 3-clause"
__version__ = "0.2.0"
__email__ = "a.galassi@unibo.it"
"""
Code to create a pandas dataframe from a specific corpus
"""
import os
import pandas
import json
import random
import sys
import ast... | 40.441002 | 133 | 0.509936 | 8,881 | 88,768 | 4.651841 | 0.094809 | 0.040084 | 0.01767 | 0.021349 | 0.78963 | 0.766805 | 0.744439 | 0.724203 | 0.70801 | 0.696464 | 0 | 0.029666 | 0.383686 | 88,768 | 2,194 | 134 | 40.459435 | 0.725475 | 0.088805 | 0 | 0.726496 | 0 | 0 | 0.123476 | 0.035632 | 0.000657 | 0 | 0 | 0.000456 | 0.006575 | 1 | 0.011177 | false | 0 | 0.00526 | 0 | 0.017094 | 0.12426 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad6922624cca6ffac35824ac3773ae018f4a9be5 | 230 | py | Python | benchmarks/src/garage_benchmarks/experiments/q_functions/__init__.py | blacksph3re/garage | b4abe07f0fa9bac2cb70e4a3e315c2e7e5b08507 | [
"MIT"
] | 1,500 | 2018-06-11T20:36:24.000Z | 2022-03-31T08:29:01.000Z | benchmarks/src/garage_benchmarks/experiments/q_functions/__init__.py | blacksph3re/garage | b4abe07f0fa9bac2cb70e4a3e315c2e7e5b08507 | [
"MIT"
] | 2,111 | 2018-06-11T04:10:29.000Z | 2022-03-26T14:41:32.000Z | benchmarks/src/garage_benchmarks/experiments/q_functions/__init__.py | blacksph3re/garage | b4abe07f0fa9bac2cb70e4a3e315c2e7e5b08507 | [
"MIT"
] | 309 | 2018-07-24T11:18:48.000Z | 2022-03-30T16:19:48.000Z | """Benchmarking experiments for Q-functions."""
from garage_benchmarks.experiments.q_functions.continuous_mlp_q_function import ( # isort:skip # noqa: E501
continuous_mlp_q_function)
__all__ = ['continuous_mlp_q_function']
| 38.333333 | 109 | 0.8 | 29 | 230 | 5.827586 | 0.586207 | 0.230769 | 0.248521 | 0.390533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014563 | 0.104348 | 230 | 5 | 110 | 46 | 0.805825 | 0.286957 | 0 | 0 | 0 | 0 | 0.159236 | 0.159236 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ad6b73d157850ab8ff3ca551f06d8fbe30c94430 | 35,203 | py | Python | lanxinplus_openapi/api/addrbk_tags_api.py | lanxinplus/lanxinplus-python-sdk | 39ea9cb66a087df06e61ed4a2b473fb170a47f99 | [
"MIT"
] | null | null | null | lanxinplus_openapi/api/addrbk_tags_api.py | lanxinplus/lanxinplus-python-sdk | 39ea9cb66a087df06e61ed4a2b473fb170a47f99 | [
"MIT"
] | null | null | null | lanxinplus_openapi/api/addrbk_tags_api.py | lanxinplus/lanxinplus-python-sdk | 39ea9cb66a087df06e61ed4a2b473fb170a47f99 | [
"MIT"
] | null | null | null | """
LanXin+ OpenAPI
LanXin+ OpenAPI Platform # noqa: E501
Generated by: https://openapi.lanxin.cn
"""
import re # noqa: F401
import sys # noqa: F401
from lanxinplus_openapi.api_client import ApiClient, Endpoint as _Endpoint
from lanxinplus_openapi.model_utils import ( # noqa: F401
check_allowed... | 32.415285 | 121 | 0.467347 | 2,939 | 35,203 | 5.173528 | 0.05342 | 0.056823 | 0.043407 | 0.018941 | 0.87366 | 0.852614 | 0.786518 | 0.733509 | 0.678593 | 0.654522 | 0 | 0.011795 | 0.43644 | 35,203 | 1,085 | 122 | 32.445161 | 0.754625 | 0.153197 | 0 | 0.663972 | 1 | 0 | 0.236416 | 0.058493 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011547 | false | 0 | 0.02194 | 0 | 0.045035 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 6 |
d125c91276c9db9ce46a00c32110fa55ec7e6fd9 | 67 | py | Python | src/accounts/models/__init__.py | earth-emoji/dennea | fbabd7d9ecc95898411aba238bbcca8b5e942c31 | [
"BSD-3-Clause"
] | null | null | null | src/accounts/models/__init__.py | earth-emoji/dennea | fbabd7d9ecc95898411aba238bbcca8b5e942c31 | [
"BSD-3-Clause"
] | 13 | 2019-12-09T02:38:36.000Z | 2022-03-12T00:33:57.000Z | src/accounts/models/__init__.py | earth-emoji/dennea | fbabd7d9ecc95898411aba238bbcca8b5e942c31 | [
"BSD-3-Clause"
] | null | null | null | from .customer import *
from .vendor import *
from .driver import * | 22.333333 | 23 | 0.746269 | 9 | 67 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 3 | 24 | 22.333333 | 0.892857 | 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 | 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 | 6 |
0f43360d6d012e62868d8cb215e9cbe3db67acd6 | 249 | py | Python | pyrosenv/sensor_msgs/__init__.py | omrirz/pyrosenv | 7cddbb4916920a50d19a7ee62e926daaba8a502e | [
"MIT"
] | 7 | 2020-04-14T10:04:10.000Z | 2022-02-20T18:23:42.000Z | pyrosenv/sensor_msgs/__init__.py | omrirz/pyrosenv | 7cddbb4916920a50d19a7ee62e926daaba8a502e | [
"MIT"
] | 4 | 2020-06-04T20:09:16.000Z | 2022-03-24T06:59:02.000Z | pyrosenv/sensor_msgs/__init__.py | omrirz/pyrosenv | 7cddbb4916920a50d19a7ee62e926daaba8a502e | [
"MIT"
] | null | null | null | import sensor_msgs.msg
from sensor_msgs.msg import *
from . import point_cloud2
import importlib
msg = importlib.import_module('sensor_msgs.msg')
point_cloud2 = importlib.import_module('sensor_msgs.point_cloud2')
__all__ = ['msg', 'point_cloud2']
| 24.9 | 66 | 0.799197 | 35 | 249 | 5.285714 | 0.285714 | 0.216216 | 0.210811 | 0.291892 | 0.335135 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017778 | 0.096386 | 249 | 9 | 67 | 27.666667 | 0.804444 | 0 | 0 | 0 | 0 | 0 | 0.216867 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f6ee393401b2cce4d308a34c8301d412b9060fc | 257 | py | Python | devel/lib/python2.7/dist-packages/beginner_tutorials/msg/__init__.py | samuel100u/dashgo | 132c0f963e349170960c078ef056a98ab6156897 | [
"Apache-2.0"
] | null | null | null | devel/lib/python2.7/dist-packages/beginner_tutorials/msg/__init__.py | samuel100u/dashgo | 132c0f963e349170960c078ef056a98ab6156897 | [
"Apache-2.0"
] | null | null | null | devel/lib/python2.7/dist-packages/beginner_tutorials/msg/__init__.py | samuel100u/dashgo | 132c0f963e349170960c078ef056a98ab6156897 | [
"Apache-2.0"
] | null | null | null | from ._DoDishesAction import *
from ._DoDishesActionFeedback import *
from ._DoDishesActionGoal import *
from ._DoDishesActionResult import *
from ._DoDishesFeedback import *
from ._DoDishesGoal import *
from ._DoDishesResult import *
from ._Hello import *
| 28.555556 | 38 | 0.81323 | 24 | 257 | 8.375 | 0.416667 | 0.348259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124514 | 257 | 8 | 39 | 32.125 | 0.893333 | 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 | 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 | 6 |
7e5f198988d28f2016eed597644695ecd6c11bed | 43 | py | Python | openslides_backend/action/tag/__init__.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | 5 | 2020-01-20T13:57:15.000Z | 2021-03-27T14:14:44.000Z | openslides_backend/action/tag/__init__.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | 859 | 2020-01-11T22:58:37.000Z | 2022-03-30T14:54:06.000Z | openslides_backend/action/tag/__init__.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | 16 | 2020-01-04T20:28:57.000Z | 2022-02-10T12:06:54.000Z | from . import create_update_delete # noqa
| 21.5 | 42 | 0.790698 | 6 | 43 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 1 | 43 | 43 | 0.888889 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e97244f932ba9b67c5b0fc4e662cb030ec81aa0 | 45 | py | Python | backend/src/namespaces/word_guessing/__init__.py | didi/MeetDot | a57009d30c1347a9b85950c2e02b77685ce63952 | [
"Apache-2.0"
] | 6 | 2021-09-23T14:53:58.000Z | 2022-02-18T10:14:17.000Z | backend/src/namespaces/word_guessing/__init__.py | didi/MeetDot | a57009d30c1347a9b85950c2e02b77685ce63952 | [
"Apache-2.0"
] | null | null | null | backend/src/namespaces/word_guessing/__init__.py | didi/MeetDot | a57009d30c1347a9b85950c2e02b77685ce63952 | [
"Apache-2.0"
] | 1 | 2021-09-24T02:48:50.000Z | 2021-09-24T02:48:50.000Z | from .namespace import WordGuessingNamespace
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d1e6ee8690025894ba27975b26343d9381ca28c | 9,028 | py | Python | test/test_23_filterproplist.py | growell/svnhook | ceb337c472c5ec470286576a9bfca8f5b8ec424e | [
"Apache-2.0"
] | 1 | 2015-11-23T21:05:19.000Z | 2015-11-23T21:05:19.000Z | test/test_23_filterproplist.py | growell/svnhook | ceb337c472c5ec470286576a9bfca8f5b8ec424e | [
"Apache-2.0"
] | null | null | null | test/test_23_filterproplist.py | growell/svnhook | ceb337c472c5ec470286576a9bfca8f5b8ec424e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
######################################################################
# Test Property List Filter
######################################################################
import os, re, sys, unittest, time
# Prefer local modules.
mylib = os.path.normpath(os.path.join(
os.path.dirname(__fil... | 32.710145 | 71 | 0.53467 | 870 | 9,028 | 5.504598 | 0.188506 | 0.026728 | 0.025057 | 0.035498 | 0.787012 | 0.779077 | 0.777407 | 0.753393 | 0.750887 | 0.750887 | 0 | 0.008582 | 0.328866 | 9,028 | 275 | 72 | 32.829091 | 0.781812 | 0.186309 | 0 | 0.790698 | 0 | 0 | 0.512951 | 0.065959 | 0 | 0 | 0 | 0 | 0.087209 | 1 | 0.046512 | false | 0 | 0.011628 | 0 | 0.063953 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d426cf66cf6e91d7781086d74cef9b5e81500ac | 2,953 | py | Python | tests/test_data/test_accounts.py | TomVollerthun1337/logsmith | f2ecab4dea295d5493a9a3e77a2837b13fa139e5 | [
"Apache-2.0"
] | 19 | 2020-01-18T00:25:43.000Z | 2022-03-14T07:39:08.000Z | tests/test_data/test_accounts.py | TomVollerthun1337/logsmith | f2ecab4dea295d5493a9a3e77a2837b13fa139e5 | [
"Apache-2.0"
] | 85 | 2020-01-21T12:13:56.000Z | 2022-03-31T04:01:03.000Z | tests/test_data/test_accounts.py | TomVollerthun1337/logsmith | f2ecab4dea295d5493a9a3e77a2837b13fa139e5 | [
"Apache-2.0"
] | 2 | 2020-06-25T06:15:19.000Z | 2021-02-15T18:17:38.000Z | def get_test_accounts() -> dict:
return {
'development': {
'color': '#388E3C',
'team': 'awesome-team',
'region': 'us-east-1',
'profiles': [
{
'profile': 'developer',
'account': '123495678901',
... | 24.815126 | 46 | 0.359296 | 173 | 2,953 | 6.028902 | 0.196532 | 0.034516 | 0.057526 | 0.105465 | 0.818792 | 0.778523 | 0.778523 | 0.723873 | 0.616491 | 0.616491 | 0 | 0.111921 | 0.488656 | 2,953 | 118 | 47 | 25.025424 | 0.578808 | 0 | 0 | 0.564815 | 0 | 0 | 0.304436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | true | 0 | 0 | 0.055556 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d4bfc6e4a6c873e24c361e27460145bba389309 | 44 | py | Python | backend/utils/models/fields.py | xingxingzaixian/python-django-online-exam | c504e121814061cbf7647d4d916f363230239f17 | [
"MIT"
] | 47 | 2021-09-23T00:52:49.000Z | 2022-03-27T12:57:28.000Z | backend/utils/models/fields.py | xingxingzaixian/django-vue3.2-online-exam | 1bf29174aee951238ee283df2796f47177e622ec | [
"MIT"
] | null | null | null | backend/utils/models/fields.py | xingxingzaixian/django-vue3.2-online-exam | 1bf29174aee951238ee283df2796f47177e622ec | [
"MIT"
] | 17 | 2021-09-02T12:12:21.000Z | 2022-03-27T10:28:27.000Z | from django.db.models import CharField
| 11 | 39 | 0.75 | 6 | 44 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 44 | 3 | 40 | 14.666667 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d4d9d483307092d41fc6bfa131e156c35f9a745 | 886 | py | Python | sdk/python/test/test_v1alpha3_file_system_path.py | PoornimaDevii/katib | c6fa3a39516351685709ca69a83e687ee181a1c4 | [
"Apache-2.0"
] | null | null | null | sdk/python/test/test_v1alpha3_file_system_path.py | PoornimaDevii/katib | c6fa3a39516351685709ca69a83e687ee181a1c4 | [
"Apache-2.0"
] | null | null | null | sdk/python/test/test_v1alpha3_file_system_path.py | PoornimaDevii/katib | c6fa3a39516351685709ca69a83e687ee181a1c4 | [
"Apache-2.0"
] | 2 | 2020-03-03T06:15:14.000Z | 2020-03-31T05:39:05.000Z | # coding: utf-8
"""
katib
swagger description for katib # noqa: E501
OpenAPI spec version: v0.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import katib
from katib.models.v1alpha3_file_system_path import V1alpha... | 21.609756 | 95 | 0.711061 | 96 | 886 | 6.364583 | 0.604167 | 0.03928 | 0.062193 | 0.075286 | 0.10802 | 0.10802 | 0 | 0 | 0 | 0 | 0 | 0.039886 | 0.207675 | 886 | 40 | 96 | 22.15 | 0.830484 | 0.442438 | 0 | 0.214286 | 1 | 0 | 0.017699 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bc12b84afe97fb4aa2100134b2080ce556bc220f | 19,368 | py | Python | demo.py | Tilix4/cgwire-demo | c30b2c8700692142b6c354a0c39d1187b02f46a5 | [
"MIT"
] | null | null | null | demo.py | Tilix4/cgwire-demo | c30b2c8700692142b6c354a0c39d1187b02f46a5 | [
"MIT"
] | null | null | null | demo.py | Tilix4/cgwire-demo | c30b2c8700692142b6c354a0c39d1187b02f46a5 | [
"MIT"
] | null | null | null | import os
import random
import gazu
gazu.set_host("http://localhost:8080/api")
gazu.log_in("admin@example.com", "mysecretpassword")
persons = [
{
"first_name": "Alicia",
"last_name": "Cooper",
"email": "alicia@cg-wire.com",
"phone": "+33 6 82 38 19 08",
"role... | 41.033898 | 85 | 0.678594 | 2,528 | 19,368 | 4.854826 | 0.079509 | 0.101035 | 0.135664 | 0.171841 | 0.832885 | 0.780412 | 0.760368 | 0.687851 | 0.668133 | 0.661778 | 0 | 0.072485 | 0.200795 | 19,368 | 471 | 86 | 41.121019 | 0.720395 | 0 | 0 | 0.209412 | 0 | 0 | 0.482616 | 0.408107 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002353 | 0.007059 | 0 | 0.007059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc2da4ec594221adcc474eb7bb0e80eb3862ea4f | 3,222 | py | Python | modules/callbacks.py | jeusgao/jobot_factory_nlp_simple | 4e11af5915d86c0c636997e3ee4e12d2a735a0d5 | [
"MIT"
] | null | null | null | modules/callbacks.py | jeusgao/jobot_factory_nlp_simple | 4e11af5915d86c0c636997e3ee4e12d2a735a0d5 | [
"MIT"
] | null | null | null | modules/callbacks.py | jeusgao/jobot_factory_nlp_simple | 4e11af5915d86c0c636997e3ee4e12d2a735a0d5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date : 2021-01-05 14:57:15
# @Author : Joe Gao (jeusgao@163.com)
import os
import json
import time
from backend import keras
class TrainingCallbacks(keras.callbacks.Callback):
def __init__(self, task_path='', log_name='training'):
self.task_path = task... | 34.645161 | 75 | 0.545003 | 461 | 3,222 | 3.631236 | 0.164859 | 0.095579 | 0.129032 | 0.125448 | 0.803465 | 0.784349 | 0.784349 | 0.76583 | 0.76583 | 0.718041 | 0 | 0.007582 | 0.263191 | 3,222 | 92 | 76 | 35.021739 | 0.697557 | 0.111732 | 0 | 0.671429 | 0 | 0 | 0.243868 | 0.13665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.057143 | 0 | 0.228571 | 0.014286 | 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 | 0 | 0 | 0 | 0 | 6 |
bc3ce54113deb0d4dcc6d53e6d2d8a5e4c356d61 | 33 | py | Python | address_parser/__init__.py | lenshin/address | 7a7be1a2b377731b716aaee258e6d16fd52e4a4b | [
"Unlicense"
] | 3 | 2021-06-30T09:13:28.000Z | 2022-01-28T10:51:59.000Z | address_parser/__init__.py | lenshin/address | 7a7be1a2b377731b716aaee258e6d16fd52e4a4b | [
"Unlicense"
] | null | null | null | address_parser/__init__.py | lenshin/address | 7a7be1a2b377731b716aaee258e6d16fd52e4a4b | [
"Unlicense"
] | null | null | null | from .parser import AddressParser | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb0484d6637c42af265ec0e0a5eac3a280cf853b | 5,928 | py | Python | tests/user_test.py | jjinno/pygerduty | 9624b7616a91ccfbaaff2a51bd19da9406c718b4 | [
"MIT"
] | 144 | 2015-01-30T08:49:52.000Z | 2022-02-02T15:06:05.000Z | tests/user_test.py | cugini-dbx/pygerduty | 1982aa4ccb33eb10b98b695056517f7bc5f4dff6 | [
"MIT"
] | 56 | 2015-01-02T20:50:42.000Z | 2020-06-23T18:30:22.000Z | tests/user_test.py | cugini-dbx/pygerduty | 1982aa4ccb33eb10b98b695056517f7bc5f4dff6 | [
"MIT"
] | 67 | 2015-01-13T02:34:42.000Z | 2021-04-19T22:34:08.000Z | from __future__ import absolute_import
import httpretty
import pygerduty
import pygerduty.v2
###################
# Version 1 Tests #
###################
@httpretty.activate
def test_get_user_v1():
body = open('tests/fixtures/user_v1.json').read()
httpretty.register_uri(
httpretty.GET, "https://contos... | 33.874286 | 96 | 0.578441 | 660 | 5,928 | 5.043939 | 0.124242 | 0.068489 | 0.081706 | 0.096125 | 0.832082 | 0.832082 | 0.83088 | 0.809252 | 0.741664 | 0.726645 | 0 | 0.036815 | 0.266869 | 5,928 | 174 | 97 | 34.068966 | 0.729176 | 0.005398 | 0 | 0.605634 | 0 | 0 | 0.307983 | 0.044735 | 0 | 0 | 0 | 0 | 0.140845 | 1 | 0.042254 | false | 0.035211 | 0.028169 | 0 | 0.070423 | 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 | 0 | 0 | 0 | 0 | 6 |
cb2a88efaf80d58716c916da907fb1f7b162fcc7 | 37 | py | Python | jinahub/segmenters/Sentencizer/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | jinahub/segmenters/Sentencizer/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | jinahub/segmenters/Sentencizer/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | from .sentencizer import Sentencizer
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb7c014d9edb133d622ce52a2cec3d961c0babef | 21,370 | py | Python | tests/test_schema.py | ketgo/marshmallow-pyspark | 5e8544458e68a3c8eb5b95a0d147729908cbb994 | [
"Apache-2.0"
] | 7 | 2020-02-10T23:36:28.000Z | 2021-07-21T07:22:33.000Z | tests/test_schema.py | ketgo/marshmallow-pyspark | 5e8544458e68a3c8eb5b95a0d147729908cbb994 | [
"Apache-2.0"
] | 5 | 2020-02-13T20:34:39.000Z | 2021-05-05T16:59:31.000Z | tests/test_schema.py | ketgo/marshmallow-pyspark | 5e8544458e68a3c8eb5b95a0d147729908cbb994 | [
"Apache-2.0"
] | 4 | 2020-09-18T16:19:44.000Z | 2021-05-04T20:56:49.000Z | """
Unit tests for Schema
"""
import datetime
import json
import pytest
from marshmallow import fields
from pyspark.sql.types import *
from pyspark.sql import Row
from marshmallow_pyspark.constants import *
from marshmallow_pyspark.schema import Schema, _RowValidator
def test_create():
schema = Schema()
... | 41.575875 | 115 | 0.546795 | 2,473 | 21,370 | 4.466235 | 0.05459 | 0.127479 | 0.107288 | 0.088366 | 0.88402 | 0.87569 | 0.852331 | 0.82852 | 0.812494 | 0.786781 | 0 | 0.073987 | 0.261909 | 21,370 | 513 | 116 | 41.65692 | 0.62626 | 0.014319 | 0 | 0.622426 | 0 | 0.009153 | 0.304914 | 0.017679 | 0 | 0 | 0 | 0 | 0.04119 | 1 | 0.020595 | false | 0 | 0.018307 | 0 | 0.144165 | 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 | 0 | 0 | 0 | 0 | 6 |
cb8247faddfddf5ac3731369bc36212f53ff9e13 | 46 | py | Python | torchcontrol/plotting/__init__.py | DiffEqML/torchcontrol | 2d53d5fc74255c57a4395165a7279fef4c2db830 | [
"Apache-2.0"
] | 12 | 2020-07-05T05:47:19.000Z | 2022-01-17T06:54:30.000Z | torchcontrol/plotting/__init__.py | DiffEqML/torchcontrol | 2d53d5fc74255c57a4395165a7279fef4c2db830 | [
"Apache-2.0"
] | null | null | null | torchcontrol/plotting/__init__.py | DiffEqML/torchcontrol | 2d53d5fc74255c57a4395165a7279fef4c2db830 | [
"Apache-2.0"
] | 1 | 2021-11-16T15:49:26.000Z | 2021-11-16T15:49:26.000Z | from .cstr import *
from .quadcopter import *
| 15.333333 | 25 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 26 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbc5d51cd1f67de95cc3c7b4b7bb178c6841e8c8 | 73 | py | Python | src/connections/_mqqt.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | null | null | null | src/connections/_mqqt.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | 20 | 2021-12-31T15:28:20.000Z | 2022-02-15T18:24:16.000Z | src/connections/_mqqt.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | null | null | null | from .__interface import IConnection
class Mqqt(IConnection):
pass
| 12.166667 | 36 | 0.767123 | 8 | 73 | 6.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 73 | 5 | 37 | 14.6 | 0.9 | 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 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cbd8c43505b40a995d4a6b8ae20846e5784d4817 | 23 | py | Python | excel_dates/__init__.py | AutoActuary/excel-dates | 39f1a89456e4c99c98a2b956e6188c6e02056cc9 | [
"MIT"
] | 8 | 2021-05-25T08:41:14.000Z | 2022-03-04T00:12:19.000Z | excel_dates/__init__.py | AutoActuary/excel-dates | 39f1a89456e4c99c98a2b956e6188c6e02056cc9 | [
"MIT"
] | 1 | 2021-01-27T09:50:33.000Z | 2021-01-27T09:50:33.000Z | converter/__init__.py | RobertBiehl/CLIP-tf2 | 2103f9a30f95d216707b474bb7aa57db676493bd | [
"MIT"
] | 3 | 2020-03-24T02:49:47.000Z | 2021-02-26T04:05:06.000Z | from .convert import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1daed605ba97920f8721ceaece42e558d3053f1f | 46 | py | Python | election/__init__.py | ideascf/octopus | 3a45e30b1503fcccf6e8afd19016d384236266ff | [
"MIT"
] | 6 | 2016-04-27T03:34:10.000Z | 2017-08-29T02:33:10.000Z | election/__init__.py | ideascf/octopus | 3a45e30b1503fcccf6e8afd19016d384236266ff | [
"MIT"
] | 1 | 2016-04-29T04:07:25.000Z | 2016-07-19T14:02:25.000Z | election/__init__.py | ideascf/octopus | 3a45e30b1503fcccf6e8afd19016d384236266ff | [
"MIT"
] | 2 | 2016-05-26T03:46:42.000Z | 2020-07-13T09:27:44.000Z | # coding=utf-8
from .election import Election
| 15.333333 | 30 | 0.782609 | 7 | 46 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.130435 | 46 | 2 | 31 | 23 | 0.875 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1dbdc9ac7f35984387de3346e969c1d0d249888b | 531 | py | Python | pydeap/feature_extraction/__init__.py | Wlgls/pyDEAP | b7cec369cedd4a69ea82bc49a2fb8376260e4ad2 | [
"Apache-2.0"
] | null | null | null | pydeap/feature_extraction/__init__.py | Wlgls/pyDEAP | b7cec369cedd4a69ea82bc49a2fb8376260e4ad2 | [
"Apache-2.0"
] | null | null | null | pydeap/feature_extraction/__init__.py | Wlgls/pyDEAP | b7cec369cedd4a69ea82bc49a2fb8376260e4ad2 | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
'''
@File :__init__.py
@Time :2021/03/28 19:18:16
@Author :wlgls
@Version :1.0
'''
from ._time_domain_features import statistics
from ._time_domain_features import hjorth
from ._time_domain_features import higher_order_crossing
from ._time_domain_features import sevcik_... | 29.5 | 62 | 0.792844 | 73 | 531 | 5.287671 | 0.493151 | 0.290155 | 0.362694 | 0.284974 | 0.533679 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037118 | 0.137476 | 531 | 18 | 63 | 29.5 | 0.805677 | 0.229755 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1dd5a863ded9f94c8ac8a8e30f143e1e098b8c3c | 25 | py | Python | mre/helper/__init__.py | CherryKitten/mre | f46d20a3ec682c5a3d8a5af0b9bc17f24593cbc5 | [
"MIT"
] | null | null | null | mre/helper/__init__.py | CherryKitten/mre | f46d20a3ec682c5a3d8a5af0b9bc17f24593cbc5 | [
"MIT"
] | null | null | null | mre/helper/__init__.py | CherryKitten/mre | f46d20a3ec682c5a3d8a5af0b9bc17f24593cbc5 | [
"MIT"
] | null | null | null | from .Range import Range
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1df69ec0b12e94624dea3671fcd9f46ede587bae | 23,431 | py | Python | tests/unit/test_gherkin_formatter.py | radish-bdd/radish2 | 4ea71291aac8700ec2b284b7f2bbf79bf2970324 | [
"MIT"
] | null | null | null | tests/unit/test_gherkin_formatter.py | radish-bdd/radish2 | 4ea71291aac8700ec2b284b7f2bbf79bf2970324 | [
"MIT"
] | null | null | null | tests/unit/test_gherkin_formatter.py | radish-bdd/radish2 | 4ea71291aac8700ec2b284b7f2bbf79bf2970324 | [
"MIT"
] | null | null | null | """
radish
~~~~~~
The root from red to green. BDD tooling for Python.
:copyright: (c) 2019 by Timo Furrer <tuxtimo@gmail.com>
:license: MIT, see LICENSE for more details.
"""
import re
import textwrap
import datetime
import colorful as cf
import pytest
from radish.formatters.gherkin import (
write_feature_foot... | 26.99424 | 97 | 0.647433 | 2,704 | 23,431 | 5.402367 | 0.072855 | 0.050315 | 0.063732 | 0.024918 | 0.825849 | 0.795181 | 0.754107 | 0.72741 | 0.711528 | 0.697563 | 0 | 0.001997 | 0.252102 | 23,431 | 867 | 98 | 27.025375 | 0.831602 | 0.142333 | 0 | 0.673387 | 0 | 0 | 0.085964 | 0.005839 | 0 | 0 | 0 | 0 | 0.056452 | 1 | 0.058468 | false | 0.012097 | 0.014113 | 0 | 0.074597 | 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 | 0 | 0 | 0 | 0 | 6 |
69b34c84c1d72db3edc371a62bbd114a424ff2dc | 92 | py | Python | html_email/__init__.py | classroomtechtools/moodle_daily_notices | 369ebe827f9c1a0aee37071b425cf3e9a09bda5c | [
"MIT"
] | null | null | null | html_email/__init__.py | classroomtechtools/moodle_daily_notices | 369ebe827f9c1a0aee37071b425cf3e9a09bda5c | [
"MIT"
] | null | null | null | html_email/__init__.py | classroomtechtools/moodle_daily_notices | 369ebe827f9c1a0aee37071b425cf3e9a09bda5c | [
"MIT"
] | null | null | null | from html_email.Email import Email, read_in_templates
__all__ = [Email, read_in_templates]
| 23 | 53 | 0.826087 | 14 | 92 | 4.785714 | 0.571429 | 0.268657 | 0.328358 | 0.597015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 92 | 3 | 54 | 30.666667 | 0.817073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0e124837dd8e2aa1f280cde521be84037620bee3 | 5,541 | py | Python | admin/modelos/galerias_db.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | admin/modelos/galerias_db.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | admin/modelos/galerias_db.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
try:
from modulos.ztec.zdb import DB
except:
from zdb import DB
db=DB()
db.load=True
db('Galerias').campo('Nombre',db.str,False,True,False,False,0,-1,None,None)
db('Galerias').campo('Contenido',db.list,False,True,False,False,0,-1,None,None)
db('Galerias').campo('args',db.dict,False,True,False,... | 291.631579 | 1,172 | 0.581844 | 754 | 5,541 | 4.275862 | 0.128647 | 0.099876 | 0.167494 | 0.192618 | 0.83995 | 0.763648 | 0.725806 | 0.620968 | 0.609181 | 0.449442 | 0 | 0.05228 | 0.109367 | 5,541 | 18 | 1,173 | 307.833333 | 0.601013 | 0.00379 | 0 | 0 | 0 | 0 | 0.524465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3850f2774ac7730d7a946d0993a168efad43110a | 4,694 | py | Python | storage/app/public/calculator_Iot_tx.py | kevinkuogod/ethereum_BIS_web | 88eca7af2af9bb61194702114be49921c0be91ef | [
"MIT"
] | null | null | null | storage/app/public/calculator_Iot_tx.py | kevinkuogod/ethereum_BIS_web | 88eca7af2af9bb61194702114be49921c0be91ef | [
"MIT"
] | null | null | null | storage/app/public/calculator_Iot_tx.py | kevinkuogod/ethereum_BIS_web | 88eca7af2af9bb61194702114be49921c0be91ef | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
# T=100
# n=1
# # n=5
# # n=10
# Tx = []
# plt.figure(figsize=(10, 4), dpi=500) # 图片长宽和清晰度
# for i in range(int(T/n)):
# Tx.append(i)
# ldr_gas_total = []
# ldr_field=1
# camera_gas_total = []
# camera_field=2
# smart_contract_basic_cost = 21784
# for i in range... | 29.3375 | 146 | 0.656583 | 770 | 4,694 | 3.794805 | 0.150649 | 0.087611 | 0.086242 | 0.127995 | 0.925051 | 0.925051 | 0.917522 | 0.892197 | 0.859001 | 0.859001 | 0 | 0.076923 | 0.119301 | 4,694 | 160 | 147 | 29.3375 | 0.629898 | 0.746698 | 0 | 0.068966 | 0 | 0 | 0.07197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.068966 | 0.034483 | 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 | 0 | 0 | 0 | 0 | 6 |
385c19498c58628571e89747bb8cb02bf3075134 | 1,764 | py | Python | test/composite/test_softmax.py | Whadup/pytorch_scatter | f0f2568cbbfd463afe42941b93d1854daf8cc60f | [
"MIT"
] | null | null | null | test/composite/test_softmax.py | Whadup/pytorch_scatter | f0f2568cbbfd463afe42941b93d1854daf8cc60f | [
"MIT"
] | null | null | null | test/composite/test_softmax.py | Whadup/pytorch_scatter | f0f2568cbbfd463afe42941b93d1854daf8cc60f | [
"MIT"
] | null | null | null | from itertools import product
import pytest
import torch
from torch_scatter.composite import scatter_log_softmax, scatter_softmax
from test.utils import devices, tensor, grad_dtypes
@pytest.mark.parametrize('dtype,device', product(grad_dtypes, devices))
def test_softmax(dtype, device):
src = tensor([0.2, 0, 0.2... | 36.75 | 79 | 0.621315 | 280 | 1,764 | 3.853571 | 0.15 | 0.018536 | 0.133457 | 0.1038 | 0.852641 | 0.811863 | 0.807229 | 0.797034 | 0.797034 | 0.797034 | 0 | 0.076762 | 0.187642 | 1,764 | 47 | 80 | 37.531915 | 0.676204 | 0 | 0 | 0.484848 | 0 | 0 | 0.022676 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 1 | 0.060606 | false | 0 | 0.151515 | 0 | 0.212121 | 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 | 0 | 0 | 0 | 0 | 6 |
3888771b493486a7dc1c0fe6d187f1da94936c54 | 96 | py | Python | tests/conftest.py | mikedingjan/python-param-store | d451fdda594ab6f40094ba13196ec4ea6718f89a | [
"MIT"
] | 10 | 2017-04-19T19:07:24.000Z | 2018-05-05T17:10:41.000Z | tests/conftest.py | mikedingjan/python-param-store | d451fdda594ab6f40094ba13196ec4ea6718f89a | [
"MIT"
] | 5 | 2017-04-24T10:22:56.000Z | 2018-05-13T11:38:41.000Z | tests/conftest.py | mikedingjan/python-param-store | d451fdda594ab6f40094ba13196ec4ea6718f89a | [
"MIT"
] | 2 | 2020-06-24T14:50:56.000Z | 2021-04-21T14:02:37.000Z | import boto3
def pytest_configure():
boto3.setup_default_session(region_name="eu-west-1")
| 16 | 56 | 0.770833 | 14 | 96 | 5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.114583 | 96 | 5 | 57 | 19.2 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 0 | 6 |
388df7a923684c5ad2668c29b72665002cab46a1 | 622 | py | Python | utils/compute_stock_features.py | nivilo/Chase | 921e4b0bf2ca2cbd1a315156287f2af0e8a19c6c | [
"MIT"
] | 68 | 2018-07-23T03:49:17.000Z | 2022-01-11T04:56:32.000Z | utils/compute_stock_features.py | mpalaiokostas/Chase | 921e4b0bf2ca2cbd1a315156287f2af0e8a19c6c | [
"MIT"
] | null | null | null | utils/compute_stock_features.py | mpalaiokostas/Chase | 921e4b0bf2ca2cbd1a315156287f2af0e8a19c6c | [
"MIT"
] | 30 | 2018-07-24T20:35:20.000Z | 2021-11-23T00:56:07.000Z | import pandas as pd
SMA_ROLLING_WINDOW = 5
EMA_ALPHA = 0.5
def sma(data: pd.DataFrame, feature):
return data[feature].rolling(SMA_ROLLING_WINDOW).mean()
def daily_returns(data, feature):
return data[feature]/data[feature].shift() - 1
def min_bollinger_band(data: pd.DataFrame, feature):
return data[fe... | 24.88 | 85 | 0.731511 | 92 | 622 | 4.782609 | 0.304348 | 0.225 | 0.193182 | 0.272727 | 0.679545 | 0.679545 | 0.679545 | 0.590909 | 0.590909 | 0.590909 | 0 | 0.01107 | 0.128617 | 622 | 24 | 86 | 25.916667 | 0.800738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.076923 | 0.384615 | 0.846154 | 0 | 0 | 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 | 6 |
388e27dddc4c2c8177b57f29b91c9a2046a16c4d | 98 | py | Python | advertise/forms/__init__.py | sadagatasgarov1/sahibinden | 76b16c64551d37b055f80b82808736f107afb92c | [
"MIT"
] | 2 | 2020-08-13T19:50:43.000Z | 2021-01-16T17:15:43.000Z | advertise/forms/__init__.py | sadagatasgarov1/sahibinden | 76b16c64551d37b055f80b82808736f107afb92c | [
"MIT"
] | 5 | 2021-04-08T21:50:04.000Z | 2022-02-10T12:34:46.000Z | advertise/forms/__init__.py | ozanteoman/sahibinden | 76b16c64551d37b055f80b82808736f107afb92c | [
"MIT"
] | 3 | 2020-09-26T13:17:06.000Z | 2022-01-26T20:02:56.000Z | from advertise.forms.auth import CustomSignupForm
from advertise.forms.user import UpdateUserForm
| 32.666667 | 49 | 0.877551 | 12 | 98 | 7.166667 | 0.666667 | 0.302326 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 2 | 50 | 49 | 0.955556 | 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 | 0 | 0 | 0 | 6 |
2a5273019a5f7179c9bd505b46a690de68f3bd3e | 156 | py | Python | tftk/optuna/__init__.py | kitfactory/tftk | 5cae0a96b99eecb6f64922068c162f973eebba71 | [
"MIT"
] | 6 | 2020-03-09T00:18:08.000Z | 2021-11-08T09:27:19.000Z | tftk/optuna/__init__.py | kitfactory/tftk | 5cae0a96b99eecb6f64922068c162f973eebba71 | [
"MIT"
] | 2 | 2022-02-10T07:34:22.000Z | 2022-03-12T01:10:05.000Z | tftk/optuna/__init__.py | kitfactory/tftk | 5cae0a96b99eecb6f64922068c162f973eebba71 | [
"MIT"
] | null | null | null | import optuna
from . optuna_util import Optuna
from . mongo import get_storage_mongo
__all__ = ['Optuna']
optuna.storages.get_storage = get_storage_mongo
| 19.5 | 47 | 0.807692 | 22 | 156 | 5.272727 | 0.409091 | 0.258621 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 156 | 7 | 48 | 22.285714 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a5dd00f8dc0b448ad2f9471ccc5cc957b4b8080 | 5,272 | py | Python | src/einsteinpy/coordinates/utils.py | Bhavam/einsteinpy | 4df5a19e51da5aabff19c50e231d6f8b83e3d5a7 | [
"MIT"
] | null | null | null | src/einsteinpy/coordinates/utils.py | Bhavam/einsteinpy | 4df5a19e51da5aabff19c50e231d6f8b83e3d5a7 | [
"MIT"
] | null | null | null | src/einsteinpy/coordinates/utils.py | Bhavam/einsteinpy | 4df5a19e51da5aabff19c50e231d6f8b83e3d5a7 | [
"MIT"
] | null | null | null | import numpy as np
from ..ijit import jit
def cartesian_to_spherical_fast(
x, y, z, v_x=None, v_y=None, v_z=None, velocities_provided=False
):
if velocities_provided:
return cartesian_to_spherical(x, y, z, v_x, v_y, v_z)
return cartesian_to_spherical_novel(x, y, z)
@jit
def cartesian_to_spheric... | 29.127072 | 81 | 0.552921 | 956 | 5,272 | 2.880753 | 0.066946 | 0.047204 | 0.034858 | 0.066812 | 0.921932 | 0.901235 | 0.878359 | 0.812636 | 0.752723 | 0.711692 | 0 | 0.015625 | 0.283763 | 5,272 | 180 | 82 | 29.288889 | 0.713718 | 0.205804 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10084 | false | 0 | 0.016807 | 0 | 0.252101 | 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 | 0 | 0 | 0 | 0 | 6 |
2a919f4c8b8289ed8e7a3e8ebce89dda09cdb009 | 37 | py | Python | Scenes/__init__.py | OrIOg/TronRacerTest | 749b06c3782974a4440264d077dd55fedc73cc31 | [
"MIT"
] | null | null | null | Scenes/__init__.py | OrIOg/TronRacerTest | 749b06c3782974a4440264d077dd55fedc73cc31 | [
"MIT"
] | null | null | null | Scenes/__init__.py | OrIOg/TronRacerTest | 749b06c3782974a4440264d077dd55fedc73cc31 | [
"MIT"
] | null | null | null | from Scenes.Game import Scene as Game | 37 | 37 | 0.837838 | 7 | 37 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a95732b0a3aac9fb4bca685d752cf69c07ecbc5 | 11,371 | py | Python | pyefun/networkUtil.py | nobodxbodon/pyefun | a713e499ed0f1678c836a68320616423e6f59c1e | [
"Apache-2.0"
] | 1 | 2021-08-23T07:48:17.000Z | 2021-08-23T07:48:17.000Z | pyefun/networkUtil.py | 1431241631/pyefun | ac2290d4bcc8de16c195d2782f3eacd26e5e6ed4 | [
"Apache-2.0"
] | null | null | null | pyefun/networkUtil.py | 1431241631/pyefun | ac2290d4bcc8de16c195d2782f3eacd26e5e6ed4 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
import sys
import requests
from .public import *
from requests.adapters import HTTPAdapter
@异常处理返回类型逻辑型
def 网页_取外网IP(返回地区=False):
'如果设置返回地区则返回两个参数,ip,地区'
header = {"User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/... | 32.121469 | 157 | 0.471902 | 1,349 | 11,371 | 3.935508 | 0.161601 | 0.013562 | 0.018836 | 0.022603 | 0.7864 | 0.774157 | 0.766623 | 0.743643 | 0.7233 | 0.709738 | 0 | 0.024753 | 0.367602 | 11,371 | 353 | 158 | 32.212465 | 0.711584 | 0.113095 | 0 | 0.766423 | 0 | 0.014599 | 0.124045 | 0.012565 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021898 | false | 0.018248 | 0.014599 | 0 | 0.083942 | 0.00365 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa58517fd48854ef672a07a7187517068f62b3a1 | 80 | py | Python | fft_conv_pytorch/__init__.py | alexhagen/fft-conv-pytorch | 970c11e459a698166412d20dc3cf341a671f3dc9 | [
"MIT"
] | null | null | null | fft_conv_pytorch/__init__.py | alexhagen/fft-conv-pytorch | 970c11e459a698166412d20dc3cf341a671f3dc9 | [
"MIT"
] | null | null | null | fft_conv_pytorch/__init__.py | alexhagen/fft-conv-pytorch | 970c11e459a698166412d20dc3cf341a671f3dc9 | [
"MIT"
] | 1 | 2022-01-17T09:49:45.000Z | 2022-01-17T09:49:45.000Z | from fft_conv_pytorch.fft_conv import FFTConv1d, FFTConv2d, FFTConv3d, fft_conv
| 40 | 79 | 0.8625 | 12 | 80 | 5.416667 | 0.666667 | 0.323077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.0875 | 80 | 1 | 80 | 80 | 0.849315 | 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 | 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 | 6 |
2ae71f3539c40dabb9319199b9db9d769cbbe39d | 29 | py | Python | sodium/yolo/__init__.py | Keerthi001/PySodium | 761598d8a129ce95a42404898b7f16ddcae568d9 | [
"MIT"
] | 3 | 2020-04-04T20:22:15.000Z | 2021-02-11T13:13:14.000Z | sodium/yolo/__init__.py | Keerthi001/PySodium | 761598d8a129ce95a42404898b7f16ddcae568d9 | [
"MIT"
] | 1 | 2020-07-01T14:14:50.000Z | 2020-07-01T16:04:13.000Z | sodium/yolo/__init__.py | Keerthi001/PySodium | 761598d8a129ce95a42404898b7f16ddcae568d9 | [
"MIT"
] | null | null | null | from .yolo import YoloOpenCV
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2af089c86357cc7243ffe720ba894495b0244ce7 | 31,494 | py | Python | cohesity_management_sdk/controllers/remote_restore_controller.py | nick6655/management-sdk-python | 88e792cb83e5c24a22af495b220c145d0c45841d | [
"Apache-2.0"
] | 18 | 2019-09-24T17:35:53.000Z | 2022-03-25T08:08:47.000Z | cohesity_management_sdk/controllers/remote_restore_controller.py | nick6655/management-sdk-python | 88e792cb83e5c24a22af495b220c145d0c45841d | [
"Apache-2.0"
] | 18 | 2019-03-29T19:32:29.000Z | 2022-01-03T23:16:45.000Z | cohesity_management_sdk/controllers/remote_restore_controller.py | nick6655/management-sdk-python | 88e792cb83e5c24a22af495b220c145d0c45841d | [
"Apache-2.0"
] | 16 | 2019-02-27T06:54:12.000Z | 2021-11-16T18:10:24.000Z | # -*- coding: utf-8 -*-
# Copyright 2021 Cohesity Inc.
import logging
from cohesity_management_sdk.api_helper import APIHelper
from cohesity_management_sdk.configuration import Configuration
from cohesity_management_sdk.controllers.base_controller import BaseController
from cohesity_management_sdk.http.auth.auth_manag... | 41.936085 | 110 | 0.622087 | 3,345 | 31,494 | 5.620927 | 0.083408 | 0.040368 | 0.041698 | 0.040421 | 0.814966 | 0.779917 | 0.75476 | 0.722583 | 0.704978 | 0.687321 | 0 | 0.000936 | 0.321553 | 31,494 | 750 | 111 | 41.992 | 0.879019 | 0.317648 | 0 | 0.61828 | 0 | 0 | 0.21793 | 0.1242 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02957 | false | 0 | 0.032258 | 0 | 0.086022 | 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 | 0 | 0 | 0 | 0 | 6 |
63012d9d7ffc89a46e5bece1b05ef2e9352e629f | 517 | py | Python | aikit/datasets/__init__.py | gfournier/aikit | 23257f365a4f387cbb86f0ed3994b696a81b57c6 | [
"BSD-2-Clause"
] | 23 | 2018-09-14T07:29:21.000Z | 2021-07-08T19:48:23.000Z | aikit/datasets/__init__.py | gfournier/aikit | 23257f365a4f387cbb86f0ed3994b696a81b57c6 | [
"BSD-2-Clause"
] | 40 | 2019-05-28T09:17:25.000Z | 2022-01-31T15:53:36.000Z | aikit/datasets/__init__.py | gfournier/aikit | 23257f365a4f387cbb86f0ed3994b696a81b57c6 | [
"BSD-2-Clause"
] | 11 | 2018-11-21T09:38:45.000Z | 2020-09-25T10:24:54.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri May 4 13:33:07 2018
@author: Lionel Massoulard
"""
from .datasets import (
DatasetEnum,
load_dataset,
load_titanic,
load_imdb,
load_electricity,
load_housing,
load_quora,
load_abalone,
load_pokemon,
load_wikinews,
)
__all__ = [
... | 15.205882 | 35 | 0.62089 | 57 | 517 | 5.245614 | 0.526316 | 0.100334 | 0.147157 | 0.173913 | 0.735786 | 0.735786 | 0.735786 | 0.735786 | 0.735786 | 0.735786 | 0 | 0.031088 | 0.253385 | 517 | 33 | 36 | 15.666667 | 0.743523 | 0.166344 | 0 | 0 | 0 | 0 | 0.281324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2daae5ab1df6f4e7f838e69850a3f425ff3230fb | 223 | py | Python | Supermicro/benchmarks/bert/implementations/pytorch_SYS-420GP-TNAR/unit_test/test_main.py | gglin001/training_results_v1.1 | 58fd4103f0f465bda6eb56a06a74b7bbccbbcf24 | [
"Apache-2.0"
] | 27 | 2021-07-01T00:34:52.000Z | 2022-03-29T08:49:53.000Z | Supermicro/benchmarks/bert/implementations/pytorch_SYS-420GP-TNAR/unit_test/test_main.py | gglin001/training_results_v1.1 | 58fd4103f0f465bda6eb56a06a74b7bbccbbcf24 | [
"Apache-2.0"
] | 21 | 2021-08-31T08:34:50.000Z | 2022-03-17T11:42:10.000Z | Supermicro/benchmarks/bert/implementations/pytorch_SYS-420GP-TNAR/unit_test/test_main.py | gglin001/training_results_v1.1 | 58fd4103f0f465bda6eb56a06a74b7bbccbbcf24 | [
"Apache-2.0"
] | 39 | 2021-07-02T00:46:14.000Z | 2022-03-13T16:59:55.000Z | # NVIDIA
import unittest
from test_bert_batch_1 import *
#from test_bert_batch_7 import *
from test_embeddings_batch_1 import *
from test_encoders_batch_1 import *
if __name__ == '__main__':
unittest.main(verbosity=2)
| 18.583333 | 37 | 0.798206 | 34 | 223 | 4.647059 | 0.470588 | 0.202532 | 0.227848 | 0.21519 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025907 | 0.134529 | 223 | 11 | 38 | 20.272727 | 0.792746 | 0.165919 | 0 | 0 | 0 | 0 | 0.043716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2dc2853eb5214f75834b7763be6b38f0c319f6ca | 217 | py | Python | python/fate_arch/common/__init__.py | QuantumA/FATE | 89a3dd593252128c1bf86fb1014b25a629bdb31a | [
"Apache-2.0"
] | 715 | 2019-01-24T10:52:03.000Z | 2019-10-31T12:19:22.000Z | python/fate_arch/common/__init__.py | JavaGreenHands/FATE | ea1e94b6be50c70c354d1861093187e523af32f2 | [
"Apache-2.0"
] | 270 | 2019-02-11T02:57:36.000Z | 2019-08-29T11:22:33.000Z | python/fate_arch/common/__init__.py | JavaGreenHands/FATE | ea1e94b6be50c70c354d1861093187e523af32f2 | [
"Apache-2.0"
] | 200 | 2019-01-26T14:21:35.000Z | 2019-11-01T01:14:36.000Z | from fate_arch.common._types import FederatedMode, FederatedCommunicationType, EngineType, CoordinationProxyService, \
CoordinationCommunicationProtocol
from fate_arch.common._types import BaseType, Party, DTable
| 54.25 | 118 | 0.861751 | 20 | 217 | 9.15 | 0.7 | 0.087432 | 0.131148 | 0.196721 | 0.31694 | 0.31694 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087558 | 217 | 3 | 119 | 72.333333 | 0.924242 | 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 | 0 | 0 | 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 | 6 |
fa99c099edbfc664ecbcce50c462510b57bdfea2 | 192 | py | Python | fem/gui/vtk_widget/vtk_graphics/pipelines/visible/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | 1 | 2019-08-03T21:40:26.000Z | 2019-08-03T21:40:26.000Z | fem/gui/vtk_widget/vtk_graphics/pipelines/visible/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | null | null | null | fem/gui/vtk_widget/vtk_graphics/pipelines/visible/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | null | null | null | from __future__ import print_function, absolute_import
from .visible_filter import VisibleFilter
from .visible_pipeline import VisiblePipeline
from .visible_selection import VisibleSelection
| 32 | 54 | 0.885417 | 22 | 192 | 7.318182 | 0.590909 | 0.204969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 192 | 5 | 55 | 38.4 | 0.925287 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fab4048b4db41cef124e46b125883a16821a8958 | 22 | py | Python | tests/test_apps/helloworld/wsgi.py | fphonor/flask | d8bf589d4835ab03daee3101a91c80ee648e72b6 | [
"BSD-3-Clause"
] | 52 | 2015-07-19T08:14:23.000Z | 2022-01-06T08:43:04.000Z | tests/test_apps/helloworld/wsgi.py | Bilingyun/flask | dcc02d6e7d4bf486e64aa5b6e55a75501c2ba2e5 | [
"BSD-3-Clause"
] | 34 | 2018-05-22T07:19:40.000Z | 2022-03-11T23:21:03.000Z | tests/test_apps/helloworld/wsgi.py | Bilingyun/flask | dcc02d6e7d4bf486e64aa5b6e55a75501c2ba2e5 | [
"BSD-3-Clause"
] | 61 | 2015-04-22T02:52:31.000Z | 2021-04-06T11:08:18.000Z | from hello import app
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fabdb2607a5c2ba1f0e50ab2d973b3588e610df0 | 151 | py | Python | Arithmatic/sub/Subtraction.py | MuditMaurya/Calculator | 765cc39300cc98aeb7cec3e9cb916814fad0965d | [
"MIT"
] | 1 | 2019-01-29T19:33:03.000Z | 2019-01-29T19:33:03.000Z | Arithmatic/sub/Subtraction.py | MuditMaurya/Calculator | 765cc39300cc98aeb7cec3e9cb916814fad0965d | [
"MIT"
] | null | null | null | Arithmatic/sub/Subtraction.py | MuditMaurya/Calculator | 765cc39300cc98aeb7cec3e9cb916814fad0965d | [
"MIT"
] | 2 | 2019-01-10T17:40:05.000Z | 2019-02-13T20:56:15.000Z | class Subtract:
def __init__(self,fnum,snum):
self.fnum=fnum
self.snum=snum
def allSub(self):
self.sub=self.fnum-self.snum
return self.sub | 18.875 | 30 | 0.721854 | 25 | 151 | 4.2 | 0.4 | 0.228571 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152318 | 151 | 8 | 31 | 18.875 | 0.820313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fad9ebb27f803a6d004f7007e5c4b4066df2a6da | 5,348 | py | Python | src/test_results_parsing/test_cutest_parser.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null | src/test_results_parsing/test_cutest_parser.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null | src/test_results_parsing/test_cutest_parser.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null | import unittest
from test_results_parsing.parser_cutest import CuTestParser, FailedCuTest
from typing import List
from . import *
class TestCutestParser(unittest.TestCase):
def setUp(self) -> None:
return super().setUp()
def test_parse_string_with_colon(self) -> None:
# Arrange
self._... | 33.425 | 133 | 0.658751 | 586 | 5,348 | 5.721843 | 0.131399 | 0.11691 | 0.041754 | 0.050999 | 0.811214 | 0.788249 | 0.788249 | 0.788249 | 0.721742 | 0.721742 | 0 | 0.034974 | 0.251496 | 5,348 | 160 | 134 | 33.425 | 0.802648 | 0.031975 | 0 | 0.58427 | 0 | 0.067416 | 0.161553 | 0.073786 | 0 | 0 | 0 | 0 | 0.280899 | 1 | 0.11236 | false | 0 | 0.044944 | 0.011236 | 0.179775 | 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 | 0 | 0 | 0 | 0 | 6 |
faf12fea46e20d0f69e8c99403c6e82a6c15eacb | 10,003 | py | Python | py/lukai/proto/github/com/luk_ai/lukai/protobuf/aggregatorpb/aggregator_pb2_grpc.py | d4l3k/lukai | d9bce91a98367cb4daa8d99421885aa2816499ad | [
"MIT"
] | 23 | 2017-09-11T21:04:47.000Z | 2022-03-22T14:36:19.000Z | py/lukai/proto/github/com/luk_ai/lukai/protobuf/aggregatorpb/aggregator_pb2_grpc.py | d4l3k/lukai | d9bce91a98367cb4daa8d99421885aa2816499ad | [
"MIT"
] | 10 | 2019-12-16T20:59:48.000Z | 2022-02-09T23:44:30.000Z | py/lukai/proto/github/com/luk_ai/lukai/protobuf/aggregatorpb/aggregator_pb2_grpc.py | d4l3k/lukai | d9bce91a98367cb4daa8d99421885aa2816499ad | [
"MIT"
] | 4 | 2018-05-31T20:29:22.000Z | 2019-03-15T02:45:14.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from github.com.luk_ai.lukai.protobuf.aggregatorpb import aggregator_pb2 as github_dot_com_dot_luk__ai_dot_lukai_dot_protobuf_dot_aggregatorpb_dot_aggregator__pb2
class AggregatorStub(object):
# missing associated documentation comme... | 51.561856 | 163 | 0.806558 | 1,172 | 10,003 | 6.323379 | 0.116894 | 0.022939 | 0.053434 | 0.066793 | 0.795979 | 0.76373 | 0.76373 | 0.72244 | 0.715423 | 0.695183 | 0 | 0.003918 | 0.13246 | 10,003 | 193 | 164 | 51.829016 | 0.850081 | 0.095171 | 0 | 0.328467 | 1 | 0 | 0.082709 | 0.03096 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087591 | false | 0.036496 | 0.014599 | 0 | 0.131387 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 6 |
877e10a05c5c462ca69b0d02b7f9cf26f885a4f5 | 7,775 | py | Python | lib/amqp/amqpadapter.py | Juniper/YAPT | b1a54998867c70352001415d5e4b70408480dab9 | [
"BSD-3-Clause"
] | 33 | 2018-05-17T04:16:56.000Z | 2021-11-25T21:21:02.000Z | lib/amqp/amqpadapter.py | Juniper/YAPT | b1a54998867c70352001415d5e4b70408480dab9 | [
"BSD-3-Clause"
] | 4 | 2021-01-10T20:45:31.000Z | 2021-09-23T23:21:16.000Z | lib/amqp/amqpadapter.py | Juniper/YAPT | b1a54998867c70352001415d5e4b70408480dab9 | [
"BSD-3-Clause"
] | 8 | 2018-09-19T12:18:54.000Z | 2021-01-10T03:49:10.000Z | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
# Copyright (c) 2018 Juniper Networks, Inc.
# All rights reserved.
# Use is subject to license terms.
#
# Author: cklewar
import abc
import sys
import threading
import pika
from pika import exceptions
from lib.logmsg import LogAmqp as logmsg
import lib.c... | 40.494792 | 120 | 0.564373 | 779 | 7,775 | 5.394095 | 0.175867 | 0.049976 | 0.036411 | 0.021656 | 0.785816 | 0.784864 | 0.749405 | 0.723227 | 0.674203 | 0.654688 | 0 | 0.002955 | 0.347138 | 7,775 | 191 | 121 | 40.706806 | 0.824862 | 0.022122 | 0 | 0.661538 | 0 | 0 | 0.003299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.076923 | 0.061538 | null | null | 0.023077 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
879dc21c23d2305702d1cfadd3e7cefa7ad52d1a | 88 | py | Python | base_plugin_manager/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | base_plugin_manager/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | base_plugin_manager/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | from .plugin_manager_plugin import PluginManagerPlugin
from . import plugin_manager_api
| 29.333333 | 54 | 0.886364 | 11 | 88 | 6.727273 | 0.545455 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 55 | 44 | 0.925 | 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 | 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 | 6 |
87a6d6895ddd7814b8372a69e405f467baa77b03 | 148 | py | Python | tests/test_contrib_debug_toolbar_flask.py | proofit404/userstories | aebfc088c8b7aab80a227e48e29be638411ffd86 | [
"BSD-2-Clause"
] | 187 | 2018-06-13T09:13:32.000Z | 2020-05-28T05:02:23.000Z | tests/test_contrib_debug_toolbar_flask.py | supadrupa/stories | 3f1de66eae1216888eb5a7d2951013b8bbb4da25 | [
"BSD-2-Clause"
] | 426 | 2018-04-02T14:12:31.000Z | 2021-12-14T05:13:45.000Z | tests/test_contrib_debug_toolbar_flask.py | proofit404/userstories | aebfc088c8b7aab80a227e48e29be638411ffd86 | [
"BSD-2-Clause"
] | 15 | 2018-11-03T09:03:38.000Z | 2020-05-10T17:16:47.000Z | import pytest
@pytest.mark.xfail
def test_contrib_is_available():
from stories.contrib.debug_toolbars.flask import StoriesPanel # noqa: F401
| 21.142857 | 79 | 0.797297 | 20 | 148 | 5.7 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.128378 | 148 | 6 | 80 | 24.666667 | 0.860465 | 0.067568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.