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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3b7101134f1e50087e5e45ab33f4482509251953 | 94 | py | Python | components/sale/Sale_tpl.py | bitbuit/billterm | 553bf2afb6ff2c1e15becbe1b4ab59346e5a87b5 | [
"MIT"
] | null | null | null | components/sale/Sale_tpl.py | bitbuit/billterm | 553bf2afb6ff2c1e15becbe1b4ab59346e5a87b5 | [
"MIT"
] | null | null | null | components/sale/Sale_tpl.py | bitbuit/billterm | 553bf2afb6ff2c1e15becbe1b4ab59346e5a87b5 | [
"MIT"
] | null | null | null | from components.invoice.Invoice_tpl import Invoice_tpl
class Sale_tpl(Invoice_tpl):
pass
| 18.8 | 54 | 0.819149 | 14 | 94 | 5.214286 | 0.571429 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 94 | 4 | 55 | 23.5 | 0.890244 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
3b8e5ab796ed8e6dfdf3966ec3affb1f849b44c0 | 39 | py | Python | src/tracking_turtlebot/__init__.py | Christophe-Foyer/tracking_turtlebot | a99208be66ef16e1002867d786464e060b15f621 | [
"MIT"
] | null | null | null | src/tracking_turtlebot/__init__.py | Christophe-Foyer/tracking_turtlebot | a99208be66ef16e1002867d786464e060b15f621 | [
"MIT"
] | null | null | null | src/tracking_turtlebot/__init__.py | Christophe-Foyer/tracking_turtlebot | a99208be66ef16e1002867d786464e060b15f621 | [
"MIT"
] | null | null | null | from tracking_turtlebot.utils import *
| 19.5 | 38 | 0.846154 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8e7ef002622960284f14f9e6390d30ec6c258c9c | 27 | py | Python | lib/ext/__init__.py | SignusFalcon/CpE-Bot | 4e5a2be95043b09befd4008518a3072552e32a52 | [
"MIT"
] | null | null | null | lib/ext/__init__.py | SignusFalcon/CpE-Bot | 4e5a2be95043b09befd4008518a3072552e32a52 | [
"MIT"
] | null | null | null | lib/ext/__init__.py | SignusFalcon/CpE-Bot | 4e5a2be95043b09befd4008518a3072552e32a52 | [
"MIT"
] | null | null | null | from . import rootExtractor | 27 | 27 | 0.851852 | 3 | 27 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 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 |
8ec86f874e1cc424c4d86d09f70f0c20717e7018 | 26 | py | Python | simple.py | PowerSnail/cs3240-labdemo-hj5fb | 6ee122cd34d06e617c081f736e9de9397e84733b | [
"MIT"
] | null | null | null | simple.py | PowerSnail/cs3240-labdemo-hj5fb | 6ee122cd34d06e617c081f736e9de9397e84733b | [
"MIT"
] | null | null | null | simple.py | PowerSnail/cs3240-labdemo-hj5fb | 6ee122cd34d06e617c081f736e9de9397e84733b | [
"MIT"
] | null | null | null | print("something simple")
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8ed9a279b95b5b9620472ea0e85892adba2583c3 | 14,258 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/sol/phys/Phys_Studio_WiSUN_FSK.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/sol/phys/Phys_Studio_WiSUN_FSK.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 2 | 2017-02-13T10:07:17.000Z | 2017-03-22T21:28:26.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/sol/phys/Phys_Studio_WiSUN_FSK.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.ocelot.phys.Phys_Studio_WiSUN import PHYS_IEEE802154_WiSUN_Ocelot
from pyradioconfig.calculator_model_framework.decorators.phy_decorators import do_not_inherit_phys
@do_not_inherit_phys
class PHYS_IEEE802154_WiSUN_FSK_Sol(PHYS_IEEE802154_WiSUN_Ocelot):
# Owner: Casey Weltzin
# Jira Li... | 45.993548 | 145 | 0.702553 | 1,977 | 14,258 | 4.813859 | 0.089024 | 0.081959 | 0.131134 | 0.028686 | 0.937585 | 0.928339 | 0.891352 | 0.891352 | 0.891352 | 0.882736 | 0 | 0.099279 | 0.211601 | 14,258 | 310 | 146 | 45.993548 | 0.747353 | 0.275284 | 0 | 0.682171 | 0 | 0 | 0.060496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.100775 | false | 0 | 0.015504 | 0 | 0.224806 | 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 |
d90b0a6acd9956ff4ada52dd5e776c6ba2f32d25 | 263 | py | Python | tests/test_my_addition_function.py | pvcraven/pypi_package_example | a3189e5b1ef9033b376a8edaef387b71004eaf5e | [
"MIT"
] | 1 | 2019-11-08T15:00:10.000Z | 2019-11-08T15:00:10.000Z | tests/test_my_addition_function.py | pvcraven/pypi_package_example | a3189e5b1ef9033b376a8edaef387b71004eaf5e | [
"MIT"
] | null | null | null | tests/test_my_addition_function.py | pvcraven/pypi_package_example | a3189e5b1ef9033b376a8edaef387b71004eaf5e | [
"MIT"
] | null | null | null | import pypi_package_example
def test_my_addition_function():
assert pypi_package_example.my_addition_function(5, 10) == 15
assert pypi_package_example.my_addition_function(15, 10) == 25
assert pypi_package_example.my_addition_function(-10, 10) == 0
| 32.875 | 66 | 0.790875 | 39 | 263 | 4.897436 | 0.384615 | 0.230366 | 0.376963 | 0.376963 | 0.659686 | 0.659686 | 0.659686 | 0 | 0 | 0 | 0 | 0.069565 | 0.125475 | 263 | 7 | 67 | 37.571429 | 0.76087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d93db4e8f9199d5396ce0faae843d4ca436faeea | 94 | py | Python | flaskspawn/cookiecutters/small/{{cookiecutter.repo_name}}/application/views.py | Skablam/flask-spawn | f68efc592952e3b68a11499e2be7d2161105d0b3 | [
"MIT"
] | 6 | 2015-07-05T09:52:27.000Z | 2017-11-05T02:34:32.000Z | flaskspawn/cookiecutters/small/{{cookiecutter.repo_name}}/application/views.py | Skablam/flask-spawn | f68efc592952e3b68a11499e2be7d2161105d0b3 | [
"MIT"
] | 2 | 2015-07-06T12:20:12.000Z | 2016-05-29T23:11:56.000Z | flaskspawn/cookiecutters/small/{{cookiecutter.repo_name}}/application/views.py | Skablam/flask-spawn | f68efc592952e3b68a11499e2be7d2161105d0b3 | [
"MIT"
] | 1 | 2017-02-18T21:32:38.000Z | 2017-02-18T21:32:38.000Z | from application import app
@app.route("/health")
def check_status():
return "Status OK"
| 15.666667 | 27 | 0.712766 | 13 | 94 | 5.076923 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 28 | 18.8 | 0.835443 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d943fcc37ca14cc2c4b8e922664a98abb7774583 | 170 | py | Python | scanpkg/__init__.py | mstg/scanpkg | ba1787f7bf5e3ef06415c9aef949bf20b552ae66 | [
"MIT"
] | 8 | 2015-07-31T17:44:36.000Z | 2020-01-14T16:40:43.000Z | scanpkg/__init__.py | mstg/scanpkg | ba1787f7bf5e3ef06415c9aef949bf20b552ae66 | [
"MIT"
] | 1 | 2019-09-20T19:21:53.000Z | 2019-09-20T19:21:53.000Z | scanpkg/__init__.py | mstg/scanpkg | ba1787f7bf5e3ef06415c9aef949bf20b552ae66 | [
"MIT"
] | 6 | 2017-01-13T15:39:56.000Z | 2020-05-26T18:35:23.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: Mustafa
# @Date: 2015-07-10 00:44:06
# @Last Modified by: Mustafa
# @Last Modified time: 2015-07-10 00:44:06
| 24.285714 | 42 | 0.629412 | 29 | 170 | 3.689655 | 0.689655 | 0.11215 | 0.149533 | 0.186916 | 0.261682 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0.205674 | 0.170588 | 170 | 6 | 43 | 28.333333 | 0.553191 | 0.929412 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d946161641476112516351e1e744f12db21b12a5 | 140 | py | Python | PensePython.py | erikamaylim/Python-CursoemVideo | 5a6809818c4c55a02ec52379d95f3d20c833df2e | [
"MIT"
] | null | null | null | PensePython.py | erikamaylim/Python-CursoemVideo | 5a6809818c4c55a02ec52379d95f3d20c833df2e | [
"MIT"
] | null | null | null | PensePython.py | erikamaylim/Python-CursoemVideo | 5a6809818c4c55a02ec52379d95f3d20c833df2e | [
"MIT"
] | null | null | null | '''matriz = []
for i in range(3):
linha = []
for j in range(3):
linha.append(0)
matriz.append(linha)
print(matriz)'''
| 14 | 24 | 0.535714 | 20 | 140 | 3.75 | 0.55 | 0.186667 | 0.213333 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.278571 | 140 | 9 | 25 | 15.555556 | 0.712871 | 0.942857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d95cb479fdbef85d43006be9775724b0dc1be570 | 46 | py | Python | models/ops/depthavgpooling/functions/__init__.py | E18301194/DepthAwareCNN | 8ae98f7f18b69f79e7df03397dec2543d3d0c8eb | [
"MIT"
] | 278 | 2018-05-09T03:08:56.000Z | 2022-03-10T08:05:10.000Z | models/ops/depthavgpooling/functions/__init__.py | jfzhang95/DepthAwareCNN | 2076c751279637f112d9ea9ce33459b6f3b20063 | [
"MIT"
] | 35 | 2018-05-31T15:42:44.000Z | 2022-03-17T09:36:13.000Z | models/ops/depthavgpooling/functions/__init__.py | jfzhang95/DepthAwareCNN | 2076c751279637f112d9ea9ce33459b6f3b20063 | [
"MIT"
] | 80 | 2018-06-03T10:04:48.000Z | 2022-03-05T12:57:31.000Z | from .depthavgpooling import depth_avgpooling
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d97c485e85e00287f5e5c1cd6f7ba7de1763b87c | 1,085 | py | Python | Day3/day3.2.py | akashvacher/AdventOfCode2021 | 8d1429c0cc33cf67f84097b38fb01f02e69c1717 | [
"MIT"
] | null | null | null | Day3/day3.2.py | akashvacher/AdventOfCode2021 | 8d1429c0cc33cf67f84097b38fb01f02e69c1717 | [
"MIT"
] | null | null | null | Day3/day3.2.py | akashvacher/AdventOfCode2021 | 8d1429c0cc33cf67f84097b38fb01f02e69c1717 | [
"MIT"
] | null | null | null | from collections import Counter
def part2():
all_lines = open("in.txt").read().splitlines()
# Get oxygen_rating
lines = all_lines[:]
i = 0
while len(lines) > 1:
bits = Counter(line[i] for line in lines)
if bits["1"] >= bits["0"]:
lines = [line for line in lines if line... | 27.820513 | 62 | 0.546544 | 161 | 1,085 | 3.627329 | 0.242236 | 0.05137 | 0.092466 | 0.143836 | 0.791096 | 0.736301 | 0.736301 | 0.736301 | 0.736301 | 0.736301 | 0 | 0.038822 | 0.311521 | 1,085 | 38 | 63 | 28.552632 | 0.742972 | 0.129032 | 0 | 0.740741 | 0 | 0 | 0.019149 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.037037 | false | 0 | 0.037037 | 0 | 0.074074 | 0.037037 | 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 |
79d16c2eb9c7d3f87d22b7251ff63aa2533bc83b | 80 | py | Python | tests/test_chardif.py | shaypal5/chardif | ae203a8dfecee3eaa82a76f59ec2799d27d2e107 | [
"MIT"
] | null | null | null | tests/test_chardif.py | shaypal5/chardif | ae203a8dfecee3eaa82a76f59ec2799d27d2e107 | [
"MIT"
] | null | null | null | tests/test_chardif.py | shaypal5/chardif | ae203a8dfecee3eaa82a76f59ec2799d27d2e107 | [
"MIT"
] | null | null | null | from chardif import chardif
def test_basic():
chardif("rabbit", "grabit")
| 13.333333 | 31 | 0.7 | 10 | 80 | 5.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 5 | 32 | 16 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8de2206126f84c2301bea88c30822dc3f0179d11 | 99 | py | Python | app/main/__init__.py | jeantardelli/web-dev-flask | 20582ec5967094803625263177ba111580816cf9 | [
"MIT"
] | 1 | 2020-12-01T20:30:29.000Z | 2020-12-01T20:30:29.000Z | app/main/__init__.py | jeantardelli/web-dev-flask | 20582ec5967094803625263177ba111580816cf9 | [
"MIT"
] | null | null | null | app/main/__init__.py | jeantardelli/web-dev-flask | 20582ec5967094803625263177ba111580816cf9 | [
"MIT"
] | null | null | null | from flask import Blueprint
main_bp = Blueprint('main_bp', __name__)
from . import views, errors
| 16.5 | 40 | 0.767677 | 14 | 99 | 5 | 0.642857 | 0.371429 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 41 | 19.8 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 1 | 0 | 6 |
5c108ae14d6d2e310d97104f0f5c63fe43568030 | 4,021 | py | Python | tests/performance/timings.py | bhumikapahariapuresoftware/visions | 8838d89b4f02e401112378b4662a779227ead9f8 | [
"BSD-4-Clause"
] | 142 | 2020-01-07T21:17:10.000Z | 2022-03-30T13:10:14.000Z | tests/performance/timings.py | bhumikapahariapuresoftware/visions | 8838d89b4f02e401112378b4662a779227ead9f8 | [
"BSD-4-Clause"
] | 121 | 2020-01-07T02:26:38.000Z | 2022-03-29T17:18:19.000Z | tests/performance/timings.py | bhumikapahariapuresoftware/visions | 8838d89b4f02e401112378b4662a779227ead9f8 | [
"BSD-4-Clause"
] | 18 | 2020-02-17T03:17:37.000Z | 2022-02-20T14:01:11.000Z | import pandas as pd
from visions.utils.profiling import (
profile_relation_is_relation,
profile_relation_transform,
profile_type,
)
def performance_report(series_dict, convert_map, membership=True):
"""Relative performance benchmark for casting"""
performance_list = []
for type, _, series_na... | 37.933962 | 87 | 0.647849 | 543 | 4,021 | 4.594843 | 0.160221 | 0.03006 | 0.026453 | 0.031263 | 0.803607 | 0.781964 | 0.766733 | 0.766733 | 0.766733 | 0.732265 | 0 | 0.003777 | 0.209898 | 4,021 | 105 | 88 | 38.295238 | 0.781555 | 0.030589 | 0 | 0.655172 | 0 | 0 | 0.102109 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045977 | false | 0 | 0.022989 | 0.011494 | 0.114943 | 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 |
5c3797af24bee679152d46c2aede4d14093d6f3b | 33 | py | Python | EditSQL/agent.py | Deliangus/MISP | 8632b5ea120f8385825a08eb930232d3ea74c426 | [
"MIT"
] | 54 | 2019-10-07T03:36:25.000Z | 2021-12-27T02:11:11.000Z | EditSQL/agent.py | Deliangus/MISP | 8632b5ea120f8385825a08eb930232d3ea74c426 | [
"MIT"
] | 1 | 2021-08-13T07:48:15.000Z | 2021-08-31T01:30:12.000Z | EditSQL/agent.py | Deliangus/MISP | 8632b5ea120f8385825a08eb930232d3ea74c426 | [
"MIT"
] | 4 | 2020-01-29T17:38:28.000Z | 2021-12-10T19:09:37.000Z | from MISP_SQL.agent import Agent
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
30a7706c5a4286294883c9f973ea6201fa531094 | 68,119 | py | Python | test/ml_tests/test_scikit_algo_assertions.py | Spotflock/intellihub-sdk-python | 5b84e5477691c9ee38f994988ccd59155b7fdf64 | [
"MIT"
] | 2 | 2021-12-07T12:20:06.000Z | 2022-03-09T07:31:50.000Z | test/ml_tests/test_scikit_algo_assertions.py | Spotflock/intellihub-sdk-python | 5b84e5477691c9ee38f994988ccd59155b7fdf64 | [
"MIT"
] | null | null | null | test/ml_tests/test_scikit_algo_assertions.py | Spotflock/intellihub-sdk-python | 5b84e5477691c9ee38f994988ccd59155b7fdf64 | [
"MIT"
] | 1 | 2021-12-06T13:35:09.000Z | 2021-12-06T13:35:09.000Z | import unittest
import os
os.chdir(os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))))
from intellihub_ai.assertions import hyper_parameter_check
class TestScikitClassificationAlgo(unittest.TestCase):
def setUp(self):
self.library = "scikit"
self.service = "classificati... | 63.190167 | 465 | 0.653063 | 8,122 | 68,119 | 5.215957 | 0.03509 | 0.041025 | 0.069965 | 0.084152 | 0.943254 | 0.932301 | 0.925078 | 0.92005 | 0.905061 | 0.899915 | 0 | 0.026581 | 0.184838 | 68,119 | 1,078 | 466 | 63.190167 | 0.736349 | 0.052511 | 0 | 0.643489 | 0 | 0 | 0.320845 | 0.049093 | 0 | 0 | 0 | 0 | 0.197219 | 1 | 0.199747 | false | 0.003793 | 0.003793 | 0 | 0.207332 | 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 |
30f0ae9886859f7b0c8075011805f65061cf0601 | 18,159 | py | Python | jwql/instrument_monitors/nirspec_monitors/data_trending/plots/msa_mce_tab.py | falkben/jwql | 4f035a0f48d875cad6cc832431f1d8fda67e520e | [
"BSD-3-Clause"
] | 1 | 2019-09-13T18:18:14.000Z | 2019-09-13T18:18:14.000Z | jwql/instrument_monitors/nirspec_monitors/data_trending/plots/msa_mce_tab.py | falkben/jwql | 4f035a0f48d875cad6cc832431f1d8fda67e520e | [
"BSD-3-Clause"
] | 2 | 2019-09-13T15:03:56.000Z | 2020-08-26T13:44:39.000Z | jwql/instrument_monitors/nirspec_monitors/data_trending/plots/msa_mce_tab.py | falkben/jwql | 4f035a0f48d875cad6cc832431f1d8fda67e520e | [
"BSD-3-Clause"
] | 1 | 2020-10-16T15:49:40.000Z | 2020-10-16T15:49:40.000Z | #! /usr/bin/env python
"""Prepares plots for Temperature tab
Module prepares plots for mnemonics below. Combines plots in a grid and
returns tab object.
Plot 1 - MCE Board 1 (AIC) Voltages
INRSM_MCE_AIC_1R5_V
INRSM_MCE_AIC_3R3_V
INRSM_MCE_AIC_5_V
INRSM_MCE_AIC_P12_V
INRSM_MCE_AIC_N12_V... | 33.016364 | 99 | 0.602952 | 2,672 | 18,159 | 3.863772 | 0.090943 | 0.046494 | 0.028477 | 0.04475 | 0.883088 | 0.80647 | 0.743801 | 0.730725 | 0.703991 | 0.695854 | 0 | 0.041572 | 0.270114 | 18,159 | 549 | 100 | 33.076503 | 0.737362 | 0.251996 | 0 | 0.572165 | 0 | 0 | 0.208423 | 0.026516 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046392 | false | 0 | 0.051546 | 0 | 0.14433 | 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 |
a51cf503728e73233e5afd319a7cb124feb6665e | 296 | py | Python | vstreamer_utils/model/__init__.py | artudi54/video-streamer | 66e5e722ed66abe5877488f177c0ac4f13325382 | [
"MIT"
] | 2 | 2019-10-08T10:49:52.000Z | 2021-10-01T11:26:31.000Z | vstreamer_utils/model/__init__.py | artudi54/video-streamer | 66e5e722ed66abe5877488f177c0ac4f13325382 | [
"MIT"
] | 1 | 2019-05-16T13:48:29.000Z | 2019-05-16T13:48:49.000Z | vstreamer_utils/model/__init__.py | artudi54/video-streamer | 66e5e722ed66abe5877488f177c0ac4f13325382 | [
"MIT"
] | 1 | 2019-10-08T10:49:56.000Z | 2019-10-08T10:49:56.000Z | from vstreamer_utils.model.DirectoryInfo import DirectoryInfo
from vstreamer_utils.model.DirectoryTree import DirectoryTree
from vstreamer_utils.model.AdditionalEntryProperties import AdditionalEntryProperties
from vstreamer_utils.model.FileEntry import FileEntry, DirectoryEntry, VideoFileEntry
| 59.2 | 85 | 0.905405 | 30 | 296 | 8.8 | 0.366667 | 0.19697 | 0.272727 | 0.348485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060811 | 296 | 4 | 86 | 74 | 0.94964 | 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 |
eb9ccd9a666b6a46b0924b351ef277b172f909f2 | 124 | py | Python | dist/Basilisk/fswAlgorithms/sunlineSuKF/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/fswAlgorithms/sunlineSuKF/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/fswAlgorithms/sunlineSuKF/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the sunlineSuKF package is automatically generated by the build system
from sunlineSuKF import * | 62 | 98 | 0.830645 | 18 | 124 | 5.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 124 | 2 | 99 | 62 | 0.933962 | 0.774194 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cce79aeb715eff32807cc93c1a2d3aa8d98f8208 | 20,376 | py | Python | Packs/TAXIIServer/Integrations/TAXII2Server/TAXII2Server_test.py | cstone112/content | 7f039931b8cfc20e89df52d895440b7321149a0d | [
"MIT"
] | 2 | 2021-12-06T21:38:24.000Z | 2022-01-13T08:23:36.000Z | Packs/TAXIIServer/Integrations/TAXII2Server/TAXII2Server_test.py | cstone112/content | 7f039931b8cfc20e89df52d895440b7321149a0d | [
"MIT"
] | 87 | 2022-02-23T12:10:53.000Z | 2022-03-31T11:29:05.000Z | Packs/TAXIIServer/Integrations/TAXII2Server/TAXII2Server_test.py | cstone112/content | 7f039931b8cfc20e89df52d895440b7321149a0d | [
"MIT"
] | 2 | 2022-01-05T15:27:01.000Z | 2022-02-01T19:27:43.000Z | import copy
import io
import json
import pytest
from requests.auth import _basic_auth_str
from TAXII2Server import TAXII2Server, APP, uuid, create_fields_list
import demistomock as demisto
HEADERS = {
'Authorization': _basic_auth_str("username", "password"),
'Accept': '*/*',
}
@pytest.fixture
def taxii2_serv... | 41.668712 | 117 | 0.644533 | 2,313 | 20,376 | 5.496325 | 0.099006 | 0.047196 | 0.040116 | 0.049084 | 0.825926 | 0.809644 | 0.790687 | 0.768505 | 0.750177 | 0.720286 | 0 | 0.047262 | 0.247154 | 20,376 | 488 | 118 | 41.754098 | 0.781486 | 0.154495 | 0 | 0.665428 | 0 | 0 | 0.268014 | 0.141043 | 0 | 0 | 0 | 0 | 0.200743 | 1 | 0.089219 | false | 0.018587 | 0.026022 | 0 | 0.126394 | 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 |
692eb57dcafc0a16c104284304110e2f667e9b10 | 190 | py | Python | tests/test_fallback_or.py | python-pipe/hellp | 51fd7c9143ee8ce6392b9b877036ad4347ad29a5 | [
"MIT"
] | 123 | 2018-07-31T19:17:27.000Z | 2022-03-18T15:29:07.000Z | tests/test_fallback_or.py | python-pipe/hellp | 51fd7c9143ee8ce6392b9b877036ad4347ad29a5 | [
"MIT"
] | 11 | 2019-05-01T18:01:59.000Z | 2022-01-01T06:43:36.000Z | tests/test_fallback_or.py | python-pipe/hellp | 51fd7c9143ee8ce6392b9b877036ad4347ad29a5 | [
"MIT"
] | 4 | 2019-06-07T12:03:53.000Z | 2021-05-10T20:29:44.000Z | from sspipe import p, px
def test_divide_fallback():
assert (dict(x=2, y=3).keys() / p(list) | p(set)) == {'x', 'y'}
assert (dict(x=2, y=3).values() / p(list) | p(set)) == {2, 3}
| 23.75 | 67 | 0.536842 | 35 | 190 | 2.857143 | 0.542857 | 0.2 | 0.22 | 0.24 | 0.28 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.2 | 190 | 7 | 68 | 27.142857 | 0.618421 | 0 | 0 | 0 | 0 | 0 | 0.010582 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15ea0c269d04ce2d0aaa7011c55b213bb7f08492 | 187 | py | Python | examples/AMDAutomation/dev/dev-tools/generate.py | YuudachiXMMY/BenchmarkAutomation | 36c6899e5dfc4e4a0a186ee28d6cbbda1a08c9e6 | [
"MIT"
] | 1 | 2021-07-09T01:48:01.000Z | 2021-07-09T01:48:01.000Z | examples/AMDAutomation/dev/dev-tools/generate.py | YuudachiXMMY/BenchmarkAutomation | 36c6899e5dfc4e4a0a186ee28d6cbbda1a08c9e6 | [
"MIT"
] | null | null | null | examples/AMDAutomation/dev/dev-tools/generate.py | YuudachiXMMY/BenchmarkAutomation | 36c6899e5dfc4e4a0a186ee28d6cbbda1a08c9e6 | [
"MIT"
] | 1 | 2021-07-26T07:16:34.000Z | 2021-07-26T07:16:34.000Z | pyinstaller --distpath="./build/release" --workpath="./build/release" --specpath="./build/release" -i="C:\Users\Navi\Desktop\BMAutomation\examples\AMDAutomation\dev\Huskies.ico" -F app.py | 187 | 187 | 0.754011 | 24 | 187 | 5.875 | 0.833333 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032086 | 187 | 1 | 187 | 187 | 0.779006 | 0 | 0 | 0 | 0 | 0 | 0.62766 | 0.388298 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15fecc07ea8578d97403ad0b497aea18afc81f64 | 118 | py | Python | tests/integration/constants.py | bk521234/fables | 6e3d461c597610ae2e954a0d30869e1e962d69a4 | [
"Apache-2.0"
] | null | null | null | tests/integration/constants.py | bk521234/fables | 6e3d461c597610ae2e954a0d30869e1e962d69a4 | [
"Apache-2.0"
] | null | null | null | tests/integration/constants.py | bk521234/fables | 6e3d461c597610ae2e954a0d30869e1e962d69a4 | [
"Apache-2.0"
] | null | null | null | import os
DATA_DIR = os.path.join(os.path.dirname(__file__), "data")
HRIS_DATA_DIR = os.path.join(DATA_DIR, "hris")
| 19.666667 | 58 | 0.728814 | 21 | 118 | 3.714286 | 0.428571 | 0.269231 | 0.230769 | 0.333333 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 5 | 59 | 23.6 | 0.735849 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 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 |
c6070e0ea6872e4bb09c03c92f625e6eb1017614 | 82 | py | Python | lightning_plus/api_basebone/restful/relation/__init__.py | twocucao/lightning-plus | e69c81da9c15fdfc37355e0362ff7ed804e94b2a | [
"MIT"
] | 1 | 2021-04-15T14:52:12.000Z | 2021-04-15T14:52:12.000Z | lightning_plus/api_basebone/restful/relation/__init__.py | twocucao/lightning | e69c81da9c15fdfc37355e0362ff7ed804e94b2a | [
"MIT"
] | null | null | null | lightning_plus/api_basebone/restful/relation/__init__.py | twocucao/lightning | e69c81da9c15fdfc37355e0362ff7ed804e94b2a | [
"MIT"
] | null | null | null | from .reverse_m2m import reverse_many_to_many
__all__ = ["reverse_many_to_many"]
| 20.5 | 45 | 0.829268 | 13 | 82 | 4.384615 | 0.538462 | 0.385965 | 0.45614 | 0.596491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.097561 | 82 | 3 | 46 | 27.333333 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c6426cad430c9e0d4d1a54210e489568bbfbde30 | 30 | py | Python | code/main.py | ramonduarte/ellectoral-college-br | ca3e74e5d63deb8f9344d31eb6f65283cb4c5f2f | [
"MIT"
] | null | null | null | code/main.py | ramonduarte/ellectoral-college-br | ca3e74e5d63deb8f9344d31eb6f65283cb4c5f2f | [
"MIT"
] | null | null | null | code/main.py | ramonduarte/ellectoral-college-br | ca3e74e5d63deb8f9344d31eb6f65283cb4c5f2f | [
"MIT"
] | null | null | null | import pandas as pd
print(pd) | 10 | 19 | 0.766667 | 6 | 30 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 3 | 20 | 10 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c64ecfc572c10bdeb11c445aa2900c30706859d6 | 43 | py | Python | src/packagescripts/python_arrow_version.py | davidanthoff/csv-comparison | 44e7c665e83d9832bb879c70d9068bbb5a870539 | [
"MIT"
] | 10 | 2018-10-17T01:58:30.000Z | 2021-11-16T12:31:28.000Z | src/packagescripts/python_arrow_version.py | davidanthoff/csv-comparison | 44e7c665e83d9832bb879c70d9068bbb5a870539 | [
"MIT"
] | 5 | 2018-10-17T05:19:37.000Z | 2020-07-05T03:30:44.000Z | src/packagescripts/python_arrow_version.py | davidanthoff/csv-comparison | 44e7c665e83d9832bb879c70d9068bbb5a870539 | [
"MIT"
] | 3 | 2018-10-23T23:17:15.000Z | 2021-12-28T23:51:14.000Z | import pyarrow
print(pyarrow.__version__)
| 10.75 | 26 | 0.837209 | 5 | 43 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 3 | 27 | 14.333333 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d694667f3f664fce6a80852d14e415852f04be99 | 30,028 | py | Python | tests/test_miningpoolhub_py.py | CoryKrol/miningpoolhub_py | ebbaa886584718329b58a6249bc2c02cda59faa1 | [
"Apache-2.0"
] | null | null | null | tests/test_miningpoolhub_py.py | CoryKrol/miningpoolhub_py | ebbaa886584718329b58a6249bc2c02cda59faa1 | [
"Apache-2.0"
] | null | null | null | tests/test_miningpoolhub_py.py | CoryKrol/miningpoolhub_py | ebbaa886584718329b58a6249bc2c02cda59faa1 | [
"Apache-2.0"
] | null | null | null | import aiohttp
import json
from miningpoolhub_py.exceptions import (
APIError,
APIRateLimitError,
InvalidCoinError,
UnauthorizedError,
)
from miningpoolhub_py import MiningPoolHubAPI
import pytest
from aioresponses import aioresponses
NOT_ALL_KEYS_PRESENT = "All keys should be in the response"
GET_US... | 37.255583 | 116 | 0.690422 | 3,568 | 30,028 | 5.575673 | 0.051009 | 0.021464 | 0.028199 | 0.036493 | 0.895546 | 0.876646 | 0.867096 | 0.837539 | 0.807379 | 0.737609 | 0 | 0.00913 | 0.215732 | 30,028 | 805 | 117 | 37.301863 | 0.835626 | 0 | 0 | 0.669753 | 0 | 0.040123 | 0.137277 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 1 | 0 | false | 0 | 0.009259 | 0 | 0.009259 | 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 |
d6ba670b89041595741efb0fec1702a59bab13d7 | 328 | py | Python | pytiff/test/test_utils.py | ch-schiffer/pytiff | 99f8a7eb6e41e974fab1d49b2979670c8346d0ae | [
"BSD-3-Clause"
] | 9 | 2017-01-04T12:43:42.000Z | 2022-03-21T11:38:14.000Z | pytiff/test/test_utils.py | ch-schiffer/pytiff | 99f8a7eb6e41e974fab1d49b2979670c8346d0ae | [
"BSD-3-Clause"
] | 19 | 2016-06-06T07:49:33.000Z | 2020-11-27T13:25:51.000Z | pytiff/test/test_utils.py | ch-schiffer/pytiff | 99f8a7eb6e41e974fab1d49b2979670c8346d0ae | [
"BSD-3-Clause"
] | 19 | 2017-02-21T12:49:39.000Z | 2022-03-21T11:39:21.000Z | from pytiff import byteorder, is_bigtiff
def test_byteorder():
assert byteorder("test_data/small_example.tif") == "<"
assert byteorder("test_data/big_endian_small_example.tif") == ">"
def test_is_bigtiff():
assert not is_bigtiff("test_data/small_example.tif")
assert is_bigtiff("test_data/bigtif_exampl... | 32.8 | 69 | 0.753049 | 46 | 328 | 5.021739 | 0.369565 | 0.155844 | 0.194805 | 0.199134 | 0.251082 | 0.251082 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 328 | 9 | 70 | 36.444444 | 0.802083 | 0 | 0 | 0 | 0 | 0 | 0.371951 | 0.365854 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.285714 | true | 0 | 0.142857 | 0 | 0.428571 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6cbdffb85b4e7665a5080c3bf9bd272cc82b4d6 | 107 | py | Python | pyplume/__init__.py | awa1k3r/plume-generation-and-analysis | 926f2b09fa1011515310167f0d2b34a051539db1 | [
"BSD-3-Clause"
] | null | null | null | pyplume/__init__.py | awa1k3r/plume-generation-and-analysis | 926f2b09fa1011515310167f0d2b34a051539db1 | [
"BSD-3-Clause"
] | 1 | 2020-06-02T09:51:36.000Z | 2020-06-02T09:51:36.000Z | pyplume/__init__.py | SoftwareDevEngResearch/pyplume | f7d92b71896edc702d9ef769c510f53f118fcecf | [
"BSD-3-Clause"
] | 1 | 2020-04-16T19:15:52.000Z | 2020-04-16T19:15:52.000Z | from . import mech
from . import model
from . import figures
from . import output
from . import statistics
| 17.833333 | 24 | 0.766355 | 15 | 107 | 5.466667 | 0.466667 | 0.609756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186916 | 107 | 5 | 25 | 21.4 | 0.942529 | 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 |
d6f3d66d90fe504f47ba89acf208d2061aaaa7f0 | 24,286 | py | Python | src/tf_transformers/models/albert/convert.py | legacyai/tf-transformers | 65a5f9a4bcb3236483daa598a37b91673f56cb97 | [
"Apache-2.0"
] | 116 | 2021-03-15T09:48:41.000Z | 2022-03-24T05:15:51.000Z | src/tf_transformers/models/albert/convert.py | legacyai/tf-transformers | 65a5f9a4bcb3236483daa598a37b91673f56cb97 | [
"Apache-2.0"
] | 4 | 2021-03-20T11:20:57.000Z | 2022-01-05T04:59:07.000Z | src/tf_transformers/models/albert/convert.py | legacyai/tf-transformers | 65a5f9a4bcb3236483daa598a37b91673f56cb97 | [
"Apache-2.0"
] | 9 | 2021-03-17T04:14:48.000Z | 2021-09-13T07:15:31.000Z | # coding=utf-8
# Copyright 2021 TF-Transformers Authors and The TensorFlow Authors.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licens... | 45.736347 | 120 | 0.674792 | 3,032 | 24,286 | 5.110158 | 0.09004 | 0.016458 | 0.080031 | 0.0759 | 0.86569 | 0.842197 | 0.817478 | 0.809604 | 0.780496 | 0.77643 | 0 | 0.011659 | 0.219509 | 24,286 | 530 | 121 | 45.822642 | 0.80575 | 0.116487 | 0 | 0.587013 | 0 | 0.025974 | 0.432149 | 0.365798 | 0 | 0 | 0 | 0 | 0.062338 | 1 | 0.015584 | false | 0 | 0.036364 | 0 | 0.057143 | 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 |
ba310ed56843611de170706a44fd596818e043ba | 15,227 | py | Python | iglovikov_helper_functions/dl/pytorch/optimizers.py | AIChuY/iglovikov_helper_functions | 46383c7a8b0f8dbdbf7907e119b6c2417877ad33 | [
"MIT"
] | 46 | 2019-09-21T02:05:50.000Z | 2022-01-02T10:27:56.000Z | iglovikov_helper_functions/dl/pytorch/optimizers.py | AIChuY/iglovikov_helper_functions | 46383c7a8b0f8dbdbf7907e119b6c2417877ad33 | [
"MIT"
] | 9 | 2020-04-05T01:19:56.000Z | 2021-08-02T16:53:18.000Z | iglovikov_helper_functions/dl/pytorch/optimizers.py | AIChuY/iglovikov_helper_functions | 46383c7a8b0f8dbdbf7907e119b6c2417877ad33 | [
"MIT"
] | 14 | 2019-09-21T02:54:17.000Z | 2022-02-28T11:58:34.000Z | """
From https://github.com/Yonghongwei/Gradient-Centralization
"""
import math
import torch
from torch.optim.optimizer import Optimizer, required # type: ignore
class AdamW_GCC(Optimizer):
r"""Implements Adam algorithm.
It has been proposed in `Adam: A Method for Stochastic Optimization`_.
Arguments:
... | 38.258794 | 116 | 0.533789 | 1,742 | 15,227 | 4.491963 | 0.122847 | 0.070288 | 0.040895 | 0.030415 | 0.77099 | 0.74901 | 0.739808 | 0.720128 | 0.70901 | 0.692652 | 0 | 0.014389 | 0.365601 | 15,227 | 397 | 117 | 38.355164 | 0.795652 | 0.15814 | 0 | 0.817164 | 0 | 0 | 0.123144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05597 | false | 0 | 0.011194 | 0 | 0.104478 | 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 |
ba83e5bbee2aaa924558284417a6ab9c17bef2f4 | 6,821 | py | Python | loldib/getratings/models/NA/na_nocturne/na_nocturne_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_nocturne/na_nocturne_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_nocturne/na_nocturne_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Nocturne_Bot_Aatrox(Ratings):
pass
class NA_Nocturne_Bot_Ahri(Ratings):
pass
class NA_Nocturne_Bot_Akali(Ratings):
pass
class NA_Nocturne_Bot_Alistar(Ratings):
pass
class NA_Nocturne_Bot_Amumu(Ratings):
pass
class NA_Nocturne_Bot_Anivia(... | 16.357314 | 46 | 0.776133 | 972 | 6,821 | 5.020576 | 0.151235 | 0.197951 | 0.42418 | 0.509016 | 0.814139 | 0.814139 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162879 | 6,821 | 416 | 47 | 16.396635 | 0.854641 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ba8e7fad0df1057110ed00c412b2385782e55468 | 7 | py | Python | python/testData/psi/SliceList.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/psi/SliceList.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/SliceList.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | a[b1,:] | 7 | 7 | 0.428571 | 2 | 7 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 7 | 1 | 7 | 7 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ba9becbbc55fb9f56c798be925fbf9607568b84b | 25 | py | Python | engine/__init__.py | yuanming-hu/elements | e9eccbd61ac45f178ea88b7b405aa2c01549337d | [
"MIT"
] | 265 | 2020-01-09T05:05:26.000Z | 2022-03-31T11:47:32.000Z | engine/__init__.py | TREYWANGCQU/taichi_elements | 6f8a03dcf5b407841b88f7b60cca2619e5cb79a5 | [
"MIT"
] | 76 | 2020-01-09T10:58:48.000Z | 2022-03-26T23:51:32.000Z | engine/__init__.py | TREYWANGCQU/taichi_elements | 6f8a03dcf5b407841b88f7b60cca2619e5cb79a5 | [
"MIT"
] | 50 | 2020-01-11T11:25:39.000Z | 2022-02-20T14:43:36.000Z | from . import mpm_solver
| 12.5 | 24 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
baa80674137e50b54fb7bc6aed3d4bd172f47620 | 31 | py | Python | second.py | yan16032/car | dcb05df25dac5aee3608d3b0268fe5474797bef4 | [
"Apache-2.0"
] | null | null | null | second.py | yan16032/car | dcb05df25dac5aee3608d3b0268fe5474797bef4 | [
"Apache-2.0"
] | null | null | null | second.py | yan16032/car | dcb05df25dac5aee3608d3b0268fe5474797bef4 | [
"Apache-2.0"
] | 1 | 2019-01-19T07:11:04.000Z | 2019-01-19T07:11:04.000Z | print('I like play basketball') | 31 | 31 | 0.774194 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
244ed0dbac6f6997ddef2bc5ce039049b220e51b | 24 | py | Python | tests/resource_management/core/resources/system.py | zhangyyun/ambari-presto-service | 51be4327dbd51bf3a1e8e40d05c2c2963de08766 | [
"Apache-2.0"
] | 46 | 2015-09-19T00:33:26.000Z | 2021-10-20T21:17:14.000Z | tests/resource_management/core/resources/system.py | zhangyyun/ambari-presto-service | 51be4327dbd51bf3a1e8e40d05c2c2963de08766 | [
"Apache-2.0"
] | 32 | 2015-09-15T20:58:25.000Z | 2020-04-09T08:56:00.000Z | tests/resource_management/core/resources/system.py | zhangyyun/ambari-presto-service | 51be4327dbd51bf3a1e8e40d05c2c2963de08766 | [
"Apache-2.0"
] | 48 | 2016-01-08T21:00:46.000Z | 2022-03-24T02:32:54.000Z | def Execute():
pass
| 8 | 14 | 0.583333 | 3 | 24 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 24 | 2 | 15 | 12 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
79f7d4a0d30613931c5f898c20f1b20986831d9d | 29 | py | Python | py/__init__.py | iirthw/quick_tracer | 23ac768c029bef0183b3736b6c9c08b66efd0588 | [
"MIT"
] | null | null | null | py/__init__.py | iirthw/quick_tracer | 23ac768c029bef0183b3736b6c9c08b66efd0588 | [
"MIT"
] | null | null | null | py/__init__.py | iirthw/quick_tracer | 23ac768c029bef0183b3736b6c9c08b66efd0588 | [
"MIT"
] | null | null | null | # TODO: implement __init__.py | 29 | 29 | 0.793103 | 4 | 29 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.730769 | 0.931034 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
036dcc65c3792ebfe7de4bae2881c1a3079038f4 | 224 | py | Python | src/trader/base.py | edse/bl3ptrader | 40c83751f2b854e9a5d0f915dce7fd84dc9d7233 | [
"MIT"
] | 1 | 2017-11-19T13:35:34.000Z | 2017-11-19T13:35:34.000Z | src/trader/base.py | edse/bl3ptrader | 40c83751f2b854e9a5d0f915dce7fd84dc9d7233 | [
"MIT"
] | 3 | 2020-02-11T23:39:00.000Z | 2021-06-10T19:12:20.000Z | src/trader/base.py | edse/bl3ptrader | 40c83751f2b854e9a5d0f915dce7fd84dc9d7233 | [
"MIT"
] | null | null | null | from .constants import * # noqa
from .logger import * # noqa
# logger = logging.getLogger('bl3ptrader')
# logger.setLevel(logging.DEBUG)
# ch = logging.StreamHandler()
# ch.setLevel(logging.DEBUG)
# logger.addHandler(ch)
| 24.888889 | 42 | 0.727679 | 26 | 224 | 6.269231 | 0.5 | 0.122699 | 0.245399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 0.129464 | 224 | 8 | 43 | 28 | 0.830769 | 0.709821 | 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 |
0372f0c38bed62f61c61a37010908d027a1e45cd | 289 | py | Python | rucio_jupyterlab/tests/mocks/mock_handler.py | didithilmy/rucio-jupyterlab | ad2db1344bb433a466696cde51aa787cd3b23237 | [
"BSD-3-Clause"
] | 4 | 2020-10-14T15:01:02.000Z | 2021-09-30T14:17:26.000Z | rucio_jupyterlab/tests/mocks/mock_handler.py | didithilmy/rucio-jupyterlab | ad2db1344bb433a466696cde51aa787cd3b23237 | [
"BSD-3-Clause"
] | 1 | 2021-04-30T14:29:53.000Z | 2021-05-01T07:21:33.000Z | rucio_jupyterlab/tests/mocks/mock_handler.py | didithilmy/rucio-jupyterlab | ad2db1344bb433a466696cde51aa787cd3b23237 | [
"BSD-3-Clause"
] | 1 | 2020-07-31T19:57:24.000Z | 2020-07-31T19:57:24.000Z | class MockHandler:
def finish(*args, **kwargs):
pass
def current_user(*args, **kwargs):
return None
def get_json_body(*args, **kwargs):
pass
def get_query_argument(*args, **kwargs):
pass
def set_status(*args, **kwargs):
pass
| 18.0625 | 44 | 0.574394 | 34 | 289 | 4.705882 | 0.529412 | 0.3125 | 0.35 | 0.31875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301038 | 289 | 15 | 45 | 19.266667 | 0.792079 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | true | 0.363636 | 0 | 0.090909 | 0.636364 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ceea4a5be3b247ca2a7fcf6e785d602704c1f873 | 81 | py | Python | src/cmder/__init__.py | iBiology/cmder | 2a0a7bf44d053fc2f6714e080a1ad3a91043ec5a | [
"MIT"
] | null | null | null | src/cmder/__init__.py | iBiology/cmder | 2a0a7bf44d053fc2f6714e080a1ad3a91043ec5a | [
"MIT"
] | null | null | null | src/cmder/__init__.py | iBiology/cmder | 2a0a7bf44d053fc2f6714e080a1ad3a91043ec5a | [
"MIT"
] | null | null | null | from .cmder import run
from .cmder import CMD_LINE_LENGTH
from .cmder import PMT
| 20.25 | 34 | 0.814815 | 14 | 81 | 4.571429 | 0.571429 | 0.421875 | 0.703125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 35 | 27 | 0.927536 | 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 |
cef6e62fb008fde842ffd535aded9c12251ea9b8 | 27 | py | Python | backendpy/__init__.py | savangco/backendpy | c6dfd18d9196fac60de517117fc1020d2d168a57 | [
"BSD-3-Clause"
] | 1 | 2022-01-24T18:37:13.000Z | 2022-01-24T18:37:13.000Z | backendpy/__init__.py | savangco/backendpy | c6dfd18d9196fac60de517117fc1020d2d168a57 | [
"BSD-3-Clause"
] | null | null | null | backendpy/__init__.py | savangco/backendpy | c6dfd18d9196fac60de517117fc1020d2d168a57 | [
"BSD-3-Clause"
] | null | null | null | from .asgi import Backendpy | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 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 |
3037f7257e3b9adfe75b6de5dcaea006310fcfee | 84,111 | py | Python | cme/modules/nanodump.py | retr0-13/CrackMapExec | e9bcd09bd2c862200a40ecdc431fcf56f0ae5b67 | [
"BSD-2-Clause"
] | 3 | 2021-10-31T14:50:29.000Z | 2022-02-27T16:30:30.000Z | cme/modules/nanodump.py | retr0-13/CrackMapExec | e9bcd09bd2c862200a40ecdc431fcf56f0ae5b67 | [
"BSD-2-Clause"
] | null | null | null | cme/modules/nanodump.py | retr0-13/CrackMapExec | e9bcd09bd2c862200a40ecdc431fcf56f0ae5b67 | [
"BSD-2-Clause"
] | 1 | 2022-03-20T22:09:54.000Z | 2022-03-20T22:09:54.000Z | # nanodump module for CME python3
# author of the module : github.com/mpgn
# nanodump: https://github.com/helpsystems/nanodump
from io import StringIO
import os
import sys
import re
import time
import base64
class CMEModule:
name = 'nanodump'
description = "Get lsass dump using nanodump and parse the result ... | 572.183673 | 77,192 | 0.925896 | 2,624 | 84,111 | 29.647485 | 0.654345 | 0.003085 | 0.001671 | 0.001131 | 0.014371 | 0.011723 | 0.010001 | 0.005669 | 0.005399 | 0.003741 | 0 | 0.06769 | 0.025728 | 84,111 | 146 | 77,193 | 576.10274 | 0.881643 | 0.005814 | 0 | 0.155172 | 0 | 0.025862 | 0.939438 | 0.925925 | 0 | 1 | 0 | 0 | 0 | 1 | 0.017241 | false | 0.025862 | 0.051724 | 0 | 0.12069 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0621e456138e228f2308333bfbc0da1e2f13b8ea | 6,244 | py | Python | backend/app/tests/functional/test_datarooms.py | saschajullmann/sedotra | aaa38f6d533daa725a7037a8c446da978ffafa7d | [
"MIT"
] | null | null | null | backend/app/tests/functional/test_datarooms.py | saschajullmann/sedotra | aaa38f6d533daa725a7037a8c446da978ffafa7d | [
"MIT"
] | null | null | null | backend/app/tests/functional/test_datarooms.py | saschajullmann/sedotra | aaa38f6d533daa725a7037a8c446da978ffafa7d | [
"MIT"
] | null | null | null | import uuid
from fastapi.testclient import TestClient
from sqlalchemy.orm import Session
from app.core.config import settings
from app.models.dataroom_role import DataRoomRole
from tests.fixtures.role_data import Data
from tests.utils.auth_header import create_access_header
def test_get_rooms_in_org(
client: Test... | 27.030303 | 106 | 0.665599 | 866 | 6,244 | 4.531178 | 0.130485 | 0.043323 | 0.064985 | 0.039246 | 0.812946 | 0.80683 | 0.790265 | 0.756116 | 0.738022 | 0.728338 | 0 | 0.01397 | 0.231903 | 6,244 | 230 | 107 | 27.147826 | 0.804212 | 0.138533 | 0 | 0.594771 | 0 | 0.039216 | 0.195767 | 0.154384 | 0 | 0 | 0 | 0 | 0.150327 | 1 | 0.026144 | false | 0 | 0.045752 | 0 | 0.071895 | 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 |
064d690452034468a919d9c59ad6be3f663872c9 | 170 | py | Python | navigator/auth/authorizations/__init__.py | phenobarbital/navigator-api | 15a0336b570ec861bdcc9c225e6f1b5684900a9d | [
"Apache-2.0",
"BSD-3-Clause"
] | 10 | 2020-07-27T03:33:20.000Z | 2022-02-18T21:25:49.000Z | navigator/auth/authorizations/__init__.py | webclinic017/navigator-api | d5844339c3127be77db0ee38aa7b833633e34075 | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2020-09-07T15:20:54.000Z | 2021-05-28T00:56:45.000Z | navigator/auth/authorizations/__init__.py | webclinic017/navigator-api | d5844339c3127be77db0ee38aa7b833633e34075 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2020-07-27T07:36:45.000Z | 2021-09-26T18:36:34.000Z | """Authorization Middlewares for Navigator."""
from .hosts import authz_hosts
from .allow_hosts import authz_allow_hosts
__all__ = ["authz_hosts", "authz_allow_hosts"]
| 24.285714 | 46 | 0.794118 | 22 | 170 | 5.636364 | 0.454545 | 0.241935 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 170 | 6 | 47 | 28.333333 | 0.815789 | 0.235294 | 0 | 0 | 0 | 0 | 0.225806 | 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 |
0651ae5aada87e2a96994515698f86e5e6738419 | 1,899 | py | Python | tests/search/test_basic.py | jaebradley/python_problems | 24b8ecd49e3095f5c607906cb36019b9e865a20f | [
"MIT"
] | null | null | null | tests/search/test_basic.py | jaebradley/python_problems | 24b8ecd49e3095f5c607906cb36019b9e865a20f | [
"MIT"
] | 5 | 2017-08-25T20:43:16.000Z | 2019-10-18T16:49:43.000Z | tests/search/test_basic.py | jaebradley/python_problems | 24b8ecd49e3095f5c607906cb36019b9e865a20f | [
"MIT"
] | null | null | null | """
Unit Test for search.basic problems
"""
from unittest import TestCase
from search.basic import recursive_dfs, iterative_dfs
class TestRecursiveDepthFirstSearch(TestCase):
"""
Unit Test for recursive Depth First Search implementation
"""
def test_searching_returns_nodes(self):
"""Test ret... | 30.142857 | 95 | 0.434439 | 206 | 1,899 | 3.898058 | 0.174757 | 0.014944 | 0.022416 | 0.099626 | 0.719801 | 0.719801 | 0.719801 | 0.712329 | 0.712329 | 0.712329 | 0 | 0 | 0.344918 | 1,899 | 62 | 96 | 30.629032 | 0.645498 | 0.138494 | 0 | 0.777778 | 0 | 0 | 0.055802 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.222222 | 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 |
88cdbda6ec61e92bf42cbbfc5ad3e0d8ffd43392 | 11,263 | py | Python | siftmodel/codebook.py | Shaalan31/LIWI | b4d615e0951b7c28c9258d0d7a8ff86c73c4ebe2 | [
"MIT"
] | 2 | 2019-10-16T07:37:46.000Z | 2020-10-04T10:31:02.000Z | siftmodel/codebook.py | Shaalan31/LIWI | b4d615e0951b7c28c9258d0d7a8ff86c73c4ebe2 | [
"MIT"
] | 3 | 2021-03-19T00:22:56.000Z | 2022-01-13T01:12:35.000Z | siftmodel/codebook.py | Shaalan31/LIWI | b4d615e0951b7c28c9258d0d7a8ff86c73c4ebe2 | [
"MIT"
] | 2 | 2019-06-04T10:58:39.000Z | 2019-06-06T18:52:01.000Z | import numpy as np
from neupy import algorithms, utils, storage
import h5py
import glob
import cv2 as cv
from siftmodel.sift import *
from utils import *
import pickle
def on_epoch_end(self, optimizer):
print("Last epoch: {}".format(optimizer.last_epoch))
storage.load(optimizer, filepath='file.hdf5')
class ... | 40.225 | 147 | 0.550653 | 1,338 | 11,263 | 4.539611 | 0.11435 | 0.01811 | 0.025683 | 0.039513 | 0.853145 | 0.827626 | 0.799309 | 0.795028 | 0.7784 | 0.763253 | 0 | 0.025929 | 0.304892 | 11,263 | 279 | 148 | 40.369176 | 0.749904 | 0.380627 | 0 | 0.557143 | 0 | 0 | 0.078232 | 0.008725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128571 | false | 0 | 0.057143 | 0 | 0.207143 | 0.121429 | 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 |
aebb9b1e6a2e657a9987930f6bdc8deb7dfa86a6 | 4,646 | py | Python | dbleupy/__init__.py | itsflorent/python-library | efc4163b3a3edde55d47f2d503e8b715550933ff | [
"MIT"
] | 1 | 2021-10-16T21:50:02.000Z | 2021-10-16T21:50:02.000Z | dbleupy/__init__.py | itsflorent/python-library | efc4163b3a3edde55d47f2d503e8b715550933ff | [
"MIT"
] | null | null | null | dbleupy/__init__.py | itsflorent/python-library | efc4163b3a3edde55d47f2d503e8b715550933ff | [
"MIT"
] | 2 | 2021-10-17T08:36:03.000Z | 2021-10-20T21:28:44.000Z | import requests
import json
from requests import api
class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKCYAN = '\033[96m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
def dbleu_postservercount(apikey=Non... | 34.161765 | 183 | 0.613216 | 595 | 4,646 | 4.714286 | 0.157983 | 0.103387 | 0.109091 | 0.121925 | 0.846346 | 0.822816 | 0.813547 | 0.802852 | 0.802852 | 0.7918 | 0 | 0.022668 | 0.259363 | 4,646 | 135 | 184 | 34.414815 | 0.792502 | 0 | 0 | 0.666667 | 0 | 0.133333 | 0.318192 | 0.004952 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.033333 | 0 | 0.344444 | 0.166667 | 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 |
aebf6cc750f2a16a603ca446ee7e97ac8225f959 | 141 | py | Python | akData/format/__init__.py | adamkerz/akData | 673884671da54b2b96480616a3f2633ba4b4710d | [
"BSD-3-Clause"
] | null | null | null | akData/format/__init__.py | adamkerz/akData | 673884671da54b2b96480616a3f2633ba4b4710d | [
"BSD-3-Clause"
] | null | null | null | akData/format/__init__.py | adamkerz/akData | 673884671da54b2b96480616a3f2633ba4b4710d | [
"BSD-3-Clause"
] | null | null | null | from . import boolean
from . import number
from . import datetime
from . import phoneNumber
from . import abn
from . import django
| 15.666667 | 26 | 0.716312 | 18 | 141 | 5.611111 | 0.444444 | 0.594059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241135 | 141 | 8 | 27 | 17.625 | 0.943925 | 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 |
aec6c5922fa1441258ef417b7eb521d5d29aa418 | 112,817 | py | Python | tags_model.py | mdstepha/SLX2MDL | e96605ab88c8e17a52b7345d3920437207fdb86a | [
"MIT"
] | 2 | 2021-02-13T13:14:20.000Z | 2022-03-22T17:06:33.000Z | tags_model.py | mdstepha/SLX2MDL | e96605ab88c8e17a52b7345d3920437207fdb86a | [
"MIT"
] | null | null | null | tags_model.py | mdstepha/SLX2MDL | e96605ab88c8e17a52b7345d3920437207fdb86a | [
"MIT"
] | null | null | null | #!/usr/bin/python3
from commons import Utils, XmlElement
class Annotation(XmlElement):
def __init__(self, strval, parent_xml):
strval = strval.strip()
assert strval.startswith('<Annotation') and strval.endswith('</Annotation>')
super().__init__(strval, parent_xml)
innerxml_used =... | 31.923316 | 218 | 0.568478 | 13,665 | 112,817 | 4.521332 | 0.035785 | 0.033989 | 0.033892 | 0.056487 | 0.742668 | 0.736081 | 0.726078 | 0.722452 | 0.712223 | 0.693448 | 0 | 0.000477 | 0.31177 | 112,817 | 3,533 | 219 | 31.932352 | 0.795258 | 0.062996 | 0 | 0.730693 | 0 | 0 | 0.131662 | 0.018797 | 0 | 0 | 0 | 0.000849 | 0.029703 | 1 | 0.089505 | false | 0.000396 | 0.000396 | 0.035248 | 0.184951 | 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 |
aed6f04bfb46307a63ec9a2d1788a8a918a2ffb0 | 4,146 | py | Python | SupplementaryInformation/CreateHistogramPlots.py | SysBioChalmers/ChIPexo_Pipeline | 7fa9dcfcb443bbe7b55f36051e7e86b5b38741a4 | [
"MIT"
] | null | null | null | SupplementaryInformation/CreateHistogramPlots.py | SysBioChalmers/ChIPexo_Pipeline | 7fa9dcfcb443bbe7b55f36051e7e86b5b38741a4 | [
"MIT"
] | 1 | 2020-06-01T08:14:19.000Z | 2020-08-05T15:26:49.000Z | SupplementaryInformation/CreateHistogramPlots.py | SysBioChalmers/ChIPexo_Pipeline | 7fa9dcfcb443bbe7b55f36051e7e86b5b38741a4 | [
"MIT"
] | 2 | 2019-09-12T05:43:20.000Z | 2020-02-29T06:14:59.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Python SubFunction for creating the HeatMap Data
Part of the Supplementary Information
@author: Christoph S. Boerlin; Chalmers University of Technology, Gothenburg Sweden
"""
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
selectedTFandConds={'I... | 45.065217 | 165 | 0.676797 | 576 | 4,146 | 4.833333 | 0.269097 | 0.017241 | 0.011494 | 0.023707 | 0.768319 | 0.768319 | 0.751078 | 0.751078 | 0.751078 | 0.742457 | 0 | 0.053144 | 0.13314 | 4,146 | 91 | 166 | 45.56044 | 0.72148 | 0.170285 | 0 | 0.745098 | 0 | 0 | 0.154274 | 0.051815 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 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 |
aef7f76b11f31feacdaaefd95c6cc7debdd3a93f | 1,860 | py | Python | huaweicloud-sdk-tms/huaweicloudsdktms/v1/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-tms/huaweicloudsdktms/v1/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-tms/huaweicloudsdktms/v1/__init__.py | wuchen-huawei/huaweicloud-sdk-python-v3 | 3683d703f4320edb2b8516f36f16d485cff08fc2 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
# import TmsClient
from huaweicloudsdktms.v1.tms_client import TmsClient
from huaweicloudsdktms.v1.tms_async_client import TmsAsyncClient
# import models into sdk package
from huaweicloudsdktms.v1.model.create_predefine_tags_request import CreatePredefineTagsRequ... | 64.137931 | 97 | 0.90914 | 211 | 1,860 | 7.748815 | 0.260664 | 0.269725 | 0.295413 | 0.325382 | 0.468502 | 0.430581 | 0.331498 | 0 | 0 | 0 | 0 | 0.012521 | 0.055376 | 1,860 | 28 | 98 | 66.428571 | 0.918042 | 0.032796 | 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 |
9d7c83954a704c7db9ca451ab8a2c5bcc94b0436 | 379 | py | Python | src/sage/schemes/toric/all.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | 1,742 | 2015-01-04T07:06:13.000Z | 2022-03-30T11:32:52.000Z | src/sage/schemes/toric/all.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | 66 | 2015-03-19T19:17:24.000Z | 2022-03-16T11:59:30.000Z | src/sage/schemes/toric/all.py | UCD4IDS/sage | 43474c96d533fd396fe29fe0782d44dc7f5164f7 | [
"BSL-1.0"
] | 495 | 2015-01-10T10:23:18.000Z | 2022-03-24T22:06:11.000Z | from sage.misc.lazy_import import lazy_import
lazy_import('sage.schemes.toric.weierstrass', 'WeierstrassForm')
lazy_import('sage.schemes.toric.variety', ['AffineToricVariety', 'ToricVariety'])
lazy_import('sage.schemes.toric.library', 'toric_varieties')
lazy_import('sage.schemes.toric.fano_variety', 'CPRFanoToricVarie... | 47.375 | 81 | 0.807388 | 46 | 379 | 6.456522 | 0.391304 | 0.23569 | 0.23569 | 0.353535 | 0.43771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042216 | 379 | 7 | 82 | 54.142857 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.596306 | 0.361478 | 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 |
9d97eec2d67d98dcae5e01933faaa1ac2538bd1b | 193 | py | Python | views/contact.py | vinztheprinze99/ADE-Scheduler | dee1e1f7e55e637452f8f32175da454a954e13cd | [
"MIT"
] | 16 | 2019-09-20T15:33:46.000Z | 2021-09-14T22:34:39.000Z | views/contact.py | vinztheprinze99/ADE-Scheduler | dee1e1f7e55e637452f8f32175da454a954e13cd | [
"MIT"
] | 271 | 2020-09-15T10:18:19.000Z | 2021-11-08T20:40:03.000Z | views/contact.py | vinztheprinze99/ADE-Scheduler | dee1e1f7e55e637452f8f32175da454a954e13cd | [
"MIT"
] | 7 | 2020-05-05T12:44:32.000Z | 2021-09-11T08:22:42.000Z | from flask import Blueprint, render_template
contact = Blueprint("contact", __name__, static_folder="../static")
@contact.route("/")
def index():
return render_template("contact.html")
| 19.3 | 67 | 0.73057 | 22 | 193 | 6.090909 | 0.681818 | 0.208955 | 0.313433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119171 | 193 | 9 | 68 | 21.444444 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0.150259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
9dd7ef463e99a5887250a9f6360037005cf1e4a2 | 174 | py | Python | data/county_level/raw/nchs_mortality/download.py | csinva/covid-19-analysis | e7b1e82cb6b25d62a868ff61025d88e17452de28 | [
"MIT"
] | 2 | 2020-03-24T16:50:02.000Z | 2020-03-24T17:00:50.000Z | data_new/county_level/raw/nchs_mortality/download.py | rahul263-stack/covid19-severity-prediction | f581adb2fccb12d5ab3f3c59ee120f484703edf5 | [
"MIT"
] | 1 | 2020-03-28T15:34:28.000Z | 2020-03-28T19:22:27.000Z | data/county_level/raw/nchs_mortality/download.py | Yu-Group/covid-19-ventilator-demand-prediction | e7b1e82cb6b25d62a868ff61025d88e17452de28 | [
"MIT"
] | null | null | null | #! /usr/bin/python3
import os
os.system("wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=11Oy2IEfkeIgA0s5VZTZ4c3obg5A_IQDq' -O nchs_mortality.txt") | 58 | 144 | 0.793103 | 25 | 174 | 5.44 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054217 | 0.045977 | 174 | 3 | 144 | 58 | 0.76506 | 0.103448 | 0 | 0 | 0 | 0.5 | 0.839744 | 0.141026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d1d868b5a4368c6a2ef8be2c04bffb54cf8b3684 | 40 | py | Python | week1/ass1.py | aniruddh09/aniruddh09 | e2977a87169b9267d4d0069d83d51989a2c989f4 | [
"MIT"
] | null | null | null | week1/ass1.py | aniruddh09/aniruddh09 | e2977a87169b9267d4d0069d83d51989a2c989f4 | [
"MIT"
] | null | null | null | week1/ass1.py | aniruddh09/aniruddh09 | e2977a87169b9267d4d0069d83d51989a2c989f4 | [
"MIT"
] | null | null | null | import numpy as np
print(np.arange(10))
| 13.333333 | 20 | 0.75 | 8 | 40 | 3.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.125 | 40 | 2 | 21 | 20 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
ae24daf838fa800d4aaabf09b14bada24c33684b | 3,170 | py | Python | tests/test_recipes_endpoint.py | iwpnd/toponym-api | 5810837dc11fd9b50cd45e4abe2b673fd3cd5cf6 | [
"MIT"
] | 1 | 2020-01-25T22:53:08.000Z | 2020-01-25T22:53:08.000Z | tests/test_recipes_endpoint.py | iwpnd/toponym-api | 5810837dc11fd9b50cd45e4abe2b673fd3cd5cf6 | [
"MIT"
] | null | null | null | tests/test_recipes_endpoint.py | iwpnd/toponym-api | 5810837dc11fd9b50cd45e4abe2b673fd3cd5cf6 | [
"MIT"
] | null | null | null | import json
import pytest
from starlette.status import HTTP_200_OK
from starlette.status import HTTP_404_NOT_FOUND
from toponym import settings
from toponym_api.core.config import API_V1_STR
def is_json(myjson):
try:
json.loads(myjson)
except ValueError:
return False
return True
@pytes... | 38.192771 | 88 | 0.753312 | 446 | 3,170 | 5.067265 | 0.132287 | 0.061947 | 0.038938 | 0.039823 | 0.830089 | 0.764159 | 0.764159 | 0.764159 | 0.764159 | 0.729204 | 0 | 0.014877 | 0.130599 | 3,170 | 82 | 89 | 38.658537 | 0.805152 | 0 | 0 | 0.448276 | 0 | 0 | 0.14795 | 0.033123 | 0 | 0 | 0 | 0 | 0.224138 | 1 | 0.189655 | false | 0 | 0.103448 | 0 | 0.327586 | 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 |
ae38bf6661f9a9fbd5711cc61c59042cfea56af8 | 56 | py | Python | drllib/__init__.py | the0demiurge/Deep-Reinforcement-Learning | d68113ad33afa12aff8fbb036b7240caf22ac1aa | [
"Apache-2.0"
] | 1 | 2020-01-01T02:50:11.000Z | 2020-01-01T02:50:11.000Z | drllib/__init__.py | the0demiurge/Deep-Reinforcement-Learning | d68113ad33afa12aff8fbb036b7240caf22ac1aa | [
"Apache-2.0"
] | null | null | null | drllib/__init__.py | the0demiurge/Deep-Reinforcement-Learning | d68113ad33afa12aff8fbb036b7240caf22ac1aa | [
"Apache-2.0"
] | 1 | 2020-07-10T13:26:20.000Z | 2020-07-10T13:26:20.000Z | from drllib.dqn import DQN
from drllib.ddpg import DDPG
| 18.666667 | 28 | 0.821429 | 10 | 56 | 4.6 | 0.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 29 | 28 | 0.958333 | 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 |
ae588ef24413bd791624d7e32118f3c7246cd384 | 41 | py | Python | openpharmacophore/tests/test_extractors.py | dprada/OpenPharmacophore | bfcf4bdafd586b27a48fd5d1f13614707b5e55a8 | [
"MIT"
] | 1 | 2022-03-18T08:22:04.000Z | 2022-03-18T08:22:04.000Z | openpharmacophore/tests/test_extractors.py | dprada/OpenPharmacophore | bfcf4bdafd586b27a48fd5d1f13614707b5e55a8 | [
"MIT"
] | null | null | null | openpharmacophore/tests/test_extractors.py | dprada/OpenPharmacophore | bfcf4bdafd586b27a48fd5d1f13614707b5e55a8 | [
"MIT"
] | null | null | null | def test_dbscan_pharmacophore():
pass | 20.5 | 32 | 0.780488 | 5 | 41 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 2 | 33 | 20.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ae6d1604db059d4fb3adee391c10d46b71e6018c | 2,486 | py | Python | test/exploits/hashes/collisions/test_php5_fast.py | drjerry/acsploit | fbe07fb0eb651e3c5fc27a0dbdfcd0ec4c674381 | [
"BSD-3-Clause"
] | 107 | 2018-05-03T16:53:01.000Z | 2022-02-23T14:47:20.000Z | test/exploits/hashes/collisions/test_php5_fast.py | drjerry/acsploit | fbe07fb0eb651e3c5fc27a0dbdfcd0ec4c674381 | [
"BSD-3-Clause"
] | 7 | 2019-04-28T00:41:35.000Z | 2021-05-04T20:35:54.000Z | test/exploits/hashes/collisions/test_php5_fast.py | drjerry/acsploit | fbe07fb0eb651e3c5fc27a0dbdfcd0ec4c674381 | [
"BSD-3-Clause"
] | 16 | 2019-03-29T12:39:16.000Z | 2021-03-03T11:09:45.000Z | from exploits.hashes.collisions import php5_fast
from exploits.hashes.collisions import php5_common
from test.exploits.dummy_output import DummyOutput
from input.chars import CharGenerator
def test_run_small_collision_count():
output = DummyOutput()
n_collisions = 20
hash_table_size = 2**32
target = '... | 35.514286 | 70 | 0.718021 | 339 | 2,486 | 4.935103 | 0.138643 | 0.119546 | 0.179319 | 0.076509 | 0.835625 | 0.827256 | 0.73162 | 0.73162 | 0.680215 | 0.662283 | 0 | 0.033122 | 0.174175 | 2,486 | 69 | 71 | 36.028986 | 0.781783 | 0 | 0 | 0.721311 | 0 | 0 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 1 | 0.065574 | false | 0 | 0.065574 | 0 | 0.131148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ae75cb9b479d615092510f6e860e4ffe3e1bc225 | 122 | py | Python | tests/helpers/examples/__init__.py | sashgorokhov-forks/stories | ae0596cd1c6eb2b159bc652706d28ed934af1507 | [
"BSD-2-Clause"
] | null | null | null | tests/helpers/examples/__init__.py | sashgorokhov-forks/stories | ae0596cd1c6eb2b159bc652706d28ed934af1507 | [
"BSD-2-Clause"
] | null | null | null | tests/helpers/examples/__init__.py | sashgorokhov-forks/stories | ae0596cd1c6eb2b159bc652706d28ed934af1507 | [
"BSD-2-Clause"
] | null | null | null | # flake8: noqa
import examples.contract
import examples.failure_reasons
import examples.methods
import examples.shortcuts
| 20.333333 | 31 | 0.860656 | 15 | 122 | 6.933333 | 0.6 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.090164 | 122 | 5 | 32 | 24.4 | 0.927928 | 0.098361 | 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 |
8817a0a56a075ce4db5ff9093972a61547dc58f6 | 120 | py | Python | test/analytics.py | giuseppe/quay | a1b7e4b51974edfe86f66788621011eef2667e6a | [
"Apache-2.0"
] | 2,027 | 2019-11-12T18:05:48.000Z | 2022-03-31T22:25:04.000Z | test/analytics.py | giuseppe/quay | a1b7e4b51974edfe86f66788621011eef2667e6a | [
"Apache-2.0"
] | 496 | 2019-11-12T18:13:37.000Z | 2022-03-31T10:43:45.000Z | test/analytics.py | giuseppe/quay | a1b7e4b51974edfe86f66788621011eef2667e6a | [
"Apache-2.0"
] | 249 | 2019-11-12T18:02:27.000Z | 2022-03-22T12:19:19.000Z | class FakeMixpanel(object):
def track(*args, **kwargs):
pass
def init_app(app):
return FakeMixpanel()
| 15 | 31 | 0.641667 | 14 | 120 | 5.428571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 120 | 7 | 32 | 17.142857 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
8836e3140ef8e6fb7f5a02d3a686c043ebadcea3 | 133 | py | Python | Class04/test1.py | BinHan-Code/PythonNetClass | c63e89c74407e4f1706e163c90e9d117149561c9 | [
"Apache-2.0"
] | null | null | null | Class04/test1.py | BinHan-Code/PythonNetClass | c63e89c74407e4f1706e163c90e9d117149561c9 | [
"Apache-2.0"
] | null | null | null | Class04/test1.py | BinHan-Code/PythonNetClass | c63e89c74407e4f1706e163c90e9d117149561c9 | [
"Apache-2.0"
] | null | null | null |
print ("Hello")
print ("Hello")
print ("Hello")
def my_func()
print("my username")
print ("Hello")
print ("Hello")
my_func()
| 10.230769 | 24 | 0.616541 | 18 | 133 | 4.444444 | 0.333333 | 0.625 | 0.5625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172932 | 133 | 12 | 25 | 11.083333 | 0.727273 | 0 | 0 | 0.625 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ee01d8d0dbd498c44e3b91b511052f8f5d51d59b | 7,452 | py | Python | DataReader.py | sibirbil/SimpleKernels | 7fc4f5a784bb2256129874064f3fbf16ae5b4b4e | [
"MIT"
] | 1 | 2021-03-08T10:06:11.000Z | 2021-03-08T10:06:11.000Z | DataReader.py | sibirbil/SimpleKernels | 7fc4f5a784bb2256129874064f3fbf16ae5b4b4e | [
"MIT"
] | null | null | null | DataReader.py | sibirbil/SimpleKernels | 7fc4f5a784bb2256129874064f3fbf16ae5b4b4e | [
"MIT"
] | 1 | 2020-12-20T21:15:25.000Z | 2020-12-20T21:15:25.000Z | import os.path
import numpy as np
from sklearn.datasets import load_svmlight_file
from sklearn.model_selection import train_test_split
my_path = os.path.abspath("./DataSets")
#random state for the datasets, Spambase, Phoneme, Magic for which training and test parts are not provided
random_state=42
# *****************... | 49.026316 | 132 | 0.490875 | 911 | 7,452 | 3.839737 | 0.102086 | 0.064322 | 0.054889 | 0.062893 | 0.80446 | 0.755289 | 0.738708 | 0.738708 | 0.718411 | 0.71498 | 0 | 0.015318 | 0.16774 | 7,452 | 151 | 133 | 49.350993 | 0.548694 | 0.288916 | 0 | 0.447619 | 0 | 0 | 0.118966 | 0.013113 | 0 | 0 | 0 | 0 | 0 | 1 | 0.152381 | false | 0 | 0.038095 | 0 | 0.342857 | 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 |
ee4f2041058fddbb85901b3e0bc5c0e798a0b1d3 | 133 | py | Python | loggingpy/__init__.py | felfel/logging-py | 62e836da8f666286e190dfc1a4428eb04375d08c | [
"MIT"
] | 2 | 2018-08-24T12:45:56.000Z | 2020-02-23T07:59:34.000Z | loggingpy/__init__.py | felfel/logging-py | 62e836da8f666286e190dfc1a4428eb04375d08c | [
"MIT"
] | 6 | 2018-07-10T11:43:09.000Z | 2018-10-22T11:34:49.000Z | loggingpy/__init__.py | felfel/logging-py | 62e836da8f666286e190dfc1a4428eb04375d08c | [
"MIT"
] | 1 | 2018-07-13T09:32:58.000Z | 2018-07-13T09:32:58.000Z | from loggingpy.log import Logger, JsonFormatter # noqa F401
from loggingpy.sink import SimpleHttpSink, BundlingHttpSink # noqa F401
| 44.333333 | 71 | 0.827068 | 16 | 133 | 6.875 | 0.6875 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.12782 | 133 | 2 | 72 | 66.5 | 0.896552 | 0.142857 | 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 |
ee83ad0a5316b19ddc0c2242de3e1b51d0396e0d | 104 | py | Python | django_tiny_util/__init__.py | olegbo/django-tiny-util | f76f91b99d33e2626b16c5f2a025d85a9f9160da | [
"MIT"
] | null | null | null | django_tiny_util/__init__.py | olegbo/django-tiny-util | f76f91b99d33e2626b16c5f2a025d85a9f9160da | [
"MIT"
] | null | null | null | django_tiny_util/__init__.py | olegbo/django-tiny-util | f76f91b99d33e2626b16c5f2a025d85a9f9160da | [
"MIT"
] | 1 | 2021-06-15T13:10:05.000Z | 2021-06-15T13:10:05.000Z | """
Copyright (c) 2020 Oleg Bogumirski <reg@olegb.ru>
"""
__author__ = "Oleg Bogumirski <reg@olegb.ru>"
| 20.8 | 49 | 0.692308 | 14 | 104 | 4.857143 | 0.642857 | 0.411765 | 0.5 | 0.647059 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.125 | 104 | 4 | 50 | 26 | 0.703297 | 0.471154 | 0 | 0 | 0 | 0 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c9f3719d7c2903ce9e6e987ba9b9e12a7e643498 | 13 | py | Python | NoteBooks/Curso de Python/Python/Inputs-Outputs/Template/tempCodeRunnerFile.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | 1 | 2021-02-26T13:12:22.000Z | 2021-02-26T13:12:22.000Z | NoteBooks/Curso de Python/Python/Inputs-Outputs/Template/tempCodeRunnerFile.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | NoteBooks/Curso de Python/Python/Inputs-Outputs/Template/tempCodeRunnerFile.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | print('■'*30) | 13 | 13 | 0.538462 | 3 | 13 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 13 | 1 | 13 | 13 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4e538202be04799450665071b5ad66a487222613 | 451 | py | Python | pymc3_models/__init__.py | Emaasit/pymc3_models | aa7244f4f058cffb1c75152976159603ed687c60 | [
"Apache-2.0"
] | 2 | 2018-10-05T01:29:25.000Z | 2018-10-11T01:44:42.000Z | pymc3_models/__init__.py | Emaasit/pymc3_models | aa7244f4f058cffb1c75152976159603ed687c60 | [
"Apache-2.0"
] | null | null | null | pymc3_models/__init__.py | Emaasit/pymc3_models | aa7244f4f058cffb1c75152976159603ed687c60 | [
"Apache-2.0"
] | null | null | null | __version__ = "1.1.3"
from pymc3_models.models.HierarchicalLogisticRegression import HierarchicalLogisticRegression
from pymc3_models.models.LinearRegression import LinearRegression
from pymc3_models.models.GaussianProcessRegression import GaussianProcessRegression
from pymc3_models.models.SparseGaussianProcessRegress... | 45.1 | 95 | 0.909091 | 39 | 451 | 10.282051 | 0.307692 | 0.112219 | 0.187032 | 0.261845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018824 | 0.05765 | 451 | 9 | 96 | 50.111111 | 0.924706 | 0 | 0 | 0 | 0 | 0 | 0.011136 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4eb3c4ffcdee60171c012106c27face68bef534a | 136 | py | Python | packagetrack/__init__.py | idm2114/packagetrack | 94e88b17ea6e909f77c26d5bfb94cea6adf32d83 | [
"MIT"
] | null | null | null | packagetrack/__init__.py | idm2114/packagetrack | 94e88b17ea6e909f77c26d5bfb94cea6adf32d83 | [
"MIT"
] | null | null | null | packagetrack/__init__.py | idm2114/packagetrack | 94e88b17ea6e909f77c26d5bfb94cea6adf32d83 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#author: ian macleod
import packagetrack.getemails
import packagetrack.inputPackage
import packagetrack.tracker
| 17 | 32 | 0.830882 | 16 | 136 | 7.0625 | 0.75 | 0.477876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095588 | 136 | 7 | 33 | 19.428571 | 0.918699 | 0.286765 | 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 |
14cbb8dc69c8c116618b6cfdff9d04ade8794e10 | 62 | py | Python | appium_maya/resources/credentials.py | shuvoprime/Android-Automation | 0f4839edfe611551913f5a8eac8aa357de54d571 | [
"MIT"
] | null | null | null | appium_maya/resources/credentials.py | shuvoprime/Android-Automation | 0f4839edfe611551913f5a8eac8aa357de54d571 | [
"MIT"
] | null | null | null | appium_maya/resources/credentials.py | shuvoprime/Android-Automation | 0f4839edfe611551913f5a8eac8aa357de54d571 | [
"MIT"
] | null | null | null | import random
import string
class Constantinope:
pass | 12.4 | 21 | 0.741935 | 7 | 62 | 6.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241935 | 62 | 5 | 22 | 12.4 | 0.978723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
14d5552e38e254e39f6187faf0c293adef786325 | 58,697 | py | Python | scripts/get_stats_of_css_estimation_programs.py | heartsh/phyloalifold | e03b73879c61f147a8c536251b82bac43a45ab77 | [
"MIT"
] | 1 | 2021-11-05T07:26:29.000Z | 2021-11-05T07:26:29.000Z | scripts/get_stats_of_css_estimation_programs.py | heartsh/consalifold | c64c3467b92a2084234208a091841a4c0e06da12 | [
"MIT"
] | null | null | null | scripts/get_stats_of_css_estimation_programs.py | heartsh/consalifold | c64c3467b92a2084234208a091841a4c0e06da12 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
import utils
from Bio import SeqIO
import seaborn
from matplotlib import pyplot
import os
import math
from math import sqrt
import multiprocessing
import numpy
seaborn.set()
pyplot.rcParams['legend.handlelength'] = 0
pyplot.rcParams['legend.fontsize'] = "large"
color_palette = seaborn.color_pal... | 72.915528 | 265 | 0.765337 | 8,023 | 58,697 | 5.134738 | 0.026175 | 0.061899 | 0.04214 | 0.021361 | 0.931425 | 0.903777 | 0.865836 | 0.808913 | 0.750558 | 0.696014 | 0 | 0.010279 | 0.119904 | 58,697 | 804 | 266 | 73.006219 | 0.787181 | 0.009081 | 0 | 0.212987 | 0 | 0 | 0.089005 | 0.02702 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012987 | false | 0 | 0.011688 | 0.006494 | 0.036364 | 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 |
092b89c0e8c6b5d5ac8b660ffda0f6e37df58629 | 11,882 | py | Python | guillotina_elasticsearch/tests/test_vacuum.py | vjove/guillotina_elasticsearch | 1c04f86caa19cb37f0f182cc97b09bacbcf5d729 | [
"BSD-2-Clause"
] | null | null | null | guillotina_elasticsearch/tests/test_vacuum.py | vjove/guillotina_elasticsearch | 1c04f86caa19cb37f0f182cc97b09bacbcf5d729 | [
"BSD-2-Clause"
] | null | null | null | guillotina_elasticsearch/tests/test_vacuum.py | vjove/guillotina_elasticsearch | 1c04f86caa19cb37f0f182cc97b09bacbcf5d729 | [
"BSD-2-Clause"
] | null | null | null | from guillotina import task_vars
from guillotina.component import get_utility
from guillotina.db.uid import get_short_uid
from guillotina.interfaces import ICatalogUtility
from guillotina_elasticsearch.commands.vacuum import Vacuum
from guillotina_elasticsearch.interfaces import DOC_TYPE
from guillotina_elasticsearch.t... | 32.732782 | 88 | 0.589042 | 1,319 | 11,882 | 5.078089 | 0.11903 | 0.050911 | 0.050164 | 0.041804 | 0.802329 | 0.784413 | 0.745745 | 0.73828 | 0.701851 | 0.652583 | 0 | 0.00954 | 0.303063 | 11,882 | 362 | 89 | 32.823204 | 0.7993 | 0.011698 | 0 | 0.58363 | 0 | 0 | 0.088717 | 0.016363 | 0 | 0 | 0 | 0 | 0.128114 | 1 | 0 | false | 0 | 0.046263 | 0 | 0.046263 | 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 |
1190bf3f7a84ff94c5639ae5692fe7b310feff3e | 30 | py | Python | activitywatch/filters/__init__.py | ActivityWatch/activitywatch-old | e69b071ff701368cee7bac5d01e5936c200e58be | [
"MIT"
] | 4 | 2017-01-30T16:27:18.000Z | 2017-09-28T19:14:13.000Z | activitywatch/filters/__init__.py | ActivityWatch/activitywatch-old | e69b071ff701368cee7bac5d01e5936c200e58be | [
"MIT"
] | null | null | null | activitywatch/filters/__init__.py | ActivityWatch/activitywatch-old | e69b071ff701368cee7bac5d01e5936c200e58be | [
"MIT"
] | 2 | 2020-06-22T07:11:51.000Z | 2020-12-11T02:46:22.000Z | from .split import SplitFilter | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eec9f692ddb2117e5196f654f5ff6d5a1a44e786 | 33 | py | Python | venv/Lib/site-packages/altair/vega/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 6,831 | 2016-09-23T19:35:19.000Z | 2022-03-31T13:29:39.000Z | venv/Lib/site-packages/altair/vega/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 2,068 | 2016-09-23T14:53:23.000Z | 2022-03-31T01:43:15.000Z | venv/Lib/site-packages/altair/vega/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 711 | 2016-09-26T16:59:18.000Z | 2022-03-24T11:32:40.000Z | # flake8: noqa
from .v5 import *
| 11 | 17 | 0.666667 | 5 | 33 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.212121 | 33 | 2 | 18 | 16.5 | 0.769231 | 0.363636 | 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 |
eedbc6eb6b3a33f55f7d59ac4359aa1b3d9f533b | 48 | py | Python | weixin/scripts/cron.py | lionsin/weixin | 5d818a800017aeb64367f104cbc6076f6f5b481a | [
"MIT"
] | 2 | 2020-03-02T03:56:24.000Z | 2020-12-07T16:14:21.000Z | weixin/scripts/cron.py | lionsin/weixin | 5d818a800017aeb64367f104cbc6076f6f5b481a | [
"MIT"
] | 1 | 2020-01-23T13:14:32.000Z | 2020-01-23T13:15:34.000Z | weixin/scripts/cron.py | lionsin/weixin | 5d818a800017aeb64367f104cbc6076f6f5b481a | [
"MIT"
] | 1 | 2020-01-23T12:58:57.000Z | 2020-01-23T12:58:57.000Z | import sys
print(sys.path)
print(0)
# 这是一条注释
| 6 | 15 | 0.6875 | 8 | 48 | 4.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.1875 | 48 | 7 | 16 | 6.857143 | 0.820513 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
6dc89c9a907e4fe5f88da6f9d1edda431541357e | 27,273 | py | Python | sandbox/fortran/interpolate.py | jmark/turbubox | 17fd3214ad4cb0c360bdb628d7bd270e8b00aadc | [
"MIT"
] | null | null | null | sandbox/fortran/interpolate.py | jmark/turbubox | 17fd3214ad4cb0c360bdb628d7bd270e8b00aadc | [
"MIT"
] | null | null | null | sandbox/fortran/interpolate.py | jmark/turbubox | 17fd3214ad4cb0c360bdb628d7bd270e8b00aadc | [
"MIT"
] | null | null | null | import numpy as np
import ctypes as ct
from numpy.ctypeslib import ndpointer
import sys
import os
def find_file(fname, paths):
for path in paths:
for root, dirs, files in os.walk(path):
if fname in files:
return os.path.join(root, fname)
raise FileNotFoundError("Cannot find ... | 37.774238 | 185 | 0.549078 | 3,553 | 27,273 | 4.059949 | 0.053194 | 0.049012 | 0.068908 | 0.107452 | 0.870849 | 0.854627 | 0.82669 | 0.792721 | 0.776568 | 0.765962 | 0 | 0.014008 | 0.246178 | 27,273 | 721 | 186 | 37.82663 | 0.687631 | 0.194331 | 0 | 0.563927 | 0 | 0 | 0.027997 | 0.000962 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061644 | false | 0 | 0.011416 | 0.004566 | 0.125571 | 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 |
6dcacbddc584fb8414839b632af68ffb6076db37 | 116 | py | Python | test/api_deployment/lambda.py | vistaprint/TerraformModules | c5f21543102b1a057b8d403ce14fe3e06fb29a21 | [
"Apache-2.0"
] | 7 | 2017-09-18T21:52:31.000Z | 2020-03-04T09:43:31.000Z | test/api_deployment/lambda.py | vistaprint/TerraformModules | c5f21543102b1a057b8d403ce14fe3e06fb29a21 | [
"Apache-2.0"
] | 5 | 2017-09-06T12:16:55.000Z | 2018-01-08T14:15:10.000Z | test/api_deployment/lambda.py | vistaprint/TerraformModules | c5f21543102b1a057b8d403ce14fe3e06fb29a21 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
def handler(event, context):
return {'Result': datetime.now().isoformat()}
| 19.333333 | 50 | 0.689655 | 13 | 116 | 6.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181034 | 116 | 5 | 51 | 23.2 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 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 |
09c6478ea05df65df70785696ffd06a4874c9626 | 79 | py | Python | tools/image.py | Dentosal/rust_os | ddfbefabf4e928859b57fd2dc44fa6e38545f6d5 | [
"MIT"
] | 28 | 2017-02-24T17:51:42.000Z | 2022-03-26T21:32:47.000Z | tools/image.py | Dentosal/rust_os | ddfbefabf4e928859b57fd2dc44fa6e38545f6d5 | [
"MIT"
] | 1 | 2020-04-12T20:23:19.000Z | 2022-01-06T20:25:32.000Z | tools/image.py | Dentosal/rust_os | ddfbefabf4e928859b57fd2dc44fa6e38545f6d5 | [
"MIT"
] | 4 | 2019-01-13T12:37:22.000Z | 2022-01-18T00:14:21.000Z | import os
os.system("open /Users/Hannes/VirtualBox\ VMs/RustOS/Logs/VBox.png")
| 26.333333 | 68 | 0.772152 | 13 | 79 | 4.692308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 79 | 2 | 69 | 39.5 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0.696203 | 0.620253 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
61dccf3732139430e79a9b1e970d1a0b6770d804 | 326 | py | Python | src/iris/role_lookup/__init__.py | houqp/iris | 56a39a11dca778d5dfb32e8ba7149011f97729d6 | [
"BSD-2-Clause"
] | null | null | null | src/iris/role_lookup/__init__.py | houqp/iris | 56a39a11dca778d5dfb32e8ba7149011f97729d6 | [
"BSD-2-Clause"
] | null | null | null | src/iris/role_lookup/__init__.py | houqp/iris | 56a39a11dca778d5dfb32e8ba7149011f97729d6 | [
"BSD-2-Clause"
] | null | null | null | # Copyright (c) LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license.
# See LICENSE in the project root for license information.
from iris.custom_import import import_custom_module
def get_role_lookup(config):
return import_custom_module('iris.role_lookup', config['role_lookup'])(co... | 36.222222 | 99 | 0.800613 | 47 | 326 | 5.361702 | 0.659574 | 0.119048 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003497 | 0.122699 | 326 | 8 | 100 | 40.75 | 0.877622 | 0.472393 | 0 | 0 | 0 | 0 | 0.159763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.666667 | 0.333333 | 1.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
61efe9165294aae44564dc0d6256e2692a0c9c4c | 78 | py | Python | obsscenetransporter/__init__.py | stblassitude/obs-scene-transporter | 76b5cdf52a787eb0dfa816ebafce58f461172662 | [
"MIT"
] | 5 | 2021-04-09T15:28:39.000Z | 2022-03-04T00:22:32.000Z | obsscenetransporter/__init__.py | stblassitude/obs-scene-transporter | 76b5cdf52a787eb0dfa816ebafce58f461172662 | [
"MIT"
] | 4 | 2021-04-10T11:02:39.000Z | 2021-12-23T20:50:26.000Z | obsscenetransporter/__init__.py | stblassitude/obs-scene-transporter | 76b5cdf52a787eb0dfa816ebafce58f461172662 | [
"MIT"
] | null | null | null | from obsscenetransporter.scenecollection import ObsStudioSceneCollection, main | 78 | 78 | 0.923077 | 6 | 78 | 12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 78 | 1 | 78 | 78 | 0.972973 | 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 |
61fe7250fd10b3f7bf66e2a25a31edfd9825a78e | 331 | py | Python | tests/formatters/test__humanize_date.py | LCBRU/lbrc_flask | f5f6c3f3832a9040e941c6398b7f150e567d4762 | [
"MIT"
] | null | null | null | tests/formatters/test__humanize_date.py | LCBRU/lbrc_flask | f5f6c3f3832a9040e941c6398b7f150e567d4762 | [
"MIT"
] | null | null | null | tests/formatters/test__humanize_date.py | LCBRU/lbrc_flask | f5f6c3f3832a9040e941c6398b7f150e567d4762 | [
"MIT"
] | null | null | null | from datetime import datetime
from lbrc_flask.formatters import humanize_date
def test__humanize_date__None():
assert humanize_date(None) == ''
def test__humanize_date__Datetime():
assert len(humanize_date(datetime.now())) > 0
def test__humanize_date__Date():
assert len(humanize_date(datetime.now().da... | 22.066667 | 56 | 0.761329 | 45 | 331 | 5.155556 | 0.333333 | 0.362069 | 0.193966 | 0.24569 | 0.275862 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0.006969 | 0.132931 | 331 | 14 | 57 | 23.642857 | 0.801394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1104a7b4b786937ec61466003c55417978161db7 | 3,495 | py | Python | tests/test_aws.py | geometry-labs/substrate-infra-archive | e3ecdd2369af2c75f55af32b70d26b68ff35838e | [
"Apache-2.0"
] | null | null | null | tests/test_aws.py | geometry-labs/substrate-infra-archive | e3ecdd2369af2c75f55af32b70d26b68ff35838e | [
"Apache-2.0"
] | null | null | null | tests/test_aws.py | geometry-labs/substrate-infra-archive | e3ecdd2369af2c75f55af32b70d26b68ff35838e | [
"Apache-2.0"
] | null | null | null | from tackle.main import tackle
from tackle.exceptions import HookCallException
import os
from . import get_deployment_action
def test_api_aws_min(change_base_dir, fixture_dir, tmp_move_deployments):
fixture = os.path.join(fixture_dir, 'api-aws-min.yaml')
create = tackle(overwrite_inputs=fixture, no_input=True... | 47.22973 | 99 | 0.745923 | 472 | 3,495 | 5.235169 | 0.144068 | 0.115338 | 0.161473 | 0.116552 | 0.866856 | 0.849454 | 0.849454 | 0.849454 | 0.849454 | 0.849454 | 0 | 0.002967 | 0.132189 | 3,495 | 73 | 100 | 47.876712 | 0.811738 | 0.298426 | 0 | 0.512195 | 0 | 0 | 0.148438 | 0.02097 | 0 | 0 | 0 | 0 | 0.146341 | 1 | 0.097561 | false | 0 | 0.121951 | 0 | 0.219512 | 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 |
fec0f3e5135ab3af51237d9d9d105d3f0c85e034 | 352 | py | Python | terrascript/data/sdm.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/data/sdm.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/data/sdm.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/data/sdm.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:26:26 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.data.sdm
#
# instead of
#
# >>> import terrascript.data.strongdm.sdm
#
# This is only available for 'official' and 'partner' providers.
from terrasc... | 23.466667 | 73 | 0.724432 | 49 | 352 | 5.204082 | 0.693878 | 0.235294 | 0.141176 | 0.203922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039867 | 0.144886 | 352 | 14 | 74 | 25.142857 | 0.807309 | 0.801136 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fed9bef5bc3feffd638144fd0af9e8a2654f31ef | 9,704 | py | Python | eveindustrytools/eveindustrytools.py | SustainedCruelty/eveindustrytools | 45e1f7fcec575cc8d3e5120f03a6eef0966f07b9 | [
"MIT"
] | null | null | null | eveindustrytools/eveindustrytools.py | SustainedCruelty/eveindustrytools | 45e1f7fcec575cc8d3e5120f03a6eef0966f07b9 | [
"MIT"
] | null | null | null | eveindustrytools/eveindustrytools.py | SustainedCruelty/eveindustrytools | 45e1f7fcec575cc8d3e5120f03a6eef0966f07b9 | [
"MIT"
] | null | null | null | import pandas as pd
import evemarkettools as emt
import math
invTypes = emt.fuzz_static_dump()
materials = emt.fuzz_static_dump('https://www.fuzzwork.co.uk/dump/latest/industryActivityMaterials.csv.bz2')
quantities = emt.fuzz_static_dump('https://www.fuzzwork.co.uk/dump/latest/industryActivityProducts.csv.bz2')
# remo... | 46.879227 | 162 | 0.647774 | 1,185 | 9,704 | 5.178059 | 0.141772 | 0.067471 | 0.027705 | 0.027379 | 0.814374 | 0.774935 | 0.753911 | 0.710561 | 0.701923 | 0.701923 | 0 | 0.008581 | 0.219394 | 9,704 | 206 | 163 | 47.106796 | 0.801452 | 0.176422 | 0 | 0.6 | 0 | 0 | 0.210587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095652 | false | 0 | 0.026087 | 0.008696 | 0.217391 | 0.034783 | 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 |
feebf222d8b9b02733c5d790d35166fcbd71d121 | 158 | py | Python | skylink/__init__.py | enourbakhsh/SkyLink | 3fd7d919145344515cc9d8ede90518a234421d51 | [
"MIT"
] | null | null | null | skylink/__init__.py | enourbakhsh/SkyLink | 3fd7d919145344515cc9d8ede90518a234421d51 | [
"MIT"
] | null | null | null | skylink/__init__.py | enourbakhsh/SkyLink | 3fd7d919145344515cc9d8ede90518a234421d51 | [
"MIT"
] | null | null | null | from .skylink import *
from .fof import *
from .astropy_search.matching import *
from .graph import *
from .testing import *
from .version import __version__
| 22.571429 | 38 | 0.772152 | 21 | 158 | 5.571429 | 0.47619 | 0.42735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 158 | 6 | 39 | 26.333333 | 0.873134 | 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 |
3a1cf169dc5b49c1d6af0437b74a42f128cfa7f0 | 180 | py | Python | components/mpas-seaice/testing_and_setup/testcases/error_analysis/run_testcase.py | Fa-Li/E3SM | a91995093ec6fc0dd6e50114f3c70b5fb64de0f0 | [
"zlib-acknowledgement",
"FTL",
"RSA-MD"
] | 235 | 2018-04-23T16:30:06.000Z | 2022-03-21T17:53:12.000Z | components/mpas-seaice/testing_and_setup/testcases/error_analysis/run_testcase.py | Fa-Li/E3SM | a91995093ec6fc0dd6e50114f3c70b5fb64de0f0 | [
"zlib-acknowledgement",
"FTL",
"RSA-MD"
] | 2,372 | 2018-04-20T18:12:34.000Z | 2022-03-31T23:43:17.000Z | components/mpas-seaice/testing_and_setup/testcases/error_analysis/run_testcase.py | Fa-Li/E3SM | a91995093ec6fc0dd6e50114f3c70b5fb64de0f0 | [
"zlib-acknowledgement",
"FTL",
"RSA-MD"
] | 254 | 2018-04-20T20:43:32.000Z | 2022-03-30T20:13:38.000Z | from create_grids import create_grids
from run_model import run_model
from error_analysis_strain import error_analysis_strain
create_grids()
run_model()
error_analysis_strain()
| 18 | 55 | 0.866667 | 27 | 180 | 5.333333 | 0.333333 | 0.229167 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 180 | 9 | 56 | 20 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
3a2ee4faac5a4f9df5f2d9afb025be6a6815ba97 | 29 | py | Python | adou/__init__.py | dpsnewailab/adou | bea7412202cb17893347e4ff63aab0fb8399bd3b | [
"MIT"
] | null | null | null | adou/__init__.py | dpsnewailab/adou | bea7412202cb17893347e4ff63aab0fb8399bd3b | [
"MIT"
] | 13 | 2020-04-21T04:21:31.000Z | 2020-04-26T17:34:02.000Z | adou/__init__.py | dpsnewailab/adou | bea7412202cb17893347e4ff63aab0fb8399bd3b | [
"MIT"
] | null | null | null | from adou.meta.model import * | 29 | 29 | 0.793103 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 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 |
28e3d503d2dfcb365f88294e8064b5b0aa9e1c6f | 61 | py | Python | yaml_backed_structs/__init__.py | dcdanko/YamlBackedPyStructs | eda615af7be325be21395a2cc69f4e068935b246 | [
"MIT"
] | null | null | null | yaml_backed_structs/__init__.py | dcdanko/YamlBackedPyStructs | eda615af7be325be21395a2cc69f4e068935b246 | [
"MIT"
] | null | null | null | yaml_backed_structs/__init__.py | dcdanko/YamlBackedPyStructs | eda615af7be325be21395a2cc69f4e068935b246 | [
"MIT"
] | null | null | null | from .persistent_dict import *
from .persistent_set import *
| 20.333333 | 30 | 0.803279 | 8 | 61 | 5.875 | 0.625 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 31 | 30.5 | 0.886792 | 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 |
3a6482738038ce05a9cb33bde98e06a1d68149bd | 187 | py | Python | app/views/index.py | godfoder/settler | 7db7b09dc15100b445b519f19d7936643d03873d | [
"MIT"
] | null | null | null | app/views/index.py | godfoder/settler | 7db7b09dc15100b445b519f19d7936643d03873d | [
"MIT"
] | null | null | null | app/views/index.py | godfoder/settler | 7db7b09dc15100b445b519f19d7936643d03873d | [
"MIT"
] | null | null | null | from .. import app
from flask import render_template
from flask.ext.security import login_required
@app.route('/')
@login_required
def index():
return render_template("index.html")
| 18.7 | 45 | 0.764706 | 26 | 187 | 5.346154 | 0.576923 | 0.129496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128342 | 187 | 9 | 46 | 20.777778 | 0.852761 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0.142857 | 0.714286 | 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 |
3a69a1ee2c9e0c0f0ac674adcf1fdc0d20c94a3a | 1,712 | py | Python | ex4/serial_gen.py | hiyouga/digiC-experiment | 799156206210b9004d94a6f72c617104a99518ca | [
"MIT"
] | 4 | 2018-11-14T09:07:13.000Z | 2019-12-23T08:48:00.000Z | ex4/serial_gen.py | hiyouga/digiC-experiment | 799156206210b9004d94a6f72c617104a99518ca | [
"MIT"
] | 1 | 2019-12-08T07:58:40.000Z | 2019-12-08T11:50:54.000Z | ex4/serial_gen.py | hiyouga/digiC-experiment | 799156206210b9004d94a6f72c617104a99518ca | [
"MIT"
] | 1 | 2019-12-23T08:54:50.000Z | 2019-12-23T08:54:50.000Z | # 用python生成第四次数电实验的代码,采用奇校验
data = list(map(int, input("输入要转化的16bit的二进制,空格分隔\n").split()))
if len(data) != 16:
print("长度不满足!")
exit()
j = 0
cnt = 0
output = []
for i in range(15):
print("ROM[{:d}] <= 1'b0;".format(j))
output.append("0\n")
j+=1
for i in range(15):
print("ROM[{:d}] <= 1'b1;".fo... | 23.452055 | 62 | 0.439252 | 267 | 1,712 | 2.816479 | 0.179775 | 0.12766 | 0.143617 | 0.159574 | 0.75 | 0.75 | 0.75 | 0.75 | 0.75 | 0.730053 | 0 | 0.068182 | 0.331776 | 1,712 | 72 | 63 | 23.777778 | 0.589161 | 0.028037 | 0 | 0.765625 | 0 | 0 | 0.174096 | 0.013253 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.203125 | 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 |
3a772a52c52d38232b282fde6dc910629442c560 | 160 | py | Python | luban/shell_entrance.py | Garen-in-bush/Fastapi_Luban | 39ea349a5c244c271b28a2e901d7f238fb44bc10 | [
"MIT"
] | 3 | 2021-04-21T03:56:53.000Z | 2021-04-23T07:24:11.000Z | luban/shell_entrance.py | Garen-in-bush/Fastapi_Luban | 39ea349a5c244c271b28a2e901d7f238fb44bc10 | [
"MIT"
] | null | null | null | luban/shell_entrance.py | Garen-in-bush/Fastapi_Luban | 39ea349a5c244c271b28a2e901d7f238fb44bc10 | [
"MIT"
] | null | null | null | from fastapi_model import FastModelTran
import sys
# TODO 预留命令行入口
def parsing_parameters(parameters):
pass
def main():
parsing_parameters(sys.argv)
| 13.333333 | 39 | 0.76875 | 20 | 160 | 6 | 0.7 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16875 | 160 | 11 | 40 | 14.545455 | 0.902256 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
3add64fa27ffaa69e5d72db676dd34efe9cc952a | 23 | py | Python | mocksurvey/httools/__init__.py | valentinalatorre/mocksurvey | 644390dbaa098161f5d53c79d41a6525fc18c840 | [
"MIT"
] | 4 | 2020-03-26T18:05:10.000Z | 2021-12-02T03:08:56.000Z | mocksurvey/httools/__init__.py | valentinalatorre/mocksurvey | 644390dbaa098161f5d53c79d41a6525fc18c840 | [
"MIT"
] | null | null | null | mocksurvey/httools/__init__.py | valentinalatorre/mocksurvey | 644390dbaa098161f5d53c79d41a6525fc18c840 | [
"MIT"
] | 1 | 2021-08-30T20:28:25.000Z | 2021-08-30T20:28:25.000Z | from .httools import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 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 |
aaff1a0aeb306873788a7dc89520ab99e015d5b6 | 65 | py | Python | masonite/contrib/__init__.py | vaibhavmule/masonite-cloudinary-driver | 866b073717144b8e4755495a01cd4da20d295eaf | [
"MIT"
] | 1 | 2018-12-08T07:07:37.000Z | 2018-12-08T07:07:37.000Z | masonite/contrib/__init__.py | vaibhavmule/masonite-cloudinary-driver | 866b073717144b8e4755495a01cd4da20d295eaf | [
"MIT"
] | null | null | null | masonite/contrib/__init__.py | vaibhavmule/masonite-cloudinary-driver | 866b073717144b8e4755495a01cd4da20d295eaf | [
"MIT"
] | null | null | null | from .cloudinary import drivers
from .cloudinary import providers | 32.5 | 33 | 0.861538 | 8 | 65 | 7 | 0.625 | 0.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 65 | 2 | 33 | 32.5 | 0.965517 | 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 |
c961f5423a3a9d78db17a07344e23348be27e608 | 49 | py | Python | wolong/cli.py | brianthelion/wolong | 7a27a9185b7ff50d598196d06375bbb737050a6d | [
"MIT"
] | null | null | null | wolong/cli.py | brianthelion/wolong | 7a27a9185b7ff50d598196d06375bbb737050a6d | [
"MIT"
] | null | null | null | wolong/cli.py | brianthelion/wolong | 7a27a9185b7ff50d598196d06375bbb737050a6d | [
"MIT"
] | null | null | null | from plugnparse import entrypoint, ParserFactory
| 24.5 | 48 | 0.877551 | 5 | 49 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.977273 | 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 |
c9726399e9ebaf245ce8befadef59f10cdfeac1c | 7,928 | py | Python | tests/test_mixins.py | MichaelWalker/directory-components | 9dac4e9d7fd477cd272e09440f2c9b7d1ef76e1e | [
"MIT"
] | 2 | 2019-06-24T20:22:23.000Z | 2019-07-26T12:51:31.000Z | tests/test_mixins.py | MichaelWalker/directory-components | 9dac4e9d7fd477cd272e09440f2c9b7d1ef76e1e | [
"MIT"
] | 278 | 2018-02-21T11:49:46.000Z | 2021-09-16T08:27:54.000Z | tests/test_mixins.py | MichaelWalker/directory-components | 9dac4e9d7fd477cd272e09440f2c9b7d1ef76e1e | [
"MIT"
] | 3 | 2019-05-02T15:26:26.000Z | 2020-02-18T17:47:57.000Z | from unittest.mock import patch, Mock
from directory_constants.choices import COUNTRY_CHOICES
import pytest
from django.contrib.auth.models import AnonymousUser
from django.utils import translation
from django.views.generic import TemplateView
from directory_components import mixins
@pytest.mark.parametrize('count... | 31.212598 | 77 | 0.6694 | 897 | 7,928 | 5.623188 | 0.152731 | 0.039255 | 0.07157 | 0.041435 | 0.813243 | 0.781324 | 0.76249 | 0.717883 | 0.717883 | 0.687946 | 0 | 0.035364 | 0.215313 | 7,928 | 253 | 78 | 31.335968 | 0.775438 | 0.012866 | 0 | 0.661202 | 0 | 0 | 0.177298 | 0.076825 | 0 | 0 | 0 | 0 | 0.20765 | 1 | 0.081967 | false | 0.005464 | 0.038251 | 0 | 0.251366 | 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 |
a30bff55e8de2d484dc740f7cf8472d7fc4b22a5 | 165 | py | Python | Face-Mask-Detection-Algorithm/URLopen.py | BhendiBoi/ESP32-FMTSS | a452f8f6a5e4eca0ea92a0f33d30066e8903d57b | [
"MIT"
] | 1 | 2021-08-04T06:15:45.000Z | 2021-08-04T06:15:45.000Z | Face-Mask-Detection-Algorithm/URLopen.py | BhendiBoi/ESP32-FMTSS | a452f8f6a5e4eca0ea92a0f33d30066e8903d57b | [
"MIT"
] | null | null | null | Face-Mask-Detection-Algorithm/URLopen.py | BhendiBoi/ESP32-FMTSS | a452f8f6a5e4eca0ea92a0f33d30066e8903d57b | [
"MIT"
] | null | null | null | import urllib.request
if mask_detected:
urllib.request.urlopen('http://192.168.43.136/mask')
else:
urllib.request.urlopen('http://192.168.43.136/nomask')
| 23.571429 | 57 | 0.715152 | 25 | 165 | 4.68 | 0.56 | 0.333333 | 0.34188 | 0.410256 | 0.598291 | 0.598291 | 0.598291 | 0.598291 | 0 | 0 | 0 | 0.14966 | 0.109091 | 165 | 6 | 58 | 27.5 | 0.646259 | 0 | 0 | 0 | 0 | 0 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a35cd2bc669818359054a4556d9b44f05eac5f29 | 2,409 | py | Python | models/BillDetail.py | mynamezxc/wxPython-saler-small-example | 91bf47f2f38d11f211ce3a00fa3b80f3cd5a4837 | [
"MIT"
] | 2 | 2020-02-08T07:12:09.000Z | 2020-11-07T13:30:16.000Z | models/BillDetail.py | mynamezxc/wxPython-sales-small-example | 91bf47f2f38d11f211ce3a00fa3b80f3cd5a4837 | [
"MIT"
] | null | null | null | models/BillDetail.py | mynamezxc/wxPython-sales-small-example | 91bf47f2f38d11f211ce3a00fa3b80f3cd5a4837 | [
"MIT"
] | null | null | null | from models.database import *
class BillModelct(Database):
def DanhSach(self):
chuoiSQL = "select ID, product_id,unit_id,product_nameHOA,unit_code,amount,unit_price,sub_total,tax,tax_amount,note,bill_id from bill_detail"
cursor = Database.getALL(self,chuoiSQL)
if cursor != None:
... | 58.756098 | 238 | 0.681196 | 364 | 2,409 | 4.266484 | 0.159341 | 0.063748 | 0.066967 | 0.07727 | 0.848036 | 0.848036 | 0.848036 | 0.820348 | 0.820348 | 0.820348 | 0 | 0.013979 | 0.168535 | 2,409 | 40 | 239 | 60.225 | 0.761358 | 0 | 0 | 0.53125 | 0 | 0.125 | 0.327522 | 0.178912 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0 | 0.03125 | 0 | 0.375 | 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 |
a39e45c8d8347d2596f2983b4f2674b29848a07e | 29 | py | Python | model/__init__.py | ivanwhaf/faster-rcnn-pytorch | 332483019dff5f14014508bea4b79b6d0c9c2f43 | [
"MIT"
] | null | null | null | model/__init__.py | ivanwhaf/faster-rcnn-pytorch | 332483019dff5f14014508bea4b79b6d0c9c2f43 | [
"MIT"
] | null | null | null | model/__init__.py | ivanwhaf/faster-rcnn-pytorch | 332483019dff5f14014508bea4b79b6d0c9c2f43 | [
"MIT"
] | null | null | null | from .model import FasterRCNN | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 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 |
6eb833871341bbe1725084d9b5a2deb675bf0165 | 209 | py | Python | tccli/services/live/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/live/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/live/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.live.live_client import register_arg
from tccli.services.live.live_client import get_actions_info
from tccli.services.live.live_client import AVAILABLE_VERSION_LIST
| 41.8 | 66 | 0.832536 | 32 | 209 | 5.1875 | 0.53125 | 0.162651 | 0.307229 | 0.379518 | 0.668675 | 0.668675 | 0.668675 | 0 | 0 | 0 | 0 | 0.005208 | 0.08134 | 209 | 4 | 67 | 52.25 | 0.859375 | 0.100478 | 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 |
6eeb36f004f5ebc4b746a48e3b1b8c1053ee6c06 | 625 | py | Python | nn_framework/activation.py | brohrer/nn_framework | 73cc78a316ca2a1126d25c057ce50b77030b2554 | [
"MIT"
] | 17 | 2019-07-13T01:21:26.000Z | 2022-02-06T14:20:17.000Z | nn_framework/activation.py | brohrer/nn_framework | 73cc78a316ca2a1126d25c057ce50b77030b2554 | [
"MIT"
] | null | null | null | nn_framework/activation.py | brohrer/nn_framework | 73cc78a316ca2a1126d25c057ce50b77030b2554 | [
"MIT"
] | 10 | 2019-10-13T09:17:56.000Z | 2022-01-10T09:19:24.000Z | import numpy as np
# All of these need to be able to handle 2D numpy arrays as inputs.
class tanh(object):
@staticmethod
def calc(v):
return np.tanh(v)
@staticmethod
def calc_d(v):
return 1 - np.tanh(v) ** 2
def logistic(v):
@staticmethod
def calc(v):
return 1 / (1 ... | 16.891892 | 67 | 0.552 | 90 | 625 | 3.8 | 0.366667 | 0.263158 | 0.333333 | 0.292398 | 0.473684 | 0.473684 | 0.163743 | 0 | 0 | 0 | 0 | 0.024213 | 0.3392 | 625 | 36 | 68 | 17.361111 | 0.803874 | 0.104 | 0 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0 | 0.04 | 0.2 | 0.64 | 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 |
42cb4325951ee647a9d45ee46c2eb6cc5092aac2 | 21 | py | Python | sandbox/sandbox.py | dgketchum/MT_Rsense | 072238fbca19f2887e29c1a48111d817e47243a3 | [
"Apache-2.0"
] | 5 | 2019-10-16T13:09:49.000Z | 2022-03-31T18:23:51.000Z | sandbox/sandbox.py | dgketchum/MT_Rsense | 072238fbca19f2887e29c1a48111d817e47243a3 | [
"Apache-2.0"
] | null | null | null | sandbox/sandbox.py | dgketchum/MT_Rsense | 072238fbca19f2887e29c1a48111d817e47243a3 | [
"Apache-2.0"
] | 1 | 2022-03-18T17:02:03.000Z | 2022-03-18T17:02:03.000Z | import ogr
import os
| 7 | 10 | 0.809524 | 4 | 21 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 2 | 11 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.