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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b07cdff1056abd3ab4c36a97794c67b1bf8f82e7 | 71 | py | Python | tests/__init__.py | Avery246813579/Python-Rainbow-Chain | 97a29dbf3dc54b0e96c9df7b5106f488c627ab48 | [
"MIT"
] | 3 | 2017-12-04T18:17:38.000Z | 2021-01-15T19:21:21.000Z | tests/__init__.py | Avery246813579/Python-Rainbow-Chain | 97a29dbf3dc54b0e96c9df7b5106f488c627ab48 | [
"MIT"
] | null | null | null | tests/__init__.py | Avery246813579/Python-Rainbow-Chain | 97a29dbf3dc54b0e96c9df7b5106f488c627ab48 | [
"MIT"
] | 1 | 2017-11-06T18:43:54.000Z | 2017-11-06T18:43:54.000Z | import Dictogram_Tests
import Histogram_Tests
import MarkovModel_Tests
| 17.75 | 24 | 0.915493 | 9 | 71 | 6.888889 | 0.555556 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 71 | 3 | 25 | 23.666667 | 0.953846 | 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 |
b0c416079c0482f5eefbf82925437e9a5561622b | 166 | py | Python | common/tmalibrary/tmalibrary/probes/__init__.py | Jodao/tma-framework | 23132a2ea99d75be4fc56b6074e37ce819c419c0 | [
"Apache-2.0"
] | 1 | 2021-01-13T10:01:07.000Z | 2021-01-13T10:01:07.000Z | common/tmalibrary/tmalibrary/probes/__init__.py | Jodao/tma-framework | 23132a2ea99d75be4fc56b6074e37ce819c419c0 | [
"Apache-2.0"
] | 4 | 2021-03-08T16:00:07.000Z | 2021-03-11T10:38:08.000Z | common/tmalibrary/tmalibrary/probes/__init__.py | Jodao/tma-framework | 23132a2ea99d75be4fc56b6074e37ce819c419c0 | [
"Apache-2.0"
] | 6 | 2018-06-02T17:57:30.000Z | 2021-07-22T16:11:09.000Z | from .communication import Communication
from .data import Data
from .message import Message
from .message import ComplexEncoder
from .observation import Observation
| 27.666667 | 40 | 0.849398 | 20 | 166 | 7.05 | 0.35 | 0.156028 | 0.241135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 166 | 5 | 41 | 33.2 | 0.965753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ff1713156e875cec44529366d658acb4e2a3652 | 32 | py | Python | src/hepmc/surrogate/__init__.py | mathisgerdes/monte-carlo-integration | 533d13eeb538fec46f8d5ed00e780153b68ba7d9 | [
"MIT"
] | 2 | 2018-11-15T03:01:03.000Z | 2020-02-25T16:54:02.000Z | src/hepmc/surrogate/__init__.py | mathisgerdes/monte-carlo-integration | 533d13eeb538fec46f8d5ed00e780153b68ba7d9 | [
"MIT"
] | null | null | null | src/hepmc/surrogate/__init__.py | mathisgerdes/monte-carlo-integration | 533d13eeb538fec46f8d5ed00e780153b68ba7d9 | [
"MIT"
] | 1 | 2021-04-15T09:02:00.000Z | 2021-04-15T09:02:00.000Z | from .extreme_learning import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 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 |
b0396c71e8037368c55335c1f7eaf47fbb3a6e51 | 115 | py | Python | pytrie/trie/__init__.py | irahorecka/barcode-levenshtein-search | ae9a22ffd66e19105d98beea0db091d209d70d2e | [
"MIT"
] | null | null | null | pytrie/trie/__init__.py | irahorecka/barcode-levenshtein-search | ae9a22ffd66e19105d98beea0db091d209d70d2e | [
"MIT"
] | null | null | null | pytrie/trie/__init__.py | irahorecka/barcode-levenshtein-search | ae9a22ffd66e19105d98beea0db091d209d70d2e | [
"MIT"
] | null | null | null | from pytrie.trie.concurrency import map_processes
from pytrie.trie.trie import TrieNode, search, search_concurrent
| 38.333333 | 64 | 0.86087 | 16 | 115 | 6.0625 | 0.625 | 0.206186 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 115 | 2 | 65 | 57.5 | 0.92381 | 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 |
b046134aecda13b1700d93cb501433220bc924d3 | 36 | py | Python | thumbulator/bareBench/python/__init__.py | impedimentToProgress/ratchet | 4a0f4994ee7e16819849fc0a1a1dbb04921a25fd | [
"MIT"
] | 4 | 2018-12-31T04:46:13.000Z | 2021-02-04T15:11:03.000Z | thumbulator/bareBench/python/__init__.py | impedimentToProgress/ratchet | 4a0f4994ee7e16819849fc0a1a1dbb04921a25fd | [
"MIT"
] | null | null | null | thumbulator/bareBench/python/__init__.py | impedimentToProgress/ratchet | 4a0f4994ee7e16819849fc0a1a1dbb04921a25fd | [
"MIT"
] | 3 | 2017-10-28T16:15:33.000Z | 2021-11-16T05:11:43.000Z | from commands import *
import tests
| 12 | 22 | 0.805556 | 5 | 36 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 2 | 23 | 18 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b049dd4423d4e6830835ef4c97f12631b04c3536 | 109 | py | Python | srllib/qtgui/__init__.py | craneworks/srl-python-lib | 83b24b9dc406f4481d2b5fad814e2eff932cb04f | [
"MIT"
] | null | null | null | srllib/qtgui/__init__.py | craneworks/srl-python-lib | 83b24b9dc406f4481d2b5fad814e2eff932cb04f | [
"MIT"
] | null | null | null | srllib/qtgui/__init__.py | craneworks/srl-python-lib | 83b24b9dc406f4481d2b5fad814e2eff932cb04f | [
"MIT"
] | null | null | null | """ Utilities for use with PyQt4 """
from _application import *
from _common import *
from _signal import *
| 18.166667 | 36 | 0.733945 | 14 | 109 | 5.5 | 0.714286 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.183486 | 109 | 5 | 37 | 21.8 | 0.853933 | 0.256881 | 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 |
c67de60c5869c70b4294ace23a0e35bb38246d5b | 20,221 | py | Python | gym_extensions/continuous/mujoco/__init__.py | nicofirst1/gym-extensions | 0a5bb74a248484d2a7e5d2cb552e247612650f04 | [
"MIT"
] | null | null | null | gym_extensions/continuous/mujoco/__init__.py | nicofirst1/gym-extensions | 0a5bb74a248484d2a7e5d2cb552e247612650f04 | [
"MIT"
] | null | null | null | gym_extensions/continuous/mujoco/__init__.py | nicofirst1/gym-extensions | 0a5bb74a248484d2a7e5d2cb552e247612650f04 | [
"MIT"
] | 1 | 2021-12-01T09:31:48.000Z | 2021-12-01T09:31:48.000Z | import gym
import os
import gym.envs.mujoco
custom_envs = {
# Pusher modifications
"PusherMovingGoal-v1":
dict(path='gym_extensions.continuous.mujoco.modified_arm:PusherMovingGoalEnv',
max_episode_steps=100,
reward_threshold=0.0,
kwargs=dict()),
# Pusher modif... | 50.300995 | 112 | 0.678206 | 2,068 | 20,221 | 6.366538 | 0.097195 | 0.060763 | 0.091144 | 0.077017 | 0.818776 | 0.817788 | 0.80594 | 0.803053 | 0.80275 | 0.73067 | 0 | 0.051391 | 0.207062 | 20,221 | 401 | 113 | 50.426434 | 0.769739 | 0.012759 | 0 | 0.594005 | 0 | 0 | 0.422238 | 0.348413 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002725 | false | 0 | 0.008174 | 0 | 0.010899 | 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 |
c691cf410fb11ef9eeb668e6c013db32d424d306 | 232 | py | Python | src/tokenizer/ErrorToken.py | aboveyou00/cc | 816a2fb8e53723e8f2c72a8e5d9f443057017594 | [
"MIT"
] | null | null | null | src/tokenizer/ErrorToken.py | aboveyou00/cc | 816a2fb8e53723e8f2c72a8e5d9f443057017594 | [
"MIT"
] | null | null | null | src/tokenizer/ErrorToken.py | aboveyou00/cc | 816a2fb8e53723e8f2c72a8e5d9f443057017594 | [
"MIT"
] | null | null | null | from tokenizer.Token import *
class ErrorToken(Token):
def __init__(self, linen, start, orig):
super().__init__(linen, start, orig)
self.err = orig
def __str__(self):
return 'ERROR:' + self.err
| 23.2 | 44 | 0.616379 | 28 | 232 | 4.678571 | 0.607143 | 0.152672 | 0.21374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262931 | 232 | 9 | 45 | 25.777778 | 0.766082 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c6a00dc36f583235c0398f2ffaa65a8aa963d592 | 4,791 | py | Python | beatbrain/cli/convert.py | Emrys-Hong/BeatBrain | 68159d9cc46d85e73afdc5aa5341c45158dc1b28 | [
"MIT"
] | 1 | 2020-03-28T21:18:50.000Z | 2020-03-28T21:18:50.000Z | beatbrain/cli/convert.py | Emrys-Hong/BeatBrain | 68159d9cc46d85e73afdc5aa5341c45158dc1b28 | [
"MIT"
] | null | null | null | beatbrain/cli/convert.py | Emrys-Hong/BeatBrain | 68159d9cc46d85e73afdc5aa5341c45158dc1b28 | [
"MIT"
] | null | null | null | import click
from .. import settings, utils
@click.group(invoke_without_command=True, short_help="Data Conversion Utilities")
@click.pass_context
def convert(ctx):
click.echo(
click.style(
"------------------------\n"
"BeatBrain Data Converter\n"
"---------------------... | 23.485294 | 87 | 0.657274 | 609 | 4,791 | 5.049261 | 0.170772 | 0.100163 | 0.126829 | 0.149594 | 0.844553 | 0.810407 | 0.787967 | 0.749594 | 0.749594 | 0.749594 | 0 | 0.000779 | 0.196201 | 4,791 | 203 | 88 | 23.600985 | 0.797715 | 0 | 0 | 0.695876 | 0 | 0 | 0.307869 | 0.010854 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020619 | false | 0.005155 | 0.010309 | 0.015464 | 0.046392 | 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 |
c6bdffae33e5268398bba0e4d88c0a0a2a9b48d7 | 33 | py | Python | sabueso/cards/protein/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | null | null | null | sabueso/cards/protein/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | 2 | 2022-01-31T21:22:17.000Z | 2022-02-04T20:20:12.000Z | sabueso/cards/protein/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | 1 | 2021-07-20T15:01:14.000Z | 2021-07-20T15:01:14.000Z | from .protein import ProteinCard
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
05b522c1056b1c4bd4c0289ab245698d754e9b86 | 137 | py | Python | opm/convertDoc/text2html.py | Open-Prose-Metrics/open_prose_metrics_app-core | 9df65edfe9ee9af0a0731c3f2e21ea25bced250c | [
"MIT"
] | null | null | null | opm/convertDoc/text2html.py | Open-Prose-Metrics/open_prose_metrics_app-core | 9df65edfe9ee9af0a0731c3f2e21ea25bced250c | [
"MIT"
] | 4 | 2021-04-30T21:38:10.000Z | 2022-01-13T03:32:33.000Z | opm/convertDoc/text2html.py | Open-Prose-Metrics/open_prose_metrics_app-core | 9df65edfe9ee9af0a0731c3f2e21ea25bced250c | [
"MIT"
] | 1 | 2021-03-21T14:08:28.000Z | 2021-03-21T14:08:28.000Z | # -*- coding: utf-8 -*-
from bs4 import BeautifulSoup
def htmlify(ucodetext):
return ucodetext.encode('ascii', 'xmlcharrefreplace')
| 22.833333 | 57 | 0.715328 | 15 | 137 | 6.533333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.138686 | 137 | 5 | 58 | 27.4 | 0.813559 | 0.153285 | 0 | 0 | 0 | 0 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
05cf3a05d9bd9dd9af9d19cf955c59946e1b09d2 | 35 | py | Python | pywren_ibm_cloud/compute/backends/ibm_cf/__init__.py | class-euproject/lithops | acf381817673c29db0e9e143001029357890a39b | [
"Apache-2.0"
] | 1 | 2020-08-04T08:16:31.000Z | 2020-08-04T08:16:31.000Z | pywren_ibm_cloud/compute/backends/ibm_cf/__init__.py | class-euproject/lithops | acf381817673c29db0e9e143001029357890a39b | [
"Apache-2.0"
] | null | null | null | pywren_ibm_cloud/compute/backends/ibm_cf/__init__.py | class-euproject/lithops | acf381817673c29db0e9e143001029357890a39b | [
"Apache-2.0"
] | null | null | null | from .ibm_cf import ComputeBackend
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
af391a659fce2e750f66c7206851d45e5965e4da | 13,394 | py | Python | lindbladmpo/examples/simulation_building/operators_library.py | qiskit-community/lindbladmpo | e5d07fc2ce226b19e831d06334e33afb8d131e33 | [
"Apache-2.0"
] | 4 | 2022-03-14T02:47:16.000Z | 2022-03-24T11:20:04.000Z | lindbladmpo/examples/simulation_building/operators_library.py | qiskit-community/lindbladmpo | e5d07fc2ce226b19e831d06334e33afb8d131e33 | [
"Apache-2.0"
] | 1 | 2022-03-24T11:36:35.000Z | 2022-03-24T11:36:35.000Z | lindbladmpo/examples/simulation_building/operators_library.py | qiskit-community/lindbladmpo | e5d07fc2ce226b19e831d06334e33afb8d131e33 | [
"Apache-2.0"
] | null | null | null | # This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative works of this code must retain this
# copyright notice, and mod... | 35.062827 | 101 | 0.616246 | 1,791 | 13,394 | 4.437186 | 0.106644 | 0.050333 | 0.074871 | 0.079275 | 0.797156 | 0.782559 | 0.778407 | 0.749717 | 0.729458 | 0.679628 | 0 | 0.013344 | 0.26706 | 13,394 | 381 | 102 | 35.154856 | 0.79617 | 0.345603 | 0 | 0.325843 | 0 | 0 | 0.028437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.207865 | false | 0 | 0.016854 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
af51d65e7c2e66c8dc0df7d576fd5103c57baf80 | 63 | py | Python | models/__init__.py | gloriatao/mcgproject | d085d9bc978bd086eb4dc9d28c7821eed401be70 | [
"MIT"
] | 1 | 2022-01-22T00:59:24.000Z | 2022-01-22T00:59:24.000Z | models/__init__.py | gloriatao/mcgproject | d085d9bc978bd086eb4dc9d28c7821eed401be70 | [
"MIT"
] | null | null | null | models/__init__.py | gloriatao/mcgproject | d085d9bc978bd086eb4dc9d28c7821eed401be70 | [
"MIT"
] | null | null | null | from models.mcg_bert import mcg_bert, Criterion3, Postprocess3
| 31.5 | 62 | 0.857143 | 9 | 63 | 5.777778 | 0.777778 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.095238 | 63 | 1 | 63 | 63 | 0.877193 | 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 |
af62b3c87f650057abe53cab96a88b0b592493ff | 66 | py | Python | survae/utils/__init__.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 262 | 2020-07-05T20:57:44.000Z | 2022-03-28T02:24:43.000Z | survae/utils/__init__.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 17 | 2020-08-15T05:43:34.000Z | 2022-01-31T12:24:21.000Z | survae/utils/__init__.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 35 | 2020-08-24T06:55:37.000Z | 2022-02-11T05:17:58.000Z | from .tensors import *
from .context import *
from .loss import *
| 16.5 | 22 | 0.727273 | 9 | 66 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 23 | 22 | 0.888889 | 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 |
afcbd252cffb07ecc2ff364de090eca321e85c30 | 38,031 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/24.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-int18e/24.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-int18e/24.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4167
passenger_arriving = (
(5, 13, 4, 5, 2, 0, 8, 8, 4, 4, 4, 0), # 0
(4, 9, 5, 5, 1, 0, 13, 12, 11, 8, 3, 0), # 1
(8, 8, 9, 5, 3, 0, 11, 6, 7, 8, 4, 0), # 2
(5, 10, 7, 3, 3, 0, 11, 11, 8, 3, 4, 0), # 3
(10, 10, 5, 7, 2, 0, 11, 18, 7, 5, 2, 0), # 4
(9, 12, 12, 7, 4, 0, ... | 113.525373 | 213 | 0.730115 | 5,147 | 38,031 | 5.392656 | 0.237808 | 0.311284 | 0.246433 | 0.466926 | 0.326848 | 0.3262 | 0.3262 | 0.3262 | 0.3262 | 0.3262 | 0 | 0.819793 | 0.118693 | 38,031 | 334 | 214 | 113.865269 | 0.008324 | 0.031842 | 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 |
afd24fd8b4ee7394673d435f6212f15560258846 | 220 | py | Python | tweets.py | guzey/save_tweets | 3b8c03a60f848fc4219cfd92a50e136dc32f4979 | [
"MIT"
] | 2 | 2017-12-06T13:46:10.000Z | 2020-02-10T00:30:38.000Z | tweets.py | guzey/save_tweets | 3b8c03a60f848fc4219cfd92a50e136dc32f4979 | [
"MIT"
] | null | null | null | tweets.py | guzey/save_tweets | 3b8c03a60f848fc4219cfd92a50e136dc32f4979 | [
"MIT"
] | null | null | null | tweets = ["https://twitter.com/GateOfHeavens/status/246739124193751041",
"https://twitter.com/abigailb/status/360482662491754496",
"https://twitter.com/suleimenov/status/366952592200314880"
] | 55 | 72 | 0.7 | 19 | 220 | 8.105263 | 0.578947 | 0.233766 | 0.292208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 0.154545 | 220 | 4 | 73 | 55 | 0.537634 | 0 | 0 | 0 | 0 | 0 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bb6ee75cd66741b5ce884dd93a8e424bcd69618c | 38 | py | Python | tools/console/plugins/plugin_run/__init__.py | rh101/engine-x | 17ad9829dd410c689857760b6ece89d99e877a95 | [
"MIT"
] | 113 | 2020-02-25T03:19:32.000Z | 2021-05-17T09:15:40.000Z | tools/console/plugins/plugin_run/__init__.py | rh101/engine-x | 17ad9829dd410c689857760b6ece89d99e877a95 | [
"MIT"
] | 172 | 2020-02-21T08:56:42.000Z | 2021-05-12T03:18:40.000Z | tools/console/plugins/plugin_run/__init__.py | rh101/engine-x | 17ad9829dd410c689857760b6ece89d99e877a95 | [
"MIT"
] | 62 | 2020-02-23T14:10:16.000Z | 2021-05-14T13:53:19.000Z | from .project_run import CCPluginRun
| 12.666667 | 36 | 0.842105 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 2 | 37 | 19 | 0.939394 | 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 |
bb87102c3547dedc2d87b2626aedaf52bbd9e1e6 | 29 | py | Python | gpsfluxlite/__init__.py | iotfablab/gpsfluxlite | 20b1c1b6b3873caabe556d41ede4c2ef912371c2 | [
"MIT"
] | null | null | null | gpsfluxlite/__init__.py | iotfablab/gpsfluxlite | 20b1c1b6b3873caabe556d41ede4c2ef912371c2 | [
"MIT"
] | 1 | 2020-09-14T15:44:33.000Z | 2020-09-17T12:51:41.000Z | gpsfluxlite/__init__.py | iotfablab/gpsfluxlite | 20b1c1b6b3873caabe556d41ede4c2ef912371c2 | [
"MIT"
] | null | null | null | from .gpsfluxlite import main | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb972d51d85aa77bbf590d3be3a1b7df23b26c03 | 27 | py | Python | bugzoo/cli/__init__.py | pdreiter/BugZoo | e164ee67ff8bd3addfcc87b5e38ff1774992196b | [
"MIT"
] | 53 | 2017-12-02T03:22:06.000Z | 2022-03-10T22:20:52.000Z | bugzoo/cli/__init__.py | pdreiter/BugZoo | e164ee67ff8bd3addfcc87b5e38ff1774992196b | [
"MIT"
] | 145 | 2017-11-29T23:23:06.000Z | 2020-09-17T22:17:44.000Z | bugzoo/cli/__init__.py | pdreiter/BugZoo | e164ee67ff8bd3addfcc87b5e38ff1774992196b | [
"MIT"
] | 8 | 2018-06-26T17:58:49.000Z | 2021-09-07T14:03:41.000Z | from .app import BugZooCLI
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb9b615f3bedfdcc8272600ce8653587b1ded5a7 | 2,366 | py | Python | calculator/domain/reward.py | Remmeauth/block-producer-calculator-back | 4e18437217044434a57c37eb2f90bded9c76a691 | [
"MIT"
] | null | null | null | calculator/domain/reward.py | Remmeauth/block-producer-calculator-back | 4e18437217044434a57c37eb2f90bded9c76a691 | [
"MIT"
] | null | null | null | calculator/domain/reward.py | Remmeauth/block-producer-calculator-back | 4e18437217044434a57c37eb2f90bded9c76a691 | [
"MIT"
] | 1 | 2019-11-08T14:50:39.000Z | 2019-11-08T14:50:39.000Z | """
Provide implementation of the reward.
"""
from calculator.domain.block import (
BlockProducer,
BlockReward,
)
from calculator.domain.economy import Economy
class BlockProducerReward:
"""
Implements block producer reward.
"""
def __init__(self, economy: Economy, block_reward: BlockReward, ... | 31.546667 | 107 | 0.668216 | 266 | 2,366 | 5.62782 | 0.154135 | 0.173681 | 0.11356 | 0.04008 | 0.865731 | 0.860387 | 0.827655 | 0.804275 | 0.758851 | 0.712091 | 0 | 0.002242 | 0.245985 | 2,366 | 74 | 108 | 31.972973 | 0.836883 | 0.1306 | 0 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.060606 | 0 | 0.424242 | 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 |
bbb9c0f528b1ee827a0d8f94596a83de2ff9582c | 1,827 | py | Python | applications/physbam/physbam-lib/Scripts/Archives/pd/common/CONNECT.py | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | applications/physbam/physbam-lib/Scripts/Archives/pd/common/CONNECT.py | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | applications/physbam/physbam-lib/Scripts/Archives/pd/common/CONNECT.py | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | from pd.common import SOCKET
from pd.common import CONFIG
def host_client():
print "HOST CLIENT IS OBSOLETE"
sys.exit(1)
return SOCKET.CLIENT(CONFIG.pdhosts_server_host,CONFIG.pdhosts_server_port,
(CONFIG.client_private_key_file,CONFIG.client_certificate_file,CONFIG.ca_certificate_file))
def... | 49.378378 | 177 | 0.792556 | 250 | 1,827 | 5.448 | 0.18 | 0.123348 | 0.105727 | 0.123348 | 0.767254 | 0.767254 | 0.767254 | 0.746696 | 0.735683 | 0.735683 | 0 | 0.008 | 0.110564 | 1,827 | 36 | 178 | 50.75 | 0.830154 | 0.340449 | 0 | 0.272727 | 0 | 0 | 0.104428 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.136364 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bbc19906189c277df43bd9ac12743a0a5b6660ca | 560 | py | Python | sourced/ml/models/__init__.py | vmarkovtsev/ml | 22699b2f44901b84507d15e732003955024e6755 | [
"Apache-2.0"
] | 122 | 2017-11-15T15:19:19.000Z | 2022-03-23T13:36:34.000Z | sourced/ml/models/__init__.py | vmarkovtsev/ml | 22699b2f44901b84507d15e732003955024e6755 | [
"Apache-2.0"
] | 176 | 2017-11-14T18:11:21.000Z | 2019-05-16T04:12:31.000Z | sourced/ml/models/__init__.py | vmarkovtsev/ml | 22699b2f44901b84507d15e732003955024e6755 | [
"Apache-2.0"
] | 58 | 2017-11-14T18:07:08.000Z | 2021-01-28T11:41:21.000Z | # flake8: noqa
from sourced.ml.models.bow import BOW
from sourced.ml.models.coocc import Cooccurrences
from sourced.ml.models.df import DocumentFrequencies
from sourced.ml.models.ordered_df import OrderedDocumentFrequencies
from sourced.ml.models.id2vec import Id2Vec
from sourced.ml.models.tensorflow import TensorFlowM... | 43.076923 | 68 | 0.860714 | 79 | 560 | 6.037975 | 0.316456 | 0.230608 | 0.272537 | 0.398323 | 0.163522 | 0.163522 | 0.163522 | 0 | 0 | 0 | 0 | 0.005814 | 0.078571 | 560 | 12 | 69 | 46.666667 | 0.918605 | 0.021429 | 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 |
a530360d05ae2e0a216ec0f8e2e1ba1934479b92 | 18,274 | py | Python | twiker/modules/twiker_cli.py | Twiker-Bot/twiker | ae39c4527d886913a137f1eea23cef467071022b | [
"MIT"
] | 2 | 2021-09-23T18:24:12.000Z | 2021-09-23T21:14:21.000Z | twiker/modules/twiker_cli.py | Twiker-Bot/twiker | ae39c4527d886913a137f1eea23cef467071022b | [
"MIT"
] | 1 | 2021-09-26T15:12:52.000Z | 2021-09-27T13:36:00.000Z | twiker/modules/twiker_cli.py | Twiker-Bot/twiker | ae39c4527d886913a137f1eea23cef467071022b | [
"MIT"
] | 1 | 2021-09-27T05:46:19.000Z | 2021-09-27T05:46:19.000Z | # -*- coding: utf-8 -*-
"""
MIT License
Copyright (c) 2021 The Knight All rights reserved.
==========================
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includin... | 31.891798 | 121 | 0.488563 | 1,968 | 18,274 | 4.444614 | 0.122967 | 0.032811 | 0.053504 | 0.08643 | 0.816966 | 0.810792 | 0.810792 | 0.810792 | 0.810792 | 0.810792 | 0 | 0.001195 | 0.404454 | 18,274 | 572 | 122 | 31.947552 | 0.802536 | 0.454526 | 0 | 0.311258 | 0 | 0 | 0.140407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013245 | false | 0 | 0.019868 | 0 | 0.039735 | 0.05298 | 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 |
3c4da2d5f1537dffc6cc06e6bd787f8beab5bec3 | 127 | py | Python | src/wishlist/admin.py | lgandersen/bornhack-website | fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df | [
"BSD-3-Clause"
] | 7 | 2017-04-14T15:28:29.000Z | 2021-09-10T09:45:38.000Z | src/wishlist/admin.py | lgandersen/bornhack-website | fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df | [
"BSD-3-Clause"
] | 799 | 2016-04-28T09:31:50.000Z | 2022-03-29T09:05:02.000Z | src/wishlist/admin.py | lgandersen/bornhack-website | fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df | [
"BSD-3-Clause"
] | 35 | 2016-04-28T09:23:53.000Z | 2021-05-02T12:36:01.000Z | from django.contrib import admin
from .models import Wish
@admin.register(Wish)
class WishAdmin(admin.ModelAdmin):
pass
| 14.111111 | 34 | 0.771654 | 17 | 127 | 5.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149606 | 127 | 8 | 35 | 15.875 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 |
3c52ae10dd2dc20c4fdb75058864b2b50453cb3e | 2,286 | py | Python | seviceLayer/core/ServiceProvider.py | arashmjr/ClubHouseFollowers | bcb4d020879bb0f0887dc4bc285793f294a670f7 | [
"MIT"
] | null | null | null | seviceLayer/core/ServiceProvider.py | arashmjr/ClubHouseFollowers | bcb4d020879bb0f0887dc4bc285793f294a670f7 | [
"MIT"
] | null | null | null | seviceLayer/core/ServiceProvider.py | arashmjr/ClubHouseFollowers | bcb4d020879bb0f0887dc4bc285793f294a670f7 | [
"MIT"
] | null | null | null | from repository.core.RepositoryProvider import RepositoryProvider
from seviceLayer.SaveUserService import SaveUserService
from seviceLayer.SuggestionService import SuggestionService
from seviceLayer.SaveOrderService import SaveOrderService
from seviceLayer.UserFollowService import UserFollowService
from seviceLayer.Man... | 41.563636 | 124 | 0.769029 | 227 | 2,286 | 7.46696 | 0.185022 | 0.159292 | 0.181711 | 0.168732 | 0.334513 | 0.329794 | 0.329794 | 0.305605 | 0.305605 | 0.21003 | 0 | 0 | 0.168416 | 2,286 | 54 | 125 | 42.333333 | 0.891636 | 0 | 0 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0.078947 | 0.263158 | 0.236842 | 0.842105 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
3c678c1a21caee1448e5684d284e43860d4ff783 | 3,332 | py | Python | ml-prediction/Gene.py | Bin-Chen-Lab/covid19_sex | b593ed877b4868278c4546280d05572d0d6addb9 | [
"MIT"
] | null | null | null | ml-prediction/Gene.py | Bin-Chen-Lab/covid19_sex | b593ed877b4868278c4546280d05572d0d6addb9 | [
"MIT"
] | null | null | null | ml-prediction/Gene.py | Bin-Chen-Lab/covid19_sex | b593ed877b4868278c4546280d05572d0d6addb9 | [
"MIT"
] | null | null | null | from __future__ import print_function
import os
import os.path
import numpy as np
import sys
if sys.version_info[0] == 2:
import cPickle as pickle
else:
import pickle
import torch.utils.data as data
import random
import pickle as pkl
class Gene(data.Dataset):
# define train(test)_data, train(test)_label
... | 32.349515 | 147 | 0.626351 | 500 | 3,332 | 3.918 | 0.19 | 0.101072 | 0.039816 | 0.024502 | 0.858601 | 0.803471 | 0.803471 | 0.803471 | 0.775906 | 0.733027 | 0 | 0.022932 | 0.267107 | 3,332 | 102 | 148 | 32.666667 | 0.779279 | 0.191477 | 0 | 0.5 | 0 | 0 | 0.015498 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.185185 | 0 | 0.444444 | 0.018519 | 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 |
3c73cf9708156bc9266c33ac1d05a7cc4853c928 | 188 | py | Python | src/biopsykit/signals/ecg/__init__.py | Zwitscherle/BioPsyKit | 7200c5f1be75c20f53e1eb4c991aca1c89e3dd88 | [
"MIT"
] | 10 | 2020-11-05T13:34:55.000Z | 2022-03-11T16:20:10.000Z | src/biopsykit/signals/ecg/__init__.py | Zwitscherle/BioPsyKit | 7200c5f1be75c20f53e1eb4c991aca1c89e3dd88 | [
"MIT"
] | 14 | 2021-03-11T14:43:52.000Z | 2022-03-10T19:44:57.000Z | src/biopsykit/signals/ecg/__init__.py | Zwitscherle/BioPsyKit | 7200c5f1be75c20f53e1eb4c991aca1c89e3dd88 | [
"MIT"
] | 3 | 2021-09-13T13:14:38.000Z | 2022-02-19T09:13:25.000Z | """Module for ECG data analysis and visualization."""
from biopsykit.signals.ecg import plotting
from biopsykit.signals.ecg.ecg import EcgProcessor
__all__ = ["EcgProcessor", "plotting"]
| 31.333333 | 53 | 0.787234 | 23 | 188 | 6.26087 | 0.608696 | 0.180556 | 0.277778 | 0.319444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 188 | 5 | 54 | 37.6 | 0.857143 | 0.25 | 0 | 0 | 0 | 0 | 0.148148 | 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 |
3c8f77503aab9d09a54763330f52144bcf52fd05 | 26 | py | Python | gevent_viz/__init__.py | sdiehl/gevent_viz | b3854036e273826a3f48c1f253c8655d86a5a6a1 | [
"Apache-2.0"
] | 1 | 2020-03-31T09:41:27.000Z | 2020-03-31T09:41:27.000Z | gevent_viz/__init__.py | sdiehl/gevent_viz | b3854036e273826a3f48c1f253c8655d86a5a6a1 | [
"Apache-2.0"
] | null | null | null | gevent_viz/__init__.py | sdiehl/gevent_viz | b3854036e273826a3f48c1f253c8655d86a5a6a1 | [
"Apache-2.0"
] | null | null | null | from profiler import main
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
b1c09a18c87efd5a15af408a693514641f082cae | 8,177 | py | Python | grinpy/invariants/disparity.py | somacdivad/grinpy | 597f9109b84f1c1aa8c8dd2ac5b572a05ba474de | [
"BSD-3-Clause"
] | 12 | 2019-08-27T11:04:09.000Z | 2022-03-03T07:38:42.000Z | grinpy/invariants/disparity.py | somacdivad/grinpy | 597f9109b84f1c1aa8c8dd2ac5b572a05ba474de | [
"BSD-3-Clause"
] | 18 | 2017-12-03T20:20:11.000Z | 2019-07-07T18:04:54.000Z | grinpy/invariants/disparity.py | somacdivad/grinpy | 597f9109b84f1c1aa8c8dd2ac5b572a05ba474de | [
"BSD-3-Clause"
] | 5 | 2017-11-28T22:43:05.000Z | 2021-07-02T08:48:43.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2017-2019 by
# David Amos <somacdivad@gmail.com>
# Randy Davila <davilar@uhd.edu>
# BSD license.
#
# Authors: David Amos <somacdivad@gmail.com>
# Randy Davila <davilar@uhd.edu>
"""Functions for computing disparity related invariants.
"""
from grinpy import ... | 21.805333 | 93 | 0.606457 | 1,115 | 8,177 | 4.333632 | 0.103139 | 0.059189 | 0.057947 | 0.062914 | 0.874379 | 0.840646 | 0.780215 | 0.703642 | 0.663079 | 0.632864 | 0 | 0.005888 | 0.273083 | 8,177 | 374 | 94 | 21.863636 | 0.807032 | 0.644858 | 0 | 0.258065 | 0 | 0 | 0.124502 | 0.063247 | 0 | 0 | 0 | 0 | 0 | 1 | 0.209677 | false | 0 | 0.032258 | 0 | 0.451613 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1d4eaf9cd021211dbbe985eaac3a7e5ef80d7b6 | 61 | py | Python | srcipts/test/1.py | GerasimovRM/Where-I-Am | 58f6f0d1533421890f199dacabe523a447486b9f | [
"MIT"
] | null | null | null | srcipts/test/1.py | GerasimovRM/Where-I-Am | 58f6f0d1533421890f199dacabe523a447486b9f | [
"MIT"
] | null | null | null | srcipts/test/1.py | GerasimovRM/Where-I-Am | 58f6f0d1533421890f199dacabe523a447486b9f | [
"MIT"
] | null | null | null | from models import db_session
from models.user import User
| 12.2 | 29 | 0.819672 | 10 | 61 | 4.9 | 0.6 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 61 | 4 | 30 | 15.25 | 0.960784 | 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 |
5901cca66ee6da5fe9b3c270d056040c30e041b9 | 43 | py | Python | 02/00/lookup.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | 02/00/lookup.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | 32 | 2017-09-01T00:52:17.000Z | 2017-10-01T00:30:02.000Z | 02/00/lookup.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | import codecs
print(codecs.lookup('utf'))
| 10.75 | 27 | 0.744186 | 6 | 43 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 3 | 28 | 14.333333 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
592a58e78abb16eb01f8e3779e0bad9296c60a13 | 88 | py | Python | covidprognosis/__init__.py | OAfzal/CovidPrognosis | 1b5b4d0d712b8fee94279df02a634b61d6d5a3a0 | [
"MIT"
] | 151 | 2021-01-13T19:50:19.000Z | 2022-03-30T07:16:10.000Z | covidprognosis/__init__.py | OAfzal/CovidPrognosis | 1b5b4d0d712b8fee94279df02a634b61d6d5a3a0 | [
"MIT"
] | 14 | 2021-01-29T15:11:07.000Z | 2022-01-28T04:34:03.000Z | covidprognosis/__init__.py | OAfzal/CovidPrognosis | 1b5b4d0d712b8fee94279df02a634b61d6d5a3a0 | [
"MIT"
] | 35 | 2021-01-15T21:21:50.000Z | 2022-01-17T06:17:04.000Z | import covidprognosis.data
import covidprognosis.models
import covidprognosis.plmodules
| 22 | 31 | 0.897727 | 9 | 88 | 8.777778 | 0.555556 | 0.759494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 88 | 3 | 32 | 29.333333 | 0.963415 | 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 |
a7172cd70067bd762fb24b59583f8702198d4031 | 281 | py | Python | pyinstaller_config/hook-pygsp.py | damianfraszczak/rpasdt | 57039dea485f89d97aafc39ea52f595e35633826 | [
"MIT"
] | 2 | 2021-09-10T07:43:07.000Z | 2021-09-10T07:44:54.000Z | pyinstaller_config/hook-pygsp.py | damianfraszczak/rpasdt | 57039dea485f89d97aafc39ea52f595e35633826 | [
"MIT"
] | null | null | null | pyinstaller_config/hook-pygsp.py | damianfraszczak/rpasdt | 57039dea485f89d97aafc39ea52f595e35633826 | [
"MIT"
] | 2 | 2022-01-17T14:47:49.000Z | 2022-02-14T10:28:45.000Z | from PyInstaller.utils.hooks import collect_submodules
hiddenimports = collect_submodules("pygsp")
hiddenimports.extend(collect_submodules("pygsp.graphs"))
hiddenimports.extend(collect_submodules("pygsp.filters"))
hiddenimports.extend(collect_submodules("pygsp.graphs.nngraphs"))
| 40.142857 | 65 | 0.846975 | 30 | 281 | 7.766667 | 0.433333 | 0.364807 | 0.377682 | 0.463519 | 0.579399 | 0.403433 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039146 | 281 | 6 | 66 | 46.833333 | 0.862963 | 0 | 0 | 0 | 0 | 0 | 0.181495 | 0.074733 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
599bea54f5b5b6f1f3735b613f4309a327cbb75c | 130 | py | Python | dockerEE/element/__init__.py | ynaka81/dockerEE | bcbf01bfa9149d9bedf8d6105a050fb8cd0d47a2 | [
"MIT"
] | null | null | null | dockerEE/element/__init__.py | ynaka81/dockerEE | bcbf01bfa9149d9bedf8d6105a050fb8cd0d47a2 | [
"MIT"
] | 1 | 2015-09-24T22:12:13.000Z | 2015-09-25T13:02:21.000Z | dockerEE/element/__init__.py | ynaka81/dockerEE | bcbf01bfa9149d9bedf8d6105a050fb8cd0d47a2 | [
"MIT"
] | null | null | null | ## @package element
# environment emulation elements package
#
# The elements of environment emulation
from server import Server
| 18.571429 | 40 | 0.8 | 15 | 130 | 6.933333 | 0.666667 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 130 | 6 | 41 | 21.666667 | 0.945455 | 0.715385 | 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 |
59ac19e0de75bcaece78f40472a72d1a22aed483 | 26,209 | py | Python | src/cmudict_parser/SentenceToIPA.tests.py | stefantaubert/cmudict-parser | 8f5d1b191a41929f1ce8c7acf391c23c08d2be15 | [
"MIT"
] | null | null | null | src/cmudict_parser/SentenceToIPA.tests.py | stefantaubert/cmudict-parser | 8f5d1b191a41929f1ce8c7acf391c23c08d2be15 | [
"MIT"
] | 14 | 2020-12-01T08:45:16.000Z | 2021-06-01T08:00:39.000Z | src/cmudict_parser/SentenceToIPA.tests.py | stefantaubert/cmudict-parser | 8f5d1b191a41929f1ce8c7acf391c23c08d2be15 | [
"MIT"
] | null | null | null | import unittest
from cmudict_parser.SentenceToIPA import (
big_letters_to_ipa,
extract_punctuation_after_word_except_hyphen_or_apostrophe,
extract_punctuation_before_word,
find_combination_of_certain_length_in_dict, get_ipa_of_word_in_sentence,
get_ipa_of_word_with_punctuation,
get_ipa_of_word_... | 41.339117 | 248 | 0.727231 | 3,874 | 26,209 | 4.337377 | 0.052659 | 0.091948 | 0.022377 | 0.026424 | 0.880081 | 0.859965 | 0.824912 | 0.800869 | 0.764268 | 0.725882 | 0 | 0.004119 | 0.138617 | 26,209 | 633 | 249 | 41.404423 | 0.740167 | 0.034492 | 0 | 0.52506 | 0 | 0 | 0.068268 | 0.000871 | 0 | 0 | 0 | 0 | 0.250597 | 1 | 0.162291 | false | 0 | 0.004773 | 0 | 0.169451 | 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 |
ab68627c73944518e4c0add27c29a3a4d2a371d7 | 502 | py | Python | roi/__init__.py | Tianxiaomo/ROI | 8422716605f846c6f4276051a9738cb6c162611d | [
"Apache-2.0"
] | 2 | 2020-04-03T08:34:11.000Z | 2021-05-31T07:15:19.000Z | roi/__init__.py | Tianxiaomo/ROI | 8422716605f846c6f4276051a9738cb6c162611d | [
"Apache-2.0"
] | null | null | null | roi/__init__.py | Tianxiaomo/ROI | 8422716605f846c6f4276051a9738cb6c162611d | [
"Apache-2.0"
] | null | null | null | from .layers import FrozenBatchNorm2d, get_norm, NaiveSyncBatchNorm
from .layers import DeformConv, ModulatedDeformConv
from .layers import paste_masks_in_image
from .layers import batched_nms, batched_nms_rotated, nms, nms_rotated
from .layers import ROIAlign, roi_align
from .layers import ROIAlignRotated, roi_align_r... | 50.2 | 74 | 0.858566 | 63 | 502 | 6.619048 | 0.444444 | 0.215827 | 0.345324 | 0.110312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00883 | 0.09761 | 502 | 9 | 75 | 55.777778 | 0.9117 | 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 | 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 |
aba767ef8b8d1718f2c1d36719db617232e10c48 | 7,548 | py | Python | tests/autodiff_test.py | wffpy/tinyflow-1 | f85a47f1b621036d3f5663b731e4451bf6233862 | [
"MIT"
] | 29 | 2020-05-01T12:10:53.000Z | 2022-03-14T07:48:24.000Z | tests/autodiff_test.py | wffpy/tinyflow-1 | f85a47f1b621036d3f5663b731e4451bf6233862 | [
"MIT"
] | 1 | 2021-04-07T05:55:49.000Z | 2021-12-20T07:36:54.000Z | tests/autodiff_test.py | wffpy/tinyflow-1 | f85a47f1b621036d3f5663b731e4451bf6233862 | [
"MIT"
] | 12 | 2020-09-27T07:07:15.000Z | 2022-03-09T07:55:30.000Z | from tinyflow import autodiff as ad
import numpy as np
def test_identity():
x2 = ad.Variable(name="x2")
y = x2
grad_x2, = ad.gradients(y, [x2])
executor = ad.Executor([y, grad_x2])
x2_val = 2 * np.ones(3)
y_val, grad_x2_val = executor.run(feed_dict={x2: x2_val})
assert isinstance(y, ad.... | 30.808163 | 111 | 0.65461 | 1,389 | 7,548 | 3.238301 | 0.048956 | 0.094486 | 0.092486 | 0.128057 | 0.83815 | 0.814584 | 0.770787 | 0.740551 | 0.705647 | 0.694976 | 0 | 0.070904 | 0.205882 | 7,548 | 245 | 112 | 30.808163 | 0.679513 | 0.000927 | 0 | 0.444444 | 0 | 0 | 0.006367 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 1 | 0.072222 | false | 0 | 0.011111 | 0 | 0.083333 | 0.022222 | 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 |
e6663e9ef3a6a1f1bf91e0b5ba0b646a83f99bf2 | 102 | py | Python | es_cal/gcal/__init__.py | dli-invest/earnings-ipos-stock-calendar | 056729f507e3da19f164e84797bf5a89fbc4fefc | [
"BSL-1.0"
] | null | null | null | es_cal/gcal/__init__.py | dli-invest/earnings-ipos-stock-calendar | 056729f507e3da19f164e84797bf5a89fbc4fefc | [
"BSL-1.0"
] | 5 | 2021-08-04T03:40:39.000Z | 2022-03-08T03:57:48.000Z | es_cal/gcal/__init__.py | dli-invest/earnings-ipos-stock-calendar | 056729f507e3da19f164e84797bf5a89fbc4fefc | [
"BSL-1.0"
] | 1 | 2020-12-03T04:09:23.000Z | 2020-12-03T04:09:23.000Z | from es_cal.gcal.main import get_service, make_event_in_gcal
from es_cal.gcal.utils import decode_json | 51 | 60 | 0.872549 | 20 | 102 | 4.1 | 0.7 | 0.146341 | 0.219512 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 2 | 61 | 51 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0501882c8f6b444e815b38b43a8852bb2f2cc512 | 31 | py | Python | model/__init__.py | Antonioxv/zi2zi-Pytorch-Implmentation | 238f91c3784644dc9b68f6e64f5cd2b0b5ffac86 | [
"Apache-2.0"
] | 1 | 2022-02-21T09:12:07.000Z | 2022-02-21T09:12:07.000Z | model/__init__.py | Antonioxv/zi2zi-Pytorch-Implmentation | 238f91c3784644dc9b68f6e64f5cd2b0b5ffac86 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | Antonioxv/zi2zi-Pytorch-Implmentation | 238f91c3784644dc9b68f6e64f5cd2b0b5ffac86 | [
"Apache-2.0"
] | null | null | null | from .model_torch import Zi2Zi
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
051cbe293d250be393f2d81b105cd330082c2dc5 | 32 | py | Python | NER/loss/__init__.py | xueshang-liulp/diaKG-code | 5dd3e5f5060bec94c7508efb76aa25672c685b8c | [
"Apache-2.0"
] | 10 | 2021-06-07T10:45:24.000Z | 2022-03-01T13:22:29.000Z | NER/loss/__init__.py | xueshang-liulp/diaKG-code | 5dd3e5f5060bec94c7508efb76aa25672c685b8c | [
"Apache-2.0"
] | 2 | 2021-12-03T07:31:30.000Z | 2022-03-01T07:46:53.000Z | NER/loss/__init__.py | xueshang-liulp/diaKG-code | 5dd3e5f5060bec94c7508efb76aa25672c685b8c | [
"Apache-2.0"
] | 8 | 2021-06-04T05:25:18.000Z | 2022-02-10T05:59:24.000Z | from .dice_loss import DiceLoss
| 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 |
054ce2905e622a39954de49149e2837aaf0623ec | 119 | py | Python | Python3/ProgramacaoFuncional/PrimeiroExemplo.py | arthursiq5/programacao-progressiva | 2ec91602a6f37c93b99e6a92239045cd1c4cef6b | [
"MIT"
] | null | null | null | Python3/ProgramacaoFuncional/PrimeiroExemplo.py | arthursiq5/programacao-progressiva | 2ec91602a6f37c93b99e6a92239045cd1c4cef6b | [
"MIT"
] | null | null | null | Python3/ProgramacaoFuncional/PrimeiroExemplo.py | arthursiq5/programacao-progressiva | 2ec91602a6f37c93b99e6a92239045cd1c4cef6b | [
"MIT"
] | null | null | null | def apply_twice(func, arg):
return func(func(arg))
def add_five(x):
return x + 5
print(apply_twice(add_five, 10))
| 13.222222 | 32 | 0.705882 | 22 | 119 | 3.636364 | 0.545455 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.151261 | 119 | 8 | 33 | 14.875 | 0.762376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
05595ef43400635cd0c7ff72b9e3d904345928fd | 32 | py | Python | services/sidecar/tests/integration/mock/osparc_python_sample.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 25 | 2018-04-13T12:44:12.000Z | 2022-03-12T15:01:17.000Z | services/sidecar/tests/integration/mock/osparc_python_sample.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 2,553 | 2018-01-18T17:11:55.000Z | 2022-03-31T16:26:40.000Z | services/sidecar/tests/integration/mock/osparc_python_sample.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 20 | 2018-01-18T19:45:33.000Z | 2022-03-29T07:08:47.000Z | print("Hello from the Python!")
| 16 | 31 | 0.71875 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
05600d98bef263ed0ca8012eb92d15477ffb3f58 | 41 | py | Python | features_fixer/__init__.py | LudwikBielczynski/features_fixer | 43114e3d986265a1e6e34644d3734a361d3fa926 | [
"MIT"
] | null | null | null | features_fixer/__init__.py | LudwikBielczynski/features_fixer | 43114e3d986265a1e6e34644d3734a361d3fa926 | [
"MIT"
] | null | null | null | features_fixer/__init__.py | LudwikBielczynski/features_fixer | 43114e3d986265a1e6e34644d3734a361d3fa926 | [
"MIT"
] | null | null | null | from .features_fixer import FeaturesFixer | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0569daad73f4a1f3835074258efbe5a0e3204142 | 69,541 | py | Python | sample/controller/commands.py | dsuarezgarcia/freecomet | a09e86ca94957660c70269230e578f0c670775c2 | [
"MIT"
] | null | null | null | sample/controller/commands.py | dsuarezgarcia/freecomet | a09e86ca94957660c70269230e578f0c670775c2 | [
"MIT"
] | null | null | null | sample/controller/commands.py | dsuarezgarcia/freecomet | a09e86ca94957660c70269230e578f0c670775c2 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
'''
The commands module.
'''
# General imports
import copy
# Custom imports
import sample.model.utils as utils
from sample.model.canvas_model import CanvasModel, SelectedDelimiterPoint
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ #
# ... | 37.029286 | 139 | 0.516573 | 6,034 | 69,541 | 5.416639 | 0.036957 | 0.050177 | 0.055868 | 0.032554 | 0.829244 | 0.78745 | 0.748837 | 0.710745 | 0.67969 | 0.634561 | 0 | 0.000046 | 0.375304 | 69,541 | 1,878 | 140 | 37.029286 | 0.752313 | 0.263744 | 0 | 0.67664 | 0 | 0 | 0.00134 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227848 | false | 0 | 0.003452 | 0.073648 | 0.337169 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05862edd87b9eebed296000298c34c77c58674df | 513 | py | Python | src/command/help.py | Heisenberk/Calendar | 79db33ac5a1dac5dcdab44b0032352440b0cdb6b | [
"MIT"
] | null | null | null | src/command/help.py | Heisenberk/Calendar | 79db33ac5a1dac5dcdab44b0032352440b0cdb6b | [
"MIT"
] | null | null | null | src/command/help.py | Heisenberk/Calendar | 79db33ac5a1dac5dcdab44b0032352440b0cdb6b | [
"MIT"
] | null | null | null |
# Function to print help
def printHelp():
print("\033[1m- \033[32mcalendar -h/--help \033[0m\033[39m : for help")
print("\033[1m- \033[32mcalendar -a/--add \"Title\" \"Content\" YYYY/MM/DD \033[0m\033[39m : to add a new event")
print("\033[1m- \033[32mcalendar -v/--view \033[0m\033[39m : to see all events")
print(... | 51.3 | 114 | 0.662768 | 90 | 513 | 3.777778 | 0.377778 | 0.117647 | 0.147059 | 0.191176 | 0.582353 | 0.294118 | 0.123529 | 0.123529 | 0 | 0 | 0 | 0.2 | 0.122807 | 513 | 9 | 115 | 57 | 0.555556 | 0.042885 | 0 | 0 | 0 | 0.5 | 0.796715 | 0.051335 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e972ade3e5948c8e8a82028f5bb59aeeeadf8675 | 46 | py | Python | traclinks/__init__.py | kzhamaji/TracLinksPlugin | 8a7e7765859c3f192d5feb2b6602c6a5150ffc7c | [
"BSD-3-Clause"
] | null | null | null | traclinks/__init__.py | kzhamaji/TracLinksPlugin | 8a7e7765859c3f192d5feb2b6602c6a5150ffc7c | [
"BSD-3-Clause"
] | null | null | null | traclinks/__init__.py | kzhamaji/TracLinksPlugin | 8a7e7765859c3f192d5feb2b6602c6a5150ffc7c | [
"BSD-3-Clause"
] | null | null | null | from traclinks import * # @UnresolvedImport
| 23 | 45 | 0.76087 | 4 | 46 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 1 | 46 | 46 | 0.921053 | 0.369565 | 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 |
e98d4dc9736b02f08e5857f99b17b4a6f67f216c | 29 | py | Python | hello_world.py | codesworth/profiles-rest-api | a9d35c6bdd747d5bb4781ff8914db3f569101bbc | [
"MIT"
] | null | null | null | hello_world.py | codesworth/profiles-rest-api | a9d35c6bdd747d5bb4781ff8914db3f569101bbc | [
"MIT"
] | null | null | null | hello_world.py | codesworth/profiles-rest-api | a9d35c6bdd747d5bb4781ff8914db3f569101bbc | [
"MIT"
] | null | null | null | print("Hello Backedn Wordl")
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 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 |
e9c13755ad8403e8d0786111f855b6b3f7010cfd | 73 | py | Python | experiments/thompson_abstraction_optimisation_experiments.py | act65/mdps | 59f35467baa83b953ccdac5290acfcc31f33fd28 | [
"MIT"
] | null | null | null | experiments/thompson_abstraction_optimisation_experiments.py | act65/mdps | 59f35467baa83b953ccdac5290acfcc31f33fd28 | [
"MIT"
] | null | null | null | experiments/thompson_abstraction_optimisation_experiments.py | act65/mdps | 59f35467baa83b953ccdac5290acfcc31f33fd28 | [
"MIT"
] | null | null | null | import numpy as np
import numpy.random as rnd
import mdp.utils as utils
| 14.6 | 26 | 0.794521 | 14 | 73 | 4.142857 | 0.571429 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 73 | 4 | 27 | 18.25 | 0.966667 | 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 |
2f0206896eb2154b3270ecdb9ddbdc2a3737f8f3 | 166 | py | Python | admin_views/templatetags/admin_views_extras.py | massover/django-admin-views | cf8097f88dab72a4b8664addacdf9fa4c1649565 | [
"MIT"
] | null | null | null | admin_views/templatetags/admin_views_extras.py | massover/django-admin-views | cf8097f88dab72a4b8664addacdf9fa4c1649565 | [
"MIT"
] | null | null | null | admin_views/templatetags/admin_views_extras.py | massover/django-admin-views | cf8097f88dab72a4b8664addacdf9fa4c1649565 | [
"MIT"
] | null | null | null | from django import template
from admin_views import router
register = template.Library()
@register.simple_tag
def get_admin_views():
return router.admin_views
| 16.6 | 30 | 0.801205 | 23 | 166 | 5.565217 | 0.608696 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138554 | 166 | 9 | 31 | 18.444444 | 0.895105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f99a58ff1006d53cf4b91f2209efdfca6800fcc2 | 2,674 | py | Python | epytope/Data/pssms/smm/mat/B_07_02_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/B_07_02_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/B_07_02_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_07_02_11 = {0: {'A': 0.004, 'C': 0.0, 'E': -0.172, 'D': 0.0, 'G': -0.596, 'F': 0.067, 'I': 0.089, 'H': 0.335, 'K': -0.039, 'M': 0.232, 'L': -0.046, 'N': 0.294, 'Q': 0.429, 'P': 0.09, 'S': -0.407, 'R': -0.168, 'T': 0.009, 'W': 0.0, 'V': -0.001, 'Y': -0.12}, 1: {'A': -0.244, 'C': 0.054, 'E': 0.037, 'D': 0.379, 'G': 0.0... | 2,674 | 2,674 | 0.372102 | 679 | 2,674 | 1.460972 | 0.204713 | 0.122984 | 0.018145 | 0.024194 | 0.305444 | 0.139113 | 0.139113 | 0.139113 | 0.102823 | 0.075605 | 0 | 0.346102 | 0.170157 | 2,674 | 1 | 2,674 | 2,674 | 0.100946 | 0 | 0 | 0 | 0 | 0 | 0.083364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f9dd90cb923c1317d55870c0d443e5ddc0a7e5ed | 2,761 | py | Python | libsaas/services/twilio/queues.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 155 | 2015-01-27T15:17:59.000Z | 2022-02-20T00:14:08.000Z | libsaas/services/twilio/queues.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 14 | 2015-01-12T08:22:37.000Z | 2021-06-16T19:49:31.000Z | libsaas/services/twilio/queues.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 43 | 2015-01-28T22:41:45.000Z | 2021-09-21T04:44:26.000Z | from libsaas import http, parsers
from libsaas.services import base
from libsaas.services.twilio import resource
class MembersBase(resource.TwilioResource):
path = 'Members'
def create(self, *args, **kwargs):
raise base.MethodNotSupported()
def delete(self, *args, **kwargs):
raise base... | 25.803738 | 76 | 0.625498 | 331 | 2,761 | 5.199396 | 0.271903 | 0.027891 | 0.048809 | 0.066241 | 0.723998 | 0.723998 | 0.723998 | 0.718187 | 0.683905 | 0.683905 | 0 | 0.007089 | 0.284679 | 2,761 | 106 | 77 | 26.04717 | 0.864304 | 0.351684 | 0 | 0.55 | 0 | 0 | 0.012362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.025 | 0.075 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fb00b5ac09f3915f2cf2549396c3e16cf41eb938 | 66 | py | Python | malaya/train/model/__init__.py | ahmed3991/malaya | d90be6d5b2a1393a3f8b8b1ffa8ae676cdaa083c | [
"MIT"
] | 1 | 2021-03-19T22:42:34.000Z | 2021-03-19T22:42:34.000Z | malaya/train/model/__init__.py | ahmed3991/malaya | d90be6d5b2a1393a3f8b8b1ffa8ae676cdaa083c | [
"MIT"
] | null | null | null | malaya/train/model/__init__.py | ahmed3991/malaya | d90be6d5b2a1393a3f8b8b1ffa8ae676cdaa083c | [
"MIT"
] | null | null | null | from . import alxlnet
from . import bigbird
from . import pegasus
| 16.5 | 21 | 0.772727 | 9 | 66 | 5.666667 | 0.555556 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
fb291e564221004ba101cd499fb05a03f358e1df | 126 | py | Python | docker_charon/__init__.py | gabrieldemarmiesse/charon | 8ea4680a653ef334b937dca92c0c8ca91e9ef686 | [
"MIT"
] | 12 | 2021-11-17T19:38:52.000Z | 2022-01-30T14:06:00.000Z | docker_charon/__init__.py | gabrieldemarmiesse/charon | 8ea4680a653ef334b937dca92c0c8ca91e9ef686 | [
"MIT"
] | null | null | null | docker_charon/__init__.py | gabrieldemarmiesse/charon | 8ea4680a653ef334b937dca92c0c8ca91e9ef686 | [
"MIT"
] | null | null | null | from docker_charon.decoder import BlobNotFound, ManifestNotFound, push_payload
from docker_charon.encoder import make_payload
| 42 | 78 | 0.888889 | 16 | 126 | 6.75 | 0.6875 | 0.185185 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 126 | 2 | 79 | 63 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34a0e9d1827a2bea8178a75eb6bd90425b4e0ec5 | 96 | py | Python | 0x0B-python-input_output/0-main.py | gogomillan/holbertonschool-higher_level_programming | 1549ffc4fdc284271684321ff6edd882a314193a | [
"MIT"
] | null | null | null | 0x0B-python-input_output/0-main.py | gogomillan/holbertonschool-higher_level_programming | 1549ffc4fdc284271684321ff6edd882a314193a | [
"MIT"
] | null | null | null | 0x0B-python-input_output/0-main.py | gogomillan/holbertonschool-higher_level_programming | 1549ffc4fdc284271684321ff6edd882a314193a | [
"MIT"
] | 1 | 2020-09-25T17:54:36.000Z | 2020-09-25T17:54:36.000Z | #!/usr/bin/python3
read_file = __import__('0-read_file').read_file
read_file("my_file_0.txt")
| 16 | 47 | 0.75 | 17 | 96 | 3.647059 | 0.529412 | 0.516129 | 0.387097 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.072917 | 96 | 5 | 48 | 19.2 | 0.662921 | 0.177083 | 0 | 0 | 0 | 0 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
34ee0673655f0ba1f48e8b26bc029d4c0361777d | 37 | py | Python | HCmd/waypoints/__init__.py | sarahswinton/asdp4_hornet | a509168d7bca9070d96baaac3b60d623755aa692 | [
"Unlicense"
] | null | null | null | HCmd/waypoints/__init__.py | sarahswinton/asdp4_hornet | a509168d7bca9070d96baaac3b60d623755aa692 | [
"Unlicense"
] | null | null | null | HCmd/waypoints/__init__.py | sarahswinton/asdp4_hornet | a509168d7bca9070d96baaac3b60d623755aa692 | [
"Unlicense"
] | null | null | null | from .waypoints import WaypointsCmd
| 18.5 | 36 | 0.837838 | 4 | 37 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.96875 | 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 |
9b7a5eb1d23eb62b14e575c74761eda8a2d21eaf | 86 | py | Python | app/main/__init__.py | Burence1/times-bueno | a8bb92199d3b0a934835e076862dffcc6b6178af | [
"MIT"
] | null | null | null | app/main/__init__.py | Burence1/times-bueno | a8bb92199d3b0a934835e076862dffcc6b6178af | [
"MIT"
] | null | null | null | app/main/__init__.py | Burence1/times-bueno | a8bb92199d3b0a934835e076862dffcc6b6178af | [
"MIT"
] | null | null | null | from flask import Blueprint
main=Blueprint('main',__name__)
from.import views, errors | 21.5 | 31 | 0.813953 | 12 | 86 | 5.5 | 0.666667 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 4 | 32 | 21.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
9b893c0cffc6c6c6235a1ea7a84a027dc4dab949 | 147 | py | Python | Codefights/arcade/python-arcade/level-7/47.Frequency-Analysis/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codefights/arcade/python-arcade/level-7/47.Frequency-Analysis/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codefights/arcade/python-arcade/level-7/47.Frequency-Analysis/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python3
# 有限制修改區域
from collections import Counter
def frequencyAnalysis(encryptedText):
return Counter(encryptedText).most_common(1)[0][0]
| 18.375 | 54 | 0.782313 | 17 | 147 | 6.705882 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031008 | 0.122449 | 147 | 7 | 55 | 21 | 0.852713 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9bb49453ae3d6c2d08d14fc350173597a677bc87 | 133 | py | Python | piws_api/__init__.py | rustprooflabs/piws | fa26464257a2da598878eb85af29439dc253abcb | [
"MIT"
] | 1 | 2018-05-03T01:59:55.000Z | 2018-05-03T01:59:55.000Z | piws_api/__init__.py | rustprooflabs/piws | fa26464257a2da598878eb85af29439dc253abcb | [
"MIT"
] | null | null | null | piws_api/__init__.py | rustprooflabs/piws | fa26464257a2da598878eb85af29439dc253abcb | [
"MIT"
] | null | null | null | """PiWS API sends data to TYG API service."""
from piws_api import config
from piws_api.send_data import run
LOGGER = config.LOGGER
| 22.166667 | 45 | 0.774436 | 23 | 133 | 4.347826 | 0.565217 | 0.21 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150376 | 133 | 5 | 46 | 26.6 | 0.884956 | 0.293233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32e4fcf7129014879b657bc2a4f68bb6450dad43 | 198 | py | Python | models/pawn.py | otaviohrg/chess-game | 3cbec7f18419c28eb13176b889950d04c06c3187 | [
"MIT"
] | 1 | 2021-11-27T19:13:51.000Z | 2021-11-27T19:13:51.000Z | models/pawn.py | otaviohrg/chess-game | 3cbec7f18419c28eb13176b889950d04c06c3187 | [
"MIT"
] | null | null | null | models/pawn.py | otaviohrg/chess-game | 3cbec7f18419c28eb13176b889950d04c06c3187 | [
"MIT"
] | null | null | null | from .piece import Piece
class Pawn(Piece):
def __init__(self, color, x, y):
super().__init__(color, x, y)
self.symbol = 'p'
def generate_moves(self, board):
return | 22 | 37 | 0.60101 | 27 | 198 | 4.074074 | 0.666667 | 0.109091 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 198 | 9 | 38 | 22 | 0.763889 | 0 | 0 | 0 | 1 | 0 | 0.005025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
32e9066e134d7d541e3840870e9b577bf0d1af3b | 319 | py | Python | src/assignments/main_assignment2.py | acc-cosc-1336/cosc-1336-spring-2018-EricScotty | 80c0249a583dc178cfc7bb95b851d7f3240dc3e9 | [
"MIT"
] | null | null | null | src/assignments/main_assignment2.py | acc-cosc-1336/cosc-1336-spring-2018-EricScotty | 80c0249a583dc178cfc7bb95b851d7f3240dc3e9 | [
"MIT"
] | null | null | null | src/assignments/main_assignment2.py | acc-cosc-1336/cosc-1336-spring-2018-EricScotty | 80c0249a583dc178cfc7bb95b851d7f3240dc3e9 | [
"MIT"
] | null | null | null | from assignment2 import faculty_evaluation_result
'''Write code to call the faculty_evaluation_result function with data of your choice'''
print(faculty_evaluation_result (80, 30, 50, 70, 80, 90))
print(faculty_evaluation_result (80, 80, 50, 80, 80, 90))
print(faculty_evaluation_result (0, 30, 50, 70, 80, 90))
| 45.571429 | 89 | 0.758621 | 50 | 319 | 4.64 | 0.48 | 0.366379 | 0.49569 | 0.362069 | 0.482759 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0.130909 | 0.137931 | 319 | 6 | 90 | 53.166667 | 0.712727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
32eb97a5befd33a6ee9488e286e8c65672f4b212 | 34 | py | Python | quantipy/core/tools/dp/__init__.py | avilaton/quantipy | 6ce4e5bfb22c6520164d8884fe6f83240e9baa21 | [
"MIT"
] | 67 | 2015-07-29T18:39:46.000Z | 2022-01-10T12:32:26.000Z | quantipy/core/tools/dp/__init__.py | avilaton/quantipy | 6ce4e5bfb22c6520164d8884fe6f83240e9baa21 | [
"MIT"
] | 1,052 | 2015-07-10T15:14:17.000Z | 2021-11-14T11:14:58.000Z | quantipy/core/tools/dp/__init__.py | avilaton/quantipy | 6ce4e5bfb22c6520164d8884fe6f83240e9baa21 | [
"MIT"
] | 15 | 2016-04-06T14:40:08.000Z | 2020-08-12T18:36:30.000Z | import io
import prep
import query | 11.333333 | 12 | 0.852941 | 6 | 34 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 3 | 12 | 11.333333 | 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 |
32ef0453a2ab437cb859c2c31c6716b009916947 | 13,502 | py | Python | tests/backends/test_dbmodel.py | MattToast/SmartSim | 4bd5e231445abd9b888561930db859062708678a | [
"BSD-2-Clause"
] | null | null | null | tests/backends/test_dbmodel.py | MattToast/SmartSim | 4bd5e231445abd9b888561930db859062708678a | [
"BSD-2-Clause"
] | null | null | null | tests/backends/test_dbmodel.py | MattToast/SmartSim | 4bd5e231445abd9b888561930db859062708678a | [
"BSD-2-Clause"
] | null | null | null | import sys
import pytest
import smartsim
from smartsim import Experiment, status
from smartsim._core.utils import installed_redisai_backends
from smartsim.error.errors import SSUnsupportedError
should_run = True
try:
import tensorflow.keras as keras
from tensorflow.keras.layers import Conv2D, Input
except I... | 31.4 | 107 | 0.679603 | 1,811 | 13,502 | 4.795693 | 0.097736 | 0.02821 | 0.018423 | 0.017732 | 0.845366 | 0.827634 | 0.806448 | 0.782153 | 0.743235 | 0.743235 | 0 | 0.008532 | 0.218708 | 13,502 | 429 | 108 | 31.473193 | 0.814769 | 0.096282 | 0 | 0.672185 | 0 | 0 | 0.071794 | 0.024592 | 0 | 0 | 0 | 0 | 0.029801 | 1 | 0.033113 | false | 0 | 0.036424 | 0 | 0.082781 | 0.003311 | 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 |
fd2c71cee9027b82dae4b4e7dd0dfd4a22c5935e | 112 | py | Python | py/corrLSS/__init__.py | gdhungana/corrLSS | 0b8f09bad42542160082ee5c9445ade681e00af1 | [
"MIT"
] | null | null | null | py/corrLSS/__init__.py | gdhungana/corrLSS | 0b8f09bad42542160082ee5c9445ade681e00af1 | [
"MIT"
] | null | null | null | py/corrLSS/__init__.py | gdhungana/corrLSS | 0b8f09bad42542160082ee5c9445ade681e00af1 | [
"MIT"
] | null | null | null | """
corrLSS
=========
"""
from __future__ import absolute_import, division, print_function, unicode_literals
| 12.444444 | 82 | 0.714286 | 11 | 112 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 112 | 8 | 83 | 14 | 0.744898 | 0.151786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
fd35938bb6575fcc71a073f491f7f11e98e60204 | 36 | py | Python | phantasm/parse/__init__.py | devonnuri/phantasm | 3083f26c20cfb3bb511b5c5ee2231e1535b23e62 | [
"MIT"
] | 1 | 2020-01-16T09:19:53.000Z | 2020-01-16T09:19:53.000Z | phantasm/parse/__init__.py | devonnuri/phantasm | 3083f26c20cfb3bb511b5c5ee2231e1535b23e62 | [
"MIT"
] | null | null | null | phantasm/parse/__init__.py | devonnuri/phantasm | 3083f26c20cfb3bb511b5c5ee2231e1535b23e62 | [
"MIT"
] | 1 | 2021-12-03T14:10:12.000Z | 2021-12-03T14:10:12.000Z | from phantasm.parse.parser import *
| 18 | 35 | 0.805556 | 5 | 36 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 |
fd4050993e15055bd19581087105110109da58d6 | 35,581 | py | Python | src/unit_test/scripts/nas_outgoing_svcs_ut.py | open-switch/opx-nas-linux | 073b287c7c998b0dc16bc732fa37bbdddfd69d66 | [
"CC-BY-4.0"
] | 1 | 2017-12-28T16:57:02.000Z | 2017-12-28T16:57:02.000Z | src/unit_test/scripts/nas_outgoing_svcs_ut.py | open-switch/opx-nas-linux | 073b287c7c998b0dc16bc732fa37bbdddfd69d66 | [
"CC-BY-4.0"
] | 10 | 2017-08-07T22:43:34.000Z | 2021-06-09T13:34:01.000Z | src/unit_test/scripts/nas_outgoing_svcs_ut.py | open-switch/opx-nas-linux | 073b287c7c998b0dc16bc732fa37bbdddfd69d66 | [
"CC-BY-4.0"
] | 14 | 2017-01-05T19:18:42.000Z | 2020-03-06T10:01:04.000Z | #!/usr/bin/python
#
# Copyright (c) 2019 Dell Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
#
# THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WI... | 70.318182 | 183 | 0.514404 | 5,394 | 35,581 | 3.29366 | 0.064887 | 0.033885 | 0.147698 | 0.075988 | 0.771924 | 0.740572 | 0.722391 | 0.715411 | 0.70618 | 0.69481 | 0 | 0.085876 | 0.209634 | 35,581 | 505 | 184 | 70.457426 | 0.545872 | 0.086704 | 0 | 0.150273 | 0 | 0 | 0.35196 | 0.001737 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.02459 | null | null | 0.04918 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd582ff8113c0637795be1fa8ae59af9e7216a44 | 194 | py | Python | actstream/tests/__init__.py | tcdent/django-activity-stream | f8b4fb80683dcae54b9795ba7d43f6827328fe75 | [
"BSD-3-Clause"
] | null | null | null | actstream/tests/__init__.py | tcdent/django-activity-stream | f8b4fb80683dcae54b9795ba7d43f6827328fe75 | [
"BSD-3-Clause"
] | null | null | null | actstream/tests/__init__.py | tcdent/django-activity-stream | f8b4fb80683dcae54b9795ba7d43f6827328fe75 | [
"BSD-3-Clause"
] | null | null | null | from .test_gfk import GFKManagerTestCase
from .test_zombies import ZombieTest
from .test_activity import ActivityTestCase
from .test_feeds import FeedsTestCase
from .test_views import ViewsTest
| 32.333333 | 43 | 0.871134 | 25 | 194 | 6.56 | 0.52 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 194 | 5 | 44 | 38.8 | 0.942529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5be9f1ca0d9827439331876732b013b08177782 | 105 | py | Python | tests/modules/pkg1/sub/__main__.py | AboudFayad/coveragepy | b9c84eb813ad23f053120b8dad31b635c81376ae | [
"Apache-2.0"
] | 2 | 2021-03-29T19:55:15.000Z | 2021-11-15T12:30:19.000Z | tests/modules/pkg1/sub/__main__.py | AboudFayad/coveragepy | b9c84eb813ad23f053120b8dad31b635c81376ae | [
"Apache-2.0"
] | 1 | 2018-11-04T10:30:13.000Z | 2018-11-04T10:30:13.000Z | tests/modules/pkg1/sub/__main__.py | AboudFayad/coveragepy | b9c84eb813ad23f053120b8dad31b635c81376ae | [
"Apache-2.0"
] | 2 | 2018-02-27T08:56:41.000Z | 2020-12-22T22:10:38.000Z | # Used in the tests for run_python_module
import sys
print("pkg1.sub.__main__: passed %s" % sys.argv[1])
| 26.25 | 51 | 0.742857 | 19 | 105 | 3.789474 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.133333 | 105 | 3 | 52 | 35 | 0.769231 | 0.371429 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
9500fb491bf32035676fb7418dbbf65c4f6a66a0 | 72 | py | Python | alfred/views/__init__.py | Sefrwahed/Alfred | 0b77ec547fb665ef29fe1a3b7e1c4ad30c31170d | [
"MIT"
] | 5 | 2016-09-06T10:29:24.000Z | 2017-02-22T14:07:48.000Z | alfred/views/__init__.py | Sefrwahed/Alfred | 0b77ec547fb665ef29fe1a3b7e1c4ad30c31170d | [
"MIT"
] | 66 | 2016-09-06T06:40:24.000Z | 2022-03-11T23:18:05.000Z | alfred/views/__init__.py | Sefrwahed/Alfred | 0b77ec547fb665ef29fe1a3b7e1c4ad30c31170d | [
"MIT"
] | 3 | 2016-10-06T15:17:38.000Z | 2016-12-04T13:25:53.000Z | from .main_widget import MainWidget
from .main_window import MainWindow
| 24 | 35 | 0.861111 | 10 | 72 | 6 | 0.7 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9517bd6704f3a0171c0d7d16d524bd468db665e7 | 251 | py | Python | src/django/api/checks.py | azavea/open-apparel-registry | 20f7a6d502d9152c85ee7f2696b25b6badf98924 | [
"MIT"
] | 32 | 2019-01-26T05:04:03.000Z | 2022-03-11T15:09:09.000Z | src/django/api/checks.py | azavea/open-apparel-registry | 20f7a6d502d9152c85ee7f2696b25b6badf98924 | [
"MIT"
] | 1,586 | 2019-01-15T21:54:42.000Z | 2022-03-31T17:38:14.000Z | src/django/api/checks.py | azavea/open-apparel-registry | 20f7a6d502d9152c85ee7f2696b25b6badf98924 | [
"MIT"
] | 7 | 2019-02-28T03:32:46.000Z | 2021-11-04T17:03:46.000Z | from watchman.decorators import check
from api.matching import GazetteerCache
@check
def _check_gazetteercache():
GazetteerCache.get_latest()
return {'ok': True}
def gazetteercache():
return {'gazetteercache': _check_gazetteercache()}
| 19.307692 | 54 | 0.760956 | 26 | 251 | 7.153846 | 0.538462 | 0.204301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143426 | 251 | 12 | 55 | 20.916667 | 0.865116 | 0 | 0 | 0 | 0 | 0 | 0.063745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
20f9bc3ba9a892805c2b0cb62a7cd96646a9b114 | 23,694 | py | Python | piwebapi_samples/Python/create_sandbox.py | osi-amit/OSI-Samples-PI-System | fe1f86e73386e0ef99c9cc9170bec630e6bed409 | [
"Apache-2.0"
] | 2 | 2021-04-01T09:46:12.000Z | 2021-04-01T09:46:16.000Z | piwebapi_samples/Python/create_sandbox.py | osi-amit/OSI-Samples-PI-System | fe1f86e73386e0ef99c9cc9170bec630e6bed409 | [
"Apache-2.0"
] | 10 | 2021-03-11T00:09:23.000Z | 2022-03-02T09:19:43.000Z | piwebapi_samples/Python/create_sandbox.py | osi-amit/OSI-Samples-PI-System | fe1f86e73386e0ef99c9cc9170bec630e6bed409 | [
"Apache-2.0"
] | 1 | 2020-10-14T15:34:01.000Z | 2020-10-14T15:34:01.000Z | """ This script creates and deletes a PI Web API Asset database, AF category,
AF Template and AF Element, creating a sandbox used by the other methods
When creating the sandbox, the following order must be followed:
create_database, create_category, create_template, create_element
This python scri... | 43.796673 | 148 | 0.625475 | 2,547 | 23,694 | 5.616411 | 0.08245 | 0.101783 | 0.052849 | 0.037749 | 0.788885 | 0.774694 | 0.751066 | 0.743726 | 0.742817 | 0.737225 | 0 | 0.003258 | 0.287626 | 23,694 | 540 | 149 | 43.877778 | 0.844244 | 0.244999 | 0 | 0.596667 | 0 | 0 | 0.137328 | 0.032449 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0.1 | 0.016667 | 0 | 0.09 | 0.116667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1f128680dc4e77ff9373d2dc4c1a01a635643803 | 4,838 | py | Python | stixcore/products/level1/scienceL1.py | nicHoch/STIXCore | 16822bbb37046f8e6c03be51909cfc91e9822cf7 | [
"BSD-3-Clause"
] | 1 | 2022-03-31T13:42:43.000Z | 2022-03-31T13:42:43.000Z | stixcore/products/level1/scienceL1.py | nicHoch/STIXCore | 16822bbb37046f8e6c03be51909cfc91e9822cf7 | [
"BSD-3-Clause"
] | 192 | 2020-11-03T22:40:19.000Z | 2022-03-31T15:17:13.000Z | stixcore/products/level1/scienceL1.py | nicHoch/STIXCore | 16822bbb37046f8e6c03be51909cfc91e9822cf7 | [
"BSD-3-Clause"
] | 3 | 2020-11-09T15:05:18.000Z | 2022-01-21T07:52:51.000Z | from collections import defaultdict
from stixcore.products.level0.scienceL0 import ScienceProduct
from stixcore.products.product import L1Mixin
from stixcore.time import SCETimeRange
__all__ = ['RawPixelData', 'CompressedPixelData', 'SummedPixelData', 'Visibility', 'Spectrogram',
'Aspect']
class RawPixel... | 40.316667 | 100 | 0.651716 | 554 | 4,838 | 5.435018 | 0.142599 | 0.109598 | 0.143474 | 0.149452 | 0.809366 | 0.809366 | 0.778479 | 0.778479 | 0.743939 | 0.743939 | 0 | 0.016748 | 0.234808 | 4,838 | 119 | 101 | 40.655462 | 0.796596 | 0.096114 | 0 | 0.666667 | 0 | 0 | 0.042309 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.055556 | 0.083333 | 0.388889 | 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 |
1f76b4de0b5d1a952d3a313865dd8f716016d429 | 18 | py | Python | histstats.py | stephenchestnut/fbballer | c05a604bbbe69d2253499600c5e0efc415dc006c | [
"MIT"
] | null | null | null | histstats.py | stephenchestnut/fbballer | c05a604bbbe69d2253499600c5e0efc415dc006c | [
"MIT"
] | null | null | null | histstats.py | stephenchestnut/fbballer | c05a604bbbe69d2253499600c5e0efc415dc006c | [
"MIT"
] | null | null | null |
import loaddata
| 4.5 | 15 | 0.777778 | 2 | 18 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 3 | 16 | 6 | 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 |
1f97f7932393e3e946916b29bcccf3844af7bc07 | 99 | py | Python | threema_mm/__init__.py | Enproduktion/threema-mattermost | e2162e83e6bf7b26c2fe72e814c798c9f2363a4c | [
"BSD-2-Clause-FreeBSD"
] | 12 | 2016-01-10T22:49:58.000Z | 2017-04-16T21:26:04.000Z | threema_mm/__init__.py | Enproduktion/threema-mattermost | e2162e83e6bf7b26c2fe72e814c798c9f2363a4c | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2017-02-14T05:52:16.000Z | 2017-03-07T11:16:06.000Z | threema_mm/__init__.py | Enproduktion/threema-mattermost | e2162e83e6bf7b26c2fe72e814c798c9f2363a4c | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2016-06-22T15:56:16.000Z | 2020-07-01T11:20:23.000Z | from flask import Flask
import threema_mm.settings
app = Flask(__name__)
import threema_mm.views
| 14.142857 | 26 | 0.818182 | 15 | 99 | 5 | 0.6 | 0.293333 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 6 | 27 | 16.5 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2f30ee21759d9d84535640d750d0620763a394a2 | 164 | py | Python | venv3/lib/python3.8/site-packages/punch/vcs_use_cases/release.py | paul-romeo/pytest-in-60-minutes | a4817312081347737f87801c0623054eba599418 | [
"MIT"
] | 94 | 2016-05-23T17:13:11.000Z | 2021-12-03T23:06:45.000Z | venv3/lib/python3.8/site-packages/punch/vcs_use_cases/release.py | paul-romeo/pytest-in-60-minutes | a4817312081347737f87801c0623054eba599418 | [
"MIT"
] | 39 | 2016-05-19T17:57:53.000Z | 2020-12-26T09:57:21.000Z | venv3/lib/python3.8/site-packages/punch/vcs_use_cases/release.py | paul-romeo/pytest-in-60-minutes | a4817312081347737f87801c0623054eba599418 | [
"MIT"
] | 15 | 2016-05-23T20:22:37.000Z | 2019-12-27T21:13:04.000Z | from __future__ import print_function, absolute_import, division
from punch.vcs_use_cases import use_case
class VCSReleaseUseCase(use_case.VCSUseCase):
pass
| 20.5 | 64 | 0.835366 | 22 | 164 | 5.772727 | 0.727273 | 0.110236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 164 | 7 | 65 | 23.428571 | 0.881944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0.25 | 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 |
2f480ef8cac8a494a0eed05c702832e2e527e5ff | 22 | py | Python | hello.py | parichitran/py-hw | 4fde1358f5fec3b21be08f1c888b3dcfae5278bd | [
"Apache-2.0"
] | null | null | null | hello.py | parichitran/py-hw | 4fde1358f5fec3b21be08f1c888b3dcfae5278bd | [
"Apache-2.0"
] | null | null | null | hello.py | parichitran/py-hw | 4fde1358f5fec3b21be08f1c888b3dcfae5278bd | [
"Apache-2.0"
] | null | null | null | print "hello folks222" | 22 | 22 | 0.818182 | 3 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.090909 | 22 | 1 | 22 | 22 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2f57791505d331a7ec15f130f1f2dd6e3db5ddf1 | 35 | py | Python | router/__init__.py | sovaai/sova-bls-core | efd183a8cebb2f989630ec6b1f09727a701b7f88 | [
"Apache-2.0"
] | 41 | 2020-10-28T08:37:39.000Z | 2020-10-29T12:09:43.000Z | router/__init__.py | sovaai/sova-bls-core | efd183a8cebb2f989630ec6b1f09727a701b7f88 | [
"Apache-2.0"
] | null | null | null | router/__init__.py | sovaai/sova-bls-core | efd183a8cebb2f989630ec6b1f09727a701b7f88 | [
"Apache-2.0"
] | null | null | null | from .router import MessageHandler
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2f6cb2fb889611221b297b1401cd4e1a4586c27e | 29,938 | py | Python | tests/test_branch.py | cjeanner/git_wrapper | a809af53fac3ba77c927fe56901fc8d3f5189019 | [
"MIT"
] | null | null | null | tests/test_branch.py | cjeanner/git_wrapper | a809af53fac3ba77c927fe56901fc8d3f5189019 | [
"MIT"
] | null | null | null | tests/test_branch.py | cjeanner/git_wrapper | a809af53fac3ba77c927fe56901fc8d3f5189019 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
"""Tests for GitCommit"""
from mock import Mock, patch
import git
import pytest
from git_wrapper.repo import GitRepo
from git_wrapper import exceptions
def test_on_head_only_all_new(mock_repo):
"""
GIVEN GitRepo initialized with a path and repo
WHEN on_head_only method is called ... | 34.332569 | 92 | 0.70499 | 4,159 | 29,938 | 4.882183 | 0.052416 | 0.064615 | 0.044127 | 0.055159 | 0.880719 | 0.852647 | 0.811771 | 0.795568 | 0.773849 | 0.758828 | 0 | 0.011992 | 0.203387 | 29,938 | 871 | 93 | 34.371986 | 0.839406 | 0.31455 | 0 | 0.636605 | 0 | 0 | 0.164702 | 0.057171 | 0 | 0 | 0 | 0 | 0.151194 | 1 | 0.153846 | false | 0 | 0.013263 | 0 | 0.167109 | 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 |
c83ededce5c5e859c17f4043a5ba059a09ecdf04 | 36 | py | Python | CodeAnalysis/SourceMeter_Interface/SourceMeter-8.2.0-x64-linux/Python/Tools/python/astroid/tests/testdata/python3/data/SSL1/__init__.py | ishtjot/susereumutep | 56e20c1777e0c938ac42bd8056f84af9e0b76e46 | [
"Apache-2.0"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | CodeAnalysis/SourceMeter_Interface/SourceMeter-8.2.0-x64-linux/Python/Tools/python/astroid/tests/testdata/python3/data/SSL1/__init__.py | ishtjot/susereumutep | 56e20c1777e0c938ac42bd8056f84af9e0b76e46 | [
"Apache-2.0"
] | 52 | 2015-01-06T02:43:59.000Z | 2022-03-14T11:15:21.000Z | CodeAnalysis/SourceMeter_Interface/SourceMeter-8.2.0-x64-linux/Python/Tools/python/astroid/tests/testdata/python3/data/SSL1/__init__.py | ishtjot/susereumutep | 56e20c1777e0c938ac42bd8056f84af9e0b76e46 | [
"Apache-2.0"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | from .Connection1 import Connection
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
c8677fb70162f03ae46ad9edef0744a1df84474c | 6,305 | py | Python | tests/test_routes/test_pet.py | jordan-hamilton/petnet-feeder-service | 66c3192b0e66f4eefb5fd55cceb1219fa1ddb914 | [
"MIT"
] | 25 | 2021-01-21T04:41:07.000Z | 2022-02-19T13:16:54.000Z | tests/test_routes/test_pet.py | jordan-hamilton/petnet-feeder-service | 66c3192b0e66f4eefb5fd55cceb1219fa1ddb914 | [
"MIT"
] | 101 | 2021-01-23T05:23:33.000Z | 2022-03-28T13:38:13.000Z | tests/test_routes/test_pet.py | ericchapman80/petnet-api-hacking | 23cff84317d7380d7d1c0a2718cc153e83920906 | [
"MIT"
] | 5 | 2021-05-19T03:35:57.000Z | 2022-03-08T18:03:43.000Z | from fastapi.testclient import TestClient
SAMPLE_PET = {
"name": "Minnie",
"image": "base64data",
"animal_type": "cat",
"weight": 3628.74,
"birthday": 1483164000000000,
"activity_level": 5,
}
class MockPet:
def __init__(self, device_hid: str):
self.device_hid = device_hid
def te... | 35.621469 | 84 | 0.673275 | 844 | 6,305 | 4.840047 | 0.125592 | 0.119951 | 0.079315 | 0.099878 | 0.864627 | 0.84798 | 0.844308 | 0.832803 | 0.821787 | 0.734884 | 0 | 0.025852 | 0.171768 | 6,305 | 176 | 85 | 35.823864 | 0.756415 | 0 | 0 | 0.630435 | 0 | 0 | 0.245837 | 0.097542 | 0 | 0 | 0 | 0 | 0.275362 | 1 | 0.050725 | false | 0 | 0.028986 | 0 | 0.086957 | 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 |
c0742d1008e8423f4ac1d8d5ecc1108c7fe0d3b8 | 19,849 | py | Python | pycle/bicycle-scrapes/epey-scrape/downLink6.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null | pycle/bicycle-scrapes/epey-scrape/downLink6.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null | pycle/bicycle-scrapes/epey-scrape/downLink6.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null |
from bs4 import BeautifulSoup
import os
import wget
from urllib.request import Request, urlopen
bicycles=[{'name': 'Bisan RX 9100 Bisiklet', 'link': 'https://www.epey.com/bisiklet/bisan-rx-9100.html'}, {'name': 'Carraro CR-T World Bisiklet', 'link': 'https://www.epey.com/bisiklet/carraro-cr-t-world.html'}, {'name': '... | 902.227273 | 19,269 | 0.689052 | 3,043 | 19,849 | 4.494578 | 0.120605 | 0.158807 | 0.224976 | 0.264678 | 0.652702 | 0.589384 | 0.576808 | 0.554288 | 0.293485 | 0.100022 | 0 | 0.060522 | 0.078493 | 19,849 | 21 | 19,270 | 945.190476 | 0.687169 | 0 | 0 | 0 | 0 | 1.833333 | 0.814792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0a2435931178fc5a136929d0a58143a46d4ae03 | 157 | py | Python | jekoffice/views.py | Erbarbar/JekOffice | ef87f1e824a6420a040bf65e9acbc59bfbd51835 | [
"Apache-2.0"
] | null | null | null | jekoffice/views.py | Erbarbar/JekOffice | ef87f1e824a6420a040bf65e9acbc59bfbd51835 | [
"Apache-2.0"
] | 14 | 2020-02-12T00:42:56.000Z | 2022-03-11T23:50:49.000Z | jekoffice/views.py | Erbarbar/JekOffice | ef87f1e824a6420a040bf65e9acbc59bfbd51835 | [
"Apache-2.0"
] | 1 | 2019-06-23T18:04:44.000Z | 2019-06-23T18:04:44.000Z | from django.shortcuts import render
from django.http import HttpResponse
def home_view(request, *args, **kargs):
return render(request, 'home.html',{})
| 26.166667 | 42 | 0.751592 | 21 | 157 | 5.571429 | 0.714286 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127389 | 157 | 5 | 43 | 31.4 | 0.854015 | 0 | 0 | 0 | 0 | 0 | 0.057325 | 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 |
238fc999ee09801cbcb0e11c2003f51acb96beb3 | 164 | py | Python | src/scraping/tasks/__init__.py | mstrechen/advanced-news-scraper | dc54a057eb7c14d0e390b82f6b308f5a924cb966 | [
"MIT"
] | null | null | null | src/scraping/tasks/__init__.py | mstrechen/advanced-news-scraper | dc54a057eb7c14d0e390b82f6b308f5a924cb966 | [
"MIT"
] | 3 | 2021-04-06T18:16:57.000Z | 2021-12-13T20:55:52.000Z | src/scraping/tasks/__init__.py | mstrechen/advanced-news-scraper | dc54a057eb7c14d0e390b82f6b308f5a924cb966 | [
"MIT"
] | null | null | null | # flake8: noqa
from .run_site_parsers import run_site_parsers_task
from .parse_article import parse_article_task
from .parse_news_list import parse_news_list_task
| 27.333333 | 51 | 0.871951 | 27 | 164 | 4.814815 | 0.444444 | 0.107692 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.097561 | 164 | 5 | 52 | 32.8 | 0.871622 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23958e663fc659f6ea5f836f5d56bbfcef82c9a2 | 329 | py | Python | cfn_ami_to_mapping/__init__.py | vbanakh/cfn-ami-to-mapping | 3946be1272a769b8791a4abcdb754822eb671a09 | [
"MIT"
] | 19 | 2019-09-04T06:53:21.000Z | 2019-09-20T08:49:02.000Z | cfn_ami_to_mapping/__init__.py | vbanakh/cfn-ami-to-mapping | 3946be1272a769b8791a4abcdb754822eb671a09 | [
"MIT"
] | 1 | 2021-02-11T11:46:32.000Z | 2021-02-11T11:46:32.000Z | cfn_ami_to_mapping/__init__.py | vbanakh/cfn-ami-to-mapping | 3946be1272a769b8791a4abcdb754822eb671a09 | [
"MIT"
] | 3 | 2019-11-03T10:20:39.000Z | 2021-11-09T17:56:42.000Z | from cfn_ami_to_mapping.get.get import Get
from cfn_ami_to_mapping.enrich.enrich import Enrich
from cfn_ami_to_mapping.transform.transform import Transform
from cfn_ami_to_mapping.generate.generate import Generate
from cfn_ami_to_mapping.validate import Validate
__all__ = ('Get', 'Enrich', 'Transform', 'Generate', 'Va... | 41.125 | 64 | 0.835866 | 50 | 329 | 5.12 | 0.24 | 0.136719 | 0.195313 | 0.234375 | 0.371094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 329 | 7 | 65 | 47 | 0.850498 | 0 | 0 | 0 | 1 | 0 | 0.103343 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23a138cdf14b042b2d115642950b5ce684fe280d | 31 | py | Python | image_to_latex/data/__init__.py | niits/image-to-latex | 602b4263ac849dbdfb69988dde6df5936efd9c95 | [
"MIT"
] | 944 | 2021-07-02T07:27:01.000Z | 2022-03-31T11:16:29.000Z | image_to_latex/data/__init__.py | niits/image-to-latex | 602b4263ac849dbdfb69988dde6df5936efd9c95 | [
"MIT"
] | 15 | 2021-08-09T16:47:28.000Z | 2022-03-18T09:41:42.000Z | image_to_latex/data/__init__.py | niits/image-to-latex | 602b4263ac849dbdfb69988dde6df5936efd9c95 | [
"MIT"
] | 166 | 2021-08-05T11:44:11.000Z | 2022-03-30T10:55:58.000Z | from .im2latex import Im2Latex
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23a532902ebef892bcf99bcf0595f60b0095c683 | 137 | py | Python | mixed_tabs_and_spaces.py | sudoalgorithm/wtfPython | 310ba05449d1a0811ad98485f2ef7617e8c696b3 | [
"WTFPL"
] | 4 | 2018-12-28T19:56:44.000Z | 2021-11-14T19:11:10.000Z | mixed_tabs_and_spaces.py | charettes/wtfPython | ddbbe691860cbea5d2b46781d7217f0ea2797391 | [
"WTFPL"
] | 34 | 2019-11-11T10:56:17.000Z | 2021-08-02T08:28:09.000Z | mixed_tabs_and_spaces.py | charettes/wtfPython | ddbbe691860cbea5d2b46781d7217f0ea2797391 | [
"WTFPL"
] | 1 | 2019-06-17T18:39:54.000Z | 2019-06-17T18:39:54.000Z | def square(x):
sum_so_far = 0
for counter in range(x):
sum_so_far = sum_so_far + x
return sum_so_far
print(square(10))
| 17.125 | 35 | 0.649635 | 26 | 137 | 3.115385 | 0.538462 | 0.246914 | 0.395062 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.255474 | 137 | 7 | 36 | 19.571429 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23e920d5484ad56704b2277ce962dbeb9fd5d8a5 | 140 | py | Python | challenge_0/python/walkingluo/src/hello_world.py | rchicoli/2017-challenges | 44f0b672e5dea34de1dde131b6df837d462f8e29 | [
"Apache-2.0"
] | 271 | 2017-01-01T22:58:36.000Z | 2021-11-28T23:05:29.000Z | challenge_0/python/walkingluo/src/hello_world.py | AakashOfficial/2017Challenges | a8f556f1d5b43c099a0394384c8bc2d826f9d287 | [
"Apache-2.0"
] | 283 | 2017-01-01T23:26:05.000Z | 2018-03-23T00:48:55.000Z | challenge_0/python/walkingluo/src/hello_world.py | AakashOfficial/2017Challenges | a8f556f1d5b43c099a0394384c8bc2d826f9d287 | [
"Apache-2.0"
] | 311 | 2017-01-01T22:59:23.000Z | 2021-09-23T00:29:12.000Z | #
# Print Hello World
#
def print_hello_world():
print("Hello World")
if __name__ == '__main__':
print_hello_world()
| 11.666667 | 27 | 0.607143 | 16 | 140 | 4.5625 | 0.4375 | 0.547945 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271429 | 140 | 11 | 28 | 12.727273 | 0.715686 | 0.121429 | 0 | 0 | 0 | 0 | 0.175926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f1b0a1e0150ebdaafcabbc1df42f046e63821442 | 49 | py | Python | keycloak_admin_aio/_resources/users/by_id/role_mappings/__init__.py | V-Mann-Nick/keycloak-admin-aio | 83ac1af910e492a5864eb369aacfc0512e5c8c45 | [
"Apache-2.0"
] | 12 | 2021-11-08T18:03:09.000Z | 2022-03-17T16:34:06.000Z | keycloak_admin_aio/_resources/users/by_id/role_mappings/__init__.py | V-Mann-Nick/keycloak-admin-aio | 83ac1af910e492a5864eb369aacfc0512e5c8c45 | [
"Apache-2.0"
] | null | null | null | keycloak_admin_aio/_resources/users/by_id/role_mappings/__init__.py | V-Mann-Nick/keycloak-admin-aio | 83ac1af910e492a5864eb369aacfc0512e5c8c45 | [
"Apache-2.0"
] | 1 | 2021-11-14T13:55:30.000Z | 2021-11-14T13:55:30.000Z | from .role_mappings import UsersByIdRoleMappings
| 24.5 | 48 | 0.897959 | 5 | 49 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.955556 | 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 |
f1bf5d467676243b64c2aab381c69cd2eb18e6ff | 29 | py | Python | python-package/insightface/data/__init__.py | qaz734913414/insightface | 4101fe608ca1d38604a23d53f32314ce8a28fe79 | [
"MIT"
] | 12,377 | 2017-12-04T02:46:57.000Z | 2022-03-31T16:48:31.000Z | python-package/insightface/data/__init__.py | qaz734913414/insightface | 4101fe608ca1d38604a23d53f32314ce8a28fe79 | [
"MIT"
] | 1,851 | 2017-12-05T05:41:23.000Z | 2022-03-30T13:06:22.000Z | python-package/insightface/data/__init__.py | qaz734913414/insightface | 4101fe608ca1d38604a23d53f32314ce8a28fe79 | [
"MIT"
] | 4,198 | 2017-12-05T02:57:19.000Z | 2022-03-30T10:29:37.000Z | from .image import get_image
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1e7a20428f343dfdeb5ebf3f0d1036480772bab | 41 | py | Python | src/decomposition/__init__.py | frmunozz/irregular-bag-of-pattern | d1e118546aca89bff75036a06f74a76a2fdb1a82 | [
"MIT"
] | 1 | 2022-01-23T21:40:10.000Z | 2022-01-23T21:40:10.000Z | src/decomposition/__init__.py | frmunozz/irregular-bag-of-pattern | d1e118546aca89bff75036a06f74a76a2fdb1a82 | [
"MIT"
] | null | null | null | src/decomposition/__init__.py | frmunozz/irregular-bag-of-pattern | d1e118546aca89bff75036a06f74a76a2fdb1a82 | [
"MIT"
] | null | null | null | from .lsa import LSA
from .pca import PCA | 20.5 | 20 | 0.780488 | 8 | 41 | 4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 21 | 20.5 | 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 |
7b146ced665dec2efc1941e7d08248e3ed3d4e79 | 609 | py | Python | bark_ml/environments/blueprints/__init__.py | mansoorcheema/bark-ml | 349c0039a5f54778d6b7aea7fd18e3e979efc3a3 | [
"MIT"
] | 3 | 2020-04-25T12:38:55.000Z | 2020-04-29T11:55:45.000Z | bark_ml/environments/blueprints/__init__.py | SebastianGra/bark-ml_MCTS_RL | 8334f141d02bdc012a0bc6ac00d679018e0f46f3 | [
"MIT"
] | 24 | 2020-05-05T13:53:17.000Z | 2020-08-13T15:58:51.000Z | bark_ml/environments/blueprints/__init__.py | SebastianGra/bark-ml_MCTS_RL | 8334f141d02bdc012a0bc6ac00d679018e0f46f3 | [
"MIT"
] | 1 | 2022-01-27T13:08:46.000Z | 2022-01-27T13:08:46.000Z | from bark_ml.environments.blueprints.blueprint import Blueprint
from bark_ml.environments.blueprints.highway.highway import ContinuousHighwayBlueprint
from bark_ml.environments.blueprints.highway.highway import DiscreteHighwayBlueprint
from bark_ml.environments.blueprints.merging.merging import ContinuousMergingBluepri... | 87 | 101 | 0.91133 | 62 | 609 | 8.83871 | 0.258065 | 0.10219 | 0.127737 | 0.281022 | 0.664234 | 0.605839 | 0.605839 | 0.605839 | 0 | 0 | 0 | 0 | 0.044335 | 609 | 7 | 102 | 87 | 0.941581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
7b2d16a0677624a7bbdbead6f0dd0e4c148c3782 | 384 | py | Python | src/secml/ml/classifiers/gradients/tests/test_classes/__init__.py | zangobot/secml | 95a293e1201c24256eb7fe2f1d2125cd5f318c8c | [
"Apache-2.0"
] | 63 | 2020-04-20T16:31:16.000Z | 2022-03-29T01:05:35.000Z | src/secml/ml/classifiers/gradients/tests/test_classes/__init__.py | zangobot/secml | 95a293e1201c24256eb7fe2f1d2125cd5f318c8c | [
"Apache-2.0"
] | 5 | 2020-04-21T11:31:39.000Z | 2022-03-24T13:42:56.000Z | src/secml/ml/classifiers/gradients/tests/test_classes/__init__.py | zangobot/secml | 95a293e1201c24256eb7fe2f1d2125cd5f318c8c | [
"Apache-2.0"
] | 8 | 2020-04-21T09:16:42.000Z | 2022-02-23T16:28:43.000Z | from .c_classifier_gradient_test import CClassifierGradientTest
from .c_classifier_gradient_test_linear import CClassifierGradientTestLinear
from .c_classifier_gradient_test_ridge import CClassifierGradientTestRidge
from .c_classifier_gradient_test_logistic import \
CClassifierGradientTestLogisticRegression
from .c... | 54.857143 | 76 | 0.919271 | 39 | 384 | 8.564103 | 0.384615 | 0.07485 | 0.224551 | 0.344311 | 0.404192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065104 | 384 | 6 | 77 | 64 | 0.930362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
9e2ef9c05111a8581addbc5953c2ff393851ac6d | 36 | py | Python | src/core/__init__.py | week-with-me/quiz-crawler | 9dbaa80e03018fb6908c48b35cd31930f8a04b9b | [
"MIT"
] | null | null | null | src/core/__init__.py | week-with-me/quiz-crawler | 9dbaa80e03018fb6908c48b35cd31930f8a04b9b | [
"MIT"
] | null | null | null | src/core/__init__.py | week-with-me/quiz-crawler | 9dbaa80e03018fb6908c48b35cd31930f8a04b9b | [
"MIT"
] | null | null | null | from src.core.config import settings | 36 | 36 | 0.861111 | 6 | 36 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.939394 | 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 |
9e771ec354094efac374ca6f6ee4234787577a44 | 105 | py | Python | verilog_cores/test/icebreaker/constraints.py | elmsfu/CSI2Rx | cd3a78d49266599238db0cd23115a07adfa599d7 | [
"MIT"
] | 1 | 2019-11-14T21:07:20.000Z | 2019-11-14T21:07:20.000Z | verilog_cores/test/icebreaker/constraints.py | elmsfu/CSI2Rx | cd3a78d49266599238db0cd23115a07adfa599d7 | [
"MIT"
] | null | null | null | verilog_cores/test/icebreaker/constraints.py | elmsfu/CSI2Rx | cd3a78d49266599238db0cd23115a07adfa599d7 | [
"MIT"
] | null | null | null | ctx.addClock("csi_rx_i.dphy_clk", 24)
ctx.addClock("video_clk", 24)
ctx.addClock("uart_i.sys_clk_i", 12)
| 26.25 | 37 | 0.752381 | 21 | 105 | 3.428571 | 0.571429 | 0.458333 | 0.222222 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.057143 | 105 | 3 | 38 | 35 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ea860b6029a635a781f5d0eee31686468dc210c | 143 | py | Python | src/backend/api/handlers/error.py | guineawheek/ftc-data-take-2 | 337bff2077eadb3bd6bbebd153cbb6181c99516f | [
"MIT"
] | null | null | null | src/backend/api/handlers/error.py | guineawheek/ftc-data-take-2 | 337bff2077eadb3bd6bbebd153cbb6181c99516f | [
"MIT"
] | null | null | null | src/backend/api/handlers/error.py | guineawheek/ftc-data-take-2 | 337bff2077eadb3bd6bbebd153cbb6181c99516f | [
"MIT"
] | null | null | null | from typing import Tuple, Union
def handle_404(_e: Union[int, Exception]) -> Tuple[dict, int]:
return {"Error": "Invalid endpoint"}, 404
| 23.833333 | 62 | 0.692308 | 20 | 143 | 4.85 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.160839 | 143 | 5 | 63 | 28.6 | 0.758333 | 0 | 0 | 0 | 0 | 0 | 0.146853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7b4443ca05f29221daabe26cc41eba2cc9ed1548 | 42 | py | Python | kerlym/a3c/__init__.py | osh/ddqn | add2b253e0dcf1c9a05524a28eab066be8adb3b9 | [
"MIT"
] | 327 | 2016-05-17T16:25:52.000Z | 2021-11-16T03:01:21.000Z | kerlym/a3c/__init__.py | osh/ddqn | add2b253e0dcf1c9a05524a28eab066be8adb3b9 | [
"MIT"
] | 16 | 2016-06-02T22:57:21.000Z | 2017-04-03T14:05:15.000Z | kerlym/a3c/__init__.py | osh/ddqn | add2b253e0dcf1c9a05524a28eab066be8adb3b9 | [
"MIT"
] | 99 | 2016-05-17T17:33:51.000Z | 2021-12-15T13:17:39.000Z | import networks
import worker
import a3c
| 10.5 | 15 | 0.833333 | 6 | 42 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.166667 | 42 | 3 | 16 | 14 | 0.971429 | 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 |
7b45340e31025bd4f3d43a60c5eb5571f1cc9e3b | 1,118 | py | Python | dbmfinancas.py | vinerodrigues/sistema-loja_main | 15024e5f42ae446935986fbbf27dec470741e5d8 | [
"MIT"
] | null | null | null | dbmfinancas.py | vinerodrigues/sistema-loja_main | 15024e5f42ae446935986fbbf27dec470741e5d8 | [
"MIT"
] | null | null | null | dbmfinancas.py | vinerodrigues/sistema-loja_main | 15024e5f42ae446935986fbbf27dec470741e5d8 | [
"MIT"
] | null | null | null |
import semidbm
financas = semidbm.open("C:/sistema_loja-main/financas.db", "c")
a = financas.keys()
#print("Datas dentro de finanças",a)
#for i in a:
# del financas[i]
def add_financas(nome, valor, data, comentario):
##print(data)
if data.encode() in financas: #####Adicionando os dados no data base
aux_1 = financ... | 30.216216 | 69 | 0.686047 | 170 | 1,118 | 4.458824 | 0.264706 | 0.158311 | 0.079156 | 0.084433 | 0.831135 | 0.831135 | 0.831135 | 0.831135 | 0.778364 | 0.778364 | 0 | 0.008333 | 0.141324 | 1,118 | 36 | 70 | 31.055556 | 0.779167 | 0.41771 | 0 | 0.666667 | 0 | 0 | 0.058065 | 0.051613 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.166667 | 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 |
7b4f6bcc61cca19089315bf030b0117e3a279522 | 22,942 | py | Python | test/test_fenics.py | kursawe/forcedynamics | 61bd6d871bc9850bbd49757e7d483c224aeef15b | [
"BSD-3-Clause"
] | null | null | null | test/test_fenics.py | kursawe/forcedynamics | 61bd6d871bc9850bbd49757e7d483c224aeef15b | [
"BSD-3-Clause"
] | null | null | null | test/test_fenics.py | kursawe/forcedynamics | 61bd6d871bc9850bbd49757e7d483c224aeef15b | [
"BSD-3-Clause"
] | null | null | null | import unittest
import os
import os.path
import time
import sys
os.environ["OMP_NUM_THREADS"] = "1"
# import matplotlib as mpl
# mpl.use('Agg')
# mpl.rcParams['mathtext.default'] = 'regular'
import matplotlib.pyplot as plt
# font = {'size' : 10}
# plt.rc('font', **font)
import numpy as np
import fenics
import ufl
imp... | 46.068273 | 174 | 0.57933 | 3,392 | 22,942 | 3.720814 | 0.093455 | 0.037398 | 0.041756 | 0.019016 | 0.820616 | 0.786625 | 0.772364 | 0.767451 | 0.73964 | 0.726805 | 0 | 0.035813 | 0.277046 | 22,942 | 497 | 175 | 46.160966 | 0.72513 | 0.260091 | 0 | 0.571429 | 0 | 0.005831 | 0.042936 | 0.006414 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055394 | false | 0 | 0.029155 | 0.026239 | 0.119534 | 0.014577 | 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 |
c8f4a5fed2037a88b4c35e0ecd4b687dce90acc4 | 76 | py | Python | python-practice/tempCodeRunnerFile.py | refinec/refinec-keep-learning | f6753fee81b5c3f2c240ec37ead54e967d975d01 | [
"MIT"
] | null | null | null | python-practice/tempCodeRunnerFile.py | refinec/refinec-keep-learning | f6753fee81b5c3f2c240ec37ead54e967d975d01 | [
"MIT"
] | null | null | null | python-practice/tempCodeRunnerFile.py | refinec/refinec-keep-learning | f6753fee81b5c3f2c240ec37ead54e967d975d01 | [
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
# coding=utf-8
# !/usr/bin/Python3
print(type(int)) | 15.2 | 23 | 0.592105 | 12 | 76 | 3.75 | 0.75 | 0.4 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.131579 | 76 | 5 | 24 | 15.2 | 0.636364 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
a81e7e8f8ca73a122a1bf9a5f081d4dca7c78054 | 36 | py | Python | eds/openmtc-gevent/futile/src/futile/signal/__init__.py | piyush82/elastest-device-emulator-service | b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7 | [
"Apache-2.0"
] | null | null | null | eds/openmtc-gevent/futile/src/futile/signal/__init__.py | piyush82/elastest-device-emulator-service | b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7 | [
"Apache-2.0"
] | null | null | null | eds/openmtc-gevent/futile/src/futile/signal/__init__.py | piyush82/elastest-device-emulator-service | b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7 | [
"Apache-2.0"
] | null | null | null | from timeout import timeout, Timeout | 36 | 36 | 0.861111 | 5 | 36 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.