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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
164186968126650e981cf4a1fc8e2a0129ab2f23 | 8,150 | py | Python | checkio/Elementary/Absolute sorting/test_absolute_sorting.py | KenMercusLai/checkio | c7702221e1bc0b0b30425859ffa6c09722949d65 | [
"MIT"
] | 39 | 2015-02-09T13:24:12.000Z | 2019-05-16T17:51:19.000Z | checkio/Elementary/Absolute sorting/test_absolute_sorting.py | KenMercusLai/checkio | c7702221e1bc0b0b30425859ffa6c09722949d65 | [
"MIT"
] | 1 | 2019-10-21T16:18:14.000Z | 2019-10-21T16:18:14.000Z | checkio/Elementary/Absolute sorting/test_absolute_sorting.py | KenMercusLai/checkio | c7702221e1bc0b0b30425859ffa6c09722949d65 | [
"MIT"
] | 22 | 2015-01-30T18:00:05.000Z | 2021-05-22T02:57:23.000Z | import unittest
from absolute_sorting import checkio
class Tests(unittest.TestCase):
def test_Edge(self):
assert checkio([0]) == [0]
assert checkio(
[
-99,
-98,
-97,
-96,
-95,
-94,
... | 20.897436 | 87 | 0.181472 | 625 | 8,150 | 2.36 | 0.1856 | 0.220339 | 0.061017 | 0.008136 | 0.031864 | 0.028475 | 0.028475 | 0.028475 | 0.028475 | 0.028475 | 0 | 0.404397 | 0.687485 | 8,150 | 389 | 88 | 20.951157 | 0.174715 | 0 | 0 | 0.835938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065104 | 1 | 0.007813 | false | 0 | 0.005208 | 0 | 0.015625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
16508c8dd820f5a9182bb4c37aedb83205fcf908 | 72 | py | Python | src/tequila/tools/__init__.py | kottmanj/tequila | 07156342d82893249747994c2ebcc528eddc9934 | [
"MIT"
] | 214 | 2020-04-29T13:50:58.000Z | 2021-10-17T09:36:42.000Z | src/tequila/tools/__init__.py | kottmanj/tequila | 07156342d82893249747994c2ebcc528eddc9934 | [
"MIT"
] | 28 | 2020-06-02T01:30:25.000Z | 2021-09-23T14:36:37.000Z | src/tequila/tools/__init__.py | kottmanj/tequila | 07156342d82893249747994c2ebcc528eddc9934 | [
"MIT"
] | 62 | 2020-04-29T16:07:44.000Z | 2021-10-18T18:44:36.000Z | from tequila.tools.convenience import number_to_string, list_assignment
| 36 | 71 | 0.888889 | 10 | 72 | 6.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 72 | 1 | 72 | 72 | 0.910448 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
168370403d3e897b5915d6605790d49c68689cdc | 202 | py | Python | dffml/skel/source/setup.py | Patil2099/dffml | 9310c1ad55a7339e5d15786d4b9d890283f52ec2 | [
"MIT"
] | null | null | null | dffml/skel/source/setup.py | Patil2099/dffml | 9310c1ad55a7339e5d15786d4b9d890283f52ec2 | [
"MIT"
] | 1 | 2019-10-17T17:34:14.000Z | 2019-10-17T17:34:14.000Z | dffml/skel/source/setup.py | raghav-ys/dffml | 2a23f55acaac69c7a1840260b0ede694216c2007 | [
"MIT"
] | null | null | null | from setuptools import setup
from dffml_setup_common import SETUP_KWARGS, IMPORT_NAME
SETUP_KWARGS["entry_points"] = {
"dffml.source": [f"misc = {IMPORT_NAME}.misc:Misc"]
}
setup(**SETUP_KWARGS)
| 20.2 | 56 | 0.752475 | 28 | 202 | 5.142857 | 0.464286 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123762 | 202 | 9 | 57 | 22.444444 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0.267327 | 0.113861 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
16b53aff440c253bc717361e93e458d4188e5fbf | 300 | py | Python | ark_nlp/processor/vocab/__init__.py | confstantine/nlp-task | cb152e885bc6f6f1243a12ad90b1c715eb548736 | [
"Apache-2.0"
] | 1 | 2021-12-27T04:48:40.000Z | 2021-12-27T04:48:40.000Z | ark_nlp/processor/vocab/__init__.py | yubuyuabc/ark-nlp | 165d35cfacd7476791c0aeba19bf43f4f8079553 | [
"Apache-2.0"
] | null | null | null | ark_nlp/processor/vocab/__init__.py | yubuyuabc/ark-nlp | 165d35cfacd7476791c0aeba19bf43f4f8079553 | [
"Apache-2.0"
] | 1 | 2021-12-27T04:49:35.000Z | 2021-12-27T04:49:35.000Z | from ark_nlp.processor.vocab._vocab import Vocab
from ark_nlp.processor.vocab.word_vocab import WordVocab
from ark_nlp.processor.vocab.char_vocab import CharVocab
from ark_nlp.processor.vocab.label_vocab import LabelVocab
from ark_nlp.processor.vocab.transfomer_vocab import TransfomerWithBlankVocab
| 50 | 77 | 0.883333 | 44 | 300 | 5.795455 | 0.318182 | 0.137255 | 0.196078 | 0.372549 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 300 | 5 | 78 | 60 | 0.910714 | 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 | 0 | 0 | 0 | 5 |
16c305f78db5d10fa33f586faab61607661e8619 | 20 | py | Python | esp32/tools/fw_version.py | peterson79/pycom-micropython-sigfox | 3f93fc2c02567c96f18cff4af9125db8fd7a6fb4 | [
"MIT"
] | 37 | 2017-12-07T15:49:29.000Z | 2022-03-16T16:01:38.000Z | esp32/tools/fw_version.py | peterson79/pycom-micropython-sigfox | 3f93fc2c02567c96f18cff4af9125db8fd7a6fb4 | [
"MIT"
] | 2 | 2018-04-05T13:51:44.000Z | 2019-11-25T17:05:39.000Z | esp32/tools/fw_version.py | peterson79/pycom-micropython-sigfox | 3f93fc2c02567c96f18cff4af9125db8fd7a6fb4 | [
"MIT"
] | 12 | 2018-01-25T21:48:58.000Z | 2020-09-04T21:25:31.000Z | number = '1.7.9.b1'
| 10 | 19 | 0.55 | 5 | 20 | 2.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.15 | 20 | 1 | 20 | 20 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
16cf6aa81fe31bf9b654c172cae009f446fc244e | 69 | py | Python | tests/__main__.py | internetimagery/pydump | e545fd1b584bc605ebba5dd960eaedb4077dd12c | [
"MIT"
] | 2 | 2019-08-28T13:20:48.000Z | 2020-06-09T20:12:57.000Z | tests/__main__.py | internetimagery/pydump | e545fd1b584bc605ebba5dd960eaedb4077dd12c | [
"MIT"
] | null | null | null | tests/__main__.py | internetimagery/pydump | e545fd1b584bc605ebba5dd960eaedb4077dd12c | [
"MIT"
] | null | null | null |
import unittest
from test_pickle import TestPickle
unittest.main()
| 11.5 | 34 | 0.826087 | 9 | 69 | 6.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 5 | 35 | 13.8 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 5 |
bc59f2ecbe549bc6666559b70178328df7ee1823 | 13,185 | py | Python | config.py | malekijoo/Visual-question-answering | 99a257365829b8ed99713ebc80b551d231785640 | [
"MIT"
] | null | null | null | config.py | malekijoo/Visual-question-answering | 99a257365829b8ed99713ebc80b551d231785640 | [
"MIT"
] | null | null | null | config.py | malekijoo/Visual-question-answering | 99a257365829b8ed99713ebc80b551d231785640 | [
"MIT"
] | null | null | null |
"""
Basic Configurations
"""
def configs():
configs_dict = {}
configs_dict['cdsign'] = '/'
configs_dict['path_root'] = './VQA_Project/'
configs_dict['path_datasets'] ... | 99.135338 | 270 | 0.55146 | 1,272 | 13,185 | 5.448899 | 0.06761 | 0.279325 | 0.254942 | 0.145434 | 0.901602 | 0.8638 | 0.758621 | 0.632088 | 0.52056 | 0.487231 | 0 | 0.027119 | 0.174972 | 13,185 | 133 | 271 | 99.135338 | 0.610039 | 0.011377 | 0 | 0 | 0 | 0 | 0.434016 | 0.047096 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010417 | false | 0 | 0 | 0 | 0.020833 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bc83739433eedd56bdee5109870bbd2125952f47 | 7,424 | py | Python | platform/software/test/test_stream.py | toshihikoyanase/connect | 4fc12971d33405b711f6ab296a8156980cf961da | [
"Apache-2.0"
] | null | null | null | platform/software/test/test_stream.py | toshihikoyanase/connect | 4fc12971d33405b711f6ab296a8156980cf961da | [
"Apache-2.0"
] | null | null | null | platform/software/test/test_stream.py | toshihikoyanase/connect | 4fc12971d33405b711f6ab296a8156980cf961da | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from Stream import *
from nose.tools import raises
from nose.tools import set_trace
class TestThreadLocalStream:
@classmethod
def setup_class(cls):
cls.data = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
cls.event = 100
@classmethod
def teardown_class(cls):
... | 23.345912 | 107 | 0.601697 | 925 | 7,424 | 4.728649 | 0.084324 | 0.093736 | 0.041152 | 0.038866 | 0.837906 | 0.801555 | 0.736854 | 0.6893 | 0.631001 | 0.599223 | 0 | 0.022589 | 0.290409 | 7,424 | 317 | 108 | 23.419558 | 0.807707 | 0.00431 | 0 | 0.76699 | 0 | 0 | 0.002436 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 1 | 0.237864 | false | 0.019417 | 0.014563 | 0 | 0.271845 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bc91ff5562d74da238734fc00c22e64bd20359ac | 43 | py | Python | PersonDetection/main.py | AnwarAsif/TinyML | 8148ef135cf9be55dda0b8aa57d4ab3a0545a25b | [
"MIT"
] | null | null | null | PersonDetection/main.py | AnwarAsif/TinyML | 8148ef135cf9be55dda0b8aa57d4ab3a0545a25b | [
"MIT"
] | null | null | null | PersonDetection/main.py | AnwarAsif/TinyML | 8148ef135cf9be55dda0b8aa57d4ab3a0545a25b | [
"MIT"
] | null | null | null |
if __name__ == '__main__':
print('Main')
| 10.75 | 26 | 0.627907 | 5 | 43 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 3 | 27 | 14.333333 | 0.527778 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
bc925dde8d2760f44b3fdd64a487c1ccff8aadd3 | 4,451 | py | Python | test/frame/noise/test_action_space_noise.py | lethaiq/machin | 7873cada457328952310394afeedcad4bb6a7c4a | [
"MIT"
] | null | null | null | test/frame/noise/test_action_space_noise.py | lethaiq/machin | 7873cada457328952310394afeedcad4bb6a7c4a | [
"MIT"
] | null | null | null | test/frame/noise/test_action_space_noise.py | lethaiq/machin | 7873cada457328952310394afeedcad4bb6a7c4a | [
"MIT"
] | null | null | null | from machin.frame.noise.action_space_noise import (
add_normal_noise_to_action,
add_clipped_normal_noise_to_action,
add_uniform_noise_to_action,
add_ou_noise_to_action
)
import pytest
import torch as t
class TestAllActionSpaceNoise(object):
########################################################... | 44.51 | 80 | 0.513368 | 507 | 4,451 | 4.175542 | 0.104536 | 0.102504 | 0.190364 | 0.152574 | 0.923004 | 0.870572 | 0.751063 | 0.689655 | 0.666037 | 0.603684 | 0 | 0.027786 | 0.256122 | 4,451 | 99 | 81 | 44.959596 | 0.611598 | 0.033251 | 0 | 0.467532 | 0 | 0 | 0.071467 | 0.033853 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051948 | false | 0 | 0.038961 | 0 | 0.155844 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bcb078377cfa16139397766e386adc8ed0e6d996 | 60 | py | Python | src/tatch/game/visual/TatchCanvas.py | gabrieljw1/Tatch | 986d58e34ffafeaafa3fd697a7f37889be763ea2 | [
"MIT"
] | null | null | null | src/tatch/game/visual/TatchCanvas.py | gabrieljw1/Tatch | 986d58e34ffafeaafa3fd697a7f37889be763ea2 | [
"MIT"
] | null | null | null | src/tatch/game/visual/TatchCanvas.py | gabrieljw1/Tatch | 986d58e34ffafeaafa3fd697a7f37889be763ea2 | [
"MIT"
] | null | null | null | import tkinter as tk
class TatchCanvas(tk.Canvas):
pass | 15 | 29 | 0.75 | 9 | 60 | 5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 4 | 30 | 15 | 0.918367 | 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 | 0 | 0 | 0 | 5 |
bcb487f17abd212ddb57c9c01c316cec69391cf2 | 6,558 | py | Python | zerver/webhooks/semaphore/tests.py | kinster007/clone | 21cc608b5c960e035ef6b3387efeefbb65cb638b | [
"Apache-2.0"
] | null | null | null | zerver/webhooks/semaphore/tests.py | kinster007/clone | 21cc608b5c960e035ef6b3387efeefbb65cb638b | [
"Apache-2.0"
] | null | null | null | zerver/webhooks/semaphore/tests.py | kinster007/clone | 21cc608b5c960e035ef6b3387efeefbb65cb638b | [
"Apache-2.0"
] | null | null | null | import ujson
from unittest.mock import patch
from zerver.lib.test_classes import WebhookTestCase
class SemaphoreHookTests(WebhookTestCase):
STREAM_NAME = 'semaphore'
URL_TEMPLATE = "/api/v1/external/semaphore?stream={stream}&api_key={api_key}"
# Messages are generated by Semaphore on git push. The subjec... | 53.754098 | 187 | 0.693657 | 726 | 6,558 | 6.056474 | 0.209366 | 0.053218 | 0.03275 | 0.042984 | 0.802365 | 0.765977 | 0.717535 | 0.702524 | 0.696384 | 0.696384 | 0 | 0.048898 | 0.176731 | 6,558 | 121 | 188 | 54.198347 | 0.765512 | 0.054285 | 0 | 0.66 | 0 | 0.14 | 0.49588 | 0.071417 | 0 | 0 | 0 | 0 | 0 | 1 | 0.11 | false | 0.02 | 0.03 | 0.01 | 0.19 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 5 |
bcf805adc272ab32c3d292d88853d0cc2a9c2dbc | 128 | py | Python | src/apps/room/admin.py | echocharlie9/Discord-Clone | 8026208de20308e2998cdfc798d56b2a4b376a74 | [
"MIT"
] | 1 | 2020-07-19T03:01:43.000Z | 2020-07-19T03:01:43.000Z | src/apps/room/admin.py | colbytanderson/Discord-Clone | 8026208de20308e2998cdfc798d56b2a4b376a74 | [
"MIT"
] | 4 | 2021-06-10T19:56:06.000Z | 2022-02-27T08:33:51.000Z | src/apps/room/admin.py | echocharlie9/Discord-Clone | 8026208de20308e2998cdfc798d56b2a4b376a74 | [
"MIT"
] | null | null | null | from django.contrib import admin
from apps.room.main.models import Room
# Register your models here.
admin.site.register(Room) | 21.333333 | 38 | 0.804688 | 20 | 128 | 5.15 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 128 | 6 | 39 | 21.333333 | 0.911504 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 5 |
4c53b35851cb4eedfc16c2f0440e622dd887bf51 | 153 | py | Python | src/testcase/GN_F1331/input_case/GN_F1331_Compatibility.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | 28 | 2017-11-10T00:19:16.000Z | 2022-02-19T16:42:05.000Z | src/testcase/GN_F1331/input_case/GN_F1331_Compatibility.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | null | null | null | src/testcase/GN_F1331/input_case/GN_F1331_Compatibility.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | 23 | 2017-08-22T06:12:19.000Z | 2021-09-18T05:45:41.000Z | # coding=utf-8
try:
from src.testcase.GN_F1331.case.GN_F1331_COMPATIBILITY.GN_F1331_COMPATIBILITY_001 import *
except ImportError as e:
print(e)
| 25.5 | 94 | 0.784314 | 24 | 153 | 4.75 | 0.75 | 0.184211 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 0.130719 | 153 | 5 | 95 | 30.6 | 0.736842 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 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 | 0 | 0 | 0 | 5 |
4c5d187745038f967334c9349439d497888090f2 | 129 | py | Python | ros_ws/src/baxter_tools/src/baxter_tools/__init__.py | mesneym/Baxter-Arm-PP | fdbf86309bc64c31af105daa026b2f8519710129 | [
"MIT"
] | null | null | null | ros_ws/src/baxter_tools/src/baxter_tools/__init__.py | mesneym/Baxter-Arm-PP | fdbf86309bc64c31af105daa026b2f8519710129 | [
"MIT"
] | null | null | null | ros_ws/src/baxter_tools/src/baxter_tools/__init__.py | mesneym/Baxter-Arm-PP | fdbf86309bc64c31af105daa026b2f8519710129 | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:fd4eb1dc05ba0dc5d43a10ca3175dbb0d8fb93b3b612dcb03f9da06ea9eca5f5
size 1588
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308943 | 0.046512 | 129 | 3 | 76 | 43 | 0.617886 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4c70454dcbb97a66e1d8c1bf76c5c3fbf994c647 | 189 | py | Python | components/discovery/combiner/admin.py | aitmlouk/fedn | d6b663554492464e4eaed391a7048ec09cb11f25 | [
"Apache-2.0"
] | null | null | null | components/discovery/combiner/admin.py | aitmlouk/fedn | d6b663554492464e4eaed391a7048ec09cb11f25 | [
"Apache-2.0"
] | null | null | null | components/discovery/combiner/admin.py | aitmlouk/fedn | d6b663554492464e4eaed391a7048ec09cb11f25 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Combiner, CombinerConfiguration
admin.site.register(Combiner)
admin.site.register(CombinerConfiguration)
| 23.625 | 51 | 0.835979 | 22 | 189 | 7.181818 | 0.545455 | 0.113924 | 0.21519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 189 | 7 | 52 | 27 | 0.923977 | 0.137566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 5 |
4c76b73c43e02cbbc020b64ee2399e57d39c2cf2 | 203 | py | Python | src/main/python/text/__init__.py | photowey/pytest-dynamic-framework | 4e7b6d74594191006b50831d42e7aae21e154d56 | [
"Apache-2.0"
] | null | null | null | src/main/python/text/__init__.py | photowey/pytest-dynamic-framework | 4e7b6d74594191006b50831d42e7aae21e154d56 | [
"Apache-2.0"
] | null | null | null | src/main/python/text/__init__.py | photowey/pytest-dynamic-framework | 4e7b6d74594191006b50831d42e7aae21e154d56 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
# ---------------------------------------------
# @file __init__.py
# @description __init__.py
# @author WcJun
# @date 2021/08/02
# ---------------------------------------------
| 20.3 | 47 | 0.334975 | 15 | 203 | 4 | 0.866667 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049724 | 0.108374 | 203 | 9 | 48 | 22.555556 | 0.281768 | 0.916256 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d5d81eeeab3c46daccada97cc32db735028b5ebd | 225 | py | Python | catalyst_rl/dl/experiment/__init__.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 46 | 2020-03-27T20:12:32.000Z | 2021-11-21T19:08:51.000Z | catalyst_rl/dl/experiment/__init__.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 2 | 2020-04-06T10:43:04.000Z | 2020-07-01T18:26:10.000Z | catalyst_rl/dl/experiment/__init__.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 5 | 2020-04-17T14:09:53.000Z | 2021-05-10T08:58:29.000Z | # flake8: noqa
from .base import BaseExperiment
from .config import ConfigExperiment
from .gan import GanExperiment
from .supervised import SupervisedExperiment
from catalyst_rl.contrib.dl.experiment import * # isort:skip
| 25 | 61 | 0.822222 | 27 | 225 | 6.814815 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 0.124444 | 225 | 8 | 62 | 28.125 | 0.928934 | 0.102222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9109508f66e43a86f0ec95d8b0d9163f6fff7881 | 152 | py | Python | samples/python/library/azure/functions_extensions/kafka/__init__.py | JoeRobich/azure-functions-kafka-extension | 252da3329ee70f3cc5ecc18cce22f3df94894f4e | [
"MIT"
] | null | null | null | samples/python/library/azure/functions_extensions/kafka/__init__.py | JoeRobich/azure-functions-kafka-extension | 252da3329ee70f3cc5ecc18cce22f3df94894f4e | [
"MIT"
] | null | null | null | samples/python/library/azure/functions_extensions/kafka/__init__.py | JoeRobich/azure-functions-kafka-extension | 252da3329ee70f3cc5ecc18cce22f3df94894f4e | [
"MIT"
] | null | null | null | from .kafka import KafkaEvent, KafkaConverter, KafkaTriggerConverter
__all__ = (
'KafkaEvent',
'KafkaConverter',
'KafkaTriggerConverter'
)
| 19 | 68 | 0.736842 | 10 | 152 | 10.8 | 0.7 | 0.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 152 | 7 | 69 | 21.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.296053 | 0.138158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
91149660e0ed8cd88b2d16af6e6db8e3f43c7bba | 52 | py | Python | nrn_impl/__init__.py | Silmathoron/elif-madexp | 2555b3078c4106f79e3477a818a8f9d4ca76eccf | [
"BSD-2-Clause"
] | null | null | null | nrn_impl/__init__.py | Silmathoron/elif-madexp | 2555b3078c4106f79e3477a818a8f9d4ca76eccf | [
"BSD-2-Clause"
] | null | null | null | nrn_impl/__init__.py | Silmathoron/elif-madexp | 2555b3078c4106f79e3477a818a8f9d4ca76eccf | [
"BSD-2-Clause"
] | 1 | 2022-02-04T16:34:47.000Z | 2022-02-04T16:34:47.000Z | from .neuron_models import eLIFNeuron, mAdExpNeuron
| 26 | 51 | 0.865385 | 6 | 52 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 52 | 1 | 52 | 52 | 0.93617 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
912f839234bd9700fd5a8e6a3ccc8c3893db289d | 50 | py | Python | src/dask_remote/deployment/__init__.py | octoenergy/dask-remote | 5367ac3db8d245d52b9573b6ac38da71f9e94879 | [
"MIT"
] | 4 | 2020-09-28T10:51:36.000Z | 2021-02-10T15:22:29.000Z | src/dask_remote/deployment/__init__.py | octoenergy/dask-remote | 5367ac3db8d245d52b9573b6ac38da71f9e94879 | [
"MIT"
] | 6 | 2020-01-09T15:27:18.000Z | 2020-07-09T20:44:56.000Z | src/dask_remote/deployment/__init__.py | octoenergy/dask-remote | 5367ac3db8d245d52b9573b6ac38da71f9e94879 | [
"MIT"
] | 2 | 2020-06-19T09:09:11.000Z | 2020-09-26T15:37:37.000Z | from .deployment import DeploymentCluster # noqa
| 25 | 49 | 0.82 | 5 | 50 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 1 | 50 | 50 | 0.953488 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e675c3da947e153a8aac6d65615c4be01154b48d | 116 | py | Python | reviewboard/notifications/evolutions/__init__.py | seekingalpha/reviewboard | 191bf21347f4272fad6ce6366d2e110025c62fd1 | [
"MIT"
] | 921 | 2015-01-01T15:26:28.000Z | 2022-03-29T11:30:38.000Z | reviewboard/notifications/evolutions/__init__.py | seekingalpha/reviewboard | 191bf21347f4272fad6ce6366d2e110025c62fd1 | [
"MIT"
] | 5 | 2015-03-17T18:57:47.000Z | 2020-10-02T13:24:31.000Z | reviewboard/notifications/evolutions/__init__.py | seekingalpha/reviewboard | 191bf21347f4272fad6ce6366d2e110025c62fd1 | [
"MIT"
] | 285 | 2015-01-12T06:24:36.000Z | 2022-03-29T11:03:50.000Z | SEQUENCE = [
'webhooktarget_extra_state',
'webhooktarget_extra_data_null',
'manytomanyfield_rm_null',
]
| 19.333333 | 36 | 0.732759 | 11 | 116 | 7.090909 | 0.727273 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 116 | 5 | 37 | 23.2 | 0.804124 | 0 | 0 | 0 | 0 | 0 | 0.663793 | 0.663793 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e69b3d4c8d609439ad415095d8aa4e251906a973 | 737 | py | Python | f_dyn_rk2.py | lirun-sat/spacerobot_dynamics | aaefb578cff122c2bfdf506d6a999ded26a48aae | [
"MIT"
] | null | null | null | f_dyn_rk2.py | lirun-sat/spacerobot_dynamics | aaefb578cff122c2bfdf506d6a999ded26a48aae | [
"MIT"
] | null | null | null | f_dyn_rk2.py | lirun-sat/spacerobot_dynamics | aaefb578cff122c2bfdf506d6a999ded26a48aae | [
"MIT"
] | null | null | null | import numpy as np
from Get_global_value import BB
from Get_global_value import S0
from Get_global_value import SS
from Get_global_value import SE
from Get_global_value import J_type
from Get_global_value import Qi
from Get_global_value import Qe
from Get_global_value import c0
from Get_global_value import cc
... | 33.5 | 84 | 0.785617 | 140 | 737 | 3.842857 | 0.342857 | 0.208178 | 0.386617 | 0.535316 | 0.795539 | 0.081784 | 0.081784 | 0.081784 | 0.081784 | 0.081784 | 0 | 0.031046 | 0.169607 | 737 | 21 | 85 | 35.095238 | 0.848039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.894737 | 0 | 0.947368 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e6ea5168d95286f4a788020b5131a2aa2e26c984 | 340 | py | Python | models/wallet.py | tusharmakkar08/oyster-management-system | 2e9b2796d6a2b4187008514663d8c2b78b4b6156 | [
"MIT"
] | 1 | 2019-10-04T08:18:37.000Z | 2019-10-04T08:18:37.000Z | models/wallet.py | tusharmakkar08/oyster-management-system | 2e9b2796d6a2b4187008514663d8c2b78b4b6156 | [
"MIT"
] | null | null | null | models/wallet.py | tusharmakkar08/oyster-management-system | 2e9b2796d6a2b4187008514663d8c2b78b4b6156 | [
"MIT"
] | null | null | null | # __author__ = 'tusharmakkar08'
class Wallet:
def __init__(self):
self.amount = 0 # TODO: get init amount on the basis of user name from db
def load_money(self, amount):
self.amount += amount
def deduct_money(self, amount):
self.amount -= amount
def get_money(self):
... | 21.25 | 82 | 0.635294 | 45 | 340 | 4.555556 | 0.511111 | 0.292683 | 0.146341 | 0.185366 | 0.331707 | 0.331707 | 0.331707 | 0 | 0 | 0 | 0 | 0.012195 | 0.276471 | 340 | 15 | 83 | 22.666667 | 0.821138 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
fc02aa502d5488897f8a7eea4acd5146d4255405 | 63 | py | Python | yamlreader/__init__.py | Jendker/yamlreader | 30440d3cc6632dfb571c7deccff158f58e2540b6 | [
"Apache-2.0"
] | null | null | null | yamlreader/__init__.py | Jendker/yamlreader | 30440d3cc6632dfb571c7deccff158f58e2540b6 | [
"Apache-2.0"
] | null | null | null | yamlreader/__init__.py | Jendker/yamlreader | 30440d3cc6632dfb571c7deccff158f58e2540b6 | [
"Apache-2.0"
] | null | null | null | from .yamlreader import data_merge, yaml_load, YamlReaderError
| 31.5 | 62 | 0.857143 | 8 | 63 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 63 | 1 | 63 | 63 | 0.912281 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fc5915cfeac8d40808bef2973558dccd8299dc55 | 38 | py | Python | trials.py | meles36/pytorch-tutorial | 2e448a3eb74d313cf4deae8dfd58c7d3e31c1f29 | [
"MIT"
] | null | null | null | trials.py | meles36/pytorch-tutorial | 2e448a3eb74d313cf4deae8dfd58c7d3e31c1f29 | [
"MIT"
] | null | null | null | trials.py | meles36/pytorch-tutorial | 2e448a3eb74d313cf4deae8dfd58c7d3e31c1f29 | [
"MIT"
] | null | null | null | print("Trial succeeded")
print(1 + 3)
| 12.666667 | 24 | 0.684211 | 6 | 38 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.131579 | 38 | 2 | 25 | 19 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.394737 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fc85c9af3500a20bf1a7863ff99a1ea1ee42a419 | 113 | py | Python | igit/models/blob.py | jmosbacher/igit | 62b613fd5bed28b603160dc998c02106ee4fdef0 | [
"Apache-2.0"
] | null | null | null | igit/models/blob.py | jmosbacher/igit | 62b613fd5bed28b603160dc998c02106ee4fdef0 | [
"Apache-2.0"
] | 107 | 2021-06-28T02:10:11.000Z | 2022-03-30T02:38:03.000Z | igit/models/blob.py | jmosbacher/igit | 62b613fd5bed28b603160dc998c02106ee4fdef0 | [
"Apache-2.0"
] | null | null | null | from typing import ClassVar
from .base import BaseObject
class Blob(BaseObject):
otype: ClassVar = "blob"
| 14.125 | 28 | 0.743363 | 14 | 113 | 6 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185841 | 113 | 7 | 29 | 16.142857 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fc94280d4dcb1d4b03eb1d01a4932716fc57261b | 75 | py | Python | Unit 07 Lists and Functions/01 Lists and Functions/Introdution to using Functions with Lists/8-Passing a list to a Function.py | lpython2006e/python-samples | b94ba67ce0d7798ecf796dadae206aa75da58301 | [
"MIT"
] | null | null | null | Unit 07 Lists and Functions/01 Lists and Functions/Introdution to using Functions with Lists/8-Passing a list to a Function.py | lpython2006e/python-samples | b94ba67ce0d7798ecf796dadae206aa75da58301 | [
"MIT"
] | null | null | null | Unit 07 Lists and Functions/01 Lists and Functions/Introdution to using Functions with Lists/8-Passing a list to a Function.py | lpython2006e/python-samples | b94ba67ce0d7798ecf796dadae206aa75da58301 | [
"MIT"
] | null | null | null | def list_function(x):
return x
n = [3, 5, 7]
print(list_function(n))
| 10.714286 | 23 | 0.626667 | 14 | 75 | 3.214286 | 0.714286 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.213333 | 75 | 6 | 24 | 12.5 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
fc9b27ca237ef83328fb2e806643eb14e746363f | 28 | py | Python | custom_components/pfsense_fauxapi/pfsense_fauxapi/__version__.py | meichthys/pfSense-FauxAPI-ha | 2888ec4f6247999dcb0887e4a8314d0dbbbf0de7 | [
"MIT"
] | null | null | null | custom_components/pfsense_fauxapi/pfsense_fauxapi/__version__.py | meichthys/pfSense-FauxAPI-ha | 2888ec4f6247999dcb0887e4a8314d0dbbbf0de7 | [
"MIT"
] | null | null | null | custom_components/pfsense_fauxapi/pfsense_fauxapi/__version__.py | meichthys/pfSense-FauxAPI-ha | 2888ec4f6247999dcb0887e4a8314d0dbbbf0de7 | [
"MIT"
] | null | null | null |
__version__ = '20201114.2' | 14 | 26 | 0.714286 | 3 | 28 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0.142857 | 28 | 2 | 26 | 14 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fca24122c82cb5d37f5407bf61a35e2c0d376ebe | 135 | py | Python | arviz/stats/__init__.py | AustinRochford/arviz | 5f202d9530abffc69dcc1b0d4bfc0dc34fe58e13 | [
"Apache-2.0"
] | null | null | null | arviz/stats/__init__.py | AustinRochford/arviz | 5f202d9530abffc69dcc1b0d4bfc0dc34fe58e13 | [
"Apache-2.0"
] | null | null | null | arviz/stats/__init__.py | AustinRochford/arviz | 5f202d9530abffc69dcc1b0d4bfc0dc34fe58e13 | [
"Apache-2.0"
] | null | null | null | from .stats import bfmi, compare, hpd, loo, r2_score, summary, waic, psislw
from .diagnostics import effective_n, gelman_rubin, geweke
| 45 | 75 | 0.792593 | 20 | 135 | 5.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.125926 | 135 | 2 | 76 | 67.5 | 0.872881 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fca79e3a6d681a3427b168d33eab41e770e69d48 | 102 | py | Python | gcn/gcn_point/__init__.py | BryanYeh0727/EGASII | d212e933c1cadd97629caa7c857744c29b01ca98 | [
"MIT"
] | 161 | 2019-11-28T14:13:14.000Z | 2022-03-26T12:33:55.000Z | gcn/gcn_point/__init__.py | BryanYeh0727/EGASII | d212e933c1cadd97629caa7c857744c29b01ca98 | [
"MIT"
] | 14 | 2019-12-19T14:55:26.000Z | 2021-02-21T15:16:33.000Z | gcn/gcn_point/__init__.py | BryanYeh0727/EGASII | d212e933c1cadd97629caa7c857744c29b01ca98 | [
"MIT"
] | 28 | 2020-02-15T17:50:15.000Z | 2022-02-12T18:25:55.000Z | import os, sys
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../'))
| 34 | 86 | 0.676471 | 17 | 102 | 3.823529 | 0.588235 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.058824 | 102 | 2 | 87 | 51 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5d8f9d7b0e46b6aa1486cc16c2b7c1cac1d04b77 | 231 | py | Python | HeterogeneousCore/CUDATest/python/prod6CUDA_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | HeterogeneousCore/CUDATest/python/prod6CUDA_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | HeterogeneousCore/CUDATest/python/prod6CUDA_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from HeterogeneousCore.CUDATest.testCUDAProducerGPUEWTask_cfi import testCUDAProducerGPUEWTask as _testCUDAProducerGPUEWTask
prod6CUDA = _testCUDAProducerGPUEWTask.clone(src = "prod5CUDA")
| 46.2 | 124 | 0.883117 | 20 | 231 | 10.05 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009302 | 0.069264 | 231 | 4 | 125 | 57.75 | 0.925581 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5ddb3c03af17c44eb545c4206194e170df3a9f00 | 17,528 | py | Python | tests/contrib/openstack/test_cert_utils.py | mfoliveira/charm-helpers | 08e632f54c3e628dbfac939333efcdcc55ec8e2f | [
"Apache-2.0"
] | null | null | null | tests/contrib/openstack/test_cert_utils.py | mfoliveira/charm-helpers | 08e632f54c3e628dbfac939333efcdcc55ec8e2f | [
"Apache-2.0"
] | null | null | null | tests/contrib/openstack/test_cert_utils.py | mfoliveira/charm-helpers | 08e632f54c3e628dbfac939333efcdcc55ec8e2f | [
"Apache-2.0"
] | null | null | null | import json
import mock
import unittest
import charmhelpers.contrib.openstack.cert_utils as cert_utils
class CertUtilsTests(unittest.TestCase):
def test_CertRequest(self):
cr = cert_utils.CertRequest()
self.assertEqual(cr.entries, [])
self.assertIsNone(cr.hostname_entry)
@mock.patch... | 44.151134 | 92 | 0.550034 | 2,200 | 17,528 | 4.148182 | 0.070455 | 0.04405 | 0.075608 | 0.09577 | 0.833881 | 0.800789 | 0.761012 | 0.701403 | 0.657572 | 0.627986 | 0 | 0.062828 | 0.292618 | 17,528 | 396 | 93 | 44.262626 | 0.673199 | 0.00097 | 0 | 0.597368 | 0 | 0.005263 | 0.287966 | 0.140042 | 0 | 0 | 0 | 0 | 0.047368 | 1 | 0.031579 | false | 0 | 0.010526 | 0 | 0.044737 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 5 |
5de37ee71a5b7ff57d69aef04adc74ced0cf011d | 141 | py | Python | definitions.py | ezhou7/fns-backend | 41d22cf7afb57efe2eb999dec3ec233de07c4393 | [
"MIT"
] | 2 | 2018-06-11T20:17:08.000Z | 2018-06-11T20:18:37.000Z | definitions.py | JonathanLigh/FNS-Backend | 41d22cf7afb57efe2eb999dec3ec233de07c4393 | [
"MIT"
] | 1 | 2018-06-12T20:06:34.000Z | 2018-06-12T20:06:34.000Z | definitions.py | JonathanLigh/FNS-Backend | 41d22cf7afb57efe2eb999dec3ec233de07c4393 | [
"MIT"
] | null | null | null | import os
import spacy
import en_core_web_sm
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
spacy_nlp_model = en_core_web_sm.load()
| 17.625 | 53 | 0.808511 | 26 | 141 | 3.884615 | 0.615385 | 0.118812 | 0.178218 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099291 | 141 | 7 | 54 | 20.142857 | 0.795276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b902bccc72dba49a95c1fe94b93f45c7b4f76a9e | 39,017 | py | Python | src/core/polyaxon/parser/parser.py | bobvdvelde/polyaxon | 90a8cc37143a9ba1dd7eaf040377100d7a33f0d1 | [
"Apache-2.0"
] | 18 | 2017-09-24T15:56:58.000Z | 2020-04-01T12:17:00.000Z | src/core/polyaxon/parser/parser.py | bobvdvelde/polyaxon | 90a8cc37143a9ba1dd7eaf040377100d7a33f0d1 | [
"Apache-2.0"
] | 45 | 2017-09-24T15:42:30.000Z | 2020-07-01T18:08:18.000Z | src/core/polyaxon/parser/parser.py | bobvdvelde/polyaxon | 90a8cc37143a9ba1dd7eaf040377100d7a33f0d1 | [
"Apache-2.0"
] | 21 | 2017-10-03T22:03:10.000Z | 2021-08-03T08:41:13.000Z | #!/usr/bin/python
#
# Copyright 2018-2021 Polyaxon, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | 29.446792 | 95 | 0.608299 | 4,948 | 39,017 | 4.625707 | 0.056589 | 0.067284 | 0.034079 | 0.044215 | 0.774292 | 0.760442 | 0.742136 | 0.732829 | 0.720159 | 0.716795 | 0 | 0.004613 | 0.311018 | 39,017 | 1,324 | 96 | 29.469033 | 0.846812 | 0.290335 | 0 | 0.642169 | 0 | 0 | 0.065259 | 0.005981 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046988 | false | 0.015663 | 0.019277 | 0 | 0.163855 | 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 | 0 | 0 | 0 | 5 |
53a2f74259091820bc92105b1cbd19bb66c87060 | 96 | py | Python | demo_start.py | zhmxia/digital_tran | 0ed93bdc727cd6bbde85371c2752b5178be11fce | [
"MIT"
] | null | null | null | demo_start.py | zhmxia/digital_tran | 0ed93bdc727cd6bbde85371c2752b5178be11fce | [
"MIT"
] | null | null | null | demo_start.py | zhmxia/digital_tran | 0ed93bdc727cd6bbde85371c2752b5178be11fce | [
"MIT"
] | null | null | null | #this is the python function for
print("hello world")
print("it is the start of the project.")
| 24 | 40 | 0.729167 | 17 | 96 | 4.117647 | 0.764706 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 3 | 41 | 32 | 0.875 | 0.322917 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
53ae9ed43026640f7fff76c5a2b2bcc06c584e71 | 178 | py | Python | container_service_extension/client/tkgclient/api/__init__.py | arunmk/container-service-extension | 5e67df64fd5ed7fbb664d449356cb983cecbca12 | [
"BSD-3-Clause"
] | 81 | 2017-07-05T19:42:41.000Z | 2022-03-09T22:04:05.000Z | container_service_extension/client/tkgclient/api/__init__.py | arunmk/container-service-extension | 5e67df64fd5ed7fbb664d449356cb983cecbca12 | [
"BSD-3-Clause"
] | 670 | 2017-07-05T16:48:02.000Z | 2022-03-31T13:40:53.000Z | container_service_extension/client/tkgclient/api/__init__.py | arunmk/container-service-extension | 5e67df64fd5ed7fbb664d449356cb983cecbca12 | [
"BSD-3-Clause"
] | 64 | 2017-07-05T16:32:55.000Z | 2022-03-23T09:36:03.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from container_service_extension.client.tkgclient.api.tkg_cluster_api import TkgClusterApi
| 25.428571 | 90 | 0.853933 | 24 | 178 | 5.958333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.106742 | 178 | 6 | 91 | 29.666667 | 0.893082 | 0.230337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
53d7894ee852ba541e9ba3715825e815d8b5478d | 67 | py | Python | gennav/planners/graph_search/__init__.py | threewisemonkeys-as/gennav | 41e86b841a0ce44402f31debc65d5c82109b13a3 | [
"MIT"
] | null | null | null | gennav/planners/graph_search/__init__.py | threewisemonkeys-as/gennav | 41e86b841a0ce44402f31debc65d5c82109b13a3 | [
"MIT"
] | null | null | null | gennav/planners/graph_search/__init__.py | threewisemonkeys-as/gennav | 41e86b841a0ce44402f31debc65d5c82109b13a3 | [
"MIT"
] | null | null | null | from gennav.planners.graph_search.astar import astar # noqa: F401
| 33.5 | 66 | 0.80597 | 10 | 67 | 5.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.119403 | 67 | 1 | 67 | 67 | 0.847458 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
53dfbee0d5f661e0810a7d23d905871b433f9f19 | 96 | py | Python | venv/lib/python3.8/site-packages/clikit/resolver/resolve_result.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/resolver/resolve_result.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/resolver/resolve_result.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/0e/24/b3/20c7a8d35fabcdf699d4044a93d1d0b8b9bc0a42ae62a49ea020ebdbc0 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 0 | 96 | 1 | 96 | 96 | 0.541667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
53fa0d159c52fba324ca6bc95ff3eb4aedceb1a0 | 152 | py | Python | duckdodge/api/admin.py | marvincolgin/duckdodge-api | 45125e081898f7a3661936885acdbeddbe64278d | [
"MIT"
] | null | null | null | duckdodge/api/admin.py | marvincolgin/duckdodge-api | 45125e081898f7a3661936885acdbeddbe64278d | [
"MIT"
] | 8 | 2020-06-06T00:04:11.000Z | 2022-02-10T10:36:54.000Z | duckdodge/api/admin.py | marvincolgin/duckdodge-api | 45125e081898f7a3661936885acdbeddbe64278d | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Boat, Race
# Register your models here.
admin.site.register(Boat)
admin.site.register(Race)
| 21.714286 | 33 | 0.763158 | 22 | 152 | 5.272727 | 0.545455 | 0.155172 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151316 | 152 | 6 | 34 | 25.333333 | 0.899225 | 0.171053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 5 |
990b39df013d79666cc4836ad8ed5e7715ab0299 | 153 | py | Python | storage/py/48889.py | Technosasquach/RRRrrrrLab-aaS | 6e67d841dfa542e660bf52e7cc436b63fed096fa | [
"Apache-2.0"
] | null | null | null | storage/py/48889.py | Technosasquach/RRRrrrrLab-aaS | 6e67d841dfa542e660bf52e7cc436b63fed096fa | [
"Apache-2.0"
] | null | null | null | storage/py/48889.py | Technosasquach/RRRrrrrLab-aaS | 6e67d841dfa542e660bf52e7cc436b63fed096fa | [
"Apache-2.0"
] | null | null | null | from assets.lib import *
set_process(48889)
how_does_ye_fire_func(distance=30.0)
fire_ye_func()
does_ye_hit_func(distance=30.0)
reveal_ye_plunder_func()
| 21.857143 | 36 | 0.836601 | 29 | 153 | 3.965517 | 0.62069 | 0.104348 | 0.243478 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076389 | 0.058824 | 153 | 6 | 37 | 25.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
54d523adf1e165e198919176d451eb56689f6016 | 176 | py | Python | event/admin.py | mark-barrett/Ticketr-2 | 723bb2542bee818132b4c2315efe07c5ac3146c6 | [
"MIT"
] | null | null | null | event/admin.py | mark-barrett/Ticketr-2 | 723bb2542bee818132b4c2315efe07c5ac3146c6 | [
"MIT"
] | null | null | null | event/admin.py | mark-barrett/Ticketr-2 | 723bb2542bee818132b4c2315efe07c5ac3146c6 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from event.models import *
admin.site.register(Organiser)
admin.site.register(Event)
admin.site.register(Ticket) | 22 | 32 | 0.806818 | 25 | 176 | 5.68 | 0.52 | 0.190141 | 0.359155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096591 | 176 | 8 | 33 | 22 | 0.893082 | 0.147727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 5 |
54d953a3387a9f3981cf4599c8a09f765a8f19e1 | 33,549 | py | Python | tests/sc/test_analysis.py | menri005/pyTenable | 8a5091719d0f4d821bded10135ef0e15c8141f2a | [
"MIT"
] | null | null | null | tests/sc/test_analysis.py | menri005/pyTenable | 8a5091719d0f4d821bded10135ef0e15c8141f2a | [
"MIT"
] | null | null | null | tests/sc/test_analysis.py | menri005/pyTenable | 8a5091719d0f4d821bded10135ef0e15c8141f2a | [
"MIT"
] | null | null | null | from tenable.errors import *
from ..checker import check, single
import pytest
def test_analysis_asset_excpansion_simple(sc):
resp = sc.analysis._combo_expansion(('or', 1, 2))
assert resp == {
'operator': 'union',
'operand1': {'id': '1'},
'operand2': {'id': '2'},
}
def test_analysi... | 33.956478 | 77 | 0.564875 | 4,189 | 33,549 | 4.465982 | 0.057054 | 0.185161 | 0.16501 | 0.051315 | 0.856853 | 0.844665 | 0.79923 | 0.69799 | 0.668912 | 0.662925 | 0 | 0.007232 | 0.266357 | 33,549 | 987 | 78 | 33.990881 | 0.752854 | 0 | 0 | 0.742145 | 0 | 0 | 0.190766 | 0.001252 | 0 | 0 | 0 | 0 | 0.069339 | 1 | 0.069339 | false | 0 | 0.00325 | 0 | 0.072589 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 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 | 5 |
0702ad79cc74c0ce66f1ddd8a7f38e13a594db81 | 103 | py | Python | time_for_play.py | IlyaLyamin/projekt-Ailen | 03ccfa6d600befe648395c12ec1e64c25071faac | [
"MIT"
] | null | null | null | time_for_play.py | IlyaLyamin/projekt-Ailen | 03ccfa6d600befe648395c12ec1e64c25071faac | [
"MIT"
] | null | null | null | time_for_play.py | IlyaLyamin/projekt-Ailen | 03ccfa6d600befe648395c12ec1e64c25071faac | [
"MIT"
] | null | null | null | class Time():
def __init__(self):
self.time_for_tp = True
self.time_for_shot = True | 25.75 | 33 | 0.621359 | 15 | 103 | 3.733333 | 0.6 | 0.285714 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281553 | 103 | 4 | 33 | 25.75 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0725289965d522a02724cc482ee3e0efbe2dd13b | 1,361 | py | Python | tests/handling/daemons/test_daemon_spawning.py | MarkusH/kopf | caaf399c46af0fcb10730eec2db303484d31b38b | [
"MIT"
] | 1,038 | 2019-03-26T16:32:56.000Z | 2022-03-27T09:15:03.000Z | tests/handling/daemons/test_daemon_spawning.py | MarkusH/kopf | caaf399c46af0fcb10730eec2db303484d31b38b | [
"MIT"
] | 393 | 2019-03-26T13:43:42.000Z | 2020-09-14T13:18:14.000Z | tests/handling/daemons/test_daemon_spawning.py | MarkusH/kopf | caaf399c46af0fcb10730eec2db303484d31b38b | [
"MIT"
] | 116 | 2019-03-31T23:01:09.000Z | 2022-03-18T16:44:58.000Z | import logging
import kopf
async def test_daemon_is_spawned_at_least_once(
registry, resource, dummy,
caplog, assert_logs, k8s_mocked, simulate_cycle):
caplog.set_level(logging.DEBUG)
@kopf.daemon(resource.group, resource.version, resource.plural, registry=registry, id='fn')
async def fn... | 30.244444 | 96 | 0.682586 | 183 | 1,361 | 4.852459 | 0.311475 | 0.050676 | 0.072072 | 0.067568 | 0.768018 | 0.768018 | 0.768018 | 0.734234 | 0.662162 | 0.662162 | 0 | 0.013749 | 0.198384 | 1,361 | 44 | 97 | 30.931818 | 0.800183 | 0.057311 | 0 | 0.645161 | 0 | 0 | 0.021926 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 1 | 0 | true | 0 | 0.064516 | 0 | 0.064516 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
072ed98f13c6643ce0648f86f5c9d9e1ba919be3 | 3,275 | py | Python | socialNetwork/scripts/config.py | hMihaiDavid/DeathStarBench | ec5accac567c9313df24ff0635885e15ac3479c6 | [
"Apache-2.0"
] | 1 | 2021-08-16T20:06:37.000Z | 2021-08-16T20:06:37.000Z | socialNetwork/scripts/config.py | hMihaiDavid/DeathStarBench | ec5accac567c9313df24ff0635885e15ac3479c6 | [
"Apache-2.0"
] | 1 | 2021-08-14T21:02:59.000Z | 2021-08-14T21:02:59.000Z | socialNetwork/scripts/config.py | hMihaiDavid/DeathStarBench | ec5accac567c9313df24ff0635885e15ac3479c6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: UTF-8 -*-
import json
import os
import yaml
def config_nginx(tls):
if tls:
f = open('/usr/local/openresty/nginx/conf/nginx.conf')
content = f.read()
content = content.replace('config:set("ssl", false)', 'config:set("ssl", true)')
f.close()
f = open('/usr/loc... | 28.232759 | 88 | 0.571298 | 416 | 3,275 | 4.461538 | 0.163462 | 0.043103 | 0.071121 | 0.116379 | 0.789871 | 0.74569 | 0.74569 | 0.74569 | 0.74569 | 0.728448 | 0 | 0.010238 | 0.254351 | 3,275 | 115 | 89 | 28.478261 | 0.749795 | 0.006412 | 0 | 0.666667 | 0 | 0 | 0.332718 | 0.237392 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0.011111 | 0.033333 | 0 | 0.077778 | 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 | 0 | 0 | 0 | 5 |
4ae40e2e5a7482a83478a96784645cfcab5a86ab | 672 | py | Python | units/data_storage/mebibits.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/data_storage/mebibits.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/data_storage/mebibits.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | # <auto-generated>
# This code was generated by the UnitCodeGenerator tool
#
# Changes to this file will be lost if the code is regenerated
# </auto-generated>
def to_bits(value):
return value * 1048576.0
def to_kilobits(value):
return value * 1048.58
def to_megabits(value):
return value * 1.04858
def to_gigabit... | 24 | 62 | 0.745536 | 104 | 672 | 4.721154 | 0.451923 | 0.101833 | 0.325866 | 0.069246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142096 | 0.162202 | 672 | 27 | 63 | 24.888889 | 0.730018 | 0.221726 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ab40cd9ca596a369f668899cf6e1af6c0ceaa6d6 | 128 | py | Python | hubcare/metrics/community_metrics/license/admin.py | aleronupe/2019.1-hubcare-api | 3f031eac9559a10fdcf70a88ee4c548cf93e4ac2 | [
"MIT"
] | 7 | 2019-03-31T17:58:45.000Z | 2020-02-29T22:44:27.000Z | hubcare/metrics/community_metrics/license/admin.py | aleronupe/2019.1-hubcare-api | 3f031eac9559a10fdcf70a88ee4c548cf93e4ac2 | [
"MIT"
] | 90 | 2019-03-26T01:14:54.000Z | 2021-06-10T21:30:25.000Z | hubcare/metrics/community_metrics/license/admin.py | aleronupe/2019.1-hubcare-api | 3f031eac9559a10fdcf70a88ee4c548cf93e4ac2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from license.models import License
# Register your models here.
admin.site.register(License)
| 18.285714 | 34 | 0.8125 | 18 | 128 | 5.777778 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 128 | 6 | 35 | 21.333333 | 0.928571 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 5 |
ab439219bccccb412e653faa10a2dd329b71ad06 | 88 | wsgi | Python | Module 1/Chapter01/hello.wsgi | nikitabrazhnik/flask2 | fd7a7e26f00402da09ee2159253cc1958df54814 | [
"MIT"
] | 40 | 2017-02-11T18:28:53.000Z | 2021-10-04T04:52:49.000Z | Module 1/Chapter01/hello.wsgi | nikitabrazhnik/flask2 | fd7a7e26f00402da09ee2159253cc1958df54814 | [
"MIT"
] | 1 | 2018-06-15T13:46:47.000Z | 2018-06-15T13:46:47.000Z | Module 1/Chapter01/hello.wsgi | nikitabrazhnik/flask2 | fd7a7e26f00402da09ee2159253cc1958df54814 | [
"MIT"
] | 40 | 2017-04-11T12:01:22.000Z | 2021-05-30T18:05:27.000Z | import sys
sys.path.insert(0, "/var/www/firstapp")
from hello import app as application
| 22 | 39 | 0.772727 | 15 | 88 | 4.533333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.113636 | 88 | 3 | 40 | 29.333333 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0.193182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
db4119a26063a3d22b351524fc74185d7d584f5e | 42 | py | Python | test/lmp/util/path/__init__.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/util/path/__init__.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/util/path/__init__.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | """Test :py:mod:`lmp.util.path` entry."""
| 21 | 41 | 0.595238 | 7 | 42 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.641026 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db56224d7e8cba8be0b92452f543d6277384820f | 46 | py | Python | lawstructural/knitro/__init__.py | PhilErickson/LawStructural | bf03263ded6d49d9396bf19629bc9338e0082568 | [
"Apache-2.0"
] | 1 | 2021-01-13T21:13:38.000Z | 2021-01-13T21:13:38.000Z | lawstructural/knitro/__init__.py | PhilErickson/LawStructural | bf03263ded6d49d9396bf19629bc9338e0082568 | [
"Apache-2.0"
] | null | null | null | lawstructural/knitro/__init__.py | PhilErickson/LawStructural | bf03263ded6d49d9396bf19629bc9338e0082568 | [
"Apache-2.0"
] | 2 | 2016-02-27T09:35:10.000Z | 2021-01-13T21:13:57.000Z | ''' Utility files for Ziena KNITRO solver '''
| 23 | 45 | 0.695652 | 6 | 46 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 1 | 46 | 46 | 0.842105 | 0.804348 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dbb8b74dba4b119ec6c0e4ec60c460edef006788 | 43 | py | Python | with_time/exceptions.py | IlyaSukhanov/with-time | e201348b57c693bf5efd6347cfccdaef2e48877b | [
"MIT"
] | null | null | null | with_time/exceptions.py | IlyaSukhanov/with-time | e201348b57c693bf5efd6347cfccdaef2e48877b | [
"MIT"
] | 1 | 2021-11-23T22:46:20.000Z | 2021-11-23T22:46:20.000Z | with_time/exceptions.py | IlyaSukhanov/with-time | e201348b57c693bf5efd6347cfccdaef2e48877b | [
"MIT"
] | null | null | null | class TimeoutError(RuntimeError):
pass
| 14.333333 | 33 | 0.767442 | 4 | 43 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 34 | 21.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
dbd871e0d8d01c5559ed1a4644a984ef9ff1027e | 136 | py | Python | genie/constrained_generation/__init__.py | epfl-dlab/GenIE | 62ae6af936c9375c36d3d5ad60401bf579875bd9 | [
"MIT"
] | 8 | 2022-02-08T11:12:37.000Z | 2022-03-16T08:27:50.000Z | genie/constrained_generation/__init__.py | epfl-dlab/GenIE | 62ae6af936c9375c36d3d5ad60401bf579875bd9 | [
"MIT"
] | 1 | 2022-03-07T07:36:24.000Z | 2022-03-07T20:58:12.000Z | genie/constrained_generation/__init__.py | epfl-dlab/GenIE | 62ae6af936c9375c36d3d5ad60401bf579875bd9 | [
"MIT"
] | 7 | 2022-02-22T22:48:35.000Z | 2022-03-18T05:18:30.000Z | from .ie_prefix_constraints import get_information_extraction_prefix_allowed_tokens_fn_hf
from .trie import Trie, get_trie_from_strings
| 45.333333 | 89 | 0.911765 | 21 | 136 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066176 | 136 | 2 | 90 | 68 | 0.88189 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9176e1f73211937834d658deec0c3f4adb4e7772 | 168 | py | Python | practice/2_basic_python/ex_function_1.py | rabbitsun2/toy_python | 32f84b4d15b13c4daa4fa212a40e685abc0d2a5d | [
"Apache-2.0"
] | null | null | null | practice/2_basic_python/ex_function_1.py | rabbitsun2/toy_python | 32f84b4d15b13c4daa4fa212a40e685abc0d2a5d | [
"Apache-2.0"
] | null | null | null | practice/2_basic_python/ex_function_1.py | rabbitsun2/toy_python | 32f84b4d15b13c4daa4fa212a40e685abc0d2a5d | [
"Apache-2.0"
] | null | null | null | import mod2
def add(a, b):
return a + b
def sub(a, b):
return a - b
if __name__ == "__main__":
print(add(1, 4))
print(sub(4, 2))
print(mod2.PI)
| 12 | 26 | 0.541667 | 30 | 168 | 2.766667 | 0.533333 | 0.096386 | 0.192771 | 0.216867 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05042 | 0.291667 | 168 | 13 | 27 | 12.923077 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.555556 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
919827a88c66f96f7e68a36f9968f57533ee2d2c | 199 | py | Python | wt_nodes/__init__.py | jimboca/udi-wirelesstag-poly-V2 | 745b5383eaedb575ac9531c1aafa9a250b429229 | [
"MIT"
] | 3 | 2018-07-21T16:00:45.000Z | 2020-07-14T00:42:51.000Z | wt_nodes/__init__.py | jimboca/udi-wirelesstag-poly-V2 | 745b5383eaedb575ac9531c1aafa9a250b429229 | [
"MIT"
] | 39 | 2018-03-02T06:52:15.000Z | 2021-10-05T03:00:30.000Z | wt_nodes/__init__.py | jimboca/udi-wirelesstag-poly-V2 | 745b5383eaedb575ac9531c1aafa9a250b429229 | [
"MIT"
] | 4 | 2018-03-14T00:16:55.000Z | 2020-01-06T11:47:31.000Z |
""" Node classes used by the Wireless Sensor Tags Node Server. """
import polyinterface
from .wTag import wTag
from .wTagManager import wTagManager
from .wtController import wtController
| 22.111111 | 66 | 0.758794 | 24 | 199 | 6.291667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190955 | 199 | 8 | 67 | 24.875 | 0.937888 | 0.291457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
91c2c6a4ba4bd5021819b42341eb060500a15cc5 | 105 | py | Python | nardis/routing/__init__.py | yoongkang/nardis | b4c9e6f660c0097f04a0774123880310bb095b35 | [
"MIT"
] | 15 | 2018-06-22T09:58:41.000Z | 2021-11-24T13:59:44.000Z | nardis/routing/__init__.py | yoongkang/nardis | b4c9e6f660c0097f04a0774123880310bb095b35 | [
"MIT"
] | 3 | 2018-06-24T11:46:42.000Z | 2018-06-25T23:39:51.000Z | nardis/routing/__init__.py | yoongkang/nardis | b4c9e6f660c0097f04a0774123880310bb095b35 | [
"MIT"
] | null | null | null | from .matchers import Matcher, BaseHTTPMatcher, Get, Post
from .defaults import default_404, default_500
| 35 | 57 | 0.828571 | 14 | 105 | 6.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.114286 | 105 | 2 | 58 | 52.5 | 0.849462 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
91e3490f9e0e286a486245f10d1ac090b3950138 | 1,865 | py | Python | tests/test_run_api.py | h-bar/demofi-api | 504f44cebb04f21b0526ab31c35cb49557478288 | [
"MIT"
] | null | null | null | tests/test_run_api.py | h-bar/demofi-api | 504f44cebb04f21b0526ab31c35cb49557478288 | [
"MIT"
] | null | null | null | tests/test_run_api.py | h-bar/demofi-api | 504f44cebb04f21b0526ab31c35cb49557478288 | [
"MIT"
] | null | null | null | import requests
from tests.config import server_url
from tests.config import no_id
from my_demo import my_model
data_id = ""
data = {
'content': 'This is another test data'
}
param = {
"content": "test"
}
m = my_model()
m.init_model()
def test_run_data():
server_on = True
try:
res = requests.post(server... | 19.840426 | 93 | 0.632708 | 273 | 1,865 | 4.10989 | 0.142857 | 0.128342 | 0.053476 | 0.080214 | 0.769162 | 0.752228 | 0.752228 | 0.752228 | 0.752228 | 0.71836 | 0 | 0 | 0.217158 | 1,865 | 94 | 94 | 19.840426 | 0.768493 | 0 | 0 | 0.607143 | 0 | 0 | 0.093783 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.071429 | false | 0 | 0.047619 | 0 | 0.119048 | 0.071429 | 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 | 0 | 0 | 0 | 5 |
37e637f35892d7c26e77f7f724b707c5177e168a | 175 | py | Python | snorkel/learning/pytorch/__init__.py | nishamuktewar/snorkel | 049de8f8b4c8e3626de87cd1bce6f6cea746abbd | [
"Apache-2.0"
] | null | null | null | snorkel/learning/pytorch/__init__.py | nishamuktewar/snorkel | 049de8f8b4c8e3626de87cd1bce6f6cea746abbd | [
"Apache-2.0"
] | null | null | null | snorkel/learning/pytorch/__init__.py | nishamuktewar/snorkel | 049de8f8b4c8e3626de87cd1bce6f6cea746abbd | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from .logistic_regression import LogisticRegression
from .noise_aware_model import TorchNoiseAwareModel
from .rnn import LSTM, TextRNN
| 29.166667 | 51 | 0.874286 | 21 | 175 | 6.904762 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102857 | 175 | 5 | 52 | 35 | 0.923567 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
37e7f39dadd4b1562e016acafe6432947079e559 | 4,637 | py | Python | tests/test_prompts.py | holzkohlengrill/SCout | 8fd1eca0607b27d6e0c537b2ea1211d23356edff | [
"MIT"
] | 4 | 2021-04-19T07:49:28.000Z | 2022-01-29T23:48:04.000Z | tests/test_prompts.py | holzkohlengrill/SCout | 8fd1eca0607b27d6e0c537b2ea1211d23356edff | [
"MIT"
] | 1 | 2018-11-13T13:42:18.000Z | 2018-11-13T15:33:56.000Z | tests/test_prompts.py | holzkohlengrill/SCout | 8fd1eca0607b27d6e0c537b2ea1211d23356edff | [
"MIT"
] | null | null | null | """
SCout | Special Character Out
Copyright 2017-2019, Marcel Schmalzl (MSc)
This code is licensed under a MIT license
You should have received a copy of the MIT licence along with this program.
If not see:
* https://github.com/holzkohlengrill/SCout/blob/master/LICENSE
* https://opensource.org/licenses/MIT
"""
import... | 35.945736 | 83 | 0.70606 | 509 | 4,637 | 6.337917 | 0.247544 | 0.061996 | 0.058896 | 0.071296 | 0.790143 | 0.790143 | 0.743645 | 0.743645 | 0.729076 | 0.709547 | 0 | 0.002129 | 0.189562 | 4,637 | 128 | 84 | 36.226563 | 0.856307 | 0.06556 | 0 | 0.5 | 0 | 0 | 0.206873 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.166667 | false | 0 | 0.044444 | 0 | 0.266667 | 0.222222 | 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 | 0 | 0 | 0 | 5 |
530432ddfa9972a2328085600601518544f6f7c2 | 429 | py | Python | marrow/schema/validation/base.py | marrow/schema | e2b16ec45329a646156388936c2e779ddcd8fa77 | [
"MIT"
] | 3 | 2016-09-03T07:00:50.000Z | 2021-06-19T18:52:56.000Z | marrow/schema/validation/base.py | marrow/schema | e2b16ec45329a646156388936c2e779ddcd8fa77 | [
"MIT"
] | 6 | 2015-01-23T19:32:04.000Z | 2019-10-23T15:36:48.000Z | marrow/schema/validation/base.py | marrow/schema | e2b16ec45329a646156388936c2e779ddcd8fa77 | [
"MIT"
] | 2 | 2015-11-13T20:02:17.000Z | 2018-01-30T12:01:47.000Z | # Replicate the original imports available here.
from ..validate import Validator, Callback, In, Contains, Length, Range, Pattern, Instance, Subclass, Equal
from ..validate import Always, always, Never, never, Unique, unique
from ..validate import AlwaysTruthy, truthy, Truthy, AlwaysFalsy, falsy, Falsy
from ..validate... | 53.625 | 107 | 0.794872 | 50 | 429 | 6.82 | 0.62 | 0.175953 | 0.26393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 429 | 7 | 108 | 61.285714 | 0.904509 | 0.107226 | 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 | 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 | 5 |
531106dd32a9060719a80db5bd720c1b8bad2ec4 | 141 | py | Python | codes/t003_mutable_immutable_object/mutable/abcapi19to36.py | tmduong2000/python-tutorial | a50daf8cc52ec6c188869c51eecfe8b743300b06 | [
"MIT"
] | null | null | null | codes/t003_mutable_immutable_object/mutable/abcapi19to36.py | tmduong2000/python-tutorial | a50daf8cc52ec6c188869c51eecfe8b743300b06 | [
"MIT"
] | null | null | null | codes/t003_mutable_immutable_object/mutable/abcapi19to36.py | tmduong2000/python-tutorial | a50daf8cc52ec6c188869c51eecfe8b743300b06 | [
"MIT"
] | null | null | null | # file2: abcapi19to36.py
def api_test19(self):
print 'api_test19: "%s", "%s"' %(self.cls_attr19, self.instance_attr19)
print '-' * 40 | 35.25 | 75 | 0.659574 | 20 | 141 | 4.45 | 0.65 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 0.156028 | 141 | 4 | 76 | 35.25 | 0.621849 | 0.156028 | 0 | 0 | 0 | 0 | 0.194915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
5330fb7316eb942a3895d325d59bbaf23804e434 | 128 | py | Python | profiles/admin.py | abdellatifLabr/MyStore | 6a1db004d7372c236be72077aa55260927a46135 | [
"MIT"
] | null | null | null | profiles/admin.py | abdellatifLabr/MyStore | 6a1db004d7372c236be72077aa55260927a46135 | [
"MIT"
] | null | null | null | profiles/admin.py | abdellatifLabr/MyStore | 6a1db004d7372c236be72077aa55260927a46135 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Profile, Avatar
admin.site.register(Profile)
admin.site.register(Avatar)
| 18.285714 | 35 | 0.8125 | 18 | 128 | 5.777778 | 0.555556 | 0.173077 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 128 | 6 | 36 | 21.333333 | 0.904348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 5 |
5351c4d02013da2705556c933be95946443aa9b1 | 110 | py | Python | test_dtw.py | rcalfredson/time-series-motif | 347834fa746153b01fa64f80f36c6f7eb725e421 | [
"BSD-2-Clause"
] | null | null | null | test_dtw.py | rcalfredson/time-series-motif | 347834fa746153b01fa64f80f36c6f7eb725e421 | [
"BSD-2-Clause"
] | null | null | null | test_dtw.py | rcalfredson/time-series-motif | 347834fa746153b01fa64f80f36c6f7eb725e421 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
from lib.dtw import dtw
print("result:", dtw(np.arange(1, 11), np.arange(30, 76), 2)[0])
| 18.333333 | 64 | 0.663636 | 22 | 110 | 3.318182 | 0.727273 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 0.145455 | 110 | 5 | 65 | 22 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 | 0 | 0 | 5 |
535c6af323462c42a9bde2332f9c9cc5a7fb6258 | 50 | py | Python | python/testData/addImport/importForMethodCannotBeAdded/mod.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/addImport/importForMethodCannotBeAdded/mod.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/addImport/importForMethodCannotBeAdded/mod.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | class MyClass:
def method(self):
pass
| 12.5 | 21 | 0.58 | 6 | 50 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.34 | 50 | 3 | 22 | 16.666667 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
726f99916085db35610f9ab1360ac4a49d77ce5b | 73 | py | Python | kmsclient/__main__.py | zalando/kms-client | f015ef1f0ad6d9122c01d51731d1f592ccbdf9f9 | [
"Apache-2.0"
] | 9 | 2016-11-05T11:57:43.000Z | 2021-02-04T16:01:22.000Z | kmsclient/__main__.py | zalando/kms-client | f015ef1f0ad6d9122c01d51731d1f592ccbdf9f9 | [
"Apache-2.0"
] | 1 | 2016-02-16T17:31:01.000Z | 2016-02-16T17:31:01.000Z | kmsclient/__main__.py | zalando/kmsclient | f015ef1f0ad6d9122c01d51731d1f592ccbdf9f9 | [
"Apache-2.0"
] | 2 | 2017-09-28T14:50:16.000Z | 2018-02-14T15:04:05.000Z | import kmsclient.cli
if __name__ == '__main__':
kmsclient.cli.main() | 18.25 | 26 | 0.712329 | 9 | 73 | 4.888889 | 0.666667 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 73 | 4 | 27 | 18.25 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7271c5bf6b42e482fac486e80f482bb4eeada559 | 603 | py | Python | MedidasConv.py | AlanFernandesRocha/Conversor-Medidas | 9751447b1ca62ac58b8ccc9c73d455e659f459c4 | [
"MIT"
] | null | null | null | MedidasConv.py | AlanFernandesRocha/Conversor-Medidas | 9751447b1ca62ac58b8ccc9c73d455e659f459c4 | [
"MIT"
] | null | null | null | MedidasConv.py | AlanFernandesRocha/Conversor-Medidas | 9751447b1ca62ac58b8ccc9c73d455e659f459c4 | [
"MIT"
] | null | null | null | print('===== Conversor de Medidas =====')
m = float(input('Digite um valor em metros: '))
print('O valor de {:.0f}m em Decimetros é {:.1f}dm!'.format(m, m*10))
print('O valor de {:.0f}m em Centimetros é {:.1f}cm!'.format(m, m*100))
print('O valor de {:.0f}m em Milimetros é {:.1f}mm!'.format(m , m*1000))
print('O valor ... | 67 | 83 | 0.626866 | 118 | 603 | 3.20339 | 0.313559 | 0.111111 | 0.203704 | 0.240741 | 0.449735 | 0.449735 | 0.449735 | 0.306878 | 0.306878 | 0.306878 | 0 | 0.068441 | 0.127695 | 603 | 9 | 84 | 67 | 0.65019 | 0 | 0 | 0 | 0 | 0 | 0.63245 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.888889 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
7273f3de90121eb771030f1879ed645d44c715cc | 49 | py | Python | src/venv_management/ext/drivers/virtualenv_sh/__init__.py | sixty-north/venv-management | 36339ac8c5737891cc9625a19f51a851a0028305 | [
"MIT"
] | null | null | null | src/venv_management/ext/drivers/virtualenv_sh/__init__.py | sixty-north/venv-management | 36339ac8c5737891cc9625a19f51a851a0028305 | [
"MIT"
] | 4 | 2021-09-22T09:30:08.000Z | 2022-01-22T14:57:46.000Z | src/venv_management/ext/drivers/virtualenv_sh/__init__.py | sixty-north/venv-management | 36339ac8c5737891cc9625a19f51a851a0028305 | [
"MIT"
] | 1 | 2021-11-03T09:57:52.000Z | 2021-11-03T09:57:52.000Z | from .driver import VirtualEnvShDriver as Driver
| 24.5 | 48 | 0.857143 | 6 | 49 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 1 | 49 | 49 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
727958310d8462bec6a530f7dd2e347c6209b16f | 154 | py | Python | ccbb_pyutils/string_utils.py | ucsd-ccbb/ccbb-ucsd-pyutils | 944ff2230c66ab70016bcac393e05a7e12f1cfd5 | [
"MIT"
] | null | null | null | ccbb_pyutils/string_utils.py | ucsd-ccbb/ccbb-ucsd-pyutils | 944ff2230c66ab70016bcac393e05a7e12f1cfd5 | [
"MIT"
] | null | null | null | ccbb_pyutils/string_utils.py | ucsd-ccbb/ccbb-ucsd-pyutils | 944ff2230c66ab70016bcac393e05a7e12f1cfd5 | [
"MIT"
] | null | null | null | def split_delimited_string_to_list(input_str, cast_func=str, delimiter_str=","):
return [cast_func(x.strip()) for x in input_str.split(delimiter_str)] | 77 | 80 | 0.785714 | 26 | 154 | 4.269231 | 0.615385 | 0.144144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084416 | 154 | 2 | 81 | 77 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
72dfce54309d5896a271dbdaf3119acc0b05780c | 5,228 | py | Python | tests/test_filter.py | gmc77/pycasbin | fbbc6000f755c78726f24d26c45bdf9bda99b5d6 | [
"Apache-2.0"
] | 915 | 2018-11-25T01:00:39.000Z | 2022-03-30T11:21:34.000Z | tests/test_filter.py | ffyuanda/pycasbin | 230132e459420aaa519d1eb9479f8996bdbbbd2a | [
"Apache-2.0"
] | 231 | 2019-02-13T09:29:51.000Z | 2022-03-28T16:32:51.000Z | tests/test_filter.py | ffyuanda/pycasbin | 230132e459420aaa519d1eb9479f8996bdbbbd2a | [
"Apache-2.0"
] | 173 | 2019-02-08T02:22:33.000Z | 2022-03-10T15:16:11.000Z | import casbin
from unittest import TestCase
from tests.test_enforcer import get_examples
class Filter:
# P,G are strings
P = []
G = []
class TestFilteredAdapter(TestCase):
def test_init_filtered_adapter(self):
adapter = casbin.persist.adapters.FilteredAdapter(
get_examples("rbac_... | 37.078014 | 83 | 0.630451 | 563 | 5,228 | 5.626998 | 0.129663 | 0.055556 | 0.066288 | 0.083965 | 0.848801 | 0.81976 | 0.815025 | 0.759785 | 0.661616 | 0.661616 | 0 | 0.00788 | 0.247513 | 5,228 | 140 | 84 | 37.342857 | 0.797407 | 0.002869 | 0 | 0.675439 | 0 | 0 | 0.213395 | 0.080023 | 0 | 0 | 0 | 0 | 0.149123 | 1 | 0.070175 | false | 0 | 0.026316 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 5 |
f40b5a5d3d65efaeb602ca626952664e51ff448f | 65 | py | Python | parsimonious_ext/__init__.py | denjiry/camxes-py | 31ea188e9a8603a95a1379fcce174c2a93b6497c | [
"MIT"
] | null | null | null | parsimonious_ext/__init__.py | denjiry/camxes-py | 31ea188e9a8603a95a1379fcce174c2a93b6497c | [
"MIT"
] | null | null | null | parsimonious_ext/__init__.py | denjiry/camxes-py | 31ea188e9a8603a95a1379fcce174c2a93b6497c | [
"MIT"
] | null | null | null |
# pylint: disable=I0011, C0111
from . import expression_nodes
| 10.833333 | 30 | 0.753846 | 8 | 65 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.169231 | 65 | 5 | 31 | 13 | 0.740741 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f40cc7b8c20c45059d50bda065d2899ad4638a83 | 18,324 | py | Python | neutron/tests/unit/extensions/test_qos_fip.py | banhr/neutron | 4b3e73648327ce9f4d3437986a8663372f577f1b | [
"Apache-2.0"
] | 1 | 2018-10-19T01:48:37.000Z | 2018-10-19T01:48:37.000Z | neutron/tests/unit/extensions/test_qos_fip.py | weiqiLee/neutron | ddc72ebd41a0e7804b33a21583d3add008191229 | [
"Apache-2.0"
] | null | null | null | neutron/tests/unit/extensions/test_qos_fip.py | weiqiLee/neutron | ddc72ebd41a0e7804b33a21583d3add008191229 | [
"Apache-2.0"
] | 1 | 2018-08-28T17:13:16.000Z | 2018-08-28T17:13:16.000Z | #
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# ... | 44.368039 | 79 | 0.556265 | 1,918 | 18,324 | 4.992179 | 0.107925 | 0.041775 | 0.055144 | 0.045117 | 0.782245 | 0.772115 | 0.763864 | 0.700574 | 0.677702 | 0.637911 | 0 | 0.013506 | 0.345394 | 18,324 | 412 | 80 | 44.475728 | 0.784744 | 0.078258 | 0 | 0.748485 | 0 | 0 | 0.107446 | 0.027766 | 0 | 0 | 0 | 0 | 0.069697 | 1 | 0.048485 | false | 0 | 0.036364 | 0.009091 | 0.124242 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f429cf22def2d23488bc5a5c8c7d402662bdae24 | 147 | py | Python | wafw00f/plugins/airlock.py | shahsparx/wafw00f | d28dc3d7fa6b6977fbaf5e2cdb57808bcbe34c60 | [
"BSD-3-Clause"
] | 10 | 2015-08-31T10:38:24.000Z | 2021-09-30T06:39:13.000Z | wafw00f/plugins/airlock.py | raminfp/wafw00f | 98796bfba768ee3128e09c2b9e0aa05b8c0d2116 | [
"BSD-3-Clause"
] | null | null | null | wafw00f/plugins/airlock.py | raminfp/wafw00f | 98796bfba768ee3128e09c2b9e0aa05b8c0d2116 | [
"BSD-3-Clause"
] | 17 | 2015-07-24T20:40:23.000Z | 2021-01-08T19:41:18.000Z | #!/usr/bin/env python
NAME = 'InfoGuard Airlock'
def is_waf(self):
# credit goes to W3AF
return self.matchcookie('^AL[_-]?(SESS|LB)=')
| 14.7 | 49 | 0.639456 | 21 | 147 | 4.380952 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.183673 | 147 | 9 | 50 | 16.333333 | 0.758333 | 0.272109 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f42d43b29d196eab79112e5013c8c934ffc8e860 | 54 | py | Python | flfm/viewer/__init__.py | m-flak/flfm | e73943dc014e9af87a5c170d17dee15e1c6609bd | [
"Apache-2.0"
] | 5 | 2019-10-24T05:40:26.000Z | 2021-01-06T01:41:08.000Z | flfm/viewer/__init__.py | m-flak/flfm | e73943dc014e9af87a5c170d17dee15e1c6609bd | [
"Apache-2.0"
] | null | null | null | flfm/viewer/__init__.py | m-flak/flfm | e73943dc014e9af87a5c170d17dee15e1c6609bd | [
"Apache-2.0"
] | null | null | null | from .routes import viewer
from .vcache import vcache
| 18 | 26 | 0.814815 | 8 | 54 | 5.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f444ae325356e6dfe2a4642fddb94f6a79200ad0 | 174 | py | Python | mailsync/paths.py | georgismitev/mailsync-app | 142cbf5e77e1580fc04a44443b10b4e48d3a66e8 | [
"MIT"
] | null | null | null | mailsync/paths.py | georgismitev/mailsync-app | 142cbf5e77e1580fc04a44443b10b4e48d3a66e8 | [
"MIT"
] | 1 | 2019-07-23T02:39:16.000Z | 2019-07-23T02:39:16.000Z | mailsync/paths.py | georgismitev/mailsync-app | 142cbf5e77e1580fc04a44443b10b4e48d3a66e8 | [
"MIT"
] | 1 | 2019-09-23T22:00:04.000Z | 2019-09-23T22:00:04.000Z | from os.path import join, abspath, dirname
PROJECT_ROOT = abspath(dirname(__file__))
TEMPLATES_DIR = join(PROJECT_ROOT, 'templates')
MEDIA_DIR = join(PROJECT_ROOT, "media") | 34.8 | 48 | 0.781609 | 24 | 174 | 5.291667 | 0.541667 | 0.259843 | 0.220472 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 174 | 5 | 49 | 34.8 | 0.814103 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
f44f54468afa1839f125029c5f67a75742430d47 | 94 | py | Python | test_extract.py | emadflash/test_scraping | 7449b61144a7b4dfe91ff3342f9737d1f022fe97 | [
"WTFPL"
] | 1 | 2021-03-16T07:46:18.000Z | 2021-03-16T07:46:18.000Z | test_extract.py | emadflash/test_scraping | 7449b61144a7b4dfe91ff3342f9737d1f022fe97 | [
"WTFPL"
] | null | null | null | test_extract.py | emadflash/test_scraping | 7449b61144a7b4dfe91ff3342f9737d1f022fe97 | [
"WTFPL"
] | null | null | null | from src.extract import write_metadata
write_metadata("urls.txt", 'test_dataset.csv', 1, 10)
| 23.5 | 53 | 0.776596 | 15 | 94 | 4.666667 | 0.866667 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.095745 | 94 | 3 | 54 | 31.333333 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f45c41fa3da25b7b1bb3acdda377a4000959817d | 78 | py | Python | software_dev/oop/design_patterns/creational/singleton/singleton_as_module/main.py | croidzen/playground | 37dfe861cdc1803b0f51a0ee623f42c450e75f04 | [
"MIT"
] | null | null | null | software_dev/oop/design_patterns/creational/singleton/singleton_as_module/main.py | croidzen/playground | 37dfe861cdc1803b0f51a0ee623f42c450e75f04 | [
"MIT"
] | null | null | null | software_dev/oop/design_patterns/creational/singleton/singleton_as_module/main.py | croidzen/playground | 37dfe861cdc1803b0f51a0ee623f42c450e75f04 | [
"MIT"
] | null | null | null | import singleton
print(singleton.public_attribute)
singleton.public_method()
| 15.6 | 33 | 0.858974 | 9 | 78 | 7.222222 | 0.666667 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 78 | 4 | 34 | 19.5 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f47c038adedead288e44a39de71bf275ba0a956f | 88 | py | Python | config.py | zagiri1/instsave | bb58ad8b0b69d65a21504b0bbe01a1e36981b907 | [
"MIT"
] | null | null | null | config.py | zagiri1/instsave | bb58ad8b0b69d65a21504b0bbe01a1e36981b907 | [
"MIT"
] | null | null | null | config.py | zagiri1/instsave | bb58ad8b0b69d65a21504b0bbe01a1e36981b907 | [
"MIT"
] | null | null | null |
#token bot from botfather
token_bot = "5200615980:AAGRicp2lFDcio6bMlwMx7j1wVFScFBGwCo"
| 22 | 60 | 0.852273 | 8 | 88 | 9.25 | 0.75 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0.090909 | 88 | 3 | 61 | 29.333333 | 0.75 | 0.272727 | 0 | 0 | 0 | 0 | 0.741935 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
be3cb5f13ef5e0e3f4e573b0dd7669e0d47a56f3 | 15,732 | py | Python | antlr/CoolLexer.py | SebasRod23/cool-antlr | ea95b33d15f3e2f428502fb3c15433a72507b9f8 | [
"MIT"
] | null | null | null | antlr/CoolLexer.py | SebasRod23/cool-antlr | ea95b33d15f3e2f428502fb3c15433a72507b9f8 | [
"MIT"
] | null | null | null | antlr/CoolLexer.py | SebasRod23/cool-antlr | ea95b33d15f3e2f428502fb3c15433a72507b9f8 | [
"MIT"
] | null | null | null | # Generated from c:\Users\sebas\Documents\Python\Compiladores\cool-antlr\antlr\Cool.g4 by ANTLR 4.9.2
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
from typing import TextIO
else:
from typing.io import TextIO
def serializedATN():
with StringIO() as buf:
buf.w... | 57 | 103 | 0.550979 | 3,598 | 15,732 | 2.380211 | 0.170928 | 0.128211 | 0.08022 | 0.086408 | 0.20376 | 0.132648 | 0.073097 | 0.060135 | 0.060135 | 0.060135 | 0 | 0.345433 | 0.155924 | 15,732 | 275 | 104 | 57.207273 | 0.299495 | 0.006293 | 0 | 0 | 1 | 0.607004 | 0.594536 | 0.557297 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007782 | false | 0 | 0.019455 | 0 | 0.249027 | 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 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
be6b35922ece050bab5df4a7bc9a2090b2fa3b00 | 182 | py | Python | pecan/deploy.py | antlarr/pecan | 4baee7e4f30177d08c91f7ad5b9202773a0ca1c1 | [
"BSD-3-Clause"
] | 114 | 2015-08-13T14:16:39.000Z | 2022-03-06T08:56:00.000Z | pecan/deploy.py | antlarr/pecan | 4baee7e4f30177d08c91f7ad5b9202773a0ca1c1 | [
"BSD-3-Clause"
] | 81 | 2015-07-28T14:54:20.000Z | 2022-03-18T06:49:48.000Z | pecan/deploy.py | antlarr/pecan | 4baee7e4f30177d08c91f7ad5b9202773a0ca1c1 | [
"BSD-3-Clause"
] | 46 | 2015-07-27T19:28:53.000Z | 2022-03-06T08:56:05.000Z | from .core import load_app
def deploy(config):
"""
Given a config (dictionary of relative filename), returns a configured
WSGI app.
"""
return load_app(config)
| 18.2 | 74 | 0.67033 | 24 | 182 | 5 | 0.75 | 0.116667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241758 | 182 | 9 | 75 | 20.222222 | 0.869565 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
be72af972b55746632ae5ce7a32d34e1156f75db | 231,411 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase1.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase1.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_vpn_ipsec_phase1.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | #!/usr/bin/python
from __future__ import (absolute_import, division, print_function)
# Copyright 2019-2020 Fortinet, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of th... | 33.669577 | 144 | 0.266712 | 20,723 | 231,411 | 2.941997 | 0.035661 | 0.283137 | 0.149031 | 0.045402 | 0.730641 | 0.701937 | 0.675497 | 0.665639 | 0.66185 | 0.660439 | 0 | 0.139769 | 0.599773 | 231,411 | 6,872 | 145 | 33.674476 | 0.518501 | 0.00379 | 0 | 0.732274 | 0 | 0.000736 | 0.294724 | 0.006221 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001177 | false | 0.001471 | 0.001471 | 0.000147 | 0.005001 | 0.000147 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 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 | 5 |
bea6b6ad02b5cb7c1a00293d59a7bf8bf73a4643 | 85 | py | Python | app/request_models/detection_model.py | sahilshah8141/steel-defect-detection | 4633d88b617a70afac6f94f8f68450d4150cb4e4 | [
"MIT"
] | null | null | null | app/request_models/detection_model.py | sahilshah8141/steel-defect-detection | 4633d88b617a70afac6f94f8f68450d4150cb4e4 | [
"MIT"
] | null | null | null | app/request_models/detection_model.py | sahilshah8141/steel-defect-detection | 4633d88b617a70afac6f94f8f68450d4150cb4e4 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class DetectionModel(BaseModel):
image_url: str
| 14.166667 | 32 | 0.788235 | 10 | 85 | 6.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 85 | 5 | 33 | 17 | 0.929577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
beab03ef5249fb2a96820dcd8e1b9a9a7d41f7f1 | 50 | py | Python | opcode/opcode/__init__.py | stlehmann/micropython-lib | fcbf03b152a56f091361cefc7857b4c39891d1a8 | [
"PSF-2.0"
] | null | null | null | opcode/opcode/__init__.py | stlehmann/micropython-lib | fcbf03b152a56f091361cefc7857b4c39891d1a8 | [
"PSF-2.0"
] | null | null | null | opcode/opcode/__init__.py | stlehmann/micropython-lib | fcbf03b152a56f091361cefc7857b4c39891d1a8 | [
"PSF-2.0"
] | null | null | null | from .upyopcodes import *
from .upyopmap import *
| 16.666667 | 25 | 0.76 | 6 | 50 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 26 | 25 | 0.904762 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
beb552206771698dc22a7fc838d13930c3fc538c | 121 | py | Python | snippets/imports.py | NickBaynham/aimldl | 163bfd3fb834ae6811da4b0fadccfcb228ed2e79 | [
"MIT"
] | null | null | null | snippets/imports.py | NickBaynham/aimldl | 163bfd3fb834ae6811da4b0fadccfcb228ed2e79 | [
"MIT"
] | null | null | null | snippets/imports.py | NickBaynham/aimldl | 163bfd3fb834ae6811da4b0fadccfcb228ed2e79 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import mglearn
from IPython.display import display | 24.2 | 35 | 0.842975 | 20 | 121 | 5.1 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140496 | 121 | 5 | 35 | 24.2 | 0.980769 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fe2480ea08b46f3abf4005ce97899dedb5a1a408 | 57 | py | Python | ixbrlparse/__init__.py | drkane/ixbrl-parse | 81606ad541b31ab81364215adc17f3fccc5c8b00 | [
"MIT"
] | 39 | 2019-03-23T15:22:30.000Z | 2022-03-05T15:30:49.000Z | ixbrlparse/__init__.py | drkane/ixbrl-parse | 81606ad541b31ab81364215adc17f3fccc5c8b00 | [
"MIT"
] | 17 | 2018-12-14T10:35:50.000Z | 2021-03-19T10:01:47.000Z | ixbrlparse/__init__.py | drkane/ixbrl-parse | 81606ad541b31ab81364215adc17f3fccc5c8b00 | [
"MIT"
] | 13 | 2020-03-28T15:44:02.000Z | 2022-03-03T11:35:35.000Z | from .core import IXBRL
from .version import __version__
| 19 | 32 | 0.824561 | 8 | 57 | 5.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 33 | 28.5 | 0.877551 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fe98f5f1e081bf013199df99160abf2ff7e019b8 | 65 | py | Python | py_tdlib/constructors/chat_action_cancel.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/chat_action_cancel.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/chat_action_cancel.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class chatActionCancel(Type):
pass
| 10.833333 | 29 | 0.769231 | 8 | 65 | 6.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 5 | 30 | 13 | 0.909091 | 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 | 0 | 0 | 0 | 5 |
feb72271382e39be9aab4713fc288396d6c37070 | 423 | py | Python | S3Scanner/exceptions.py | 0xToast/S3Scanner | 6f7a67905df4819034c956a189df04271b8a8464 | [
"MIT"
] | 1,718 | 2017-06-20T01:20:36.000Z | 2022-03-30T23:46:04.000Z | S3Scanner/exceptions.py | 0xToast/S3Scanner | 6f7a67905df4819034c956a189df04271b8a8464 | [
"MIT"
] | 97 | 2017-06-19T22:22:37.000Z | 2022-01-31T21:59:11.000Z | S3Scanner/exceptions.py | 0xToast/S3Scanner | 6f7a67905df4819034c956a189df04271b8a8464 | [
"MIT"
] | 297 | 2017-08-19T00:34:35.000Z | 2022-03-27T23:45:29.000Z | class AccessDeniedException(Exception):
def __init__(self, message):
pass
# Call the base class constructor
# super().__init__(message, None)
# Now custom code
# self.errors = errors
class InvalidEndpointException(Exception):
def __init__(self, message):
self.m... | 22.263158 | 46 | 0.661939 | 40 | 423 | 6.6 | 0.5 | 0.136364 | 0.181818 | 0.227273 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257683 | 423 | 18 | 47 | 23.5 | 0.840764 | 0.236407 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.222222 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
feb9a5753801b3c49cb41f1f34e66d39ce3aaebc | 55 | py | Python | smartnlp/custom/learning_rate/__init__.py | viola-yuan/nlp-journey | 54c3d86674f66462113dbbe828353cd3b7fc683b | [
"Apache-2.0"
] | 1 | 2020-10-20T05:53:10.000Z | 2020-10-20T05:53:10.000Z | smartnlp/custom/learning_rate/__init__.py | viola-yuan/nlp-journey | 54c3d86674f66462113dbbe828353cd3b7fc683b | [
"Apache-2.0"
] | null | null | null | smartnlp/custom/learning_rate/__init__.py | viola-yuan/nlp-journey | 54c3d86674f66462113dbbe828353cd3b7fc683b | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# created by msgi on 2020/4/30 6:56 上午
| 13.75 | 38 | 0.672727 | 13 | 55 | 2.846154 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.2 | 55 | 3 | 39 | 18.333333 | 0.590909 | 0.890909 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
22b973a35a13fc0c68b8d21bba577c70edee827c | 96 | py | Python | modelmapper/exceptions.py | wearefair/modelmapper | 7f420ceca0312373fdb0ab81fa3f6a3f8fb86086 | [
"MIT"
] | 5 | 2018-06-29T22:13:22.000Z | 2019-03-15T18:28:07.000Z | modelmapper/exceptions.py | wearefair/modelmapper | 7f420ceca0312373fdb0ab81fa3f6a3f8fb86086 | [
"MIT"
] | 13 | 2018-06-29T22:40:02.000Z | 2020-12-15T05:29:04.000Z | modelmapper/exceptions.py | wearefair/modelmapper | 7f420ceca0312373fdb0ab81fa3f6a3f8fb86086 | [
"MIT"
] | 1 | 2019-08-05T17:47:02.000Z | 2019-08-05T17:47:02.000Z | class NothingToProcess(ValueError):
pass
class FileAlreadyProcessed(ValueError):
pass
| 13.714286 | 39 | 0.770833 | 8 | 96 | 9.25 | 0.625 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 6 | 40 | 16 | 0.925 | 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 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fe1be0f6c953c42b528c8d3157d5e73dd57d0f95 | 14,938 | py | Python | tests/test_superlearner.py | joannadiong/zEpid | 7377ed06156d074aa2b571be520e8e004a564353 | [
"MIT"
] | 101 | 2018-12-17T20:32:20.000Z | 2022-03-29T08:51:46.000Z | tests/test_superlearner.py | joannadiong/zEpid | 7377ed06156d074aa2b571be520e8e004a564353 | [
"MIT"
] | 124 | 2018-12-13T22:30:41.000Z | 2022-02-10T00:24:25.000Z | tests/test_superlearner.py | joannadiong/zEpid | 7377ed06156d074aa2b571be520e8e004a564353 | [
"MIT"
] | 26 | 2019-02-07T17:45:15.000Z | 2022-01-03T00:39:34.000Z | import pytest
import numpy as np
import pandas as pd
import numpy.testing as npt
import pandas.testing as pdt
import statsmodels.api as sm
import statsmodels.formula.api as smf
from sklearn.linear_model import LogisticRegression, LinearRegression
from zepid.superlearner import EmpiricalMeanSL, GLMSL, StepwiseSL, Super... | 45.963077 | 117 | 0.604566 | 2,019 | 14,938 | 4.336305 | 0.10005 | 0.070931 | 0.090577 | 0.054369 | 0.798858 | 0.774643 | 0.753627 | 0.72016 | 0.713421 | 0.676985 | 0 | 0.052269 | 0.243071 | 14,938 | 324 | 118 | 46.104938 | 0.722031 | 0.057237 | 0 | 0.474138 | 0 | 0 | 0.077788 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 1 | 0.125 | false | 0 | 0.038793 | 0 | 0.198276 | 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 | 0 | 0 | 0 | 5 |
430a96384ef387d1041e994f49d4e69e4e0cf4d9 | 38 | py | Python | pyspective/errors.py | Brain-Flooder/PySpective | c4f05d7fb49a48c435ab012f4aafed8836ba3a72 | [
"MIT"
] | 1 | 2021-11-03T10:02:40.000Z | 2021-11-03T10:02:40.000Z | pyspective/errors.py | Brain-Flooder/PySpective | c4f05d7fb49a48c435ab012f4aafed8836ba3a72 | [
"MIT"
] | null | null | null | pyspective/errors.py | Brain-Flooder/PySpective | c4f05d7fb49a48c435ab012f4aafed8836ba3a72 | [
"MIT"
] | null | null | null | def APIException(Exception):
pass | 19 | 29 | 0.736842 | 4 | 38 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 30 | 19 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
431573c4ac83521f7f6a9580b3fc989d948c4eb3 | 851 | py | Python | tests/module.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | tests/module.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | tests/module.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | from unittest import TestCase
from chibi.object import Chibi_object
from chibi.atlas import Chibi_atlas
from chibi.module import import_, export
class Test_import( TestCase ):
def setUp( self ):
pass
def test_import_chibi_object( self ):
cls = import_( 'chibi.object.Chibi_object' )
... | 25.029412 | 55 | 0.676851 | 107 | 851 | 5.130841 | 0.158879 | 0.200364 | 0.123862 | 0.131148 | 0.64663 | 0.615665 | 0.48816 | 0.349727 | 0.349727 | 0.200364 | 0 | 0 | 0.237368 | 851 | 33 | 56 | 25.787879 | 0.845917 | 0 | 0 | 0.363636 | 0 | 0 | 0.121034 | 0.121034 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.272727 | false | 0.090909 | 0.5 | 0 | 0.863636 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
4a61bc8af7fdb325f6d5417bb45347c6bd6562a4 | 165 | py | Python | logapp/admin.py | rahmangate/log | b79bd44aed492ff15af8cd038e5d85b37dfc7a8e | [
"Apache-2.0"
] | null | null | null | logapp/admin.py | rahmangate/log | b79bd44aed492ff15af8cd038e5d85b37dfc7a8e | [
"Apache-2.0"
] | null | null | null | logapp/admin.py | rahmangate/log | b79bd44aed492ff15af8cd038e5d85b37dfc7a8e | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from logapp.models import Employee,Visitor
admin.site.register(Employee)
admin.site.register(Visitor) | 23.571429 | 42 | 0.824242 | 23 | 165 | 5.913043 | 0.565217 | 0.132353 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 165 | 7 | 43 | 23.571429 | 0.912752 | 0.157576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 5 |
4aac09133f7d6cb8636b7a56561bb10f401a6e48 | 137 | py | Python | striped/hist/__init__.py | ivmfnal/striped | eef1a4d544fa1b97fde39d7ee5ef779071218891 | [
"BSD-3-Clause"
] | 1 | 2019-07-01T15:19:43.000Z | 2019-07-01T15:19:43.000Z | striped/hist/__init__.py | ivmfnal/striped | eef1a4d544fa1b97fde39d7ee5ef779071218891 | [
"BSD-3-Clause"
] | null | null | null | striped/hist/__init__.py | ivmfnal/striped | eef1a4d544fa1b97fde39d7ee5ef779071218891 | [
"BSD-3-Clause"
] | 1 | 2020-04-21T21:18:01.000Z | 2020-04-21T21:18:01.000Z | from .H import Hist, bins, category
from .HTransport import HCollector, HAggregator, HAccumulator
from .HPlot import below, beside, grid
| 34.25 | 61 | 0.80292 | 18 | 137 | 6.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131387 | 137 | 3 | 62 | 45.666667 | 0.92437 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4ab4700d3e0d0ee81d8ed65072676344aa93a809 | 178 | py | Python | tests/web_platform/css_grid_1/grid_model/test_grid_inline_margins_no_collapse.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 71 | 2015-04-13T09:44:14.000Z | 2019-03-24T01:03:02.000Z | tests/web_platform/css_grid_1/grid_model/test_grid_inline_margins_no_collapse.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 35 | 2019-05-06T15:26:09.000Z | 2022-03-28T06:30:33.000Z | tests/web_platform/css_grid_1/grid_model/test_grid_inline_margins_no_collapse.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 139 | 2015-05-30T18:37:43.000Z | 2019-03-27T17:14:05.000Z | from tests.utils import W3CTestCase
class TestGridInlineMarginsNoCollapse(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'grid-inline-margins-no-collapse-'))
| 29.666667 | 87 | 0.808989 | 19 | 178 | 7.315789 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018293 | 0.078652 | 178 | 5 | 88 | 35.6 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4ac0526f86fb0816c466ae83c981c145dbf9d2e0 | 206 | py | Python | cpdb/sitemap/sitemaps/unit_sitemap.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 25 | 2018-07-20T22:31:40.000Z | 2021-07-15T16:58:41.000Z | cpdb/sitemap/sitemaps/unit_sitemap.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 13 | 2018-06-18T23:08:47.000Z | 2022-02-10T07:38:25.000Z | cpdb/sitemap/sitemaps/unit_sitemap.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 6 | 2018-05-17T21:59:43.000Z | 2020-11-17T00:30:26.000Z | from data.models import PoliceUnit
from sitemap.sitemaps.base_sitemap import BaseSitemap
class UnitSitemap(BaseSitemap):
def items(self):
return PoliceUnit.objects.all().order_by('unit_name')
| 25.75 | 61 | 0.776699 | 26 | 206 | 6.038462 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 206 | 7 | 62 | 29.428571 | 0.882022 | 0 | 0 | 0 | 0 | 0 | 0.043689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
43590f3edcbc479c749f8c1b70343a4d73574044 | 110 | py | Python | lab2-ex5.py | LiliHavingFun/fun1-python | 947ec5396a65ce1a21faf31d70bb3ffb98c3304c | [
"Unlicense"
] | null | null | null | lab2-ex5.py | LiliHavingFun/fun1-python | 947ec5396a65ce1a21faf31d70bb3ffb98c3304c | [
"Unlicense"
] | null | null | null | lab2-ex5.py | LiliHavingFun/fun1-python | 947ec5396a65ce1a21faf31d70bb3ffb98c3304c | [
"Unlicense"
] | null | null | null | # No good name, sorry, lol :)
def combinations(list, k):
return 0
print( combinations([1, 2, 3, 4], 3) ) | 18.333333 | 38 | 0.609091 | 18 | 110 | 3.722222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.218182 | 110 | 6 | 38 | 18.333333 | 0.709302 | 0.245455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
43d83f52742f5adf035a487cf491013b637b2bf1 | 209,209 | py | Python | meld_dataset.py | jbdel/MOSEI_UMONS | 8792568d74208300dcd43cc5596cbc62a0fef70d | [
"MIT"
] | 64 | 2020-05-20T13:48:13.000Z | 2022-03-23T17:51:26.000Z | meld_dataset.py | jbdel/MOSEI_UMONS | 8792568d74208300dcd43cc5596cbc62a0fef70d | [
"MIT"
] | 19 | 2020-10-13T07:32:40.000Z | 2022-02-15T21:35:18.000Z | meld_dataset.py | jbdel/MOSEI_UMONS | 8792568d74208300dcd43cc5596cbc62a0fef70d | [
"MIT"
] | 24 | 2020-06-11T09:51:28.000Z | 2022-03-21T01:29:44.000Z | from __future__ import print_function
import os
import pickle
import numpy as np
import torch
# from utils.plot import plot
from utils.tokenize import tokenize, create_dict, sent_to_ix, cmumosei_2, cmumosei_7, pad_feature
from torch.utils.data import Dataset
TRAIN_SET = ['dia0_utt0', 'dia0_utt1', 'dia0_utt2', 'dia0_u... | 2,432.662791 | 151,632 | 0.732368 | 27,878 | 209,209 | 4.999462 | 0.042291 | 0.000904 | 0.001162 | 0.000603 | 0.312 | 0.309058 | 0.297736 | 0.295247 | 0.281449 | 0.278228 | 0 | 0.284323 | 0.069313 | 209,209 | 85 | 151,633 | 2,461.282353 | 0.431492 | 0.001343 | 0 | 0.034483 | 0 | 0 | 0.724859 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 1 | 0.051724 | false | 0 | 0.12069 | 0.017241 | 0.224138 | 0.017241 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
78e0368a1e10ad52ceb2f5578679651c855bf644 | 98 | py | Python | drf/base/admin.py | ravellys/drf-intro | da8fa5557dda360df4c9e5171e0bc875ba973eff | [
"MIT"
] | null | null | null | drf/base/admin.py | ravellys/drf-intro | da8fa5557dda360df4c9e5171e0bc875ba973eff | [
"MIT"
] | null | null | null | drf/base/admin.py | ravellys/drf-intro | da8fa5557dda360df4c9e5171e0bc875ba973eff | [
"MIT"
] | null | null | null | from django.contrib import admin
from drf.base.models import Member
admin.site.register(Member)
| 16.333333 | 34 | 0.816327 | 15 | 98 | 5.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 98 | 5 | 35 | 19.6 | 0.91954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 5 |
78e2af3e5fbe486255383defea8bb1aa5c49deb9 | 423 | py | Python | errors/views.py | gureuso/turnthepage | f86f4e6e80e4a817b06cc5c777d733cf8171310e | [
"Apache-2.0"
] | 1 | 2019-04-27T13:36:26.000Z | 2019-04-27T13:36:26.000Z | errors/views.py | gureuso/turnthepage | f86f4e6e80e4a817b06cc5c777d733cf8171310e | [
"Apache-2.0"
] | 7 | 2020-06-05T20:21:29.000Z | 2022-03-11T23:44:41.000Z | errors/views.py | gureuso/turnthepage | f86f4e6e80e4a817b06cc5c777d733cf8171310e | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
def bad_request(request, exception):
return render(request, 'errors/400.html', status=400)
def permission_denied(request, exception):
return render(request, 'errors/403.html', status=403)
def page_not_found(request, exception):
return render(request, 'errors/404.htm... | 23.5 | 57 | 0.747045 | 57 | 423 | 5.45614 | 0.421053 | 0.154341 | 0.244373 | 0.321543 | 0.395498 | 0.395498 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.130024 | 423 | 17 | 58 | 24.882353 | 0.779891 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
602378a912f8126f8e05901bd15ac974057027c7 | 96 | py | Python | venv/lib/python3.8/site-packages/cffi/vengine_gen.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/cffi/vengine_gen.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cffi/vengine_gen.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e5/d5/fb/b350d4ea94c138c23aa13567ffc0679abbbf963f77d81e9be2fdbd1e58 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 0 | 96 | 1 | 96 | 96 | 0.541667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.