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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15c8afa61c309aac2fac17d6061450716ecffe73 | 261,022 | py | Python | instances/passenger_demand/pas-20210422-1717-int16e/9.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/9.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/9.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 30585
passenger_arriving = (
(6, 7, 5, 12, 5, 4, 3, 0, 3, 0, 0, 1, 0, 12, 9, 9, 3, 5, 2, 3, 2, 3, 0, 1, 2, 0), # 0
(8, 12, 2, 2, 8, 3, 3, 1, 2, 2, 1, 0, 0, 14, 10, 7, 6, 5, 4, 4, 3, 6, 3, 2, 2, 0), # 1
(7, 11, 10, 8, 6, 2, 4, 4, 5, 1, 2, 1, 0, 10, 7, 6, 9, 7, 5, 3, 4, 4, 4, 0,... | 279.167914 | 491 | 0.771958 | 32,987 | 261,022 | 6.108073 | 0.230788 | 0.35377 | 0.339476 | 0.643218 | 0.365607 | 0.360058 | 0.359428 | 0.359189 | 0.359189 | 0.359189 | 0 | 0.851537 | 0.094758 | 261,022 | 934 | 492 | 279.466809 | 0.001181 | 0.015367 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15d735edd72925c795af24fd466ad3d8a82af601 | 69 | py | Python | backend/recipes/permissions.py | drodrz/Brewable | 3d2de013a4b3e0da01b07b2859c0f855bdf83d84 | [
"MIT"
] | 1 | 2019-03-26T19:44:07.000Z | 2019-03-26T19:44:07.000Z | backend/recipes/permissions.py | drodrz/Brewabl | 3d2de013a4b3e0da01b07b2859c0f855bdf83d84 | [
"MIT"
] | null | null | null | backend/recipes/permissions.py | drodrz/Brewabl | 3d2de013a4b3e0da01b07b2859c0f855bdf83d84 | [
"MIT"
] | null | null | null | from rest_framework import permissions
#TODO: Introduce permissions | 17.25 | 38 | 0.855072 | 8 | 69 | 7.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 4 | 39 | 17.25 | 0.95082 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c61b5c20cc5009941414c5446f4f6167d49b240a | 81 | py | Python | sdc_api_py/_types/__init__.py | SadBoy228/sdc-api.py | fb00b3f10d9bb88e46a4c48d5737da70bc9b7143 | [
"MIT"
] | 4 | 2021-05-20T07:14:30.000Z | 2021-12-17T10:37:26.000Z | sdc_api_py/_types/__init__.py | SadBoy228/sdc-api.py | fb00b3f10d9bb88e46a4c48d5737da70bc9b7143 | [
"MIT"
] | 1 | 2021-05-21T12:39:09.000Z | 2021-05-21T12:39:09.000Z | sdc_api_py/_types/__init__.py | SadBoy228/sdc-api.py | fb00b3f10d9bb88e46a4c48d5737da70bc9b7143 | [
"MIT"
] | 4 | 2021-05-18T19:35:47.000Z | 2021-07-14T12:59:27.000Z | from .Guild import *
from .Raw import *
from .User import *
from .Warns import *
| 16.2 | 20 | 0.703704 | 12 | 81 | 4.75 | 0.5 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 81 | 4 | 21 | 20.25 | 0.876923 | 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 |
c646f58836ec410e338ae3cdd0ef9d4a4b215fc5 | 122 | py | Python | kinoml/datasets/kinomescan/core.py | t-kimber/kinoml | dc28fdbd416d1a53bb33131d6c6fcc05914b15cc | [
"MIT"
] | 36 | 2019-08-26T03:44:50.000Z | 2022-03-17T12:58:11.000Z | kinoml/datasets/kinomescan/core.py | t-kimber/kinoml | dc28fdbd416d1a53bb33131d6c6fcc05914b15cc | [
"MIT"
] | 92 | 2019-08-28T11:53:28.000Z | 2022-03-30T10:15:44.000Z | kinoml/datasets/kinomescan/core.py | t-kimber/kinoml | dc28fdbd416d1a53bb33131d6c6fcc05914b15cc | [
"MIT"
] | 18 | 2019-08-24T03:22:28.000Z | 2021-08-12T12:37:47.000Z | from ..core import ProteinLigandDatasetProvider
class KinomeScanDatasetProvider(ProteinLigandDatasetProvider):
pass
| 20.333333 | 62 | 0.852459 | 8 | 122 | 13 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 122 | 5 | 63 | 24.4 | 0.954128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
c658122de2bf7fa060e81faed6c255c5c32c5a0f | 136 | py | Python | trainers/__init__.py | Frognar/Super-Resolution | 406b909d71e156aa11ee589698744e3ad9abfee7 | [
"MIT"
] | 1 | 2020-11-13T12:04:38.000Z | 2020-11-13T12:04:38.000Z | trainers/__init__.py | Frognar/Super-Resolution | 406b909d71e156aa11ee589698744e3ad9abfee7 | [
"MIT"
] | null | null | null | trainers/__init__.py | Frognar/Super-Resolution | 406b909d71e156aa11ee589698744e3ad9abfee7 | [
"MIT"
] | null | null | null | from trainers.gan_trainer import GANTrainer
from trainers.net_trainer import NetTrainer
from trainers.regan_trainer import ReGANTrainer
| 34 | 47 | 0.889706 | 18 | 136 | 6.555556 | 0.555556 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 136 | 3 | 48 | 45.333333 | 0.951613 | 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 |
d69b821155504657db7a66a24d8a1eaf5bff68b6 | 2,318 | py | Python | run_downloaded.py | tobinjo96/CPFcluster | af7c794c8527f543250b571d6aa03b7df9a58519 | [
"MIT"
] | 2 | 2021-01-06T08:24:41.000Z | 2021-11-02T02:02:30.000Z | run_downloaded.py | tobinjo96/CPFcluster | af7c794c8527f543250b571d6aa03b7df9a58519 | [
"MIT"
] | 1 | 2021-08-14T12:43:00.000Z | 2021-08-15T09:03:37.000Z | run_downloaded.py | tobinjo96/CPFcluster | af7c794c8527f543250b571d6aa03b7df9a58519 | [
"MIT"
] | null | null | null | import numpy as np
from CPFcluster import CPFcluster
import warnings
from sklearn import cluster, datasets, metrics
import csv
Data = np.load("Dermatology.npy")
X = Data[:, range(X.shape[1] - 1)]
y = Data[:, X.shape[1] - 1]
# normalize dataset for easier parameter selection
model = CPFcluster(k = 13, rho = 0.3, alpha... | 39.288136 | 103 | 0.701898 | 368 | 2,318 | 4.355978 | 0.173913 | 0.089832 | 0.034935 | 0.039925 | 0.873362 | 0.873362 | 0.873362 | 0.873362 | 0.873362 | 0.850281 | 0 | 0.01776 | 0.125539 | 2,318 | 58 | 104 | 39.965517 | 0.773064 | 0.089301 | 0 | 0.622222 | 0 | 0 | 0.080875 | 0.010466 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ba3b278498afd28dcfd71c07b6f8d8a2f84b4fc7 | 62 | py | Python | src/test_main.py | javimontiel98/P7JenkinsEj2 | 75acb318b7d686c1129d7df910f1ba10b51ccfb2 | [
"MIT"
] | null | null | null | src/test_main.py | javimontiel98/P7JenkinsEj2 | 75acb318b7d686c1129d7df910f1ba10b51ccfb2 | [
"MIT"
] | null | null | null | src/test_main.py | javimontiel98/P7JenkinsEj2 | 75acb318b7d686c1129d7df910f1ba10b51ccfb2 | [
"MIT"
] | null | null | null | from main import *
def test_suma():
assert suma(3,2) == 5
| 15.5 | 25 | 0.629032 | 11 | 62 | 3.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.225806 | 62 | 3 | 26 | 20.666667 | 0.729167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
baacc987d8c271b12d2ebb49db5ef09b4640b6e9 | 94 | py | Python | gym_simplifiedtetris/__init__.py | OliverOverend/gym-simplifiedtetristemp | 832a0e99b52ec0c13bad1badc0dc1ba6453a6981 | [
"MIT"
] | 3 | 2021-10-04T19:38:14.000Z | 2022-03-15T09:15:09.000Z | gym_simplifiedtetris/__init__.py | OliverOverend/gym-simplifiedtetristemp | 832a0e99b52ec0c13bad1badc0dc1ba6453a6981 | [
"MIT"
] | 2 | 2021-10-05T18:19:29.000Z | 2021-10-05T18:29:37.000Z | gym_simplifiedtetris/__init__.py | OliverOverend/gym-simplifiedtetristemp | 832a0e99b52ec0c13bad1badc0dc1ba6453a6981 | [
"MIT"
] | 3 | 2021-11-19T20:50:07.000Z | 2022-03-24T16:37:37.000Z | """Import the envs module so that the envs register themselves in Gym."""
from .envs import *
| 31.333333 | 73 | 0.734043 | 15 | 94 | 4.6 | 0.733333 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 2 | 74 | 47 | 0.884615 | 0.712766 | 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 |
bab99c4e42d07684794e579757bb403281bd1816 | 7,380 | py | Python | VAPr/tests/test_filtering.py | ucsd-ccbb/VAPr | 69b001e894bfc6a19077976ed3cd1dd3c88d21c9 | [
"MIT"
] | 30 | 2017-01-19T23:16:04.000Z | 2022-03-07T04:42:50.000Z | VAPr/tests/test_filtering.py | ucsd-ccbb/VAPr | 69b001e894bfc6a19077976ed3cd1dd3c88d21c9 | [
"MIT"
] | 24 | 2017-06-07T23:32:36.000Z | 2021-06-22T20:31:05.000Z | VAPr/tests/test_filtering.py | ucsd-ccbb/VAPr | 69b001e894bfc6a19077976ed3cd1dd3c88d21c9 | [
"MIT"
] | 3 | 2018-08-07T22:18:09.000Z | 2021-01-30T19:11:15.000Z | # standard libraries
import unittest
# project-specific libraries
import VAPr.filtering as ns_test
class TestFunctions(unittest.TestCase):
def test_get_sample_id_filter(self):
expected_output = {'samples.sample_id': "testname"}
real_output = ns_test.get_sample_id_filter("testname")
self.a... | 40.549451 | 116 | 0.449187 | 563 | 7,380 | 5.484902 | 0.166963 | 0.099741 | 0.042746 | 0.056995 | 0.910946 | 0.891516 | 0.855894 | 0.815738 | 0.794365 | 0.75421 | 0 | 0.01628 | 0.434011 | 7,380 | 181 | 117 | 40.773481 | 0.723007 | 0.006098 | 0 | 0.439024 | 0 | 0 | 0.183033 | 0.046645 | 0 | 0 | 0 | 0 | 0.067073 | 1 | 0.067073 | false | 0 | 0.012195 | 0 | 0.085366 | 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 |
bacbedd4fe742dc4391401dc499d0566a70572b4 | 33 | py | Python | pyobs/comm/dummy/__init__.py | pyobs/pyobs-core | e3401e63eb31587c2bc535f7346b7e4ef69d64ab | [
"MIT"
] | 4 | 2020-02-14T10:50:03.000Z | 2022-03-25T04:15:06.000Z | pyobs/comm/dummy/__init__.py | pyobs/pyobs-core | e3401e63eb31587c2bc535f7346b7e4ef69d64ab | [
"MIT"
] | 60 | 2020-09-14T09:10:20.000Z | 2022-03-25T17:51:42.000Z | pyobs/comm/dummy/__init__.py | pyobs/pyobs-core | e3401e63eb31587c2bc535f7346b7e4ef69d64ab | [
"MIT"
] | 2 | 2020-10-14T09:34:57.000Z | 2021-04-27T09:35:57.000Z | from .dummycomm import DummyComm
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79e5f5379c6cba80df2ca60b02f425abe5c175cd | 89 | py | Python | chapter02/first_project1/movie/views.py | Tomtao626/django | fe945063593b4bfe82d74842f728b854b501a294 | [
"Apache-2.0"
] | null | null | null | chapter02/first_project1/movie/views.py | Tomtao626/django | fe945063593b4bfe82d74842f728b854b501a294 | [
"Apache-2.0"
] | null | null | null | chapter02/first_project1/movie/views.py | Tomtao626/django | fe945063593b4bfe82d74842f728b854b501a294 | [
"Apache-2.0"
] | null | null | null | from django.http import HttpResponse
def movie(request):
return HttpResponse("电影首页") | 22.25 | 36 | 0.775281 | 11 | 89 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 4 | 37 | 22.25 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 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 |
030b711338a4f7e7ebd54591df76d78f496e9e34 | 336 | py | Python | Cracking the Coding Interview/ctci-solutions-master/ch-06-math-and-logic-puzzles/03-dominoes.py | nikku1234/Code-Practise | 94eb6680ea36efd10856c377000219285f77e5a4 | [
"Apache-2.0"
] | 9 | 2020-07-02T06:06:17.000Z | 2022-02-26T11:08:09.000Z | Cracking the Coding Interview/ctci-solutions-master/ch-06-math-and-logic-puzzles/03-dominoes.py | nikku1234/Code-Practise | 94eb6680ea36efd10856c377000219285f77e5a4 | [
"Apache-2.0"
] | 1 | 2021-11-04T17:26:36.000Z | 2021-11-04T17:26:36.000Z | Cracking the Coding Interview/ctci-solutions-master/ch-06-math-and-logic-puzzles/03-dominoes.py | nikku1234/Code-Practise | 94eb6680ea36efd10856c377000219285f77e5a4 | [
"Apache-2.0"
] | 8 | 2021-01-31T10:31:12.000Z | 2022-03-13T09:15:55.000Z | # Can 31 dominoes cover all but two opposite corners of a chess board?
def dominoes():
# Each dominoe must cover one black and one white square.
# But there are different numbers of black and white squares.
# Read up on such parity arguments here:
# http://ihxrelation.blogspot.com/2015/10/tiling-problems.html
... | 33.6 | 70 | 0.75 | 53 | 336 | 4.754717 | 0.849057 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.184524 | 336 | 9 | 71 | 37.333333 | 0.890511 | 0.845238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0344f6adf82ffbb6ea59852196b9981ecb2c833f | 271 | py | Python | rpython/jit/backend/x86/test/test_rawmem.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | rpython/jit/backend/x86/test/test_rawmem.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | rpython/jit/backend/x86/test/test_rawmem.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z |
from rpython.jit.backend.x86.test.test_basic import Jit386Mixin
from rpython.jit.metainterp.test.test_rawmem import RawMemTests
class TestRawMem(Jit386Mixin, RawMemTests):
# for the individual tests see
# ====> ../../../metainterp/test/test_rawmem.py
pass
| 27.1 | 63 | 0.749077 | 34 | 271 | 5.882353 | 0.617647 | 0.12 | 0.14 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034043 | 0.132841 | 271 | 9 | 64 | 30.111111 | 0.817021 | 0.273063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0351ff4487e06c2d164570159538e9ce55a4aedf | 119 | py | Python | crispy/gui/__init__.py | thegreathippo/crispy | e648a25ff8ec24a3fac3931ba28660b8e22f3020 | [
"MIT"
] | null | null | null | crispy/gui/__init__.py | thegreathippo/crispy | e648a25ff8ec24a3fac3931ba28660b8e22f3020 | [
"MIT"
] | null | null | null | crispy/gui/__init__.py | thegreathippo/crispy | e648a25ff8ec24a3fac3931ba28660b8e22f3020 | [
"MIT"
] | null | null | null | """
TODO:
* Fix click interface to lock on center of tiles rather than corner of tiles?
"""
from .core import app
| 17 | 81 | 0.689076 | 19 | 119 | 4.315789 | 0.894737 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226891 | 119 | 6 | 82 | 19.833333 | 0.891304 | 0.731092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0356c79db92f3f5fa4678e5b406019aa80bf534c | 88 | py | Python | FastAPIRedisRQ/app/__init__.py | scionoftech/FastAPI-Full-Stack-Samples | e7d42661ed59324ff20f419d05c6cd1e7dab7e97 | [
"MIT"
] | 29 | 2021-03-31T02:42:59.000Z | 2022-03-12T16:20:05.000Z | FastAPIRedisRQ/app/__init__.py | scionoftech/FastAPI-Full-Stack-Samples | e7d42661ed59324ff20f419d05c6cd1e7dab7e97 | [
"MIT"
] | null | null | null | FastAPIRedisRQ/app/__init__.py | scionoftech/FastAPI-Full-Stack-Samples | e7d42661ed59324ff20f419d05c6cd1e7dab7e97 | [
"MIT"
] | 4 | 2021-08-21T01:02:00.000Z | 2022-01-09T15:33:51.000Z | from . import conf
from . import controller
from . import routes
from . import util
| 17.6 | 25 | 0.727273 | 12 | 88 | 5.333333 | 0.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 88 | 4 | 26 | 22 | 0.941176 | 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 |
03698d9b759a77299af39788d6d302cd87e574fa | 40 | py | Python | chrome_trex_gym/envs/__init__.py | BadrYoubiIdrissi/chrome-trex-gym | 236f113ebfe837607291e32ba7a774358971cc4e | [
"MIT"
] | 1 | 2020-04-27T11:38:57.000Z | 2020-04-27T11:38:57.000Z | chrome_trex_gym/envs/__init__.py | BadrYoubiIdrissi/chrome-trex-gym | 236f113ebfe837607291e32ba7a774358971cc4e | [
"MIT"
] | null | null | null | chrome_trex_gym/envs/__init__.py | BadrYoubiIdrissi/chrome-trex-gym | 236f113ebfe837607291e32ba7a774358971cc4e | [
"MIT"
] | 1 | 2019-04-18T22:44:18.000Z | 2019-04-18T22:44:18.000Z | from .ChromeTrexEnv import ChromeTrexEnv | 40 | 40 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 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 |
cee48a8bda94b09d267ae3792d6d37e4ac718efa | 45 | py | Python | src/cbopensource/constant.py | tony163163/cb-threatconnect-connector | b1d3753d11a4532d9ebb41a693fa5640d5d329c5 | [
"MIT"
] | 9 | 2015-12-17T19:35:58.000Z | 2021-08-04T03:51:35.000Z | src/cbopensource/constant.py | tony163163/cb-threatconnect-connector | b1d3753d11a4532d9ebb41a693fa5640d5d329c5 | [
"MIT"
] | 4 | 2015-11-11T15:13:36.000Z | 2019-11-06T22:49:28.000Z | src/cbopensource/constant.py | tony163163/cb-threatconnect-connector | b1d3753d11a4532d9ebb41a693fa5640d5d329c5 | [
"MIT"
] | 9 | 2015-11-10T21:51:10.000Z | 2021-08-04T03:51:25.000Z | KiB = 1024
MiB = 1024 * KiB
GiB = 1024 * MiB
| 11.25 | 16 | 0.6 | 8 | 45 | 3.375 | 0.5 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0.288889 | 45 | 3 | 17 | 15 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
306896e585188544abd6fb560e9e884d2743c0e8 | 237 | py | Python | scripts/item/consume_2433251.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/item/consume_2433251.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/item/consume_2433251.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Created by MechAviv
# Violetta's Charming Damage Skin | (2433251)
if sm.addDamageSkin(2433251):
sm.chat("'Violetta's Charming Damage Skin' Damage Skin has been added to your account's damage skin collection.")
sm.consumeItem() | 47.4 | 118 | 0.746835 | 34 | 237 | 5.205882 | 0.617647 | 0.225989 | 0.19209 | 0.259887 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07 | 0.156118 | 237 | 5 | 119 | 47.4 | 0.815 | 0.265823 | 0 | 0 | 0 | 0.333333 | 0.598837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
067800e121b943e4df819d002cdfade84a57f71e | 82 | py | Python | test/run/t258.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t258.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t258.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print [x for x in range(1,10) if False] or ["hello" for x in range(1,10) if True]
| 41 | 81 | 0.658537 | 20 | 82 | 2.7 | 0.6 | 0.148148 | 0.222222 | 0.407407 | 0.592593 | 0.592593 | 0.592593 | 0 | 0 | 0 | 0 | 0.090909 | 0.195122 | 82 | 1 | 82 | 82 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ebf2d8be0f70fc2db4d19feb2abadcf3132ab85d | 19 | py | Python | BTS/__init__.py | BillyGTCarlyle/BTS | 67e06af77ed41b9c7aef53f38bf3eedb7865d1af | [
"MIT"
] | null | null | null | BTS/__init__.py | BillyGTCarlyle/BTS | 67e06af77ed41b9c7aef53f38bf3eedb7865d1af | [
"MIT"
] | null | null | null | BTS/__init__.py | BillyGTCarlyle/BTS | 67e06af77ed41b9c7aef53f38bf3eedb7865d1af | [
"MIT"
] | null | null | null | from .BTS 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 |
ebf42677704a78f0cbe6765f91ebe8e8b88990c0 | 12,089 | py | Python | compiler/services/filemanager/tests/test_filemanager.py | cul-it/arxiv-compiler | b4aaca17a08a752d8b5c12224edabd011a8920f7 | [
"MIT"
] | 5 | 2019-05-26T22:47:35.000Z | 2021-11-05T12:30:07.000Z | compiler/services/filemanager/tests/test_filemanager.py | arXiv/arxiv-compiler | b4aaca17a08a752d8b5c12224edabd011a8920f7 | [
"MIT"
] | 16 | 2019-02-12T23:25:04.000Z | 2021-04-30T15:04:48.000Z | compiler/services/filemanager/tests/test_filemanager.py | cul-it/arxiv-compiler | b4aaca17a08a752d8b5c12224edabd011a8920f7 | [
"MIT"
] | 3 | 2019-01-10T22:01:50.000Z | 2020-12-06T16:29:51.000Z | """Tests for :mod:`compiler.services.filemanager`."""
from unittest import TestCase, mock
import json
import os
import requests
from flask import Flask
from arxiv.integration.api import exceptions, status
from .. import FileManager
from .... import domain, util
CONFIG = {
'FILEMANAGER_ENDPOINT': 'http://fooendp... | 41.259386 | 79 | 0.63595 | 1,311 | 12,089 | 5.658276 | 0.116705 | 0.06309 | 0.079401 | 0.101105 | 0.818145 | 0.763953 | 0.747371 | 0.718792 | 0.708816 | 0.70248 | 0 | 0.012958 | 0.253123 | 12,089 | 292 | 80 | 41.400685 | 0.808617 | 0.073455 | 0 | 0.617021 | 0 | 0 | 0.178549 | 0.120324 | 0 | 0 | 0 | 0 | 0.106383 | 1 | 0.085106 | false | 0 | 0.034043 | 0 | 0.140426 | 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 |
2315e2b5a6866183836a10ab88c483f07834ebd8 | 29 | py | Python | hello.py | andreeapintoiu/session1 | c0119d3267617d94b58cd4a71986f86f7e285cd1 | [
"MIT"
] | null | null | null | hello.py | andreeapintoiu/session1 | c0119d3267617d94b58cd4a71986f86f7e285cd1 | [
"MIT"
] | null | null | null | hello.py | andreeapintoiu/session1 | c0119d3267617d94b58cd4a71986f86f7e285cd1 | [
"MIT"
] | null | null | null | print('Hello world hgjhgjd')
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
23424cd42e7de96fef2dc7a1d2a83ab52b693bf3 | 207 | py | Python | 05.04.2022/listas/metodosDaLista/metLista.py | N0N4T0/python-codes | ac2b884f86749a8b179ff972cdb316ec4e005b32 | [
"MIT"
] | null | null | null | 05.04.2022/listas/metodosDaLista/metLista.py | N0N4T0/python-codes | ac2b884f86749a8b179ff972cdb316ec4e005b32 | [
"MIT"
] | null | null | null | 05.04.2022/listas/metodosDaLista/metLista.py | N0N4T0/python-codes | ac2b884f86749a8b179ff972cdb316ec4e005b32 | [
"MIT"
] | null | null | null | # Exibindo tamanho da lista nomes_paises
nomes_paises = ['Brasil', 'Argentina', 'China', 'Canadá', 'Japão']
tamanho_nomes_paises = len(nomes_paises)
print(len(nomes_paises))
print(type(len(nomes_paises)))
| 25.875 | 66 | 0.753623 | 28 | 207 | 5.321429 | 0.5 | 0.442953 | 0.281879 | 0.255034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096618 | 207 | 7 | 67 | 29.571429 | 0.796791 | 0.183575 | 0 | 0 | 0 | 0 | 0.185629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
88cabc8c04003e378a9d33ab1c04ba1205526462 | 562 | py | Python | Builder/abstract_objects.py | HOWZ1T/learning-design-patterns | 73a844f9d8ea00bae711fb0d90b93ca652b2b039 | [
"MIT"
] | 1 | 2018-09-24T12:05:06.000Z | 2018-09-24T12:05:06.000Z | Builder/abstract_objects.py | HOWZ1T/learning-design-patterns | 73a844f9d8ea00bae711fb0d90b93ca652b2b039 | [
"MIT"
] | null | null | null | Builder/abstract_objects.py | HOWZ1T/learning-design-patterns | 73a844f9d8ea00bae711fb0d90b93ca652b2b039 | [
"MIT"
] | null | null | null | from Builder import packing_objects
from Builder import interfaces
import abc
class Burger(interfaces.Item):
def packing(self):
return packing_objects.Wrapper()
@abc.abstractmethod
def price(self):
raise NotImplementedError("users must implement the method price to use this base class")
... | 25.545455 | 97 | 0.729537 | 69 | 562 | 5.898551 | 0.42029 | 0.103194 | 0.083538 | 0.117936 | 0.742015 | 0.742015 | 0.742015 | 0.742015 | 0.506143 | 0.506143 | 0 | 0 | 0.202847 | 562 | 21 | 98 | 26.761905 | 0.908482 | 0 | 0 | 0.533333 | 0 | 0 | 0.213523 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.2 | 0.133333 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0042ca9d8d7e019760d900cf948cd855da37cb8d | 228 | py | Python | Geometry/EcalAlgo/python/EcalGeometry_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Geometry/EcalAlgo/python/EcalGeometry_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Geometry/EcalAlgo/python/EcalGeometry_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | from Geometry.EcalAlgo.EcalEndcapGeometry_cfi import EcalEndcapGeometryEP
from Geometry.EcalAlgo.EcalPreshowerGeometry_cfi import EcalPreshowerGeometryEP
from Geometry.EcalAlgo.EcalBarrelGeometry_cfi import EcalBarrelGeometryEP
| 57 | 79 | 0.921053 | 21 | 228 | 9.857143 | 0.52381 | 0.173913 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 228 | 3 | 80 | 76 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
004f710668bfc6d6f15c273367df6dcd814481f2 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/cli/parser.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_internal/cli/parser.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_internal/cli/parser.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/1b/1c/1b/0b60ea216c5910e8762985838271da34ade2ed9d8f614e1c201cf6b8d2 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 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 |
cc7a6c1cfcc63d66fa717bffbde8bff33d48c9ef | 1,570 | py | Python | kdeploy/utils/http_util.py | kooksee/kdeploy | 16057de236a866c4888d724677890e8d2e27cafe | [
"MIT"
] | 1 | 2017-12-24T07:59:25.000Z | 2017-12-24T07:59:25.000Z | kdeploy/utils/http_util.py | kooksee/kdeploy | 16057de236a866c4888d724677890e8d2e27cafe | [
"MIT"
] | null | null | null | kdeploy/utils/http_util.py | kooksee/kdeploy | 16057de236a866c4888d724677890e8d2e27cafe | [
"MIT"
] | null | null | null | import aiohttp
async def __request_get(url, timeout=1, **kwargs):
async with aiohttp.ClientSession() as session:
try:
with aiohttp.Timeout(timeout):
async with session.get(url, **kwargs) as response:
return 1, await response.text()
except Exception a... | 24.153846 | 78 | 0.561146 | 203 | 1,570 | 4.17734 | 0.246305 | 0.042453 | 0.070755 | 0.070755 | 0.854953 | 0.841981 | 0.841981 | 0.810142 | 0.775943 | 0.775943 | 0 | 0.017192 | 0.333121 | 1,570 | 64 | 79 | 24.53125 | 0.792741 | 0 | 0 | 0.666667 | 0 | 0 | 0.018471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.208333 | 0.041667 | 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 |
cccfef2d2960486bcfa0ddd9c87db5ab250933f2 | 41 | py | Python | diesel/util/patches/__init__.py | msabramo/diesel | a1ed7ed0358d0fec8592e23aafc3b7ec167ab649 | [
"BSD-3-Clause"
] | 224 | 2015-01-03T06:33:05.000Z | 2021-11-22T03:19:02.000Z | diesel/util/patches/__init__.py | dowski/diesel | d9824e467805caf40e0ba21b88a27db38e64c352 | [
"BSD-3-Clause"
] | 12 | 2015-01-01T03:35:15.000Z | 2021-05-22T23:37:28.000Z | diesel/util/patches/__init__.py | dowski/diesel | d9824e467805caf40e0ba21b88a27db38e64c352 | [
"BSD-3-Clause"
] | 37 | 2015-01-04T01:47:55.000Z | 2022-03-03T02:04:15.000Z | from requests_lib import enable_requests
| 20.5 | 40 | 0.902439 | 6 | 41 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 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 |
aee90c09a9fcdeb6151c4210ed2485231338cff1 | 4,551 | py | Python | artoo/artoo_api/migrations/0001_initial.py | phillipjhl/ARTOO | 4fdd365ad71934514f69025c32ba1103d0a1b43b | [
"MIT"
] | 1 | 2020-10-08T20:48:44.000Z | 2020-10-08T20:48:44.000Z | artoo/artoo_api/migrations/0001_initial.py | phillipjhl/ARTOO | 4fdd365ad71934514f69025c32ba1103d0a1b43b | [
"MIT"
] | 6 | 2021-06-02T03:52:36.000Z | 2021-12-15T19:01:45.000Z | artoo/artoo_api/migrations/0001_initial.py | phillipjhl/ARTOO | 4fdd365ad71934514f69025c32ba1103d0a1b43b | [
"MIT"
] | null | null | null | # Generated by Django 3.1 on 2020-08-19 05:27
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Device',
fields=[
... | 44.617647 | 120 | 0.575478 | 457 | 4,551 | 5.522976 | 0.164114 | 0.044374 | 0.116482 | 0.138669 | 0.787242 | 0.745246 | 0.719889 | 0.719889 | 0.719889 | 0.719889 | 0 | 0.010769 | 0.285871 | 4,551 | 101 | 121 | 45.059406 | 0.765846 | 0.009448 | 0 | 0.659574 | 1 | 0 | 0.112739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.06383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aefad90e5357eaaca960396847405794a759bf20 | 101 | py | Python | pyhive/__init__.py | songyanho/PyHive | 1f39ab88d1a1de97e9d98b96894d0c59db34d6a5 | [
"Apache-2.0"
] | 1 | 2018-04-02T18:40:24.000Z | 2018-04-02T18:40:24.000Z | pyhive/__init__.py | songyanho/PyHive | 1f39ab88d1a1de97e9d98b96894d0c59db34d6a5 | [
"Apache-2.0"
] | 1 | 2017-01-04T21:36:42.000Z | 2017-01-04T21:36:42.000Z | pyhive/__init__.py | songyanho/PyHive | 1f39ab88d1a1de97e9d98b96894d0c59db34d6a5 | [
"Apache-2.0"
] | 3 | 2018-11-11T00:35:17.000Z | 2020-12-04T17:52:37.000Z | from __future__ import absolute_import
from __future__ import unicode_literals
__version__ = '0.2.1'
| 25.25 | 39 | 0.841584 | 14 | 101 | 5.071429 | 0.714286 | 0.28169 | 0.450704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.108911 | 101 | 3 | 40 | 33.666667 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9db0fa8f054473a0aee584aba3fba0c02975acf9 | 29 | py | Python | cyclegan/metrics/__init__.py | narumiruna/cyclegan-pytorch | 11e28b7d9681e9cd40ecf9ee6d0fc93076d69365 | [
"MIT"
] | 1 | 2020-03-19T07:38:42.000Z | 2020-03-19T07:38:42.000Z | cyclegan/metrics/__init__.py | narumiruna/cyclegan-pytorch | 11e28b7d9681e9cd40ecf9ee6d0fc93076d69365 | [
"MIT"
] | null | null | null | cyclegan/metrics/__init__.py | narumiruna/cyclegan-pytorch | 11e28b7d9681e9cd40ecf9ee6d0fc93076d69365 | [
"MIT"
] | null | null | null | from .average import Average
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9dc9277bfc1b98766dd9c672ca7b56b8aee8cf6f | 30 | py | Python | bayesian_sensor/__init__.py | lwestenberg/hass-bayesian-sensor-notebook | 4f9150c5aec2c7657b44d497881e279f4f24e88d | [
"MIT"
] | 3 | 2019-09-08T17:17:21.000Z | 2021-06-30T13:41:16.000Z | bayesian_sensor/__init__.py | westenberg/hass-bayesian-sensor-notebook | 4f9150c5aec2c7657b44d497881e279f4f24e88d | [
"MIT"
] | 1 | 2021-11-19T17:31:11.000Z | 2021-12-01T09:01:53.000Z | bayesian_sensor/__init__.py | westenberg/hass-bayesian-sensor-notebook | 4f9150c5aec2c7657b44d497881e279f4f24e88d | [
"MIT"
] | null | null | null | from .bayesian import Bayesian | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ddee085b5f96f234b50360c7cabe7fa0a5e1f16 | 323 | py | Python | sentence_transformers/cross_encoder/evaluation/__init__.py | ccolas/sentence-transformers | d7235076a663114c5267b093d5c28e1fc0272f76 | [
"Apache-2.0"
] | 7,566 | 2019-07-25T07:45:17.000Z | 2022-03-31T22:15:35.000Z | sentence_transformers/cross_encoder/evaluation/__init__.py | ccolas/sentence-transformers | d7235076a663114c5267b093d5c28e1fc0272f76 | [
"Apache-2.0"
] | 1,444 | 2019-07-25T11:53:48.000Z | 2022-03-31T15:13:32.000Z | sentence_transformers/cross_encoder/evaluation/__init__.py | ccolas/sentence-transformers | d7235076a663114c5267b093d5c28e1fc0272f76 | [
"Apache-2.0"
] | 1,567 | 2019-07-26T15:19:28.000Z | 2022-03-31T19:57:35.000Z | from .CEBinaryAccuracyEvaluator import CEBinaryAccuracyEvaluator
from .CEBinaryClassificationEvaluator import CEBinaryClassificationEvaluator
from .CECorrelationEvaluator import CECorrelationEvaluator
from .CESoftmaxAccuracyEvaluator import CESoftmaxAccuracyEvaluator
from .CERerankingEvaluator import CERerankingEvaluat... | 53.833333 | 76 | 0.922601 | 20 | 323 | 14.9 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06192 | 323 | 5 | 77 | 64.6 | 0.983498 | 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 |
d1d9965ce7ec9aabd5da3cb5356d31e39f4ca9f3 | 1,072 | py | Python | benchmarks/energy_radius/__init__.py | MTD-group/amlt | 568a37b06f2dd289d2b62c960406e3044195fb14 | [
"MIT"
] | 2 | 2020-07-15T20:11:41.000Z | 2022-03-31T17:47:38.000Z | benchmarks/energy_radius/__init__.py | MTD-group/amlt | 568a37b06f2dd289d2b62c960406e3044195fb14 | [
"MIT"
] | null | null | null | benchmarks/energy_radius/__init__.py | MTD-group/amlt | 568a37b06f2dd289d2b62c960406e3044195fb14 | [
"MIT"
] | 1 | 2019-05-02T22:05:37.000Z | 2019-05-02T22:05:37.000Z |
from ase import io
import numpy as np
import os
def read_energy_radius_traj(file_name):
traj = io.Trajectory(os.path.abspath(file_name),'r')
#data = [ (im.get_volume()/len(im), im.get_potential_energy(force_consistent = True)/len(im)) for im in traj]
data = [ (np.linalg.norm(im[0].position -... | 34.580645 | 117 | 0.601679 | 163 | 1,072 | 3.828221 | 0.263804 | 0.048077 | 0.044872 | 0.070513 | 0.828526 | 0.828526 | 0.820513 | 0.820513 | 0.820513 | 0.820513 | 0 | 0.013447 | 0.23694 | 1,072 | 30 | 118 | 35.733333 | 0.749389 | 0.201493 | 0 | 0.631579 | 0 | 0 | 0.002345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.157895 | 0 | 0.368421 | 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 |
8839f469b7fa5ef86ceef1b119a0a3d738b01844 | 138 | py | Python | surfstat/python/need_not_convert/SurfStatView.py | rudimeier/BrainStat | a5ef474ffd70300ecf5fa464fff4a41e71f4b7a1 | [
"BSD-3-Clause"
] | null | null | null | surfstat/python/need_not_convert/SurfStatView.py | rudimeier/BrainStat | a5ef474ffd70300ecf5fa464fff4a41e71f4b7a1 | [
"BSD-3-Clause"
] | null | null | null | surfstat/python/need_not_convert/SurfStatView.py | rudimeier/BrainStat | a5ef474ffd70300ecf5fa464fff4a41e71f4b7a1 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
def py_SurfStatView(struct, surf, title, background):
sys.exit("Function py_SurfStatView is not implemented yet")
| 27.6 | 63 | 0.775362 | 20 | 138 | 5.25 | 0.9 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 138 | 4 | 64 | 34.5 | 0.889831 | 0 | 0 | 0 | 0 | 0 | 0.34058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88819fa96b9547b6ad5e37fb9e3a3c45d6dbbadb | 180 | py | Python | randomdataset/__main__.py | KCL-BMEIS/RandomDataset | 5e58e767dc017cbaa35666e3860e4cc3b8793c78 | [
"MIT"
] | 1 | 2021-03-26T10:04:51.000Z | 2021-03-26T10:04:51.000Z | randomdataset/__main__.py | KCL-BMEIS/RandomDataset | 5e58e767dc017cbaa35666e3860e4cc3b8793c78 | [
"MIT"
] | 6 | 2021-06-15T23:33:22.000Z | 2022-02-20T15:38:27.000Z | randomdataset/__main__.py | ericspod/RandomDataset | 5e58e767dc017cbaa35666e3860e4cc3b8793c78 | [
"MIT"
] | null | null | null | # RandomDataset
# Copyright (c) 2021 Eric Kerfoot, KCL, see LICENSE file
if __name__ == "__main__":
from .application import generate_dataset
generate_dataset()
| 20 | 57 | 0.7 | 20 | 180 | 5.8 | 0.9 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.222222 | 180 | 8 | 58 | 22.5 | 0.8 | 0.377778 | 0 | 0 | 1 | 0 | 0.079208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
31f8e84c6a582a40fb8119d3ebd065b7d7cce473 | 127 | py | Python | parser/team26/G26/imports.py | Sedge77/tytus | 898d5790c0c3b350ad85dd216d03c595c225df10 | [
"MIT"
] | null | null | null | parser/team26/G26/imports.py | Sedge77/tytus | 898d5790c0c3b350ad85dd216d03c595c225df10 | [
"MIT"
] | null | null | null | parser/team26/G26/imports.py | Sedge77/tytus | 898d5790c0c3b350ad85dd216d03c595c225df10 | [
"MIT"
] | null | null | null | import Instrucciones.DDL.create as create
import Expresiones.Condicionales as condicion
import Expresiones.Aritmeticas as arit
| 31.75 | 45 | 0.874016 | 16 | 127 | 6.9375 | 0.625 | 0.306306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 127 | 3 | 46 | 42.333333 | 0.965217 | 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 |
ee1ad24fb242a679dd140ca69cc14c50a3b674a1 | 45 | py | Python | tests/test_files/test_nested_module_structure/test_nested_module.py | lowitea/flake8-fine-pytest | 5f5b6a98abbc98e5a74c4ac8bd03890332828070 | [
"MIT"
] | 4 | 2021-01-06T02:53:06.000Z | 2022-02-24T14:11:23.000Z | tests/test_files/test_nested_module_structure/test_nested_module.py | lowitea/flake8-fine-pytest | 5f5b6a98abbc98e5a74c4ac8bd03890332828070 | [
"MIT"
] | 7 | 2020-05-12T06:49:25.000Z | 2022-03-05T05:03:25.000Z | tests/test_files/test_nested_module_structure/test_nested_module.py | lowitea/flake8-fine-pytest | 5f5b6a98abbc98e5a74c4ac8bd03890332828070 | [
"MIT"
] | 6 | 2020-06-30T14:10:33.000Z | 2020-12-21T10:19:01.000Z | def test_nested_module_structure():
pass
| 15 | 35 | 0.777778 | 6 | 45 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 36 | 22.5 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a006d294a644d11c7558117e8c137c0650ae412b | 24,821 | py | Python | autoarray/util/binning_util.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | autoarray/util/binning_util.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | autoarray/util/binning_util.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | from autoarray import decorator_util
import numpy as np
from autoarray.util import array_util, mask_util
@decorator_util.jit()
def padded_binning_shape_2d_from_shape_2d_and_bin_up_factor(shape_2d, bin_up_factor):
shape_remainder = (shape_2d[0] % bin_up_factor, shape_2d[1] % bin_up_factor)
if shape_remainde... | 35.560172 | 125 | 0.665122 | 4,044 | 24,821 | 3.758408 | 0.052918 | 0.057241 | 0.081058 | 0.029936 | 0.858083 | 0.837489 | 0.819199 | 0.795973 | 0.774788 | 0.741628 | 0 | 0.041762 | 0.257161 | 24,821 | 697 | 126 | 35.611191 | 0.782569 | 0.506547 | 0 | 0.486842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048246 | false | 0 | 0.013158 | 0 | 0.109649 | 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 |
4e630ec4e125ea19493b3cda0906ca982a83ed00 | 6,843 | py | Python | ODE_Isotropic_Spectrum.py | pedrodedin/Neutrino-Collective-Effects | d91c3f910a6407afe39d4c8f90c6d0765c0fc44c | [
"MIT"
] | null | null | null | ODE_Isotropic_Spectrum.py | pedrodedin/Neutrino-Collective-Effects | d91c3f910a6407afe39d4c8f90c6d0765c0fc44c | [
"MIT"
] | null | null | null | ODE_Isotropic_Spectrum.py | pedrodedin/Neutrino-Collective-Effects | d91c3f910a6407afe39d4c8f90c6d0765c0fc44c | [
"MIT"
] | null | null | null | from Auxiliar_Functions import *
from scipy.integrate import odeint
def initiate(nu_types,r_i,r_f,E_i,E_f,E_step,E_0,Amplitude):
y0=[] #Initial state
omega=[]
flavor_sign=1
E_vec=np.arange(E_i,E_f,E_step)
n_E=len(E_vec)
n_f=len(nu_types)
n_dim=(n_f**2)-1
for i in range(n_E):
omega.append(delta_m2_31... | 28.752101 | 97 | 0.64007 | 1,421 | 6,843 | 2.787474 | 0.090077 | 0.031305 | 0.034335 | 0.018177 | 0.86872 | 0.826811 | 0.797021 | 0.775814 | 0.748043 | 0.739712 | 0 | 0.028561 | 0.186468 | 6,843 | 237 | 98 | 28.873418 | 0.681157 | 0.128891 | 0 | 0.56051 | 0 | 0 | 0.013338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038217 | false | 0 | 0.012739 | 0 | 0.101911 | 0.012739 | 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 |
4e6a860b6180becb47879d1671527495498a1e99 | 3,715 | py | Python | drives/migrations/0002_auto_20191201_2016.py | frostdpr/uva-rideon | 3146c9ad5b12fa6bc9605b4f045b5dfd791ce8d1 | [
"Apache-2.0"
] | null | null | null | drives/migrations/0002_auto_20191201_2016.py | frostdpr/uva-rideon | 3146c9ad5b12fa6bc9605b4f045b5dfd791ce8d1 | [
"Apache-2.0"
] | null | null | null | drives/migrations/0002_auto_20191201_2016.py | frostdpr/uva-rideon | 3146c9ad5b12fa6bc9605b4f045b5dfd791ce8d1 | [
"Apache-2.0"
] | 1 | 2020-02-09T18:09:02.000Z | 2020-02-09T18:09:02.000Z | # Generated by Django 2.2.7 on 2019-12-01 20:16
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('drives', '0001_initial'),
migrations.swappable_dependency(setti... | 41.741573 | 157 | 0.629341 | 396 | 3,715 | 5.737374 | 0.15404 | 0.110915 | 0.141725 | 0.166373 | 0.817782 | 0.817782 | 0.759683 | 0.680018 | 0.680018 | 0.680018 | 0 | 0.008208 | 0.24576 | 3,715 | 88 | 158 | 42.215909 | 0.802641 | 0.012113 | 0 | 0.617284 | 1 | 0 | 0.125136 | 0.005998 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.024691 | 0.037037 | 0 | 0.08642 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14cc0e64f3344f962ebe25c5d0b35476e01b3321 | 45 | py | Python | editor/__init__.py | mikhel1984/termit | 721562cebdcca4ca743a3afd62c41ed0d3c631e6 | [
"MIT"
] | 1 | 2022-01-20T16:57:55.000Z | 2022-01-20T16:57:55.000Z | editor/__init__.py | mikhel1984/termit | 721562cebdcca4ca743a3afd62c41ed0d3c631e6 | [
"MIT"
] | 5 | 2021-12-26T09:25:56.000Z | 2022-01-08T12:43:44.000Z | editor/__init__.py | mikhel1984/termit | 721562cebdcca4ca743a3afd62c41ed0d3c631e6 | [
"MIT"
] | null | null | null | # 2021, S.Mikhel
from .editor import Editor
| 11.25 | 26 | 0.733333 | 7 | 45 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0.177778 | 45 | 3 | 27 | 15 | 0.783784 | 0.311111 | 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 |
eed713c9a1420ce575389d60c91fd3bddd776237 | 45 | py | Python | flask_auth0/__init__.py | djoek/Flask-Auth0 | 84f0f8986e77406d07f7ff0332d4599c90f1447a | [
"MIT"
] | null | null | null | flask_auth0/__init__.py | djoek/Flask-Auth0 | 84f0f8986e77406d07f7ff0332d4599c90f1447a | [
"MIT"
] | null | null | null | flask_auth0/__init__.py | djoek/Flask-Auth0 | 84f0f8986e77406d07f7ff0332d4599c90f1447a | [
"MIT"
] | null | null | null | from .auth0_ext import AuthorizationCodeFlow
| 22.5 | 44 | 0.888889 | 5 | 45 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 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 |
eee70abaad333975eb5d520d6e4c2b5988fa1e72 | 5,748 | py | Python | src/cubic_splines.py | LuluDavid/Polynomial_Interpolation | d6d212615dbd4ce20a0120b249fe35373bfa3b71 | [
"MIT"
] | null | null | null | src/cubic_splines.py | LuluDavid/Polynomial_Interpolation | d6d212615dbd4ce20a0120b249fe35373bfa3b71 | [
"MIT"
] | null | null | null | src/cubic_splines.py | LuluDavid/Polynomial_Interpolation | d6d212615dbd4ce20a0120b249fe35373bfa3b71 | [
"MIT"
] | null | null | null | # Cubic splines
import time
from scipy import misc
from polynomes import *
import polynomes
# linear complexity
def cubic_splines(f, a, b, n):
xcoords = [a + k * (b - a) / n for k in range(n + 1)]
ycoords = [f(k) for k in xcoords]
dycoords = [misc.derivative(f, k) for k in xcoords]
for k in range(n... | 44.215385 | 120 | 0.483125 | 890 | 5,748 | 3.104494 | 0.11573 | 0.28375 | 0.159609 | 0.098444 | 0.783569 | 0.772711 | 0.766196 | 0.766196 | 0.766196 | 0.766196 | 0 | 0.070189 | 0.328288 | 5,748 | 129 | 121 | 44.55814 | 0.645429 | 0.042971 | 0 | 0.685185 | 0 | 0 | 0.008377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.037037 | 0 | 0.083333 | 0.018519 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
013c01b4e51a8f310d553c5020ab688bf2779022 | 22 | py | Python | func/__init__.py | igroykt/letsencrypt-nic | 67fb823f1435be1f109e3bab1f09579452814cb0 | [
"BSD-3-Clause"
] | 4 | 2021-11-13T15:22:48.000Z | 2022-02-25T04:01:38.000Z | func/__init__.py | igroykt/letsencrypt-nic | 67fb823f1435be1f109e3bab1f09579452814cb0 | [
"BSD-3-Clause"
] | 1 | 2022-02-08T09:02:03.000Z | 2022-02-15T07:06:43.000Z | func/__init__.py | igroykt/letsencrypt-nic | 67fb823f1435be1f109e3bab1f09579452814cb0 | [
"BSD-3-Clause"
] | 2 | 2021-01-11T16:58:35.000Z | 2022-01-14T12:26:51.000Z | from .func import Func | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
018a7736136d6f2f8972576d1ed33c37ee61cea2 | 86 | py | Python | tests/__init__.py | valleygtc/flask-sampleproject | 1dcd0d4ebb38c269b1f2367e3fe9f73bd4f85fd7 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | valleygtc/flask-sampleproject | 1dcd0d4ebb38c269b1f2367e3fe9f73bd4f85fd7 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | valleygtc/flask-sampleproject | 1dcd0d4ebb38c269b1f2367e3fe9f73bd4f85fd7 | [
"BSD-3-Clause"
] | null | null | null | from app import create_app
test_app = create_app()
test_app.config['TESTING'] = True
| 17.2 | 33 | 0.767442 | 14 | 86 | 4.428571 | 0.571429 | 0.290323 | 0.419355 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 86 | 4 | 34 | 21.5 | 0.826667 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0196ea863ed60864e30f37c85ccd60520ee71c6c | 34 | py | Python | CodeWars/8 Kyu/get character from ASCII Value.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/get character from ASCII Value.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/get character from ASCII Value.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def get_char(c):
return chr(c) | 17 | 17 | 0.647059 | 7 | 34 | 3 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 2 | 17 | 17 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6d9c6232ebdf6f139bb0430191694d375684e554 | 389 | py | Python | test.py | noncepool/gapcoin-hash-python | e557d3a551ceb15b7009898ba9f64bff9db4d346 | [
"MIT"
] | null | null | null | test.py | noncepool/gapcoin-hash-python | e557d3a551ceb15b7009898ba9f64bff9db4d346 | [
"MIT"
] | null | null | null | test.py | noncepool/gapcoin-hash-python | e557d3a551ceb15b7009898ba9f64bff9db4d346 | [
"MIT"
] | null | null | null | def _test():
import gapcoin_hash
header_hex = '02000000cce93da7214414192b753a52a6603f9dd9d910f78e3bff966cefc181f1c397d80fb872152769598c341f9139b14d63d2e95712e50cf8c70e97268d5f7692b775c0c1545400000000000001000e0000001400df7d07'
hash_int = gapcoin_hash.getpowdiff(header_hex)
print hash_int #... | 35.363636 | 197 | 0.807198 | 25 | 389 | 11.88 | 0.6 | 0.070707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0.143959 | 389 | 10 | 198 | 38.9 | 0.447447 | 0.069409 | 0 | 0 | 0 | 0 | 0.516667 | 0.494444 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.142857 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0969d7e85394f3787b7adaf792bb6f81b3dad3aa | 81 | py | Python | Proyecto1/cloud_function/dummy-test.py | jasago/SOA2022-1 | 39f142f786887e50eae85e9f90b4a6194164bdc1 | [
"MIT"
] | null | null | null | Proyecto1/cloud_function/dummy-test.py | jasago/SOA2022-1 | 39f142f786887e50eae85e9f90b4a6194164bdc1 | [
"MIT"
] | null | null | null | Proyecto1/cloud_function/dummy-test.py | jasago/SOA2022-1 | 39f142f786887e50eae85e9f90b4a6194164bdc1 | [
"MIT"
] | 11 | 2022-02-22T21:38:08.000Z | 2022-03-02T04:52:35.000Z | from google.cloud import storage
import pytest
def dummy_test():
assert 3!=4 | 16.2 | 32 | 0.753086 | 13 | 81 | 4.615385 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.17284 | 81 | 5 | 33 | 16.2 | 0.865672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
09bfc09f974d88fccc4b496ca4cda7f5a016efc8 | 3,552 | py | Python | TD/src/acrobot_gridsearch.py | lucasgit/rl | 1c4bbfad0b11c040ece2b9a384f3781de2c729ca | [
"MIT"
] | 1 | 2022-01-21T13:52:50.000Z | 2022-01-21T13:52:50.000Z | TD/src/acrobot_gridsearch.py | lucaslehnert/pgq | 1c4bbfad0b11c040ece2b9a384f3781de2c729ca | [
"MIT"
] | null | null | null | TD/src/acrobot_gridsearch.py | lucaslehnert/pgq | 1c4bbfad0b11c040ece2b9a384f3781de2c729ca | [
"MIT"
] | null | null | null | '''
Created on Apr 24, 2016
@author: Lucas Lehnert (lucas.lehnert@mail.mcgill.ca)
Script to generate configurations for acrobot experiment.
'''
import json
import os
experimentDir = '../experiment/acrobot'
if not os.path.exists( experimentDir ):
os.makedirs( experimentDir )
def create_ac_all():
config = ... | 24.666667 | 91 | 0.572917 | 414 | 3,552 | 4.777778 | 0.166667 | 0.032861 | 0.033367 | 0.048028 | 0.788675 | 0.777553 | 0.777553 | 0.759353 | 0.746208 | 0.746208 | 0 | 0.059734 | 0.217624 | 3,552 | 143 | 92 | 24.839161 | 0.652033 | 0.03857 | 0 | 0.68 | 1 | 0 | 0.236486 | 0.097239 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.02 | 0 | 0.07 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09d444e39b57e1c7128be29aad421aa436a5bf8f | 96 | py | Python | Regularization/__init__.py | Kthyeon/micronet_neurips_challenge | 9f71fb752e8fbd5abca07be530f7fb19e164125c | [
"MIT"
] | 19 | 2019-11-27T07:18:35.000Z | 2021-08-20T14:16:17.000Z | Regularization/__init__.py | 3outeille/KAIST-AI-NeurIPS2019-MicroNet-2nd-place-solution | 9f71fb752e8fbd5abca07be530f7fb19e164125c | [
"MIT"
] | null | null | null | Regularization/__init__.py | 3outeille/KAIST-AI-NeurIPS2019-MicroNet-2nd-place-solution | 9f71fb752e8fbd5abca07be530f7fb19e164125c | [
"MIT"
] | 6 | 2019-12-18T02:09:54.000Z | 2021-06-21T11:34:36.000Z | from .orthogonal_weight import *
from .label_regularize import *
from .input_regularize import * | 32 | 32 | 0.822917 | 12 | 96 | 6.333333 | 0.583333 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 96 | 3 | 33 | 32 | 0.894118 | 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 |
61f9766c4ba0c9cdbba1921372905c540527fe8f | 37 | py | Python | schwa/learning/__init__.py | SBST-DPG/schwa | d09660e4b5bb665114c35ebe291e5620e59f4c4c | [
"MIT"
] | 9 | 2015-05-21T10:13:27.000Z | 2020-11-06T22:21:03.000Z | schwa/learning/__init__.py | XiaoxueRenS/schwa | d09660e4b5bb665114c35ebe291e5620e59f4c4c | [
"MIT"
] | 5 | 2021-01-12T09:57:36.000Z | 2021-07-20T08:29:16.000Z | schwa/learning/__init__.py | XiaoxueRenS/schwa | d09660e4b5bb665114c35ebe291e5620e59f4c4c | [
"MIT"
] | 9 | 2015-05-14T09:31:15.000Z | 2021-02-07T02:53:17.000Z | from .feature_weight_learner import * | 37 | 37 | 0.864865 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1113fa6ab359f66cafeff3a079843324c3dccab2 | 128 | py | Python | m2data/__init__.py | Mindful/m2data | c1f6f978ed44d622bdcce30d6098131919d60a99 | [
"MIT"
] | null | null | null | m2data/__init__.py | Mindful/m2data | c1f6f978ed44d622bdcce30d6098131919d60a99 | [
"MIT"
] | null | null | null | m2data/__init__.py | Mindful/m2data | c1f6f978ed44d622bdcce30d6098131919d60a99 | [
"MIT"
] | null | null | null | from m2data.example import Example
from m2data.reader import Reader, M2ReaderException
from m2data.correction import Correction
| 32 | 51 | 0.867188 | 16 | 128 | 6.9375 | 0.4375 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.101563 | 128 | 3 | 52 | 42.666667 | 0.930435 | 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 |
1114af6cac7c9733214a6506f351cbb6c7f858f9 | 8,897 | py | Python | tests/legacy/functional/test_fill_pdf.py | DEVANATH45/PyPDFForm | 924954410e071f54763cdd5e2a5641ae0ab7341b | [
"MIT"
] | null | null | null | tests/legacy/functional/test_fill_pdf.py | DEVANATH45/PyPDFForm | 924954410e071f54763cdd5e2a5641ae0ab7341b | [
"MIT"
] | null | null | null | tests/legacy/functional/test_fill_pdf.py | DEVANATH45/PyPDFForm | 924954410e071f54763cdd5e2a5641ae0ab7341b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import pytest
from PyPDFForm.legacy import PyPDFForm
@pytest.fixture
def pdf_samples():
return os.path.join(os.path.dirname(__file__), "../..", "..", "pdf_samples")
@pytest.fixture
def template_stream(pdf_samples):
with open(os.path.join(pdf_samples, "sample_template.pdf... | 31 | 86 | 0.553333 | 1,140 | 8,897 | 4.051754 | 0.064912 | 0.048495 | 0.074691 | 0.068197 | 0.903226 | 0.88569 | 0.86837 | 0.852349 | 0.746698 | 0.714873 | 0 | 0.031333 | 0.322019 | 8,897 | 286 | 87 | 31.108392 | 0.734416 | 0.00236 | 0 | 0.645455 | 0 | 0 | 0.097927 | 0.027158 | 0 | 0 | 0 | 0 | 0.313636 | 1 | 0.05 | false | 0 | 0.013636 | 0.009091 | 0.077273 | 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 |
1125c81f8aa38672dc5328aacac9a6521635c09d | 98 | py | Python | src/starkware/contracts/upgrade/contracts.py | starkware-libs/starkgate-contracts | 28f4032b101003b2c6682d753ea61c86b732012c | [
"Apache-2.0"
] | 9 | 2022-01-27T20:20:06.000Z | 2022-03-29T12:05:57.000Z | src/starkware/contracts/upgrade/contracts.py | starkware-libs/starkgate-contracts | 28f4032b101003b2c6682d753ea61c86b732012c | [
"Apache-2.0"
] | 2 | 2022-02-16T17:05:56.000Z | 2022-02-16T17:06:54.000Z | src/starkware/contracts/upgrade/contracts.py | starkware-libs/starkgate-contracts | 28f4032b101003b2c6682d753ea61c86b732012c | [
"Apache-2.0"
] | 1 | 2022-02-03T13:39:44.000Z | 2022-02-03T13:39:44.000Z | from starkware.contracts.utils import load_nearby_contract
Proxy = load_nearby_contract("Proxy")
| 24.5 | 58 | 0.846939 | 13 | 98 | 6.076923 | 0.692308 | 0.253165 | 0.455696 | 0.582278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 3 | 59 | 32.666667 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0.05102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
11270ca53421685eba17b65e8b86c85abf352b66 | 41,382 | py | Python | accountant/core/tests/test_api/test_transfer_share.py | XeryusTC/18xx-accountant | 5dc70fb96042807ceaaadb51cea3108da4f40d85 | [
"MIT"
] | null | null | null | accountant/core/tests/test_api/test_transfer_share.py | XeryusTC/18xx-accountant | 5dc70fb96042807ceaaadb51cea3108da4f40d85 | [
"MIT"
] | 7 | 2017-03-29T18:52:44.000Z | 2017-09-05T19:06:29.000Z | accountant/core/tests/test_api/test_transfer_share.py | XeryusTC/18xx-accountant | 5dc70fb96042807ceaaadb51cea3108da4f40d85 | [
"MIT"
] | 1 | 2019-12-16T22:27:07.000Z | 2019-12-16T22:27:07.000Z | # -*- coding: utf-8 -*-
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APITestCase
from unittest import mock
from ... import factories
from ... import models
from ... import utils
from ... import views
class ShareTransactionTests(APITestCase):
def setUp(self):
... | 51.406211 | 79 | 0.665603 | 5,209 | 41,382 | 5.040507 | 0.040507 | 0.119973 | 0.109689 | 0.031536 | 0.927826 | 0.915334 | 0.900137 | 0.885855 | 0.868944 | 0.840265 | 0 | 0.013107 | 0.207216 | 41,382 | 804 | 80 | 51.470149 | 0.78721 | 0.003431 | 0 | 0.619178 | 0 | 0 | 0.117994 | 0 | 0 | 0 | 0 | 0 | 0.328767 | 1 | 0.090411 | false | 0 | 0.010959 | 0 | 0.106849 | 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 |
1139265496d05aa0db67800a45661c51ac57dd0b | 42 | py | Python | django_test/hmdb/tests.py | wolframowy/mgr | 9d61cef8d135e255f724f57ba55a0dc8c4269219 | [
"MIT"
] | null | null | null | django_test/hmdb/tests.py | wolframowy/mgr | 9d61cef8d135e255f724f57ba55a0dc8c4269219 | [
"MIT"
] | null | null | null | django_test/hmdb/tests.py | wolframowy/mgr | 9d61cef8d135e255f724f57ba55a0dc8c4269219 | [
"MIT"
] | null | null | null |
from .test_cases.test_reg_param import *
| 14 | 40 | 0.809524 | 7 | 42 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 2 | 41 | 21 | 0.837838 | 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 |
11473a722466231976f57d7188df7756a572e7cf | 37 | py | Python | src/lib/multiprocessing/dummy/__init__.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/multiprocessing/dummy/__init__.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/multiprocessing/dummy/__init__.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("dummy")
| 18.5 | 36 | 0.756757 | 6 | 37 | 3.833333 | 0.666667 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fedb99384fbff9e1d848fc89d557a8fc6f169901 | 2,684 | py | Python | tests/unittests/test_nlp_text_prediction.py | aaronkl/autogluon | 1ca52059003b1b5fc9f6b40db1c847f219728c9d | [
"Apache-2.0"
] | null | null | null | tests/unittests/test_nlp_text_prediction.py | aaronkl/autogluon | 1ca52059003b1b5fc9f6b40db1c847f219728c9d | [
"Apache-2.0"
] | null | null | null | tests/unittests/test_nlp_text_prediction.py | aaronkl/autogluon | 1ca52059003b1b5fc9f6b40db1c847f219728c9d | [
"Apache-2.0"
] | null | null | null | from autogluon import TextPrediction as task
from autogluon.utils.tabular.utils.loaders import load_pd
test_hyperparameters = {
'models': {
'BertForTextPredictionBasic': {
'search_space': {
'optimization.num_train_epochs': 1
}
}
}
}
... | 40.059701 | 85 | 0.598361 | 300 | 2,684 | 5.11 | 0.213333 | 0.077626 | 0.039139 | 0.054795 | 0.820613 | 0.800391 | 0.776908 | 0.776908 | 0.776908 | 0.776908 | 0 | 0.016273 | 0.290238 | 2,684 | 66 | 86 | 40.666667 | 0.788451 | 0 | 0 | 0.517241 | 0 | 0.068966 | 0.204173 | 0.028689 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0 | 0.034483 | 0 | 0.086207 | 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 |
fee67ce1d8c744cfee822102d70c16e27c580aba | 115 | py | Python | photo/admin.py | Firexd2/social-network | 8f7799aa54871843f55aed578e2c89a964c97ecc | [
"MIT"
] | 2 | 2018-12-28T19:21:55.000Z | 2019-05-15T14:37:12.000Z | photo/admin.py | Firexd2/social-network | 8f7799aa54871843f55aed578e2c89a964c97ecc | [
"MIT"
] | null | null | null | photo/admin.py | Firexd2/social-network | 8f7799aa54871843f55aed578e2c89a964c97ecc | [
"MIT"
] | 2 | 2019-10-16T08:01:04.000Z | 2021-07-13T06:02:15.000Z | from django.contrib import admin
from .models import *
admin.site.register(PhotoAlbum)
admin.site.register(Photo)
| 19.166667 | 32 | 0.808696 | 16 | 115 | 5.8125 | 0.625 | 0.236559 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 115 | 5 | 33 | 23 | 0.894231 | 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 |
3a15f34f55842b018a41442e8ded7a6ac3f8a230 | 10,364 | py | Python | tests/rest/flask_rest_test.py | estuaryoss/estuary-discovery | 9615a9d544670570f14f4c72ca20f57a0cd9bba4 | [
"Apache-2.0"
] | null | null | null | tests/rest/flask_rest_test.py | estuaryoss/estuary-discovery | 9615a9d544670570f14f4c72ca20f57a0cd9bba4 | [
"Apache-2.0"
] | null | null | null | tests/rest/flask_rest_test.py | estuaryoss/estuary-discovery | 9615a9d544670570f14f4c72ca20f57a0cd9bba4 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import os
import unittest
import requests
import yaml
from flask import json
from parameterized import parameterized
from requests_toolbelt.utils import dump
from rest.api.constants.api_constants import ApiCode
from rest.api.responsehelpers.error_codes import ErrorMessage
class FlaskServerTes... | 44.102128 | 128 | 0.66345 | 1,176 | 10,364 | 5.737245 | 0.135204 | 0.1245 | 0.081666 | 0.094561 | 0.798725 | 0.780643 | 0.759152 | 0.714392 | 0.689936 | 0.657774 | 0 | 0.010267 | 0.191818 | 10,364 | 234 | 129 | 44.290598 | 0.795248 | 0.022964 | 0 | 0.625 | 0 | 0 | 0.109377 | 0.002964 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.083333 | false | 0.088542 | 0.046875 | 0 | 0.161458 | 0.005208 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3a397320c90b23c1aa57d30d2d1a375c92b46ad9 | 118 | py | Python | tests/test_config.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 18 | 2015-04-07T14:28:39.000Z | 2020-02-08T14:03:38.000Z | tests/test_config.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 7 | 2016-10-05T05:14:06.000Z | 2021-05-20T02:07:22.000Z | tests/test_config.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 11 | 2015-12-15T09:49:39.000Z | 2021-09-06T18:38:21.000Z | # -*- coding: utf-8 -*-
from . import utils
def config():
utils.expecting_text('get', '/config', 'done', 200)
| 13.111111 | 55 | 0.584746 | 15 | 118 | 4.533333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0.194915 | 118 | 8 | 56 | 14.75 | 0.673684 | 0.177966 | 0 | 0 | 0 | 0 | 0.147368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3a3ab4d22dbc98df3fb8cc1d3186e6a76203c043 | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/core/_vendor/jsonschema/benchmarks/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/core/_vendor/jsonschema/benchmarks/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/core/_vendor/jsonschema/benchmarks/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/93/5f/a5/fde3953587e3a754621a72bcb164071fcb494bc83da52c33d0c0dfc572 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
28abce2654cf400596114bc6d4ba69154424d50e | 198 | py | Python | src/djask/admin/__init__.py | z-t-y/Djask | d9867b3b91e2c50a07c701b4e2ef51a0c583c82c | [
"MIT"
] | 19 | 2021-11-10T07:26:56.000Z | 2022-02-07T08:45:48.000Z | src/djask/admin/__init__.py | z-t-y/Djask | d9867b3b91e2c50a07c701b4e2ef51a0c583c82c | [
"MIT"
] | 2 | 2021-11-10T07:25:19.000Z | 2021-11-30T14:23:53.000Z | src/djask/admin/__init__.py | z-t-y/Djask | d9867b3b91e2c50a07c701b4e2ef51a0c583c82c | [
"MIT"
] | 1 | 2021-11-10T13:06:57.000Z | 2021-11-10T13:06:57.000Z | from .ext import Admin
from .ui.decorators import admin_required
from .api.decorators import admin_required_api
from . import cli
__all__ = ["Admin", "admin_required", "admin_required_api", "cli"]
| 28.285714 | 66 | 0.782828 | 28 | 198 | 5.178571 | 0.357143 | 0.358621 | 0.289655 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116162 | 198 | 6 | 67 | 33 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e9192ec10904da727a3581309af63ce9bca76c67 | 48 | py | Python | tests/__init__.py | Harut/chakert | b06db748d1e316f3c433b08cee46725b0a45f17e | [
"MIT"
] | 34 | 2015-01-19T14:40:00.000Z | 2021-12-04T06:38:52.000Z | tests/__init__.py | SmartTeleMax/chakert | f385cf5652fbb3aec3f8a27e55681669483d02b3 | [
"MIT"
] | 6 | 2016-07-16T18:09:48.000Z | 2016-07-20T15:57:37.000Z | tests/__init__.py | Harut/chakert | b06db748d1e316f3c433b08cee46725b0a45f17e | [
"MIT"
] | 5 | 2015-01-22T08:23:34.000Z | 2017-09-15T15:47:36.000Z | from .ru import RuTests
from .en import EnTests
| 16 | 23 | 0.791667 | 8 | 48 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3a5e27850f440fba136be83080bf8dc88b5bd36e | 116 | py | Python | src/kaa/nodes.py | mmicek/kaa | 3583edf19b0e453c7de6c316a08d9eda72a1fcfc | [
"MIT"
] | 17 | 2019-07-10T12:24:53.000Z | 2022-02-19T21:39:19.000Z | src/kaa/nodes.py | mmicek/kaa | 3583edf19b0e453c7de6c316a08d9eda72a1fcfc | [
"MIT"
] | 29 | 2019-07-10T12:30:58.000Z | 2021-12-30T15:33:44.000Z | src/kaa/nodes.py | mmicek/kaa | 3583edf19b0e453c7de6c316a08d9eda72a1fcfc | [
"MIT"
] | 8 | 2019-03-26T23:08:40.000Z | 2022-01-10T03:39:59.000Z | from ._kaa import Node, SpaceNode, BodyNode, HitboxNode
__all__ = ('Node', 'SpaceNode', 'BodyNode', 'HitboxNode')
| 23.2 | 57 | 0.715517 | 12 | 116 | 6.5 | 0.666667 | 0.333333 | 0.538462 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12931 | 116 | 4 | 58 | 29 | 0.772277 | 0 | 0 | 0 | 0 | 0 | 0.267241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3adfe345d5e8c327c7d34081e8da79fc55dd5bb6 | 255 | py | Python | python_runtime/exonum_runtime/runtime/runtime_schema.py | alekseysidorov/exonum-python-backend | fae38042acba4c7fd9ca05f6afa1e9bec54dd86d | [
"Apache-2.0"
] | 2 | 2019-10-06T17:23:08.000Z | 2019-10-07T09:35:59.000Z | python_runtime/exonum_runtime/runtime/runtime_schema.py | alekseysidorov/exonum-python-backend | fae38042acba4c7fd9ca05f6afa1e9bec54dd86d | [
"Apache-2.0"
] | null | null | null | python_runtime/exonum_runtime/runtime/runtime_schema.py | alekseysidorov/exonum-python-backend | fae38042acba4c7fd9ca05f6afa1e9bec54dd86d | [
"Apache-2.0"
] | 1 | 2020-01-18T09:29:30.000Z | 2020-01-18T09:29:30.000Z | """Python runtime schema"""
from exonum_runtime.merkledb.schema import Schema
# from exonum_runtime.merkledb.indices import ProofMapIndex
class PythonRuntimeSchema(Schema):
"""Python runtime schema implementation"""
# services: ProofMapIndex
| 21.25 | 59 | 0.780392 | 26 | 255 | 7.576923 | 0.5 | 0.13198 | 0.192893 | 0.233503 | 0.314721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 255 | 11 | 60 | 23.181818 | 0.891403 | 0.552941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c90a2a61b5c4378f5da716f1fd04f0ba56655c19 | 29 | py | Python | mp3downloader/__init__.py | Kerono4ka/MP3downloader | 68cd0412e2ee7c3a5f27dab89bd7b7014c1d5f39 | [
"MIT"
] | 1 | 2018-04-03T18:31:10.000Z | 2018-04-03T18:31:10.000Z | mp3downloader/__init__.py | Kerono4ka/MP3downloader | 68cd0412e2ee7c3a5f27dab89bd7b7014c1d5f39 | [
"MIT"
] | 2 | 2021-03-31T18:44:49.000Z | 2021-06-01T22:06:24.000Z | mp3downloader/__init__.py | Kerono4ka/MP3downloader | 68cd0412e2ee7c3a5f27dab89bd7b7014c1d5f39 | [
"MIT"
] | 1 | 2018-04-01T20:08:12.000Z | 2018-04-01T20:08:12.000Z | from .mp3downloader import *
| 14.5 | 28 | 0.793103 | 3 | 29 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
a30bf8589e93b0d0b1624f003945ab4fa50c08ec | 190 | py | Python | s3utils.py | rayhu-osu/vcube | ff1af048adb8a9f1007368150a78b309b4d821af | [
"MIT"
] | 1 | 2019-02-20T18:47:04.000Z | 2019-02-20T18:47:04.000Z | s3utils.py | rayhu-osu/vcube | ff1af048adb8a9f1007368150a78b309b4d821af | [
"MIT"
] | null | null | null | s3utils.py | rayhu-osu/vcube | ff1af048adb8a9f1007368150a78b309b4d821af | [
"MIT"
] | null | null | null | from storages.backends.s3boto3 import S3Boto3Storage
StaticRootS3Boto3Storage = lambda: S3Boto3Storage(location='static')
MediaRootS3Boto3Storage = lambda: S3Boto3Storage(location='media') | 47.5 | 68 | 0.847368 | 16 | 190 | 10.0625 | 0.75 | 0.248447 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.068421 | 190 | 4 | 69 | 47.5 | 0.841808 | 0 | 0 | 0 | 0 | 0 | 0.057592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a36f9029c0b96ca836a186e5c06e793047fccbdf | 211 | py | Python | src/CanvasBackend/board_exceptions.py | HenryBlairG/CanvasClient | 945fc4d45bd103f10e7a9b95d2947e8a1214818c | [
"MIT"
] | 2 | 2020-05-05T22:53:07.000Z | 2020-09-04T20:58:18.000Z | src/CanvasBackend/board_exceptions.py | HenryBlairG/CanvasClient | 945fc4d45bd103f10e7a9b95d2947e8a1214818c | [
"MIT"
] | null | null | null | src/CanvasBackend/board_exceptions.py | HenryBlairG/CanvasClient | 945fc4d45bd103f10e7a9b95d2947e8a1214818c | [
"MIT"
] | null | null | null | class NoTokenError(Exception):
def __init__(self, *a, **kw):
super().__init__(*a, **kw)
class GetContentError(Exception):
def __init__(self, *a, **kw):
super().__init__(*a, **kw)
| 19.181818 | 34 | 0.582938 | 24 | 211 | 4.458333 | 0.416667 | 0.11215 | 0.299065 | 0.373832 | 0.654206 | 0.654206 | 0.654206 | 0.654206 | 0.654206 | 0.654206 | 0 | 0 | 0.227488 | 211 | 10 | 35 | 21.1 | 0.656442 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6e7381b9eb7044ef58c2154632117026b73c1480 | 116 | py | Python | saml2idp/tests/__init__.py | anentropic/django-saml2-idp | a2810de839b26cf740a7b1ad3e00658498ce4d22 | [
"MIT"
] | null | null | null | saml2idp/tests/__init__.py | anentropic/django-saml2-idp | a2810de839b26cf740a7b1ad3e00658498ce4d22 | [
"MIT"
] | 1 | 2016-11-09T13:32:44.000Z | 2019-01-31T19:06:05.000Z | saml2idp/tests/__init__.py | anentropic/django-saml2-idp | a2810de839b26cf740a7b1ad3e00658498ce4d22 | [
"MIT"
] | null | null | null | from deeplink import *
from google_apps import *
from salesforce import *
from signing import *
from views import *
| 19.333333 | 25 | 0.784483 | 16 | 116 | 5.625 | 0.5 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 116 | 5 | 26 | 23.2 | 0.9375 | 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 |
6edac5d0aa32274e43ec77cb8e5f185420a4cde6 | 104 | py | Python | vedastr/models/bodies/feature_extractors/decoders/__init__.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 475 | 2020-03-17T01:46:32.000Z | 2022-03-29T23:30:15.000Z | vedastr/models/bodies/feature_extractors/decoders/__init__.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 71 | 2020-04-01T04:17:47.000Z | 2021-11-18T06:55:14.000Z | vedastr/models/bodies/feature_extractors/decoders/__init__.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 108 | 2020-02-21T10:30:37.000Z | 2022-03-21T12:03:30.000Z | from .gfpn import GFPN
from .bricks import build_brick, build_bricks
from .builder import build_decoder
| 26 | 45 | 0.836538 | 16 | 104 | 5.25 | 0.5 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 3 | 46 | 34.666667 | 0.923077 | 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 |
42f61eb63ac1edbe50b04476ccef8fb39e8b3fe7 | 159 | py | Python | python/8kyu/quarter_of_the_year.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/8kyu/quarter_of_the_year.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/8kyu/quarter_of_the_year.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | """Kata url: https://www.codewars.com/kata/5ce9c1000bab0b001134f5af."""
from math import ceil
def quarter_of(month: int) -> int:
return ceil(month / 3)
| 19.875 | 71 | 0.704403 | 22 | 159 | 5.045455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110294 | 0.144654 | 159 | 7 | 72 | 22.714286 | 0.705882 | 0.408805 | 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 |
2807ec420367ab2b2758fc8631f84b4b4ec096be | 17,027 | py | Python | jsparagus/parse_pgen_generated.py | est31/jsparagus | 90a413065857840ea439c1dbf68e89b9f5e8f1bc | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | jsparagus/parse_pgen_generated.py | est31/jsparagus | 90a413065857840ea439c1dbf68e89b9f5e8f1bc | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | jsparagus/parse_pgen_generated.py | est31/jsparagus | 90a413065857840ea439c1dbf68e89b9f5e8f1bc | [
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | # type: ignore
from jsparagus import runtime
from jsparagus.runtime import (Nt, InitNt, End, ErrorToken, StateTermValue,
ShiftError, ShiftAccept)
def state_43_actions(parser, lexer):
value = None
value = parser.stack[-1].value
replay = [StateTermValue(0, Nt(InitNt(goal=Nt('... | 22.947439 | 193 | 0.595995 | 2,355 | 17,027 | 4.185138 | 0.062845 | 0.107143 | 0.094968 | 0.125 | 0.811485 | 0.797078 | 0.7917 | 0.7917 | 0.746144 | 0.706676 | 0 | 0.064587 | 0.227991 | 17,027 | 741 | 194 | 22.978408 | 0.685204 | 0.018911 | 0 | 0.541766 | 0 | 0 | 0.065877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159905 | false | 0 | 0.004773 | 0.069212 | 0.326969 | 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 |
285f6235574681a07951403c29bcda0653c3ac05 | 212 | py | Python | blog/django_blog/tools/views.py | bmaelum/django_public | dff3e9ab409c5815ac4b303ef73b02390afae722 | [
"MIT"
] | null | null | null | blog/django_blog/tools/views.py | bmaelum/django_public | dff3e9ab409c5815ac4b303ef73b02390afae722 | [
"MIT"
] | 8 | 2019-10-21T19:51:56.000Z | 2022-03-11T23:50:09.000Z | blog/django_blog/tools/views.py | bmaelum/django_public | dff3e9ab409c5815ac4b303ef73b02390afae722 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def tools_list(request):
#return HttpResponse('tools')
return render(request, 'tools/tools_list.html')
| 23.555556 | 51 | 0.768868 | 28 | 212 | 5.75 | 0.607143 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 212 | 8 | 52 | 26.5 | 0.884615 | 0.240566 | 0 | 0 | 0 | 0 | 0.132911 | 0.132911 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2876c0ce5a2cae9977674c7f788d14ee18e15c9b | 39 | py | Python | footprint_airflow/dags/utils/__init__.py | footprint-network/footprint-analytics | 5de4932ce1c21860785edcce90ffdf097b6f9921 | [
"MIT"
] | null | null | null | footprint_airflow/dags/utils/__init__.py | footprint-network/footprint-analytics | 5de4932ce1c21860785edcce90ffdf097b6f9921 | [
"MIT"
] | null | null | null | footprint_airflow/dags/utils/__init__.py | footprint-network/footprint-analytics | 5de4932ce1c21860785edcce90ffdf097b6f9921 | [
"MIT"
] | 1 | 2021-09-20T22:31:20.000Z | 2021-09-20T22:31:20.000Z | from utils import constant as Constant
| 19.5 | 38 | 0.846154 | 6 | 39 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 1 | 39 | 39 | 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 |
953f4acc27d82209af8e220dc492e0b57c9a95ac | 20 | py | Python | fpl/__init__.py | david-macleod/fpl | 9bdf1c7e1c3333fcf7d0d7cf5e08551bb64f030d | [
"MIT"
] | null | null | null | fpl/__init__.py | david-macleod/fpl | 9bdf1c7e1c3333fcf7d0d7cf5e08551bb64f030d | [
"MIT"
] | null | null | null | fpl/__init__.py | david-macleod/fpl | 9bdf1c7e1c3333fcf7d0d7cf5e08551bb64f030d | [
"MIT"
] | null | null | null | from .fpl import FPL | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 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 |
953fa1588f8360ecde679c3eef714a2abb1316a0 | 288 | py | Python | fugue/workflow/__init__.py | kvnkho/fugue | 5f3fe8f1fb72632e5b5987d720c1d1ef546e4682 | [
"Apache-2.0"
] | 547 | 2020-09-22T08:30:14.000Z | 2022-03-30T23:11:05.000Z | fugue/workflow/__init__.py | kvnkho/fugue | 5f3fe8f1fb72632e5b5987d720c1d1ef546e4682 | [
"Apache-2.0"
] | 196 | 2020-09-22T23:08:26.000Z | 2022-03-26T21:22:48.000Z | fugue/workflow/__init__.py | kvnkho/fugue | 5f3fe8f1fb72632e5b5987d720c1d1ef546e4682 | [
"Apache-2.0"
] | 37 | 2020-09-23T17:05:00.000Z | 2022-03-29T18:26:52.000Z | # flake8: noqa
from fugue.workflow._workflow_context import FugueWorkflowContext
from fugue.workflow.module import module
from fugue.workflow.utils import register_raw_df_type, is_acceptable_raw_df
from fugue.workflow.workflow import FugueWorkflow, WorkflowDataFrame, WorkflowDataFrames
| 41.142857 | 88 | 0.875 | 36 | 288 | 6.777778 | 0.527778 | 0.147541 | 0.278689 | 0.204918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003774 | 0.079861 | 288 | 6 | 89 | 48 | 0.916981 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
954936fd1b0c1ca11feec15fa61204c80b0e2305 | 131 | py | Python | posts/admin.py | robotgear/robotgear | 15361aef197071e6cf23fca0e574fddeef97152c | [
"MIT"
] | null | null | null | posts/admin.py | robotgear/robotgear | 15361aef197071e6cf23fca0e574fddeef97152c | [
"MIT"
] | 13 | 2020-03-15T03:44:47.000Z | 2022-03-11T23:48:01.000Z | posts/admin.py | robotgear/robotgear | 15361aef197071e6cf23fca0e574fddeef97152c | [
"MIT"
] | null | null | null | from django.contrib import admin
from posts.models import Post
@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
pass
| 16.375 | 34 | 0.78626 | 18 | 131 | 5.722222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 7 | 35 | 18.714286 | 0.911504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
95870be9e7dbdb4f9e5d4c2f12d23f73b7fede98 | 6,331 | py | Python | rdfframes/test_queries/test_join.py | qcri/RDFframe | 2a50105479051c134cc5eddc9e20d55b755ef765 | [
"MIT"
] | 13 | 2019-07-06T00:10:11.000Z | 2022-02-20T02:14:16.000Z | rdfframes/test_queries/test_join.py | qcri/RDFrame | 2a50105479051c134cc5eddc9e20d55b755ef765 | [
"MIT"
] | 1 | 2019-05-20T08:51:42.000Z | 2019-05-20T08:51:42.000Z | rdfframes/test_queries/test_join.py | qcri/RDFframe | 2a50105479051c134cc5eddc9e20d55b755ef765 | [
"MIT"
] | 3 | 2020-04-17T10:50:37.000Z | 2022-03-23T01:30:16.000Z | from time import time
from rdfframes.knowledge_graph import KnowledgeGraph
from rdfframes.client.http_client import HttpClientDataFormat, HttpClient
from rdfframes.client.sparql_endpoint_client import SPARQLEndpointClient
from rdfframes.utils.constants import JoinType
__author__ = "Ghadeer"
endpoint = 'http://10.161.... | 36.595376 | 104 | 0.743642 | 793 | 6,331 | 5.775536 | 0.12232 | 0.027948 | 0.059389 | 0.076856 | 0.818996 | 0.81441 | 0.805022 | 0.79738 | 0.79738 | 0.79738 | 0 | 0.005518 | 0.11262 | 6,331 | 172 | 105 | 36.80814 | 0.809719 | 0.080082 | 0 | 0.536364 | 0 | 0 | 0.316711 | 0.027586 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036364 | false | 0 | 0.045455 | 0 | 0.081818 | 0.181818 | 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 |
95a2c6545c4a96fa0bc95597b609537b3892dcd2 | 222 | py | Python | yadlt/core/__init__.py | akmeraki/deep-learning- | ddeb1f2848da7b7bee166ad2152b4afc46bb2086 | [
"MIT"
] | 1,093 | 2016-03-07T23:32:27.000Z | 2019-09-19T12:40:30.000Z | Deep-Learning-TensorFlow/yadlt/core/__init__.py | zhwhong/awesome-deep-learning | ba4302a8d65ac8b63627bcfa8e3b23871fa2c390 | [
"CC0-1.0"
] | 68 | 2016-03-18T15:44:15.000Z | 2019-05-13T03:04:21.000Z | Deep-Learning-TensorFlow/yadlt/core/__init__.py | zhwhong/awesome-deep-learning | ba4302a8d65ac8b63627bcfa8e3b23871fa2c390 | [
"CC0-1.0"
] | 459 | 2016-03-18T05:49:01.000Z | 2019-09-13T14:14:11.000Z | """Yadlt core package."""
from __future__ import absolute_import
from .config import *
from .layers import *
from .trainers import *
from .model import *
from .supervised_model import *
from .unsupervised_model import *
| 20.181818 | 38 | 0.765766 | 28 | 222 | 5.821429 | 0.464286 | 0.368098 | 0.184049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 222 | 10 | 39 | 22.2 | 0.862434 | 0.085586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
95e55ffadb7ee85ce16d1d74e622208eb342f948 | 15,939 | py | Python | contrib/FetchIoT/resources-Registration-CT.py | Ramzi04/aiocoap | 8c5a10513ca4fb8000c476eab6c9831f9de1e4ed | [
"MIT"
] | null | null | null | contrib/FetchIoT/resources-Registration-CT.py | Ramzi04/aiocoap | 8c5a10513ca4fb8000c476eab6c9831f9de1e4ed | [
"MIT"
] | null | null | null | contrib/FetchIoT/resources-Registration-CT.py | Ramzi04/aiocoap | 8c5a10513ca4fb8000c476eab6c9831f9de1e4ed | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import logging
import asyncio
from random import randint
from aiocoap import *
# </10359/0/50>;rt="ipso.act.lck";if="core.a";ct=40'
# POST, payload=payload, uri="coap://localhost/resourcedirectory/?ep=sl1&d=bldg1.fl2.off3")
logging.basicConfig(level=logging.DEBUG)
async def main():
####... | 71.475336 | 874 | 0.547023 | 2,055 | 15,939 | 4.209246 | 0.098783 | 0.081387 | 0.072832 | 0.076647 | 0.889249 | 0.861272 | 0.855607 | 0.845549 | 0.777225 | 0.746012 | 0 | 0.071966 | 0.258109 | 15,939 | 222 | 875 | 71.797297 | 0.659535 | 0.045925 | 0 | 0.693252 | 0 | 0.171779 | 0.279296 | 0.256049 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02454 | 0 | 0.02454 | 0.092025 | 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 |
2504f0d0d9eb55329413b22e1cd96d93c0af69cf | 66 | py | Python | iiif_prezi3/base.py | rbturnbull/iiif-prezi3 | 0e66bc41438772c75e064c20964ed01aff1f3709 | [
"Apache-2.0"
] | null | null | null | iiif_prezi3/base.py | rbturnbull/iiif-prezi3 | 0e66bc41438772c75e064c20964ed01aff1f3709 | [
"Apache-2.0"
] | null | null | null | iiif_prezi3/base.py | rbturnbull/iiif-prezi3 | 0e66bc41438772c75e064c20964ed01aff1f3709 | [
"Apache-2.0"
] | null | null | null | from pydantic import BaseModel
class Base(BaseModel):
pass
| 9.428571 | 30 | 0.742424 | 8 | 66 | 6.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 66 | 6 | 31 | 11 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2564e5b943dc0ff92de2ca0df38b229fad92fa19 | 45 | py | Python | templatext/__init__.py | jaimeteb/templatext | eb484f33a7fd330115b0d2b458f8d4b5840775c4 | [
"MIT"
] | null | null | null | templatext/__init__.py | jaimeteb/templatext | eb484f33a7fd330115b0d2b458f8d4b5840775c4 | [
"MIT"
] | null | null | null | templatext/__init__.py | jaimeteb/templatext | eb484f33a7fd330115b0d2b458f8d4b5840775c4 | [
"MIT"
] | null | null | null | from templatext.templatext import Templatext
| 22.5 | 44 | 0.888889 | 5 | 45 | 8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c2d0318877ef33d5bbfe4ed165f625346369bb7a | 158 | py | Python | tests/expectations/econ-gender-x-ideology-weighted-row-prop-moe.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 3 | 2021-01-22T20:42:31.000Z | 2021-06-02T17:53:19.000Z | tests/expectations/econ-gender-x-ideology-weighted-row-prop-moe.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 331 | 2017-11-13T22:41:56.000Z | 2021-12-02T21:59:43.000Z | tests/expectations/econ-gender-x-ideology-weighted-row-prop-moe.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 1 | 2021-02-19T02:49:00.000Z | 2021-02-19T02:49:00.000Z | [
[0.02175933, 0.03332428, 0.04187784, 0.03716728, 0.0308031, 0.01415677],
[0.02346025, 0.03427124, 0.04290557, 0.0354381, 0.02346025, 0.01953654],
]
| 31.6 | 76 | 0.670886 | 24 | 158 | 4.416667 | 0.5 | 0.169811 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.779412 | 0.139241 | 158 | 4 | 77 | 39.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c2d7625d3339fc61d7e51d0738618b0f8eca5c73 | 441 | py | Python | release/scripts/presets/cloth/rubber.py | wycivil08/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 30 | 2015-01-29T14:06:05.000Z | 2022-01-10T07:47:29.000Z | release/scripts/presets/cloth/rubber.py | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 1 | 2017-02-20T20:57:48.000Z | 2018-12-19T23:44:38.000Z | release/scripts/presets/cloth/rubber.py | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 15 | 2015-04-23T02:38:36.000Z | 2021-03-01T20:09:39.000Z | import bpy
bpy.context.active_object.modifiers['Cloth'].settings.quality = 7
bpy.context.active_object.modifiers['Cloth'].settings.mass = 3
bpy.context.active_object.modifiers['Cloth'].settings.structural_stiffness = 15
bpy.context.active_object.modifiers['Cloth'].settings.bending_stiffness = 25
bpy.context.active_obje... | 55.125 | 79 | 0.818594 | 60 | 441 | 5.85 | 0.35 | 0.17094 | 0.273504 | 0.376068 | 0.763533 | 0.763533 | 0.763533 | 0.262108 | 0 | 0 | 0 | 0.021378 | 0.045351 | 441 | 7 | 80 | 63 | 0.812352 | 0 | 0 | 0 | 0 | 0 | 0.068027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c2c14c30f0edc56988c1ec3234e0ca4ff59ba32 | 3,299 | py | Python | tests/contracts/KT1T6CDRQLRiFU5dszBZWWQwQc8aCbfwX3Mg/test_michelson_coding_KT1T6C.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2021-05-20T16:52:08.000Z | 2021-05-20T16:52:08.000Z | tests/contracts/KT1T6CDRQLRiFU5dszBZWWQwQc8aCbfwX3Mg/test_michelson_coding_KT1T6C.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-12-30T16:44:56.000Z | 2020-12-30T16:44:56.000Z | tests/contracts/KT1T6CDRQLRiFU5dszBZWWQwQc8aCbfwX3Mg/test_michelson_coding_KT1T6C.py | tqtezos/pytezos | a4ac0b022d35d4c9f3062609d8ce09d584b5faa8 | [
"MIT"
] | 1 | 2022-03-20T19:01:00.000Z | 2022-03-20T19:01:00.000Z | from unittest import TestCase
from tests import get_data
from pytezos.michelson.micheline import michelson_to_micheline
from pytezos.michelson.formatter import micheline_to_michelson
class MichelsonCodingTestKT1T6C(TestCase):
def setUp(self):
self.maxDiff = None
def test_michelson_parse_code_KT... | 43.986667 | 90 | 0.735071 | 316 | 3,299 | 7.373418 | 0.120253 | 0.048069 | 0.070815 | 0.128755 | 0.895279 | 0.895279 | 0.895279 | 0.895279 | 0.872961 | 0.850215 | 0 | 0.040855 | 0.19127 | 3,299 | 74 | 91 | 44.581081 | 0.832459 | 0 | 0 | 0.590164 | 0 | 0 | 0.294938 | 0.294938 | 0 | 0 | 0 | 0 | 0.147541 | 1 | 0.163934 | false | 0 | 0.065574 | 0 | 0.245902 | 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 |
6c3ed50642e57dcc9dc4711952b0ce7dce6e7745 | 241 | py | Python | cgi-bin/specialCharacter.py | fanuware/pybrowser | 910cebaee45524248c18d86605ba9e7f1b862c47 | [
"MIT"
] | null | null | null | cgi-bin/specialCharacter.py | fanuware/pybrowser | 910cebaee45524248c18d86605ba9e7f1b862c47 | [
"MIT"
] | null | null | null | cgi-bin/specialCharacter.py | fanuware/pybrowser | 910cebaee45524248c18d86605ba9e7f1b862c47 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
def printTextarea(textcontent):
import sys, codecs
#sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach())
print('<textarea id="textcontent" name="textcontent" form="usrform">'+textcontent+'</textarea>')
| 34.428571 | 100 | 0.701245 | 28 | 241 | 6.035714 | 0.714286 | 0.106509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009302 | 0.107884 | 241 | 6 | 101 | 40.166667 | 0.776744 | 0.315353 | 0 | 0 | 0 | 0 | 0.441718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 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 | 0 | 1 | 1 | 0 | 6 |
6c5a4c0745ea57884ef62f5181ff1a3a2b8c6e9c | 18,966 | py | Python | source/lib/cloudformation.py | pankajagrawal16/aws-control-tower-customizations | e4752bf19a1c8f0a597195982d63a1a2c2dd799a | [
"Apache-2.0"
] | 1 | 2020-02-11T16:34:09.000Z | 2020-02-11T16:34:09.000Z | source/lib/cloudformation.py | pankajagrawal16/aws-control-tower-customizations | e4752bf19a1c8f0a597195982d63a1a2c2dd799a | [
"Apache-2.0"
] | null | null | null | source/lib/cloudformation.py | pankajagrawal16/aws-control-tower-customizations | e4752bf19a1c8f0a597195982d63a1a2c2dd799a | [
"Apache-2.0"
] | null | null | null | ######################################################################################################################
# Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with ... | 45.922518 | 124 | 0.548508 | 1,741 | 18,966 | 5.689833 | 0.12579 | 0.026651 | 0.025439 | 0.034323 | 0.836967 | 0.814658 | 0.787805 | 0.778619 | 0.747527 | 0.736826 | 0 | 0.007687 | 0.341506 | 18,966 | 412 | 125 | 46.033981 | 0.785491 | 0.033639 | 0 | 0.69341 | 0 | 0 | 0.121364 | 0.044368 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057307 | false | 0.002865 | 0.014327 | 0 | 0.143266 | 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 |
6c6354530eeb62dfaf174c832efdbc8c6332aa8f | 17,640 | py | Python | open_words/format_data.py | MT-GoCode/whitaker_microservice | a8bd81ed750294149235bf5d7814f52a52b1855a | [
"MIT"
] | 27 | 2018-01-10T10:57:54.000Z | 2022-03-12T15:51:32.000Z | open_words/format_data.py | MT-GoCode/whitaker_microservice | a8bd81ed750294149235bf5d7814f52a52b1855a | [
"MIT"
] | 9 | 2017-11-12T17:07:27.000Z | 2020-07-27T14:19:32.000Z | open_words/format_data.py | MT-GoCode/whitaker_microservice | a8bd81ed750294149235bf5d7814f52a52b1855a | [
"MIT"
] | 7 | 2018-04-27T19:32:40.000Z | 2020-10-26T18:27:44.000Z | """
format_data.py
Format the data from the input files from Whitaker's Words
"""
import json
def import_dicts():
data = []
with open('data/DICTLINE.GEN', encoding="ISO-8859-1") as f:
for i, line in enumerate( f ):
orth = line[0:19].replace("zzz", "-").strip()
parts = [orth]
if len( line[19:38].stri... | 21.151079 | 74 | 0.471542 | 2,447 | 17,640 | 3.343277 | 0.106661 | 0.037282 | 0.055739 | 0.092409 | 0.797091 | 0.755653 | 0.731818 | 0.72375 | 0.715316 | 0.715316 | 0 | 0.09193 | 0.318594 | 17,640 | 833 | 75 | 21.176471 | 0.588686 | 0.034524 | 0 | 0.783439 | 0 | 0 | 0.09183 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011147 | false | 0.004777 | 0.011147 | 0 | 0.033439 | 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 |
665f387e8e69293feb81d7b9ad74e49c4a4cb0ef | 79 | py | Python | pyexamples/__init__.py | carhartt21/PlotNeuralNet | 09f820e771d0640e418ceebb292efee09422b7d2 | [
"MIT"
] | 1 | 2020-01-24T09:53:43.000Z | 2020-01-24T09:53:43.000Z | pyexamples/__init__.py | carhartt21/PlotNeuralNet | 09f820e771d0640e418ceebb292efee09422b7d2 | [
"MIT"
] | null | null | null | pyexamples/__init__.py | carhartt21/PlotNeuralNet | 09f820e771d0640e418ceebb292efee09422b7d2 | [
"MIT"
] | null | null | null | import pyexamples.yolo_5l
import pyexamples.HRNet
import pyexamples.outside30k
| 19.75 | 28 | 0.886076 | 10 | 79 | 6.9 | 0.6 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.075949 | 79 | 3 | 29 | 26.333333 | 0.90411 | 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 |
666ed2e8d6e72b48017b75625a5c68ac1a04cc21 | 5,844 | py | Python | Functions/GlobCover_Converter.py | HesamZamanpour/wapor | 553981e78164e7fd326be5f65a46bdd1dc80288a | [
"Apache-2.0"
] | 1 | 2021-05-24T08:12:03.000Z | 2021-05-24T08:12:03.000Z | Functions/GlobCover_Converter.py | HesamZamanpour/wapor | 553981e78164e7fd326be5f65a46bdd1dc80288a | [
"Apache-2.0"
] | 2 | 2020-06-25T08:27:55.000Z | 2020-08-28T07:38:17.000Z | Functions/GlobCover_Converter.py | HesamZamanpour/wapor | 553981e78164e7fd326be5f65a46bdd1dc80288a | [
"Apache-2.0"
] | 4 | 2020-09-23T09:51:59.000Z | 2021-08-10T08:59:14.000Z | # -*- coding: utf-8 -*-
"""
WaterSat
author: Tim Martijn Hessels
Created on Tue Feb 26 08:17:10 2019
"""
def Globcover_LM(version = '1.0'):
ETlook_LM = {
11: 1, #Post-flooding or irrigated croplands (or aquatic)
14: 1, #Rainfed croplands
20: 1, #Mosaic cropland (50-70%) / vegetation (grassland/sh... | 54.111111 | 143 | 0.662902 | 814 | 5,844 | 4.748157 | 0.144963 | 0.037257 | 0.055886 | 0.065201 | 0.858473 | 0.853816 | 0.826391 | 0.786287 | 0.73273 | 0.657439 | 0 | 0.118861 | 0.212526 | 5,844 | 107 | 144 | 54.616822 | 0.719035 | 0.712868 | 0 | 0.057471 | 0 | 0 | 0.011264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0 | 0 | 0.068966 | 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 |
66b3d5eb8907aa62709c2943aea4ed24bf5af187 | 23 | py | Python | ImageNet/models/__init__.py | wd-doylle/NeuronClustering | 910bae6a9c7c445dc0428b2102e9f2ecbdbad6f0 | [
"BSD-3-Clause"
] | 40 | 2018-03-15T02:49:08.000Z | 2021-12-20T14:01:14.000Z | ImageNet/models/__init__.py | wd-doylle/NeuronClustering | 910bae6a9c7c445dc0428b2102e9f2ecbdbad6f0 | [
"BSD-3-Clause"
] | 2 | 2018-05-10T05:15:04.000Z | 2018-11-06T12:41:04.000Z | ImageNet/models/__init__.py | wd-doylle/NeuronClustering | 910bae6a9c7c445dc0428b2102e9f2ecbdbad6f0 | [
"BSD-3-Clause"
] | 17 | 2018-03-14T21:24:01.000Z | 2021-07-04T00:27:21.000Z | from .AlexNet import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
66da2e0626d5f662c9930eb9bbf2ecef6210b7c7 | 96 | py | Python | timeandmoneypy/time/time_interval.py | ilyaGotfryd/timeandmoneypy | e357e8d7df77c6414ad1e533d03274b156fdd282 | [
"MIT"
] | null | null | null | timeandmoneypy/time/time_interval.py | ilyaGotfryd/timeandmoneypy | e357e8d7df77c6414ad1e533d03274b156fdd282 | [
"MIT"
] | null | null | null | timeandmoneypy/time/time_interval.py | ilyaGotfryd/timeandmoneypy | e357e8d7df77c6414ad1e533d03274b156fdd282 | [
"MIT"
] | null | null | null | from timeandmoneypy.intervals.interval import Interval
class TimeInterval(Interval):
pass
| 16 | 54 | 0.8125 | 10 | 96 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 5 | 55 | 19.2 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
dd0649eb31b2d800da0a8206605673cb72d0d37a | 86 | py | Python | MIT_CourseWare/computationalThinkingAndDataScience/clustering/testCluster.py | sum-coderepo/HadoopApp | 0e8d48c5d541b5935c9054fb1335d829d67d7b59 | [
"Apache-2.0"
] | 2 | 2020-05-26T23:58:32.000Z | 2020-11-01T20:45:30.000Z | MIT_CourseWare/computationalThinkingAndDataScience/clustering/testCluster.py | sum-coderepo/HadoopApp | 0e8d48c5d541b5935c9054fb1335d829d67d7b59 | [
"Apache-2.0"
] | null | null | null | MIT_CourseWare/computationalThinkingAndDataScience/clustering/testCluster.py | sum-coderepo/HadoopApp | 0e8d48c5d541b5935c9054fb1335d829d67d7b59 | [
"Apache-2.0"
] | null | null | null | import lect12
print(lect12.scaleAttrs[12,32,10,9,38,78,36,7,76,736])
lect12.getData() | 21.5 | 54 | 0.755814 | 17 | 86 | 3.823529 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304878 | 0.046512 | 86 | 4 | 55 | 21.5 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dd0c960f27c2aa73dac426aee86932f960b46afb | 852 | py | Python | compound_types/type_checks.py | vahndi/compound-types | cda4f49651b4bfbcd9fe199de276be472620cfad | [
"MIT"
] | null | null | null | compound_types/type_checks.py | vahndi/compound-types | cda4f49651b4bfbcd9fe199de276be472620cfad | [
"MIT"
] | null | null | null | compound_types/type_checks.py | vahndi/compound-types | cda4f49651b4bfbcd9fe199de276be472620cfad | [
"MIT"
] | null | null | null | def all_are_none(*args) -> bool:
"""
Return True if all args are None.
"""
return all([arg is None for arg in args])
def none_are_none(*args) -> bool:
"""
Return True if no args are None.
"""
return not any([arg is None for arg in args])
def any_are_not_none(*args) -> bool:
"""
... | 20.780488 | 54 | 0.590376 | 143 | 852 | 3.41958 | 0.13986 | 0.102249 | 0.147239 | 0.220859 | 0.860941 | 0.748466 | 0.744376 | 0.578732 | 0.400818 | 0.159509 | 0 | 0.003284 | 0.285211 | 852 | 40 | 55 | 21.3 | 0.799672 | 0.255869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd2a23bc9e4a0ee7f8e15ba7f6ff3ec21ba5e1bc | 271 | py | Python | django_rt_cdn/imagegenerators.py | reef-technologies/django-rt-cdn | 753025c93edcc1cfe985722d51308640e0ab0169 | [
"BSD-3-Clause"
] | null | null | null | django_rt_cdn/imagegenerators.py | reef-technologies/django-rt-cdn | 753025c93edcc1cfe985722d51308640e0ab0169 | [
"BSD-3-Clause"
] | null | null | null | django_rt_cdn/imagegenerators.py | reef-technologies/django-rt-cdn | 753025c93edcc1cfe985722d51308640e0ab0169 | [
"BSD-3-Clause"
] | null | null | null | try:
from imagekit import register
from .contrib.imagekit.generatorlibrary import OriginResolution, Thumbnail
except ImportError:
pass
else:
register.generator('cdn:thumbnail', Thumbnail)
register.generator('cdn:origin_resolution', OriginResolution)
| 27.1 | 78 | 0.778598 | 27 | 271 | 7.777778 | 0.62963 | 0.161905 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143911 | 271 | 9 | 79 | 30.111111 | 0.905172 | 0 | 0 | 0 | 0 | 0 | 0.125461 | 0.077491 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.375 | 0 | 0.375 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
dd80f38e56654593698babb4d6fee25337e19bb7 | 205 | py | Python | base/admin.py | AlexWanyoike/Neighborhood-Api | a3ebc72421c0602a44e8817ff2b283683a5ae93d | [
"MIT"
] | null | null | null | base/admin.py | AlexWanyoike/Neighborhood-Api | a3ebc72421c0602a44e8817ff2b283683a5ae93d | [
"MIT"
] | null | null | null | base/admin.py | AlexWanyoike/Neighborhood-Api | a3ebc72421c0602a44e8817ff2b283683a5ae93d | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Neighborhood, User, Business, Post
admin.site.register(Neighborhood)
admin.site.register(User)
admin.site.register(Business)
admin.site.register(Post) | 29.285714 | 55 | 0.819512 | 28 | 205 | 6 | 0.428571 | 0.214286 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078049 | 205 | 7 | 56 | 29.285714 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
06cc60aaa0549da3ecb2b2a29f472ac95cd62448 | 161 | py | Python | pyFBS/__init__.py | anantagrg/FBS_Substructuring | 66555a1f80208c7bac16355822ac12fd195f5f68 | [
"MIT"
] | null | null | null | pyFBS/__init__.py | anantagrg/FBS_Substructuring | 66555a1f80208c7bac16355822ac12fd195f5f68 | [
"MIT"
] | null | null | null | pyFBS/__init__.py | anantagrg/FBS_Substructuring | 66555a1f80208c7bac16355822ac12fd195f5f68 | [
"MIT"
] | null | null | null | # import everything
from .IO import *
from .utility import *
from .VPT import *
from .display import *
from .SEMM import *
from .MCK import *
from .SVT import *
| 17.888889 | 22 | 0.714286 | 23 | 161 | 5 | 0.434783 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192547 | 161 | 8 | 23 | 20.125 | 0.884615 | 0.10559 | 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 |
06dd02e760870e12bafdf4055cae32729f23f956 | 142 | py | Python | codevision/blog/admin.py | nabin0/codevision | 658d153129a62e85316e543cef30656cc5e09a09 | [
"MIT"
] | null | null | null | codevision/blog/admin.py | nabin0/codevision | 658d153129a62e85316e543cef30656cc5e09a09 | [
"MIT"
] | null | null | null | codevision/blog/admin.py | nabin0/codevision | 658d153129a62e85316e543cef30656cc5e09a09 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Post, PostComments
# Register your models here.
admin.site.register((Post, PostComments)) | 35.5 | 41 | 0.809859 | 19 | 142 | 6.052632 | 0.631579 | 0.278261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 142 | 4 | 41 | 35.5 | 0.905512 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.