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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2a96b605630a5e4d56fbbd6a6840963b201cc254 | 4,145 | py | Python | mit-ml/netflix/main.py | stepinski/machinelearning | 1f84883a25616da4cd76bb4655267efd3421e561 | [
"MIT"
] | null | null | null | mit-ml/netflix/main.py | stepinski/machinelearning | 1f84883a25616da4cd76bb4655267efd3421e561 | [
"MIT"
] | null | null | null | mit-ml/netflix/main.py | stepinski/machinelearning | 1f84883a25616da4cd76bb4655267efd3421e561 | [
"MIT"
] | null | null | null | import numpy as np
import kmeans
import common
import naive_em
import em
X = np.loadtxt("toy_data.txt")
# TODO: Your code here
# for K in [1,2,3,4]:
# for seed in [0,1,2,3,4]:
# mixture,post=common.init(X, K, seed)
# mixture, post, cost=kmeans.run(X,mixture,post)
# common.plot(X,mixture... | 34.831933 | 86 | 0.60579 | 666 | 4,145 | 3.761261 | 0.222222 | 0.074651 | 0.054291 | 0.027944 | 0.72016 | 0.710579 | 0.672255 | 0.648303 | 0.636727 | 0.628343 | 0 | 0.354081 | 0.178287 | 4,145 | 119 | 87 | 34.831933 | 0.381386 | 0.845356 | 0 | 0 | 0 | 0 | 0.02537 | 0 | 0 | 0 | 0 | 0.008403 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
aa4eb656fc430499c3aca091d1149bf9c8b8fb60 | 85 | py | Python | watson/__main__.py | hiiwave/Watson | 297fd7f2561180ebb20e615be87c89e7d3b597e7 | [
"MIT"
] | 1 | 2020-12-30T00:17:51.000Z | 2020-12-30T00:17:51.000Z | watson/__main__.py | hiiwave/Watson | 297fd7f2561180ebb20e615be87c89e7d3b597e7 | [
"MIT"
] | 1 | 2018-06-15T11:01:24.000Z | 2018-06-15T11:01:24.000Z | watson/__main__.py | hiiwave/Watson | 297fd7f2561180ebb20e615be87c89e7d3b597e7 | [
"MIT"
] | 2 | 2018-06-13T13:46:51.000Z | 2019-04-19T16:38:04.000Z | try:
from watson import cli
except ImportError:
from . import cli
cli.cli()
| 12.142857 | 26 | 0.682353 | 12 | 85 | 4.833333 | 0.583333 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247059 | 85 | 6 | 27 | 14.166667 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 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 |
2ada7143d3c49139b2e6552f30902b63f53c5839 | 280 | py | Python | atnlp/model/__init__.py | wedavey/atnlp | 002497f27abfcdac9701aa324301d482dbf4df0e | [
"MIT"
] | null | null | null | atnlp/model/__init__.py | wedavey/atnlp | 002497f27abfcdac9701aa324301d482dbf4df0e | [
"MIT"
] | null | null | null | atnlp/model/__init__.py | wedavey/atnlp | 002497f27abfcdac9701aa324301d482dbf4df0e | [
"MIT"
] | null | null | null | """Model building, training, tuning
.. automodule:: atnlp.model.embed
:members:
.. automodule:: atnlp.model.grid
:members:
.. automodule:: atnlp.model.io
:members:
.. automodule:: atnlp.model.tune
:members:
.. automodule:: atnlp.model.wordmatch
:members:
""" | 20 | 37 | 0.664286 | 29 | 280 | 6.413793 | 0.413793 | 0.403226 | 0.537634 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164286 | 280 | 14 | 38 | 20 | 0.794872 | 0.971429 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
2aee13416e3fc2b8d2940df3050d66ec6ef36a60 | 480 | py | Python | apps/Aeon_Account/forms.py | kprsajuuk/Aeon-Citadel | c6ceae23bc3902de19aa8b7689e88bae81082e88 | [
"MIT"
] | null | null | null | apps/Aeon_Account/forms.py | kprsajuuk/Aeon-Citadel | c6ceae23bc3902de19aa8b7689e88bae81082e88 | [
"MIT"
] | 4 | 2020-02-11T22:27:00.000Z | 2021-04-08T19:04:22.000Z | apps/Aeon_Account/forms.py | kprsajuuk/Aeon-Citadel | c6ceae23bc3902de19aa8b7689e88bae81082e88 | [
"MIT"
] | null | null | null | from django import forms
class UserForm(forms.Form):
username = forms.CharField(label="用户名", max_length=128)
password = forms.CharField(label="密码", max_length=256, widget=forms.PasswordInput)
class RegisterForm(forms.Form):
username = forms.CharField(label="用户名", max_length=128)
password = forms.Cha... | 36.923077 | 96 | 0.75625 | 62 | 480 | 5.758065 | 0.354839 | 0.196078 | 0.266106 | 0.226891 | 0.7507 | 0.7507 | 0.64986 | 0.64986 | 0.64986 | 0.64986 | 0 | 0.035294 | 0.114583 | 480 | 12 | 97 | 40 | 0.804706 | 0 | 0 | 0.5 | 0 | 0 | 0.029167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.375 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
2aff40569c9a18c4091d9968921a41d23c43bbae | 7,338 | py | Python | OmniDB/OmniDB_app/tests.old/bak_test_views.py | lejmr/OmniDB | 52c1c5a726a322f537a8e65f71d77ce322344d35 | [
"MIT"
] | 2,982 | 2016-04-12T13:33:50.000Z | 2022-03-31T14:16:43.000Z | OmniDB/OmniDB_app/tests.old/bak_test_views.py | lejmr/OmniDB | 52c1c5a726a322f537a8e65f71d77ce322344d35 | [
"MIT"
] | 704 | 2016-04-30T14:44:11.000Z | 2022-03-18T09:39:41.000Z | OmniDB/OmniDB_app/tests.old/bak_test_views.py | lejmr/OmniDB | 52c1c5a726a322f537a8e65f71d77ce322344d35 | [
"MIT"
] | 452 | 2016-04-25T23:50:25.000Z | 2022-03-28T15:03:52.000Z | from django.test import TestCase, Client
from django.http import JsonResponse
import json
class Login(TestCase):
def test_sign_in_ok(self):
c = Client()
response = c.post('/sign_in/', {'data': '{"p_username": "admin", "p_pwd": "admin"}'})
assert 200 == response.status_code
data = j... | 34.28972 | 93 | 0.621014 | 913 | 7,338 | 4.746988 | 0.084337 | 0.045224 | 0.071066 | 0.12275 | 0.870097 | 0.870097 | 0.870097 | 0.83964 | 0.722658 | 0.619982 | 0 | 0.021443 | 0.250068 | 7,338 | 213 | 94 | 34.450704 | 0.766128 | 0 | 0 | 0.613636 | 0 | 0 | 0.112292 | 0.008858 | 0 | 0 | 0 | 0 | 0.323864 | 1 | 0.159091 | false | 0.011364 | 0.017045 | 0 | 0.204545 | 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 |
6310e5307cf1d3aae3108be158062e7e1d98446c | 215 | py | Python | run_SEDML.py | vporubsky/COMBINE_2020_reproducibility | 43ae5cda128845fbb1d63bc22dc97c0afff04c0c | [
"Apache-2.0"
] | null | null | null | run_SEDML.py | vporubsky/COMBINE_2020_reproducibility | 43ae5cda128845fbb1d63bc22dc97c0afff04c0c | [
"Apache-2.0"
] | null | null | null | run_SEDML.py | vporubsky/COMBINE_2020_reproducibility | 43ae5cda128845fbb1d63bc22dc97c0afff04c0c | [
"Apache-2.0"
] | null | null | null | '''run_SEDML.py
This script executes the simulation experiment specified
with SED-ML in the file sars_cov2_infection_simulation.xml.'''
import tellurium as te
te.executeSEDML('sars_cov2_infection_simulation.xml') | 26.875 | 62 | 0.827907 | 32 | 215 | 5.34375 | 0.75 | 0.093567 | 0.19883 | 0.315789 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.097674 | 215 | 8 | 63 | 26.875 | 0.871134 | 0.604651 | 0 | 0 | 0 | 0 | 0.425 | 0.425 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6312eafb4e53d5c869f173248582d7675fc23fa3 | 117 | py | Python | tests/test_huya.py | hldh214/stream-recorder | f4a9f22418e62cdc3f3ef050004f925dc3b2902c | [
"MIT"
] | 5 | 2020-06-15T15:42:17.000Z | 2021-04-29T08:24:56.000Z | tests/test_huya.py | hldh214/stream-recorder | f4a9f22418e62cdc3f3ef050004f925dc3b2902c | [
"MIT"
] | 5 | 2019-10-29T08:46:50.000Z | 2022-03-06T13:46:40.000Z | tests/test_huya.py | hldh214/stream-recorder | f4a9f22418e62cdc3f3ef050004f925dc3b2902c | [
"MIT"
] | 1 | 2020-03-12T07:54:14.000Z | 2020-03-12T07:54:14.000Z | import recorder.source.huya as huya
def test_get_stream():
assert huya.get_stream('a_non_exist_room') is False
| 19.5 | 55 | 0.777778 | 20 | 117 | 4.25 | 0.8 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 5 | 56 | 23.4 | 0.841584 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2d86988f73c2d711eb3b53c84fba0447f0c62c56 | 38 | py | Python | hypixelio/models/recent_games/__init__.py | FoxNerdSaysMoo/HypixelIO | aca8fd6535c0afb2bb733172db2dcbd68590118d | [
"MIT"
] | 16 | 2020-10-28T01:49:31.000Z | 2022-03-13T23:19:31.000Z | hypixelio/models/recent_games/__init__.py | FoxNerdSaysMoo/HypixelIO | aca8fd6535c0afb2bb733172db2dcbd68590118d | [
"MIT"
] | 20 | 2021-03-17T07:32:14.000Z | 2022-03-07T02:48:00.000Z | hypixelio/models/recent_games/__init__.py | FoxNerdSaysMoo/HypixelIO | aca8fd6535c0afb2bb733172db2dcbd68590118d | [
"MIT"
] | 5 | 2020-10-21T13:53:27.000Z | 2021-09-02T15:47:45.000Z | from .recent_games import RecentGames
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 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 |
9329ec90263c1ac26530030fe19ae4e969a64533 | 80 | py | Python | hellopypa/__init__.py | mittelholcz/pypaexperiment | 5d70bbf02a7176f7be7fb9e37611f2bbddcb533d | [
"MIT"
] | 3 | 2020-02-24T23:13:17.000Z | 2021-05-17T09:27:58.000Z | hellopypa/__init__.py | mittelholcz/pypaexperiment | 5d70bbf02a7176f7be7fb9e37611f2bbddcb533d | [
"MIT"
] | null | null | null | hellopypa/__init__.py | mittelholcz/pypaexperiment | 5d70bbf02a7176f7be7fb9e37611f2bbddcb533d | [
"MIT"
] | null | null | null | from hellopypa.hellopypa import hello
from hellopypa.version import __version__
| 26.666667 | 41 | 0.875 | 10 | 80 | 6.6 | 0.5 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 42 | 40 | 0.916667 | 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 |
932eb9d1f88db99e30f358d1bdca823d952b11ef | 21 | py | Python | wacom/__init__.py | AgenttiX/linux-scripts | a3703ea78a2cb1a5689a6efbaa0519602900d568 | [
"MIT"
] | 3 | 2021-05-01T16:39:02.000Z | 2021-11-04T12:28:18.000Z | wacom/__init__.py | AgenttiX/linux-scripts | a3703ea78a2cb1a5689a6efbaa0519602900d568 | [
"MIT"
] | null | null | null | wacom/__init__.py | AgenttiX/linux-scripts | a3703ea78a2cb1a5689a6efbaa0519602900d568 | [
"MIT"
] | null | null | null | from .wacom 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 |
93370c101caed98ee2a3b5d9ee5b34d1b89066e9 | 250 | py | Python | webBlog/admin.py | JordanBRoberts/python-theBand | 1e475a45a42b210c722ab43c0b966d7b58d97a9d | [
"MIT"
] | null | null | null | webBlog/admin.py | JordanBRoberts/python-theBand | 1e475a45a42b210c722ab43c0b966d7b58d97a9d | [
"MIT"
] | null | null | null | webBlog/admin.py | JordanBRoberts/python-theBand | 1e475a45a42b210c722ab43c0b966d7b58d97a9d | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Post
from markdownx.admin import MarkdownxModelAdmin
from .models import Question, Choice
admin.site.register(Question)
admin.site.register(Choice)
admin.site.register(Post,MarkdownxModelAdmin )
| 25 | 47 | 0.836 | 32 | 250 | 6.53125 | 0.40625 | 0.129187 | 0.244019 | 0.220096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092 | 250 | 9 | 48 | 27.777778 | 0.920705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 |
935a889e3bc53f2b96cffffa6b1b7896ab87e41b | 5,314 | py | Python | tests/drive_decoder.py | lzamparo/SeqDemote | 3eaf18e88c9dc6a3d1a69444ecdba9f9b5d9682a | [
"MIT"
] | 1 | 2019-04-16T12:25:09.000Z | 2019-04-16T12:25:09.000Z | tests/drive_decoder.py | lzamparo/SeqDemote | 3eaf18e88c9dc6a3d1a69444ecdba9f9b5d9682a | [
"MIT"
] | null | null | null | tests/drive_decoder.py | lzamparo/SeqDemote | 3eaf18e88c9dc6a3d1a69444ecdba9f9b5d9682a | [
"MIT"
] | null | null | null | from __future__ import print_function
import data_load_utils as utils
from nose.tools import eq_
import dna_io
import numpy as np
import khmer
rando_3mer_string = 'ATGGGGTAGAGAATGGGGTAGAGA'
AAA_vs_lc_file = './test_data/AAA_vs_lc.fa'
lc_vs_UC_file = './test_data/lc_vs_UC.fa'
def test_rando_decoding():
ktab... | 31.630952 | 98 | 0.660896 | 771 | 5,314 | 4.20882 | 0.154345 | 0.118336 | 0.078582 | 0.020339 | 0.791988 | 0.784284 | 0.75624 | 0.747304 | 0.731895 | 0.70416 | 0 | 0.005723 | 0.243696 | 5,314 | 168 | 99 | 31.630952 | 0.801692 | 0.092021 | 0 | 0.71028 | 0 | 0 | 0.122058 | 0.014789 | 0 | 0 | 0 | 0 | 0.056075 | 1 | 0.056075 | false | 0 | 0.056075 | 0 | 0.11215 | 0.158879 | 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 |
fafdaf6eacbc23fc3781fe86046ab4c2680dcec6 | 32 | py | Python | changes/db/funcs/__init__.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 443 | 2015-01-03T16:28:39.000Z | 2021-04-26T16:39:46.000Z | changes/db/funcs/__init__.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 12 | 2015-07-30T19:07:16.000Z | 2016-11-07T23:11:21.000Z | changes/db/funcs/__init__.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 47 | 2015-01-09T10:04:00.000Z | 2020-11-18T17:58:19.000Z | from .coalesce import * # NOQA
| 16 | 31 | 0.6875 | 4 | 32 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.88 | 0.125 | 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 |
4f0d8ee5361bd19fd81bdba89f2443213d4d0b34 | 1,246 | py | Python | test/python/hybridsimulator/test_hybrid_standalone_simulator.py | cda-tum/ddsim | 79743fb581bd9d2b3cd9d0a460914257c8a8e584 | [
"MIT"
] | 5 | 2022-03-03T05:18:03.000Z | 2022-03-30T00:36:06.000Z | test/python/hybridsimulator/test_hybrid_standalone_simulator.py | cda-tum/ddsim | 79743fb581bd9d2b3cd9d0a460914257c8a8e584 | [
"MIT"
] | 9 | 2022-02-28T17:01:45.000Z | 2022-03-25T16:07:58.000Z | test/python/hybridsimulator/test_hybrid_standalone_simulator.py | cda-tum/ddsim | 79743fb581bd9d2b3cd9d0a460914257c8a8e584 | [
"MIT"
] | 2 | 2022-03-03T07:30:19.000Z | 2022-03-07T09:46:53.000Z | import unittest
from qiskit import *
from mqt import ddsim
class MQTStandaloneHybridSimulatorTest(unittest.TestCase):
def setUp(self) -> None:
q = QuantumRegister(4)
circ = QuantumCircuit(q)
circ.h(q)
circ.cz(3, 1)
circ.cz(2, 0)
circ.measure_all(inplace=True)
... | 33.675676 | 100 | 0.683788 | 150 | 1,246 | 5.566667 | 0.313333 | 0.065868 | 0.081437 | 0.162874 | 0.742515 | 0.700599 | 0.700599 | 0.700599 | 0.700599 | 0.700599 | 0 | 0.037412 | 0.20626 | 1,246 | 36 | 101 | 34.611111 | 0.806876 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.178571 | false | 0 | 0.107143 | 0 | 0.321429 | 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 |
87a29acef03f2c2152e5ce3fedbcccbb63cc7989 | 49 | py | Python | once-for-all-GM/data/dataset/__init__.py | skhu101/GM-NAS | cf2c8f8201690d929ec1d286c7f7cbc53e76012b | [
"MIT"
] | 4 | 2022-03-17T09:06:42.000Z | 2022-03-24T02:38:01.000Z | once-for-all-GM/data/dataset/__init__.py | skhu101/GM-NAS | cf2c8f8201690d929ec1d286c7f7cbc53e76012b | [
"MIT"
] | null | null | null | once-for-all-GM/data/dataset/__init__.py | skhu101/GM-NAS | cf2c8f8201690d929ec1d286c7f7cbc53e76012b | [
"MIT"
] | null | null | null | import time
from .single_label_dataset import *
| 12.25 | 35 | 0.816327 | 7 | 49 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 3 | 36 | 16.333333 | 0.904762 | 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 |
87ae822a90616ff3b47d26046e397dd2646928ac | 35 | py | Python | pyqtgraph/console/__init__.py | hishizuka/pyqtgraph | 4820625d93ffb41f324431d0d29b395cf91f339e | [
"MIT"
] | 2,762 | 2015-01-02T14:34:10.000Z | 2022-03-30T14:06:07.000Z | pyqtgraph/console/__init__.py | hishizuka/pyqtgraph | 4820625d93ffb41f324431d0d29b395cf91f339e | [
"MIT"
] | 1,901 | 2015-01-12T03:20:30.000Z | 2022-03-31T16:33:36.000Z | pyqtgraph/console/__init__.py | hishizuka/pyqtgraph | 4820625d93ffb41f324431d0d29b395cf91f339e | [
"MIT"
] | 1,038 | 2015-01-01T04:05:49.000Z | 2022-03-31T11:57:51.000Z | from .Console import ConsoleWidget
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 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 |
87c637b0b3966192259acc511da4033b40ab83af | 99 | py | Python | discord_bot.py | longqua69/python-bots | 55151a0da037192e800db231808d6ec6702a3185 | [
"MIT"
] | null | null | null | discord_bot.py | longqua69/python-bots | 55151a0da037192e800db231808d6ec6702a3185 | [
"MIT"
] | 3 | 2021-08-10T02:21:24.000Z | 2021-08-21T13:08:27.000Z | discord_bot.py | longqua69/python-bots | 55151a0da037192e800db231808d6ec6702a3185 | [
"MIT"
] | null | null | null | def main():
"""Main program for Discord bot"""
pass
if __name__ == '__main__':
main()
| 14.142857 | 38 | 0.575758 | 12 | 99 | 4.083333 | 0.75 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262626 | 99 | 6 | 39 | 16.5 | 0.671233 | 0.282828 | 0 | 0 | 0 | 0 | 0.123077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
87f597d8f843d48654509c426025236074efa13f | 96 | py | Python | venv/lib/python3.8/site-packages/requests/_internal_utils.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/requests/_internal_utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/requests/_internal_utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/67/1d/cf/9c451c7327ec07e89ed759d95405bca82949cb4831d6a34c13bae04f5f | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35619f1b9276b76d0d0ffd60fe8a91c98eb98181 | 116 | py | Python | Log/__init__.py | 10000ms/aiohttp_mongodb_unit | 5163b3e34b1648ea3a2d6135fb367debd6ed87a7 | [
"MIT"
] | null | null | null | Log/__init__.py | 10000ms/aiohttp_mongodb_unit | 5163b3e34b1648ea3a2d6135fb367debd6ed87a7 | [
"MIT"
] | null | null | null | Log/__init__.py | 10000ms/aiohttp_mongodb_unit | 5163b3e34b1648ea3a2d6135fb367debd6ed87a7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
def get_logfile(name):
return os.path.join(os.path.dirname(__file__), name)
| 16.571429 | 56 | 0.663793 | 18 | 116 | 4 | 0.777778 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.155172 | 116 | 6 | 57 | 19.333333 | 0.72449 | 0.181034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
35773f5fee401f675d5dbf7e17808a3b6230bacf | 65 | py | Python | src/text_normalizer/config/__init__.py | arkataev/text_normalizer | a99326e31012157980d014c9730ac94bd1d18c1d | [
"MIT"
] | null | null | null | src/text_normalizer/config/__init__.py | arkataev/text_normalizer | a99326e31012157980d014c9730ac94bd1d18c1d | [
"MIT"
] | null | null | null | src/text_normalizer/config/__init__.py | arkataev/text_normalizer | a99326e31012157980d014c9730ac94bd1d18c1d | [
"MIT"
] | null | null | null | from ._load import *
from ._types import *
from .config import *
| 16.25 | 21 | 0.723077 | 9 | 65 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 22 | 21.666667 | 0.849057 | 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 |
358d422ce9b1ce5cf41b802f08c9bbc728a149e5 | 2,977 | py | Python | models/discriminators.py | Nikronic/Deep-Halftoning | 9564c592abf139ccab2791c1dbb354505edab5f9 | [
"MIT"
] | null | null | null | models/discriminators.py | Nikronic/Deep-Halftoning | 9564c592abf139ccab2791c1dbb354505edab5f9 | [
"MIT"
] | 1 | 2021-11-07T12:13:38.000Z | 2021-11-07T12:13:38.000Z | models/discriminators.py | Nikronic/Deep-Halftoning | 9564c592abf139ccab2791c1dbb354505edab5f9 | [
"MIT"
] | null | null | null | # %% import library
import torch
import torch.nn as nn
from models.layers import CL, CBL, C
# %% discriminator one
class DiscriminatorOne(nn.Module):
def __init__(self, input_channel=3, output_channel=1):
"""
Consists of a CL module followed by repetitive CBL modules and finally a C class
... | 39.693333 | 109 | 0.654014 | 439 | 2,977 | 4.289294 | 0.191344 | 0.114711 | 0.038237 | 0.054169 | 0.844397 | 0.844397 | 0.844397 | 0.811471 | 0.7265 | 0.7265 | 0 | 0.058746 | 0.233792 | 2,977 | 74 | 110 | 40.22973 | 0.766769 | 0.260329 | 0 | 0.410256 | 0 | 0 | 0.001912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.076923 | 0 | 0.282051 | 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 |
35c78c6ac1dc3452b23f6936d26948ab29e1dc57 | 244 | py | Python | src/game/scripts/ui/__init__.py | ShoaibSyed1/project-pokemon | 6916962cf0be478c2a229b6620e9425d707c2b29 | [
"MIT"
] | null | null | null | src/game/scripts/ui/__init__.py | ShoaibSyed1/project-pokemon | 6916962cf0be478c2a229b6620e9425d707c2b29 | [
"MIT"
] | null | null | null | src/game/scripts/ui/__init__.py | ShoaibSyed1/project-pokemon | 6916962cf0be478c2a229b6620e9425d707c2b29 | [
"MIT"
] | null | null | null | from game.scripts.ui.button import Button
from game.scripts.ui.controller import UiController
from game.scripts.ui.label import Label
from game.scripts.ui.status_panel import StatusPanel
from game.scripts.ui.textbox import Textbox, TextboxState | 48.8 | 57 | 0.852459 | 37 | 244 | 5.594595 | 0.378378 | 0.193237 | 0.362319 | 0.410628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 244 | 5 | 57 | 48.8 | 0.924107 | 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 |
35e1cd0318462ad29dc13fd397785f299ec922bf | 48 | py | Python | pynexus/segments/__init__.py | ve-interactive/Pynexus | 553ffe8c7c4e6b7094bf67672be5d6613c4524e7 | [
"Apache-2.0"
] | 1 | 2016-10-19T15:04:17.000Z | 2016-10-19T15:04:17.000Z | pynexus/segments/__init__.py | ve-interactive/Pynexus | 553ffe8c7c4e6b7094bf67672be5d6613c4524e7 | [
"Apache-2.0"
] | null | null | null | pynexus/segments/__init__.py | ve-interactive/Pynexus | 553ffe8c7c4e6b7094bf67672be5d6613c4524e7 | [
"Apache-2.0"
] | null | null | null | from .api import SegmentAPI, SegmentUploadError
| 24 | 47 | 0.854167 | 5 | 48 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.953488 | 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 |
ea18cbc8b782dfce269da5bd6a10c97abf3dc581 | 93 | py | Python | rlearn/reporting/_search/__init__.py | AlgoWit/research-learn | 81ff420accf3929d0d9ae400a6b69eb88e8ae592 | [
"MIT"
] | 1 | 2019-11-15T16:02:35.000Z | 2019-11-15T16:02:35.000Z | rlearn/reporting/_search/__init__.py | AlgoWit/research-learn | 81ff420accf3929d0d9ae400a6b69eb88e8ae592 | [
"MIT"
] | 6 | 2019-11-29T12:09:39.000Z | 2020-08-13T17:14:09.000Z | rlearn/reporting/_search/__init__.py | AlgoWit/research-learn | 81ff420accf3929d0d9ae400a6b69eb88e8ae592 | [
"MIT"
] | 2 | 2019-11-29T11:50:38.000Z | 2020-03-16T12:15:23.000Z | from ._results import report_model_search_results
__all__ = ['report_model_search_results']
| 23.25 | 49 | 0.849462 | 12 | 93 | 5.666667 | 0.583333 | 0.323529 | 0.5 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 3 | 50 | 31 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 0.290323 | 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 |
ea52cc9b9a69c84a14f717ee2a0267de05f32d98 | 86 | py | Python | katas/kyu_6/digital_root.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_6/digital_root.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_6/digital_root.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def digital_root(n):
return n if n <= 10 else digital_root(sum(map(int, str(n))))
| 28.666667 | 64 | 0.662791 | 17 | 86 | 3.235294 | 0.705882 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.174419 | 86 | 2 | 65 | 43 | 0.746479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ea6966d2533ff6afa4f859f5986a4c5b5c210518 | 43 | py | Python | variational_lstm/VariationalRecurrentNeuralNetwork/dataset/__init__.py | noahlozevski/variational-RNN | 629c36869e7f81b4c40451edd9521a797d8b4db6 | [
"MIT"
] | null | null | null | variational_lstm/VariationalRecurrentNeuralNetwork/dataset/__init__.py | noahlozevski/variational-RNN | 629c36869e7f81b4c40451edd9521a797d8b4db6 | [
"MIT"
] | null | null | null | variational_lstm/VariationalRecurrentNeuralNetwork/dataset/__init__.py | noahlozevski/variational-RNN | 629c36869e7f81b4c40451edd9521a797d8b4db6 | [
"MIT"
] | null | null | null | from .dataset import get_dataset, processed | 43 | 43 | 0.860465 | 6 | 43 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 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 |
5760c322d8eacb72591ec114fcfa5cd3bf61acd9 | 250 | py | Python | summarize/nn/beam_search/length_penalizers/__init__.py | danieldeutsch/summarize | f36a86d58f381ff1f607f356dad3d6ef7b0e0224 | [
"Apache-2.0"
] | 15 | 2019-11-01T11:49:44.000Z | 2021-01-19T06:59:32.000Z | summarize/nn/beam_search/length_penalizers/__init__.py | CogComp/summary-cloze | b38e3e8c7755903477fd92a4cff27125cbf5553d | [
"Apache-2.0"
] | 2 | 2020-03-30T07:54:01.000Z | 2021-11-15T16:27:42.000Z | summarize/nn/beam_search/length_penalizers/__init__.py | CogComp/summary-cloze | b38e3e8c7755903477fd92a4cff27125cbf5553d | [
"Apache-2.0"
] | 3 | 2019-12-06T05:57:51.000Z | 2019-12-11T11:34:21.000Z | from summarize.nn.beam_search.length_penalizers.length_penalizer import LengthPenalizer
from summarize.nn.beam_search.length_penalizers.average import AverageLengthPenalizer
from summarize.nn.beam_search.length_penalizers.wu import WuLengthPenalizer
| 62.5 | 87 | 0.904 | 31 | 250 | 7.064516 | 0.451613 | 0.178082 | 0.205479 | 0.260274 | 0.561644 | 0.561644 | 0.561644 | 0 | 0 | 0 | 0 | 0 | 0.048 | 250 | 3 | 88 | 83.333333 | 0.920168 | 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 |
579bd88e341215fd3d0161fbdb3f71ac2c48b382 | 36 | py | Python | asgi_cors_middleware/__init__.py | mrkiura/asgi-cors-middleware | 3d70de6e3c0ffc7701757d3229e5e8a2f10cdaa5 | [
"MIT"
] | 1 | 2021-08-01T21:17:35.000Z | 2021-08-01T21:17:35.000Z | asgi_cors_middleware/__init__.py | mrkiura/asgi-cors-middleware | 3d70de6e3c0ffc7701757d3229e5e8a2f10cdaa5 | [
"MIT"
] | null | null | null | asgi_cors_middleware/__init__.py | mrkiura/asgi-cors-middleware | 3d70de6e3c0ffc7701757d3229e5e8a2f10cdaa5 | [
"MIT"
] | null | null | null | from .middleware import CorsASGIApp
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
57c4ca956a5c9ed087233b0c44e8a59c68bb4932 | 148 | py | Python | HackerRank Solutions/Regex/Introduction/Matching Word & Non-Word Character.py | DevashishPathrabe/Competetive-Coding | 91049459359854b7834cbfb31415682600dc9c57 | [
"MIT"
] | null | null | null | HackerRank Solutions/Regex/Introduction/Matching Word & Non-Word Character.py | DevashishPathrabe/Competetive-Coding | 91049459359854b7834cbfb31415682600dc9c57 | [
"MIT"
] | null | null | null | HackerRank Solutions/Regex/Introduction/Matching Word & Non-Word Character.py | DevashishPathrabe/Competetive-Coding | 91049459359854b7834cbfb31415682600dc9c57 | [
"MIT"
] | null | null | null | Regex_Pattern = r"\w\w\w\W\w\w\w\w\w\w\w\w\w\w\W\w\w\w" # Do not delete 'r'.
import re
print(str(bool(re.search(Regex_Pattern, input()))).lower()) | 29.6 | 76 | 0.641892 | 36 | 148 | 2.583333 | 0.416667 | 0.365591 | 0.516129 | 0.645161 | 0.193548 | 0.193548 | 0.193548 | 0.193548 | 0.193548 | 0.193548 | 0 | 0 | 0.087838 | 148 | 5 | 77 | 29.6 | 0.688889 | 0.121622 | 0 | 0 | 0 | 0.333333 | 0.27907 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
57e7cc547c17451d7ce4e4b862fad2e29ca3adc1 | 20,419 | py | Python | models/ssadgm.py | kuleshov/deep-learning-models | fa755f54f5692739f71c969b1ae489b17de84ae3 | [
"MIT"
] | 28 | 2017-03-01T12:35:33.000Z | 2021-03-23T23:53:07.000Z | models/ssadgm.py | kuleshov/deep-learning-model-zoo | fa755f54f5692739f71c969b1ae489b17de84ae3 | [
"MIT"
] | null | null | null | models/ssadgm.py | kuleshov/deep-learning-model-zoo | fa755f54f5692739f71c969b1ae489b17de84ae3 | [
"MIT"
] | 22 | 2017-03-01T13:41:55.000Z | 2021-03-19T05:46:09.000Z | import time
import pickle
import numpy as np
import theano
import theano.tensor as T
import lasagne
from semisup_model import SemiSupModel
from lasagne.layers import batch_norm
from layers.sampling import GaussianSampleLayer
from layers.shape import RepeatLayer
from distributions import log_bernoulli, log_normal, l... | 38.672348 | 99 | 0.655958 | 3,173 | 20,419 | 3.913646 | 0.085093 | 0.082703 | 0.079642 | 0.083105 | 0.838943 | 0.797471 | 0.777661 | 0.771139 | 0.76671 | 0.754147 | 0 | 0.019709 | 0.222244 | 20,419 | 528 | 100 | 38.672348 | 0.762232 | 0.139527 | 0 | 0.694301 | 0 | 0 | 0.011617 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015544 | false | 0 | 0.028497 | 0 | 0.059585 | 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 |
17c576b1895b7b1e9bc2a28e47880fef539c9bc6 | 2,048 | py | Python | epytope/Data/pssms/smmpmbec/mat/A_11_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/A_11_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/A_11_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_11_01_8 = {0: {'A': -0.218, 'C': 0.09, 'E': 0.12, 'D': 0.063, 'G': -0.112, 'F': 0.179, 'I': -0.081, 'H': 0.135, 'K': 0.1, 'M': -0.027, 'L': 0.049, 'N': -0.003, 'Q': -0.069, 'P': 0.092, 'S': -0.444, 'R': 0.123, 'T': -0.336, 'W': 0.168, 'V': -0.104, 'Y': 0.277}, 1: {'A': 0.305, 'C': 0.105, 'E': 0.131, 'D': 0.089, 'G': ... | 2,048 | 2,048 | 0.393066 | 496 | 2,048 | 1.616935 | 0.334677 | 0.01995 | 0.012469 | 0.014963 | 0.034913 | 0 | 0 | 0 | 0 | 0 | 0 | 0.371795 | 0.162109 | 2,048 | 1 | 2,048 | 2,048 | 0.095571 | 0 | 0 | 0 | 0 | 0 | 0.079551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
17f9343b69720a78c2dcdea6229be8e5bee064f8 | 399 | py | Python | torchbench/semantic_segmentation/__init__.py | xperience-ai/torchbench | c2cff1ede9a746680ac583b0aa190b748cd15a52 | [
"Apache-2.0"
] | 143 | 2019-08-12T17:24:02.000Z | 2022-03-31T09:39:34.000Z | torchbench/semantic_segmentation/__init__.py | xperience-ai/torchbench | c2cff1ede9a746680ac583b0aa190b748cd15a52 | [
"Apache-2.0"
] | 6 | 2019-08-12T18:03:56.000Z | 2021-05-05T10:53:40.000Z | torchbench/semantic_segmentation/__init__.py | xperience-ai/torchbench | c2cff1ede9a746680ac583b0aa190b748cd15a52 | [
"Apache-2.0"
] | 18 | 2019-08-24T19:33:09.000Z | 2022-01-20T02:15:00.000Z | __all__ = ["ADE20K", "CamVid", "Cityscapes", "PASCALContext", "PASCALVOC"]
from torchbench.semantic_segmentation.ade20k import ADE20K
from torchbench.semantic_segmentation.camvid import CamVid
from torchbench.semantic_segmentation.cityscapes import Cityscapes
from torchbench.semantic_segmentation.pascalcontext import ... | 49.875 | 74 | 0.862155 | 41 | 399 | 8.170732 | 0.268293 | 0.208955 | 0.328358 | 0.507463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016173 | 0.070175 | 399 | 7 | 75 | 57 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.110276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 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 |
aa35ca92211b23d46954ea5cd20d790c9fc9c31e | 3,971 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QPen.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QPen.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QPen.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtGui
# from C:\Python27\lib\site-packages\PySide\QtGui.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
class QPen(__Shiboken.Object):
# no doc
def brush(self, *args, **kwargs): # real signature unknown
... | 27.964789 | 77 | 0.600856 | 475 | 3,971 | 4.68 | 0.183158 | 0.222222 | 0.34188 | 0.210526 | 0.731894 | 0.695906 | 0.680162 | 0.663968 | 0.184435 | 0 | 0 | 0.002416 | 0.270461 | 3,971 | 141 | 78 | 28.163121 | 0.764929 | 0.412239 | 0 | 0.475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.475 | false | 0.475 | 0.025 | 0 | 0.5125 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
a4c33ce45cf404da522a8fd0321a4f103723caf6 | 21,023 | py | Python | usaspending_api/disaster/tests/integration/test_spending_by_geography.py | jbuendiallc/usaspending-api | f827870cbca4b6a6e16f1c5272bb2ff73a113d76 | [
"CC0-1.0"
] | 1 | 2020-08-14T04:14:32.000Z | 2020-08-14T04:14:32.000Z | usaspending_api/disaster/tests/integration/test_spending_by_geography.py | jbuendiallc/usaspending-api | f827870cbca4b6a6e16f1c5272bb2ff73a113d76 | [
"CC0-1.0"
] | null | null | null | usaspending_api/disaster/tests/integration/test_spending_by_geography.py | jbuendiallc/usaspending-api | f827870cbca4b6a6e16f1c5272bb2ff73a113d76 | [
"CC0-1.0"
] | null | null | null | import json
import pytest
from rest_framework import status
from usaspending_api.awards.v2.lookups.lookups import grant_type_mapping, contract_type_mapping, loan_type_mapping
from usaspending_api.common.helpers.generic_helper import get_time_period_message
from usaspending_api.search.tests.data.utilities import setup... | 32.848438 | 120 | 0.580174 | 2,267 | 21,023 | 5.000441 | 0.077195 | 0.04446 | 0.058663 | 0.033874 | 0.873765 | 0.84633 | 0.824365 | 0.805487 | 0.756351 | 0.736327 | 0 | 0.042695 | 0.298102 | 21,023 | 639 | 121 | 32.899844 | 0.725535 | 0.010417 | 0 | 0.654545 | 0 | 0 | 0.204068 | 0.004087 | 0 | 0 | 0 | 0 | 0.076364 | 1 | 0.043636 | false | 0 | 0.010909 | 0.001818 | 0.058182 | 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 |
a4ff23fd6f25320ae22bcfb7613cd35dc392fe06 | 22 | py | Python | indra/preassembler/grounding_mapper/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | 136 | 2016-02-11T22:06:37.000Z | 2022-03-31T17:26:20.000Z | indra/preassembler/grounding_mapper/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | 748 | 2016-02-03T16:27:56.000Z | 2022-03-09T14:27:54.000Z | indra/preassembler/grounding_mapper/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | 56 | 2015-08-28T14:03:44.000Z | 2022-02-04T06:15:55.000Z | from .mapper import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 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 |
101eb3df9a193e343ce1d506c9f7725f4c9b77ef | 29 | py | Python | gobayes/parsers/__init__.py | jni/gobayes | 35b938c6ade3b2c2cfb7e4e675c6966cc902620f | [
"MIT"
] | null | null | null | gobayes/parsers/__init__.py | jni/gobayes | 35b938c6ade3b2c2cfb7e4e675c6966cc902620f | [
"MIT"
] | null | null | null | gobayes/parsers/__init__.py | jni/gobayes | 35b938c6ade3b2c2cfb7e4e675c6966cc902620f | [
"MIT"
] | null | null | null | import annotation
import obo
| 9.666667 | 17 | 0.862069 | 4 | 29 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 2 | 18 | 14.5 | 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 |
107fe26b7fc0ee62a8182d67d6d20449b24686ed | 64 | py | Python | train.py | DetectionBLWX/YOLOv3 | 0a9787670d109ef7d7fb668550e5715749f1ef5a | [
"MIT"
] | 3 | 2020-03-19T04:13:28.000Z | 2020-10-11T16:55:33.000Z | train.py | DetectionBLWX/YOLOv3 | 0a9787670d109ef7d7fb668550e5715749f1ef5a | [
"MIT"
] | null | null | null | train.py | DetectionBLWX/YOLOv3 | 0a9787670d109ef7d7fb668550e5715749f1ef5a | [
"MIT"
] | null | null | null | '''
Function:
train the model
Author:
Charles
'''
import torch | 9.142857 | 16 | 0.703125 | 8 | 64 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 7 | 17 | 9.142857 | 0.849057 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10bd9cac6bbebf36e90df32f21f17582ab199711 | 47 | py | Python | src/meltano/core/tracking/__init__.py | siilats/meltano | 404605c83f441c3fc2b729e26416c6caa8b0ed0b | [
"MIT"
] | 122 | 2021-06-21T17:30:29.000Z | 2022-03-25T06:21:38.000Z | src/meltano/core/tracking/__init__.py | siilats/meltano | 404605c83f441c3fc2b729e26416c6caa8b0ed0b | [
"MIT"
] | 38 | 2019-12-09T06:53:33.000Z | 2022-03-29T22:29:19.000Z | src/meltano/core/tracking/__init__.py | siilats/meltano | 404605c83f441c3fc2b729e26416c6caa8b0ed0b | [
"MIT"
] | 21 | 2021-06-22T10:08:15.000Z | 2022-03-18T08:57:02.000Z | from .ga_tracker import GoogleAnalyticsTracker
| 23.5 | 46 | 0.893617 | 5 | 47 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 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 |
529c8a7387e501f4965aa613fd7cd5e9545f8694 | 8,056 | py | Python | models/users.py | sandygoreraza/FlaskTaskManagementSampleApp | 22e82a5013b0b9178e2a3acfe6d51367d9804bfe | [
"MIT"
] | null | null | null | models/users.py | sandygoreraza/FlaskTaskManagementSampleApp | 22e82a5013b0b9178e2a3acfe6d51367d9804bfe | [
"MIT"
] | null | null | null | models/users.py | sandygoreraza/FlaskTaskManagementSampleApp | 22e82a5013b0b9178e2a3acfe6d51367d9804bfe | [
"MIT"
] | null | null | null | import sqlite3
def check_user(email,password):
connection = sqlite3.connect('flask_sandy.db' , check_same_thread = False)
cursor = connection.cursor()
cursor.execute("SELECT * FROM users WHERE email = ? and password = ?;",(email,password))
##print("Fetching single row")
record = cursor.fe... | 24.192192 | 160 | 0.589623 | 860 | 8,056 | 5.419767 | 0.151163 | 0.044626 | 0.077237 | 0.093328 | 0.795752 | 0.780305 | 0.769363 | 0.764428 | 0.754988 | 0.744261 | 0 | 0.006606 | 0.304742 | 8,056 | 332 | 161 | 24.26506 | 0.825567 | 0.133441 | 0 | 0.708861 | 0 | 0 | 0.210092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094937 | false | 0.031646 | 0.006329 | 0 | 0.189873 | 0.044304 | 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 |
52bdb8ac23c9ca40f1c17c887b23c7a5532e183e | 4,221 | py | Python | tests/test_rest_term_create.py | oarepo/flask-taxonomies | 50d704adfc2d5c80d90b040e147abeb00fff3766 | [
"MIT"
] | null | null | null | tests/test_rest_term_create.py | oarepo/flask-taxonomies | 50d704adfc2d5c80d90b040e147abeb00fff3766 | [
"MIT"
] | 39 | 2019-06-17T08:01:29.000Z | 2021-06-25T15:21:59.000Z | tests/test_rest_term_create.py | oarepo/flask-taxonomies | 50d704adfc2d5c80d90b040e147abeb00fff3766 | [
"MIT"
] | 4 | 2019-08-16T09:55:28.000Z | 2020-07-07T06:18:54.000Z | from sqlalchemy_utils.types.json import json
def term_create_test(api, client, sample_taxonomy):
term = client.put('/api/2.0/taxonomies/test/aaa',
data=json.dumps({
'title': 'test aaa title'
}),
content_type='application/j... | 37.026316 | 95 | 0.532575 | 479 | 4,221 | 4.611691 | 0.135699 | 0.038026 | 0.047533 | 0.142598 | 0.907651 | 0.892712 | 0.883658 | 0.82345 | 0.8067 | 0.757356 | 0 | 0.020457 | 0.305141 | 4,221 | 113 | 96 | 37.353982 | 0.732697 | 0.004975 | 0 | 0.608247 | 0 | 0 | 0.303478 | 0.10505 | 0 | 0 | 0 | 0 | 0.175258 | 1 | 0.051546 | false | 0 | 0.010309 | 0 | 0.061856 | 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 |
52d0c63b5966cf6157264fead2da18c09d1bbf5b | 87 | py | Python | source/tests/metacall_configuration_exec_path_test/data/scripts/metacall_configuration_exec_path_test.py | Zedonboy/core | 79a4d959659a0f96b940b28d44476943de120d95 | [
"Apache-2.0"
] | null | null | null | source/tests/metacall_configuration_exec_path_test/data/scripts/metacall_configuration_exec_path_test.py | Zedonboy/core | 79a4d959659a0f96b940b28d44476943de120d95 | [
"Apache-2.0"
] | null | null | null | source/tests/metacall_configuration_exec_path_test/data/scripts/metacall_configuration_exec_path_test.py | Zedonboy/core | 79a4d959659a0f96b940b28d44476943de120d95 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3.5
def hello_world(text):
return 'Python hello_world: ' + text
| 17.4 | 38 | 0.678161 | 13 | 87 | 4.384615 | 0.769231 | 0.350877 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.172414 | 87 | 4 | 39 | 21.75 | 0.763889 | 0.218391 | 0 | 0 | 0 | 0 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
eabf9cd1ca91475b4b7e22ca2d686c0cf1db7a23 | 97 | py | Python | stimuli/Python/one_file_per_item/jap/42_# math_if 6.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 6 | 2020-04-24T08:16:51.000Z | 2021-11-01T09:50:46.000Z | stimuli/Python/one_file_per_item/jap/42_# math_if 6.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | null | null | null | stimuli/Python/one_file_per_item/jap/42_# math_if 6.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 4 | 2021-02-17T20:21:31.000Z | 2022-02-14T12:43:23.000Z | ooki_kazu, chisa_kazu = 64, 16
if ooki_kazu % chisa_kazu == 0:
print(1)
else:
print(0)
| 12.125 | 31 | 0.628866 | 17 | 97 | 3.352941 | 0.588235 | 0.280702 | 0.45614 | 0.596491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 0.247423 | 97 | 7 | 32 | 13.857143 | 0.684932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eae86aacea5179af47108390f7af6d7507fb5714 | 12,537 | py | Python | src/jk_simpleexec/simpleexec.py | jkpubsrc/python-module-jk-simpleexec | ec5d4f643ad0c8c97679c482aaf2f17d475d9321 | [
"Apache-1.1"
] | null | null | null | src/jk_simpleexec/simpleexec.py | jkpubsrc/python-module-jk-simpleexec | ec5d4f643ad0c8c97679c482aaf2f17d475d9321 | [
"Apache-1.1"
] | null | null | null | src/jk_simpleexec/simpleexec.py | jkpubsrc/python-module-jk-simpleexec | ec5d4f643ad0c8c97679c482aaf2f17d475d9321 | [
"Apache-1.1"
] | null | null | null |
import os
import sys
import subprocess
import typing
from .CommandResult import CommandResult
from .TextDataProcessingPolicy import TextDataProcessingPolicy
from ._DebugValveToFile import _DebugValveToFile
from . import _common as _common
#
# Synchroneously invokes the specified command on... | 41.240132 | 173 | 0.698891 | 1,503 | 12,537 | 5.807718 | 0.159681 | 0.040325 | 0.016497 | 0.025662 | 0.763661 | 0.754955 | 0.745332 | 0.740978 | 0.715088 | 0.700882 | 0 | 0.002299 | 0.201962 | 12,537 | 303 | 174 | 41.376238 | 0.870065 | 0.48297 | 0 | 0.634146 | 0 | 0 | 0.09073 | 0.042002 | 0 | 0 | 0 | 0 | 0.04878 | 0 | null | null | 0.012195 | 0.04878 | null | null | 0.036585 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eaeb3d7ca3c52608878fb20f542a711c3be32ad8 | 127 | py | Python | src/py4geo/client/controllers/__init__.py | manuelep/py4geo | ad1b25f89b2f254d7270d05123fb3e6cb91186a9 | [
"Apache-2.0"
] | null | null | null | src/py4geo/client/controllers/__init__.py | manuelep/py4geo | ad1b25f89b2f254d7270d05123fb3e6cb91186a9 | [
"Apache-2.0"
] | null | null | null | src/py4geo/client/controllers/__init__.py | manuelep/py4geo | ad1b25f89b2f254d7270d05123fb3e6cb91186a9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from ... import settings
if settings.IS_H3_INSTALLED:
from . import advanced
from . import base
| 14.111111 | 28 | 0.669291 | 17 | 127 | 4.882353 | 0.705882 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.204724 | 127 | 8 | 29 | 15.875 | 0.80198 | 0.165354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
d814b1f29221f97a383ce46c5f9e3ca2fbaa4594 | 27 | py | Python | simclr/__init__.py | martinmamql/SimCLR-2 | 60fb488a1914ec97af2bd01c85a9ec64e804db1e | [
"MIT"
] | 496 | 2020-03-10T11:29:19.000Z | 2022-03-30T04:52:08.000Z | simclr/__init__.py | martinmamql/SimCLR-2 | 60fb488a1914ec97af2bd01c85a9ec64e804db1e | [
"MIT"
] | 34 | 2020-03-12T15:03:02.000Z | 2022-01-10T18:46:05.000Z | simclr/__init__.py | martinmamql/SimCLR-2 | 60fb488a1914ec97af2bd01c85a9ec64e804db1e | [
"MIT"
] | 125 | 2020-03-11T21:50:37.000Z | 2022-03-16T08:24:58.000Z | from .simclr import SimCLR
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 |
dc203dc9b4a76b6eeaa20e20cea14acbe7dfd7dd | 82 | py | Python | plant/models/__init__.py | Kradukman/beesUlb | 1234658af3aff7d2f580212c01d8acec96167078 | [
"MIT"
] | null | null | null | plant/models/__init__.py | Kradukman/beesUlb | 1234658af3aff7d2f580212c01d8acec96167078 | [
"MIT"
] | null | null | null | plant/models/__init__.py | Kradukman/beesUlb | 1234658af3aff7d2f580212c01d8acec96167078 | [
"MIT"
] | null | null | null | from . import family
from . import genus
from . import specie
from . import wizard | 20.5 | 20 | 0.768293 | 12 | 82 | 5.25 | 0.5 | 0.634921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182927 | 82 | 4 | 21 | 20.5 | 0.940299 | 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 |
dc56b59d3545dcaa054eeb442dd0532b925d3c87 | 214 | py | Python | ZiggeoAnalytics.py | Ziggeo/ZiggeoPythonSdk | 7c1e46bdd0649bdd58707747279da40783f14f8b | [
"Apache-2.0"
] | 3 | 2018-07-17T16:38:17.000Z | 2020-10-31T19:56:47.000Z | ZiggeoAnalytics.py | Ziggeo/ZiggeoPythonSdk | 7c1e46bdd0649bdd58707747279da40783f14f8b | [
"Apache-2.0"
] | 8 | 2015-08-20T15:59:13.000Z | 2022-01-17T13:08:45.000Z | ZiggeoAnalytics.py | Ziggeo/ZiggeoPythonSdk | 7c1e46bdd0649bdd58707747279da40783f14f8b | [
"Apache-2.0"
] | 7 | 2015-08-12T14:32:12.000Z | 2019-10-30T05:26:51.000Z | class ZiggeoAnalytics:
def __init__(self, application):
self.__application = application
def get(self, data = None):
return self.__application.connect.postJSON('/v1/analytics/get', data)
| 23.777778 | 77 | 0.691589 | 23 | 214 | 6.086957 | 0.608696 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.200935 | 214 | 8 | 78 | 26.75 | 0.812866 | 0 | 0 | 0 | 0 | 0 | 0.079812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dcbaa9235e7d2b3b3d4fd4af496531aab3394aa5 | 62,653 | py | Python | src/multi_task_retrieval/open_qa_p_level.py | ethanjperez/semanticRetrievalMRS | 765e00d6e7693e0eaba20ef1407fad0be4a7a92b | [
"MIT"
] | 61 | 2019-09-19T03:04:32.000Z | 2022-03-08T03:59:28.000Z | src/multi_task_retrieval/open_qa_p_level.py | ethanjperez/semanticRetrievalMRS | 765e00d6e7693e0eaba20ef1407fad0be4a7a92b | [
"MIT"
] | 13 | 2019-09-19T12:11:01.000Z | 2020-12-28T17:51:43.000Z | src/multi_task_retrieval/open_qa_p_level.py | ethanjperez/semanticRetrievalMRS | 765e00d6e7693e0eaba20ef1407fad0be4a7a92b | [
"MIT"
] | 10 | 2019-09-20T05:07:28.000Z | 2022-01-12T08:12:08.000Z | import copy
import os
import random
from pathlib import Path
import torch
from allennlp.data.iterators import BasicIterator
from allennlp.nn.util import move_to_device
from pytorch_pretrained_bert import BertTokenizer, BertModel, BertAdam
from tqdm import tqdm
from data_utils.readers.bert_reader_content_selection imp... | 52.782645 | 136 | 0.57354 | 7,203 | 62,653 | 4.479939 | 0.058031 | 0.009793 | 0.0119 | 0.018346 | 0.813102 | 0.775419 | 0.747591 | 0.728687 | 0.703214 | 0.691624 | 0 | 0.015268 | 0.349784 | 62,653 | 1,187 | 137 | 52.782645 | 0.776842 | 0.100697 | 0 | 0.643373 | 0 | 0.001205 | 0.081432 | 0.022707 | 0 | 0 | 0 | 0 | 0.006024 | 1 | 0.009639 | false | 0.001205 | 0.03253 | 0 | 0.044578 | 0.037349 | 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 |
f4baca57e8362b9cd8b6c4bd08adcb042b71eede | 8,760 | py | Python | rasotools/plot/profile.py | MBlaschek/rasotools | a8b954518a1e39b554f850aac0f5bd8fa1f23dc6 | [
"MIT"
] | 1 | 2019-10-06T22:26:43.000Z | 2019-10-06T22:26:43.000Z | rasotools/plot/profile.py | MBlaschek/rasotools | a8b954518a1e39b554f850aac0f5bd8fa1f23dc6 | [
"MIT"
] | null | null | null | rasotools/plot/profile.py | MBlaschek/rasotools | a8b954518a1e39b554f850aac0f5bd8fa1f23dc6 | [
"MIT"
] | 1 | 2020-04-19T13:47:52.000Z | 2020-04-19T13:47:52.000Z | # -*- coding: utf-8 -*-
__all__ = ['var', 'winds', 'boxplot', 'bars']
def var(data, dim='plev', ax=None, logy=False, yticklabels=None, showna=False, **kwargs):
import numpy as np
from xarray import DataArray
from ._helpers import line, set_labels, get_info
from ..fun import message
if not isinst... | 33.822394 | 121 | 0.615525 | 1,232 | 8,760 | 4.285714 | 0.135552 | 0.033144 | 0.043561 | 0.045455 | 0.800568 | 0.775947 | 0.754735 | 0.741098 | 0.722917 | 0.689394 | 0 | 0.007318 | 0.235616 | 8,760 | 258 | 122 | 33.953488 | 0.781213 | 0.052968 | 0 | 0.695876 | 0 | 0 | 0.078057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020619 | false | 0 | 0.092784 | 0 | 0.134021 | 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 |
f4bb302bb6eb9ac0da14024bae916a128fa80280 | 159 | py | Python | branch/branch/doctype/company_branch/test_company_branch.py | Solufy-ERPNext-Apps/branch | 6f565b4669acb96c211ae40024db15e198c50be9 | [
"MIT"
] | null | null | null | branch/branch/doctype/company_branch/test_company_branch.py | Solufy-ERPNext-Apps/branch | 6f565b4669acb96c211ae40024db15e198c50be9 | [
"MIT"
] | null | null | null | branch/branch/doctype/company_branch/test_company_branch.py | Solufy-ERPNext-Apps/branch | 6f565b4669acb96c211ae40024db15e198c50be9 | [
"MIT"
] | null | null | null | # Copyright (c) 2022, Nihantra C. Patel and Contributors
# See license.txt
# import frappe
import unittest
class TestCompanyBranch(unittest.TestCase):
pass
| 17.666667 | 56 | 0.779874 | 20 | 159 | 6.2 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.144654 | 159 | 8 | 57 | 19.875 | 0.882353 | 0.528302 | 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 |
f4f9dbd265712cf93b378f2ef68c10a94ecec0fb | 5,845 | py | Python | indy_common/test/auth/metadata/test_error_messages.py | jandayanan/indy-node | 98d0c8165d45b2e38b95c82a134d835085e56a9f | [
"Apache-2.0"
] | null | null | null | indy_common/test/auth/metadata/test_error_messages.py | jandayanan/indy-node | 98d0c8165d45b2e38b95c82a134d835085e56a9f | [
"Apache-2.0"
] | null | null | null | indy_common/test/auth/metadata/test_error_messages.py | jandayanan/indy-node | 98d0c8165d45b2e38b95c82a134d835085e56a9f | [
"Apache-2.0"
] | null | null | null | import os
from collections import OrderedDict
import pytest
from indy_common.authorize.auth_constraints import AuthConstraint, IDENTITY_OWNER, AuthConstraintOr
from indy_common.test.auth.metadata.helper import set_auth_constraint, PLUGIN_FIELD, build_req_and_action, Action
from plenum.common.constants import TRUSTEE,... | 54.12037 | 148 | 0.586142 | 609 | 5,845 | 5.334975 | 0.155993 | 0.041551 | 0.055402 | 0.096953 | 0.869191 | 0.862111 | 0.848569 | 0.848569 | 0.848569 | 0.820252 | 0 | 0.011076 | 0.35124 | 5,845 | 107 | 149 | 54.626168 | 0.845728 | 0 | 0 | 0.681818 | 0 | 0.045455 | 0.137725 | 0 | 0 | 0 | 0 | 0 | 0.056818 | 1 | 0.056818 | false | 0 | 0.079545 | 0 | 0.136364 | 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 |
7629d48fd0957bc5bc602b45e10f06cb745fcb5a | 174 | py | Python | 0x04-python-more_data_structures/7-update_dictionary.py | coding-max/holbertonschool-higher_level_programming | 392fed1ae686642b6cca6bb6752050882bbf79fc | [
"MIT"
] | 1 | 2021-04-26T03:45:12.000Z | 2021-04-26T03:45:12.000Z | 0x04-python-more_data_structures/7-update_dictionary.py | coding-max/holbertonschool-higher_level_programming | 392fed1ae686642b6cca6bb6752050882bbf79fc | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/7-update_dictionary.py | coding-max/holbertonschool-higher_level_programming | 392fed1ae686642b6cca6bb6752050882bbf79fc | [
"MIT"
] | 1 | 2022-02-02T02:44:35.000Z | 2022-02-02T02:44:35.000Z | #!/usr/bin/python3
def update_dictionary(a_dictionary, key, value):
"replaces or adds key/value in a dictionary"
a_dictionary[key] = value
return (a_dictionary)
| 24.857143 | 48 | 0.724138 | 25 | 174 | 4.88 | 0.56 | 0.360656 | 0.344262 | 0.393443 | 0.47541 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.172414 | 174 | 6 | 49 | 29 | 0.840278 | 0.344828 | 0 | 0 | 0 | 0 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5207acee4876fca9a5de45333f4d2751e4051962 | 112,581 | py | Python | app/views.py | joelsegoviacrespo/control_aforo_migrado | be90d1d45a20f735e7ef20449c4ab91ca05b5d85 | [
"MIT"
] | null | null | null | app/views.py | joelsegoviacrespo/control_aforo_migrado | be90d1d45a20f735e7ef20449c4ab91ca05b5d85 | [
"MIT"
] | null | null | null | app/views.py | joelsegoviacrespo/control_aforo_migrado | be90d1d45a20f735e7ef20449c4ab91ca05b5d85 | [
"MIT"
] | null | null | null | from django.contrib.auth.decorators import login_required
from django.shortcuts import render, get_object_or_404, redirect
from django.template import loader
from django.http import HttpResponse, JsonResponse
from django import template
from camaras.models import Camaras
from camara_zona.models import CamaraZona
from d... | 44.340685 | 331 | 0.564367 | 12,336 | 112,581 | 4.931582 | 0.049043 | 0.071422 | 0.069235 | 0.017292 | 0.823821 | 0.805263 | 0.779193 | 0.768607 | 0.755507 | 0.733414 | 0 | 0.02798 | 0.312388 | 112,581 | 2,538 | 332 | 44.358156 | 0.757893 | 0.182509 | 0 | 0.64503 | 0 | 0 | 0.042997 | 0.005116 | 0 | 0 | 0 | 0.001182 | 0 | 1 | 0.032454 | false | 0.024341 | 0.027045 | 0.006085 | 0.098715 | 0.009466 | 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 |
521608e073991b01458150d880c5096574bb122c | 147 | py | Python | python-web/ModelFoms/books_app/books_app/book/admin.py | yosif88/SoftUni | ca1778ae9eb796b82e8d9f5882b6e7fdb0a96372 | [
"MIT"
] | null | null | null | python-web/ModelFoms/books_app/books_app/book/admin.py | yosif88/SoftUni | ca1778ae9eb796b82e8d9f5882b6e7fdb0a96372 | [
"MIT"
] | null | null | null | python-web/ModelFoms/books_app/books_app/book/admin.py | yosif88/SoftUni | ca1778ae9eb796b82e8d9f5882b6e7fdb0a96372 | [
"MIT"
] | null | null | null | from django.contrib import admin
from books_app.book.models import Book
@admin.register(Book)
class BookAdmin(admin.ModelAdmin):
pass | 18.375 | 39 | 0.755102 | 20 | 147 | 5.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170068 | 147 | 8 | 40 | 18.375 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 |
5254b03b879d86374fb9b3aa4089b4e77699942d | 26 | py | Python | vnpy/api/xtp/__init__.py | ChaunceyDong/vnpy | 1c1b683ffc1c842bb7661e8194eca61af30cf586 | [
"MIT"
] | 19,529 | 2015-03-02T12:17:35.000Z | 2022-03-31T17:18:27.000Z | vnpy/api/xtp/__init__.py | ChaunceyDong/vnpy | 1c1b683ffc1c842bb7661e8194eca61af30cf586 | [
"MIT"
] | 2,186 | 2015-03-04T23:16:33.000Z | 2022-03-31T03:44:01.000Z | vnpy/api/xtp/__init__.py | ChaunceyDong/vnpy | 1c1b683ffc1c842bb7661e8194eca61af30cf586 | [
"MIT"
] | 8,276 | 2015-03-02T05:21:04.000Z | 2022-03-31T13:13:13.000Z | from vnpy_xtp.api import * | 26 | 26 | 0.807692 | 5 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 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 |
525c970f6acae3bee957b43cb56fa17e7ecf2df3 | 48 | py | Python | hume/storage/local/__init__.py | open-home-iot/hume | 03755d86363dfce4e7521223795b90754f21a6d7 | [
"MIT"
] | 2 | 2021-12-27T15:14:42.000Z | 2021-12-27T15:14:48.000Z | hume/storage/local/__init__.py | open-home-iot/hume | 03755d86363dfce4e7521223795b90754f21a6d7 | [
"MIT"
] | 4 | 2019-08-03T08:58:15.000Z | 2021-06-09T15:49:49.000Z | hume/storage/local/__init__.py | megacorpincorporated/hume | 40093cc7e5e79dbac8386e2e5f7f7a41c7e516e8 | [
"MIT"
] | null | null | null | from .local_storage import LocalStorage # noqa
| 24 | 47 | 0.8125 | 6 | 48 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.926829 | 0.083333 | 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 |
bfe2b8cddb4896e8b25c7144daf7480541e64013 | 29 | py | Python | apps/products/permissions/__init__.py | Haizza1/RandomCameras-Backend | b679e2c685a9f9582f5f1a6b4c79c91c2328e326 | [
"MIT"
] | 1 | 2021-06-09T01:35:59.000Z | 2021-06-09T01:35:59.000Z | apps/products/permissions/__init__.py | Haizza1/RandomCameras-Backend | b679e2c685a9f9582f5f1a6b4c79c91c2328e326 | [
"MIT"
] | null | null | null | apps/products/permissions/__init__.py | Haizza1/RandomCameras-Backend | b679e2c685a9f9582f5f1a6b4c79c91c2328e326 | [
"MIT"
] | null | null | null | from .products import IsStaff | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 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 |
bfeaa0ad516ab21223ee4b4f12cff883f33a4049 | 686 | py | Python | api/permissions/roleplay.py | oil-rope/oil-and-rope | 6d59c87d4809f120417a90c1624952085486bb06 | [
"MIT"
] | 8 | 2019-08-27T20:08:22.000Z | 2021-07-23T22:49:47.000Z | api/permissions/roleplay.py | oil-rope/oil-and-rope | 6d59c87d4809f120417a90c1624952085486bb06 | [
"MIT"
] | 73 | 2020-03-11T18:07:29.000Z | 2022-03-28T18:07:47.000Z | api/permissions/roleplay.py | oil-rope/oil-and-rope | 6d59c87d4809f120417a90c1624952085486bb06 | [
"MIT"
] | 4 | 2020-02-22T19:44:17.000Z | 2022-03-08T09:42:45.000Z | from rest_framework import permissions
class IsInPlayersOrStaff(permissions.BasePermission):
def has_object_permission(self, request, view, obj) -> bool:
"""
Checks if user is staff or user in players.
"""
user = request.user
if user.is_staff:
return True
... | 22.129032 | 64 | 0.625364 | 80 | 686 | 5.2625 | 0.3875 | 0.057007 | 0.07601 | 0.123515 | 0.707838 | 0.707838 | 0.707838 | 0.707838 | 0.707838 | 0.707838 | 0 | 0 | 0.300292 | 686 | 30 | 65 | 22.866667 | 0.877083 | 0.134111 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.076923 | 0 | 0.692308 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
bff6edba013e415e8309849b12390227ff7b72da | 41 | py | Python | biosimulations_dispatch/sbatch/__init__.py | gmarupilla/Biosimulations_Dispatch | a6ac4061725214a9a0ab5ad7c033d00de13dcb5d | [
"MIT"
] | null | null | null | biosimulations_dispatch/sbatch/__init__.py | gmarupilla/Biosimulations_Dispatch | a6ac4061725214a9a0ab5ad7c033d00de13dcb5d | [
"MIT"
] | null | null | null | biosimulations_dispatch/sbatch/__init__.py | gmarupilla/Biosimulations_Dispatch | a6ac4061725214a9a0ab5ad7c033d00de13dcb5d | [
"MIT"
] | null | null | null | # TODO: Add Sbatch utils in this package
| 20.5 | 40 | 0.756098 | 7 | 41 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 1 | 41 | 41 | 0.939394 | 0.926829 | 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 |
872414a91700f084a49927d4f22922593fe8a639 | 49 | py | Python | python/extend_to_c/fastprime_test.py | zeroam/TIL | 43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1 | [
"MIT"
] | null | null | null | python/extend_to_c/fastprime_test.py | zeroam/TIL | 43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1 | [
"MIT"
] | null | null | null | python/extend_to_c/fastprime_test.py | zeroam/TIL | 43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1 | [
"MIT"
] | null | null | null | import fastprime
print(fastprime.kthPrime(10000)) | 24.5 | 32 | 0.857143 | 6 | 49 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0.040816 | 49 | 2 | 32 | 24.5 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
8739983584fb70543c979540490e065ea951e157 | 38 | py | Python | easy_spotify/__init__.py | OktarianTB/easy_spotify | 76fbc3cf668c264354d732b8773291eef2bb0f45 | [
"MIT"
] | null | null | null | easy_spotify/__init__.py | OktarianTB/easy_spotify | 76fbc3cf668c264354d732b8773291eef2bb0f45 | [
"MIT"
] | null | null | null | easy_spotify/__init__.py | OktarianTB/easy_spotify | 76fbc3cf668c264354d732b8773291eef2bb0f45 | [
"MIT"
] | null | null | null | from easy_spotify.main import Spotify
| 19 | 37 | 0.868421 | 6 | 38 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 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 |
5e8148677dde2553034fc1694b9c1b6cad5e2b0a | 125 | py | Python | vkbottle/framework/framework/handler/__init__.py | LouisPython217/vkbottle | 3541bbdb66f32c2d3567b0047c36b706ac72bb3b | [
"MIT"
] | null | null | null | vkbottle/framework/framework/handler/__init__.py | LouisPython217/vkbottle | 3541bbdb66f32c2d3567b0047c36b706ac72bb3b | [
"MIT"
] | null | null | null | vkbottle/framework/framework/handler/__init__.py | LouisPython217/vkbottle | 3541bbdb66f32c2d3567b0047c36b706ac72bb3b | [
"MIT"
] | null | null | null | from . import handler
from . import user
from .handler import Handler
from .middleware import Middleware, MiddlewareExecutor
| 25 | 54 | 0.824 | 15 | 125 | 6.866667 | 0.4 | 0.194175 | 0.330097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136 | 125 | 4 | 55 | 31.25 | 0.953704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
5e99b53c0d452a585225cbcea988bf7143dcd4e1 | 47 | py | Python | prototypes/tiles.py | ericl16384/botsBuildBots | 8aead6131273488a0b6e8096e931b5a645411e97 | [
"MIT"
] | null | null | null | prototypes/tiles.py | ericl16384/botsBuildBots | 8aead6131273488a0b6e8096e931b5a645411e97 | [
"MIT"
] | null | null | null | prototypes/tiles.py | ericl16384/botsBuildBots | 8aead6131273488a0b6e8096e931b5a645411e97 | [
"MIT"
] | 1 | 2021-02-07T03:01:13.000Z | 2021-02-07T03:01:13.000Z | # Imports
import classes
# Prototypes
pass
| 5.222222 | 14 | 0.723404 | 5 | 47 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 47 | 8 | 15 | 5.875 | 0.944444 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
5ea9a3fe498bd6dd14e3aebd2bbb0b4540ea3d3e | 40 | py | Python | CangJie/SE/__init__.py | bigdata-ustc/CangJie | a3264082fa0432d257b5c4722b14c55f9092a411 | [
"MIT"
] | 2 | 2020-03-04T02:27:29.000Z | 2020-05-22T04:07:24.000Z | CangJie/SE/__init__.py | bigdata-ustc/CangJie | a3264082fa0432d257b5c4722b14c55f9092a411 | [
"MIT"
] | null | null | null | CangJie/SE/__init__.py | bigdata-ustc/CangJie | a3264082fa0432d257b5c4722b14c55f9092a411 | [
"MIT"
] | 1 | 2022-03-12T00:31:59.000Z | 2022-03-12T00:31:59.000Z | # coding: utf-8
# 2020/1/8 @ tongshiwei
| 13.333333 | 23 | 0.65 | 7 | 40 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 0.175 | 40 | 2 | 24 | 20 | 0.575758 | 0.875 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ed2b172c2ccc809b8cb550f581cafaaafd7a985 | 7,849 | py | Python | tests/test_config_attributes.py | gaby/wireguard | 7270aa50f990b3c03a453622cbf05e39e4e08e60 | [
"MIT"
] | 11 | 2021-06-29T00:18:59.000Z | 2022-03-24T22:19:51.000Z | tests/test_config_attributes.py | gaby/wireguard | 7270aa50f990b3c03a453622cbf05e39e4e08e60 | [
"MIT"
] | 2 | 2021-11-28T18:17:30.000Z | 2022-01-03T01:44:47.000Z | tests/test_config_attributes.py | gaby/wireguard | 7270aa50f990b3c03a453622cbf05e39e4e08e60 | [
"MIT"
] | 7 | 2021-09-13T01:54:19.000Z | 2022-02-14T12:48:55.000Z |
import pytest
from unittest.mock import (
call,
mock_open,
patch,
)
from subnet import ip_network, IPv4Network, IPv4Address
from wireguard import (
Config,
ServerConfig,
Peer,
Server,
)
from wireguard.utils import IPAddressSet
def test_description():
address = '192.168.0.2'
pee... | 28.856618 | 176 | 0.627723 | 1,082 | 7,849 | 4.460259 | 0.100739 | 0.074596 | 0.011189 | 0.02901 | 0.804186 | 0.789474 | 0.789474 | 0.789474 | 0.776834 | 0.754869 | 0 | 0.034219 | 0.233023 | 7,849 | 271 | 177 | 28.9631 | 0.767442 | 0.128297 | 0 | 0.5 | 0 | 0.032258 | 0.269039 | 0.032513 | 0 | 0 | 0 | 0 | 0.16129 | 1 | 0.053763 | false | 0 | 0.026882 | 0 | 0.080645 | 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 |
0da8aad757e74d70971c56ba67a461ba8af30bb1 | 99 | py | Python | nesmdb/__init__.py | NotOkay3272/nesmdb3 | 42445848be59ee4501b69800fb6803271e4bb224 | [
"MIT"
] | null | null | null | nesmdb/__init__.py | NotOkay3272/nesmdb3 | 42445848be59ee4501b69800fb6803271e4bb224 | [
"MIT"
] | null | null | null | nesmdb/__init__.py | NotOkay3272/nesmdb3 | 42445848be59ee4501b69800fb6803271e4bb224 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from . import apu
from . import convert
from . import cycle
| 19.8 | 38 | 0.808081 | 14 | 99 | 5.357143 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 4 | 39 | 24.75 | 0.903614 | 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 |
0db0fbd84bad90ce99da18d32337d4c28d599c85 | 12,792 | py | Python | supriya/ugens/delay.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 191 | 2015-11-13T02:28:42.000Z | 2022-03-29T10:26:44.000Z | supriya/ugens/delay.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 130 | 2016-01-04T16:59:02.000Z | 2022-02-26T15:37:20.000Z | supriya/ugens/delay.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 22 | 2016-05-04T10:32:16.000Z | 2022-02-26T19:22:45.000Z | import collections
from supriya import CalculationRate
from supriya.synthdefs import PureUGen, UGen
class AllpassC(PureUGen):
"""
A cubic-interpolating allpass delay line unit generator.
::
>>> source = supriya.ugens.In.ar(bus=0)
>>> allpass_c = supriya.ugens.AllpassC.ar(source=source)
... | 23.38574 | 85 | 0.561445 | 1,288 | 12,792 | 5.375776 | 0.062888 | 0.055459 | 0.059214 | 0.06037 | 0.861352 | 0.861352 | 0.831311 | 0.784229 | 0.778307 | 0.778307 | 0 | 0.016333 | 0.296435 | 12,792 | 546 | 86 | 23.428571 | 0.753 | 0.386492 | 0 | 0.57868 | 0 | 0 | 0.130347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.030457 | 0.015228 | 0 | 0.350254 | 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 |
0dd543a187e78033060f7117d4c8653863cf15f7 | 18,971 | py | Python | tronx/modules/admin.py | TronUb/Tron | 55b5067a34cf2849913647533d7d035cab64568e | [
"MIT"
] | 4 | 2022-03-07T07:27:04.000Z | 2022-03-29T05:59:57.000Z | tronx/modules/admin.py | TronUb/Tron | 55b5067a34cf2849913647533d7d035cab64568e | [
"MIT"
] | null | null | null | tronx/modules/admin.py | TronUb/Tron | 55b5067a34cf2849913647533d7d035cab64568e | [
"MIT"
] | 3 | 2022-03-05T15:24:51.000Z | 2022-03-14T08:48:05.000Z | import time
import asyncio
import html
from datetime import datetime, timedelta
from pyrogram.types import Message, ChatPermissions
from pyrogram.errors import (
UserAdminInvalid,
UsernameInvalid,
UserNotParticipant,
UsernameNotOccupied,
)
from tronx import app, gen
app.CMD_HELP.update(
{"admin" : (
"adm... | 33.876786 | 145 | 0.685994 | 3,059 | 18,971 | 4.116051 | 0.067996 | 0.092129 | 0.082996 | 0.11945 | 0.841156 | 0.812962 | 0.78985 | 0.7638 | 0.749107 | 0.714081 | 0 | 0.008472 | 0.172474 | 18,971 | 559 | 146 | 33.937388 | 0.793172 | 0.001634 | 0 | 0.594533 | 0 | 0.002278 | 0.255848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002278 | false | 0 | 0.015945 | 0 | 0.157175 | 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 |
2176ce637b2bd17a5c8839cc010a502783fd8075 | 55 | py | Python | Waveforms/results/hSymmetric_2_0.py | keefemitman/PostNewtonian | 853d6577cb0002da5eebe1cb55f0c28fbc114324 | [
"MIT"
] | 18 | 2015-03-26T01:04:36.000Z | 2022-02-01T19:26:21.000Z | Waveforms/results/hSymmetric_2_0.py | keefemitman/PostNewtonian | 853d6577cb0002da5eebe1cb55f0c28fbc114324 | [
"MIT"
] | 4 | 2015-01-08T23:46:29.000Z | 2017-09-20T19:13:51.000Z | Waveforms/results/hSymmetric_2_0.py | keefemitman/PostNewtonian | 853d6577cb0002da5eebe1cb55f0c28fbc114324 | [
"MIT"
] | 3 | 2016-05-13T02:36:14.000Z | 2021-11-23T21:36:32.000Z | sqrt(30)*sqrt(pi)*nu*(-3*r(0)*v(0)**2 + 1)*v(0)**12/375 | 55 | 55 | 0.509091 | 16 | 55 | 1.75 | 0.75 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245283 | 0.036364 | 55 | 1 | 55 | 55 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 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 |
21eabc188d5d5da2a67651d5a8c2d252f25fd32f | 8,953 | py | Python | tests/library/mpi/redistribute_test.py | meshtag/dace | e6751ee6a4f6356b47b93065d43cefb3fd54ebaa | [
"BSD-3-Clause"
] | 1 | 2022-03-11T13:36:34.000Z | 2022-03-11T13:36:34.000Z | tests/library/mpi/redistribute_test.py | meshtag/dace | e6751ee6a4f6356b47b93065d43cefb3fd54ebaa | [
"BSD-3-Clause"
] | null | null | null | tests/library/mpi/redistribute_test.py | meshtag/dace | e6751ee6a4f6356b47b93065d43cefb3fd54ebaa | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2019-2022 ETH Zurich and the DaCe authors. All rights reserved.
import dace
from dace.sdfg import utils
import numpy as np
import pytest
@pytest.mark.mpi
def test_redistribute_matrix_2d_2d():
"""
_______________________ _______________________
| | | | | | ... | 35.527778 | 99 | 0.528985 | 1,108 | 8,953 | 3.472924 | 0.106498 | 0.108108 | 0.043659 | 0.049896 | 0.860187 | 0.817568 | 0.779626 | 0.754678 | 0.754678 | 0.694647 | 0 | 0.044605 | 0.336424 | 8,953 | 251 | 100 | 35.669323 | 0.603097 | 0.267843 | 0 | 0.673611 | 0 | 0 | 0.032802 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.138889 | 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 |
21fe45d5efa70f7699459dc77c19fdfe068e9cd1 | 88 | py | Python | posts/utils.py | patreeceeo/showposter | 8fbbd038c9819a4b523fb1c9e7b646bfcb19bb44 | [
"MIT"
] | null | null | null | posts/utils.py | patreeceeo/showposter | 8fbbd038c9819a4b523fb1c9e7b646bfcb19bb44 | [
"MIT"
] | 7 | 2021-03-18T22:36:20.000Z | 2022-03-12T00:25:46.000Z | posts/utils.py | patreeceeo/showposter | 8fbbd038c9819a4b523fb1c9e7b646bfcb19bb44 | [
"MIT"
] | null | null | null | import secrets
def get_slug(length=7):
return secrets.token_urlsafe()[:length]
| 9.777778 | 43 | 0.715909 | 12 | 88 | 5.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.170455 | 88 | 8 | 44 | 11 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1d0143420003fadfbb0a13e41b1f92a27c402bf3 | 30,199 | py | Python | spark_fhir_schemas/r4/resources/compartmentdefinition.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/resources/compartmentdefinition.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/resources/compartmentdefinition.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import (
StructType,
StructField,
StringType,
ArrayType,
BooleanType,
DataType,
)
# This file is auto-generated by generate_schema so do not edit it manually
# noinspection PyPep8Naming
class CompartmentDefinitionSchema:
"""
... | 53.449558 | 104 | 0.571277 | 2,954 | 30,199 | 5.646581 | 0.128639 | 0.046763 | 0.029676 | 0.043165 | 0.843106 | 0.831055 | 0.8247 | 0.796703 | 0.796703 | 0.791667 | 0 | 0.002274 | 0.388523 | 30,199 | 564 | 105 | 53.544326 | 0.901007 | 0.356899 | 0 | 0.642857 | 0 | 0 | 0.02988 | 0.004552 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002747 | false | 0 | 0.038462 | 0 | 0.049451 | 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 |
1d09fea47ba605fe28c960c26a5fe85a628caf58 | 158 | py | Python | aiohttp_charts/utils/path.py | nanvel/aiohttp-charts | 1d9e1bccaf886fdd9641e41cd13fb0f1586865b5 | [
"MIT"
] | null | null | null | aiohttp_charts/utils/path.py | nanvel/aiohttp-charts | 1d9e1bccaf886fdd9641e41cd13fb0f1586865b5 | [
"MIT"
] | null | null | null | aiohttp_charts/utils/path.py | nanvel/aiohttp-charts | 1d9e1bccaf886fdd9641e41cd13fb0f1586865b5 | [
"MIT"
] | null | null | null | import os.path
PROJECT_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')
def rel(*path):
return os.path.join(PROJECT_ROOT, *path)
| 17.555556 | 77 | 0.696203 | 25 | 158 | 4.16 | 0.48 | 0.288462 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120253 | 158 | 8 | 78 | 19.75 | 0.748201 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
df3bdec335bfc5860301a9b66320993d79e85ba5 | 47 | py | Python | resources/scripts/import_mpl.py | rkrishnasanka/cello | 27f6354f41cd2997610e79e2a41ded61f2c3fa91 | [
"BSD-2-Clause"
] | 786 | 2016-03-31T20:08:42.000Z | 2022-03-26T21:50:11.000Z | resources/scripts/import_mpl.py | rkrishnasanka/cello | 27f6354f41cd2997610e79e2a41ded61f2c3fa91 | [
"BSD-2-Clause"
] | 42 | 2016-04-03T19:15:10.000Z | 2021-02-03T19:27:07.000Z | resources/scripts/import_mpl.py | rkrishnasanka/cello | 27f6354f41cd2997610e79e2a41ded61f2c3fa91 | [
"BSD-2-Clause"
] | 164 | 2016-04-01T12:00:09.000Z | 2022-01-17T19:02:38.000Z | import matplotlib as mpl
print mpl.__version__
| 15.666667 | 24 | 0.851064 | 7 | 47 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 2 | 25 | 23.5 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
df62962080da80cb87c43300da26281ad7d21daa | 38 | py | Python | app/template_db/template_engine/connectors/pdf_publiposting/__init__.py | Plawn/petit_publipost_gateway | e0a09207ae5bcad1623f8e7662e004ad9b59ffbe | [
"Apache-2.0"
] | null | null | null | app/template_db/template_engine/connectors/pdf_publiposting/__init__.py | Plawn/petit_publipost_gateway | e0a09207ae5bcad1623f8e7662e004ad9b59ffbe | [
"Apache-2.0"
] | 7 | 2021-06-22T09:48:59.000Z | 2022-01-10T16:08:00.000Z | app/template_db/template_engine/connectors/pdf_publiposting/__init__.py | Plawn/petit_publiposter | e0a09207ae5bcad1623f8e7662e004ad9b59ffbe | [
"Apache-2.0"
] | null | null | null | from .pdf_template import PDFTemplator | 38 | 38 | 0.894737 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 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 |
df8deb0a9683910b45d253ef5837a30bba3b6b13 | 133 | py | Python | implicit/__init__.py | EthanRosenthal/implicit | ad2be694a9da6411732a939f5a959c9856050ae7 | [
"MIT"
] | 16 | 2016-10-29T13:19:08.000Z | 2022-03-16T14:13:58.000Z | implicit/__init__.py | BHamoudeh/implicit | ad2be694a9da6411732a939f5a959c9856050ae7 | [
"MIT"
] | null | null | null | implicit/__init__.py | BHamoudeh/implicit | ad2be694a9da6411732a939f5a959c9856050ae7 | [
"MIT"
] | 12 | 2016-10-25T14:33:26.000Z | 2022-03-21T06:47:14.000Z | from .implicit import alternating_least_squares, ALS
__version__ = '0.1.4'
__all__ = [alternating_least_squares, ALS, __version__]
| 22.166667 | 55 | 0.796992 | 17 | 133 | 5.294118 | 0.705882 | 0.355556 | 0.511111 | 0.577778 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025424 | 0.112782 | 133 | 5 | 56 | 26.6 | 0.737288 | 0 | 0 | 0 | 0 | 0 | 0.037594 | 0 | 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 |
10d945c3a912107ec945d407524c2bd518e2bed3 | 97 | py | Python | p2p/__init__.py | zixuanzh/py-evm | de05e73036c663e85083316bc503549044792892 | [
"MIT"
] | null | null | null | p2p/__init__.py | zixuanzh/py-evm | de05e73036c663e85083316bc503549044792892 | [
"MIT"
] | null | null | null | p2p/__init__.py | zixuanzh/py-evm | de05e73036c663e85083316bc503549044792892 | [
"MIT"
] | null | null | null | # This is to ensure we call setup_trace_logging() before anything else.
import evm # noqa: F401
| 32.333333 | 71 | 0.762887 | 16 | 97 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 0.175258 | 97 | 2 | 72 | 48.5 | 0.8625 | 0.824742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d5072fcc6cb2c5fd881535e2dbdfbfdc3fe84184 | 22,650 | py | Python | tests/test_alara.py | makoziol0/pyne | 660b1bdd608d9b227d6a432737303f7e82af4a25 | [
"MIT"
] | null | null | null | tests/test_alara.py | makoziol0/pyne | 660b1bdd608d9b227d6a432737303f7e82af4a25 | [
"MIT"
] | 58 | 2019-01-07T16:13:26.000Z | 2019-05-09T15:56:26.000Z | tests/test_alara.py | makoziol0/pyne | 660b1bdd608d9b227d6a432737303f7e82af4a25 | [
"MIT"
] | null | null | null | """alara module tests"""
import os
import nose
import subprocess
from nose.tools import assert_almost_equal
from nose.tools import assert_equal, assert_true, with_setup
from nose.plugins.skip import SkipTest
import numpy as np
from numpy.testing import assert_array_equal
import tables as tb
import warnings
import file... | 34.953704 | 81 | 0.548124 | 3,154 | 22,650 | 3.746988 | 0.095434 | 0.0154 | 0.023693 | 0.027331 | 0.825436 | 0.807836 | 0.795312 | 0.783297 | 0.772889 | 0.766119 | 0 | 0.103647 | 0.301413 | 22,650 | 647 | 82 | 35.007728 | 0.643241 | 0.044768 | 0 | 0.652928 | 0 | 0 | 0.087782 | 0.016015 | 0 | 0 | 0 | 0 | 0.104121 | 1 | 0.032538 | false | 0 | 0.034707 | 0 | 0.067245 | 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 |
d50ed916ac257773d6677b1889312e1fd159226a | 36 | py | Python | core/tests/utils/callers/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | core/tests/utils/callers/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | core/tests/utils/callers/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | from .base_caller import BaseCaller
| 18 | 35 | 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 |
d513ad0fa63e416ea4756d93260cdbdf42a7ce43 | 137 | py | Python | tests/missing_data/test_missing_data_air_passengers_Interpolate_Median.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/missing_data/test_missing_data_air_passengers_Interpolate_Median.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/missing_data/test_missing_data_air_passengers_Interpolate_Median.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.missing_data.test_missing_data_air_passengers_generic as gen
gen.test_air_passengers_missing_data('Interpolate', 'Median')
| 34.25 | 73 | 0.875912 | 20 | 137 | 5.5 | 0.6 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051095 | 137 | 3 | 74 | 45.666667 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.124088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
1d475fae8de43628fe2f08410f164eea3eb03a56 | 14,953 | py | Python | compare_stats.py | tkent198/modRSW_EnKF | fc9f0bcc6f753a05fed245d4d2987cd3a34078ad | [
"MIT"
] | 3 | 2019-10-11T09:30:59.000Z | 2021-11-05T08:39:19.000Z | compare_stats.py | tkent198/modRSW_EnKF | fc9f0bcc6f753a05fed245d4d2987cd3a34078ad | [
"MIT"
] | null | null | null | compare_stats.py | tkent198/modRSW_EnKF | fc9f0bcc6f753a05fed245d4d2987cd3a34078ad | [
"MIT"
] | 5 | 2017-09-03T18:16:26.000Z | 2021-11-05T08:39:24.000Z | ##################################################################
# Summary diagnostics of idealised enkf experiments
# inc. summary plots a la Poterjoy and Zhang
##################################################################
'''
Each directory has i*j*k experiments with different parameter combinations. This... | 35.100939 | 179 | 0.594864 | 2,655 | 14,953 | 3.153672 | 0.077966 | 0.034635 | 0.025081 | 0.040129 | 0.792667 | 0.774752 | 0.765675 | 0.743581 | 0.724472 | 0.718261 | 0 | 0.033981 | 0.118304 | 14,953 | 426 | 180 | 35.100939 | 0.601107 | 0.113623 | 0 | 0.578755 | 0 | 0 | 0.081327 | 0.004135 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.021978 | null | null | 0.080586 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1da76cde90485a852c5d0ab3877006e9c49ec009 | 105 | py | Python | obsidion/cogs/info/__init__.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-02-29T22:37:01.000Z | 2020-02-29T22:37:01.000Z | obsidion/cogs/info/__init__.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-03-27T05:49:37.000Z | 2020-03-27T05:51:25.000Z | obsidion/cogs/info/__init__.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-03-27T05:53:17.000Z | 2020-03-27T05:53:17.000Z | """Info."""
from .info import Info
def setup(bot) -> None:
"""Setup."""
bot.add_cog(Info(bot))
| 13.125 | 26 | 0.561905 | 15 | 105 | 3.866667 | 0.6 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 105 | 7 | 27 | 15 | 0.690476 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d561f4f916cb858a59cdf7cac23c702050823c1f | 155 | py | Python | discum/gateway/__init__.py | firewood-b/Discord-S.C.U.M | 1beb8c25ab245a1389431a5206eafb9b4a95df0f | [
"MIT"
] | null | null | null | discum/gateway/__init__.py | firewood-b/Discord-S.C.U.M | 1beb8c25ab245a1389431a5206eafb9b4a95df0f | [
"MIT"
] | null | null | null | discum/gateway/__init__.py | firewood-b/Discord-S.C.U.M | 1beb8c25ab245a1389431a5206eafb9b4a95df0f | [
"MIT"
] | null | null | null | from .event import *
from .gateway import *
from .parse import *
from .request import *
from .response import *
from .session import *
from .types import * | 22.142857 | 23 | 0.735484 | 21 | 155 | 5.428571 | 0.428571 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174194 | 155 | 7 | 24 | 22.142857 | 0.890625 | 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 |
d56556f3aaeff55e98df45ccc55ec1ec0bb111ce | 49,412 | py | Python | Code_HPC/Sparcle.py | sandhya212/Sparcle_for_spot_reassignments | 6de771bab2dab0c40aa14b8cb7f4e1774394d9bc | [
"MIT"
] | 1 | 2021-02-16T16:22:03.000Z | 2021-02-16T16:22:03.000Z | Code_HPC/Sparcle.py | sandhya212/Sparcle_for_spot_reassignments | 6de771bab2dab0c40aa14b8cb7f4e1774394d9bc | [
"MIT"
] | 1 | 2021-04-12T10:15:49.000Z | 2021-04-13T15:00:37.000Z | Code_HPC/Sparcle.py | sandhya212/Sparcle_for_spot_reassignments | 6de771bab2dab0c40aa14b8cb7f4e1774394d9bc | [
"MIT"
] | null | null | null | ## Merfish assignment code
## Code author SP
##
##
## 5th Feb 2019 - clustering methods
## 6th Feb 2019 - cluster moments extraction
## 9th Feb 2019 - normality tests check, find nearest cells to an mRNA
## 10th Feb 2019 - adding Gaussian copula to work with marginals
## 10th Mar 2019 - loop added to take in multiple F... | 39.656501 | 245 | 0.604408 | 7,757 | 49,412 | 3.615444 | 0.069486 | 0.027599 | 0.02874 | 0.010697 | 0.813764 | 0.77258 | 0.73703 | 0.725691 | 0.703584 | 0.685719 | 0 | 0.033193 | 0.239699 | 49,412 | 1,245 | 246 | 39.688353 | 0.71332 | 0.237999 | 0 | 0.61658 | 0 | 0 | 0.072457 | 0.024251 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006908 | false | 0 | 0 | 0 | 0.01209 | 0.112263 | 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 |
d57da9de211b8a215dc7a2219e0142665bdbed84 | 31 | py | Python | djtest/djtest/settings.py | petroleyum/dj2example | 459fe77d72bd2c0a4e0cb583927839344e39e0de | [
"Apache-2.0"
] | null | null | null | djtest/djtest/settings.py | petroleyum/dj2example | 459fe77d72bd2c0a4e0cb583927839344e39e0de | [
"Apache-2.0"
] | null | null | null | djtest/djtest/settings.py | petroleyum/dj2example | 459fe77d72bd2c0a4e0cb583927839344e39e0de | [
"Apache-2.0"
] | null | null | null | from .default_settings import * | 31 | 31 | 0.83871 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.892857 | 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 |
63452017db8d3639d13554b995b2b32b9b15941c | 5,945 | py | Python | skcv.py | jjepsuomi/LPO-SCV | 168be0f8d284f1716be5861e5699b14e6b924732 | [
"MIT"
] | null | null | null | skcv.py | jjepsuomi/LPO-SCV | 168be0f8d284f1716be5861e5699b14e6b924732 | [
"MIT"
] | null | null | null | skcv.py | jjepsuomi/LPO-SCV | 168be0f8d284f1716be5861e5699b14e6b924732 | [
"MIT"
] | null | null | null | def warn(*args, **kwargs):
pass
import warnings
warnings.warn = warn
import numpy as np
from rlscore.learner import RLS
from sklearn.neighbors.regression import KNeighborsRegressor
from rlscore.measure import cindex
from rlscore.utilities.cross_validation import random_folds
from utils import distanceMatri... | 49.132231 | 116 | 0.643566 | 703 | 5,945 | 5.344239 | 0.226174 | 0.029811 | 0.027682 | 0.0181 | 0.816609 | 0.795848 | 0.795848 | 0.754325 | 0.738355 | 0.721853 | 0 | 0.004331 | 0.223213 | 5,945 | 120 | 117 | 49.541667 | 0.809225 | 0.041043 | 0 | 0.685714 | 0 | 0 | 0.378529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0.009524 | 0.066667 | 0 | 0.114286 | 0.057143 | 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 |
635739029debab13876c10161662d411d7e6178e | 9,392 | py | Python | tests/data_generator/tests_varr_sorting.py | usert5432/vlne | e3cafd30ecce3a2dbc4a37cc4257d07fb1a1785d | [
"MIT"
] | null | null | null | tests/data_generator/tests_varr_sorting.py | usert5432/vlne | e3cafd30ecce3a2dbc4a37cc4257d07fb1a1785d | [
"MIT"
] | null | null | null | tests/data_generator/tests_varr_sorting.py | usert5432/vlne | e3cafd30ecce3a2dbc4a37cc4257d07fb1a1785d | [
"MIT"
] | null | null | null | """Test correctness of the prong sorting by the `DataProngSorter` decorator"""
import unittest
import numpy as np
from vlne.data.data_generator import DataProngSorter
from .tests_data_generator_base import (
DictLoader, DataGenerator, TestsDataGeneratorBase
)
class TestsVarrSorting(TestsDataGeneratorBase, unitt... | 31.945578 | 78 | 0.425894 | 1,140 | 9,392 | 3.294737 | 0.065789 | 0.09345 | 0.039936 | 0.047923 | 0.82721 | 0.809638 | 0.79606 | 0.789137 | 0.761182 | 0.740415 | 0 | 0.094669 | 0.384796 | 9,392 | 293 | 79 | 32.054608 | 0.555382 | 0.077726 | 0 | 0.495496 | 0 | 0 | 0.074263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045045 | false | 0 | 0.018018 | 0 | 0.072072 | 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 |
6364e1e96fc00634802574bde6e4578f8d0baa02 | 73 | py | Python | AltZSC/__init__.py | PrithivirajDamodaran/Alt-ZSC | 3e487742a0b4d742e25959871e0b96b54ffc4777 | [
"MIT"
] | 33 | 2022-03-05T10:17:46.000Z | 2022-03-17T11:32:22.000Z | AltZSC/__init__.py | techthiyanes/Alt-ZSC | f3338d8380055608bf12090224794fc70df289ea | [
"MIT"
] | 1 | 2022-03-14T14:36:33.000Z | 2022-03-20T12:12:05.000Z | AltZSC/__init__.py | techthiyanes/Alt-ZSC | f3338d8380055608bf12090224794fc70df289ea | [
"MIT"
] | 3 | 2022-03-06T03:36:11.000Z | 2022-03-12T16:38:39.000Z | from AltZSC.ZeroShotTextClassification import ZeroShotTextClassification
| 36.5 | 72 | 0.931507 | 5 | 73 | 13.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 73 | 1 | 73 | 73 | 0.985507 | 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 |
63bb88378cc43a8b0e73ecf4b840e4064dbdd70d | 24 | py | Python | rwmutex/__init__.py | BenJetson/py-rwmutex | 5890b1089336569ca7f25dbb0a21a9e299010954 | [
"MIT"
] | null | null | null | rwmutex/__init__.py | BenJetson/py-rwmutex | 5890b1089336569ca7f25dbb0a21a9e299010954 | [
"MIT"
] | null | null | null | rwmutex/__init__.py | BenJetson/py-rwmutex | 5890b1089336569ca7f25dbb0a21a9e299010954 | [
"MIT"
] | null | null | null | from .mux import RWLock
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 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 |
898b5a8b195bba5ed1cb3161e334bbfe9902c98d | 8,761 | py | Python | monitoring/prober/rid/v2/test_subscription_validation.py | interuss/InterUSS-Platform | 099abaa1159c4c143f8f1fde6b88956c86608281 | [
"Apache-2.0"
] | null | null | null | monitoring/prober/rid/v2/test_subscription_validation.py | interuss/InterUSS-Platform | 099abaa1159c4c143f8f1fde6b88956c86608281 | [
"Apache-2.0"
] | null | null | null | monitoring/prober/rid/v2/test_subscription_validation.py | interuss/InterUSS-Platform | 099abaa1159c4c143f8f1fde6b88956c86608281 | [
"Apache-2.0"
] | null | null | null |
"""Subscription input validation tests:
- check we can't create too many SUBS (common.MAX_SUBS_PER_AREA)
- check we can't create the SUB with a huge area
- check we can't create the SUB with missing fields
- check we can't create the SUB with a time_start in the past
- check we can't create the SUB with a ti... | 36.810924 | 118 | 0.572766 | 1,002 | 8,761 | 4.720559 | 0.131737 | 0.038055 | 0.044397 | 0.050317 | 0.803806 | 0.790698 | 0.77167 | 0.761522 | 0.735518 | 0.705074 | 0 | 0.035059 | 0.303276 | 8,761 | 237 | 119 | 36.966245 | 0.739843 | 0.068828 | 0 | 0.651282 | 0 | 0 | 0.111672 | 0 | 0 | 0 | 0 | 0 | 0.071795 | 1 | 0.041026 | false | 0.010256 | 0.030769 | 0 | 0.071795 | 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 |
98437bb0f81b8df120b7d6b7337b22020fdf5792 | 185 | py | Python | lagom/experiment/__init__.py | lkylych/lagom | 64777be7f09136072a671c444b5b3fbbcb1b2f18 | [
"MIT"
] | null | null | null | lagom/experiment/__init__.py | lkylych/lagom | 64777be7f09136072a671c444b5b3fbbcb1b2f18 | [
"MIT"
] | null | null | null | lagom/experiment/__init__.py | lkylych/lagom | 64777be7f09136072a671c444b5b3fbbcb1b2f18 | [
"MIT"
] | null | null | null | from .config import Config
from .base_experiment_worker import BaseExperimentWorker
from .base_experiment_master import BaseExperimentMaster
from .run_experiment import run_experiment | 30.833333 | 56 | 0.886486 | 22 | 185 | 7.181818 | 0.454545 | 0.101266 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091892 | 185 | 6 | 57 | 30.833333 | 0.940476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
989900402cc02df789827561dda1476d0da8d910 | 102 | py | Python | mitreattack/collections/__init__.py | wetkind/mitreattack-python | f2406cac6b8d104d280712fccf9c50637ae05fbb | [
"Apache-2.0"
] | 137 | 2021-04-06T17:40:20.000Z | 2022-03-30T18:27:44.000Z | mitreattack/collections/__init__.py | wetkind/mitreattack-python | f2406cac6b8d104d280712fccf9c50637ae05fbb | [
"Apache-2.0"
] | 33 | 2021-04-07T13:41:39.000Z | 2022-03-25T14:37:40.000Z | mitreattack/collections/__init__.py | wetkind/mitreattack-python | f2406cac6b8d104d280712fccf9c50637ae05fbb | [
"Apache-2.0"
] | 29 | 2021-04-06T21:14:40.000Z | 2022-03-31T15:26:27.000Z | from .index_to_markdown import *
from .collection_to_index import *
from .stix_to_collection import *
| 25.5 | 34 | 0.823529 | 15 | 102 | 5.2 | 0.466667 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 3 | 35 | 34 | 0.866667 | 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 |
98b49f7936c759abc738eed1e33c65a368e50215 | 2,938 | py | Python | tests/test_wps_generic_raster_subset.py | fossabot/raven | b5ed6258a4c09ac4d132873d6b8b4a1d82d2131b | [
"MIT"
] | 29 | 2018-08-13T20:16:41.000Z | 2022-03-17T02:31:38.000Z | tests/test_wps_generic_raster_subset.py | fossabot/raven | b5ed6258a4c09ac4d132873d6b8b4a1d82d2131b | [
"MIT"
] | 359 | 2018-05-31T00:37:53.000Z | 2022-03-26T04:35:43.000Z | tests/test_wps_generic_raster_subset.py | fossabot/raven | b5ed6258a4c09ac4d132873d6b8b4a1d82d2131b | [
"MIT"
] | 10 | 2019-06-17T18:07:46.000Z | 2022-02-15T02:01:32.000Z | import tempfile
import rasterio as rio
from metalink import download as md
from pywps import Service
from pywps.tests import assert_response_success
from ravenpy.utilities.testdata import get_local_testdata
from raven.processes import RasterSubsetProcess
from .common import CFG_FILE, client_for, get_output
class T... | 29.38 | 74 | 0.575221 | 306 | 2,938 | 5.346405 | 0.294118 | 0.04401 | 0.0489 | 0.041565 | 0.757946 | 0.757946 | 0.757946 | 0.757946 | 0.757946 | 0.757946 | 0 | 0.008893 | 0.311096 | 2,938 | 99 | 75 | 29.676768 | 0.799407 | 0 | 0 | 0.716049 | 0 | 0 | 0.162015 | 0.126617 | 0 | 0 | 0 | 0 | 0.135802 | 1 | 0.024691 | false | 0 | 0.098765 | 0 | 0.135802 | 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 |
7f2f51ab1949018c4edefec9f5e3a4af7b77cb25 | 61 | py | Python | config/__init__.py | yonjansanjay8888/Sanjay-Lama | 5243a492a2db4c71634b6ddc51a34b90ab51ef44 | [
"MIT"
] | 1 | 2018-02-18T04:22:40.000Z | 2018-02-18T04:22:40.000Z | config/__init__.py | yonjansanjay8888/Sanjay-Lama | 5243a492a2db4c71634b6ddc51a34b90ab51ef44 | [
"MIT"
] | null | null | null | config/__init__.py | yonjansanjay8888/Sanjay-Lama | 5243a492a2db4c71634b6ddc51a34b90ab51ef44 | [
"MIT"
] | null | null | null | from .config import Config
from .dev_config import DevConfig
| 20.333333 | 33 | 0.836066 | 9 | 61 | 5.555556 | 0.555556 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 34 | 30.5 | 0.943396 | 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 |
7f70b4af63c7a2291b3084071c121aa054ab10d3 | 6,633 | py | Python | resources.py | elitonfilho/deleteFeatures | 55860c91b83f77d6975688fd7edd6e133bba369b | [
"MIT"
] | null | null | null | resources.py | elitonfilho/deleteFeatures | 55860c91b83f77d6975688fd7edd6e133bba369b | [
"MIT"
] | 4 | 2020-02-18T14:42:24.000Z | 2020-02-19T13:05:42.000Z | resources.py | elitonfilho/deleteFeatures | 55860c91b83f77d6975688fd7edd6e133bba369b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.14.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x01\xe5\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x... | 46.384615 | 129 | 0.725464 | 1,521 | 6,633 | 3.138725 | 0.190664 | 0.237537 | 0.197947 | 0.123167 | 0.549225 | 0.538542 | 0.511311 | 0.506912 | 0.496858 | 0.496858 | 0 | 0.359207 | 0.034675 | 6,633 | 142 | 130 | 46.711268 | 0.386381 | 0.022916 | 0 | 0.261905 | 0 | 0.642857 | 0.000154 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.015873 | false | 0 | 0.007937 | 0 | 0.02381 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6827bc18d5b55605c2e335e75a5503e7adac16c | 20,156 | py | Python | tests/graph/terraform/graph_builder/graph_components/test_blocks.py | ismailyenigul/checkov | b65daa796e166568fdd02591ab5232e567f4cd36 | [
"Apache-2.0"
] | 5 | 2021-07-29T18:08:40.000Z | 2022-03-21T04:39:32.000Z | tests/graph/terraform/graph_builder/graph_components/test_blocks.py | ismailyenigul/checkov | b65daa796e166568fdd02591ab5232e567f4cd36 | [
"Apache-2.0"
] | null | null | null | tests/graph/terraform/graph_builder/graph_components/test_blocks.py | ismailyenigul/checkov | b65daa796e166568fdd02591ab5232e567f4cd36 | [
"Apache-2.0"
] | 2 | 2021-08-23T13:25:36.000Z | 2021-11-05T21:44:52.000Z | from unittest import TestCase
from checkov.terraform.graph_builder.graph_components.block_types import BlockType
from checkov.terraform.graph_builder.graph_components.blocks import Block
class TestBlocks(TestCase):
def test_update_inner_attribute_1(self):
config = {'aws_security_group': {
'te... | 107.212766 | 2,786 | 0.564497 | 1,956 | 20,156 | 5.557771 | 0.101227 | 0.014902 | 0.0287 | 0.035323 | 0.830742 | 0.791831 | 0.718609 | 0.656701 | 0.623862 | 0.601325 | 0 | 0.014098 | 0.285622 | 20,156 | 187 | 2,787 | 107.786096 | 0.740885 | 0 | 0 | 0.283133 | 0 | 0.192771 | 0.509476 | 0.382566 | 0 | 0 | 0 | 0 | 0.084337 | 1 | 0.042169 | false | 0 | 0.018072 | 0 | 0.066265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
f6945e590bd971b136eb7c0e2841942f95cf8730 | 5,945 | py | Python | test_autolens/unit/pipeline/phase/dataset/test_result_dataset.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | test_autolens/unit/pipeline/phase/dataset/test_result_dataset.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | test_autolens/unit/pipeline/phase/dataset/test_result_dataset.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | from os import path
import autolens as al
import numpy as np
import pytest
from autolens.mock import mock
pytestmark = pytest.mark.filterwarnings(
"ignore:Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of "
"`arr[seq]`. In the future this will be... | 36.25 | 119 | 0.639865 | 676 | 5,945 | 5.400888 | 0.183432 | 0.071213 | 0.065735 | 0.051767 | 0.800055 | 0.800055 | 0.783073 | 0.751849 | 0.72172 | 0.707204 | 0 | 0.031717 | 0.257527 | 5,945 | 163 | 120 | 36.472393 | 0.795424 | 0 | 0 | 0.570248 | 0 | 0.016529 | 0.05863 | 0.003805 | 0 | 0 | 0 | 0 | 0.07438 | 1 | 0.033058 | false | 0 | 0.041322 | 0 | 0.082645 | 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 |
f6b02273806f5ec0ed4568a44dee2253fcfc939a | 45 | py | Python | nxtools/caspar/__init__.py | immstudios/nxtools | 3a9e911fe141b989d8163cf50327a2c190a248bd | [
"MIT"
] | 2 | 2020-02-24T18:43:17.000Z | 2022-02-15T12:32:50.000Z | nxtools/caspar/__init__.py | immstudios/nxtools | 3a9e911fe141b989d8163cf50327a2c190a248bd | [
"MIT"
] | null | null | null | nxtools/caspar/__init__.py | immstudios/nxtools | 3a9e911fe141b989d8163cf50327a2c190a248bd | [
"MIT"
] | 2 | 2020-04-27T22:12:33.000Z | 2020-08-04T03:53:38.000Z | from .caspar import CasparCG, CasparResponse
| 22.5 | 44 | 0.844444 | 5 | 45 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.95 | 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 |
f6fd6818e17f233d898e521697b1f47c2c4caa0b | 260 | py | Python | clients/oathkeeper/python/ory_oathkeeper_client/api/__init__.py | mojotalantikite/sdk | 00fc86e98570e88911cfc66ce76637f8f1ac9dbe | [
"Apache-2.0"
] | null | null | null | clients/oathkeeper/python/ory_oathkeeper_client/api/__init__.py | mojotalantikite/sdk | 00fc86e98570e88911cfc66ce76637f8f1ac9dbe | [
"Apache-2.0"
] | null | null | null | clients/oathkeeper/python/ory_oathkeeper_client/api/__init__.py | mojotalantikite/sdk | 00fc86e98570e88911cfc66ce76637f8f1ac9dbe | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from ory_oathkeeper_client.api.api_api import ApiApi
from ory_oathkeeper_client.api.health_api import HealthApi
from ory_oathkeeper_client.api.version_api import VersionApi
| 28.888889 | 60 | 0.861538 | 39 | 260 | 5.384615 | 0.461538 | 0.1 | 0.242857 | 0.328571 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004292 | 0.103846 | 260 | 8 | 61 | 32.5 | 0.896996 | 0.157692 | 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 |
101895c2d847ae020ebdb7fe1a75081bb4e8fa88 | 366 | py | Python | ggpy/cruft/autocode/GdlLiteral.py | hobson/ggpy | 4e6e6e876c3a4294cd711647051da2d9c1836b60 | [
"MIT"
] | 1 | 2015-01-26T19:07:45.000Z | 2015-01-26T19:07:45.000Z | ggpy/cruft/autocode/GdlLiteral.py | hobson/ggpy | 4e6e6e876c3a4294cd711647051da2d9c1836b60 | [
"MIT"
] | null | null | null | ggpy/cruft/autocode/GdlLiteral.py | hobson/ggpy | 4e6e6e876c3a4294cd711647051da2d9c1836b60 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
""" generated source for module GdlLiteral """
# package: org.ggp.base.util.gdl.grammar
@SuppressWarnings("serial")
class GdlLiteral(Gdl):
""" generated source for class GdlLiteral """
def isGround(self):
""" generated source for method isGround """
def __str__(self):
... | 28.153846 | 52 | 0.672131 | 42 | 366 | 5.761905 | 0.595238 | 0.247934 | 0.297521 | 0.181818 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191257 | 366 | 12 | 53 | 30.5 | 0.817568 | 0.584699 | 0 | 0 | 1 | 0 | 0.048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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.