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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2852737169e46518eff75950133a7870cf02ba62 | 113 | py | Python | macaroon/macaroon/playback/__init__.py | xyklex/accerciser | 16c90cdd20dabffc36b130ba0ec7a474872b976b | [
"BSD-3-Clause"
] | 10 | 2016-11-25T20:09:03.000Z | 2020-03-24T22:46:16.000Z | macaroon/macaroon/playback/__init__.py | xyklex/accerciser | 16c90cdd20dabffc36b130ba0ec7a474872b976b | [
"BSD-3-Clause"
] | 1 | 2021-03-16T11:17:11.000Z | 2021-03-16T11:17:11.000Z | macaroon/macaroon/playback/__init__.py | xyklex/accerciser | 16c90cdd20dabffc36b130ba0ec7a474872b976b | [
"BSD-3-Clause"
] | 4 | 2015-10-09T14:42:22.000Z | 2021-03-16T11:16:05.000Z | from .sequence import *
from .wait_actions import *
from .keypress_actions import *
from .sequence_step import *
| 22.6 | 31 | 0.787611 | 15 | 113 | 5.733333 | 0.466667 | 0.348837 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 113 | 4 | 32 | 28.25 | 0.886598 | 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 |
2857fabcf59fc12447df35bd87b6741a2c9519bc | 127 | py | Python | tests/tests_mocker.py | guilacerda/gcp-pilot | b31a7d4cd2de94a57c928c024e8f5b074f628224 | [
"Apache-2.0"
] | null | null | null | tests/tests_mocker.py | guilacerda/gcp-pilot | b31a7d4cd2de94a57c928c024e8f5b074f628224 | [
"Apache-2.0"
] | 16 | 2021-01-11T00:59:42.000Z | 2022-03-29T18:34:55.000Z | tests/tests_mocker.py | guilacerda/gcp-pilot | b31a7d4cd2de94a57c928c024e8f5b074f628224 | [
"Apache-2.0"
] | 1 | 2021-09-17T05:38:41.000Z | 2021-09-17T05:38:41.000Z | import unittest
from gcp_pilot import mocker # pylint: disable=unused-import
class TestMocker(unittest.TestCase):
pass
| 15.875 | 61 | 0.779528 | 16 | 127 | 6.125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 7 | 62 | 18.142857 | 0.915888 | 0.228346 | 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 |
286e75e2e3c07e89b2203e6db9e69c64cb6a4f13 | 179 | py | Python | Module 3/Chapter 6/ch6_2.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | 50 | 2016-12-11T13:49:01.000Z | 2022-03-20T19:47:55.000Z | Module 3/Chapter 6/ch6_2.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | null | null | null | Module 3/Chapter 6/ch6_2.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | 40 | 2017-06-14T14:02:48.000Z | 2021-10-14T06:25:00.000Z | import nltk
input_expr = nltk.sem.Expression.fromstring
print(input_expr('X | (Y -> Z)'))
print(input_expr('-(X & Y)'))
print(input_expr('X & Y'))
print(input_expr('X <-> -- X'))
| 25.571429 | 43 | 0.648045 | 29 | 179 | 3.827586 | 0.37931 | 0.405405 | 0.504505 | 0.540541 | 0.567568 | 0.423423 | 0.423423 | 0.423423 | 0.423423 | 0 | 0 | 0 | 0.111732 | 179 | 6 | 44 | 29.833333 | 0.698113 | 0 | 0 | 0 | 0 | 0 | 0.195531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9564b4ed22db0db00e9ff0765bbe2e78ce0c3b14 | 258 | py | Python | cracking_the_coding_interview_qs/16.17/get_max_cont_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/16.17/get_max_cont_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/16.17/get_max_cont_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | import unittest
from get_max_cont import get_max_cont
class Test_Case_Get_Max_Cont(unittest.TestCase):
def test_get_max_cont(self):
self.assertEqual(get_max_cont([2,3,-8,-1,2,4,-2,3]), 7)
self.assertEqual(get_max_cont([-1,-2,-3,-4]), -1) | 36.857143 | 63 | 0.709302 | 48 | 258 | 3.5 | 0.395833 | 0.214286 | 0.357143 | 0.25 | 0.297619 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.131783 | 258 | 7 | 64 | 36.857143 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2536189656eb9c5b152709ca5c9a04f4aa6017a7 | 27 | py | Python | src/masoniteorm/seeds/__init__.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | 94 | 2020-02-08T21:08:56.000Z | 2022-03-28T15:24:52.000Z | src/masoniteorm/seeds/__init__.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | 441 | 2020-02-09T06:17:44.000Z | 2022-03-30T07:27:39.000Z | src/masoniteorm/seeds/__init__.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | 28 | 2020-02-26T10:29:05.000Z | 2022-03-30T19:08:28.000Z | from .Seeder import Seeder
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
c2b7a2891eecc7cb7753ec8ea752a11bbd887012 | 38 | py | Python | elf/types/section/types/notes/__init__.py | Valmarelox/elftoolsng | 99c3f4913a7e477007b1d81df83274d7657bf693 | [
"MIT"
] | null | null | null | elf/types/section/types/notes/__init__.py | Valmarelox/elftoolsng | 99c3f4913a7e477007b1d81df83274d7657bf693 | [
"MIT"
] | null | null | null | elf/types/section/types/notes/__init__.py | Valmarelox/elftoolsng | 99c3f4913a7e477007b1d81df83274d7657bf693 | [
"MIT"
] | null | null | null | from .note_section import NoteSection
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c2d465d84b58928e4efc3321e844c1e2b270b96e | 97 | py | Python | flow/__init__.py | nschloe/flow | ef45bdd4181d385b1b01042e9ce0b48e4cdc2318 | [
"MIT"
] | 6 | 2018-05-01T18:04:03.000Z | 2020-12-29T08:05:53.000Z | flow/__init__.py | nschloe/flow | ef45bdd4181d385b1b01042e9ce0b48e4cdc2318 | [
"MIT"
] | 1 | 2018-08-09T07:17:59.000Z | 2018-08-09T07:52:18.000Z | flow/__init__.py | nschloe/flow | ef45bdd4181d385b1b01042e9ce0b48e4cdc2318 | [
"MIT"
] | 4 | 2018-01-29T18:46:12.000Z | 2020-12-27T11:44:05.000Z | # -*- coding: utf-8 -*-
#
from . import message
from . import navier_stokes
from . import stokes
| 16.166667 | 27 | 0.680412 | 13 | 97 | 5 | 0.615385 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.185567 | 97 | 5 | 28 | 19.4 | 0.810127 | 0.216495 | 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 |
6c0c9ad9ddeafebd2427344ce62294be8dc9a094 | 303 | py | Python | maayanlab_bioinformatics/parse/__init__.py | MaayanLab/maayanlab-bioinformatics | f84bda02a8841a65d4c72e491129cdc339fb73b3 | [
"Apache-2.0"
] | 4 | 2020-07-16T11:49:59.000Z | 2021-08-03T00:54:16.000Z | maayanlab_bioinformatics/parse/__init__.py | MaayanLab/maayanlab-bioinformatics | f84bda02a8841a65d4c72e491129cdc339fb73b3 | [
"Apache-2.0"
] | 2 | 2020-05-21T17:04:30.000Z | 2022-02-14T21:29:54.000Z | maayanlab_bioinformatics/parse/__init__.py | MaayanLab/maayanlab-bioinformatics | f84bda02a8841a65d4c72e491129cdc339fb73b3 | [
"Apache-2.0"
] | null | null | null | '''This module contains functions relating to file parsing into easier to ready-to-go formats.
'''
from maayanlab_bioinformatics.parse.gmt import gmt_read_iter, gmt_read_dict, gmt_read_pd, gmt_write_dict, gmt_write_pd
from maayanlab_bioinformatics.parse.suerat import suerat_load, suerat_load_multiple
| 50.5 | 118 | 0.848185 | 47 | 303 | 5.148936 | 0.574468 | 0.086777 | 0.223141 | 0.264463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092409 | 303 | 5 | 119 | 60.6 | 0.88 | 0.30033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6c3f60addd0431c8f360dfc7e2317612fbeecacf | 235 | py | Python | juno/resources/routes/pix_routes.py | notafiscalrural/juno-python | 08b0bfcbd3342b101a0d1fa0d3f085776aa22aa5 | [
"MIT"
] | 2 | 2022-03-25T21:08:46.000Z | 2022-03-31T21:10:17.000Z | juno/resources/routes/pix_routes.py | notafiscalrural/juno-python | 08b0bfcbd3342b101a0d1fa0d3f085776aa22aa5 | [
"MIT"
] | null | null | null | juno/resources/routes/pix_routes.py | notafiscalrural/juno-python | 08b0bfcbd3342b101a0d1fa0d3f085776aa22aa5 | [
"MIT"
] | null | null | null | from ..handler_request import get_resource_url
def get_base_url():
return f"{get_resource_url()}/pix"
def create_keys():
return f"{get_base_url()}/keys"
def qrcodes_static():
return f"{get_base_url()}/qrcodes/static"
| 16.785714 | 46 | 0.714894 | 36 | 235 | 4.305556 | 0.444444 | 0.135484 | 0.193548 | 0.180645 | 0.219355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144681 | 235 | 13 | 47 | 18.076923 | 0.771144 | 0 | 0 | 0 | 0 | 0 | 0.323404 | 0.323404 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
669622e9ce382a987485550e5a3b966d25dd73e2 | 190 | py | Python | run.py | pranjali97/pycle | b37f7d60b3e28a3d29395e9c4f674f7df86b578c | [
"MIT"
] | null | null | null | run.py | pranjali97/pycle | b37f7d60b3e28a3d29395e9c4f674f7df86b578c | [
"MIT"
] | null | null | null | run.py | pranjali97/pycle | b37f7d60b3e28a3d29395e9c4f674f7df86b578c | [
"MIT"
] | null | null | null | <<<<<<< HEAD
# flask/bin/python
from app import app
app.run(debug = True)
=======
#!flask/bin/python
from app import app
app.run(debug=True)
>>>>>>> 1d3453808b40e3d59a26673ebdf283aafbd14959
| 19 | 48 | 0.705263 | 24 | 190 | 5.583333 | 0.458333 | 0.119403 | 0.208955 | 0.268657 | 0.671642 | 0.671642 | 0.671642 | 0.671642 | 0.671642 | 0.671642 | 0 | 0.152941 | 0.105263 | 190 | 9 | 49 | 21.111111 | 0.635294 | 0.173684 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.285714 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66a8285e1d4e3fb976fdaf5a632aa1076fb88972 | 867 | py | Python | ark_nlp/model/tc/ernie/__init__.py | confstantine/nlp-task | cb152e885bc6f6f1243a12ad90b1c715eb548736 | [
"Apache-2.0"
] | 1 | 2021-12-27T04:48:40.000Z | 2021-12-27T04:48:40.000Z | ark_nlp/model/tc/ernie/__init__.py | confstantine/nlp-task | cb152e885bc6f6f1243a12ad90b1c715eb548736 | [
"Apache-2.0"
] | null | null | null | ark_nlp/model/tc/ernie/__init__.py | confstantine/nlp-task | cb152e885bc6f6f1243a12ad90b1c715eb548736 | [
"Apache-2.0"
] | 1 | 2021-12-27T04:49:35.000Z | 2021-12-27T04:49:35.000Z | from ark_nlp.dataset import SentenceClassificationDataset as Dataset
from ark_nlp.dataset import SentenceClassificationDataset as ErnieTCDataset
from ark_nlp.processor.tokenizer.transfomer import SentenceTokenizer as Tokenizer
from ark_nlp.processor.tokenizer.transfomer import SentenceTokenizer as ErnieTCTokenizer
fr... | 51 | 95 | 0.889273 | 116 | 867 | 6.439655 | 0.241379 | 0.11245 | 0.160643 | 0.136546 | 0.832664 | 0.760375 | 0.760375 | 0.615797 | 0.348059 | 0.179384 | 0 | 0 | 0.085352 | 867 | 17 | 96 | 51 | 0.941992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
66eb7ffdcc3ea703547de9981392e4133e66dc61 | 33 | py | Python | dprm/__init__.py | claviermathieu/create-python-package | 5232ab40391ddb94ddc3259078f927bc097976b6 | [
"MIT"
] | null | null | null | dprm/__init__.py | claviermathieu/create-python-package | 5232ab40391ddb94ddc3259078f927bc097976b6 | [
"MIT"
] | null | null | null | dprm/__init__.py | claviermathieu/create-python-package | 5232ab40391ddb94ddc3259078f927bc097976b6 | [
"MIT"
] | null | null | null | from .lib1 import bonjour
| 6.6 | 26 | 0.636364 | 4 | 33 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.333333 | 33 | 4 | 27 | 8.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 |
dd012ce02a76c768fc088f2621c2f8ba1a9ce11e | 126 | py | Python | pip_module_scanner/__init__.py | opabravo/PIP-Module-Scanner | bdb5387892772e0492268f905a0e7f398b19cebb | [
"MIT"
] | 15 | 2016-11-05T23:44:54.000Z | 2021-07-03T15:44:31.000Z | pip_module_scanner/__init__.py | opabravo/PIP-Module-Scanner | bdb5387892772e0492268f905a0e7f398b19cebb | [
"MIT"
] | 5 | 2018-07-10T22:56:35.000Z | 2021-11-21T18:12:50.000Z | pip_module_scanner/__init__.py | opabravo/PIP-Module-Scanner | bdb5387892772e0492268f905a0e7f398b19cebb | [
"MIT"
] | 6 | 2017-05-07T17:22:55.000Z | 2021-11-19T03:27:14.000Z | __version__ = '0.7'
from pip_module_scanner.scanner import Scanner
from pip_module_scanner.exceptions import ScannerException
| 31.5 | 58 | 0.865079 | 17 | 126 | 5.941176 | 0.588235 | 0.138614 | 0.257426 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.087302 | 126 | 3 | 59 | 42 | 0.86087 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd4f96869b42d229f298d45b5c59930b19821956 | 7,007 | py | Python | tests/tests_neighbourhood_functions.py | lmbringas/NeuralMap | 0a8787e79f3985bb188b1b041e3ec7e558c4a742 | [
"MIT"
] | 4 | 2020-10-02T11:46:48.000Z | 2021-05-14T18:20:41.000Z | tests/tests_neighbourhood_functions.py | lmbringas/NeuralMap | 0a8787e79f3985bb188b1b041e3ec7e558c4a742 | [
"MIT"
] | 1 | 2021-06-21T18:46:39.000Z | 2021-06-21T18:46:39.000Z | tests/tests_neighbourhood_functions.py | lmbringas/NeuralMap | 0a8787e79f3985bb188b1b041e3ec7e558c4a742 | [
"MIT"
] | 1 | 2021-06-13T19:58:19.000Z | 2021-06-13T19:58:19.000Z | import unittest
import numpy as np
from ..neural_map import bubble, conical, gaussian, gaussian_cut, mexican_hat, no_neighbourhood
TOLERANCE = 1e-8
def euclidean(f_element, s_element):
return ((f_element[0] - s_element[0]) ** 2 + (f_element[1] - s_element[1]) ** 2) ** 0.5
cart_coord = np.array([
[[0.5, 0.]... | 44.069182 | 99 | 0.6425 | 953 | 7,007 | 4.580273 | 0.102833 | 0.075601 | 0.120962 | 0.065979 | 0.7874 | 0.780985 | 0.778236 | 0.769989 | 0.727835 | 0.703093 | 0 | 0.071508 | 0.231626 | 7,007 | 158 | 100 | 44.348101 | 0.739227 | 0 | 0 | 0.672131 | 0 | 0 | 0.106037 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 1 | 0.204918 | false | 0 | 0.02459 | 0.008197 | 0.286885 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd4fce05625cb33eeb3fb4b8a5408264a4234365 | 156 | py | Python | fsee/eye_geometry/precomputed_buchner71_fused.py | strawlab/fsee | 943073f6f35ceb33d7e08e76661156068cc0cee2 | [
"BSD-3-Clause"
] | 2 | 2018-06-22T01:28:01.000Z | 2018-12-28T00:07:38.000Z | fsee/eye_geometry/precomputed_buchner71_fused.py | strawlab/fsee | 943073f6f35ceb33d7e08e76661156068cc0cee2 | [
"BSD-3-Clause"
] | 2 | 2018-01-24T17:39:50.000Z | 2022-03-15T15:51:28.000Z | fsee/eye_geometry/precomputed_buchner71_fused.py | strawlab/fsee | 943073f6f35ceb33d7e08e76661156068cc0cee2 | [
"BSD-3-Clause"
] | 3 | 2015-09-27T16:32:31.000Z | 2022-03-15T14:30:16.000Z | # backwards compatibility module that fuses namespaces
from precomputed_buchner71_emd_edges import *
from drosophila_eye_map.precomputed_buchner71 import *
| 39 | 54 | 0.878205 | 19 | 156 | 6.894737 | 0.789474 | 0.305344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028369 | 0.096154 | 156 | 3 | 55 | 52 | 0.900709 | 0.333333 | 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 |
dd62d3d08b46c819b4d31cc5a3cd7f19ed57ec29 | 48 | py | Python | plugin/lighthouse/ui/__init__.py | domenukk/lighthouse | 675cc8738d47eb569aba7f15653f640510371dc4 | [
"MIT"
] | 14 | 2020-12-22T03:15:38.000Z | 2022-01-30T09:22:06.000Z | plugin/lighthouse/ui/__init__.py | domenukk/lighthouse | 675cc8738d47eb569aba7f15653f640510371dc4 | [
"MIT"
] | 1 | 2021-06-01T12:10:25.000Z | 2021-06-01T12:10:25.000Z | plugin/lighthouse/ui/__init__.py | domenukk/lighthouse | 675cc8738d47eb569aba7f15653f640510371dc4 | [
"MIT"
] | 7 | 2021-01-01T03:03:57.000Z | 2022-03-29T07:28:38.000Z | from .coverage_overview import CoverageOverview
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 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 |
dd6eb40d47c23daedfd60ffbd3940252fed1c293 | 1,575 | py | Python | bin/data.py | maxtuno/CVRP | 0d85045ed6ee795d5c7b3754a48eb4818eb19999 | [
"Unlicense"
] | 3 | 2021-03-21T03:14:14.000Z | 2021-03-24T00:22:57.000Z | bin/data.py | maxtuno/CVRP | 0d85045ed6ee795d5c7b3754a48eb4818eb19999 | [
"Unlicense"
] | null | null | null | bin/data.py | maxtuno/CVRP | 0d85045ed6ee795d5c7b3754a48eb4818eb19999 | [
"Unlicense"
] | null | null | null | data = [[(2, 88, 58, 24), (14, 79, 74, 12), (43, 69, 76, 23), (74, 75, 92, 12), (50, 82, 98, 13), (1, 92, 92, 0), ], [(72, 94, 30, 12), (29, 89, 17, 20), (80, 87, 11, 24), (19, 97, 0, 26), (49, 96, 5, 7), (15, 99, 25, 2), (1, 92, 92, 0), (11, 95, 38, 9), ], [(34, 21, 50, 1), (16, 20, 43, 2), (56, 10, 45, 14), (10, 3, 5... | 787.5 | 1,574 | 0.405714 | 357 | 1,575 | 1.789916 | 0.277311 | 0.046948 | 0.078247 | 0.093897 | 0.046948 | 0 | 0 | 0 | 0 | 0 | 0 | 0.526534 | 0.234286 | 1,575 | 1 | 1,575 | 1,575 | 0.003317 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
dd985e69138f1e882d6571b02244e3f6d2960060 | 1,718 | py | Python | deepobs/abstract_runner/abstract_runner_utils.py | H0merJayS1mpson/deepobscustom | e85816ce42466326dac18841c58b79f87a4a1a7c | [
"MIT"
] | 7 | 2019-09-06T04:51:14.000Z | 2020-05-12T09:05:47.000Z | deepobs/abstract_runner/abstract_runner_utils.py | H0merJayS1mpson/deepobscustom | e85816ce42466326dac18841c58b79f87a4a1a7c | [
"MIT"
] | 16 | 2019-09-06T10:58:31.000Z | 2020-07-08T09:22:06.000Z | deepobs/abstract_runner/abstract_runner_utils.py | H0merJayS1mpson/deepobscustom | e85816ce42466326dac18841c58b79f87a4a1a7c | [
"MIT"
] | 5 | 2019-07-24T14:20:15.000Z | 2020-10-14T13:14:08.000Z | # -*- coding: utf-8 -*-
"""Utility functions for running optimizers."""
import argparse
def float2str(x):
s = "{:.10e}".format(x)
mantissa, exponent = s.split("e")
return mantissa.rstrip("0") + "e" + exponent
def _add_hp_to_argparse(parser, optimizer_name, hp_specification, hp_name):
if hp_specifica... | 44.051282 | 179 | 0.56461 | 204 | 1,718 | 4.568627 | 0.240196 | 0.225322 | 0.077253 | 0.111588 | 0.727468 | 0.727468 | 0.727468 | 0.727468 | 0.727468 | 0.727468 | 0 | 0.018298 | 0.268335 | 1,718 | 38 | 180 | 45.210526 | 0.72315 | 0.037253 | 0 | 0.65625 | 0 | 0.0625 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.03125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
06c57fa410c63648dc9f9d96048e687d19d502f0 | 129 | py | Python | app/crawler/admin.py | MNV/django-api-crawler | 51ebef6d6862d05b16d8607c84c3a9d210902553 | [
"MIT"
] | null | null | null | app/crawler/admin.py | MNV/django-api-crawler | 51ebef6d6862d05b16d8607c84c3a9d210902553 | [
"MIT"
] | null | null | null | app/crawler/admin.py | MNV/django-api-crawler | 51ebef6d6862d05b16d8607c84c3a9d210902553 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Hotel
@admin.register(Hotel)
class HotelAdmin(admin.ModelAdmin):
pass
| 16.125 | 35 | 0.782946 | 17 | 129 | 5.941176 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 129 | 7 | 36 | 18.428571 | 0.90991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6607d9a1a6adf980e279b28a26a9726e4de4eea2 | 8,131 | py | Python | apps/dash-port-analytics/app/tab_stats.py | JeroenvdSande/dash-sample-apps | 106fa24693cfdaf47c06466a0aed78e642344f91 | [
"MIT"
] | 2,332 | 2019-05-10T18:24:20.000Z | 2022-03-30T21:46:29.000Z | apps/dash-port-analytics/app/tab_stats.py | JeroenvdSande/dash-sample-apps | 106fa24693cfdaf47c06466a0aed78e642344f91 | [
"MIT"
] | 384 | 2019-05-09T19:19:56.000Z | 2022-03-12T00:58:24.000Z | apps/dash-port-analytics/app/tab_stats.py | JeroenvdSande/dash-sample-apps | 106fa24693cfdaf47c06466a0aed78e642344f91 | [
"MIT"
] | 3,127 | 2019-05-16T17:20:45.000Z | 2022-03-31T17:59:07.000Z | import numpy as np
import pandas as pd
import plotly.graph_objects as go
from app import helpers
from config import strings, styles
def get_stats_card1_data(
df: pd.DataFrame, port: str, vessel_type: str, year: int, month: int
):
"""
Gets values for the first card in the Stats tab.
:param df: Pandas ... | 33.460905 | 103 | 0.587382 | 1,108 | 8,131 | 4.135379 | 0.118231 | 0.065474 | 0.058926 | 0.022261 | 0.814928 | 0.782628 | 0.764077 | 0.749018 | 0.713662 | 0.668049 | 0 | 0.007601 | 0.288033 | 8,131 | 242 | 104 | 33.599174 | 0.783901 | 0.243512 | 0 | 0.54717 | 0 | 0 | 0.064871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.031447 | 0 | 0.125786 | 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 |
661c4584d4b6b3cce648de57825da0c79190ff61 | 48 | py | Python | laika/__init__.py | mfkiwl/laika-gnss | dc38f251dbc7ebb535a3c220de8424634d297248 | [
"MIT"
] | 365 | 2018-12-17T07:43:34.000Z | 2022-03-29T22:23:39.000Z | laika/__init__.py | mfkiwl/laika-gnss | dc38f251dbc7ebb535a3c220de8424634d297248 | [
"MIT"
] | 66 | 2020-04-09T20:27:57.000Z | 2022-01-27T14:39:24.000Z | laika/__init__.py | mfkiwl/laika-gnss | dc38f251dbc7ebb535a3c220de8424634d297248 | [
"MIT"
] | 156 | 2018-12-17T05:06:23.000Z | 2022-03-31T12:06:07.000Z | from .astro_dog import AstroDog
assert AstroDog
| 16 | 31 | 0.854167 | 7 | 48 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 2 | 32 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
66357a27ab99c686468f584a6a7cd73e2dbdcd26 | 22 | py | Python | datatype_redis/types/boolean/__init__.py | Heiss/py-datatype-redis | db75b94c22a3c5fecb202e9138892c674a62d47f | [
"MIT"
] | null | null | null | datatype_redis/types/boolean/__init__.py | Heiss/py-datatype-redis | db75b94c22a3c5fecb202e9138892c674a62d47f | [
"MIT"
] | 2 | 2020-07-22T08:01:42.000Z | 2020-08-17T11:11:07.000Z | datatype_redis/types/boolean/__init__.py | Heiss/py-datatype-redis | db75b94c22a3c5fecb202e9138892c674a62d47f | [
"MIT"
] | null | null | null | from .boolean import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
664f270ce074b2226ebca2e2fa93a0a7d2aaf66c | 210 | py | Python | sahp/sahp_training/models/embedding/event_type.py | yangalan123/anhp-andtt | b907f3808ed2ce1616edb1bc2229993a6742cee9 | [
"MIT"
] | 16 | 2022-01-05T15:34:49.000Z | 2022-02-28T02:17:03.000Z | sahp/sahp_training/models/embedding/event_type.py | yangalan123/anhp-andtt | b907f3808ed2ce1616edb1bc2229993a6742cee9 | [
"MIT"
] | 1 | 2022-01-15T07:58:36.000Z | 2022-01-16T03:30:42.000Z | sahp/sahp_training/models/embedding/event_type.py | yangalan123/anhp-andtt | b907f3808ed2ce1616edb1bc2229993a6742cee9 | [
"MIT"
] | 1 | 2022-01-04T02:23:48.000Z | 2022-01-04T02:23:48.000Z | import torch.nn as nn
class TypeEmbedding(nn.Embedding):
def __init__(self, type_size, embed_size, padding_idx):
super().__init__(type_size, embed_size, padding_idx=padding_idx)# padding_idx not 0 | 35 | 91 | 0.761905 | 32 | 210 | 4.5 | 0.5625 | 0.277778 | 0.180556 | 0.236111 | 0.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0.005556 | 0.142857 | 210 | 6 | 91 | 35 | 0.794444 | 0.080952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b0917ef4984faba9d878cf4911073984681d5b47 | 45 | py | Python | RPi/ssh.py | djh329/Jarvis_Mark_7 | 46c60548d74885598d78d4149340a8c1993051aa | [
"MIT"
] | null | null | null | RPi/ssh.py | djh329/Jarvis_Mark_7 | 46c60548d74885598d78d4149340a8c1993051aa | [
"MIT"
] | 13 | 2020-03-24T22:30:28.000Z | 2022-01-22T11:10:34.000Z | RPi/ssh.py | djh329/Jarvis_Mark_7 | 46c60548d74885598d78d4149340a8c1993051aa | [
"MIT"
] | null | null | null | import subprocess
# subprocess.check_call()
| 11.25 | 25 | 0.8 | 5 | 45 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 3 | 26 | 15 | 0.875 | 0.511111 | 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 |
b0b7c4f63d7b3ca3a309002e07f5b00df0532616 | 39 | py | Python | lib-other/deterministiclib/__init__.py | endolith/Truthcoin | 448b35fb94f27e61f5989ead7ef87e03da2e9237 | [
"MIT"
] | 161 | 2015-01-11T20:52:37.000Z | 2022-02-14T04:44:13.000Z | lib-other/deterministiclib/__init__.py | endolith/Truthcoin | 448b35fb94f27e61f5989ead7ef87e03da2e9237 | [
"MIT"
] | 3 | 2016-04-21T10:17:06.000Z | 2022-01-09T14:38:06.000Z | lib-other/deterministiclib/__init__.py | endolith/Truthcoin | 448b35fb94f27e61f5989ead7ef87e03da2e9237 | [
"MIT"
] | 40 | 2015-01-19T16:44:14.000Z | 2022-01-09T14:09:49.000Z | from ConsensusMechanism import Factory
| 19.5 | 38 | 0.897436 | 4 | 39 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0d31cd076b87bad0d8b19c4f6dbd53353edc4c9 | 27 | py | Python | tests/test_visualize.py | vvolkl/yadage | bd34a5a1d7d06f7dd3917af2af8badd5af3f195d | [
"MIT"
] | null | null | null | tests/test_visualize.py | vvolkl/yadage | bd34a5a1d7d06f7dd3917af2af8badd5af3f195d | [
"MIT"
] | null | null | null | tests/test_visualize.py | vvolkl/yadage | bd34a5a1d7d06f7dd3917af2af8badd5af3f195d | [
"MIT"
] | null | null | null | def test_visualize():
pass | 13.5 | 21 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 2 | 22 | 13.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b0d566897ddb6d50bb2376c18d6b23f8626965e8 | 13,744 | py | Python | mm/optimize/image.py | leon-nn/face-fitting | 239c0826f77aaba1c1c77f221f18d733967dfd63 | [
"MIT"
] | 18 | 2018-03-22T21:24:45.000Z | 2021-11-28T15:52:33.000Z | mm/optimize/image.py | leon-nn/face-fitting | 239c0826f77aaba1c1c77f221f18d733967dfd63 | [
"MIT"
] | null | null | null | mm/optimize/image.py | leon-nn/face-fitting | 239c0826f77aaba1c1c77f221f18d733967dfd63 | [
"MIT"
] | 3 | 2020-04-08T07:28:10.000Z | 2020-11-13T01:29:45.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import numpy as np
from scipy.linalg import block_diag
from ..utils.mesh import generateFace, generateTexture, barycentricReconstruction
from ..utils.transform import rotMat2angle
from .derivative import dR_dpsi, dR_dtheta, dR_dphi
def initialShapeCost(param, target, mode... | 42.816199 | 285 | 0.659342 | 1,620 | 13,744 | 5.544444 | 0.124074 | 0.008016 | 0.028056 | 0.029392 | 0.766867 | 0.747384 | 0.737586 | 0.724338 | 0.719662 | 0.710532 | 0 | 0.017847 | 0.20096 | 13,744 | 321 | 286 | 42.816199 | 0.800036 | 0.058207 | 0 | 0.694836 | 1 | 0 | 0.005745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051643 | false | 0 | 0.023474 | 0 | 0.140845 | 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 |
9fd7103aae1390f95e86c8cb40adba7ed00e3d7b | 110 | py | Python | kge/providers/data_normalizer.py | cbmnbe/kge | 9b6e02088d91b9c7442a39742e838694d1aa23b4 | [
"MIT"
] | null | null | null | kge/providers/data_normalizer.py | cbmnbe/kge | 9b6e02088d91b9c7442a39742e838694d1aa23b4 | [
"MIT"
] | null | null | null | kge/providers/data_normalizer.py | cbmnbe/kge | 9b6e02088d91b9c7442a39742e838694d1aa23b4 | [
"MIT"
] | null | null | null | class DataNormalizer:
def __init__(self):
pass
def normalize(self, data):
return data | 18.333333 | 30 | 0.618182 | 12 | 110 | 5.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309091 | 110 | 6 | 31 | 18.333333 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
b009108ecaa718a612d2d59c1152ea1c15484245 | 20,859 | py | Python | seffaflik/elektrik/tuketim.py | tgbaozkn/seffaflik | b16bae9bf882ee81511c7f69428e58d22ec25600 | [
"MIT"
] | 10 | 2020-06-20T10:56:04.000Z | 2022-02-03T18:23:59.000Z | seffaflik/elektrik/tuketim.py | tgbaozkn/seffaflik | b16bae9bf882ee81511c7f69428e58d22ec25600 | [
"MIT"
] | 1 | 2022-02-01T11:31:33.000Z | 2022-02-03T20:30:01.000Z | seffaflik/elektrik/tuketim.py | tgbaozkn/seffaflik | b16bae9bf882ee81511c7f69428e58d22ec25600 | [
"MIT"
] | 6 | 2020-12-09T14:55:46.000Z | 2022-03-31T11:50:36.000Z | import pandas as __pd
import datetime as __dt
from dateutil import relativedelta as __rd
from multiprocessing import Pool as __Pool
import multiprocessing as __mp
from functools import reduce as __red
from seffaflik.__ortak.__araclar import make_requests as __make_requests
from seffaflik.__ortak import __dogrulama as ... | 40.26834 | 120 | 0.628362 | 2,359 | 20,859 | 5.320899 | 0.120814 | 0.005258 | 0.019917 | 0.021909 | 0.811902 | 0.795411 | 0.766252 | 0.75239 | 0.730641 | 0.715025 | 0 | 0.003121 | 0.23189 | 20,859 | 517 | 121 | 40.346228 | 0.778867 | 0.321732 | 0 | 0.593626 | 0 | 0 | 0.133388 | 0.021195 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071713 | false | 0 | 0.031873 | 0 | 0.227092 | 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 |
b05c1903847d2ab411168de73db40e6a1dbf40e8 | 128 | py | Python | src/vacuum/utilities.py | nesyamun/vacuum | e58c24e4ff9f88d674e75b17a96c705d88189422 | [
"MIT"
] | 2 | 2021-03-15T15:44:23.000Z | 2021-04-08T20:58:24.000Z | src/vacuum/utilities.py | nesyamun/vacuum | e58c24e4ff9f88d674e75b17a96c705d88189422 | [
"MIT"
] | null | null | null | src/vacuum/utilities.py | nesyamun/vacuum | e58c24e4ff9f88d674e75b17a96c705d88189422 | [
"MIT"
] | 3 | 2021-03-15T15:44:37.000Z | 2022-03-05T03:44:23.000Z | from datetime import datetime
def epoch_ms_to_datetime(time: int) -> datetime:
return datetime.fromtimestamp(time / 1000)
| 21.333333 | 48 | 0.773438 | 17 | 128 | 5.647059 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.148438 | 128 | 5 | 49 | 25.6 | 0.844037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c6c726ececa7ba8d42f0ee2f78ba6e3cd08b1c30 | 3,873 | py | Python | tests/data_structures/l_list/test_update_neighbors.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | 3 | 2021-11-12T17:43:08.000Z | 2022-01-03T02:47:34.000Z | tests/data_structures/l_list/test_update_neighbors.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | 3 | 2021-11-19T20:12:31.000Z | 2021-11-19T20:14:39.000Z | tests/data_structures/l_list/test_update_neighbors.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | null | null | null | """Test update neighborgs."""
# Data structures
from voronoi_diagrams.data_structures import LStructure
from voronoi_diagrams.data_structures.l import LNode
# Models
from voronoi_diagrams.models import Region, Site
def create_l_list(region: Region) -> LStructure:
"""Create an L List."""
l_list = LStructure(r... | 35.861111 | 66 | 0.666408 | 646 | 3,873 | 3.653251 | 0.082043 | 0.082627 | 0.073729 | 0.077119 | 0.842373 | 0.810593 | 0.770763 | 0.738136 | 0.686864 | 0.657627 | 0 | 0.004159 | 0.255099 | 3,873 | 107 | 67 | 36.196262 | 0.813865 | 0.08314 | 0 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.419753 | 1 | 0.074074 | false | 0 | 0.037037 | 0 | 0.135802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
059b26787b7eab26c13fbfb8278569b5c26588da | 2,199 | py | Python | tests/test_validation_summary_logging.py | adisbladis/geostore | 79439c06b33414e1e26b3aa4b93a72fd7cbbae83 | [
"MIT"
] | 25 | 2021-05-19T08:05:07.000Z | 2022-03-14T02:48:58.000Z | tests/test_validation_summary_logging.py | adisbladis/geostore | 79439c06b33414e1e26b3aa4b93a72fd7cbbae83 | [
"MIT"
] | 311 | 2021-05-17T23:04:56.000Z | 2022-03-31T10:41:44.000Z | tests/test_validation_summary_logging.py | adisbladis/geostore | 79439c06b33414e1e26b3aa4b93a72fd7cbbae83 | [
"MIT"
] | 1 | 2022-01-03T05:38:32.000Z | 2022-01-03T05:38:32.000Z | from unittest.mock import MagicMock, patch
from geostore.logging_keys import LOG_MESSAGE_LAMBDA_START, LOG_MESSAGE_VALIDATION_COMPLETE
from geostore.step_function import Outcome
from geostore.step_function_keys import DATASET_ID_KEY, VERSION_ID_KEY
from geostore.validation_summary import task
from .aws_utils import a... | 39.267857 | 94 | 0.768986 | 288 | 2,199 | 5.427083 | 0.204861 | 0.046065 | 0.111964 | 0.057582 | 0.742802 | 0.742802 | 0.740243 | 0.740243 | 0.740243 | 0.740243 | 0 | 0.00107 | 0.150068 | 2,199 | 55 | 95 | 39.981818 | 0.835206 | 0.021373 | 0 | 0.4375 | 0 | 0 | 0.169001 | 0.156863 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.09375 | false | 0.0625 | 0.21875 | 0 | 0.3125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
05a960d65b2244d1e5b3d300af67254da24af7db | 5,756 | py | Python | tests/test_matchers.py | jakesen/opsdroid | 8bd640685ee1b8c8965dfdeb8f1ab06a45a2b85b | [
"Apache-2.0"
] | null | null | null | tests/test_matchers.py | jakesen/opsdroid | 8bd640685ee1b8c8965dfdeb8f1ab06a45a2b85b | [
"Apache-2.0"
] | 1 | 2018-03-02T19:41:41.000Z | 2018-03-02T19:46:04.000Z | tests/test_matchers.py | jakesen/opsdroid | 8bd640685ee1b8c8965dfdeb8f1ab06a45a2b85b | [
"Apache-2.0"
] | null | null | null |
import asynctest
import asynctest.mock as mock
import aiohttp.web
from opsdroid.core import OpsDroid
from opsdroid.web import Web
from opsdroid import matchers
class TestMatchers(asynctest.TestCase):
"""Test the opsdroid matcher decorators."""
async def test_match_regex(self):
with OpsDroid() as o... | 44.276923 | 78 | 0.630473 | 571 | 5,756 | 6.241681 | 0.1331 | 0.117845 | 0.06734 | 0.098204 | 0.81257 | 0.789282 | 0.760943 | 0.730359 | 0.715488 | 0.672278 | 0 | 0.007787 | 0.263725 | 5,756 | 129 | 79 | 44.620155 | 0.833176 | 0.006428 | 0 | 0.631579 | 0 | 0 | 0.056022 | 0.005777 | 0 | 0 | 0 | 0 | 0.289474 | 1 | 0 | false | 0 | 0.070175 | 0 | 0.078947 | 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 |
05b387fd1614d013b297b562aef4f062a2b1d563 | 2,126 | py | Python | conftest.py | BodenmillerGroup/imctools | 5019836df5dc2b682722e39d5f9c62799b658929 | [
"MIT"
] | 19 | 2018-06-12T15:45:46.000Z | 2022-02-12T08:33:59.000Z | conftest.py | BodenmillerGroup/imctools | 5019836df5dc2b682722e39d5f9c62799b658929 | [
"MIT"
] | 82 | 2017-09-19T18:38:50.000Z | 2022-03-31T16:25:19.000Z | conftest.py | BodenmillerGroup/imctools | 5019836df5dc2b682722e39d5f9c62799b658929 | [
"MIT"
] | 12 | 2017-11-23T03:01:41.000Z | 2022-03-22T14:06:27.000Z | import pytest
import requests
import shutil
from pathlib import Path
def _download_and_extract_asset(tmp_dir_path: Path, asset_url: str):
asset_file_path = tmp_dir_path / 'asset.tar.gz'
response = requests.get(asset_url, stream=True)
if response.status_code == 200:
with asset_file_path.open(mode='... | 46.217391 | 166 | 0.777046 | 302 | 2,126 | 5.089404 | 0.205298 | 0.07417 | 0.123617 | 0.093689 | 0.825634 | 0.797007 | 0.773585 | 0.752115 | 0.752115 | 0.722837 | 0 | 0.033175 | 0.106773 | 2,126 | 45 | 167 | 47.244444 | 0.776198 | 0 | 0 | 0.285714 | 0 | 0.114286 | 0.332079 | 0.019755 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.114286 | 0 | 0.257143 | 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 |
af41a81f3a01465a1c342616b40bbfcca3d7fa9b | 106 | py | Python | SigProfilerSimulator/version.py | AlexandrovLab/SigProfilerSimulator | f5a5b19e57c5a2c2605b8bc57bb1b75c2b09229d | [
"BSD-2-Clause"
] | 13 | 2020-01-03T22:10:13.000Z | 2022-03-09T01:01:23.000Z | SigProfilerSimulator/version.py | AlexandrovLab/SigProfilerSimulator | f5a5b19e57c5a2c2605b8bc57bb1b75c2b09229d | [
"BSD-2-Clause"
] | 2 | 2020-02-20T16:17:10.000Z | 2022-03-31T08:39:34.000Z | build/lib/SigProfilerSimulator/version.py | AlexandrovLab/SigProfilerSimulator | f5a5b19e57c5a2c2605b8bc57bb1b75c2b09229d | [
"BSD-2-Clause"
] | 4 | 2020-06-04T07:13:11.000Z | 2022-02-01T19:35:29.000Z |
# THIS FILE IS GENERATED FROM SIGPROFILERSIMULATOR SETUP.PY
short_version = '1.1.3'
version = '1.1.3'
| 17.666667 | 59 | 0.716981 | 17 | 106 | 4.411765 | 0.705882 | 0.213333 | 0.24 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.169811 | 106 | 6 | 60 | 17.666667 | 0.784091 | 0.537736 | 0 | 0 | 1 | 0 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
af4f7b7fcabab5b4fe45808e6a765bf1d82fc0bb | 161 | py | Python | taskmanager/gunicorn_app.py | alice-biometrics/petisco-task-manager | 2bad52013ab122f8c3e5dce740dcd154883e6940 | [
"MIT"
] | 1 | 2020-04-14T18:12:11.000Z | 2020-04-14T18:12:11.000Z | taskmanager/gunicorn_app.py | alice-biometrics/petisco-task-manager | 2bad52013ab122f8c3e5dce740dcd154883e6940 | [
"MIT"
] | 3 | 2020-04-20T10:35:26.000Z | 2020-06-15T07:45:59.000Z | taskmanager/gunicorn_app.py | alice-biometrics/petisco-task-manager | 2bad52013ab122f8c3e5dce740dcd154883e6940 | [
"MIT"
] | 1 | 2021-03-12T13:48:01.000Z | 2021-03-12T13:48:01.000Z | from taskmanager import petisco_setup, persistence_setup
from petisco import Petisco
petisco_setup()
persistence_setup()
app = Petisco.get_instance().get_app()
| 23 | 56 | 0.832298 | 21 | 161 | 6.095238 | 0.428571 | 0.203125 | 0.359375 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093168 | 161 | 6 | 57 | 26.833333 | 0.876712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
bb8b3db99cd789cbaa5b85172936ee14e69c40a8 | 174 | py | Python | auth/view/resource/sign_up_request.py | nicolaszein/auth | 90112f1a4d6f368714b19daad7e8a4226594b383 | [
"MIT"
] | null | null | null | auth/view/resource/sign_up_request.py | nicolaszein/auth | 90112f1a4d6f368714b19daad7e8a4226594b383 | [
"MIT"
] | null | null | null | auth/view/resource/sign_up_request.py | nicolaszein/auth | 90112f1a4d6f368714b19daad7e8a4226594b383 | [
"MIT"
] | null | null | null | from pydantic import BaseModel, EmailStr, constr
class SignUpRequest(BaseModel):
full_name: constr(min_length=3)
email: EmailStr
password: constr(min_length=4)
| 21.75 | 48 | 0.758621 | 22 | 174 | 5.863636 | 0.727273 | 0.139535 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.16092 | 174 | 7 | 49 | 24.857143 | 0.869863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
bbdbf699ad0fefac14e42e0ede70fe6ef8b4a481 | 42 | py | Python | tests/fixtures/config_tmuxinator/__init__.py | rfoliva/tmuxp | 5c1d9bc7f4fce8b68a50838c9c6d08c08a4dad92 | [
"MIT"
] | 1,615 | 2015-01-05T19:31:48.000Z | 2018-03-09T08:09:20.000Z | tests/fixtures/config_tmuxinator/__init__.py | rfoliva/tmuxp | 5c1d9bc7f4fce8b68a50838c9c6d08c08a4dad92 | [
"MIT"
] | 369 | 2018-03-10T07:03:12.000Z | 2022-03-31T14:56:36.000Z | tests/fixtures/config_tmuxinator/__init__.py | rfoliva/tmuxp | 5c1d9bc7f4fce8b68a50838c9c6d08c08a4dad92 | [
"MIT"
] | 118 | 2015-01-16T13:47:39.000Z | 2018-02-07T21:35:31.000Z | from . import test1, test2, test3 # noqa
| 21 | 41 | 0.690476 | 6 | 42 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.214286 | 42 | 1 | 42 | 42 | 0.787879 | 0.095238 | 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 |
bbddbcea3e517eb819bfa5a526ce26689e1c263a | 156 | py | Python | Python3/1097.py | Di-Ca-N/URI-Online-Judge | 160797b534fe8c70e719b1ea41690157dbdbb52e | [
"MIT"
] | null | null | null | Python3/1097.py | Di-Ca-N/URI-Online-Judge | 160797b534fe8c70e719b1ea41690157dbdbb52e | [
"MIT"
] | null | null | null | Python3/1097.py | Di-Ca-N/URI-Online-Judge | 160797b534fe8c70e719b1ea41690157dbdbb52e | [
"MIT"
] | null | null | null | j = 7
for a in range(1, 10, 2):
print("I={} J={}".format(a, j))
print("I={} J={}".format(a, j-1))
print("I={} J={}".format(a, j-2))
j += 2
| 19.5 | 37 | 0.423077 | 31 | 156 | 2.129032 | 0.387097 | 0.272727 | 0.318182 | 0.590909 | 0.681818 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.24359 | 156 | 7 | 38 | 22.285714 | 0.491525 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bbe3af1a7f939f7d5c68330232feee65ce8e1ace | 48 | py | Python | Generador Figuras Documento/NLFEM/Mesh/__init__.py | ZibraMax/Tesis-NLFEM | 678086e0433257dd275c9ec15657778cbfaca6de | [
"MIT"
] | null | null | null | Generador Figuras Documento/NLFEM/Mesh/__init__.py | ZibraMax/Tesis-NLFEM | 678086e0433257dd275c9ec15657778cbfaca6de | [
"MIT"
] | null | null | null | Generador Figuras Documento/NLFEM/Mesh/__init__.py | ZibraMax/Tesis-NLFEM | 678086e0433257dd275c9ec15657778cbfaca6de | [
"MIT"
] | null | null | null | from .delaunay import *
from .Geometria import * | 24 | 24 | 0.770833 | 6 | 48 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 24 | 24 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5373e31517340d948403bfed219692a3ac8c7bc | 46 | py | Python | openpharmacophore/algorithms/cliques.py | dprada/OpenPharmacophore | bfcf4bdafd586b27a48fd5d1f13614707b5e55a8 | [
"MIT"
] | 2 | 2021-07-10T05:56:04.000Z | 2021-08-04T14:56:47.000Z | openpharmacophore/algorithms/cliques.py | dprada/OpenPharmacophore | bfcf4bdafd586b27a48fd5d1f13614707b5e55a8 | [
"MIT"
] | 21 | 2021-04-27T06:05:05.000Z | 2021-11-01T23:19:36.000Z | openpharmacophore/algorithms/cliques.py | dprada/OpenPharmacophore | bfcf4bdafd586b27a48fd5d1f13614707b5e55a8 | [
"MIT"
] | 3 | 2021-06-21T19:09:47.000Z | 2021-07-16T01:16:27.000Z | def clique_detection_pharmacophore():
pass | 23 | 37 | 0.804348 | 5 | 46 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 2 | 38 | 23 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a54518cb69cdff8a7f88858716964fa428ee8e05 | 17 | py | Python | n2w/__init__.py | gnuchu/n2w | 911dc3380515b9cac352dc582d0996d2dd08993e | [
"MIT"
] | null | null | null | n2w/__init__.py | gnuchu/n2w | 911dc3380515b9cac352dc582d0996d2dd08993e | [
"MIT"
] | null | null | null | n2w/__init__.py | gnuchu/n2w | 911dc3380515b9cac352dc582d0996d2dd08993e | [
"MIT"
] | null | null | null | from . import n2w | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.176471 | 17 | 1 | 17 | 17 | 0.857143 | 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 |
a55006857ed86810710c027dcbc6bb6ed56671b6 | 103 | py | Python | type_cast/type_cast_5.py | avkorablev/code_4_blog | fcda82f018d1de7c7b2a6d87f5f83f10a4477878 | [
"CC0-1.0"
] | null | null | null | type_cast/type_cast_5.py | avkorablev/code_4_blog | fcda82f018d1de7c7b2a6d87f5f83f10a4477878 | [
"CC0-1.0"
] | null | null | null | type_cast/type_cast_5.py | avkorablev/code_4_blog | fcda82f018d1de7c7b2a6d87f5f83f10a4477878 | [
"CC0-1.0"
] | null | null | null | # file name: type_cast_3.py
from type_cast_4 import DoSomethingWithB
print(DoSomethingWithB().do().b)
| 20.6 | 40 | 0.796117 | 16 | 103 | 4.875 | 0.8125 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.097087 | 103 | 4 | 41 | 25.75 | 0.817204 | 0.242718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a55bdda77ae7fe90be60b6f4ec583e1139465c33 | 28 | py | Python | dfx/__init__.py | mclaffey/dfx | 29f223e4d2be924f25f8903bcbac10b91915d6fb | [
"MIT"
] | null | null | null | dfx/__init__.py | mclaffey/dfx | 29f223e4d2be924f25f8903bcbac10b91915d6fb | [
"MIT"
] | null | null | null | dfx/__init__.py | mclaffey/dfx | 29f223e4d2be924f25f8903bcbac10b91915d6fb | [
"MIT"
] | null | null | null |
from .__main__ import main
| 9.333333 | 26 | 0.785714 | 4 | 28 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.782609 | 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 |
a56c7666934efb9029f7f63950f838236f0bf2ce | 25,351 | py | Python | tests/fields/test_fields.py | approxit/pydantic2graphene | 057d9dd09af1b70f806c365b7cf6da427116f75e | [
"MIT"
] | 10 | 2020-07-06T11:46:53.000Z | 2022-01-31T14:54:43.000Z | tests/fields/test_fields.py | approxit/pydantic2graphene | 057d9dd09af1b70f806c365b7cf6da427116f75e | [
"MIT"
] | 27 | 2020-07-04T16:54:31.000Z | 2022-01-30T21:57:53.000Z | tests/fields/test_fields.py | approxit/pydantic2graphene | 057d9dd09af1b70f806c365b7cf6da427116f75e | [
"MIT"
] | 2 | 2020-11-03T15:05:39.000Z | 2021-03-02T12:52:19.000Z | import typing
import ipaddress
import enum
import decimal
import uuid
import datetime
import pathlib
import pytest
import pydantic
import pydantic2graphene
import graphene
def to_pydantic_class(field_type):
class Fake(pydantic.BaseModel):
field: field_type
return Fake
class TestTypeMappingPydantic... | 32.294268 | 79 | 0.586525 | 2,382 | 25,351 | 5.915617 | 0.065491 | 0.13796 | 0.119438 | 0.152296 | 0.857214 | 0.83862 | 0.834362 | 0.83053 | 0.815343 | 0.802356 | 0 | 0.013605 | 0.327324 | 25,351 | 784 | 80 | 32.335459 | 0.812702 | 0.009033 | 0 | 0.541126 | 0 | 0 | 0.191504 | 0.001831 | 0 | 0 | 0 | 0 | 0.077922 | 1 | 0.102453 | false | 0.001443 | 0.015873 | 0 | 0.137085 | 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 |
3c8cbc5b294011f7f32c9d037a57aea6072ba9a8 | 284 | py | Python | Codewars/8kyu/age-range-compatibility-equation/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/age-range-compatibility-equation/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/age-range-compatibility-equation/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.4.3
test.describe('Example Test Cases')
test.assert_equals(dating_range(17), '15-20')
test.assert_equals(dating_range(40), '27-66')
test.assert_equals(dating_range(15), '14-16')
test.assert_equals(dating_range(35), '24-56')
test.assert_equals(dating_range(10), '9-11')
| 28.4 | 45 | 0.742958 | 49 | 284 | 4.102041 | 0.510204 | 0.248756 | 0.39801 | 0.547264 | 0.671642 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120755 | 0.066901 | 284 | 9 | 46 | 31.555556 | 0.637736 | 0.049296 | 0 | 0 | 0 | 0 | 0.156716 | 0 | 0 | 0 | 0 | 0 | 0.833333 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1b1b7ca38995184e988222536ed6376fbcf2bd2 | 2,392 | py | Python | idl2py/jd/date.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/jd/date.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/jd/date.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | """
By Dr Jie Zheng -Q, NAOC
v1 2019-04-27
"""
import numpy as np
from..util import *
def date():
pass
#FUNCTION DATE,YEAR,DAY
#;+
#; NAME:
#; DATE
#; PURPOSE:
#; Convert day-of-year to a DD-MMM-YYYY string
#;
#; CALLING SEQUENCE:
#; D_String = DATE(Year, day )
#;
#; INPUTS:
#; Year - ... | 26.577778 | 80 | 0.619147 | 385 | 2,392 | 3.72987 | 0.407792 | 0.034819 | 0.050139 | 0.030641 | 0.098886 | 0.072423 | 0.072423 | 0.072423 | 0.072423 | 0.072423 | 0 | 0.080899 | 0.255853 | 2,392 | 89 | 81 | 26.876404 | 0.725843 | 0.843645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5928db8275d33560bc910991fec643bd9599e564 | 65 | py | Python | neutmon/__init__.py | NeutMon/neutmon | 36f1ab86a47a47a550cfaccf6e51b6373ca948ec | [
"MIT"
] | 1 | 2018-10-03T11:02:14.000Z | 2018-10-03T11:02:14.000Z | neutmon/__init__.py | NeutMon/neutmon | 36f1ab86a47a47a550cfaccf6e51b6373ca948ec | [
"MIT"
] | null | null | null | neutmon/__init__.py | NeutMon/neutmon | 36f1ab86a47a47a550cfaccf6e51b6373ca948ec | [
"MIT"
] | null | null | null | from handlers import *
from test import *
from analysis import *
| 16.25 | 22 | 0.769231 | 9 | 65 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 23 | 21.666667 | 0.943396 | 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 |
3cf7c50d127943a409971596e0321f2e2649fe17 | 62 | py | Python | FUNCTION.py | nitin-singh-432/first-repo | ec39f6cf10033cf2ea6e77be88645a98accaefbf | [
"MIT"
] | null | null | null | FUNCTION.py | nitin-singh-432/first-repo | ec39f6cf10033cf2ea6e77be88645a98accaefbf | [
"MIT"
] | null | null | null | FUNCTION.py | nitin-singh-432/first-repo | ec39f6cf10033cf2ea6e77be88645a98accaefbf | [
"MIT"
] | null | null | null | def func():
print("Hello. Learning Git for the first time.")
| 20.666667 | 49 | 0.693548 | 10 | 62 | 4.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 62 | 2 | 50 | 31 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0.629032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a732175da054154d064f26a8996cd4273bd6ceaa | 67 | py | Python | Level5/flaskr/app.py | oswaldo-patino/python-bootcamp | a8527ca4b71bafc58a813c92288d0fc2fd083230 | [
"MIT"
] | null | null | null | Level5/flaskr/app.py | oswaldo-patino/python-bootcamp | a8527ca4b71bafc58a813c92288d0fc2fd083230 | [
"MIT"
] | null | null | null | Level5/flaskr/app.py | oswaldo-patino/python-bootcamp | a8527ca4b71bafc58a813c92288d0fc2fd083230 | [
"MIT"
] | null | null | null | from flask import Flask
from . import app
from . import views, api | 16.75 | 24 | 0.761194 | 11 | 67 | 4.636364 | 0.545455 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 4 | 24 | 16.75 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
59964a992f651bc579d804e3c25f206b3b251078 | 298 | py | Python | chopperhack19/mock_obs/__init__.py | ArgonneCPAC/bnlhack19 | d399b2e200ec7dbd733c754b06c4bd368eb00e67 | [
"BSD-3-Clause"
] | null | null | null | chopperhack19/mock_obs/__init__.py | ArgonneCPAC/bnlhack19 | d399b2e200ec7dbd733c754b06c4bd368eb00e67 | [
"BSD-3-Clause"
] | 4 | 2019-09-23T18:56:16.000Z | 2019-10-06T03:33:09.000Z | chopperhack19/mock_obs/__init__.py | ArgonneCPAC/bnlhack19 | d399b2e200ec7dbd733c754b06c4bd368eb00e67 | [
"BSD-3-Clause"
] | 1 | 2019-09-25T19:13:30.000Z | 2019-09-25T19:13:30.000Z | # flake8: noqa
from .gaussian_weighted_histogram import *
from .gaussian_weighted_pair_counts import *
from .gaussian_weighted_pair_counts_cuda_opt import *
from .chaining_mesh import *
from .double_chop_kernel import *
from .tests import *
from .one_kernel_to_rule_them_all import combined_kernel
| 33.111111 | 56 | 0.845638 | 43 | 298 | 5.418605 | 0.534884 | 0.257511 | 0.257511 | 0.223176 | 0.309013 | 0.309013 | 0 | 0 | 0 | 0 | 0 | 0.003745 | 0.104027 | 298 | 8 | 57 | 37.25 | 0.868914 | 0.040268 | 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 |
59b13431cf18bbec4153e8c800ace6b2bf881af9 | 45 | py | Python | scripts/qgis_fixes/fix_throw.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | scripts/qgis_fixes/fix_throw.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | scripts/qgis_fixes/fix_throw.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | from lib2to3.fixes.fix_throw import FixThrow
| 22.5 | 44 | 0.866667 | 7 | 45 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.088889 | 45 | 1 | 45 | 45 | 0.878049 | 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 |
ab8b5532b22b58e6e0ebaac41bfeb631d67c9f09 | 189 | py | Python | examples/workqueue-localstack/api.py | thrau/pymq | 7b924d475af8efb1e67e48a323d3f715a589a116 | [
"MIT"
] | 9 | 2019-08-20T20:31:56.000Z | 2022-03-13T23:17:05.000Z | examples/workqueue-localstack/api.py | thrau/pymq | 7b924d475af8efb1e67e48a323d3f715a589a116 | [
"MIT"
] | 9 | 2019-08-20T21:13:23.000Z | 2020-10-20T11:48:21.000Z | examples/workqueue-localstack/api.py | thrau/pymq | 7b924d475af8efb1e67e48a323d3f715a589a116 | [
"MIT"
] | null | null | null | import dataclasses
@dataclasses.dataclass
class WorkItem:
a: int
b: int
@dataclasses.dataclass
class WorkResult:
worker: str
result: int
class ShutdownEvent:
pass
| 10.5 | 22 | 0.703704 | 21 | 189 | 6.333333 | 0.666667 | 0.300752 | 0.37594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 189 | 17 | 23 | 11.117647 | 0.923611 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.090909 | 0.090909 | 0 | 0.727273 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ab9a80b3f6a532cde124c09b848a9bfb21115034 | 8,687 | py | Python | ceasiompy/BalanceUnconventional/func/Cog/unccog.py | jphkun/CEASIOMpy | 6425cfeb786019fccfc98aaa2fd676b2de466dac | [
"Apache-2.0"
] | 33 | 2018-11-20T16:34:40.000Z | 2022-03-29T07:26:18.000Z | ceasiompy/BalanceUnconventional/func/Cog/unccog.py | jphkun/CEASIOMpy | 6425cfeb786019fccfc98aaa2fd676b2de466dac | [
"Apache-2.0"
] | 54 | 2019-09-17T15:57:47.000Z | 2022-03-30T08:12:52.000Z | ceasiompy/BalanceUnconventional/func/Cog/unccog.py | jphkun/CEASIOMpy | 6425cfeb786019fccfc98aaa2fd676b2de466dac | [
"Apache-2.0"
] | 26 | 2018-11-30T14:33:44.000Z | 2022-03-22T07:30:18.000Z | """
CEASIOMpy: Conceptual Aircraft Design Software
Developed for CFS ENGINEERING, 1015 Lausanne, Switzerland
The script evaluates the centre of gravity coordinates in case of:
* OEM = Operating empty mass;
* MTOM = Maximum take off mass, with Max Payload:
* ZFM = zero fuel mass;
* ZPM = zero Payload mass
* With a pe... | 42.583333 | 79 | 0.527685 | 1,007 | 8,687 | 4.358491 | 0.191658 | 0.043746 | 0.075188 | 0.068353 | 0.75393 | 0.733652 | 0.733652 | 0.719526 | 0.71702 | 0.715197 | 0 | 0.015029 | 0.257051 | 8,687 | 203 | 80 | 42.793103 | 0.665014 | 0.343502 | 0 | 0.670213 | 0 | 0 | 0.22115 | 0.022323 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0.106383 | 0.042553 | 0 | 0.06383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
abe7f253ef63c2d9676ebe056ac515414e8d7bec | 148 | py | Python | loop.py | Krishna-Aaseri/Python_Logical_Questions | c0f025a56dbbf85426142adb423b25fa7b034adb | [
"MIT"
] | null | null | null | loop.py | Krishna-Aaseri/Python_Logical_Questions | c0f025a56dbbf85426142adb423b25fa7b034adb | [
"MIT"
] | null | null | null | loop.py | Krishna-Aaseri/Python_Logical_Questions | c0f025a56dbbf85426142adb423b25fa7b034adb | [
"MIT"
] | null | null | null | # i = 0
# while i <= 1:
# i = i + 1
# print i
# i = 1
# while i <= 1:
# i = i + 1
# print i
# i = 0
# while i <= 5:
# i = i + 1
# print i
| 9.25 | 16 | 0.364865 | 30 | 148 | 1.8 | 0.2 | 0.222222 | 0.222222 | 0.444444 | 0.796296 | 0.62963 | 0.62963 | 0.62963 | 0.62963 | 0 | 0 | 0.107143 | 0.432432 | 148 | 15 | 17 | 9.866667 | 0.535714 | 0.810811 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
abeb81e7a204bc5f0c7615c3db5b8bef3baf5e1c | 23 | py | Python | grade_mc/__init__.py | scotthartley/grade_mc | 349d2941c3907bddecc46775fd883ccde4403f4b | [
"MIT"
] | 1 | 2015-03-04T21:18:10.000Z | 2015-03-04T21:18:10.000Z | grade_mc/__init__.py | scotthartley/grade_mc | 349d2941c3907bddecc46775fd883ccde4403f4b | [
"MIT"
] | null | null | null | grade_mc/__init__.py | scotthartley/grade_mc | 349d2941c3907bddecc46775fd883ccde4403f4b | [
"MIT"
] | null | null | null | from .grade_mc import * | 23 | 23 | 0.782609 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.85 | 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 |
abf1051c108281db6ff3d03859fe41267f96777a | 162 | py | Python | codice/context_processors.py | lnds/codice | b2edad6bd5f1fdc42a8335b265e131af33081934 | [
"MIT"
] | 1 | 2021-04-22T15:25:15.000Z | 2021-04-22T15:25:15.000Z | codice/context_processors.py | lnds/codice | b2edad6bd5f1fdc42a8335b265e131af33081934 | [
"MIT"
] | 3 | 2021-04-22T14:22:43.000Z | 2021-07-20T14:11:22.000Z | codice/context_processors.py | lnds/codice | b2edad6bd5f1fdc42a8335b265e131af33081934 | [
"MIT"
] | null | null | null | from django.conf import settings
def codice_version(request):
"""shows codice version on templates"""
return {'CODICE_VERSION': settings.CODICE_VERSION}
| 27 | 54 | 0.759259 | 20 | 162 | 6 | 0.65 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141975 | 162 | 5 | 55 | 32.4 | 0.863309 | 0.203704 | 0 | 0 | 0 | 0 | 0.113821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9f81d3436fa1f8c4a3b8c4abb7c493d9ff0673b | 113 | py | Python | pkgs/ops-pkg/src/genie/libs/ops/ospf/ios/ospf.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/ops-pkg/src/genie/libs/ops/ospf/ios/ospf.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/ops-pkg/src/genie/libs/ops/ospf/ios/ospf.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | '''
OSPF Genie Ops Object for IOS - CLI
'''
from ..iosxe.ospf import Ospf as OspfXE
class Ospf(OspfXE):
pass | 16.142857 | 39 | 0.681416 | 18 | 113 | 4.277778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20354 | 113 | 7 | 40 | 16.142857 | 0.855556 | 0.309735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e601c808eca63a285819fe33ff2f86f13e97072a | 20,882 | py | Python | tests/unit/test_natural_query_descriptor.py | thedrow/django-natural-query | e169f088b07d2aab4998d964abf1f44f0a5e22ff | [
"BSD-3-Clause"
] | 17 | 2015-03-22T10:31:38.000Z | 2021-01-08T12:34:01.000Z | tests/unit/test_natural_query_descriptor.py | thedrow/django-natural-query | e169f088b07d2aab4998d964abf1f44f0a5e22ff | [
"BSD-3-Clause"
] | 1 | 2015-06-01T07:52:44.000Z | 2015-06-01T11:03:59.000Z | tests/unit/test_natural_query_descriptor.py | thedrow/django-natural-query | e169f088b07d2aab4998d964abf1f44f0a5e22ff | [
"BSD-3-Clause"
] | 4 | 2016-05-06T10:35:11.000Z | 2020-01-19T10:02:40.000Z | from unittest import expectedFailure
from django.db.models import Q, Field, F
from django.test import SimpleTestCase
from mock import sentinel
from natural_query.query import NaturalQueryDescriptor
from tests.unit.support import assertQObjectsEqual
class NaturalQueryDescriptorTestCase(SimpleTestCase):
def setUp... | 33.844408 | 127 | 0.725362 | 2,503 | 20,882 | 5.639233 | 0.047143 | 0.031243 | 0.09373 | 0.129437 | 0.898335 | 0.895005 | 0.881332 | 0.870563 | 0.848034 | 0.841162 | 0 | 0.008726 | 0.198784 | 20,882 | 617 | 128 | 33.844408 | 0.834917 | 0.018676 | 0 | 0.513369 | 0 | 0 | 0.015294 | 0 | 0 | 0 | 0 | 0 | 0.173797 | 1 | 0.181818 | false | 0 | 0.016043 | 0.005348 | 0.213904 | 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 |
e60f325339f13606d55ef87761fbd7fc0575c997 | 4,470 | py | Python | risktaking_lastpart/tests.py | AWI-Lab/otree | 6815c38a92cd93540f6e9c7ebdaecf90627ca865 | [
"MIT"
] | 3 | 2017-03-10T18:56:57.000Z | 2019-03-07T18:18:37.000Z | risktaking_lastpart/tests.py | AWI-Lab/otree | 6815c38a92cd93540f6e9c7ebdaecf90627ca865 | [
"MIT"
] | null | null | null | risktaking_lastpart/tests.py | AWI-Lab/otree | 6815c38a92cd93540f6e9c7ebdaecf90627ca865 | [
"MIT"
] | null | null | null | from otree.api import Currency as c, currency_range
from otree.api import SubmissionMustFail
from . import views
from ._builtin import Bot
from .models import Constants
class PlayerBot(Bot):
def play_round(self):
# come up with failing inputs
too_high = 10000000
too_low = -10000000
... | 31.928571 | 118 | 0.545861 | 394 | 4,470 | 5.949239 | 0.205584 | 0.137372 | 0.167235 | 0.084471 | 0.80802 | 0.806741 | 0.758959 | 0.709044 | 0.664249 | 0.624573 | 0 | 0.017754 | 0.344743 | 4,470 | 140 | 119 | 31.928571 | 0.78252 | 0.035123 | 0 | 0.703704 | 0 | 0 | 0.256047 | 0.026744 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009259 | false | 0 | 0.092593 | 0 | 0.111111 | 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 |
e626fac9d5be0a7610c188dad96744e8935e76d6 | 84 | py | Python | packages/password/__init__.py | s3h4n/Pass-Gen | 97a7e0f471542349a061ae9baba47ec28f49e061 | [
"MIT"
] | null | null | null | packages/password/__init__.py | s3h4n/Pass-Gen | 97a7e0f471542349a061ae9baba47ec28f49e061 | [
"MIT"
] | null | null | null | packages/password/__init__.py | s3h4n/Pass-Gen | 97a7e0f471542349a061ae9baba47ec28f49e061 | [
"MIT"
] | null | null | null | # import Password from packages/password/password.py
from .password import Password
| 28 | 52 | 0.833333 | 11 | 84 | 6.363636 | 0.454545 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 84 | 2 | 53 | 42 | 0.933333 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
e652432f40280bff54f96d37703476267519cd71 | 15 | py | Python | python/testData/formatter/spaceAfterComma_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/formatter/spaceAfterComma_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | tests/sandbox.py | nokx5/golden_python | 9722b8a05d03dceacbdcfcd127f8373d346c2f10 | [
"MIT"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import os, sys
| 7.5 | 14 | 0.733333 | 3 | 15 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 15 | 1 | 15 | 15 | 0.916667 | 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 |
e6573bf544a9ec66cb7003b5f13176ce5559322d | 15,818 | py | Python | test.py | joshsharp/mtn | dc7d87668aa426e6b76a1d072cd4bd89b9b7dc3e | [
"Unlicense"
] | 15 | 2017-07-14T11:27:04.000Z | 2021-11-11T01:21:42.000Z | slackmojicode/test.py | puhitaku/slackmojicode | 0084aa0df029a0c34d47bcf63169872062d0eea3 | [
"Unlicense"
] | null | null | null | slackmojicode/test.py | puhitaku/slackmojicode | 0084aa0df029a0c34d47bcf63169872062d0eea3 | [
"Unlicense"
] | 6 | 2019-05-20T18:02:11.000Z | 2021-06-27T09:16:36.000Z | #!/usr/bin/env python
#
import unittest
import parser
import sys
from contextlib import contextmanager
from StringIO import StringIO
class Environment(object):
def __init__(self):
self.variables = {}
@contextmanager
def captured_output():
new_out, new_err = StringIO(), StringIO()
old_out, ol... | 37.044496 | 84 | 0.562334 | 2,042 | 15,818 | 4.280118 | 0.067581 | 0.166476 | 0.171167 | 0.130892 | 0.878947 | 0.845881 | 0.8373 | 0.831007 | 0.827231 | 0.814531 | 0 | 0.018852 | 0.268934 | 15,818 | 426 | 85 | 37.131455 | 0.736942 | 0.001264 | 0 | 0.478528 | 0 | 0 | 0.127627 | 0 | 0 | 0 | 0 | 0 | 0.297546 | 1 | 0.141104 | false | 0 | 0.018405 | 0 | 0.187117 | 0.046012 | 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 |
e669fde1fd994d2103bada481fc9594ee12b4331 | 3,004 | py | Python | src/plots/gaussian_features.py | dballesteros7/master-thesis-2015 | 8c0bf9a6eef172fc8167a30780ae0666f8ea2d88 | [
"MIT"
] | null | null | null | src/plots/gaussian_features.py | dballesteros7/master-thesis-2015 | 8c0bf9a6eef172fc8167a30780ae0666f8ea2d88 | [
"MIT"
] | null | null | null | src/plots/gaussian_features.py | dballesteros7/master-thesis-2015 | 8c0bf9a6eef172fc8167a30780ae0666f8ea2d88 | [
"MIT"
] | null | null | null | import os
import numpy as np
import constants
from processing.ranking import rank_results
import matplotlib.pyplot as plt
def do_plot():
dataset_name = constants.DATASET_NAME_TPL.format('10')
x_values = np.arange(0.1, 1.1, 0.1)
y_values = []
std_values = []
for g in x_values:
results =... | 35.761905 | 115 | 0.606858 | 442 | 3,004 | 3.859729 | 0.217195 | 0.03517 | 0.037515 | 0.077374 | 0.861079 | 0.858734 | 0.814185 | 0.814185 | 0.814185 | 0.770809 | 0 | 0.061676 | 0.217377 | 3,004 | 83 | 116 | 36.192771 | 0.663973 | 0 | 0 | 0.477612 | 0 | 0 | 0.163449 | 0.038282 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029851 | false | 0 | 0.074627 | 0 | 0.104478 | 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 |
053d37c8337b845aa05884b301bbd46cf89a7072 | 32 | py | Python | servicescanner/__init__.py | muthuubalakan/portchecker | 2d1e9354c200eb7debcd20683876f213e7aca3d7 | [
"MIT"
] | null | null | null | servicescanner/__init__.py | muthuubalakan/portchecker | 2d1e9354c200eb7debcd20683876f213e7aca3d7 | [
"MIT"
] | null | null | null | servicescanner/__init__.py | muthuubalakan/portchecker | 2d1e9354c200eb7debcd20683876f213e7aca3d7 | [
"MIT"
] | null | null | null | from .scanner import TCPScanner
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
057962a8827559d80d1c83dbddc958b10ef7368b | 13,333 | py | Python | sdk/python/pulumi_akamai/app_sec_rate_policy.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-01-21T15:22:12.000Z | 2021-08-25T14:15:29.000Z | sdk/python/pulumi_akamai/app_sec_rate_policy.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | 59 | 2020-08-13T14:39:36.000Z | 2022-03-31T15:19:48.000Z | sdk/python/pulumi_akamai/app_sec_rate_policy.py | pulumi/pulumi-akamai | 85f933ccf2f61738b3074a13fa718132280f8364 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 48.133574 | 312 | 0.679067 | 1,618 | 13,333 | 5.375155 | 0.127318 | 0.103484 | 0.028976 | 0.025296 | 0.799126 | 0.777624 | 0.769806 | 0.746464 | 0.724733 | 0.706565 | 0 | 0.001169 | 0.230031 | 13,333 | 276 | 313 | 48.307971 | 0.845996 | 0.475212 | 0 | 0.492537 | 1 | 0 | 0.107611 | 0.007355 | 0 | 0 | 0 | 0 | 0 | 1 | 0.149254 | false | 0.007463 | 0.037313 | 0 | 0.276119 | 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 |
058da11effa1415992eb748b5e014bc78031e798 | 127 | py | Python | tests/test_import_pte_stats.py | richardkoehler/pte-stats | 3522be914adf36a00f83cc66dd1bfaedeb11f5b8 | [
"MIT"
] | 1 | 2022-02-08T21:02:11.000Z | 2022-02-08T21:02:11.000Z | tests/test_import_pte_stats.py | richardkoehler/pte-stats | 3522be914adf36a00f83cc66dd1bfaedeb11f5b8 | [
"MIT"
] | null | null | null | tests/test_import_pte_stats.py | richardkoehler/pte-stats | 3522be914adf36a00f83cc66dd1bfaedeb11f5b8 | [
"MIT"
] | null | null | null | """Test import of pte_stats."""
import pte_stats
def test_import() -> None:
"""Test import"""
print(dir(pte_stats))
| 14.111111 | 31 | 0.637795 | 18 | 127 | 4.277778 | 0.5 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188976 | 127 | 8 | 32 | 15.875 | 0.747573 | 0.291339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
558c9005de616b83f3d1f00a9442e6c4d5b6efaa | 44 | py | Python | PythonExercicios/ex112/utilidadesCeV/__init__.py | Lucas-ns/Python-3-Curso-Em-Video | f6d338fffd7a4606d34fab09634eea0fe4b3dfb3 | [
"MIT"
] | null | null | null | PythonExercicios/ex112/utilidadesCeV/__init__.py | Lucas-ns/Python-3-Curso-Em-Video | f6d338fffd7a4606d34fab09634eea0fe4b3dfb3 | [
"MIT"
] | null | null | null | PythonExercicios/ex112/utilidadesCeV/__init__.py | Lucas-ns/Python-3-Curso-Em-Video | f6d338fffd7a4606d34fab09634eea0fe4b3dfb3 | [
"MIT"
] | null | null | null | from ex112.utilidadesCeV import moeda, dado
| 22 | 43 | 0.840909 | 6 | 44 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.113636 | 44 | 1 | 44 | 44 | 0.871795 | 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 |
5591c1c2de158734f94259698ccef585c27ad1f1 | 166 | py | Python | api/config/h5Template/tanmuLink.py | jimbunny/wedding-invitation | a3648454e1105d9362f95d9f6e69055a7522e15b | [
"MIT"
] | null | null | null | api/config/h5Template/tanmuLink.py | jimbunny/wedding-invitation | a3648454e1105d9362f95d9f6e69055a7522e15b | [
"MIT"
] | null | null | null | api/config/h5Template/tanmuLink.py | jimbunny/wedding-invitation | a3648454e1105d9362f95d9f6e69055a7522e15b | [
"MIT"
] | null | null | null | tanmuLink = '''
<link rel="stylesheet" href="/static/css/bootstrap.min.css"/>
<link rel="stylesheet" href="/static/css/bootstrapValidator.min.css"/>
''' | 27.666667 | 74 | 0.650602 | 19 | 166 | 5.684211 | 0.526316 | 0.12963 | 0.314815 | 0.388889 | 0.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138554 | 166 | 6 | 75 | 27.666667 | 0.755245 | 0 | 0 | 0 | 0 | 0 | 0.886228 | 0.508982 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9aa8266b4545650716e11aba73b97341139e603 | 3,129 | py | Python | howfairis/mixins/CitationMixin.py | benvanwerkhoven/howfairis | e7128cee164154950a14b613f12c284a5fca872b | [
"Apache-2.0"
] | null | null | null | howfairis/mixins/CitationMixin.py | benvanwerkhoven/howfairis | e7128cee164154950a14b613f12c284a5fca872b | [
"Apache-2.0"
] | null | null | null | howfairis/mixins/CitationMixin.py | benvanwerkhoven/howfairis | e7128cee164154950a14b613f12c284a5fca872b | [
"Apache-2.0"
] | null | null | null | import re
import requests
class CitationMixin:
def has_citation_file(self):
url = "https://raw.githubusercontent.com/" + \
"{0}/{1}/{2}/CITATION".format(self.owner, self.repo, self.branch)
try:
response = requests.get(url)
# If the response was successful, no ... | 41.72 | 84 | 0.610738 | 386 | 3,129 | 4.792746 | 0.189119 | 0.048649 | 0.075676 | 0.102703 | 0.854054 | 0.846486 | 0.846486 | 0.814054 | 0.814054 | 0.77027 | 0 | 0.012286 | 0.271652 | 3,129 | 74 | 85 | 42.283784 | 0.799473 | 0.076382 | 0 | 0.578125 | 0 | 0.015625 | 0.221837 | 0.041941 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078125 | false | 0 | 0.03125 | 0 | 0.28125 | 0.21875 | 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 |
e9b43be160c690a5fa89fc290bd3a8c9f91a6865 | 120 | py | Python | src/__init__.py | jamesjiang52/V2SV | 4b6109d16482131785b9dfec13fd66452078ae17 | [
"MIT"
] | 1 | 2021-07-26T18:13:56.000Z | 2021-07-26T18:13:56.000Z | src/__init__.py | jamesjiang52/V2SV | 4b6109d16482131785b9dfec13fd66452078ae17 | [
"MIT"
] | null | null | null | src/__init__.py | jamesjiang52/V2SV | 4b6109d16482131785b9dfec13fd66452078ae17 | [
"MIT"
] | 2 | 2020-10-06T04:41:53.000Z | 2020-10-13T02:39:55.000Z | from .common import *
from .replace_always import *
from .replace_localparam import *
from .replace_with_logic import *
| 24 | 33 | 0.8 | 16 | 120 | 5.75 | 0.5 | 0.326087 | 0.554348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 120 | 4 | 34 | 30 | 0.884615 | 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 |
7581e6881dd548c0f43ec74b19a79102d7fe975b | 11,634 | py | Python | test-framework/test-suites/integration/tests/remove/test_remove_switch_partition_member.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 123 | 2015-05-12T23:36:45.000Z | 2017-07-05T23:26:57.000Z | test-framework/test-suites/integration/tests/remove/test_remove_switch_partition_member.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 177 | 2015-06-05T19:17:47.000Z | 2017-07-07T17:57:24.000Z | test-framework/test-suites/integration/tests/remove/test_remove_switch_partition_member.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 32 | 2015-06-07T02:25:03.000Z | 2017-06-23T07:35:35.000Z | import pytest
import json
class TestRemoveSwitchPartitionMember:
SWITCH_PARTITION_MEMBER_TEST_DATA = [
['default', '00:00:00:00:00:00:00:00', '', '', '', 'add_default_member_output.json'],
['default', '', 'backend-0-0', 'ib0', '', 'add_default_member_output.json'],
['Default', '', 'backend-0-0', 'ib0', 'limite... | 41.848921 | 125 | 0.712051 | 1,808 | 11,634 | 4.460177 | 0.084624 | 0.036706 | 0.046875 | 0.051587 | 0.861483 | 0.833333 | 0.814856 | 0.785962 | 0.761533 | 0.749132 | 0 | 0.038921 | 0.143115 | 11,634 | 277 | 126 | 42 | 0.769987 | 0.072288 | 0 | 0.611111 | 0 | 0.020202 | 0.387357 | 0.099694 | 0 | 0 | 0.003249 | 0 | 0.343434 | 1 | 0.050505 | false | 0.005051 | 0.010101 | 0 | 0.075758 | 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 |
75900ce266ecddadbe603fa46e89d2f1d1d1456e | 1,729 | py | Python | tests/test_save_memory.py | RI-imaging/ODTbrain | 063f9d1cf7803dd0dda9d68d2847f16c2496c205 | [
"BSD-3-Clause"
] | 15 | 2016-01-22T20:08:10.000Z | 2022-03-24T17:00:27.000Z | tests/test_save_memory.py | RI-imaging/ODTbrain | 063f9d1cf7803dd0dda9d68d2847f16c2496c205 | [
"BSD-3-Clause"
] | 15 | 2017-01-17T12:07:58.000Z | 2022-02-02T22:30:33.000Z | tests/test_save_memory.py | RI-imaging/ODTbrain | 063f9d1cf7803dd0dda9d68d2847f16c2496c205 | [
"BSD-3-Clause"
] | 6 | 2017-10-29T20:05:42.000Z | 2021-02-19T23:23:36.000Z | """Test save memory options"""
import numpy as np
import odtbrain
from common_methods import create_test_sino_3d, get_test_parameter_set
def test_back3d():
sino, angles = create_test_sino_3d(Nx=10, Ny=10)
parameters = get_test_parameter_set(2)
# complex
r = list()
for p in parameters:
f ... | 30.875 | 70 | 0.525737 | 206 | 1,729 | 4.194175 | 0.296117 | 0.069444 | 0.037037 | 0.046296 | 0.729167 | 0.729167 | 0.729167 | 0.729167 | 0.729167 | 0.729167 | 0 | 0.03407 | 0.371891 | 1,729 | 55 | 71 | 31.436364 | 0.76151 | 0.037594 | 0 | 0.75 | 0 | 0 | 0.012696 | 0 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0.05 | false | 0 | 0.075 | 0 | 0.125 | 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 |
75fad44f9b33f39140448554f74d8ea6172d569c | 4,563 | py | Python | z2/part2/interactive/jm/random_normal_1/192448685.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part2/interactive/jm/random_normal_1/192448685.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part2/interactive/jm/random_normal_1/192448685.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 192448685
"""
"""
random actions, total chaos
"""
board = gamma_new(4, 7, 6, 3)
assert board is... | 31.253425 | 46 | 0.649134 | 850 | 4,563 | 3.334118 | 0.050588 | 0.364855 | 0.412844 | 0.550459 | 0.818984 | 0.796401 | 0.59633 | 0.356034 | 0.245942 | 0.193719 | 0 | 0.130083 | 0.186281 | 4,563 | 145 | 47 | 31.468966 | 0.633181 | 0 | 0 | 0.155039 | 0 | 0 | 0.018771 | 0 | 0 | 0 | 0 | 0 | 0.767442 | 1 | 0 | false | 0 | 0.007752 | 0 | 0.007752 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f963e54c9bde91d7c01a3de1e4c129726e92eb74 | 40 | py | Python | smpy/builder/__init__.py | canbatuhan/smpy | 36bc0a3bad3cfa77b6d15316ae8cdd39eee3721e | [
"MIT"
] | 1 | 2022-02-22T17:21:17.000Z | 2022-02-22T17:21:17.000Z | smpy/builder/__init__.py | canbatuhan/smpy | 36bc0a3bad3cfa77b6d15316ae8cdd39eee3721e | [
"MIT"
] | null | null | null | smpy/builder/__init__.py | canbatuhan/smpy | 36bc0a3bad3cfa77b6d15316ae8cdd39eee3721e | [
"MIT"
] | null | null | null | from .builder import StateMachineBuilder | 40 | 40 | 0.9 | 4 | 40 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f98419280ba308a41b3cfc87c8184e77a3be0100 | 118 | py | Python | theory/13th_sprint/final_assignment/run.py | abi83/YaPractice | 1c3a5670ee2f872d4f872623a392755318b893b5 | [
"MIT"
] | 3 | 2020-11-18T05:16:30.000Z | 2021-03-08T06:36:01.000Z | theory/13th_sprint/final_assignment/run.py | abi83/YaPractice | 1c3a5670ee2f872d4f872623a392755318b893b5 | [
"MIT"
] | null | null | null | theory/13th_sprint/final_assignment/run.py | abi83/YaPractice | 1c3a5670ee2f872d4f872623a392755318b893b5 | [
"MIT"
] | 1 | 2021-01-20T12:41:48.000Z | 2021-01-20T12:41:48.000Z | from calc import calculate_reverse_polish_notation
print(
calculate_reverse_polish_notation(input().split(' '))
) | 23.6 | 57 | 0.805085 | 14 | 118 | 6.357143 | 0.714286 | 0.359551 | 0.494382 | 0.674157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 5 | 58 | 23.6 | 0.839623 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dda9b473a9397d5097a3e6952f5e77b59cd97097 | 66 | py | Python | analyzers/rolaguard_printer/__init__.py | Argeniss-Software/rolaguard_engine | cec4af736097daae23864e6d7c4990a68f269f72 | [
"Apache-2.0"
] | null | null | null | analyzers/rolaguard_printer/__init__.py | Argeniss-Software/rolaguard_engine | cec4af736097daae23864e6d7c4990a68f269f72 | [
"Apache-2.0"
] | null | null | null | analyzers/rolaguard_printer/__init__.py | Argeniss-Software/rolaguard_engine | cec4af736097daae23864e6d7c4990a68f269f72 | [
"Apache-2.0"
] | null | null | null | from analyzers.rolaguard_printer.PrinterMain import process_packet | 66 | 66 | 0.924242 | 8 | 66 | 7.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 66 | 1 | 66 | 66 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
ddd0ef58558b910753e36b52f58ff211821303c1 | 201 | py | Python | tests/test_allowlist.py | di/disposable-email-domains | 88845fec288650d8716498727e20b6de0d52930f | [
"MIT"
] | 31 | 2016-12-06T15:02:49.000Z | 2021-01-11T19:47:27.000Z | tests/test_allowlist.py | di/disposable-email-domains | 88845fec288650d8716498727e20b6de0d52930f | [
"MIT"
] | 3 | 2017-05-24T08:46:43.000Z | 2020-09-03T18:16:22.000Z | tests/test_allowlist.py | di/disposable-email-domains | 88845fec288650d8716498727e20b6de0d52930f | [
"MIT"
] | 10 | 2017-06-29T07:14:40.000Z | 2020-09-19T06:25:14.000Z | from disposable_email_domains import allowlist
def test_allowlist_inclusion():
assert 'spamcannon.com' in allowlist
def test_allowlist_exclusion():
assert 'spamcowboy.com' not in allowlist
| 20.1 | 46 | 0.79602 | 25 | 201 | 6.16 | 0.64 | 0.155844 | 0.207792 | 0.324675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144279 | 201 | 9 | 47 | 22.333333 | 0.895349 | 0 | 0 | 0 | 0 | 0 | 0.139303 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb245a8b40fdc780c7987a515651bc7b05665f4b | 156 | py | Python | datakit_project/__init__.py | hs4man21/datakit-project | 97fe2fc7d900fd1ae22e6f40a5d1302ab2860abe | [
"0BSD"
] | null | null | null | datakit_project/__init__.py | hs4man21/datakit-project | 97fe2fc7d900fd1ae22e6f40a5d1302ab2860abe | [
"0BSD"
] | null | null | null | datakit_project/__init__.py | hs4man21/datakit-project | 97fe2fc7d900fd1ae22e6f40a5d1302ab2860abe | [
"0BSD"
] | null | null | null | from .commands.create import Create
from .commands.templates import Templates
from .commands.templates_update import TemplatesUpdate
__version__ = '0.3.1'
| 26 | 54 | 0.826923 | 20 | 156 | 6.2 | 0.55 | 0.290323 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021429 | 0.102564 | 156 | 5 | 55 | 31.2 | 0.864286 | 0 | 0 | 0 | 0 | 0 | 0.032051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb3a36e9bd6fdf08028056f4919ef3b7aaa4b82b | 32 | py | Python | run_burger.py | jkrmc12/minecraft-ftb-jar-extractor | 17a9a5d3968a611f35e9752d2d829db91013e592 | [
"MIT"
] | null | null | null | run_burger.py | jkrmc12/minecraft-ftb-jar-extractor | 17a9a5d3968a611f35e9752d2d829db91013e592 | [
"MIT"
] | null | null | null | run_burger.py | jkrmc12/minecraft-ftb-jar-extractor | 17a9a5d3968a611f35e9752d2d829db91013e592 | [
"MIT"
] | null | null | null |
import Burger.munch as munch
| 10.666667 | 29 | 0.75 | 5 | 32 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 30 | 16 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34926d3c070379b1de08558e3a4aabe5b8a07e3b | 40 | py | Python | tdsc/utils/__init__.py | liamdawson/tdsc | 1fb6da27998f3b8ffef698e2fd854f0cb0b11973 | [
"MIT"
] | null | null | null | tdsc/utils/__init__.py | liamdawson/tdsc | 1fb6da27998f3b8ffef698e2fd854f0cb0b11973 | [
"MIT"
] | null | null | null | tdsc/utils/__init__.py | liamdawson/tdsc | 1fb6da27998f3b8ffef698e2fd854f0cb0b11973 | [
"MIT"
] | null | null | null | from .git import git_available, run_git
| 20 | 39 | 0.825 | 7 | 40 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34b2b214a20529828de33949d6eb2b92027df3f3 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/core/umath_tests.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/core/umath_tests.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/core/umath_tests.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/4c/8c/da/0dfac41c781273627993114489babc30e3e1c12bb239939406c64d5523 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 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 |
32f86b7ae6c5cb81d0a2cd54833ea49a14ea83ad | 119 | py | Python | polichart/decorators.py | cjmabry/PoliChart | 787d987669de4891b1b1ac5f8ebc0ecd38ac2785 | [
"BSD-3-Clause"
] | null | null | null | polichart/decorators.py | cjmabry/PoliChart | 787d987669de4891b1b1ac5f8ebc0ecd38ac2785 | [
"BSD-3-Clause"
] | null | null | null | polichart/decorators.py | cjmabry/PoliChart | 787d987669de4891b1b1ac5f8ebc0ecd38ac2785 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from functools import wraps
from flask import abort
from flask.ext.login import current_user
| 17 | 40 | 0.747899 | 18 | 119 | 4.888889 | 0.722222 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.159664 | 119 | 6 | 41 | 19.833333 | 0.87 | 0.176471 | 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 |
fd2a2e8b758b949c5432a41ecad60b7a633b9991 | 123 | py | Python | pizza/admin.py | mamalmaleki/django-forms | 97fc985f9c74c8927f960feda7a9e56ac6371832 | [
"MIT"
] | 1 | 2020-01-02T05:51:12.000Z | 2020-01-02T05:51:12.000Z | pizza/admin.py | mamalmaleki/django-forms | 97fc985f9c74c8927f960feda7a9e56ac6371832 | [
"MIT"
] | null | null | null | pizza/admin.py | mamalmaleki/django-forms | 97fc985f9c74c8927f960feda7a9e56ac6371832 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Pizza)
admin.site.register(models.Size)
| 17.571429 | 33 | 0.804878 | 18 | 123 | 5.5 | 0.555556 | 0.181818 | 0.343434 | 0.464646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 123 | 6 | 34 | 20.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
b5d9fcaa7a89584618674a0996525635a3cffcce | 30 | py | Python | StoreApp.py | ttimms/coffee_shop | 34bc240a71d005b575d6ea2801990cadad2021f8 | [
"MIT"
] | null | null | null | StoreApp.py | ttimms/coffee_shop | 34bc240a71d005b575d6ea2801990cadad2021f8 | [
"MIT"
] | null | null | null | StoreApp.py | ttimms/coffee_shop | 34bc240a71d005b575d6ea2801990cadad2021f8 | [
"MIT"
] | null | null | null | from StoreApp import storeApp
| 15 | 29 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 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 |
b5f73c77359be058dc11f60bd2b808a773339ac7 | 37 | py | Python | c8_disjointset/main.py | yonoho/pyalgorithm | 5afc179b6c0deb5d22add5726891f053572b2a5b | [
"MIT"
] | null | null | null | c8_disjointset/main.py | yonoho/pyalgorithm | 5afc179b6c0deb5d22add5726891f053572b2a5b | [
"MIT"
] | null | null | null | c8_disjointset/main.py | yonoho/pyalgorithm | 5afc179b6c0deb5d22add5726891f053572b2a5b | [
"MIT"
] | null | null | null | from disjoint_set import DisjointSet
| 18.5 | 36 | 0.891892 | 5 | 37 | 6.4 | 1 | 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 |
bd44504ced728af1449651bfb2007438899d463b | 2,481 | py | Python | yfinance/options.py | piyushkp/yfinance | e5e150c5bfdb15f3ce135878b6735e0753d6d410 | [
"Apache-2.0"
] | null | null | null | yfinance/options.py | piyushkp/yfinance | e5e150c5bfdb15f3ce135878b6735e0753d6d410 | [
"Apache-2.0"
] | null | null | null | yfinance/options.py | piyushkp/yfinance | e5e150c5bfdb15f3ce135878b6735e0753d6d410 | [
"Apache-2.0"
] | null | null | null |
import datetime
import pandas as pd
import numpy as np
import yfinance as yf
def options_chain_by_date(symbol, date):
tk = yf.Ticker(symbol)
# Get options for each expiration
options = pd.DataFrame()
opt = tk.option_chain(date=date)
opt = pd.DataFrame().append(opt.calls).append(opt.puts)
opt[... | 39.380952 | 123 | 0.663845 | 313 | 2,481 | 5.223642 | 0.27476 | 0.033028 | 0.070948 | 0.046483 | 0.858716 | 0.858716 | 0.858716 | 0.858716 | 0.80367 | 0.80367 | 0 | 0.007025 | 0.196695 | 2,481 | 63 | 124 | 39.380952 | 0.813347 | 0.21443 | 0 | 0.666667 | 0 | 0 | 0.178811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.111111 | 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 |
1fb4868d6312440dbc0593348f30c51e43b96d3e | 44 | py | Python | aggr/__init__.py | RyouZhang/py_es_dsl | 1564ffdaf6da5b00b20eca87db5781279301ab18 | [
"MIT"
] | 1 | 2017-08-28T02:53:38.000Z | 2017-08-28T02:53:38.000Z | aggr/__init__.py | RyouZhang/py_es_dsl | 1564ffdaf6da5b00b20eca87db5781279301ab18 | [
"MIT"
] | null | null | null | aggr/__init__.py | RyouZhang/py_es_dsl | 1564ffdaf6da5b00b20eca87db5781279301ab18 | [
"MIT"
] | null | null | null | from util.elasticsearch.aggr.bucket import * | 44 | 44 | 0.840909 | 6 | 44 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ff4f6e6511a5508f0d209037ac9b9397fe75d54 | 75 | py | Python | string_to_int_to_string/__init__.py | rptine/string_to_int_to_string | 7ea6a5f3f1f782e36e34a6b442cb8c77d08d6411 | [
"MIT"
] | null | null | null | string_to_int_to_string/__init__.py | rptine/string_to_int_to_string | 7ea6a5f3f1f782e36e34a6b442cb8c77d08d6411 | [
"MIT"
] | null | null | null | string_to_int_to_string/__init__.py | rptine/string_to_int_to_string | 7ea6a5f3f1f782e36e34a6b442cb8c77d08d6411 | [
"MIT"
] | null | null | null | from string_to_int_to_string.stits_main import string_to_int, int_to_string | 75 | 75 | 0.92 | 15 | 75 | 4 | 0.466667 | 0.266667 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 75 | 1 | 75 | 75 | 0.84507 | 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 |
9522f4a945743a31cf27f1d894f8694fd6c46c96 | 4,607 | py | Python | test/test_Likelihood/test_anisotropy_scaling.py | aymgal/hierArc | a52cb6f2ad1d7a8cbd08c215ef7d5189fa329269 | [
"BSD-3-Clause"
] | 5 | 2020-07-08T00:53:04.000Z | 2021-08-03T08:20:31.000Z | test/test_Likelihood/test_anisotropy_scaling.py | aymgal/hierArc | a52cb6f2ad1d7a8cbd08c215ef7d5189fa329269 | [
"BSD-3-Clause"
] | 4 | 2020-03-30T22:12:57.000Z | 2021-04-03T06:20:52.000Z | test/test_Likelihood/test_anisotropy_scaling.py | aymgal/hierArc | a52cb6f2ad1d7a8cbd08c215ef7d5189fa329269 | [
"BSD-3-Clause"
] | 5 | 2020-03-30T21:20:08.000Z | 2021-03-03T17:08:42.000Z | import pytest
import numpy as np
import unittest
from hierarc.Likelihood.anisotropy_scaling import AnisotropyScalingSingleAperture, AnisotropyScalingIFU
class TestAnisotropyScalingSingleAperture(object):
def setup(self):
ani_param_array = np.linspace(start=0, stop=1, num=10)
ani_scaling_array = a... | 45.613861 | 136 | 0.680486 | 642 | 4,607 | 4.543614 | 0.098131 | 0.123414 | 0.133699 | 0.060336 | 0.83579 | 0.818992 | 0.818992 | 0.803908 | 0.803908 | 0.794309 | 0 | 0.031371 | 0.218146 | 4,607 | 100 | 137 | 46.07 | 0.778456 | 0 | 0 | 0.589041 | 0 | 0 | 0.006079 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 1 | 0.082192 | false | 0 | 0.054795 | 0 | 0.178082 | 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 |
95285ce36bca7882af1361ba832022604aa2c437 | 48 | py | Python | env/lib/python2.7/site-packages/django_tables2_simplefilter/__init__.py | jlwysf/onduty | 20d90583a6996d037912af08eb29a6d6fa06bf66 | [
"MIT"
] | null | null | null | env/lib/python2.7/site-packages/django_tables2_simplefilter/__init__.py | jlwysf/onduty | 20d90583a6996d037912af08eb29a6d6fa06bf66 | [
"MIT"
] | null | null | null | env/lib/python2.7/site-packages/django_tables2_simplefilter/__init__.py | jlwysf/onduty | 20d90583a6996d037912af08eb29a6d6fa06bf66 | [
"MIT"
] | null | null | null |
from .views import FilteredSingleTableView, F
| 12 | 45 | 0.8125 | 5 | 48 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 3 | 46 | 16 | 0.95122 | 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 |
20fcbf912bc3d3d71fdda9448b24acdd9540ee12 | 10,027 | py | Python | tests/test_stratify_mixing_matrix.py | monash-emu/summer | e401fa986543ddade0082d271f9261d640b22bec | [
"BSD-2-Clause-FreeBSD"
] | 4 | 2021-11-05T02:47:34.000Z | 2022-01-31T11:25:11.000Z | tests/test_stratify_mixing_matrix.py | monash-emu/summer | e401fa986543ddade0082d271f9261d640b22bec | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2021-04-28T22:29:32.000Z | 2021-08-30T12:13:01.000Z | tests/test_stratify_mixing_matrix.py | monash-emu/summer | e401fa986543ddade0082d271f9261d640b22bec | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-04-29T05:52:34.000Z | 2021-04-29T05:52:34.000Z | """
Test applying a stratification with a mixing matrix via stratify_with
"""
import numpy as np
import pytest
from numpy.testing import assert_array_equal
from summer import CompartmentalModel, Stratification
def test_add_mixing_matrix_fails():
"""
Ensure validation works when trying to add a mixing matrix... | 43.406926 | 100 | 0.680862 | 1,294 | 10,027 | 5.058733 | 0.100464 | 0.144821 | 0.041552 | 0.036664 | 0.902078 | 0.885426 | 0.879927 | 0.870455 | 0.849068 | 0.82875 | 0 | 0.024812 | 0.192081 | 10,027 | 230 | 101 | 43.595652 | 0.783237 | 0.239453 | 0 | 0.685315 | 0 | 0 | 0.078718 | 0 | 0 | 0 | 0 | 0 | 0.188811 | 1 | 0.048951 | false | 0 | 0.027972 | 0 | 0.076923 | 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 |
1f20f754998d7acea7862e83b58b10f4c2408ca0 | 206 | py | Python | fixtures/exploits/__init__.py | FCG-LLC/aucote | bb21ff02965ed0cca5a55ee559eae77856d9866c | [
"Apache-2.0"
] | 1 | 2019-11-12T09:19:26.000Z | 2019-11-12T09:19:26.000Z | fixtures/exploits/__init__.py | FCG-LLC/aucote | bb21ff02965ed0cca5a55ee559eae77856d9866c | [
"Apache-2.0"
] | 13 | 2019-12-05T10:34:41.000Z | 2019-12-05T10:49:27.000Z | fixtures/exploits/__init__.py | Wolodija/aucote | bb21ff02965ed0cca5a55ee559eae77856d9866c | [
"Apache-2.0"
] | 4 | 2019-11-09T17:37:07.000Z | 2019-12-16T09:50:02.000Z | from .exploit import Exploit, Exploits, RiskLevel, ExploitCategory, ExploitMetric, ExploitTag
__all__ = [cls.__name__ for cls in (Exploit, Exploits, RiskLevel, ExploitCategory, ExploitMetric, ExploitTag)]
| 51.5 | 110 | 0.81068 | 21 | 206 | 7.571429 | 0.619048 | 0.188679 | 0.301887 | 0.490566 | 0.779874 | 0.779874 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 206 | 3 | 111 | 68.666667 | 0.86413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 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 |
1f50cf72a295906498fdda7edb279e6c49d48983 | 66 | py | Python | edabit/Return_string_integer.py | Gbrvi/Python | 02f0125c990f06ccb5cd705b4bf6ec5ecb6d1eab | [
"MIT"
] | null | null | null | edabit/Return_string_integer.py | Gbrvi/Python | 02f0125c990f06ccb5cd705b4bf6ec5ecb6d1eab | [
"MIT"
] | null | null | null | edabit/Return_string_integer.py | Gbrvi/Python | 02f0125c990f06ccb5cd705b4bf6ec5ecb6d1eab | [
"MIT"
] | null | null | null | def trans_string(a):
return int(a)
print(trans_string('6')) | 11 | 24 | 0.666667 | 11 | 66 | 3.818182 | 0.727273 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.166667 | 66 | 6 | 24 | 11 | 0.745455 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1f9024a8cb2b7cacd8fec53276617eb9423b6023 | 46,020 | py | Python | script/j2y_data.py | lunzhiPenxil/json2yaml-for-dice | 62bd66d3350b8a751f0dc8deff916f46fb4dda55 | [
"MIT"
] | 4 | 2020-01-14T13:47:28.000Z | 2022-01-22T12:11:03.000Z | script/j2y_data.py | lunzhiPenxil/json2yaml-for-dice | 62bd66d3350b8a751f0dc8deff916f46fb4dda55 | [
"MIT"
] | null | null | null | script/j2y_data.py | lunzhiPenxil/json2yaml-for-dice | 62bd66d3350b8a751f0dc8deff916f46fb4dda55 | [
"MIT"
] | null | null | null | favicon_ico = "AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAMMOAADDDgAAAAAAAAAAAAA3LBr/Py8e/0M0I/9CNSP/QzYl/0xEM/9gWEj/cGVW/3xxYP+Lfmz/kYRz/5SHdv+TiXb/k4p2/5KKd/+Rinf/k4h1/4+Ecf+LgW3/iX5r/4Z7af+CdmX/fnJf/3dpWP9uYVH/ZltJ/1dOO/9KQS//QDUj/z0wHv88Lx7/OS0a/zguHf9DMyH/QjYk/1hSQ/+CfnL/lJKG/5qVhf+XiXf/j39t/39xX... | 958.75 | 8,621 | 0.756932 | 6,410 | 46,020 | 5.482059 | 0.747894 | 0.003984 | 0.002049 | 0.002277 | 0.026323 | 0.01346 | 0.008537 | 0.006261 | 0.004781 | 0.004781 | 0 | 0.060692 | 0.018992 | 46,020 | 47 | 8,622 | 979.148936 | 0.710827 | 0 | 0 | 0 | 0 | 2.733333 | 0.925098 | 0.755259 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f2550b723f4aab3e462a1c84e2185cc61341e06 | 22 | py | Python | ak47/__init__.py | WHDevLab/ak47 | 8595f2230c1b73bbc31a90684e9098de570006c2 | [
"MIT"
] | null | null | null | ak47/__init__.py | WHDevLab/ak47 | 8595f2230c1b73bbc31a90684e9098de570006c2 | [
"MIT"
] | null | null | null | ak47/__init__.py | WHDevLab/ak47 | 8595f2230c1b73bbc31a90684e9098de570006c2 | [
"MIT"
] | null | null | null | from .app import AK47
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.181818 | 22 | 1 | 22 | 22 | 0.833333 | 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 |
2f37b5a9fb5a84984052e36eb3fe9f9638a0c0d2 | 49 | py | Python | ssseg/modules/backbones/bricks/normalization/layernorm/__init__.py | nianjiuhuiyi/sssegmentation | 4fc12ea7b80fe83170b6d3da0826e53a99ef5325 | [
"MIT"
] | 411 | 2020-10-22T02:24:57.000Z | 2022-03-31T11:19:17.000Z | wsdet/modules/backbones/bricks/normalization/layernorm/__init__.py | DetectionBLWX/wsdetection | 05020d9d0445af90ba0af3f095aa12b18e3da7d2 | [
"MIT"
] | 24 | 2020-12-21T03:53:54.000Z | 2022-03-17T06:50:00.000Z | wsdet/modules/backbones/bricks/normalization/layernorm/__init__.py | DetectionBLWX/wsdetection | 05020d9d0445af90ba0af3f095aa12b18e3da7d2 | [
"MIT"
] | 59 | 2020-12-04T03:40:12.000Z | 2022-03-30T09:12:47.000Z | '''initialize'''
from .layernorm import LayerNorm | 24.5 | 32 | 0.77551 | 5 | 49 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 2 | 32 | 24.5 | 0.844444 | 0.204082 | 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 |
2f819785bfba4db7f79718b567c0f1c2ca0736de | 60 | py | Python | Basic/15_python_math/math_pembulatan.py | sekilas13/Python | 8b2c91cf0c90ebaba7a22e97bd69dae7a6564714 | [
"MIT"
] | 79 | 2021-09-12T02:31:14.000Z | 2022-03-29T08:46:53.000Z | Basic/15_python_math/math_pembulatan.py | sekilas13/Python | 8b2c91cf0c90ebaba7a22e97bd69dae7a6564714 | [
"MIT"
] | 121 | 2021-09-10T02:38:47.000Z | 2022-03-30T03:30:35.000Z | Basic/15_python_math/math_pembulatan.py | sekilas13/Python | 8b2c91cf0c90ebaba7a22e97bd69dae7a6564714 | [
"MIT"
] | 76 | 2021-09-10T02:27:28.000Z | 2022-03-28T10:24:12.000Z | import math
print(math.floor(14.8))
print(math.ceil(14.3))
| 12 | 23 | 0.716667 | 12 | 60 | 3.583333 | 0.666667 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 0.083333 | 60 | 4 | 24 | 15 | 0.672727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2f86cb42a870d3e421250ed46c39af7b23fa1a21 | 214 | py | Python | zqxt/context_processors.py | Imshuaige/zqxt | d9bbd3d75823f7ebf2a144db01c6518abd596b0b | [
"MIT"
] | 318 | 2017-11-08T00:27:37.000Z | 2021-08-15T10:04:41.000Z | zqxt/context_processors.py | MrSilvers/zqxt | 62778ad89d9ca72a221b1b7a23bb926992dd8aab | [
"MIT"
] | 2 | 2017-11-13T07:41:27.000Z | 2017-11-13T16:23:12.000Z | zqxt/context_processors.py | MrSilvers/zqxt | 62778ad89d9ca72a221b1b7a23bb926992dd8aab | [
"MIT"
] | 161 | 2017-11-07T05:18:32.000Z | 2021-04-05T11:43:46.000Z | from django.conf import settings as original_settings
def settings(request):
return {'settings': original_settings}
def ip_address_processor(request):
return {'ip_address': request.META['REMOTE_ADDR']}
| 21.4 | 54 | 0.766355 | 27 | 214 | 5.851852 | 0.592593 | 0.202532 | 0.240506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 214 | 9 | 55 | 23.777778 | 0.849462 | 0 | 0 | 0 | 0 | 0 | 0.135514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
c83ba588b01780a92360b893809ba8a6835e3978 | 41 | py | Python | src/whylogs/src/whylabs/logs/viz/__init__.py | bernease/cli-demo-1 | 895d9eddc95ca3dd43b7ae8b33a8fbdedbc855f5 | [
"Apache-2.0"
] | null | null | null | src/whylogs/src/whylabs/logs/viz/__init__.py | bernease/cli-demo-1 | 895d9eddc95ca3dd43b7ae8b33a8fbdedbc855f5 | [
"Apache-2.0"
] | null | null | null | src/whylogs/src/whylabs/logs/viz/__init__.py | bernease/cli-demo-1 | 895d9eddc95ca3dd43b7ae8b33a8fbdedbc855f5 | [
"Apache-2.0"
] | null | null | null | from .visualizer import ProfileVisualizer | 41 | 41 | 0.902439 | 4 | 41 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.