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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a071fca2ebb4d48c16492a9f2ae99359d5551b05 | 20 | py | Python | bayesHMM/__init__.py | FaustineLi/bayesHMM | 06a78cae944141594810083f096e26b4b94ebf23 | [
"MIT"
] | null | null | null | bayesHMM/__init__.py | FaustineLi/bayesHMM | 06a78cae944141594810083f096e26b4b94ebf23 | [
"MIT"
] | null | null | null | bayesHMM/__init__.py | FaustineLi/bayesHMM | 06a78cae944141594810083f096e26b4b94ebf23 | [
"MIT"
] | 4 | 2019-01-16T16:18:33.000Z | 2020-06-06T07:13:17.000Z | from .hmm import HMM | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a07255aa299f905d44d90f86ac4c8c558045de3a | 408 | py | Python | src/mitol/common/utils/__init__.py | mitodl/ol-django | 16989278e528614d3e8e21d4c5adc4f55761ab98 | [
"BSD-3-Clause"
] | 1 | 2021-07-26T12:43:57.000Z | 2021-07-26T12:43:57.000Z | src/mitol/common/utils/__init__.py | mitodl/ol-django | 16989278e528614d3e8e21d4c5adc4f55761ab98 | [
"BSD-3-Clause"
] | 43 | 2020-08-28T12:16:11.000Z | 2022-02-01T19:45:41.000Z | src/mitol/common/utils/__init__.py | mitodl/ol-django | 16989278e528614d3e8e21d4c5adc4f55761ab98 | [
"BSD-3-Clause"
] | null | null | null | """ utils """
# Backward compatability
from mitol.common.utils.collections import * # noqa: F401,F403
from mitol.common.utils.currency import * # noqa: F401,F403
from mitol.common.utils.datetime import * # noqa: F401,F403
from mitol.common.utils.http_requests import * # noqa: F401,F403
from mitol.common.utils.urls ... | 45.333333 | 65 | 0.747549 | 58 | 408 | 5.241379 | 0.293103 | 0.177632 | 0.296053 | 0.394737 | 0.625 | 0.625 | 0.625 | 0.625 | 0 | 0 | 0 | 0.101695 | 0.132353 | 408 | 8 | 66 | 51 | 0.757062 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2662ff1f4aa6b1a1806a47d7ce14a8b6c67abc84 | 3,507 | py | Python | tests/api/test_event_list.py | DanielGrams/gsevp | e94034f7b64de76f38754b56455e83092378261f | [
"MIT"
] | 1 | 2021-06-01T14:49:18.000Z | 2021-06-01T14:49:18.000Z | tests/api/test_event_list.py | DanielGrams/gsevp | e94034f7b64de76f38754b56455e83092378261f | [
"MIT"
] | 286 | 2020-12-04T14:13:00.000Z | 2022-03-09T19:05:16.000Z | tests/api/test_event_list.py | DanielGrams/gsevpt | a92f71694388e227e65ed1b24446246ee688d00e | [
"MIT"
] | null | null | null | def test_read(client, app, db, seeder, utils):
_, admin_unit_id = seeder.setup_base()
event_list_id = seeder.create_event_list(admin_unit_id)
url = utils.get_url("api_v1_event_list_model", id=event_list_id)
response = utils.get_ok(url)
assert response.json["id"] == event_list_id
def test_put(clie... | 33.721154 | 81 | 0.721699 | 524 | 3,507 | 4.435115 | 0.09542 | 0.185886 | 0.099398 | 0.061532 | 0.91136 | 0.91136 | 0.907057 | 0.887263 | 0.887263 | 0.855422 | 0 | 0.004167 | 0.178785 | 3,507 | 103 | 82 | 34.048544 | 0.802778 | 0 | 0 | 0.684932 | 0 | 0 | 0.071286 | 0.053607 | 0 | 0 | 0 | 0 | 0.205479 | 1 | 0.09589 | false | 0 | 0.068493 | 0 | 0.164384 | 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 |
2693ffc30334c5f2f58f57530f97f0001663735a | 114 | py | Python | Convert-Word-to-PDF/main.py | Jeanchichi/Python | 4bbedbbd9a519feb03d0996303dec72f23f1d48d | [
"MIT"
] | null | null | null | Convert-Word-to-PDF/main.py | Jeanchichi/Python | 4bbedbbd9a519feb03d0996303dec72f23f1d48d | [
"MIT"
] | null | null | null | Convert-Word-to-PDF/main.py | Jeanchichi/Python | 4bbedbbd9a519feb03d0996303dec72f23f1d48d | [
"MIT"
] | null | null | null | from docx2pdf import convert
convert(r"C:\Users\Jeceey\Desktop\data.docx", r"C:\Users\Jeceey\Desktop\data.pdf") | 38 | 82 | 0.763158 | 19 | 114 | 4.578947 | 0.631579 | 0.045977 | 0.16092 | 0.298851 | 0.551724 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.070175 | 114 | 3 | 82 | 38 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0.575221 | 0.575221 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cd2821497fdf1b12182af90b521cde28fe38b998 | 171 | py | Python | tools/third_party/html5lib/html5lib/tests/test_optionaltags_filter.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 2,479 | 2018-05-28T14:51:29.000Z | 2022-03-30T14:41:18.000Z | tools/third_party/html5lib/html5lib/tests/test_optionaltags_filter.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 7,642 | 2018-05-28T09:38:03.000Z | 2022-03-31T20:55:48.000Z | tools/third_party/html5lib/html5lib/tests/test_optionaltags_filter.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 1,303 | 2018-05-29T14:50:02.000Z | 2022-03-30T17:30:42.000Z | from __future__ import absolute_import, division, unicode_literals
from html5lib.filters.optionaltags import Filter
def test_empty():
assert list(Filter([])) == []
| 21.375 | 66 | 0.766082 | 20 | 171 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.134503 | 171 | 7 | 67 | 24.428571 | 0.831081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd689c392a33dbce3ee43d916ea38d4c396a995c | 654 | py | Python | stubs/loboris-v3_2_24-esp32/micropython.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/loboris-v3_2_24-esp32/micropython.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/loboris-v3_2_24-esp32/micropython.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | """
Module: 'micropython' on esp32_LoBo
MCU: (sysname='esp32_LoBo', nodename='esp32_LoBo', release='3.2.24', version='ESP32_LoBo_v3.2.24 on 2018-09-06', machine='ESP32 board with ESP32')
Stubber: 1.0.0 - updated
"""
from typing import Any
def alloc_emergency_exception_buf(*args) -> Any:
pass
def const(*args) ->... | 13.914894 | 146 | 0.639144 | 100 | 654 | 4.03 | 0.49 | 0.173697 | 0.272953 | 0.312655 | 0.17866 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05973 | 0.206422 | 654 | 46 | 147 | 14.217391 | 0.716763 | 0.316514 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47619 | true | 0.47619 | 0.047619 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
cd7463af1f206c1fe9bfd6db62e12b59ff1b99b0 | 478 | py | Python | tests/test_prompt_dsl.py | wizardhead/pytti-core | 6030f6154ad7d17b93cf76e2d42905d4231a0abd | [
"MIT"
] | 35 | 2022-01-27T22:00:51.000Z | 2022-03-30T23:18:07.000Z | tests/test_prompt_dsl.py | wizardhead/pytti-core | 6030f6154ad7d17b93cf76e2d42905d4231a0abd | [
"MIT"
] | 83 | 2022-01-26T21:04:41.000Z | 2022-03-31T02:12:54.000Z | tests/test_prompt_dsl.py | wizardhead/pytti-core | 6030f6154ad7d17b93cf76e2d42905d4231a0abd | [
"MIT"
] | 13 | 2022-01-27T22:00:53.000Z | 2022-03-31T12:41:26.000Z | from pytti import parse # this is the main function we need to test
from pytti.Perceptor.Prompt import Prompt, parse_prompt
# there's some stuff at the top of parse_prompt which should probably get combined with parse()
def test_prompt_parsing():
pass
def test_weight_parsing():
pass
def test_stop_weight... | 16.482759 | 95 | 0.75523 | 73 | 478 | 4.684932 | 0.506849 | 0.122807 | 0.204678 | 0.263158 | 0.233918 | 0.233918 | 0.233918 | 0.233918 | 0.233918 | 0.233918 | 0 | 0 | 0.190377 | 478 | 28 | 96 | 17.071429 | 0.883721 | 0.282427 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
26a14ac81a03d26659bac7a6f0cb622a79636aba | 1,090 | py | Python | gym_minigrid/envs/__init__.py | pierg/wiseml-patterns | 2decf2954001296bd04261b00ae144f53359a2b8 | [
"BSD-3-Clause"
] | null | null | null | gym_minigrid/envs/__init__.py | pierg/wiseml-patterns | 2decf2954001296bd04261b00ae144f53359a2b8 | [
"BSD-3-Clause"
] | 6 | 2021-03-18T21:24:56.000Z | 2022-03-11T23:34:25.000Z | gym_minigrid/envs/__init__.py | pierg/wiseml-patterns | 2decf2954001296bd04261b00ae144f53359a2b8 | [
"BSD-3-Clause"
] | null | null | null | from gym_minigrid.envs.empty import *
from gym_minigrid.envs.doorkey import *
from gym_minigrid.envs.multiroom import *
from gym_minigrid.envs.fetch import *
from gym_minigrid.envs.gotoobject import *
from gym_minigrid.envs.gotodoor import *
from gym_minigrid.envs.putnear import *
from gym_minigrid.envs.lockedroom impo... | 38.928571 | 45 | 0.83211 | 160 | 1,090 | 5.48125 | 0.20625 | 0.207526 | 0.444698 | 0.563284 | 0.729761 | 0.102623 | 0 | 0 | 0 | 0 | 0 | 0.006091 | 0.09633 | 1,090 | 27 | 46 | 40.37037 | 0.884264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26a3860ea8ee7e7d1fc0328903d7c7e627ee45c8 | 102 | py | Python | vendor-local/lib/python/twython/__init__.py | RAMilewski/airmozilla | 70d52295294fd319e60b046bf75baf971cd00f98 | [
"BSD-3-Clause"
] | 1 | 2021-11-01T19:36:18.000Z | 2021-11-01T19:36:18.000Z | twython/__init__.py | mgrouchy/twython | 1d724328383f4dc16aa957fb0089ac0057bb0d74 | [
"MIT"
] | 4 | 2021-03-19T15:38:56.000Z | 2021-09-08T02:47:16.000Z | twython/__init__.py | mgrouchy/twython | 1d724328383f4dc16aa957fb0089ac0057bb0d74 | [
"MIT"
] | 1 | 2021-11-01T19:36:08.000Z | 2021-11-01T19:36:08.000Z | from twython import Twython
from twython import TwythonError, TwythonRateLimitError, TwythonAuthError
| 34 | 73 | 0.882353 | 10 | 102 | 9 | 0.6 | 0.244444 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 102 | 2 | 74 | 51 | 0.978261 | 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 |
26dcf95a236590061715999a96b64baeda53c5fa | 6,592 | py | Python | ultron/sentry/Math/Accumulators/__init__.py | wangjiehui11235/ultron | ade46fdcff7eaf01187cdf9b9fb1d6a04ae972b7 | [
"Apache-2.0"
] | 4 | 2019-06-06T09:38:49.000Z | 2022-01-29T00:02:11.000Z | ultron/sentry/Math/Accumulators/__init__.py | wangjiehui11235/ultron | ade46fdcff7eaf01187cdf9b9fb1d6a04ae972b7 | [
"Apache-2.0"
] | 1 | 2022-02-11T03:43:10.000Z | 2022-02-11T03:43:10.000Z | ultron/sentry/Math/Accumulators/__init__.py | wangjiehui11235/ultron | ade46fdcff7eaf01187cdf9b9fb1d6a04ae972b7 | [
"Apache-2.0"
] | 8 | 2019-06-02T13:11:00.000Z | 2021-11-11T01:06:22.000Z | # -*- coding: utf-8 -*-
from ultron.sentry.Math.Accumulators.IAccumulators import Exp
from ultron.sentry.Math.Accumulators.IAccumulators import Log
from ultron.sentry.Math.Accumulators.IAccumulators import Sqrt
from ultron.sentry.Math.Accumulators.IAccumulators import Sign
from ultron.sentry.Math.Accumulators.IAccumul... | 48.116788 | 96 | 0.773513 | 603 | 6,592 | 8.44942 | 0.129353 | 0.131501 | 0.210402 | 0.263003 | 0.743474 | 0.743474 | 0.743474 | 0.09107 | 0.09107 | 0.09107 | 0 | 0.00018 | 0.155492 | 6,592 | 136 | 97 | 48.470588 | 0.915035 | 0.003186 | 0 | 0.046154 | 0 | 0 | 0.098797 | 0.029076 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.515385 | 0 | 0.515385 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f80e83310f20ab32281af3d0ec98a562096c82ff | 156 | py | Python | sk_typing/convert/__init__.py | thomasjpfan/sk_typing | e6aacfedbce44d7748cf7c49cd2b949952f2e427 | [
"MIT"
] | 1 | 2021-02-19T20:57:36.000Z | 2021-02-19T20:57:36.000Z | sk_typing/convert/__init__.py | thomasjpfan/sk_typing | e6aacfedbce44d7748cf7c49cd2b949952f2e427 | [
"MIT"
] | null | null | null | sk_typing/convert/__init__.py | thomasjpfan/sk_typing | e6aacfedbce44d7748cf7c49cd2b949952f2e427 | [
"MIT"
] | null | null | null | from ._d3m import convert_hyperparam_to_d3m
from ._d3m import convert_attribute_to_d3m
__all__ = ["convert_hyperparam_to_d3m", "convert_attribute_to_d3m"]
| 31.2 | 67 | 0.852564 | 23 | 156 | 5 | 0.347826 | 0.173913 | 0.226087 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041958 | 0.083333 | 156 | 4 | 68 | 39 | 0.762238 | 0 | 0 | 0 | 0 | 0 | 0.314103 | 0.314103 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
f81202720b882a4babc77e46b7c8613b452e9c61 | 80,333 | py | Python | tests/test_backend.py | kadeng/tensorflow-onnx | db91f5b25cc2a053f46af3b2c04b65a679cff03b | [
"MIT"
] | null | null | null | tests/test_backend.py | kadeng/tensorflow-onnx | db91f5b25cc2a053f46af3b2c04b65a679cff03b | [
"MIT"
] | null | null | null | tests/test_backend.py | kadeng/tensorflow-onnx | db91f5b25cc2a053f46af3b2c04b65a679cff03b | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license.
"""Unit tests using onnx backends."""
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import unittest
from itertools import product
from distutils.version import... | 47.005851 | 118 | 0.598733 | 12,032 | 80,333 | 3.740442 | 0.047623 | 0.028886 | 0.038862 | 0.052661 | 0.850083 | 0.833952 | 0.810199 | 0.792579 | 0.775447 | 0.760827 | 0 | 0.067186 | 0.2372 | 80,333 | 1,708 | 119 | 47.033372 | 0.667254 | 0.024162 | 0 | 0.567773 | 0 | 0 | 0.035543 | 0.001034 | 0 | 0 | 0 | 0.000585 | 0.001383 | 1 | 0.104426 | false | 0.000692 | 0.007607 | 0.001383 | 0.117566 | 0.000692 | 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 |
f8410f0e9ec93cb76b93faf72ff6496d47aff8a5 | 85 | py | Python | tests/test_example.py | wraithy/gource-summary | 33f6946f7a19d7b26f9291a72816557dad37882a | [
"MIT"
] | null | null | null | tests/test_example.py | wraithy/gource-summary | 33f6946f7a19d7b26f9291a72816557dad37882a | [
"MIT"
] | null | null | null | tests/test_example.py | wraithy/gource-summary | 33f6946f7a19d7b26f9291a72816557dad37882a | [
"MIT"
] | null | null | null | from .context import remote_gource # nopep8
def test_example():
assert 1 == 2
| 14.166667 | 44 | 0.694118 | 12 | 85 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.223529 | 85 | 5 | 45 | 17 | 0.818182 | 0.070588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
f841ae07a43efb3ffb376453a164f817fa1fe653 | 37 | py | Python | gym_dino/envs/sprites/__init__.py | Rochan-A/gym-dino | 6e15d7934f1828bc795bad3f0f4f9df543ecb2ac | [
"MIT"
] | 3 | 2019-06-24T13:56:07.000Z | 2021-05-29T01:04:12.000Z | gym_dino/envs/sprites/__init__.py | Rochan-A/gym-dino | 6e15d7934f1828bc795bad3f0f4f9df543ecb2ac | [
"MIT"
] | 1 | 2021-05-29T01:04:03.000Z | 2021-05-29T03:14:04.000Z | gym_dino/envs/sprites/__init__.py | Rochan-A/gym-dino | 6e15d7934f1828bc795bad3f0f4f9df543ecb2ac | [
"MIT"
] | null | null | null | from .sprite_path import sprite_path
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 | 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 |
f84ba5782be7f72f4ca3bfdf6681618d14738073 | 43 | py | Python | rlchemy/lib/envs/wrap/__init__.py | Ending2015a/rlchemy | 42b1ed3d5654dd28cffd99de0db62584356228d4 | [
"MIT"
] | null | null | null | rlchemy/lib/envs/wrap/__init__.py | Ending2015a/rlchemy | 42b1ed3d5654dd28cffd99de0db62584356228d4 | [
"MIT"
] | null | null | null | rlchemy/lib/envs/wrap/__init__.py | Ending2015a/rlchemy | 42b1ed3d5654dd28cffd99de0db62584356228d4 | [
"MIT"
] | null | null | null | from .atari import *
from .common import * | 21.5 | 21 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.885714 | 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 |
e4205d4edd5efe0951b71e773356c4b25a022877 | 6,899 | py | Python | function.py | GoVed/squeezingGraphs | a8296cc54e53178449afa6ea38d1116ad6c18c7e | [
"MIT"
] | null | null | null | function.py | GoVed/squeezingGraphs | a8296cc54e53178449afa6ea38d1116ad6c18c7e | [
"MIT"
] | null | null | null | function.py | GoVed/squeezingGraphs | a8296cc54e53178449afa6ea38d1116ad6c18c7e | [
"MIT"
] | null | null | null | def solve(eqn='',val=1,showsteps=1):
while eqn.find('(')!=-1:
i=0
flag=0
while i<len(eqn):
if eqn[i:i+1]=='(':
flag=i
if eqn[i:i+1]==')':
eqn=eqn[0:flag]+solve(eqn[flag+1:i],val,showsteps)+eqn[i+1:len(eqn)]... | 37.699454 | 248 | 0.32425 | 1,089 | 6,899 | 2.054178 | 0.038567 | 0.117121 | 0.125168 | 0.139473 | 0.859633 | 0.828789 | 0.823424 | 0.810013 | 0.810013 | 0.78945 | 0 | 0.057766 | 0.435425 | 6,899 | 183 | 249 | 37.699454 | 0.51656 | 0.007102 | 0 | 0.695122 | 0 | 0 | 0.022496 | 0 | 0.030488 | 0 | 0 | 0 | 0 | 1 | 0.006098 | false | 0 | 0 | 0 | 0.012195 | 0.030488 | 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 |
e472418623d1db9e83800f546c0a50b62f7fcb31 | 26 | py | Python | terrascript/dme/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/dme/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/dme/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | """2017-11-28 18:07:20"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4915a921b70079ca110524f78cac3c855578647 | 156 | py | Python | run_app.py | acc-cosc-1336/cosc-1336-spring-2018-Carol-COSC1336 | 3a990135b5b885926d47d46ab2cc94f5d19982c6 | [
"MIT"
] | null | null | null | run_app.py | acc-cosc-1336/cosc-1336-spring-2018-Carol-COSC1336 | 3a990135b5b885926d47d46ab2cc94f5d19982c6 | [
"MIT"
] | 3 | 2018-03-07T00:16:34.000Z | 2018-05-18T17:27:45.000Z | run_app.py | acc-cosc-1336/cosc-1336-spring-2018-Carol-COSC1336 | 3a990135b5b885926d47d46ab2cc94f5d19982c6 | [
"MIT"
] | 3 | 2018-01-26T00:24:18.000Z | 2018-04-26T00:40:17.000Z | from src.homework.homework9.main import Main
#running this file will run the code in homework9.main.py file without the need to modify
#code in that file
| 26 | 89 | 0.794872 | 28 | 156 | 4.428571 | 0.714286 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.160256 | 156 | 5 | 90 | 31.2 | 0.931298 | 0.673077 | 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 |
e4a907807bcc97597db22e6b4396b9ea549bb2c6 | 39 | py | Python | workon/signals/__init__.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/signals/__init__.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/signals/__init__.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | from ..contrib.auth.signals import *
| 9.75 | 36 | 0.717949 | 5 | 39 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 3 | 37 | 13 | 0.848485 | 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 |
e4ac928ba55c934c7ce257568375e05cd89feebe | 1,772 | py | Python | xain/benchmark/net/orig_2nn_test.py | skade/xain | 4d9a84b64d98dd4229968755110c60e1c0fd51f7 | [
"Apache-2.0"
] | 1 | 2020-05-30T20:34:19.000Z | 2020-05-30T20:34:19.000Z | xain/benchmark/net/orig_2nn_test.py | danieljanes/ox-msc-diss-code-freeze | 20c6881cabdf1e3ed7a9ddb40bbdcc7a7fd22f78 | [
"Apache-2.0"
] | null | null | null | xain/benchmark/net/orig_2nn_test.py | danieljanes/ox-msc-diss-code-freeze | 20c6881cabdf1e3ed7a9ddb40bbdcc7a7fd22f78 | [
"Apache-2.0"
] | null | null | null | import random
import numpy as np
import pytest
import tensorflow as tf
from .orig_2nn import orig_2nn_compiled
@pytest.mark.slow
def test_num_parameters():
# Prepare
model = orig_2nn_compiled()
# Execute
num_params = model.count_params()
# Assert
assert num_params == 199_210
@pytest.mark.s... | 26.058824 | 83 | 0.672686 | 289 | 1,772 | 3.83045 | 0.231834 | 0.044264 | 0.081301 | 0.072267 | 0.819332 | 0.800361 | 0.755194 | 0.755194 | 0.755194 | 0.755194 | 0 | 0.035379 | 0.218397 | 1,772 | 67 | 84 | 26.447761 | 0.763899 | 0.138826 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.071429 | false | 0 | 0.119048 | 0 | 0.190476 | 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 |
e4c67c680e61034b421f42f5ca59056dcee925b3 | 20 | py | Python | combo/blm/lik/_src/__init__.py | zhangkunliang/BayesOptimization | 6d78c9e9f96239b0dbb85650a0d878e9410158ec | [
"MIT"
] | 139 | 2016-02-18T02:31:04.000Z | 2022-02-18T10:38:06.000Z | combo/blm/lik/_src/__init__.py | zhangkunliang/BayesOptimization | 6d78c9e9f96239b0dbb85650a0d878e9410158ec | [
"MIT"
] | 8 | 2016-04-18T08:10:44.000Z | 2020-12-30T08:49:33.000Z | combo/blm/lik/_src/__init__.py | zhangkunliang/BayesOptimization | 6d78c9e9f96239b0dbb85650a0d878e9410158ec | [
"MIT"
] | 50 | 2016-05-21T01:17:23.000Z | 2022-02-18T01:27:41.000Z | from cov import cov
| 10 | 19 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 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 |
5f783957dbaca4b6bcbcdd9b0f55c59da097e6ba | 27 | py | Python | src/greetings/hello-carlos.py | drmcghee/ef-01-git | 7f5188d2a4a88e4ebf44ab3b98dd8e705fd747d0 | [
"MIT"
] | null | null | null | src/greetings/hello-carlos.py | drmcghee/ef-01-git | 7f5188d2a4a88e4ebf44ab3b98dd8e705fd747d0 | [
"MIT"
] | null | null | null | src/greetings/hello-carlos.py | drmcghee/ef-01-git | 7f5188d2a4a88e4ebf44ab3b98dd8e705fd747d0 | [
"MIT"
] | null | null | null | print("You were not first") | 27 | 27 | 0.740741 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 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 |
5fad4484b9d7e27ec92088bc90b3f525351425e2 | 21 | py | Python | example_project/some_modules/third_modules/a129.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a129.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a129.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A129:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
39621356018b63fb332bdd527367575acf468796 | 67 | py | Python | wagtail_modeladmin_sortable/forms.py | stanlazarov/wagtail-modeladmin-sortable | daacc904fb53c12b6fa9d127d3edf7d8e970ce5d | [
"MIT"
] | null | null | null | wagtail_modeladmin_sortable/forms.py | stanlazarov/wagtail-modeladmin-sortable | daacc904fb53c12b6fa9d127d3edf7d8e970ce5d | [
"MIT"
] | null | null | null | wagtail_modeladmin_sortable/forms.py | stanlazarov/wagtail-modeladmin-sortable | daacc904fb53c12b6fa9d127d3edf7d8e970ce5d | [
"MIT"
] | null | null | null | from django import forms
class SortingForm(forms.Form):
pass
| 11.166667 | 30 | 0.746269 | 9 | 67 | 5.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 5 | 31 | 13.4 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3998296a2cc3ad5f161cbfa58bdf1fb388e350ba | 166 | py | Python | os/remove_file_python.py | pydeveloper510/Python | 2e3cf5f9d132fbc6dd8c41a96166b6e879d86e0d | [
"MIT"
] | 3 | 2021-04-23T08:04:14.000Z | 2021-05-08T01:24:08.000Z | os/remove_file_python.py | pydeveloper510/Python | 2e3cf5f9d132fbc6dd8c41a96166b6e879d86e0d | [
"MIT"
] | null | null | null | os/remove_file_python.py | pydeveloper510/Python | 2e3cf5f9d132fbc6dd8c41a96166b6e879d86e0d | [
"MIT"
] | 1 | 2021-05-08T01:24:46.000Z | 2021-05-08T01:24:46.000Z | import shutil
shutil.move(r'E:\26_Data_Collection\code\1.pdf', r'E:/26_Data_Collection/2018.12/07_en.twwtn.com/科技财经/拼多多市值跻身中美互联网20强 纳入纳斯达克中美互联网老虎指数(2018-12-24).pdf') | 55.333333 | 151 | 0.807229 | 30 | 166 | 4.3 | 0.7 | 0.031008 | 0.062016 | 0.124031 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.03012 | 166 | 3 | 151 | 55.333333 | 0.658385 | 0 | 0 | 0 | 0 | 0.5 | 0.778443 | 0.772455 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
39a22ef80f6c3ea34deff3ee0979c016bc61ef04 | 939 | py | Python | tests/ml/training/test_config_parsing.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2021-05-04T08:46:19.000Z | 2021-05-04T08:46:19.000Z | tests/ml/training/test_config_parsing.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | null | null | null | tests/ml/training/test_config_parsing.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2022-01-28T21:21:32.000Z | 2022-01-28T21:21:32.000Z | from app.ml.training.config_parsing import parse_config_for_response, parse_config_for_training
from tests.stubs.models.schemas.training_config import get_training_config_in_response_stub_5_1, get_training_config_in_train_stub_5_1
from tests.stubs.models.domain.ml_model import get_training_config_stub_5_1
import pytest... | 40.826087 | 134 | 0.872204 | 145 | 939 | 5.068966 | 0.193103 | 0.361905 | 0.217687 | 0.163265 | 0.680272 | 0.582313 | 0.429932 | 0.429932 | 0.266667 | 0.163265 | 0 | 0.013809 | 0.074547 | 939 | 22 | 135 | 42.681818 | 0.831991 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.294118 | false | 0 | 0.235294 | 0.176471 | 0.705882 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
39ab81e7cf5a83e91bef721dd2d93119f265b0df | 77 | py | Python | example/bpapi/preprocess.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | null | null | null | example/bpapi/preprocess.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | 48 | 2020-12-19T13:47:26.000Z | 2021-01-07T22:27:56.000Z | example/bpapi/preprocess.py | rog-works/lambda-fw | 715b36fc2d8d0ea0388aa4ac1336dc8cd5543778 | [
"CNRI-Python"
] | null | null | null | import os
import sys
sys.path.append(f'{os.getcwd()}/example/bpapi/vendor')
| 15.4 | 54 | 0.74026 | 13 | 77 | 4.384615 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 77 | 4 | 55 | 19.25 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 0.441558 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39e65762b3fba2c0c72200708280d7d9d51a734b | 32 | py | Python | emrap/actions/__init__.py | aayla-secura/eMRaP | 418d3895b4695e02321841f7817f7b14e5242876 | [
"MIT"
] | null | null | null | emrap/actions/__init__.py | aayla-secura/eMRaP | 418d3895b4695e02321841f7817f7b14e5242876 | [
"MIT"
] | null | null | null | emrap/actions/__init__.py | aayla-secura/eMRaP | 418d3895b4695e02321841f7817f7b14e5242876 | [
"MIT"
] | null | null | null | from .http import HttpAutomator
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
8425c553f0c683b67d14eae86de0b5199da26d7f | 46 | py | Python | morgana/ImageTools/segmentation/__init__.py | Nikoula86/organoidSegment | b5d00256c15302ccd76b8b7a412852750476504b | [
"MIT"
] | 8 | 2021-09-08T10:49:53.000Z | 2022-02-25T13:28:03.000Z | morgana/ImageTools/segmentation/__init__.py | Nikoula86/organoidSegment | b5d00256c15302ccd76b8b7a412852750476504b | [
"MIT"
] | null | null | null | morgana/ImageTools/segmentation/__init__.py | Nikoula86/organoidSegment | b5d00256c15302ccd76b8b7a412852750476504b | [
"MIT"
] | 1 | 2021-11-24T08:10:41.000Z | 2021-11-24T08:10:41.000Z | import morgana.ImageTools.segmentation.segment | 46 | 46 | 0.913043 | 5 | 46 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 46 | 1 | 46 | 46 | 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 |
8436a769c7c957c3eaa389ee6b551f5434f7193f | 2,763 | py | Python | transform_nets.py | mgriffin1994/CS395T-FinalProject | e551de668624ade4bbb175ffb359294abbe59c13 | [
"MIT"
] | null | null | null | transform_nets.py | mgriffin1994/CS395T-FinalProject | e551de668624ade4bbb175ffb359294abbe59c13 | [
"MIT"
] | null | null | null | transform_nets.py | mgriffin1994/CS395T-FinalProject | e551de668624ade4bbb175ffb359294abbe59c13 | [
"MIT"
] | 1 | 2019-02-25T21:21:54.000Z | 2019-02-25T21:21:54.000Z | import torch
import torch.nn as nn
import torch.nn.init as init
import torch.nn.functional as F
class InputTransformNet(nn.Module):
def __init__(self):
super(InputTransformNet, self).__init__()
self.relu = nn.ReLU()
self.conv1 = nn.Conv1d(3, 64, 1)
self.bn1 = nn.BatchNorm1d(64)
... | 34.5375 | 60 | 0.538907 | 425 | 2,763 | 3.437647 | 0.141176 | 0.021903 | 0.061602 | 0.08898 | 0.809035 | 0.809035 | 0.752909 | 0.752909 | 0.752909 | 0.752909 | 0 | 0.128218 | 0.283026 | 2,763 | 80 | 61 | 34.5375 | 0.609288 | 0.072385 | 0 | 0.686567 | 0 | 0 | 0.0032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059701 | false | 0 | 0.059701 | 0 | 0.179104 | 0.014925 | 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 |
080423737306a16e2acdb7cbf962761bbff10fe9 | 20 | py | Python | libs/past/nxpy/core/past/__init__.py | nmusatti/nxpy | 68568e71ee3c3ecb0b467cb8d25d76eb03c81205 | [
"BSL-1.0"
] | 5 | 2019-08-16T09:48:35.000Z | 2021-03-23T09:56:44.000Z | libs/past/nxpy/core/past/__init__.py | nmusatti/nxpy | 68568e71ee3c3ecb0b467cb8d25d76eb03c81205 | [
"BSL-1.0"
] | 1 | 2019-01-17T14:11:56.000Z | 2019-01-18T17:56:35.000Z | libs/past/nxpy/core/past/__init__.py | nmusatti/nxpy | 68568e71ee3c3ecb0b467cb8d25d76eb03c81205 | [
"BSL-1.0"
] | 2 | 2019-02-09T17:57:00.000Z | 2019-08-30T08:06:01.000Z | from .past import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 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 |
085406272c7a196cefbcc371935921bed3e9289a | 72 | py | Python | Python/Topics/Regexp sets and ranges/Hexadecimal/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 5 | 2020-08-29T15:15:31.000Z | 2022-03-01T18:22:34.000Z | Python/Topics/Regexp sets and ranges/Hexadecimal/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | null | null | null | Python/Topics/Regexp sets and ranges/Hexadecimal/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 1 | 2020-12-02T11:13:14.000Z | 2020-12-02T11:13:14.000Z | import re
# define regex template
template = '[A-Fa-f0-9][A-Fa-f0-9]?'
| 14.4 | 36 | 0.652778 | 14 | 72 | 3.357143 | 0.642857 | 0.12766 | 0.212766 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.138889 | 72 | 4 | 37 | 18 | 0.693548 | 0.291667 | 0 | 0 | 0 | 0 | 0.469388 | 0.469388 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f23d7420fa5d7f21d35fd1a90d90cff236a7e1f0 | 928 | py | Python | Functions/MASSLOOKER.py | niteappantest/test-follower-insta | bad4a0c2f4ee1e1d70acdc9a9bccbac722152d9f | [
"Apache-2.0"
] | 1 | 2021-05-25T14:49:15.000Z | 2021-05-25T14:49:15.000Z | Functions/MASSLOOKER.py | niteappantest/test-follower-insta | bad4a0c2f4ee1e1d70acdc9a9bccbac722152d9f | [
"Apache-2.0"
] | null | null | null | Functions/MASSLOOKER.py | niteappantest/test-follower-insta | bad4a0c2f4ee1e1d70acdc9a9bccbac722152d9f | [
"Apache-2.0"
] | null | null | null | [[red]]
888888888888 88888888 8888888 8888888
88 88 88 88 88 88 88
88 88 88 88888888 8888888 8888888
88 88 88 88 88 88 88
88 88 88 88 8888888 8888888
88 8888888
88 88888888 88888888... | 46.4 | 97 | 0.421336 | 100 | 928 | 4.91 | 0.25 | 0.358452 | 0.439919 | 0.505092 | 0.439919 | 0.439919 | 0.439919 | 0.344196 | 0.315682 | 0.315682 | 0 | 0.498099 | 0.43319 | 928 | 20 | 98 | 46.4 | 0.245247 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2ab0cc45bb6a3686a9049c64e4933f573a0f06f | 136 | py | Python | jmm/utilities/file_information/__init__.py | zqmillet/japanese_media_manager | 7f7c9ba9f48e67c5f68f80b6fe09675aded05858 | [
"MIT"
] | null | null | null | jmm/utilities/file_information/__init__.py | zqmillet/japanese_media_manager | 7f7c9ba9f48e67c5f68f80b6fe09675aded05858 | [
"MIT"
] | null | null | null | jmm/utilities/file_information/__init__.py | zqmillet/japanese_media_manager | 7f7c9ba9f48e67c5f68f80b6fe09675aded05858 | [
"MIT"
] | null | null | null | from .file_information import FileInformation
from .file_information import SubtitleType
__all__ = ['FileInformation', 'SubtitleType']
| 27.2 | 45 | 0.830882 | 13 | 136 | 8.230769 | 0.538462 | 0.149533 | 0.35514 | 0.46729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095588 | 136 | 4 | 46 | 34 | 0.869919 | 0 | 0 | 0 | 0 | 0 | 0.198529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
4b4f72142b73fe1c426774dc4f3a5e1142671eaf | 1,943 | py | Python | tests/2019/test_19_tractor_beam.py | wimglenn/advent-of-code-wim | 6308c3fa5d29b318680419f877fd5b8ac1359b5d | [
"WTFPL"
] | 20 | 2019-10-15T07:33:13.000Z | 2022-01-19T13:40:36.000Z | tests/2019/test_19_tractor_beam.py | wimglenn/advent-of-code-wim | 6308c3fa5d29b318680419f877fd5b8ac1359b5d | [
"WTFPL"
] | 5 | 2019-02-01T23:31:27.000Z | 2021-12-03T06:55:58.000Z | tests/2019/test_19_tractor_beam.py | wimglenn/advent-of-code-wim | 6308c3fa5d29b318680419f877fd5b8ac1359b5d | [
"WTFPL"
] | 8 | 2019-12-03T15:41:23.000Z | 2021-12-06T17:13:57.000Z | from aoc_wim.zgrid import zrange
from aoc_wim.zgrid import ZGrid
from aoc_wim.aoc2019 import q19
minibeam = """\
#.......................................
.#......................................
..##....................................
...###..................................
....###.................................
... | 33.5 | 66 | 0.211529 | 87 | 1,943 | 4.62069 | 0.436782 | 0.447761 | 0.597015 | 0.696517 | 0.353234 | 0.248756 | 0.248756 | 0.248756 | 0.248756 | 0 | 0 | 0.016183 | 0.077715 | 1,943 | 57 | 67 | 34.087719 | 0.208147 | 0 | 0 | 0.117647 | 0 | 0 | 0.741637 | 0.720535 | 0 | 0 | 0 | 0 | 0.039216 | 1 | 0.039216 | false | 0 | 0.058824 | 0 | 0.098039 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4b715ad07111621cec5eba32be428388a0246963 | 1,619 | py | Python | src/genie/libs/parser/iosxr/tests/ShowRSVPGracefulrestartNeighborsDetail/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxr/tests/ShowRSVPGracefulrestartNeighborsDetail/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxr/tests/ShowRSVPGracefulrestartNeighborsDetail/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"rsvp_neighbor_information": {
"neighbor": {
"106.106.106.106": {
"source": "17.17.17.17",
"protocol": "MPLS",
"recovery_state": "DONE",
"interface_neighbors": {
"number_of_interface": 1,
... | 35.977778 | 54 | 0.426189 | 130 | 1,619 | 4.992308 | 0.330769 | 0.03698 | 0.03698 | 0.03698 | 0.875193 | 0.875193 | 0.875193 | 0.875193 | 0.875193 | 0.875193 | 0 | 0.077691 | 0.443484 | 1,619 | 44 | 55 | 36.795455 | 0.642619 | 0 | 0 | 0.681818 | 0 | 0 | 0.419395 | 0.046325 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
4b861458c523b57e2f6cb99042f354889f62651f | 26 | py | Python | pydobot/__init__.py | tlack/pydobot | a259314246df1808f11722271dcca8cac594ff28 | [
"MIT"
] | 3 | 2020-09-08T16:06:51.000Z | 2020-12-16T06:00:29.000Z | pydobot/__init__.py | tlack/pydobot | a259314246df1808f11722271dcca8cac594ff28 | [
"MIT"
] | null | null | null | pydobot/__init__.py | tlack/pydobot | a259314246df1808f11722271dcca8cac594ff28 | [
"MIT"
] | 1 | 2020-11-05T13:03:20.000Z | 2020-11-05T13:03:20.000Z | from .dobot import Dobot
| 8.666667 | 24 | 0.769231 | 4 | 26 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4bbaaed9f2ac6c82070d28113f41fd1e9bc2ace9 | 141 | py | Python | ashe/op_str.py | Ailln/ashe | ce9eb3626841aef059792c721d1bd7c07b93193f | [
"MIT"
] | null | null | null | ashe/op_str.py | Ailln/ashe | ce9eb3626841aef059792c721d1bd7c07b93193f | [
"MIT"
] | null | null | null | ashe/op_str.py | Ailln/ashe | ce9eb3626841aef059792c721d1bd7c07b93193f | [
"MIT"
] | null | null | null | import re
from typing import List
def find(inputs: str, squence: str) -> List:
return [r.span() for r in re.finditer(inputs, squence)]
| 20.142857 | 59 | 0.695035 | 23 | 141 | 4.26087 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184397 | 141 | 6 | 60 | 23.5 | 0.852174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 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 |
29dc86a5ce1ba54df6f99a81aeb9c9073aef1cea | 29,658 | py | Python | model/__init__.py | AbdelrhmanBassiouny/Pretrained-IPT | 6a549f1e3b1abbbdcb944af6d1f2585e9dfffba7 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | AbdelrhmanBassiouny/Pretrained-IPT | 6a549f1e3b1abbbdcb944af6d1f2585e9dfffba7 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | AbdelrhmanBassiouny/Pretrained-IPT | 6a549f1e3b1abbbdcb944af6d1f2585e9dfffba7 | [
"Apache-2.0"
] | null | null | null | # 2021.05.07-Changed for IPT
# Huawei Technologies Co., Ltd. <foss@huawei.com>
import os
from importlib import import_module
import torch
import torch.nn as nn
import torch.nn.parallel as P
import torch.utils.model_zoo
class Model(nn.Module):
def __init__(self, args, ckp):
super(Model, self)._... | 48.540098 | 257 | 0.597309 | 4,608 | 29,658 | 3.574436 | 0.041016 | 0.04347 | 0.048631 | 0.064598 | 0.840508 | 0.831036 | 0.817801 | 0.797766 | 0.780705 | 0.750896 | 0 | 0.016458 | 0.241958 | 29,658 | 610 | 258 | 48.619672 | 0.716173 | 0.048419 | 0 | 0.4025 | 0 | 0 | 0.007839 | 0 | 0 | 0 | 0 | 0 | 0.01 | 1 | 0.0325 | false | 0 | 0.0175 | 0 | 0.0825 | 0.0075 | 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 |
d9ce35fe41bab258d9d913fb0c4ab7ad39a229ee | 8,139 | py | Python | aws_lambda_powertools/utilities/validation/validator.py | ekmixon/aws-lambda-powertools-python | 505891d23c4bdfbdcecbb93e7060d39ec6eb0725 | [
"MIT-0"
] | 1 | 2021-08-17T01:36:34.000Z | 2021-08-17T01:36:34.000Z | aws_lambda_powertools/utilities/validation/validator.py | ekmixon/aws-lambda-powertools-python | 505891d23c4bdfbdcecbb93e7060d39ec6eb0725 | [
"MIT-0"
] | null | null | null | aws_lambda_powertools/utilities/validation/validator.py | ekmixon/aws-lambda-powertools-python | 505891d23c4bdfbdcecbb93e7060d39ec6eb0725 | [
"MIT-0"
] | null | null | null | import logging
from typing import Any, Callable, Dict, Optional, Union
from ...middleware_factory import lambda_handler_decorator
from ...shared import jmespath_utils
from .base import validate_data_against_schema
logger = logging.getLogger(__name__)
@lambda_handler_decorator
def validator(
handler: Callable,
... | 35.854626 | 153 | 0.711267 | 924 | 8,139 | 6.121212 | 0.140693 | 0.037129 | 0.034653 | 0.052864 | 0.817362 | 0.788366 | 0.770332 | 0.737801 | 0.707214 | 0.679455 | 0 | 0.004259 | 0.221157 | 8,139 | 226 | 154 | 36.013274 | 0.887995 | 0.73928 | 0 | 0.190476 | 0 | 0 | 0.030378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.119048 | 0 | 0.190476 | 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 |
d9d337ef00b716ecbc4a72818d16f2b206ad7e6a | 70 | py | Python | dpgs_sandbox/app_main/models.py | ktowen/django-pgschemas | 5487c82d7a44297e12b80ef899a9aee0b6879bc5 | [
"MIT"
] | 85 | 2019-01-03T02:22:03.000Z | 2022-03-09T23:15:56.000Z | dpgs_sandbox/app_main/models.py | ktowen/django-pgschemas | 5487c82d7a44297e12b80ef899a9aee0b6879bc5 | [
"MIT"
] | 52 | 2019-02-12T21:04:43.000Z | 2022-03-05T15:20:16.000Z | dpgs_sandbox/app_main/models.py | ktowen/django-pgschemas | 5487c82d7a44297e12b80ef899a9aee0b6879bc5 | [
"MIT"
] | 12 | 2019-01-31T02:36:06.000Z | 2021-06-15T22:06:12.000Z | from django.db import models
class MainData(models.Model):
pass
| 11.666667 | 29 | 0.742857 | 10 | 70 | 5.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 5 | 30 | 14 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d9d86b9b979bc64130482abebf8aaef526783af4 | 46 | py | Python | Py3DViewer/geometry/__init__.py | alexus98/py3DViewer | 693d39db8956530aa89cea5bbf271d9b6a92bd79 | [
"MIT"
] | null | null | null | Py3DViewer/geometry/__init__.py | alexus98/py3DViewer | 693d39db8956530aa89cea5bbf271d9b6a92bd79 | [
"MIT"
] | null | null | null | Py3DViewer/geometry/__init__.py | alexus98/py3DViewer | 693d39db8956530aa89cea5bbf271d9b6a92bd79 | [
"MIT"
] | null | null | null | from .SpaceObject import *
from .AABB import * | 23 | 26 | 0.76087 | 6 | 46 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 27 | 23 | 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 |
d9ff146a4123c1a8cbf451068e0ea40b16e7fa68 | 29 | py | Python | tests/test-checkpoint1.py | mrzv/saturn | e89e01c8cfb2bf9980f4e3117a3d4b498305dc59 | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/test-checkpoint1.py | mrzv/saturn | e89e01c8cfb2bf9980f4e3117a3d4b498305dc59 | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/test-checkpoint1.py | mrzv/saturn | e89e01c8cfb2bf9980f4e3117a3d4b498305dc59 | [
"BSD-3-Clause-LBNL"
] | null | null | null | a = 5
#chk>
print(a)
#o> 5
| 4.142857 | 8 | 0.448276 | 7 | 29 | 1.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.310345 | 29 | 6 | 9 | 4.833333 | 0.55 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8a2a7933ee44a531d00e56aa508f720917acaad1 | 28 | py | Python | extra/__init__.py | mweinberger/scmigrator | 915ce2f858d4cf60ceee69376b612fb313334e90 | [
"BSD-3-Clause"
] | 1 | 2015-10-12T00:00:46.000Z | 2015-10-12T00:00:46.000Z | extra/__init__.py | mweinberger/scmigrator | 915ce2f858d4cf60ceee69376b612fb313334e90 | [
"BSD-3-Clause"
] | null | null | null | extra/__init__.py | mweinberger/scmigrator | 915ce2f858d4cf60ceee69376b612fb313334e90 | [
"BSD-3-Clause"
] | null | null | null | import connect
import items
| 9.333333 | 14 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 2 | 15 | 14 | 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 |
8a4b70a87302479aee1a3db7cea6ec38e0444bf6 | 24 | py | Python | lltk/corpus/jstor_dfr/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 5 | 2021-03-15T21:05:06.000Z | 2022-03-04T10:52:16.000Z | lltk/corpus/jstor_dfr/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 1 | 2021-05-04T17:01:47.000Z | 2021-05-10T15:14:55.000Z | lltk/corpus/jstor_dfr/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | null | null | null | from .jstor_dfr import * | 24 | 24 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.857143 | 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 |
8a4cc02310614d3a1d22be93f997508bcf2db138 | 129,626 | py | Python | pygs/test/unit_test.py | spike/graphserver | 30b5a367c30ba37a6cd9a5d76ff2ad86a8586eb8 | [
"BSD-3-Clause-Clear"
] | 1 | 2016-05-09T12:44:26.000Z | 2016-05-09T12:44:26.000Z | pygs/test/unit_test.py | spike/graphserver | 30b5a367c30ba37a6cd9a5d76ff2ad86a8586eb8 | [
"BSD-3-Clause-Clear"
] | null | null | null | pygs/test/unit_test.py | spike/graphserver | 30b5a367c30ba37a6cd9a5d76ff2ad86a8586eb8 | [
"BSD-3-Clause-Clear"
] | null | null | null | import sys, os
sys.path = [os.path.dirname(os.path.abspath(__file__)) + "/.."] + sys.path
from graphserver.core import *
from graphserver.engine import Engine
from graphserver import util
import time
import unittest
import pickle
import os
def get_mem_usage():
"""returns percentage and vsz mem usage of this scrip... | 38.740586 | 1,661 | 0.55124 | 16,288 | 129,626 | 4.254113 | 0.065693 | 0.021691 | 0.011517 | 0.01143 | 0.800869 | 0.754831 | 0.701982 | 0.668889 | 0.647429 | 0.615159 | 0 | 0.170388 | 0.301436 | 129,626 | 3,345 | 1,662 | 38.752167 | 0.594818 | 0.012297 | 0 | 0.63709 | 0 | 0.003197 | 0.153026 | 0.008771 | 0 | 0 | 0 | 0 | 0.348921 | 0 | null | null | 0.003597 | 0.004796 | null | null | 0.007194 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a70f450f12e0b6bb59baee1f37855bef615f0ab | 52 | py | Python | chemreader/__init__.py | thomasly/chemreader | 409508d3145413b99066324c4f9334735f68cff4 | [
"MIT"
] | 1 | 2020-04-24T04:24:11.000Z | 2020-04-24T04:24:11.000Z | chemreader/__init__.py | thomasly/chemreader | 409508d3145413b99066324c4f9334735f68cff4 | [
"MIT"
] | null | null | null | chemreader/__init__.py | thomasly/chemreader | 409508d3145413b99066324c4f9334735f68cff4 | [
"MIT"
] | 1 | 2020-04-24T04:24:15.000Z | 2020-04-24T04:24:15.000Z | import chemreader.readers
import chemreader.writers
| 17.333333 | 25 | 0.884615 | 6 | 52 | 7.666667 | 0.666667 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 2 | 26 | 26 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a79e9d037e9b6d7cdcc0ba1cd1d961612dd10df | 139 | py | Python | accounts/models.py | adrian-kalinin/webshop | 9bbc339e627d79e65a7738fdd2b1bbc4df00260b | [
"MIT"
] | null | null | null | accounts/models.py | adrian-kalinin/webshop | 9bbc339e627d79e65a7738fdd2b1bbc4df00260b | [
"MIT"
] | null | null | null | accounts/models.py | adrian-kalinin/webshop | 9bbc339e627d79e65a7738fdd2b1bbc4df00260b | [
"MIT"
] | null | null | null | from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
# Custom user model for further modifications
pass
| 19.857143 | 51 | 0.776978 | 17 | 139 | 6.352941 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172662 | 139 | 6 | 52 | 23.166667 | 0.93913 | 0.309353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8a8473abf31764799d2c98b88b8c732d2e65be57 | 37,874 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/43.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/43.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/43.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3117
passenger_arriving = (
(2, 7, 9, 5, 0, 0, 5, 10, 6, 4, 1, 0), # 0
(2, 8, 7, 5, 5, 0, 8, 6, 6, 6, 0, 0), # 1
(5, 3, 9, 5, 1, 0, 10, 5, 6, 5, 1, 0), # 2
(4, 5, 7, 5, 3, 0, 8, 5, 5, 3, 0, 0), # 3
(2, 13, 4, 1, 2, 0, 5, 10, 2, 7, 3, 0), # 4
(3, 11, 9, 4, 3, 0, 7, 6, 4, ... | 113.056716 | 212 | 0.728996 | 5,147 | 37,874 | 5.362153 | 0.227317 | 0.313055 | 0.247835 | 0.469582 | 0.330157 | 0.328997 | 0.328563 | 0.328055 | 0.328055 | 0.328055 | 0 | 0.818945 | 0.119185 | 37,874 | 334 | 213 | 113.39521 | 0.008363 | 0.031974 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a87ae47bba8716ebb95c90157bd4aff83bc8b48 | 32 | py | Python | uvicore/auth/__init__.py | coboyoshi/uvicore | 9cfdeeac83000b156fe48f068b4658edaf51c8de | [
"MIT"
] | null | null | null | uvicore/auth/__init__.py | coboyoshi/uvicore | 9cfdeeac83000b156fe48f068b4658edaf51c8de | [
"MIT"
] | null | null | null | uvicore/auth/__init__.py | coboyoshi/uvicore | 9cfdeeac83000b156fe48f068b4658edaf51c8de | [
"MIT"
] | null | null | null | from .user_info import UserInfo
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
8ab8112446858ba248d71f1cadb24c5c7ed56062 | 25,399 | py | Python | python_modules/dagster/dagster_tests/core_tests/config_types_tests/evaluator_tests/test_config_mappings.py | vatervonacht/dagster | 595d78c883ef20618052ac1575fe46cde51fd541 | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster_tests/core_tests/config_types_tests/evaluator_tests/test_config_mappings.py | vatervonacht/dagster | 595d78c883ef20618052ac1575fe46cde51fd541 | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster_tests/core_tests/config_types_tests/evaluator_tests/test_config_mappings.py | vatervonacht/dagster | 595d78c883ef20618052ac1575fe46cde51fd541 | [
"Apache-2.0"
] | null | null | null | import pytest
from dagster import (
DagsterConfigMappingFunctionError,
DagsterInvalidConfigError,
DagsterInvalidDefinitionError,
Field,
InputDefinition,
Int,
Output,
String,
composite_solid,
execute_pipeline,
lambda_solid,
pipeline,
solid,
)
# have to use "pipe" so... | 32.604621 | 100 | 0.562069 | 2,640 | 25,399 | 5.093939 | 0.066288 | 0.053986 | 0.029447 | 0.037478 | 0.835217 | 0.797368 | 0.776472 | 0.741895 | 0.727543 | 0.696684 | 0 | 0.004395 | 0.310248 | 25,399 | 778 | 101 | 32.64653 | 0.763228 | 0.017717 | 0 | 0.534884 | 0 | 0 | 0.231266 | 0.037731 | 0 | 0 | 0 | 0 | 0.088372 | 1 | 0.105426 | false | 0.003101 | 0.003101 | 0.062016 | 0.175194 | 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 |
8ab92dd96e9e35f747039989a985a9a3b4d5b8f0 | 192 | py | Python | blackpearl/things/software/__init__.py | offmessage/blackpearl | ffbba460fe7fc7fe4d7e3466f5ff13ea0c081fc5 | [
"MIT"
] | null | null | null | blackpearl/things/software/__init__.py | offmessage/blackpearl | ffbba460fe7fc7fe4d7e3466f5ff13ea0c081fc5 | [
"MIT"
] | null | null | null | blackpearl/things/software/__init__.py | offmessage/blackpearl | ffbba460fe7fc7fe4d7e3466f5ff13ea0c081fc5 | [
"MIT"
] | null | null | null | from .timers import Clock
from .timers import Countdown
from .timers import Stopwatch
from .waves import Sawtooth
from .waves import Sine
from .waves import Square
from .waves import Triangle
| 24 | 29 | 0.817708 | 28 | 192 | 5.607143 | 0.392857 | 0.229299 | 0.382166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 192 | 7 | 30 | 27.428571 | 0.957317 | 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 |
8ad0d4cdaa78c35afa47f49f0d6985492ee86dc5 | 576 | py | Python | CorrelationFunction/__init__.py | jzw0025/Kyber | ce2069da469095e6a086f7bbf9cd980f10563b22 | [
"Unlicense"
] | 3 | 2017-02-20T18:18:27.000Z | 2021-07-31T17:00:56.000Z | CorrelationFunction/__init__.py | jzw0025/Kyber | ce2069da469095e6a086f7bbf9cd980f10563b22 | [
"Unlicense"
] | null | null | null | CorrelationFunction/__init__.py | jzw0025/Kyber | ce2069da469095e6a086f7bbf9cd980f10563b22 | [
"Unlicense"
] | 1 | 2016-12-16T17:51:32.000Z | 2016-12-16T17:51:32.000Z | # -*- coding: utf-8 -*-
#from CorrelationFunction import CorriFuc_optimization
#from CorrelationFunction import CorriFuc
#from CorrelationFunction import CorriFuc_Tiff
#from CorriFuc_optimization import Correlation
from CorriFuc import Correlation
from Node import Node
from CorrelationMethods import DCC
from Correlati... | 33.882353 | 54 | 0.866319 | 61 | 576 | 8.131148 | 0.327869 | 0.310484 | 0.395161 | 0.22379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001946 | 0.107639 | 576 | 16 | 55 | 36 | 0.963035 | 0.404514 | 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 |
0a10179f4ce629a2e60afb5eafa3840147f6682d | 178 | py | Python | hw/maksim_ptitski/test_lesson4_hw.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 9 | 2021-12-10T21:30:07.000Z | 2022-02-25T21:32:34.000Z | hw/maksim_ptitski/test_lesson4_hw.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 22 | 2021-12-11T08:46:58.000Z | 2022-02-02T15:56:37.000Z | hw/maksim_ptitski/test_lesson4_hw.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 8 | 2021-12-11T09:15:45.000Z | 2022-02-02T08:09:09.000Z | from hw.maksim_ptitski.lesson4_hw import aggression
def test_example() -> None:
assert aggression(True) == "Оно и видно"
assert aggression(False) == "А могли бы знать"
| 25.428571 | 51 | 0.719101 | 25 | 178 | 5 | 0.84 | 0.256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.174157 | 178 | 6 | 52 | 29.666667 | 0.843537 | 0 | 0 | 0 | 0 | 0 | 0.151685 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a846f1aca7033138d93a9262a7f8b645cf2b77d | 23,870 | py | Python | tests/cc_wallet/test_cc_wallet.py | thomashuber/chia-blockchain | fd080917fec4038cf6a0f1c2ba8a2cd63a002c32 | [
"Apache-2.0"
] | null | null | null | tests/cc_wallet/test_cc_wallet.py | thomashuber/chia-blockchain | fd080917fec4038cf6a0f1c2ba8a2cd63a002c32 | [
"Apache-2.0"
] | null | null | null | tests/cc_wallet/test_cc_wallet.py | thomashuber/chia-blockchain | fd080917fec4038cf6a0f1c2ba8a2cd63a002c32 | [
"Apache-2.0"
] | 1 | 2022-01-26T11:57:29.000Z | 2022-01-26T11:57:29.000Z | import asyncio
import time
from pathlib import Path
from secrets import token_bytes
import pytest
from src.protocols import full_node_protocol
from src.simulator.simulator_protocol import FarmNewBlockProtocol, ReorgProtocol
from src.types.peer_info import PeerInfo
from src.util.ints import uint16, uint32, uint64
from... | 37.590551 | 97 | 0.681818 | 3,302 | 23,870 | 4.548455 | 0.05421 | 0.053799 | 0.041547 | 0.05007 | 0.901192 | 0.893135 | 0.869033 | 0.846927 | 0.823024 | 0.814302 | 0 | 0.035963 | 0.241642 | 23,870 | 634 | 98 | 37.649842 | 0.793724 | 0 | 0 | 0.658898 | 0 | 0 | 0.012778 | 0.005404 | 0 | 0 | 0 | 0 | 0.192797 | 1 | 0.002119 | false | 0 | 0.033898 | 0 | 0.040254 | 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 |
6aa9c602fa6362e1ee92f04f97d98bc9a9d72b6f | 11,955 | py | Python | src/datadog/azext_datadog/generated/_params.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 2 | 2021-06-05T17:51:26.000Z | 2021-11-17T11:17:56.000Z | src/datadog/azext_datadog/generated/_params.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 3 | 2020-05-27T20:16:26.000Z | 2020-07-23T19:46:49.000Z | src/datadog/azext_datadog/generated/_params.py | Mannan2812/azure-cli-extensions | e2b34efe23795f6db9c59100534a40f0813c3d95 | [
"MIT"
] | 5 | 2020-05-09T17:47:09.000Z | 2020-10-01T19:52:06.000Z | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 64.621622 | 120 | 0.677039 | 1,546 | 11,955 | 5.034282 | 0.115136 | 0.08904 | 0.098291 | 0.057818 | 0.831684 | 0.812026 | 0.780547 | 0.769755 | 0.762174 | 0.762174 | 0 | 0.000523 | 0.200586 | 11,955 | 184 | 121 | 64.972826 | 0.813854 | 0.042325 | 0 | 0.608108 | 0 | 0 | 0.43062 | 0.028854 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006757 | false | 0.006757 | 0.02027 | 0 | 0.027027 | 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 |
6aca01d33670429053c42445bf6aad83b42540f7 | 42 | py | Python | spikeforest_widgets/widgets/TimeseriesView/__init__.py | michaeljohnclancy/spikeforest2 | 93bdde2c570aef9426b3d7bceb69f3605c9f005a | [
"Apache-2.0"
] | 26 | 2020-02-03T02:12:20.000Z | 2022-03-25T09:14:32.000Z | spikeforest_widgets/widgets/TimeseriesView/__init__.py | michaeljohnclancy/spikeforest2 | 93bdde2c570aef9426b3d7bceb69f3605c9f005a | [
"Apache-2.0"
] | 27 | 2020-01-10T12:35:55.000Z | 2021-08-01T23:13:52.000Z | spikeforest_widgets/widgets/TimeseriesView/__init__.py | michaeljohnclancy/spikeforest2 | 93bdde2c570aef9426b3d7bceb69f3605c9f005a | [
"Apache-2.0"
] | 11 | 2019-02-15T15:21:47.000Z | 2021-09-23T01:07:24.000Z | from .TimeseriesView import TimeseriesView | 42 | 42 | 0.904762 | 4 | 42 | 9.5 | 0.75 | 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 |
0a8e403e9b0d71dca8a0a9514dfd24358eb2d2b8 | 33,156 | py | Python | tests/unit/test_job_rest_validator.py | neuro-inc/platform-api | da3df2262eb38b76323f9c76596772820d523ee4 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_job_rest_validator.py | neuro-inc/platform-api | da3df2262eb38b76323f9c76596772820d523ee4 | [
"Apache-2.0"
] | 69 | 2021-11-12T13:11:58.000Z | 2022-03-31T03:20:02.000Z | tests/unit/test_job_rest_validator.py | neuro-inc/platform-api | da3df2262eb38b76323f9c76596772820d523ee4 | [
"Apache-2.0"
] | 1 | 2022-03-10T04:25:58.000Z | 2022-03-10T04:25:58.000Z | from datetime import datetime, timezone
import pytest
import trafaret as t
from platform_api.handlers.jobs_handler import create_job_response_validator
from platform_api.handlers.validators import (
JOB_NAME_MAX_LENGTH,
USER_NAME_MAX_LENGTH,
create_base_owner_name_validator,
create_job_name_validator,... | 34.718325 | 88 | 0.50196 | 3,094 | 33,156 | 5.158694 | 0.080155 | 0.048869 | 0.04511 | 0.034083 | 0.870309 | 0.843494 | 0.819811 | 0.812167 | 0.786166 | 0.762734 | 0 | 0.013039 | 0.361564 | 33,156 | 954 | 89 | 34.754717 | 0.740977 | 0.003287 | 0 | 0.654018 | 0 | 0 | 0.252119 | 0.057338 | 0 | 0 | 0 | 0 | 0.045759 | 1 | 0.050223 | false | 0.012277 | 0.00558 | 0 | 0.063616 | 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 |
0a954418fa9e4a3a77137d0ff4c6636fb11bf81c | 102 | py | Python | utils/utils.py | KleinYuan/tf-tailor | 70e85643a49ad4484ef856c22a0de2ae8a5a00e9 | [
"MIT"
] | 16 | 2018-12-25T16:38:08.000Z | 2020-07-21T05:13:16.000Z | utils/utils.py | KleinYuan/tf-tailor | 70e85643a49ad4484ef856c22a0de2ae8a5a00e9 | [
"MIT"
] | null | null | null | utils/utils.py | KleinYuan/tf-tailor | 70e85643a49ad4484ef856c22a0de2ae8a5a00e9 | [
"MIT"
] | 1 | 2020-05-04T01:35:10.000Z | 2020-05-04T01:35:10.000Z | import yaml
from box import Box
def load_config(fp):
return Box(yaml.load(open(fp, 'r').read())) | 17 | 47 | 0.686275 | 18 | 102 | 3.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 6 | 47 | 17 | 0.802326 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0abd9ebb8963d1d26d35435f5e38de798a1df5df | 800 | py | Python | tests/fixtures/sequences.py | ecolell/amphipathic | b7d6057a12804994e50126d48992cad5ac7684fe | [
"MIT"
] | 3 | 2015-11-06T04:02:35.000Z | 2022-02-23T02:52:53.000Z | tests/fixtures/sequences.py | ecolell/amphipathic | b7d6057a12804994e50126d48992cad5ac7684fe | [
"MIT"
] | 6 | 2019-02-19T15:31:55.000Z | 2022-02-24T02:33:27.000Z | tests/fixtures/sequences.py | ecolell/amphipathic | b7d6057a12804994e50126d48992cad5ac7684fe | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture(name="sequence0")
def fixture_sequence_0():
return 'NLYIQWLXDGGPSSGRPPPS'
@pytest.fixture(name="sequence1")
def fixture_sequence_1():
return 'NLYIQWLKDGGPSSGRPPPS'
@pytest.fixture(name="sequence2")
def fixture_sequence_2():
return 'MALPVTALLLPLALLLHAARPSQFRVSPLDRTWNLGETVEL... | 32 | 78 | 0.80875 | 46 | 800 | 13.891304 | 0.5 | 0.081377 | 0.106416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011315 | 0.11625 | 800 | 24 | 79 | 33.333333 | 0.892504 | 0 | 0 | 0 | 0 | 0 | 0.57375 | 0.47875 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | true | 0 | 0.058824 | 0.235294 | 0.529412 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0abfe992658bd2105b74e062cb1d3acb9323f223 | 77 | py | Python | ir_attachment_s3/models/__init__.py | ShaheenHossain/itpp-labs-misc-addons13 | bf62dc5bc1abdc18d78e9560a286babbe1d0e082 | [
"MIT"
] | null | null | null | ir_attachment_s3/models/__init__.py | ShaheenHossain/itpp-labs-misc-addons13 | bf62dc5bc1abdc18d78e9560a286babbe1d0e082 | [
"MIT"
] | null | null | null | ir_attachment_s3/models/__init__.py | ShaheenHossain/itpp-labs-misc-addons13 | bf62dc5bc1abdc18d78e9560a286babbe1d0e082 | [
"MIT"
] | 3 | 2020-08-25T01:57:59.000Z | 2021-09-11T15:38:02.000Z | # -*- coding: utf-8 -*-
from . import ir_attachment
from . import res_config
| 19.25 | 27 | 0.688312 | 11 | 77 | 4.636364 | 0.818182 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.168831 | 77 | 3 | 28 | 25.666667 | 0.78125 | 0.272727 | 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 |
0ac18ddadb82b86b72e9ad9e5e98c2d40071765c | 6,700 | py | Python | tests/unit/test_application.py | jack-w-shaw/python-libjuju | 8c938c91f729bf86aeb25d1b27e47735f81e88d9 | [
"Apache-2.0"
] | 50 | 2016-11-01T18:19:24.000Z | 2022-03-17T08:29:57.000Z | tests/unit/test_application.py | jack-w-shaw/python-libjuju | 8c938c91f729bf86aeb25d1b27e47735f81e88d9 | [
"Apache-2.0"
] | 577 | 2016-11-16T19:46:34.000Z | 2022-03-30T20:08:33.000Z | tests/unit/test_application.py | jack-w-shaw/python-libjuju | 8c938c91f729bf86aeb25d1b27e47735f81e88d9 | [
"Apache-2.0"
] | 74 | 2016-11-01T14:34:16.000Z | 2022-03-17T19:31:44.000Z | import mock
import asynctest
import asyncio
from juju.model import Model
from juju.application import (Application, ExposedEndpoint)
from juju.errors import JujuError
class TestExposeApplication(asynctest.TestCase):
@asynctest.patch("juju.model.Model.connection")
async def test_expose_with_exposed_endpoints_... | 40.361446 | 79 | 0.623731 | 784 | 6,700 | 5.126276 | 0.155612 | 0.017915 | 0.018661 | 0.013934 | 0.825081 | 0.811147 | 0.801941 | 0.794974 | 0.780791 | 0.715103 | 0 | 0.016815 | 0.263284 | 6,700 | 165 | 80 | 40.606061 | 0.797407 | 0.150448 | 0 | 0.689076 | 0 | 0 | 0.111425 | 0.023801 | 0 | 0 | 0 | 0 | 0.084034 | 1 | 0 | false | 0 | 0.05042 | 0 | 0.067227 | 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 |
7c6d3ab434b01a1de48df6ba45006de450a359b0 | 255 | py | Python | dyu_tm_workshop/lib/python3.8/site-packages/opencc/__init__.py | TLYu0419/DYU_TextMining | 57ea373f08ae9ecd0785926cb03dff168ca1631b | [
"MIT"
] | null | null | null | dyu_tm_workshop/lib/python3.8/site-packages/opencc/__init__.py | TLYu0419/DYU_TextMining | 57ea373f08ae9ecd0785926cb03dff168ca1631b | [
"MIT"
] | null | null | null | dyu_tm_workshop/lib/python3.8/site-packages/opencc/__init__.py | TLYu0419/DYU_TextMining | 57ea373f08ae9ecd0785926cb03dff168ca1631b | [
"MIT"
] | null | null | null | ##########################################################
# Author: Yichen Huang (Eugene)
# GitHub: https://github.com/yichen0831/opencc-python
# January, 2016
##########################################################
from .opencc import OpenCC
| 31.875 | 59 | 0.384314 | 17 | 255 | 5.764706 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.098039 | 255 | 7 | 60 | 36.428571 | 0.391304 | 0.372549 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b26070daeebe16b9240b60bd2fe5e848dcd6807 | 30 | py | Python | goods/tasks.py | Beomi/irkshop | c109a62216cb6550add64fbf402883debc5011d1 | [
"Apache-2.0"
] | 19 | 2016-11-06T10:28:14.000Z | 2020-11-01T02:04:51.000Z | goods/tasks.py | Beomi/irkshop | c109a62216cb6550add64fbf402883debc5011d1 | [
"Apache-2.0"
] | 17 | 2016-10-19T11:58:48.000Z | 2022-01-13T00:32:34.000Z | goods/tasks.py | Beomi/irkshop | c109a62216cb6550add64fbf402883debc5011d1 | [
"Apache-2.0"
] | 4 | 2016-11-06T10:54:26.000Z | 2019-08-31T16:08:56.000Z | from irkshop.celery import app | 30 | 30 | 0.866667 | 5 | 30 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b3c13c3b6d4664fb23541093ab7bad3fed9a35a | 425 | py | Python | platform/core/polyaxon/notifier/events/experiment.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/notifier/events/experiment.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/notifier/events/experiment.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | import notifier
from events.registry import experiment
# notifier.subscribe_event(experiment.ExperimentNewStatusEvent)
# notifier.subscribe_event(experiment.ExperimentNewMetricEvent)
# notifier.subscribe_event(experiment.ExperimentDoneEvent)
notifier.subscribe_event(experiment.ExperimentStoppedEvent)
notifier.subscri... | 38.636364 | 63 | 0.894118 | 37 | 425 | 10.108108 | 0.378378 | 0.272727 | 0.352941 | 0.513369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 425 | 10 | 64 | 42.5 | 0.916667 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 6 |
8611ddb4fd91870629f70eca47834bb06816c9c6 | 144 | py | Python | url_shortener/shortener/models.py | dogukanteber/url-shortener | baa1cdf85964e3e5bf9ff4760f9cbf4530b18b83 | [
"Unlicense"
] | null | null | null | url_shortener/shortener/models.py | dogukanteber/url-shortener | baa1cdf85964e3e5bf9ff4760f9cbf4530b18b83 | [
"Unlicense"
] | null | null | null | url_shortener/shortener/models.py | dogukanteber/url-shortener | baa1cdf85964e3e5bf9ff4760f9cbf4530b18b83 | [
"Unlicense"
] | null | null | null | from django.db import models
class Url(models.Model):
link = models.CharField(max_length=10000)
uuid = models.CharField(max_length=10)
| 24 | 45 | 0.75 | 21 | 144 | 5.047619 | 0.714286 | 0.283019 | 0.339623 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056911 | 0.145833 | 144 | 5 | 46 | 28.8 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
862fcf71c6d7a065ee61b5114c08de53c2bd903d | 145 | py | Python | rq_worker/settings.py | dsvalenciah/web-audio-comparator | 251523aa68e537a84c5b826f1ca5ec0cc5e3c6e1 | [
"MIT"
] | null | null | null | rq_worker/settings.py | dsvalenciah/web-audio-comparator | 251523aa68e537a84c5b826f1ca5ec0cc5e3c6e1 | [
"MIT"
] | 6 | 2019-02-02T22:58:39.000Z | 2019-02-16T17:53:05.000Z | rq_worker/settings.py | dsvalenciah/web-audio-comparator | 251523aa68e537a84c5b826f1ca5ec0cc5e3c6e1 | [
"MIT"
] | null | null | null | import os
REDIS_HOST = os.environ.get('REDIS_HOST')
REDIS_PORT = os.environ.get('REDIS_PORT')
REDIS_PASSWORD = os.environ.get('REDIS_PASSWORD')
| 24.166667 | 49 | 0.772414 | 23 | 145 | 4.608696 | 0.347826 | 0.254717 | 0.339623 | 0.481132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 5 | 50 | 29 | 0.796992 | 0 | 0 | 0 | 0 | 0 | 0.234483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
866fde49e20174fe250d299347e2c111ca83d391 | 37 | py | Python | python_starter_project/__init__.py | sven9/clouded | ac316e646451f5256c5e50d47392e1155b07effb | [
"MIT"
] | null | null | null | python_starter_project/__init__.py | sven9/clouded | ac316e646451f5256c5e50d47392e1155b07effb | [
"MIT"
] | null | null | null | python_starter_project/__init__.py | sven9/clouded | ac316e646451f5256c5e50d47392e1155b07effb | [
"MIT"
] | null | null | null | def module_exists():
return True
| 12.333333 | 20 | 0.702703 | 5 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 2 | 21 | 18.5 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
86960428c37574638a25625d09fbfc908bd61e6e | 21,827 | py | Python | components/nghttp/nghttp2/mkhufftbl.py | ghsecuritylab/esp_alexa_idf | e132e8b960af6d576ce2fca4f6b2994be2f42e56 | [
"Apache-2.0"
] | 43 | 2019-12-03T19:48:53.000Z | 2021-09-05T05:34:53.000Z | components/nghttp/nghttp2/mkhufftbl.py | ghsecuritylab/esp_alexa_idf | e132e8b960af6d576ce2fca4f6b2994be2f42e56 | [
"Apache-2.0"
] | 59 | 2019-12-04T00:06:45.000Z | 2022-03-30T20:04:03.000Z | components/nghttp/nghttp2/mkhufftbl.py | ghsecuritylab/esp_alexa_idf | e132e8b960af6d576ce2fca4f6b2994be2f42e56 | [
"Apache-2.0"
] | 20 | 2019-11-29T14:51:04.000Z | 2021-07-10T22:11:16.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This script reads Huffman Code table [1] and generates symbol table
# and decoding tables in C language. The resulting code is used in
# lib/nghttp2_hd_huffman.h and lib/nghttp2_hd_huffman_data.c
#
# [1] http://http2.github.io/http2-spec/compression.html
from __future_... | 48.289823 | 72 | 0.453109 | 2,172 | 21,827 | 4.478821 | 0.344383 | 0.273026 | 0.046875 | 0.007401 | 0.066509 | 0.044408 | 0.025802 | 0.009868 | 0.009868 | 0 | 0 | 0.500563 | 0.430613 | 21,827 | 451 | 73 | 48.396896 | 0.282185 | 0.015348 | 0 | 0.072816 | 1 | 0 | 0.814691 | 0.215426 | 0 | 0 | 0 | 0 | 0.004854 | 0 | null | null | 0 | 0.009709 | null | null | 0.046117 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86fa796d74af0f265b723ae563eb1380b641e64a | 22,733 | py | Python | kits/python/dev/tests/test_game_map.py | ppinchuk/Lux-Design-2021 | 8a04ad48c6749cafc9aca986f14e75daaa31c789 | [
"Apache-2.0"
] | null | null | null | kits/python/dev/tests/test_game_map.py | ppinchuk/Lux-Design-2021 | 8a04ad48c6749cafc9aca986f14e75daaa31c789 | [
"Apache-2.0"
] | null | null | null | kits/python/dev/tests/test_game_map.py | ppinchuk/Lux-Design-2021 | 8a04ad48c6749cafc9aca986f14e75daaa31c789 | [
"Apache-2.0"
] | null | null | null | import pytest
import lux.game as g
import lux.game_map as gm
import lux.constants as c
"""
[WARN] (match_NF4VsaRK1hf9) - Agent 0 sent malformed command: 'rp 0 0' <- research points (player id, num)
[WARN] (match_NF4VsaRK1hf9) - Agent 0 sent malformed command: 'rp 1 0'
[WARN] (match_NF4VsaRK1hf9) - Agent 0 sent malf... | 36.489567 | 152 | 0.570404 | 2,976 | 22,733 | 3.872648 | 0.053763 | 0.100651 | 0.119479 | 0.15462 | 0.923818 | 0.906464 | 0.867679 | 0.845813 | 0.80269 | 0.753059 | 0 | 0.066522 | 0.328817 | 22,733 | 622 | 153 | 36.548232 | 0.688819 | 0.072098 | 0 | 0.603037 | 0 | 0 | 0.06648 | 0 | 0 | 0 | 0 | 0 | 0.232104 | 1 | 0.049892 | false | 0 | 0.008677 | 0 | 0.065076 | 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 |
810c758a68757f01867307dc9ebc97336d36aa18 | 11,026 | py | Python | napari/layers/points/_tests/test_points_mouse_bindings.py | Mishrasubha/napari | c4d1038fc3ed30dc228949cbdedf12826ec2efc2 | [
"BSD-3-Clause"
] | 2 | 2020-06-18T20:15:41.000Z | 2021-08-11T02:10:58.000Z | napari/layers/points/_tests/test_points_mouse_bindings.py | Mishrasubha/napari | c4d1038fc3ed30dc228949cbdedf12826ec2efc2 | [
"BSD-3-Clause"
] | 7 | 2020-04-11T03:37:54.000Z | 2021-01-31T22:41:35.000Z | napari/layers/points/_tests/test_points_mouse_bindings.py | Mishrasubha/napari | c4d1038fc3ed30dc228949cbdedf12826ec2efc2 | [
"BSD-3-Clause"
] | 3 | 2020-08-29T21:07:38.000Z | 2022-01-10T15:36:16.000Z | from dataclasses import dataclass, field
from typing import List, Tuple
import numpy as np
import pytest
from napari.layers import Points
from napari.utils.interactions import (
ReadOnlyWrapper,
mouse_move_callbacks,
mouse_press_callbacks,
mouse_release_callbacks,
)
@dataclass
class Event:
"""Cr... | 29.402667 | 77 | 0.70098 | 1,437 | 11,026 | 5.138483 | 0.100209 | 0.083965 | 0.104957 | 0.12175 | 0.835455 | 0.816224 | 0.768147 | 0.756094 | 0.741739 | 0.741739 | 0 | 0.007995 | 0.205968 | 11,026 | 374 | 78 | 29.481283 | 0.835408 | 0.200707 | 0 | 0.619048 | 0 | 0 | 0.054226 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 1 | 0.066667 | false | 0 | 0.028571 | 0 | 0.128571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8129b4137c30f0bc88db87f7df37edff54a5291c | 165 | py | Python | src/__init__.py | wvitzthum/DL_super_resolution | 59b2e68bad02579693d48f33ae64d524f08af5ff | [
"MIT"
] | 1 | 2021-08-05T19:44:29.000Z | 2021-08-05T19:44:29.000Z | src/__init__.py | wvitzthum/DL_super_resolution | 59b2e68bad02579693d48f33ae64d524f08af5ff | [
"MIT"
] | null | null | null | src/__init__.py | wvitzthum/DL_super_resolution | 59b2e68bad02579693d48f33ae64d524f08af5ff | [
"MIT"
] | null | null | null | from .trainer_srgan import SRGANTrainer
from .trainer_drln import DRLNTrainer
from .trainer_srresnet import SRResNetTrainer
from .trainer_esrgan import ESRGANTrainer | 41.25 | 45 | 0.884848 | 20 | 165 | 7.1 | 0.55 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 165 | 4 | 46 | 41.25 | 0.946667 | 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 |
812dfd4046d867d53865a765193875c0b580560f | 166 | py | Python | core/handlers/__init__.py | taimaskhanov11/AsyncVkAccount | 58c48886545aa581eb28a1071d52e0a60aa1b8ea | [
"MIT"
] | 1 | 2021-12-26T20:40:39.000Z | 2021-12-26T20:40:39.000Z | core/handlers/__init__.py | taimaskhanov11/AsyncVkAccount | 58c48886545aa581eb28a1071d52e0a60aa1b8ea | [
"MIT"
] | 1 | 2021-12-03T18:38:38.000Z | 2021-12-03T18:39:08.000Z | core/handlers/__init__.py | taimaskhanov11/AsyncVkAccount | 58c48886545aa581eb28a1071d52e0a60aa1b8ea | [
"MIT"
] | null | null | null | # from .log_message import LogMessage
from .meta_handler import ControlMeta
# from .text_handler import text_handler
from .validator_handler import validator_handler
| 33.2 | 48 | 0.855422 | 22 | 166 | 6.181818 | 0.454545 | 0.286765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 166 | 4 | 49 | 41.5 | 0.918919 | 0.445783 | 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 |
8136a773503edb080fd6ae6c2bdf638d924db263 | 771,126 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_infra_rcmd_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_infra_rcmd_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_infra_rcmd_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 55.285776 | 307 | 0.535081 | 70,091 | 771,126 | 5.6926 | 0.007533 | 0.079559 | 0.099449 | 0.11797 | 0.988043 | 0.986313 | 0.984381 | 0.978238 | 0.972607 | 0.957328 | 0 | 0.017601 | 0.324086 | 771,126 | 13,947 | 308 | 55.28974 | 0.747918 | 0 | 0 | 0.688443 | 0 | 0.010641 | 0.482414 | 0.384524 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00066 | 0 | 0.00066 | 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 |
813aff3fd228fa9306b66eb183561ff5ba73fae9 | 7,523 | py | Python | comptools/_all_classes.py | pedrofariacomposer/comptools | 71f540fa6e109365cb7faf57b354fd0603b4d396 | [
"MIT"
] | 2 | 2022-01-12T19:47:53.000Z | 2022-02-17T00:39:00.000Z | comptools/_all_classes.py | pedrofariacomposer/comptools | 71f540fa6e109365cb7faf57b354fd0603b4d396 | [
"MIT"
] | null | null | null | comptools/_all_classes.py | pedrofariacomposer/comptools | 71f540fa6e109365cb7faf57b354fd0603b4d396 | [
"MIT"
] | null | null | null | trichords = [[0, 1, 2],
[0, 1, 3],
[0, 1, 4],
[0, 1, 5],
[0, 1, 6],
[0, 2, 4],
[0, 2, 5],
[0, 2, 6],
[0, 2, 7],
[0, 3, 6],
[0, 3, 7],
[0, 4, 8]]
tetrachords = [[0, 1, 2, 3],
... | 33.584821 | 103 | 0.213213 | 1,285 | 7,523 | 1.248249 | 0.016342 | 0.206983 | 0.198254 | 0.149626 | 0.793641 | 0.678928 | 0.564214 | 0.282419 | 0.13591 | 0.067332 | 0 | 0.382043 | 0.55882 | 7,523 | 224 | 104 | 33.584821 | 0.101235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d48edf58acf4f3292aa4354b4f9ff3c15fbc64b6 | 640 | py | Python | errors.py | someone782/Stealth-Bot | c06e58f4889e77af4d64e2de8790ac21c109a729 | [
"MIT"
] | null | null | null | errors.py | someone782/Stealth-Bot | c06e58f4889e77af4d64e2de8790ac21c109a729 | [
"MIT"
] | null | null | null | errors.py | someone782/Stealth-Bot | c06e58f4889e77af4d64e2de8790ac21c109a729 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
class UnknownError(commands.CheckFailure):
pass
class CommandDoesntExist(commands.CheckFailure):
pass
class AuthorBlacklisted(commands.CheckFailure):
pass
class BotMaintenance(commands.CheckFailure):
pass
class NoBannedMembers(commands.... | 20 | 50 | 0.754688 | 57 | 640 | 8.473684 | 0.315789 | 0.414079 | 0.496894 | 0.540373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18125 | 640 | 32 | 51 | 20 | 0.921756 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.454545 | 0.090909 | 0 | 0.545455 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d4de368e311c876c9a74955d10f52ab34240b0f5 | 113 | py | Python | docsie_universal_importer/providers/google_cloud_storage/__init__.py | Zarif99/test-universal | 062972ed64d9f048de702ab1edf4025cffca2abb | [
"BSD-3-Clause"
] | null | null | null | docsie_universal_importer/providers/google_cloud_storage/__init__.py | Zarif99/test-universal | 062972ed64d9f048de702ab1edf4025cffca2abb | [
"BSD-3-Clause"
] | 16 | 2021-06-16T15:00:41.000Z | 2021-06-30T11:57:15.000Z | docsie_universal_importer/providers/google_cloud_storage/__init__.py | Zarif99/test-universal | 062972ed64d9f048de702ab1edf4025cffca2abb | [
"BSD-3-Clause"
] | 1 | 2021-11-17T19:24:45.000Z | 2021-11-17T19:24:45.000Z | default_app_config = 'docsie_universal_importer.providers.google_cloud_storage.apps.GoogleCloudStorageAppConfig'
| 56.5 | 112 | 0.911504 | 12 | 113 | 8.083333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 113 | 1 | 113 | 113 | 0.881818 | 0 | 0 | 0 | 0 | 0 | 0.787611 | 0.787611 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d4eedf862a0a64d98bfbcb854e60a11a176e7fa6 | 159 | py | Python | docs/tests/W0705.py | mrfyda/codacy-pylint-python3 | e360f6c0407edebe274835d3a881d67e96adf8ba | [
"Apache-2.0"
] | 17 | 2016-01-26T13:30:04.000Z | 2022-03-06T21:11:42.000Z | docs/tests/W0705.py | mrfyda/codacy-pylint-python3 | e360f6c0407edebe274835d3a881d67e96adf8ba | [
"Apache-2.0"
] | 50 | 2019-08-14T16:14:45.000Z | 2022-03-31T11:00:50.000Z | docs/tests/W0705.py | mrfyda/codacy-pylint-python3 | e360f6c0407edebe274835d3a881d67e96adf8ba | [
"Apache-2.0"
] | 15 | 2015-11-18T12:18:50.000Z | 2021-01-17T22:21:41.000Z | ##Patterns: W0705
try:
1 / 0
except ValueError:
pass
##Warn: W0705
except ValueError:
pass
##Warn: W0705
except (TypeError, ValueError):
pass
| 12.230769 | 31 | 0.660377 | 19 | 159 | 5.526316 | 0.526316 | 0.4 | 0.380952 | 0.457143 | 0.609524 | 0.609524 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 0.232704 | 159 | 12 | 32 | 13.25 | 0.745902 | 0.232704 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.375 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
be0d687e3c169e04cf426aa1aba6dc52bbde2c88 | 38 | py | Python | style/__init__.py | Skrad20/new_ui_lab | c61276cbb81f7634aa2fe0a9c9e650e4a506e156 | [
"MIT"
] | null | null | null | style/__init__.py | Skrad20/new_ui_lab | c61276cbb81f7634aa2fe0a9c9e650e4a506e156 | [
"MIT"
] | null | null | null | style/__init__.py | Skrad20/new_ui_lab | c61276cbb81f7634aa2fe0a9c9e650e4a506e156 | [
"MIT"
] | null | null | null | from .upload_style import style_upload | 38 | 38 | 0.894737 | 6 | 38 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
077c773a675ca43265dc3dc569b2a027a229fb70 | 902 | py | Python | utils/pic_compressor.py | akaigua/some-2d-shooting-game | 1377ce1e6ce437b275300433d34ca7d584c5e4ec | [
"Apache-2.0"
] | null | null | null | utils/pic_compressor.py | akaigua/some-2d-shooting-game | 1377ce1e6ce437b275300433d34ca7d584c5e4ec | [
"Apache-2.0"
] | null | null | null | utils/pic_compressor.py | akaigua/some-2d-shooting-game | 1377ce1e6ce437b275300433d34ca7d584c5e4ec | [
"Apache-2.0"
] | null | null | null | from PIL import Image
SCALE = 0.5
WIDTH = 190
HEIGHT = 166
i = 1
image = Image.open("../assets/character_file_compressed/Monster_move_left.png")
image = image.resize((int(WIDTH * SCALE), int(HEIGHT * SCALE)), Image.ANTIALIAS)
image.save(f"./Monster_move_left.png")
i += 1
image = Image.open("../assets/character_file_co... | 39.217391 | 81 | 0.740576 | 137 | 902 | 4.70073 | 0.211679 | 0.124224 | 0.043478 | 0.074534 | 0.911491 | 0.911491 | 0.911491 | 0.911491 | 0.911491 | 0.911491 | 0 | 0.015834 | 0.0898 | 902 | 22 | 82 | 41 | 0.768575 | 0 | 0 | 0.380952 | 0 | 0 | 0.363636 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 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 |
078fff987183092e9170d503d99c870a30d9a625 | 53 | py | Python | evprediction/features/__init__.py | rohithdesikan/evprediction | 3ea5a2b3db350397385c9c9835483eb7dfb2773b | [
"MIT"
] | 1 | 2021-03-23T01:25:21.000Z | 2021-03-23T01:25:21.000Z | evprediction/features/__init__.py | rohithdesikan/evprediction | 3ea5a2b3db350397385c9c9835483eb7dfb2773b | [
"MIT"
] | null | null | null | evprediction/features/__init__.py | rohithdesikan/evprediction | 3ea5a2b3db350397385c9c9835483eb7dfb2773b | [
"MIT"
] | null | null | null | from .build_features import drop_nan, generate_labels | 53 | 53 | 0.886792 | 8 | 53 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.897959 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07a431b91b6550d855beea391e9304a2a9a588be | 89,259 | py | Python | tests/test_s3.py | bbtfr/megfile | 7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0 | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/test_s3.py | bbtfr/megfile | 7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0 | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/test_s3.py | bbtfr/megfile | 7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0 | [
"Apache-2.0",
"MIT"
] | null | null | null | import os
import sys
import threading
import time
from collections import namedtuple
from functools import partial
from io import BytesIO
from pathlib import Path
from typing import Iterable, List, Tuple
import boto3
import botocore
import pytest
from moto import mock_s3
from megfile import s3, smart
from megfile.err... | 36.929665 | 156 | 0.618795 | 11,505 | 89,259 | 4.650587 | 0.040939 | 0.026091 | 0.036184 | 0.019736 | 0.888889 | 0.852014 | 0.820783 | 0.782525 | 0.729502 | 0.688328 | 0 | 0.041782 | 0.209805 | 89,259 | 2,416 | 157 | 36.94495 | 0.716809 | 0.054179 | 0 | 0.531058 | 0 | 0.006715 | 0.331565 | 0.229452 | 0 | 0 | 0 | 0 | 0.269166 | 1 | 0.054841 | false | 0.001119 | 0.010073 | 0.00056 | 0.067152 | 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 |
07e638febffe321da502dc4d5529731ffe216997 | 52 | py | Python | NorthNet/text_parsing/__init__.py | Will-Robin/NorthNet | 343238afbefd02b7255ef6013cbfb0e801bc2b3b | [
"BSD-3-Clause"
] | null | null | null | NorthNet/text_parsing/__init__.py | Will-Robin/NorthNet | 343238afbefd02b7255ef6013cbfb0e801bc2b3b | [
"BSD-3-Clause"
] | 2 | 2022-02-23T12:03:32.000Z | 2022-02-23T14:27:29.000Z | NorthNet/text_parsing/__init__.py | Will-Robin/NorthNet | 343238afbefd02b7255ef6013cbfb0e801bc2b3b | [
"BSD-3-Clause"
] | null | null | null | from file_loads import *
from file_exports import *
| 17.333333 | 26 | 0.807692 | 8 | 52 | 5 | 0.625 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 27 | 26 | 0.909091 | 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 |
6af3a8817c9f1a055c8363adb2b9bac03bae1a80 | 29 | py | Python | ofx_parse/__init__.py | DanielCastriani/ofx-parser | acb9985a2bab59c6bb6d75707b5859c7c7209282 | [
"MIT"
] | null | null | null | ofx_parse/__init__.py | DanielCastriani/ofx-parser | acb9985a2bab59c6bb6d75707b5859c7c7209282 | [
"MIT"
] | null | null | null | ofx_parse/__init__.py | DanielCastriani/ofx-parser | acb9985a2bab59c6bb6d75707b5859c7c7209282 | [
"MIT"
] | null | null | null | from ofx_parse.ofx import OFX | 29 | 29 | 0.862069 | 6 | 29 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 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 |
6af93c2df67ba1112933d9b873b5acdfd0c2346b | 85 | py | Python | doc/samples/verbosity.py | m4ta1l/doit | d1a1b7b3abc7641d977d3b78b580d97aea4e27ea | [
"MIT"
] | 1,390 | 2015-01-01T21:11:47.000Z | 2022-03-31T11:35:44.000Z | doc/samples/verbosity.py | m4ta1l/doit | d1a1b7b3abc7641d977d3b78b580d97aea4e27ea | [
"MIT"
] | 393 | 2015-01-05T11:18:29.000Z | 2022-03-20T11:46:46.000Z | doc/samples/verbosity.py | m4ta1l/doit | d1a1b7b3abc7641d977d3b78b580d97aea4e27ea | [
"MIT"
] | 176 | 2015-01-07T16:58:56.000Z | 2022-03-28T12:12:11.000Z | def task_print():
return {'actions': ['echo hello'],
'verbosity': 2}
| 21.25 | 38 | 0.529412 | 9 | 85 | 4.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.282353 | 85 | 3 | 39 | 28.333333 | 0.704918 | 0 | 0 | 0 | 0 | 0 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 |
ed1a816ad8b0e253df1bbb9dc0f2eff81f6b5003 | 14,257 | py | Python | build/lib/tests/test_autodiffvector.py | Team-Gillet/cs207-FinalProject | b7de998af9a7794571749241d7cf487361975673 | [
"MIT"
] | 1 | 2019-10-30T00:41:16.000Z | 2019-10-30T00:41:16.000Z | build/lib/tests/test_autodiffvector.py | Team-Gillet/cs207-FinalProject | b7de998af9a7794571749241d7cf487361975673 | [
"MIT"
] | 2 | 2019-11-18T01:29:24.000Z | 2019-12-10T00:27:25.000Z | build/lib/tests/test_autodiffvector.py | Team-Gillet/cs207-FinalProject | b7de998af9a7794571749241d7cf487361975673 | [
"MIT"
] | 1 | 2019-12-28T02:02:07.000Z | 2019-12-28T02:02:07.000Z | import sys
from collections import Counter
import numpy as np
import pytest
import math
sys.path.append('..')
import superautodiff as sad
## Helper function for running the tests
def do_vector_tests(vec1, vec1_other, vec2, vec2_other, der, der_other, val, val_other):
# Test AutoDiffVector with constant
for k... | 30.528908 | 91 | 0.595006 | 2,224 | 14,257 | 3.707734 | 0.063399 | 0.101382 | 0.053844 | 0.078947 | 0.861024 | 0.841378 | 0.804269 | 0.793839 | 0.752365 | 0.734659 | 0 | 0.063966 | 0.231325 | 14,257 | 466 | 92 | 30.594421 | 0.688475 | 0.108578 | 0 | 0.556522 | 0 | 0 | 0.013872 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 1 | 0.084058 | false | 0 | 0.017391 | 0 | 0.101449 | 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 |
ed386bd0f6fc62b4a78e614f9c898697c7bb5826 | 145 | py | Python | handlers/users/__init__.py | YoshlikMedia/Cryptopunk | 12b60441ae0408873e59bc8d0395151b9b7f738b | [
"MIT"
] | 2 | 2022-02-27T06:52:08.000Z | 2022-03-04T17:34:06.000Z | handlers/users/__init__.py | YoshlikMedia/Cryptopunk | 12b60441ae0408873e59bc8d0395151b9b7f738b | [
"MIT"
] | null | null | null | handlers/users/__init__.py | YoshlikMedia/Cryptopunk | 12b60441ae0408873e59bc8d0395151b9b7f738b | [
"MIT"
] | null | null | null | from . import help
from . import start
from . import get_photo
from . import change_colour
from . import stripe_confirm
from . import send_user
| 18.125 | 28 | 0.786207 | 22 | 145 | 5 | 0.545455 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 145 | 7 | 29 | 20.714286 | 0.916667 | 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 |
71f4ff0dce2c697bbf6a619a26dedfe48f3f4bd2 | 5,804 | py | Python | 6. Temporal Difference Learning/algorithms.py | A-Pai/Reinforcement-Learning | ff460e9df09f508f7bf8eddc99943b617a0915ba | [
"MIT"
] | 101 | 2017-12-07T14:14:30.000Z | 2022-02-24T09:41:05.000Z | 6. Temporal Difference Learning/algorithms.py | sierxue/Reinforcement-Learning-1 | ff460e9df09f508f7bf8eddc99943b617a0915ba | [
"MIT"
] | 4 | 2019-05-18T05:05:29.000Z | 2020-06-25T06:49:56.000Z | 6. Temporal Difference Learning/algorithms.py | sierxue/Reinforcement-Learning-1 | ff460e9df09f508f7bf8eddc99943b617a0915ba | [
"MIT"
] | 33 | 2018-05-20T15:52:05.000Z | 2022-03-29T08:42:50.000Z | import sys
sys.path.append("..")
import numpy as np
import classes as c
import utils as u
def sarsa(env, alpha=0.5, gamma=1, epsilon=.1, num_episodes=200):
"""
Returns the Q-value estimates for an environment by using the SARSA
algorithm (State-Action-Reward-State-Action).
Parameters
----------
... | 31.543478 | 101 | 0.582529 | 714 | 5,804 | 4.662465 | 0.161064 | 0.04596 | 0.025233 | 0.024031 | 0.887053 | 0.8459 | 0.827876 | 0.820967 | 0.820967 | 0.820967 | 0 | 0.011902 | 0.33408 | 5,804 | 183 | 102 | 31.715847 | 0.849418 | 0.439869 | 0 | 0.6 | 0 | 0 | 0.000681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046154 | false | 0 | 0.061538 | 0 | 0.153846 | 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 |
9c7bd18d9e82be3019b3f09da428ff4b63eb6111 | 8,400 | py | Python | cottonformation/res/signer.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/signer.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/signer.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class SigningProfileSignatureValidityPeriod(Property):
"""
AWS Object Type ... | 53.846154 | 202 | 0.756786 | 902 | 8,400 | 6.957871 | 0.087583 | 0.108349 | 0.047323 | 0.073136 | 0.856278 | 0.845762 | 0.802581 | 0.783779 | 0.775016 | 0.775016 | 0 | 0.000134 | 0.112143 | 8,400 | 155 | 203 | 54.193548 | 0.841378 | 0.364524 | 0 | 0.303797 | 0 | 0 | 0.080392 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050633 | false | 0 | 0.050633 | 0 | 0.35443 | 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 |
133b295111bd1b107f84a1f03fc5c5de95fd1408 | 21 | py | Python | src/moneyed/__init__.py | generalov/py-moneyed | 932c617b9e659dee0e939c21e48816dc04729736 | [
"BSD-3-Clause"
] | 1 | 2016-12-26T07:25:13.000Z | 2016-12-26T07:25:13.000Z | src/moneyed/__init__.py | krallin/py-moneyed | f5a3261d916a935566992d76ca598dc7ec612f05 | [
"BSD-3-Clause"
] | null | null | null | src/moneyed/__init__.py | krallin/py-moneyed | f5a3261d916a935566992d76ca598dc7ec612f05 | [
"BSD-3-Clause"
] | null | null | null | from classes import * | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1374dcc815bb7f37829da5d20ba574e29e0d7914 | 86 | py | Python | server/ferret/rebuild_js.py | Lyrositor/pnw-ferret | 3eacd2f56e9811c1ccc9c5dafdcb4738ca767193 | [
"CC0-1.0"
] | 2 | 2019-11-02T22:40:13.000Z | 2019-11-07T23:02:35.000Z | server/ferret/rebuild_js.py | Lyrositor/pnw-ferret | 3eacd2f56e9811c1ccc9c5dafdcb4738ca767193 | [
"CC0-1.0"
] | null | null | null | server/ferret/rebuild_js.py | Lyrositor/pnw-ferret | 3eacd2f56e9811c1ccc9c5dafdcb4738ca767193 | [
"CC0-1.0"
] | null | null | null | from ferret.server import build_pnw_js
if __name__ == '__main__':
build_pnw_js()
| 17.2 | 38 | 0.744186 | 13 | 86 | 4 | 0.769231 | 0.307692 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 4 | 39 | 21.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 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 |
13ec92798b95edabefb457c184e8ce2fc63dc825 | 7,435 | py | Python | test/redshift/test_s3_copy_pipeline.py | Dwolla/arbalest | 5516aa11a24012a6222acc3b583261ff90ee450f | [
"MIT"
] | 46 | 2015-11-01T19:37:46.000Z | 2021-04-14T02:41:10.000Z | test/redshift/test_s3_copy_pipeline.py | Dwolla/arbalest | 5516aa11a24012a6222acc3b583261ff90ee450f | [
"MIT"
] | 1 | 2016-04-20T16:56:44.000Z | 2016-04-20T16:56:44.000Z | test/redshift/test_s3_copy_pipeline.py | Dwolla/arbalest | 5516aa11a24012a6222acc3b583261ff90ee450f | [
"MIT"
] | 9 | 2015-10-31T23:01:50.000Z | 2021-08-02T21:15:25.000Z | import unittest
from arbalest.redshift.manifest import SqlManifest
from mock import Mock, create_autospec, mock_open, patch
from arbalest.core import PipelineException
from arbalest.redshift import S3CopyPipeline, BulkCopyFromS3JsonStep, \
TargetTable, SqlStep
from arbalest.redshift.schema import JsonObject, Prope... | 48.594771 | 90 | 0.5423 | 661 | 7,435 | 5.853253 | 0.1059 | 0.088395 | 0.172396 | 0.068752 | 0.766865 | 0.766865 | 0.766865 | 0.743861 | 0.735591 | 0.71388 | 0 | 0.006716 | 0.379153 | 7,435 | 152 | 91 | 48.914474 | 0.831456 | 0 | 0 | 0.730769 | 0 | 0 | 0.027303 | 0 | 0 | 0 | 0 | 0 | 0.246154 | 1 | 0.046154 | false | 0 | 0.069231 | 0 | 0.123077 | 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 |
b91fd28062ba14fccf3c99d4845a7852ad1a5710 | 96 | py | Python | venv/lib/python3.8/site-packages/rope/base/pyobjectsdef.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/rope/base/pyobjectsdef.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/rope/base/pyobjectsdef.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/9e/30/20/03952e8c9a32692b33bcd2e103ea90cf8bb072e11b186370d9091b8f81 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9404b57ef3b5e978e03f7e8a4ef4c4893a4ff2d | 108 | py | Python | kibana_transfer/__init__.py | kashtan404/kibana-config-backuper | 913e3ac84664c3b6e7f35603561d170357e83c82 | [
"MIT"
] | null | null | null | kibana_transfer/__init__.py | kashtan404/kibana-config-backuper | 913e3ac84664c3b6e7f35603561d170357e83c82 | [
"MIT"
] | null | null | null | kibana_transfer/__init__.py | kashtan404/kibana-config-backuper | 913e3ac84664c3b6e7f35603561d170357e83c82 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from . import gitmodule as git
from . import kibana as kibana
from . import common
| 18 | 30 | 0.685185 | 16 | 108 | 4.625 | 0.625 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.203704 | 108 | 5 | 31 | 21.6 | 0.848837 | 0.194444 | 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 |
b95b774845a4550731a9c97d86e65f440675dd3d | 29,301 | py | Python | tests/components/media_player/test_soundtouch.py | mbs-technologie/home-assistant | 71fc446425cbb1c0d4670c261ce8ea3bfd83a73d | [
"MIT"
] | 13 | 2017-02-01T13:25:34.000Z | 2022-01-26T01:30:39.000Z | tests/components/media_player/test_soundtouch.py | 1Forward1Back/home-assistant | ce24ef0c20dea0fd671d6f2c2a8b1456b4b66ba6 | [
"MIT"
] | 9 | 2017-07-26T18:05:32.000Z | 2021-12-05T14:16:34.000Z | tests/components/media_player/test_soundtouch.py | 1Forward1Back/home-assistant | ce24ef0c20dea0fd671d6f2c2a8b1456b4b66ba6 | [
"MIT"
] | 21 | 2017-07-26T17:09:40.000Z | 2022-03-27T22:37:22.000Z | """Test the Soundtouch component."""
import logging
import unittest
from unittest import mock
from libsoundtouch.device import SoundTouchDevice as STD, Status, Volume, \
Preset, Config
from homeassistant.components.media_player import soundtouch
from homeassistant.const import (
STATE_OFF, STATE_PAUSED, STATE_... | 44.871363 | 79 | 0.651206 | 3,053 | 29,301 | 5.970848 | 0.055683 | 0.102035 | 0.116353 | 0.096769 | 0.863459 | 0.845521 | 0.830709 | 0.804871 | 0.770366 | 0.730265 | 0 | 0.0095 | 0.249172 | 29,301 | 652 | 80 | 44.940184 | 0.819091 | 0.055391 | 0 | 0.673786 | 0 | 0 | 0.147588 | 0.131594 | 0 | 0 | 0 | 0 | 0.242718 | 1 | 0.079612 | false | 0 | 0.013592 | 0.001942 | 0.12233 | 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 |
b962e1d810742743caac366552d7969291830054 | 4,152 | py | Python | pirates/piratesgui/MessageGlobals.py | ksmit799/POTCO-PS | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 8 | 2017-01-24T04:33:29.000Z | 2020-11-01T08:36:24.000Z | pirates/piratesgui/MessageGlobals.py | ksmit799/Pirates-Online-Remake | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 1 | 2017-03-02T18:05:17.000Z | 2017-03-14T06:47:10.000Z | pirates/piratesgui/MessageGlobals.py | ksmit799/Pirates-Online-Remake | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 11 | 2017-03-02T18:46:07.000Z | 2020-11-01T08:36:26.000Z | # File: M (Python 2.4)
from pirates.piratesbase import PiratesGlobals
from pirates.piratesbase import PLocalizer
from pirates.piratesgui import PiratesGuiGlobals
MSG_CAT_DEFAULT = 0
MSG_CAT_THREAT_LEVEL = 1
MSG_CAT_NO_PORT = 2
MSG_CAT_TELL_PORT = 3
MSG_CAT_ANNOUNCE_ATTACK = 4
MSG_CAT_SUNK_SHIP = 5
MSG_CAT_SHORE_CLOSE ... | 34.31405 | 59 | 0.610067 | 409 | 4,152 | 5.924205 | 0.149144 | 0.049525 | 0.094924 | 0.049525 | 0.799009 | 0.787041 | 0.787041 | 0.787041 | 0.787041 | 0.784152 | 0 | 0.092617 | 0.256262 | 4,152 | 120 | 60 | 34.6 | 0.692034 | 0.004817 | 0 | 0.728814 | 0 | 0 | 0.242131 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025424 | 0 | 0.025424 | 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 |
b9a33743065f0250a1b826e3263391c9f0fb8968 | 81 | py | Python | im2txt-app/im2txt/ops/__init__.py | Netzeband/JetsonTX1_im2txt | 494f9a0fe8f5a5a3e5461c08906d4918d06d6cc4 | [
"MIT"
] | 7 | 2017-08-22T02:26:51.000Z | 2021-04-05T21:10:33.000Z | im2txt-app/im2txt/ops/__init__.py | Netzeband/JetsonTX1_im2txt | 494f9a0fe8f5a5a3e5461c08906d4918d06d6cc4 | [
"MIT"
] | null | null | null | im2txt-app/im2txt/ops/__init__.py | Netzeband/JetsonTX1_im2txt | 494f9a0fe8f5a5a3e5461c08906d4918d06d6cc4 | [
"MIT"
] | 4 | 2017-09-08T21:04:46.000Z | 2019-10-01T09:01:15.000Z | from image_embedding import *
from image_processing import *
from inputs import * | 27 | 30 | 0.82716 | 11 | 81 | 5.909091 | 0.545455 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 3 | 31 | 27 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9c47a13030e00e2a400b8d018927245aef208d2 | 6,212 | py | Python | tests/test_templatetags.py | emilbjorklund/django-template-shortcodes | 6869a39333bb69d5f9817e1305f9c6e06e56708f | [
"MIT"
] | 2 | 2015-09-29T14:27:22.000Z | 2015-10-01T12:49:12.000Z | tests/test_templatetags.py | emilbjorklund/django-template-shortcodes | 6869a39333bb69d5f9817e1305f9c6e06e56708f | [
"MIT"
] | null | null | null | tests/test_templatetags.py | emilbjorklund/django-template-shortcodes | 6869a39333bb69d5f9817e1305f9c6e06e56708f | [
"MIT"
] | null | null | null | from django.test import TestCase
from django.template import Template, RequestContext
from django.test.client import RequestFactory
from django.test.utils import setup_test_environment
setup_test_environment()
class CommonTestCase(TestCase):
def assertAllFine(self):
return True
class LibraryTest(CommonTestC... | 50.504065 | 213 | 0.622666 | 794 | 6,212 | 4.806045 | 0.156171 | 0.039308 | 0.035377 | 0.044287 | 0.803459 | 0.758648 | 0.73087 | 0.73087 | 0.722222 | 0.707809 | 0 | 0.030649 | 0.196394 | 6,212 | 122 | 214 | 50.918033 | 0.733774 | 0 | 0 | 0.41 | 0 | 0.13 | 0.491708 | 0.065851 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.17 | false | 0 | 0.04 | 0.01 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9d1cbdd643ba76659f4169993e188320ff08dc6 | 19,111 | py | Python | c_model.py | LonglifeHyun/GANda_text-to-image | 095ded617e4df7d7ff7f4954381dde77db6d6883 | [
"MIT"
] | null | null | null | c_model.py | LonglifeHyun/GANda_text-to-image | 095ded617e4df7d7ff7f4954381dde77db6d6883 | [
"MIT"
] | null | null | null | c_model.py | LonglifeHyun/GANda_text-to-image | 095ded617e4df7d7ff7f4954381dde77db6d6883 | [
"MIT"
] | null | null | null | import os
import numpy as np
import torch
import torch.nn as nn
from layer import *
## 네트워크 구축하기
# CycleGAN
# https://arxiv.org/pdf/1703.10593.pdf
class CycleGAN(nn.Module):
def __init__(self, in_channels, out_channels, nker=64, norm='bnorm', nblk=6):
super(CycleGAN, self).__init__()
self.in_ch... | 35.522305 | 141 | 0.578358 | 2,830 | 19,111 | 3.751943 | 0.05689 | 0.064042 | 0.074873 | 0.051234 | 0.841966 | 0.81861 | 0.81117 | 0.795065 | 0.768789 | 0.757676 | 0 | 0.085538 | 0.287949 | 19,111 | 537 | 142 | 35.588454 | 0.694738 | 0.050965 | 0 | 0.57478 | 0 | 0 | 0.005744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046921 | false | 0 | 0.014663 | 0 | 0.108504 | 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 |
b9d4baf6a37c8fe6bf9e472e6d84aefe0776a7ea | 99 | py | Python | tests/support/flat_aliases.py | bitmonk/fabric | ac9fe39093d171f034553d46477b681e790b1d19 | [
"BSD-2-Clause"
] | 802 | 2015-10-24T16:53:07.000Z | 2022-03-30T11:00:45.000Z | tests/support/flat_aliases.py | bitmonk/fabric | ac9fe39093d171f034553d46477b681e790b1d19 | [
"BSD-2-Clause"
] | 47 | 2015-12-11T17:10:10.000Z | 2019-04-21T11:57:41.000Z | tests/support/flat_aliases.py | bitmonk/fabric | ac9fe39093d171f034553d46477b681e790b1d19 | [
"BSD-2-Clause"
] | 94 | 2015-11-20T07:27:58.000Z | 2022-01-19T09:32:36.000Z | from fabric.api import task
@task(aliases=["foo_aliased", "foo_aliased_two"])
def foo():
pass
| 16.5 | 49 | 0.707071 | 15 | 99 | 4.466667 | 0.733333 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 5 | 50 | 19.8 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.