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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e1507093b48617452f7244680c959a63536ee5a0 | 876 | py | Python | test/illegals/backticks3.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | 5 | 2017-02-22T10:17:39.000Z | 2021-04-06T16:36:13.000Z | test/illegals/backticks3.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | null | null | null | test/illegals/backticks3.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | 1 | 2020-08-29T02:30:52.000Z | 2020-08-29T02:30:52.000Z | a = liambda `123`
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
liambda : meta.liambda-function.python, source.python, storage.type.function.liambda.python
: meta.function.liambda.paramet... | 58.4 | 165 | 0.69863 | 95 | 876 | 6.442105 | 0.2 | 0.196078 | 0.264706 | 0.245098 | 0.763072 | 0.763072 | 0.702614 | 0.642157 | 0.642157 | 0.642157 | 0 | 0.008487 | 0.192922 | 876 | 14 | 166 | 62.571429 | 0.857143 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e16453341b67a809a88af94cbc958c5bca692795 | 195 | py | Python | i2c_class.py | vinicentus/raspberry_pi_i2c_scd4x_python | 338873c28b2b62adba1bc7e6fb8b42b78320896b | [
"BSD-3-Clause"
] | null | null | null | i2c_class.py | vinicentus/raspberry_pi_i2c_scd4x_python | 338873c28b2b62adba1bc7e6fb8b42b78320896b | [
"BSD-3-Clause"
] | null | null | null | i2c_class.py | vinicentus/raspberry_pi_i2c_scd4x_python | 338873c28b2b62adba1bc7e6fb8b42b78320896b | [
"BSD-3-Clause"
] | null | null | null | from ._scd4x_driver import lib
class I2C:
def sensirion_i2c_hal_init(self):
lib.sensirion_i2c_hal_init()
def sensirion_i2c_hal_free(self):
lib.sensirion_i2c_hal_free()
| 19.5 | 37 | 0.728205 | 29 | 195 | 4.413793 | 0.448276 | 0.375 | 0.46875 | 0.28125 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.2 | 195 | 9 | 38 | 21.666667 | 0.782051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e18a9ef9576b385a454220d6d415fe2a336d5ec9 | 187 | py | Python | sbaas/analysis/analysis_stage01_isotopomer/__init__.py | SBRG/sbaas | 9df76bbffdd620cf8566744a2b0503935998fbe0 | [
"Apache-2.0"
] | 1 | 2017-05-13T04:35:08.000Z | 2017-05-13T04:35:08.000Z | sbaas/analysis/analysis_stage01_isotopomer/__init__.py | SBRG/sbaas | 9df76bbffdd620cf8566744a2b0503935998fbe0 | [
"Apache-2.0"
] | null | null | null | sbaas/analysis/analysis_stage01_isotopomer/__init__.py | SBRG/sbaas | 9df76bbffdd620cf8566744a2b0503935998fbe0 | [
"Apache-2.0"
] | 2 | 2017-02-23T19:32:38.000Z | 2020-01-14T19:13:05.000Z | from .stage01_isotopomer_query import stage01_isotopomer_query
from .stage01_isotopomer_execute import stage01_isotopomer_execute
from .stage01_isotopomer_io import stage01_isotopomer_io
| 46.75 | 66 | 0.919786 | 24 | 187 | 6.666667 | 0.291667 | 0.6375 | 0.39375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068571 | 0.064171 | 187 | 3 | 67 | 62.333333 | 0.845714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e1b925bb42ffb92d08440f15012049dab1260fe3 | 146 | py | Python | practice/string/string/string/string.py | thekaranjit/pythonpractice | c87f535f694ee259a4d9de317f5b2eacd0e3748f | [
"Unlicense"
] | 1 | 2018-06-21T23:15:18.000Z | 2018-06-21T23:15:18.000Z | practice/string/string/string/string.py | thekaranjit/pythonpractice | c87f535f694ee259a4d9de317f5b2eacd0e3748f | [
"Unlicense"
] | null | null | null | practice/string/string/string/string.py | thekaranjit/pythonpractice | c87f535f694ee259a4d9de317f5b2eacd0e3748f | [
"Unlicense"
] | null | null | null | print(' a string that you "dont" have to escape \n This \n is a multi-line \n heredoc string -------> example')
| 24.333333 | 111 | 0.506849 | 20 | 146 | 3.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.369863 | 146 | 6 | 112 | 24.333333 | 0.804348 | 0 | 0 | 0 | 0 | 1 | 0.693878 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e1c08861c73314b3f9d57e16a664567f042396ce | 105 | py | Python | src/hub/dataload/sources/snpeff/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 39 | 2017-07-01T22:34:39.000Z | 2022-03-15T22:25:59.000Z | src/hub/dataload/sources/snpeff/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 105 | 2017-06-28T17:26:06.000Z | 2022-03-17T17:49:53.000Z | src/hub/dataload/sources/snpeff/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 15 | 2015-10-15T20:46:50.000Z | 2021-07-12T19:17:49.000Z | from .snpeff_dump import SnpeffDumper
from .snpeff_upload import SnpeffHg19Uploader, SnpeffHg38Uploader
| 26.25 | 65 | 0.87619 | 11 | 105 | 8.181818 | 0.727273 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0.095238 | 105 | 3 | 66 | 35 | 0.905263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1c19bc6fbcb5c9aa87f02302e7e8cc5aaaeaead | 6,747 | py | Python | acled_africa/eda.py | umangchaudhry/acled_africa | 5d5b9a645c862dff8092e4e74e51881486206f77 | [
"MIT"
] | null | null | null | acled_africa/eda.py | umangchaudhry/acled_africa | 5d5b9a645c862dff8092e4e74e51881486206f77 | [
"MIT"
] | null | null | null | acled_africa/eda.py | umangchaudhry/acled_africa | 5d5b9a645c862dff8092e4e74e51881486206f77 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import seaborn as sns
import warnings
warnings.filterwarnings("ignore")
def region_event(data):
"""
This function creates a bar plot of the regional distribution of events
in the given dataset.
Parameters
----------
data : a pandas dataframe that contains a... | 29.986667 | 108 | 0.640729 | 962 | 6,747 | 4.398129 | 0.117464 | 0.037816 | 0.036871 | 0.043489 | 0.87048 | 0.834082 | 0.829591 | 0.802174 | 0.78563 | 0.761049 | 0 | 0.022147 | 0.216985 | 6,747 | 225 | 109 | 29.986667 | 0.778724 | 0.314955 | 0 | 0.673077 | 0 | 0 | 0.188361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.028846 | 0 | 0.105769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1c9cdd11512a88b9ab687d9ec0c4d6b56426251 | 76,748 | py | Python | python/getXSection.py | lucaswiens/Plotter | f33c64d6a0785cd9e78d540034aad4bccf7899f9 | [
"BSD-2-Clause"
] | null | null | null | python/getXSection.py | lucaswiens/Plotter | f33c64d6a0785cd9e78d540034aad4bccf7899f9 | [
"BSD-2-Clause"
] | null | null | null | python/getXSection.py | lucaswiens/Plotter | f33c64d6a0785cd9e78d540034aad4bccf7899f9 | [
"BSD-2-Clause"
] | null | null | null | def GetXSection(fileName): #[pb]
if fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_mtop1695_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8") !=-1 : return 70.89
elif fileName.find("ST_t-channel_antitop_4f_InclusiveDecays_mtop1715_TuneCP5_PSweights_13TeV-powheg-madspin-pythia8") !=-1 : return 69.66
elif fil... | 106.594444 | 180 | 0.813155 | 11,134 | 76,748 | 5.311029 | 0.081283 | 0.145908 | 0.193192 | 0.086449 | 0.91837 | 0.873218 | 0.765765 | 0.605804 | 0.482641 | 0.371704 | 0 | 0.130988 | 0.065656 | 76,748 | 719 | 181 | 106.742698 | 0.693637 | 0.000052 | 0 | 0 | 0 | 0 | 0.576613 | 0.574906 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001391 | false | 0 | 0 | 0 | 0.002782 | 0.001391 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
becb1c5d4b9ea39aeab86ad172e59bcdbe9fa38b | 96 | py | Python | venv/lib/python3.8/site-packages/tomlkit/_compat.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/tomlkit/_compat.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/tomlkit/_compat.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/83/9a/18/620dc8665d157a95e8bd8529f1f10f3b4c237eccbe2e6418e048857edc | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
beeede20796f58ce9a70d2cc4a11e7b16d79a30e | 233 | py | Python | src/Parser/Parsers/expressions/read.py | PetukhovVictor/compiler2 | 0bf87393ce9ecdd421393165fc14cb7f03f5e3b8 | [
"MIT"
] | 3 | 2017-09-08T21:35:31.000Z | 2019-04-24T11:48:59.000Z | src/Parser/Parsers/expressions/read.py | PetukhovVictor/compiler2 | 0bf87393ce9ecdd421393165fc14cb7f03f5e3b8 | [
"MIT"
] | 1 | 2018-11-19T15:34:00.000Z | 2018-11-19T15:35:52.000Z | src/Parser/Parsers/expressions/read.py | PetukhovVictor/compiler2 | 0bf87393ce9ecdd421393165fc14cb7f03f5e3b8 | [
"MIT"
] | 4 | 2017-03-13T06:16:48.000Z | 2019-04-24T11:49:00.000Z | from ...AST.expressions.read import ReadStatement
def read_stmt():
""" Parsing 'read' statement. """
from ..common import keyword
return keyword('read') + keyword('(') + keyword(')') ^ (lambda parsed: ReadStatement())
| 25.888889 | 91 | 0.652361 | 24 | 233 | 6.291667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171674 | 233 | 8 | 92 | 29.125 | 0.782383 | 0.107296 | 0 | 0 | 0 | 0 | 0.03 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8300946125759a85528048f0c03d659b6b88c47d | 249 | py | Python | graph/__init__.py | RobMcZag/python-algorithms3 | 635e347d942612f6caa4e769a825bcfb26cf24ab | [
"Apache-2.0"
] | 1 | 2020-02-02T07:28:36.000Z | 2020-02-02T07:28:36.000Z | graph/__init__.py | RobMcZag/python-algorithms3 | 635e347d942612f6caa4e769a825bcfb26cf24ab | [
"Apache-2.0"
] | null | null | null | graph/__init__.py | RobMcZag/python-algorithms3 | 635e347d942612f6caa4e769a825bcfb26cf24ab | [
"Apache-2.0"
] | null | null | null | """
Undirected graph data type and procedures for its manipulation.
"""
from graph.graph import Graph, DepthFirstSearch, BreadthFirstSearch, ConnectedComponents
__all__ = ['Graph', 'DepthFirstSearch', 'BreadthFirstSearch', 'ConnectedComponents']
| 27.666667 | 88 | 0.791165 | 22 | 249 | 8.772727 | 0.681818 | 0.217617 | 0.404145 | 0.601036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 249 | 8 | 89 | 31.125 | 0.869369 | 0.253012 | 0 | 0 | 0 | 0 | 0.327684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
360115e8b3816b3fcbcc43eaf8ebd84bc9cd08f8 | 1,509 | py | Python | sabueso/tools/file_pdb/parsers/format23.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | null | null | null | sabueso/tools/file_pdb/parsers/format23.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | 2 | 2022-01-31T21:22:17.000Z | 2022-02-04T20:20:12.000Z | sabueso/tools/file_pdb/parsers/format23.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | 1 | 2021-07-20T15:01:14.000Z | 2021-07-20T15:01:14.000Z | #https://www.wwpdb.org/documentation/file-format-content/format23/v2.3.html
def line_is_ATOM_record(line):
return line.startswith('ATOM ')
def line_is_HETATM_record(line):
return line.startswith('HETATM')
def get_fields_from_ATOM_record(record):
fields={}
fields['ATOM '] = record[0:6]
fields... | 30.795918 | 75 | 0.627568 | 208 | 1,509 | 4.485577 | 0.278846 | 0.141479 | 0.019293 | 0.042872 | 0.78671 | 0.722401 | 0.722401 | 0.722401 | 0.722401 | 0.722401 | 0 | 0.084462 | 0.168323 | 1,509 | 48 | 76 | 31.4375 | 0.658964 | 0.049039 | 0 | 0.789474 | 0 | 0 | 0.122819 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0 | 0.052632 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
364b8b7dd56a34955652869162d906fe97b05151 | 22,017 | py | Python | test/bluegreen_test.py | gabrielgruppelli/tsuru-bluegreen | 37dc1afb58fdc11f9f4454649f1cc0ad5640d19e | [
"MIT"
] | null | null | null | test/bluegreen_test.py | gabrielgruppelli/tsuru-bluegreen | 37dc1afb58fdc11f9f4454649f1cc0ad5640d19e | [
"MIT"
] | null | null | null | test/bluegreen_test.py | gabrielgruppelli/tsuru-bluegreen | 37dc1afb58fdc11f9f4454649f1cc0ad5640d19e | [
"MIT"
] | null | null | null | import unittest
from mock import MagicMock
from mock import Mock
from mock import patch
import httpretty
from bluegreen import BlueGreen
class TestBlueGreen(unittest.TestCase):
def setUp(self):
self.config = {
'name': 'test-app',
'deploy_dir': '.',
'retry_times': 3,
'retry_sleep': 0,
... | 42.668605 | 147 | 0.634737 | 2,634 | 22,017 | 5.082005 | 0.081625 | 0.044375 | 0.064246 | 0.093157 | 0.918422 | 0.895936 | 0.862095 | 0.82407 | 0.796877 | 0.750486 | 0 | 0.019455 | 0.217923 | 22,017 | 515 | 148 | 42.751456 | 0.757942 | 0 | 0 | 0.60101 | 0 | 0 | 0.178544 | 0.027388 | 0 | 0 | 0 | 0 | 0.189394 | 1 | 0.138889 | false | 0 | 0.015152 | 0 | 0.161616 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3658b84b7ca828791f8317a9d493aa9b52f2f404 | 37 | py | Python | python/packages/isce3/cuda/core/__init__.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 64 | 2019-08-06T19:22:22.000Z | 2022-03-20T17:11:46.000Z | python/packages/isce3/cuda/core/__init__.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 8 | 2020-09-01T22:46:53.000Z | 2021-11-04T00:05:28.000Z | python/packages/isce3/cuda/core/__init__.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 29 | 2019-08-05T21:40:55.000Z | 2022-03-23T00:17:03.000Z | from pybind_isce3.cuda.core import *
| 18.5 | 36 | 0.810811 | 6 | 37 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.108108 | 37 | 1 | 37 | 37 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
368ad2ede3d2996b41b64392edb58c0883db241f | 156 | py | Python | flask_app/errors.py | kentblock/golf-api | ad66d8f190b683ec710a9bd84122031e28c19817 | [
"MIT"
] | null | null | null | flask_app/errors.py | kentblock/golf-api | ad66d8f190b683ec710a9bd84122031e28c19817 | [
"MIT"
] | null | null | null | flask_app/errors.py | kentblock/golf-api | ad66d8f190b683ec710a9bd84122031e28c19817 | [
"MIT"
] | null | null | null | from flask import jsonify
def bad_request(msg):
return msg, 400
def not_found(msg):
return msg, 404
def not_authorized(msg):
return msg, 401 | 14.181818 | 25 | 0.705128 | 25 | 156 | 4.28 | 0.6 | 0.252336 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07377 | 0.217949 | 156 | 11 | 26 | 14.181818 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
36d9b547f8b21b7df00fcf2c749d5360392f967c | 1,579 | py | Python | K_Mathematical_Modeling/Section 4/solutionExercise1.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 7 | 2019-07-03T07:41:55.000Z | 2022-02-06T20:25:37.000Z | K_Mathematical_Modeling/Section 4/solutionExercise1.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 9 | 2019-03-14T15:15:09.000Z | 2019-08-01T14:18:21.000Z | K_Mathematical_Modeling/Section 4/solutionExercise1.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 11 | 2019-03-12T10:43:11.000Z | 2021-10-05T12:15:00.000Z | print("The variable Pp/Ptot, i.e. the fraction of paused polymerases, seems to provide the best contrast between its minimal and maximal values as K_3 varies, regardless of the values of K_1 and K_2. In this example, it is not very surprising. Sometimes it is more difficult to find which model output is the most sensit... | 175.444444 | 573 | 0.777074 | 309 | 1,579 | 3.893204 | 0.391586 | 0.016625 | 0.022444 | 0.031588 | 0.069825 | 0.069825 | 0 | 0 | 0 | 0 | 0 | 0.020753 | 0.176061 | 1,579 | 8 | 574 | 197.375 | 0.90392 | 0 | 0 | 0 | 0 | 0.833333 | 0.961759 | 0.026769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
36dc0400013eb30fc2151f2ed3dbc2f6483c9bfc | 3,500 | py | Python | tests/test_features_joints.py | facebookresearch/bipedal-skills | edd424a8779e3a0121fb995cad00839d8226cf46 | [
"MIT"
] | 6 | 2021-11-05T16:57:58.000Z | 2022-03-16T10:34:46.000Z | tests/test_features_joints.py | facebookresearch/bipedal-skills | edd424a8779e3a0121fb995cad00839d8226cf46 | [
"MIT"
] | null | null | null | tests/test_features_joints.py | facebookresearch/bipedal-skills | edd424a8779e3a0121fb995cad00839d8226cf46 | [
"MIT"
] | 1 | 2021-11-05T16:57:47.000Z | 2021-11-05T16:57:47.000Z | # Copyright (c) 2021-present, Facebook, Inc.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#
import gym
import pytest
import bisk
from bisk.features.joints import JointsFeaturizer
from bisk.single_robot import BiskSingleRobotEnv
def test... | 24.475524 | 65 | 0.519143 | 414 | 3,500 | 4.157005 | 0.164251 | 0.069727 | 0.046485 | 0.058106 | 0.739686 | 0.703661 | 0.703661 | 0.703661 | 0.703661 | 0.703661 | 0 | 0.003394 | 0.326571 | 3,500 | 142 | 66 | 24.647887 | 0.726771 | 0.046286 | 0 | 0.793893 | 0 | 0 | 0.39964 | 0 | 0 | 0 | 0 | 0 | 0.045802 | 1 | 0.015267 | false | 0 | 0.038168 | 0 | 0.053435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7fd3822584dfd83c5cee66e20ef0ecb4cb0b4b30 | 35 | py | Python | test2.py | giodelarosa/LP | dbb7aad4fcc50cfd69ca15429be7ec3773570f4a | [
"Apache-2.0"
] | null | null | null | test2.py | giodelarosa/LP | dbb7aad4fcc50cfd69ca15429be7ec3773570f4a | [
"Apache-2.0"
] | null | null | null | test2.py | giodelarosa/LP | dbb7aad4fcc50cfd69ca15429be7ec3773570f4a | [
"Apache-2.0"
] | null | null | null | print " this is a second commit"
| 8.75 | 32 | 0.685714 | 6 | 35 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 35 | 3 | 33 | 11.666667 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7fe58b8777acb616f5737108260706473ddf9096 | 28 | py | Python | github/methods/organizations/custom/__init__.py | appheap/PyGithub | 2442a2512a708c6463f81d8398fd91090e134df1 | [
"MIT"
] | 1 | 2022-03-16T21:33:37.000Z | 2022-03-16T21:33:37.000Z | github/methods/organizations/custom/__init__.py | appheap/PyGithub | 2442a2512a708c6463f81d8398fd91090e134df1 | [
"MIT"
] | null | null | null | github/methods/organizations/custom/__init__.py | appheap/PyGithub | 2442a2512a708c6463f81d8398fd91090e134df1 | [
"MIT"
] | 1 | 2022-03-16T21:28:06.000Z | 2022-03-16T21:28:06.000Z |
class Custom(
):
pass | 4.666667 | 13 | 0.535714 | 3 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 28 | 6 | 14 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7fffd96445a477ba28988daba8ea74cc0667cc1a | 187 | py | Python | api/users/tests.py | flatcoke/komong | b7c4721795b36dc936cf9060aba97d693a33c5b8 | [
"MIT"
] | 1 | 2019-07-31T07:18:07.000Z | 2019-07-31T07:18:07.000Z | api/users/tests.py | flatcoke/komong | b7c4721795b36dc936cf9060aba97d693a33c5b8 | [
"MIT"
] | null | null | null | api/users/tests.py | flatcoke/komong | b7c4721795b36dc936cf9060aba97d693a33c5b8 | [
"MIT"
] | 1 | 2019-04-10T05:03:35.000Z | 2019-04-10T05:03:35.000Z | from rest_framework.test import APITestCase
from rest_framework import status
from .models import User
class UserTest(APITestCase):
def test_create_user_success(self):
pass
| 20.777778 | 43 | 0.791444 | 25 | 187 | 5.72 | 0.64 | 0.111888 | 0.237762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165775 | 187 | 8 | 44 | 23.375 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.5 | 0 | 0.833333 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3d42c277bb5dee2c1b3e4eae91eac7f0d262d3fd | 87,586 | py | Python | duke-cs671-fall21-coupon-recommendation/outputs/rules/ID3/10_features/maxdepth_5/4/rules.py | apcarrik/kaggle | 6e2d4db58017323e7ba5510bcc2598e01a4ee7bf | [
"MIT"
] | null | null | null | duke-cs671-fall21-coupon-recommendation/outputs/rules/ID3/10_features/maxdepth_5/4/rules.py | apcarrik/kaggle | 6e2d4db58017323e7ba5510bcc2598e01a4ee7bf | [
"MIT"
] | null | null | null | duke-cs671-fall21-coupon-recommendation/outputs/rules/ID3/10_features/maxdepth_5/4/rules.py | apcarrik/kaggle | 6e2d4db58017323e7ba5510bcc2598e01a4ee7bf | [
"MIT"
] | null | null | null | def findDecision(obj): #obj[0]: Passanger, obj[1]: Time, obj[2]: Coupon, obj[3]: Education, obj[4]: Occupation, obj[5]: Bar, obj[6]: Coffeehouse, obj[7]: Restaurant20to50, obj[8]: Direction_same, obj[9]: Distance
# {"feature": "Coupon", "instances": 8148, "metric_value": 0.4751, "depth": 1}
if obj[2]>1:
# {"feature... | 39.79373 | 212 | 0.495524 | 10,919 | 87,586 | 3.916751 | 0.048906 | 0.125517 | 0.136928 | 0.127669 | 0.920172 | 0.833633 | 0.81598 | 0.71962 | 0.65132 | 0.600463 | 0 | 0.104662 | 0.314274 | 87,586 | 2,200 | 213 | 39.811818 | 0.607409 | 0.445505 | 0 | 0.971963 | 0 | 0 | 0.079165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000584 | false | 0 | 0 | 0 | 0.215537 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
185514b2f8ddb55055d87a437a5084b6fb82bd52 | 17,317 | py | Python | pypkm/pkm.py | ceol/pypkm | 1044e8cd3ee64980700ec2910b3fd3184f3f1eed | [
"BSD-2-Clause-FreeBSD"
] | 6 | 2015-12-02T10:37:47.000Z | 2022-01-30T07:47:23.000Z | pypkm/pkm.py | ceol/pypkm | 1044e8cd3ee64980700ec2910b3fd3184f3f1eed | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | pypkm/pkm.py | ceol/pypkm | 1044e8cd3ee64980700ec2910b3fd3184f3f1eed | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-03-24T02:03:06.000Z | 2021-03-24T02:03:06.000Z | # coding=utf-8
"""Retrieve Pokémon information from a PKM file."""
__author__ = 'Patrick Jacobs <ceolwulf@gmail.com>'
import datetime
import struct
from pypkm.structs import gen4, gen5
from pypkm.crypto import checksum, encrypt, decrypt
from pypkm.sqlite import get_level, get_nature, get_basestats
from pypkm.util im... | 31.600365 | 114 | 0.581683 | 2,290 | 17,317 | 4.253712 | 0.126201 | 0.047428 | 0.039421 | 0.019711 | 0.781029 | 0.76255 | 0.75095 | 0.75095 | 0.75095 | 0.75095 | 0 | 0.032598 | 0.326846 | 17,317 | 547 | 115 | 31.658135 | 0.803037 | 0.14968 | 0 | 0.74124 | 0 | 0 | 0.006357 | 0 | 0 | 0 | 0.011757 | 0 | 0 | 1 | 0.067385 | false | 0.002695 | 0.016173 | 0.002695 | 0.15903 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a137d26230306e866bbe64d231cacdfaf89c1de9 | 113 | py | Python | maru/vectorizer/__init__.py | chomechome/maru | dae41e250a64a8b6f6ab9647fd60221d5ede8ab6 | [
"MIT"
] | 47 | 2018-09-25T05:17:13.000Z | 2022-03-31T09:27:15.000Z | maru/vectorizer/__init__.py | ojomio/maru | 7a44be7f974c0962f3023f5d064a391d2b4f20b1 | [
"MIT"
] | 2 | 2019-11-26T08:48:54.000Z | 2020-09-10T10:00:39.000Z | maru/vectorizer/__init__.py | ojomio/maru | 7a44be7f974c0962f3023f5d064a391d2b4f20b1 | [
"MIT"
] | 5 | 2019-01-05T17:36:23.000Z | 2021-06-29T08:55:24.000Z | from .sequential import SequentialVectorizer
from .sparse import SparseFeatureVectorizer, SparseWindowVectorizer
| 37.666667 | 67 | 0.893805 | 9 | 113 | 11.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079646 | 113 | 2 | 68 | 56.5 | 0.971154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a15d057bd6eab4e61761ed4cbf267736667a0a9a | 2,154 | py | Python | epytope/Data/pssms/tepitopepan/mat/DRB1_0115_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_0115_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_0115_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | DRB1_0115_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.004754, 'I': -0.99525, 'H': -999.0, 'K': -999.0, 'M': -0.99525, 'L': -0.99525, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.004754, 'V': -0.99525, 'Y': -0.004754}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, '... | 2,154 | 2,154 | 0.391365 | 525 | 2,154 | 1.601905 | 0.182857 | 0.116528 | 0.028537 | 0.03805 | 0.222354 | 0.145065 | 0.145065 | 0.145065 | 0.135553 | 0.135553 | 0 | 0.370144 | 0.163417 | 2,154 | 1 | 2,154 | 2,154 | 0.096559 | 0 | 0 | 0 | 0 | 0 | 0.07935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1938a141cb683016f73c21508d0d0c9eedad25d | 2,985 | py | Python | tests/unit/commands/logs/test_command.py | Velaseriat/aws-sam-cli | 76a363ff6548bd74b725ae9953693f71dfa545e3 | [
"Apache-2.0"
] | null | null | null | tests/unit/commands/logs/test_command.py | Velaseriat/aws-sam-cli | 76a363ff6548bd74b725ae9953693f71dfa545e3 | [
"Apache-2.0"
] | null | null | null | tests/unit/commands/logs/test_command.py | Velaseriat/aws-sam-cli | 76a363ff6548bd74b725ae9953693f71dfa545e3 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from mock import Mock, patch, call
from samcli.commands.logs.command import do_cli
class TestLogsCliCommand(TestCase):
def setUp(self):
self.function_name = "name"
self.stack_name = "stack name"
self.filter_pattern = "filter"
self.start_time = "start... | 37.3125 | 114 | 0.694472 | 364 | 2,985 | 5.348901 | 0.184066 | 0.107345 | 0.049307 | 0.043657 | 0.859784 | 0.803287 | 0.803287 | 0.803287 | 0.803287 | 0.803287 | 0 | 0.005168 | 0.222111 | 2,985 | 79 | 115 | 37.78481 | 0.833333 | 0 | 0 | 0.557377 | 0 | 0 | 0.067002 | 0.057621 | 0 | 0 | 0 | 0 | 0.131148 | 1 | 0.04918 | false | 0 | 0.04918 | 0 | 0.114754 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1a131a1c1cb26faf4a774954229d4b1e499130f | 110 | py | Python | run_add_kw.py | qjhqqqqq/biliob-spider | aa47addacaf0e9ea15f004765de2f0c38a6b27ec | [
"MIT"
] | 9 | 2020-06-18T15:36:45.000Z | 2021-12-10T02:27:41.000Z | run_add_kw.py | qjhqqqqq/biliob-spider | aa47addacaf0e9ea15f004765de2f0c38a6b27ec | [
"MIT"
] | null | null | null | run_add_kw.py | qjhqqqqq/biliob-spider | aa47addacaf0e9ea15f004765de2f0c38a6b27ec | [
"MIT"
] | 28 | 2020-09-25T10:36:55.000Z | 2022-01-22T02:33:01.000Z | from biliob_analyzer.add_keyword import AddKeyword
AddKeyword().add_all_author()
AddKeyword().add_all_video()
| 27.5 | 50 | 0.845455 | 15 | 110 | 5.8 | 0.666667 | 0.298851 | 0.367816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 110 | 3 | 51 | 36.666667 | 0.836538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a1b09753c5596a8533c233eed0e5a562447feb57 | 69,675 | py | Python | cottonformation/res/iotevents.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/iotevents.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/iotevents.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropDetectorModelSetTimer(Property):
"""
AWS Object Type = "AWS::IoTE... | 64.21659 | 229 | 0.771381 | 7,337 | 69,675 | 7.235655 | 0.02317 | 0.174879 | 0.044134 | 0.068208 | 0.894251 | 0.894251 | 0.877826 | 0.822182 | 0.822182 | 0.822182 | 0 | 0.000495 | 0.100797 | 69,675 | 1,084 | 230 | 64.27583 | 0.846852 | 0.331956 | 0 | 0.425676 | 0 | 0 | 0.100569 | 0.0699 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006757 | 0 | 0.260135 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1c1b46b7017a721c8151906ce95fe0217f1703c | 2,716 | py | Python | tests/radix_tree/test_tree.py | erewok/tokamak | a23208c27854f6ea2701968b11342d734596f419 | [
"BSD-3-Clause"
] | 3 | 2021-11-05T15:27:52.000Z | 2022-01-11T09:08:31.000Z | tests/radix_tree/test_tree.py | erewok/tokamak | a23208c27854f6ea2701968b11342d734596f419 | [
"BSD-3-Clause"
] | null | null | null | tests/radix_tree/test_tree.py | erewok/tokamak | a23208c27854f6ea2701968b11342d734596f419 | [
"BSD-3-Clause"
] | null | null | null | from typing import Optional
import pytest
from tokamak.radix_tree import tree
@pytest.mark.parametrize("default_handler", (None, "A"))
@pytest.mark.parametrize(
"tsm", (tree.TrailingSlashMatch.RELAXED, tree.TrailingSlashMatch.STRICT)
)
def test_tree_ctor(
default_handler: Optional[str], tsm: tree.TrailingSl... | 30.516854 | 86 | 0.673785 | 338 | 2,716 | 5.239645 | 0.147929 | 0.142292 | 0.071146 | 0.054207 | 0.863919 | 0.832863 | 0.806889 | 0.770751 | 0.770751 | 0.725579 | 0 | 0 | 0.195508 | 2,716 | 88 | 87 | 30.863636 | 0.810526 | 0 | 0 | 0.657534 | 0 | 0 | 0.064801 | 0 | 0 | 0 | 0 | 0 | 0.315068 | 1 | 0.041096 | false | 0 | 0.041096 | 0 | 0.082192 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1d80d294d1728ea21757073da0348317380d547 | 177 | py | Python | tacotron2/evaluators/__init__.py | DashaSerdyuk/tacotron2 | 1a88669670750f8b0e1aff76abc8b1b15300e1dc | [
"BSD-3-Clause"
] | null | null | null | tacotron2/evaluators/__init__.py | DashaSerdyuk/tacotron2 | 1a88669670750f8b0e1aff76abc8b1b15300e1dc | [
"BSD-3-Clause"
] | null | null | null | tacotron2/evaluators/__init__.py | DashaSerdyuk/tacotron2 | 1a88669670750f8b0e1aff76abc8b1b15300e1dc | [
"BSD-3-Clause"
] | null | null | null | from tacotron2.evaluators._evaluator import BaseEvaluator, EmbeddingEvaluator
from tacotron2.evaluators.utils import plot_syntesis_result, jupyter_play_syntesed, get_evaluator
| 44.25 | 97 | 0.892655 | 20 | 177 | 7.6 | 0.75 | 0.171053 | 0.302632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0.067797 | 177 | 3 | 98 | 59 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1f98c1f3c84e63346443ad162a9f86869b98412 | 229 | py | Python | ltrc/inicio/views.py | iscenigmax/ltrc-registry | 86c4e52e0d76e686c39a357957af35846a8fc391 | [
"Unlicense"
] | null | null | null | ltrc/inicio/views.py | iscenigmax/ltrc-registry | 86c4e52e0d76e686c39a357957af35846a8fc391 | [
"Unlicense"
] | null | null | null | ltrc/inicio/views.py | iscenigmax/ltrc-registry | 86c4e52e0d76e686c39a357957af35846a8fc391 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.shortcuts import render
def inicio(request, id=None):
# return render(request, 'w2r.html', {'id':id})
return render(request, 'inicio.html', {}) | 28.625 | 51 | 0.689956 | 30 | 229 | 5.1 | 0.633333 | 0.156863 | 0.248366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010256 | 0.148472 | 229 | 8 | 52 | 28.625 | 0.774359 | 0.292576 | 0 | 0 | 0 | 0 | 0.06875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
629fd9e0669d0cd10837567f7d9dda0372b37093 | 15 | py | Python | .history/py/main_20201230142024.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/py/main_20201230142024.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/py/main_20201230142024.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | print(3 // 7)
| 5 | 13 | 0.466667 | 3 | 15 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.266667 | 15 | 2 | 14 | 7.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
62a6b021162952e16422994547b0eccdb2e967ae | 121 | py | Python | db/tests/fixtures/cultural_fit.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 1 | 2022-03-03T09:55:57.000Z | 2022-03-03T09:55:57.000Z | db/tests/fixtures/cultural_fit.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 7 | 2022-02-09T10:44:53.000Z | 2022-03-28T03:29:43.000Z | db/tests/fixtures/cultural_fit.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | null | null | null | import pytest
@pytest.fixture
def cultural_fit_valid_args():
return {'student': 'Something', 'company': 'Nothing'}
| 17.285714 | 57 | 0.719008 | 14 | 121 | 6 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 121 | 6 | 58 | 20.166667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.247934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
62acfabab351b5cca1ae93902087be712be5becd | 35 | py | Python | windows/tests/test_container.py | starlord-daniel/testinfra-sample | af62e8fc66c86465836edd62f0e1fdf719994e0c | [
"MIT"
] | 18 | 2019-08-13T13:04:48.000Z | 2022-03-31T00:06:08.000Z | windows/tests/test_container.py | starlord-daniel/testinfra-sample | af62e8fc66c86465836edd62f0e1fdf719994e0c | [
"MIT"
] | 27 | 2021-06-03T16:50:46.000Z | 2022-03-07T18:50:26.000Z | windows/tests/test_container.py | starlord-daniel/testinfra-sample | af62e8fc66c86465836edd62f0e1fdf719994e0c | [
"MIT"
] | 32 | 2019-06-27T19:33:34.000Z | 2022-02-05T18:15:59.000Z | def test_sample():
assert True
| 11.666667 | 18 | 0.685714 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 35 | 2 | 19 | 17.5 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62f38b9893b28638a03eb3ad2796f7361b105e81 | 204 | py | Python | cerebunit/validation_tests/cells/Purkinje/__init__.py | myHBPwork/cerebunit | 8d986953652231c178e48a6272b6ba583ae1df96 | [
"BSD-3-Clause"
] | null | null | null | cerebunit/validation_tests/cells/Purkinje/__init__.py | myHBPwork/cerebunit | 8d986953652231c178e48a6272b6ba583ae1df96 | [
"BSD-3-Clause"
] | null | null | null | cerebunit/validation_tests/cells/Purkinje/__init__.py | myHBPwork/cerebunit | 8d986953652231c178e48a6272b6ba583ae1df96 | [
"BSD-3-Clause"
] | 1 | 2021-05-21T03:06:37.000Z | 2021-05-21T03:06:37.000Z | # ~/cerebunit/cerebunit/validation_tests/cells/PurkinjeCell/__init__.py
from .test_for_soma_restVm import SomaRestingVmTest
from .test_for_soma_spikeheight_antidromic import SomaSpikeHeightAntidromicTest
| 51 | 79 | 0.897059 | 23 | 204 | 7.434783 | 0.73913 | 0.093567 | 0.128655 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04902 | 204 | 3 | 80 | 68 | 0.881443 | 0.338235 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a1145364afe5e3109ce792df888e2d34a8c2139 | 5,707 | py | Python | render/render_ortho.py | val-iisc/ss_human_mesh | f9c7fcf577c83316eb610753e3f5678b7b5e24c5 | [
"MIT"
] | 31 | 2020-08-31T11:32:33.000Z | 2021-12-05T08:47:33.000Z | render/render_ortho.py | rakeshramesha/SS_Human_Mesh | b27d53a08b60a1ac32d1845557f317c165498fd5 | [
"MIT"
] | null | null | null | render/render_ortho.py | rakeshramesha/SS_Human_Mesh | b27d53a08b60a1ac32d1845557f317c165498fd5 | [
"MIT"
] | 7 | 2020-09-25T03:50:59.000Z | 2021-12-10T05:24:58.000Z |
""" Batched Render file. """
import dirt
import numpy as np
import tensorflow as tf
from dirt import matrices
import dirt.lighting as lighting
from tensorflow.python.framework import ops
def orthgraphic_projection(w, h, near=0.1, far=10., name=None):
"""Constructs a orthographic projection matrix.
This func... | 47.957983 | 127 | 0.599439 | 820 | 5,707 | 4.028049 | 0.168293 | 0.018771 | 0.019376 | 0.031789 | 0.816833 | 0.807448 | 0.742053 | 0.707236 | 0.707236 | 0.707236 | 0 | 0.029612 | 0.254424 | 5,707 | 118 | 128 | 48.364407 | 0.746651 | 0.237603 | 0 | 0.430769 | 0 | 0 | 0.015739 | 0.010101 | 0 | 0 | 0 | 0 | 0.015385 | 1 | 0.061538 | false | 0 | 0.092308 | 0 | 0.215385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1a299f9c8b2d1be8d498006be4ae32b10c07bb7e | 229 | py | Python | EPUIKit/widget/__init__.py | jinsihou19/E-Paper-UI-Kit | e648e87dae606e65d553ac0974b3cf16d5b4fc93 | [
"MIT"
] | null | null | null | EPUIKit/widget/__init__.py | jinsihou19/E-Paper-UI-Kit | e648e87dae606e65d553ac0974b3cf16d5b4fc93 | [
"MIT"
] | 2 | 2021-09-08T01:51:05.000Z | 2022-03-12T00:23:05.000Z | EPUIKit/widget/__init__.py | jinsihou19/E-Paper-UI-Kit | e648e87dae606e65d553ac0974b3cf16d5b4fc93 | [
"MIT"
] | null | null | null | from EPUIKit.widget.flowlayout import FlowLayout
from EPUIKit.widget.label import Label
from EPUIKit.widget.layout import Layout
from EPUIKit.widget.quadrantslayout import QuadrantsLayout
from EPUIKit.widget.widget import Widget
| 38.166667 | 58 | 0.868996 | 30 | 229 | 6.633333 | 0.266667 | 0.276382 | 0.427136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087336 | 229 | 5 | 59 | 45.8 | 0.952153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7f7d43a17424ab8baead96deb33785db0e17fc2 | 33 | py | Python | relart/feature_engineering/__init__.py | artemmoskalev/relart | 8c1d063bdcfd2bdb5558df3de770014db4c2b130 | [
"MIT"
] | null | null | null | relart/feature_engineering/__init__.py | artemmoskalev/relart | 8c1d063bdcfd2bdb5558df3de770014db4c2b130 | [
"MIT"
] | null | null | null | relart/feature_engineering/__init__.py | artemmoskalev/relart | 8c1d063bdcfd2bdb5558df3de770014db4c2b130 | [
"MIT"
] | null | null | null | from .seasonal_features import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c5098beb4ce1376cc6555f4f36eb1987aaa50f00 | 183 | py | Python | objects/__init__.py | TheLokin/Kabalayn | 2034364e03e8eca909df11dcc393d70edd18493b | [
"MIT"
] | null | null | null | objects/__init__.py | TheLokin/Kabalayn | 2034364e03e8eca909df11dcc393d70edd18493b | [
"MIT"
] | null | null | null | objects/__init__.py | TheLokin/Kabalayn | 2034364e03e8eca909df11dcc393d70edd18493b | [
"MIT"
] | null | null | null | from .group import *
from .props import *
from .balls import *
from .object import *
from .buttons import *
from .entities import *
from .particles import *
from .projectiles import * | 22.875 | 26 | 0.743169 | 24 | 183 | 5.666667 | 0.416667 | 0.514706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169399 | 183 | 8 | 26 | 22.875 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c54a59d0ef67eb6a949a1524e6dc7df0ea1f383a | 3,703 | py | Python | generate/generate_sentihood_NLI_M.py | bubblemans/ABSA-BERT-pair | aced5582cefc6398e196da01773fbfee4cd9126b | [
"MIT"
] | 462 | 2019-03-25T06:48:12.000Z | 2022-03-31T08:34:06.000Z | generate/generate_sentihood_NLI_M.py | bubblemans/ABSA-BERT-pair | aced5582cefc6398e196da01773fbfee4cd9126b | [
"MIT"
] | 24 | 2019-04-27T16:35:19.000Z | 2022-02-07T12:33:48.000Z | generate/generate_sentihood_NLI_M.py | bubblemans/ABSA-BERT-pair | aced5582cefc6398e196da01773fbfee4cd9126b | [
"MIT"
] | 139 | 2019-03-25T06:48:16.000Z | 2022-03-19T14:00:12.000Z | import os
from data_utils_sentihood import *
data_dir='../data/sentihood/'
aspect2idx = {
'general': 0,
'price': 1,
'transit-location': 2,
'safety': 3,
}
(train, train_aspect_idx), (val, val_aspect_idx), (test, test_aspect_idx) = load_task(data_dir, aspect2idx)
print("len(train) = ", len(train))
pri... | 32.769912 | 107 | 0.477721 | 535 | 3,703 | 3.261682 | 0.128972 | 0.175358 | 0.144413 | 0.118625 | 0.799427 | 0.799427 | 0.799427 | 0.799427 | 0.799427 | 0.799427 | 0 | 0.044135 | 0.302457 | 3,703 | 112 | 108 | 33.0625 | 0.631436 | 0 | 0 | 0.757282 | 0 | 0 | 0.21118 | 0.026735 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019417 | 0 | 0.019417 | 0.029126 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3db3fa17da4470ba303898dbb3971188c399797e | 177 | py | Python | kevin/machine_learning/patch_for_numpy/axis_and_dim/transpose/__init__.py | cantbeblank96/kevin_toolbox | a258b2a42c9b4d042decb193354ecb7419bd837c | [
"MIT"
] | null | null | null | kevin/machine_learning/patch_for_numpy/axis_and_dim/transpose/__init__.py | cantbeblank96/kevin_toolbox | a258b2a42c9b4d042decb193354ecb7419bd837c | [
"MIT"
] | null | null | null | kevin/machine_learning/patch_for_numpy/axis_and_dim/transpose/__init__.py | cantbeblank96/kevin_toolbox | a258b2a42c9b4d042decb193354ecb7419bd837c | [
"MIT"
] | null | null | null | from .transpose_inside_axis import transpose_inside_axis as inside_axis
from .get_inverse_of_transpose_index_ls import get_inverse_of_transpose_index_ls as get_inverse_index_ls
| 59 | 104 | 0.920904 | 30 | 177 | 4.833333 | 0.366667 | 0.206897 | 0.262069 | 0.289655 | 0.386207 | 0.386207 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 177 | 2 | 105 | 88.5 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3dd3506ddf72af508a77b42f0fca3f4a2a9fbf7f | 1,696 | py | Python | zerver/migrations/0274_nullbooleanfield_to_booleanfield.py | TylerPham2000/zulip | 2e7aaba0dde5517b4a55cb0bd782f009be45e3ba | [
"Apache-2.0"
] | 17,004 | 2015-09-25T18:27:24.000Z | 2022-03-31T22:02:32.000Z | zerver/migrations/0274_nullbooleanfield_to_booleanfield.py | TylerPham2000/zulip | 2e7aaba0dde5517b4a55cb0bd782f009be45e3ba | [
"Apache-2.0"
] | 20,344 | 2015-09-25T19:02:42.000Z | 2022-03-31T23:54:40.000Z | zerver/migrations/0274_nullbooleanfield_to_booleanfield.py | TylerPham2000/zulip | 2e7aaba0dde5517b4a55cb0bd782f009be45e3ba | [
"Apache-2.0"
] | 7,271 | 2015-09-25T18:48:39.000Z | 2022-03-31T21:06:11.000Z | # Generated by Django 2.2.12 on 2020-04-26 17:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0273_migrate_old_bot_messages"),
]
operations = [
migrations.AlterField(
model_name="stream",
name="invit... | 31.407407 | 64 | 0.584906 | 151 | 1,696 | 6.430464 | 0.350993 | 0.164779 | 0.205973 | 0.238929 | 0.710608 | 0.710608 | 0.710608 | 0.666323 | 0.666323 | 0.666323 | 0 | 0.016978 | 0.305425 | 1,696 | 53 | 65 | 32 | 0.807301 | 0.027123 | 0 | 0.638298 | 1 | 0 | 0.155947 | 0.057646 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ae827e06affb6045b51cae286a2a90f721529e1 | 111 | py | Python | gpflow/utilities/__init__.py | joacorapela/GPflow | 55690c705317e56a93897958c72a0118d36dc0d9 | [
"Apache-2.0"
] | null | null | null | gpflow/utilities/__init__.py | joacorapela/GPflow | 55690c705317e56a93897958c72a0118d36dc0d9 | [
"Apache-2.0"
] | 1 | 2021-05-04T10:58:06.000Z | 2021-05-04T10:58:06.000Z | gpflow/utilities/__init__.py | AaltoML/GPflow | 1e1de824397c828a47d9eca002251041296c91d4 | [
"Apache-2.0"
] | null | null | null | from .bijectors import *
from .misc import *
from .multipledispatch import Dispatcher
from .traversal import *
| 22.2 | 40 | 0.792793 | 13 | 111 | 6.769231 | 0.538462 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 4 | 41 | 27.75 | 0.926316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9aed99faf69ca510dc0e51488ee5ddd4de0749d0 | 37 | py | Python | lcdbackpack/__init__.py | JimmyBlunt/adafruit-usb-serial-lcd-backpack | 38f121209789ebe6cde883adf506edd53129b349 | [
"BSD-3-Clause"
] | 7 | 2017-05-24T01:30:31.000Z | 2020-03-02T16:05:05.000Z | lcdbackpack/__init__.py | JimmyBlunt/adafruit-usb-serial-lcd-backpack | 38f121209789ebe6cde883adf506edd53129b349 | [
"BSD-3-Clause"
] | 3 | 2017-12-27T19:52:52.000Z | 2017-12-28T17:48:23.000Z | lcdbackpack/__init__.py | JimmyBlunt/adafruit-usb-serial-lcd-backpack | 38f121209789ebe6cde883adf506edd53129b349 | [
"BSD-3-Clause"
] | 3 | 2017-10-21T17:09:25.000Z | 2020-11-24T09:12:34.000Z | from .lcdbackpack import LcdBackpack
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b128b16444d652db8659e1fbef11f813d764cd30 | 102 | py | Python | essentials_kit_management/exceptions/exceptions.py | RajeshKumar1490/iB_hubs_mini_project | f7126092400fb9a62fb4bff643dae7cda3a8d9d2 | [
"MIT"
] | null | null | null | essentials_kit_management/exceptions/exceptions.py | RajeshKumar1490/iB_hubs_mini_project | f7126092400fb9a62fb4bff643dae7cda3a8d9d2 | [
"MIT"
] | 2 | 2021-09-07T07:06:00.000Z | 2021-09-07T07:24:26.000Z | essentials_kit_management/exceptions/exceptions.py | RajeshKumar1490/iB_hubs_mini_project | f7126092400fb9a62fb4bff643dae7cda3a8d9d2 | [
"MIT"
] | null | null | null | class InvalidPasswordException(Exception):
pass
class InvalidValueException(Exception):
pass
| 17 | 42 | 0.794118 | 8 | 102 | 10.125 | 0.625 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 43 | 20.4 | 0.931034 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.75 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b14d43f14f962784add4990c29b967c380866f34 | 39,763 | py | Python | inceptor/converters/sRDI.py | pwnmeow/inceptor | 4c1d17b1f29777aaae634c07ad6c4dd8ed61aa01 | [
"BSD-4-Clause"
] | 743 | 2021-08-02T16:27:27.000Z | 2022-03-31T16:34:16.000Z | inceptor/converters/sRDI.py | pwnmeow/inceptor | 4c1d17b1f29777aaae634c07ad6c4dd8ed61aa01 | [
"BSD-4-Clause"
] | 32 | 2021-08-03T04:47:20.000Z | 2022-03-28T23:15:45.000Z | inceptor/converters/sRDI.py | pwnmeow/inceptor | 4c1d17b1f29777aaae634c07ad6c4dd8ed61aa01 | [
"BSD-4-Clause"
] | 138 | 2021-08-02T16:27:28.000Z | 2022-03-31T02:47:20.000Z | import base64
import struct
from converters.Transformer import Transformer
class sRDI(Transformer):
MACHINE_IA64 = 512
MACHINE_AMD64 = 34404
def __init__(self):
super().__init__()
self.flags = 0 | 0x1 | 0x4 | 30 << 16
self.function = "DllMain"
self.args = b"test"
... | 78.428008 | 119 | 0.555164 | 7,004 | 39,763 | 3.138064 | 0.062393 | 0.099914 | 0.060194 | 0.009828 | 0.313663 | 0.241367 | 0.182356 | 0.149688 | 0.119387 | 0.106056 | 0 | 0.31509 | 0.258356 | 39,763 | 506 | 120 | 78.583004 | 0.430214 | 0.043508 | 0 | 0.124365 | 0 | 0.672589 | 0.627103 | 0.612833 | 0 | 1 | 0.000816 | 0 | 0 | 1 | 0.017767 | false | 0 | 0.007614 | 0.002538 | 0.050761 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4967406cc3c7713692215cace2e98dfff405fc01 | 31 | py | Python | api/uwkgm/knowledge/knowledge/integration/__init__.py | ichise-laboratory/uwkgm | 6505fa5d524336b30505804a3d241143cb1fa4bf | [
"BSD-3-Clause"
] | null | null | null | api/uwkgm/knowledge/knowledge/integration/__init__.py | ichise-laboratory/uwkgm | 6505fa5d524336b30505804a3d241143cb1fa4bf | [
"BSD-3-Clause"
] | 6 | 2020-11-25T10:49:45.000Z | 2021-09-22T18:50:03.000Z | api/uwkgm/knowledge/knowledge/integration/__init__.py | ichise-laboratory/uwkgm | 6505fa5d524336b30505804a3d241143cb1fa4bf | [
"BSD-3-Clause"
] | 1 | 2020-12-24T02:15:42.000Z | 2020-12-24T02:15:42.000Z | from .aggregate import triples
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
498249684767eea3e093c8c4f98cccbba5b521a1 | 274 | py | Python | demos/python/sdk_wireless_camera_control/open_gopro/wifi/adapters/__init__.py | Natureshadow/OpenGoPro | 05110123cfbf6584288b813f2d4896d3a091480e | [
"MIT"
] | 210 | 2021-06-05T20:06:17.000Z | 2022-03-31T18:13:17.000Z | demos/python/sdk_wireless_camera_control/open_gopro/wifi/adapters/__init__.py | Natureshadow/OpenGoPro | 05110123cfbf6584288b813f2d4896d3a091480e | [
"MIT"
] | 73 | 2021-06-01T21:22:44.000Z | 2022-03-31T18:33:24.000Z | demos/python/sdk_wireless_camera_control/open_gopro/wifi/adapters/__init__.py | Natureshadow/OpenGoPro | 05110123cfbf6584288b813f2d4896d3a091480e | [
"MIT"
] | 70 | 2021-06-07T03:59:04.000Z | 2022-03-26T10:51:15.000Z | # __init__.py/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro).
# This copyright was auto-generated on Tue Sep 7 21:35:53 UTC 2021
"""Universal WiFi adapter implementation for Open GoPro WiFi interface"""
from .wireless import Wireless
| 39.142857 | 98 | 0.755474 | 43 | 274 | 4.72093 | 0.813953 | 0.08867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07234 | 0.142336 | 274 | 6 | 99 | 45.666667 | 0.791489 | 0.843066 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7755fab5df462125f45275c9619a02fe1e771817 | 7,046 | py | Python | tests/test_convolutions.py | JZK00/MONAI | 49e693c4e7df83dc1f8ab87349373de9263188a9 | [
"Apache-2.0"
] | 3 | 2020-10-12T02:13:27.000Z | 2021-04-14T11:46:21.000Z | tests/test_convolutions.py | JZK00/MONAI | 49e693c4e7df83dc1f8ab87349373de9263188a9 | [
"Apache-2.0"
] | 1 | 2020-09-17T12:41:51.000Z | 2020-09-29T15:20:37.000Z | tests/test_convolutions.py | JZK00/MONAI | 49e693c4e7df83dc1f8ab87349373de9263188a9 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 MONAI Consortium
# 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, s... | 45.458065 | 116 | 0.674567 | 975 | 7,046 | 4.685128 | 0.116923 | 0.063047 | 0.115587 | 0.099825 | 0.84479 | 0.84479 | 0.836033 | 0.832531 | 0.819396 | 0.819396 | 0 | 0.030684 | 0.209055 | 7,046 | 154 | 117 | 45.753247 | 0.788983 | 0.078484 | 0 | 0.675214 | 0 | 0 | 0.001234 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 1 | 0.17094 | false | 0 | 0.025641 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62549ada8c3b627f49d5ad0f47632d6fdcb78372 | 59 | py | Python | mpys/__init__.py | LukasMosser/MPyS | e1be4ab9ca77fb4fbcd8481cb67605586161a05e | [
"MIT"
] | 1 | 2019-11-12T03:41:58.000Z | 2019-11-12T03:41:58.000Z | mpys/__init__.py | LukasMosser/MPyS | e1be4ab9ca77fb4fbcd8481cb67605586161a05e | [
"MIT"
] | null | null | null | mpys/__init__.py | LukasMosser/MPyS | e1be4ab9ca77fb4fbcd8481cb67605586161a05e | [
"MIT"
] | 1 | 2019-11-12T03:42:00.000Z | 2019-11-12T03:42:00.000Z | from .paths import *
from .ds import *
from .utils import * | 19.666667 | 20 | 0.711864 | 9 | 59 | 4.666667 | 0.555556 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 3 | 21 | 19.666667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02b1575dc2d7ec0f07b851fd1da29bbd93987309 | 11,145 | py | Python | src/review/views.py | pfskiev/lisbon | c756d0cd2f8fd2405c7123dab029748da75b6e5b | [
"MIT"
] | null | null | null | src/review/views.py | pfskiev/lisbon | c756d0cd2f8fd2405c7123dab029748da75b6e5b | [
"MIT"
] | 1 | 2017-11-07T09:09:28.000Z | 2017-11-07T09:09:28.000Z | src/review/views.py | pfskiev/lisbon | c756d0cd2f8fd2405c7123dab029748da75b6e5b | [
"MIT"
] | null | null | null | from django.conf import settings
from django.contrib import messages
from django.core.mail import send_mail, BadHeaderError
from django.core.paginator import Paginator, PageNotAnInteger, EmptyPage
from django.core.urlresolvers import reverse
from django.db.models import Q
from django.http import HttpResponse
from djang... | 35.268987 | 97 | 0.58367 | 1,203 | 11,145 | 5.244389 | 0.123026 | 0.034871 | 0.056586 | 0.063243 | 0.763195 | 0.756063 | 0.734823 | 0.724996 | 0.714852 | 0.698367 | 0 | 0.00449 | 0.280574 | 11,145 | 315 | 98 | 35.380952 | 0.782365 | 0.00341 | 0 | 0.710714 | 0 | 0 | 0.146511 | 0.014588 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.05 | 0.003571 | 0.171429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02be5d0c9bf938072372e496c7db6e7fd4956410 | 260 | py | Python | tests/mockapp/models.py | Mozilla-GitHub-Standards/4a4749ba7d28fec451e80ed9de9947acce774a0b4c7db797dc32439740ac770d | 818465d581145ce740b8bc18f1148093a857ed79 | [
"BSD-3-Clause"
] | 22 | 2015-04-15T19:15:14.000Z | 2022-02-01T01:36:53.000Z | tests/mockapp/models.py | Mozilla-GitHub-Standards/4a4749ba7d28fec451e80ed9de9947acce774a0b4c7db797dc32439740ac770d | 818465d581145ce740b8bc18f1148093a857ed79 | [
"BSD-3-Clause"
] | 29 | 2015-04-22T18:37:02.000Z | 2020-12-17T01:43:52.000Z | tests/mockapp/models.py | Mozilla-GitHub-Standards/4a4749ba7d28fec451e80ed9de9947acce774a0b4c7db797dc32439740ac770d | 818465d581145ce740b8bc18f1148093a857ed79 | [
"BSD-3-Clause"
] | 5 | 2015-04-15T19:58:08.000Z | 2021-12-28T21:05:41.000Z | from django.db import models
from tidings.models import NotificationsMixin
# TODO: figure out why placing the mixin *after* models.Model fails
# See also http://code.djangoproject.com/ticket/10249
class MockModel(NotificationsMixin, models.Model):
pass
| 26 | 67 | 0.792308 | 35 | 260 | 5.885714 | 0.8 | 0.106796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022124 | 0.130769 | 260 | 9 | 68 | 28.888889 | 0.889381 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
02d6fca7b35d1ee86dd3f8c84bdb49c17eb11f99 | 16,949 | py | Python | src/means/tests/test_closure_log_normal.py | nicktimko/means | fe164916a1d84ab2a4fa039871d38ccdf638b1db | [
"MIT"
] | 10 | 2016-05-25T08:28:39.000Z | 2020-06-04T03:19:50.000Z | src/means/tests/test_closure_log_normal.py | nicktimko/means | fe164916a1d84ab2a4fa039871d38ccdf638b1db | [
"MIT"
] | 5 | 2015-12-08T14:01:15.000Z | 2020-01-10T22:42:18.000Z | src/means/tests/test_closure_log_normal.py | nicktimko/means | fe164916a1d84ab2a4fa039871d38ccdf638b1db | [
"MIT"
] | 6 | 2015-12-10T17:24:11.000Z | 2021-03-22T16:12:17.000Z | import unittest
from means.core import Moment
import sympy
from means.approximation.mea.closure_log_normal import LogNormalClosure
from means.util.sympyhelpers import sympy_expressions_equal
from means.util.sympyhelpers import to_sympy_matrix
## for univariate or multivariate on dimerisation Model, we should have:
# m... | 74.0131 | 1,623 | 0.54959 | 4,432 | 16,949 | 1.729468 | 0.025496 | 0.096804 | 0.051272 | 0.064188 | 0.837312 | 0.781996 | 0.740248 | 0.574168 | 0.511155 | 0.410828 | 0 | 0.193776 | 0.205617 | 16,949 | 229 | 1,624 | 74.0131 | 0.37552 | 0.037406 | 0 | 0.397849 | 0 | 0.145161 | 0.582004 | 0.209028 | 0 | 0 | 0 | 0 | 0.043011 | 1 | 0.037634 | false | 0 | 0.032258 | 0 | 0.091398 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02e7afdaa5b83684bee39d5faef01b5b88c163d8 | 12 | py | Python | example/test1.py | sano-jin/go-in-ocaml | b5e5fca33e194776477a0db389f6e52bdc0a66fe | [
"MIT"
] | 1 | 2021-09-24T10:25:40.000Z | 2021-09-24T10:25:40.000Z | example/test1.py | sano-jin/go-in-ocaml | b5e5fca33e194776477a0db389f6e52bdc0a66fe | [
"MIT"
] | null | null | null | example/test1.py | sano-jin/go-in-ocaml | b5e5fca33e194776477a0db389f6e52bdc0a66fe | [
"MIT"
] | null | null | null | x = 3
x + 2
| 4 | 5 | 0.333333 | 4 | 12 | 1 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 12 | 2 | 6 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 6 |
02ee82d7120f5ede21869eb2119ed893e5160d09 | 1,873 | py | Python | ml_challenge/gluonts/time_feature.py | fernandocamargoai/ml-challenge-2021 | 7ae082aeb2fe7674956e309afedbd25464d71525 | [
"MIT"
] | 1 | 2021-11-24T19:06:38.000Z | 2021-11-24T19:06:38.000Z | ml_challenge/gluonts/time_feature.py | fernandocamargoai/ml-challenge-2021 | 7ae082aeb2fe7674956e309afedbd25464d71525 | [
"MIT"
] | null | null | null | ml_challenge/gluonts/time_feature.py | fernandocamargoai/ml-challenge-2021 | 7ae082aeb2fe7674956e309afedbd25464d71525 | [
"MIT"
] | null | null | null | import math
import numpy as np
import pandas as pd
from gluonts.time_feature import (
DayOfWeekIndex,
DayOfMonthIndex,
DayOfYearIndex,
WeekOfYearIndex,
)
class DayOfWeekSin(DayOfWeekIndex):
def __call__(self, index: pd.DatetimeIndex) -> np.ndarray:
day_of_week = super().__call__(index)
... | 31.745763 | 81 | 0.675921 | 251 | 1,873 | 4.641434 | 0.191235 | 0.051502 | 0.075536 | 0.109871 | 0.796567 | 0.796567 | 0.796567 | 0.796567 | 0.741631 | 0.659227 | 0 | 0.019934 | 0.196476 | 1,873 | 58 | 82 | 32.293103 | 0.754153 | 0 | 0 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.195122 | false | 0 | 0.097561 | 0 | 0.682927 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b828da2915c37aa005a1a8a68d5b6cae5bf3d14a | 157 | py | Python | awards/myusers/admin.py | dan-mutua/djangowk3 | 9af2651ade9b7cd9c02ee1f93dc60c4f9ea1adeb | [
"MIT"
] | null | null | null | awards/myusers/admin.py | dan-mutua/djangowk3 | 9af2651ade9b7cd9c02ee1f93dc60c4f9ea1adeb | [
"MIT"
] | null | null | null | awards/myusers/admin.py | dan-mutua/djangowk3 | 9af2651ade9b7cd9c02ee1f93dc60c4f9ea1adeb | [
"MIT"
] | null | null | null | from django.contrib import admin
from myusers.models import Profile
from .models import Profile
# Register your models here.
admin.site.register(Profile)
| 17.444444 | 34 | 0.808917 | 22 | 157 | 5.772727 | 0.545455 | 0.188976 | 0.299213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133758 | 157 | 8 | 35 | 19.625 | 0.933824 | 0.165605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b84351ef5c000fb38d134d862757b950c9bc7067 | 9,195 | py | Python | tests/test_natural_vg.py | CarlosBergillos/ts2vg | 0b245db1f8b8083794a9a516ec693062ddbdd7e0 | [
"MIT"
] | 14 | 2020-06-20T16:02:21.000Z | 2022-03-04T17:37:40.000Z | tests/test_natural_vg.py | CarlosBergillos/ts2vg | 0b245db1f8b8083794a9a516ec693062ddbdd7e0 | [
"MIT"
] | 3 | 2021-04-15T12:18:47.000Z | 2022-02-03T06:10:06.000Z | tests/test_natural_vg.py | CarlosBergillos/ts2vg | 0b245db1f8b8083794a9a516ec693062ddbdd7e0 | [
"MIT"
] | 4 | 2021-08-23T17:25:10.000Z | 2022-03-28T13:08:26.000Z | from math import sqrt, atan
import pytest
from pytest import approx
import ts2vg
import numpy as np
@pytest.fixture
def empty_ts():
return []
@pytest.fixture
def sample_ts():
return [3.0, 4.0, 2.0, 1.0]
def test_basic(sample_ts):
out_got = ts2vg.NaturalVG().build(sample_ts).edges
out_truth = [
... | 24.261214 | 105 | 0.59478 | 1,362 | 9,195 | 3.753304 | 0.053598 | 0.089202 | 0.071205 | 0.105634 | 0.919601 | 0.915493 | 0.903756 | 0.885172 | 0.879695 | 0.856612 | 0 | 0.050701 | 0.232083 | 9,195 | 378 | 106 | 24.325397 | 0.673276 | 0 | 0 | 0.576471 | 0 | 0 | 0.052311 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 1 | 0.12549 | false | 0 | 0.019608 | 0.007843 | 0.152941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b85c8c1ad3a173546542f638020bdb847a007520 | 235 | py | Python | pytest_chainmaker/plugin.py | hanzhichao/pytest-chainmaker | cdc1e4622ae5be2178ffbe6226f3c6b4c40be362 | [
"MIT"
] | null | null | null | pytest_chainmaker/plugin.py | hanzhichao/pytest-chainmaker | cdc1e4622ae5be2178ffbe6226f3c6b4c40be362 | [
"MIT"
] | null | null | null | pytest_chainmaker/plugin.py | hanzhichao/pytest-chainmaker | cdc1e4622ae5be2178ffbe6226f3c6b4c40be362 | [
"MIT"
] | null | null | null | from configparser import ConfigParser
import pytest
def pytest_addoption(parser):
pass
@pytest.fixture(scope='session')
def contract(request):
pass
@pytest.fixture(scope='session')
def block(request, conf):
pass
| 13.055556 | 37 | 0.723404 | 28 | 235 | 6.035714 | 0.535714 | 0.213018 | 0.201183 | 0.260355 | 0.378698 | 0.378698 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174468 | 235 | 17 | 38 | 13.823529 | 0.871134 | 0 | 0 | 0.5 | 0 | 0 | 0.059574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0.2 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b273ff756a6ad19784f884fe81ccd8ac6c469357 | 18,175 | py | Python | lib/build.py | hexa-one/mainline-builder | 9be79efcc9c6d3b98d8868017631531b56656cef | [
"MIT"
] | null | null | null | lib/build.py | hexa-one/mainline-builder | 9be79efcc9c6d3b98d8868017631531b56656cef | [
"MIT"
] | 1 | 2021-05-23T09:28:58.000Z | 2021-05-23T09:31:33.000Z | lib/build.py | hexa-one/mainline-builder | 9be79efcc9c6d3b98d8868017631531b56656cef | [
"MIT"
] | null | null | null | import os
from .check_type import KERNEL_VER_INPUT
from .definition_script import *
from .get_url import *
def buildmain():
os.chdir('../../catalog')
if os.path.exists(KERNEL_VER_INPUT):
os.remove((KERNEL_VER_INPUT) + '/install.sh')
os.remove((KERNEL_VER_INPUT) + '/README.md')
os.rmdir... | 35.498047 | 55 | 0.536231 | 2,724 | 18,175 | 3.563142 | 0.117474 | 0.095199 | 0.190398 | 0.309396 | 0.721409 | 0.721409 | 0.721409 | 0.721409 | 0.553678 | 0.553678 | 0 | 0.088274 | 0.244567 | 18,175 | 512 | 56 | 35.498047 | 0.618645 | 0 | 0 | 0.472727 | 0 | 0 | 0.007592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006061 | false | 0 | 0.010101 | 0 | 0.016162 | 0.466667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b275accd890a203fe7e94eb4dc3d01177a22a5d1 | 219 | py | Python | pythonbacktest/datafeed/tradingdaydata.py | quantwizard-com/pythonbacktest | 7056c2804c30ca571eb43dc1ae4cc3d537f6613e | [
"Apache-2.0"
] | null | null | null | pythonbacktest/datafeed/tradingdaydata.py | quantwizard-com/pythonbacktest | 7056c2804c30ca571eb43dc1ae4cc3d537f6613e | [
"Apache-2.0"
] | null | null | null | pythonbacktest/datafeed/tradingdaydata.py | quantwizard-com/pythonbacktest | 7056c2804c30ca571eb43dc1ae4cc3d537f6613e | [
"Apache-2.0"
] | null | null | null | class TradingDayData:
def __init__(self, pricebars, tradingday):
self.__pricebars = pricebars
self.__tradingday = tradingday
@property
def price_bars(self):
return self.__pricebars
| 21.9 | 46 | 0.680365 | 21 | 219 | 6.571429 | 0.52381 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251142 | 219 | 9 | 47 | 24.333333 | 0.841463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b278e2a0ad6416d2bd46b3c6b3033c8c4ca5a647 | 435 | py | Python | src/c3nav/routing/utils/draw.py | johnjohndoe/c3nav | a17f863a3512e305595c16b0300796b6bae81241 | [
"Apache-2.0"
] | 132 | 2016-11-12T01:45:23.000Z | 2022-03-08T15:17:10.000Z | src/c3nav/routing/utils/draw.py | johnjohndoe/c3nav | a17f863a3512e305595c16b0300796b6bae81241 | [
"Apache-2.0"
] | 66 | 2016-09-29T09:46:19.000Z | 2022-03-11T23:26:18.000Z | src/c3nav/routing/utils/draw.py | johnjohndoe/c3nav | a17f863a3512e305595c16b0300796b6bae81241 | [
"Apache-2.0"
] | 42 | 2016-09-29T08:34:57.000Z | 2022-03-08T15:17:15.000Z | from django.conf import settings
def _ellipse_bbox(x, y, height):
x *= settings.RENDER_SCALE
y *= settings.RENDER_SCALE
y = height-y
return ((x - 2, y - 2), (x + 2, y + 2))
def _line_coords(from_point, to_point, height):
return (from_point.x * settings.RENDER_SCALE, height - (from_point.y * sett... | 31.071429 | 98 | 0.673563 | 66 | 435 | 4.19697 | 0.287879 | 0.303249 | 0.411552 | 0.216607 | 0.404332 | 0.223827 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.2 | 435 | 13 | 99 | 33.461538 | 0.784483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b27cede63d6131be5c1c34c0490623db2c98f8a4 | 57 | py | Python | uumpa_ci_toolbox/version.py | CloudWebManage/uumpa-ci-toolbox | 807a483b65f3ec28787300499d961338a9d6bc4a | [
"MIT"
] | null | null | null | uumpa_ci_toolbox/version.py | CloudWebManage/uumpa-ci-toolbox | 807a483b65f3ec28787300499d961338a9d6bc4a | [
"MIT"
] | null | null | null | uumpa_ci_toolbox/version.py | CloudWebManage/uumpa-ci-toolbox | 807a483b65f3ec28787300499d961338a9d6bc4a | [
"MIT"
] | null | null | null | UCI_VERSION = '5964e2fc6156c5f720eed7faecf609c3c6245e3d'
| 28.5 | 56 | 0.894737 | 3 | 57 | 16.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.425926 | 0.052632 | 57 | 1 | 57 | 57 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.701754 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a25cc0836eb9abeab6e7c6296653590c49c063f9 | 12,815 | py | Python | mev/api/tests/test_public_data_views.py | hsph-qbrc/mev-backend | c381800aa7d53d7256e89a4db5a0f9444264e9a6 | [
"MIT"
] | null | null | null | mev/api/tests/test_public_data_views.py | hsph-qbrc/mev-backend | c381800aa7d53d7256e89a4db5a0f9444264e9a6 | [
"MIT"
] | null | null | null | mev/api/tests/test_public_data_views.py | hsph-qbrc/mev-backend | c381800aa7d53d7256e89a4db5a0f9444264e9a6 | [
"MIT"
] | null | null | null | import unittest.mock as mock
from urllib.parse import quote as param_encoder
from django.urls import reverse
from django.core.exceptions import ImproperlyConfigured
from rest_framework import status
from api.models import PublicDataset, Workspace, Resource
from api.tests.base import BaseAPITestCase
from api.tests impo... | 41.073718 | 95 | 0.658291 | 1,607 | 12,815 | 5.033603 | 0.135034 | 0.038571 | 0.044134 | 0.059711 | 0.805291 | 0.790209 | 0.768945 | 0.758067 | 0.733712 | 0.722463 | 0 | 0.01093 | 0.257511 | 12,815 | 311 | 96 | 41.205788 | 0.839201 | 0.202575 | 0 | 0.610526 | 0 | 0 | 0.130315 | 0.050882 | 0 | 0 | 0 | 0 | 0.115789 | 1 | 0.078947 | false | 0 | 0.042105 | 0 | 0.142105 | 0.005263 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a26bd50a3bfad9fe7f6162cdd20f6cb38aee73c3 | 41 | py | Python | mf2cCommsLib/mf2cComms/channel/msg/__init__.py | cketley/acsl | 42b131672e115f449aef459a17e289d4723cd395 | [
"Apache-2.0"
] | null | null | null | mf2cCommsLib/mf2cComms/channel/msg/__init__.py | cketley/acsl | 42b131672e115f449aef459a17e289d4723cd395 | [
"Apache-2.0"
] | 1 | 2018-11-08T15:32:28.000Z | 2018-11-08T15:32:53.000Z | mf2cCommsLib/mf2cComms/channel/msg/__init__.py | cketley/acsl | 42b131672e115f449aef459a17e289d4723cd395 | [
"Apache-2.0"
] | null | null | null | from mf2cComms.channel.msg import message | 41 | 41 | 0.878049 | 6 | 41 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.073171 | 41 | 1 | 41 | 41 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2db3a24dbf18eb804cee1322f20784d70c02631 | 42 | py | Python | src/resellerclub/__init__.py | Ahuahuachi/resellerclub-api-client | 44b78b7567c41fbaa2e15e8e93f956e6c1ffbbf2 | [
"MIT"
] | null | null | null | src/resellerclub/__init__.py | Ahuahuachi/resellerclub-api-client | 44b78b7567c41fbaa2e15e8e93f956e6c1ffbbf2 | [
"MIT"
] | null | null | null | src/resellerclub/__init__.py | Ahuahuachi/resellerclub-api-client | 44b78b7567c41fbaa2e15e8e93f956e6c1ffbbf2 | [
"MIT"
] | null | null | null | from .resellerclub import ResellerClubAPI
| 21 | 41 | 0.880952 | 4 | 42 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c050b12c0066d5441c6793a98f88ac45dc84d1e | 42 | py | Python | solver/__init__.py | mshrAndo/PyMCR | 870aec7befaaeebe886080790b041dd897da1c5d | [
"MIT"
] | 1 | 2021-09-27T19:14:20.000Z | 2021-09-27T19:14:20.000Z | solver/__init__.py | mshrAndo/PyMCR | 870aec7befaaeebe886080790b041dd897da1c5d | [
"MIT"
] | null | null | null | solver/__init__.py | mshrAndo/PyMCR | 870aec7befaaeebe886080790b041dd897da1c5d | [
"MIT"
] | null | null | null | import nmfsvd as nmfsvd
import als as als | 21 | 24 | 0.809524 | 8 | 42 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 25 | 21 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c26513dff466e9c741a44a31bc99a424078b3b9 | 10,910 | py | Python | virtual/lib/python3.7/site-packages/l/tests/test_core.py | candycrushpro/pitch-project | 8f850153fa3debcd858c5a58e7296d7cbda3918b | [
"MIT"
] | null | null | null | virtual/lib/python3.7/site-packages/l/tests/test_core.py | candycrushpro/pitch-project | 8f850153fa3debcd858c5a58e7296d7cbda3918b | [
"MIT"
] | null | null | null | virtual/lib/python3.7/site-packages/l/tests/test_core.py | candycrushpro/pitch-project | 8f850153fa3debcd858c5a58e7296d7cbda3918b | [
"MIT"
] | null | null | null | from io import BytesIO
from textwrap import dedent
from unittest import TestCase
from bp.memory import MemoryFS, MemoryPath
from l import core, cli
class TestOutputters(TestCase):
def setUp(self):
self.fs = MemoryFS()
self.root = MemoryPath(fs=self.fs, path=("test-dir",))
self.root.creat... | 27.902813 | 79 | 0.508433 | 1,183 | 10,910 | 4.591716 | 0.084531 | 0.07511 | 0.069956 | 0.114323 | 0.81701 | 0.766384 | 0.745398 | 0.729013 | 0.70729 | 0.685567 | 0 | 0.000143 | 0.357745 | 10,910 | 390 | 80 | 27.974359 | 0.764807 | 0 | 0 | 0.663636 | 0 | 0.00303 | 0.232631 | 0.017415 | 0 | 0 | 0 | 0 | 0.087879 | 1 | 0.087879 | false | 0 | 0.015152 | 0 | 0.106061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c4de083e85a457d64c2979ba5b5248e7775edf1 | 199 | py | Python | fmspy/rtmp/__init__.py | smira/fmspy | 85260f4ebe8ccb17b0c755f8631f15af848b1707 | [
"MIT"
] | 11 | 2015-01-06T09:43:26.000Z | 2022-02-02T14:30:42.000Z | fmspy/rtmp/__init__.py | smira/fmspy | 85260f4ebe8ccb17b0c755f8631f15af848b1707 | [
"MIT"
] | null | null | null | fmspy/rtmp/__init__.py | smira/fmspy | 85260f4ebe8ccb17b0c755f8631f15af848b1707 | [
"MIT"
] | 3 | 2015-07-13T03:18:21.000Z | 2020-07-14T07:06:26.000Z | # FMSPy - Copyright (c) 2009 Andrey Smirnov.
#
# See COPYRIGHT for details.
"""
RTMP (Real Time Messaging Protocol) implementation.
U{http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol}
"""
| 19.9 | 60 | 0.743719 | 26 | 199 | 5.576923 | 0.807692 | 0.110345 | 0.234483 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.125628 | 199 | 9 | 61 | 22.111111 | 0.810345 | 0.924623 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a73f93b3fd3385c492de787121d7341befb25d20 | 141 | py | Python | kaylee/testsuite/projects/auto_test_project/__init__.py | BasicWolf/archived-kaylee | 91e5c9025a525f3b0033b067d810a38c9e6be4d3 | [
"MIT"
] | 2 | 2018-02-18T09:52:23.000Z | 2018-03-04T06:23:15.000Z | kaylee/testsuite/projects/auto_test_project/__init__.py | BasicWolf/archived-kaylee | 91e5c9025a525f3b0033b067d810a38c9e6be4d3 | [
"MIT"
] | 6 | 2017-08-03T18:51:38.000Z | 2017-08-03T18:51:38.000Z | kaylee/testsuite/projects/auto_test_project/__init__.py | BasicWolf/archived-kaylee | 91e5c9025a525f3b0033b067d810a38c9e6be4d3 | [
"MIT"
] | null | null | null | from .auto_test_project import AutoTestProject
from kaylee.testsuite import TestController
class TestController1(TestController):
pass
| 20.142857 | 46 | 0.843972 | 15 | 141 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.120567 | 141 | 6 | 47 | 23.5 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a767af49b7091c536ca132c9cf178d0106c2b0c6 | 2,927 | py | Python | tests/server/test_server_database_api.py | abitmore/hivemind | a68d8dd49d5d79caccf988a1ff6cba4703adae49 | [
"MIT"
] | 45 | 2021-05-23T21:06:49.000Z | 2022-03-22T23:04:25.000Z | tests/server/test_server_database_api.py | abitmore/hivemind | a68d8dd49d5d79caccf988a1ff6cba4703adae49 | [
"MIT"
] | 1 | 2021-08-03T10:57:23.000Z | 2021-08-03T10:58:05.000Z | tests/server/test_server_database_api.py | abitmore/hivemind | a68d8dd49d5d79caccf988a1ff6cba4703adae49 | [
"MIT"
] | 30 | 2021-05-28T16:23:53.000Z | 2021-09-09T00:28:34.000Z | import pytest
from hive.server.database_api.methods import list_comments
from hive.steem.client import SteemClient
from hive.conf import Conf
@pytest.fixture
def client():
return SteemClient(url='https://api.hive.blog')
@pytest.mark.asyncio
async def test_list_comments_by_cashout_time(client):
with Conf() as ... | 47.209677 | 145 | 0.658695 | 385 | 2,927 | 4.776623 | 0.150649 | 0.14845 | 0.092985 | 0.059815 | 0.808048 | 0.808048 | 0.800435 | 0.766721 | 0.748777 | 0.702012 | 0 | 0.018605 | 0.192005 | 2,927 | 61 | 146 | 47.983607 | 0.758985 | 0 | 0 | 0.607143 | 0 | 0 | 0.159891 | 0 | 0 | 0 | 0 | 0 | 0.303571 | 1 | 0.017857 | false | 0 | 0.071429 | 0.017857 | 0.107143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a7a4d3d67419e33e84854dc482bd227dcd2f2027 | 109 | py | Python | dis_snek/__init__.py | Astrea49/dis_snek | c899a6f1caa3c2a45323dbe50ed8ed62676be9d6 | [
"MIT"
] | 64 | 2021-10-12T15:31:36.000Z | 2022-03-29T18:25:47.000Z | dis_snek/__init__.py | Astrea49/dis_snek | c899a6f1caa3c2a45323dbe50ed8ed62676be9d6 | [
"MIT"
] | 166 | 2021-10-10T16:27:52.000Z | 2022-03-30T09:04:54.000Z | dis_snek/__init__.py | Astrea49/dis_snek | c899a6f1caa3c2a45323dbe50ed8ed62676be9d6 | [
"MIT"
] | 34 | 2021-10-10T13:26:41.000Z | 2022-03-23T13:59:35.000Z | from .client import *
from .client.const import *
from .models import *
from .api import *
from . import ext
| 18.166667 | 27 | 0.724771 | 16 | 109 | 4.9375 | 0.4375 | 0.506329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 109 | 5 | 28 | 21.8 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38ff4ca0d0d31d4509470045d0269a6d455c6c04 | 23,349 | py | Python | tests/modules/users/resources/test_modifying_users_info.py | karenc/houston | 4eaaaf11d61394035e34b55bb847ea7eb4099c61 | [
"Apache-2.0"
] | null | null | null | tests/modules/users/resources/test_modifying_users_info.py | karenc/houston | 4eaaaf11d61394035e34b55bb847ea7eb4099c61 | [
"Apache-2.0"
] | 2 | 2021-03-16T20:28:06.000Z | 2021-03-29T15:54:11.000Z | tests/modules/users/resources/test_modifying_users_info.py | karenc/houston | 4eaaaf11d61394035e34b55bb847ea7eb4099c61 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# pylint: disable=missing-docstring
import io
import json
from pathlib import Path
import shutil
import tempfile
import uuid
from app.modules.users.models import User
from app.modules.fileuploads.models import FileUpload
from PIL import Image
from tests.utils import TemporaryDirectoryGraceful
... | 37.478331 | 103 | 0.500578 | 2,223 | 23,349 | 5.040036 | 0.103014 | 0.052035 | 0.047483 | 0.060336 | 0.813013 | 0.780525 | 0.750089 | 0.730096 | 0.730096 | 0.718315 | 0 | 0.008948 | 0.382586 | 23,349 | 622 | 104 | 37.538585 | 0.768244 | 0.048953 | 0 | 0.589744 | 0 | 0.001832 | 0.142986 | 0.018623 | 0 | 0 | 0 | 0 | 0.130037 | 1 | 0.018315 | false | 0.02381 | 0.020147 | 0 | 0.038462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac16b2b48b9f77af5c281e475923310cbc2abe5d | 9,551 | py | Python | doc/ui/predict/predict_sample.py | TarzanQll/Paddle-master | 1f192b22c641f91bd98a5babe7189ac5d7d3b408 | [
"Apache-2.0"
] | null | null | null | doc/ui/predict/predict_sample.py | TarzanQll/Paddle-master | 1f192b22c641f91bd98a5babe7189ac5d7d3b408 | [
"Apache-2.0"
] | null | null | null | doc/ui/predict/predict_sample.py | TarzanQll/Paddle-master | 1f192b22c641f91bd98a5babe7189ac5d7d3b408 | [
"Apache-2.0"
] | 1 | 2019-10-26T12:51:13.000Z | 2019-10-26T12:51:13.000Z | # Copyright (c) 2016 Baidu, Inc. All Rights Reserved
#
# 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 o... | 90.961905 | 120 | 0.482777 | 2,086 | 9,551 | 2.197987 | 0.119367 | 0.533915 | 0.757688 | 0.955289 | 0.537405 | 0.463904 | 0.45867 | 0.400654 | 0.398909 | 0.372083 | 0 | 0.540882 | 0.30468 | 9,551 | 104 | 121 | 91.836538 | 0.149526 | 0.06146 | 0 | 0.141176 | 0 | 0 | 0.007934 | 0.004246 | 0 | 0 | 0 | 0 | 0.011765 | 0 | null | null | 0 | 0.035294 | null | null | 0.023529 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac2af8fe269abe01b8ea5e5acd3a54ad314beb14 | 87 | py | Python | src/models/ada_boost.py | GavinNishizawa/ncaa-march-madness-2018 | 8324e48ba32c685d60a4eb97e0f10f664a88710b | [
"MIT"
] | 1 | 2018-03-08T23:44:18.000Z | 2018-03-08T23:44:18.000Z | src/models/ada_boost.py | GavinNishizawa/ncaa-march-madness-2018 | 8324e48ba32c685d60a4eb97e0f10f664a88710b | [
"MIT"
] | null | null | null | src/models/ada_boost.py | GavinNishizawa/ncaa-march-madness-2018 | 8324e48ba32c685d60a4eb97e0f10f664a88710b | [
"MIT"
] | null | null | null | from sklearn import ensemble
def create():
return ensemble.AdaBoostClassifier()
| 12.428571 | 40 | 0.758621 | 9 | 87 | 7.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 6 | 41 | 14.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
ac2ebc7c08a9573cd3df9444e5bf0a3207740717 | 21,741 | py | Python | datadog_checks_base/tests/base/checks/windows/perf_counters/test_config.py | tdimnet/integrations-core | a78133a3b71a1b8377fa214d121a98647031ab06 | [
"BSD-3-Clause"
] | 1 | 2021-12-15T22:45:14.000Z | 2021-12-15T22:45:14.000Z | datadog_checks_base/tests/base/checks/windows/perf_counters/test_config.py | tdimnet/integrations-core | a78133a3b71a1b8377fa214d121a98647031ab06 | [
"BSD-3-Clause"
] | null | null | null | datadog_checks_base/tests/base/checks/windows/perf_counters/test_config.py | tdimnet/integrations-core | a78133a3b71a1b8377fa214d121a98647031ab06 | [
"BSD-3-Clause"
] | null | null | null | # (C) Datadog, Inc. 2021-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
import logging
import pytest
from datadog_checks.dev.testing import requires_py3, requires_windows
from .utils import get_check
pytestmark = [requires_py3, requires_windows, pytest.mark.perf_counters]
... | 38.008741 | 120 | 0.560002 | 2,384 | 21,741 | 4.870386 | 0.076342 | 0.049091 | 0.098183 | 0.143399 | 0.895358 | 0.894927 | 0.891999 | 0.87374 | 0.848075 | 0.844027 | 0 | 0.010372 | 0.308174 | 21,741 | 571 | 121 | 38.075306 | 0.761585 | 0.004968 | 0 | 0.577681 | 0 | 0.015317 | 0.262102 | 0 | 0 | 0 | 0 | 0 | 0.006565 | 1 | 0.105033 | false | 0.006565 | 0.008753 | 0 | 0.137856 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac7a0109f7f4f78c40f1c21dca535c5adafa7c94 | 173 | py | Python | shell/views.py | desastre-ecuador/emergencyreport | c74a163613ee97736870dd6471d577f13f8bac9c | [
"Apache-2.0"
] | null | null | null | shell/views.py | desastre-ecuador/emergencyreport | c74a163613ee97736870dd6471d577f13f8bac9c | [
"Apache-2.0"
] | null | null | null | shell/views.py | desastre-ecuador/emergencyreport | c74a163613ee97736870dd6471d577f13f8bac9c | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render, HttpResponse, render_to_response
# Create your views here.
def landing(request):
return render(request, 'landing/home.html', {})
| 21.625 | 69 | 0.757225 | 22 | 173 | 5.863636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138728 | 173 | 7 | 70 | 24.714286 | 0.865772 | 0.132948 | 0 | 0 | 0 | 0 | 0.116438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3ba1d99f21d0068491a30cb368378f71404e5330 | 50 | py | Python | python/words/frequency.py | joejag/codecraft-programming-style | feaca3ce8890053980d48dd6a775ca929f4670fc | [
"MIT"
] | 1 | 2020-05-21T18:06:10.000Z | 2020-05-21T18:06:10.000Z | python/words/frequency.py | joejag/codecraft-programming-style | feaca3ce8890053980d48dd6a775ca929f4670fc | [
"MIT"
] | null | null | null | python/words/frequency.py | joejag/codecraft-programming-style | feaca3ce8890053980d48dd6a775ca929f4670fc | [
"MIT"
] | 2 | 2020-05-21T17:41:30.000Z | 2020-05-21T18:13:24.000Z | def calculate_frequency():
return ["testing"]
| 16.666667 | 26 | 0.7 | 5 | 50 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 27 | 25 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ce0f1c3413543dd6caf8b200f73f644a3a964b84 | 25 | py | Python | src/tasks/__init__.py | luke-james/setup-config | 00861a62dcd40468ace94044683c837b4e1ede8a | [
"Apache-2.0"
] | null | null | null | src/tasks/__init__.py | luke-james/setup-config | 00861a62dcd40468ace94044683c837b4e1ede8a | [
"Apache-2.0"
] | null | null | null | src/tasks/__init__.py | luke-james/setup-config | 00861a62dcd40468ace94044683c837b4e1ede8a | [
"Apache-2.0"
] | null | null | null | from . import setup_tasks | 25 | 25 | 0.84 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
020023980b029d7b9fab076aa09e7d71a635880d | 98 | py | Python | shipyard2/rules/third-party/requests/build.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | 3 | 2016-01-04T06:28:52.000Z | 2020-09-20T13:18:40.000Z | shipyard2/rules/third-party/requests/build.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | shipyard2/rules/third-party/requests/build.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | import shipyard2.rules.pythons
shipyard2.rules.pythons.define_pypi_package('requests', '2.26.0')
| 24.5 | 65 | 0.806122 | 14 | 98 | 5.5 | 0.785714 | 0.363636 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.05102 | 98 | 3 | 66 | 32.666667 | 0.763441 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
024e111fd4f6f72908ffde93407e9cbee5a5191b | 124 | py | Python | tests/conftest.py | Kludex/fastapi-template | 47256eb8f8c7439a4d669172d94ce84c62cdb25a | [
"MIT"
] | 14 | 2021-03-27T22:18:56.000Z | 2022-03-21T19:04:48.000Z | tests/conftest.py | Kludex/fastapi-template | 47256eb8f8c7439a4d669172d94ce84c62cdb25a | [
"MIT"
] | 33 | 2021-03-28T21:06:22.000Z | 2022-03-07T14:18:26.000Z | tests/conftest.py | Kludex/fastapi-template | 47256eb8f8c7439a4d669172d94ce84c62cdb25a | [
"MIT"
] | null | null | null | import pathlib
import pytest
@pytest.fixture()
def root_dir() -> pathlib.PosixPath:
return pathlib.Path().absolute()
| 13.777778 | 36 | 0.725806 | 15 | 124 | 5.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 124 | 8 | 37 | 15.5 | 0.839623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
025be8d0c76a1807fbbde54187d0bfa82cb330b7 | 8,319 | py | Python | src/abaqus/Optimization/SizingTask.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Optimization/SizingTask.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Optimization/SizingTask.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .DesignResponse import DesignResponse
from .GeometricRestriction import GeometricRestriction
from .ObjectiveFunction import ObjectiveFunction
from .OptimizationConstraint import OptimizationConstraint
from .OptimizationTask import OptimizationTask
from .StopCondition import StopCondit... | 50.114458 | 111 | 0.6859 | 847 | 8,319 | 6.731995 | 0.184179 | 0.04209 | 0.063136 | 0.065591 | 0.809541 | 0.752017 | 0.707471 | 0.663627 | 0.663627 | 0.663627 | 0 | 0.006899 | 0.268181 | 8,319 | 165 | 112 | 50.418182 | 0.929041 | 0.653564 | 0 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0.068966 | 0.241379 | 0 | 0.517241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
025de69caae4620e8bf3770649411845d2b049dd | 3,757 | py | Python | test/benchmark_array_creation.py | Yousazoe/oxBot | f677595c97369ac0548329f074cd44b916a84848 | [
"MIT"
] | 242 | 2019-06-26T22:03:36.000Z | 2022-03-28T19:32:04.000Z | test/benchmark_array_creation.py | Yousazoe/oxBot | f677595c97369ac0548329f074cd44b916a84848 | [
"MIT"
] | 85 | 2019-06-08T13:22:32.000Z | 2022-03-28T15:52:45.000Z | test/benchmark_array_creation.py | Yousazoe/oxBot | f677595c97369ac0548329f074cd44b916a84848 | [
"MIT"
] | 111 | 2019-09-13T14:37:13.000Z | 2022-03-31T22:35:14.000Z | """
Testing what the fastest way is to create a 1D Array with 2 values
"""
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
import random
import numpy as np
x, y = random.uniform(0, 300), random.uniform(0, 300)
def numpy_array(x, y):
# Calculate distances between each of the... | 25.385135 | 77 | 0.733564 | 572 | 3,757 | 4.611888 | 0.111888 | 0.02047 | 0.113723 | 0.131918 | 0.835102 | 0.732752 | 0.702047 | 0.594011 | 0.568234 | 0.553829 | 0 | 0.006404 | 0.168752 | 3,757 | 147 | 78 | 25.557823 | 0.838297 | 0.193505 | 0 | 0.243243 | 0 | 0 | 0.000665 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 1 | 0.324324 | false | 0 | 0.054054 | 0.135135 | 0.540541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
65f9f8054d108e88618512945f41688ecfd234bd | 44 | py | Python | api/binance/__init__.py | sheungon/fx-connectors | 1eef5d6617a6a9403ddd1903ec56e826e2126832 | [
"Apache-2.0"
] | 1 | 2021-12-04T18:44:37.000Z | 2021-12-04T18:44:37.000Z | api/binance/__init__.py | sheungon/fx-connectors | 1eef5d6617a6a9403ddd1903ec56e826e2126832 | [
"Apache-2.0"
] | null | null | null | api/binance/__init__.py | sheungon/fx-connectors | 1eef5d6617a6a9403ddd1903ec56e826e2126832 | [
"Apache-2.0"
] | 1 | 2022-03-18T07:51:49.000Z | 2022-03-18T07:51:49.000Z | from .binance_service import BinanceService
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65ff67ce163df0e34965f66a73cf478bfd48f1a2 | 248 | py | Python | apps/osis/logic/system/heartbeat/OSIS_heartbeat_impl.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 1 | 2015-10-26T10:38:13.000Z | 2015-10-26T10:38:13.000Z | apps/osis/logic/system/heartbeat/OSIS_heartbeat_impl.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 4 | 2016-08-25T12:08:39.000Z | 2018-04-12T12:36:01.000Z | apps/osis/logic/system/heartbeat/OSIS_heartbeat_impl.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 3 | 2016-03-08T07:49:34.000Z | 2018-10-19T13:56:43.000Z | from JumpScale import j
from JumpScale.grid.osis.OSISStoreMongo import OSISStoreMongo
# from JumpScale.grid.osis.OSISStore import OSISStore
ujson = j.db.serializers.getSerializerType('j')
class mainclass(OSISStoreMongo):
"""
"""
| 22.545455 | 61 | 0.745968 | 27 | 248 | 6.851852 | 0.518519 | 0.210811 | 0.183784 | 0.227027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157258 | 248 | 10 | 62 | 24.8 | 0.885167 | 0.205645 | 0 | 0 | 0 | 0 | 0.005435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 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 | 6 |
5a0d63ac9c1fe0144e64e5310e58d99c09eee85e | 294 | py | Python | end2you/data_provider/__init__.py | mauricege/end2you | 0d0c731e210410a1a5b561a747dbea5b0b53639d | [
"BSD-3-Clause"
] | null | null | null | end2you/data_provider/__init__.py | mauricege/end2you | 0d0c731e210410a1a5b561a747dbea5b0b53639d | [
"BSD-3-Clause"
] | null | null | null | end2you/data_provider/__init__.py | mauricege/end2you | 0d0c731e210410a1a5b561a747dbea5b0b53639d | [
"BSD-3-Clause"
] | null | null | null | from .audio_provider import AudioProvider
from .visual_provider import VisualProvider
from .provider import BaseProvider
from .multifile_audiovisual_provider import MultiFile_AVProvider
from .singlefile_audiovisual_provider import SingleFile_AVProvider
from .get_provider import get_dataloader
| 42 | 66 | 0.897959 | 34 | 294 | 7.470588 | 0.411765 | 0.330709 | 0.19685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 294 | 6 | 67 | 49 | 0.940741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a18a20233ae5d4644d6af2deca2854e3e9ee91b | 47 | py | Python | memdem/__init__.py | underchemist/memdem | 7ab86bf1ef3083529407c62790b2e39108e1120a | [
"MIT"
] | null | null | null | memdem/__init__.py | underchemist/memdem | 7ab86bf1ef3083529407c62790b2e39108e1120a | [
"MIT"
] | 1 | 2021-07-12T04:06:01.000Z | 2021-07-12T04:06:01.000Z | memdem/__init__.py | underchemist/memdem | 7ab86bf1ef3083529407c62790b2e39108e1120a | [
"MIT"
] | null | null | null | from . import vrt
from .memdem import DEMTiles
| 15.666667 | 28 | 0.787234 | 7 | 47 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 29 | 23.5 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a7a22ceee3912d5cf28a6053814c8c6d8c62e63 | 25 | py | Python | jakso_ml/tensorflow/training_data/__init__.py | JaksoSoftware/jakso-ml | 5720ea557ca2fcf9ae16e329c198acd8e31258c4 | [
"MIT"
] | 3 | 2019-07-24T08:12:12.000Z | 2021-09-20T13:01:34.000Z | pysamiterators/__init__.py | BuysDB/pysamiterators | b00d7ca0cf5795776e9d83b8a1c6ecc0e94aaa7d | [
"MIT"
] | 3 | 2020-09-25T18:40:52.000Z | 2021-08-25T14:44:30.000Z | jakso_ml/tensorflow/training_data/__init__.py | JaksoSoftware/jakso-ml | 5720ea557ca2fcf9ae16e329c198acd8e31258c4 | [
"MIT"
] | 1 | 2021-05-27T11:46:54.000Z | 2021-05-27T11:46:54.000Z | from .iterators import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ceacc6af1ca867f3ffcc7847d5acabc1018b677d | 172 | py | Python | guitarHarmony/register.py | fuyuan-li/Guitar-Harmony | 8cd836782bb19cbf39ce4a4722ea52d7988b2cc4 | [
"MIT"
] | 5 | 2020-03-15T19:09:59.000Z | 2021-02-26T03:32:38.000Z | guitarHarmony/register.py | fuyuan-li/Guitar-Harmony | 8cd836782bb19cbf39ce4a4722ea52d7988b2cc4 | [
"MIT"
] | 1 | 2020-03-30T06:46:17.000Z | 2020-03-30T06:46:17.000Z | guitarHarmony/register.py | fuyuan-li/Guitar-Harmony | 8cd836782bb19cbf39ce4a4722ea52d7988b2cc4 | [
"MIT"
] | 1 | 2020-03-30T05:59:24.000Z | 2020-03-30T05:59:24.000Z | # -*- coding: utf-8 -*-
# @Author: Xi He
# @Date: 2020-03-21 12:34:40
# @Last Modified by: Xi He
# @Last Modified time: 2020-03-21 12:36:06
from .helper import CONSTANT | 28.666667 | 42 | 0.639535 | 31 | 172 | 3.548387 | 0.741935 | 0.072727 | 0.145455 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207143 | 0.186047 | 172 | 6 | 43 | 28.666667 | 0.578571 | 0.773256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cecf34df7294c70c122062c9298e12ebda9b17a6 | 159 | py | Python | migrations/905-exclude-new-region-taiwan.py | mstriemer/zamboni | 32f95899492d51e78caaf9a08caa28fcfcb2c172 | [
"BSD-3-Clause"
] | null | null | null | migrations/905-exclude-new-region-taiwan.py | mstriemer/zamboni | 32f95899492d51e78caaf9a08caa28fcfcb2c172 | [
"BSD-3-Clause"
] | null | null | null | migrations/905-exclude-new-region-taiwan.py | mstriemer/zamboni | 32f95899492d51e78caaf9a08caa28fcfcb2c172 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
from mkt.constants import regions
from mkt.developers.cron import exclude_new_region
def run():
exclude_new_region([regions.TWN])
| 17.666667 | 50 | 0.773585 | 24 | 159 | 4.958333 | 0.708333 | 0.117647 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 159 | 8 | 51 | 19.875 | 0.856115 | 0.125786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cecfd9591d1b7ce31f2b64233930dfd3d6fa5f1c | 324 | py | Python | src/phantasyfootballer/pipelines/full_pipeline.py | MLDERES/phantasyfootballer | 785a5d5efea3b627f3c2cf1f390545f671525743 | [
"Apache-2.0"
] | 1 | 2020-08-20T01:15:50.000Z | 2020-08-20T01:15:50.000Z | src/phantasyfootballer/pipelines/full_pipeline.py | MLDERES/phantasyfootballer | 785a5d5efea3b627f3c2cf1f390545f671525743 | [
"Apache-2.0"
] | 22 | 2020-08-18T23:21:25.000Z | 2021-09-13T21:09:54.000Z | src/phantasyfootballer/pipelines/full_pipeline.py | MLDERES/phantasyfootballer | 785a5d5efea3b627f3c2cf1f390545f671525743 | [
"Apache-2.0"
] | null | null | null | from kedro.pipeline import Pipeline
from phantasyfootballer.pipelines import data_engineering as de
def create_full_pipeline():
# TODO: this will be the full pipeline from getting data, to preparing the data, to setting up the features and finally executing the predictors
return Pipeline([de.create_pipeline(... | 36 | 148 | 0.796296 | 46 | 324 | 5.521739 | 0.630435 | 0.094488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154321 | 324 | 8 | 149 | 40.5 | 0.927007 | 0.438272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
0c86a3f85341f1a34ecd919bf697f46b5f5f570f | 2,695 | py | Python | thrift/compiler/test/fixtures/namespace/gen-py3lite/my/namespacing/extend/test/extend/lite_clients.py | killight98/fbthrift | c28d5036f96f7eab67c30abadc5ddbe627a11ee3 | [
"Apache-2.0"
] | 2,112 | 2015-01-02T11:34:27.000Z | 2022-03-31T16:30:42.000Z | thrift/compiler/test/fixtures/namespace/gen-py3lite/my/namespacing/extend/test/extend/lite_clients.py | killight98/fbthrift | c28d5036f96f7eab67c30abadc5ddbe627a11ee3 | [
"Apache-2.0"
] | 372 | 2015-01-05T10:40:09.000Z | 2022-03-31T20:45:11.000Z | thrift/compiler/test/fixtures/namespace/gen-py3lite/my/namespacing/extend/test/extend/lite_clients.py | killight98/fbthrift | c28d5036f96f7eab67c30abadc5ddbe627a11ee3 | [
"Apache-2.0"
] | 582 | 2015-01-03T01:51:56.000Z | 2022-03-31T02:01:09.000Z | #
# Autogenerated by Thrift
#
# DO NOT EDIT
# @generated
#
import typing as _typing
import folly.iobuf as _fbthrift_iobuf
from thrift.py3lite.client import (
AsyncClient as _fbthrift_py3lite_AsyncClient,
SyncClient as _fbthrift_py3lite_SyncClient,
Client as _fbthrift_py3lite_Client,
)
import thrift.py3li... | 40.833333 | 122 | 0.69128 | 283 | 2,695 | 6.272085 | 0.226148 | 0.080563 | 0.105352 | 0.117746 | 0.749296 | 0.749296 | 0.749296 | 0.743099 | 0.743099 | 0.739155 | 0 | 0.014677 | 0.241558 | 2,695 | 65 | 123 | 41.461538 | 0.853718 | 0.051577 | 0 | 0.530612 | 1 | 0 | 0.045973 | 0.017682 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0 | 0.163265 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0cfd554024443697bf47f1e4b25f33df3f4d5889 | 3,820 | py | Python | tests/terraform/checks/resource/aws/test_MSKClusterEncryption.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 4,013 | 2019-12-09T13:16:54.000Z | 2022-03-31T14:31:01.000Z | tests/terraform/checks/resource/aws/test_MSKClusterEncryption.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 1,258 | 2019-12-17T09:55:51.000Z | 2022-03-31T19:17:17.000Z | tests/terraform/checks/resource/aws/test_MSKClusterEncryption.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 638 | 2019-12-19T08:57:38.000Z | 2022-03-30T21:38:37.000Z | import unittest
from checkov.common.models.enums import CheckResult
from checkov.terraform.checks.resource.aws.MSKClusterEncryption import check
class TestMSKClusterEncryption(unittest.TestCase):
def test_failure(self):
resource_conf = {
"name": "test-project",
}
scan_result ... | 34.107143 | 97 | 0.509424 | 334 | 3,820 | 5.42515 | 0.185629 | 0.139073 | 0.06181 | 0.077263 | 0.849338 | 0.837748 | 0.82064 | 0.82064 | 0.82064 | 0.82064 | 0 | 0.002583 | 0.391885 | 3,820 | 111 | 98 | 34.414414 | 0.777443 | 0.036911 | 0 | 0.556701 | 0 | 0 | 0.165397 | 0.055495 | 0 | 0 | 0 | 0 | 0.072165 | 1 | 0.072165 | false | 0.041237 | 0.030928 | 0 | 0.113402 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b4e8019be426a472dc2c32df745aa56d8c18b2b | 12,891 | py | Python | tests/test_webhooks.py | DavidKar1uk1/k2-connect-python | 5185329ae07686be9d517df60cfc2ed0b93a7579 | [
"MIT"
] | 1 | 2020-07-20T11:26:48.000Z | 2020-07-20T11:26:48.000Z | tests/test_webhooks.py | DavidKar1uk1/k2-connect-python | 5185329ae07686be9d517df60cfc2ed0b93a7579 | [
"MIT"
] | null | null | null | tests/test_webhooks.py | DavidKar1uk1/k2-connect-python | 5185329ae07686be9d517df60cfc2ed0b93a7579 | [
"MIT"
] | 3 | 2019-02-04T08:02:50.000Z | 2020-01-23T17:59:25.000Z | import requests
import unittest
from urlvalidator import URLValidator
from k2connect import webhooks, authorization, json_builder, exceptions, validation
from k2connect.exceptions import InvalidArgumentError
from tests import SAMPLE_BASE_URL, SAMPLE_WEBHOOK_SECRET, SAMPLE_CLIENT_ID, SAMPLE_CLIENT_SECRET
class Webhoo... | 51.154762 | 113 | 0.673959 | 1,253 | 12,891 | 6.584198 | 0.09178 | 0.033091 | 0.042667 | 0.063273 | 0.868 | 0.858545 | 0.842545 | 0.822545 | 0.822545 | 0.822545 | 0 | 0.052221 | 0.233496 | 12,891 | 251 | 114 | 51.358566 | 0.782714 | 0.012179 | 0 | 0.692661 | 0 | 0 | 0.229101 | 0.037869 | 0 | 0 | 0 | 0 | 0.105505 | 1 | 0.105505 | false | 0 | 0.027523 | 0 | 0.165138 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b6e37a70ecc9f9098c1ccac1c7d335fb8de79b3 | 59,868 | py | Python | tests/mechanic/telemetry_test.py | paulcoghlan/rally | 76f82265814836565ccf53edda3d5426e4c2db8a | [
"Apache-2.0"
] | null | null | null | tests/mechanic/telemetry_test.py | paulcoghlan/rally | 76f82265814836565ccf53edda3d5426e4c2db8a | [
"Apache-2.0"
] | null | null | null | tests/mechanic/telemetry_test.py | paulcoghlan/rally | 76f82265814836565ccf53edda3d5426e4c2db8a | [
"Apache-2.0"
] | null | null | null | import random
import collections
import unittest.mock as mock
from unittest import TestCase
from esrally import config, metrics, exceptions
from esrally.mechanic import telemetry, team, cluster
def create_config():
cfg = config.Config()
cfg.add(config.Scope.application, "system", "env.name", "unittest")
... | 45.217523 | 136 | 0.510841 | 5,743 | 59,868 | 5.044924 | 0.093853 | 0.038657 | 0.034791 | 0.037 | 0.830497 | 0.795189 | 0.7663 | 0.736962 | 0.70262 | 0.676975 | 0 | 0.040397 | 0.371501 | 59,868 | 1,323 | 137 | 45.251701 | 0.729609 | 0.0077 | 0 | 0.591479 | 0 | 0.005848 | 0.264358 | 0.129072 | 0 | 0 | 0 | 0 | 0.060986 | 1 | 0.02924 | false | 0.000835 | 0.005013 | 0.003342 | 0.051796 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b79a6f5aabd8e8133e9fd7e5bac9d7f83f7fc48 | 143 | py | Python | papero/converter.py | atolab/papero | afe7fcb489527ac2046c90b4cf120d2ba8996ea5 | [
"Apache-2.0"
] | 2 | 2019-07-30T09:04:51.000Z | 2019-07-31T06:36:22.000Z | papero/converter.py | atolab/papero | afe7fcb489527ac2046c90b4cf120d2ba8996ea5 | [
"Apache-2.0"
] | null | null | null | papero/converter.py | atolab/papero | afe7fcb489527ac2046c90b4cf120d2ba8996ea5 | [
"Apache-2.0"
] | null | null | null | def int_to_byte(i):
return i.to_bytes(1, byteorder='big')
def byte_to_int(b):
return int.from_bytes(b, byteorder='big', signed=False)
| 23.833333 | 59 | 0.706294 | 26 | 143 | 3.653846 | 0.538462 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.13986 | 143 | 5 | 60 | 28.6 | 0.764228 | 0 | 0 | 0 | 0 | 0 | 0.041958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0b95bbf33678bca36f1af362d406ee5fd07e0eca | 5,291 | py | Python | data/AVA/generate_splits.py | pedro-abreu/twostream-attention | 60a47c50b8f2427911e5e30fd6c6f933dbf08a4e | [
"MIT"
] | 10 | 2018-10-26T05:19:15.000Z | 2019-02-02T03:39:29.000Z | data/AVA/generate_splits.py | pedro-abreu/twostream-attention | 60a47c50b8f2427911e5e30fd6c6f933dbf08a4e | [
"MIT"
] | 2 | 2018-11-14T05:03:56.000Z | 2019-02-19T09:06:52.000Z | data/AVA/generate_splits.py | pedro-abreu/twostream-attention | 60a47c50b8f2427911e5e30fd6c6f933dbf08a4e | [
"MIT"
] | 3 | 2018-11-14T05:12:24.000Z | 2019-03-02T15:01:15.000Z | # TESTING SPLIT COMES FROM THE END OF THE TRAINING SPLIT
# TRAINING AND VAL ARE JUST SUBSETS OF MINI_SPLIT_X_BIG
import csv
import numpy as np
def writeCSV(filename, videoName, keyFrame, bb, action):
csvLine = videoName + ',' + keyFrame + ',' + str(bb[0]) + ',' + str(bb[1]) + ',' + str(bb[2]) + ',' + str(b... | 36.743056 | 144 | 0.674353 | 683 | 5,291 | 5.080527 | 0.172767 | 0.066282 | 0.070029 | 0.034582 | 0.746974 | 0.746974 | 0.735159 | 0.735159 | 0.735159 | 0.735159 | 0 | 0.020171 | 0.203553 | 5,291 | 143 | 145 | 37 | 0.803275 | 0.110943 | 0 | 0.778761 | 0 | 0 | 0.033686 | 0.019155 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.017699 | 0 | 0.035398 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f03f5f21525a91cf4328dae2cfa9614c6a838766 | 212 | py | Python | flask_kits1/restful/__init__.py | by46/coffee | f12e1e95f12da7e322a432a6386a1147c5549c3b | [
"MIT"
] | null | null | null | flask_kits1/restful/__init__.py | by46/coffee | f12e1e95f12da7e322a432a6386a1147c5549c3b | [
"MIT"
] | null | null | null | flask_kits1/restful/__init__.py | by46/coffee | f12e1e95f12da7e322a432a6386a1147c5549c3b | [
"MIT"
] | null | null | null | from .filter import filter_params
from .meta import Meta
from .pagination import Paginate
from .resource import BusinessResource
from .resource import WxBusinessResource
from .swagger import post_parameter
| 30.285714 | 41 | 0.830189 | 26 | 212 | 6.692308 | 0.5 | 0.137931 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 212 | 6 | 42 | 35.333333 | 0.956044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33122adee63f34acfdb8189a7c86278c61ee307e | 40 | py | Python | torchvex/simple_grad/__init__.py | vlue-c/Visual-Explanation-Methods-PyTorch | e3eb592fe3aa0c719ef3e5d0f75238a2a3e84c3d | [
"MIT"
] | 4 | 2021-11-22T04:43:27.000Z | 2022-03-24T12:25:01.000Z | torchvex/simple_grad/__init__.py | vlue-c/PyTorch-Explanations | e3eb592fe3aa0c719ef3e5d0f75238a2a3e84c3d | [
"MIT"
] | null | null | null | torchvex/simple_grad/__init__.py | vlue-c/PyTorch-Explanations | e3eb592fe3aa0c719ef3e5d0f75238a2a3e84c3d | [
"MIT"
] | 1 | 2021-11-22T04:43:28.000Z | 2021-11-22T04:43:28.000Z | from .simple_grad import SimpleGradient
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33411f8d74f91c43c5ebb7fe4d119fd26b757e9f | 21 | py | Python | frappe/modules/__init__.py | Don-Leopardo/frappe | 39097b05a7a9904776a435ee2c3d7a579d429389 | [
"MIT"
] | 3,755 | 2015-01-06T07:47:43.000Z | 2022-03-31T20:54:23.000Z | frappe/modules/__init__.py | JMBodz/frappe | eb218a06d1cbfc3a8f1cc00ba8dac2c927d2f71d | [
"MIT"
] | 7,369 | 2015-01-01T19:59:41.000Z | 2022-03-31T23:02:05.000Z | frappe/modules/__init__.py | JMBodz/frappe | eb218a06d1cbfc3a8f1cc00ba8dac2c927d2f71d | [
"MIT"
] | 2,685 | 2015-01-07T17:51:03.000Z | 2022-03-31T23:16:24.000Z |
from .utils import * | 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 2 | 20 | 10.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6825610e14c229205b6916088839421c28a0bd62 | 143 | py | Python | cocoa/runtemplate.py | hsoft/guiskel | fcdc8a1b949738524efe3f0495aba049ed72d212 | [
"BSD-3-Clause"
] | 3 | 2015-07-30T01:52:07.000Z | 2018-02-15T21:40:49.000Z | cocoa/runtemplate.py | hsoft/guiskel | fcdc8a1b949738524efe3f0495aba049ed72d212 | [
"BSD-3-Clause"
] | null | null | null | cocoa/runtemplate.py | hsoft/guiskel | fcdc8a1b949738524efe3f0495aba049ed72d212 | [
"BSD-3-Clause"
] | null | null | null | import sys
import os
def main():
return os.system('open cocoa/build/release/guiskel.app')
if __name__ == '__main__':
sys.exit(main()) | 17.875 | 60 | 0.685315 | 21 | 143 | 4.285714 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160839 | 143 | 8 | 61 | 17.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 0.215278 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 6 |
68916e7667b40b61751b7a40a59bc8e6728507d5 | 24 | py | Python | scanorama/__init__.py | ivirshup/scanorama | f6489723caf81f3b36df98edd5db1e6040147e8d | [
"MIT"
] | null | null | null | scanorama/__init__.py | ivirshup/scanorama | f6489723caf81f3b36df98edd5db1e6040147e8d | [
"MIT"
] | null | null | null | scanorama/__init__.py | ivirshup/scanorama | f6489723caf81f3b36df98edd5db1e6040147e8d | [
"MIT"
] | null | null | null | from scanorama import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
68a1ca06bb3aeb89618c8a8584a3161aa2e4902e | 2,221 | py | Python | tests/test_attributes.py | robinklaassen/barentsz | 5c289d071ddf42d0a9a6c3dbd1db0bf809ae136a | [
"MIT"
] | 2 | 2020-09-05T12:05:59.000Z | 2021-03-16T15:43:11.000Z | tests/test_attributes.py | robinklaassen/barentsz | 5c289d071ddf42d0a9a6c3dbd1db0bf809ae136a | [
"MIT"
] | 5 | 2020-08-14T10:09:36.000Z | 2020-09-26T11:55:37.000Z | tests/test_attributes.py | robinklaassen/barentsz | 5c289d071ddf42d0a9a6c3dbd1db0bf809ae136a | [
"MIT"
] | 1 | 2020-08-17T07:18:43.000Z | 2020-08-17T07:18:43.000Z | from unittest import TestCase
from barentsz._attribute import Attribute
class TestAttribute(TestCase):
def test_is_private_or_public(self):
# SETUP
attribute1 = Attribute(
name='attr',
type_=int,
value=42,
doc='some doc',
comment='some ... | 25.825581 | 53 | 0.486718 | 214 | 2,221 | 4.915888 | 0.186916 | 0.06654 | 0.080798 | 0.09981 | 0.70057 | 0.70057 | 0.70057 | 0.70057 | 0.70057 | 0.70057 | 0 | 0.037234 | 0.407474 | 2,221 | 85 | 54 | 26.129412 | 0.762158 | 0.030617 | 0 | 0.779412 | 0 | 0 | 0.100652 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 1 | 0.044118 | false | 0 | 0.029412 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.