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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3ac1c0d9a6752140191739b4c28b707aaa2d4852 | 21 | py | Python | src/fidesops/schemas/__init__.py | nathanawmk/fidesops | 1ab840206a78e60673aebd5838ba567095512a58 | [
"Apache-2.0"
] | 41 | 2021-11-01T23:53:43.000Z | 2022-03-22T23:07:56.000Z | src/fidesops/schemas/__init__.py | nathanawmk/fidesops | 1ab840206a78e60673aebd5838ba567095512a58 | [
"Apache-2.0"
] | 235 | 2021-11-01T20:31:55.000Z | 2022-03-31T15:40:58.000Z | src/fidesops/schemas/__init__.py | nathanawmk/fidesops | 1ab840206a78e60673aebd5838ba567095512a58 | [
"Apache-2.0"
] | 12 | 2021-11-02T00:44:51.000Z | 2022-03-14T16:23:10.000Z | from .msg import Msg
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
c9338e2ee852358bb7bceac04ff546088a77b0fe | 2,401 | py | Python | flare/agent_zoo/simple_rl_agents.py | wangyang59/flare | 5438f8c492b729d28d3b51e3ce1a4bfc46bd5e58 | [
"Apache-2.0"
] | null | null | null | flare/agent_zoo/simple_rl_agents.py | wangyang59/flare | 5438f8c492b729d28d3b51e3ce1a4bfc46bd5e58 | [
"Apache-2.0"
] | null | null | null | flare/agent_zoo/simple_rl_agents.py | wangyang59/flare | 5438f8c492b729d28d3b51e3ce1a4bfc46bd5e58 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from flare.framework.agent import Agent
class SimpleRLAgent(Agent):
"""
This class serves as an example of simple RL algorithms, which has only one
ComputationTask, "RL", i.e., using and learning an RL policy.
By using different AgentHelpers, this Agent can be applied to either on-... | 36.938462 | 84 | 0.639317 | 312 | 2,401 | 4.737179 | 0.259615 | 0.070365 | 0.075778 | 0.048714 | 0.812585 | 0.784168 | 0.780108 | 0.724628 | 0.724628 | 0.724628 | 0 | 0.010615 | 0.254477 | 2,401 | 64 | 85 | 37.515625 | 0.815084 | 0.21616 | 0 | 0.564103 | 0 | 0 | 0.005473 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 1 | 0.179487 | false | 0 | 0.051282 | 0.025641 | 0.358974 | 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 |
c939e705e3773d6d71ea8272051594a829a4935e | 118 | py | Python | Commands/JDR/__init__.py | Naopil/EldenBot | 2b6f4e98dcfdf3720a6c4add4f694d0e15cd575a | [
"MIT"
] | null | null | null | Commands/JDR/__init__.py | Naopil/EldenBot | 2b6f4e98dcfdf3720a6c4add4f694d0e15cd575a | [
"MIT"
] | 1 | 2019-11-16T19:01:01.000Z | 2019-11-16T19:01:01.000Z | Commands/JDR/__init__.py | Naopil/EldenBot | 2b6f4e98dcfdf3720a6c4add4f694d0e15cd575a | [
"MIT"
] | 4 | 2018-07-22T23:13:26.000Z | 2022-03-29T17:06:50.000Z | from .Mith import CmdJdrMith
from .pnj_manager import CmdPNJManager
class CmdJdr(CmdJdrMith, CmdPNJManager):
pass | 23.6 | 40 | 0.813559 | 14 | 118 | 6.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 5 | 41 | 23.6 | 0.931373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c98087cc38c151bcc189a5f2088f2ae84288328c | 119 | py | Python | sqlite3/jiekou2.py | reverie2007/LearnPython | 135bcaa53531c2254ce06be69897bf95230a6889 | [
"MIT"
] | null | null | null | sqlite3/jiekou2.py | reverie2007/LearnPython | 135bcaa53531c2254ce06be69897bf95230a6889 | [
"MIT"
] | null | null | null | sqlite3/jiekou2.py | reverie2007/LearnPython | 135bcaa53531c2254ce06be69897bf95230a6889 | [
"MIT"
] | null | null | null | from jiekou import *
print("I am jiekou2 model:", num)
def jiekou_func1():
print("I am a string in function!")
| 13.222222 | 39 | 0.663866 | 19 | 119 | 4.105263 | 0.789474 | 0.153846 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.210084 | 119 | 8 | 40 | 14.875 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0.378151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a330e4903dd4f11b8e6324ec154ea28f4f0369b3 | 47 | py | Python | data/states/snake_splash/__init__.py | iminurnamez/Python_Arcade_Collab | 67702414ed30addd1bf46339bb458df34ed88f2a | [
"CC0-1.0"
] | 2 | 2018-08-02T15:28:45.000Z | 2022-02-09T07:45:18.000Z | data/states/snake_splash/__init__.py | iminurnamez/Python_Arcade_Collab | 67702414ed30addd1bf46339bb458df34ed88f2a | [
"CC0-1.0"
] | null | null | null | data/states/snake_splash/__init__.py | iminurnamez/Python_Arcade_Collab | 67702414ed30addd1bf46339bb458df34ed88f2a | [
"CC0-1.0"
] | null | null | null | from .snake_splash import SnakeSplash as Scene
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 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 |
6e55b6d186c5c0bad4cad70b55a3e72b26b4cbd6 | 118 | py | Python | sql_gen/test/utils/package_example/module_example2.py | vecin2/em_automation | b65bc498cc7c366d06425e51aaf04b970d581050 | [
"MIT"
] | null | null | null | sql_gen/test/utils/package_example/module_example2.py | vecin2/em_automation | b65bc498cc7c366d06425e51aaf04b970d581050 | [
"MIT"
] | 84 | 2018-09-15T21:36:23.000Z | 2021-12-13T19:49:57.000Z | sql_gen/test/utils/package_example/module_example2.py | vecin2/em_automation | b65bc498cc7c366d06425e51aaf04b970d581050 | [
"MIT"
] | null | null | null | def get_template_filter():
return example_filter2
def example_filter2(string):
return "Example2: " + string
| 16.857143 | 32 | 0.737288 | 14 | 118 | 5.928571 | 0.642857 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.177966 | 118 | 6 | 33 | 19.666667 | 0.824742 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6e83575b155ce91bcf1112ba78f6cae5d7e9e9dc | 100 | py | Python | __init__.py | nikhil12-cmd/nikhil12345678 | 1aa14b385b6a18b8b4c7e323642448e9bb0ff41b | [
"MIT"
] | null | null | null | __init__.py | nikhil12-cmd/nikhil12345678 | 1aa14b385b6a18b8b4c7e323642448e9bb0ff41b | [
"MIT"
] | null | null | null | __init__.py | nikhil12-cmd/nikhil12345678 | 1aa14b385b6a18b8b4c7e323642448e9bb0ff41b | [
"MIT"
] | null | null | null | from .anprLabelProcessor import AnprLabelProcessor
from .anprdatasetloader import AnprDatasetLoader
| 33.333333 | 50 | 0.9 | 8 | 100 | 11.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 2 | 51 | 50 | 0.978261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6eb7728959f0bf4a8b5c4625deb4f1326c7cd4b7 | 52 | py | Python | test/cases/func_ng.py | nya3jp/end | c001590604e50ab78402420eba4f26ba3d0ed406 | [
"Apache-2.0"
] | 9 | 2016-12-08T15:15:31.000Z | 2019-07-11T21:55:42.000Z | test/cases/func_ng.py | nya3jp/end | c001590604e50ab78402420eba4f26ba3d0ed406 | [
"Apache-2.0"
] | 2 | 2016-10-30T14:53:32.000Z | 2018-04-09T12:41:05.000Z | test/cases/func_ng.py | nya3jp/end | c001590604e50ab78402420eba4f26ba3d0ed406 | [
"Apache-2.0"
] | 2 | 2017-03-20T02:41:00.000Z | 2020-03-16T06:51:58.000Z | import end
def f():
pass
# end is missing here
| 8.666667 | 21 | 0.634615 | 9 | 52 | 3.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288462 | 52 | 5 | 22 | 10.4 | 0.891892 | 0.365385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
42ceeea3422b668f9274ef66b0898d8fadf051a0 | 223 | py | Python | pearce/mocks/__init__.py | mclaughlin6464/pearce | 746f2bf4bf45e904d66996e003043661a01423ba | [
"MIT"
] | null | null | null | pearce/mocks/__init__.py | mclaughlin6464/pearce | 746f2bf4bf45e904d66996e003043661a01423ba | [
"MIT"
] | 16 | 2016-11-04T22:24:32.000Z | 2018-05-01T22:53:39.000Z | pearce/mocks/__init__.py | mclaughlin6464/pearce | 746f2bf4bf45e904d66996e003043661a01423ba | [
"MIT"
] | 3 | 2016-10-04T08:07:52.000Z | 2019-05-03T23:50:01.000Z | from .cat import *
from .customHODModels import *
from .kittens import *
from .assembias_models import *
from .tpcfSubregions import *
from .void_density_function import *
from readGadgetSnapshot import readGadgetSnapshot
| 27.875 | 49 | 0.816143 | 25 | 223 | 7.16 | 0.48 | 0.335196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130045 | 223 | 7 | 50 | 31.857143 | 0.92268 | 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 |
6e1ac1e9db4a9df0927af3bab5159e674249569b | 181 | py | Python | pywi/io/__init__.py | jeremiedecock/mrif | 094b0dd81ff2be0e24bf3871caab48da1b5d138b | [
"MIT"
] | 1 | 2021-07-06T06:02:45.000Z | 2021-07-06T06:02:45.000Z | pywi/io/__init__.py | jeremiedecock/mrif | 094b0dd81ff2be0e24bf3871caab48da1b5d138b | [
"MIT"
] | null | null | null | pywi/io/__init__.py | jeremiedecock/mrif | 094b0dd81ff2be0e24bf3871caab48da1b5d138b | [
"MIT"
] | 1 | 2019-01-07T10:50:38.000Z | 2019-01-07T10:50:38.000Z | """Input/output modules
This package contains modules used to load and save data (mostly images).
"""
from . import fits
from . import images
from . import pil
from . import plot
| 18.1 | 73 | 0.740331 | 27 | 181 | 4.962963 | 0.703704 | 0.298507 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18232 | 181 | 9 | 74 | 20.111111 | 0.905405 | 0.524862 | 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 |
2818279753e9157755886eb0710600ceed1b78b1 | 178 | py | Python | hw/andrey_yelin/lesson_04/functions_l04.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 9 | 2021-12-10T21:30:07.000Z | 2022-02-25T21:32:34.000Z | hw/andrey_yelin/lesson_04/functions_l04.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 22 | 2021-12-11T08:46:58.000Z | 2022-02-02T15:56:37.000Z | hw/andrey_yelin/lesson_04/functions_l04.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 8 | 2021-12-11T09:15:45.000Z | 2022-02-02T08:09:09.000Z | def fuc() -> None:
return None
def fua() -> bool:
return True
def fub() -> bool:
return False
def fud() -> int:
return -1
def fue() -> str:
return ""
| 9.368421 | 18 | 0.516854 | 24 | 178 | 3.833333 | 0.583333 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.325843 | 178 | 18 | 19 | 9.888889 | 0.758333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
283f313136493445a5791cb5b78cc4191b5687ad | 9,411 | py | Python | aws_organized/cli.py | aws-samples/aws-organized | 934504f9b4a5851e846be668e0913dc37fa2d22b | [
"Apache-2.0"
] | 11 | 2021-01-03T22:52:40.000Z | 2022-02-23T21:27:02.000Z | aws_organized/cli.py | aws-samples/aws-organized | 934504f9b4a5851e846be668e0913dc37fa2d22b | [
"Apache-2.0"
] | 4 | 2021-02-26T11:08:25.000Z | 2021-11-30T12:41:23.000Z | aws_organized/cli.py | aws-samples/aws-organized | 934504f9b4a5851e846be668e0913dc37fa2d22b | [
"Apache-2.0"
] | 3 | 2021-01-16T13:49:17.000Z | 2022-03-22T10:15:49.000Z | # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import os
import click
from aws_organized import helpers
from aws_organized import aws_organized
from aws_organized.extensions.service_control_policies import service_control_policies
from aws_organized.exten... | 33.610714 | 86 | 0.720965 | 1,163 | 9,411 | 5.546002 | 0.105761 | 0.083566 | 0.047442 | 0.043411 | 0.857519 | 0.842016 | 0.789767 | 0.742171 | 0.69938 | 0.69938 | 0 | 0.000742 | 0.14058 | 9,411 | 279 | 87 | 33.731183 | 0.796736 | 0.011901 | 0 | 0.735772 | 0 | 0 | 0.193715 | 0.06102 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056911 | false | 0.004065 | 0.069106 | 0 | 0.126016 | 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 |
c269dc0671b0274c439720a11d8cbd3bf6fd22d3 | 215 | py | Python | level0/question93.py | kevin00000000/Python-programming-exercises | 87546906d817263ae7ddbd0276f0bb36e0d63c41 | [
"MIT"
] | null | null | null | level0/question93.py | kevin00000000/Python-programming-exercises | 87546906d817263ae7ddbd0276f0bb36e0d63c41 | [
"MIT"
] | null | null | null | level0/question93.py | kevin00000000/Python-programming-exercises | 87546906d817263ae7ddbd0276f0bb36e0d63c41 | [
"MIT"
] | null | null | null | class Person:
pass
class Male(Person):
def getGender(self):
return 'Male'
class Female(Person):
def getGender(self):
return 'Female'
print(Male().getGender())
print(Female().getGender()) | 19.545455 | 27 | 0.646512 | 25 | 215 | 5.56 | 0.4 | 0.129496 | 0.258993 | 0.316547 | 0.402878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 215 | 11 | 27 | 19.545455 | 0.817647 | 0 | 0 | 0.2 | 0 | 0 | 0.046296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.1 | 0 | 0.2 | 0.7 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
c281b57a536862647941f80427799955a9f89385 | 925 | py | Python | BFM17_POM1D_VrsFnl/src/pom/coupling/pom_bfm_1d.py | kyleniemeyer/pyPOM1D | 4eeb1ca16abe07d039c634f2338ebac395692362 | [
"BSD-3-Clause"
] | null | null | null | BFM17_POM1D_VrsFnl/src/pom/coupling/pom_bfm_1d.py | kyleniemeyer/pyPOM1D | 4eeb1ca16abe07d039c634f2338ebac395692362 | [
"BSD-3-Clause"
] | null | null | null | BFM17_POM1D_VrsFnl/src/pom/coupling/pom_bfm_1d.py | kyleniemeyer/pyPOM1D | 4eeb1ca16abe07d039c634f2338ebac395692362 | [
"BSD-3-Clause"
] | null | null | null | # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# MODEL POM - Princeton Ocean Model
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# # ROUTINE: pom_bfm
#
# DESCRIPTION
#
... | 16.818182 | 120 | 0.215135 | 35 | 925 | 5.657143 | 0.742857 | 0.080808 | 0.171717 | 0.222222 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114595 | 925 | 54 | 121 | 17.12963 | 0.241758 | 0.900541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c2d2486c276fa839188110acb93250099c5f69b6 | 33 | py | Python | docs/conf.py | oisinmulvihill/pp-web-base | 0be51b1d98c4923e1f4ccbfaea59ae662a8c5cdc | [
"BSD-3-Clause"
] | null | null | null | docs/conf.py | oisinmulvihill/pp-web-base | 0be51b1d98c4923e1f4ccbfaea59ae662a8c5cdc | [
"BSD-3-Clause"
] | null | null | null | docs/conf.py | oisinmulvihill/pp-web-base | 0be51b1d98c4923e1f4ccbfaea59ae662a8c5cdc | [
"BSD-3-Clause"
] | null | null | null | from pkglib.sphinx.conf import *
| 16.5 | 32 | 0.787879 | 5 | 33 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c2d5987ef6e1557be50d3fe62a042d6c026244dc | 4,256 | py | Python | tests/styling_tests/method_spacing_declaration_test.py | alexmakii/bslint | 0795467166ca10c362fecc12ac17765cb85b659b | [
"BSD-3-Clause"
] | null | null | null | tests/styling_tests/method_spacing_declaration_test.py | alexmakii/bslint | 0795467166ca10c362fecc12ac17765cb85b659b | [
"BSD-3-Clause"
] | null | null | null | tests/styling_tests/method_spacing_declaration_test.py | alexmakii/bslint | 0795467166ca10c362fecc12ac17765cb85b659b | [
"BSD-3-Clause"
] | 1 | 2017-04-12T09:39:54.000Z | 2017-04-12T09:39:54.000Z | import os
import unittest
from filepaths import TEST_CONFIG_FILE_PATH
from filepaths import TESTS_CONFIG_PATH
from tests.resources.common.test_methods import CommonMethods as Common
import bslint
class TestMethodSpacingDeclaration(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.active_metho... | 54.564103 | 103 | 0.731673 | 509 | 4,256 | 5.624754 | 0.13556 | 0.080335 | 0.108977 | 0.127139 | 0.847363 | 0.819071 | 0.803702 | 0.768774 | 0.768774 | 0.768774 | 0 | 0 | 0.197133 | 4,256 | 77 | 104 | 55.272727 | 0.837869 | 0 | 0 | 0.47619 | 0 | 0 | 0.12735 | 0.049342 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.095238 | 0 | 0.301587 | 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 |
c2e9b19f6fcad31c3c3d1c9c62e142b5da8a3b53 | 46 | py | Python | cfmreslib/__init__.py | CloudSnorkel/cfm-reslib | 326b372c2a07114551c13b48293553cdcebca3f9 | [
"MIT"
] | 10 | 2019-04-10T07:55:00.000Z | 2021-12-21T01:19:34.000Z | cfmreslib/__init__.py | CloudSnorkel/cfm-reslib | 326b372c2a07114551c13b48293553cdcebca3f9 | [
"MIT"
] | 1 | 2021-03-26T08:40:35.000Z | 2021-03-26T08:40:35.000Z | cfmreslib/__init__.py | CloudSnorkel/cfm-reslib | 326b372c2a07114551c13b48293553cdcebca3f9 | [
"MIT"
] | 1 | 2019-05-07T20:18:50.000Z | 2019-05-07T20:18:50.000Z | from cfmreslib.resources import ALL_RESOURCES
| 23 | 45 | 0.891304 | 6 | 46 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 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 |
c2f4ca3d2c43deb48b64463b8475009f0119ea5c | 4,944 | py | Python | test/plot_pert.py | itpplasma/NEO-RT | b0b8022d522bc97d0ffa721fd30167e74a0965a3 | [
"MIT"
] | null | null | null | test/plot_pert.py | itpplasma/NEO-RT | b0b8022d522bc97d0ffa721fd30167e74a0965a3 | [
"MIT"
] | 1 | 2020-10-29T12:44:06.000Z | 2020-10-29T12:45:04.000Z | test/plot_pert.py | itpplasma/NEO-RT | b0b8022d522bc97d0ffa721fd30167e74a0965a3 | [
"MIT"
] | 1 | 2020-11-02T13:03:35.000Z | 2020-11-02T13:03:35.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jun 8 18:07:06 2017
@author: ert
"""
import numpy as np
import matplotlib.pyplot as plt
import scipy.interpolate as spi
data = np.loadtxt('orbit/bnoverb0_max_TFripple_RMP90_pgf.dat')
sint = np.append(data[:,2]**2,1.0)
epsint = np.append(data[:,3]/2.... | 44.945455 | 79 | 0.627832 | 887 | 4,944 | 3.487035 | 0.205186 | 0.358875 | 0.43065 | 0.311025 | 0.646621 | 0.636922 | 0.636922 | 0.636922 | 0.636922 | 0.636922 | 0 | 0.490281 | 0.209142 | 4,944 | 109 | 80 | 45.357798 | 0.300767 | 0.727751 | 0 | 0.285714 | 0 | 0 | 0.102644 | 0.048989 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.085714 | 0 | 0.085714 | 0.028571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c25aa1005ed1017967e1eaf16eb3aba5381c7ee | 15,013 | py | Python | tests/test_argument_parser.py | wllmsash/yget | cb3828c62afc00655d8a3e72987c6c563c437580 | [
"MIT"
] | null | null | null | tests/test_argument_parser.py | wllmsash/yget | cb3828c62afc00655d8a3e72987c6c563c437580 | [
"MIT"
] | null | null | null | tests/test_argument_parser.py | wllmsash/yget | cb3828c62afc00655d8a3e72987c6c563c437580 | [
"MIT"
] | null | null | null | import unittest
from yget.argument_parser import ArgumentParser
class TestArgumentParser(unittest.TestCase):
def make_argument_parser(self, argv):
return ArgumentParser(argv)
def test_construction_with_none_argv_throws(self):
with self.assertRaises(ValueError) as wrapped_e:
self.m... | 42.529745 | 146 | 0.700193 | 1,789 | 15,013 | 5.444941 | 0.088876 | 0.140848 | 0.078021 | 0.075968 | 0.856996 | 0.818396 | 0.805667 | 0.760086 | 0.726619 | 0.698388 | 0 | 0.002816 | 0.195897 | 15,013 | 352 | 147 | 42.650568 | 0.804092 | 0 | 0 | 0.558704 | 0 | 0.008097 | 0.160805 | 0.012257 | 0 | 0 | 0 | 0 | 0.319838 | 1 | 0.1417 | false | 0.004049 | 0.008097 | 0.004049 | 0.157895 | 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 |
6c5261a470288862bc8354bd5454ae97c911bc84 | 79 | py | Python | src/pages/pe_precios_mercado.py | ValentinSilvestri/cammesa | 33ff17ad4a0447fd4668b6adad1c4bbfd88aba8e | [
"MIT"
] | null | null | null | src/pages/pe_precios_mercado.py | ValentinSilvestri/cammesa | 33ff17ad4a0447fd4668b6adad1c4bbfd88aba8e | [
"MIT"
] | null | null | null | src/pages/pe_precios_mercado.py | ValentinSilvestri/cammesa | 33ff17ad4a0447fd4668b6adad1c4bbfd88aba8e | [
"MIT"
] | null | null | null | import streamlit as st
def write():
st.write("Currently working on it...") | 19.75 | 42 | 0.683544 | 12 | 79 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 79 | 4 | 42 | 19.75 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6c6ca3c5c285decac10364003f20c84bc35ee619 | 249 | py | Python | mindhome_alpha/erpnext/patches/v11_0/update_hub_url.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:55:29.000Z | 2021-04-29T14:55:29.000Z | mindhome_alpha/erpnext/patches/v11_0/update_hub_url.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | null | null | null | mindhome_alpha/erpnext/patches/v11_0/update_hub_url.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:39:01.000Z | 2021-04-29T14:39:01.000Z | from __future__ import unicode_literals
import frappe
def execute():
frappe.reload_doc('hub_node', 'doctype', 'Marketplace Settings')
frappe.db.set_value('Marketplace Settings', 'Marketplace Settings', 'marketplace_url', 'https://hubmarket.org')
| 35.571429 | 112 | 0.783133 | 30 | 249 | 6.2 | 0.733333 | 0.306452 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 249 | 6 | 113 | 41.5 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.445783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
66dd70d8d93408db000d782e6dc5a32542e5eeb6 | 28 | py | Python | tests/conftest.py | tomaszkurgan/pwdzip | cfecc635b2ea557170310b404237c2edb32eee6d | [
"PSF-2.0"
] | null | null | null | tests/conftest.py | tomaszkurgan/pwdzip | cfecc635b2ea557170310b404237c2edb32eee6d | [
"PSF-2.0"
] | null | null | null | tests/conftest.py | tomaszkurgan/pwdzip | cfecc635b2ea557170310b404237c2edb32eee6d | [
"PSF-2.0"
] | null | null | null | from pytesting.all import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
66edeee6afaa7a34e8e7b5b96679bb274bb0c1a6 | 173 | py | Python | project/app/blueprints/main/views.py | pjryan126/flask-docker | 00f49b925056394e537a3acbe2985b6685bdc660 | [
"MIT"
] | 1 | 2018-04-26T22:33:05.000Z | 2018-04-26T22:33:05.000Z | project/app/blueprints/main/views.py | pjryan126/flask-docker | 00f49b925056394e537a3acbe2985b6685bdc660 | [
"MIT"
] | 3 | 2017-10-27T16:00:38.000Z | 2017-10-27T16:12:28.000Z | project/app/blueprints/main/views.py | pjryan126/flask-docker | 00f49b925056394e537a3acbe2985b6685bdc660 | [
"MIT"
] | null | null | null | from flask import jsonify, make_response
from . import main
@main.route('/', methods=['GET'])
def index():
return make_response(jsonify(dict(message='hello world')))
| 19.222222 | 62 | 0.710983 | 23 | 173 | 5.26087 | 0.73913 | 0.198347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132948 | 173 | 8 | 63 | 21.625 | 0.806667 | 0 | 0 | 0 | 0 | 0 | 0.086705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
dd0552fb30d14d834bb1d4eafd907ae511f5918a | 123 | py | Python | src/environments/identities/traits/constants.py | augustuswm/flagsmith-api | 6f37947fe3791726a92b4df2cdbded11e77387d3 | [
"BSD-3-Clause"
] | 1 | 2021-01-06T17:32:26.000Z | 2021-01-06T17:32:26.000Z | src/environments/identities/traits/constants.py | augustuswm/flagsmith-api | 6f37947fe3791726a92b4df2cdbded11e77387d3 | [
"BSD-3-Clause"
] | null | null | null | src/environments/identities/traits/constants.py | augustuswm/flagsmith-api | 6f37947fe3791726a92b4df2cdbded11e77387d3 | [
"BSD-3-Clause"
] | null | null | null | from features.utils import INTEGER, STRING, BOOLEAN, FLOAT
ACCEPTED_TRAIT_VALUE_TYPES = [INTEGER, STRING, BOOLEAN, FLOAT]
| 30.75 | 62 | 0.804878 | 16 | 123 | 6 | 0.75 | 0.270833 | 0.416667 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 3 | 63 | 41 | 0.880734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dd397517b150418809d75fb032ba3f748f4809ea | 411 | py | Python | gym_envs/envs/__init__.py | gautams3/reacher-done | 6420f4ea3e0f6e47a3ebe25dbe170a9030b03b01 | [
"MIT"
] | 1 | 2021-11-13T13:51:37.000Z | 2021-11-13T13:51:37.000Z | gym_envs/envs/__init__.py | gautams3/reacher-done | 6420f4ea3e0f6e47a3ebe25dbe170a9030b03b01 | [
"MIT"
] | null | null | null | gym_envs/envs/__init__.py | gautams3/reacher-done | 6420f4ea3e0f6e47a3ebe25dbe170a9030b03b01 | [
"MIT"
] | 2 | 2021-04-08T12:48:29.000Z | 2021-05-09T02:04:33.000Z | from gym_envs.envs.reacher_done import ReacherDoneEnv
from gym_envs.envs.fetch_reacher_done import FetchReacherDoneEnv
from gym_envs.envs.fetch_pnp_done import FetchPnPDoneEnv
from gym_envs.envs.half_cheetah_v3 import HalfCheetahSoftEnv
from gym_envs.envs.panda_reacher_env import PandaReachEnv
from gym_envs.envs.panda_... | 51.375 | 64 | 0.89781 | 61 | 411 | 5.737705 | 0.377049 | 0.14 | 0.22 | 0.3 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002611 | 0.068127 | 411 | 7 | 65 | 58.714286 | 0.911227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd4bd7c9e37ce58f21002299145aad2507c61d10 | 31 | py | Python | hcanet/nn/__init__.py | douglasrizzo/hcanet | e8d434e58b62f5afc0085529e9db012e07669705 | [
"Apache-2.0"
] | null | null | null | hcanet/nn/__init__.py | douglasrizzo/hcanet | e8d434e58b62f5afc0085529e9db012e07669705 | [
"Apache-2.0"
] | null | null | null | hcanet/nn/__init__.py | douglasrizzo/hcanet | e8d434e58b62f5afc0085529e9db012e07669705 | [
"Apache-2.0"
] | 1 | 2021-10-07T12:19:28.000Z | 2021-10-07T12:19:28.000Z | from .nets import HeteroMAGNet
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd576a0fc1655c5e668911748f57156dae109bb0 | 50 | py | Python | siapp/blueprints/signup/__init__.py | saidulislam/siapp-python-crud-template | 4ee8ae8855f703eee36031244341a88f5c8dd2e2 | [
"Apache-2.0"
] | null | null | null | siapp/blueprints/signup/__init__.py | saidulislam/siapp-python-crud-template | 4ee8ae8855f703eee36031244341a88f5c8dd2e2 | [
"Apache-2.0"
] | null | null | null | siapp/blueprints/signup/__init__.py | saidulislam/siapp-python-crud-template | 4ee8ae8855f703eee36031244341a88f5c8dd2e2 | [
"Apache-2.0"
] | null | null | null | from siapp.blueprints.signup.views import signup
| 25 | 49 | 0.84 | 7 | 50 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 1 | 50 | 50 | 0.933333 | 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 |
dd6ba4bec0eb47d3192d2adb0c48c51ee1e15845 | 104 | py | Python | domain_model/__init__.py | probablytom/bpi_13_python | ef042674d3d40857237511af1fbca59ede97e75e | [
"MIT"
] | null | null | null | domain_model/__init__.py | probablytom/bpi_13_python | ef042674d3d40857237511af1fbca59ede97e75e | [
"MIT"
] | null | null | null | domain_model/__init__.py | probablytom/bpi_13_python | ef042674d3d40857237511af1fbca59ede97e75e | [
"MIT"
] | null | null | null | from bpi13_actors import *
from bpi13_model import *
from utils import *
from document_emission import * | 26 | 31 | 0.817308 | 15 | 104 | 5.466667 | 0.533333 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0.144231 | 104 | 4 | 31 | 26 | 0.876404 | 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 |
dda2396f1bcfd1fb4dca195d02a0b6dc18574d24 | 13,143 | py | Python | labware-library/cypress/fixtures/TestLabwareProtocol.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | 235 | 2017-10-27T20:37:27.000Z | 2022-03-30T14:09:49.000Z | labware-library/cypress/fixtures/TestLabwareProtocol.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | 8,425 | 2017-10-26T15:25:43.000Z | 2022-03-31T23:54:26.000Z | labware-library/cypress/fixtures/TestLabwareProtocol.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | 130 | 2017-11-09T21:02:37.000Z | 2022-03-15T18:01:24.000Z | import json
from opentrons import protocol_api, types
TEST_LABWARE_SLOT = '5'
RATE = 0.25 # % of default speeds
PIPETTE_MOUNT = 'right'
PIPETTE_NAME = 'p10_single'
TIPRACK_SLOT = '11'
TIPRACK_LOADNAME = 'opentrons_96_tiprack_20ul'
LABWARE_DEF_JSON = """{"ordering":[["A1","B1","C1"],["A2","B2","C2"],["A3","B3","C3... | 51.948617 | 2,107 | 0.565016 | 1,707 | 13,143 | 4.155829 | 0.111892 | 0.040598 | 0.071046 | 0.116718 | 0.74415 | 0.714125 | 0.714125 | 0.705667 | 0.705667 | 0.697068 | 0 | 0.04451 | 0.275204 | 13,143 | 253 | 2,108 | 51.948617 | 0.700189 | 0.040326 | 0 | 0.684729 | 0 | 0.004926 | 0.272828 | 0.165952 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009852 | false | 0 | 0.009852 | 0 | 0.019704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
06bfe5155133e66a1f721423e47d358d006522a0 | 1,814 | py | Python | formalchemy/tests/test_json.py | coredumperror/formalchemy | 6d89bb3ac19248e114684df17bbf3885dc26de3e | [
"MIT"
] | 20 | 2015-01-25T13:54:08.000Z | 2021-03-09T16:54:53.000Z | formalchemy/tests/test_json.py | coredumperror/formalchemy | 6d89bb3ac19248e114684df17bbf3885dc26de3e | [
"MIT"
] | 11 | 2015-02-05T16:36:19.000Z | 2020-11-13T11:41:19.000Z | formalchemy/tests/test_json.py | coredumperror/formalchemy | 6d89bb3ac19248e114684df17bbf3885dc26de3e | [
"MIT"
] | 12 | 2015-02-19T14:06:21.000Z | 2021-07-30T08:44:45.000Z | # -*- coding: utf-8 -*-
from formalchemy.tests import *
from formalchemy.fields import PasswordFieldRenderer
try:
import json
except ImportError:
import simplejson as json
def to_dict():
"""
>>> fs = FieldSet(User, session=session)
>>> _ = fs.password.set(renderer=PasswordFieldRenderer)
>>> so... | 32.392857 | 109 | 0.588203 | 270 | 1,814 | 3.896296 | 0.255556 | 0.015209 | 0.06654 | 0.041825 | 0.531369 | 0.531369 | 0.495247 | 0.465779 | 0.465779 | 0.465779 | 0 | 0.013414 | 0.17806 | 1,814 | 55 | 110 | 32.981818 | 0.692153 | 0.8043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.125 | 0.625 | 0 | 0.875 | 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 |
66482e7ef83f8a1296de72f311a4322d13b67fb5 | 170 | py | Python | common/admin.py | rokj/django_basketball | beda23b83f9a0fb4000e63592754c10eb1a5844c | [
"MIT"
] | 1 | 2016-01-31T22:15:08.000Z | 2016-01-31T22:15:08.000Z | common/admin.py | rokj/django_basketball | beda23b83f9a0fb4000e63592754c10eb1a5844c | [
"MIT"
] | null | null | null | common/admin.py | rokj/django_basketball | beda23b83f9a0fb4000e63592754c10eb1a5844c | [
"MIT"
] | null | null | null | import datetime
from django.contrib import admin
from django import forms
from django.db import models
from common.models import Settings
admin.site.register(Settings)
| 18.888889 | 34 | 0.835294 | 25 | 170 | 5.68 | 0.52 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123529 | 170 | 8 | 35 | 21.25 | 0.95302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
b0899176b3454ee5f1596e716b51a2098233a58a | 45,065 | py | Python | test/connectivity/acts/framework/acts/test_utils/tel/tel_voice_utils.py | Keneral/atools | 055e76621340c7dced125e9de56e2645b5e1cdfb | [
"Unlicense"
] | null | null | null | test/connectivity/acts/framework/acts/test_utils/tel/tel_voice_utils.py | Keneral/atools | 055e76621340c7dced125e9de56e2645b5e1cdfb | [
"Unlicense"
] | null | null | null | test/connectivity/acts/framework/acts/test_utils/tel/tel_voice_utils.py | Keneral/atools | 055e76621340c7dced125e9de56e2645b5e1cdfb | [
"Unlicense"
] | 1 | 2018-02-24T19:13:01.000Z | 2018-02-24T19:13:01.000Z | #!/usr/bin/env python3.4
#
# Copyright 2016 - Google
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 34.348323 | 93 | 0.639964 | 6,185 | 45,065 | 4.380113 | 0.053355 | 0.028423 | 0.062456 | 0.069396 | 0.876158 | 0.850282 | 0.816286 | 0.788417 | 0.767487 | 0.720977 | 0 | 0.006466 | 0.289582 | 45,065 | 1,311 | 94 | 34.374523 | 0.839731 | 0.316188 | 0 | 0.543919 | 0 | 0 | 0.052657 | 0 | 0 | 0 | 0 | 0.003051 | 0 | 1 | 0.111486 | false | 0 | 0.097973 | 0.016892 | 0.418919 | 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 |
b0bdf5f94b2c54eb0af8ac4a392fdd2b1c8202bb | 2,398 | py | Python | tests/test_optimus.py | atwoodjw/Optimus | 938463cec41a6683d2077c9afc7d6ba05c3b993f | [
"Apache-2.0"
] | 1 | 2020-03-24T19:45:36.000Z | 2020-03-24T19:45:36.000Z | tests/test_optimus.py | atwoodjw/Optimus | 938463cec41a6683d2077c9afc7d6ba05c3b993f | [
"Apache-2.0"
] | 8 | 2020-11-13T18:58:19.000Z | 2022-02-10T02:01:47.000Z | tests/test_optimus.py | atwoodjw/Optimus | 938463cec41a6683d2077c9afc7d6ba05c3b993f | [
"Apache-2.0"
] | 1 | 2019-09-14T17:06:06.000Z | 2019-09-14T17:06:06.000Z | from pyspark.sql.types import *
from optimus import Optimus
import datetime
from pyspark.sql import functions as F
op = Optimus(master='local')
class TestOptimus(object):
@staticmethod
def test_create_df_one_column():
source_df = op.create.df([('name', StringType(), True)], [('Argenis',), ('Favio',),... | 46.115385 | 108 | 0.52794 | 257 | 2,398 | 4.731518 | 0.178988 | 0.098684 | 0.082237 | 0.098684 | 0.854441 | 0.832237 | 0.832237 | 0.832237 | 0.827303 | 0.822368 | 0 | 0.009217 | 0.276063 | 2,398 | 51 | 109 | 47.019608 | 0.691244 | 0 | 0 | 0.613636 | 0 | 0 | 0.069641 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 1 | 0.113636 | false | 0 | 0.090909 | 0 | 0.227273 | 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 |
b03a1c924373b5c9e1b13bd02ad4f1445368a429 | 33,839 | py | Python | kuhn/agents/agent.py | MorGriffiths/PokerAI | a68400f4918f10dde82574ad19654243c9a65024 | [
"MIT"
] | 2 | 2020-05-24T12:21:36.000Z | 2022-02-08T03:02:17.000Z | kuhn/agents/agent.py | MorGriffiths/PokerAI | a68400f4918f10dde82574ad19654243c9a65024 | [
"MIT"
] | 3 | 2017-04-28T00:25:18.000Z | 2018-03-18T20:51:20.000Z | kuhn/agents/agent.py | C5ipo7i/PokerAI | a68400f4918f10dde82574ad19654243c9a65024 | [
"MIT"
] | 2 | 2020-11-05T11:57:04.000Z | 2021-03-17T17:57:24.000Z |
import os
import random
import torch
import numpy as np
import torch.nn.functional as F
from torch.autograd import Variable as V
from torch import optim
import copy
from models.networks import Baseline,BaselineKuhnCritic,BaselineCritic
from models.model_utils import hard_update
import datatypes as pdt
device = torch... | 48.135135 | 138 | 0.641301 | 4,076 | 33,839 | 5.041462 | 0.064279 | 0.037958 | 0.043798 | 0.0073 | 0.817704 | 0.788408 | 0.747725 | 0.733758 | 0.700326 | 0.684754 | 0 | 0.005109 | 0.242324 | 33,839 | 703 | 139 | 48.135135 | 0.796365 | 0.118384 | 0 | 0.695187 | 0 | 0 | 0.08111 | 0.004463 | 0 | 0 | 0 | 0.001422 | 0 | 1 | 0.071301 | false | 0.001783 | 0.019608 | 0.008913 | 0.128342 | 0.016043 | 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 |
b041e374e9d3150372899d0061b998d5b5dbcf44 | 38 | py | Python | src/pymsi/__init__.py | AlanRace/pymsi | 8df490df86e4adab0072c900ecf84cfae2f6c083 | [
"MIT"
] | 1 | 2021-01-16T10:30:09.000Z | 2021-01-16T10:30:09.000Z | src/pymsi/__init__.py | AlanRace/pymsi | 8df490df86e4adab0072c900ecf84cfae2f6c083 | [
"MIT"
] | null | null | null | src/pymsi/__init__.py | AlanRace/pymsi | 8df490df86e4adab0072c900ecf84cfae2f6c083 | [
"MIT"
] | null | null | null | from .ImzMLHandler import ImzMLHandler | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 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 |
c6ac77a48524807f68aec5d6baa1725ade6134b4 | 157 | py | Python | app/admin/views/oplog.py | erics1996/D5-Video | cb07e211c821e805296f24d28c80ac6fb99bfd5d | [
"Apache-2.0"
] | 1 | 2020-09-26T14:03:48.000Z | 2020-09-26T14:03:48.000Z | app/admin/views/oplog.py | erics1996/d5_video | cb07e211c821e805296f24d28c80ac6fb99bfd5d | [
"Apache-2.0"
] | null | null | null | app/admin/views/oplog.py | erics1996/d5_video | cb07e211c821e805296f24d28c80ac6fb99bfd5d | [
"Apache-2.0"
] | null | null | null | from .. import admin
from flask import render_template
from .decorator import admin_login_decorator
@admin.route('/admin/')
def oplog_list():
return ''
| 19.625 | 44 | 0.757962 | 21 | 157 | 5.47619 | 0.619048 | 0.191304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140127 | 157 | 7 | 45 | 22.428571 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.044586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c6ed0b912073197033a3be4f84ec017accf32fa6 | 102 | py | Python | tgquote/preprocessing/__init__.py | grinrill/tgquote | 4d3d392f6c8f0e0905f0c70db80e9f3058688f58 | [
"MIT"
] | 2 | 2021-04-05T13:53:58.000Z | 2021-04-22T08:02:21.000Z | tgquote/preprocessing/__init__.py | grinrill/tgquote | 4d3d392f6c8f0e0905f0c70db80e9f3058688f58 | [
"MIT"
] | 5 | 2021-04-01T12:24:24.000Z | 2021-10-08T20:27:59.000Z | tgquote/preprocessing/__init__.py | grinrill/telegramimage | 4d3d392f6c8f0e0905f0c70db80e9f3058688f58 | [
"MIT"
] | 1 | 2021-04-22T08:11:36.000Z | 2021-04-22T08:11:36.000Z | from .messages_to_dict import *
from .markup import *
base_preprocessing = [messages_to_dict, markup] | 25.5 | 47 | 0.803922 | 14 | 102 | 5.5 | 0.571429 | 0.25974 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 4 | 47 | 25.5 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
05bcf381e314d3b0d619df437b113fd2dd1a07bc | 607 | py | Python | client/tests/fixtures.py | sventronix/fourinline | 09878e6264180846e30467a4bda712510fd58182 | [
"Apache-2.0"
] | null | null | null | client/tests/fixtures.py | sventronix/fourinline | 09878e6264180846e30467a4bda712510fd58182 | [
"Apache-2.0"
] | null | null | null | client/tests/fixtures.py | sventronix/fourinline | 09878e6264180846e30467a4bda712510fd58182 | [
"Apache-2.0"
] | null | null | null | import numpy as np
state_empty = np.zeros((6, 7))
state_1 = np.array([[0, 0, 0, 0, 0],
[0, 1, 1, 1, 0],
[0, 1, 1, 1, 1],
[0, 0, 0, 0, 0]])
result_1 = np.array([[[1, 1], [1, 2], [1, 3]],
[[2, 1], [2, 2], [2, 3], [2, 4]]])
state_2 = np.... | 27.590909 | 55 | 0.275124 | 100 | 607 | 1.62 | 0.16 | 0.222222 | 0.222222 | 0.197531 | 0.567901 | 0.54321 | 0.54321 | 0.54321 | 0.54321 | 0.54321 | 0 | 0.243902 | 0.459638 | 607 | 21 | 56 | 28.904762 | 0.25 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
af0cb6d281138926948e7550a6388b0a067ea39b | 65 | py | Python | authorization_system/authorization_system/__init__.py | daftcode/authorization-system | 9dec0c0717f168bee5b38791b80e4d4579977b18 | [
"MIT"
] | 7 | 2019-02-22T01:49:26.000Z | 2020-02-25T22:01:22.000Z | authorization_system/authorization_system/__init__.py | daftcode/authorization-system | 9dec0c0717f168bee5b38791b80e4d4579977b18 | [
"MIT"
] | null | null | null | authorization_system/authorization_system/__init__.py | daftcode/authorization-system | 9dec0c0717f168bee5b38791b80e4d4579977b18 | [
"MIT"
] | 5 | 2019-02-22T01:49:29.000Z | 2019-06-10T03:07:52.000Z | from . import document_processing
from . import face_recognition
| 21.666667 | 33 | 0.846154 | 8 | 65 | 6.625 | 0.75 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 2 | 34 | 32.5 | 0.929825 | 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 |
af5ad7e4e67604b77cb063407caaa33e7cc8246e | 27 | py | Python | scripts/pyqtgraph-develop/examples/__init__.py | kuldeepaman/tf-pose | 8050912c52a7b4f3c8a2656f267d47ba21d093f6 | [
"Apache-2.0"
] | 3 | 2021-07-12T16:15:01.000Z | 2021-07-13T09:27:54.000Z | gfmd/__init__.py | benhowes/outline-sync-action | 668ae344c9244225f498734ea2d3b28734040cb2 | [
"MIT"
] | 1 | 2021-07-12T11:07:56.000Z | 2021-07-12T11:07:56.000Z | gfmd/__init__.py | benhowes/outline-sync-action | 668ae344c9244225f498734ea2d3b28734040cb2 | [
"MIT"
] | 2 | 2021-01-21T11:01:43.000Z | 2021-08-13T20:08:32.000Z | from .__main__ import run
| 13.5 | 26 | 0.777778 | 4 | 27 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.772727 | 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 |
afb2a51405b5a441ba9b82dd2f4f548c199575a6 | 32 | py | Python | datetime_truncate/__init__.py | mediapop/datetime_truncate | da0285b2de2f30acf8a1c8a4263c1f07894caeed | [
"MIT"
] | 7 | 2015-05-07T19:22:58.000Z | 2021-12-23T09:29:14.000Z | datetime_truncate/__init__.py | mediapop/datetime_truncate | da0285b2de2f30acf8a1c8a4263c1f07894caeed | [
"MIT"
] | 4 | 2015-09-03T17:54:37.000Z | 2020-08-06T20:20:57.000Z | datetime_truncate/__init__.py | mediapop/datetime_truncate | da0285b2de2f30acf8a1c8a4263c1f07894caeed | [
"MIT"
] | 5 | 2015-09-02T20:28:34.000Z | 2020-04-23T08:36:59.000Z | from .datetime_truncate import * | 32 | 32 | 0.84375 | 4 | 32 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afca3b386eca3dccedeb672d30eedee9e591d1cf | 107 | py | Python | allabolag/__init__.py | marple-newsrobot/allabolag | e58a3c3c021e016b8ee815438578dac60f79f4d4 | [
"MIT"
] | 5 | 2019-10-22T10:36:40.000Z | 2021-07-04T08:41:45.000Z | allabolag/__init__.py | marple-newsrobot/allabolag | e58a3c3c021e016b8ee815438578dac60f79f4d4 | [
"MIT"
] | null | null | null | allabolag/__init__.py | marple-newsrobot/allabolag | e58a3c3c021e016b8ee815438578dac60f79f4d4 | [
"MIT"
] | 6 | 2019-10-22T10:41:54.000Z | 2022-01-05T20:21:01.000Z | from allabolag.company import Company
from allabolag.liquidated_companies import iter_liquidated_companies
| 35.666667 | 68 | 0.906542 | 13 | 107 | 7.230769 | 0.538462 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 107 | 2 | 69 | 53.5 | 0.949495 | 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 |
bb64faae0a1e8f54ae507bc0c00717cc6eb19f08 | 4,887 | py | Python | web/chats/migrations/0001_initial.py | FuzedxPheonix/peerstachio-opensource | f681c7454ee795667c32a785809b0f88e4d432fa | [
"Unlicense"
] | 2 | 2019-07-30T14:28:13.000Z | 2020-07-25T04:48:43.000Z | web/chats/migrations/0001_initial.py | FuzedxPheonix/peerstachio-opensource | f681c7454ee795667c32a785809b0f88e4d432fa | [
"Unlicense"
] | 9 | 2020-06-05T22:12:20.000Z | 2022-01-13T01:28:05.000Z | web/chats/migrations/0001_initial.py | FuzedxPheonix/peerstachio-opensource | f681c7454ee795667c32a785809b0f88e4d432fa | [
"Unlicense"
] | 1 | 2019-10-21T01:19:13.000Z | 2019-10-21T01:19:13.000Z | # Generated by Django 2.0.5 on 2018-11-12 18:34
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 46.542857 | 144 | 0.602415 | 490 | 4,887 | 5.85102 | 0.165306 | 0.041856 | 0.068364 | 0.107429 | 0.760726 | 0.760726 | 0.739798 | 0.711894 | 0.706662 | 0.694803 | 0 | 0.004166 | 0.263147 | 4,887 | 104 | 145 | 46.990385 | 0.792002 | 0.009208 | 0 | 0.680412 | 1 | 0 | 0.106818 | 0.013636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030928 | 0 | 0.072165 | 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 |
bb86c3689816170f5ee06057164d8fc3dd51e2a1 | 260 | py | Python | Geometry/TrackerNumberingBuilder/python/trackerNumberingExtraGeometry_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Geometry/TrackerNumberingBuilder/python/trackerNumberingExtraGeometry_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Geometry/TrackerNumberingBuilder/python/trackerNumberingExtraGeometry_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | from Geometry.TrackerNumberingExtraBuilder.trackerNumberingExtraGeometry_cfi import trackerNumberingExtraGeometry
from Configuration.ProcessModifiers.dd4hep_cff import dd4hep
dd4hep.toModify(trackerNumberingExtraGeometry, fromDDD = False, fromDD4hep = True)
| 43.333333 | 113 | 0.892308 | 21 | 260 | 10.952381 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016461 | 0.065385 | 260 | 5 | 114 | 52 | 0.930041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bbedc9f80648ca6773916703dc6bfbe29ebb2158 | 35 | py | Python | torchpercentile/__init__.py | aliutkus/torchpercentile | 0733faaee586b6e6c75d995677746de3bd0aa7d0 | [
"MIT"
] | 14 | 2019-05-05T11:43:06.000Z | 2021-07-05T19:52:01.000Z | torchpercentile/__init__.py | aliutkus/torchpercentile | 0733faaee586b6e6c75d995677746de3bd0aa7d0 | [
"MIT"
] | 2 | 2019-08-20T22:43:06.000Z | 2019-12-16T08:46:44.000Z | torchpercentile/__init__.py | aliutkus/torchpercentile | 0733faaee586b6e6c75d995677746de3bd0aa7d0 | [
"MIT"
] | 1 | 2020-09-09T06:42:50.000Z | 2020-09-09T06:42:50.000Z | from .percentile import Percentile
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
bbefbdeace1ed9afaf84d0b03b145de7cd336b30 | 293 | py | Python | src/python/WMComponent/DBS3Buffer/Oracle/DBSBufferFiles/BulkHeritageParent.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 21 | 2015-11-19T16:18:45.000Z | 2021-12-02T18:20:39.000Z | src/python/WMComponent/DBS3Buffer/Oracle/DBSBufferFiles/BulkHeritageParent.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 5,671 | 2015-01-06T14:38:52.000Z | 2022-03-31T22:11:14.000Z | src/python/WMComponent/DBS3Buffer/Oracle/DBSBufferFiles/BulkHeritageParent.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 67 | 2015-01-21T15:55:38.000Z | 2022-02-03T19:53:13.000Z | #!/usr/bin/env python
"""
_BulkHeritageParent_
Oracle implementation of DBSBufferFiles.HeritageLFNParent
"""
from WMComponent.DBS3Buffer.MySQL.DBSBufferFiles.BulkHeritageParent import BulkHeritageParent as MySQLBulkHeritageParent
class BulkHeritageParent(MySQLBulkHeritageParent):
pass
| 24.416667 | 120 | 0.849829 | 24 | 293 | 10.291667 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003731 | 0.085324 | 293 | 11 | 121 | 26.636364 | 0.91791 | 0.341297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a59fc74b6a61fcb7ffd5cdf82c83939621ae37c3 | 158 | py | Python | shop/admin.py | jagadisan8/E-commerce-site | da077f2c1265afd40b27e79d27fc2d5cc48df64f | [
"MIT"
] | null | null | null | shop/admin.py | jagadisan8/E-commerce-site | da077f2c1265afd40b27e79d27fc2d5cc48df64f | [
"MIT"
] | null | null | null | shop/admin.py | jagadisan8/E-commerce-site | da077f2c1265afd40b27e79d27fc2d5cc48df64f | [
"MIT"
] | null | null | null | from django.contrib import admin
from shop import models
# Register your models here.
admin.site.register(models.products)
admin.site.register(models.Order)
| 22.571429 | 36 | 0.816456 | 23 | 158 | 5.608696 | 0.565217 | 0.139535 | 0.263566 | 0.356589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 158 | 6 | 37 | 26.333333 | 0.908451 | 0.164557 | 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 |
3c08e22472593aba9e803d25135c93a7d843e12d | 4,209 | py | Python | user/vistas/widgets/head.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/widgets/head.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/widgets/head.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | doc+='''<head>\n <title>Privacy Policy</title>\n <meta charset="utf-8">\n <meta name="format-detection" content="telephone=no">\n <link rel="icon" href="images/favicon.ico" type="image/x-icon">\n <link rel="stylesheet" href="'''
try: doc+=str(data['base_url'])
except Exception as e: doc+=str(e)
doc+='''s... | 49.517647 | 243 | 0.657876 | 709 | 4,209 | 3.856135 | 0.139633 | 0.076079 | 0.161668 | 0.171178 | 0.764813 | 0.76079 | 0.742502 | 0.739941 | 0.714338 | 0.690929 | 0 | 0.002646 | 0.101924 | 4,209 | 85 | 244 | 49.517647 | 0.720635 | 0 | 0 | 0.611765 | 0 | 0.2 | 0.509501 | 0.260333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.023529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3c0cb7996894af873c49ce7c861c1e9ed66f2c38 | 24 | py | Python | RST/ODSAextensions/odsa/avembed/__init__.py | dwgillies/OpenDSA | e012925896070a86bd7c3a4cbb75fa5682d9b9e2 | [
"MIT"
] | 200 | 2015-02-08T05:27:52.000Z | 2022-03-23T02:44:38.000Z | RST/ODSAextensions/odsa/avembed/__init__.py | dwgillies/OpenDSA | e012925896070a86bd7c3a4cbb75fa5682d9b9e2 | [
"MIT"
] | 119 | 2015-03-22T22:38:21.000Z | 2022-03-15T04:38:52.000Z | RST/ODSAextensions/odsa/avembed/__init__.py | dwgillies/OpenDSA | e012925896070a86bd7c3a4cbb75fa5682d9b9e2 | [
"MIT"
] | 105 | 2015-01-03T08:55:00.000Z | 2022-03-19T00:51:45.000Z |
from .avembed import *
| 8 | 22 | 0.708333 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 23 | 12 | 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 |
3c4318bea1c05958ea40dc6d1a83be9a361b077a | 66 | py | Python | read_structure_step/formats/cif/__init__.py | paulsaxe/read_structure_step | 335c4eb39ad8556070e769fa9491ec5de22ee455 | [
"BSD-3-Clause"
] | null | null | null | read_structure_step/formats/cif/__init__.py | paulsaxe/read_structure_step | 335c4eb39ad8556070e769fa9491ec5de22ee455 | [
"BSD-3-Clause"
] | null | null | null | read_structure_step/formats/cif/__init__.py | paulsaxe/read_structure_step | 335c4eb39ad8556070e769fa9491ec5de22ee455 | [
"BSD-3-Clause"
] | null | null | null | from . import cif # noqa: F401
from . import mmcif # noqa: F401
| 22 | 33 | 0.666667 | 10 | 66 | 4.4 | 0.6 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.242424 | 66 | 2 | 34 | 33 | 0.76 | 0.318182 | 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 |
3c51f5d1cd8d000ea09a883aa0a920735749318d | 85 | py | Python | tests/conftest.py | mcataford/slack-status-cli | c24f08b5115dfadca259adf6802ead93d2ffb119 | [
"MIT"
] | null | null | null | tests/conftest.py | mcataford/slack-status-cli | c24f08b5115dfadca259adf6802ead93d2ffb119 | [
"MIT"
] | 5 | 2022-03-18T00:35:15.000Z | 2022-03-18T21:47:02.000Z | tests/conftest.py | mcataford/slack-status-cli | c24f08b5115dfadca259adf6802ead93d2ffb119 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def slack_api_token():
return "mock-slack-token"
| 12.142857 | 29 | 0.741176 | 12 | 85 | 5.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 85 | 6 | 30 | 14.166667 | 0.847222 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3c71dbd5249be469b94387520adf699f4196e0f6 | 2,852 | py | Python | tests/test_scale_video_cuda.py | ucrux/aioffmpeg | c0e773d1ab484a62a5656d408a9771b35256c3b5 | [
"MIT"
] | 4 | 2019-11-01T02:15:15.000Z | 2020-09-02T12:53:34.000Z | tests/test_scale_video_cuda.py | ucrux/aioffmpeg | c0e773d1ab484a62a5656d408a9771b35256c3b5 | [
"MIT"
] | null | null | null | tests/test_scale_video_cuda.py | ucrux/aioffmpeg | c0e773d1ab484a62a5656d408a9771b35256c3b5 | [
"MIT"
] | 1 | 2020-09-02T12:53:35.000Z | 2020-09-02T12:53:35.000Z | import constval
from aioffmpeg.h264video import H264Video
from aioffmpeg.cmd_opts import H264EncoderArgs, FfmpegCmdModel
import pytest
import os
import random
@pytest.mark.asyncio
async def test_scale_video_cuda_aio():
"""
测试视频缩放
:return:
"""
print('')
h264_obj = H264Video(constval.VIDEO, con... | 50.035088 | 119 | 0.574684 | 307 | 2,852 | 5.094463 | 0.276873 | 0.069054 | 0.053708 | 0.040921 | 0.804348 | 0.709719 | 0.709719 | 0.709719 | 0.709719 | 0.62532 | 0 | 0.069291 | 0.332048 | 2,852 | 56 | 120 | 50.928571 | 0.751706 | 0.050842 | 0 | 0.5 | 0 | 0 | 0.145283 | 0.08 | 0 | 0 | 0 | 0 | 0.075 | 1 | 0.025 | false | 0 | 0.15 | 0 | 0.175 | 0.2 | 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 |
b1bcb6a1b801191376b09fa3948e5fcbeae5a9fe | 75 | py | Python | fastsgd/__init__.py | georgios-vassos1/fastsgd | 5ccb2fc2f564056e5bd1ccf0993cf6bbd6425305 | [
"MIT"
] | null | null | null | fastsgd/__init__.py | georgios-vassos1/fastsgd | 5ccb2fc2f564056e5bd1ccf0993cf6bbd6425305 | [
"MIT"
] | null | null | null | fastsgd/__init__.py | georgios-vassos1/fastsgd | 5ccb2fc2f564056e5bd1ccf0993cf6bbd6425305 | [
"MIT"
] | null | null | null | from .glm import *
from .explicit_sgd import *
from .implicit_sgd import *
| 18.75 | 27 | 0.76 | 11 | 75 | 5 | 0.545455 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 28 | 25 | 0.873016 | 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 |
b1eefbb6e565eb77392003c34e3b1695c967f8f3 | 48 | py | Python | vnpy/api/oanda/__init__.py | OceanMT/vnpy_py3 | 0901e9381c54e615247eb753bac476a911c9ae5d | [
"MIT"
] | null | null | null | vnpy/api/oanda/__init__.py | OceanMT/vnpy_py3 | 0901e9381c54e615247eb753bac476a911c9ae5d | [
"MIT"
] | null | null | null | vnpy/api/oanda/__init__.py | OceanMT/vnpy_py3 | 0901e9381c54e615247eb753bac476a911c9ae5d | [
"MIT"
] | null | null | null | # encoding: UTF-8
from .vnoanda import OandaApi | 16 | 29 | 0.770833 | 7 | 48 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.145833 | 48 | 3 | 29 | 16 | 0.878049 | 0.3125 | 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 |
b1fe9a6b6176424f1480797d7f19f07c0b49843f | 6,590 | py | Python | test/test_q2.py | alvintangz/cscc43-a2-sql-queries-test | 0531258375a7eee8bd1e9400b72943033290ad66 | [
"PostgreSQL"
] | 3 | 2021-07-12T21:52:32.000Z | 2021-07-16T19:30:37.000Z | test/test_q2.py | alvintangz/cscc43-a2-sql-queries-test | 0531258375a7eee8bd1e9400b72943033290ad66 | [
"PostgreSQL"
] | null | null | null | test/test_q2.py | alvintangz/cscc43-a2-sql-queries-test | 0531258375a7eee8bd1e9400b72943033290ad66 | [
"PostgreSQL"
] | null | null | null | import unittest
from test.utils.mixins import *
from test.utils.generic_data import DEPARTMENTS
class QueryTwoTestCase(unittest.TestCase, SqlQueriesTestCaseMixin):
table = "query2"
query = """
--Query 2
"""
def setUp(self):
"""Connect to the database."""
db.connect()
self.... | 28.283262 | 67 | 0.332929 | 450 | 6,590 | 4.708889 | 0.188889 | 0.07362 | 0.070788 | 0.042945 | 0.793299 | 0.78386 | 0.78386 | 0.78386 | 0.763096 | 0.762624 | 0 | 0.035181 | 0.542792 | 6,590 | 232 | 68 | 28.405172 | 0.668105 | 0.019423 | 0 | 0.655 | 0 | 0 | 0.128951 | 0 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0.035 | false | 0 | 0.015 | 0 | 0.065 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
5930aad057de5edeaeea294ac8ee99676524f6c2 | 51 | py | Python | conftest.py | datature/hub | d3abe283887a7e56df9270aa5508834a329e5b80 | [
"MIT"
] | 6 | 2021-04-22T09:25:40.000Z | 2021-08-02T13:49:06.000Z | conftest.py | datature/hub | d3abe283887a7e56df9270aa5508834a329e5b80 | [
"MIT"
] | 1 | 2021-06-04T04:19:38.000Z | 2021-06-04T04:19:38.000Z | conftest.py | datature/hub | d3abe283887a7e56df9270aa5508834a329e5b80 | [
"MIT"
] | null | null | null | from fixtures.melanoma_model import melanoma_model
| 25.5 | 50 | 0.901961 | 7 | 51 | 6.285714 | 0.714286 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
3ce86462e7230f032047b2f8ae45bb4fa74dee34 | 133 | py | Python | checklist/viewer/viewer.py | hazardsy/checklist | 5abd282889205019357a26e064262e9bec63a7c8 | [
"MIT"
] | 1,672 | 2020-05-06T05:53:40.000Z | 2022-03-31T18:46:49.000Z | checklist/viewer/viewer.py | hazardsy/checklist | 5abd282889205019357a26e064262e9bec63a7c8 | [
"MIT"
] | 90 | 2020-07-02T16:54:21.000Z | 2022-02-16T19:43:08.000Z | checklist/viewer/viewer.py | hazardsy/checklist | 5abd282889205019357a26e064262e9bec63a7c8 | [
"MIT"
] | 169 | 2020-05-21T14:52:40.000Z | 2022-02-24T10:23:37.000Z | from .template_editor import TemplateEditor
from .test_summarizer import TestSummarizer
from .suite_summarizer import SuiteSummarizer | 44.333333 | 45 | 0.894737 | 15 | 133 | 7.733333 | 0.666667 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082707 | 133 | 3 | 45 | 44.333333 | 0.95082 | 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 |
596065ab05d8e80d514d28a2e7a8286578c0ea1d | 44 | py | Python | fluent_collections/__init__.py | henningway/python-collections | fd033ece19a220cb390a38b0c2674b407eac9b58 | [
"MIT"
] | 1 | 2020-12-15T19:43:16.000Z | 2020-12-15T19:43:16.000Z | fluent_collections/__init__.py | henningway/python-collections | fd033ece19a220cb390a38b0c2674b407eac9b58 | [
"MIT"
] | null | null | null | fluent_collections/__init__.py | henningway/python-collections | fd033ece19a220cb390a38b0c2674b407eac9b58 | [
"MIT"
] | null | null | null | from .collection import Collection, collect
| 22 | 43 | 0.840909 | 5 | 44 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
598c47dcdc3afee080da895b70cea1753eb10a4a | 320 | py | Python | deploy/virenv/lib/python2.7/site-packages/ptrace/syscall/__init__.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | deploy/virenv/lib/python2.7/site-packages/ptrace/syscall/__init__.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | deploy/virenv/lib/python2.7/site-packages/ptrace/syscall/__init__.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | from ptrace.syscall.names import SYSCALL_NAMES, SOCKET_SYSCALL_NAMES
from ptrace.syscall.prototypes import SYSCALL_PROTOTYPES, FILENAME_ARGUMENTS, DIRFD_ARGUMENTS
from ptrace.syscall.syscall_argument import SyscallArgument
from ptrace.syscall.ptrace_syscall import PtraceSyscall, SYSCALL_REGISTER, RETURN_VALUE_REGISTER
| 64 | 96 | 0.89375 | 40 | 320 | 6.875 | 0.4 | 0.236364 | 0.247273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065625 | 320 | 4 | 97 | 80 | 0.919732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
59b59a96568e0f9c15a4404140bfdcfb9885ed1c | 78 | py | Python | examples/basics/sysargs.py | keobox/yap101 | 26913da9f61ef3d0d9cb3ef54bbfc451a9ef9de9 | [
"MIT"
] | null | null | null | examples/basics/sysargs.py | keobox/yap101 | 26913da9f61ef3d0d9cb3ef54bbfc451a9ef9de9 | [
"MIT"
] | null | null | null | examples/basics/sysargs.py | keobox/yap101 | 26913da9f61ef3d0d9cb3ef54bbfc451a9ef9de9 | [
"MIT"
] | null | null | null |
"Prints positional args"
import sys
print(sys.argv[0])
print(sys.argv[1:])
| 9.75 | 24 | 0.705128 | 13 | 78 | 4.230769 | 0.692308 | 0.290909 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.128205 | 78 | 7 | 25 | 11.142857 | 0.779412 | 0.282051 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
ab8394b0dfaac0f00c95291535f92f6f8a866b8d | 145 | py | Python | workshop-customlist/tests/customlist_tests/__init__.py | Minkov/python-oop-2020-06 | 63b830a42b7abfac5bee576a81ee7626c47a80bc | [
"MIT"
] | 3 | 2020-07-04T11:32:42.000Z | 2020-08-14T08:43:25.000Z | workshop-customlist/tests/customlist_tests/__init__.py | Minkov/python-oop-2020-06 | 63b830a42b7abfac5bee576a81ee7626c47a80bc | [
"MIT"
] | null | null | null | workshop-customlist/tests/customlist_tests/__init__.py | Minkov/python-oop-2020-06 | 63b830a42b7abfac5bee576a81ee7626c47a80bc | [
"MIT"
] | 2 | 2020-07-09T07:17:37.000Z | 2021-02-22T22:55:52.000Z | import pkgutil
# import tests.customlist_tests.customlist_move_tests
print([__import__(name) for _, name, _ in pkgutil.iter_modules()])
| 20.714286 | 67 | 0.758621 | 18 | 145 | 5.555556 | 0.611111 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144828 | 145 | 6 | 68 | 24.166667 | 0.806452 | 0.351724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
abff98db6408042e9aead54e89d06f828eff3bee | 36 | py | Python | src/masonite/storage/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 1,816 | 2018-02-14T01:59:51.000Z | 2022-03-31T17:09:20.000Z | src/masonite/storage/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 340 | 2018-02-11T00:27:26.000Z | 2022-03-21T12:00:24.000Z | src/masonite/storage/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 144 | 2018-03-18T00:08:16.000Z | 2022-02-26T01:51:58.000Z | from .storage import StorageCapsule
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
552a68eb5d8b67ae68dbd8a5208a80088cf2453d | 88 | py | Python | app/areas/__init__.py | DeschutesBrewery/brewerypi | 5459dfc6b1ed415920c13a8a7c9a2d3d3c82099f | [
"MIT"
] | 27 | 2017-11-27T05:01:05.000Z | 2020-11-14T19:52:26.000Z | app/areas/__init__.py | DeschutesBrewery/brewerypi | 5459dfc6b1ed415920c13a8a7c9a2d3d3c82099f | [
"MIT"
] | 259 | 2017-11-23T00:43:26.000Z | 2020-11-03T01:07:30.000Z | app/areas/__init__.py | DeschutesBrewery/brewerypi | 5459dfc6b1ed415920c13a8a7c9a2d3d3c82099f | [
"MIT"
] | 8 | 2018-10-29T04:39:29.000Z | 2020-10-01T22:18:12.000Z | from flask import Blueprint
areas = Blueprint("areas", __name__)
from . import routes
| 14.666667 | 36 | 0.761364 | 11 | 88 | 5.727273 | 0.636364 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 5 | 37 | 17.6 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0.056818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
557d4ad0f1332072f69a43b12ae6109093c68498 | 28 | py | Python | lltk/corpus/canon_fiction/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 5 | 2021-03-15T21:05:06.000Z | 2022-03-04T10:52:16.000Z | lltk/corpus/canon_fiction/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 1 | 2021-05-04T17:01:47.000Z | 2021-05-10T15:14:55.000Z | lltk/corpus/canon_fiction/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | null | null | null | from .canon_fiction import * | 28 | 28 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e9a80753512f1bcf0bec240bd446a71a9a461edb | 137 | py | Python | tests/tests_ui/conftest.py | ssichynskyi/ui_plus_api_web_testing | f020dbd011197e03143fb3bacca96b42540d398d | [
"MIT"
] | null | null | null | tests/tests_ui/conftest.py | ssichynskyi/ui_plus_api_web_testing | f020dbd011197e03143fb3bacca96b42540d398d | [
"MIT"
] | 1 | 2021-05-30T23:36:47.000Z | 2021-05-30T23:36:47.000Z | tests/tests_ui/conftest.py | ssichynskyi/ui_plus_api_web_testing | f020dbd011197e03143fb3bacca96b42540d398d | [
"MIT"
] | null | null | null |
def pytest_report_header():
return """
------------------------
EXECUTING WEB UI TESTS
------------------------
"""
| 17.125 | 28 | 0.350365 | 9 | 137 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233577 | 137 | 7 | 29 | 19.571429 | 0.438095 | 0 | 0 | 0.333333 | 0 | 0 | 0.661765 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0.166667 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
e9cb37943ca1923e53dec0335f22cd5a38b5adbb | 19,377 | py | Python | tests/test_group_3.py | tmarktaylor/phmdoctest | 6974c95f8019aeea7e99a0cd7cafb06846291a35 | [
"MIT"
] | 16 | 2020-06-01T21:50:04.000Z | 2022-03-10T00:47:47.000Z | tests/test_group_3.py | tmarktaylor/phmdoctest | 6974c95f8019aeea7e99a0cd7cafb06846291a35 | [
"MIT"
] | 18 | 2020-06-01T22:08:59.000Z | 2022-03-30T15:26:10.000Z | tests/test_group_3.py | tmarktaylor/phmdoctest | 6974c95f8019aeea7e99a0cd7cafb06846291a35 | [
"MIT"
] | 3 | 2020-06-23T02:04:25.000Z | 2022-02-10T21:32:19.000Z | """Third group of pytest test cases for phmdoctest."""
from pathlib import Path
import pytest
import click
import phmdoctest
import phmdoctest.cases
import phmdoctest.main
import phmdoctest.simulator
def test_missing_setup_for_setup_doctest():
"""Caller specifies --setup-doctest, but no --setup."""
command ... | 42.215686 | 95 | 0.723074 | 2,515 | 19,377 | 5.321272 | 0.091849 | 0.136741 | 0.091011 | 0.117014 | 0.829784 | 0.800717 | 0.769783 | 0.72338 | 0.707241 | 0.70201 | 0 | 0.008134 | 0.181555 | 19,377 | 458 | 96 | 42.30786 | 0.83574 | 0.099654 | 0 | 0.545455 | 0 | 0 | 0.253995 | 0.018932 | 0 | 0 | 0 | 0 | 0.318182 | 1 | 0.09375 | false | 0.008523 | 0.036932 | 0 | 0.130682 | 0.002841 | 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 |
e9d8b33907ebb34604fcf4ee04dbb4bb0955db9c | 6,231 | py | Python | utils/data_factory.py | lorenz0890/pytorch-admm-pruning | 85f15d86e6d9037fe4016ebcd435065ecba823b5 | [
"BSD-3-Clause"
] | null | null | null | utils/data_factory.py | lorenz0890/pytorch-admm-pruning | 85f15d86e6d9037fe4016ebcd435065ecba823b5 | [
"BSD-3-Clause"
] | null | null | null | utils/data_factory.py | lorenz0890/pytorch-admm-pruning | 85f15d86e6d9037fe4016ebcd435065ecba823b5 | [
"BSD-3-Clause"
] | null | null | null | from torchvision import datasets, transforms
import torch
class DataFactory:
def __init__(self):
pass
def __get_mnist(self, config, kwargs):
train_loader = torch.utils.data.DataLoader(
datasets.MNIST('data', train=True, download=True,
transform=transforms... | 55.141593 | 136 | 0.552881 | 595 | 6,231 | 5.616807 | 0.141176 | 0.055955 | 0.05386 | 0.075404 | 0.886894 | 0.878217 | 0.843208 | 0.821664 | 0.771095 | 0.695093 | 0 | 0.089909 | 0.32884 | 6,231 | 113 | 137 | 55.141593 | 0.70923 | 0.010592 | 0 | 0.636364 | 0 | 0 | 0.072031 | 0.016223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070707 | false | 0.010101 | 0.020202 | 0 | 0.161616 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
756c95cfd2f9b7b937179e2b32f75404bdc94fc6 | 13,882 | py | Python | regression/daily/systest_pte.py | sambhavdutt/fabric-test2 | 2a5ae5c7698b1acff612380d56195a23bd4f2c6c | [
"CC-BY-4.0"
] | null | null | null | regression/daily/systest_pte.py | sambhavdutt/fabric-test2 | 2a5ae5c7698b1acff612380d56195a23bd4f2c6c | [
"CC-BY-4.0"
] | null | null | null | regression/daily/systest_pte.py | sambhavdutt/fabric-test2 | 2a5ae5c7698b1acff612380d56195a23bd4f2c6c | [
"CC-BY-4.0"
] | null | null | null | # Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
######################################################################
# To execute:
# Install: sudo apt-get install python python-pytest
# Run on command line: py.test -v --junitxml results_systest_pte.xml ./systest_pte.py
import un... | 47.704467 | 114 | 0.631465 | 1,825 | 13,882 | 4.766027 | 0.136986 | 0.01759 | 0.025753 | 0.031042 | 0.823753 | 0.821913 | 0.816395 | 0.816395 | 0.815475 | 0.815475 | 0 | 0.047182 | 0.26257 | 13,882 | 290 | 115 | 47.868966 | 0.802481 | 0.595447 | 0 | 0.563636 | 0 | 0 | 0.171657 | 0.077257 | 0 | 0 | 0 | 0 | 0.218182 | 1 | 0.072727 | false | 0.018182 | 0.036364 | 0 | 0.145455 | 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 |
75957ccaebd8f47a6b70347824b5a99cd10b8202 | 40,127 | py | Python | valveData.py | thelenwes/valveData | c38b4610c959a1e031d04094fad3e560ec65bc33 | [
"MIT"
] | null | null | null | valveData.py | thelenwes/valveData | c38b4610c959a1e031d04094fad3e560ec65bc33 | [
"MIT"
] | null | null | null | valveData.py | thelenwes/valveData | c38b4610c959a1e031d04094fad3e560ec65bc33 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
valveData.py
Library to extract data from valve using a REST interface. Optionally, data
can be detected for gaps, resampled and put into a obspy Stream structure. REquires
a parameter file called 'config.json' in the same directory as script. Contents
should look something like this:
{
... | 35.416593 | 174 | 0.606798 | 4,993 | 40,127 | 4.87122 | 0.097537 | 0.014061 | 0.021791 | 0.013815 | 0.771729 | 0.759107 | 0.741345 | 0.724817 | 0.705041 | 0.696242 | 0 | 0.016128 | 0.289207 | 40,127 | 1,132 | 175 | 35.44788 | 0.836617 | 0.047624 | 0 | 0.448029 | 0 | 0 | 0.121969 | 0.002703 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.050179 | null | null | 0.035842 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f931d6d146cc6a79c7f75b1032adba8ea117db53 | 131 | py | Python | distributed_asgi/__init__.py | 3jackdaws/distributed-asgi | acc341befe29b9e16ccb9da3d8887dff99636b2a | [
"MIT"
] | 1 | 2019-02-23T11:11:52.000Z | 2019-02-23T11:11:52.000Z | distributed_asgi/__init__.py | 3jackdaws/distributed-asgi | acc341befe29b9e16ccb9da3d8887dff99636b2a | [
"MIT"
] | null | null | null | distributed_asgi/__init__.py | 3jackdaws/distributed-asgi | acc341befe29b9e16ccb9da3d8887dff99636b2a | [
"MIT"
] | null | null | null |
from .consumer import Node
from .producer import Distributor, create_distributor, create_path_distributor, ASGI_EVENTS_KEY_PREFIX
| 32.75 | 102 | 0.870229 | 17 | 131 | 6.352941 | 0.705882 | 0.314815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 3 | 103 | 43.666667 | 0.907563 | 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 |
ddae7569e63232bd791d52e539266e377bf3b9e2 | 8,678 | py | Python | tests/test_meta.py | hmasdev/dirapi | 1cf62e6ca4c9beacb399f46ea3d078f8b31ec679 | [
"MIT"
] | null | null | null | tests/test_meta.py | hmasdev/dirapi | 1cf62e6ca4c9beacb399f46ea3d078f8b31ec679 | [
"MIT"
] | null | null | null | tests/test_meta.py | hmasdev/dirapi | 1cf62e6ca4c9beacb399f46ea3d078f8b31ec679 | [
"MIT"
] | null | null | null | import json
import os
import pytest
import shutil
from typing import Any, Callable, Dict, Iterator, Union
from dirapi.meta import (
Directory,
File,
)
from dirapi.utils import snake2camel
DictStructure = Dict[str, Union[str, "DictStructure"]] # type: ignore
# directory/file structure
# Directory -> dict, F... | 39.990783 | 132 | 0.664324 | 989 | 8,678 | 5.559151 | 0.116279 | 0.081848 | 0.106948 | 0.087304 | 0.808294 | 0.792288 | 0.792288 | 0.765187 | 0.745544 | 0.734449 | 0 | 0.022496 | 0.206038 | 8,678 | 216 | 133 | 40.175926 | 0.775472 | 0.156833 | 0 | 0.557047 | 0 | 0 | 0.11139 | 0 | 0 | 0 | 0 | 0 | 0.255034 | 1 | 0.026846 | false | 0 | 0.04698 | 0 | 0.073826 | 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 |
fb104b882950c4a024587a06bbec901c9afa9512 | 2,173 | py | Python | src/genie/libs/parser/asa/tests/ShowVpnSessiondbAnyconnect/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/asa/tests/ShowVpnSessiondbAnyconnect/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/asa/tests/ShowVpnSessiondbAnyconnect/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"session_type": {
"AnyConnect": {
"username": {
"lee": {
"index": {
1: {
"assigned_ip": "192.168.246.1",
"bytes": {"rx": 4942, "tx": 11079},
... | 42.607843 | 83 | 0.302807 | 142 | 2,173 | 4.521127 | 0.485915 | 0.023364 | 0.040498 | 0.049844 | 0.794393 | 0.735202 | 0.735202 | 0.735202 | 0.735202 | 0.610592 | 0 | 0.116129 | 0.57202 | 2,173 | 50 | 84 | 43.46 | 0.574194 | 0 | 0 | 0.44 | 0 | 0 | 0.30971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
34ef802494d81daed177c8ec82b6a9fcd72c88ab | 943 | py | Python | pgopttune/config/workload_sampling_config.py | ssl-oyamata/postgres_opttune | d31088c575097ec6d88f2aa22d4acc47593d3566 | [
"Apache-2.0"
] | 28 | 2020-02-01T11:29:38.000Z | 2022-03-11T15:02:27.000Z | pgopttune/config/workload_sampling_config.py | ssl-oyamata/postgres_opttune | d31088c575097ec6d88f2aa22d4acc47593d3566 | [
"Apache-2.0"
] | null | null | null | pgopttune/config/workload_sampling_config.py | ssl-oyamata/postgres_opttune | d31088c575097ec6d88f2aa22d4acc47593d3566 | [
"Apache-2.0"
] | 2 | 2020-02-03T10:59:41.000Z | 2021-12-17T03:11:08.000Z | from pgopttune.config.config import Config
from pgopttune.utils.pg_connect import get_pg_dsn
class WorkloadSamplingConfig(Config):
def __init__(self, conf_path, section='workload-sampling'):
super().__init__(conf_path)
self.config_dict = dict(self.config.items(section))
@property
def work... | 37.72 | 79 | 0.678685 | 109 | 943 | 5.486239 | 0.33945 | 0.08194 | 0.187291 | 0.245819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226935 | 943 | 24 | 80 | 39.291667 | 0.820302 | 0 | 0 | 0.157895 | 0 | 0 | 0.110286 | 0.030753 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.052632 | 0.105263 | 0.157895 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
34fac847eaf3d49a4bbb3673d3f2995277bb44a0 | 39 | py | Python | scanpy/api/export_to.py | umangv/scanpy | 94c3dc55d8dfbc45f809fd276beccc96cfcc57b4 | [
"BSD-3-Clause"
] | 1 | 2021-03-04T13:04:28.000Z | 2021-03-04T13:04:28.000Z | scanpy/api/export_to.py | umangv/scanpy | 94c3dc55d8dfbc45f809fd276beccc96cfcc57b4 | [
"BSD-3-Clause"
] | 16 | 2020-01-28T23:03:40.000Z | 2022-02-10T00:30:16.000Z | scanpy/api/export_to.py | umangv/scanpy | 94c3dc55d8dfbc45f809fd276beccc96cfcc57b4 | [
"BSD-3-Clause"
] | 2 | 2019-12-26T06:50:49.000Z | 2021-08-18T18:02:32.000Z | from ..exporting import spring_project
| 19.5 | 38 | 0.846154 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 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 |
9b8ca29622c86d2fcef54004fd446c7791c16d1d | 5,076 | py | Python | tests/test_kinesis/test_kinesis_stream_consumers.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | tests/test_kinesis/test_kinesis_stream_consumers.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1 | 2022-03-07T07:39:03.000Z | 2022-03-07T07:39:03.000Z | tests/test_kinesis/test_kinesis_stream_consumers.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | import boto3
import pytest
from botocore.exceptions import ClientError
from moto import mock_kinesis
from moto.core import ACCOUNT_ID
def create_stream(client):
stream_name = "my-stream"
client.create_stream(StreamName=stream_name, ShardCount=4)
stream = client.describe_stream(StreamName=stream_name)["St... | 34.530612 | 87 | 0.746257 | 597 | 5,076 | 6.127303 | 0.128978 | 0.073811 | 0.081739 | 0.103335 | 0.803171 | 0.776107 | 0.776107 | 0.776107 | 0.743029 | 0.7269 | 0 | 0.007002 | 0.127857 | 5,076 | 146 | 88 | 34.767123 | 0.819291 | 0 | 0 | 0.605505 | 0 | 0.018349 | 0.20134 | 0.054571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073395 | false | 0 | 0.045872 | 0 | 0.12844 | 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 |
9b8ceb7e6c1064db2d92f3442bdd0dbbf3b7b565 | 65 | py | Python | rename.py | GoodManWEN/py-fnvhash-c | 544fc6f4143e1404b434b30ab63a0bc2492c780f | [
"MIT"
] | 11 | 2021-03-03T10:49:49.000Z | 2022-02-19T02:44:52.000Z | rename.py | GoodManWEN/py-fnvhash-c | 544fc6f4143e1404b434b30ab63a0bc2492c780f | [
"MIT"
] | 1 | 2021-06-15T10:27:55.000Z | 2021-06-15T10:27:55.000Z | rename.py | GoodManWEN/py-fnvhash-c | 544fc6f4143e1404b434b30ab63a0bc2492c780f | [
"MIT"
] | 2 | 2021-03-06T16:53:54.000Z | 2021-05-05T20:54:21.000Z | import sys
print('a' , sys.argv)
print('b' , repr(sys.argv[1]))
| 13 | 30 | 0.615385 | 12 | 65 | 3.333333 | 0.666667 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.138462 | 65 | 4 | 31 | 16.25 | 0.696429 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 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 |
9bb16dfa6df448431cbe8192caf1fbb568727c60 | 17,465 | py | Python | sdsparser/configs.py | teeso/sds_parser | 21d8fa2265186f6e18eeb84d69b83fb50a1849ef | [
"MIT"
] | 1 | 2019-06-12T19:40:03.000Z | 2019-06-12T19:40:03.000Z | sdsparser/configs.py | teeso/sds_parser | 21d8fa2265186f6e18eeb84d69b83fb50a1849ef | [
"MIT"
] | null | null | null | sdsparser/configs.py | teeso/sds_parser | 21d8fa2265186f6e18eeb84d69b83fb50a1849ef | [
"MIT"
] | null | null | null | import re
import os
class DevelopmentConfigs:
_sds_pool_base = os.path.join(os.getcwd(), 'dev/sds_pool')
_test_base = os.path.join(os.getcwd(), 'dev/test')
SDS_PDF_FILES = os.path.join(_sds_pool_base, 'sds_pdf_files')
SDS_TEXT_FILES = os.path.join(_sds_pool_base, 'sds_text_files')
TEST_SDS_PDF_F... | 70.423387 | 342 | 0.482794 | 2,952 | 17,465 | 2.792005 | 0.069783 | 0.063698 | 0.097064 | 0.116477 | 0.790221 | 0.779058 | 0.764378 | 0.751759 | 0.723489 | 0.718515 | 0 | 0.025736 | 0.18351 | 17,465 | 247 | 343 | 70.708502 | 0.55021 | 0.015975 | 0 | 0.412017 | 0 | 0.206009 | 0.582446 | 0.385426 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008584 | 0 | 0.055794 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
32ddcd5250fc520332337e7fe4b0a80290ad201f | 63 | py | Python | app/service/pdf_processor_service.py | jabertuhin/fastapi-with-redis | aad3fd2c3c1ae011c43bfb37f29903ef7835026e | [
"MIT"
] | 5 | 2021-08-14T17:08:48.000Z | 2022-01-06T18:29:16.000Z | app/service/pdf_processor_service.py | jabertuhin/fastapi-with-redis | aad3fd2c3c1ae011c43bfb37f29903ef7835026e | [
"MIT"
] | 2 | 2021-09-25T11:24:09.000Z | 2021-09-25T11:24:20.000Z | app/service/pdf_processor_service.py | jabertuhin/fastapi-with-redis | aad3fd2c3c1ae011c43bfb37f29903ef7835026e | [
"MIT"
] | null | null | null | from abc import ABC
class PdfProcessorService(ABC):
pass
| 10.5 | 31 | 0.746032 | 8 | 63 | 5.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 63 | 5 | 32 | 12.6 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fd0cfbe384f0c5211981c78ede008a97c8836146 | 38 | py | Python | tflite_tools/__init__.py | eliberis/tflite-tools | 3545ab1a657c730838208591dd956aafd7f01c0d | [
"MIT"
] | 43 | 2020-06-18T11:28:05.000Z | 2022-03-28T02:40:48.000Z | tflite_tools/__init__.py | wxbbuaa2011/tflite-tools | d1d90e33dd7df51ba26891a440c05d68129d4279 | [
"MIT"
] | 4 | 2020-06-11T06:47:14.000Z | 2022-03-10T11:10:57.000Z | tflite_tools/__init__.py | wxbbuaa2011/tflite-tools | d1d90e33dd7df51ba26891a440c05d68129d4279 | [
"MIT"
] | 8 | 2020-06-22T18:58:26.000Z | 2022-02-08T17:22:15.000Z | from .tflite_model import TFLiteModel
| 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 |
b5d1081c53e4e30701a997bfd10fcb650bbe567e | 152 | py | Python | dymos/transcriptions/__init__.py | cashmesh/dymos | 809f8e2cb2f82826a425286b9410b5c65df28949 | [
"Apache-2.0"
] | 1 | 2021-07-19T17:03:49.000Z | 2021-07-19T17:03:49.000Z | dymos/transcriptions/__init__.py | cashmesh/dymos | 809f8e2cb2f82826a425286b9410b5c65df28949 | [
"Apache-2.0"
] | null | null | null | dymos/transcriptions/__init__.py | cashmesh/dymos | 809f8e2cb2f82826a425286b9410b5c65df28949 | [
"Apache-2.0"
] | null | null | null | from .pseudospectral.gauss_lobatto import GaussLobatto
from .pseudospectral.radau_pseudospectral import Radau
from .solve_ivp.solve_ivp import SolveIVP
| 38 | 54 | 0.881579 | 19 | 152 | 6.842105 | 0.526316 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 152 | 3 | 55 | 50.666667 | 0.928571 | 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 |
b5df548252a36d2bc709af6a7d58f56ebd3b4309 | 30 | py | Python | openshift/dynamic/__init__.py | TristanCacqueray/openshift-restclient-python | 7758cde7a8094acb279904f15c29e5fe3e9f7d33 | [
"Apache-2.0"
] | 198 | 2017-02-16T20:52:12.000Z | 2022-03-17T22:41:58.000Z | openshift/dynamic/__init__.py | TristanCacqueray/openshift-restclient-python | 7758cde7a8094acb279904f15c29e5fe3e9f7d33 | [
"Apache-2.0"
] | 315 | 2017-02-24T03:54:27.000Z | 2022-03-27T23:31:33.000Z | openshift/dynamic/__init__.py | TristanCacqueray/openshift-restclient-python | 7758cde7a8094acb279904f15c29e5fe3e9f7d33 | [
"Apache-2.0"
] | 139 | 2017-02-16T13:42:08.000Z | 2022-03-17T22:46:29.000Z | from .client import * # NOQA
| 15 | 29 | 0.666667 | 4 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 1 | 30 | 30 | 0.869565 | 0.133333 | 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 |
bd171decc54728f1cc7fb7da28edc3e843f2f45e | 4,805 | py | Python | misago/misago/threads/threadtypes/thread.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | 2 | 2021-03-06T21:06:13.000Z | 2021-03-09T15:05:12.000Z | misago/misago/threads/threadtypes/thread.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | misago/misago/threads/threadtypes/thread.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | null | null | null | from django.urls import reverse
from django.utils.translation import gettext_lazy as _
from . import ThreadType
from ...categories import THREADS_ROOT_NAME
class Thread(ThreadType):
root_name = THREADS_ROOT_NAME
def get_category_name(self, category):
if category.level:
return category.na... | 33.838028 | 88 | 0.615609 | 608 | 4,805 | 4.639803 | 0.092105 | 0.079404 | 0.18185 | 0.11698 | 0.779865 | 0.763559 | 0.728111 | 0.647288 | 0.536689 | 0.493442 | 0 | 0.000556 | 0.251821 | 4,805 | 141 | 89 | 34.078014 | 0.784145 | 0 | 0 | 0.281818 | 0 | 0 | 0.179396 | 0.095734 | 0 | 0 | 0 | 0 | 0 | 1 | 0.236364 | false | 0 | 0.036364 | 0.209091 | 0.554545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bd20f6183dc6631811bf5282439c486efe5555e3 | 46 | py | Python | backend/apps/config/models/__init__.py | codelieche/erp | 96861ff63a63a93918fbd5181ffb2646446d0eec | [
"MIT"
] | 1 | 2020-12-12T01:38:36.000Z | 2020-12-12T01:38:36.000Z | backend/apps/config/models/__init__.py | codelieche/erp | 96861ff63a63a93918fbd5181ffb2646446d0eec | [
"MIT"
] | 29 | 2020-06-05T19:57:11.000Z | 2022-02-26T13:42:36.000Z | sso/apps/config/models/__init__.py | codelieche/microservice.py | 147101a9d4d83cebb61284324ae67621c05e6dd6 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
from .menu import Menu
| 15.333333 | 22 | 0.608696 | 7 | 46 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.173913 | 46 | 2 | 23 | 23 | 0.710526 | 0.434783 | 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 |
1fb5644e25194643f25cc2c2edd5cca79d08c41d | 35 | py | Python | pydomo/common/__init__.py | psyclone241/domo-python-sdk | 22df9e1c36b807b8c8a4061766582dc5f658ef1b | [
"MIT"
] | 81 | 2017-04-21T20:49:01.000Z | 2022-03-29T20:38:36.000Z | pydomo/common/__init__.py | psyclone241/domo-python-sdk | 22df9e1c36b807b8c8a4061766582dc5f658ef1b | [
"MIT"
] | 57 | 2017-05-11T15:55:00.000Z | 2022-02-18T00:20:45.000Z | pydomo/common/__init__.py | psyclone241/domo-python-sdk | 22df9e1c36b807b8c8a4061766582dc5f658ef1b | [
"MIT"
] | 66 | 2017-05-31T14:39:48.000Z | 2022-03-25T22:06:18.000Z | from .DomoObject import DomoObject
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
1fc3418d926138f0bfd1f84e81f6bf262dc2aebf | 4,235 | py | Python | tests/integration/test_create_index.py | untergeek/curator_api | b53bf99b729488c0b2b05fd6b3d159113d0edc62 | [
"Apache-2.0"
] | null | null | null | tests/integration/test_create_index.py | untergeek/curator_api | b53bf99b729488c0b2b05fd6b3d159113d0edc62 | [
"Apache-2.0"
] | null | null | null | tests/integration/test_create_index.py | untergeek/curator_api | b53bf99b729488c0b2b05fd6b3d159113d0edc62 | [
"Apache-2.0"
] | 3 | 2018-12-11T04:42:25.000Z | 2020-11-19T18:14:29.000Z | # import elasticsearch
# import curator
# import os
# import json
# import string, random, tempfile
# import click
# from click import testing as clicktest
# from mock import patch, Mock
# from . import CuratorTestCase
# from . import testvars as testvars
# import logging
# logger = logging.getLogger(__name__)
# hos... | 42.35 | 81 | 0.539079 | 400 | 4,235 | 5.5525 | 0.2 | 0.07204 | 0.094552 | 0.085547 | 0.737956 | 0.737956 | 0.737956 | 0.725799 | 0.669068 | 0.669068 | 0 | 0.003814 | 0.319008 | 4,235 | 99 | 82 | 42.777778 | 0.766297 | 0.953955 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 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 |
1fd0aa27304cf47446713ab8d794e9b52a2e45a9 | 1,295 | py | Python | pycones/speakers/migrations/0002_auto_20150626_0943.py | python-spain/PyConES2015 | af78ad7f1d7df747a2f5428be87a5b061457dd24 | [
"MIT"
] | null | null | null | pycones/speakers/migrations/0002_auto_20150626_0943.py | python-spain/PyConES2015 | af78ad7f1d7df747a2f5428be87a5b061457dd24 | [
"MIT"
] | null | null | null | pycones/speakers/migrations/0002_auto_20150626_0943.py | python-spain/PyConES2015 | af78ad7f1d7df747a2f5428be87a5b061457dd24 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('speakers', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='speaker',
name='_bi... | 25.392157 | 44 | 0.545946 | 104 | 1,295 | 6.451923 | 0.288462 | 0.281669 | 0.348733 | 0.402385 | 0.76304 | 0.76304 | 0.76304 | 0.76304 | 0.178838 | 0 | 0 | 0.005924 | 0.348263 | 1,295 | 50 | 45 | 25.9 | 0.7891 | 0.016216 | 0 | 0.613636 | 0 | 0 | 0.202044 | 0.108491 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.113636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1ffb9e4ff099c4c088a56fc5505436bfb6b9c9e8 | 46 | py | Python | OD_Distance_Matrix.py | jbousquin/Py_RecDemand | 2c2ad4853f04ed1b7d29ec399711fa20e58d26e7 | [
"MIT"
] | null | null | null | OD_Distance_Matrix.py | jbousquin/Py_RecDemand | 2c2ad4853f04ed1b7d29ec399711fa20e58d26e7 | [
"MIT"
] | null | null | null | OD_Distance_Matrix.py | jbousquin/Py_RecDemand | 2c2ad4853f04ed1b7d29ec399711fa20e58d26e7 | [
"MIT"
] | null | null | null | import arcpy
import os
import sys
import time
| 9.2 | 12 | 0.826087 | 8 | 46 | 4.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 4 | 13 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9510fa067b3b916ec0690f52b8aa7a836a8b7ca0 | 168 | py | Python | Saral/saralapp/test.py | BhanuMSB/virtualization-of-data | 7c92b43f402faf46983dc2ce3531364a3167c927 | [
"MIT"
] | null | null | null | Saral/saralapp/test.py | BhanuMSB/virtualization-of-data | 7c92b43f402faf46983dc2ce3531364a3167c927 | [
"MIT"
] | null | null | null | Saral/saralapp/test.py | BhanuMSB/virtualization-of-data | 7c92b43f402faf46983dc2ce3531364a3167c927 | [
"MIT"
] | null | null | null | from django.views.generic import TemplateView
from django.shortcuts import render
from django.core.files.storage import FileSystemStorage
import pandas as pd
import os
| 28 | 55 | 0.857143 | 24 | 168 | 6 | 0.666667 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 168 | 5 | 56 | 33.6 | 0.96 | 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 |
952152c309310b0f9646afdac028eb98ec9b10b6 | 4,932 | py | Python | src/baselines/dqn/default.py | Officium/RL-Experiments | 57cad375c7cdf42b4ccb4f6b7e669a64b5c37b88 | [
"MIT"
] | 54 | 2018-03-21T09:00:11.000Z | 2021-08-08T19:36:47.000Z | src/baselines/dqn/default.py | Officium/RL-Experiments | 57cad375c7cdf42b4ccb4f6b7e669a64b5c37b88 | [
"MIT"
] | 10 | 2019-05-11T14:11:54.000Z | 2021-10-12T22:56:45.000Z | src/baselines/dqn/default.py | Officium/RL-Experiments | 57cad375c7cdf42b4ccb4f6b7e669a64b5c37b88 | [
"MIT"
] | 8 | 2018-03-26T20:58:11.000Z | 2021-09-08T17:50:47.000Z | import torch.nn as nn
from torch.nn.functional import log_softmax
from torch.optim import Adam
from common.util import Flatten
def atari(env, **kwargs):
in_dim = env.observation_space.shape
policy_dim = env.action_space.n
params = dict(
grad_norm=10,
batch_size=32,
double_q=True,
... | 31.21519 | 80 | 0.557989 | 624 | 4,932 | 4.217949 | 0.211538 | 0.047872 | 0.025076 | 0.019757 | 0.822568 | 0.789894 | 0.773936 | 0.7519 | 0.716185 | 0.611322 | 0 | 0.04736 | 0.327859 | 4,932 | 157 | 81 | 31.414013 | 0.746606 | 0 | 0 | 0.640845 | 0 | 0 | 0.010138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042254 | false | 0 | 0.028169 | 0 | 0.126761 | 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 |
9522af806a85596c84440514f58f7f80cd5f587e | 16,733 | py | Python | News.py | MyNameIsDark01/fortnitenewscreator | b9b49b1a91bd76bc856bdaf88af17f6d7f7d2620 | [
"MIT"
] | 5 | 2020-09-30T20:30:05.000Z | 2021-06-07T18:48:51.000Z | News.py | kuletxcore/fortnite-news-creator | b9b49b1a91bd76bc856bdaf88af17f6d7f7d2620 | [
"MIT"
] | null | null | null | News.py | kuletxcore/fortnite-news-creator | b9b49b1a91bd76bc856bdaf88af17f6d7f7d2620 | [
"MIT"
] | 3 | 2020-02-02T03:02:32.000Z | 2021-01-07T07:56:24.000Z | import requests,json,textwrap
import PIL
from PIL import Image,ImageFont,ImageDraw
from io import BytesIO
import cv2
import numpy as np
import glob
import os
from util import ImageUtil, Utility
from math import ceil
TitleColor = (255,255,255)
DescriptionColor = (51,236,254)
config = open("config.json", ... | 33.332669 | 217 | 0.585012 | 1,907 | 16,733 | 5.110645 | 0.123755 | 0.03663 | 0.049559 | 0.060332 | 0.805664 | 0.778063 | 0.764929 | 0.747076 | 0.718756 | 0.677304 | 0 | 0.057801 | 0.28142 | 16,733 | 501 | 218 | 33.399202 | 0.752745 | 0.034005 | 0 | 0.66313 | 0 | 0.015915 | 0.127726 | 0.049376 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026525 | false | 0 | 0.026525 | 0 | 0.071618 | 0.013263 | 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 |
952befe66030b0839bc5c07411d2507a98bebc1a | 380 | py | Python | python--exercicios/ex066.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | python--exercicios/ex066.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | python--exercicios/ex066.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | n = s = quant = 0
while True:
n = int(input('Digite um número : '))
if n == 999:
break
s += n
quant += 1
print(f'Você digitou {quant} e a soma entre eles é {s}')
s = quant = 0
while True:
n = int(input('Digite um número e 999 para parar : '))
if n == 999:
break
s += n
... | 19 | 59 | 0.528947 | 65 | 380 | 3.092308 | 0.430769 | 0.059701 | 0.069652 | 0.119403 | 0.855721 | 0.855721 | 0.855721 | 0.855721 | 0.855721 | 0.855721 | 0 | 0.051181 | 0.331579 | 380 | 19 | 60 | 20 | 0.740157 | 0 | 0 | 0.625 | 0 | 0 | 0.366755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 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 |
952c5dabf794b6f5872f645837c8f14ed16616f3 | 4,065 | py | Python | util/data/gen/GLU32.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/GLU32.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/GLU32.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': 'gluBeginCurve', 'address': '0x7ffb2b0f1160'}, {'type': 'function', 'name': 'gluBeginPolygon', 'address': '0x7ffb2b0f3510'}, {'type': 'function', 'name': 'gluBeginSurface', 'address': '0x7ffb2b0f1130'}, {'type': 'function', 'name': 'gluBeginTrim', 'address': '0x7ffb2... | 2,032.5 | 4,052 | 0.665191 | 314 | 4,065 | 8.611465 | 0.350318 | 0.230769 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10136 | 0.077737 | 4,065 | 2 | 4,052 | 2,032.5 | 0.619899 | 0 | 0 | 0 | 0 | 0 | 0.661584 | 0.022135 | 0 | 0 | 0.179046 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f05ad99571c0ed76b0ee5449e551578babf90b4 | 8,340 | py | Python | inbm-vision/vision-agent/vision/tests/unit/test_request_data_handler.py | ahameedx/intel-inb-manageability | aca445fa4cef0b608e6e88e74476547e10c06073 | [
"Apache-2.0"
] | 5 | 2021-12-13T21:19:31.000Z | 2022-01-18T18:29:43.000Z | inbm-vision/vision-agent/vision/tests/unit/test_request_data_handler.py | ahameedx/intel-inb-manageability | aca445fa4cef0b608e6e88e74476547e10c06073 | [
"Apache-2.0"
] | 45 | 2021-12-30T17:21:09.000Z | 2022-03-29T22:47:32.000Z | inbm-vision/vision-agent/vision/tests/unit/test_request_data_handler.py | ahameedx/intel-inb-manageability | aca445fa4cef0b608e6e88e74476547e10c06073 | [
"Apache-2.0"
] | 4 | 2022-01-26T17:42:54.000Z | 2022-03-30T04:48:04.000Z | from unittest import TestCase
from datetime import datetime
from mock import Mock, patch, MagicMock
from vision.data_handler.request_data_handler import FotaDataHandler, SotaDataHandler, PotaDataHandler, \
GeneralDataHandler, RequestDataHandler, get_dh_factory
from vision.constant import VisionException
PARSED_V... | 46.333333 | 129 | 0.718945 | 1,061 | 8,340 | 5.218662 | 0.117813 | 0.067184 | 0.040636 | 0.03901 | 0.803865 | 0.782554 | 0.736681 | 0.717537 | 0.703269 | 0.667148 | 0 | 0.01443 | 0.169065 | 8,340 | 179 | 130 | 46.592179 | 0.78456 | 0 | 0 | 0.540741 | 0 | 0 | 0.176859 | 0.105276 | 0 | 0 | 0 | 0 | 0.125926 | 1 | 0.111111 | false | 0.022222 | 0.037037 | 0 | 0.17037 | 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 |
1f72ca00ea22a5809ad01487994b6c8b56a25f30 | 84 | py | Python | services/main.py | bsbateam/genoxs | 3df0c07211e1adb3f58fab9231d4aaa8a89ebbb8 | [
"BSD-3-Clause"
] | 3 | 2020-05-04T00:33:57.000Z | 2021-01-10T04:42:07.000Z | services/main.py | genemators/genoxs | 3df0c07211e1adb3f58fab9231d4aaa8a89ebbb8 | [
"BSD-3-Clause"
] | null | null | null | services/main.py | genemators/genoxs | 3df0c07211e1adb3f58fab9231d4aaa8a89ebbb8 | [
"BSD-3-Clause"
] | 1 | 2020-07-22T00:35:01.000Z | 2020-07-22T00:35:01.000Z | from services.youtube import youtube
def services():
youtube()
pass
| 12 | 37 | 0.642857 | 9 | 84 | 6 | 0.666667 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 84 | 6 | 38 | 14 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2f79ea0eed7093ff2e5b106548592694c076fca4 | 35 | py | Python | turtledov/__init__.py | HirushaPramuditha/turtledov | cee729789dc9dec146196532e08ee2c52d8c3ed8 | [
"MIT"
] | null | null | null | turtledov/__init__.py | HirushaPramuditha/turtledov | cee729789dc9dec146196532e08ee2c52d8c3ed8 | [
"MIT"
] | null | null | null | turtledov/__init__.py | HirushaPramuditha/turtledov | cee729789dc9dec146196532e08ee2c52d8c3ed8 | [
"MIT"
] | 1 | 2021-03-09T14:15:21.000Z | 2021-03-09T14:15:21.000Z | from turtledov.turtledov import *
| 17.5 | 34 | 0.8 | 4 | 35 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.933333 | 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 |
2f86b1f9cd727cd70bb265b52d300dcde277202e | 1,228 | py | Python | radio/migrations/0009_auto_20200327_0749.py | rockychen-dpaw/resource_tracking | c69fc324aae7f6560dd1a1ffeee3d6f69b04bf81 | [
"BSD-3-Clause"
] | null | null | null | radio/migrations/0009_auto_20200327_0749.py | rockychen-dpaw/resource_tracking | c69fc324aae7f6560dd1a1ffeee3d6f69b04bf81 | [
"BSD-3-Clause"
] | null | null | null | radio/migrations/0009_auto_20200327_0749.py | rockychen-dpaw/resource_tracking | c69fc324aae7f6560dd1a1ffeee3d6f69b04bf81 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.2.11 on 2020-03-26 23:49
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('radio', '0008_auto_20200325_1552'),
]
operations = [
migrations.RemoveField(
model_name='networkrxanalysis',
name='raster_m... | 26.695652 | 48 | 0.571661 | 96 | 1,228 | 7.072917 | 0.364583 | 0.247423 | 0.306333 | 0.353461 | 0.764359 | 0.764359 | 0.670103 | 0.225331 | 0 | 0 | 0 | 0.038882 | 0.329805 | 1,228 | 45 | 49 | 27.288889 | 0.786148 | 0.037459 | 0 | 0.820513 | 1 | 0 | 0.257627 | 0.019492 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.102564 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f89236785ef318b76bf6d9043747a1e3131311b | 41 | py | Python | hello.py | mkuzak/my-first-binder | abdba5f83184b3b79e7a00bc47f2a71b7e8541b5 | [
"Apache-2.0"
] | null | null | null | hello.py | mkuzak/my-first-binder | abdba5f83184b3b79e7a00bc47f2a71b7e8541b5 | [
"Apache-2.0"
] | null | null | null | hello.py | mkuzak/my-first-binder | abdba5f83184b3b79e7a00bc47f2a71b7e8541b5 | [
"Apache-2.0"
] | null | null | null | import numpy
print(numpy.random.rand())
| 10.25 | 26 | 0.756098 | 6 | 41 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 3 | 27 | 13.666667 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c82fb7746ecdf97f884dca2c174ca92044fa6b55 | 77 | py | Python | YtbRecordDBCRUD/__init__.py | WommyInStandingPosition/YtbDataApiRelated | 4856ad2ee5be49bb74c79c3d6649f9d1fdbdc85d | [
"MIT"
] | null | null | null | YtbRecordDBCRUD/__init__.py | WommyInStandingPosition/YtbDataApiRelated | 4856ad2ee5be49bb74c79c3d6649f9d1fdbdc85d | [
"MIT"
] | null | null | null | YtbRecordDBCRUD/__init__.py | WommyInStandingPosition/YtbDataApiRelated | 4856ad2ee5be49bb74c79c3d6649f9d1fdbdc85d | [
"MIT"
] | null | null | null |
import YtbRecordDBCRUD.restapi_test_v0
import YtbRecordDBCRUD.api_test_v0
| 12.833333 | 38 | 0.883117 | 10 | 77 | 6.4 | 0.6 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.090909 | 77 | 5 | 39 | 15.4 | 0.885714 | 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 |
c8396698df5345ca94f12a73ce20b6026f3c5a1b | 11,474 | py | Python | test/test_schema.py | Accern/accern-python | 192e6067512940b0af95354fc1699dc6a82b4031 | [
"MIT"
] | null | null | null | test/test_schema.py | Accern/accern-python | 192e6067512940b0af95354fc1699dc6a82b4031 | [
"MIT"
] | 2 | 2017-12-18T21:45:35.000Z | 2019-04-03T11:35:55.000Z | test/test_schema.py | Accern/accern-python | 192e6067512940b0af95354fc1699dc6a82b4031 | [
"MIT"
] | null | null | null | import pytest
from accern import Schema, error
def test_fails_get_options_with_invalid_field_name():
with pytest.raises(error.SchemaError) as exc_info:
Schema.get_options(field='test')
assert exc_info.value.args[0] == 'Invalid field (test) in filter option.'
def test_get_url_params():
resp = Sch... | 32.689459 | 105 | 0.558393 | 1,178 | 11,474 | 5.177419 | 0.080645 | 0.045909 | 0.051156 | 0.068864 | 0.898344 | 0.890146 | 0.856534 | 0.807182 | 0.758649 | 0.706017 | 0 | 0.008594 | 0.279937 | 11,474 | 350 | 106 | 32.782857 | 0.729605 | 0.0251 | 0 | 0.445693 | 0 | 0 | 0.2108 | 0 | 0 | 0 | 0 | 0 | 0.116105 | 1 | 0.116105 | false | 0 | 0.007491 | 0 | 0.123596 | 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 |
c06c8a341dbcf448ad1c125c6676118e2311692d | 212 | py | Python | memoryreader/web.py | jahmelharris/spireader | 206e382c9c5310073d21004d978300b71e2007d6 | [
"MIT"
] | 3 | 2019-03-05T12:27:49.000Z | 2019-12-13T06:53:13.000Z | memoryreader/web.py | jahmelharris/spireader | 206e382c9c5310073d21004d978300b71e2007d6 | [
"MIT"
] | null | null | null | memoryreader/web.py | jahmelharris/spireader | 206e382c9c5310073d21004d978300b71e2007d6 | [
"MIT"
] | 4 | 2018-11-19T10:14:54.000Z | 2020-11-03T23:17:29.000Z | from memoryreader import app
import flask
# Web routes
@app.route('/spi.html')
def spi():
return flask.render_template('spi.html')
@app.route('/i2c.html')
def i2c():
return flask.render_template('i2c.html')
| 16.307692 | 41 | 0.721698 | 32 | 212 | 4.71875 | 0.46875 | 0.10596 | 0.225166 | 0.331126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015957 | 0.113208 | 212 | 12 | 42 | 17.666667 | 0.787234 | 0.04717 | 0 | 0 | 0 | 0 | 0.170854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.