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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6e94ba568f1305a602a22f36b40494d01fcc50d7 | 51 | py | Python | __init__.py | TeaKatz/Learning_Rate_Finder | bbc9e0a3a9324b4c1beeaf36f5a743435f9fa3dc | [
"MIT"
] | null | null | null | __init__.py | TeaKatz/Learning_Rate_Finder | bbc9e0a3a9324b4c1beeaf36f5a743435f9fa3dc | [
"MIT"
] | null | null | null | __init__.py | TeaKatz/Learning_Rate_Finder | bbc9e0a3a9324b4c1beeaf36f5a743435f9fa3dc | [
"MIT"
] | null | null | null | from .LearningRateFinder import LearningRateFinder
| 25.5 | 50 | 0.901961 | 4 | 51 | 11.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.978723 | 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 |
6e971429b8ed3893a1c9bb462eabbad1b2059e1d | 468 | py | Python | fl/fl2/fl2_test.py | Azmalent/itmo5 | ee3548c1b2e9d84715daa57634a056f935bf775e | [
"WTFPL"
] | null | null | null | fl/fl2/fl2_test.py | Azmalent/itmo5 | ee3548c1b2e9d84715daa57634a056f935bf775e | [
"WTFPL"
] | null | null | null | fl/fl2/fl2_test.py | Azmalent/itmo5 | ee3548c1b2e9d84715daa57634a056f935bf775e | [
"WTFPL"
] | null | null | null | from fl2 import fsm
def test1():
assert fsm.parse("cb")
assert fsm.parse("bccb")
assert fsm.parse("bcbccb")
def test2():
assert fsm.parse("acb")
assert fsm.parse("bcb")
assert fsm.parse("abcb")
assert fsm.parse("aabcb")
assert fsm.parse("bbbcb")
def test3():
assert fsm.parse("aa... | 19.5 | 56 | 0.647436 | 63 | 468 | 4.809524 | 0.380952 | 0.316832 | 0.415842 | 0.168317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.198718 | 468 | 24 | 57 | 19.5 | 0.794667 | 0 | 0 | 0 | 0 | 0 | 0.166311 | 0.06823 | 0 | 0 | 0 | 0 | 0.705882 | 1 | 0.235294 | true | 0 | 0.058824 | 0 | 0.294118 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6eca6ebcba00334d8d319abdd9c4a7b0cf458ed1 | 3,456 | py | Python | least_squares/icp/icp_so3.py | yimuw/yimu-blog | 280ab2eca1fa48602d1695d69366842ea40debda | [
"BSD-3-Clause"
] | 8 | 2021-06-11T05:50:40.000Z | 2022-03-29T02:41:05.000Z | least_squares/icp/icp_so3.py | yimuw/yimu-blog | 280ab2eca1fa48602d1695d69366842ea40debda | [
"BSD-3-Clause"
] | 7 | 2020-06-28T13:58:26.000Z | 2021-12-09T22:30:54.000Z | least_squares/icp/icp_so3.py | yimuw/yimu-blog | 280ab2eca1fa48602d1695d69366842ea40debda | [
"BSD-3-Clause"
] | 5 | 2021-07-07T04:00:14.000Z | 2022-03-30T03:42:54.000Z | import numpy as np
# from scipy.linalg import logm, expm
from math import cos, sin, pi
import matplotlib.pyplot as plt
from utils import skew, so3_exp
def icp_residual_so3(point_src, point_target, w_so3):
R = so3_exp(w_so3)
residual =R @ point_src - point_target
# [p1_x, p1_y, p1_z, p2_x, p2_y, p2_z, ...]... | 33.553398 | 97 | 0.674479 | 508 | 3,456 | 4.244094 | 0.17126 | 0.06679 | 0.096475 | 0.141002 | 0.852505 | 0.833024 | 0.833024 | 0.798701 | 0.730056 | 0.700835 | 0 | 0.026578 | 0.216146 | 3,456 | 102 | 98 | 33.882353 | 0.769288 | 0.095775 | 0 | 0.59375 | 0 | 0 | 0.008355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.0625 | 0 | 0.21875 | 0.03125 | 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 |
953877841529738bf70e07a5327b834d27e39aaa | 30,178 | py | Python | src/eventPoints.py | CB1204/LapSimulation | 7d7f7c43a6bc3db3dbf02050d939da3f17647c2c | [
"MIT"
] | 7 | 2018-02-22T16:58:26.000Z | 2022-02-05T18:17:56.000Z | src/eventPoints.py | CB1204/LapSimulation | 7d7f7c43a6bc3db3dbf02050d939da3f17647c2c | [
"MIT"
] | null | null | null | src/eventPoints.py | CB1204/LapSimulation | 7d7f7c43a6bc3db3dbf02050d939da3f17647c2c | [
"MIT"
] | 2 | 2019-04-15T21:07:03.000Z | 2021-05-11T07:41:49.000Z | from LSvehicleOneDimLookup_2 import vehicleOneDimLookup_2 as vehicle_ODL_2
from LSvehicleTwoDimLookup_2 import vehicleTwoDimLookup_2 as vehicle_TDL_2
from Create_TrackMap_2D import Create_TrackMap_2D
from _pytest.assertion.util import basestring
from track import Track
import lapsim as lts
import Acceleration
import nu... | 47.226917 | 134 | 0.476307 | 2,925 | 30,178 | 4.887863 | 0.102906 | 0.023431 | 0.022592 | 0.020144 | 0.77156 | 0.760579 | 0.747919 | 0.747919 | 0.742533 | 0.727006 | 0 | 0.047149 | 0.42299 | 30,178 | 639 | 135 | 47.226917 | 0.773905 | 0.109086 | 0 | 0.775926 | 0 | 0.001852 | 0.04922 | 0.005896 | 0 | 0 | 0 | 0 | 0.001852 | 1 | 0.014815 | false | 0 | 0.02037 | 0 | 0.072222 | 0.012963 | 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 |
95be063085593ec4351b60d98d2725d1980e7090 | 197 | py | Python | src/main/python/afp_alppaca/__init__.py | Scout24/afp-alppaca | e06fca7f9b53ba50c1ff15d23f1f63879a232d85 | [
"Apache-2.0"
] | 3 | 2019-04-30T20:46:16.000Z | 2021-07-04T18:22:47.000Z | src/main/python/afp_alppaca/__init__.py | Scout24/afp-alppaca | e06fca7f9b53ba50c1ff15d23f1f63879a232d85 | [
"Apache-2.0"
] | 23 | 2015-06-18T09:45:19.000Z | 2015-12-15T10:18:22.000Z | src/main/python/afp_alppaca/__init__.py | ImmobilienScout24/alppaca | e06fca7f9b53ba50c1ff15d23f1f63879a232d85 | [
"Apache-2.0"
] | 4 | 2015-10-13T07:26:25.000Z | 2015-11-25T10:14:27.000Z | from __future__ import print_function, absolute_import, unicode_literals, division
from afp_alppaca.ims_interface import IMSCredentialsProvider, NoRolesFoundException, NoCredentialsFoundException
| 49.25 | 112 | 0.898477 | 19 | 197 | 8.842105 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071066 | 197 | 3 | 113 | 65.666667 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
95e7b6dc7b98709c674c4f929b391f0338129a83 | 68 | py | Python | pandas_s3_redshift/__init__.py | nit567esh/pandas_s3_redshift | 02e240ea48ee5237c2739ea2da4e42142777cbea | [
"MIT"
] | null | null | null | pandas_s3_redshift/__init__.py | nit567esh/pandas_s3_redshift | 02e240ea48ee5237c2739ea2da4e42142777cbea | [
"MIT"
] | null | null | null | pandas_s3_redshift/__init__.py | nit567esh/pandas_s3_redshift | 02e240ea48ee5237c2739ea2da4e42142777cbea | [
"MIT"
] | null | null | null |
name="pandas_s3_redshift/pandas_s3_redshift"
__version__ = "1.0.0"
| 17 | 44 | 0.794118 | 11 | 68 | 4.181818 | 0.636364 | 0.347826 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 0.073529 | 68 | 3 | 45 | 22.666667 | 0.650794 | 0 | 0 | 0 | 0 | 0 | 0.626866 | 0.552239 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
255575956ad4a24a2e085bf6d7e7fcaa5cbccae0 | 1,110 | py | Python | Python/XGBoost/evaluate-model-quality.py | James-McNeill/Learning | 3c4fe1a64240cdf5614db66082bd68a2f16d2afb | [
"MIT"
] | null | null | null | Python/XGBoost/evaluate-model-quality.py | James-McNeill/Learning | 3c4fe1a64240cdf5614db66082bd68a2f16d2afb | [
"MIT"
] | null | null | null | Python/XGBoost/evaluate-model-quality.py | James-McNeill/Learning | 3c4fe1a64240cdf5614db66082bd68a2f16d2afb | [
"MIT"
] | null | null | null | # Example 1: Showing the Root Mean Squared Error (RMSE) metric. Penalises large residuals
# Create the DMatrix: housing_dmatrix
housing_dmatrix = xgb.DMatrix(data=X, label=y)
# Create the parameter dictionary: params
params = {"objective":"reg:linear", "max_depth":4}
# Perform cross-validation: cv_results
cv_results ... | 33.636364 | 128 | 0.766667 | 168 | 1,110 | 4.922619 | 0.339286 | 0.108827 | 0.101572 | 0.055623 | 0.822249 | 0.822249 | 0.822249 | 0.822249 | 0.822249 | 0.822249 | 0 | 0.016227 | 0.111712 | 1,110 | 32 | 129 | 34.6875 | 0.822515 | 0.445946 | 0 | 0.6 | 0 | 0 | 0.149502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 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 |
256f6e761afcb69bd398f1834e55c819a31a18cc | 180 | py | Python | smarc_gz_model_cleaner/setup.py | Jollerprutt/smarc_utils | cf938dbddffbf745cb8d2cbc92c502e286f63b75 | [
"BSD-3-Clause"
] | 1 | 2022-03-19T10:55:37.000Z | 2022-03-19T10:55:37.000Z | smarc_gz_model_cleaner/setup.py | Jollerprutt/smarc_utils | cf938dbddffbf745cb8d2cbc92c502e286f63b75 | [
"BSD-3-Clause"
] | 8 | 2018-01-26T10:58:47.000Z | 2021-06-06T11:10:51.000Z | smarc_gz_model_cleaner/setup.py | Jollerprutt/smarc_utils | cf938dbddffbf745cb8d2cbc92c502e286f63b75 | [
"BSD-3-Clause"
] | 5 | 2017-10-17T08:21:36.000Z | 2021-03-24T16:35:01.000Z | from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
scripts=[ 'scripts/gz_models_cleaner.py'])
setup(**d) | 30 | 60 | 0.822222 | 26 | 180 | 5.384615 | 0.576923 | 0.242857 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 180 | 6 | 61 | 30 | 0.853659 | 0 | 0 | 0 | 1 | 0 | 0.154696 | 0.154696 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c278582f8b1bd2eca3606b60471b92c677a91aab | 180 | py | Python | lab2/myutils/lab2_task1/__init__.py | kinpa200296/python_labs | bb26c426cbe9bb27f45b8ee4c974c38db300468f | [
"MIT"
] | null | null | null | lab2/myutils/lab2_task1/__init__.py | kinpa200296/python_labs | bb26c426cbe9bb27f45b8ee4c974c38db300468f | [
"MIT"
] | null | null | null | lab2/myutils/lab2_task1/__init__.py | kinpa200296/python_labs | bb26c426cbe9bb27f45b8ee4c974c38db300468f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from mergesort import sort
from mergesort import max_elem_in_memory
from gen import generate
from checker import check_if_sorted
__author__ = 'kinpa200296'
| 20 | 40 | 0.827778 | 27 | 180 | 5.185185 | 0.740741 | 0.185714 | 0.271429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038217 | 0.127778 | 180 | 8 | 41 | 22.5 | 0.853503 | 0.111111 | 0 | 0 | 1 | 0 | 0.069182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c28c098bbfc8d5e86b37bade41c2b54b60ed58f5 | 154 | py | Python | helloworld.py | zhoushao12/Script | e92c8a657f9ff96037a3265df190b13a18199f1f | [
"Apache-2.0"
] | null | null | null | helloworld.py | zhoushao12/Script | e92c8a657f9ff96037a3265df190b13a18199f1f | [
"Apache-2.0"
] | null | null | null | helloworld.py | zhoushao12/Script | e92c8a657f9ff96037a3265df190b13a18199f1f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
def main():
print 'hello world!'
print '------------------'
print '------------------'
print '------------------'
main() | 22 | 30 | 0.363636 | 13 | 154 | 4.307692 | 0.692308 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162338 | 154 | 7 | 31 | 22 | 0.434109 | 0.12987 | 0 | 0.5 | 0 | 0 | 0.492537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c299bcfbb8f0ca5a1de9643ebd10de95bf26c5a7 | 258 | py | Python | cpab/cpaNd/utils/__init__.py | freifeld/cpabDiffeo | 22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6 | [
"MIT"
] | 17 | 2016-03-16T21:35:36.000Z | 2021-11-11T04:16:21.000Z | cpab/cpaNd/utils/__init__.py | freifeld/cpabDiffeo | 22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6 | [
"MIT"
] | null | null | null | cpab/cpaNd/utils/__init__.py | freifeld/cpabDiffeo | 22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6 | [
"MIT"
] | 4 | 2016-08-12T23:02:09.000Z | 2019-03-14T18:20:36.000Z | from _null import null
from _create_constraint_mat_preserve_vol import create_constraint_mat_preserve_vol
from _create_constraint_mat_zerovals import create_constraint_mat_zerovals
from _get_stuff_for_the_local_version import get_stuff_for_the_local_version
| 51.6 | 82 | 0.937984 | 40 | 258 | 5.35 | 0.375 | 0.299065 | 0.35514 | 0.214953 | 0.523364 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062016 | 258 | 4 | 83 | 64.5 | 0.884298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 |
c2f2943a02931601f6087aebf5f7c074c470f653 | 21,508 | py | Python | blockcerts/const.py | docknetwork/verifiable-claims-engine | 1aab94510f421ce131642b64aefcd9a21c888f23 | [
"MIT"
] | 5 | 2019-10-21T18:17:38.000Z | 2020-12-09T06:40:32.000Z | blockcerts/const.py | docknetwork/verifiable-claims-engine | 1aab94510f421ce131642b64aefcd9a21c888f23 | [
"MIT"
] | 4 | 2019-11-01T20:10:54.000Z | 2020-01-21T20:41:00.000Z | blockcerts/const.py | docknetwork/verifiable-claims-engine | 1aab94510f421ce131642b64aefcd9a21c888f23 | [
"MIT"
] | 2 | 2020-02-02T20:00:46.000Z | 2020-02-12T10:12:05.000Z | from voluptuous import Schema, REMOVE_EXTRA, Optional, All, Length
RECIPIENT_NAME_KEY = 'name'
RECIPIENT_EMAIL_KEY = 'identity'
RECIPIENT_PUBLIC_KEY_KEY = 'pubkey'
RECIPIENT_ADDITIONAL_FIELDS_KEY = 'additional_fields'
RECIPIENT_EXPIRES_KEY = 'expires'
ISSUER_SCHEMA = Schema(
{
"name": str,
"main_u... | 228.808511 | 18,482 | 0.888879 | 1,203 | 21,508 | 15.778055 | 0.533666 | 0.021917 | 0.020652 | 0.007165 | 0.08577 | 0.064064 | 0.052948 | 0.052948 | 0.052948 | 0.052948 | 0 | 0.12584 | 0.045285 | 21,508 | 93 | 18,483 | 231.268817 | 0.798529 | 0 | 0 | 0.113636 | 0 | 0.022727 | 0.895574 | 0.758973 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011364 | 0 | 0.011364 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c11e06d62b2eef9ccbb25f94fe0bee162ce31fd | 20,222 | py | Python | tests/test_join.py | fferrin/pytopojson | 5128136c9502f4e29330b6cc7e524641bff5f95e | [
"0BSD"
] | 11 | 2019-11-15T23:22:52.000Z | 2022-01-22T20:46:30.000Z | tests/test_join.py | fferrin/topojson | 7f90e497d2b54798f51480181c81c330770cb401 | [
"0BSD"
] | 8 | 2019-11-08T03:03:29.000Z | 2022-02-28T09:52:09.000Z | tests/test_join.py | fferrin/topojson | 7f90e497d2b54798f51480181c81c330770cb401 | [
"0BSD"
] | 2 | 2020-07-09T06:45:31.000Z | 2021-03-22T13:38:35.000Z | import unittest
from pytopojson import (
extract,
join,
)
class JoinTestCase(unittest.TestCase):
def setUp(self):
self.extract = extract.Extract()
self.join = join.Join()
def test_join_the_returned_hashmap_has_true_for_junction_points(self):
junctions = self.join(
... | 32.563607 | 115 | 0.397587 | 2,015 | 20,222 | 3.708189 | 0.056576 | 0.041221 | 0.033324 | 0.035332 | 0.89106 | 0.864026 | 0.851847 | 0.828694 | 0.805808 | 0.757227 | 0 | 0.05718 | 0.435269 | 20,222 | 620 | 116 | 32.616129 | 0.59711 | 0 | 0 | 0.484171 | 0 | 0 | 0.074523 | 0 | 0 | 0 | 0 | 0 | 0.07635 | 1 | 0.07635 | false | 0 | 0.003724 | 0 | 0.081937 | 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 |
6c14507586a1463cd517aaed48d6a9e523b4f0bd | 93 | py | Python | helpers.py | rpiesveloces/seeds-gratidaum-bot | 9ff6b3451123b50c30986e3fcb1797ab282296d0 | [
"CC0-1.0"
] | null | null | null | helpers.py | rpiesveloces/seeds-gratidaum-bot | 9ff6b3451123b50c30986e3fcb1797ab282296d0 | [
"CC0-1.0"
] | 1 | 2021-07-07T19:50:51.000Z | 2021-07-07T19:50:51.000Z | helpers.py | rpiesveloces/seeds-gratidaum-bot | 9ff6b3451123b50c30986e3fcb1797ab282296d0 | [
"CC0-1.0"
] | 1 | 2021-06-22T17:47:47.000Z | 2021-06-22T17:47:47.000Z | from lxml import html
def strip_html(s):
return str(html.fromstring(s).text_content())
| 15.5 | 49 | 0.731183 | 15 | 93 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 93 | 5 | 50 | 18.6 | 0.835443 | 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 |
66632adfcc1fdc97e8949e7ae9ccd192ae27b917 | 33 | py | Python | geocode_sqlite/__init__.py | noslouch/geocode-sqlite | 620462cc7a1df2cb45de589cf32eb5d68779c90f | [
"Apache-2.0"
] | 222 | 2020-09-08T13:00:39.000Z | 2022-03-11T19:49:17.000Z | geocode_sqlite/__init__.py | noslouch/geocode-sqlite | 620462cc7a1df2cb45de589cf32eb5d68779c90f | [
"Apache-2.0"
] | 23 | 2020-09-08T14:43:55.000Z | 2022-03-16T01:38:04.000Z | geocode_sqlite/__init__.py | noslouch/geocode-sqlite | 620462cc7a1df2cb45de589cf32eb5d68779c90f | [
"Apache-2.0"
] | 6 | 2020-09-27T07:08:21.000Z | 2022-03-15T20:04:13.000Z | from .utils import geocode_table
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
667121d7822abdc44fc09731f74fe3afe816a209 | 83 | py | Python | cs1006-IntroPython/HW5-MachineLearning/__init__.py | ecahern16/AcademicCode | cf95a65545e7054604c23d4830f709323eeb81f5 | [
"Apache-2.0"
] | null | null | null | cs1006-IntroPython/HW5-MachineLearning/__init__.py | ecahern16/AcademicCode | cf95a65545e7054604c23d4830f709323eeb81f5 | [
"Apache-2.0"
] | null | null | null | cs1006-IntroPython/HW5-MachineLearning/__init__.py | ecahern16/AcademicCode | cf95a65545e7054604c23d4830f709323eeb81f5 | [
"Apache-2.0"
] | null | null | null | from advanced import *
from data import *
from models import *
from utils import *
| 16.6 | 22 | 0.759036 | 12 | 83 | 5.25 | 0.5 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 83 | 4 | 23 | 20.75 | 0.940299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
66b68c7ed5c5d7b650a94979f302009154133272 | 49 | py | Python | village/simulation/__init__.py | Kontari/VillageRevamp | bb89b54a6367dc76567fe5f996d47435610caab6 | [
"MIT"
] | null | null | null | village/simulation/__init__.py | Kontari/VillageRevamp | bb89b54a6367dc76567fe5f996d47435610caab6 | [
"MIT"
] | null | null | null | village/simulation/__init__.py | Kontari/VillageRevamp | bb89b54a6367dc76567fe5f996d47435610caab6 | [
"MIT"
] | null | null | null | from .manager import *
from .simulation import *
| 16.333333 | 25 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 26 | 24.5 | 0.902439 | 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 |
dd5e071e6993bc1bde1add42fe3d5b537d722349 | 683 | py | Python | networks/mlp/loss_functions.py | PiotrGrzybowski/NeuralNetworks | 4fe4295761bc1a1df5d52e69ce574256626833c6 | [
"Apache-2.0"
] | null | null | null | networks/mlp/loss_functions.py | PiotrGrzybowski/NeuralNetworks | 4fe4295761bc1a1df5d52e69ce574256626833c6 | [
"Apache-2.0"
] | null | null | null | networks/mlp/loss_functions.py | PiotrGrzybowski/NeuralNetworks | 4fe4295761bc1a1df5d52e69ce574256626833c6 | [
"Apache-2.0"
] | null | null | null | import numpy as np
class LossFunction:
@staticmethod
def calculate_cost(expected_value, predicted):
raise NotImplementedError("Should have implemented this!")
@staticmethod
def calculate_cost_gradient(expected_value, outputs, derivative_outputs):
raise NotImplementedError("Should have... | 31.045455 | 77 | 0.751098 | 73 | 683 | 6.821918 | 0.410959 | 0.156627 | 0.192771 | 0.2249 | 0.702811 | 0.702811 | 0.506024 | 0.293173 | 0.293173 | 0.293173 | 0 | 0.005319 | 0.174231 | 683 | 21 | 78 | 32.52381 | 0.87766 | 0 | 0 | 0.533333 | 0 | 0 | 0.084919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.133333 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dd6a4ab0625ea7a6740b1a460d54b00e9a901081 | 70 | py | Python | test.py | fl16180/gtrends-tools | 7af4c9b18345911aa8642eb9a45d4291bb1a4017 | [
"MIT"
] | 3 | 2018-10-05T17:56:18.000Z | 2020-03-27T18:21:04.000Z | test.py | fl16180/gtrends-tools | 7af4c9b18345911aa8642eb9a45d4291bb1a4017 | [
"MIT"
] | 1 | 2020-10-05T23:46:26.000Z | 2020-10-27T00:17:45.000Z | test.py | fl16180/gtrends-tools | 7af4c9b18345911aa8642eb9a45d4291bb1a4017 | [
"MIT"
] | 2 | 2018-09-12T19:05:09.000Z | 2021-04-12T02:53:30.000Z | from setuptools import setup, find_packages
print find_packages()
| 17.5 | 44 | 0.8 | 9 | 70 | 6 | 0.777778 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 3 | 45 | 23.333333 | 0.915254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
dd76f04631ab92c0ba39dbcb49f5d5f0881cefe8 | 2,363 | py | Python | trolls/gym_wrappers/noisy.py | sintefneodroid/trolls | 724fea14522029596e87be3115e90672466a1c8d | [
"Apache-2.0"
] | null | null | null | trolls/gym_wrappers/noisy.py | sintefneodroid/trolls | 724fea14522029596e87be3115e90672466a1c8d | [
"Apache-2.0"
] | null | null | null | trolls/gym_wrappers/noisy.py | sintefneodroid/trolls | 724fea14522029596e87be3115e90672466a1c8d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = "Christian Heider Nielsen"
import gym
import numpy
from gym.spaces.box import Box
__all__ = ["NoisyObservationWrapper", "NoisyActionWrapper"]
class NoisyObservationWrapper(gym.ObservationWrapper):
"""Make observation dynamic by adding noise"""
def... | 34.75 | 99 | 0.629285 | 311 | 2,363 | 4.549839 | 0.247588 | 0.093286 | 0.096113 | 0.050883 | 0.743463 | 0.743463 | 0.743463 | 0.743463 | 0.743463 | 0.743463 | 0 | 0.03 | 0.238256 | 2,363 | 67 | 100 | 35.268657 | 0.756111 | 0.180279 | 0 | 0.648649 | 0 | 0 | 0.034722 | 0.012286 | 0 | 0 | 0 | 0.014925 | 0 | 1 | 0.108108 | false | 0 | 0.081081 | 0 | 0.297297 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd80a6cb11da53ce64758ab88d167346d533e608 | 6,382 | py | Python | lib/nms/box_voting.py | zxt881108/Deformable-ConvNets-1 | 6c73b54262fea0a8a6a7f0225689b7d76f546e1f | [
"MIT"
] | 2 | 2018-03-31T13:25:15.000Z | 2018-05-31T13:09:17.000Z | lib/nms/box_voting.py | zxt881108/Deformable-ConvNets | 6c73b54262fea0a8a6a7f0225689b7d76f546e1f | [
"MIT"
] | 1 | 2018-04-09T09:42:51.000Z | 2018-04-10T02:56:15.000Z | lib/nms/box_voting.py | zxt881108/Deformable-ConvNets | 6c73b54262fea0a8a6a7f0225689b7d76f546e1f | [
"MIT"
] | null | null | null | import numpy as np
DEBUG = True
def py_box_voting_wrapper(IOU_thresh, score_thresh, with_nms):
if with_nms:
def _box_voting(nms_dets, dets):
return box_voting_nms(nms_dets, dets, IOU_thresh, score_thresh)
else:
def _box_voting(dets):
return box_voting(dets, IOU_thresh, ... | 36.890173 | 109 | 0.616735 | 912 | 6,382 | 4.095395 | 0.109649 | 0.056225 | 0.048193 | 0.042838 | 0.858367 | 0.827845 | 0.827309 | 0.816064 | 0.816064 | 0.816064 | 0 | 0.032009 | 0.270605 | 6,382 | 172 | 110 | 37.104651 | 0.770354 | 0.181761 | 0 | 0.605042 | 0 | 0 | 0.03602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042017 | false | 0 | 0.008403 | 0.016807 | 0.092437 | 0.12605 | 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 |
dd90b1f9abca3d57f925343d0b11022ecb3aec1f | 47 | py | Python | arturo/gfx/__init__.py | rhestilow/arturo | 4b3c33bc45e73524726bd7040d69ec9730ce57c3 | [
"MIT"
] | null | null | null | arturo/gfx/__init__.py | rhestilow/arturo | 4b3c33bc45e73524726bd7040d69ec9730ce57c3 | [
"MIT"
] | null | null | null | arturo/gfx/__init__.py | rhestilow/arturo | 4b3c33bc45e73524726bd7040d69ec9730ce57c3 | [
"MIT"
] | null | null | null | from arturo.gfx.canvas import Canvas, triangle
| 23.5 | 46 | 0.829787 | 7 | 47 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 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 |
dd9adf7b05c1b3c756343fa3929a3e550454ee7e | 659 | py | Python | havsim/simulation/__init__.py | ronan-keane/hav-sim | 0aaf9674e987822ff2dc90c74613d5e68e8ef0ce | [
"Apache-2.0"
] | null | null | null | havsim/simulation/__init__.py | ronan-keane/hav-sim | 0aaf9674e987822ff2dc90c74613d5e68e8ef0ce | [
"Apache-2.0"
] | null | null | null | havsim/simulation/__init__.py | ronan-keane/hav-sim | 0aaf9674e987822ff2dc90c74613d5e68e8ef0ce | [
"Apache-2.0"
] | 2 | 2020-09-30T22:44:37.000Z | 2021-05-09T07:36:28.000Z |
"""
@author: rlk268@cornell.edu
"""
from havsim.simulation import simulation
from havsim.simulation import models
from havsim.simulation import relaxation
from havsim.simulation import road_networks
from havsim.simulation import update_lane_routes
from havsim.simulation import vehicle_orders
from havsim.simulation im... | 32.95 | 65 | 0.855842 | 88 | 659 | 6.318182 | 0.284091 | 0.233813 | 0.467626 | 0.374101 | 0.410072 | 0.302158 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 0.098634 | 659 | 20 | 66 | 32.95 | 0.930976 | 0.094082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
06e518598b1192ea02bf03777dab934e07c2116b | 38 | py | Python | data_structure/__init__.py | lvyufeng/basic_nlp_modules | 354aac74eaa268f6bc4cf29d44adbe8d3f41e9ad | [
"MIT"
] | 4 | 2020-05-01T16:30:24.000Z | 2021-04-05T12:50:48.000Z | data_structure/__init__.py | lvyufeng/basic_nlp_modules | 354aac74eaa268f6bc4cf29d44adbe8d3f41e9ad | [
"MIT"
] | null | null | null | data_structure/__init__.py | lvyufeng/basic_nlp_modules | 354aac74eaa268f6bc4cf29d44adbe8d3f41e9ad | [
"MIT"
] | null | null | null | from data_structure.trie_tree import * | 38 | 38 | 0.868421 | 6 | 38 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.885714 | 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 |
66496de97b72d49781c9bf09d508a086920c125b | 23 | py | Python | examples/django_roa_server/__init__.py | jathanism/django-roa | e16be7baff5d15c6c924e63fbd94fddcbe41fa9b | [
"BSD-3-Clause"
] | 3 | 2020-05-05T23:24:16.000Z | 2022-03-05T18:47:13.000Z | examples/django_roa_server/__init__.py | jathanism/django-roa | e16be7baff5d15c6c924e63fbd94fddcbe41fa9b | [
"BSD-3-Clause"
] | 2 | 2018-05-25T13:52:35.000Z | 2018-11-07T16:14:42.000Z | examples/django_roa_server/__init__.py | Keypr/django-roa | ea74ae11230a43a7e1c4ba233906dc9d517afab3 | [
"BSD-3-Clause"
] | 1 | 2022-03-05T18:50:47.000Z | 2022-03-05T18:50:47.000Z | from . import emitters
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 |
b07e6231d9c9601f4cf35b06d5699fe71f3b6fba | 47 | py | Python | simulation/device/simulated/fixed_consumption/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 2 | 2019-01-05T02:33:38.000Z | 2020-04-22T16:57:50.000Z | simulation/device/simulated/fixed_consumption/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 3 | 2019-04-17T18:13:08.000Z | 2021-04-23T22:40:23.000Z | simulation/device/simulated/fixed_consumption/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-01-31T08:37:44.000Z | 2019-01-31T08:37:44.000Z | from fixed_consumption import FixedConsumption
| 23.5 | 46 | 0.914894 | 5 | 47 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.976744 | 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 |
b083219084158c8da5ab9294f4a9dec69eea1b86 | 61 | py | Python | simple/themes/simple/__init__.py | haoxun/GeekCMS-Themes | 48839c23fb69f5e932d1d9db783ae788189b0a80 | [
"MIT"
] | null | null | null | simple/themes/simple/__init__.py | haoxun/GeekCMS-Themes | 48839c23fb69f5e932d1d9db783ae788189b0a80 | [
"MIT"
] | null | null | null | simple/themes/simple/__init__.py | haoxun/GeekCMS-Themes | 48839c23fb69f5e932d1d9db783ae788189b0a80 | [
"MIT"
] | null | null | null | from . import load
from . import process
from . import write
| 15.25 | 21 | 0.754098 | 9 | 61 | 5.111111 | 0.555556 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 3 | 22 | 20.333333 | 0.938776 | 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 |
b0a2422ddddc6badf7862f01eb33210fffb3c5dc | 35 | py | Python | env/lib64/python3.8/site-packages/openpyxl/writer/__init__.py | albixhafa/balance-sheet-integrity | bc7edef8ac7d7e57375a26f9edf9c7235722a2ac | [
"MIT"
] | 11 | 2020-06-28T04:30:26.000Z | 2022-03-26T08:40:47.000Z | env/lib64/python3.8/site-packages/openpyxl/writer/__init__.py | albixhafa/balance-sheet-integrity | bc7edef8ac7d7e57375a26f9edf9c7235722a2ac | [
"MIT"
] | 10 | 2020-09-30T12:49:45.000Z | 2020-10-04T10:26:33.000Z | venv/Lib/site-packages/openpyxl/writer/__init__.py | aklauritzen/bilago | 276b1c11e259dd77260c74fc013f59eb1eb42d2f | [
"MIT"
] | 1 | 2021-11-16T19:06:53.000Z | 2021-11-16T19:06:53.000Z | # Copyright (c) 2010-2020 openpyxl
| 17.5 | 34 | 0.742857 | 5 | 35 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.142857 | 35 | 1 | 35 | 35 | 0.6 | 0.914286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b0aa9c0d0658f9f672380aa87822d23863c76cf8 | 297 | py | Python | easy_crypto/lesson2/task5.py | PeteCoward/teach-python | 2a63ece83151631ab4dcf868c361acdfe4e6c85f | [
"MIT"
] | 1 | 2015-12-19T00:38:46.000Z | 2015-12-19T00:38:46.000Z | easy_crypto/lesson2/task5.py | PeteCoward/teach-python | 2a63ece83151631ab4dcf868c361acdfe4e6c85f | [
"MIT"
] | null | null | null | easy_crypto/lesson2/task5.py | PeteCoward/teach-python | 2a63ece83151631ab4dcf868c361acdfe4e6c85f | [
"MIT"
] | null | null | null | '''
# TASK 5 - write a function to generate all the possible shifts of an array of bytes
'''
from .task3 import shift_byte_array
def get_all_shifts(byte_array):
''' return all possible shifts of input byte array'''
return [shift_byte_array(byte_array, shift) for shift in range(1, 256)]
| 29.7 | 84 | 0.734007 | 49 | 297 | 4.285714 | 0.591837 | 0.214286 | 0.152381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 0.178451 | 297 | 9 | 85 | 33 | 0.836066 | 0.441077 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ffb1bc15fb4d365a975edc9eb01dc8f8dd1e769 | 1,360 | py | Python | problems/chapter04/mshibatatt/006.py | tokuma09/algorithm_problems | 58534620df73b230afbeb12de126174362625a78 | [
"CC0-1.0"
] | 1 | 2021-07-07T15:46:58.000Z | 2021-07-07T15:46:58.000Z | problems/chapter04/mshibatatt/006.py | tokuma09/algorithm_problems | 58534620df73b230afbeb12de126174362625a78 | [
"CC0-1.0"
] | 5 | 2021-06-05T14:16:41.000Z | 2021-07-10T07:08:28.000Z | problems/chapter04/mshibatatt/006.py | tokuma09/algorithm_problems | 58534620df73b230afbeb12de126174362625a78 | [
"CC0-1.0"
] | null | null | null | def bool_func(i, w, a):
if i == 0:
if w == 0:
return True
else:
return False
# in case not choosing a[i-1]
if bool_func(i-1, w, a):
return True
# in case choosing a[i-1]
if bool_func(i-1, w-a[i-1], a): return True
# return False if both cas... | 21.587302 | 60 | 0.4875 | 226 | 1,360 | 2.849558 | 0.154867 | 0.059006 | 0.046584 | 0.043478 | 0.864907 | 0.864907 | 0.784161 | 0.768634 | 0.720497 | 0.628882 | 0 | 0.025247 | 0.330147 | 1,360 | 63 | 61 | 21.587302 | 0.681669 | 0.144118 | 0 | 0.642857 | 0 | 0 | 0.023726 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0 | 0 | 0.309524 | 0.095238 | 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 |
b00096b545f692dc70353c5edb57c5ce5dbf8abc | 192 | py | Python | curso-em-video/aula_04/aula-04-primeiros-comandos.py | talysonxx/python | 520b108731e28c7dc1fca3523b925be506fd8340 | [
"MIT"
] | null | null | null | curso-em-video/aula_04/aula-04-primeiros-comandos.py | talysonxx/python | 520b108731e28c7dc1fca3523b925be506fd8340 | [
"MIT"
] | null | null | null | curso-em-video/aula_04/aula-04-primeiros-comandos.py | talysonxx/python | 520b108731e28c7dc1fca3523b925be506fd8340 | [
"MIT"
] | null | null | null | nome = input('Qual é o seu nome? ')
idade = input('Qual é a sua idade? ')
peso = input('Qual é o seu peso? ')
print(f'\033[4:31m{nome}\033[m, \033[4:34m{idade}\033[m, \033[4:35m{peso}\033[m')
| 38.4 | 81 | 0.625 | 41 | 192 | 2.926829 | 0.439024 | 0.225 | 0.25 | 0.183333 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 0.140625 | 192 | 4 | 82 | 48 | 0.563636 | 0 | 0 | 0 | 0 | 0.25 | 0.671875 | 0.359375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b00aa5fcee5f2a82570c2f66065a5fa94d793eee | 51 | py | Python | run.py | LightForm-group/lightform_data_explorer | 03af6e73e45877f0e6b4f128d51731f5dbcb27f3 | [
"FTL"
] | null | null | null | run.py | LightForm-group/lightform_data_explorer | 03af6e73e45877f0e6b4f128d51731f5dbcb27f3 | [
"FTL"
] | 18 | 2021-09-09T11:45:08.000Z | 2021-12-03T16:11:29.000Z | run.py | LightForm-group/lightform_data_explorer | 03af6e73e45877f0e6b4f128d51731f5dbcb27f3 | [
"FTL"
] | null | null | null | import lf_data_explorer
lf_data_explorer.app.run() | 17 | 26 | 0.862745 | 9 | 51 | 4.444444 | 0.666667 | 0.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 51 | 3 | 26 | 17 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b00d4064ea86e6ccac169c3bc650edce793fd080 | 24 | py | Python | plugins/pocsuite/net.py | aliluyala/PocHunter | ff2d7e745eabd81ffb77920fe00813b17fc432cf | [
"MIT"
] | 95 | 2016-07-05T12:44:25.000Z | 2022-01-24T09:16:44.000Z | plugins/pocsuite/net.py | sigma-random/PocHunter | ff2d7e745eabd81ffb77920fe00813b17fc432cf | [
"MIT"
] | 2 | 2016-10-24T09:35:24.000Z | 2017-07-28T08:50:31.000Z | plugins/pocsuite/net.py | sigma-random/PocHunter | ff2d7e745eabd81ffb77920fe00813b17fc432cf | [
"MIT"
] | 39 | 2016-06-13T07:47:39.000Z | 2020-11-26T00:53:48.000Z | import requests as req
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 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 |
b025106c47121b4ec079ec986bfa8edbbbe9ff77 | 110 | py | Python | wendigo/warnings.py | medmsyk/wendigopy | 36e0759bf8b065548fd638063768522704506236 | [
"Apache-2.0"
] | null | null | null | wendigo/warnings.py | medmsyk/wendigopy | 36e0759bf8b065548fd638063768522704506236 | [
"Apache-2.0"
] | 1 | 2022-01-05T10:28:49.000Z | 2022-03-20T09:17:04.000Z | wendigo/warnings.py | medmsyk/wendigopy | 36e0759bf8b065548fd638063768522704506236 | [
"Apache-2.0"
] | null | null | null | class AdministrationWarning(Warning):
pass
class TemporaryDirectoryDeletionWarning(Warning):
pass | 22 | 50 | 0.781818 | 8 | 110 | 10.75 | 0.625 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 110 | 5 | 51 | 22 | 0.934783 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b03c735addd159bc2c799dc4907664a4ec651668 | 47 | py | Python | run_momiji.py | Kyuunex/Momiji | a320bb901015737e4bd57c9da9a997d256689448 | [
"MIT"
] | 16 | 2019-02-12T17:16:03.000Z | 2021-07-16T05:36:06.000Z | run_momiji.py | Kyuunex/Momiji | a320bb901015737e4bd57c9da9a997d256689448 | [
"MIT"
] | null | null | null | run_momiji.py | Kyuunex/Momiji | a320bb901015737e4bd57c9da9a997d256689448 | [
"MIT"
] | 5 | 2019-12-07T10:34:36.000Z | 2021-03-05T12:21:53.000Z | #!/usr/bin/env python3
import momiji.__main__
| 11.75 | 22 | 0.765957 | 7 | 47 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.106383 | 47 | 3 | 23 | 15.666667 | 0.738095 | 0.446809 | 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 |
b04e6a7bc7e707bebeba794b4b296658aba08f13 | 466 | py | Python | tests/testdata/wrapper_pymol/test_pseudoatom.py | prcurran/fragment_hotspot_maps | a6dbd7f650d28a867594ca48597f7e1b3a131168 | [
"MIT"
] | 24 | 2019-02-14T00:02:13.000Z | 2022-03-26T02:27:52.000Z | tests/testdata/wrapper_pymol/test_pseudoatom.py | prcurran/fragment_hotspot_maps | a6dbd7f650d28a867594ca48597f7e1b3a131168 | [
"MIT"
] | 27 | 2019-02-06T12:18:27.000Z | 2020-10-30T14:26:08.000Z | tests/testdata/wrapper_pymol/test_pseudoatom.py | prcurran/fragment_hotspot_maps | a6dbd7f650d28a867594ca48597f7e1b3a131168 | [
"MIT"
] | 12 | 2019-02-13T20:38:56.000Z | 2022-03-09T01:20:54.000Z |
from os.path import join
import tempfile
import tkinter as tk
import zipfile
import math
from pymol import cmd, finish_launching, plugins
from pymol.cgo import *
finish_launching()
cmd.pseudoatom(object="mypseudoatom", pos=(1, 1, 1), color=(0.9411764705882353, 0.20392156862745098, 0.20392156862745098, 0.5), label=No... | 31.066667 | 140 | 0.774678 | 67 | 466 | 5.358209 | 0.477612 | 0.200557 | 0.211699 | 0.128134 | 0.362117 | 0.362117 | 0.362117 | 0.362117 | 0.362117 | 0.362117 | 0 | 0.286396 | 0.100858 | 466 | 14 | 141 | 33.285714 | 0.570406 | 0 | 0 | 0 | 0 | 0 | 0.053763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.7 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
b05411fe0d3af500bafd07efb0ae428f02cdfb05 | 232 | py | Python | src/sage/crypto/mq/sbox.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 1,742 | 2015-01-04T07:06:13.000Z | 2022-03-30T11:32:52.000Z | src/sage/crypto/mq/sbox.py | Ivo-Maffei/sage | 467fbc70a08b552b3de33d9065204ee9cbfb02c7 | [
"BSL-1.0"
] | 66 | 2015-03-19T19:17:24.000Z | 2022-03-16T11:59:30.000Z | src/sage/crypto/mq/sbox.py | dimpase/sage | 468f23815ade42a2192b0a9cd378de8fdc594dcd | [
"BSL-1.0"
] | 495 | 2015-01-10T10:23:18.000Z | 2022-03-24T22:06:11.000Z | from sage.misc.lazy_import import lazy_import
lazy_import('sage.crypto.sbox', ['SBox',
'feistel_construction',
'misty_construction'],
deprecation=22986)
| 33.142857 | 56 | 0.530172 | 20 | 232 | 5.9 | 0.6 | 0.254237 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 0.37931 | 232 | 6 | 57 | 38.666667 | 0.784722 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
b064e06817b421fc5f1400a2c2496f433f6e7629 | 677 | py | Python | tests/test_modules.py | pasha00000/mbplugin | e919c7c899495ae7f4b04fc2568991bb717bed9a | [
"MIT"
] | null | null | null | tests/test_modules.py | pasha00000/mbplugin | e919c7c899495ae7f4b04fc2568991bb717bed9a | [
"MIT"
] | null | null | null | tests/test_modules.py | pasha00000/mbplugin | e919c7c899495ae7f4b04fc2568991bb717bed9a | [
"MIT"
] | null | null | null | 'Проверка установки с нуля по сложному пути'
import re, os, tempfile
import pytest
import requests
import conftest # type: ignore # ignore import error
import compile_all_jsmblh # pylint: disable=import-error
import dbengine # pylint: disable=import-error
import dll_call_test # pylint: disable=import-error... | 35.631579 | 58 | 0.77548 | 89 | 677 | 5.786517 | 0.438202 | 0.213592 | 0.297087 | 0.419417 | 0.466019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156573 | 677 | 19 | 59 | 35.631579 | 0.901926 | 0.499261 | 0 | 0 | 0 | 0 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | true | 0.0625 | 0.875 | 0 | 0.9375 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
c6db6cd1f7b7a410f47979a0df532137426f0d60 | 7,007 | py | Python | tests/test_probe_paperspace.py | palazzem/hal | a349bad27403627fa74a878503013eff492b8a66 | [
"BSD-3-Clause"
] | null | null | null | tests/test_probe_paperspace.py | palazzem/hal | a349bad27403627fa74a878503013eff492b8a66 | [
"BSD-3-Clause"
] | 20 | 2019-08-03T12:21:36.000Z | 2021-02-21T16:53:07.000Z | tests/test_probe_paperspace.py | palazzem/hal | a349bad27403627fa74a878503013eff492b8a66 | [
"BSD-3-Clause"
] | null | null | null | import logging
import responses
from hal.probes.paperspace import PaperspaceProbe
def test_paperspace_probe():
"""Should be initialized with a default config."""
probe = PaperspaceProbe()
assert probe.config["api_key"] is None
assert probe.config["base_url"] == "https://api.paperspace.io"
assert ... | 33.051887 | 91 | 0.591694 | 715 | 7,007 | 5.699301 | 0.227972 | 0.045153 | 0.026994 | 0.039264 | 0.763926 | 0.74135 | 0.728098 | 0.713865 | 0.709939 | 0.688834 | 0 | 0.054918 | 0.254174 | 7,007 | 211 | 92 | 33.208531 | 0.724837 | 0.03996 | 0 | 0.761905 | 0 | 0.005291 | 0.567055 | 0.089456 | 0 | 0 | 0 | 0 | 0.126984 | 1 | 0.031746 | false | 0 | 0.015873 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6de8b0c6dcbed67495df47af96a0eedc21094df | 21 | py | Python | src/seedsigner/gui/screens/__init__.py | mutatrum/seedsigner | 8df1271f12e69507c79819f4c09808db735aaf26 | [
"MIT"
] | 1 | 2022-01-15T23:39:09.000Z | 2022-01-15T23:39:09.000Z | src/seedsigner/gui/screens/__init__.py | mutatrum/seedsigner | 8df1271f12e69507c79819f4c09808db735aaf26 | [
"MIT"
] | null | null | null | src/seedsigner/gui/screens/__init__.py | mutatrum/seedsigner | 8df1271f12e69507c79819f4c09808db735aaf26 | [
"MIT"
] | null | null | null | from .screen import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 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 |
059f1bae77e8031bf74dd2c3e45d54cdec774136 | 42,676 | py | Python | tests/keras/layers/decomposition_test.py | NPoe/keras | 298553d6018d3644d0e865015499b9405e3d6a2c | [
"MIT"
] | 1 | 2018-07-22T03:59:02.000Z | 2018-07-22T03:59:02.000Z | tests/keras/layers/decomposition_test.py | NPoe/keras | 298553d6018d3644d0e865015499b9405e3d6a2c | [
"MIT"
] | null | null | null | tests/keras/layers/decomposition_test.py | NPoe/keras | 298553d6018d3644d0e865015499b9405e3d6a2c | [
"MIT"
] | 1 | 2022-03-18T03:19:36.000Z | 2022-03-18T03:19:36.000Z | # IDEE: Erasure Layer / Decomposition layer as secondary output (tied weights!), then give training goal!!!
import pytest
import numpy as np
np.random.seed(123)
from numpy.testing import assert_allclose
from keras.utils.test_utils import layer_test
from keras.layers import recurrent, embeddings, Embedding, Dropout, I... | 38.585895 | 139 | 0.587004 | 6,356 | 42,676 | 3.883889 | 0.057741 | 0.044965 | 0.029652 | 0.020254 | 0.825569 | 0.797578 | 0.767399 | 0.739731 | 0.704772 | 0.691728 | 0 | 0.056358 | 0.217921 | 42,676 | 1,105 | 140 | 38.620814 | 0.683275 | 0.004007 | 0 | 0.54878 | 0 | 0 | 0.027983 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 1 | 0.036585 | false | 0 | 0.146341 | 0.012195 | 0.195122 | 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 |
05a8a998e6442d33b3e9ad17efef7cd0cceb53a6 | 49 | py | Python | expander/__init__.py | polpo/djangorestframework-expander | b1cf60c7076169cbd6ad65350841c86080564f97 | [
"MIT"
] | 70 | 2015-10-14T04:26:51.000Z | 2021-09-13T17:25:28.000Z | expander/__init__.py | polpo/djangorestframework-expander | b1cf60c7076169cbd6ad65350841c86080564f97 | [
"MIT"
] | 5 | 2016-08-04T18:01:25.000Z | 2018-02-10T01:10:54.000Z | expander/__init__.py | polpo/djangorestframework-expander | b1cf60c7076169cbd6ad65350841c86080564f97 | [
"MIT"
] | 9 | 2016-08-04T11:50:24.000Z | 2019-02-13T08:58:46.000Z | from .serializers import ExpanderSerializerMixin
| 24.5 | 48 | 0.897959 | 4 | 49 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 6 |
05e88b87f33f0f39c948c3a51be1f6ef6206d2f9 | 25 | py | Python | src/__init__.py | Nipa-Code/Jarvide | 7a0f036f3c88f0818bbd2a5a2bc714885ac01f12 | [
"MIT"
] | 27 | 2021-12-30T14:47:03.000Z | 2022-03-10T19:34:13.000Z | src/__init__.py | Nipa-Code/Jarvide | 7a0f036f3c88f0818bbd2a5a2bc714885ac01f12 | [
"MIT"
] | 61 | 2021-12-31T00:13:58.000Z | 2022-03-04T09:38:24.000Z | src/__init__.py | Nipa-Code/Jarvide | 7a0f036f3c88f0818bbd2a5a2bc714885ac01f12 | [
"MIT"
] | 40 | 2021-12-30T14:58:24.000Z | 2022-02-15T14:12:30.000Z | from .bot import Jarvide
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 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 |
05f11189fa0c277ed946d2d6c5bb1944db330a0e | 12,583 | py | Python | eeauditor/auditors/aws/Amazon_EC2_Image_Builder_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 442 | 2020-03-15T20:56:36.000Z | 2022-03-31T22:13:07.000Z | eeauditor/auditors/aws/Amazon_EC2_Image_Builder_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 57 | 2020-03-15T22:09:56.000Z | 2022-03-31T13:17:06.000Z | eeauditor/auditors/aws/Amazon_EC2_Image_Builder_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 59 | 2020-03-15T21:19:10.000Z | 2022-03-31T15:01:31.000Z | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you un... | 48.210728 | 201 | 0.508623 | 1,062 | 12,583 | 5.983051 | 0.221281 | 0.02644 | 0.022663 | 0.024551 | 0.76865 | 0.765502 | 0.750393 | 0.749134 | 0.738118 | 0.718917 | 0 | 0.043725 | 0.383851 | 12,583 | 261 | 202 | 48.210728 | 0.775829 | 0.073035 | 0 | 0.760684 | 0 | 0.034188 | 0.393333 | 0.062291 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008547 | false | 0.008547 | 0.017094 | 0 | 0.025641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05f11dd351bd655ac6138dee96a1b9c02b2c81c2 | 117 | py | Python | ufdl-object-detection-app/src/ufdl/object_detection_app/migrations/job_templates/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | ufdl-object-detection-app/src/ufdl/object_detection_app/migrations/job_templates/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | 85 | 2020-07-24T00:04:28.000Z | 2022-02-10T10:35:15.000Z | ufdl-speech-app/src/ufdl/speech_app/migrations/job_templates/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | """
Functions for working with the set of known job templates.
"""
from ._job_templates import iterate_job_templates
| 23.4 | 58 | 0.794872 | 17 | 117 | 5.235294 | 0.764706 | 0.404494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 117 | 4 | 59 | 29.25 | 0.881188 | 0.495727 | 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 |
af18d7c9de80f98e82d3053eef0b1c8a4e97571c | 681 | py | Python | tests/asp/AllAnswerSets/nontight/test8.gus.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/AllAnswerSets/nontight/test8.gus.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/AllAnswerSets/nontight/test8.gus.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
3 7 61 146 73 112 115 127 130 0 0
1 146 2 0 155 73
1 155 2 0 146 73
1 148 2 0 150 115
1 150 2 0 148 115
1 148 2 0 152 112
1 152 2 0 148 112
1 152 2 0 158 127
1 158 2 0 152 127
1 155 2 0 157 61
1 157 2 0 155 61
1 158 2 0 160 130
1 160 2 0 158 130
0
0
B+
0
B-
1
0
1
"""
output = """
{}
{}
{}
{}
{}
{}
{}
{}
{}
... | 4.422078 | 33 | 0.267254 | 93 | 681 | 1.956989 | 0.236559 | 0.131868 | 0.054945 | 0.065934 | 0.098901 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372247 | 0.333333 | 681 | 153 | 34 | 4.45098 | 0.028634 | 0 | 0 | 0.849673 | 0 | 0 | 0.954479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
af433b4d9b689302f9a239f1918121861ae36550 | 185 | py | Python | protocol/zzz_navigation_msgs/msg/__init__.py | Tsinghua-OpenICV/carla_icv_bridge | 4d5f8c26b1847dbb16a81fe43f146bf4a9a8da5e | [
"MIT"
] | null | null | null | protocol/zzz_navigation_msgs/msg/__init__.py | Tsinghua-OpenICV/carla_icv_bridge | 4d5f8c26b1847dbb16a81fe43f146bf4a9a8da5e | [
"MIT"
] | null | null | null | protocol/zzz_navigation_msgs/msg/__init__.py | Tsinghua-OpenICV/carla_icv_bridge | 4d5f8c26b1847dbb16a81fe43f146bf4a9a8da5e | [
"MIT"
] | 1 | 2020-12-19T05:48:01.000Z | 2020-12-19T05:48:01.000Z | from ._Lane import *
from ._LaneBoundary import *
from ._LanePoint import *
from ._LaneSituation import *
from ._Map import *
from ._MapString import *
from ._ReroutingRequest import *
| 23.125 | 32 | 0.772973 | 21 | 185 | 6.47619 | 0.428571 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151351 | 185 | 7 | 33 | 26.428571 | 0.866242 | 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 |
af537f31fc0ef98dcf86147292876f51400c22a4 | 256 | py | Python | src/modeling/models/decision_tree_regressor/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | src/modeling/models/decision_tree_regressor/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | src/modeling/models/decision_tree_regressor/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | from src.modeling.models.decision_tree_regressor.train import train
from src.modeling.models.decision_tree_regressor.test import test
from src.modeling.models.decision_tree_regressor.model import load_model,save_model
__name__ = "Decision Tree Regressor"
| 42.666667 | 83 | 0.867188 | 37 | 256 | 5.675676 | 0.378378 | 0.228571 | 0.4 | 0.3 | 0.6 | 0.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.070313 | 256 | 5 | 84 | 51.2 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.089844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af643c5a5df7dcba5c046f17bc599738c3967553 | 43 | py | Python | apyauth/__init__.py | tinomerl/apyauth | 875782254385cdf1db7c678d5ea893a73eb49d76 | [
"MIT"
] | null | null | null | apyauth/__init__.py | tinomerl/apyauth | 875782254385cdf1db7c678d5ea893a73eb49d76 | [
"MIT"
] | null | null | null | apyauth/__init__.py | tinomerl/apyauth | 875782254385cdf1db7c678d5ea893a73eb49d76 | [
"MIT"
] | null | null | null | from .session import Oauth2Session # noqa
| 21.5 | 42 | 0.790698 | 5 | 43 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.162791 | 43 | 1 | 43 | 43 | 0.916667 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afa3919bc7e87160b0c2e0c885184b42ff3e750c | 100 | py | Python | src/kernel-graphql/riotapi/__init__.py | pseudonym117/kernel-graphql | 0c0fc05ca84c525f1515953d77d853455db14fb1 | [
"MIT"
] | 1 | 2021-03-17T16:35:09.000Z | 2021-03-17T16:35:09.000Z | src/kernel-graphql/riotapi/__init__.py | pseudonym117/kernel-graphql | 0c0fc05ca84c525f1515953d77d853455db14fb1 | [
"MIT"
] | 1 | 2021-06-02T00:14:18.000Z | 2021-06-02T00:14:18.000Z | src/kernel-graphql/riotapi/__init__.py | pseudonym117/kernel-graphql | 0c0fc05ca84c525f1515953d77d853455db14fb1 | [
"MIT"
] | null | null | null | from flask import Blueprint
riotapi = Blueprint('riotapi', __name__)
from .initialize import init
| 16.666667 | 40 | 0.79 | 12 | 100 | 6.25 | 0.666667 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 5 | 41 | 20 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0.07 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
afcddaca9cbf71191691cc8e6e9ff6ee005285f6 | 17 | py | Python | tilemani/cfgs/__init__.py | cocoaaa/TileMani | ca006f201be530af32d7c5dcae03df5daa08359a | [
"MIT"
] | null | null | null | tilemani/cfgs/__init__.py | cocoaaa/TileMani | ca006f201be530af32d7c5dcae03df5daa08359a | [
"MIT"
] | null | null | null | tilemani/cfgs/__init__.py | cocoaaa/TileMani | ca006f201be530af32d7c5dcae03df5daa08359a | [
"MIT"
] | null | null | null | from . import osm | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 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 |
bb64a21335f1090ae7d278ca41fe3e96bb0b24eb | 193 | py | Python | commons/context_processors.py | lsalta/mapground | d927d283dab6f756574bd88b3251b9e68f000ca7 | [
"MIT"
] | null | null | null | commons/context_processors.py | lsalta/mapground | d927d283dab6f756574bd88b3251b9e68f000ca7 | [
"MIT"
] | 3 | 2020-02-11T23:04:56.000Z | 2021-06-10T18:07:53.000Z | commons/context_processors.py | lsalta/mapground | d927d283dab6f756574bd88b3251b9e68f000ca7 | [
"MIT"
] | 1 | 2021-08-20T14:49:09.000Z | 2021-08-20T14:49:09.000Z | from django.conf import settings
def front_end_settings(request):
# return the value you want as a dictionnary. you may add multiple values in there.
return {'VISOR': settings.VISOR}
| 27.571429 | 87 | 0.751295 | 29 | 193 | 4.931034 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181347 | 193 | 6 | 88 | 32.166667 | 0.905063 | 0.419689 | 0 | 0 | 0 | 0 | 0.045455 | 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 |
bba0a9e39e48274946b5c3a108f4147fdb124db0 | 442 | py | Python | tests/test_contains.py | aubreystarktoller/lite-cnf-formulae | f88f37f0600e5a7473175ef9d495d9757e03b4d6 | [
"BSD-3-Clause"
] | 2 | 2016-07-16T17:56:26.000Z | 2020-02-27T12:30:10.000Z | tests/test_contains.py | aubreystarktoller/lite-boolean-formulae | f88f37f0600e5a7473175ef9d495d9757e03b4d6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_contains.py | aubreystarktoller/lite-boolean-formulae | f88f37f0600e5a7473175ef9d495d9757e03b4d6 | [
"BSD-3-Clause"
] | null | null | null | from lite_boolean_formulae import L
def test_literal_contains():
assert ("x" in L("x"))
def test_conjunction_formula_contains():
assert ("x" in (L("x") & L("y")))
def test_disjunction_formula_contains():
assert ("x" in (L("x") | L("y")))
def test_disjunction_formula_does_not_contain():
assert no... | 20.090909 | 48 | 0.644796 | 69 | 442 | 3.84058 | 0.318841 | 0.132075 | 0.075472 | 0.192453 | 0.698113 | 0.698113 | 0.626415 | 0.626415 | 0.626415 | 0.626415 | 0 | 0 | 0.167421 | 442 | 21 | 49 | 21.047619 | 0.720109 | 0 | 0 | 0 | 0 | 0 | 0.031674 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.454545 | true | 0 | 0.090909 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
bbfe3697cd2a42122a9da156f3b2ade8fdab97d6 | 4,351 | py | Python | tests/test_main.py | ludsinn/xiRT | 76ac2918fc4ae7b440cbbd2b4b4960660a48d131 | [
"Apache-2.0"
] | 1 | 2020-07-10T22:39:27.000Z | 2020-07-10T22:39:27.000Z | tests/test_main.py | ludsinn/xiRT | 76ac2918fc4ae7b440cbbd2b4b4960660a48d131 | [
"Apache-2.0"
] | 5 | 2020-07-07T11:43:44.000Z | 2020-07-10T12:32:02.000Z | tests/test_main.py | gieses/xiRT | 6ebc80d3776171ddb9d0740abb42c82c126d8934 | [
"Apache-2.0"
] | null | null | null | import os
from xirt import __main__
fixtures_loc = os.path.join(os.path.dirname(__file__), 'fixtures')
def test_xirt_runner_rp_crosslinks_cv(tmpdir):
xirt_loc = os.path.join(fixtures_loc, "xirt_params_rp.yaml")
setup_loc = os.path.join(fixtures_loc, "learning_params_training_cv.yaml")
peptides_in = os.pa... | 44.397959 | 94 | 0.721673 | 619 | 4,351 | 4.654281 | 0.109855 | 0.0479 | 0.076362 | 0.131204 | 0.916348 | 0.916348 | 0.916348 | 0.903159 | 0.888927 | 0.888927 | 0 | 0.011287 | 0.185475 | 4,351 | 97 | 95 | 44.85567 | 0.801637 | 0.08228 | 0 | 0.676923 | 0 | 0 | 0.181636 | 0.128199 | 0 | 0 | 0 | 0 | 0.123077 | 1 | 0.138462 | false | 0.015385 | 0.030769 | 0 | 0.169231 | 0.015385 | 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 |
bbfe48dee05f552446b8bfba9401d25de5144c55 | 198,384 | py | Python | srv6_sdn_control_plane/northbound/grpc/nb_grpc_server.py | everywan-io/srv6-sdn-control-plane | afb7ce82571c852f784b763b8dec766b75f350fd | [
"Apache-2.0"
] | null | null | null | srv6_sdn_control_plane/northbound/grpc/nb_grpc_server.py | everywan-io/srv6-sdn-control-plane | afb7ce82571c852f784b763b8dec766b75f350fd | [
"Apache-2.0"
] | null | null | null | srv6_sdn_control_plane/northbound/grpc/nb_grpc_server.py | everywan-io/srv6-sdn-control-plane | afb7ce82571c852f784b763b8dec766b75f350fd | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# Copyright (C) 2018 Carmine Scarpitta, Pier Luigi Ventre, Stefano Salsano -
# (CNIT and University of Rome "Tor Vergata")
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at... | 46.481724 | 79 | 0.450853 | 15,933 | 198,384 | 5.442101 | 0.039352 | 0.026295 | 0.032845 | 0.037043 | 0.813284 | 0.777497 | 0.756196 | 0.743683 | 0.72365 | 0.711725 | 0 | 0.006156 | 0.494818 | 198,384 | 4,267 | 80 | 46.492618 | 0.85903 | 0.107922 | 0 | 0.652574 | 0 | 0 | 0.08827 | 0.00025 | 0 | 0 | 0 | 0.000234 | 0 | 1 | 0.00719 | false | 0.00115 | 0.008053 | 0 | 0.071901 | 0.000863 | 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 |
a549d2d71bba2a32ff4ef9dcc21e4dc85b60598a | 83 | py | Python | src/commands/__init__.py | mp-pinheiro/fairfruitbot-telegram | 7f888b3c372231bf4c3aa2d61f14a5bb054c5c8e | [
"Apache-2.0"
] | null | null | null | src/commands/__init__.py | mp-pinheiro/fairfruitbot-telegram | 7f888b3c372231bf4c3aa2d61f14a5bb054c5c8e | [
"Apache-2.0"
] | null | null | null | src/commands/__init__.py | mp-pinheiro/fairfruitbot-telegram | 7f888b3c372231bf4c3aa2d61f14a5bb054c5c8e | [
"Apache-2.0"
] | null | null | null | from .command import *
from .sign import *
from .tarot import *
from .news import * | 20.75 | 22 | 0.722892 | 12 | 83 | 5 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 4 | 23 | 20.75 | 0.882353 | 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 |
a550d94e7e1e9dddb668dda6181c5f6659617b4e | 50 | py | Python | tests/exe/bfile.py | gunnchadwick/backtrace-python | f2a735857fd76de1e568301856a9292059689878 | [
"MIT"
] | 3 | 2017-01-05T02:25:19.000Z | 2017-08-01T14:48:08.000Z | tests/exe/bfile.py | gunnchadwick/backtrace-python | f2a735857fd76de1e568301856a9292059689878 | [
"MIT"
] | 10 | 2016-11-30T19:54:05.000Z | 2022-01-31T16:10:07.000Z | tests/exe/bfile.py | gunnchadwick/backtrace-python | f2a735857fd76de1e568301856a9292059689878 | [
"MIT"
] | 1 | 2021-01-03T08:52:40.000Z | 2021-01-03T08:52:40.000Z | import json
def bar(s):
return json.loads(s)
| 10 | 24 | 0.66 | 9 | 50 | 3.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22 | 50 | 4 | 25 | 12.5 | 0.846154 | 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 |
a58a10a2b149c1660b38bb5c2062d8f35b1d456e | 19 | py | Python | GAIA/__init__.py | igemsoftware2017/AiGEM_TeamHeidelberg2017 | fa6f1e917bff27b358ec816bbe383db542babc14 | [
"MIT"
] | 16 | 2017-11-01T20:54:30.000Z | 2021-02-24T05:02:50.000Z | GAIA/__init__.py | LArnoldt/AiGEM_TeamHeidelberg2017 | fa6f1e917bff27b358ec816bbe383db542babc14 | [
"MIT"
] | 1 | 2018-03-02T16:23:15.000Z | 2018-04-12T16:07:28.000Z | GAIA/__init__.py | LArnoldt/AiGEM_TeamHeidelberg2017 | fa6f1e917bff27b358ec816bbe383db542babc14 | [
"MIT"
] | 19 | 2017-12-23T10:44:36.000Z | 2022-03-11T13:12:52.000Z | from GAIA import *
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 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 |
3c34cf7ebe966d485a2dab16afafbd85bd1988ae | 116 | py | Python | tests/conftest.py | ToshikiShimizu/recommend | 07e700c634b914d069ded12a9f1836f30f8bf48c | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | ToshikiShimizu/recommend | 07e700c634b914d069ded12a9f1836f30f8bf48c | [
"Apache-2.0"
] | 3 | 2021-09-21T12:57:18.000Z | 2021-11-04T00:04:02.000Z | tests/conftest.py | ToshikiShimizu/recommend | 07e700c634b914d069ded12a9f1836f30f8bf48c | [
"Apache-2.0"
] | null | null | null | import os
import sys
sys.path.append(os.path.abspath(os.path.dirname(
os.path.abspath(__file__)) + "/../src/"))
| 23.2 | 48 | 0.689655 | 18 | 116 | 4.222222 | 0.5 | 0.236842 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 116 | 4 | 49 | 29 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
b1e68844c186044d79f5f65d0a8baf532a871d89 | 64 | py | Python | organizationdashxblock/__init__.py | jaygoswami2303/organizationdashxblock | f7832ff29ec94286997ef32cc1c0e4003d3d169a | [
"MIT"
] | null | null | null | organizationdashxblock/__init__.py | jaygoswami2303/organizationdashxblock | f7832ff29ec94286997ef32cc1c0e4003d3d169a | [
"MIT"
] | null | null | null | organizationdashxblock/__init__.py | jaygoswami2303/organizationdashxblock | f7832ff29ec94286997ef32cc1c0e4003d3d169a | [
"MIT"
] | null | null | null | from .organizationdashxblock import OrganizationDashboardXBlock
| 32 | 63 | 0.921875 | 4 | 64 | 14.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 64 | 1 | 64 | 64 | 0.983333 | 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 |
b1f647eed5324f6dd31844d07983c75da51a2635 | 48 | py | Python | main.py | amaya382/vscode-remote-docker-over-ssh | 82bdbad9c1d3b2c54524f51bb0bdae4de5a7e571 | [
"Apache-2.0"
] | null | null | null | main.py | amaya382/vscode-remote-docker-over-ssh | 82bdbad9c1d3b2c54524f51bb0bdae4de5a7e571 | [
"Apache-2.0"
] | null | null | null | main.py | amaya382/vscode-remote-docker-over-ssh | 82bdbad9c1d3b2c54524f51bb0bdae4de5a7e571 | [
"Apache-2.0"
] | null | null | null | import os
print(f"running on {os.uname()[1]}")
| 12 | 36 | 0.645833 | 9 | 48 | 3.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.125 | 48 | 3 | 37 | 16 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.541667 | 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 |
591e3346f0b2ef3b42383d04b811d30de6679a87 | 7,176 | py | Python | common/cnn_models.py | tlkh/mini-dlperf | 7d40bbad98ac68d4c496fe4b69d0de80ef0fffc6 | [
"MIT"
] | null | null | null | common/cnn_models.py | tlkh/mini-dlperf | 7d40bbad98ac68d4c496fe4b69d0de80ef0fffc6 | [
"MIT"
] | 37 | 2020-09-13T08:45:04.000Z | 2022-03-15T01:19:05.000Z | common/cnn_models.py | tlkh/mini-dlperf | 7d40bbad98ac68d4c496fe4b69d0de80ef0fffc6 | [
"MIT"
] | null | null | null | import time
import tensorflow.compat.v2 as tf
import tensorflow.keras.layers as layers
import tensorflow.keras.applications as models
from . import mlperf_rn50
def toy_cnn(img_size=(224,224), num_class=2, weights=None, dtype=tf.float32):
model = tf.keras.models.Sequential([
layers.Conv2D(64, (3,3), paddi... | 52 | 156 | 0.684225 | 928 | 7,176 | 5.141164 | 0.117457 | 0.060365 | 0.045274 | 0.065395 | 0.814295 | 0.809474 | 0.809474 | 0.804863 | 0.804863 | 0.799204 | 0 | 0.051916 | 0.159838 | 7,176 | 137 | 157 | 52.379562 | 0.739426 | 0 | 0 | 0.675 | 0 | 0 | 0.102997 | 0.009199 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.041667 | 0 | 0.175 | 0.016667 | 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 |
594e1696bed52fe643444e5724301e36d3fb5db1 | 16,289 | py | Python | kakuro.py | ssiatras/kakuro-csp-model-solver | f29cd3c55f27ce5fdc90c46532cd4eb7b5f715bd | [
"MIT"
] | null | null | null | kakuro.py | ssiatras/kakuro-csp-model-solver | f29cd3c55f27ce5fdc90c46532cd4eb7b5f715bd | [
"MIT"
] | null | null | null | kakuro.py | ssiatras/kakuro-csp-model-solver | f29cd3c55f27ce5fdc90c46532cd4eb7b5f715bd | [
"MIT"
] | null | null | null | from csp import *
from time import time
from itertools import permutations
######### Kakuro puzzles
# Given, 4x3
kakuro_given4x3 = [
['*', '*', '*', [6, ''], [3, '']],
['*', [4, ''], [3, 3], '_', '_'],
[['', 10], '_', '_', '_', '_'],
[['', 3], '_', '_', '*', '*']
]
#Given, 5x7
kakuro_given5x7 = [
['*', [17, '... | 38.599526 | 134 | 0.598256 | 2,018 | 16,289 | 4.542616 | 0.091675 | 0.092178 | 0.015272 | 0.054543 | 0.825897 | 0.790989 | 0.774081 | 0.770154 | 0.767427 | 0.755863 | 0 | 0.031746 | 0.172325 | 16,289 | 422 | 135 | 38.599526 | 0.648198 | 0.099454 | 0 | 0.631922 | 0 | 0 | 0.147966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009772 | false | 0 | 0.009772 | 0 | 0.039088 | 0.218241 | 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 |
3ccbd4eda0430c0a9980789555e9515e9a99c007 | 55 | py | Python | src/data/__init__.py | vishwapardeshi/Text_Classification_US_Presidential_Nominees_2020 | a1e8c4f229b1fe23b2104d3a4b316d7dd0ac91f0 | [
"MIT"
] | null | null | null | src/data/__init__.py | vishwapardeshi/Text_Classification_US_Presidential_Nominees_2020 | a1e8c4f229b1fe23b2104d3a4b316d7dd0ac91f0 | [
"MIT"
] | null | null | null | src/data/__init__.py | vishwapardeshi/Text_Classification_US_Presidential_Nominees_2020 | a1e8c4f229b1fe23b2104d3a4b316d7dd0ac91f0 | [
"MIT"
] | null | null | null | from process_files import *
from process_data import *
| 18.333333 | 27 | 0.818182 | 8 | 55 | 5.375 | 0.625 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 28 | 27.5 | 0.914894 | 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 |
3ce64c5b857de773060841940bbbb4f6c7b09305 | 156 | py | Python | clearly/view/__init__.py | hyice/clearly | a58462fb8bf09d1ef06aab3a6d9c3035b4b4b8cd | [
"MIT"
] | null | null | null | clearly/view/__init__.py | hyice/clearly | a58462fb8bf09d1ef06aab3a6d9c3035b4b4b8cd | [
"MIT"
] | null | null | null | clearly/view/__init__.py | hyice/clearly | a58462fb8bf09d1ef06aab3a6d9c3035b4b4b8cd | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from view.static_bitmap import StaticBitmap
from view.preview import PreviewPanel
from view.menu import Menu
| 22.285714 | 43 | 0.762821 | 23 | 156 | 5.130435 | 0.695652 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.128205 | 156 | 6 | 44 | 26 | 0.860294 | 0.269231 | 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 |
3cf031a71b3469d155d422c576f8093a2a605e54 | 23 | py | Python | nlproc/spa/__init__.py | jgsogo/nlproc_spa | ba0c23a0c974f0be9243eac12d6b152b48c5fa49 | [
"MIT"
] | null | null | null | nlproc/spa/__init__.py | jgsogo/nlproc_spa | ba0c23a0c974f0be9243eac12d6b152b48c5fa49 | [
"MIT"
] | 1 | 2017-07-10T18:39:29.000Z | 2017-07-10T18:39:29.000Z | nlproc/spa/__init__.py | jgsogo/nlproc_spa | ba0c23a0c974f0be9243eac12d6b152b48c5fa49 | [
"MIT"
] | null | null | null |
import nlproc.spa.nltk | 11.5 | 22 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 2 | 22 | 11.5 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a73a718f227ef25881b92cb8c89e9f4ee155d7e5 | 243 | py | Python | utils/orchestrator/__init__.py | StackVista/sts-agent | f8358ea46820ffb9eb0b4b30c7d7457cc2cc987a | [
"BSD-3-Clause"
] | 4 | 2017-03-18T12:16:40.000Z | 2020-11-12T06:59:29.000Z | utils/orchestrator/__init__.py | StackVista/sts-agent | f8358ea46820ffb9eb0b4b30c7d7457cc2cc987a | [
"BSD-3-Clause"
] | 18 | 2016-09-22T08:01:02.000Z | 2020-07-15T08:30:17.000Z | utils/orchestrator/__init__.py | StackVista/sts-agent | f8358ea46820ffb9eb0b4b30c7d7457cc2cc987a | [
"BSD-3-Clause"
] | 8 | 2016-11-23T06:55:51.000Z | 2021-07-05T05:12:34.000Z |
from ecsutil import ECSUtil # noqa: F401
from mesosutil import MesosUtil # noqa: F401
from nomadutil import NomadUtil # noqa: F401
from baseutil import BaseUtil # noqa: F401
from metadata_collector import MetadataCollector # noqa: F401
| 30.375 | 62 | 0.786008 | 31 | 243 | 6.129032 | 0.354839 | 0.210526 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0.17284 | 243 | 7 | 63 | 34.714286 | 0.870647 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
597b977d626498f81bf448a90b3f9a7a749dac98 | 28 | py | Python | pyplotutils/orchestrate/__init__.py | arunreddy/pyplot-utils | ce31f67d023b87f6a0b35c370a0cc10bee313c0d | [
"MIT"
] | null | null | null | pyplotutils/orchestrate/__init__.py | arunreddy/pyplot-utils | ce31f67d023b87f6a0b35c370a0cc10bee313c0d | [
"MIT"
] | null | null | null | pyplotutils/orchestrate/__init__.py | arunreddy/pyplot-utils | ce31f67d023b87f6a0b35c370a0cc10bee313c0d | [
"MIT"
] | null | null | null | from . import orchestrateapi | 28 | 28 | 0.857143 | 3 | 28 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 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 |
599a986b0a0e6d989c30a4a67b806f4de192a463 | 43,659 | py | Python | pirates/leveleditor/worldData/port_royal_area_jungle_c_1.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/port_royal_area_jungle_c_1.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/port_royal_area_jungle_c_1.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.port_royal_area_jungle_c_1
from pandac.PandaModules import Point3, VBase3, Vec4
objectStruct = {'Interact ... | 6,237 | 43,198 | 0.627362 | 5,953 | 43,659 | 4.593146 | 0.112044 | 0.029185 | 0.028856 | 0.023699 | 0.697217 | 0.608382 | 0.574772 | 0.557949 | 0.534835 | 0.528472 | 0 | 0.223121 | 0.090772 | 43,659 | 7 | 43,199 | 6,237 | 0.465689 | 0.005314 | 0 | 0 | 0 | 0 | 0.559519 | 0.170877 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
59aacd96b5b9904aa0be9b69527626a51feb36fa | 456 | py | Python | tests/test_match_percent_pvalue.py | lparsons/archaic-match | 9bdd986940983d2bc9861aa3711d7ab448e32321 | [
"MIT"
] | null | null | null | tests/test_match_percent_pvalue.py | lparsons/archaic-match | 9bdd986940983d2bc9861aa3711d7ab448e32321 | [
"MIT"
] | 9 | 2018-04-25T15:11:36.000Z | 2021-07-27T14:50:06.000Z | tests/test_match_percent_pvalue.py | lparsons/archaic-match | 9bdd986940983d2bc9861aa3711d7ab448e32321 | [
"MIT"
] | 1 | 2019-01-17T16:34:17.000Z | 2019-01-17T16:34:17.000Z | from archaic_match.__main__ import calculate_thresholds
def test_calculate_thresholds_0():
(lower, upper) = calculate_thresholds(0, 10)
assert lower == 10
assert upper == 10
def test_calculate_thresholds_1():
(lower, upper) = calculate_thresholds(1, 10)
assert lower == 9
assert upper == 11
... | 22.8 | 55 | 0.699561 | 62 | 456 | 4.83871 | 0.290323 | 0.443333 | 0.266667 | 0.26 | 0.483333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065753 | 0.199561 | 456 | 19 | 56 | 24 | 0.756164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.230769 | true | 0 | 0.076923 | 0 | 0.307692 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59ac166e89f4e2882c12d78158bffdfdc1b1539f | 36,289 | py | Python | pytest/functional/hs_file_types/test_model_instance_aggregation.py | hydroshare/hydroshare | bf9888bbe61507aff070b1dfcec2fdec1921468d | [
"BSD-3-Clause"
] | 178 | 2015-01-08T23:03:36.000Z | 2022-03-03T13:56:45.000Z | pytest/functional/hs_file_types/test_model_instance_aggregation.py | hydroshare/hydroshare | bf9888bbe61507aff070b1dfcec2fdec1921468d | [
"BSD-3-Clause"
] | 4,125 | 2015-01-01T14:26:15.000Z | 2022-03-31T16:38:55.000Z | pytest/functional/hs_file_types/test_model_instance_aggregation.py | hydroshare/hydroshare | bf9888bbe61507aff070b1dfcec2fdec1921468d | [
"BSD-3-Clause"
] | 53 | 2015-03-15T17:56:51.000Z | 2022-03-17T00:32:16.000Z | import os
import pytest
from django.core.exceptions import ValidationError
from django.core.files.uploadedfile import UploadedFile
from hs_core.hydroshare import add_file_to_resource, ResourceFile, add_resource_files
from hs_core.views.utils import move_or_rename_file_or_folder
from hs_file_types.forms import ModelIn... | 52.592754 | 120 | 0.766183 | 4,832 | 36,289 | 5.497724 | 0.057533 | 0.029588 | 0.036364 | 0.033126 | 0.846904 | 0.793111 | 0.769998 | 0.719443 | 0.702579 | 0.682101 | 0 | 0.012705 | 0.158478 | 36,289 | 689 | 121 | 52.669086 | 0.857194 | 0.254733 | 0 | 0.597727 | 0 | 0 | 0.057933 | 0.019747 | 0 | 0 | 0 | 0 | 0.370455 | 1 | 0.043182 | false | 0 | 0.018182 | 0 | 0.063636 | 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 |
59beec04b60808b475a746e87f1089d708b306b6 | 26,046 | py | Python | d4s2_api_v1/tests_api.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | null | null | null | d4s2_api_v1/tests_api.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | 138 | 2016-09-23T18:09:18.000Z | 2022-03-03T15:50:19.000Z | d4s2_api_v1/tests_api.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | null | null | null | from django.core.urlresolvers import reverse
import rest_framework
from rest_framework.test import APITestCase
from mock import patch, Mock, call
from d4s2_api_v1.api import *
from d4s2_api.models import *
from django.contrib.auth.models import User as django_user
from switchboard.mocks_ddsutil import MockDDSProject, M... | 56.25486 | 145 | 0.700991 | 3,277 | 26,046 | 5.255722 | 0.062862 | 0.065668 | 0.076177 | 0.040643 | 0.819253 | 0.790803 | 0.75974 | 0.73965 | 0.719735 | 0.702781 | 0 | 0.015159 | 0.184481 | 26,046 | 462 | 146 | 56.376623 | 0.795678 | 0.003494 | 0 | 0.634146 | 0 | 0 | 0.108084 | 0.024276 | 0 | 0 | 0 | 0 | 0.270732 | 1 | 0.1 | false | 0.007317 | 0.02439 | 0 | 0.136585 | 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 |
59e0f1053f6e2bf694ce3a36bfe5ae71efe2e778 | 296 | py | Python | QaA/ask/tests.py | jedrzejkozal/QuestionsAndAnswers | 24e8915295af08f1904cfe7c1ac2b1719586d7d7 | [
"MIT"
] | null | null | null | QaA/ask/tests.py | jedrzejkozal/QuestionsAndAnswers | 24e8915295af08f1904cfe7c1ac2b1719586d7d7 | [
"MIT"
] | null | null | null | QaA/ask/tests.py | jedrzejkozal/QuestionsAndAnswers | 24e8915295af08f1904cfe7c1ac2b1719586d7d7 | [
"MIT"
] | null | null | null | from .test.SignUpViewTest import *
from .test.ProfileViewTest import *
from .test.UserViewTest import *
from .test.UnansweredViewTest import *
from .test.FriendsViewTest import *
from .test.FriendAcceptedTest import *
from .test.FriendSearchViewTest import *
from .test.SettingsViewTest import *
| 32.888889 | 40 | 0.810811 | 32 | 296 | 7.5 | 0.34375 | 0.266667 | 0.408333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 296 | 8 | 41 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
abd230a6200beb85e495828bc3eb74a8c9349c05 | 28 | py | Python | app/asset/__init__.py | LonglyCode/flask-blog | b7f36e8798c61aa1669ede59452f3ca446f5b9ce | [
"MIT"
] | 2 | 2016-10-04T14:53:27.000Z | 2019-01-11T02:08:47.000Z | app/asset/__init__.py | LonglyCode/flask-blog | b7f36e8798c61aa1669ede59452f3ca446f5b9ce | [
"MIT"
] | null | null | null | app/asset/__init__.py | LonglyCode/flask-blog | b7f36e8798c61aa1669ede59452f3ca446f5b9ce | [
"MIT"
] | null | null | null | from assets import init_app
| 14 | 27 | 0.857143 | 5 | 28 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
e6535edd668f5d4a8bdfeb8f2d610314638dadf0 | 620 | py | Python | config/settings/third_party.py | HeLsEroC/bbr | 0dd40bffd05faa777bec3a89dd1712f0f546d60e | [
"MIT"
] | null | null | null | config/settings/third_party.py | HeLsEroC/bbr | 0dd40bffd05faa777bec3a89dd1712f0f546d60e | [
"MIT"
] | null | null | null | config/settings/third_party.py | HeLsEroC/bbr | 0dd40bffd05faa777bec3a89dd1712f0f546d60e | [
"MIT"
] | null | null | null | AVATAR_AUTO_GENERATE_SIZES = 150
# Control the forms that django-allauth uses
ACCOUNT_FORMS = {
"login": "allauth.account.forms.LoginForm",
"add_email": "allauth.account.forms.AddEmailForm",
"change_password": "allauth.account.forms.ChangePasswordForm",
"set_password": "allauth.account.forms.SetPasswor... | 41.333333 | 76 | 0.754839 | 66 | 620 | 6.924242 | 0.590909 | 0.183807 | 0.249453 | 0.177243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005484 | 0.117742 | 620 | 14 | 77 | 44.285714 | 0.829982 | 0.11129 | 0 | 0 | 1 | 0 | 0.715328 | 0.585766 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
054941b2c6f8199cc6290426b5a88c54af98fcda | 108 | py | Python | terrascript/logentries/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/logentries/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/logentries/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/logentries/__init__.py
import terrascript
class logentries(terrascript.Provider):
pass
| 13.5 | 39 | 0.796296 | 11 | 108 | 7.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 108 | 7 | 40 | 15.428571 | 0.87234 | 0.314815 | 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 |
055f3a2aa174bac9185cf6da22e0f96df87cd830 | 46 | py | Python | slack_bolt/authorization/__init__.py | korymath/bolt-python | 67e0286d756ba92510315d044303f43b03380b52 | [
"MIT"
] | 160 | 2019-09-27T18:02:03.000Z | 2022-03-15T23:46:40.000Z | slack_bolt/authorization/__init__.py | korymath/bolt-python | 67e0286d756ba92510315d044303f43b03380b52 | [
"MIT"
] | 2 | 2019-10-21T13:30:17.000Z | 2019-10-30T00:09:11.000Z | slack_bolt/authorization/__init__.py | korymath/bolt-python | 67e0286d756ba92510315d044303f43b03380b52 | [
"MIT"
] | 31 | 2019-10-19T18:10:23.000Z | 2022-02-28T14:13:19.000Z | from .authorize_result import AuthorizeResult
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 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 |
5565e308c6bba82149d410985edb5110c5594249 | 28 | py | Python | pycoloram/__init__.py | Timtaran/pycoloram | d973c4e607cd499b3937c2a242cd526511a81fdc | [
"MIT"
] | 1 | 2020-12-17T20:21:18.000Z | 2020-12-17T20:21:18.000Z | pycoloram/__init__.py | Timtaran/pycoloram | d973c4e607cd499b3937c2a242cd526511a81fdc | [
"MIT"
] | null | null | null | pycoloram/__init__.py | Timtaran/pycoloram | d973c4e607cd499b3937c2a242cd526511a81fdc | [
"MIT"
] | 1 | 2020-12-14T06:51:46.000Z | 2020-12-14T06:51:46.000Z | from .pycoloram import color | 28 | 28 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 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 |
5594b4109e7ace819be4b96083715609ddd831f0 | 40 | py | Python | contracts/__init__.py | viniciuschiele-archive/contracts | c9928d1120023b17e0ee1973294b1b495b69b570 | [
"MIT"
] | null | null | null | contracts/__init__.py | viniciuschiele-archive/contracts | c9928d1120023b17e0ee1973294b1b495b69b570 | [
"MIT"
] | null | null | null | contracts/__init__.py | viniciuschiele-archive/contracts | c9928d1120023b17e0ee1973294b1b495b69b570 | [
"MIT"
] | null | null | null | from .contract import Contract, Context
| 20 | 39 | 0.825 | 5 | 40 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7579f8ccd76e05998fce26457c481a946199073c | 22,689 | py | Python | models.py | LTS4/TIGraNet | 22ba11b665e8445f1f759c0d13414429d9a03265 | [
"MIT"
] | 8 | 2018-08-21T20:58:05.000Z | 2020-05-15T03:42:06.000Z | models.py | LTS4/TIGraNet | 22ba11b665e8445f1f759c0d13414429d9a03265 | [
"MIT"
] | 1 | 2020-12-24T05:12:14.000Z | 2021-03-23T15:04:46.000Z | models.py | LTS4/TIGraNet | 22ba11b665e8445f1f759c0d13414429d9a03265 | [
"MIT"
] | 3 | 2018-10-14T14:54:07.000Z | 2021-02-28T21:59:22.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Neural Networks models module.
"""
import numpy as np
import logging
import os
import torch
import torch.nn as nn
import torch.optim as optim
from torch.autograd import Variable
from layers import SpectralConv, DynamicPool, Statistic
from utils import init_mask
... | 46.115854 | 230 | 0.643219 | 2,782 | 22,689 | 4.970884 | 0.073329 | 0.037747 | 0.030082 | 0.037602 | 0.872731 | 0.852267 | 0.846482 | 0.841565 | 0.834478 | 0.827681 | 0 | 0.026603 | 0.249504 | 22,689 | 492 | 231 | 46.115854 | 0.78553 | 0.031469 | 0 | 0.666667 | 0 | 0 | 0.062771 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 1 | 0.034826 | false | 0 | 0.027363 | 0 | 0.09204 | 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 |
75d4bfc81b4228273cf31268d9cb474049a13dd3 | 40 | py | Python | cloudstorageio/enums/__init__.py | VahagnGhaz/cloudstorageio | c36e4382d730a46827b8a458d97c0ad57ad68ecb | [
"MIT"
] | 2 | 2019-03-12T12:19:43.000Z | 2019-03-13T12:33:44.000Z | cloudstorageio/enums/__init__.py | VahagnGhaz/cloudstorageio | c36e4382d730a46827b8a458d97c0ad57ad68ecb | [
"MIT"
] | null | null | null | cloudstorageio/enums/__init__.py | VahagnGhaz/cloudstorageio | c36e4382d730a46827b8a458d97c0ad57ad68ecb | [
"MIT"
] | null | null | null | from cloudstorageio.enums.enums import * | 40 | 40 | 0.85 | 5 | 40 | 6.8 | 0.8 | 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 |
f93d191413bd591321e944f382f1a9b5dacd6230 | 2,920 | py | Python | Utils/Data/DataStats.py | MaurizioFD/recsys-challenge-2020-twitter | 95dc024fb4f8777aa62e1304536daece640428de | [
"Apache-2.0"
] | 44 | 2020-07-09T11:31:17.000Z | 2022-03-04T05:50:48.000Z | Utils/Data/DataStats.py | kiminh/recsys-challenge-2020-twitter | 567f0db40be7db3d21c360f2ca6cdf2addc7c698 | [
"Apache-2.0"
] | 3 | 2020-10-02T18:55:21.000Z | 2020-10-13T22:13:58.000Z | Utils/Data/DataStats.py | kiminh/recsys-challenge-2020-twitter | 567f0db40be7db3d21c360f2ca6cdf2addc7c698 | [
"Apache-2.0"
] | 9 | 2020-08-08T14:55:59.000Z | 2021-09-06T09:17:03.000Z | import pathlib as pl
import RootPath
import json
from Utils.Data.Dictionary.TweetBasicFeaturesDictArray import CreatorIdTweetBasicFeatureDictArray
from Utils.Data.Dictionary.UserBasicFeaturesDictArray import IsVerifiedUserBasicFeatureDictArray
import scipy.sparse as sps
def get_max_user_id():
info_path = RootPath.... | 42.941176 | 113 | 0.62774 | 375 | 2,920 | 4.546667 | 0.133333 | 0.084457 | 0.058065 | 0.084457 | 0.763636 | 0.737243 | 0.737243 | 0.737243 | 0.737243 | 0.737243 | 0 | 0.00094 | 0.271575 | 2,920 | 68 | 114 | 42.941176 | 0.800658 | 0 | 0 | 0.723077 | 0 | 0 | 0.092434 | 0.029442 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046154 | false | 0 | 0.092308 | 0 | 0.184615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f991cba5420926c673cefeefbdb891a933a6924e | 28 | py | Python | bbfy/__init__.py | BubuDavid/Bubufy | 55008f6737321b4c29c5cceb67b061680c7c3048 | [
"MIT"
] | null | null | null | bbfy/__init__.py | BubuDavid/Bubufy | 55008f6737321b4c29c5cceb67b061680c7c3048 | [
"MIT"
] | null | null | null | bbfy/__init__.py | BubuDavid/Bubufy | 55008f6737321b4c29c5cceb67b061680c7c3048 | [
"MIT"
] | null | null | null | from bbfy.bbfy import Bubufy | 28 | 28 | 0.857143 | 5 | 28 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 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 |
f9d81b8854222245e16fa9d127e2f0c7705c5beb | 22 | py | Python | gamesim/__init__.py | HarryR/gamesim | c731f5e07a2a17f38ee96b1846be72c9c56bffc0 | [
"MIT"
] | 1 | 2019-02-10T01:23:06.000Z | 2019-02-10T01:23:06.000Z | gamesim/__init__.py | HarryR/gamesim | c731f5e07a2a17f38ee96b1846be72c9c56bffc0 | [
"MIT"
] | null | null | null | gamesim/__init__.py | HarryR/gamesim | c731f5e07a2a17f38ee96b1846be72c9c56bffc0 | [
"MIT"
] | null | null | null | from .gamesim import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ddb9102468670beb51f1646f4c9d0dd7807ca9c2 | 103,641 | py | Python | tests/resource/test_sessions.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | tests/resource/test_sessions.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | tests/resource/test_sessions.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """Unit tests of resource sessions."""
import pytest
from ..utilities.general import is_never_authz, is_no_authz, uses_cataloging, uses_filesystem_only
from dlkit.abstract_osid.authentication.objects import AgentList
from dlkit.abstract_osid.hierarchy.objects import Hierarchy
from dlkit.abstract_osid.id.objects imp... | 49.541587 | 176 | 0.697986 | 12,805 | 103,641 | 5.31558 | 0.027802 | 0.049658 | 0.034467 | 0.050686 | 0.902639 | 0.841022 | 0.802412 | 0.757985 | 0.706344 | 0.653895 | 0 | 0.003221 | 0.209087 | 103,641 | 2,091 | 177 | 49.56528 | 0.827146 | 0.178346 | 0 | 0.654705 | 0 | 0 | 0.076108 | 0.0411 | 0 | 0 | 0 | 0 | 0.134733 | 1 | 0.119838 | false | 0.008802 | 0.022343 | 0 | 0.15369 | 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 |
ddd56cf415ba515f33a66e431ba8ee288de9fcc2 | 730 | py | Python | Chapter 07/Chap07_Example7.93.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.93.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.93.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | # set declaration
myfruits = {"Apple", "Banana", "Grapes", "Litchi", "Mango"}
mynums = {1, 2, 3, 4, 5}
# Set printing before removing
print("Before pop() method...")
print("fruits: ", myfruits)
print("numbers: ", mynums)
# Elements getting popped from the set
elerem = myfruits.pop()
print(elerem, "is removed from fru... | 27.037037 | 59 | 0.69726 | 98 | 730 | 5.193878 | 0.316327 | 0.094303 | 0.165029 | 0.188605 | 0.72888 | 0.72888 | 0.72888 | 0.72888 | 0.548134 | 0.548134 | 0 | 0.007911 | 0.134247 | 730 | 27 | 60 | 27.037037 | 0.797468 | 0.110959 | 0 | 0.8 | 0 | 0 | 0.371517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 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 | 1 | 0 | 6 |
ddfdb3257c33fd5fc6634b2c001a62deeda130db | 2,426 | py | Python | explore_data.py | the-timoye/udacity-capstone-project | 47747f4b8fb5193c1c3f9db2c3ffdde215368b25 | [
"MIT"
] | null | null | null | explore_data.py | the-timoye/udacity-capstone-project | 47747f4b8fb5193c1c3f9db2c3ffdde215368b25 | [
"MIT"
] | null | null | null | explore_data.py | the-timoye/udacity-capstone-project | 47747f4b8fb5193c1c3f9db2c3ffdde215368b25 | [
"MIT"
] | 1 | 2022-01-03T06:49:26.000Z | 2022-01-03T06:49:26.000Z | import pandas as pd
cities_demography = pd.read_csv('datasets/us-cities-demographics.csv', sep=';');
airport_codes = pd.read_csv('datasets/airport-codes_csv.csv');
global_temperatures = pd.read_csv('datasets/GlobalLandTemperaturesByCountry.csv');
immigration_data = pd.read_csv('datasets/immigration_data_sample.csv');
... | 63.842105 | 211 | 0.324815 | 130 | 2,426 | 5.915385 | 0.215385 | 0.124837 | 0.202861 | 0.143043 | 0.462939 | 0.09883 | 0 | 0 | 0 | 0 | 0 | 0.015398 | 0.036274 | 2,426 | 38 | 212 | 63.842105 | 0.313516 | 0.013603 | 0 | 0.363636 | 0 | 0 | 0.713927 | 0.629444 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.030303 | 0.848485 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 6 |
ddfffece8acd25cc751629339d847f56f3a1e93d | 25 | py | Python | app/bus_service/__init__.py | en-medina/RPI_REACTOR_CSTR_TOG | 1771123c6cdac6e8be1c21508d921c35fd68db25 | [
"MIT"
] | null | null | null | app/bus_service/__init__.py | en-medina/RPI_REACTOR_CSTR_TOG | 1771123c6cdac6e8be1c21508d921c35fd68db25 | [
"MIT"
] | null | null | null | app/bus_service/__init__.py | en-medina/RPI_REACTOR_CSTR_TOG | 1771123c6cdac6e8be1c21508d921c35fd68db25 | [
"MIT"
] | null | null | null | from .bus import init_bus | 25 | 25 | 0.84 | 5 | 25 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 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 |
fb21d323aa2b95daccda2852c30e4197d37195bd | 99 | py | Python | terrascript/fastly/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/fastly/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/fastly/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/fastly/__init__.py
import terrascript
class fastly(terrascript.Provider):
pass
| 14.142857 | 35 | 0.787879 | 11 | 99 | 6.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 6 | 36 | 16.5 | 0.860465 | 0.30303 | 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 |
34ad1df572090c2af610e7ccc9276967c480df4f | 19 | py | Python | wft/__init__.py | gsteele13/wft-generic | 075b72bfb3029df4208a29cf4bd40a667432cac9 | [
"MIT"
] | null | null | null | wft/__init__.py | gsteele13/wft-generic | 075b72bfb3029df4208a29cf4bd40a667432cac9 | [
"MIT"
] | null | null | null | wft/__init__.py | gsteele13/wft-generic | 075b72bfb3029df4208a29cf4bd40a667432cac9 | [
"MIT"
] | null | null | null | from .wft import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 |
34c00bad06497513d18536e3586df3807a9d192a | 232 | py | Python | test_project/test_runner.py | lordoftheflies/django-celery-email | 32e67f7c13a2a9e23d59b7c5bb4917836c890e65 | [
"BSD-3-Clause"
] | null | null | null | test_project/test_runner.py | lordoftheflies/django-celery-email | 32e67f7c13a2a9e23d59b7c5bb4917836c890e65 | [
"BSD-3-Clause"
] | null | null | null | test_project/test_runner.py | lordoftheflies/django-celery-email | 32e67f7c13a2a9e23d59b7c5bb4917836c890e65 | [
"BSD-3-Clause"
] | null | null | null | from django.test.simple import DjangoTestSuiteRunner
class DJCETestSuiteRunner(DjangoTestSuiteRunner):
def setup_test_environment(self, **kwargs):
pass
def teardown_test_environment(self, **kwargs):
pass
| 21.090909 | 52 | 0.74569 | 23 | 232 | 7.347826 | 0.652174 | 0.177515 | 0.224852 | 0.295858 | 0.343195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181034 | 232 | 10 | 53 | 23.2 | 0.889474 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
34ea048bef049b2b9e64f57bfdbf3f8cf4f077e6 | 239 | py | Python | knowit/providers/__init__.py | ratoaq2/knowit | e7cc0d786fafdb9dba99b95a1cc95c02f84f0b5b | [
"MIT"
] | 21 | 2016-10-15T13:49:16.000Z | 2021-06-14T14:42:57.000Z | knowit/providers/__init__.py | ratoaq2/knowit | e7cc0d786fafdb9dba99b95a1cc95c02f84f0b5b | [
"MIT"
] | 35 | 2016-11-18T17:08:38.000Z | 2021-11-26T09:36:35.000Z | knowit/providers/__init__.py | ratoaq2/knowit | e7cc0d786fafdb9dba99b95a1cc95c02f84f0b5b | [
"MIT"
] | 5 | 2016-11-23T23:39:52.000Z | 2021-02-27T19:18:27.000Z | """Provider package."""
from knowit.providers.enzyme import EnzymeProvider
from knowit.providers.ffmpeg import FFmpegProvider
from knowit.providers.mediainfo import MediaInfoProvider
from knowit.providers.mkvmerge import MkvMergeProvider
| 34.142857 | 56 | 0.857741 | 26 | 239 | 7.884615 | 0.538462 | 0.195122 | 0.370732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079498 | 239 | 6 | 57 | 39.833333 | 0.931818 | 0.07113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34f45f95ff8dfd1a7c3e39566bd77197142c9a26 | 274 | py | Python | ckanext-mzp/ckanext/mzp/logic/helpers.py | franekj/star | c91ab03b1ba077b5ebeed7165d0b575b8591fb55 | [
"Apache-2.0"
] | 1 | 2019-10-09T08:46:44.000Z | 2019-10-09T08:46:44.000Z | ckanext-mzp/ckanext/mzp/logic/helpers.py | franekj/star | c91ab03b1ba077b5ebeed7165d0b575b8591fb55 | [
"Apache-2.0"
] | 3 | 2020-03-24T16:58:44.000Z | 2021-02-02T22:03:33.000Z | ckanext-mzp/ckanext/mzp/logic/helpers.py | franekj/star | c91ab03b1ba077b5ebeed7165d0b575b8591fb55 | [
"Apache-2.0"
] | 3 | 2019-09-11T10:04:59.000Z | 2020-01-30T15:55:50.000Z | import ckan.plugins.toolkit as tk
def get_package_source(package_id):
return tk.get_action('package_source_list')({}, {"package_id": package_id})
def get_package_reference(package_id):
return tk.get_action('package_reference_list')({}, {"package_id": package_id}) | 34.25 | 82 | 0.766423 | 40 | 274 | 4.85 | 0.375 | 0.278351 | 0.134021 | 0.175258 | 0.56701 | 0.340206 | 0.340206 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 274 | 8 | 82 | 34.25 | 0.782258 | 0 | 0 | 0 | 0 | 0 | 0.221818 | 0.08 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
34f7896d8ff286041154e0135a067916b091c6da | 96 | py | Python | venv/lib/python3.8/site-packages/requests/__version__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 1 | 2022-02-22T04:49:18.000Z | 2022-02-22T04:49:18.000Z | venv/lib/python3.8/site-packages/requests/__version__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/requests/__version__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/3d/91/32/3d348837f8d1200201e75c15ee9c3cd66dea030d089d247b3ab2995271 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5520a59059023af687e2cd895064ca5eb926e4f5 | 579 | py | Python | Chapter5_DNN/Chapter5_5_NeuralNetworkGUI/start/drawer/src/preprocessing.py | thisisjako/UdemyTF | ee4102391ed6bd50f764955f732f5740425a9209 | [
"MIT"
] | null | null | null | Chapter5_DNN/Chapter5_5_NeuralNetworkGUI/start/drawer/src/preprocessing.py | thisisjako/UdemyTF | ee4102391ed6bd50f764955f732f5740425a9209 | [
"MIT"
] | null | null | null | Chapter5_DNN/Chapter5_5_NeuralNetworkGUI/start/drawer/src/preprocessing.py | thisisjako/UdemyTF | ee4102391ed6bd50f764955f732f5740425a9209 | [
"MIT"
] | null | null | null | import os
from typing import Any
import cv2
import matplotlib.pyplot as plt
import numpy as np
from scipy.ndimage import center_of_mass
FILE_PATH = os.path.abspath(__file__)
PROJECT_DIR = os.path.dirname(os.path.dirname(FILE_PATH))
def load(image_path: str) -> np.ndarray:
pass # TODO
def resize(image: np.n... | 17.545455 | 68 | 0.704663 | 88 | 579 | 4.511364 | 0.420455 | 0.18136 | 0.163728 | 0.214106 | 0.307305 | 0.256927 | 0.256927 | 0.256927 | 0 | 0 | 0 | 0.002128 | 0.188256 | 579 | 32 | 69 | 18.09375 | 0.842553 | 0.041451 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0 | 1 | 0.277778 | false | 0.277778 | 0.333333 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9b30b1da26d1bfc9ca1001258cd4e0a5ad051002 | 134 | py | Python | objects/__init__.py | 4rzael/krocs | 42cb0a806d4c5a9350fca84a0258817bf6a9c154 | [
"MIT"
] | 5 | 2018-05-07T12:57:58.000Z | 2020-07-08T01:46:39.000Z | objects/__init__.py | 4rzael/krocs | 42cb0a806d4c5a9350fca84a0258817bf6a9c154 | [
"MIT"
] | null | null | null | objects/__init__.py | 4rzael/krocs | 42cb0a806d4c5a9350fca84a0258817bf6a9c154 | [
"MIT"
] | null | null | null | """ path tricks. """
import sys
sys.path.append('..')
from .connection import *
from .universal_time import *
from .vessels import *
| 16.75 | 29 | 0.69403 | 17 | 134 | 5.411765 | 0.588235 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 134 | 7 | 30 | 19.142857 | 0.807018 | 0.089552 | 0 | 0 | 0 | 0 | 0.017544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b328c3c19d13de6fcd2bccd5120e6eb29b0118b | 37 | py | Python | python_core/__init__.py | randoum/python-core | df0cad476dcc63865941a25840057621f01191d5 | [
"MIT"
] | null | null | null | python_core/__init__.py | randoum/python-core | df0cad476dcc63865941a25840057621f01191d5 | [
"MIT"
] | null | null | null | python_core/__init__.py | randoum/python-core | df0cad476dcc63865941a25840057621f01191d5 | [
"MIT"
] | null | null | null | from .python_core import HttpEndpoint | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b60cc5a44e3b28730452a0e03600299c30781f5 | 7,733 | py | Python | corehq/apps/auditcare/tests/data/auditcare_migration.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 471 | 2015-01-10T02:55:01.000Z | 2022-03-29T18:07:18.000Z | corehq/apps/auditcare/tests/data/auditcare_migration.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 14,354 | 2015-01-01T07:38:23.000Z | 2022-03-31T20:55:14.000Z | corehq/apps/auditcare/tests/data/auditcare_migration.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 175 | 2015-01-06T07:16:47.000Z | 2022-03-29T13:27:01.000Z | from datetime import datetime
navigation_test_docs = [
{
'description': 'Test User',
'extra': {},
'status_code': 200,
'user': 'user@test.org',
'session_key': '14f8fb95aece47d8341dc561dfd108df',
'ip_address': '0.0.0.0',
'request_path': '/a/test-domain/reports/'... | 33.047009 | 94 | 0.510669 | 835 | 7,733 | 4.549701 | 0.152096 | 0.011056 | 0.011056 | 0.020268 | 0.855752 | 0.851013 | 0.833114 | 0.828902 | 0.819426 | 0.78626 | 0 | 0.064622 | 0.291607 | 7,733 | 233 | 95 | 33.188841 | 0.628879 | 0 | 0 | 0.65368 | 0 | 0.012987 | 0.529161 | 0.106815 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.004329 | 0.004329 | 0 | 0.004329 | 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 |
9bbb94a24cc43df668a7951667492842e3f443f1 | 301 | py | Python | step_2.py | Programmist3000/Lesson_201205 | 93e7fde02324ccf45edeb098b9b0c5d3942cf6bf | [
"Apache-2.0"
] | null | null | null | step_2.py | Programmist3000/Lesson_201205 | 93e7fde02324ccf45edeb098b9b0c5d3942cf6bf | [
"Apache-2.0"
] | null | null | null | step_2.py | Programmist3000/Lesson_201205 | 93e7fde02324ccf45edeb098b9b0c5d3942cf6bf | [
"Apache-2.0"
] | null | null | null | import requests
response = requests.get('https://kpk.kss45.ru/%D1%83%D1%87%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F-'
'%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%B0/%D1%80%D0%B0%D1%81%D0%BF%D0%B8%D1%'
'81%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BF%D0%B0%D1%80.html')
print(response)
| 37.625 | 97 | 0.564784 | 64 | 301 | 2.640625 | 0.390625 | 0.142012 | 0.142012 | 0.094675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234568 | 0.192691 | 301 | 7 | 98 | 43 | 0.460905 | 0 | 0 | 0 | 0 | 0.6 | 0.614618 | 0.401993 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b5c2366c9f4f63dc54ef30deec5556796994b0e5 | 337 | py | Python | utilities/perms.py | WhaleyTech/OpenDiscord1 | dab760218c0b72c2344e00b25a7e88e250f9c03d | [
"MIT"
] | null | null | null | utilities/perms.py | WhaleyTech/OpenDiscord1 | dab760218c0b72c2344e00b25a7e88e250f9c03d | [
"MIT"
] | 2 | 2020-06-06T23:36:31.000Z | 2020-06-21T16:02:22.000Z | utilities/perms.py | WhaleyTech/OpenDiscord1 | dab760218c0b72c2344e00b25a7e88e250f9c03d | [
"MIT"
] | 1 | 2020-06-03T16:24:33.000Z | 2020-06-03T16:24:33.000Z | import discord.ext.commands as commands
def admin_perms():
return commands.has_permissions(administrator=True)
def mod_perms():
return commands.has_permissions(manage_messages=True)
def kick_perms():
return commands.has_permissions(kick_members=True)
def ban_perms():
return commands.has_permissions(... | 25.923077 | 57 | 0.795252 | 45 | 337 | 5.711111 | 0.422222 | 0.171206 | 0.29572 | 0.342412 | 0.513619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115727 | 337 | 13 | 58 | 25.923077 | 0.862416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | true | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.