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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c7abd0235d7e0af7ee55c2c1069d844dc3b94c8a | 70 | py | Python | collections/nemo_nlp/nemo_nlp/utils/__init__.py | Giuseppe5/NeMo | f946aca100c9a1bf22e6bd25fba9f80299722112 | [
"Apache-2.0"
] | 2 | 2020-05-12T05:16:10.000Z | 2021-12-01T02:30:45.000Z | collections/nemo_nlp/nemo_nlp/utils/__init__.py | Giuseppe5/NeMo | f946aca100c9a1bf22e6bd25fba9f80299722112 | [
"Apache-2.0"
] | 3 | 2020-11-13T17:45:41.000Z | 2022-03-12T00:28:59.000Z | collections/nemo_nlp/nemo_nlp/utils/__init__.py | Giuseppe5/NeMo | f946aca100c9a1bf22e6bd25fba9f80299722112 | [
"Apache-2.0"
] | null | null | null | from . import nlp_utils
from . import callbacks
from . import metrics
| 17.5 | 23 | 0.785714 | 10 | 70 | 5.4 | 0.6 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 24 | 23.333333 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7f1e4c8bd27c52835cb0c916c494626ee03b113 | 27 | py | Python | analytics.py | jonathanli2012/bloom_filter | 07f0de45bbbc5870640f2ce08ec50627e21c6bc4 | [
"MIT"
] | 1 | 2020-11-22T08:50:02.000Z | 2020-11-22T08:50:02.000Z | analytics.py | jonathanli2012/bloom_filter | 07f0de45bbbc5870640f2ce08ec50627e21c6bc4 | [
"MIT"
] | null | null | null | analytics.py | jonathanli2012/bloom_filter | 07f0de45bbbc5870640f2ce08ec50627e21c6bc4 | [
"MIT"
] | null | null | null | from run_example import *
| 9 | 25 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 26 | 13.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7f24ad9ebd07d3e151ca5193e2844b5dd417d94 | 219 | py | Python | tests/test_pysandra.py | toppk/pysandra | de52eaf08738da2742ebac46b551d9ba539c7720 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | tests/test_pysandra.py | toppk/pysandra | de52eaf08738da2742ebac46b551d9ba539c7720 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | tests/test_pysandra.py | toppk/pysandra | de52eaf08738da2742ebac46b551d9ba539c7720 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | def test_package():
import pysandra
assert pysandra.Client == pysandra.client.Client
def test_about():
import pysandra.__about__
assert pysandra.__about__.__title__ == "pysandra"
import pysandra
| 18.25 | 53 | 0.726027 | 24 | 219 | 6.041667 | 0.375 | 0.289655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 219 | 11 | 54 | 19.909091 | 0.819209 | 0 | 0 | 0.285714 | 0 | 0 | 0.03653 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | true | 0 | 0.428571 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7f63edfecda5eff7dead5a95ccd79ed4b19d780 | 159 | py | Python | tests/test_versioning.py | pcorpet/zenaton-python | 099c41627482a6fdc619833c2bec59dbc68cbcd4 | [
"MIT"
] | 28 | 2017-09-19T11:53:22.000Z | 2019-12-17T12:18:43.000Z | tests/test_versioning.py | pcorpet/zenaton-python | 099c41627482a6fdc619833c2bec59dbc68cbcd4 | [
"MIT"
] | 21 | 2018-10-25T14:47:56.000Z | 2020-07-28T14:56:03.000Z | tests/test_versioning.py | pcorpet/zenaton-python | 099c41627482a6fdc619833c2bec59dbc68cbcd4 | [
"MIT"
] | 2 | 2019-06-17T06:38:05.000Z | 2019-07-24T09:46:00.000Z | from distutils.version import LooseVersion
def test_version():
import zenaton
assert zenaton.__version__
assert LooseVersion(zenaton.__version__) | 22.714286 | 44 | 0.792453 | 17 | 159 | 6.882353 | 0.529412 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157233 | 159 | 7 | 44 | 22.714286 | 0.873134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1beda01e5cb7ee693360c9033059d68abc6fbfa6 | 3,352 | py | Python | tools/pythonpkg/tests/fast/pandas/test_fetch_df_chunk.py | lokax/duckdb | c2581dfebccaebae9468c924c2c722fcf0306944 | [
"MIT"
] | 1 | 2022-01-06T17:44:07.000Z | 2022-01-06T17:44:07.000Z | tools/pythonpkg/tests/fast/pandas/test_fetch_df_chunk.py | lokax/duckdb | c2581dfebccaebae9468c924c2c722fcf0306944 | [
"MIT"
] | 2 | 2022-02-16T08:36:03.000Z | 2022-03-08T17:13:33.000Z | tools/pythonpkg/tests/fast/pandas/test_fetch_df_chunk.py | lokax/duckdb | c2581dfebccaebae9468c924c2c722fcf0306944 | [
"MIT"
] | null | null | null | import pytest
import duckdb
class TestType(object):
def test_fetch_df_chunk(self, duckdb_cursor):
duckdb_cursor.execute("CREATE table t as select range a from range(3000);")
query = duckdb_cursor.execute("SELECT a FROM t")
cur_chunk = query.fetch_df_chunk()
assert(cur_chunk['a'][0]... | 34.556701 | 84 | 0.605012 | 453 | 3,352 | 4.238411 | 0.163355 | 0.179167 | 0.13125 | 0.16875 | 0.854167 | 0.816146 | 0.781771 | 0.727604 | 0.65625 | 0.6125 | 0 | 0.043205 | 0.288783 | 3,352 | 96 | 85 | 34.916667 | 0.762164 | 0.079356 | 0 | 0.681159 | 0 | 0 | 0.102731 | 0 | 0 | 0 | 0 | 0 | 0.289855 | 1 | 0.057971 | false | 0 | 0.028986 | 0 | 0.101449 | 0.101449 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
404eb6a79b4169c7da9bdfede2ca8cd241298ff9 | 10,540 | py | Python | state_of_sparsity/layers/variational_dropout/layers.py | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | 23,901 | 2018-10-04T19:48:53.000Z | 2022-03-31T21:27:42.000Z | state_of_sparsity/layers/variational_dropout/layers.py | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | 891 | 2018-11-10T06:16:13.000Z | 2022-03-31T10:42:34.000Z | state_of_sparsity/layers/variational_dropout/layers.py | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | 6,047 | 2018-10-12T06:31:02.000Z | 2022-03-31T13:59:28.000Z | # coding=utf-8
# Copyright 2021 The Google Research Authors.
#
# 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 applicab... | 35.250836 | 87 | 0.672106 | 1,283 | 10,540 | 5.334373 | 0.191738 | 0.034191 | 0.030392 | 0.028054 | 0.764611 | 0.75453 | 0.737288 | 0.728229 | 0.71391 | 0.702221 | 0 | 0.01325 | 0.255313 | 10,540 | 298 | 88 | 35.369128 | 0.858708 | 0.347249 | 0 | 0.752525 | 0 | 0 | 0.010309 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.040404 | 0 | 0.10101 | 0.005051 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4058daca87082dc47cf7dca366f609a0c88dae32 | 123 | py | Python | models/__init__.py | Ramesh-X/ModelViewer | e1d67d5ca1bc71db6c1c67b5bc6d4ac13be16799 | [
"MIT"
] | 1 | 2019-11-19T22:06:36.000Z | 2019-11-19T22:06:36.000Z | models/__init__.py | Ramesh-X/ModelViewer | e1d67d5ca1bc71db6c1c67b5bc6d4ac13be16799 | [
"MIT"
] | null | null | null | models/__init__.py | Ramesh-X/ModelViewer | e1d67d5ca1bc71db6c1c67b5bc6d4ac13be16799 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .densenet161 import densenet_no_top
from .resnet50_notop import resnet50_notop
| 30.75 | 42 | 0.886179 | 17 | 123 | 5.882353 | 0.588235 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 0.097561 | 123 | 3 | 43 | 41 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
407de3068e7b5950585d5abed9776d104235a85d | 6 | py | Python | scratch/py-eval/py/x2.py | mdorier/Supervisor | f1e43b2b33fb2cf9e03ea3ac49378aba37bd9839 | [
"MIT"
] | 47 | 2020-03-08T08:43:28.000Z | 2022-03-18T18:51:55.000Z | samples/ruby/test.rb | fodelf/prettier-vscode | b57b238d4e2b0ec6ff3b47db5df8d2d2ce158ccd | [
"MIT"
] | 58 | 2017-03-03T21:07:53.000Z | 2021-07-19T18:51:03.000Z | scratch/py-eval/py/x2.py | ORNL-BSEC/Supervisor | 14a73ad19b10cebab0d7d2d48e52692485957ad2 | [
"MIT"
] | 21 | 2017-03-08T16:07:47.000Z | 2020-11-24T04:23:00.000Z | x = 2
| 3 | 5 | 0.333333 | 2 | 6 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 6 | 1 | 6 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
409284fd1a15d1db7f427c8531003470a46a49a7 | 26 | py | Python | FlaskTest/__init__.py | jonnyniv/FlaskTest | 463a408acad24b2188d5a7a8d96d601e6df1a1d5 | [
"MIT"
] | null | null | null | FlaskTest/__init__.py | jonnyniv/FlaskTest | 463a408acad24b2188d5a7a8d96d601e6df1a1d5 | [
"MIT"
] | null | null | null | FlaskTest/__init__.py | jonnyniv/FlaskTest | 463a408acad24b2188d5a7a8d96d601e6df1a1d5 | [
"MIT"
] | null | null | null | from .FlaskText import app | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
409d80d205ce04579f0bc190441ff0e725282555 | 4,096 | py | Python | utils/DatasetFilter.py | ASMDS/PATREC | 091df6ec20e0736340a2b2ff9a25ac81bec48259 | [
"MIT"
] | 1 | 2021-12-09T12:31:52.000Z | 2021-12-09T12:31:52.000Z | utils/DatasetFilter.py | ASMDS/PATREC | 091df6ec20e0736340a2b2ff9a25ac81bec48259 | [
"MIT"
] | null | null | null | utils/DatasetFilter.py | ASMDS/PATREC | 091df6ec20e0736340a2b2ff9a25ac81bec48259 | [
"MIT"
] | null | null | null | import sys, os
import pandas as pd
class DatasetFilter:
def __init__(self, options_dataset):
self.options = options_dataset;
return;
def _filterColumnsDiagnosisDiseases(self, df):
keys = self.options.getDiseaseICDkeys();
df_disease = pd.DataFrame(columns=list(df.columns));
... | 41.795918 | 106 | 0.655029 | 440 | 4,096 | 5.797727 | 0.172727 | 0.094865 | 0.043904 | 0.03724 | 0.80047 | 0.782046 | 0.731478 | 0.731478 | 0.731478 | 0.731478 | 0 | 0.001265 | 0.227783 | 4,096 | 98 | 107 | 41.795918 | 0.805248 | 0 | 0 | 0.620253 | 0 | 0 | 0.026849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113924 | false | 0 | 0.025316 | 0 | 0.253165 | 0.050633 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40a00f071e406ec676170023ef32cfc55d1a8dc7 | 13,511 | py | Python | tests/cli/test_vehicle_charge.py | PaoloTo/renault-api | 66976aa23dee1b4790363a610193b990acd0a345 | [
"MIT"
] | null | null | null | tests/cli/test_vehicle_charge.py | PaoloTo/renault-api | 66976aa23dee1b4790363a610193b990acd0a345 | [
"MIT"
] | null | null | null | tests/cli/test_vehicle_charge.py | PaoloTo/renault-api | 66976aa23dee1b4790363a610193b990acd0a345 | [
"MIT"
] | null | null | null | """Test cases for the __main__ module."""
from aioresponses import aioresponses
from aioresponses.core import RequestCall # type:ignore
from click.testing import CliRunner
from tests import fixtures
from yarl import URL
from . import initialise_credential_store
from renault_api.cli import __main__
def test_charge_h... | 42.621451 | 88 | 0.536008 | 1,382 | 13,511 | 5.053546 | 0.125181 | 0.060137 | 0.039376 | 0.042955 | 0.824742 | 0.819301 | 0.802549 | 0.791523 | 0.779066 | 0.733391 | 0 | 0.071214 | 0.310932 | 13,511 | 316 | 89 | 42.756329 | 0.678947 | 0.030938 | 0 | 0.567568 | 0 | 0.003861 | 0.310194 | 0.003222 | 0 | 0 | 0 | 0 | 0.096525 | 1 | 0.03861 | false | 0 | 0.027027 | 0 | 0.065637 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40afbe19b8dc7a7397393130b39b2ec2d0a656a9 | 31 | py | Python | tests/tea-tasks/boil_water.py | vogt4nick/dequindre | 9e702256f21440f207a63f380035932b2a7bc52e | [
"MIT"
] | 5 | 2019-03-09T14:58:46.000Z | 2022-03-06T02:28:42.000Z | tests/tea-tasks/boil_water.py | vogt4nick/dequindre | 9e702256f21440f207a63f380035932b2a7bc52e | [
"MIT"
] | 36 | 2019-02-11T15:16:48.000Z | 2019-03-10T15:52:45.000Z | tests/tea-tasks/boil_water.py | vogt4nick/dequindre | 9e702256f21440f207a63f380035932b2a7bc52e | [
"MIT"
] | null | null | null | print('I am boiling water...')
| 15.5 | 30 | 0.645161 | 5 | 31 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
40b44b0bbe5230183a41e13b765825775499c702 | 154 | py | Python | PHASE_2/Application_SourceCode/backend/Prediction/run.py | vicinx3/disease-outbreak | 035e78875c374e2cdbd4720a4f2ed1370f63a88c | [
"MIT"
] | null | null | null | PHASE_2/Application_SourceCode/backend/Prediction/run.py | vicinx3/disease-outbreak | 035e78875c374e2cdbd4720a4f2ed1370f63a88c | [
"MIT"
] | null | null | null | PHASE_2/Application_SourceCode/backend/Prediction/run.py | vicinx3/disease-outbreak | 035e78875c374e2cdbd4720a4f2ed1370f63a88c | [
"MIT"
] | null | null | null | # import data_api
# Check disease_data.csv exists
import data_api
import preprocess
import model
import decision_tree
import random_forest
import predict | 17.111111 | 31 | 0.857143 | 23 | 154 | 5.521739 | 0.608696 | 0.15748 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123377 | 154 | 9 | 32 | 17.111111 | 0.940741 | 0.292208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
40c4203807696fa63ae959725fcbf34b5c1b986d | 2,451 | py | Python | utils/icon_converter.py | ajmcateer/RaspberryAlarm | df8b774e72b2e3d077268d00c0b6b2e132b37070 | [
"MIT"
] | null | null | null | utils/icon_converter.py | ajmcateer/RaspberryAlarm | df8b774e72b2e3d077268d00c0b6b2e132b37070 | [
"MIT"
] | 2 | 2019-09-03T00:44:59.000Z | 2021-06-01T23:50:36.000Z | utils/icon_converter.py | ajmcateer/RaspberryAlarm | df8b774e72b2e3d077268d00c0b6b2e132b37070 | [
"MIT"
] | null | null | null | import settings
def convert_to_icon(icon, moon_phase=0):
if "clear-day" == icon:
return settings.root_path + '\\resources\\weather_images\\clear-day.png'
elif "rain" == icon:
return settings.root_path + '\\resources\\weather_images\\rain.png'
elif "snow" == icon:
return settings.ro... | 54.466667 | 98 | 0.654427 | 326 | 2,451 | 4.745399 | 0.119632 | 0.171946 | 0.221073 | 0.2702 | 0.858436 | 0.858436 | 0.858436 | 0.829994 | 0.640595 | 0.557208 | 0 | 0.035439 | 0.20563 | 2,451 | 44 | 99 | 55.704545 | 0.759117 | 0 | 0 | 0.238095 | 0 | 0 | 0.384741 | 0.351285 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.02381 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
905d14b298ce107b313911f254f69b08cdff24fe | 100 | py | Python | adversarial_labeller/__init__.py | robinsonkwame/adversarial_validator | cd29b432d1a0a711f9d0c1238cb473ff02a0f1e3 | [
"MIT"
] | 2 | 2019-10-23T20:11:50.000Z | 2020-01-22T13:37:15.000Z | adversarial_labeller/__init__.py | robinsonkwame/adversarial_validatior | cd29b432d1a0a711f9d0c1238cb473ff02a0f1e3 | [
"MIT"
] | 3 | 2020-03-24T17:58:22.000Z | 2021-02-02T22:23:27.000Z | adversarial_labeller/__init__.py | robinsonkwame/adversarial_validatior | cd29b432d1a0a711f9d0c1238cb473ff02a0f1e3 | [
"MIT"
] | 1 | 2020-02-21T14:28:55.000Z | 2020-02-21T14:28:55.000Z | from .adversarial_labeller import AdversarialLabelerFactory
from .adversarial_scoring import Scorer
| 33.333333 | 59 | 0.9 | 10 | 100 | 8.8 | 0.7 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 2 | 60 | 50 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90633aaba99161e5b8f78ee56192ed5e3afb49fe | 4,323 | py | Python | caas.py | andrewkamble88/CaaS | e187e49b83ed18c4b562c970b942459b142178a0 | [
"MIT"
] | null | null | null | caas.py | andrewkamble88/CaaS | e187e49b83ed18c4b562c970b942459b142178a0 | [
"MIT"
] | null | null | null | caas.py | andrewkamble88/CaaS | e187e49b83ed18c4b562c970b942459b142178a0 | [
"MIT"
] | null | null | null | '''
Mayur Deshmukh
Compression as a Service
Compression Api Wrapper for python
To do
1. Add support for SSL certificate for secured connection
2. Handle more exception
'''
import requests
import urllib3
from CaaS import errors
import base64
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
'''U... | 23.367568 | 176 | 0.781864 | 548 | 4,323 | 6.001825 | 0.213504 | 0.049255 | 0.063849 | 0.031012 | 0.81727 | 0.81727 | 0.797507 | 0.797507 | 0.773791 | 0.728185 | 0 | 0.070125 | 0.112653 | 4,323 | 184 | 177 | 23.494565 | 0.787278 | 0.059218 | 0 | 0.633803 | 0 | 0.070423 | 0.292504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084507 | false | 0 | 0.056338 | 0 | 0.225352 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90bb70457a4aa00ed9cbe5cc8f18791aca530327 | 34 | py | Python | frontends/python/i2c_bfms/__init__.py | tblink-bfms/tblink-bfms-i2c | 6cc2ce0a64497debfffadfa544ef4007e51cddf8 | [
"Apache-2.0"
] | null | null | null | frontends/python/i2c_bfms/__init__.py | tblink-bfms/tblink-bfms-i2c | 6cc2ce0a64497debfffadfa544ef4007e51cddf8 | [
"Apache-2.0"
] | null | null | null | frontends/python/i2c_bfms/__init__.py | tblink-bfms/tblink-bfms-i2c | 6cc2ce0a64497debfffadfa544ef4007e51cddf8 | [
"Apache-2.0"
] | null | null | null |
from .i2c_initiator_bfm import *
| 11.333333 | 32 | 0.794118 | 5 | 34 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.147059 | 34 | 2 | 33 | 17 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
291ac085e34fd88c4d6f5e53aa5ea2fd355447fd | 98 | py | Python | tests/data/library1/subdirectory/bar_fixed.py | mwtoews/absolufy-imports | e8d184d59900f29497bf9998c947d8fe43b7d8e3 | [
"MIT"
] | 76 | 2021-02-28T21:34:31.000Z | 2022-03-23T21:11:27.000Z | tests/data/library1/subdirectory/bar_fixed.py | mwtoews/absolufy-imports | e8d184d59900f29497bf9998c947d8fe43b7d8e3 | [
"MIT"
] | 39 | 2021-03-01T16:47:44.000Z | 2022-03-21T21:48:49.000Z | tests/data/library1/subdirectory/bar_fixed.py | mwtoews/absolufy-imports | e8d184d59900f29497bf9998c947d8fe43b7d8e3 | [
"MIT"
] | 6 | 2021-03-02T20:23:48.000Z | 2022-01-20T08:44:53.000Z | from . import baz
from .. import foo
from mypackage.library2 import qux
from mypackage import aaa
| 19.6 | 34 | 0.795918 | 15 | 98 | 5.2 | 0.533333 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.163265 | 98 | 4 | 35 | 24.5 | 0.939024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
293132b750d36e39b422a360077baede1a034f32 | 242 | py | Python | src/models/readers/__init__.py | pczarnowska/generalized-fairness-metrics | 06a4cea1e017e1340ecb14617b629215a8b014cf | [
"Apache-2.0"
] | 3 | 2021-10-30T12:34:32.000Z | 2022-02-24T10:27:23.000Z | src/models/readers/__init__.py | pczarnowska/generalized-fairness-metrics | 06a4cea1e017e1340ecb14617b629215a8b014cf | [
"Apache-2.0"
] | 8 | 2021-08-18T19:13:53.000Z | 2022-02-02T16:06:08.000Z | src/models/readers/__init__.py | pczarnowska/generalized-fairness-metrics | 06a4cea1e017e1340ecb14617b629215a8b014cf | [
"Apache-2.0"
] | 4 | 2021-08-13T15:28:28.000Z | 2022-03-29T05:25:00.000Z | from .flexible_reader import FlexibleReader
from .huggingface_reader import HuggingfaceReader
from .semeval_reader import SemEvalReader
from .simple_reader import SimpleReader
from .sst_reader import StanfordSentimentTreeBankDatasetReaderPJC
| 40.333333 | 65 | 0.896694 | 25 | 242 | 8.48 | 0.52 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082645 | 242 | 5 | 66 | 48.4 | 0.954955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
294a72f1da79151f5c296cbdd8adf7dda0cdb480 | 131 | py | Python | cony/repo/__init__.py | svetlyak40wt/cony | bf8d52ab92782944d9ff40799b52298fd6f9bc8f | [
"BSD-3-Clause"
] | 5 | 2015-01-12T12:21:11.000Z | 2021-12-09T14:28:41.000Z | cony/repo/__init__.py | svetlyak40wt/cony | bf8d52ab92782944d9ff40799b52298fd6f9bc8f | [
"BSD-3-Clause"
] | null | null | null | cony/repo/__init__.py | svetlyak40wt/cony | bf8d52ab92782944d9ff40799b52298fd6f9bc8f | [
"BSD-3-Clause"
] | 1 | 2019-06-10T16:30:52.000Z | 2019-06-10T16:30:52.000Z | from __future__ import absolute_import
from . search import *
from . lang import *
from . maps import *
from . shortcuts import *
| 18.714286 | 38 | 0.748092 | 17 | 131 | 5.470588 | 0.470588 | 0.430108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19084 | 131 | 6 | 39 | 21.833333 | 0.877358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46241da94dd6c1ed338204be30f3ddf5df6115ae | 5,851 | py | Python | tests/test_client.py | timaa2k/motherlib | 598fde4e01bbfa967cec9eff8db43a288519e1b5 | [
"Apache-2.0"
] | null | null | null | tests/test_client.py | timaa2k/motherlib | 598fde4e01bbfa967cec9eff8db43a288519e1b5 | [
"Apache-2.0"
] | null | null | null | tests/test_client.py | timaa2k/motherlib | 598fde4e01bbfa967cec9eff8db43a288519e1b5 | [
"Apache-2.0"
] | null | null | null | import datetime
import uuid
from hashlib import sha256
from io import BytesIO
import pytest
import responses
from http import HTTPStatus
from motherlib.client import APIClient
class TestAPIClient:
@pytest.fixture()
def api(self) -> 'APIClient':
return APIClient(addr='http://api.mother.ship', resour... | 42.398551 | 127 | 0.590326 | 625 | 5,851 | 5.4256 | 0.1424 | 0.024771 | 0.051902 | 0.050133 | 0.828074 | 0.815099 | 0.806842 | 0.744028 | 0.716308 | 0.698024 | 0 | 0.114988 | 0.27021 | 5,851 | 137 | 128 | 42.708029 | 0.679157 | 0 | 0 | 0.566929 | 0 | 0 | 0.276192 | 0.212271 | 0 | 0 | 0 | 0 | 0.204724 | 1 | 0.047244 | false | 0 | 0.062992 | 0.007874 | 0.125984 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
464e06d69ae3488446291fffd2dc6cac703202fd | 46 | py | Python | lib/JumpScale/baselib/actionsold/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | null | null | null | lib/JumpScale/baselib/actionsold/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 4 | 2016-08-25T12:08:39.000Z | 2018-04-12T12:36:01.000Z | lib/JumpScale/baselib/actionsold/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 3 | 2016-03-08T07:49:34.000Z | 2018-10-19T13:56:43.000Z | from . import action
from . import transaction | 23 | 25 | 0.804348 | 6 | 46 | 6.166667 | 0.666667 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 25 | 23 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
469f1dc82dfd3beaae7ad13a0c7a100d97d4c954 | 23 | py | Python | zeus/trainer/modules/losses/__init__.py | wnov/vega | bf51cbe389d41033c4ae4bc02e5078c3c247c845 | [
"MIT"
] | 12 | 2020-12-13T08:34:24.000Z | 2022-03-20T15:17:17.000Z | zeus/trainer/modules/losses/__init__.py | JacobLee121/vega | 19256aca4d047bfad3b461f0a927e1c2abb9eb03 | [
"MIT"
] | 3 | 2021-03-31T20:15:40.000Z | 2022-02-09T23:50:46.000Z | built-in/TensorFlow/Research/cv/image_classification/Darts_for_TensorFlow/automl/vega/core/trainer/modules/losses/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 2 | 2021-07-10T12:40:46.000Z | 2021-12-17T07:55:15.000Z | from .loss import Loss
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3111fa067fab1808580a602a2e852eb8fd44dfd8 | 33,684 | py | Python | tests/unit/test_photos.py | movermeyer/openphoto-python | 209a1da27c8d8c88dbcf4ea6c6f57031ea1bc44b | [
"Apache-2.0"
] | 3 | 2015-02-11T10:48:28.000Z | 2015-11-05T18:50:53.000Z | tests/unit/test_photos.py | movermeyer/openphoto-python | 209a1da27c8d8c88dbcf4ea6c6f57031ea1bc44b | [
"Apache-2.0"
] | null | null | null | tests/unit/test_photos.py | movermeyer/openphoto-python | 209a1da27c8d8c88dbcf4ea6c6f57031ea1bc44b | [
"Apache-2.0"
] | 5 | 2015-02-09T22:01:30.000Z | 2018-03-04T21:53:28.000Z | from __future__ import unicode_literals
import os
import base64
import mock
try:
import unittest2 as unittest # Python2.6
except ImportError:
import unittest
import trovebox
class TestPhotos(unittest.TestCase):
test_host = "test.example.com"
test_file = os.path.join("tests", "unit", "data", "test_file... | 49.102041 | 93 | 0.611299 | 4,108 | 33,684 | 4.805015 | 0.050876 | 0.049445 | 0.0766 | 0.062921 | 0.903339 | 0.890927 | 0.877907 | 0.86286 | 0.852221 | 0.834997 | 0 | 0.013082 | 0.262439 | 33,684 | 685 | 94 | 49.173723 | 0.781436 | 0.118187 | 0 | 0.649695 | 0 | 0 | 0.103534 | 0.045426 | 0 | 0 | 0 | 0 | 0.258656 | 1 | 0.10998 | false | 0 | 0.016293 | 0.002037 | 0.171079 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3134a09f175295b4e13673df700f1448da091a1d | 2,165 | py | Python | epytope/Data/pssms/tepitopepan/mat/DRB1_0475_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_0475_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_0475_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | DRB1_0475_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.004754, 'I': -0.99525, 'H': -999.0, 'K': -999.0, 'M': -0.99525, 'L': -0.99525, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.004754, 'V': -0.99525, 'Y': -0.004754}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, '... | 2,165 | 2,165 | 0.394457 | 525 | 2,165 | 1.622857 | 0.201905 | 0.115023 | 0.028169 | 0.037559 | 0.219484 | 0.143192 | 0.143192 | 0.143192 | 0.133803 | 0.133803 | 0 | 0.373966 | 0.162587 | 2,165 | 1 | 2,165 | 2,165 | 0.095974 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3151baf3e7932c0f753be79d34200b858bb95a4a | 8,912 | py | Python | Project/source/tests/ProposedChangeTest.py | EricPapagiannis/CSCC01-team10-Project | 773a853f60464c1729c1d9ce4447dfae6fd01dac | [
"MIT"
] | 1 | 2017-01-31T02:27:27.000Z | 2017-01-31T02:27:27.000Z | Project/source/tests/ProposedChangeTest.py | EricPapagiannis/CSCC01-team10-Project | 773a853f60464c1729c1d9ce4447dfae6fd01dac | [
"MIT"
] | null | null | null | Project/source/tests/ProposedChangeTest.py | EricPapagiannis/CSCC01-team10-Project | 773a853f60464c1729c1d9ce4447dfae6fd01dac | [
"MIT"
] | null | null | null | import unittest
from data_comparison.proposed_change import *
import data_parsing.Planet as Planet
import data_parsing.Star as Star
import data_parsing.System as System
class testing_constructors(unittest.TestCase):
def __init__(self, *args, **kwargs):
super(testing_constructors, self).__init__(*args, **k... | 42.037736 | 74 | 0.620736 | 1,182 | 8,912 | 4.494078 | 0.085448 | 0.108434 | 0.156627 | 0.080008 | 0.823607 | 0.764119 | 0.732116 | 0.716114 | 0.716114 | 0.65945 | 0 | 0.027653 | 0.224978 | 8,912 | 211 | 75 | 42.236967 | 0.741422 | 0 | 0 | 0.636842 | 0 | 0 | 0.044098 | 0 | 0 | 0 | 0 | 0 | 0.331579 | 1 | 0.078947 | false | 0 | 0.026316 | 0 | 0.121053 | 0.005263 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31549701b76c2824b6ee92534f42d4e8e90ecf30 | 41 | py | Python | src/oo/__init__.py | vollov/py-lab | 0a1a3c93c5decaa5246fab981bcc2563cc42c6d0 | [
"MIT"
] | null | null | null | src/oo/__init__.py | vollov/py-lab | 0a1a3c93c5decaa5246fab981bcc2563cc42c6d0 | [
"MIT"
] | null | null | null | src/oo/__init__.py | vollov/py-lab | 0a1a3c93c5decaa5246fab981bcc2563cc42c6d0 | [
"MIT"
] | null | null | null | import oo
'''demon pythons oo support''' | 13.666667 | 30 | 0.707317 | 6 | 41 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 3 | 30 | 13.666667 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
316231d14af3391f80102b044a6caa683dfda784 | 7,441 | py | Python | huaweicloud-sdk-live/huaweicloudsdklive/v1/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-live/huaweicloudsdklive/v1/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-live/huaweicloudsdklive/v1/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
# import LiveClient
from huaweicloudsdklive.v1.live_client import LiveClient
from huaweicloudsdklive.v1.live_async_client import LiveAsyncClient
# import models into sdk package
from huaweicloudsdklive.v1.model.app_quality_info import AppQualityInfo
from huaweicl... | 84.556818 | 113 | 0.921785 | 793 | 7,441 | 8.3657 | 0.18285 | 0.2653 | 0.289418 | 0.340971 | 0.494423 | 0.460356 | 0.361471 | 0.111245 | 0 | 0 | 0 | 0.01225 | 0.045558 | 7,441 | 87 | 114 | 85.528736 | 0.921853 | 0.008332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
31b050841b21d3071e1746bea650e89e7cd31d45 | 237 | py | Python | {{cookiecutter.project_slug}}/examples/getting_started.py | jwbuurlage/cookiecutter-cicwi | abbd3b2d47ec689f34ccf7e53adeb2cbcf0e0575 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/examples/getting_started.py | jwbuurlage/cookiecutter-cicwi | abbd3b2d47ec689f34ccf7e53adeb2cbcf0e0575 | [
"BSD-3-Clause"
] | 5 | 2018-11-15T17:35:49.000Z | 2018-12-18T14:18:19.000Z | {{cookiecutter.project_slug}}/examples/getting_started.py | jwbuurlage/cookiecutter-cicwi | abbd3b2d47ec689f34ccf7e53adeb2cbcf0e0575 | [
"BSD-3-Clause"
] | 4 | 2018-11-01T11:21:24.000Z | 2018-12-14T11:17:47.000Z | """
A short example to get you started with {{ cookiecutter.project_name }}
"""
import {{ cookiecutter.project_slug }}
print("Executing examples/getting_started.py")
# Execute hello_world:
{{ cookiecutter.project_slug }}.hello_world()
| 23.7 | 71 | 0.751055 | 29 | 237 | 5.931034 | 0.724138 | 0.331395 | 0.267442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 237 | 9 | 72 | 26.333333 | 0.819048 | 0.084388 | 0 | 0 | 0 | 0 | 0.272059 | 0.198529 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
31b3fea3df5a9dbd13d01a907736709890311e26 | 125 | py | Python | app/main/__init__.py | albunus/News-highlight | 94230f444854da6421d352284646387470cec468 | [
"MIT"
] | null | null | null | app/main/__init__.py | albunus/News-highlight | 94230f444854da6421d352284646387470cec468 | [
"MIT"
] | null | null | null | app/main/__init__.py | albunus/News-highlight | 94230f444854da6421d352284646387470cec468 | [
"MIT"
] | null | null | null | from unittest.main import main
from flask import Blueprint
main = Blueprint('main',__name__)
from ..main import views, errors | 31.25 | 33 | 0.8 | 18 | 125 | 5.333333 | 0.5 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 125 | 4 | 34 | 31.25 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
31bf75199aa1697b560fecca4516d179fc89d371 | 42 | py | Python | Clusters/Google/__init__.py | varun-raghavendra/fl_faas_fabric | 36310d24805c5bd7258f2e432997ac9b91aee61a | [
"MIT"
] | 6 | 2021-05-19T20:36:55.000Z | 2022-03-20T05:56:21.000Z | Clusters/Google/__init__.py | varun-raghavendra/fl_faas_fabric | 36310d24805c5bd7258f2e432997ac9b91aee61a | [
"MIT"
] | null | null | null | Clusters/Google/__init__.py | varun-raghavendra/fl_faas_fabric | 36310d24805c5bd7258f2e432997ac9b91aee61a | [
"MIT"
] | 2 | 2022-03-16T08:59:15.000Z | 2022-03-20T11:47:55.000Z | from .GoogleDeploy import GoogleDeployment | 42 | 42 | 0.904762 | 4 | 42 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ed13c9adb243ab571ab94a7225ecadda5eec2d9 | 33 | py | Python | Visualiser/__init__.py | Knox-AAU/KL_NJ_TrainingToolbox | 5daa206d11d225ee07ce5462bc8a271ac0f7acf2 | [
"MIT"
] | 1 | 2021-12-01T15:27:32.000Z | 2021-12-01T15:27:32.000Z | Visualiser/__init__.py | Knox-AAU/KL_NJ_TrainingToolbox | 5daa206d11d225ee07ce5462bc8a271ac0f7acf2 | [
"MIT"
] | null | null | null | Visualiser/__init__.py | Knox-AAU/KL_NJ_TrainingToolbox | 5daa206d11d225ee07ce5462bc8a271ac0f7acf2 | [
"MIT"
] | 1 | 2021-12-01T15:27:34.000Z | 2021-12-01T15:27:34.000Z | from .main import visualize_model | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ed1b8627e6d33cc5bed6943b09411244243e2e6 | 102 | py | Python | core/functions/system/hash.py | DoctorFuchs/Doc | 8cda7105073848a5ff168447577b382a022626e7 | [
"Apache-2.0"
] | 1 | 2021-03-30T09:20:07.000Z | 2021-03-30T09:20:07.000Z | core/functions/system/hash.py | DoctorFuchs/Doc | 8cda7105073848a5ff168447577b382a022626e7 | [
"Apache-2.0"
] | 5 | 2021-05-09T18:34:00.000Z | 2021-06-27T06:16:03.000Z | core/functions/system/hash.py | DoctorFuchs/Doc | 8cda7105073848a5ff168447577b382a022626e7 | [
"Apache-2.0"
] | 1 | 2021-03-30T09:20:19.000Z | 2021-03-30T09:20:19.000Z | import hashlib
def hash(text: str) -> str:
return hashlib.md5(text.encode("utf-8")).hexdigest()
| 17 | 56 | 0.676471 | 15 | 102 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.147059 | 102 | 5 | 57 | 20.4 | 0.770115 | 0 | 0 | 0 | 0 | 0 | 0.04902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7302db1fce3bdc5341e785b5a668f90da0220ff9 | 20 | py | Python | core/nn/__init__.py | ZAKAUDD/mobilenetv3-segmentation | ca7ec6633e7f75893cf243878b53c4c51366e6ad | [
"Apache-2.0"
] | 85 | 2019-05-19T08:00:45.000Z | 2022-03-06T06:18:29.000Z | core/nn/__init__.py | ZAKAUDD/mobilenetv3-segmentation | ca7ec6633e7f75893cf243878b53c4c51366e6ad | [
"Apache-2.0"
] | 7 | 2019-05-24T07:37:09.000Z | 2021-05-27T21:16:10.000Z | core/nn/__init__.py | ZAKAUDD/mobilenetv3-segmentation | ca7ec6633e7f75893cf243878b53c4c51366e6ad | [
"Apache-2.0"
] | 20 | 2019-05-22T09:35:58.000Z | 2021-07-05T03:43:19.000Z | from .baisc import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
732cb1d55b2e1244aa4b8987a4b43d32738ab0f0 | 10,356 | py | Python | tests/assessments/test_economic_assessments.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 1 | 2021-12-15T04:14:03.000Z | 2021-12-15T04:14:03.000Z | tests/assessments/test_economic_assessments.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 19 | 2019-12-11T11:32:47.000Z | 2022-03-29T15:40:57.000Z | tests/assessments/test_economic_assessments.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 2 | 2021-02-09T09:38:45.000Z | 2021-03-29T19:07:09.000Z | from http import HTTPStatus
from django.urls import reverse
from mock import Mock, patch
from barriers.models import EconomicAssessment
from core.tests import MarketAccessTestCase
from utils.exceptions import APIHttpException
class TestEconomicAssessments(MarketAccessTestCase):
assessment_id = 15
@patch("u... | 33.843137 | 75 | 0.536597 | 914 | 10,356 | 5.846827 | 0.108315 | 0.069049 | 0.051085 | 0.058945 | 0.865269 | 0.865269 | 0.865269 | 0.864334 | 0.811939 | 0.808757 | 0 | 0.000905 | 0.359695 | 10,356 | 305 | 76 | 33.954098 | 0.805007 | 0 | 0 | 0.66548 | 0 | 0 | 0.187234 | 0.108343 | 0 | 0 | 0 | 0 | 0.131673 | 1 | 0.042705 | false | 0 | 0.021352 | 0 | 0.071174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
734f0b6ac52b652be15f50f51aaa98dace885cfa | 12,607 | py | Python | ops_compress.py | siat-nlp/CpRec | c3b5d0b3a77d72c81eee203335aef2997c51708a | [
"MIT"
] | 16 | 2020-05-09T08:42:32.000Z | 2022-03-03T10:51:38.000Z | ops_compress.py | fajieyuan/CpRec | c3b5d0b3a77d72c81eee203335aef2997c51708a | [
"MIT"
] | 1 | 2020-10-26T19:59:11.000Z | 2020-10-26T19:59:11.000Z | ops_compress.py | fajieyuan/CpRec | c3b5d0b3a77d72c81eee203335aef2997c51708a | [
"MIT"
] | 4 | 2020-05-05T11:53:41.000Z | 2021-09-08T14:15:14.000Z | import tensorflow as tf
import math
def nextitnet_residual_block_cross_layer(input_, dilation, layer_id,
residual_channels, kernel_size,
causal=True, train=True):
resblock_type = "decoder"
resblock_name = "nextitnet_residual_block{}_layer".format(resbloc... | 48.118321 | 167 | 0.611962 | 1,422 | 12,607 | 5.113924 | 0.112518 | 0.065044 | 0.046205 | 0.057756 | 0.80088 | 0.7467 | 0.732536 | 0.72126 | 0.716584 | 0.706683 | 0 | 0.017961 | 0.293408 | 12,607 | 261 | 168 | 48.302682 | 0.798383 | 0.136511 | 0 | 0.60733 | 0 | 0 | 0.091629 | 0.053412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04712 | false | 0 | 0.010471 | 0 | 0.104712 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b43a50b69b7fcc16f53779d64a841065e2e5199b | 23 | py | Python | src/kadai1/main.py | sakakendo0321/meister2019-python-iot | a932d4305fb0067fa62e916a37113faa1cb690c4 | [
"MIT"
] | null | null | null | src/kadai1/main.py | sakakendo0321/meister2019-python-iot | a932d4305fb0067fa62e916a37113faa1cb690c4 | [
"MIT"
] | null | null | null | src/kadai1/main.py | sakakendo0321/meister2019-python-iot | a932d4305fb0067fa62e916a37113faa1cb690c4 | [
"MIT"
] | null | null | null |
def hello():
pass
| 5.75 | 12 | 0.521739 | 3 | 23 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 23 | 3 | 13 | 7.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b44b71f3905a2590b7172cc0c54a930e86b61894 | 1,703 | py | Python | tests/test_context.py | mahanthathreyee/ghub | b212ca068ef530d034095e6ef5d964e4e78dc022 | [
"MIT"
] | 1 | 2020-11-06T02:06:50.000Z | 2020-11-06T02:06:50.000Z | tests/test_context.py | M4cs/ghub | fac11c493cff598bdec37b92cf498050c1d7024e | [
"MIT"
] | null | null | null | tests/test_context.py | M4cs/ghub | fac11c493cff598bdec37b92cf498050c1d7024e | [
"MIT"
] | null | null | null | from ghub.context import Context
class TestContextClass:
def test_default_context(self):
context = Context({"login": "testuser"})
assert context.context == "root"
assert context.location == "testuser"
assert context.root_location == "testuser"
assert context.cache == None
... | 37.844444 | 60 | 0.644745 | 181 | 1,703 | 5.867403 | 0.160221 | 0.23258 | 0.150659 | 0.125235 | 0.877589 | 0.877589 | 0.798493 | 0.798493 | 0.59887 | 0.530132 | 0 | 0.00536 | 0.233118 | 1,703 | 44 | 61 | 38.704545 | 0.80781 | 0 | 0 | 0.684211 | 0 | 0 | 0.157957 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.131579 | false | 0 | 0.026316 | 0 | 0.184211 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b472d1d169366f0a17afaef94d6674ebe5922cee | 51 | py | Python | src/jenkins_example/helloworld.py | davehadley/jenkins-example | a7ae80cecd1718bd45bb27845b164f9b07f5f669 | [
"MIT"
] | null | null | null | src/jenkins_example/helloworld.py | davehadley/jenkins-example | a7ae80cecd1718bd45bb27845b164f9b07f5f669 | [
"MIT"
] | null | null | null | src/jenkins_example/helloworld.py | davehadley/jenkins-example | a7ae80cecd1718bd45bb27845b164f9b07f5f669 | [
"MIT"
] | null | null | null | def helloworld() -> str:
return "Hello World!"
| 17 | 25 | 0.627451 | 6 | 51 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 51 | 2 | 26 | 25.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
b480529d1437a67b6e4e2444f22b7c5052440b97 | 221 | py | Python | dashboard/live/views.py | hebergui/webtrade | 338fbf334b6ba173296635b380b53b088a87bb95 | [
"Apache-2.0"
] | null | null | null | dashboard/live/views.py | hebergui/webtrade | 338fbf334b6ba173296635b380b53b088a87bb95 | [
"Apache-2.0"
] | null | null | null | dashboard/live/views.py | hebergui/webtrade | 338fbf334b6ba173296635b380b53b088a87bb95 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'live/index.html')
def room(request, room_name):
return render(request, 'live/room.html', {
'room_name': room_name
})
| 18.416667 | 46 | 0.678733 | 29 | 221 | 5.068966 | 0.448276 | 0.163265 | 0.258503 | 0.312925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19457 | 221 | 11 | 47 | 20.090909 | 0.825843 | 0 | 0 | 0 | 0 | 0 | 0.171946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c300bfa64c79dbecbb855d09f8791ee1c9f99a8c | 129 | py | Python | idp/utils.py | alranel/uniAuth | 1d9dd044b7c3722d40162fc116d536fe3dfd5c7b | [
"Apache-2.0"
] | null | null | null | idp/utils.py | alranel/uniAuth | 1d9dd044b7c3722d40162fc116d536fe3dfd5c7b | [
"Apache-2.0"
] | null | null | null | idp/utils.py | alranel/uniAuth | 1d9dd044b7c3722d40162fc116d536fe3dfd5c7b | [
"Apache-2.0"
] | 1 | 2020-01-09T08:57:28.000Z | 2020-01-09T08:57:28.000Z | from django.conf import settings
def get_encoded_username(username):
return '@'.join((username, settings.LDAP_BASE_DOMAIN))
| 25.8 | 58 | 0.782946 | 17 | 129 | 5.705882 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108527 | 129 | 4 | 59 | 32.25 | 0.843478 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c3133c0d3de43bb8bdcda119650c27c2813fbea1 | 12,190 | py | Python | modified_rdkit/Code/ForceField/Wrap/testConstraints.py | hjuinj/RDKit_mETKDG | b270e765caa61d289e9e33595d4264b156f9062e | [
"MIT"
] | 3 | 2020-03-30T04:00:52.000Z | 2021-05-31T01:32:13.000Z | modified_rdkit/Code/ForceField/Wrap/testConstraints.py | hjuinj/RDKit_mETKDG | b270e765caa61d289e9e33595d4264b156f9062e | [
"MIT"
] | 1 | 2020-05-23T17:31:04.000Z | 2020-05-26T06:52:47.000Z | modified_rdkit/Code/ForceField/Wrap/testConstraints.py | hjuinj/RDKit_mETKDG | b270e765caa61d289e9e33595d4264b156f9062e | [
"MIT"
] | 4 | 2020-03-30T04:00:53.000Z | 2021-02-25T23:11:52.000Z | from rdkit import RDConfig
import sys, os
from time import sleep
from multiprocessing import Process, Value
import unittest
from rdkit import Chem
from rdkit.Chem import ChemicalForceFields
from rdkit.Chem import rdMolTransforms
class OptSafe:
def __init__(self):
self.minInfLoop = """minInfLoop
RDKit ... | 35.539359 | 75 | 0.61977 | 1,868 | 12,190 | 4.031585 | 0.101713 | 0.092418 | 0.119506 | 0.134378 | 0.807595 | 0.807462 | 0.79352 | 0.79352 | 0.79352 | 0.77493 | 0 | 0.136622 | 0.265053 | 12,190 | 342 | 76 | 35.643275 | 0.703985 | 0.001477 | 0 | 0.619497 | 0 | 0.075472 | 0.196368 | 0 | 0 | 0 | 0 | 0 | 0.201258 | 1 | 0.053459 | false | 0.012579 | 0.025157 | 0 | 0.09434 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c322d7d0fbbd2865eeb6c10ca975134a56a49349 | 5,898 | py | Python | mayan/apps/dynamic_search/tests/test_models.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 1 | 2021-06-17T18:24:25.000Z | 2021-06-17T18:24:25.000Z | mayan/apps/dynamic_search/tests/test_models.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 7 | 2020-06-06T00:01:04.000Z | 2022-01-13T01:47:17.000Z | mayan/apps/dynamic_search/tests/test_models.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from django.utils.encoding import force_text
from mayan.apps.common.tests import BaseTestCase
from mayan.apps.documents.permissions import permission_document_view
from mayan.apps.documents.search import document_search
from mayan.apps.documents.tests import DocumentTestMixin
... | 34.092486 | 84 | 0.652085 | 659 | 5,898 | 5.540212 | 0.118361 | 0.085456 | 0.096412 | 0.122706 | 0.803068 | 0.798411 | 0.789373 | 0.769652 | 0.769652 | 0.768283 | 0 | 0.005413 | 0.24822 | 5,898 | 172 | 85 | 34.290698 | 0.817997 | 0.025941 | 0 | 0.533835 | 0 | 0 | 0.059699 | 0 | 0 | 0 | 0 | 0 | 0.172932 | 1 | 0.067669 | false | 0 | 0.045113 | 0 | 0.12782 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c327b5d965656f2f92180e9169d2b70b80291936 | 7,292 | py | Python | python/example/_22_rest_api_client.py | donarts/sourcecode | 8fe85663a3f2f4a0561bab5950178afefbe82e9a | [
"MIT"
] | null | null | null | python/example/_22_rest_api_client.py | donarts/sourcecode | 8fe85663a3f2f4a0561bab5950178afefbe82e9a | [
"MIT"
] | null | null | null | python/example/_22_rest_api_client.py | donarts/sourcecode | 8fe85663a3f2f4a0561bab5950178afefbe82e9a | [
"MIT"
] | null | null | null | import requests
def print_roundtrip(response, *args, **kwargs):
format_headers = lambda d: '\n'.join(f'{k}: {v}' for k, v in d.items())
print((""
"---------------- request ----------------\n"
"{req.method} {req.url}\n"
"{reqhdrs}\n"
"\n"
"{req.body}\n"
"---------------- response ----------------\n"
"{r... | 23.446945 | 108 | 0.614646 | 1,101 | 7,292 | 4.055404 | 0.102634 | 0.021501 | 0.064502 | 0.072564 | 0.888018 | 0.888018 | 0.873908 | 0.866741 | 0.865622 | 0.835834 | 0 | 0.112926 | 0.109846 | 7,292 | 310 | 109 | 23.522581 | 0.57495 | 0 | 0 | 0.257143 | 0 | 0 | 0.397478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.028571 | 0 | 0.057143 | 0.4 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c367ee8eeb3181038750ff9a5425de6c7f45da91 | 6,060 | py | Python | mstrio/api/schedules.py | czyzq/mstrio-py | b25fd19936b659d503a7eaaa96c8d0b4e118cb7c | [
"Apache-2.0"
] | 1 | 2022-02-15T13:18:04.000Z | 2022-02-15T13:18:04.000Z | mstrio/api/schedules.py | czyzq/mstrio-py | b25fd19936b659d503a7eaaa96c8d0b4e118cb7c | [
"Apache-2.0"
] | null | null | null | mstrio/api/schedules.py | czyzq/mstrio-py | b25fd19936b659d503a7eaaa96c8d0b4e118cb7c | [
"Apache-2.0"
] | null | null | null | import json
from mstrio.utils.error_handlers import ErrorHandler
@ErrorHandler(err_msg='Error getting schedules list.')
def list_schedules(connection, fields=None, error_msg=None):
"""Get list of a schedules.
Args:
connection(object): MicroStrategy connection object returned by
`connecti... | 41.793103 | 97 | 0.65429 | 708 | 6,060 | 5.512712 | 0.138418 | 0.06764 | 0.040994 | 0.029465 | 0.880861 | 0.873174 | 0.840379 | 0.811427 | 0.780938 | 0.780938 | 0 | 0.001736 | 0.239439 | 6,060 | 144 | 98 | 42.083333 | 0.845086 | 0.448845 | 0 | 0.631579 | 0 | 0 | 0.192332 | 0.061211 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087719 | false | 0 | 0.035088 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c370a5a464cc0f52cea959740ee2bbefba65b79d | 141 | py | Python | docker/urls.py | uw-it-aca/retention-dashboard | 5f808f62f26b14eead4409603760fa1abc2c6a2a | [
"Apache-2.0"
] | null | null | null | docker/urls.py | uw-it-aca/retention-dashboard | 5f808f62f26b14eead4409603760fa1abc2c6a2a | [
"Apache-2.0"
] | 32 | 2020-12-08T19:19:53.000Z | 2022-02-23T23:29:53.000Z | docker/urls.py | uw-it-aca/retention-dashboard | 5f808f62f26b14eead4409603760fa1abc2c6a2a | [
"Apache-2.0"
] | null | null | null | from .base_urls import *
from django.urls import re_path, include
urlpatterns += [
re_path('^', include('retention_dashboard.urls'))
]
| 17.625 | 53 | 0.716312 | 18 | 141 | 5.388889 | 0.611111 | 0.206186 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 141 | 7 | 54 | 20.142857 | 0.808333 | 0 | 0 | 0 | 0 | 0 | 0.177305 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c372a9a11fae0d8e42a8114e181ef02342f79163 | 34 | py | Python | ImageAug/__init__.py | ashwin24udp/DeepLearnUtil | 4839db139a4891f793215624fada6aa234c8c585 | [
"MIT"
] | null | null | null | ImageAug/__init__.py | ashwin24udp/DeepLearnUtil | 4839db139a4891f793215624fada6aa234c8c585 | [
"MIT"
] | 1 | 2019-08-29T20:13:20.000Z | 2019-08-29T20:13:20.000Z | ImageAug/__init__.py | ashwin24udp/DeepLearnUtil | 4839db139a4891f793215624fada6aa234c8c585 | [
"MIT"
] | null | null | null | from ImageAugTF import ImageAugTF
| 17 | 33 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5ee442cca3f670e7c6dc99d3765dd1b923d64b90 | 191 | py | Python | calc.py | DiegooRibeiroo/TDE3 | e89bea12c9b5edb70eb5efdb5d22ee8806315808 | [
"Apache-2.0"
] | null | null | null | calc.py | DiegooRibeiroo/TDE3 | e89bea12c9b5edb70eb5efdb5d22ee8806315808 | [
"Apache-2.0"
] | null | null | null | calc.py | DiegooRibeiroo/TDE3 | e89bea12c9b5edb70eb5efdb5d22ee8806315808 | [
"Apache-2.0"
] | null | null | null |
def soma (a,b):
result = (a+b)
return result
def sub (a,b):
result = (a-b)
return result
def multi (a,b):
result = (a*b)
return result
def div (a,b):
result = (a/b)
return result
| 11.235294 | 16 | 0.602094 | 36 | 191 | 3.194444 | 0.25 | 0.13913 | 0.278261 | 0.313043 | 0.843478 | 0.843478 | 0.843478 | 0.652174 | 0 | 0 | 0 | 0 | 0.230366 | 191 | 16 | 17 | 11.9375 | 0.782313 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5eef6bf6ae1a3b7686e46093bdaefa66c49fe8c7 | 10,777 | py | Python | tests/omex_meta/test_omex_meta_validation.py | biosimulators/Biosimulators_utils | c1363467263120bf1166da2b75e38fc7f56dc94f | [
"MIT"
] | 2 | 2021-06-02T13:26:34.000Z | 2021-12-27T23:12:47.000Z | tests/omex_meta/test_omex_meta_validation.py | biosimulators/Biosimulators_utils | c1363467263120bf1166da2b75e38fc7f56dc94f | [
"MIT"
] | 102 | 2020-12-06T19:47:43.000Z | 2022-03-31T12:56:17.000Z | tests/omex_meta/test_omex_meta_validation.py | biosimulators/Biosimulators_utils | c1363467263120bf1166da2b75e38fc7f56dc94f | [
"MIT"
] | 4 | 2021-01-27T19:56:34.000Z | 2022-02-03T21:08:20.000Z | from biosimulators_utils.combine.data_model import CombineArchive, CombineArchiveContent, CombineArchiveContentFormat
from biosimulators_utils.config import Config
from biosimulators_utils.omex_meta import data_model
from biosimulators_utils.omex_meta.io import read_omex_meta_file
from biosimulators_utils.omex_meta.val... | 48.545045 | 133 | 0.68173 | 1,259 | 10,777 | 5.5417 | 0.096108 | 0.079547 | 0.081267 | 0.113516 | 0.871865 | 0.82729 | 0.82342 | 0.81826 | 0.802207 | 0.789738 | 0 | 0.011096 | 0.20553 | 10,777 | 221 | 134 | 48.764706 | 0.803784 | 0 | 0 | 0.643617 | 0 | 0 | 0.108843 | 0.015867 | 0 | 0 | 0 | 0 | 0.303191 | 1 | 0.021277 | false | 0 | 0.058511 | 0 | 0.111702 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ef3c676271c88d908dc7e6d07554334c3704479 | 106 | py | Python | tcclient/__init__.py | bdmartin/tcclient | b6c6e6b3d2b250107a2676328671be9f2228863b | [
"MIT"
] | 1 | 2017-02-23T03:00:17.000Z | 2017-02-23T03:00:17.000Z | tcclient/__init__.py | bdmartin/tcclient | b6c6e6b3d2b250107a2676328671be9f2228863b | [
"MIT"
] | null | null | null | tcclient/__init__.py | bdmartin/tcclient | b6c6e6b3d2b250107a2676328671be9f2228863b | [
"MIT"
] | null | null | null | from .TeamCowboyClient import TeamCowboyClient
from .TeamCowboyClientConfig import TeamCowboyClientConfig
| 35.333333 | 58 | 0.90566 | 8 | 106 | 12 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 2 | 59 | 53 | 0.979592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f29c400c693b21c867f31604f3af6a358050046 | 127 | py | Python | thinc/tests/unit/test_imports.py | alephmelo/thinc | 5c4340eddbe1f21649f773bc68b4b0600cf414ba | [
"MIT"
] | 1 | 2018-10-30T07:19:27.000Z | 2018-10-30T07:19:27.000Z | thinc/tests/unit/test_imports.py | alephmelo/thinc | 5c4340eddbe1f21649f773bc68b4b0600cf414ba | [
"MIT"
] | 4 | 2020-07-26T02:10:42.000Z | 2021-03-31T18:48:58.000Z | thinc/tests/unit/test_imports.py | alephmelo/thinc | 5c4340eddbe1f21649f773bc68b4b0600cf414ba | [
"MIT"
] | 1 | 2020-07-25T23:57:23.000Z | 2020-07-25T23:57:23.000Z | from ...i2v import *
from ...v2v import *
from ...t2t import *
from ...t2v import *
from ...api import *
from ...misc import *
| 18.142857 | 21 | 0.622047 | 18 | 127 | 4.388889 | 0.444444 | 0.632911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 0.188976 | 127 | 6 | 22 | 21.166667 | 0.728155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f55a3448aac22e5e8ca1c4c07aabb7e2101ed35 | 45 | py | Python | api_site/src/api_x/config/weixin_pay/local_beta.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | 1 | 2019-10-14T11:51:49.000Z | 2019-10-14T11:51:49.000Z | api_site/src/api_x/config/weixin_pay/local_beta.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | null | null | null | api_site/src/api_x/config/weixin_pay/local_beta.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | null | null | null | # coding=utf-8
from ._prod_default import *
| 11.25 | 28 | 0.733333 | 7 | 45 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.155556 | 45 | 3 | 29 | 15 | 0.789474 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f57e61dfe32fd38d6a399b44adeb954d75dff4c | 2,990 | py | Python | tests.py | JoseCordobaEAN/CheessMoves | 0b0a10b51531f842a0c6df53a264edadac233f26 | [
"MIT"
] | 10 | 2019-05-07T23:09:20.000Z | 2020-04-14T19:25:27.000Z | tests.py | JoseCordobaEAN/CheessMoves | 0b0a10b51531f842a0c6df53a264edadac233f26 | [
"MIT"
] | null | null | null | tests.py | JoseCordobaEAN/CheessMoves | 0b0a10b51531f842a0c6df53a264edadac233f26 | [
"MIT"
] | 10 | 2019-05-07T23:09:22.000Z | 2019-05-09T23:23:16.000Z | from unittest import TestCase
from movimientos import *
class Test_movimientos(TestCase):
def test_tablero_a_cadena(self):
dado = []
espero = ""
obtengo = tablero_a_cadena(dado)
self.assertEquals(espero, obtengo)
def test_obtener_nombre_pieza(self):
dado = []
e... | 36.463415 | 77 | 0.318729 | 302 | 2,990 | 3.066225 | 0.155629 | 0.12311 | 0.168467 | 0.203024 | 0.723542 | 0.723542 | 0.723542 | 0.617711 | 0.610151 | 0.609071 | 0 | 0.014242 | 0.342475 | 2,990 | 81 | 78 | 36.91358 | 0.456765 | 0.049164 | 0 | 0.757143 | 0 | 0 | 0.106413 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 1 | 0.042857 | false | 0 | 0.028571 | 0 | 0.085714 | 0.085714 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f5eb43610b0a496fb300fdc3c275d7ca3dd7bac | 13,474 | py | Python | cabanapy/EChem.py | WilliamJudge94/materials_research | fbb8ace749528b721c071151533fd7367894e75f | [
"MIT"
] | 8 | 2018-08-23T11:51:10.000Z | 2021-12-16T03:45:44.000Z | cabanapy/EChem.py | WilliamJudge94/materials_research | fbb8ace749528b721c071151533fd7367894e75f | [
"MIT"
] | 3 | 2016-08-02T20:25:23.000Z | 2020-05-29T10:54:00.000Z | cabanapy/EChem.py | WilliamJudge94/materials_research | fbb8ace749528b721c071151533fd7367894e75f | [
"MIT"
] | 5 | 2019-01-19T15:04:35.000Z | 2021-09-10T02:58:05.000Z | # -*- coding: utf-8 -*-
#EChem technique
import numpy as np, matplotlib.pyplot as plt, pandas as pd
class processedMPTFile(object):
"""Loads data from a processed (IQxnE) .mpt file produced in EC-Lab or BT-Lab. Will also work for .txt files exported by the software."""
filename = ""
shortname = ""... | 46.302405 | 164 | 0.54364 | 1,612 | 13,474 | 4.46464 | 0.128412 | 0.031263 | 0.029179 | 0.031124 | 0.775601 | 0.738224 | 0.735167 | 0.715854 | 0.715854 | 0.715854 | 0 | 0.010209 | 0.31661 | 13,474 | 290 | 165 | 46.462069 | 0.771394 | 0.057815 | 0 | 0.749035 | 0 | 0 | 0.126989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061776 | false | 0.011583 | 0.003861 | 0 | 0.227799 | 0.11583 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f66174846a2f90e2522f9660463a4174cbe828e | 159 | py | Python | app/main/views.py | nhb-git/flask_web07all- | 46bcd1cdc4fb0b78c36df286f9ea1ea6897f9922 | [
"Apache-2.0"
] | null | null | null | app/main/views.py | nhb-git/flask_web07all- | 46bcd1cdc4fb0b78c36df286f9ea1ea6897f9922 | [
"Apache-2.0"
] | null | null | null | app/main/views.py | nhb-git/flask_web07all- | 46bcd1cdc4fb0b78c36df286f9ea1ea6897f9922 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
from . import main
from .. import db
from ..models import User
@main.route('/', methods=['GET', 'POST'])
def index():
pass
| 15.9 | 41 | 0.672956 | 22 | 159 | 4.863636 | 0.636364 | 0.186916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176101 | 159 | 9 | 42 | 17.666667 | 0.816794 | 0 | 0 | 0 | 0 | 0 | 0.050314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0.142857 | 0.571429 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6f6e71bd9f89e9a0b449e419c6fec74e1bed4b77 | 138 | py | Python | Algorithms/Intersection of Two Arrays/solution.py | rawat9/leetcode | 936ced4a447c3eab7485d00b9eea480100da1ddb | [
"MIT"
] | null | null | null | Algorithms/Intersection of Two Arrays/solution.py | rawat9/leetcode | 936ced4a447c3eab7485d00b9eea480100da1ddb | [
"MIT"
] | null | null | null | Algorithms/Intersection of Two Arrays/solution.py | rawat9/leetcode | 936ced4a447c3eab7485d00b9eea480100da1ddb | [
"MIT"
] | null | null | null | class Solution:
def intersection(self, nums1: list[int], nums2: list[int]) -> list[int]:
return set(nums1).intersection(nums2) | 46 | 76 | 0.681159 | 18 | 138 | 5.222222 | 0.611111 | 0.223404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.166667 | 138 | 3 | 77 | 46 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4893b54b238ede2787ae934ab4024cd5793755da | 59 | py | Python | tests/tasks/toloka/test_import.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | null | null | null | tests/tasks/toloka/test_import.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | null | null | null | tests/tasks/toloka/test_import.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | null | null | null | def test_import():
import prefect.tasks.toloka # noqa
| 19.666667 | 39 | 0.711864 | 8 | 59 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 2 | 40 | 29.5 | 0.854167 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48b7419191f3dfec9fc8b0bc0706af82069867fa | 133 | py | Python | src/unit/test_exception_with.py | privong/still-magic | 1d651840497d66d44ff43528f6e1f38e698ce168 | [
"CC-BY-4.0"
] | null | null | null | src/unit/test_exception_with.py | privong/still-magic | 1d651840497d66d44ff43528f6e1f38e698ce168 | [
"CC-BY-4.0"
] | 1 | 2019-05-11T23:42:33.000Z | 2019-05-13T18:48:36.000Z | src/unit/test_exception_with.py | privong/still-magic | 1d651840497d66d44ff43528f6e1f38e698ce168 | [
"CC-BY-4.0"
] | null | null | null | import pytest
from tf_idf import count_words
def test_text_not_empty():
with pytest.raises(ValueError):
count_words('')
| 19 | 35 | 0.736842 | 19 | 133 | 4.842105 | 0.789474 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180451 | 133 | 6 | 36 | 22.166667 | 0.844037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48f4762c6e5f0a6231489e478489b2e991cb496a | 820 | py | Python | tests/test_option_genomic_expression.py | lifeomic/phc-sdk-py | 51709c1c2f129a3fbe336a44e4d501ae0249859e | [
"MIT"
] | 1 | 2020-07-22T12:46:58.000Z | 2020-07-22T12:46:58.000Z | tests/test_option_genomic_expression.py | lifeomic/phc-sdk-py | 51709c1c2f129a3fbe336a44e4d501ae0249859e | [
"MIT"
] | 54 | 2019-10-09T16:19:04.000Z | 2022-01-19T20:28:59.000Z | tests/test_option_genomic_expression.py | lifeomic/phc-sdk-py | 51709c1c2f129a3fbe336a44e4d501ae0249859e | [
"MIT"
] | 2 | 2019-10-30T19:54:43.000Z | 2020-12-03T18:57:15.000Z | from uuid import uuid4
from phc.easy.omics.options.genomic_expression import GenomicExpressionOptions
variant_set_ids = [str(uuid4())]
def test_genomic_expression_option():
result = GenomicExpressionOptions(
variant_set_ids=variant_set_ids, expression="1-2"
).dict()
assert result.get("expression"... | 30.37037 | 78 | 0.695122 | 99 | 820 | 5.535354 | 0.262626 | 0.164234 | 0.213504 | 0.337591 | 0.733577 | 0.733577 | 0.733577 | 0.733577 | 0.666058 | 0.666058 | 0 | 0.026471 | 0.170732 | 820 | 26 | 79 | 31.538462 | 0.779412 | 0 | 0 | 0.5 | 0 | 0 | 0.103659 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.05 | false | 0 | 0.1 | 0 | 0.15 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b1bee259d24005f078a1a3ec9d7e214f74223ea | 22 | py | Python | modules/2.79/bpy/types/SpaceNodeEditorPath.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/SpaceNodeEditorPath.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/SpaceNodeEditorPath.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | def pop():
pass
| 4.4 | 10 | 0.454545 | 3 | 22 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 22 | 4 | 11 | 5.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d2d3d56b0f4064f63b7e413f1bdc22bb92dbaecf | 200,752 | py | Python | 242/__init__.py | sc4599/LeetCode | a2ce242e20e485cc8f6cc6083f4993332d414bbf | [
"MIT"
] | null | null | null | 242/__init__.py | sc4599/LeetCode | a2ce242e20e485cc8f6cc6083f4993332d414bbf | [
"MIT"
] | null | null | null | 242/__init__.py | sc4599/LeetCode | a2ce242e20e485cc8f6cc6083f4993332d414bbf | [
"MIT"
] | null | null | null | import unittest
class Solution(object):
def isAnagram(self, s, t):
"""
:type s: str
:type t: str
:rtype: bool
"""
l = list(s)
l.sort()
l2 = list(t)
l2.sort()
return l == l2
class TestSolution(unittest.TestCase):
def test_isAnagra... | 5,735.771429 | 50,014 | 0.998092 | 95 | 200,752 | 2,109.052632 | 0.431579 | 0.00006 | 0.000195 | 0.00021 | 0.00018 | 0.00018 | 0 | 0 | 0 | 0 | 0 | 0.000015 | 0.001355 | 200,752 | 35 | 50,015 | 5,735.771429 | 0.999386 | 0.49868 | 0 | 0.095238 | 0 | 0 | 0.994324 | 0.994046 | 0 | 1 | 0 | 0 | 0.142857 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.285714 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2fe025f2ac514fefc032c0a5628ae13c006b791 | 18,092 | py | Python | cli/tests/awsbatch/test_awsbstat.py | mkosmo/cfncluster | f1817cc187f2b92127d48f16debb4b7ea4f4a80f | [
"Apache-2.0"
] | 2 | 2018-12-14T18:03:01.000Z | 2019-03-07T19:39:26.000Z | cli/tests/awsbatch/test_awsbstat.py | mkosmo/cfncluster | f1817cc187f2b92127d48f16debb4b7ea4f4a80f | [
"Apache-2.0"
] | 109 | 2020-05-29T08:20:29.000Z | 2022-02-21T09:32:47.000Z | cli/tests/awsbatch/test_awsbstat.py | mkosmo/cfncluster | f1817cc187f2b92127d48f16debb4b7ea4f4a80f | [
"Apache-2.0"
] | 1 | 2019-05-10T16:03:19.000Z | 2019-05-10T16:03:19.000Z | import json
import os
import pytest
from awsbatch import awsbstat
from tests.common import MockedBoto3Request, read_text
from tests.conftest import DEFAULT_AWSBATCHCLICONFIG_MOCK_CONFIG
ALL_JOB_STATUS = ["SUBMITTED", "PENDING", "RUNNABLE", "STARTING", "RUNNING", "SUCCEEDED", "FAILED"]
DEFAULT_JOB_STATUS = ["SUBMITTE... | 40.293987 | 120 | 0.539741 | 1,651 | 18,092 | 5.655966 | 0.120533 | 0.046263 | 0.020882 | 0.027308 | 0.85907 | 0.781859 | 0.757229 | 0.740416 | 0.713964 | 0.660955 | 0 | 0.100571 | 0.351481 | 18,092 | 448 | 121 | 40.383929 | 0.695304 | 0.03344 | 0 | 0.540609 | 0 | 0 | 0.254807 | 0.177672 | 0 | 0 | 0 | 0 | 0.032995 | 1 | 0.032995 | false | 0 | 0.015228 | 0 | 0.055838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8295c6e1b16c330500ac6bb3a2573e19840117da | 19 | py | Python | src/cnbcfinance/__init__.py | dearvn/cnbcfinance | 705d516206c5dbc8eeff80e6598380a1c0962c48 | [
"MIT"
] | null | null | null | src/cnbcfinance/__init__.py | dearvn/cnbcfinance | 705d516206c5dbc8eeff80e6598380a1c0962c48 | [
"MIT"
] | null | null | null | src/cnbcfinance/__init__.py | dearvn/cnbcfinance | 705d516206c5dbc8eeff80e6598380a1c0962c48 | [
"MIT"
] | null | null | null | from .cnbc import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82c163e0844eaa5a3732a4fed368290b41415872 | 121 | py | Python | t_10_brief_tour_of_the_standard_library/t_10_10_performance_measurement/main.py | naokiur/Python-tutorial | 7b03dc8fd2e5992859fde00bfe2873b4fb7ca5e5 | [
"Apache-2.0"
] | null | null | null | t_10_brief_tour_of_the_standard_library/t_10_10_performance_measurement/main.py | naokiur/Python-tutorial | 7b03dc8fd2e5992859fde00bfe2873b4fb7ca5e5 | [
"Apache-2.0"
] | null | null | null | t_10_brief_tour_of_the_standard_library/t_10_10_performance_measurement/main.py | naokiur/Python-tutorial | 7b03dc8fd2e5992859fde00bfe2873b4fb7ca5e5 | [
"Apache-2.0"
] | null | null | null | from timeit import Timer
print(Timer('t=a; a=b; b=t', 'a=1; b=2').timeit())
print(Timer('a,b=b,a', 'a=1; b=2').timeit())
| 30.25 | 50 | 0.586777 | 28 | 121 | 2.535714 | 0.357143 | 0.28169 | 0.084507 | 0.112676 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.099174 | 121 | 3 | 51 | 40.333333 | 0.614679 | 0 | 0 | 0 | 0 | 0 | 0.297521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
82d5f435bd8f209245c6ee12c85810a4a2672e4b | 169 | py | Python | bubbles/__init__.py | AlexandriaILS/Bubbles-V2 | fcf5ef1f8edffae22dcc1be5be3884668f4db23f | [
"MIT"
] | 2 | 2020-08-28T05:05:14.000Z | 2020-10-01T14:54:48.000Z | bubbles/__init__.py | AlexandriaILS/Bubbles-V2 | fcf5ef1f8edffae22dcc1be5be3884668f4db23f | [
"MIT"
] | 17 | 2021-01-16T19:40:46.000Z | 2022-03-09T21:39:45.000Z | bubbles/__init__.py | AlexandriaILS/Bubbles-V2 | fcf5ef1f8edffae22dcc1be5be3884668f4db23f | [
"MIT"
] | 1 | 2021-02-26T20:09:52.000Z | 2021-02-26T20:09:52.000Z | # Don't touch!
# This actually enables loading all the files in the commands subdirectory and
# works alongside bubbles.commands.__init__
from bubbles.commands import *
| 33.8 | 78 | 0.804734 | 24 | 169 | 5.5 | 0.833333 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142012 | 169 | 4 | 79 | 42.25 | 0.910345 | 0.775148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82d8ab8459826d7bfc5379a21468533e3fda618a | 60 | py | Python | bibblio/lambda_folder/pkg/__init__.py | vc2309/bibbl.io | f31fd4e8e5c558da85666627db7527b05cf461a7 | [
"Apache-2.0"
] | null | null | null | bibblio/lambda_folder/pkg/__init__.py | vc2309/bibbl.io | f31fd4e8e5c558da85666627db7527b05cf461a7 | [
"Apache-2.0"
] | 4 | 2021-09-11T14:30:08.000Z | 2021-10-03T11:02:01.000Z | bibblio/lambda_folder/pkg/__init__.py | vc2309/bibbl.io | f31fd4e8e5c558da85666627db7527b05cf461a7 | [
"Apache-2.0"
] | null | null | null | from . import dao
from . import engine
from . import models
| 15 | 20 | 0.75 | 9 | 60 | 5 | 0.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 3 | 21 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d58bdfebd2c350f7ca1c1cffb0b29c48022084a | 22,379 | py | Python | test/test_span.py | amithbraj/vpp | edf1da94dc099c6e2ab1d455ce8652fada3cdb04 | [
"Apache-2.0"
] | 52 | 2016-09-20T15:08:46.000Z | 2020-12-22T23:03:25.000Z | test/test_span.py | amithbraj/vpp | edf1da94dc099c6e2ab1d455ce8652fada3cdb04 | [
"Apache-2.0"
] | 9 | 2016-09-29T12:27:58.000Z | 2020-01-09T10:35:22.000Z | test/test_span.py | amithbraj/vpp | edf1da94dc099c6e2ab1d455ce8652fada3cdb04 | [
"Apache-2.0"
] | 36 | 2016-07-21T11:20:33.000Z | 2022-01-16T15:55:45.000Z | #!/usr/bin/env python3
import unittest
from scapy.packet import Raw
from scapy.layers.l2 import Ether, Dot1Q, GRE, ERSPAN
from scapy.layers.inet import IP, UDP
from scapy.layers.vxlan import VXLAN
from framework import VppTestCase, VppTestRunner
from util import Host, ppp
from vpp_sub_interface import L2_VTR_OP, Vpp... | 38.92 | 79 | 0.654676 | 3,336 | 22,379 | 4.11211 | 0.068645 | 0.0312 | 0.0702 | 0.040895 | 0.80901 | 0.786922 | 0.781528 | 0.760825 | 0.75164 | 0.71388 | 0 | 0.032912 | 0.250547 | 22,379 | 574 | 80 | 38.987805 | 0.784999 | 0.168149 | 0 | 0.536111 | 0 | 0 | 0.012653 | 0 | 0 | 0 | 0.000652 | 0 | 0.066667 | 1 | 0.069444 | false | 0 | 0.030556 | 0.005556 | 0.116667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d9ba3a24d0af0ae673814fe54f2b76ab6ec57d2 | 170 | py | Python | doc_examples/test.py | yiyedata/simplified-scrapy-demo | 10821abfcee8c1d671f2bc7f7c1af9c2c65d8b96 | [
"Unlicense"
] | 1 | 2019-10-12T08:36:42.000Z | 2019-10-12T08:36:42.000Z | doc_examples/test.py | yiyedata/simplified-scrapy-demo | 10821abfcee8c1d671f2bc7f7c1af9c2c65d8b96 | [
"Unlicense"
] | null | null | null | doc_examples/test.py | yiyedata/simplified-scrapy-demo | 10821abfcee8c1d671f2bc7f7c1af9c2c65d8b96 | [
"Unlicense"
] | null | null | null | import element
import ends_in_s
import get_element
import get_elements
import get_relationship
import get_text
import select_element
import edit_element
import large_xml
| 17 | 23 | 0.894118 | 27 | 170 | 5.296296 | 0.481481 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 170 | 9 | 24 | 18.888889 | 0.940789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d9fd7ec01fac059369e4422aeb2d027a5b51868 | 19,718 | py | Python | tests/test_trajectory.py | JaviBecerra/movingpandas | 993c86007fc7e8eee134ae67e239d9833cda71ca | [
"BSD-3-Clause"
] | null | null | null | tests/test_trajectory.py | JaviBecerra/movingpandas | 993c86007fc7e8eee134ae67e239d9833cda71ca | [
"BSD-3-Clause"
] | null | null | null | tests/test_trajectory.py | JaviBecerra/movingpandas | 993c86007fc7e8eee134ae67e239d9833cda71ca | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
***************************************************************************
test_trajectory.py
---------------------
Date : December 2018
Copyright : (C) 2018 by Anita Graser
Email : anitagraser@gmx.at
***************************... | 48.092683 | 117 | 0.534638 | 2,696 | 19,718 | 3.791914 | 0.080861 | 0.021324 | 0.137337 | 0.141054 | 0.836545 | 0.811014 | 0.801233 | 0.787929 | 0.767094 | 0.740096 | 0 | 0.123306 | 0.274064 | 19,718 | 409 | 118 | 48.210269 | 0.59089 | 0.057663 | 0 | 0.676301 | 0 | 0.00289 | 0.076737 | 0 | 0 | 0 | 0 | 0 | 0.101156 | 1 | 0.078035 | false | 0 | 0.023121 | 0 | 0.104046 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7dce29fc7b9d6014ebf7b2864d5f88b0f9b02676 | 1,808 | py | Python | python/ql/test/experimental/library-tests/frameworks/XML/xml_dom.py | RoryPreddyGithubEnterprise/codeql | af27da1b39f5529faf4c5c6bcf01834f10d89aa9 | [
"MIT"
] | null | null | null | python/ql/test/experimental/library-tests/frameworks/XML/xml_dom.py | RoryPreddyGithubEnterprise/codeql | af27da1b39f5529faf4c5c6bcf01834f10d89aa9 | [
"MIT"
] | 4 | 2022-03-10T10:47:29.000Z | 2022-03-10T10:53:59.000Z | python/ql/test/experimental/library-tests/frameworks/XML/xml_dom.py | RoryPreddyGithubEnterprise/codeql | af27da1b39f5529faf4c5c6bcf01834f10d89aa9 | [
"MIT"
] | null | null | null | from io import StringIO
import xml.dom.minidom
import xml.dom.pulldom
import xml.sax
x = "some xml"
# minidom
xml.dom.minidom.parse(StringIO(x)) # $ input=StringIO(..) vuln='Billion Laughs' vuln='Quadratic Blowup'
xml.dom.minidom.parse(file=StringIO(x)) # $ input=StringIO(..) vuln='Billion Laughs' vuln='Quadratic Blo... | 56.5 | 150 | 0.741704 | 262 | 1,808 | 5.083969 | 0.20229 | 0.063063 | 0.153153 | 0.189189 | 0.788288 | 0.788288 | 0.761261 | 0.746246 | 0.746246 | 0.713213 | 0 | 0.002435 | 0.091261 | 1,808 | 31 | 151 | 58.322581 | 0.808278 | 0.555863 | 0 | 0 | 0 | 0 | 0.081321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.210526 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7dd3e39af7a043ebc9dcc4ccdea1c81c8babe67b | 37 | py | Python | sdc11073/sdcdevice/__init__.py | deichmab-draeger/sdc11073-1 | 2cbd4daaa32dc8a52723ecb8209f39a7d19b3c1b | [
"MIT"
] | 18 | 2020-07-19T19:38:15.000Z | 2022-03-21T11:51:04.000Z | sdc11073/sdcdevice/__init__.py | deichmab-draeger/sdc11073-1 | 2cbd4daaa32dc8a52723ecb8209f39a7d19b3c1b | [
"MIT"
] | 10 | 2020-09-25T12:00:36.000Z | 2021-11-26T10:49:29.000Z | sdc11073/sdcdevice/__init__.py | deichmab-draeger/sdc11073-1 | 2cbd4daaa32dc8a52723ecb8209f39a7d19b3c1b | [
"MIT"
] | 10 | 2020-08-31T17:44:51.000Z | 2021-07-13T12:58:18.000Z | from .sdcdeviceimpl import SdcDevice
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81466d45fdb87c97837c3221a73bcb9fc7af2862 | 38 | py | Python | iaso/gpkg/__init__.py | ekhalilbsq/iaso | e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee | [
"MIT"
] | null | null | null | iaso/gpkg/__init__.py | ekhalilbsq/iaso | e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee | [
"MIT"
] | null | null | null | iaso/gpkg/__init__.py | ekhalilbsq/iaso | e6400c52aeb4f67ce1ca83b03efa3cb11ef235ee | [
"MIT"
] | null | null | null | from .export import org_units_to_gpkg
| 19 | 37 | 0.868421 | 7 | 38 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
814e98fec783624766241c6843740884ca7349bd | 29,448 | py | Python | tests/unit/utils/test_pbm.py | ifraixedes/saltstack-salt | b54becb8b43cc9b7c00b2c0bc637ac534dc62896 | [
"Apache-2.0"
] | 9,425 | 2015-01-01T05:59:24.000Z | 2022-03-31T20:44:05.000Z | tests/unit/utils/test_pbm.py | ifraixedes/saltstack-salt | b54becb8b43cc9b7c00b2c0bc637ac534dc62896 | [
"Apache-2.0"
] | 33,507 | 2015-01-01T00:19:56.000Z | 2022-03-31T23:48:20.000Z | tests/unit/utils/test_pbm.py | ifraixedes/saltstack-salt | b54becb8b43cc9b7c00b2c0bc637ac534dc62896 | [
"Apache-2.0"
] | 5,810 | 2015-01-01T19:11:45.000Z | 2022-03-31T02:37:20.000Z | """
:codeauthor: :email:`Alexandru Bleotu <alexandru.bleotu@morganstanley.com>`
Tests functions in salt.utils.vsan
"""
# Import python libraries
import logging
import salt.utils.pbm
# Import Salt libraries
from salt.exceptions import (
VMwareApiError,
VMwareObjectRetrievalError,
VMwareRuntimeEr... | 39.687332 | 88 | 0.667312 | 3,450 | 29,448 | 5.382029 | 0.054783 | 0.090909 | 0.054502 | 0.067051 | 0.914746 | 0.884748 | 0.849903 | 0.825183 | 0.823998 | 0.815112 | 0 | 0.000719 | 0.24382 | 29,448 | 741 | 89 | 39.740891 | 0.833124 | 0.024144 | 0 | 0.6912 | 0 | 0 | 0.10331 | 0.028217 | 0 | 0 | 0 | 0 | 0.128 | 1 | 0.112 | false | 0 | 0.0112 | 0 | 0.1376 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
815bcb644361ec693d994b07ced5324ca65c5f41 | 29 | py | Python | asiandrama/watchasian/__init__.py | TheBoringDude/asiandrama.py | ee72b441b84bcadf650f227aa4fec6b9fbeb0c4e | [
"MIT"
] | null | null | null | asiandrama/watchasian/__init__.py | TheBoringDude/asiandrama.py | ee72b441b84bcadf650f227aa4fec6b9fbeb0c4e | [
"MIT"
] | null | null | null | asiandrama/watchasian/__init__.py | TheBoringDude/asiandrama.py | ee72b441b84bcadf650f227aa4fec6b9fbeb0c4e | [
"MIT"
] | null | null | null | from .base import WatchAsian
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8160397a77e182f5b53f2ed2d50b0a031a88ad5a | 133 | py | Python | aiorm/orm/__init__.py | jeremaihloo/aiorm | 687efaeed478e7484857233604e8e3fd841fe2a9 | [
"MIT"
] | null | null | null | aiorm/orm/__init__.py | jeremaihloo/aiorm | 687efaeed478e7484857233604e8e3fd841fe2a9 | [
"MIT"
] | null | null | null | aiorm/orm/__init__.py | jeremaihloo/aiorm | 687efaeed478e7484857233604e8e3fd841fe2a9 | [
"MIT"
] | null | null | null | from .contexts import *
from .fields import *
from .migrate import *
from .models import *
from .query import *
from .utils import *
| 19 | 23 | 0.729323 | 18 | 133 | 5.388889 | 0.444444 | 0.515464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180451 | 133 | 6 | 24 | 22.166667 | 0.889908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f20ebdbdbc10c02a7b89aff9374ac97b1f79aafb | 22 | py | Python | fastagram/tags/templatetags/__init__.py | dobestan/fastagram | 8c57401512d7621890a4f160d4b27c6e0d3ab326 | [
"MIT"
] | 1 | 2016-03-27T10:36:01.000Z | 2016-03-27T10:36:01.000Z | fastagram/tags/templatetags/__init__.py | dobestan/django-101-fastagram | 8c57401512d7621890a4f160d4b27c6e0d3ab326 | [
"MIT"
] | 3 | 2016-03-25T05:32:39.000Z | 2016-03-28T04:59:17.000Z | fastagram/tags/templatetags/__init__.py | dobestan/django-101-fastagram | 8c57401512d7621890a4f160d4b27c6e0d3ab326 | [
"MIT"
] | 1 | 2016-03-28T16:35:36.000Z | 2016-03-28T16:35:36.000Z | from .tagify import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1efc11a13a5325deefd69cc28cd08a63de826c76 | 45 | py | Python | govlytics/gov/__init__.py | galtay/govlytics | 45f2c2dfcb07a2af134bed7cb3ccf7f6a5ec4d0a | [
"MIT"
] | null | null | null | govlytics/gov/__init__.py | galtay/govlytics | 45f2c2dfcb07a2af134bed7cb3ccf7f6a5ec4d0a | [
"MIT"
] | null | null | null | govlytics/gov/__init__.py | galtay/govlytics | 45f2c2dfcb07a2af134bed7cb3ccf7f6a5ec4d0a | [
"MIT"
] | null | null | null | from . import data_utils, legislators, bills
| 22.5 | 44 | 0.8 | 6 | 45 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 1 | 45 | 45 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4801ac0f15644ae99e9483a80869b4078668c132 | 34 | py | Python | src/model/__init__.py | josemanuel179/practica3-python | 1580769d971ce945c304211face9cef8cf0debd0 | [
"Apache-2.0"
] | null | null | null | src/model/__init__.py | josemanuel179/practica3-python | 1580769d971ce945c304211face9cef8cf0debd0 | [
"Apache-2.0"
] | null | null | null | src/model/__init__.py | josemanuel179/practica3-python | 1580769d971ce945c304211face9cef8cf0debd0 | [
"Apache-2.0"
] | null | null | null | from .model import ModelGenerator
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
481af32ec3dd95aef67631bf9461f5198b1c5247 | 16,416 | py | Python | imcsdk/mometa/storage/StorageFlexFlashPhysicalDrive.py | vadimkuznetsov/imcsdk | ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/storage/StorageFlexFlashPhysicalDrive.py | vadimkuznetsov/imcsdk | ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/storage/StorageFlexFlashPhysicalDrive.py | vadimkuznetsov/imcsdk | ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8 | [
"Apache-2.0"
] | 1 | 2019-11-10T18:42:04.000Z | 2019-11-10T18:42:04.000Z | """This module contains the general information for StorageFlexFlashPhysicalDrive ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class StorageFlexFlashPhysicalDriveConsts:
pass
class StorageFlexFlashPhysicalDrive(Managed... | 77.070423 | 258 | 0.647173 | 1,499 | 16,416 | 6.876584 | 0.088059 | 0.108848 | 0.132324 | 0.06752 | 0.856228 | 0.856228 | 0.849534 | 0.849534 | 0.823341 | 0.823341 | 0 | 0.038005 | 0.198587 | 16,416 | 212 | 259 | 77.433962 | 0.745515 | 0.008406 | 0 | 0.356021 | 0 | 0 | 0.286364 | 0.022808 | 0 | 0 | 0.001475 | 0 | 0 | 1 | 0.005236 | false | 0.031414 | 0.015707 | 0 | 0.057592 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48659c05fd86243a94b20724831f1178ca337522 | 95,498 | py | Python | tests/scheduling/test_scheduler.py | kmantel/graph-scheduler | d077b5d8ccf18293b856b5a3c677dda4b802a3b3 | [
"Apache-2.0"
] | null | null | null | tests/scheduling/test_scheduler.py | kmantel/graph-scheduler | d077b5d8ccf18293b856b5a3c677dda4b802a3b3 | [
"Apache-2.0"
] | 49 | 2021-07-27T21:52:27.000Z | 2022-03-30T18:27:04.000Z | tests/scheduling/test_scheduler.py | kmantel/graph-scheduler | d077b5d8ccf18293b856b5a3c677dda4b802a3b3 | [
"Apache-2.0"
] | null | null | null | import fractions
import logging
import networkx as nx
import numpy as np
import psyneulink as pnl
import pytest
import types
import graph_scheduler
from graph_scheduler import Scheduler
from psyneulink import _unit_registry
from psyneulink.core.components.functions.stateful.integratorfunctions import DriftDiffusionIn... | 38.383441 | 254 | 0.602233 | 10,717 | 95,498 | 5.182607 | 0.043016 | 0.00749 | 0.035505 | 0.044651 | 0.833747 | 0.81297 | 0.79358 | 0.768301 | 0.750585 | 0.741115 | 0 | 0.017354 | 0.277723 | 95,498 | 2,487 | 255 | 38.398874 | 0.787883 | 0.03044 | 0 | 0.641692 | 0 | 0.002039 | 0.02858 | 0.001733 | 0 | 0 | 0 | 0.000402 | 0.04791 | 1 | 0.040265 | false | 0.025484 | 0.010194 | 0 | 0.056575 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4874944e0d254978da113a926088a1f5e87b71c7 | 83 | py | Python | usecase_4_calling_v2_futureproofed.py | docktermj/python-future-proofing-apis | ae8ac783a14c6f9d4050ad2545c82f96fb990a5c | [
"Apache-2.0"
] | null | null | null | usecase_4_calling_v2_futureproofed.py | docktermj/python-future-proofing-apis | ae8ac783a14c6f9d4050ad2545c82f96fb990a5c | [
"Apache-2.0"
] | null | null | null | usecase_4_calling_v2_futureproofed.py | docktermj/python-future-proofing-apis | ae8ac783a14c6f9d4050ad2545c82f96fb990a5c | [
"Apache-2.0"
] | null | null | null | from api_version_2_futureproofed import stable_api
stable_api(1)
stable_api(1, 2)
| 16.6 | 50 | 0.843373 | 15 | 83 | 4.266667 | 0.533333 | 0.421875 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0.096386 | 83 | 4 | 51 | 20.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4874fa71587bf78fd42cb1fac623dbbd5a8b7ed9 | 188 | py | Python | src/waldur_ansible/common/exceptions.py | opennode/waldur-ansible | c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9 | [
"MIT"
] | 1 | 2017-09-05T08:09:47.000Z | 2017-09-05T08:09:47.000Z | src/waldur_ansible/common/exceptions.py | opennode/waldur-ansible | c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9 | [
"MIT"
] | null | null | null | src/waldur_ansible/common/exceptions.py | opennode/waldur-ansible | c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9 | [
"MIT"
] | 3 | 2017-09-24T03:13:19.000Z | 2018-08-12T07:44:38.000Z | from waldur_core.structure.exceptions import SerializableBackendError
class AnsibleBackendError(SerializableBackendError):
pass
class LockedForProcessingError(Exception):
pass
| 18.8 | 69 | 0.840426 | 15 | 188 | 10.466667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 188 | 9 | 70 | 20.888889 | 0.945783 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
6fbfd86bcec5f8f394292ee905c372508725457e | 60 | py | Python | 25.py | jgfofl/homework | b70794195564bcc209cce19909918aa228bfcdfc | [
"MIT"
] | null | null | null | 25.py | jgfofl/homework | b70794195564bcc209cce19909918aa228bfcdfc | [
"MIT"
] | null | null | null | 25.py | jgfofl/homework | b70794195564bcc209cce19909918aa228bfcdfc | [
"MIT"
] | null | null | null | c = 21
d = 8
c = c // d
d = c * d
c = d % c
print(c, d) | 10 | 11 | 0.35 | 16 | 60 | 1.3125 | 0.3125 | 0.380952 | 0.285714 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.45 | 60 | 6 | 12 | 10 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b50f509ee4fc8f2eb48453fd75bb06af252acdf7 | 1,052 | py | Python | setup.py | CoDeRgAnEsh/1line | 507ef35b0006fc2998463dee92c2fdae53fe0694 | [
"MIT"
] | 3 | 2019-06-11T16:19:09.000Z | 2020-05-25T18:43:38.000Z | setup.py | CoDeRgAnEsh/1line | 507ef35b0006fc2998463dee92c2fdae53fe0694 | [
"MIT"
] | null | null | null | setup.py | CoDeRgAnEsh/1line | 507ef35b0006fc2998463dee92c2fdae53fe0694 | [
"MIT"
] | null | null | null | (lambda __g: (lambda __mod: [(setup(name='oruline', version='1.0.5', author='Ganesh Kumar T K', author_email='ganeshkumartk@outlook.com', maintainer='Ganesh', maintainer_email='ganeshkumartk@outlook.com', license='MIT', url='https://github.com/coderganesh/1line', description='Convert any Python file into a single line ... | 526 | 1,051 | 0.720532 | 131 | 1,052 | 5.564886 | 0.679389 | 0.078189 | 0.102881 | 0.076818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013402 | 0.077947 | 1,052 | 1 | 1,052 | 1,052 | 0.738144 | 0 | 0 | 0 | 0 | 0 | 0.571293 | 0.076996 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82f5a3c7014a6de1adfcd56bd2038662daf055fe | 49 | py | Python | test/test_plaform.py | zhude233/PaddleDetection-- | afdd185ddd87e86c408314ea2772325fb9c079bf | [
"Apache-2.0"
] | 1 | 2021-07-14T16:17:58.000Z | 2021-07-14T16:17:58.000Z | test/test_plaform.py | zhude233/base-paddle-object-tracking | afdd185ddd87e86c408314ea2772325fb9c079bf | [
"Apache-2.0"
] | null | null | null | test/test_plaform.py | zhude233/base-paddle-object-tracking | afdd185ddd87e86c408314ea2772325fb9c079bf | [
"Apache-2.0"
] | null | null | null | import platform
print(platform.uname().system) | 16.333333 | 30 | 0.77551 | 6 | 49 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 3 | 30 | 16.333333 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d20807f56d18b55e0b25c6df6fd2de8dfaca45c6 | 21,105 | py | Python | analysis/dither/dither_plot.py | desihub/desicmx | 6f7c9a3cff25c970af57de20e3a12001382deb23 | [
"BSD-3-Clause"
] | 3 | 2019-11-15T23:17:23.000Z | 2019-11-27T17:19:33.000Z | analysis/dither/dither_plot.py | desihub/desicmx | 6f7c9a3cff25c970af57de20e3a12001382deb23 | [
"BSD-3-Clause"
] | 4 | 2019-12-12T03:37:32.000Z | 2020-01-28T21:29:51.000Z | analysis/dither/dither_plot.py | desihub/desicmx | 6f7c9a3cff25c970af57de20e3a12001382deb23 | [
"BSD-3-Clause"
] | 2 | 2019-12-20T08:21:52.000Z | 2020-06-30T15:21:53.000Z | """This is the version of dither_plot.py that is tested and works by observers at Mayall.
Altered for use at Mayall by: Tanveer Karim & Dragan Huterer
Date: 18 Dec 2019"""
import csv,sys,os
import argparse
from math import sqrt
from pprint import pprint
import numpy as np
import fitsio
import matplotlib.pyplot as pl... | 46.589404 | 228 | 0.52054 | 2,548 | 21,105 | 4.11146 | 0.137363 | 0.031501 | 0.032073 | 0.047155 | 0.787323 | 0.765941 | 0.748759 | 0.741409 | 0.733486 | 0.733391 | 0 | 0.034901 | 0.327979 | 21,105 | 452 | 229 | 46.692478 | 0.70373 | 0.082492 | 0 | 0.727273 | 0 | 0 | 0.147054 | 0.038182 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017483 | false | 0 | 0.038462 | 0 | 0.062937 | 0.052448 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
736a8373de7a72454182b1e3884c2145b066905d | 7,290 | py | Python | tests/test_pytest_envvars.py | hartungstenio/pytest-envvars | d3f62c7773f426930a4e8dbe9965df6842637418 | [
"MIT"
] | 21 | 2019-05-18T14:57:37.000Z | 2021-09-23T14:37:35.000Z | tests/test_pytest_envvars.py | hartungstenio/pytest-envvars | d3f62c7773f426930a4e8dbe9965df6842637418 | [
"MIT"
] | 7 | 2019-10-28T15:04:59.000Z | 2019-11-06T23:40:39.000Z | tests/test_pytest_envvars.py | hartungstenio/pytest-envvars | d3f62c7773f426930a4e8dbe9965df6842637418 | [
"MIT"
] | 7 | 2019-10-28T14:57:40.000Z | 2021-01-19T20:34:18.000Z | from collections import Counter
from pathlib import PosixPath
from unittest import mock
from pytest_envvars import (get_fullpath_filenames,
set_randomized_env_vars_from_list)
def test_read_envvar_from_context_with_wrong_tests(
django_testdir,
default_env_file,
default_tox_ini_... | 26.801471 | 82 | 0.668724 | 843 | 7,290 | 5.341637 | 0.141163 | 0.032645 | 0.024872 | 0.039085 | 0.829225 | 0.800355 | 0.763935 | 0.745947 | 0.735732 | 0.712858 | 0 | 0.004481 | 0.234705 | 7,290 | 271 | 83 | 26.900369 | 0.802653 | 0.00727 | 0 | 0.675127 | 0 | 0 | 0.401111 | 0.156913 | 0 | 0 | 0 | 0 | 0.111675 | 1 | 0.071066 | false | 0.040609 | 0.086294 | 0.010152 | 0.172589 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
73a4044f4330fd09399a0bdff944aa6e86ef14b6 | 64 | py | Python | python_algerian_mobile_phone_number/__init__.py | mohamine18/python_algerian_mobile_phone_number | bdbb197c8ab7e6891d5f7f9be9f97552626c0864 | [
"MIT"
] | 3 | 2020-06-15T08:45:07.000Z | 2020-06-15T19:58:01.000Z | python_algerian_mobile_phone_number/__init__.py | mohamine18/python_algerian_mobile_phone_number | bdbb197c8ab7e6891d5f7f9be9f97552626c0864 | [
"MIT"
] | null | null | null | python_algerian_mobile_phone_number/__init__.py | mohamine18/python_algerian_mobile_phone_number | bdbb197c8ab7e6891d5f7f9be9f97552626c0864 | [
"MIT"
] | null | null | null | from .AlgerianMobilePhoneNumber import AlgerianMobilePhoneNumber | 64 | 64 | 0.9375 | 4 | 64 | 15 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 64 | 1 | 64 | 64 | 0.983607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbb48e0b8e00a8d510abdf75b447471b23102197 | 26 | py | Python | tests/__init__.py | mrjoes/tornadio | cae72634113139b6003d869ba3f95054c1b9513f | [
"Apache-2.0"
] | 61 | 2015-01-19T13:45:15.000Z | 2021-12-26T23:34:33.000Z | tests/__init__.py | tzuryby/tornadio | c69bd11b4fc0f94eb73bb55d59de75124b4b6e2f | [
"Apache-2.0"
] | 1 | 2018-08-10T11:16:59.000Z | 2018-08-10T11:16:59.000Z | tests/__init__.py | tzuryby/tornadio | c69bd11b4fc0f94eb73bb55d59de75124b4b6e2f | [
"Apache-2.0"
] | 19 | 2015-03-24T23:17:35.000Z | 2021-06-07T20:11:47.000Z | from .proto_test import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbe197b3bf97992e83628295255f615c356ba52f | 238 | py | Python | accelbyte_py_sdk/api/platform/operations/payment_dedicated/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/platform/operations/payment_dedicated/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/platform/operations/payment_dedicated/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | # pylint: disable=line-too-long
from .create_payment_order_by_dedicated import CreatePaymentOrderByDedicated
from .sync_payment_orders import SyncPaymentOrders
from .refund_payment_order_by_dedicated import RefundPaymentOrderByDedicated
| 39.666667 | 76 | 0.89916 | 27 | 238 | 7.555556 | 0.666667 | 0.117647 | 0.137255 | 0.22549 | 0.284314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 238 | 5 | 77 | 47.6 | 0.918919 | 0.121849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8371d2a236a317294d8bba3e6fe30fa524994d9e | 117 | py | Python | RengaScript/RengaScriptTests/TestData/LengthAndWidthParameters.py | tyan/RengaScript | daec24d537ccdec3ef917a6d978afc4c66224964 | [
"MIT"
] | 5 | 2017-11-25T12:03:25.000Z | 2020-08-03T20:13:40.000Z | RengaScript/RengaScriptTests/TestData/LengthAndWidthParameters.py | tyan/RengaScript | daec24d537ccdec3ef917a6d978afc4c66224964 | [
"MIT"
] | null | null | null | RengaScript/RengaScriptTests/TestData/LengthAndWidthParameters.py | tyan/RengaScript | daec24d537ccdec3ef917a6d978afc4c66224964 | [
"MIT"
] | null | null | null | import renga
length = renga.params.create_metric("Length", 400.0)
width = renga.params.create_metric("Width", 300.0) | 29.25 | 52 | 0.760684 | 18 | 117 | 4.833333 | 0.555556 | 0.252874 | 0.390805 | 0.528736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 0.08547 | 117 | 4 | 53 | 29.25 | 0.738318 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
83c200872a778e2b3ff3320c6e4700f8e4f065b3 | 66 | py | Python | Tools/parametric_model/src/__init__.py | ethz-asl/data-driven-dynamics | decf4bec19c9fc4a1789f5eb4d6e6003774c75d6 | [
"BSD-3-Clause"
] | 38 | 2021-12-20T22:52:25.000Z | 2022-03-15T09:45:01.000Z | Tools/parametric_model/src/__init__.py | ethz-asl/data-driven-dynamics | decf4bec19c9fc4a1789f5eb4d6e6003774c75d6 | [
"BSD-3-Clause"
] | 18 | 2021-12-21T09:36:20.000Z | 2022-03-20T13:03:27.000Z | Tools/parametric_model/src/__init__.py | ethz-asl/data-driven-dynamics | decf4bec19c9fc4a1789f5eb4d6e6003774c75d6 | [
"BSD-3-Clause"
] | 8 | 2021-12-20T22:52:34.000Z | 2022-03-30T21:13:59.000Z | from . import models
from . import tools
from . import optimizers
| 16.5 | 24 | 0.772727 | 9 | 66 | 5.666667 | 0.555556 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 25 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83cee7456cb51f79c08fff189187827d2d65af8a | 114 | py | Python | dj_migration_test/__init__.py | philsupertramp/dj-migration-test | 97ec4513b9848d96436907de7940841866895e3c | [
"MIT"
] | 4 | 2019-07-05T19:32:07.000Z | 2020-02-07T00:47:15.000Z | dj_migration_test/__init__.py | philsupertramp/dj-migration-test | 97ec4513b9848d96436907de7940841866895e3c | [
"MIT"
] | 17 | 2019-08-23T07:21:23.000Z | 2021-09-22T18:44:26.000Z | dj_migration_test/__init__.py | philsupertramp/dj-migration-test | 97ec4513b9848d96436907de7940841866895e3c | [
"MIT"
] | null | null | null | from dj_migration_test.test_clients import MigrationTestCase
from dj_migration_test.exceptions import AppNotFound
| 38 | 60 | 0.912281 | 15 | 114 | 6.6 | 0.6 | 0.121212 | 0.30303 | 0.383838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 114 | 2 | 61 | 57 | 0.933962 | 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 | 0 | 0 | 0 | 6 |
83dc9189afc242a042cc859688cc5f6f926f6089 | 14,980 | py | Python | azure-mgmt-web/azure/mgmt/web/operations/recommendations_operations.py | HydAu/AzureSDKForPython | 5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3 | [
"Apache-2.0"
] | null | null | null | azure-mgmt-web/azure/mgmt/web/operations/recommendations_operations.py | HydAu/AzureSDKForPython | 5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3 | [
"Apache-2.0"
] | null | null | null | azure-mgmt-web/azure/mgmt/web/operations/recommendations_operations.py | HydAu/AzureSDKForPython | 5cbe34e9e0b8ea1faacc9f205633ccc0b885c0f3 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft and contributors. 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 ... | 45.256798 | 148 | 0.666956 | 1,692 | 14,980 | 5.731087 | 0.137707 | 0.034031 | 0.031556 | 0.0297 | 0.78416 | 0.776735 | 0.767969 | 0.767969 | 0.760545 | 0.750438 | 0 | 0.008074 | 0.231041 | 14,980 | 330 | 149 | 45.393939 | 0.833753 | 0.324299 | 0 | 0.748344 | 0 | 0.006623 | 0.178037 | 0.090783 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033113 | false | 0 | 0.02649 | 0 | 0.119205 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83ea50e0495121154f23f9b23feeae1d4936f79d | 113 | py | Python | pytorch_widedeep/utils/__init__.py | jin530/pytorch-widedeep | 4ff1008ba6c62e64383267c924cfd3cf3cbc609c | [
"MIT"
] | null | null | null | pytorch_widedeep/utils/__init__.py | jin530/pytorch-widedeep | 4ff1008ba6c62e64383267c924cfd3cf3cbc609c | [
"MIT"
] | null | null | null | pytorch_widedeep/utils/__init__.py | jin530/pytorch-widedeep | 4ff1008ba6c62e64383267c924cfd3cf3cbc609c | [
"MIT"
] | null | null | null | from .dense_utils import *
from .text_utils import *
from .fastai_transforms import *
from .image_utils import *
| 22.6 | 32 | 0.787611 | 16 | 113 | 5.3125 | 0.5 | 0.388235 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 113 | 4 | 33 | 28.25 | 0.876289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
83f365a2c33ebfadbd0c8c4e6f03586469faf5e2 | 542 | py | Python | arl/pipelines/support.py | Song655/sdp-algorithm-reference | fc7c0da9461d5a1606ebb30ed913a44cdcd9b112 | [
"Apache-2.0"
] | null | null | null | arl/pipelines/support.py | Song655/sdp-algorithm-reference | fc7c0da9461d5a1606ebb30ed913a44cdcd9b112 | [
"Apache-2.0"
] | null | null | null | arl/pipelines/support.py | Song655/sdp-algorithm-reference | fc7c0da9461d5a1606ebb30ed913a44cdcd9b112 | [
"Apache-2.0"
] | null | null | null | """ Pipeline support functions
"""
from arl.data.parameters import get_parameter
import logging
log = logging.getLogger(__name__)
def import_pipeline_parameters(**kwargs):
""" Import parameters to pipelines
Placeholder
:param params: Dictionary containing parameters
:return:
"""
... | 15.941176 | 51 | 0.666052 | 54 | 542 | 6.518519 | 0.555556 | 0.0625 | 0.119318 | 0.176136 | 0.363636 | 0.363636 | 0.363636 | 0.363636 | 0.363636 | 0 | 0 | 0 | 0.247232 | 542 | 33 | 52 | 16.424242 | 0.862745 | 0.468635 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0 | 1 | 0.285714 | false | 0.285714 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f7d237a7bba8801351d5f031fd96fe5960480e6f | 25 | py | Python | std/__init__.py | das-g/functional-style-Python | 1469865e4218e9daffd3c890e9b891f3d612c672 | [
"WTFPL"
] | null | null | null | std/__init__.py | das-g/functional-style-Python | 1469865e4218e9daffd3c890e9b891f3d612c672 | [
"WTFPL"
] | null | null | null | std/__init__.py | das-g/functional-style-Python | 1469865e4218e9daffd3c890e9b891f3d612c672 | [
"WTFPL"
] | null | null | null | from .algorithm import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7d54ee048f98c258823861f52464788abb17929 | 219 | py | Python | profiles/apps.py | City-of-Helsinki/opencity-profile | a430b562b9937f443d391475fabdc27068b95c49 | [
"MIT"
] | null | null | null | profiles/apps.py | City-of-Helsinki/opencity-profile | a430b562b9937f443d391475fabdc27068b95c49 | [
"MIT"
] | null | null | null | profiles/apps.py | City-of-Helsinki/opencity-profile | a430b562b9937f443d391475fabdc27068b95c49 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProfilesConfig(AppConfig):
name = "profiles"
def ready(self):
import profiles.log_signals # noqa isort:skip
import profiles.signals # noqa isort:skip
| 21.9 | 54 | 0.69863 | 26 | 219 | 5.846154 | 0.653846 | 0.184211 | 0.210526 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228311 | 219 | 9 | 55 | 24.333333 | 0.899408 | 0.141553 | 0 | 0 | 0 | 0 | 0.043243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7d5c1a3e361cae5e09090548531befeb2649537 | 97 | py | Python | faq/views.py | benjaminwsebastian/gidek | e24fa3b24913cb0e21512161bb31221f4422798b | [
"MIT"
] | null | null | null | faq/views.py | benjaminwsebastian/gidek | e24fa3b24913cb0e21512161bb31221f4422798b | [
"MIT"
] | 5 | 2021-03-30T14:03:51.000Z | 2021-09-22T19:29:55.000Z | faq/views.py | benjaminwsebastian/gidek | e24fa3b24913cb0e21512161bb31221f4422798b | [
"MIT"
] | null | null | null | from django.shortcuts import render
def faq(request):
return render(request, 'faq/faq.html') | 24.25 | 42 | 0.752577 | 14 | 97 | 5.214286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 4 | 42 | 24.25 | 0.869048 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f7da8956d1c04e7f5d3828df9428ba05c349a973 | 9,433 | py | Python | egs/wsj/s5/steps/libs/nnet3/xconfig/trivial_layers.py | tearyl/tramkaldi | a4226179907f5535fc68ca0dd1fe9992dcdac2af | [
"Apache-2.0"
] | 805 | 2018-05-28T02:32:04.000Z | 2022-03-26T09:13:12.000Z | egs/wsj/s5/steps/libs/nnet3/xconfig/trivial_layers.py | tearyl/tramkaldi | a4226179907f5535fc68ca0dd1fe9992dcdac2af | [
"Apache-2.0"
] | 8 | 2017-01-05T18:00:41.000Z | 2017-11-09T19:08:02.000Z | egs/wsj/s5/steps/libs/nnet3/xconfig/trivial_layers.py | tearyl/tramkaldi | a4226179907f5535fc68ca0dd1fe9992dcdac2af | [
"Apache-2.0"
] | 267 | 2018-06-07T08:33:28.000Z | 2022-03-30T12:18:33.000Z | # Copyright 2016 Johns Hopkins University (Dan Povey)
# 2016 Vijayaditya Peddinti
# 2017 Google Inc. (vpeddinti@google.com)
# 2017 Vimal Manohar
# Apache 2.0.
""" This module contains layers that just map to a single component.
"""
from __future__ import print_function
import... | 36.847656 | 91 | 0.620799 | 1,185 | 9,433 | 4.785654 | 0.137553 | 0.032446 | 0.038794 | 0.025392 | 0.790513 | 0.782578 | 0.763886 | 0.763886 | 0.731441 | 0.731441 | 0 | 0.015472 | 0.27372 | 9,433 | 255 | 92 | 36.992157 | 0.81229 | 0.289728 | 0 | 0.790541 | 0 | 0 | 0.127471 | 0.013789 | 0 | 0 | 0 | 0 | 0.074324 | 1 | 0.189189 | false | 0.006757 | 0.033784 | 0 | 0.358108 | 0.006757 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.