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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6366af81b4234237ad4deef35a2cb9af4f4e7c5b | 44,948 | py | Python | BlueKumquatAutoDiff/autodiff.py | cs107-blue-kumquat/cs107-FinalProject | 8fba44103ca0c48969b712de8bd8ac0e80ec3806 | [
"MIT"
] | null | null | null | BlueKumquatAutoDiff/autodiff.py | cs107-blue-kumquat/cs107-FinalProject | 8fba44103ca0c48969b712de8bd8ac0e80ec3806 | [
"MIT"
] | 10 | 2021-11-18T14:56:04.000Z | 2021-12-11T23:23:47.000Z | BlueKumquatAutoDiff/autodiff.py | cs107-blue-kumquat/cs107-FinalProject | 8fba44103ca0c48969b712de8bd8ac0e80ec3806 | [
"MIT"
] | 1 | 2021-11-18T08:38:35.000Z | 2021-11-18T08:38:35.000Z | import numpy as np
import re
class Variable():
def __init__(self, var, der = 1):
"""
Initialize a Variable object with following attributes.
Derivative is 1 by default if not specified.
:param var: attribute representing evaluated value.
:param der: attribute representing ... | 34.103187 | 156 | 0.565587 | 5,624 | 44,948 | 4.386913 | 0.053165 | 0.052205 | 0.020428 | 0.027237 | 0.871352 | 0.847033 | 0.824781 | 0.803421 | 0.773468 | 0.730828 | 0 | 0.00843 | 0.337612 | 44,948 | 1,317 | 157 | 34.129081 | 0.82024 | 0.373098 | 0 | 0.677966 | 0 | 0.00678 | 0.096838 | 0.02093 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128814 | false | 0 | 0.00339 | 0.00678 | 0.328814 | 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 |
6387f42788887f5f7cf1146f81400562be38476f | 36 | py | Python | nn/optim/__init__.py | yuzuka4573/Dialog | 8485e916458efcd21a414c4ecb09b79b2f439b99 | [
"MIT"
] | 61 | 2019-10-24T00:11:31.000Z | 2022-02-27T15:21:40.000Z | nn/optim/__init__.py | yuzuka4573/Dialog | 8485e916458efcd21a414c4ecb09b79b2f439b99 | [
"MIT"
] | 10 | 2019-10-23T07:03:02.000Z | 2021-07-29T06:54:27.000Z | nn/optim/__init__.py | yuzuka4573/Dialog | 8485e916458efcd21a414c4ecb09b79b2f439b99 | [
"MIT"
] | 27 | 2019-11-27T22:18:47.000Z | 2022-03-01T15:35:37.000Z | from .optimizer import get_optimizer | 36 | 36 | 0.888889 | 5 | 36 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.939394 | 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 |
63a08788e1d0373d7bac7c7196fb8b10389dd3b9 | 79 | py | Python | decrypt.py | nvakhilnair/Image-Encryption-and-Decryption-using-RSA | 6a033aac703acd4d9f3f2f32faa2c79ad3c31600 | [
"MIT"
] | null | null | null | decrypt.py | nvakhilnair/Image-Encryption-and-Decryption-using-RSA | 6a033aac703acd4d9f3f2f32faa2c79ad3c31600 | [
"MIT"
] | null | null | null | decrypt.py | nvakhilnair/Image-Encryption-and-Decryption-using-RSA | 6a033aac703acd4d9f3f2f32faa2c79ad3c31600 | [
"MIT"
] | null | null | null | def decrpytion(cipher,d,N):
decipher = pow(cipher,d)%N
return decipher
| 19.75 | 30 | 0.683544 | 12 | 79 | 4.5 | 0.666667 | 0.259259 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 79 | 3 | 31 | 26.333333 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
63c0990f4b4f9e34b00187e774a2572530841a08 | 47 | py | Python | GAM_website/payments/__init__.py | easherma/GAM_website | 1bd9ff97653cdbe54c72d0a177a184106a0de8de | [
"BSD-3-Clause"
] | 1 | 2017-04-27T08:56:51.000Z | 2017-04-27T08:56:51.000Z | GAM_website/payments/__init__.py | greenagain/GAM_website | 13778fe2cd7e0bea4b08c24c08e4fde085475193 | [
"BSD-3-Clause"
] | null | null | null | GAM_website/payments/__init__.py | greenagain/GAM_website | 13778fe2cd7e0bea4b08c24c08e4fde085475193 | [
"BSD-3-Clause"
] | 1 | 2018-03-25T19:35:07.000Z | 2018-03-25T19:35:07.000Z | """The payments module."""
from . import views
| 15.666667 | 26 | 0.680851 | 6 | 47 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 27 | 23.5 | 0.8 | 0.425532 | 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 |
63cc0de45bd713cb52c3391af1c622df0c9dcd94 | 38 | py | Python | python/hpctl/hpctl/__init__.py | domyounglee/baseline | 2261abfb7e770cc6f3d63a7f6e0015238d0e11f8 | [
"Apache-2.0"
] | null | null | null | python/hpctl/hpctl/__init__.py | domyounglee/baseline | 2261abfb7e770cc6f3d63a7f6e0015238d0e11f8 | [
"Apache-2.0"
] | null | null | null | python/hpctl/hpctl/__init__.py | domyounglee/baseline | 2261abfb7e770cc6f3d63a7f6e0015238d0e11f8 | [
"Apache-2.0"
] | 3 | 2019-05-27T04:52:21.000Z | 2022-02-15T00:22:53.000Z | from hpctl.version import __version__
| 19 | 37 | 0.868421 | 5 | 38 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.852941 | 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 |
892a20a5502365e9d1078797ce31733dfe753de9 | 28 | py | Python | helloworld.py | nehasingh112/hands-on-transfer-learning-with-python | 55a019514644e814edf0c8a9d89d9bdf04f36431 | [
"Apache-2.0"
] | null | null | null | helloworld.py | nehasingh112/hands-on-transfer-learning-with-python | 55a019514644e814edf0c8a9d89d9bdf04f36431 | [
"Apache-2.0"
] | null | null | null | helloworld.py | nehasingh112/hands-on-transfer-learning-with-python | 55a019514644e814edf0c8a9d89d9bdf04f36431 | [
"Apache-2.0"
] | null | null | null | print("hello world, Neha!")
| 14 | 27 | 0.678571 | 4 | 28 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 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 |
894240eb83b01c2e1df583943a762c1719ce58b9 | 23 | py | Python | __init__.py | Meg-archie/lda2vec | 34790061b6768dd315e0cd4fd228edb148493666 | [
"MIT"
] | null | null | null | __init__.py | Meg-archie/lda2vec | 34790061b6768dd315e0cd4fd228edb148493666 | [
"MIT"
] | null | null | null | __init__.py | Meg-archie/lda2vec | 34790061b6768dd315e0cd4fd228edb148493666 | [
"MIT"
] | null | null | null | from . import examples
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
896bc9ede364d00213db25c09ab4f364fb2ab37e | 80 | py | Python | python/ray/rllib/RL/DeepADFQ/baselines0/bench/__init__.py | christopher-hsu/ray | abe84b596253411607a91b3a44c135f5e9ac6ac7 | [
"Apache-2.0"
] | 1 | 2019-07-08T15:29:25.000Z | 2019-07-08T15:29:25.000Z | python/ray/rllib/RL/DeepADFQ/baselines0/bench/__init__.py | christopher-hsu/ray | abe84b596253411607a91b3a44c135f5e9ac6ac7 | [
"Apache-2.0"
] | null | null | null | python/ray/rllib/RL/DeepADFQ/baselines0/bench/__init__.py | christopher-hsu/ray | abe84b596253411607a91b3a44c135f5e9ac6ac7 | [
"Apache-2.0"
] | null | null | null | from baselines0.bench.benchmarks import *
from baselines0.bench.monitor import * | 40 | 41 | 0.8375 | 10 | 80 | 6.7 | 0.6 | 0.41791 | 0.567164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.0875 | 80 | 2 | 42 | 40 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
896e820d6e2a2c5922ecdad5a974249399d82836 | 93 | py | Python | main.py | Codegass/Gentonic | bec77a8cb262e481fc26646d5ab6e8e8bbde38e5 | [
"MIT"
] | null | null | null | main.py | Codegass/Gentonic | bec77a8cb262e481fc26646d5ab6e8e8bbde38e5 | [
"MIT"
] | null | null | null | main.py | Codegass/Gentonic | bec77a8cb262e481fc26646d5ab6e8e8bbde38e5 | [
"MIT"
] | null | null | null | import tensorflow as tf
print(tf.__version__)
print(tf.config.list_physical_devices('GPU')) | 18.6 | 45 | 0.806452 | 14 | 93 | 4.928571 | 0.785714 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 93 | 5 | 45 | 18.6 | 0.802326 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
989ce500fcd3caef25f9662f106449722c0c1515 | 5,530 | py | Python | tests/test_default_values.py | pjaytycy/improcflow | 4f9e40432436221690573b863c5fd8ab49bd9ac5 | [
"MIT"
] | 1 | 2021-06-22T07:39:12.000Z | 2021-06-22T07:39:12.000Z | tests/test_default_values.py | pjaytycy/improcflow | 4f9e40432436221690573b863c5fd8ab49bd9ac5 | [
"MIT"
] | 1 | 2018-02-08T20:50:53.000Z | 2018-02-25T14:23:56.000Z | tests/test_default_values.py | pjaytycy/improcflow | 4f9e40432436221690573b863c5fd8ab49bd9ac5 | [
"MIT"
] | null | null | null | import unittest
from django.test import TestCase
from improcflow.logic import *
class DefaultValueTests(TestCase):
def test_allow_default_None(self):
class MockElement(Element):
class_name = "test_allow_default_None_mock"
def __init__(self, title = None, element_model = None):
... | 38.671329 | 137 | 0.699096 | 718 | 5,530 | 5.101671 | 0.119777 | 0.078078 | 0.045864 | 0.068796 | 0.790882 | 0.773956 | 0.758941 | 0.739558 | 0.739558 | 0.646738 | 0 | 0.014558 | 0.192586 | 5,530 | 142 | 138 | 38.943662 | 0.805823 | 0.069982 | 0 | 0.728155 | 0 | 0 | 0.07905 | 0.010903 | 0 | 0 | 0 | 0 | 0.106796 | 1 | 0.087379 | false | 0 | 0.029126 | 0 | 0.145631 | 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 |
7f56ce2769a767eb6ece7b01d78fa7c89d394702 | 8,053 | py | Python | moves.py | bhaktanishant/PyChess | 194cee852f0cc455511dbb1537331ca0b367387b | [
"Apache-2.0"
] | null | null | null | moves.py | bhaktanishant/PyChess | 194cee852f0cc455511dbb1537331ca0b367387b | [
"Apache-2.0"
] | null | null | null | moves.py | bhaktanishant/PyChess | 194cee852f0cc455511dbb1537331ca0b367387b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from param import parameter
class Moves:
def __init__(self, block, blocks):
self.block = block
self.blocks = blocks
self.param = parameter()
def canRoamTo(self):
position = self.block.getPosition()
if self.block.getKey() == self.param.BLACK_PAWN:
return self.blackPawnMove(posi... | 37.455814 | 108 | 0.642121 | 1,168 | 8,053 | 4.413527 | 0.05137 | 0.1484 | 0.075655 | 0.146654 | 0.862076 | 0.862076 | 0.838991 | 0.80194 | 0.762173 | 0.744132 | 0 | 0.059571 | 0.189122 | 8,053 | 214 | 109 | 37.630841 | 0.729862 | 0.002608 | 0 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049751 | false | 0 | 0.004975 | 0.004975 | 0.144279 | 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 |
f6b3d739842a465d1fce48e7f1c67248cd290bfe | 2,954 | py | Python | mat2img.py | mksarker/data_preprocessing | dabdb7f3dbf1c4bf5ee49a39aef2cb258539b027 | [
"MIT"
] | null | null | null | mat2img.py | mksarker/data_preprocessing | dabdb7f3dbf1c4bf5ee49a39aef2cb258539b027 | [
"MIT"
] | null | null | null | mat2img.py | mksarker/data_preprocessing | dabdb7f3dbf1c4bf5ee49a39aef2cb258539b027 | [
"MIT"
] | null | null | null | from scipy.io import loadmat
import cv2
import numpy as np
# from skimage.io import imread, imsave
from scipy.misc import imsave, imread
import os
import png
from PIL import Image
root_dir='D:/PathLake/HoverNet/data/CoNSeP/Train/Labels/'
dest_dir='D:/PathLake/HoverNet/my_data/my_ConSep/train/lbl_map/'
for file in os.... | 25.686957 | 79 | 0.587001 | 429 | 2,954 | 3.869464 | 0.191142 | 0.075904 | 0.053012 | 0.054217 | 0.801205 | 0.801205 | 0.79759 | 0.79759 | 0.79759 | 0.79759 | 0 | 0.027003 | 0.2478 | 2,954 | 114 | 80 | 25.912281 | 0.720072 | 0.613406 | 0 | 0 | 0 | 0 | 0.11847 | 0.092351 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.28 | 0 | 0.28 | 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 |
f6bfb6dd38ffc073ec2cf0a5bbd3957a2a7ad978 | 2,207 | py | Python | varsom_landslide_client/models/__init__.py | NVE/python-varsom-landslide-client | 553f562d463e67545daa9fc9bfdd554f3c5d471c | [
"MIT"
] | null | null | null | varsom_landslide_client/models/__init__.py | NVE/python-varsom-landslide-client | 553f562d463e67545daa9fc9bfdd554f3c5d471c | [
"MIT"
] | null | null | null | varsom_landslide_client/models/__init__.py | NVE/python-varsom-landslide-client | 553f562d463e67545daa9fc9bfdd554f3c5d471c | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Jordskredvarsel API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: v1.0.6
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import abs... | 53.829268 | 119 | 0.888536 | 281 | 2,207 | 6.647687 | 0.323843 | 0.12848 | 0.244111 | 0.321199 | 0.512848 | 0.313705 | 0.294433 | 0.103854 | 0 | 0 | 0 | 0.00391 | 0.07295 | 2,207 | 40 | 120 | 55.175 | 0.909091 | 0.132759 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6c95d448043c8f7fb1c7aec8de443d569ce9fa4 | 304 | py | Python | api_ml/models/__init__.py | YaYaB/api_pytorch | c88c31bd67131837efe87d645172110d5794e9c3 | [
"Apache-2.0"
] | 1 | 2020-07-06T12:19:45.000Z | 2020-07-06T12:19:45.000Z | api_ml/models/__init__.py | YaYaB/api_pytorch | c88c31bd67131837efe87d645172110d5794e9c3 | [
"Apache-2.0"
] | null | null | null | api_ml/models/__init__.py | YaYaB/api_pytorch | c88c31bd67131837efe87d645172110d5794e9c3 | [
"Apache-2.0"
] | null | null | null | import api_ml.models.alexnet
import api_ml.models.densenet
import api_ml.models.googlenet
import api_ml.models.inception_v3
import api_ml.models.mnasnet
import api_ml.models.mobilenet_v2
import api_ml.models.resnet
import api_ml.models.shufflenet
import api_ml.models.squeezenet
import api_ml.models.vgg
| 27.636364 | 33 | 0.868421 | 52 | 304 | 4.846154 | 0.307692 | 0.357143 | 0.436508 | 0.674603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.065789 | 304 | 10 | 34 | 30.4 | 0.880282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f6ec5eeca6c7ed22035202b6bb4249b14ee118ed | 149 | py | Python | pingo/rpi/__init__.py | pingo-io/pingo-py | 5d7081f99ff13973404dc6361560f30ce8f7009c | [
"MIT"
] | 116 | 2015-05-06T17:49:22.000Z | 2021-11-16T12:59:35.000Z | pingo/rpi/__init__.py | pingo-io/pingo-py | 5d7081f99ff13973404dc6361560f30ce8f7009c | [
"MIT"
] | 49 | 2015-05-08T23:18:05.000Z | 2017-07-12T17:11:48.000Z | pingo/rpi/__init__.py | pingo-io/pingo-py | 5d7081f99ff13973404dc6361560f30ce8f7009c | [
"MIT"
] | 47 | 2015-05-04T07:42:04.000Z | 2021-08-04T20:49:54.000Z | from rpi import RaspberryPi # noqa
from rpi import RaspberryPiBPlus # noqa
from rpi import RaspberryPi2B # noqa
from grove import GrovePi # noqa
| 29.8 | 40 | 0.785235 | 20 | 149 | 5.85 | 0.45 | 0.179487 | 0.333333 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.187919 | 149 | 4 | 41 | 37.25 | 0.958678 | 0.127517 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
63e80a9be6924c1a7b86251b5066df6260a165e9 | 530 | py | Python | thing/views/__init__.py | skyride/evething-2 | e0778a539b7f8a56667b2508293ca7e9f515283f | [
"BSD-2-Clause"
] | 21 | 2017-05-24T00:06:07.000Z | 2019-08-06T04:31:18.000Z | thing/views/__init__.py | skyride/evething-2 | e0778a539b7f8a56667b2508293ca7e9f515283f | [
"BSD-2-Clause"
] | 11 | 2017-05-23T23:58:57.000Z | 2018-05-27T03:21:30.000Z | thing/views/__init__.py | skyride/evething-2 | e0778a539b7f8a56667b2508293ca7e9f515283f | [
"BSD-2-Clause"
] | 10 | 2017-06-08T18:23:51.000Z | 2021-09-05T06:03:59.000Z | # flake8: noqa
from thing.views.home import *
from thing.views.account import *
from thing.views.assets import *
from thing.views.blueprints import *
from thing.views.character import *
from thing.views.clones import *
from thing.views.contracts import *
from thing.views.events import *
from thing.views.industry impo... | 27.894737 | 40 | 0.788679 | 78 | 530 | 5.346154 | 0.282051 | 0.323741 | 0.503597 | 0.671463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002151 | 0.122642 | 530 | 18 | 41 | 29.444444 | 0.894624 | 0.022642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.066667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
63ed2d9d4dd28d834d80a822e863efde61d051c3 | 79 | py | Python | lib/test_rsi.py | mrotke/pyStock | 76aad7c8bdd112d3a53ed013cbe9ff660a90d5bf | [
"MIT"
] | null | null | null | lib/test_rsi.py | mrotke/pyStock | 76aad7c8bdd112d3a53ed013cbe9ff660a90d5bf | [
"MIT"
] | null | null | null | lib/test_rsi.py | mrotke/pyStock | 76aad7c8bdd112d3a53ed013cbe9ff660a90d5bf | [
"MIT"
] | null | null | null | import pytest
from lib.rsi import *
def test_rsi():
assert(True == True)
| 11.285714 | 24 | 0.670886 | 12 | 79 | 4.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21519 | 79 | 6 | 25 | 13.166667 | 0.83871 | 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 |
12161cc866110ef3c377756419a9b593d23d32f4 | 124 | py | Python | ALC/utils/__init__.py | SimiPixel/automatic_label_correction | c3e785cd9e2b185b4306e92677c1838a883eb2b3 | [
"MIT"
] | null | null | null | ALC/utils/__init__.py | SimiPixel/automatic_label_correction | c3e785cd9e2b185b4306e92677c1838a883eb2b3 | [
"MIT"
] | null | null | null | ALC/utils/__init__.py | SimiPixel/automatic_label_correction | c3e785cd9e2b185b4306e92677c1838a883eb2b3 | [
"MIT"
] | null | null | null | from .falsify import falsify
from .onehot import OneHot
from .kfold import kfold
from .convert_labels import convert_labels
| 24.8 | 42 | 0.83871 | 18 | 124 | 5.666667 | 0.388889 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 124 | 4 | 43 | 31 | 0.944444 | 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 |
1235f48385001a192e5d32e1312543caa18134b9 | 345 | py | Python | bankinator/bank/base_bank.py | GTmmiller/bankinator | cbb333c3027778f76a52dc85590c4015fff2d1e3 | [
"MIT"
] | 1 | 2017-05-11T05:59:04.000Z | 2017-05-11T05:59:04.000Z | bankinator/bank/base_bank.py | GTmmiller/bankinator | cbb333c3027778f76a52dc85590c4015fff2d1e3 | [
"MIT"
] | null | null | null | bankinator/bank/base_bank.py | GTmmiller/bankinator | cbb333c3027778f76a52dc85590c4015fff2d1e3 | [
"MIT"
] | null | null | null | import abc
class BankBase:
__metaclass__ = abc.ABCMeta
def __init__(self):
pass
@abc.abstractmethod
def authenticate(self, username, password):
return
@abc.abstractmethod
def navigate(self, homepage):
return
@abc.abstractmethod
def parse(self, account, accou... | 16.428571 | 47 | 0.643478 | 35 | 345 | 6.085714 | 0.571429 | 0.239437 | 0.28169 | 0.244131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281159 | 345 | 20 | 48 | 17.25 | 0.858871 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.071429 | 0.214286 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
d606e8aa8b03416c11b9a80fbe8463e214aeaf90 | 756 | py | Python | src/scrapy_folder_tree/trees/date.py | sp1thas/scrapy-folder-tree | eac14f0e993c7ae93443899c55b34bc8752d7492 | [
"MIT"
] | 4 | 2022-02-08T14:43:25.000Z | 2022-03-07T10:45:14.000Z | src/scrapy_folder_tree/trees/date.py | sp1thas/scrapy-folder-tree | eac14f0e993c7ae93443899c55b34bc8752d7492 | [
"MIT"
] | null | null | null | src/scrapy_folder_tree/trees/date.py | sp1thas/scrapy-folder-tree | eac14f0e993c7ae93443899c55b34bc8752d7492 | [
"MIT"
] | null | null | null | import datetime
import os
from . import TreeBase
class DateTree(TreeBase):
def __init__(self, format: str) -> None:
self.FORMAT = format
def build_path(self, filepath) -> str:
filename = os.path.basename(filepath)
dir_name = os.path.dirname(filepath)
return os.path.join(
... | 26.068966 | 77 | 0.634921 | 91 | 756 | 5.120879 | 0.307692 | 0.128755 | 0.064378 | 0.081545 | 0.703863 | 0.703863 | 0.703863 | 0.703863 | 0.703863 | 0.703863 | 0 | 0 | 0.252646 | 756 | 28 | 78 | 27 | 0.824779 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.142857 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d63ffbd601e82a8bc27391fceb92028b354d7b66 | 84 | py | Python | models/__init__.py | ceroo1005/DATL | ac7ceee4f6d0f9ce493743e80afdedd808806703 | [
"MIT"
] | null | null | null | models/__init__.py | ceroo1005/DATL | ac7ceee4f6d0f9ce493743e80afdedd808806703 | [
"MIT"
] | null | null | null | models/__init__.py | ceroo1005/DATL | ac7ceee4f6d0f9ce493743e80afdedd808806703 | [
"MIT"
] | null | null | null | from .LoopNet import LoopNet_DANN, EDL_loss
__all__ = ['LoopNet_DANN', 'EDL_loss']
| 21 | 43 | 0.761905 | 12 | 84 | 4.666667 | 0.583333 | 0.392857 | 0.5 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 3 | 44 | 28 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 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 |
c39d2b7f71169447736c0beb7332470db7f1404e | 5,045 | py | Python | tests/test_os_updates.py | kitcareplanner/PenguinDome | c1291fc683b2001cf058ed45382c5167c98b0372 | [
"Apache-2.0"
] | 81 | 2017-07-30T18:40:13.000Z | 2022-02-23T23:04:54.000Z | tests/test_os_updates.py | kitcareplanner/PenguinDome | c1291fc683b2001cf058ed45382c5167c98b0372 | [
"Apache-2.0"
] | 18 | 2017-10-24T00:20:49.000Z | 2021-06-08T12:12:34.000Z | tests/test_os_updates.py | kitcareplanner/PenguinDome | c1291fc683b2001cf058ed45382c5167c98b0372 | [
"Apache-2.0"
] | 22 | 2017-09-12T20:22:29.000Z | 2021-11-11T18:45:04.000Z | import os
import tempfile
import time
from unittest import mock
import pytest
from client.plugins import os_updates
def test_ubuntu_checker_no_do_release_upgrade(fake_process):
def raise_oserror(process):
raise OSError()
fake_process.register_subprocess(('do-release-upgrade', '-c'),
... | 37.37037 | 77 | 0.643806 | 619 | 5,045 | 4.996769 | 0.164782 | 0.113805 | 0.129001 | 0.196896 | 0.788231 | 0.773359 | 0.759134 | 0.726156 | 0.723893 | 0.723893 | 0 | 0.00801 | 0.232904 | 5,045 | 134 | 78 | 37.649254 | 0.791214 | 0.015659 | 0 | 0.524752 | 0 | 0 | 0.170058 | 0.093895 | 0 | 0 | 0 | 0 | 0.108911 | 1 | 0.158416 | false | 0 | 0.059406 | 0 | 0.227723 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c3b80437f676ab80bfc846155ce2741b90f26014 | 203 | py | Python | hikcamerabot/clients/hikvision/__init__.py | tropicoo/hik-camera-bot | a7108c08a8e009e7361bbb9904c3a71f3226afd5 | [
"MIT"
] | 1 | 2019-02-09T20:08:50.000Z | 2019-02-09T20:08:50.000Z | hikcamerabot/clients/hikvision/__init__.py | SirNoish/hikvision-camera-bot | a7108c08a8e009e7361bbb9904c3a71f3226afd5 | [
"MIT"
] | 3 | 2019-02-10T12:42:10.000Z | 2019-02-16T00:33:29.000Z | hikcamerabot/clients/hikvision/__init__.py | SirNoish/hikvision-camera-bot | a7108c08a8e009e7361bbb9904c3a71f3226afd5 | [
"MIT"
] | null | null | null | from hikcamerabot.clients.hikvision.api_client import HikvisionAPIClient
from hikcamerabot.clients.hikvision.api_wrapper import HikvisionAPI
__all__ = [
'HikvisionAPI',
'HikvisionAPIClient',
]
| 22.555556 | 72 | 0.807882 | 19 | 203 | 8.315789 | 0.578947 | 0.202532 | 0.291139 | 0.405063 | 0.443038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118227 | 203 | 8 | 73 | 25.375 | 0.882682 | 0 | 0 | 0 | 0 | 0 | 0.147783 | 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 |
614e865a010ccd56ccebfbd5feb95b087b7a8d4b | 96 | py | Python | venv/lib/python3.8/site-packages/yapf/yapflib/subtype_assigner.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/yapf/yapflib/subtype_assigner.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/yapf/yapflib/subtype_assigner.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/1e/51/95/7098663e3d6be034523fc373d091f3f9c2db8130a76733f25b96118901 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 96 | 1 | 96 | 96 | 0.395833 | 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 |
61862aef082c7656105b832423c261020507fbf7 | 34 | py | Python | kor2vec/trainer/__init__.py | sujoung/kor2vec | 2cd0b6e60e3f5ca1fc32ea4bd6b40b7a21dfa52e | [
"Apache-2.0"
] | 175 | 2018-10-10T09:52:09.000Z | 2021-11-15T11:15:05.000Z | kor2vec/trainer/__init__.py | sayduke/kor2vec | 2cd0b6e60e3f5ca1fc32ea4bd6b40b7a21dfa52e | [
"Apache-2.0"
] | 2 | 2019-01-05T07:06:29.000Z | 2019-09-06T02:53:38.000Z | kor2vec/trainer/__init__.py | sayduke/kor2vec | 2cd0b6e60e3f5ca1fc32ea4bd6b40b7a21dfa52e | [
"Apache-2.0"
] | 32 | 2018-10-12T06:49:30.000Z | 2021-06-21T07:44:38.000Z | from .skip_gram import SkipTrainer | 34 | 34 | 0.882353 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 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 |
6196bf38805dc89d42a69eee65e06667d930c558 | 78,445 | py | Python | airflow/providers/google/cloud/operators/vertex_ai/custom_job.py | npodewitz/airflow | 511ea702d5f732582d018dad79754b54d5e53f9d | [
"Apache-2.0"
] | 8,092 | 2016-04-27T20:32:29.000Z | 2019-01-05T07:39:33.000Z | airflow/providers/google/cloud/operators/vertex_ai/custom_job.py | npodewitz/airflow | 511ea702d5f732582d018dad79754b54d5e53f9d | [
"Apache-2.0"
] | 2,961 | 2016-05-05T07:16:16.000Z | 2019-01-05T08:47:59.000Z | airflow/providers/google/cloud/operators/vertex_ai/custom_job.py | npodewitz/airflow | 511ea702d5f732582d018dad79754b54d5e53f9d | [
"Apache-2.0"
] | 3,546 | 2016-05-04T20:33:16.000Z | 2019-01-05T05:14:26.000Z | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 56.720897 | 129 | 0.694882 | 10,385 | 78,445 | 5.095619 | 0.061338 | 0.009071 | 0.034525 | 0.013228 | 0.910522 | 0.893439 | 0.872255 | 0.862523 | 0.856023 | 0.84629 | 0 | 0.004423 | 0.253541 | 78,445 | 1,382 | 130 | 56.761939 | 0.899293 | 0.672293 | 0 | 0.622601 | 0 | 0 | 0.022715 | 0.00125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029851 | false | 0 | 0.023454 | 0 | 0.093817 | 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 |
619db66d811c8c07dbd9725243ee0a71a6919a02 | 9,998 | py | Python | ros_radar_mine/neuro_learning/controller/evol_funcs/evol_funcs_ANN.py | tudelft/blimp_snn | 23acbef8822337387aee196a3a10854e82bb4f80 | [
"Apache-2.0"
] | 3 | 2021-11-08T20:20:21.000Z | 2021-12-29T09:05:37.000Z | ros_radar_mine/neuro_learning/controller/evol_funcs/evol_funcs_ANN.py | tudelft/blimp_snn | 23acbef8822337387aee196a3a10854e82bb4f80 | [
"Apache-2.0"
] | null | null | null | ros_radar_mine/neuro_learning/controller/evol_funcs/evol_funcs_ANN.py | tudelft/blimp_snn | 23acbef8822337387aee196a3a10854e82bb4f80 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Mar 30 17:42:23 2021
@author: marina
"""
# Set absolute package path
import sys, os
sys.path.append(os.path.abspath(".."))
import torch
import numpy as np
import random
import network.ann_automate as ann
import blimp_model.blimp_id_synthetic as blim... | 31.146417 | 105 | 0.489898 | 1,253 | 9,998 | 3.780527 | 0.162809 | 0.035465 | 0.016255 | 0.023221 | 0.769685 | 0.75533 | 0.749842 | 0.736542 | 0.718176 | 0.718176 | 0 | 0.011838 | 0.357872 | 9,998 | 321 | 106 | 31.146417 | 0.726012 | 0.253851 | 0 | 0.711864 | 0 | 0 | 0.064578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.076271 | 0 | 0.144068 | 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 |
f611c40b9637b586e2b4dab16a42f145c0e3eae7 | 42 | py | Python | jython/Lib/app-packages/main.py | eugeneai/LOD-table-annotator | adbbcee8c6591414d65ab2672cf37578636f2fc0 | [
"Apache-2.0"
] | null | null | null | jython/Lib/app-packages/main.py | eugeneai/LOD-table-annotator | adbbcee8c6591414d65ab2672cf37578636f2fc0 | [
"Apache-2.0"
] | null | null | null | jython/Lib/app-packages/main.py | eugeneai/LOD-table-annotator | adbbcee8c6591414d65ab2672cf37578636f2fc0 | [
"Apache-2.0"
] | null | null | null | import os.path
# import jena
import ssdc
| 8.4 | 14 | 0.761905 | 7 | 42 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 4 | 15 | 10.5 | 0.941176 | 0.261905 | 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 |
f62438004ffa6b44f946a50c97dc1f91df19db4a | 115 | py | Python | samples/python/src/main/service/__init__.py | BroadcomMFD/test4z | c974f8f508e3e764d023696f32f813862c386397 | [
"BSD-2-Clause-Patent"
] | 6 | 2021-09-23T11:29:28.000Z | 2022-03-16T10:26:59.000Z | samples/python/src/main/service/__init__.py | BroadcomMFD/test4z | c974f8f508e3e764d023696f32f813862c386397 | [
"BSD-2-Clause-Patent"
] | 3 | 2021-10-19T09:00:27.000Z | 2022-03-11T12:53:52.000Z | samples/python/src/main/service/__init__.py | BroadcomMFD/test4z | c974f8f508e3e764d023696f32f813862c386397 | [
"BSD-2-Clause-Patent"
] | 3 | 2021-09-30T18:53:32.000Z | 2022-02-08T09:21:09.000Z | from .Test4zService import submit_job_notify, get_config_prop, copy, roll_back_dataset, search, update, diagnostic
| 57.5 | 114 | 0.852174 | 16 | 115 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.086957 | 115 | 1 | 115 | 115 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6402467bf280de6bc13e9708bcf265b0b97bf22 | 12,376 | py | Python | src/utilities/PlottingUtility.py | krmnino/Peru_COVID19_OpenData | 61ab2aea72e5998f925a628e9d9251769f863c48 | [
"CC0-1.0"
] | 3 | 2020-09-14T21:30:14.000Z | 2021-01-07T23:58:19.000Z | src/utilities/PlottingUtility.py | krmnino/Peru_COVID19_OpenData | 61ab2aea72e5998f925a628e9d9251769f863c48 | [
"CC0-1.0"
] | null | null | null | src/utilities/PlottingUtility.py | krmnino/Peru_COVID19_OpenData | 61ab2aea72e5998f925a628e9d9251769f863c48 | [
"CC0-1.0"
] | 3 | 2021-01-15T19:03:38.000Z | 2021-06-26T18:28:15.000Z | from matplotlib.figure import Figure
import warnings
import numpy as np
import sys
warnings.filterwarnings('ignore')
class QuadPlot:
def __init__(self, colors_sp, titles_sp, enable_rolling_avg_sp, type_sp, x_label_sp, y_label_sp, x_data, y_data, stitle, ofile,
ravg_days=[1, 1, 1, 1], ravg_labels=... | 42.675862 | 167 | 0.610698 | 1,839 | 12,376 | 3.888526 | 0.082654 | 0.04363 | 0.023913 | 0.019997 | 0.853028 | 0.821983 | 0.78982 | 0.751084 | 0.735002 | 0.72843 | 0 | 0.029156 | 0.257272 | 12,376 | 290 | 168 | 42.675862 | 0.748803 | 0 | 0 | 0.684211 | 0 | 0 | 0.062131 | 0.001697 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068826 | false | 0 | 0.016194 | 0.012146 | 0.145749 | 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 |
f65fa9b32cb533bc55de293fd360f2422ea084e5 | 31 | py | Python | rrs_scraper/scraper/serializers/__init__.py | mohamedmansor/rrs-scraper | 8b0252400639dd77399fd04b536bf47096e20991 | [
"MIT"
] | null | null | null | rrs_scraper/scraper/serializers/__init__.py | mohamedmansor/rrs-scraper | 8b0252400639dd77399fd04b536bf47096e20991 | [
"MIT"
] | null | null | null | rrs_scraper/scraper/serializers/__init__.py | mohamedmansor/rrs-scraper | 8b0252400639dd77399fd04b536bf47096e20991 | [
"MIT"
] | null | null | null | from .feed_serializer import * | 31 | 31 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f66e3535f7f2db466da31313c46ef3d2e36dc81d | 5,676 | py | Python | test_autolens/point/model/test_analysis_point.py | Jammy2211/PyAutoLens | 728100a3bf13f89f35030724aa08593ab44e65eb | [
"MIT"
] | 114 | 2018-03-05T07:31:47.000Z | 2022-03-08T06:40:52.000Z | test_autolens/point/model/test_analysis_point.py | Jammy2211/PyAutoLens | 728100a3bf13f89f35030724aa08593ab44e65eb | [
"MIT"
] | 143 | 2018-01-31T09:57:13.000Z | 2022-03-16T09:41:05.000Z | test_autolens/point/model/test_analysis_point.py | Jammy2211/PyAutoLens | 728100a3bf13f89f35030724aa08593ab44e65eb | [
"MIT"
] | 33 | 2018-01-31T12:15:57.000Z | 2022-01-08T18:31:02.000Z | from os import path
import autofit as af
import autolens as al
from autolens.point.model.result import ResultPoint
from autolens.mock import mock
directory = path.dirname(path.realpath(__file__))
class TestAnalysisPoint:
def test__make_result__result_imaging_is_returned(self, point_dict):
... | 32.809249 | 87 | 0.618746 | 617 | 5,676 | 5.350081 | 0.142626 | 0.050894 | 0.054529 | 0.06907 | 0.853378 | 0.820357 | 0.816116 | 0.798546 | 0.798546 | 0.786428 | 0 | 0.022642 | 0.299683 | 5,676 | 172 | 88 | 33 | 0.807799 | 0 | 0 | 0.695313 | 0 | 0 | 0.013445 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 1 | 0.023438 | false | 0 | 0.039063 | 0 | 0.070313 | 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 |
9cd8b26a433706a15cea5d23d29430f8986fcfa9 | 40 | py | Python | __init__.py | JanMarcelKezmann/Semi-Supervised-Learning-Image-Classification | b32599d1a5f28beefb4f9a744087e1dc47bd9906 | [
"MIT"
] | 4 | 2021-04-16T18:56:46.000Z | 2021-11-18T07:14:04.000Z | __init__.py | JanMarcelKezmann/Semi-Supervised-Learning-Image-Classification | b32599d1a5f28beefb4f9a744087e1dc47bd9906 | [
"MIT"
] | 2 | 2022-02-05T16:55:14.000Z | 2022-03-06T11:04:23.000Z | __init__.py | JanMarcelKezmann/Semi-Supervised-Learning-Image-Classification | b32599d1a5f28beefb4f9a744087e1dc47bd9906 | [
"MIT"
] | 2 | 2022-02-08T12:43:49.000Z | 2022-03-06T10:47:56.000Z | from .ssl_image_classification import *
| 20 | 39 | 0.85 | 5 | 40 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
142c0e5a92052cf493665126cb4a27fafc46e4ab | 3,044 | py | Python | tests/test_ec2_get_instances.py | MattSegal/cjob | 6f300bb6da24b0e8b17d45dd06d1520380536bca | [
"MIT"
] | 1 | 2021-11-05T23:36:01.000Z | 2021-11-05T23:36:01.000Z | tests/test_ec2_get_instances.py | MattSegal/cjob | 6f300bb6da24b0e8b17d45dd06d1520380536bca | [
"MIT"
] | null | null | null | tests/test_ec2_get_instances.py | MattSegal/cjob | 6f300bb6da24b0e8b17d45dd06d1520380536bca | [
"MIT"
] | null | null | null | """
Tests for EC2 instance lookup.
"""
import boto3
from moto import mock_ec2
import cjob.ec2 as ec2
from tests.utils import create_test_instance
@mock_ec2
def test_get_instances__with_no_instances():
client = boto3.client("ec2", region_name="ap-southeast-2")
instances = ec2.get_instances(client)
assert ... | 33.822222 | 70 | 0.727332 | 427 | 3,044 | 4.882904 | 0.138173 | 0.134293 | 0.155396 | 0.195683 | 0.805755 | 0.755396 | 0.736691 | 0.724221 | 0.667626 | 0.605755 | 0 | 0.02205 | 0.150788 | 3,044 | 89 | 71 | 34.202247 | 0.784526 | 0.03088 | 0 | 0.608696 | 0 | 0 | 0.092486 | 0 | 0 | 0 | 0 | 0 | 0.275362 | 1 | 0.086957 | false | 0 | 0.057971 | 0 | 0.144928 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14400afdbe8c357fd57f91688a7156d161a4b977 | 305 | py | Python | rhobot/components/commands/__init__.py | rerobins/rhobot_framework | f97d1cedc929387f69448e41346a0d15fe202eef | [
"BSD-3-Clause"
] | null | null | null | rhobot/components/commands/__init__.py | rerobins/rhobot_framework | f97d1cedc929387f69448e41346a0d15fe202eef | [
"BSD-3-Clause"
] | null | null | null | rhobot/components/commands/__init__.py | rerobins/rhobot_framework | f97d1cedc929387f69448e41346a0d15fe202eef | [
"BSD-3-Clause"
] | null | null | null | from rhobot.components.commands.base_command import BaseCommand
from rhobot.components.commands.reset_configuration import reset_configuration
from rhobot.components.commands.export_configuration import export_configuration
from rhobot.components.commands.import_configuration import import_configuration
| 61 | 80 | 0.908197 | 35 | 305 | 7.714286 | 0.314286 | 0.148148 | 0.296296 | 0.414815 | 0.303704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052459 | 305 | 4 | 81 | 76.25 | 0.934256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ad83a8ef2d359828633a0018a5ed435185e4109 | 40 | py | Python | cparse/__init__.py | luciancooper/cparse | fd6c5733c821e38f0be46ed930d763107ad8deea | [
"MIT"
] | null | null | null | cparse/__init__.py | luciancooper/cparse | fd6c5733c821e38f0be46ed930d763107ad8deea | [
"MIT"
] | null | null | null | cparse/__init__.py | luciancooper/cparse | fd6c5733c821e38f0be46ed930d763107ad8deea | [
"MIT"
] | null | null | null | from .fpath import *
from .tree import * | 20 | 20 | 0.725 | 6 | 40 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 21 | 20 | 0.878788 | 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 |
215f3605582cf8f1b95d007ac8c7d0a25e5118ac | 4,781 | py | Python | tests/test_extensions/test_tabbed.py | Lincoln2000/pymdown-extensions | f6ad2d410c9463db7f9f609ee5024e9c59bc14d8 | [
"MIT"
] | null | null | null | tests/test_extensions/test_tabbed.py | Lincoln2000/pymdown-extensions | f6ad2d410c9463db7f9f609ee5024e9c59bc14d8 | [
"MIT"
] | 2 | 2019-12-10T23:12:38.000Z | 2020-02-20T23:27:26.000Z | tests/test_extensions/test_tabbed.py | Lincoln2000/pymdown-extensions | f6ad2d410c9463db7f9f609ee5024e9c59bc14d8 | [
"MIT"
] | null | null | null | """Test cases for SuperFences."""
from .. import util
class TestLegacyTab(util.MdCase):
"""Test legacy tab cases."""
extension = ['pymdownx.tabbed', 'pymdownx.superfences']
extension_configs = {}
def test_tabbed(self):
"""Test tabbed."""
self.check_markdown(
r'''
... | 31.248366 | 201 | 0.452207 | 531 | 4,781 | 3.862524 | 0.12806 | 0.061433 | 0.102389 | 0.074598 | 0.812774 | 0.794247 | 0.793272 | 0.767918 | 0.729888 | 0.671867 | 0 | 0.024763 | 0.383393 | 4,781 | 152 | 202 | 31.453947 | 0.670963 | 0.048525 | 0 | 0.571429 | 0 | 0 | 0.052006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.035714 | 0 | 0.285714 | 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 |
0d05e71bffdca922d35a0d3b643f077fa12a0d89 | 30 | py | Python | plugins/category_order/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/category_order/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/category_order/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .category_order import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 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 |
0d39df968515744d4f2a4d03b2f20e67170b7c4a | 45 | py | Python | tests/test_load.py | mdbloice/Labeller | 3f204589b8f573bc6a3640cd630155ce1ad889fe | [
"MIT"
] | 2 | 2021-09-30T18:04:33.000Z | 2021-10-01T07:20:04.000Z | tests/test_load.py | mdbloice/Labeller | 3f204589b8f573bc6a3640cd630155ce1ad889fe | [
"MIT"
] | null | null | null | tests/test_load.py | mdbloice/Labeller | 3f204589b8f573bc6a3640cd630155ce1ad889fe | [
"MIT"
] | null | null | null | def test_actions_setup():
print("All OK") | 22.5 | 25 | 0.688889 | 7 | 45 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 26 | 22.5 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0d40c1c8fc52a2517a9a558b0245407ed7780578 | 15 | py | Python | test.py | iAmCorey/CARP | 21af683fc8a8fb5161e721343f644afe94ed0a4f | [
"MIT"
] | null | null | null | test.py | iAmCorey/CARP | 21af683fc8a8fb5161e721343f644afe94ed0a4f | [
"MIT"
] | null | null | null | test.py | iAmCorey/CARP | 21af683fc8a8fb5161e721343f644afe94ed0a4f | [
"MIT"
] | null | null | null | import heapq
| 3.75 | 12 | 0.733333 | 2 | 15 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 15 | 3 | 13 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4a1878309c06b25919cadd211788d0490e4c242 | 60 | py | Python | tests/conftest.py | voegtlel/depot-manager-server | 1092d60e8d8d44dc3daa11aa0e30bb3294daa548 | [
"MIT"
] | null | null | null | tests/conftest.py | voegtlel/depot-manager-server | 1092d60e8d8d44dc3daa11aa0e30bb3294daa548 | [
"MIT"
] | null | null | null | tests/conftest.py | voegtlel/depot-manager-server | 1092d60e8d8d44dc3daa11aa0e30bb3294daa548 | [
"MIT"
] | null | null | null | from .motor_mock import motor_mock
motor_mock = motor_mock
| 15 | 34 | 0.833333 | 10 | 60 | 4.6 | 0.4 | 0.782609 | 0.608696 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 3 | 35 | 20 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b4d2b67776ad5001c96756a892e32bdaa8283b66 | 182 | py | Python | bindARP.py | GeraltShi/verilog-mii | c5be9dda939f53d5886abbcddca26ebc2af65947 | [
"Apache-2.0"
] | 3 | 2020-07-25T03:24:20.000Z | 2021-05-12T20:59:02.000Z | bindARP.py | GeraltShi/verilog-mii | c5be9dda939f53d5886abbcddca26ebc2af65947 | [
"Apache-2.0"
] | null | null | null | bindARP.py | GeraltShi/verilog-mii | c5be9dda939f53d5886abbcddca26ebc2af65947 | [
"Apache-2.0"
] | null | null | null | import os
os.system('echo Binding dev board mac to temp arp list...')
os.system('arp -s 192.168.3.123 00:00:e5:00:af:ec')
os.system('echo Binded 192.168.3.123 to 00:00:e5:00:af:ec') | 36.4 | 59 | 0.697802 | 42 | 182 | 3.02381 | 0.52381 | 0.188976 | 0.188976 | 0.15748 | 0.188976 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0.209877 | 0.10989 | 182 | 5 | 60 | 36.4 | 0.574074 | 0 | 0 | 0 | 0 | 0.5 | 0.710383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b4f753c5c28b7995e95b7ae41d409400e30d23d8 | 118 | py | Python | subsamplr/__init__.py | Living-with-machines/subsamplr | 3b5d07f86136e8e62628155a695c8f27c1dab8ef | [
"MIT"
] | 1 | 2022-01-13T11:38:09.000Z | 2022-01-13T11:38:09.000Z | subsamplr/__init__.py | Living-with-machines/subsamplr | 3b5d07f86136e8e62628155a695c8f27c1dab8ef | [
"MIT"
] | null | null | null | subsamplr/__init__.py | Living-with-machines/subsamplr | 3b5d07f86136e8e62628155a695c8f27c1dab8ef | [
"MIT"
] | 1 | 2022-03-30T14:44:35.000Z | 2022-03-30T14:44:35.000Z | from subsamplr.core.bin import BinCollection
from subsamplr.data.unit_generator import UnitGenerator, DbUnitGenerator
| 39.333333 | 72 | 0.881356 | 14 | 118 | 7.357143 | 0.785714 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076271 | 118 | 2 | 73 | 59 | 0.944954 | 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 |
2e98ba601169a47a0e6e20fd3a6f3b32f0a387ab | 9,840 | py | Python | tests/tests_f12020/test_session.py | f1laps/f1laps-telemetry | 0c264f9300d58397fe2f8b3018cd2e9151e28d08 | [
"MIT"
] | 3 | 2021-02-23T22:06:13.000Z | 2022-02-06T15:05:56.000Z | tests/tests_f12020/test_session.py | f1laps/f1laps-telemetry | 0c264f9300d58397fe2f8b3018cd2e9151e28d08 | [
"MIT"
] | null | null | null | tests/tests_f12020/test_session.py | f1laps/f1laps-telemetry | 0c264f9300d58397fe2f8b3018cd2e9151e28d08 | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import MagicMock, patch
import json
from receiver.f12020.session import Session
from receiver.f12020.api import F1LapsAPI
class SessionBaseTests(TestCase):
def test_empty_session_object(self):
session = Session(session_uid="vettel2021")
self.asser... | 58.922156 | 215 | 0.717581 | 1,368 | 9,840 | 4.788743 | 0.098684 | 0.05877 | 0.073882 | 0.043657 | 0.873302 | 0.869638 | 0.86109 | 0.843383 | 0.833308 | 0.796825 | 0 | 0.056081 | 0.17185 | 9,840 | 167 | 216 | 58.922156 | 0.747822 | 0.069919 | 0 | 0.492308 | 0 | 0 | 0.210901 | 0.065667 | 0 | 0 | 0 | 0 | 0.246154 | 1 | 0.115385 | false | 0 | 0.038462 | 0 | 0.169231 | 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 |
2eb3c2bef56b7e0e81db6ff4a7401792e67495c5 | 1,554 | py | Python | app/decorators/decorators.py | hoslack/Book-A-Meal_API | c67d19d4f2b785904ad0b8e2b2a7408e8f296a1f | [
"MIT"
] | 1 | 2018-12-14T11:11:01.000Z | 2018-12-14T11:11:01.000Z | app/decorators/decorators.py | hoslack/Book-A-Meal_API | c67d19d4f2b785904ad0b8e2b2a7408e8f296a1f | [
"MIT"
] | null | null | null | app/decorators/decorators.py | hoslack/Book-A-Meal_API | c67d19d4f2b785904ad0b8e2b2a7408e8f296a1f | [
"MIT"
] | 1 | 2018-05-06T21:43:19.000Z | 2018-05-06T21:43:19.000Z | from functools import wraps
from flask import request
from app.models.models import User
from app.custom_http_respones.responses import Success, Error
success = Success()
error = Error()
def token_required(f):
@wraps(f)
def decorated(*args, **kwargs):
access_token = None
if 'Authorization' in... | 33.782609 | 83 | 0.658301 | 197 | 1,554 | 5.040609 | 0.299492 | 0.054381 | 0.040282 | 0.020141 | 0.712991 | 0.712991 | 0.712991 | 0.712991 | 0.712991 | 0.712991 | 0 | 0.001709 | 0.247104 | 1,554 | 45 | 84 | 34.533333 | 0.847009 | 0 | 0 | 0.702703 | 0 | 0 | 0.136686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108108 | false | 0 | 0.108108 | 0 | 0.459459 | 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 |
2ee409320ffaf6b7cf4f7f851d0a321b2c4c7e0e | 182 | py | Python | tests/app/tests/__init__.py | modohash/django-hstore-flattenfields | 09626a638b9ef85d28fa5bfef1b040f9926bb95b | [
"BSD-3-Clause"
] | 5 | 2015-09-18T16:35:56.000Z | 2020-12-24T11:46:17.000Z | tests/app/tests/__init__.py | modohash/django-hstore-flattenfields | 09626a638b9ef85d28fa5bfef1b040f9926bb95b | [
"BSD-3-Clause"
] | 9 | 2020-02-11T22:01:06.000Z | 2021-06-10T17:46:04.000Z | tests/app/tests/__init__.py | modohash/django-hstore-flattenfields | 09626a638b9ef85d28fa5bfef1b040f9926bb95b | [
"BSD-3-Clause"
] | 2 | 2015-10-20T10:21:30.000Z | 2016-03-23T09:54:54.000Z | from test_types import *
from test_queryset import *
from test_model_fields import *
from test_forms import *
from test_dynamic_field_groups import *
from test_content_panes import * | 30.333333 | 39 | 0.840659 | 28 | 182 | 5.107143 | 0.464286 | 0.335664 | 0.48951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126374 | 182 | 6 | 40 | 30.333333 | 0.899371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2ee930632efcb6d2fc3f595f7af5e38c3e673d15 | 3,703 | py | Python | tests/utils/test_pao_manager.py | albgar/legacy_aiida_plugin | a375d357c88b30209bee9b341064f84a8ef244d6 | [
"MIT"
] | 1 | 2022-02-09T11:43:42.000Z | 2022-02-09T11:43:42.000Z | tests/utils/test_pao_manager.py | albgar/legacy_aiida_plugin | a375d357c88b30209bee9b341064f84a8ef244d6 | [
"MIT"
] | 12 | 2020-12-08T16:55:06.000Z | 2022-02-23T15:51:15.000Z | tests/utils/test_pao_manager.py | albgar/legacy_aiida_plugin | a375d357c88b30209bee9b341064f84a8ef244d6 | [
"MIT"
] | 1 | 2021-01-05T15:27:15.000Z | 2021-01-05T15:27:15.000Z | import pytest
from aiida_siesta.utils.pao_manager import PaoManager
def test_set_from_ion(generate_ion_data):
pao_man = PaoManager()
ion = generate_ion_data('Si')
pao_man.set_from_ion(ion)
assert pao_man.name == "Si"
assert pao_man._gen_dict is not None
assert pao_man._pol_dict == {3: {1: {... | 23.14375 | 79 | 0.618417 | 618 | 3,703 | 3.383495 | 0.097087 | 0.209469 | 0.037303 | 0.073649 | 0.85318 | 0.797226 | 0.774271 | 0.736968 | 0.672884 | 0.594452 | 0 | 0.080468 | 0.214691 | 3,703 | 159 | 80 | 23.289308 | 0.638583 | 0 | 0 | 0.572917 | 1 | 0 | 0.025399 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 1 | 0.09375 | false | 0 | 0.020833 | 0 | 0.114583 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3266ffe2efa39a78749902d8b2ac29dd8199706 | 57 | py | Python | cargo/utils/date/__init__.py | dalou/django-cargo | 633d051ca8647623adbab746c9da9153f46e1e8f | [
"BSD-3-Clause"
] | null | null | null | cargo/utils/date/__init__.py | dalou/django-cargo | 633d051ca8647623adbab746c9da9153f46e1e8f | [
"BSD-3-Clause"
] | null | null | null | cargo/utils/date/__init__.py | dalou/django-cargo | 633d051ca8647623adbab746c9da9153f46e1e8f | [
"BSD-3-Clause"
] | null | null | null | from .format import format_date_range, date_range_to_html | 57 | 57 | 0.894737 | 10 | 57 | 4.6 | 0.7 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.867925 | 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 |
d329b80e7e651e2423c88797010ebfa4437d8dc9 | 11,956 | py | Python | src/test/v8n-tests.py | nschejtman/py-v8n | 00210fe4a3dcb586b4551b5be8be0e82771063fb | [
"MIT"
] | null | null | null | src/test/v8n-tests.py | nschejtman/py-v8n | 00210fe4a3dcb586b4551b5be8be0e82771063fb | [
"MIT"
] | null | null | null | src/test/v8n-tests.py | nschejtman/py-v8n | 00210fe4a3dcb586b4551b5be8be0e82771063fb | [
"MIT"
] | null | null | null | import unittest
from array import array
from src.py_v8n import v8n
class TestV8N(unittest.TestCase):
def test_greater_than(self):
validator = v8n().greater_than(2)
self.assertTrue(validator.test(3))
self.assertFalse(validator.test(2))
self.assertFalse(validator.test(1))
def t... | 35.372781 | 99 | 0.62914 | 1,472 | 11,956 | 4.95856 | 0.059103 | 0.236882 | 0.259762 | 0.257022 | 0.801891 | 0.700781 | 0.660775 | 0.615975 | 0.590218 | 0.501028 | 0 | 0.033547 | 0.217129 | 11,956 | 337 | 100 | 35.477745 | 0.746261 | 0 | 0 | 0.446429 | 0 | 0 | 0.021161 | 0 | 0 | 0 | 0 | 0 | 0.564286 | 1 | 0.189286 | false | 0 | 0.010714 | 0 | 0.203571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6cce9e743d5610445b4ee865a2870ebd14c77d36 | 26 | py | Python | telegram_spiders/spider/ip_util.py | cysk003/telegram_spider | cc5c28487970969970b419510f76a1846bc0445d | [
"MIT"
] | 18 | 2019-12-06T03:12:38.000Z | 2022-03-31T01:47:40.000Z | telegram_spiders/spider/ip_util.py | cysk003/telegram_spider | cc5c28487970969970b419510f76a1846bc0445d | [
"MIT"
] | 2 | 2021-05-28T02:10:29.000Z | 2021-11-19T04:28:28.000Z | telegram_spiders/spider/ip_util.py | cysk003/telegram_spider | cc5c28487970969970b419510f76a1846bc0445d | [
"MIT"
] | 9 | 2020-11-02T16:59:50.000Z | 2022-03-31T01:47:41.000Z | def change_ip():
pass
| 8.666667 | 16 | 0.615385 | 4 | 26 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 26 | 2 | 17 | 13 | 0.789474 | 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 |
6cea70df0a5fb9ed476e9d89bce56112e833c306 | 3,657 | py | Python | recognition/arcface_torch/backbones/__init__.py | xpertdev/insightface | 78654944d332573715c04ab5956761f5215d0f51 | [
"MIT"
] | 1 | 2021-10-31T09:02:34.000Z | 2021-10-31T09:02:34.000Z | recognition/arcface_torch/backbones/__init__.py | xpertdev/insightface | 78654944d332573715c04ab5956761f5215d0f51 | [
"MIT"
] | null | null | null | recognition/arcface_torch/backbones/__init__.py | xpertdev/insightface | 78654944d332573715c04ab5956761f5215d0f51 | [
"MIT"
] | null | null | null | from .iresnet import iresnet18, iresnet34, iresnet50, iresnet100, iresnet200
from .mobilefacenet import get_mbf
def get_model(name, **kwargs):
# resnet
if name == "r18":
return iresnet18(False, **kwargs)
elif name == "r34":
return iresnet34(False, **kwargs)
elif name == "r50":
... | 42.523256 | 102 | 0.657369 | 493 | 3,657 | 4.630832 | 0.160243 | 0.139728 | 0.067017 | 0.078844 | 0.810775 | 0.78537 | 0.767411 | 0.767411 | 0.734122 | 0.734122 | 0 | 0.081216 | 0.235712 | 3,657 | 85 | 103 | 43.023529 | 0.735599 | 0.032814 | 0 | 0.536232 | 0 | 0 | 0.071995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014493 | false | 0 | 0.15942 | 0 | 0.391304 | 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 |
6cfaa8bf3f7cac7501cd2f4614482aa76c0c0221 | 38 | py | Python | auv_nav/__init__.py | ocean-perception/oplab_pipeline | 1138e716f43e015812e9eb44b542cf76544b6b98 | [
"BSD-3-Clause"
] | 5 | 2020-06-27T08:58:07.000Z | 2021-08-23T01:10:59.000Z | auv_nav/__init__.py | ocean-perception/oplab_pipeline | 1138e716f43e015812e9eb44b542cf76544b6b98 | [
"BSD-3-Clause"
] | 43 | 2020-06-01T08:28:34.000Z | 2022-03-17T12:20:39.000Z | auv_nav/__init__.py | ocean-perception/oplab_pipeline | 1138e716f43e015812e9eb44b542cf76544b6b98 | [
"BSD-3-Clause"
] | null | null | null | from auv_nav.sensors import * # noqa
| 19 | 37 | 0.736842 | 6 | 38 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.870968 | 0.105263 | 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 |
9f2c74257271a893cc9500c5cf5908b58084e09d | 56 | py | Python | temp.py | SoyM/Jiang | 7bf2a4efb27873c751b484f808996098517372b2 | [
"Apache-2.0"
] | null | null | null | temp.py | SoyM/Jiang | 7bf2a4efb27873c751b484f808996098517372b2 | [
"Apache-2.0"
] | null | null | null | temp.py | SoyM/Jiang | 7bf2a4efb27873c751b484f808996098517372b2 | [
"Apache-2.0"
] | null | null | null | from test import gettime
def jiang():
gettime()
| 9.333333 | 25 | 0.642857 | 7 | 56 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267857 | 56 | 5 | 26 | 11.2 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4c946c759e71316a2f48c5939a22685bf4629ac0 | 750 | py | Python | cohort_back/views.py | aphp/Cohort360-Back-end | 03184db6c4cb639955e2f3726c7e1b5cc7809f01 | [
"Apache-2.0"
] | 9 | 2020-11-04T13:08:47.000Z | 2022-02-03T17:04:05.000Z | cohort_back/views.py | aphp/Cohort360-Back-end | 03184db6c4cb639955e2f3726c7e1b5cc7809f01 | [
"Apache-2.0"
] | 7 | 2021-03-17T17:48:26.000Z | 2022-02-10T13:27:43.000Z | cohort_back/views.py | aphp/Cohort360-Back-end | 03184db6c4cb639955e2f3726c7e1b5cc7809f01 | [
"Apache-2.0"
] | 2 | 2020-11-23T10:42:40.000Z | 2022-02-03T17:04:09.000Z | from rest_framework import status
from rest_framework.response import Response
class NoDeleteViewSetMixin:
def destroy(self, request, *args, **kwargs):
return Response({"response": "request_query_snapshot manual deletion not possible"},
status=status.HTTP_400_BAD_REQUEST)
class N... | 35.714286 | 92 | 0.690667 | 82 | 750 | 6.097561 | 0.329268 | 0.066 | 0.09 | 0.126 | 0.702 | 0.702 | 0.702 | 0.702 | 0.622 | 0.622 | 0 | 0.015411 | 0.221333 | 750 | 20 | 93 | 37.5 | 0.840753 | 0 | 0 | 0.384615 | 0 | 0 | 0.231283 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.230769 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
4c989265ed8b6fb8a6f030e054d4378d912d4b31 | 142 | py | Python | wall/admin.py | Yar59/vshaurme | 8a970e847e0d5926cd33970be7d1b3c95a2a698a | [
"MIT"
] | 1 | 2021-02-28T18:15:23.000Z | 2021-02-28T18:15:23.000Z | wall/admin.py | Yar59/vshaurme | 8a970e847e0d5926cd33970be7d1b3c95a2a698a | [
"MIT"
] | 1 | 2021-05-26T16:53:05.000Z | 2021-05-26T16:53:10.000Z | wall/admin.py | Yar59/vshaurme | 8a970e847e0d5926cd33970be7d1b3c95a2a698a | [
"MIT"
] | 2 | 2021-05-05T10:24:31.000Z | 2022-02-05T08:56:59.000Z | from .models import Comment
from .models import Post
from django.contrib import admin
admin.site.register(Post)
admin.site.register(Comment)
| 20.285714 | 32 | 0.816901 | 21 | 142 | 5.52381 | 0.47619 | 0.172414 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 142 | 6 | 33 | 23.666667 | 0.913386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ca870cbc57fe721c615e91c5b4d89b2c913d9c6 | 1,292 | py | Python | tests/test_bifid.py | Malmosmo/pycipher2 | 9460cd4028dfe520f7bd4cc20f45116df3551495 | [
"MIT"
] | null | null | null | tests/test_bifid.py | Malmosmo/pycipher2 | 9460cd4028dfe520f7bd4cc20f45116df3551495 | [
"MIT"
] | null | null | null | tests/test_bifid.py | Malmosmo/pycipher2 | 9460cd4028dfe520f7bd4cc20f45116df3551495 | [
"MIT"
] | null | null | null | import unittest
from pycipher2 import Bifid
class TestBifid(unittest.TestCase):
def test_encrypt(self):
keys = (('phqgmeaylnofdxkrcvszwbuti', 4),
('ezrxdkuatgvncmiwhsqpyfblo', 5))
plaintext = ('abcdefghiiklmnopqrstuvwxyzabcdefghiiklmnopqrstuvwxyz',
'zyxwvutsr... | 36.914286 | 77 | 0.665635 | 79 | 1,292 | 10.759494 | 0.443038 | 0.016471 | 0.077647 | 0.08 | 0.727059 | 0.727059 | 0.727059 | 0.727059 | 0.727059 | 0.727059 | 0 | 0.005123 | 0.244582 | 1,292 | 34 | 78 | 38 | 0.865779 | 0 | 0 | 0.56 | 0 | 0 | 0.405573 | 0.399381 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.08 | false | 0 | 0.08 | 0 | 0.2 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
980263e65b76d249d6e5e40a2855e374644d3911 | 152 | py | Python | Imprimir mensagem.py | AnaCoutopc/Projeto-em-Python | d879a75e8b3dafd00fac9838280a0ab7941ae610 | [
"MIT"
] | null | null | null | Imprimir mensagem.py | AnaCoutopc/Projeto-em-Python | d879a75e8b3dafd00fac9838280a0ab7941ae610 | [
"MIT"
] | null | null | null | Imprimir mensagem.py | AnaCoutopc/Projeto-em-Python | d879a75e8b3dafd00fac9838280a0ab7941ae610 | [
"MIT"
] | null | null | null | #Imprimir mensagem#
print("a) Comentários na linguagem Python iniciam com #","\n b) Letras minúsculas e maiúsculas são diferentes na linguagem Python") | 76 | 131 | 0.782895 | 21 | 152 | 5.666667 | 0.857143 | 0.184874 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 152 | 2 | 131 | 76 | 0.901515 | 0.111842 | 0 | 0 | 0 | 0 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e22f833048fd1f877895e82b34eb82bf18eb0220 | 7,299 | py | Python | tests/test_cookie_on_redirects.py | HenryGessau/httpie | 85ba9ad8eaa718d7f9dbcb7129168d6a877f3d30 | [
"BSD-3-Clause"
] | 2 | 2022-01-31T18:18:58.000Z | 2022-01-31T18:26:35.000Z | tests/test_cookie_on_redirects.py | isidentical/httpie | 85ba9ad8eaa718d7f9dbcb7129168d6a877f3d30 | [
"BSD-3-Clause"
] | 2 | 2022-03-05T19:16:08.000Z | 2022-03-05T19:16:09.000Z | tests/test_cookie_on_redirects.py | isidentical/httpie | 85ba9ad8eaa718d7f9dbcb7129168d6a877f3d30 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from .utils import http
@pytest.fixture
def remote_httpbin(httpbin_with_chunked_support):
return httpbin_with_chunked_support
def _stringify(fixture):
return fixture + ''
@pytest.mark.parametrize('instance', [
pytest.lazy_fixture('httpbin'),
pytest.lazy_fixture('remote_httpbin'),
])
... | 27.752852 | 130 | 0.594465 | 842 | 7,299 | 4.963183 | 0.108076 | 0.043551 | 0.081359 | 0.069155 | 0.829864 | 0.798995 | 0.772673 | 0.740129 | 0.703996 | 0.684374 | 0 | 0 | 0.268393 | 7,299 | 262 | 131 | 27.858779 | 0.782584 | 0.151939 | 0 | 0.698492 | 0 | 0 | 0.223864 | 0.04789 | 0 | 0 | 0 | 0 | 0.055276 | 1 | 0.060302 | false | 0 | 0.01005 | 0.01005 | 0.080402 | 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 |
e2325bac714e4496c5423e9dac67391d70a8f6ea | 55 | py | Python | python/testData/refactoring/changeSignature/removeDefaultFromParam.before.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/changeSignature/removeDefaultFromParam.before.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/changeSignature/removeDefaultFromParam.before.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def bar(a, b = 2):
pass
bar(1, 3)
bar(1, b=3)
bar(1) | 9.166667 | 18 | 0.509091 | 15 | 55 | 1.866667 | 0.533333 | 0.428571 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.236364 | 55 | 6 | 19 | 9.166667 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e2341b4dbba5a0215d64d725aeba73e407828625 | 26,857 | py | Python | eZmaxApi/api/object_ezsignfoldersignerassociation_api.py | eZmaxinc/eZmax-SDK-python | 5b4d54b69db68aab8ee814a1e26460a0af03784e | [
"MIT"
] | null | null | null | eZmaxApi/api/object_ezsignfoldersignerassociation_api.py | eZmaxinc/eZmax-SDK-python | 5b4d54b69db68aab8ee814a1e26460a0af03784e | [
"MIT"
] | null | null | null | eZmaxApi/api/object_ezsignfoldersignerassociation_api.py | eZmaxinc/eZmax-SDK-python | 5b4d54b69db68aab8ee814a1e26460a0af03784e | [
"MIT"
] | null | null | null | """
eZmax API Definition
This API expose all the functionnalities for the eZmax and eZsign applications. # noqa: E501
The version of the OpenAPI document: 1.1.3
Contact: support-api@ezmax.ca
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from ... | 41.003053 | 273 | 0.570615 | 2,359 | 26,857 | 6.220008 | 0.101738 | 0.087235 | 0.092687 | 0.046889 | 0.848293 | 0.811968 | 0.781912 | 0.741702 | 0.725618 | 0.722756 | 0 | 0.006142 | 0.357374 | 26,857 | 654 | 274 | 41.065749 | 0.843792 | 0.362438 | 0 | 0.643868 | 0 | 0 | 0.273192 | 0.14094 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014151 | false | 0 | 0.023585 | 0 | 0.051887 | 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 |
e2624001d04b1d05edbefa6c0a1dfb5e979fa49a | 29 | py | Python | hello_world.py | arehman01/profiles-rest-api | e6bb319529c728bb78ba87fa370ef48b35b904ed | [
"MIT"
] | null | null | null | hello_world.py | arehman01/profiles-rest-api | e6bb319529c728bb78ba87fa370ef48b35b904ed | [
"MIT"
] | 7 | 2020-06-06T01:45:38.000Z | 2022-02-10T09:31:28.000Z | hello_world.py | arehman01/profiles-rest-api | e6bb319529c728bb78ba87fa370ef48b35b904ed | [
"MIT"
] | null | null | null | print('Hello World from VM!') | 29 | 29 | 0.724138 | 5 | 29 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 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 |
e26e689de9f2810ab4ea1a167041de8d86dcc137 | 8,794 | py | Python | coop_cms/tests/test_edition.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 3 | 2016-01-29T10:55:09.000Z | 2022-03-08T16:02:12.000Z | coop_cms/tests/test_edition.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 11 | 2015-03-07T17:30:24.000Z | 2016-07-13T09:40:43.000Z | coop_cms/tests/test_edition.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 5 | 2018-08-30T09:03:22.000Z | 2019-09-10T13:01:56.000Z | # -*- coding: utf-8 -*-
from django.template import Template, Context
from django.test.utils import override_settings
from model_mommy import mommy
from coop_cms.models import PieceOfHtml
from coop_cms.settings import get_article_class
from coop_cms.tests import BaseTestCase, BeautifulSoup, BaseArticleTest
class P... | 43.97 | 114 | 0.639982 | 1,073 | 8,794 | 5.012116 | 0.100652 | 0.1283 | 0.040164 | 0.044626 | 0.816846 | 0.806806 | 0.793418 | 0.793418 | 0.785422 | 0.764411 | 0 | 0.007855 | 0.218217 | 8,794 | 199 | 115 | 44.190955 | 0.7744 | 0.02695 | 0 | 0.69281 | 0 | 0.006536 | 0.203537 | 0.044619 | 0 | 0 | 0 | 0 | 0.379085 | 1 | 0.084967 | false | 0 | 0.039216 | 0 | 0.137255 | 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 |
e2752d7b1a1e2476a3ba87e83ef774e5f6cf6aa9 | 38 | py | Python | runner/__init__.py | Hyunmok-Park/GNN_hyunmok | 86e722ab9754b64819a3016f2530e3629a160565 | [
"MIT"
] | null | null | null | runner/__init__.py | Hyunmok-Park/GNN_hyunmok | 86e722ab9754b64819a3016f2530e3629a160565 | [
"MIT"
] | null | null | null | runner/__init__.py | Hyunmok-Park/GNN_hyunmok | 86e722ab9754b64819a3016f2530e3629a160565 | [
"MIT"
] | null | null | null | from runner.inference_runner import *
| 19 | 37 | 0.842105 | 5 | 38 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 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 |
e281a24722b5d7f0006337d562eacb7b2f4b00c3 | 6,333 | py | Python | src/pipeline/datasets/training_datasets.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | null | null | null | src/pipeline/datasets/training_datasets.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | 1 | 2021-12-12T22:13:58.000Z | 2021-12-17T22:49:39.000Z | src/pipeline/datasets/training_datasets.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | null | null | null | import pandas as pd
import pickle
from src.pipeline.config import Config
from src.pipeline.datasets.dataset import Dataset, SampledDataset
from src.pipeline.datasets.constants import DatasetType
from src.pipeline.datasets.paths import BANK_MARKETING_DATASET_PATH, GERMAN_CREDIT_DATASET_PATH, \
GERMAN_CREDIT_TRAINING... | 45.891304 | 115 | 0.732512 | 707 | 6,333 | 6.067893 | 0.101839 | 0.128438 | 0.106294 | 0.115618 | 0.886247 | 0.877156 | 0.831702 | 0.809557 | 0.767599 | 0.758741 | 0 | 0 | 0.184904 | 6,333 | 137 | 116 | 46.226277 | 0.831073 | 0 | 0 | 0.646018 | 0 | 0 | 0.001263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141593 | false | 0 | 0.053097 | 0.053097 | 0.336283 | 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 |
e2a2a8b9b6f4f132cd870dee484190b9bee967a6 | 76 | py | Python | models/modules/__init__.py | sadegh1404/Refinedet_saffran | 3c756fe16b75e83630553b64cb9cb53203b9cb81 | [
"MIT"
] | null | null | null | models/modules/__init__.py | sadegh1404/Refinedet_saffran | 3c756fe16b75e83630553b64cb9cb53203b9cb81 | [
"MIT"
] | null | null | null | models/modules/__init__.py | sadegh1404/Refinedet_saffran | 3c756fe16b75e83630553b64cb9cb53203b9cb81 | [
"MIT"
] | null | null | null | from .detection_block import DetectionBlock
from .tcb_block import TCBBlock
| 25.333333 | 43 | 0.868421 | 10 | 76 | 6.4 | 0.7 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 44 | 38 | 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 |
e2acee8ef0c9290d5b490425c38b18e7ac0b644c | 243 | py | Python | homepage/views.py | Endraraaz/Raj-Beverages | fcf767d70db4c7d368a2b3c62f3e48dbc089d9b4 | [
"Apache-2.0"
] | null | null | null | homepage/views.py | Endraraaz/Raj-Beverages | fcf767d70db4c7d368a2b3c62f3e48dbc089d9b4 | [
"Apache-2.0"
] | null | null | null | homepage/views.py | Endraraaz/Raj-Beverages | fcf767d70db4c7d368a2b3c62f3e48dbc089d9b4 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def home(request):
return render(request,'home.html')
def about(request):
return render(request,'about.html')
def store(request):
return render(request,'store.html') | 20.25 | 39 | 0.728395 | 33 | 243 | 5.363636 | 0.484848 | 0.220339 | 0.322034 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 243 | 12 | 40 | 20.25 | 0.855072 | 0.09465 | 0 | 0 | 0 | 0 | 0.13242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2c7d6ee7499b78d01d0394ca7b28092f0fae7c14 | 94 | py | Python | stdnet/contrib/monitor/application.py | TheProjecter/python-stdnet | 059be991bea40c0281dac12459539d0aa4397823 | [
"BSD-3-Clause"
] | null | null | null | stdnet/contrib/monitor/application.py | TheProjecter/python-stdnet | 059be991bea40c0281dac12459539d0aa4397823 | [
"BSD-3-Clause"
] | null | null | null | stdnet/contrib/monitor/application.py | TheProjecter/python-stdnet | 059be991bea40c0281dac12459539d0aa4397823 | [
"BSD-3-Clause"
] | null | null | null |
from djpcms.views import appsite
class StdNetApplication(appsite.ModelApplication):
pass | 18.8 | 50 | 0.819149 | 10 | 94 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 94 | 5 | 51 | 18.8 | 0.939024 | 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 |
e2f36286359fe1722b0cebecfba8e8250c4e7b59 | 23,016 | py | Python | nrewebservices/ldbws/webservice.py | grundleborg/nrewebservices | f8416afad160366c70b0579c37aa11fb175ccac1 | [
"BSD-2-Clause"
] | 15 | 2017-03-16T14:34:56.000Z | 2021-09-18T23:27:03.000Z | nrewebservices/ldbws/webservice.py | grundleborg/nrewebservices | f8416afad160366c70b0579c37aa11fb175ccac1 | [
"BSD-2-Clause"
] | 9 | 2016-09-09T13:43:32.000Z | 2018-12-30T19:55:09.000Z | nrewebservices/ldbws/webservice.py | grundleborg/nrewebservices | f8416afad160366c70b0579c37aa11fb175ccac1 | [
"BSD-2-Clause"
] | 3 | 2016-12-12T12:29:56.000Z | 2018-06-03T22:44:51.000Z | from .responses import NextDeparturesBoard, NextDeparturesBoardWithDetails
from .responses import ServiceDetails
from .responses import StationBoard, StationBoardWithDetails
from suds.client import Client
from suds.sax.element import Element
import logging
import os
log = logging.getLogger(__name__)
ACCESS_TOKEN_NAM... | 47.850312 | 163 | 0.653154 | 3,001 | 23,016 | 4.908364 | 0.103299 | 0.028513 | 0.014121 | 0.009776 | 0.834284 | 0.817244 | 0.803055 | 0.803055 | 0.798506 | 0.784929 | 0 | 0.011095 | 0.291189 | 23,016 | 480 | 164 | 47.95 | 0.891811 | 0.590937 | 0 | 0.636364 | 0 | 0.013986 | 0.189378 | 0 | 0 | 0 | 0 | 0.004167 | 0 | 1 | 0.062937 | false | 0 | 0.048951 | 0 | 0.174825 | 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 |
e2faa87b1eb6fc239edb8d9b114f3367fb49cc8f | 76 | py | Python | modules/__init__.py | fpthink/V2B | 87561d5cd00ebf31326e8364167a787681ded367 | [
"MIT"
] | 19 | 2021-11-09T03:56:00.000Z | 2022-03-11T11:06:39.000Z | modules/__init__.py | fpthink/V2B | 87561d5cd00ebf31326e8364167a787681ded367 | [
"MIT"
] | 5 | 2021-11-12T02:49:40.000Z | 2022-03-06T02:41:31.000Z | modules/__init__.py | fpthink/V2B | 87561d5cd00ebf31326e8364167a787681ded367 | [
"MIT"
] | null | null | null | from modules.se import SE3d
from modules.voxelization import Voxelization
| 25.333333 | 46 | 0.842105 | 10 | 76 | 6.4 | 0.6 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.131579 | 76 | 2 | 47 | 38 | 0.954545 | 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 |
3940b60aed5dbf6a6df42596cd57409af962fb7d | 34 | py | Python | value/primitives/is_equal.py | choleraehyq/yuujins | dff6f7def0081f24afac30a7c1e3ca6755a5ea3f | [
"MIT"
] | null | null | null | value/primitives/is_equal.py | choleraehyq/yuujins | dff6f7def0081f24afac30a7c1e3ca6755a5ea3f | [
"MIT"
] | null | null | null | value/primitives/is_equal.py | choleraehyq/yuujins | dff6f7def0081f24afac30a7c1e3ca6755a5ea3f | [
"MIT"
] | null | null | null | # TODO(Cholerae): Implement equal? | 34 | 34 | 0.764706 | 4 | 34 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.83871 | 0.941176 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
394ef68097d10ed1c0d63044237c785d6038e702 | 36 | py | Python | metric/modeling/heads/__init__.py | jireh-father/pymetric | bb3fd85f872da7bf867cb92b0eb17ad22cc5f96e | [
"MIT"
] | 62 | 2020-08-26T11:06:37.000Z | 2022-03-29T03:26:00.000Z | metric/modeling/heads/__init__.py | ym547559398/pycls | f7c4f354f87969142263c87e1fb33499b7b2d62a | [
"MIT"
] | 2 | 2021-06-02T10:19:53.000Z | 2021-12-06T05:41:23.000Z | metric/modeling/heads/__init__.py | ym547559398/pycls | f7c4f354f87969142263c87e1fb33499b7b2d62a | [
"MIT"
] | 11 | 2020-09-14T12:26:17.000Z | 2021-10-04T06:29:35.000Z | from .linear_head import LinearHead
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a30a420795a24eaa5ec5d6146213c0cb87935a5 | 12,663 | py | Python | depc/apiv1/variables.py | dingcycle/depc | 5ff0a5322684daf715e1171a259b9c643925cf73 | [
"BSD-3-Clause"
] | 77 | 2019-01-30T10:12:36.000Z | 2021-10-19T16:25:53.000Z | depc/apiv1/variables.py | dingcycle/depc | 5ff0a5322684daf715e1171a259b9c643925cf73 | [
"BSD-3-Clause"
] | 13 | 2019-02-20T16:57:57.000Z | 2022-03-01T23:10:26.000Z | depc/apiv1/variables.py | dingcycle/depc | 5ff0a5322684daf715e1171a259b9c643925cf73 | [
"BSD-3-Clause"
] | 10 | 2019-01-30T13:30:39.000Z | 2021-08-02T05:55:18.000Z | from flask import abort, jsonify
from flask_login import login_required
from depc.apiv1 import api, format_object, get_payload
from depc.controllers.variables import VariableController
from depc.users import TeamPermission
VISIBLE = ["name", "value", "type", "expression"]
def format_variable(source):
visible = ... | 25.530242 | 86 | 0.581458 | 1,390 | 12,663 | 5.002158 | 0.047482 | 0.086294 | 0.036819 | 0.037969 | 0.949662 | 0.943909 | 0.921473 | 0.911837 | 0.89314 | 0.869697 | 0 | 0.014253 | 0.28524 | 12,663 | 495 | 87 | 25.581818 | 0.75395 | 0.051726 | 0 | 0.677686 | 0 | 0 | 0.173242 | 0.08976 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057851 | false | 0 | 0.013774 | 0 | 0.129477 | 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 |
1a3e1e00be991e8ed3dee61a89a340126a6e98f5 | 113 | py | Python | transmission_influxdb/utils.py | cheeseandcereal/transmission_influxdb_exporter | 9d815648bdaeb7d73e4635a1e652bf669bce62fe | [
"Unlicense"
] | 7 | 2021-01-29T07:01:41.000Z | 2022-01-06T23:52:09.000Z | transmission_influxdb/utils.py | cheeseandcereal/transmission_influxdb_exporter | 9d815648bdaeb7d73e4635a1e652bf669bce62fe | [
"Unlicense"
] | 5 | 2021-01-29T18:27:02.000Z | 2022-03-08T18:29:36.000Z | transmission_influxdb/utils.py | cheeseandcereal/transmission_influxdb_exporter | 9d815648bdaeb7d73e4635a1e652bf669bce62fe | [
"Unlicense"
] | 1 | 2022-01-25T22:53:25.000Z | 2022-01-25T22:53:25.000Z | import datetime
def now() -> str:
return datetime.datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%S.%f") + "Z"
| 18.833333 | 76 | 0.60177 | 18 | 113 | 3.777778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 113 | 5 | 77 | 22.6 | 0.701031 | 0 | 0 | 0 | 0 | 0 | 0.185841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
1a49347844f964da5445e3393863be76ea404def | 104 | py | Python | cla_backend/libs/eligibility_calculator/exceptions.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 3 | 2019-10-02T15:31:03.000Z | 2022-01-13T10:15:53.000Z | cla_backend/libs/eligibility_calculator/exceptions.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 206 | 2015-01-02T16:50:11.000Z | 2022-02-16T20:16:05.000Z | cla_backend/libs/eligibility_calculator/exceptions.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 6 | 2015-03-23T23:08:42.000Z | 2022-02-15T17:04:44.000Z | class PropertyExpectedException(Exception):
pass
class InvalidStateException(Exception):
pass
| 14.857143 | 43 | 0.788462 | 8 | 104 | 10.25 | 0.625 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 6 | 44 | 17.333333 | 0.931818 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1aba405dec3a510354ecc6c20b9e5615a2b02b83 | 39 | py | Python | src/pyfuncs/__init__.py | fishs-x/pyfuncs | 91ab5206b9a47866b29631f5666079d1b680ce5b | [
"MIT"
] | null | null | null | src/pyfuncs/__init__.py | fishs-x/pyfuncs | 91ab5206b9a47866b29631f5666079d1b680ce5b | [
"MIT"
] | null | null | null | src/pyfuncs/__init__.py | fishs-x/pyfuncs | 91ab5206b9a47866b29631f5666079d1b680ce5b | [
"MIT"
] | null | null | null | from .chrome_cookie import ChromeCookie | 39 | 39 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1abe7dd7a7fd89379932e0f2a681f6ef008a19f9 | 154 | py | Python | seed.py | triethuynh2301/macronizer-project | b4cd234de603abc8f588c143ac1fdf56063390c5 | [
"MIT"
] | null | null | null | seed.py | triethuynh2301/macronizer-project | b4cd234de603abc8f588c143ac1fdf56063390c5 | [
"MIT"
] | null | null | null | seed.py | triethuynh2301/macronizer-project | b4cd234de603abc8f588c143ac1fdf56063390c5 | [
"MIT"
] | null | null | null | from macronizer_cores import create_app
from macronizer_cores import db
app = create_app()
with app.app_context():
db.drop_all()
db.create_all() | 19.25 | 39 | 0.75974 | 24 | 154 | 4.583333 | 0.458333 | 0.254545 | 0.345455 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 154 | 8 | 40 | 19.25 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
46c88531d954b7b83f8529bc290ec819eeb6e5f4 | 45 | py | Python | mundo 1/abc.py | jorgeduartejr/Ex-PYTHON | 266b656ad94065e77ece7cdbc9e09062c5933100 | [
"MIT"
] | null | null | null | mundo 1/abc.py | jorgeduartejr/Ex-PYTHON | 266b656ad94065e77ece7cdbc9e09062c5933100 | [
"MIT"
] | null | null | null | mundo 1/abc.py | jorgeduartejr/Ex-PYTHON | 266b656ad94065e77ece7cdbc9e09062c5933100 | [
"MIT"
] | null | null | null | a = 10
b = 20
c = a
b = c
a = b
print(a,b,c)
| 6.428571 | 12 | 0.444444 | 14 | 45 | 1.428571 | 0.428571 | 0.3 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0.355556 | 45 | 6 | 13 | 7.5 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
46e05c90910160b187ae4614946d7c0d6cea9a41 | 330 | py | Python | Gathered CTF writeups/ptr-yudai-writeups/2019/Facebook_CTF_2019/matryoshka/reverse.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:00:41.000Z | 2022-03-27T06:00:41.000Z | Gathered CTF writeups/ptr-yudai-writeups/2019/Facebook_CTF_2019/matryoshka/reverse.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | null | null | null | Gathered CTF writeups/ptr-yudai-writeups/2019/Facebook_CTF_2019/matryoshka/reverse.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:01:42.000Z | 2022-03-27T06:01:42.000Z | string = b"\xf6\x2c\x72\x1a\x03\x99\x0e\x78\xbd\x90\xe9\x68\xd0\x69\x37\x29"
string += b"\xf8\x12\xf4\xe5\xd0\xfb\xf3\x7e\x72\x61\x79\x19\xed\x44\x12\x52"
string += b"\xf5\xf9\xaa\x14\x36\x0d\x1f\xb2\x52\x6b\xf2\x6a\xda\x9d\xec\x3c"
x = b'\xda\x9d\xec\x3c'
last = b'\xda\x28\x5c\x11'
target = b'\x00\xb5\xb0\x2d'
memo... | 27.5 | 77 | 0.681818 | 74 | 330 | 3.040541 | 0.783784 | 0.093333 | 0.08 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2443 | 0.069697 | 330 | 11 | 78 | 30 | 0.488599 | 0 | 0 | 0 | 0 | 0.428571 | 0.729483 | 0.583587 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46f16cc4327009688cba83d95a20b7c286a29537 | 2,169 | py | Python | day19/solution.py | andrewyang96/AdventOfCode2017 | 665d7869fb8677f41c07ca2177b4fe3ea3356fec | [
"MIT"
] | null | null | null | day19/solution.py | andrewyang96/AdventOfCode2017 | 665d7869fb8677f41c07ca2177b4fe3ea3356fec | [
"MIT"
] | null | null | null | day19/solution.py | andrewyang96/AdventOfCode2017 | 665d7869fb8677f41c07ca2177b4fe3ea3356fec | [
"MIT"
] | null | null | null | from typing import List
def get_letters(grid: List[List[str]]) -> str:
i_dir, j_dir = 1, 0
i, j = 0, grid[0].index('|')
height, width = len(grid), len(grid[0])
letters_encontered = ''
while i >= 0 and i < height and j >= 0 and j < width:
char = grid[i][j]
if char == '+':
... | 35.557377 | 68 | 0.420931 | 306 | 2,169 | 2.849673 | 0.127451 | 0.073395 | 0.068807 | 0.091743 | 0.786697 | 0.786697 | 0.763761 | 0.763761 | 0.763761 | 0.763761 | 0 | 0.044888 | 0.445367 | 2,169 | 60 | 69 | 36.15 | 0.679967 | 0 | 0 | 0.827586 | 0 | 0 | 0.065468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.017241 | 0 | 0.086207 | 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 |
204d734355c47e853eb215432efa968dcd1a9ab2 | 17,454 | py | Python | tests/test_strategy.py | lohithn4/NowTrade | ac04499731130297135b3526325191bd2cb36343 | [
"MIT"
] | 87 | 2015-11-09T07:11:32.000Z | 2021-12-16T03:13:09.000Z | tests/test_strategy.py | lohithn4/NowTrade | ac04499731130297135b3526325191bd2cb36343 | [
"MIT"
] | 14 | 2015-09-28T18:24:18.000Z | 2020-04-22T15:17:26.000Z | tests/test_strategy.py | lohithn4/NowTrade | ac04499731130297135b3526325191bd2cb36343 | [
"MIT"
] | 34 | 2015-10-12T13:26:09.000Z | 2022-01-15T20:16:23.000Z | import unittest
import datetime
import numpy as np
import pandas as pd
from testing_data import DummyDataConnection
from nowtrade import symbol_list, data_connection, dataset, technical_indicator, \
criteria, criteria_group, trading_profile, trading_amount, \
trading_fee, repor... | 72.423237 | 696 | 0.726195 | 2,240 | 17,454 | 5.398214 | 0.094643 | 0.102961 | 0.082947 | 0.107344 | 0.787545 | 0.751902 | 0.73958 | 0.709395 | 0.708237 | 0.704681 | 0 | 0.048982 | 0.144952 | 17,454 | 240 | 697 | 72.725 | 0.761257 | 0.001547 | 0 | 0.550218 | 0 | 0.0131 | 0.152884 | 0.040689 | 0 | 0 | 0 | 0 | 0.462882 | 1 | 0.039301 | false | 0 | 0.034935 | 0 | 0.078603 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
64c0936b28219955645584623eac7973a94811eb | 6,974 | py | Python | imbd/imbd_data_gen.py | worldwidekatie/GPT3_Synthetic | 722ceb0b931873ea1b835dd291028d25b775adeb | [
"MIT"
] | 1 | 2022-02-28T19:49:20.000Z | 2022-02-28T19:49:20.000Z | imbd/imbd_data_gen.py | worldwidekatie/GPT3_Synthetic | 722ceb0b931873ea1b835dd291028d25b775adeb | [
"MIT"
] | null | null | null | imbd/imbd_data_gen.py | worldwidekatie/GPT3_Synthetic | 722ceb0b931873ea1b835dd291028d25b775adeb | [
"MIT"
] | 1 | 2022-03-06T06:40:42.000Z | 2022-03-06T06:40:42.000Z | import pandas as pd
import openai
openai.api_key = ""
pos_ = pd.read_csv("imbd/data/pos_seed_05.csv")
pos_df = list(pos_['text'])
neg_ = pd.read_csv("imbd/data/neg_seed_05.csv")
neg_df = list(neg_['text'])
def gen_data(df_column, sentiment, shots, engine="ada"):
data = []
for i in range(len(df_column)):
... | 39.851429 | 216 | 0.639805 | 1,078 | 6,974 | 3.95269 | 0.079777 | 0.05257 | 0.08261 | 0.091528 | 0.925135 | 0.917156 | 0.917156 | 0.917156 | 0.917156 | 0.914809 | 0 | 0.031681 | 0.189848 | 6,974 | 175 | 217 | 39.851429 | 0.722478 | 0.022512 | 0 | 0.436508 | 0 | 0.039683 | 0.330689 | 0.151315 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007937 | false | 0 | 0.015873 | 0 | 0.031746 | 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 |
64d2d5323e772185375bcaaae1150b7ea851cb54 | 44 | py | Python | fsfc/text/__init__.py | Ryuusei-Aika/fsfc | d26abe6376f119e6097fb009c570d48eba7036e3 | [
"MIT"
] | 64 | 2018-04-21T08:16:39.000Z | 2022-03-20T19:38:08.000Z | fsfc/text/__init__.py | Ryuusei-Aika/fsfc | d26abe6376f119e6097fb009c570d48eba7036e3 | [
"MIT"
] | 5 | 2020-10-08T07:34:45.000Z | 2021-07-09T15:07:26.000Z | fsfc/text/__init__.py | Ryuusei-Aika/fsfc | d26abe6376f119e6097fb009c570d48eba7036e3 | [
"MIT"
] | 23 | 2018-12-01T19:16:49.000Z | 2021-12-27T01:20:10.000Z | from .CHIR import CHIR
from .FTC import FTC
| 14.666667 | 22 | 0.772727 | 8 | 44 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3f5bc33632bca93238c74e4067114e70088f6e6 | 1,445 | py | Python | IKtest.py | wsdsgqc/Robot_Code | c825963f53cadca552abf7a0dc3058b87c05b96f | [
"MIT"
] | null | null | null | IKtest.py | wsdsgqc/Robot_Code | c825963f53cadca552abf7a0dc3058b87c05b96f | [
"MIT"
] | null | null | null | IKtest.py | wsdsgqc/Robot_Code | c825963f53cadca552abf7a0dc3058b87c05b96f | [
"MIT"
] | null | null | null | #Ik test
import math
def rad2deg(rad):
return rad*(180/math.pi)
def deg2rad(deg):
return deg*(math.pi/180)
#方案一
# def Ik(L1,L2,x0,y0,select): #这个x y 是正常的坐标系 不是y=-y那种坐标系
# if L1+L2 < math.sqrt(x0**2+y0**2):
# return 0,0
# seta2 = math.acos(((x0**2+y0**2)-L1**2-L2**2)/(2*L1*L2)) #acos返回-pi/2 到 p... | 33.604651 | 82 | 0.570242 | 252 | 1,445 | 3.269841 | 0.178571 | 0.109223 | 0.048544 | 0.058252 | 0.743932 | 0.743932 | 0.743932 | 0.743932 | 0.743932 | 0.743932 | 0 | 0.131763 | 0.20692 | 1,445 | 43 | 83 | 33.604651 | 0.58726 | 0.746713 | 0 | 0 | 0 | 0 | 0.069277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.1 | 0.2 | 0.5 | 0.4 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
b610a74ee76db6eaef1b37b5185686f929679fec | 44 | py | Python | src/slizzy/util/logging/__init__.py | matheushsouza/slizzy | f224b8e4621d11031315da9178202781b4a2dcef | [
"BSD-3-Clause"
] | 1 | 2019-12-24T03:08:12.000Z | 2019-12-24T03:08:12.000Z | src/slizzy/util/logging/__init__.py | matheushsouza/slizzy | f224b8e4621d11031315da9178202781b4a2dcef | [
"BSD-3-Clause"
] | null | null | null | src/slizzy/util/logging/__init__.py | matheushsouza/slizzy | f224b8e4621d11031315da9178202781b4a2dcef | [
"BSD-3-Clause"
] | null | null | null | from . import level
from .log import Logger
| 14.666667 | 23 | 0.772727 | 7 | 44 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 24 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
375a387eb2731232c1246782e1f04f6c14a6677a | 36 | py | Python | bms_receiver/DataAnalyzers/__init__.py | clean-code-craft-tcq-1/stream-bms-data-Aruna1396 | bf7c185966faeb8ff9ac98fe91e99d4f8152fef3 | [
"MIT"
] | null | null | null | bms_receiver/DataAnalyzers/__init__.py | clean-code-craft-tcq-1/stream-bms-data-Aruna1396 | bf7c185966faeb8ff9ac98fe91e99d4f8152fef3 | [
"MIT"
] | null | null | null | bms_receiver/DataAnalyzers/__init__.py | clean-code-craft-tcq-1/stream-bms-data-Aruna1396 | bf7c185966faeb8ff9ac98fe91e99d4f8152fef3 | [
"MIT"
] | null | null | null | from .SimpleStats import SimpleStats | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3760052fe4a3e1bc0ad3ae68811e02551538a63f | 76,698 | py | Python | cottonformation/res/dynamodb.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/dynamodb.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/dynamodb.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropGlobalTablePointInTimeRecoverySpecification(Property):
"""
AWS Ob... | 67.278947 | 290 | 0.785001 | 7,447 | 76,698 | 7.997851 | 0.021217 | 0.08677 | 0.040631 | 0.062794 | 0.927149 | 0.92369 | 0.910527 | 0.864053 | 0.864053 | 0.862626 | 0 | 0.000014 | 0.096169 | 76,698 | 1,139 | 291 | 67.338016 | 0.859164 | 0.335706 | 0 | 0.591572 | 0 | 0 | 0.129979 | 0.102496 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008104 | false | 0 | 0.006483 | 0 | 0.272285 | 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 |
80822d7fcdfb43b469257d10b1f813cb7b9a3b65 | 4,188 | py | Python | extra_formulas.py | MasterOdin/LogicalEquivalency | c1f4e053c4c18b8fc23a5842944bbd9ef9f37843 | [
"MIT"
] | 1 | 2018-02-02T17:11:24.000Z | 2018-02-02T17:11:24.000Z | extra_formulas.py | MasterOdin/LogicalEquivalency | c1f4e053c4c18b8fc23a5842944bbd9ef9f37843 | [
"MIT"
] | null | null | null | extra_formulas.py | MasterOdin/LogicalEquivalency | c1f4e053c4c18b8fc23a5842944bbd9ef9f37843 | [
"MIT"
] | 1 | 2019-01-16T21:11:52.000Z | 2019-01-16T21:11:52.000Z | # -*- coding: utf-8 -*-
"""
These should be moved into the main forseti package most likely as they are useful
in a variety of contexts
"""
from copy import deepcopy
from forseti.formula import Formula, LogicalOperator, And, Or
class GeneralizedAnd(LogicalOperator):
def __init__(self, *kwargs):
if len(kwa... | 26.506329 | 101 | 0.53319 | 482 | 4,188 | 4.377593 | 0.192946 | 0.068246 | 0.022749 | 0.032227 | 0.734123 | 0.706161 | 0.682464 | 0.660664 | 0.660664 | 0.660664 | 0 | 0.004845 | 0.35936 | 4,188 | 157 | 102 | 26.675159 | 0.781215 | 0.031041 | 0 | 0.739496 | 0 | 0 | 0.052346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.226891 | false | 0.05042 | 0.016807 | 0.10084 | 0.504202 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
038a0d3e57850b44ff44040c7b63002338994e42 | 106 | py | Python | matrixslow/core/__init__.py | nuaalixu/MatrixSlow | 490b7114130919b3d0f0320018308313951f8478 | [
"MIT"
] | null | null | null | matrixslow/core/__init__.py | nuaalixu/MatrixSlow | 490b7114130919b3d0f0320018308313951f8478 | [
"MIT"
] | null | null | null | matrixslow/core/__init__.py | nuaalixu/MatrixSlow | 490b7114130919b3d0f0320018308313951f8478 | [
"MIT"
] | 1 | 2020-11-19T11:22:39.000Z | 2020-11-19T11:22:39.000Z | """matrixslow核心组件包,包括图、节点等数据结构实现。
"""
from .graph import *
from .node import *
from .core import *
| 15.142857 | 34 | 0.660377 | 12 | 106 | 5.833333 | 0.666667 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198113 | 106 | 6 | 35 | 17.666667 | 0.823529 | 0.283019 | 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 |
0399525beaef8390ca9bfcaee0ede3e8750a413a | 92 | py | Python | tests/refactory_core_test.py | lmmx/refactory | 39e97528733f4cb2607a89184e3b0049f9784547 | [
"MIT"
] | null | null | null | tests/refactory_core_test.py | lmmx/refactory | 39e97528733f4cb2607a89184e3b0049f9784547 | [
"MIT"
] | 1 | 2022-02-07T22:18:30.000Z | 2022-02-07T22:18:30.000Z | tests/refactory_core_test.py | lmmx/refactory | 39e97528733f4cb2607a89184e3b0049f9784547 | [
"MIT"
] | null | null | null | import refactory
def test_load_package():
assert refactory.__package__ == "refactory"
| 15.333333 | 47 | 0.76087 | 10 | 92 | 6.4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 92 | 5 | 48 | 18.4 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 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 |
2082024de4ecadbbb7d6b4d0ab1d354b08375354 | 164 | py | Python | barriers/models/action_plans.py | uktrade/market-access-python-frontend | aee60bb5380754e67c0804ab57cd2fca731405f7 | [
"MIT"
] | 1 | 2021-12-15T04:14:03.000Z | 2021-12-15T04:14:03.000Z | barriers/models/action_plans.py | uktrade/market-access-python-frontend | aee60bb5380754e67c0804ab57cd2fca731405f7 | [
"MIT"
] | 19 | 2019-12-11T11:32:47.000Z | 2022-03-29T15:40:57.000Z | barriers/models/action_plans.py | uktrade/market-access-python-frontend | aee60bb5380754e67c0804ab57cd2fca731405f7 | [
"MIT"
] | 2 | 2021-02-09T09:38:45.000Z | 2021-03-29T19:07:09.000Z | from utils.models import APIModel
class ActionPlan(APIModel):
pass
class ActionPlanMilestone(APIModel):
pass
class ActionPlanTask(APIModel):
pass
| 11.714286 | 36 | 0.75 | 17 | 164 | 7.235294 | 0.588235 | 0.292683 | 0.276423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189024 | 164 | 13 | 37 | 12.615385 | 0.924812 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
20869d5b17a6934e33176a3fff91dab3d1243691 | 96 | py | Python | venv/lib/python3.8/site-packages/clikit/ui/help/command_help.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/clikit/ui/help/command_help.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/clikit/ui/help/command_help.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/5d/37/2a/9aceabfba3094717e9c19c50ac189d6fcc0080af051555369f2515d465 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 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 |
20b98a753c34a9063bc8934204563dd61efb0acd | 95 | py | Python | gigasecond/gigasecond.py | Macelai/exercism-python | 26cd711d8c646311b72e067cbe3010a316fc6788 | [
"MIT"
] | null | null | null | gigasecond/gigasecond.py | Macelai/exercism-python | 26cd711d8c646311b72e067cbe3010a316fc6788 | [
"MIT"
] | null | null | null | gigasecond/gigasecond.py | Macelai/exercism-python | 26cd711d8c646311b72e067cbe3010a316fc6788 | [
"MIT"
] | null | null | null | from datetime import *
def add_gigasecond(date):
return date + timedelta(seconds = 10**9)
| 19 | 44 | 0.715789 | 13 | 95 | 5.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.178947 | 95 | 4 | 45 | 23.75 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
20f4b9b401ac8c61879b6c021637f693e3771b1c | 1,937 | py | Python | code-guessing/maze2.py | osmarks/random-stuff | 78602eabd69aebfa061cf201a4d44555fa9a36e7 | [
"MIT"
] | 4 | 2021-02-04T15:09:14.000Z | 2021-12-19T10:54:59.000Z | code-guessing/maze2.py | osmarks/random-stuff | 78602eabd69aebfa061cf201a4d44555fa9a36e7 | [
"MIT"
] | null | null | null | code-guessing/maze2.py | osmarks/random-stuff | 78602eabd69aebfa061cf201a4d44555fa9a36e7 | [
"MIT"
] | 1 | 2021-12-19T22:05:07.000Z | 2021-12-19T22:05:07.000Z | #!/usr/bin/env python3
T=10
def R(m,p=[0]):
*_,c=p
if c==99:return p
a=[c+T,c-T]
if e:=c%T:a+=~-c,
if e!=9:a+=-~c,
for b in a:
if 99>=b>=0and b not in p and m[b]==0and (r:=R(m,p+[b])):return r
def entry(m):
p=R(m)
return [{-T:1,1:2,T:3,-1:4}[y-x] for x,y in zip(p,p[1:])]
def divide_chunks(l, n):
# looping... | 20.606383 | 88 | 0.510067 | 694 | 1,937 | 1.417867 | 0.102305 | 0.495935 | 0.570122 | 0.581301 | 0.558943 | 0.558943 | 0.558943 | 0.552846 | 0.542683 | 0.519309 | 0 | 0.313668 | 0.116159 | 1,937 | 94 | 89 | 20.606383 | 0.260514 | 0.022199 | 0 | 0.402439 | 0 | 0 | 0.016385 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 1 | 0.073171 | false | 0 | 0 | 0.012195 | 0.085366 | 0.085366 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
457ebfeb1967ecbf01d3be0acdef5ebaae04734f | 2,403 | py | Python | tests/zeus/api/resources/test_hook_details.py | conrad-kronos/zeus | ddb6bc313e51fb22222b30822b82d76f37dbbd35 | [
"Apache-2.0"
] | 221 | 2017-07-03T17:29:21.000Z | 2021-12-07T19:56:59.000Z | tests/zeus/api/resources/test_hook_details.py | conrad-kronos/zeus | ddb6bc313e51fb22222b30822b82d76f37dbbd35 | [
"Apache-2.0"
] | 298 | 2017-07-04T18:08:14.000Z | 2022-03-03T22:24:51.000Z | tests/zeus/api/resources/test_hook_details.py | conrad-kronos/zeus | ddb6bc313e51fb22222b30822b82d76f37dbbd35 | [
"Apache-2.0"
] | 24 | 2017-07-15T13:46:45.000Z | 2020-08-16T16:14:45.000Z | from zeus.models import Hook
def test_hook_details(
client, default_login, default_hook, default_repo, default_repo_access
):
resp = client.get("/api/hooks/{}".format(default_hook.id))
assert resp.status_code == 200
data = resp.json()
assert data["id"] == str(default_hook.id)
def test_cannot_loa... | 33.375 | 83 | 0.712859 | 332 | 2,403 | 4.894578 | 0.174699 | 0.115077 | 0.072 | 0.107692 | 0.844923 | 0.843077 | 0.811077 | 0.791385 | 0.747077 | 0.747077 | 0 | 0.010304 | 0.151893 | 2,403 | 71 | 84 | 33.84507 | 0.787046 | 0.028714 | 0 | 0.622642 | 0 | 0 | 0.098199 | 0 | 0 | 0 | 0 | 0 | 0.301887 | 1 | 0.132075 | false | 0 | 0.018868 | 0 | 0.150943 | 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 |
457fa6e6e26aed3375e9a66a485edd56f5899a4b | 104 | py | Python | pyramid_storage/interfaces.py | timgates42/pyramid_storage | a45e54beb52957e1e9d0177ad5a225815df827c1 | [
"BSD-3-Clause"
] | 14 | 2015-02-13T03:12:56.000Z | 2020-07-21T21:53:05.000Z | pyramid_storage/interfaces.py | timgates42/pyramid_storage | a45e54beb52957e1e9d0177ad5a225815df827c1 | [
"BSD-3-Clause"
] | 26 | 2015-05-16T17:45:09.000Z | 2021-04-21T12:14:38.000Z | pyramid_storage/interfaces.py | timgates42/pyramid_storage | a45e54beb52957e1e9d0177ad5a225815df827c1 | [
"BSD-3-Clause"
] | 8 | 2015-11-11T00:31:30.000Z | 2020-12-31T20:34:18.000Z | # -*- coding: utf-8 -*-
from zope.interface import Interface
class IFileStorage(Interface):
pass
| 13 | 36 | 0.692308 | 12 | 104 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.182692 | 104 | 7 | 37 | 14.857143 | 0.835294 | 0.201923 | 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 |
45826142911a4cf072fdfde214f6519b37e70bc7 | 14,035 | py | Python | merge.py | walker-liu/- | 3e5fde10e925cf75386c6b61012de495ea9cb945 | [
"Apache-2.0"
] | null | null | null | merge.py | walker-liu/- | 3e5fde10e925cf75386c6b61012de495ea9cb945 | [
"Apache-2.0"
] | null | null | null | merge.py | walker-liu/- | 3e5fde10e925cf75386c6b61012de495ea9cb945 | [
"Apache-2.0"
] | null | null | null | #encoding:utf-8
import xlrd
import xlsxwriter
import xlwt
'''首先读取所要处理的文件,其中源文件分为两个,一个是单义词,'''
def readfirst(src1):
data=xlrd.open_workbook(src1)
table=data.sheets()[2]
nrows=table.nrows
ncols=table.ncols
#此处设置一个字典,用来存储读取的文件内容,其中以词语为键值,以词语的具体内容为value
src1_dict={}
for i in range(1,nrows):
... | 33.101415 | 189 | 0.536658 | 2,408 | 14,035 | 2.939784 | 0.081811 | 0.090408 | 0.11188 | 0.05933 | 0.759006 | 0.735415 | 0.724114 | 0.711541 | 0.685831 | 0.685831 | 0 | 0.083649 | 0.304952 | 14,035 | 423 | 190 | 33.179669 | 0.64203 | 0.044745 | 0 | 0.727034 | 0 | 0 | 0.01644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.005249 | 0.010499 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
458c692003e7f6e5e14c7cb2ca8117bdec035a0c | 168 | py | Python | lang/py/src/avro/tether/__init__.py | liuyu81/avro | 66212c498bea5dfd6ec990528870535547bc9623 | [
"Apache-2.0"
] | 21 | 2015-09-11T19:52:23.000Z | 2021-12-17T02:50:47.000Z | lang/py/src/avro/tether/__init__.py | liuyu81/avro | 66212c498bea5dfd6ec990528870535547bc9623 | [
"Apache-2.0"
] | 10 | 2017-08-28T13:53:41.000Z | 2022-03-30T18:14:02.000Z | lang/py/src/avro/tether/__init__.py | liuyu81/avro | 66212c498bea5dfd6ec990528870535547bc9623 | [
"Apache-2.0"
] | 16 | 2015-12-21T10:30:24.000Z | 2022-02-27T13:19:43.000Z | from .util import *
from .tether_task import *
from .tether_task_runner import *
__all__=util.__all__
__all__+=tether_task.__all__
__all__+=tether_task_runner.__all__
| 21 | 35 | 0.821429 | 24 | 168 | 4.5 | 0.291667 | 0.37037 | 0.296296 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 168 | 7 | 36 | 24 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
45b3f3e30e2100bb0bd881de90858b5639f946f4 | 463 | py | Python | base_models/noop_features.py | apardyl/ProtoPNet | b2bbd7284bfc84a37385c0e975408c68cdf64205 | [
"MIT"
] | 1 | 2021-03-20T13:57:03.000Z | 2021-03-20T13:57:03.000Z | base_models/noop_features.py | apardyl/ProtoPNet | b2bbd7284bfc84a37385c0e975408c68cdf64205 | [
"MIT"
] | null | null | null | base_models/noop_features.py | apardyl/ProtoPNet | b2bbd7284bfc84a37385c0e975408c68cdf64205 | [
"MIT"
] | null | null | null | import torch.nn as nn
class NoopModel(nn.Module):
def forward(self, x):
return x
def conv_info(self):
# resnet18
return ([7, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3],
[2, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1],
[3, 1, 1, 1, 1, 1, 1... | 25.722222 | 71 | 0.477322 | 88 | 463 | 2.477273 | 0.318182 | 0.229358 | 0.275229 | 0.275229 | 0.224771 | 0.224771 | 0.224771 | 0.224771 | 0.224771 | 0.224771 | 0 | 0.18241 | 0.336933 | 463 | 17 | 72 | 27.235294 | 0.527687 | 0.017279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b306c871eacf0f8a31c2651d3cea768a3568ba0c | 17 | py | Python | Sorter.py | LittleEndu/Codeforces | 82c49b10702c58bc5ce062801d740a2f5f600062 | [
"MIT"
] | null | null | null | Sorter.py | LittleEndu/Codeforces | 82c49b10702c58bc5ce062801d740a2f5f600062 | [
"MIT"
] | null | null | null | Sorter.py | LittleEndu/Codeforces | 82c49b10702c58bc5ce062801d740a2f5f600062 | [
"MIT"
] | null | null | null | # TODO: Implement | 17 | 17 | 0.764706 | 2 | 17 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 17 | 1 | 17 | 17 | 0.866667 | 0.882353 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b32f254a6e31060eb6fa6c56e46ffc49b2848768 | 258 | py | Python | certifico/handlers/index.py | pantuza/certifico | 1fc6bbaf6a8ae68e9f64a2d3515ba049630c58eb | [
"MIT"
] | null | null | null | certifico/handlers/index.py | pantuza/certifico | 1fc6bbaf6a8ae68e9f64a2d3515ba049630c58eb | [
"MIT"
] | null | null | null | certifico/handlers/index.py | pantuza/certifico | 1fc6bbaf6a8ae68e9f64a2d3515ba049630c58eb | [
"MIT"
] | 2 | 2018-09-27T06:19:28.000Z | 2019-07-15T15:04:46.000Z | from flask import render_template
from certifico import app
from certifico.forms import CertificateForm
def index():
return render_template('index.html', form=CertificateForm(),
analytics=app.config.get('GOOGLE_ANALYTICS'))
| 25.8 | 72 | 0.717054 | 29 | 258 | 6.275862 | 0.62069 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20155 | 258 | 9 | 73 | 28.666667 | 0.883495 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.