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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
368572a119fa4f6ce809593971ccc84e309ef4bb | 85 | py | Python | node_editor/dataframe_model/header_names_view.py | lcopey/node_editor | 04d56ae4c7f2149e46903d5dd2e46f3906ef69e6 | [
"MIT"
] | 1 | 2021-04-30T11:28:42.000Z | 2021-04-30T11:28:42.000Z | node_editor/dataframe_model/header_names_view.py | lcopey/node_editor | 04d56ae4c7f2149e46903d5dd2e46f3906ef69e6 | [
"MIT"
] | null | null | null | node_editor/dataframe_model/header_names_view.py | lcopey/node_editor | 04d56ae4c7f2149e46903d5dd2e46f3906ef69e6 | [
"MIT"
] | null | null | null | from PyQt5.QtWidgets import QTableView
class HeaderNamesView(QTableView):
pass
| 14.166667 | 38 | 0.8 | 9 | 85 | 7.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.152941 | 85 | 5 | 39 | 17 | 0.930556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
36c324a00b6440488e8f4bc409e36ca42a9462e3 | 97 | py | Python | path_based/__init__.py | lcit/metrics_delin | 30f1ad9ccc901e63770f39a80b0e1ec6bbfb34d9 | [
"MIT"
] | 8 | 2021-01-25T07:34:04.000Z | 2022-03-18T10:29:20.000Z | path_based/__init__.py | lcit/metrics_delin | 30f1ad9ccc901e63770f39a80b0e1ec6bbfb34d9 | [
"MIT"
] | null | null | null | path_based/__init__.py | lcit/metrics_delin | 30f1ad9ccc901e63770f39a80b0e1ec6bbfb34d9 | [
"MIT"
] | 1 | 2022-01-27T08:12:38.000Z | 2022-01-27T08:12:38.000Z | from .toolong_tooshort_metric import toolong_tooshort
from .path_connectivity_metric import opt_p | 48.5 | 53 | 0.907216 | 14 | 97 | 5.857143 | 0.642857 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 97 | 2 | 54 | 48.5 | 0.911111 | 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 |
36c964f9784d25d13a864d51ed13e1c9347e79aa | 8,302 | py | Python | propagators/long_running_tests.py | mikelytaev/wave-propagation | eff0eb1fc843e4d206b05731e40047e1d810d76f | [
"MIT"
] | 15 | 2019-06-28T17:05:23.000Z | 2022-03-22T02:20:39.000Z | propagators/long_running_tests.py | mikelytaev/wave-propagation | eff0eb1fc843e4d206b05731e40047e1d810d76f | [
"MIT"
] | null | null | null | propagators/long_running_tests.py | mikelytaev/wave-propagation | eff0eb1fc843e4d206b05731e40047e1d810d76f | [
"MIT"
] | 3 | 2020-10-10T12:41:19.000Z | 2021-12-17T14:08:18.000Z | import unittest
from propagators.sspade import *
from uwa.source import GaussSource
import matplotlib.pyplot as plt
from matplotlib.colors import Normalize
__author__ = 'Lytaev Mikhail (mikelytaev@gmail.com)'
def energy_conservation(f: HelmholtzField, eps=1e-11) -> bool:
norms = np.linalg.norm(f.field, axis=1)... | 43.465969 | 126 | 0.560106 | 992 | 8,302 | 4.472782 | 0.15625 | 0.029299 | 0.046653 | 0.060852 | 0.838179 | 0.804372 | 0.763354 | 0.763354 | 0.719856 | 0.719856 | 0 | 0.047987 | 0.3298 | 8,302 | 190 | 127 | 43.694737 | 0.749461 | 0.094194 | 0 | 0.572464 | 0 | 0 | 0.006532 | 0.002933 | 0 | 0 | 0 | 0 | 0.094203 | 1 | 0.101449 | false | 0 | 0.043478 | 0.007246 | 0.195652 | 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 |
36cc99af8b9d31de772788fc0952fd5f6f48a2b7 | 80 | py | Python | katas/kyu_7/boiled_eggs.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/boiled_eggs.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/boiled_eggs.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from math import ceil
def cooking_time(eggs):
return ceil(eggs / 8.0) * 5
| 13.333333 | 31 | 0.675 | 14 | 80 | 3.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.225 | 80 | 5 | 32 | 16 | 0.806452 | 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 |
36df3946cd8c5d4d13c1906cf45678544ea52cce | 4,025 | py | Python | tests/networks/test_utils.py | garaytc/reinforcement | e6af258bf2ac3b45c20e0ed3d2f58ca7bc2b232f | [
"Apache-2.0"
] | 12 | 2020-05-19T18:58:55.000Z | 2021-02-21T20:26:46.000Z | tests/networks/test_utils.py | garaytc/reinforcement | e6af258bf2ac3b45c20e0ed3d2f58ca7bc2b232f | [
"Apache-2.0"
] | 39 | 2020-05-19T18:41:42.000Z | 2021-01-16T08:31:06.000Z | tests/networks/test_utils.py | garaytc/reinforcement | e6af258bf2ac3b45c20e0ed3d2f58ca7bc2b232f | [
"Apache-2.0"
] | 2 | 2020-05-19T15:15:04.000Z | 2020-05-21T08:45:59.000Z | from blobrl.networks import get_last_layers
from gym.spaces import Box, Discrete, MultiDiscrete, MultiBinary, Tuple, Dict
import torch.nn as nn
def valid_dim(out_v, out_g):
if isinstance(out_v, list):
assert len(out_v) == len(out_g)
for o, g in zip(out_v, out_g):
valid_dim(o, g)
el... | 40.656566 | 116 | 0.540373 | 565 | 4,025 | 3.79115 | 0.100885 | 0.212885 | 0.266106 | 0.354809 | 0.724556 | 0.712418 | 0.712418 | 0.693744 | 0.67507 | 0.67507 | 0 | 0.082214 | 0.223354 | 4,025 | 98 | 117 | 41.071429 | 0.603007 | 0 | 0 | 0.233766 | 0 | 0 | 0.002733 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 1 | 0.025974 | false | 0 | 0.038961 | 0 | 0.064935 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36f646fd7d40e58f4c7556edac5f53ae1feaa53d | 114 | py | Python | microweb/app/views.py | irr/python-labs | 43bb3a528c151653b2be832c7ff13240a10e18a4 | [
"Apache-2.0"
] | 4 | 2015-11-25T09:06:44.000Z | 2019-12-11T21:35:21.000Z | microweb/app/views.py | irr/python-labs | 43bb3a528c151653b2be832c7ff13240a10e18a4 | [
"Apache-2.0"
] | null | null | null | microweb/app/views.py | irr/python-labs | 43bb3a528c151653b2be832c7ff13240a10e18a4 | [
"Apache-2.0"
] | 2 | 2015-11-25T09:19:38.000Z | 2016-02-26T03:54:06.000Z | from app import microweb
@microweb.route('/')
@microweb.route('/index')
def index():
return "Hello, World!"
| 14.25 | 26 | 0.666667 | 14 | 114 | 5.428571 | 0.714286 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149123 | 114 | 7 | 27 | 16.285714 | 0.783505 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
7fd2df523f7ae9a39baacd5bc20d841dfac5978e | 233 | py | Python | DJANGO/produtos/views.py | DjCod3r/PythonScripts | 95e70ebb81d2bc37b0283daff8ee723c5d2a382c | [
"MIT"
] | null | null | null | DJANGO/produtos/views.py | DjCod3r/PythonScripts | 95e70ebb81d2bc37b0283daff8ee723c5d2a382c | [
"MIT"
] | null | null | null | DJANGO/produtos/views.py | DjCod3r/PythonScripts | 95e70ebb81d2bc37b0283daff8ee723c5d2a382c | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return render (request, 'produtos/index.html') | 25.888889 | 50 | 0.785408 | 32 | 233 | 5.71875 | 0.53125 | 0.163934 | 0.20765 | 0.273224 | 0.338798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141631 | 233 | 9 | 50 | 25.888889 | 0.915 | 0.201717 | 0 | 0.4 | 0 | 0 | 0.103261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7fe5335dc0dcb61fe4407ae96728ccc86eee9ffd | 114 | py | Python | Utils/__init__.py | alirezakazemipour/A3C-ACER-PyTorch | cd2ffbd52137a2677fd85c2890f378992fc82340 | [
"MIT"
] | null | null | null | Utils/__init__.py | alirezakazemipour/A3C-ACER-PyTorch | cd2ffbd52137a2677fd85c2890f378992fc82340 | [
"MIT"
] | null | null | null | Utils/__init__.py | alirezakazemipour/A3C-ACER-PyTorch | cd2ffbd52137a2677fd85c2890f378992fc82340 | [
"MIT"
] | null | null | null | from .atari_wrappers import make_atari
from .utils import make_state
from .logger import *
from .play import Play
| 22.8 | 38 | 0.815789 | 18 | 114 | 5 | 0.5 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 114 | 4 | 39 | 28.5 | 0.918367 | 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 |
7fefc276ceaaf8313dbe8746a8643c641af92570 | 5,260 | py | Python | p013.py | scottwillmoore/project-euler | e8b24a72d88fc30e8ab701e2f56622c363600ea4 | [
"MIT"
] | 1 | 2018-07-09T09:19:58.000Z | 2018-07-09T09:19:58.000Z | p013.py | scottwillmoore/project-euler | e8b24a72d88fc30e8ab701e2f56622c363600ea4 | [
"MIT"
] | null | null | null | p013.py | scottwillmoore/project-euler | e8b24a72d88fc30e8ab701e2f56622c363600ea4 | [
"MIT"
] | null | null | null | data = """
37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
91942213363574161572522430563301811072406154908250
23067588207539346171171980310421047513778063246676
89261670696623633820136378418383684178734361726757
281... | 47.387387 | 50 | 0.969011 | 127 | 5,260 | 40.133858 | 0.96063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.974859 | 0.024525 | 5,260 | 110 | 51 | 47.818182 | 0.018515 | 0.007605 | 0 | 0 | 0 | 0 | 0.977961 | 0.958222 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.009434 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d02b19e0923b347aa2ea952bf51ed6b8b81876f | 7,083 | py | Python | tests/set_pipelines_test.py | Anthonyhawkins/concourse-kit | 59c33b9d78480cc0acf32a06aac3b423621ab79f | [
"MIT"
] | null | null | null | tests/set_pipelines_test.py | Anthonyhawkins/concourse-kit | 59c33b9d78480cc0acf32a06aac3b423621ab79f | [
"MIT"
] | null | null | null | tests/set_pipelines_test.py | Anthonyhawkins/concourse-kit | 59c33b9d78480cc0acf32a06aac3b423621ab79f | [
"MIT"
] | null | null | null | from unittest import mock
from unittest.mock import Mock
from unittest.mock import patch
import pytest
import sys
import os
from concoursekit import set_pipelines
from concoursekit import load_config
@patch("concoursekit.fly_run")
def test_set_pipelines_with_one_env(mock_fly_run):
cck_config = load_config()
set_... | 66.820755 | 161 | 0.607934 | 943 | 7,083 | 4.501591 | 0.060445 | 0.103651 | 0.142521 | 0.155477 | 0.949117 | 0.934511 | 0.915194 | 0.915194 | 0.915194 | 0.903416 | 0 | 0 | 0.10377 | 7,083 | 106 | 162 | 66.820755 | 0.668715 | 0 | 0 | 0.6875 | 0 | 0 | 0.518492 | 0.05703 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.03125 | false | 0 | 0.083333 | 0 | 0.114583 | 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 |
3d5cf1631c30a614aa6de76de6a9e79b8d565286 | 32 | py | Python | aiproteomics/rt/datasets/__init__.py | ai-proteomics/aiproteomics | 125aed4b3528bfd40349ef932034d9532ab969c3 | [
"Apache-2.0"
] | null | null | null | aiproteomics/rt/datasets/__init__.py | ai-proteomics/aiproteomics | 125aed4b3528bfd40349ef932034d9532ab969c3 | [
"Apache-2.0"
] | 14 | 2022-03-30T19:49:30.000Z | 2022-03-31T11:39:27.000Z | aiproteomics/rt/datasets/__init__.py | ai-proteomics/aiproteomics | 125aed4b3528bfd40349ef932034d9532ab969c3 | [
"Apache-2.0"
] | null | null | null | from . import AIProteomicsHela1
| 16 | 31 | 0.84375 | 3 | 32 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 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 |
1864f0f352df51dde8cedb5d0c2bfa627f9b2e93 | 161 | py | Python | jumpscale/clients/syncthing/__init__.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | 13 | 2020-09-02T09:05:08.000Z | 2022-03-12T02:43:24.000Z | jumpscale/clients/syncthing/__init__.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | 1,998 | 2020-06-15T11:46:10.000Z | 2022-03-24T22:12:41.000Z | jumpscale/clients/syncthing/__init__.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | 8 | 2020-09-29T06:50:35.000Z | 2021-06-14T03:30:52.000Z | def export_module_as():
from jumpscale.core.base import StoredFactory
from .syncthing import SyncthingClient
return StoredFactory(SyncthingClient)
| 23 | 49 | 0.78882 | 17 | 161 | 7.352941 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161491 | 161 | 6 | 50 | 26.833333 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a10617704e4d9fc613fdf949c90f383e74b505a6 | 41 | py | Python | part2/__init__.py | gdhGaoFei/Python01 | a9fef5290479d575725e2ddbb83c5f2d192606c6 | [
"MIT"
] | 1 | 2019-06-22T23:27:48.000Z | 2019-06-22T23:27:48.000Z | part2/__init__.py | gdhGaoFei/Python01 | a9fef5290479d575725e2ddbb83c5f2d192606c6 | [
"MIT"
] | null | null | null | part2/__init__.py | gdhGaoFei/Python01 | a9fef5290479d575725e2ddbb83c5f2d192606c6 | [
"MIT"
] | null | null | null | from part1 import *
print("part2 被导入了 ") | 13.666667 | 20 | 0.707317 | 6 | 41 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.170732 | 41 | 3 | 20 | 13.666667 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 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 |
a1179d08af4684bdc6f96b83be24ae08eccb306c | 3,130 | py | Python | models/resnet.py | kreimanlab/AugMem | cb0e8d39eb0c469da46c7c550c19229927a2bec5 | [
"MIT"
] | 6 | 2021-04-07T15:17:24.000Z | 2021-07-07T04:37:29.000Z | models/resnet.py | kreimanlab/AugMem | cb0e8d39eb0c469da46c7c550c19229927a2bec5 | [
"MIT"
] | null | null | null | models/resnet.py | kreimanlab/AugMem | cb0e8d39eb0c469da46c7c550c19229927a2bec5 | [
"MIT"
] | null | null | null | '''
Implementation of resnet-18
'''
import torchvision.models as models
import torch.nn as nn
#class ResNet18(nn.Module):
#
# def __init__(self, model_config):
# self.config = model_config
# super(ResNet18, self).__init__()
#
# self.model = models.resnet18(pretrained = self.config... | 37.710843 | 116 | 0.532907 | 327 | 3,130 | 4.95107 | 0.217125 | 0.11118 | 0.061149 | 0.088944 | 0.822112 | 0.7832 | 0.7832 | 0.7832 | 0.7832 | 0.7832 | 0 | 0.019579 | 0.347284 | 3,130 | 82 | 117 | 38.170732 | 0.772883 | 0.670927 | 0 | 0 | 0 | 0 | 0.099174 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.352941 | 0.058824 | 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 |
a13da8f040aa8c7fcac1087553566ff2363f4dfc | 201 | py | Python | mosdef_gomc/__init__.py | GOMC-WSU/MoSDeF-GOMC | 6cd58531c4f2fc575938d98373401a94b843e4bd | [
"MIT"
] | 2 | 2022-03-23T18:46:40.000Z | 2022-03-28T22:34:24.000Z | mosdef_gomc/__init__.py | GOMC-WSU/MoSDeF-GOMC | 6cd58531c4f2fc575938d98373401a94b843e4bd | [
"MIT"
] | 2 | 2022-03-28T22:41:50.000Z | 2022-03-28T23:22:34.000Z | mosdef_gomc/__init__.py | GOMC-WSU/MoSDeF-GOMC | 6cd58531c4f2fc575938d98373401a94b843e4bd | [
"MIT"
] | 1 | 2022-03-22T23:49:24.000Z | 2022-03-22T23:49:24.000Z | """mBuild: a hierarchical, component based molecule builder."""
from mosdef_gomc.formats.charmm_writer import Charmm
from mosdef_gomc.formats.gomc_conf_writer import GOMCControl
__version__ = "0.1.0"
| 33.5 | 63 | 0.81592 | 28 | 201 | 5.535714 | 0.678571 | 0.129032 | 0.180645 | 0.270968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0.094527 | 201 | 5 | 64 | 40.2 | 0.835165 | 0.283582 | 0 | 0 | 0 | 0 | 0.036232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1c5e3ced1d8ca612c8488e541b2d5584cad1f52 | 29 | py | Python | python/darknet/core/__init__.py | elsampsa/darknet-python | 6c62a5934082157154087809d67d0ee43384cc7a | [
"MIT"
] | 10 | 2019-05-10T07:26:56.000Z | 2021-04-22T18:59:12.000Z | python/darknet/core/__init__.py | elsampsa/darknet-python | 6c62a5934082157154087809d67d0ee43384cc7a | [
"MIT"
] | null | null | null | python/darknet/core/__init__.py | elsampsa/darknet-python | 6c62a5934082157154087809d67d0ee43384cc7a | [
"MIT"
] | 4 | 2018-11-16T00:55:41.000Z | 2020-09-29T03:44:28.000Z | from .darknet_core import *
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.875 | 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 |
b80a160b55eb567826ffac5d12122b08836324c6 | 138 | py | Python | main.py | likelion/script.tubecast | 33c6bd7f87dfdca3e86a0dc2239a31d3f43a0450 | [
"MIT"
] | 83 | 2018-03-16T21:42:59.000Z | 2022-03-13T20:51:41.000Z | main.py | likelion/script.tubecast | 33c6bd7f87dfdca3e86a0dc2239a31d3f43a0450 | [
"MIT"
] | 52 | 2018-03-29T01:35:10.000Z | 2022-03-01T15:48:24.000Z | main.py | likelion/script.tubecast | 33c6bd7f87dfdca3e86a0dc2239a31d3f43a0450 | [
"MIT"
] | 34 | 2018-03-28T13:58:46.000Z | 2021-12-06T11:13:48.000Z | # -*- coding: utf-8 -*-
from resources.lib import service
from resources.lib.kodi import kodilogging
kodilogging.config()
service.run()
| 17.25 | 42 | 0.746377 | 18 | 138 | 5.722222 | 0.666667 | 0.252427 | 0.31068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.123188 | 138 | 7 | 43 | 19.714286 | 0.842975 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b82036dddb6b1959bf0b831a086f6bda29450362 | 72 | py | Python | setup.py | anaquin135/flaskURL | 458ca5b2264117f94a4ff68d5395a3d81ec6458b | [
"MIT"
] | null | null | null | setup.py | anaquin135/flaskURL | 458ca5b2264117f94a4ff68d5395a3d81ec6458b | [
"MIT"
] | null | null | null | setup.py | anaquin135/flaskURL | 458ca5b2264117f94a4ff68d5395a3d81ec6458b | [
"MIT"
] | null | null | null | from flaskURL import db
from flaskURL.models import URL
db.create_all() | 18 | 31 | 0.819444 | 12 | 72 | 4.833333 | 0.666667 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 72 | 4 | 32 | 18 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
62c504618cd99786ac886c55e14f2395d4a6422e | 6,884 | py | Python | pygeo/constraints/thicknessConstraint.py | jrram/pygeo | ed15c848703a90055d38130b6d05cef8080a9d68 | [
"Apache-2.0"
] | null | null | null | pygeo/constraints/thicknessConstraint.py | jrram/pygeo | ed15c848703a90055d38130b6d05cef8080a9d68 | [
"Apache-2.0"
] | null | null | null | pygeo/constraints/thicknessConstraint.py | jrram/pygeo | ed15c848703a90055d38130b6d05cef8080a9d68 | [
"Apache-2.0"
] | null | null | null | # ======================================================================
# Imports
# ======================================================================
import numpy as np
from .. import geo_utils
from .baseConstraint import GeometricConstraint
class ThicknessConstraint(GeometricConstraint):
"""
DV... | 38.892655 | 114 | 0.559849 | 895 | 6,884 | 4.275978 | 0.163128 | 0.120199 | 0.045989 | 0.05017 | 0.841651 | 0.841651 | 0.815783 | 0.804547 | 0.755945 | 0.722759 | 0 | 0.021609 | 0.29416 | 6,884 | 176 | 115 | 39.113636 | 0.766001 | 0.261621 | 0 | 0.525 | 0 | 0.025 | 0.063613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.0375 | 0 | 0.1625 | 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 |
62f907dd7be7d32d307e2a352ac10a9affc6d2d7 | 78 | py | Python | src/assert.py | kylerlmy/pythonpractice | 6bdd329ac9adfc98c1cc4c37cc8581adad6018ad | [
"MIT"
] | null | null | null | src/assert.py | kylerlmy/pythonpractice | 6bdd329ac9adfc98c1cc4c37cc8581adad6018ad | [
"MIT"
] | null | null | null | src/assert.py | kylerlmy/pythonpractice | 6bdd329ac9adfc98c1cc4c37cc8581adad6018ad | [
"MIT"
] | null | null | null |
mylist=['item']
assert len(mylist) >=1
mylist.pop()
assert len(mylist)>=1 | 8.666667 | 22 | 0.653846 | 12 | 78 | 4.25 | 0.5 | 0.352941 | 0.588235 | 0.627451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.141026 | 78 | 9 | 23 | 8.666667 | 0.731343 | 0 | 0 | 0.5 | 0 | 0 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1a1d0aca9ad7a1f8c6a3b5c0f2abf87826eb5231 | 188 | py | Python | example/python2/test/parse/exec.py | rocky/python-spark | d3f966a4e8c191c51b1dcfa444026b4c6831984f | [
"MIT"
] | 43 | 2016-04-24T15:20:16.000Z | 2022-03-19T21:01:29.000Z | example/python2/test/format/exec.py | rocky/python-spark | d3f966a4e8c191c51b1dcfa444026b4c6831984f | [
"MIT"
] | 11 | 2016-06-01T16:06:38.000Z | 2020-05-20T20:15:32.000Z | example/python2/test/parse/exec.py | rocky/python-spark | d3f966a4e8c191c51b1dcfa444026b4c6831984f | [
"MIT"
] | 12 | 2016-05-24T12:15:04.000Z | 2021-11-20T02:14:00.000Z | # Parsing and formatting tests for:
#
# exec_stmt ::=
# 'exec' expr ['in' test [',' test]]
exec 'exec-string' in locals, globals
exec 'exec-string' in dict
exec 'exec-string'
| 20.888889 | 48 | 0.62766 | 26 | 188 | 4.5 | 0.538462 | 0.205128 | 0.358974 | 0.273504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218085 | 188 | 8 | 49 | 23.5 | 0.795918 | 0.5 | 0 | 0 | 0 | 0 | 0.370787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c50f015e5e48cbb94961522c7fdbd3de007eb575 | 183,710 | py | Python | pyidf/hvac_design_objects.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 19 | 2015-12-08T23:33:51.000Z | 2022-01-31T04:41:10.000Z | pyidf/hvac_design_objects.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 2 | 2019-10-04T10:57:00.000Z | 2021-10-01T06:46:17.000Z | pyidf/hvac_design_objects.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 7 | 2015-11-04T02:25:01.000Z | 2021-12-08T03:14:28.000Z | """ Data objects in group "HVAC Design Objects"
"""
from collections import OrderedDict
import logging
from pyidf.helper import DataObject
logger = logging.getLogger("pyidf")
logger.addHandler(logging.NullHandler())
class DesignSpecificationOutdoorAir(DataObject):
""" Corresponds to IDD object `DesignSpecific... | 45.427794 | 125 | 0.520864 | 18,211 | 183,710 | 5.112569 | 0.021635 | 0.04278 | 0.046786 | 0.062993 | 0.931121 | 0.897632 | 0.84496 | 0.799109 | 0.732635 | 0.676516 | 0 | 0.004421 | 0.410201 | 183,710 | 4,043 | 126 | 45.43903 | 0.854862 | 0.322753 | 0 | 0.620406 | 0 | 0 | 0.275822 | 0.043666 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121777 | false | 0.000549 | 0.001646 | 0 | 0.193088 | 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 |
c51f7cc15e77423296f866aafcaedc5fc5aa7c83 | 6,957 | py | Python | pyvttbl/tests/test_df_build_sqlite3_tbl.py | yk/pyvttbl | af66c1aba410ba5386249cd5b95f2ae0ed01d870 | [
"BSD-3-Clause"
] | null | null | null | pyvttbl/tests/test_df_build_sqlite3_tbl.py | yk/pyvttbl | af66c1aba410ba5386249cd5b95f2ae0ed01d870 | [
"BSD-3-Clause"
] | null | null | null | pyvttbl/tests/test_df_build_sqlite3_tbl.py | yk/pyvttbl | af66c1aba410ba5386249cd5b95f2ae0ed01d870 | [
"BSD-3-Clause"
] | null | null | null |
# Copyright (c) 2011, Roger Lew [see LICENSE.txt]
# This software is funded in part by NIH Grant P20 RR016454.
# Python 2 to 3 workarounds
import sys
if sys.version_info[0] == 2:
_strobj = str
_xrange = xrange
elif sys.version_info[0] == 3:
_strobj = str
_xrange = range
import unittest
import wa... | 29.987069 | 76 | 0.512434 | 1,019 | 6,957 | 3.439647 | 0.118744 | 0.043367 | 0.085592 | 0.094151 | 0.80428 | 0.769472 | 0.76234 | 0.76234 | 0.762054 | 0.762054 | 0 | 0.076923 | 0.301136 | 6,957 | 231 | 77 | 30.116883 | 0.643974 | 0.073164 | 0 | 0.634731 | 0 | 0 | 0.049406 | 0 | 0 | 0 | 0 | 0 | 0.155689 | 1 | 0.065868 | false | 0 | 0.047904 | 0.005988 | 0.125749 | 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 |
c52f144df1276663726e2afdc91e4c778f1100ae | 14,870 | py | Python | tests/egd_test.py | PTCInc/Kepware-ConfigAPI-SDK-Python | ff7757492a7ea1e73f3d5862ba956c8af4dcc797 | [
"MIT"
] | 9 | 2020-04-08T18:48:03.000Z | 2022-03-18T15:05:01.000Z | tests/egd_test.py | PTCInc/Kepware-ConfigAPI-SDK-Python | ff7757492a7ea1e73f3d5862ba956c8af4dcc797 | [
"MIT"
] | 5 | 2020-08-24T15:08:54.000Z | 2022-03-16T17:07:09.000Z | tests/egd_test.py | PTCInc/Kepware-ConfigAPI-SDK-Python | ff7757492a7ea1e73f3d5862ba956c8af4dcc797 | [
"MIT"
] | 10 | 2020-03-23T20:40:17.000Z | 2021-11-14T08:42:56.000Z | # -------------------------------------------------------------------------
# Copyright (c) PTC Inc. All rights reserved.
# See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
# EGD Test - Test to exersice all GE EGD driver exchang... | 47.206349 | 152 | 0.742367 | 1,877 | 14,870 | 5.559403 | 0.103356 | 0.049832 | 0.079732 | 0.099665 | 0.81955 | 0.790034 | 0.758026 | 0.732726 | 0.710014 | 0.691711 | 0 | 0.01618 | 0.135508 | 14,870 | 315 | 153 | 47.206349 | 0.795566 | 0.071083 | 0 | 0.254545 | 0 | 0 | 0.302505 | 0.196298 | 0 | 0 | 0 | 0 | 0.163636 | 1 | 0.090909 | false | 0 | 0.027273 | 0 | 0.122727 | 0.027273 | 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 |
3d79c359112f09fc22957fc7a430fa909d19ae6c | 86 | py | Python | projects/BUC/bucreid/__init__.py | weleen/MGH.pytorch | 69f2830f6bd60fe3b33c80c04540c0c800d26de1 | [
"Apache-2.0"
] | 4 | 2021-10-06T15:57:29.000Z | 2021-12-21T12:46:19.000Z | projects/BUC/bucreid/__init__.py | weleen/MGH.pytorch | 69f2830f6bd60fe3b33c80c04540c0c800d26de1 | [
"Apache-2.0"
] | 1 | 2022-02-14T06:36:19.000Z | 2022-02-24T08:18:39.000Z | projects/BUC/bucreid/__init__.py | weleen/MGH.pytorch | 69f2830f6bd60fe3b33c80c04540c0c800d26de1 | [
"Apache-2.0"
] | null | null | null | from . import hooks
from .buc_head import BUCHead
from .buc_trainer import BUCTrainer
| 21.5 | 35 | 0.825581 | 13 | 86 | 5.307692 | 0.615385 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 36 | 28.666667 | 0.932432 | 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 |
3d9379f89599315d55e3696697c75c28944db226 | 73 | py | Python | astra/models.py | BottleJia/Redis-astra | f27288c383ef4710c2a97416fc268242cdf95100 | [
"MIT"
] | 87 | 2016-03-07T08:38:56.000Z | 2021-11-12T11:42:34.000Z | astra/models.py | BottleJia/Redis-astra | f27288c383ef4710c2a97416fc268242cdf95100 | [
"MIT"
] | 5 | 2016-03-10T20:49:28.000Z | 2021-06-30T08:01:43.000Z | astra/models.py | BottleJia/Redis-astra | f27288c383ef4710c2a97416fc268242cdf95100 | [
"MIT"
] | 6 | 2016-03-17T21:28:25.000Z | 2021-07-29T05:49:59.000Z | from astra.model import Model # NOQA
from astra.fields import * # NOQA
| 24.333333 | 37 | 0.739726 | 11 | 73 | 4.909091 | 0.545455 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 73 | 2 | 38 | 36.5 | 0.915254 | 0.123288 | 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 |
3ddf8abc9c69ec711d4eb128c3666c0bc922c405 | 29 | py | Python | backend/src/viasp/__init__.py | glaserL/viasp | 740cb13c9d71c76b9a702597083b5b75b5a5eafb | [
"MIT"
] | null | null | null | backend/src/viasp/__init__.py | glaserL/viasp | 740cb13c9d71c76b9a702597083b5b75b5a5eafb | [
"MIT"
] | 9 | 2022-03-15T12:10:58.000Z | 2022-03-23T19:33:51.000Z | backend/src/viasp/__init__.py | glaserL/viasp | 740cb13c9d71c76b9a702597083b5b75b5a5eafb | [
"MIT"
] | null | null | null | from .wrapper import Control
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a8e9cb36657351164b3181435e91fb6a0f1efc0 | 639 | py | Python | rl_environments/vrep/__init__.py | molomono/rl_environments | e625790cf27b7e8362859421a7fd937879f601e4 | [
"MIT"
] | null | null | null | rl_environments/vrep/__init__.py | molomono/rl_environments | e625790cf27b7e8362859421a7fd937879f601e4 | [
"MIT"
] | null | null | null | rl_environments/vrep/__init__.py | molomono/rl_environments | e625790cf27b7e8362859421a7fd937879f601e4 | [
"MIT"
] | null | null | null | from rl_environments.vrep.cartpole_vrep_env import CartPoleVrepEnv
from rl_environments.vrep.cartpole_continuous_vrep_env import CartPoleContinuousVrepEnv
from rl_environments.vrep.hopper_vrep_env import HopperVrepEnv
from rl_environments.vrep.balancebot_vrep_env import BalanceBotVrepEnv
from rl_environments.vrep.balan... | 79.875 | 98 | 0.926448 | 76 | 639 | 7.421053 | 0.289474 | 0.085106 | 0.255319 | 0.312057 | 0.460993 | 0.407801 | 0.138298 | 0 | 0 | 0 | 0 | 0 | 0.048513 | 639 | 8 | 99 | 79.875 | 0.927632 | 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 |
9ac857a9dbc818d09cd40df31f83a8c894332c6c | 46 | py | Python | continuum/transforms/__init__.py | oleksost/continuum | 682d66540bfbfa171ac73281ed2989f9338e88bf | [
"MIT"
] | 282 | 2020-05-09T21:35:22.000Z | 2022-03-20T11:29:41.000Z | continuum/transforms/__init__.py | oleksost/continuum | 682d66540bfbfa171ac73281ed2989f9338e88bf | [
"MIT"
] | 180 | 2020-05-03T09:31:48.000Z | 2022-03-30T12:12:48.000Z | continuum/transforms/__init__.py | oleksost/continuum | 682d66540bfbfa171ac73281ed2989f9338e88bf | [
"MIT"
] | 34 | 2020-06-13T14:09:29.000Z | 2022-03-14T14:05:07.000Z | from continuum.transforms import segmentation
| 23 | 45 | 0.891304 | 5 | 46 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.97619 | 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 |
9aef2d03f798ec7d186b9708f6569585b948b6ba | 2,573 | py | Python | src/test_type_checkers.py | jsphweid/annhouga | f00f64907e1c4ff9a5e03ffa5b46bd1f7dbb5d75 | [
"MIT"
] | 1 | 2018-02-14T09:47:15.000Z | 2018-02-14T09:47:15.000Z | src/test_type_checkers.py | jsphweid/annhouga | f00f64907e1c4ff9a5e03ffa5b46bd1f7dbb5d75 | [
"MIT"
] | null | null | null | src/test_type_checkers.py | jsphweid/annhouga | f00f64907e1c4ff9a5e03ffa5b46bd1f7dbb5d75 | [
"MIT"
] | null | null | null | import type_checkers as types
# is_int
def test_basic_is_int():
assert types.is_int(5) == True
def test_string_cannot_be_int():
assert types.is_int('5') == False
def test_float_is_not_int1():
assert types.is_int(1.53) == False
def test_float_is_not_int2():
assert types.is_int(5.) == False
def test... | 26.255102 | 74 | 0.748931 | 429 | 2,573 | 4 | 0.137529 | 0.118298 | 0.212121 | 0.075758 | 0.736014 | 0.708625 | 0.589744 | 0.472611 | 0.33042 | 0.109557 | 0 | 0.023329 | 0.133696 | 2,573 | 97 | 75 | 26.525773 | 0.746523 | 0.030703 | 0 | 0 | 0 | 0 | 0.008447 | 0 | 0 | 0 | 0 | 0 | 0.491228 | 1 | 0.491228 | true | 0 | 0.017544 | 0 | 0.508772 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9afd34867cbe58d5bcad884cfe3c8288e82a9b32 | 173 | py | Python | MentalUs/models.py | realityone/MentalUs | 1c9c267efc258e274839d8e040a42272821d6e3f | [
"Apache-2.0"
] | null | null | null | MentalUs/models.py | realityone/MentalUs | 1c9c267efc258e274839d8e040a42272821d6e3f | [
"Apache-2.0"
] | null | null | null | MentalUs/models.py | realityone/MentalUs | 1c9c267efc258e274839d8e040a42272821d6e3f | [
"Apache-2.0"
] | null | null | null | from user.models import MTUser, MTExtendFields, MTUserExtendInfo
from general.models import MTAnnouncement
from scale.models import MTScale, MTScaleResult, MTUnfinishedScale | 57.666667 | 66 | 0.872832 | 19 | 173 | 7.947368 | 0.684211 | 0.238411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086705 | 173 | 3 | 66 | 57.666667 | 0.955696 | 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 |
b11301e97f7fd1b3cca4413ad186732d22b4c61a | 8,063 | py | Python | src/compas/datastructures/mesh/smoothing.py | mpopescu/compas | 55f259607deea501f862cbaea79bd97d7e56ead6 | [
"MIT"
] | null | null | null | src/compas/datastructures/mesh/smoothing.py | mpopescu/compas | 55f259607deea501f862cbaea79bd97d7e56ead6 | [
"MIT"
] | 9 | 2019-09-11T08:53:19.000Z | 2019-09-16T08:35:39.000Z | src/compas/datastructures/mesh/smoothing.py | Licini/compas | 34f65adb3d0abc3f403312ffba62aa76f3376292 | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
from compas.geometry import centroid_points
from compas.geometry import centroid_polygon
__all__ = [
'mesh_smooth_centroid',
'mesh_smooth_centerofmass',
'mesh_smooth_area',
]
def mesh_smooth_cen... | 27.803448 | 121 | 0.581049 | 981 | 8,063 | 4.66055 | 0.139653 | 0.018373 | 0.015748 | 0.045932 | 0.832021 | 0.800525 | 0.783902 | 0.776903 | 0.776903 | 0.766842 | 0 | 0.008868 | 0.300757 | 8,063 | 289 | 122 | 27.899654 | 0.802057 | 0.448964 | 0 | 0.45 | 0 | 0 | 0.052513 | 0.006002 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03 | false | 0 | 0.08 | 0 | 0.11 | 0.01 | 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 |
b15ac0e21510ba636bab8eb495fd1c8fd5a1408b | 138 | py | Python | dist/Basilisk/simulation/vscmgStateEffector/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/simulation/vscmgStateEffector/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/simulation/vscmgStateEffector/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the vscmgStateEffector package is automatically generated by the build system
from vscmgStateEffector import * | 69 | 105 | 0.847826 | 18 | 138 | 6.277778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 138 | 2 | 106 | 69 | 0.941667 | 0.746377 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1686ef2960b20506242b7efb0b494b24a5478d7 | 33 | py | Python | singleton_widgets/__init__.py | sagemath/sage-combinat-widgets | b17c62ed982a7d4ec7a50932765b978069dc25da | [
"BSL-1.0"
] | 3 | 2018-09-05T15:04:35.000Z | 2021-11-09T12:57:54.000Z | singleton_widgets/__init__.py | sagemath/sage-combinat-widgets | b17c62ed982a7d4ec7a50932765b978069dc25da | [
"BSL-1.0"
] | 18 | 2018-08-20T13:49:33.000Z | 2022-01-19T15:24:07.000Z | singleton_widgets/__init__.py | sagemath/sage-combinat-widgets | b17c62ed982a7d4ec7a50932765b978069dc25da | [
"BSL-1.0"
] | 5 | 2019-04-13T16:50:04.000Z | 2021-11-09T12:57:43.000Z | from .singleton_widgets import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 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 |
b185a3f8f92282de65544603e8fbe8dbe1798429 | 14,979 | py | Python | tests/report/test_report_io.py | virtualcell/Biosimulators_utils | 1b34e1e0a9ace706d245e9d515d0fae1e55a248d | [
"MIT"
] | null | null | null | tests/report/test_report_io.py | virtualcell/Biosimulators_utils | 1b34e1e0a9ace706d245e9d515d0fae1e55a248d | [
"MIT"
] | null | null | null | tests/report/test_report_io.py | virtualcell/Biosimulators_utils | 1b34e1e0a9ace706d245e9d515d0fae1e55a248d | [
"MIT"
] | null | null | null | from biosimulators_utils.report import data_model
from biosimulators_utils.report import io
from biosimulators_utils.report.warnings import MissingDataWarning, ExtraDataWarning
from biosimulators_utils.sedml.data_model import Report, DataSet
import numpy
import numpy.testing
import os
import shutil
import tempfile
impo... | 47.401899 | 132 | 0.602644 | 2,017 | 14,979 | 4.225087 | 0.059494 | 0.066534 | 0.133067 | 0.061605 | 0.873504 | 0.829735 | 0.811312 | 0.794532 | 0.767895 | 0.723187 | 0 | 0.029076 | 0.240003 | 14,979 | 315 | 133 | 47.552381 | 0.719519 | 0.003939 | 0 | 0.538462 | 0 | 0 | 0.050352 | 0 | 0 | 0 | 0 | 0 | 0.223077 | 1 | 0.034615 | false | 0 | 0.038462 | 0 | 0.076923 | 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 |
4931c15a460bc532b0c2b1145d844c85b96a532a | 282 | py | Python | server.py | Thomas-Arndt/recipes | a8a683221e1f48faacfdde5cc665e83f19dedccd | [
"MIT"
] | null | null | null | server.py | Thomas-Arndt/recipes | a8a683221e1f48faacfdde5cc665e83f19dedccd | [
"MIT"
] | null | null | null | server.py | Thomas-Arndt/recipes | a8a683221e1f48faacfdde5cc665e83f19dedccd | [
"MIT"
] | null | null | null | from flask_app import app
from flask_app.controllers import controller_routes
from flask_app.controllers import controller_user
from flask_app.controllers import controller_recipe
from flask_app.controllers import controller_like
while __name__=="__main__":
app.run(debug=True) | 35.25 | 51 | 0.858156 | 40 | 282 | 5.625 | 0.4 | 0.2 | 0.266667 | 0.408889 | 0.693333 | 0.693333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 282 | 8 | 52 | 35.25 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.028269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 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 |
493fd5802e9ca9388e1ad1acc951737563258143 | 8,252 | py | Python | mpf/tests/test_Flippers.py | cloudjor/mpf | 1cf6bf18b0d81120383b0b128b0ebbfa1c62717c | [
"MIT"
] | null | null | null | mpf/tests/test_Flippers.py | cloudjor/mpf | 1cf6bf18b0d81120383b0b128b0ebbfa1c62717c | [
"MIT"
] | null | null | null | mpf/tests/test_Flippers.py | cloudjor/mpf | 1cf6bf18b0d81120383b0b128b0ebbfa1c62717c | [
"MIT"
] | null | null | null | from mpf.platforms.interfaces.driver_platform_interface import PulseSettings, HoldSettings
from mpf.core.platform import SwitchSettings, DriverSettings
from mpf.tests.MpfTestCase import MpfTestCase
from unittest.mock import MagicMock, call
class TestFlippers(MpfTestCase):
def getConfigFile(self):
retur... | 54.649007 | 118 | 0.698982 | 1,021 | 8,252 | 5.287953 | 0.088149 | 0.130395 | 0.065197 | 0.069272 | 0.885349 | 0.877199 | 0.877199 | 0.849972 | 0.818485 | 0.806816 | 0 | 0.012781 | 0.213039 | 8,252 | 150 | 119 | 55.013333 | 0.818602 | 0 | 0 | 0.6 | 0 | 0 | 0.007271 | 0.003514 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.058333 | false | 0 | 0.033333 | 0.025 | 0.125 | 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 |
b8cad16b3ff305cd7790730775631d31367039bb | 219 | py | Python | three.py/cameras/__init__.py | Michael-Pascale/three.py | 9912f5f850245fb9456a25b6737e12290ae54a2d | [
"MIT"
] | 80 | 2019-04-04T13:41:32.000Z | 2022-01-12T18:40:19.000Z | three.py/cameras/__init__.py | Michael-Pascale/three.py | 9912f5f850245fb9456a25b6737e12290ae54a2d | [
"MIT"
] | 9 | 2019-04-04T14:43:50.000Z | 2020-03-29T04:50:53.000Z | three.py/cameras/__init__.py | Michael-Pascale/three.py | 9912f5f850245fb9456a25b6737e12290ae54a2d | [
"MIT"
] | 17 | 2019-04-04T14:20:42.000Z | 2022-03-03T16:26:29.000Z | from cameras.Camera import *
from cameras.PerspectiveCamera import *
from cameras.OrthographicCamera import *
# shadow camera is an orthographic camera with differently named uniforms
from cameras.ShadowCamera import * | 36.5 | 73 | 0.835616 | 26 | 219 | 7.038462 | 0.576923 | 0.240437 | 0.185792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 219 | 6 | 74 | 36.5 | 0.953125 | 0.324201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b8e70277314dc804f524fa67dde4f784d18e4cfd | 45,587 | py | Python | benchmarks/sigmod21-reproducibility/plot_scripts/zillow_plots.py | yunzhi-jake/tuplex | fc6c1edeabe8a28a5d46c9a3abf9011b3da78197 | [
"Apache-2.0"
] | 778 | 2021-06-30T03:40:43.000Z | 2022-03-28T20:40:20.000Z | benchmarks/sigmod21-reproducibility/plot_scripts/zillow_plots.py | yunzhi-jake/tuplex | fc6c1edeabe8a28a5d46c9a3abf9011b3da78197 | [
"Apache-2.0"
] | 41 | 2021-07-05T17:55:56.000Z | 2022-03-31T15:27:19.000Z | benchmarks/sigmod21-reproducibility/plot_scripts/zillow_plots.py | yunzhi-jake/tuplex | fc6c1edeabe8a28a5d46c9a3abf9011b3da78197 | [
"Apache-2.0"
] | 39 | 2021-07-01T02:40:33.000Z | 2022-03-30T21:46:55.000Z | #!/usr/bin/env python
# coding: utf-8
# ## Zillow experiment plots
# this notebook produces all plots necessary for Figure 3 in the final number + numbers for the accompanying text.
# Figure 3, 7 and table3
# In[24]:
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import re
i... | 51.106502 | 193 | 0.570382 | 6,339 | 45,587 | 3.823789 | 0.065152 | 0.038946 | 0.018771 | 0.019803 | 0.835719 | 0.810017 | 0.782788 | 0.75032 | 0.729444 | 0.707455 | 0 | 0.023532 | 0.241209 | 45,587 | 892 | 194 | 51.106502 | 0.677199 | 0.071161 | 0 | 0.544 | 0 | 0.0032 | 0.167962 | 0.004622 | 0 | 0 | 0 | 0.001121 | 0 | 1 | 0.008 | false | 0.0016 | 0.0256 | 0 | 0.0368 | 0.0016 | 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 |
7713334451d3b2aa2bf2e20fc574a1c5b413da32 | 2,593 | py | Python | openrouteservice_handler/test_openrouteservice_handler.py | ThorsHamster/find_new_hometown | 862231bb1f3a0a1505d02b452adca2b45a6fc850 | [
"MIT"
] | 2 | 2020-01-07T07:28:17.000Z | 2020-01-07T10:21:41.000Z | openrouteservice_handler/test_openrouteservice_handler.py | ThorsHamster/find_new_hometown | 862231bb1f3a0a1505d02b452adca2b45a6fc850 | [
"MIT"
] | 30 | 2021-03-19T15:46:29.000Z | 2021-12-21T12:22:50.000Z | openrouteservice_handler/test_openrouteservice_handler.py | ThorsHamster/find_new_hometown | 862231bb1f3a0a1505d02b452adca2b45a6fc850 | [
"MIT"
] | null | null | null | import pytest
from openrouteservice_handler import OpenRouteServiceHandler
class MockCoordinate:
def __init__(self):
self.longitude = 0
self.latitude = 0
@pytest.fixture
def unit_under_test(mocker):
return OpenRouteServiceHandler('api_key')
def test_get_distance_duration_between_cities_st... | 42.508197 | 111 | 0.715773 | 284 | 2,593 | 6.172535 | 0.211268 | 0.144324 | 0.081574 | 0.065031 | 0.800342 | 0.800342 | 0.800342 | 0.743868 | 0.743868 | 0.707359 | 0 | 0.012411 | 0.192056 | 2,593 | 60 | 112 | 43.216667 | 0.824344 | 0 | 0 | 0.435897 | 0 | 0 | 0.254917 | 0.170073 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.179487 | false | 0 | 0.051282 | 0.025641 | 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 |
91f1a382e9cb9885851e05853c7c065c0b6e9a04 | 34,094 | py | Python | checkerpy/tests/types/all/test_all.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | 1 | 2018-01-12T19:20:51.000Z | 2018-01-12T19:20:51.000Z | checkerpy/tests/types/all/test_all.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | null | null | null | checkerpy/tests/types/all/test_all.py | yedivanseven/CheckerPy | 04612086d25fecdd0b20ca0a050db8620c437b0e | [
"MIT"
] | null | null | null | import logging
import unittest as ut
from collections import defaultdict, deque, OrderedDict
from ....functional import CompositionOf
from ....types.all import All
from ....types.one import _REDUCED_ITER
from ....exceptions import WrongTypeError, IterError, CallableError
class TestAllInstatiation(ut.TestCase):
d... | 45.277556 | 79 | 0.59993 | 4,621 | 34,094 | 4.254058 | 0.033759 | 0.01109 | 0.021976 | 0.029301 | 0.880456 | 0.857615 | 0.833299 | 0.816105 | 0.793061 | 0.779428 | 0 | 0.015518 | 0.277996 | 34,094 | 752 | 80 | 45.337766 | 0.783068 | 0 | 0 | 0.589666 | 0 | 0.00152 | 0.205989 | 0.001232 | 0 | 0 | 0 | 0 | 0.337386 | 1 | 0.121581 | false | 0 | 0.010638 | 0 | 0.141337 | 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 |
91fa15827187db8b09f525073dd6fe44418d18f3 | 24 | py | Python | emmer/__init__.py | blha303/emmer | 1435310b2b4e63844700cbe26746d5c7ee0008e0 | [
"MIT"
] | 10 | 2015-01-11T20:53:46.000Z | 2021-07-13T10:56:44.000Z | emmer/__init__.py | blha303/emmer | 1435310b2b4e63844700cbe26746d5c7ee0008e0 | [
"MIT"
] | null | null | null | emmer/__init__.py | blha303/emmer | 1435310b2b4e63844700cbe26746d5c7ee0008e0 | [
"MIT"
] | 6 | 2015-03-29T21:19:17.000Z | 2020-11-18T18:32:47.000Z | from emmer import Emmer
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
62080f83979b7cb245b1c964fa26ff140c7ecee7 | 142 | py | Python | ZhiHu-Spider/database/__init__.py | xll-1994/ZhiHuSpider | f211cc24ad11ca632d0654812e17dd98088683cd | [
"MIT"
] | 1 | 2022-01-07T05:01:32.000Z | 2022-01-07T05:01:32.000Z | ZhiHu-Spider/database/__init__.py | xll-1994/ZhiHuSpider | f211cc24ad11ca632d0654812e17dd98088683cd | [
"MIT"
] | 3 | 2022-01-07T05:49:44.000Z | 2022-01-17T07:31:16.000Z | ZhiHu-Spider/database/__init__.py | xll-1994/ZhiHuSpider | f211cc24ad11ca632d0654812e17dd98088683cd | [
"MIT"
] | 1 | 2022-01-07T06:48:40.000Z | 2022-01-07T06:48:40.000Z | from database.redis_client import RedisClient
from database.mysql_client import MysqlClient
from database.mongodb_client import MongoDBClient
| 35.5 | 49 | 0.894366 | 18 | 142 | 6.888889 | 0.555556 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 142 | 3 | 50 | 47.333333 | 0.953846 | 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 |
627278a337df155d09a82a342e3e80bc4bf6608f | 14,867 | py | Python | test/gw/source_test.py | deepchatterjeeligo/bilby | 6532c63d0d970ad33478ae0b1c28d4c570b74047 | [
"MIT"
] | null | null | null | test/gw/source_test.py | deepchatterjeeligo/bilby | 6532c63d0d970ad33478ae0b1c28d4c570b74047 | [
"MIT"
] | null | null | null | test/gw/source_test.py | deepchatterjeeligo/bilby | 6532c63d0d970ad33478ae0b1c28d4c570b74047 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
from copy import copy
import bilby
import lal
import lalsimulation
class TestLalBBH(unittest.TestCase):
def setUp(self):
self.parameters = dict(
mass_1=30.0,
mass_2=30.0,
luminosity_distance=400.0,
a_1=0.4,
ti... | 34.735981 | 102 | 0.620973 | 1,714 | 14,867 | 5.105601 | 0.108518 | 0.095989 | 0.090504 | 0.055308 | 0.846646 | 0.828591 | 0.82082 | 0.807793 | 0.768027 | 0.750771 | 0 | 0.031085 | 0.285935 | 14,867 | 427 | 103 | 34.81733 | 0.793237 | 0.030134 | 0 | 0.657682 | 0 | 0 | 0.02526 | 0.009368 | 0 | 0 | 0 | 0 | 0.070081 | 1 | 0.091644 | false | 0 | 0.016173 | 0 | 0.123989 | 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 |
658d552b6c0f8fc9454744d828ec43d7a994e0c7 | 3,064 | py | Python | state.py | UtkucanBykl/python-design-patterns | 1dcc64a3a522d0314e4eb3bb82dc850c1556e585 | [
"MIT"
] | null | null | null | state.py | UtkucanBykl/python-design-patterns | 1dcc64a3a522d0314e4eb3bb82dc850c1556e585 | [
"MIT"
] | 3 | 2019-09-30T10:42:24.000Z | 2019-10-09T12:31:22.000Z | state.py | UtkucanBykl/python-design-patterns | 1dcc64a3a522d0314e4eb3bb82dc850c1556e585 | [
"MIT"
] | 3 | 2019-10-08T15:25:45.000Z | 2019-10-08T16:07:09.000Z | class Account:
def __init__(self):
self._state = Silver(self)
self.balance = 100
@property
def state(self):
return self._state
@state.setter
def state(self, value):
self._state = value
def get_balance(self):
return self._state.credit()
def set_mone... | 24.512 | 61 | 0.637076 | 367 | 3,064 | 5.008174 | 0.087193 | 0.257345 | 0.205658 | 0.078346 | 0.826442 | 0.778564 | 0.686072 | 0.666485 | 0.666485 | 0.666485 | 0 | 0.012809 | 0.261097 | 3,064 | 124 | 62 | 24.709677 | 0.799028 | 0.005548 | 0 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.293478 | false | 0 | 0 | 0.086957 | 0.423913 | 0.032609 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6592e0a5a464cb88d3304ccbfc2c373c9c579fdb | 195 | py | Python | src/python/verst/pants/k8s/register.py | dimitrijepetrovic/pants-plugins | fdef365d81cbeb9256015b470706249bb9e487df | [
"MIT"
] | 24 | 2017-04-10T01:29:44.000Z | 2021-02-24T03:29:59.000Z | src/python/verst/pants/k8s/register.py | dimitrijepetrovic/pants-plugins | fdef365d81cbeb9256015b470706249bb9e487df | [
"MIT"
] | 1 | 2017-11-21T19:41:45.000Z | 2017-11-21T19:41:45.000Z | src/python/verst/pants/k8s/register.py | dimitrijepetrovic/pants-plugins | fdef365d81cbeb9256015b470706249bb9e487df | [
"MIT"
] | 7 | 2017-07-24T13:51:07.000Z | 2021-02-23T15:16:26.000Z | from pants.goal.task_registrar import TaskRegistrar as task
from .k8s_clone_namespace import K8SCloneNamespace
def register_goals():
task(name='k8s-clone', action=K8SCloneNamespace).install()
| 32.5 | 60 | 0.825641 | 25 | 195 | 6.28 | 0.72 | 0.101911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.087179 | 195 | 5 | 61 | 39 | 0.859551 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65b06b090c69b1e7d61968c29bdffe54985ada13 | 681 | py | Python | colorful.py | cxapython/hooker | cb63d0569017e3481002934793586a64b16651a3 | [
"Apache-2.0"
] | 5 | 2021-06-10T06:46:57.000Z | 2022-02-28T02:27:03.000Z | colorful.py | z876335662/hooker | d0bec95c04aec415fb103c8ceeec4f1cf8112285 | [
"Apache-2.0"
] | null | null | null | colorful.py | z876335662/hooker | d0bec95c04aec415fb103c8ceeec4f1cf8112285 | [
"Apache-2.0"
] | 2 | 2021-12-14T12:18:07.000Z | 2022-02-13T08:57:16.000Z | '''
Created on 2020年6月6日
@author: stephen
'''
def withColor(string, fg, bg=49):
print("\33[0m\33[%d;%dm%s\33[0m" % (fg, bg, string))
#front color
Red = 1
Green = 2
Yellow = 3
Blue = 4
Magenta = 5
Cyan = 6
White = 7
def red(string):
return withColor(string, Red+30) # Red
def green(string):
return withColo... | 21.967742 | 56 | 0.676946 | 102 | 681 | 4.519608 | 0.343137 | 0.260304 | 0.318872 | 0.409978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066308 | 0.180617 | 681 | 30 | 57 | 22.7 | 0.759857 | 0.133627 | 0 | 0 | 0 | 0 | 0.041739 | 0.041739 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0 | 0 | 0.304348 | 0.652174 | 0.043478 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
65d7c775da8689873c9b30d870b242c319829844 | 213 | py | Python | cursos/admin.py | santosgv/plataforma.cursos | 5bbbfd65b9cbcfed9c7cf955c3d1866a1300c946 | [
"MIT"
] | null | null | null | cursos/admin.py | santosgv/plataforma.cursos | 5bbbfd65b9cbcfed9c7cf955c3d1866a1300c946 | [
"MIT"
] | null | null | null | cursos/admin.py | santosgv/plataforma.cursos | 5bbbfd65b9cbcfed9c7cf955c3d1866a1300c946 | [
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import Cursos, Aulas, Comentarios, NotasAulas
admin.site.register(Aulas)
admin.site.register(Cursos)
admin.site.register(Comentarios)
admin.site.register(NotasAulas) | 26.625 | 58 | 0.826291 | 28 | 213 | 6.285714 | 0.428571 | 0.204545 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075117 | 213 | 8 | 59 | 26.625 | 0.893401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
65e618ac964e73cb0c04f9e7807f43df0dc2d0f8 | 36,522 | py | Python | test/test_drill_string.py | bthornton191/Adams_Modules | e5473c6dc194148353cefb9964ad2081e79741d7 | [
"MIT"
] | 5 | 2019-07-01T01:38:44.000Z | 2020-05-18T00:56:41.000Z | test/test_drill_string.py | bthornton191/Adams_Modules | e5473c6dc194148353cefb9964ad2081e79741d7 | [
"MIT"
] | 4 | 2020-03-24T16:55:01.000Z | 2021-03-20T00:44:18.000Z | test/test_drill_string.py | bthornton191/adamspy | e5473c6dc194148353cefb9964ad2081e79741d7 | [
"MIT"
] | null | null | null | """Tests related to the DrillString class
"""
import unittest
import os
import traceback
from test import *
from adamspy import adripy #pylint: disable=wrong-import-position
class Test_DrillString(unittest.TestCase):
"""Tests the :obj:`DrillString` class.
"""
maxDiff = None
def setUp(self):
... | 45.368944 | 252 | 0.685313 | 4,702 | 36,522 | 5.011484 | 0.063377 | 0.098965 | 0.065354 | 0.084026 | 0.841453 | 0.826897 | 0.811322 | 0.793711 | 0.777627 | 0.757299 | 0 | 0.007198 | 0.227835 | 36,522 | 804 | 253 | 45.425373 | 0.828375 | 0.214337 | 0 | 0.634703 | 0 | 0 | 0.116079 | 0.028358 | 0 | 0 | 0 | 0 | 0.070776 | 1 | 0.079909 | false | 0.004566 | 0.011416 | 0 | 0.09589 | 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 |
65e8f15dff65981b5839d35025c1e9404acdcc2d | 170 | py | Python | kaolin/ops/__init__.py | priyasundaresan/kaolin | ddae34ba5f09bffc4368c29bc50491c5ece797d4 | [
"ECL-2.0",
"Apache-2.0"
] | 3,747 | 2019-11-13T02:18:16.000Z | 2022-03-31T21:12:31.000Z | kaolin/ops/__init__.py | priyasundaresan/kaolin | ddae34ba5f09bffc4368c29bc50491c5ece797d4 | [
"ECL-2.0",
"Apache-2.0"
] | 371 | 2019-11-13T14:50:59.000Z | 2022-03-22T19:40:06.000Z | kaolin/ops/__init__.py | priyasundaresan/kaolin | ddae34ba5f09bffc4368c29bc50491c5ece797d4 | [
"ECL-2.0",
"Apache-2.0"
] | 482 | 2019-11-13T05:04:38.000Z | 2022-03-31T10:20:26.000Z | from . import batch
from . import conversions
from . import gcn
from . import mesh
from . import random
from . import reduction
from . import spc
from . import voxelgrid
| 18.888889 | 25 | 0.764706 | 24 | 170 | 5.416667 | 0.416667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 170 | 8 | 26 | 21.25 | 0.942029 | 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 |
0294deb3f1c9ef598b1a71203e52e7dfa5370845 | 119,350 | py | Python | Easy_Dealer_Owner.py | Apex-Predator-s/Apex_Predator-s_Repository | 4f8016b56f7bfeb338233d6b882336c451cb9d0c | [
"MIT"
] | null | null | null | Easy_Dealer_Owner.py | Apex-Predator-s/Apex_Predator-s_Repository | 4f8016b56f7bfeb338233d6b882336c451cb9d0c | [
"MIT"
] | null | null | null | Easy_Dealer_Owner.py | Apex-Predator-s/Apex_Predator-s_Repository | 4f8016b56f7bfeb338233d6b882336c451cb9d0c | [
"MIT"
] | null | null | null | from tkinter import*
from tkinter import ttk
from PIL import ImageTk, Image
from ttkthemes import themed_tk as tk
from PyQt5 import QtWidgets
import os
import mysql.connector
from tkinter import messagebox
import Login_Page
directory_path = os.path.dirname(__file__)
class Owner:
def __init__(self, ... | 60.986203 | 298 | 0.561986 | 13,903 | 119,350 | 4.626412 | 0.035388 | 0.037313 | 0.056467 | 0.063525 | 0.904821 | 0.868192 | 0.837705 | 0.80504 | 0.781533 | 0.752274 | 0 | 0.063513 | 0.307415 | 119,350 | 1,957 | 299 | 60.986203 | 0.714626 | 0.005756 | 0 | 0.586883 | 0 | 0.006085 | 0.165755 | 0.011854 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033807 | false | 0.043949 | 0.006085 | 0 | 0.040568 | 0.006761 | 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 |
02cdaf73c401e6dc1e6281dcb00722bef22d7c78 | 93 | py | Python | job/SLURM/Stampede.py | martintb/typyQ | 889b4ea40c28ee76c452f8b2bc92f042e6be199d | [
"MIT"
] | null | null | null | job/SLURM/Stampede.py | martintb/typyQ | 889b4ea40c28ee76c452f8b2bc92f042e6be199d | [
"MIT"
] | null | null | null | job/SLURM/Stampede.py | martintb/typyQ | 889b4ea40c28ee76c452f8b2bc92f042e6be199d | [
"MIT"
] | null | null | null | from SLURM import SLURMJob
class StampedeJob(SLURMJob):
#no specialization needed!
pass
| 15.5 | 28 | 0.784946 | 11 | 93 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 29 | 18.6 | 0.935897 | 0.268817 | 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 |
02f27de27b9906f7b473a5d521d7b7acd80cfc7f | 127 | py | Python | 3-SL-Training/presentation/magic.py | koltpython/python-workshops | 8b7f5ce1bad0380d90a65a0e033d0acefd7ddcde | [
"MIT"
] | 3 | 2019-12-09T17:23:43.000Z | 2021-12-15T09:10:44.000Z | 3-SL-Training/presentation/magic.py | koltpython/python-workshops | 8b7f5ce1bad0380d90a65a0e033d0acefd7ddcde | [
"MIT"
] | 1 | 2020-02-03T18:01:20.000Z | 2020-02-03T18:27:43.000Z | 3-SL-Training/presentation/magic.py | koltpython/python-workshops | 8b7f5ce1bad0380d90a65a0e033d0acefd7ddcde | [
"MIT"
] | null | null | null | if math.sqrt(villain.age * hero.age) < 10:
hero.age += 2
villain.age -= 1
else:
hero.age -= 2
villain.age += 1
| 18.142857 | 42 | 0.559055 | 21 | 127 | 3.380952 | 0.47619 | 0.422535 | 0.225352 | 0.422535 | 0.535211 | 0.535211 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.275591 | 127 | 6 | 43 | 21.166667 | 0.706522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02f8acf5fd36055b7c674a5f9bcb5272d8fa428e | 135 | py | Python | brainframe_qt/ui/resources/video_items/zones/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 17 | 2021-02-11T18:19:22.000Z | 2022-02-08T06:12:50.000Z | brainframe_qt/ui/resources/video_items/zones/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 80 | 2021-02-11T08:27:31.000Z | 2021-10-13T21:33:22.000Z | brainframe_qt/ui/resources/video_items/zones/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 5 | 2021-02-12T09:51:34.000Z | 2022-02-08T09:25:15.000Z | from .abstract_zone_item import AbstractZoneItem
from .zone_line_item import ZoneLineItem
from .zone_region_item import ZoneRegionItem
| 33.75 | 48 | 0.888889 | 18 | 135 | 6.333333 | 0.555556 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 135 | 3 | 49 | 45 | 0.926829 | 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 |
b88acf79bbdd8abba9a0bb51160ce4d7eb9ad45d | 39 | py | Python | python/doit/05/game/graphic/screen.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | python/doit/05/game/graphic/screen.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | python/doit/05/game/graphic/screen.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | def screen_test():
print("screen")
| 13 | 19 | 0.641026 | 5 | 39 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 2 | 20 | 19.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b8bfc94cdb2c2e9a54dc01d1cf70e697b70142ca | 177 | py | Python | src/main.py | shuyangw/thumper-ai | d2aec405860d95b21023d247c5ead9810c26416e | [
"MIT"
] | 1 | 2022-03-28T19:55:55.000Z | 2022-03-28T19:55:55.000Z | src/main.py | shuyangw/thumper-ai | d2aec405860d95b21023d247c5ead9810c26416e | [
"MIT"
] | null | null | null | src/main.py | shuyangw/thumper-ai | d2aec405860d95b21023d247c5ead9810c26416e | [
"MIT"
] | null | null | null | from deepq import init
from screen import get_window_rect, get_window_pixels
if __name__ == "__main__":
rect = get_window_rect()
print(rect)
get_window_pixels(rect) | 25.285714 | 53 | 0.757062 | 26 | 177 | 4.538462 | 0.5 | 0.305085 | 0.330508 | 0.322034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 177 | 7 | 54 | 25.285714 | 0.802721 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 |
b22bf9a285ffee715778b5565871ebf1218b7192 | 34 | py | Python | gmailIt/__init__.py | kid-on-github/gmailIt | d3dfadb03945fce9182a4dbbba3def0f1de8f4f7 | [
"MIT"
] | null | null | null | gmailIt/__init__.py | kid-on-github/gmailIt | d3dfadb03945fce9182a4dbbba3def0f1de8f4f7 | [
"MIT"
] | null | null | null | gmailIt/__init__.py | kid-on-github/gmailIt | d3dfadb03945fce9182a4dbbba3def0f1de8f4f7 | [
"MIT"
] | null | null | null | from gmailIt.gmailIt import Email
| 17 | 33 | 0.852941 | 5 | 34 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b2432405f85fd465a29747660167af2b0febe9c9 | 358 | py | Python | src/bindings/python/src/openvino/runtime/utils/__init__.py | kurylo/openvino | 4da0941cd2e8f9829875e60df73d3cd01f820b9c | [
"Apache-2.0"
] | 2 | 2021-12-14T15:27:46.000Z | 2021-12-14T15:34:16.000Z | src/bindings/python/src/openvino/runtime/utils/__init__.py | kurylo/openvino | 4da0941cd2e8f9829875e60df73d3cd01f820b9c | [
"Apache-2.0"
] | 33 | 2021-09-23T04:14:30.000Z | 2022-01-24T13:21:32.000Z | src/bindings/python/src/openvino/runtime/utils/__init__.py | kurylo/openvino | 4da0941cd2e8f9829875e60df73d3cd01f820b9c | [
"Apache-2.0"
] | 11 | 2021-11-09T00:51:40.000Z | 2021-11-10T12:04:16.000Z | # Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""Generic utilities. Factor related functions out to separate files."""
from openvino.pyopenvino.util import numpy_to_c
from openvino.pyopenvino.util import clone_model
from openvino.pyopenvino.util import get_constant_from_source, rep... | 39.777778 | 103 | 0.832402 | 51 | 358 | 5.647059 | 0.72549 | 0.125 | 0.229167 | 0.270833 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030864 | 0.094972 | 358 | 8 | 104 | 44.75 | 0.858025 | 0.405028 | 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 |
a22fbcbd2774a5e2dcb37f384d6ad1281d75b45d | 44 | py | Python | numba/dppl/ocl/__init__.py | DrTodd13/numba | de35af55d295f1677cca76646691d8c51c79d3cf | [
"BSD-2-Clause"
] | null | null | null | numba/dppl/ocl/__init__.py | DrTodd13/numba | de35af55d295f1677cca76646691d8c51c79d3cf | [
"BSD-2-Clause"
] | null | null | null | numba/dppl/ocl/__init__.py | DrTodd13/numba | de35af55d295f1677cca76646691d8c51c79d3cf | [
"BSD-2-Clause"
] | null | null | null | from .atomics import atomic_support_present
| 22 | 43 | 0.886364 | 6 | 44 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 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 |
a236d65b713cc258b23a68cea03682d9f0c4eb86 | 31 | py | Python | pyattck/preattck/__init__.py | timb-machine/pyattck | 1636c9191a92fa28e2cc03f8f04b85195070f0b9 | [
"MIT"
] | null | null | null | pyattck/preattck/__init__.py | timb-machine/pyattck | 1636c9191a92fa28e2cc03f8f04b85195070f0b9 | [
"MIT"
] | null | null | null | pyattck/preattck/__init__.py | timb-machine/pyattck | 1636c9191a92fa28e2cc03f8f04b85195070f0b9 | [
"MIT"
] | null | null | null | from .preattck import PreAttck
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
a2425692b57e3f9926f2a05af100b8b74a2bbad1 | 106 | py | Python | riverrunner/__init__.py | lukeWaninger/RiverRunner | db977d9eccbc711b15678af3f94f1891375fb001 | [
"MIT"
] | null | null | null | riverrunner/__init__.py | lukeWaninger/RiverRunner | db977d9eccbc711b15678af3f94f1891375fb001 | [
"MIT"
] | null | null | null | riverrunner/__init__.py | lukeWaninger/RiverRunner | db977d9eccbc711b15678af3f94f1891375fb001 | [
"MIT"
] | null | null | null | from .context import *
from .repository import *
from .daily import *
from .continuous_retrieval import *
| 21.2 | 35 | 0.773585 | 13 | 106 | 6.230769 | 0.538462 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 4 | 36 | 26.5 | 0.9 | 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 |
a25a2f6cedccff00dbfcc1c81ee7bb27e7f680e1 | 87 | py | Python | built_in_functions/help_function.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | built_in_functions/help_function.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | built_in_functions/help_function.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | # help(len)
# help(print)
# help("len")
# help(str)
# help(list)
# help("hi".replace)
| 10.875 | 20 | 0.586207 | 13 | 87 | 3.923077 | 0.538462 | 0.27451 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 7 | 21 | 12.428571 | 0.689189 | 0.83908 | 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 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
a293b37b625f98887b548ea19cb7b52329e65b72 | 25 | py | Python | doitlater/__init__.py | evalkaz/doitlater | c133c5bd5c2e295a72f84456bd3edd9ca21d1475 | [
"MIT"
] | null | null | null | doitlater/__init__.py | evalkaz/doitlater | c133c5bd5c2e295a72f84456bd3edd9ca21d1475 | [
"MIT"
] | null | null | null | doitlater/__init__.py | evalkaz/doitlater | c133c5bd5c2e295a72f84456bd3edd9ca21d1475 | [
"MIT"
] | null | null | null | from .later import Later
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2a1f7e490dcbf14c0d6ac61bbffcc87f05e9c71 | 18 | py | Python | textattack/models/entailment/__init__.py | fighting41love/TextAttack | 24e48f0022dc3a7bdcd5cbb3430f1c72cfcb522d | [
"MIT"
] | 2 | 2020-07-08T08:55:37.000Z | 2020-09-03T00:57:38.000Z | textattack/models/entailment/__init__.py | SatoshiRobatoFujimoto/TextAttack | a809a9bddddff9f41750949e26edde26c8af6cfa | [
"MIT"
] | null | null | null | textattack/models/entailment/__init__.py | SatoshiRobatoFujimoto/TextAttack | a809a9bddddff9f41750949e26edde26c8af6cfa | [
"MIT"
] | null | null | null | from . import bert | 18 | 18 | 0.777778 | 3 | 18 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.933333 | 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 |
a2d3092f1c3c3a27698cdfae61ccb8ab3f468427 | 26,409 | py | Python | tests/testflows/rbac/tests/privileges/select.py | lizhichao/ClickHouse | 3f5dc37095ccca18de490fab162d6e3cb99756aa | [
"Apache-2.0"
] | 1 | 2020-10-19T06:32:10.000Z | 2020-10-19T06:32:10.000Z | tests/testflows/rbac/tests/privileges/select.py | lizhichao/ClickHouse | 3f5dc37095ccca18de490fab162d6e3cb99756aa | [
"Apache-2.0"
] | null | null | null | tests/testflows/rbac/tests/privileges/select.py | lizhichao/ClickHouse | 3f5dc37095ccca18de490fab162d6e3cb99756aa | [
"Apache-2.0"
] | null | null | null | from contextlib import contextmanager
import json
from testflows.core import *
from testflows.asserts import error
from rbac.requirements import *
import rbac.tests.errors as errors
table_types = {
"MergeTree": "CREATE TABLE {name} (d DATE, a String, b UInt8, x String, y Int8, z UInt32) ENGINE = MergeTree(d, (a,... | 52.60757 | 311 | 0.653224 | 3,604 | 26,409 | 4.617925 | 0.048835 | 0.044343 | 0.036051 | 0.016584 | 0.879469 | 0.862765 | 0.840413 | 0.822868 | 0.80971 | 0.787418 | 0 | 0.020871 | 0.236169 | 26,409 | 502 | 312 | 52.60757 | 0.804184 | 0.071112 | 0 | 0.657343 | 0 | 0.016317 | 0.323186 | 0.017747 | 0 | 0 | 0 | 0 | 0.02331 | 1 | 0.053613 | false | 0.025641 | 0.013986 | 0 | 0.067599 | 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 |
a2d9df25d6bf2f171f7fd2837fcce9cc2bb551e8 | 7,428 | py | Python | tasks/task_handler.py | HaolingZHANG/ReverseEncodingTree | 16558ae18d71e7b1f089bfc6f4d819ad017d0f25 | [
"Apache-2.0"
] | 14 | 2020-02-11T11:45:07.000Z | 2022-03-10T23:47:45.000Z | tasks/task_handler.py | HaolingZHANG/ReverseEncodingTree | 16558ae18d71e7b1f089bfc6f4d819ad017d0f25 | [
"Apache-2.0"
] | 2 | 2020-02-02T10:49:51.000Z | 2020-07-19T10:37:32.000Z | tasks/task_handler.py | HaolingZHANG/ReverseEncodingTree | 16558ae18d71e7b1f089bfc6f4d819ad017d0f25 | [
"Apache-2.0"
] | null | null | null | from ReverseEncodingTree.evolution.bean.attacker import *
from ReverseEncodingTree.tasks.task_inform import *
def run_imply():
task = Logic(method_type=MethodType.N, logic_type=LogicType.IMPLY, max_generation=500, display_results=False)
generations, counts = task.run(1000)
save_distribution(counts,... | 53.438849 | 119 | 0.72469 | 917 | 7,428 | 5.645583 | 0.067612 | 0.052154 | 0.104308 | 0.119954 | 0.947074 | 0.947074 | 0.947074 | 0.940506 | 0.940506 | 0.917327 | 0 | 0.042934 | 0.150242 | 7,428 | 138 | 120 | 53.826087 | 0.77725 | 0 | 0 | 0.446602 | 0 | 0 | 0.063512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067961 | false | 0 | 0.019417 | 0 | 0.087379 | 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 |
a2e4a9132af3a8097c0204f77859b0f5de9f38b2 | 1,803 | py | Python | test/pyaz/network/application_gateway/waf_config/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | test/pyaz/network/application_gateway/waf_config/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | 9 | 2021-09-24T16:37:24.000Z | 2021-12-24T00:39:19.000Z | test/pyaz/network/application_gateway/waf_config/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | import json, subprocess
from .... pyaz_utils import get_cli_name, get_params
def set(resource_group, gateway_name, enabled, firewall_mode=None, rule_set_type=None, rule_set_version=None, disabled_rule_groups=None, disabled_rules=None, request_body_check=None, max_request_body_size=None, file_upload_limit=None, exclus... | 39.195652 | 265 | 0.694953 | 232 | 1,803 | 5.275862 | 0.271552 | 0.068627 | 0.04902 | 0.051471 | 0.71732 | 0.71732 | 0.71732 | 0.71732 | 0.71732 | 0.71732 | 0 | 0.004127 | 0.193566 | 1,803 | 45 | 266 | 40.066667 | 0.837689 | 0 | 0 | 0.804878 | 0 | 0 | 0.099834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0 | 0.04878 | 0 | 0.195122 | 0.219512 | 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 |
a7508d8d542ee7d8ebcacd1dd7261edfe36da576 | 9,803 | py | Python | harness/tests/launch/test_autodeepspeed.py | prabhum456/determined | 7e8017df0f62d80d21f5483578e2d5abd0e30935 | [
"Apache-2.0"
] | null | null | null | harness/tests/launch/test_autodeepspeed.py | prabhum456/determined | 7e8017df0f62d80d21f5483578e2d5abd0e30935 | [
"Apache-2.0"
] | null | null | null | harness/tests/launch/test_autodeepspeed.py | prabhum456/determined | 7e8017df0f62d80d21f5483578e2d5abd0e30935 | [
"Apache-2.0"
] | null | null | null | import contextlib
import os
import time
import unittest.mock as mock
from typing import Any, Iterator, List
import pytest
from deepspeed.launcher.runner import DEEPSPEED_ENVIRONMENT_NAME
import determined as det
from determined import constants
from determined.launch import autodeepspeed
@mock.patch("subprocess.Pop... | 37.703846 | 97 | 0.74365 | 1,315 | 9,803 | 5.145247 | 0.117871 | 0.100798 | 0.078037 | 0.009459 | 0.825303 | 0.809932 | 0.789388 | 0.78392 | 0.766923 | 0.766332 | 0 | 0.007398 | 0.158829 | 9,803 | 259 | 98 | 37.849421 | 0.813122 | 0.013159 | 0 | 0.650718 | 0 | 0 | 0.099266 | 0.037742 | 0 | 0 | 0 | 0 | 0.148325 | 1 | 0.043062 | false | 0.009569 | 0.047847 | 0 | 0.124402 | 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 |
a794afc61ee22de0ab59c8150be151318fc4dc97 | 144 | py | Python | hls4ml/__init__.py | ngpaladi/hls4ml | 54861d0f611ee72f779a8f739b5fac571f3e79c2 | [
"Apache-2.0"
] | 1 | 2021-07-06T12:09:49.000Z | 2021-07-06T12:09:49.000Z | hls4ml/__init__.py | ngpaladi/hls4ml | 54861d0f611ee72f779a8f739b5fac571f3e79c2 | [
"Apache-2.0"
] | 1 | 2020-11-26T09:45:05.000Z | 2020-11-26T09:45:05.000Z | hls4ml/__init__.py | ngpaladi/hls4ml | 54861d0f611ee72f779a8f739b5fac571f3e79c2 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
__version__ = '0.5.0'
from hls4ml import converters
from hls4ml import report
from hls4ml import utils
| 18 | 38 | 0.819444 | 21 | 144 | 5.190476 | 0.52381 | 0.275229 | 0.440367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.145833 | 144 | 7 | 39 | 20.571429 | 0.837398 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac45453a19894882d58b1de661aabeddaf118808 | 40 | py | Python | src/magicdb/Queries/__init__.py | CircleOnCircles/MagicDB | 03fca4a2e4c75ad016a2338ac30f515393d20742 | [
"MIT"
] | null | null | null | src/magicdb/Queries/__init__.py | CircleOnCircles/MagicDB | 03fca4a2e4c75ad016a2338ac30f515393d20742 | [
"MIT"
] | null | null | null | src/magicdb/Queries/__init__.py | CircleOnCircles/MagicDB | 03fca4a2e4c75ad016a2338ac30f515393d20742 | [
"MIT"
] | null | null | null | from magicdb.Queries.Query import Query
| 20 | 39 | 0.85 | 6 | 40 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
ac5232f986f8cddef39a53c01b7fafac3fd70f44 | 30 | py | Python | cocob/__init__.py | mihahauke/scinol_icml2019 | 8f6bf250c9501a47d3c4b2323f830abcbf56cce3 | [
"MIT"
] | 3 | 2020-04-30T11:32:46.000Z | 2021-04-23T01:16:54.000Z | cocob/__init__.py | mihahauke/scinol_icml2019 | 8f6bf250c9501a47d3c4b2323f830abcbf56cce3 | [
"MIT"
] | 6 | 2020-01-28T22:55:13.000Z | 2022-02-10T00:20:24.000Z | cocob/__init__.py | mihahauke/scinol_icml2019 | 8f6bf250c9501a47d3c4b2323f830abcbf56cce3 | [
"MIT"
] | 1 | 2020-09-23T07:26:31.000Z | 2020-09-23T07:26:31.000Z | from .cocob_optimizer import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 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 |
ac6f63d697191beec992c5613929c859def5c39d | 4,206 | py | Python | deep3dmap/core/renderer/renderer_demo/fitting.py | achao2013/DeepRecon | 1c9b0480710212e1fe86ab75dcf0b30bd9f654e7 | [
"Apache-2.0"
] | 30 | 2022-02-05T18:35:27.000Z | 2022-02-09T09:14:41.000Z | deep3dmap/core/renderer/renderer_demo/fitting.py | achao2013/DeepRecon | 1c9b0480710212e1fe86ab75dcf0b30bd9f654e7 | [
"Apache-2.0"
] | null | null | null | deep3dmap/core/renderer/renderer_demo/fitting.py | achao2013/DeepRecon | 1c9b0480710212e1fe86ab75dcf0b30bd9f654e7 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from mesh.vertices import *
from geometry.camera import *
from time import time
def fit_points(x, X_ind, model, max_iter = 4):
'''
Args:
x: (2, n) image points
X_ind: (n,) corresponding Model vertices index
model: 3DMM
max_iter... | 33.380952 | 122 | 0.532097 | 628 | 4,206 | 3.441083 | 0.16879 | 0.025914 | 0.025914 | 0.041647 | 0.886164 | 0.831559 | 0.831559 | 0.78112 | 0.78112 | 0.78112 | 0 | 0.049062 | 0.277936 | 4,206 | 126 | 123 | 33.380952 | 0.662496 | 0.282454 | 0 | 0.576271 | 0 | 0 | 0.022061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.084746 | 0 | 0.152542 | 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 |
3be61a56bb8998d5cbef58672b419514146035c5 | 33 | py | Python | labjack_u6/threading.py | LouGrossi/labjack_u6 | 36cb0be9a86e4f167ca58a5d30b59cfcfead00a6 | [
"MIT"
] | null | null | null | labjack_u6/threading.py | LouGrossi/labjack_u6 | 36cb0be9a86e4f167ca58a5d30b59cfcfead00a6 | [
"MIT"
] | null | null | null | labjack_u6/threading.py | LouGrossi/labjack_u6 | 36cb0be9a86e4f167ca58a5d30b59cfcfead00a6 | [
"MIT"
] | null | null | null | import threading, signal, time
| 8.25 | 30 | 0.757576 | 4 | 33 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 3 | 31 | 11 | 0.925926 | 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 |
3bea626f166d1bdebd5aad10c140520523e23500 | 2,594 | py | Python | libensemble/tests/unit_tests/setup.py | Kardyne/libensemble | 566c8f5daafe2ad4deebc13198a1e131e4ce6542 | [
"BSD-2-Clause"
] | null | null | null | libensemble/tests/unit_tests/setup.py | Kardyne/libensemble | 566c8f5daafe2ad4deebc13198a1e131e4ce6542 | [
"BSD-2-Clause"
] | null | null | null | libensemble/tests/unit_tests/setup.py | Kardyne/libensemble | 566c8f5daafe2ad4deebc13198a1e131e4ce6542 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
from libensemble.alloc_funcs.give_sim_work_first import give_sim_work_first
from libensemble.history import History
#-------------------------------------------------------------------------------------------------
# Set up sim_specs, gen_specs, exit_criteria
def make_criteria_and_specs_0(simx=10):... | 49.884615 | 142 | 0.653045 | 385 | 2,594 | 4.044156 | 0.181818 | 0.082209 | 0.091843 | 0.13359 | 0.83237 | 0.81824 | 0.813102 | 0.813102 | 0.813102 | 0.813102 | 0 | 0.017376 | 0.112567 | 2,594 | 51 | 143 | 50.862745 | 0.658992 | 0.117965 | 0 | 0.5 | 0 | 0 | 0.118808 | 0.01929 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.416667 | 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 |
ce23262bd1b8f73aa6bd64a6187908084ec94ccc | 61,040 | py | Python | SmartMedApp/backend/modules/dash/BioequivalenceDashboard.py | vovochkab/SmartMed | 123540263db8ec2225e7bb0ea949ba96a8c5d4f3 | [
"Apache-2.0"
] | 2 | 2020-10-05T18:03:46.000Z | 2020-11-15T18:54:53.000Z | SmartMedApp/backend/modules/dash/BioequivalenceDashboard.py | vovochkab/SmartMed | 123540263db8ec2225e7bb0ea949ba96a8c5d4f3 | [
"Apache-2.0"
] | 2 | 2021-09-25T15:20:19.000Z | 2021-09-26T15:56:52.000Z | SmartMedApp/backend/modules/dash/BioequivalenceDashboard.py | vovochkab/SmartMed | 123540263db8ec2225e7bb0ea949ba96a8c5d4f3 | [
"Apache-2.0"
] | 7 | 2020-09-07T17:28:54.000Z | 2021-10-01T14:32:18.000Z | import dash
import dash_table
import dash_core_components as dcc
import dash_html_components as html
import plotly.graph_objects as go
import plotly.express as px
import numpy as np
import pandas as pd
from math import e
from .text.markdown_bio import *
from .Dashboard import Dashboard
def round_df(df):
cols ... | 62.222222 | 153 | 0.444626 | 6,043 | 61,040 | 4.303492 | 0.048982 | 0.031762 | 0.053488 | 0.059909 | 0.934054 | 0.916712 | 0.883142 | 0.869684 | 0.841537 | 0.810505 | 0 | 0.02377 | 0.417611 | 61,040 | 980 | 154 | 62.285714 | 0.707784 | 0.000688 | 0 | 0.622517 | 0 | 0 | 0.161584 | 0.017804 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030905 | false | 0 | 0.012141 | 0.001104 | 0.081678 | 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 |
02560728918e83670ec8d88d9fd19f62ed3cbdeb | 4,577 | py | Python | ego/decomposition/positive_and_negative.py | fabriziocosta/EGO | d89e88183cce1ff24dca9333c09fa11597a45c7a | [
"MIT"
] | null | null | null | ego/decomposition/positive_and_negative.py | fabriziocosta/EGO | d89e88183cce1ff24dca9333c09fa11597a45c7a | [
"MIT"
] | null | null | null | ego/decomposition/positive_and_negative.py | fabriziocosta/EGO | d89e88183cce1ff24dca9333c09fa11597a45c7a | [
"MIT"
] | 1 | 2022-01-24T09:53:20.000Z | 2022-01-24T09:53:20.000Z | #!/usr/bin/env python
"""Provides scikit interface."""
from toolz import curry
import numpy as np
from ego.component import GraphComponent, serialize, get_subgraphs_from_node_components
@curry
def positive_and_negative(graph, ktop=0, part_importance_estimator=None):
codes, fragments = part_importance_estimator.... | 36.616 | 93 | 0.719685 | 509 | 4,577 | 6.125737 | 0.129666 | 0.094291 | 0.154907 | 0.042656 | 0.842207 | 0.801796 | 0.780629 | 0.768762 | 0.768762 | 0.768762 | 0 | 0.00274 | 0.202753 | 4,577 | 125 | 94 | 36.616 | 0.85174 | 0.010269 | 0 | 0.67 | 0 | 0 | 0.008177 | 0.004641 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.18 | 0.03 | 0.38 | 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 |
026a64c83a37bffdbf432fe20a0716dd9d09fa5a | 189 | py | Python | generators_comprehension/list_comphresension/listcomp.py | kumarvgit/python3 | 318c5e7503fafc9c60082fa123e2930bd82a4ec9 | [
"MIT"
] | null | null | null | generators_comprehension/list_comphresension/listcomp.py | kumarvgit/python3 | 318c5e7503fafc9c60082fa123e2930bd82a4ec9 | [
"MIT"
] | null | null | null | generators_comprehension/list_comphresension/listcomp.py | kumarvgit/python3 | 318c5e7503fafc9c60082fa123e2930bd82a4ec9 | [
"MIT"
] | null | null | null | print(__file__)
numbers = range(1, 6)
# list comprehesnion
squares = [number ** 2 for number in numbers]
# set comprehesnion
# squares = {number ** 2 for number in numbers}
print(squares)
| 21 | 47 | 0.719577 | 26 | 189 | 5.076923 | 0.538462 | 0.30303 | 0.393939 | 0.409091 | 0.681818 | 0.681818 | 0.681818 | 0.681818 | 0 | 0 | 0 | 0.025478 | 0.169312 | 189 | 8 | 48 | 23.625 | 0.815287 | 0.433862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
65fc696191700ab451569faf82b46c35dee280f4 | 111 | py | Python | Python exercicios/operador.py | andrelopes1977/python-exercicios | 06f9b5aa0defeda3030a861a0a9f16b4769bc810 | [
"MIT"
] | null | null | null | Python exercicios/operador.py | andrelopes1977/python-exercicios | 06f9b5aa0defeda3030a861a0a9f16b4769bc810 | [
"MIT"
] | null | null | null | Python exercicios/operador.py | andrelopes1977/python-exercicios | 06f9b5aa0defeda3030a861a0a9f16b4769bc810 | [
"MIT"
] | null | null | null | x = 2
y = 3
z = 4
print(x == y)
print(x > y)
print(x < y)
print(x == y and x == z)
print(x == y or x == z) | 8.538462 | 24 | 0.45045 | 27 | 111 | 1.851852 | 0.333333 | 0.6 | 0.7 | 0.72 | 0.56 | 0.56 | 0.56 | 0.56 | 0.56 | 0 | 0 | 0.04 | 0.324324 | 111 | 13 | 25 | 8.538462 | 0.626667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.625 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5a1de765415938b1b2c2997c6378db19f6ed4d5e | 698 | py | Python | share/models/__init__.py | felliott/SHARE | 8fd60ff4749349c9b867f6188650d71f4f0a1a56 | [
"Apache-2.0"
] | null | null | null | share/models/__init__.py | felliott/SHARE | 8fd60ff4749349c9b867f6188650d71f4f0a1a56 | [
"Apache-2.0"
] | null | null | null | share/models/__init__.py | felliott/SHARE | 8fd60ff4749349c9b867f6188650d71f4f0a1a56 | [
"Apache-2.0"
] | null | null | null | # NOTE: The order of these imports actually matter
from share.models.core import * # noqa
from share.models.ingest import * # noqa
from share.models.meta import * # noqa
from share.models.change import * # noqa
from share.models.agents import * # noqa
from share.models.creative import * # noqa
from share.models.b... | 41.058824 | 50 | 0.749284 | 99 | 698 | 5.282828 | 0.282828 | 0.258126 | 0.43021 | 0.508604 | 0.644359 | 0.214149 | 0.214149 | 0.214149 | 0.214149 | 0.214149 | 0 | 0 | 0.163324 | 698 | 16 | 51 | 43.625 | 0.895548 | 0.176218 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a2a38e95c45b8bc3c7ba901dc2ae4101f089560 | 75,553 | py | Python | py/tests/test_events.py | samuelcolvin/nosht | 9e4d9bea8ff6bfae86cae948cc3028ccc68d0188 | [
"MIT"
] | 26 | 2018-07-28T23:11:27.000Z | 2022-02-09T13:40:33.000Z | py/tests/test_events.py | samuelcolvin/nosht | 9e4d9bea8ff6bfae86cae948cc3028ccc68d0188 | [
"MIT"
] | 336 | 2018-05-25T17:57:00.000Z | 2022-03-11T23:24:36.000Z | py/tests/test_events.py | samuelcolvin/nosht | 9e4d9bea8ff6bfae86cae948cc3028ccc68d0188 | [
"MIT"
] | 4 | 2018-07-18T08:37:19.000Z | 2022-01-31T14:42:48.000Z | import re
from datetime import datetime, timedelta, timezone
from decimal import Decimal
import pytest
import pytz
from aiohttp import FormData
from pytest_toolbox.comparison import AnyInt, CloseToNow, RegexStr
from shared.utils import waiting_list_sig
from .conftest import Factory, create_image
async def test_eve... | 39.065667 | 120 | 0.644475 | 10,191 | 75,553 | 4.614562 | 0.0419 | 0.080635 | 0.118655 | 0.043039 | 0.887979 | 0.855828 | 0.824994 | 0.800519 | 0.786208 | 0.773619 | 0 | 0.020202 | 0.209853 | 75,553 | 1,933 | 121 | 39.085877 | 0.767547 | 0.000569 | 0 | 0.667082 | 0 | 0.006223 | 0.253614 | 0.043306 | 0 | 0 | 0 | 0 | 0.166148 | 1 | 0 | false | 0 | 0.005601 | 0 | 0.005601 | 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 |
5a6ef040df6044245191e961aa7db56540fd9689 | 62 | py | Python | examples/__init__.py | sheepy0125/hisock | 177b172032837f17567e80426bae0e3ec79016b7 | [
"MIT"
] | null | null | null | examples/__init__.py | sheepy0125/hisock | 177b172032837f17567e80426bae0e3ec79016b7 | [
"MIT"
] | 1 | 2021-09-03T14:22:15.000Z | 2021-09-03T14:22:15.000Z | examples/__init__.py | sheepy0125/hisock | 177b172032837f17567e80426bae0e3ec79016b7 | [
"MIT"
] | null | null | null | import examples.basic
import examples.tictactoe
del examples
| 12.4 | 25 | 0.854839 | 8 | 62 | 6.625 | 0.625 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 4 | 26 | 15.5 | 0.963636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
5a829f45c7b4e91800daf3cf949681b8b6011fe5 | 40 | py | Python | test.py | PanggNOTlovebean/TimeseriesTransformer | ab7aa0bc638dc3cbb83a26c037573c9a60055531 | [
"MIT"
] | null | null | null | test.py | PanggNOTlovebean/TimeseriesTransformer | ab7aa0bc638dc3cbb83a26c037573c9a60055531 | [
"MIT"
] | null | null | null | test.py | PanggNOTlovebean/TimeseriesTransformer | ab7aa0bc638dc3cbb83a26c037573c9a60055531 | [
"MIT"
] | null | null | null | import numpy as np
print(np.__version__) | 20 | 21 | 0.825 | 7 | 40 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 2 | 21 | 20 | 0.805556 | 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 |
ceab3fff7f588e212d7b18deba285ef57e77696b | 7,829 | py | Python | latexify/tests.py | AmmsA/django-latexify | 2beb04d9b16229ab2469c2920c3426f67030f2eb | [
"MIT"
] | 27 | 2016-06-20T08:44:38.000Z | 2018-08-22T16:33:47.000Z | latexify/tests.py | AmmsA/django-latexify | 2beb04d9b16229ab2469c2920c3426f67030f2eb | [
"MIT"
] | 4 | 2016-10-17T17:52:32.000Z | 2018-05-04T12:29:05.000Z | latexify/tests.py | AmmsA/django-latexify | 2beb04d9b16229ab2469c2920c3426f67030f2eb | [
"MIT"
] | 9 | 2017-01-07T14:42:42.000Z | 2018-09-14T21:12:34.000Z | from __future__ import unicode_literals
from django.test import TestCase
from django.template import Context, Template
from django.template import TemplateSyntaxError
class LatexifyTests(TestCase):
def tag_test(self, template, context, output):
t = Template("{}{}".format('{% load latexify %}', template)... | 44.994253 | 78 | 0.569166 | 930 | 7,829 | 4.516129 | 0.078495 | 0.064762 | 0.089286 | 0.136905 | 0.852619 | 0.832381 | 0.796905 | 0.780714 | 0.778095 | 0.76619 | 0 | 0.007365 | 0.271554 | 7,829 | 173 | 79 | 45.254335 | 0.72909 | 0 | 0 | 0.573333 | 0 | 0 | 0.38549 | 0.124154 | 0 | 0 | 0 | 0 | 0.013333 | 1 | 0.133333 | false | 0 | 0.026667 | 0 | 0.166667 | 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 |
0c9f42994e6e22c376a892601d29f9164a66c49b | 40 | py | Python | molpy/algorithms/__init__.py | kylincaster/molpy | 39304733570d62613bd7708834d2185bcce4ae86 | [
"BSD-3-Clause"
] | 6 | 2021-11-04T12:28:44.000Z | 2021-12-22T13:49:52.000Z | molpy/algorithms/__init__.py | kylincaster/molpy | 39304733570d62613bd7708834d2185bcce4ae86 | [
"BSD-3-Clause"
] | 2 | 2021-11-26T12:06:24.000Z | 2021-11-28T11:03:11.000Z | molpy/algorithms/__init__.py | kylincaster/molpy | 39304733570d62613bd7708834d2185bcce4ae86 | [
"BSD-3-Clause"
] | 4 | 2021-11-04T10:36:51.000Z | 2021-12-17T11:58:47.000Z | from molpy.algorithms.traversal import * | 40 | 40 | 0.85 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 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 |
0cbd3fc9dcec7649c2e4f4385831a4e1a042e2ad | 52 | py | Python | spark/pi-v1/model/calculate_pi.py | PipelineAI/models | d8df07877aa8b10ce9b84983bb440af75e84dca7 | [
"Apache-2.0"
] | 44 | 2017-11-17T06:19:05.000Z | 2021-11-03T06:00:56.000Z | spark/pi-v1/model/calculate_pi.py | PipelineAI/models | d8df07877aa8b10ce9b84983bb440af75e84dca7 | [
"Apache-2.0"
] | 3 | 2018-08-09T14:28:17.000Z | 2018-09-10T03:32:42.000Z | spark/pi-v1/model/calculate_pi.py | PipelineAI/models | d8df07877aa8b10ce9b84983bb440af75e84dca7 | [
"Apache-2.0"
] | 21 | 2017-11-18T15:12:12.000Z | 2020-08-15T07:08:33.000Z | def calculate(count, n):
return 4.0 * count / n
| 17.333333 | 26 | 0.615385 | 9 | 52 | 3.555556 | 0.777778 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.25 | 52 | 2 | 27 | 26 | 0.769231 | 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 |
0cc568d9e0c6f21fee456a7266078b1620ce9fa5 | 1,165 | py | Python | app/grandchallenge/challenges/migrations/0029_auto_20200918_1413.py | pushpanjalip/grand-challenge.org | 607a30c9fe0e603b79f7b49dc9efeb48a484ebfc | [
"Apache-2.0"
] | null | null | null | app/grandchallenge/challenges/migrations/0029_auto_20200918_1413.py | pushpanjalip/grand-challenge.org | 607a30c9fe0e603b79f7b49dc9efeb48a484ebfc | [
"Apache-2.0"
] | null | null | null | app/grandchallenge/challenges/migrations/0029_auto_20200918_1413.py | pushpanjalip/grand-challenge.org | 607a30c9fe0e603b79f7b49dc9efeb48a484ebfc | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.10 on 2020-09-18 14:13
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("challenges", "0028_auto_20200917_1113"),
]
operations = [
migrations.RemoveField(
model_name="challenge", name="publication_citation_co... | 29.871795 | 78 | 0.620601 | 100 | 1,165 | 6.96 | 0.38 | 0.241379 | 0.298851 | 0.344828 | 0.778736 | 0.778736 | 0.778736 | 0.5 | 0.172414 | 0 | 0 | 0.037915 | 0.275536 | 1,165 | 38 | 79 | 30.657895 | 0.78673 | 0.039485 | 0 | 0.5 | 1 | 0 | 0.290958 | 0.162041 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0cf6d9df7bf30aa3202bb6a450296d304eda30df | 162 | py | Python | taurex/data/profiles/pressure/__init__.py | ucl-exoplanets/TauREx3_public | cf8da465448df44c3c4dcc2cd0002ef34edd3920 | [
"BSD-3-Clause"
] | 10 | 2019-12-18T09:19:16.000Z | 2021-06-21T11:02:06.000Z | taurex/data/profiles/pressure/__init__.py | ucl-exoplanets/TauREx3_public | cf8da465448df44c3c4dcc2cd0002ef34edd3920 | [
"BSD-3-Clause"
] | 10 | 2020-03-24T18:02:15.000Z | 2021-08-23T20:32:09.000Z | taurex/data/profiles/pressure/__init__.py | ucl-exoplanets/TauREx3_public | cf8da465448df44c3c4dcc2cd0002ef34edd3920 | [
"BSD-3-Clause"
] | 8 | 2020-03-26T14:16:42.000Z | 2021-12-18T22:11:25.000Z | from .pressureprofile import SimplePressureProfile, PressureProfile
from .arraypressure import ArrayPressureProfile
from .filepressure import FilePressureProfile
| 40.5 | 67 | 0.895062 | 13 | 162 | 11.153846 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080247 | 162 | 3 | 68 | 54 | 0.973154 | 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 |
0b23c2d24c2930d57cd73d7f5f0fa032271cc2af | 141 | py | Python | tests/base.py | nephila/djangocms-apphook-setup | 615491dcb4c9383f346abfa8f79f7f5309722405 | [
"BSD-3-Clause"
] | 9 | 2015-10-25T18:44:36.000Z | 2020-12-28T18:20:38.000Z | tests/base.py | nephila/djangocms-apphook-setup | 615491dcb4c9383f346abfa8f79f7f5309722405 | [
"BSD-3-Clause"
] | 13 | 2015-12-20T13:01:10.000Z | 2020-12-02T11:18:18.000Z | tests/base.py | nephila/djangocms-apphook-setup | 615491dcb4c9383f346abfa8f79f7f5309722405 | [
"BSD-3-Clause"
] | 5 | 2016-09-29T05:23:44.000Z | 2021-07-08T07:15:56.000Z | from app_helper.base_test import BaseTestCase
class BaseTest(BaseTestCase):
"""
Base class with utility function
"""
pass
| 14.1 | 45 | 0.695035 | 16 | 141 | 6 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 141 | 9 | 46 | 15.666667 | 0.888889 | 0.22695 | 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 |
0b73cb8219a3db90762cae657f1fe62ded68d6f2 | 29 | py | Python | src/SDA_Turki/__init__.py | TurkiBt/SDA-Turki | b3b541ed7bfaf7099d28491a11872e7964fca858 | [
"MIT"
] | null | null | null | src/SDA_Turki/__init__.py | TurkiBt/SDA-Turki | b3b541ed7bfaf7099d28491a11872e7964fca858 | [
"MIT"
] | null | null | null | src/SDA_Turki/__init__.py | TurkiBt/SDA-Turki | b3b541ed7bfaf7099d28491a11872e7964fca858 | [
"MIT"
] | null | null | null | from .my_class import MyClass | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 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 |
0b82437b4d3ddd352067362346b6cd314e357711 | 38,515 | py | Python | tests/test_compute_multitask_data.py | jollyjonson/multitask-f0 | 0f33475599bd69acce8cd9a1a96f20fc1c8b7701 | [
"MIT"
] | 10 | 2019-01-08T02:31:12.000Z | 2021-04-26T09:52:46.000Z | tests/test_compute_multitask_data.py | jollyjonson/multitask-f0 | 0f33475599bd69acce8cd9a1a96f20fc1c8b7701 | [
"MIT"
] | 1 | 2019-03-11T18:12:07.000Z | 2019-03-11T18:12:07.000Z | tests/test_compute_multitask_data.py | jollyjonson/multitask-f0 | 0f33475599bd69acce8cd9a1a96f20fc1c8b7701 | [
"MIT"
] | 2 | 2019-03-11T12:23:08.000Z | 2019-06-20T15:58:06.000Z | import unittest
import os
import numpy as np
import medleydb as mdb
from deepsalience import compute_multitask_data as CMD
class TestMultiF0ToTimeFreq(unittest.TestCase):
def test_default(self):
times = [0.0, 0.1, 0.2, 0.8]
freqs = [[], [200.1, 207.7], [], [82.1]]
actual_times, actual_fre... | 37.833988 | 80 | 0.531455 | 4,010 | 38,515 | 4.871571 | 0.053865 | 0.072946 | 0.096545 | 0.055695 | 0.858971 | 0.826107 | 0.797082 | 0.771692 | 0.754441 | 0.728794 | 0 | 0.062587 | 0.344126 | 38,515 | 1,017 | 81 | 37.87119 | 0.71074 | 0 | 0 | 0.659783 | 0 | 0 | 0.178667 | 0.118272 | 0 | 0 | 0 | 0 | 0.118478 | 1 | 0.029348 | false | 0 | 0.005435 | 0 | 0.048913 | 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 |
0bad58e42c8355e861c7612ae77aef4fd73ce954 | 37 | py | Python | rekt_googleplaces/errors.py | vengefuldrx/rekt-googleplaces | 7831ac262577ac47a1700c71b129841d695717fd | [
"Apache-2.0"
] | 1 | 2015-09-18T06:31:38.000Z | 2015-09-18T06:31:38.000Z | rekt_googleplaces/errors.py | vengefuldrx/rekt-googleplaces | 7831ac262577ac47a1700c71b129841d695717fd | [
"Apache-2.0"
] | null | null | null | rekt_googleplaces/errors.py | vengefuldrx/rekt-googleplaces | 7831ac262577ac47a1700c71b129841d695717fd | [
"Apache-2.0"
] | null | null | null | from rekt_googlecore.errors import *
| 18.5 | 36 | 0.837838 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
e7ffdc34a6d02c394ea6b443de8050d6818a5617 | 1,394 | py | Python | 1-stack-overflows/remote/minishare-1.4.1/exploit.py | mostwantedduck/osed-1 | 112c719c86283cb735850d7cb6d05f42fa1c0a1a | [
"MIT"
] | 28 | 2021-05-31T13:41:12.000Z | 2022-03-29T06:19:18.000Z | 1-stack-overflows/remote/minishare-1.4.1/exploit.py | sradley/osed | 112c719c86283cb735850d7cb6d05f42fa1c0a1a | [
"MIT"
] | null | null | null | 1-stack-overflows/remote/minishare-1.4.1/exploit.py | sradley/osed | 112c719c86283cb735850d7cb6d05f42fa1c0a1a | [
"MIT"
] | 15 | 2021-05-28T07:39:34.000Z | 2022-03-09T19:09:28.000Z | #!/usr/bin/env python3
from pwn import *
pad = b'A' * 1787
# 0x74ff6c28: jmp esp;
ret = p32(0x75860000 + 0x6c28)
nop = b'\x90' * 64
# msfvenom -p windows/exec -b '\x00\x0d' -f py CMD=calc.exe
buf = b""
buf += b"\xba\x87\x2d\x18\x37\xda\xc2\xd9\x74\x24\xf4\x5f\x33"
buf += b"\xc9\xb1\x31\x31\x57\x13\x03\x57\x13\x8... | 37.675676 | 62 | 0.663558 | 315 | 1,394 | 2.936508 | 0.609524 | 0.077838 | 0.015135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249021 | 0.083931 | 1,394 | 36 | 63 | 38.722222 | 0.475333 | 0.071736 | 0 | 0 | 0 | 0.68 | 0.7134 | 0.681642 | 0 | 1 | 0.012393 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f018590d4020a10258c68bbc49f4b6909f694428 | 8,861 | py | Python | tests/tensortrade/unit/data/stream/test_node_builder_patterns.py | teonlacke/tensortrade | b1f441ff4a16940462720d96627f859e0497ab7d | [
"Apache-2.0"
] | 34 | 2020-06-05T22:39:53.000Z | 2022-01-09T03:09:12.000Z | tests/tensortrade/unit/data/stream/test_node_builder_patterns.py | teonlacke/tensortrade | b1f441ff4a16940462720d96627f859e0497ab7d | [
"Apache-2.0"
] | 1 | 2022-01-17T06:38:27.000Z | 2022-01-17T06:38:27.000Z | tests/tensortrade/unit/data/stream/test_node_builder_patterns.py | teonlacke/tensortrade | b1f441ff4a16940462720d96627f859e0497ab7d | [
"Apache-2.0"
] | 8 | 2020-06-01T12:09:53.000Z | 2022-01-18T14:45:29.000Z |
import pytest
import numpy as np
import pandas as pd
from tensortrade.data import DataFeed, Stream, BinOp
def test_lag():
s1 = Stream([1, 2, 3, 4, 5]).rename("stream")
assert s1.name == "stream"
lag = s1.lag()
assert lag.name == "Lag(stream,1)"
feed = DataFeed([lag])
feed.compile()
v... | 22.097257 | 87 | 0.533348 | 1,271 | 8,861 | 3.645161 | 0.096774 | 0.043169 | 0.054392 | 0.072523 | 0.833801 | 0.824736 | 0.789337 | 0.761278 | 0.724153 | 0.690697 | 0 | 0.050528 | 0.26295 | 8,861 | 400 | 88 | 22.1525 | 0.658858 | 0.022345 | 0 | 0.662651 | 0 | 0 | 0.099734 | 0 | 0 | 0 | 0 | 0 | 0.11245 | 1 | 0.060241 | false | 0 | 0.016064 | 0 | 0.076305 | 0.008032 | 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 |
f021db100ea9d617b6a8d4e32532f119448bde99 | 1,796 | py | Python | correctiv_nursinghomes/migrations/0002_auto_20160523_1220.py | correctiv/correctiv-nursinghomes | c2037891ca650736cff82a675b0a08ae694a7b9c | [
"MIT"
] | 4 | 2016-09-24T07:27:44.000Z | 2021-12-29T18:31:20.000Z | correctiv_nursinghomes/migrations/0002_auto_20160523_1220.py | correctiv/correctiv-nursinghomes | c2037891ca650736cff82a675b0a08ae694a7b9c | [
"MIT"
] | null | null | null | correctiv_nursinghomes/migrations/0002_auto_20160523_1220.py | correctiv/correctiv-nursinghomes | c2037891ca650736cff82a675b0a08ae694a7b9c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.6 on 2016-05-23 10:20
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('correctiv_nursinghomes', '0001_initial'),
]
operations = [
migrations.AddFie... | 29.442623 | 53 | 0.569599 | 158 | 1,796 | 6.28481 | 0.322785 | 0.163142 | 0.208459 | 0.244713 | 0.749245 | 0.713998 | 0.713998 | 0.667674 | 0.667674 | 0.667674 | 0 | 0.016393 | 0.320713 | 1,796 | 60 | 54 | 29.933333 | 0.797541 | 0.037305 | 0 | 0.679245 | 1 | 0 | 0.145423 | 0.024913 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.09434 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0263863d3f69202580656bdb00a74f6eb6f5d82 | 529 | py | Python | app/controller/notificationController.py | kirei-open/redmine-api-grabber | 2bd020c7bdc7b2abdb7839eb7eb5466de84a48e7 | [
"MIT"
] | null | null | null | app/controller/notificationController.py | kirei-open/redmine-api-grabber | 2bd020c7bdc7b2abdb7839eb7eb5466de84a48e7 | [
"MIT"
] | null | null | null | app/controller/notificationController.py | kirei-open/redmine-api-grabber | 2bd020c7bdc7b2abdb7839eb7eb5466de84a48e7 | [
"MIT"
] | null | null | null | from app.services import notification as notificationServices, redmine as redmineServices
def get_birthday():
return notificationServices.send_birthday_firebase()
def absen_masuk_notification():
return notificationServices.send_notif_absen_masuk()
def absen_keluar_notification():
return notificationServi... | 33.0625 | 89 | 0.818526 | 60 | 529 | 6.833333 | 0.516667 | 0.253659 | 0.292683 | 0.256098 | 0.253659 | 0.253659 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117202 | 529 | 16 | 90 | 33.0625 | 0.877944 | 0 | 0 | 0 | 0 | 0 | 0.032075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0.272727 | 0.818182 | 0.090909 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f05268cd6fca689312e1a472236403ddddce8e55 | 37 | py | Python | Plugins/Pizza/__init__.py | olkab93/SkypeBot | 2cd4f29b681045c5a1d26dc25551c3dc1d148401 | [
"MIT"
] | null | null | null | Plugins/Pizza/__init__.py | olkab93/SkypeBot | 2cd4f29b681045c5a1d26dc25551c3dc1d148401 | [
"MIT"
] | null | null | null | Plugins/Pizza/__init__.py | olkab93/SkypeBot | 2cd4f29b681045c5a1d26dc25551c3dc1d148401 | [
"MIT"
] | null | null | null | from .PizzaPlugin import PizzaPlugin
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f072f8ae18fcb4910aa4bb9d542028193c0d785f | 24 | py | Python | third_party/ros_aarch64/lib/python2.7/dist-packages/pb_msgs/msg/__init__.py | silverland79/apollo1.0 | 6e725e8dd5013b769efa18f43e5ae675f4847fbd | [
"Apache-2.0"
] | 2 | 2018-01-29T03:10:39.000Z | 2020-12-08T09:08:41.000Z | third_party/ros_aarch64/lib/python2.7/dist-packages/pb_msgs/msg/__init__.py | silverland79/apollo1.0 | 6e725e8dd5013b769efa18f43e5ae675f4847fbd | [
"Apache-2.0"
] | null | null | null | third_party/ros_aarch64/lib/python2.7/dist-packages/pb_msgs/msg/__init__.py | silverland79/apollo1.0 | 6e725e8dd5013b769efa18f43e5ae675f4847fbd | [
"Apache-2.0"
] | 3 | 2018-01-29T12:22:56.000Z | 2020-12-08T09:08:46.000Z | from .time_pb2 import *
| 12 | 23 | 0.75 | 4 | 24 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.166667 | 24 | 1 | 24 | 24 | 0.8 | 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 |
b2ff97f70a38d1cd0b901c0cb8a2752b65d4b084 | 9,628 | py | Python | exif/tests/get_file_baselines/grand_canyon_thumbnail.py | chbndrhnns/exif | 65aa2d8bcdecf79d34752390310222a9bd5d5bb3 | [
"MIT"
] | null | null | null | exif/tests/get_file_baselines/grand_canyon_thumbnail.py | chbndrhnns/exif | 65aa2d8bcdecf79d34752390310222a9bd5d5bb3 | [
"MIT"
] | null | null | null | exif/tests/get_file_baselines/grand_canyon_thumbnail.py | chbndrhnns/exif | 65aa2d8bcdecf79d34752390310222a9bd5d5bb3 | [
"MIT"
] | null | null | null | """Grand canyon thumbnail."""
from baseline import Baseline
GRAND_CANYON_THUMBNAIL = Baseline("""
ffd8ffdb004300080606070605080707070909080a0c140d0c0b0b0c1912130f141d1a1f1e1d1a1c1c20242e27
20222c231c1c2837292c30313434341f27393d38323c2e333432ffdb0043010909090c0b0c180d0d1832211c21
32323232323232323232323232... | 89.148148 | 94 | 0.944121 | 112 | 9,628 | 81.142857 | 0.955357 | 0.002421 | 0.004401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.64463 | 0.054217 | 9,628 | 107 | 95 | 89.981308 | 0.353393 | 0.002389 | 0 | 0 | 0 | 0 | 0.992187 | 0.937598 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009615 | 0 | 0.009615 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
650f396249d2c5e6c28911d288e4bd87b9f79469 | 3,332 | py | Python | nnutils/loss/gan.py | STomoya/animeface | 37b3cd26097d7874559d4c152e41e5712b7a1a42 | [
"MIT"
] | 61 | 2020-06-06T08:25:09.000Z | 2022-03-28T13:30:10.000Z | nnutils/loss/gan.py | OrigamiXx/animeface | 8724006df99ba7ef369e837d8294350ea733611b | [
"MIT"
] | 13 | 2020-07-02T02:41:14.000Z | 2021-05-09T14:24:58.000Z | nnutils/loss/gan.py | OrigamiXx/animeface | 8724006df99ba7ef369e837d8294350ea733611b | [
"MIT"
] | 8 | 2020-10-03T18:51:16.000Z | 2022-02-05T18:18:01.000Z |
import torch
import torch.nn as nn
import torch.nn.functional as F
from nnutils.loss._base import Loss
class Adversarial(Loss):
def real_loss(self,
prob: torch.Tensor
) -> torch.Tensor:
raise NotImplementedError()
def fake_loss(self,
prob: torch.Tensor
) -> torch.Tensor:
... | 21.22293 | 60 | 0.556122 | 459 | 3,332 | 3.908497 | 0.152505 | 0.19621 | 0.14214 | 0.167224 | 0.781494 | 0.748606 | 0.715162 | 0.715162 | 0.715162 | 0.610925 | 0 | 0.012409 | 0.298619 | 3,332 | 156 | 61 | 21.358974 | 0.755242 | 0.123349 | 0 | 0.670213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.180851 | false | 0 | 0.042553 | 0.095745 | 0.446809 | 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 |
33069d8a4b006d37e31b638f6b2abd71d413db8c | 130 | py | Python | Main.py | Young308/python_study | 9c78874567ac913cfa5849faefed8b4a2ab41276 | [
"MIT"
] | null | null | null | Main.py | Young308/python_study | 9c78874567ac913cfa5849faefed8b4a2ab41276 | [
"MIT"
] | null | null | null | Main.py | Young308/python_study | 9c78874567ac913cfa5849faefed8b4a2ab41276 | [
"MIT"
] | null | null | null | # Hello.py를 모듈로 가져옴
import Hello
print('main.py__name__: ', __name__) # name 변수 출력
# __main__ 값은 현재 실행되는 파일의 이름 (__name__)이다
| 14.444444 | 50 | 0.7 | 22 | 130 | 3.409091 | 0.772727 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 130 | 8 | 51 | 16.25 | 0.721154 | 0.523077 | 0 | 0 | 0 | 0 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.