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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e6e35dac14aba464df4ec53ca5df32587a892f2c | 141 | py | Python | lisc/urls/__init__.py | koudyk/lisc | 679ba6624bb300f1b971be04fbf46e1fcfee65c9 | [
"Apache-2.0"
] | 1 | 2020-05-11T18:36:16.000Z | 2020-05-11T18:36:16.000Z | lisc/urls/__init__.py | ryanhammonds/lisc | 56714291855164c8059486da44d8e239e5e920d6 | [
"Apache-2.0"
] | null | null | null | lisc/urls/__init__.py | ryanhammonds/lisc | 56714291855164c8059486da44d8e239e5e920d6 | [
"Apache-2.0"
] | null | null | null | """URLs object and associated functionality."""
from .urls import URLs
from .eutils import EUtils
from .open_citations import OpenCitations
| 23.5 | 47 | 0.801418 | 18 | 141 | 6.222222 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 141 | 5 | 48 | 28.2 | 0.910569 | 0.29078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e6fb0a58ef1ddf85af3e0c1e578c67f3942ac816 | 196 | py | Python | movo_demos/setup.py | syc7446/kinova-movo | 28bec5bb61517f970071782a32ac58e92c67f0df | [
"BSD-3-Clause"
] | 1 | 2021-06-24T19:20:01.000Z | 2021-06-24T19:20:01.000Z | movo_demos/setup.py | syc7446/kinova-movo | 28bec5bb61517f970071782a32ac58e92c67f0df | [
"BSD-3-Clause"
] | null | null | null | movo_demos/setup.py | syc7446/kinova-movo | 28bec5bb61517f970071782a32ac58e92c67f0df | [
"BSD-3-Clause"
] | 1 | 2020-01-21T11:05:24.000Z | 2020-01-21T11:05:24.000Z | from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
packages=['movo_demo'],
package_dir={'': 'scripts'}
)
setup(**d) | 28 | 60 | 0.765306 | 26 | 196 | 5.461538 | 0.615385 | 0.239437 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117347 | 196 | 7 | 61 | 28 | 0.820809 | 0 | 0 | 0 | 1 | 0 | 0.081218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc0b456dc5aeddb727d952ed713977641a1989c6 | 41,068 | py | Python | mars/dataframe/base/tests/test_base.py | vibhatha/mars | 7a6b78ca4befd1a46d82cfb0163ffcd49293f7b5 | [
"Apache-2.0"
] | null | null | null | mars/dataframe/base/tests/test_base.py | vibhatha/mars | 7a6b78ca4befd1a46d82cfb0163ffcd49293f7b5 | [
"Apache-2.0"
] | null | null | null | mars/dataframe/base/tests/test_base.py | vibhatha/mars | 7a6b78ca4befd1a46d82cfb0163ffcd49293f7b5 | [
"Apache-2.0"
] | null | null | null | # Copyright 1999-2020 Alibaba Group Holding Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 45.580466 | 108 | 0.609087 | 5,712 | 41,068 | 4.266282 | 0.06215 | 0.171119 | 0.097173 | 0.05507 | 0.81419 | 0.757848 | 0.716238 | 0.68501 | 0.640937 | 0.60737 | 0 | 0.034029 | 0.237922 | 41,068 | 900 | 109 | 45.631111 | 0.744608 | 0.033262 | 0 | 0.512857 | 0 | 0 | 0.013238 | 0 | 0 | 0 | 0 | 0 | 0.587143 | 1 | 0.024286 | false | 0 | 0.021429 | 0 | 0.048571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc5815b3f566fa0122a0cd1d854c9fb573eb328b | 149 | py | Python | Python/Set .symmetric_difference() Operation.py | vipmunot/HackerRank | 39d1beb97545592da5cec6e4b9ae0fce32f5ec39 | [
"MIT"
] | null | null | null | Python/Set .symmetric_difference() Operation.py | vipmunot/HackerRank | 39d1beb97545592da5cec6e4b9ae0fce32f5ec39 | [
"MIT"
] | null | null | null | Python/Set .symmetric_difference() Operation.py | vipmunot/HackerRank | 39d1beb97545592da5cec6e4b9ae0fce32f5ec39 | [
"MIT"
] | null | null | null | n = int(input())
s = set(map(int,input().split()))
m = int(input())
t = set(map(int,input().split()))
u = s.symmetric_difference(t)
print(len(u)) | 24.833333 | 33 | 0.604027 | 26 | 149 | 3.423077 | 0.538462 | 0.359551 | 0.202247 | 0.314607 | 0.426966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127517 | 149 | 6 | 34 | 24.833333 | 0.684615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc743b488ee31b0d623d136d8e0a3e57b0e84e05 | 368 | py | Python | tests/fixtures.py | mjoblin/neotiles | f7370aefb74d4d57692d0e8a302c8c95f817a61a | [
"MIT"
] | 1 | 2021-04-25T19:27:12.000Z | 2021-04-25T19:27:12.000Z | tests/fixtures.py | mjoblin/neotiles | f7370aefb74d4d57692d0e8a302c8c95f817a61a | [
"MIT"
] | 1 | 2016-12-27T00:35:51.000Z | 2017-01-02T06:30:04.000Z | tests/fixtures.py | mjoblin/neotiles | f7370aefb74d4d57692d0e8a302c8c95f817a61a | [
"MIT"
] | null | null | null | import pytest
from neotiles import TileManager, Tile
from neotiles.matrixes import NTNeoPixelMatrix, NTRGBMatrix
@pytest.fixture
def default_tile():
return Tile()
@pytest.fixture
def manager_neopixel():
return TileManager(NTNeoPixelMatrix(size=(10, 5), led_pin=18))
@pytest.fixture
def manager_rgb():
... | 18.4 | 66 | 0.774457 | 45 | 368 | 6.222222 | 0.555556 | 0.139286 | 0.171429 | 0.164286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01875 | 0.130435 | 368 | 19 | 67 | 19.368421 | 0.85625 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fc812c465b1da245529fc74f5339ff8a02e285e8 | 111 | py | Python | web-server/develop.py | siret/prankweb | e36f1ca5cfbce2f8aa8dc89c04add0b4c550c266 | [
"Apache-2.0"
] | 2 | 2019-10-15T11:09:30.000Z | 2019-10-15T20:31:52.000Z | web-server/develop.py | siret/p2rank-web | e36f1ca5cfbce2f8aa8dc89c04add0b4c550c266 | [
"Apache-2.0"
] | 23 | 2019-09-25T10:25:16.000Z | 2020-10-06T12:49:25.000Z | web-server/develop.py | siret/prankweb | e36f1ca5cfbce2f8aa8dc89c04add0b4c550c266 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from src import create_app
if __name__ == '__main__':
create_app().run(debug=True)
| 18.5 | 32 | 0.711712 | 17 | 111 | 4.058824 | 0.882353 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.144144 | 111 | 5 | 33 | 22.2 | 0.715789 | 0.189189 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
fc876e9f324e30f5f63e904d63aa62cd8475a543 | 36 | py | Python | image-segmentation/mask_rcnn/__init__.py | swcho84/image-segmentation | ef9b9b3d832e9efe6f43522cc5ca0e17279d6608 | [
"MIT"
] | 64 | 2019-03-09T08:55:11.000Z | 2022-01-27T07:08:02.000Z | image-segmentation/mask_rcnn/__init__.py | swcho84/image-segmentation | ef9b9b3d832e9efe6f43522cc5ca0e17279d6608 | [
"MIT"
] | 2 | 2019-11-07T11:49:13.000Z | 2020-01-16T14:39:03.000Z | image-segmentation/mask_rcnn/__init__.py | swcho84/image-segmentation | ef9b9b3d832e9efe6f43522cc5ca0e17279d6608 | [
"MIT"
] | 21 | 2019-03-09T08:56:35.000Z | 2022-03-02T12:24:43.000Z | from .builder import build_maskrcnn
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 5 |
fc93317c10c58f89125f246a2c93a128cc925764 | 90 | py | Python | ptulsconv/pdf/recordist_log.py | iluvcapra/ptulsconv | 66a71283d56d3664719def33504a07ad976187ff | [
"MIT"
] | 3 | 2020-07-30T10:54:45.000Z | 2022-01-20T13:20:00.000Z | ptulsconv/pdf/recordist_log.py | iluvcapra/ptulsconv | 66a71283d56d3664719def33504a07ad976187ff | [
"MIT"
] | 4 | 2020-10-19T04:58:31.000Z | 2022-01-17T01:12:03.000Z | ptulsconv/pdf/recordist_log.py | iluvcapra/ptulsconv | 66a71283d56d3664719def33504a07ad976187ff | [
"MIT"
] | null | null | null | # TODO: Complete Recordist Log
def output_report(records):
# order by start
pass | 15 | 30 | 0.7 | 12 | 90 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 90 | 6 | 31 | 15 | 0.898551 | 0.477778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5dd69058dba31ba467cc9d38dc6d5ef8566a6efb | 48,663 | py | Python | tccli/services/postgres/postgres_client.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/postgres/postgres_client.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/postgres/postgres_client.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import json
import tccli.options_define as OptionsDefine
import tccli.format_output as FormatOutput
from tccli.nice_command import NiceCommand
import tccli.error_msg as ErrorMsg
import tccli.help_template as HelpTemplate
from tccli import __version__
from tccli.utils import Utils
from ... | 40.184145 | 107 | 0.692765 | 5,336 | 48,663 | 6.118628 | 0.051537 | 0.061748 | 0.17924 | 0.066893 | 0.784863 | 0.765567 | 0.75255 | 0.737358 | 0.728476 | 0.6897 | 0 | 0.006916 | 0.18587 | 48,663 | 1,210 | 108 | 40.217355 | 0.817179 | 0.006185 | 0 | 0.671348 | 0 | 0 | 0.087354 | 0.007366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031835 | false | 0.007491 | 0.015918 | 0 | 0.077715 | 0.003745 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5df5e030c424bc40acdb88f90c2bb38e17d6fd11 | 3,873 | py | Python | materialdjango/widgets.py | Colorless-Green-Ideas/MaterialDjango | e7a69e968965d25198d90318623a828cff67f5dc | [
"MIT"
] | 33 | 2015-04-21T15:47:03.000Z | 2020-03-12T00:56:44.000Z | materialdjango/widgets.py | Colorless-Green-Ideas/MaterialDjango | e7a69e968965d25198d90318623a828cff67f5dc | [
"MIT"
] | 34 | 2015-03-26T19:26:00.000Z | 2021-05-08T00:37:18.000Z | materialdjango/widgets.py | Colorless-Green-Ideas/MaterialDjango | e7a69e968965d25198d90318623a828cff67f5dc | [
"MIT"
] | 9 | 2015-08-29T10:44:24.000Z | 2019-05-03T12:57:11.000Z | from django.forms.widgets import TextInput, PasswordInput, EmailInput, CheckboxInput, Textarea
from django.utils.html import format_html
# ref https://github.com/django/django/blob/stable/1.8.x/django/forms/widgets.py
# https://github.com/django/django/blob/stable/1.10.x/django/forms/widgets.py
class PaperTextInput(T... | 42.097826 | 98 | 0.576039 | 461 | 3,873 | 4.789588 | 0.173536 | 0.095109 | 0.146286 | 0.081522 | 0.769475 | 0.71875 | 0.710145 | 0.710145 | 0.629076 | 0.609601 | 0 | 0.012014 | 0.2693 | 3,873 | 92 | 99 | 42.097826 | 0.768198 | 0.071521 | 0 | 0.649351 | 0 | 0.038961 | 0.451963 | 0.180173 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.064935 | 0.025974 | 0 | 0.324675 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5d393d3d22156f6bf8bed07a76f98e0586df76ed | 70 | py | Python | sql_setup_dir.py | ylin00/seizurevista | de4f167e217b06372e97fc9ac0553e4384953305 | [
"MIT"
] | null | null | null | sql_setup_dir.py | ylin00/seizurevista | de4f167e217b06372e97fc9ac0553e4384953305 | [
"MIT"
] | null | null | null | sql_setup_dir.py | ylin00/seizurevista | de4f167e217b06372e97fc9ac0553e4384953305 | [
"MIT"
] | 2 | 2021-01-22T06:58:08.000Z | 2021-11-27T05:11:16.000Z | from seizurecast.postgresql import setup_directory
setup_directory()
| 17.5 | 50 | 0.871429 | 8 | 70 | 7.375 | 0.75 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 70 | 3 | 51 | 23.333333 | 0.921875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5d6ac023be1f9b869fd5a77a4d8900548f75e243 | 106 | py | Python | youtubeVideoDownloader/downloadFunc.py | suleymansenyer/youtubeVideoDownloader | 3490e617cca15b5d7c7d9ad23e19f7edcc458a09 | [
"MIT"
] | null | null | null | youtubeVideoDownloader/downloadFunc.py | suleymansenyer/youtubeVideoDownloader | 3490e617cca15b5d7c7d9ad23e19f7edcc458a09 | [
"MIT"
] | null | null | null | youtubeVideoDownloader/downloadFunc.py | suleymansenyer/youtubeVideoDownloader | 3490e617cca15b5d7c7d9ad23e19f7edcc458a09 | [
"MIT"
] | null | null | null | from pytube import YouTube
def downloadFunc(url):
return YouTube(url).streams.first().download()
| 21.2 | 51 | 0.726415 | 13 | 106 | 5.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 106 | 4 | 52 | 26.5 | 0.865169 | 0 | 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 | 0 | 0 | 0 | 5 |
53b1ae09ecdf16f2c210af41207d8092452889e7 | 49 | py | Python | src/clearskies/autodoc/__init__.py | cmancone/clearskies | aaa33fef6d03205faf26f123183a46adc1dbef9c | [
"MIT"
] | 4 | 2021-04-23T18:13:06.000Z | 2022-03-26T01:51:01.000Z | src/clearskies/autodoc/__init__.py | cmancone/clearskies | aaa33fef6d03205faf26f123183a46adc1dbef9c | [
"MIT"
] | null | null | null | src/clearskies/autodoc/__init__.py | cmancone/clearskies | aaa33fef6d03205faf26f123183a46adc1dbef9c | [
"MIT"
] | null | null | null | from . import formats, request, response, schema
| 24.5 | 48 | 0.77551 | 6 | 49 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
53b36ce9db3e40eb1dbd38182e72be95c2cfac66 | 178 | py | Python | ccal/write_json.py | kberkey/ccal | 92aa8372997dccec2908928f71a11b6c8327d7aa | [
"MIT"
] | 9 | 2017-10-09T16:54:58.000Z | 2018-12-14T19:49:03.000Z | ccal/write_json.py | kberkey/ccal | 92aa8372997dccec2908928f71a11b6c8327d7aa | [
"MIT"
] | 8 | 2017-03-11T04:43:04.000Z | 2018-12-10T09:47:14.000Z | ccal/write_json.py | kberkey/ccal | 92aa8372997dccec2908928f71a11b6c8327d7aa | [
"MIT"
] | 4 | 2017-03-10T19:12:28.000Z | 2022-01-02T21:11:40.000Z | from json import dump
def write_json(json_dict, json_file_path, indent=2):
with open(json_file_path, "w") as json_file:
dump(json_dict, json_file, indent=indent)
| 19.777778 | 52 | 0.724719 | 30 | 178 | 4 | 0.5 | 0.266667 | 0.2 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.179775 | 178 | 8 | 53 | 22.25 | 0.815068 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
53db67365adfe7def2e331b8c264f9b94df90c9a | 187 | py | Python | src/core/app/app/db/base_class.py | WeAreBeep/FrontlineUkraine | 9ace8222af347f8ebbcaf444f375b2736f49cd9f | [
"MIT"
] | null | null | null | src/core/app/app/db/base_class.py | WeAreBeep/FrontlineUkraine | 9ace8222af347f8ebbcaf444f375b2736f49cd9f | [
"MIT"
] | 15 | 2020-11-07T20:21:30.000Z | 2021-03-31T09:51:51.000Z | src/core/app/app/db/base_class.py | WeAreBeep/FrontlineUkraine | 9ace8222af347f8ebbcaf444f375b2736f49cd9f | [
"MIT"
] | 11 | 2020-11-07T18:46:12.000Z | 2022-03-13T15:50:30.000Z | from typing import Any
from sqlalchemy.ext.declarative import as_declarative
@as_declarative()
class Base:
id: Any
@as_declarative()
class FLBase:
id: Any
timestamp: Any
| 12.466667 | 53 | 0.73262 | 25 | 187 | 5.36 | 0.52 | 0.291045 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197861 | 187 | 14 | 54 | 13.357143 | 0.893333 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
53f1b3205619093b7b35f793dbeecb5b4c0a68bc | 188 | py | Python | test.py | partytrumpet/soundboard | 3e903312096e29019318de64886bdaea71544311 | [
"MIT"
] | null | null | null | test.py | partytrumpet/soundboard | 3e903312096e29019318de64886bdaea71544311 | [
"MIT"
] | null | null | null | test.py | partytrumpet/soundboard | 3e903312096e29019318de64886bdaea71544311 | [
"MIT"
] | null | null | null | # from pydub import AudioSegment
from pydub import playback
from pydub import *
# from pydub.playback import play
song = AudioSegment.from_mp3("./sounds/mkultra.mp3")
playback.play(song)
| 23.5 | 52 | 0.787234 | 26 | 188 | 5.653846 | 0.384615 | 0.244898 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0.12234 | 188 | 7 | 53 | 26.857143 | 0.878788 | 0.329787 | 0 | 0 | 0 | 0 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
54fd52e41d0a836d5d27b3129443537da99aebab | 1,672 | py | Python | tests/test_compound_losses.py | by-liu/SegLossBia | 9cc639c04084cda9d5fb20ea34699db7e0beaf5c | [
"MIT"
] | 18 | 2021-04-20T17:03:20.000Z | 2022-03-12T05:56:24.000Z | tests/test_compound_losses.py | by-liu/SegLossBia | 9cc639c04084cda9d5fb20ea34699db7e0beaf5c | [
"MIT"
] | null | null | null | tests/test_compound_losses.py | by-liu/SegLossBia | 9cc639c04084cda9d5fb20ea34699db7e0beaf5c | [
"MIT"
] | 1 | 2021-07-08T17:44:15.000Z | 2021-07-08T17:44:15.000Z | import unittest
import os.path as osp
import torch
from seglossbias.modeling.compound_losses import CrossEntropyWithL1, CrossEntropyWithKL
torch.manual_seed(101)
batch_size = 8
num_classes = 10
width, height = 512, 512
rand_max, rand_min = 2.5, -2.5
class TestCompoundLoss(unittest.TestCase):
def test_ce_l1(sel... | 34.122449 | 104 | 0.669258 | 220 | 1,672 | 4.822727 | 0.254545 | 0.076343 | 0.051838 | 0.065975 | 0.738926 | 0.712535 | 0.712535 | 0.712535 | 0.712535 | 0.712535 | 0 | 0.021456 | 0.219498 | 1,672 | 48 | 105 | 34.833333 | 0.791571 | 0 | 0 | 0.611111 | 0 | 0 | 0.023923 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.055556 | false | 0 | 0.111111 | 0 | 0.194444 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
070a56b9a461bba67f667b5fa1299b4f051995c8 | 34 | py | Python | test/login.py | zaijianada/test001 | 103e23cbea1debe6278f93f8fd74005d9c7c8db5 | [
"MIT"
] | null | null | null | test/login.py | zaijianada/test001 | 103e23cbea1debe6278f93f8fd74005d9c7c8db5 | [
"MIT"
] | null | null | null | test/login.py | zaijianada/test001 | 103e23cbea1debe6278f93f8fd74005d9c7c8db5 | [
"MIT"
] | null | null | null |
num1 = 10
num2 = 20
num3 = 300
| 4.857143 | 10 | 0.558824 | 6 | 34 | 3.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 0.352941 | 34 | 6 | 11 | 5.666667 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
070e64e603c62bd168f2ee23b77ee0baa92fe10d | 78 | py | Python | app/report/__init__.py | NickPTaylor/imbtools | 2874c0cdaea311c3559a3634c9f383d81fde8a06 | [
"MIT"
] | null | null | null | app/report/__init__.py | NickPTaylor/imbtools | 2874c0cdaea311c3559a3634c9f383d81fde8a06 | [
"MIT"
] | 8 | 2020-03-24T16:40:22.000Z | 2022-03-11T23:42:36.000Z | app/report/__init__.py | NickPTaylor/imbtools | 2874c0cdaea311c3559a3634c9f383d81fde8a06 | [
"MIT"
] | null | null | null | """
Blueprint for rota reports.
"""
from .routes import BP as ROTA_REPORT_BP
| 13 | 40 | 0.730769 | 12 | 78 | 4.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 5 | 41 | 15.6 | 0.846154 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
07415805ce3ca72a6d8e486d68ae31b292486cef | 57,195 | py | Python | sdks/python/apache_beam/runners/dataflow/internal/clients/dataflow/dataflow_v1b3_client.py | hengfengli/beam | 83a8855e5997e0311e6274c03bcb38f94efbf8ef | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2022-01-11T19:43:12.000Z | 2022-01-15T15:45:20.000Z | sdks/python/apache_beam/runners/dataflow/internal/clients/dataflow/dataflow_v1b3_client.py | hengfengli/beam | 83a8855e5997e0311e6274c03bcb38f94efbf8ef | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2022-01-04T21:44:54.000Z | 2022-03-19T12:42:37.000Z | sdks/python/apache_beam/runners/dataflow/internal/clients/dataflow/dataflow_v1b3_client.py | hengfengli/beam | 83a8855e5997e0311e6274c03bcb38f94efbf8ef | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 17 | 2021-12-15T19:31:54.000Z | 2022-01-31T18:54:23.000Z | """Generated client library for dataflow version v1b3."""
# NOTE: This file is autogenerated and should not be edited by hand.
from __future__ import absolute_import
from apitools.base.py import base_api
from . import dataflow_v1b3_messages as messages
class DataflowV1b3(base_api.BaseApiClient):
"""Generated clie... | 42.939189 | 419 | 0.70382 | 5,520 | 57,195 | 7.07663 | 0.059783 | 0.052531 | 0.040857 | 0.024729 | 0.794742 | 0.775542 | 0.756163 | 0.72442 | 0.666334 | 0.632158 | 0 | 0.003669 | 0.194597 | 57,195 | 1,331 | 420 | 42.97145 | 0.844329 | 0.272419 | 0 | 0.588506 | 1 | 0 | 0.255007 | 0.179549 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070115 | false | 0 | 0.005747 | 0 | 0.15977 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0750b7b38786ebfdc0ebee31118b5fff733d0b0c | 1,096 | py | Python | tests/test_area.py | jm66/home-assistant-cli | 2c17482d0d02c66b43b820b1b49fcd077720de7a | [
"Apache-2.0"
] | null | null | null | tests/test_area.py | jm66/home-assistant-cli | 2c17482d0d02c66b43b820b1b49fcd077720de7a | [
"Apache-2.0"
] | null | null | null | tests/test_area.py | jm66/home-assistant-cli | 2c17482d0d02c66b43b820b1b49fcd077720de7a | [
"Apache-2.0"
] | 1 | 2020-08-13T21:45:48.000Z | 2020-08-13T21:45:48.000Z | """Testing Area operations."""
import json
import unittest.mock as mock
from click.testing import CliRunner
import homeassistant_cli.cli as cli
def test_area_list(default_areas) -> None:
"""Test Area List."""
with mock.patch(
'homeassistant_cli.remote.get_areas', return_value=default_areas
):
... | 24.909091 | 78 | 0.601277 | 128 | 1,096 | 4.992188 | 0.351563 | 0.075117 | 0.075117 | 0.046948 | 0.719875 | 0.719875 | 0.719875 | 0.719875 | 0.719875 | 0.719875 | 0 | 0.006242 | 0.269161 | 1,096 | 43 | 79 | 25.488372 | 0.791511 | 0.051095 | 0 | 0.482759 | 0 | 0 | 0.123047 | 0.066406 | 0 | 0 | 0 | 0 | 0.172414 | 1 | 0.068966 | false | 0 | 0.137931 | 0 | 0.206897 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
075e651de2100af7031bf6e5aa704b42330268dd | 276 | py | Python | bou/actions/__init__.py | Feastybeast/bou | 6ea7d95cbc400fc1a0ebbad40fddad8c66717215 | [
"MIT"
] | null | null | null | bou/actions/__init__.py | Feastybeast/bou | 6ea7d95cbc400fc1a0ebbad40fddad8c66717215 | [
"MIT"
] | 2 | 2021-03-14T01:07:02.000Z | 2021-03-16T08:12:08.000Z | bou/actions/__init__.py | Feastybeast/bou | 6ea7d95cbc400fc1a0ebbad40fddad8c66717215 | [
"MIT"
] | null | null | null | """ bou.actions
~~~
Reexporting for syntactic sugar
"""
from bou.actions.create import create
from bou.actions.list import list
from bou.actions.manage import manage
from bou.actions.migrate import migrate, Direction
from bou.actions.version import version
| 25.090909 | 51 | 0.75 | 37 | 276 | 5.594595 | 0.378378 | 0.289855 | 0.338164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 276 | 10 | 52 | 27.6 | 0.907895 | 0.17029 | 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 | 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 | 5 |
4afcbd36b379ab0a8d6cf4440a7f886e42ba8317 | 1,840 | py | Python | test/unit/test_parse_replicas.py | KTH/aspen | 3be9b55d21dfd950d1a82b2cf4f464cd1f1e9757 | [
"MIT"
] | null | null | null | test/unit/test_parse_replicas.py | KTH/aspen | 3be9b55d21dfd950d1a82b2cf4f464cd1f1e9757 | [
"MIT"
] | 8 | 2019-10-10T08:03:02.000Z | 2022-01-11T11:28:58.000Z | test/unit/test_parse_replicas.py | KTH/aspen | 3be9b55d21dfd950d1a82b2cf4f464cd1f1e9757 | [
"MIT"
] | null | null | null | __author__ = 'tinglev@kth.se'
import unittest
from test import mock_test_data
from modules.steps.parse_replicas import ParseReplicas
from modules.util import data_defs, exceptions
class TestParseReplicas(unittest.TestCase):
def test_bad_replicas(self):
step = ParseReplicas()
pipeline_data = {data... | 39.148936 | 96 | 0.653804 | 202 | 1,840 | 5.579208 | 0.237624 | 0.138421 | 0.127773 | 0.159716 | 0.746229 | 0.746229 | 0.746229 | 0.746229 | 0.746229 | 0.701863 | 0 | 0.001437 | 0.243478 | 1,840 | 46 | 97 | 40 | 0.80819 | 0 | 0 | 0.560976 | 0 | 0 | 0.063043 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 1 | 0.073171 | false | 0 | 0.097561 | 0 | 0.195122 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ab067ad29a6722f6ff831b739adcd79d80853663 | 167 | py | Python | solutions/PySolutions/SolEx12.py | ElLorans/PythonCrashCourse | e8158cdc376988ac18e3f68d628c2d19a43b8913 | [
"MIT"
] | 2 | 2021-01-02T21:19:25.000Z | 2021-02-18T23:10:30.000Z | solutions/PySolutions/SolEx12.py | ElLorans/PythonCrashCourse | e8158cdc376988ac18e3f68d628c2d19a43b8913 | [
"MIT"
] | null | null | null | solutions/PySolutions/SolEx12.py | ElLorans/PythonCrashCourse | e8158cdc376988ac18e3f68d628c2d19a43b8913 | [
"MIT"
] | 4 | 2021-01-03T10:15:43.000Z | 2021-01-07T23:10:40.000Z | # add to the dictionary a name with its phone number
# result should be phone_book = {'Python': 1}
phone_book = {}
phone_book['Python'] = 1
print(phone_book)
| 20.875 | 53 | 0.682635 | 26 | 167 | 4.230769 | 0.653846 | 0.327273 | 0.272727 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.209581 | 167 | 7 | 54 | 23.857143 | 0.818182 | 0.562874 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ab236c3f5cf409059809724d8804a9b39c997265 | 49,763 | py | Python | cinder/tests/unit/volume/drivers/test_linstordrv.py | stackhpc/cinder | 93f0ca4dc9eedee10df2f03dad834a31b7f09847 | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/volume/drivers/test_linstordrv.py | stackhpc/cinder | 93f0ca4dc9eedee10df2f03dad834a31b7f09847 | [
"Apache-2.0"
] | 1 | 2021-03-31T19:22:03.000Z | 2021-03-31T19:22:03.000Z | cinder/tests/unit/volume/drivers/test_linstordrv.py | alokchandra11/cinder | 121d9f512b4a6d1afe6a690effb7c2b379040a7b | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2018-2019 LINBIT HA Solutions GmbH
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... | 39.8104 | 78 | 0.59906 | 5,408 | 49,763 | 5.092271 | 0.078957 | 0.053524 | 0.070809 | 0.134791 | 0.810523 | 0.780638 | 0.745851 | 0.721704 | 0.690076 | 0.676677 | 0 | 0.036978 | 0.306031 | 49,763 | 1,249 | 79 | 39.842274 | 0.760468 | 0.025662 | 0 | 0.641148 | 0 | 0 | 0.21912 | 0.137329 | 0 | 0 | 0 | 0 | 0.054545 | 1 | 0.063158 | false | 0.003828 | 0.006699 | 0.007656 | 0.085167 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ab31b285dd268f8dae04c4823de7c75db6608116 | 143 | py | Python | bin/cubes/soma-high-wall.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/cubes/soma-high-wall.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/cubes/soma-high-wall.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""46 solutions"""
import puzzler
from puzzler.puzzles.somacubes import SomaHighWall
puzzler.run(SomaHighWall)
| 14.3 | 50 | 0.755245 | 18 | 143 | 6 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015748 | 0.111888 | 143 | 9 | 51 | 15.888889 | 0.834646 | 0.265734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 5 |
ab42a4f3f6bf70978acf87e914a3fe46dbe5863e | 38 | py | Python | tests/__init__.py | julienpaul/USER2ERDDAP | 93dbb84fcdd6716a087c1652991c12510cbf63af | [
"MIT"
] | null | null | null | tests/__init__.py | julienpaul/USER2ERDDAP | 93dbb84fcdd6716a087c1652991c12510cbf63af | [
"MIT"
] | null | null | null | tests/__init__.py | julienpaul/USER2ERDDAP | 93dbb84fcdd6716a087c1652991c12510cbf63af | [
"MIT"
] | 1 | 2021-11-26T13:39:46.000Z | 2021-11-26T13:39:46.000Z | """Unit test package for user2edd."""
| 19 | 37 | 0.684211 | 5 | 38 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.131579 | 38 | 1 | 38 | 38 | 0.757576 | 0.815789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ab6036adb04938362807d82c7c9357b93d3158f4 | 19,484 | py | Python | tests/test_mints9_basisset.py | nuwandesilva/qcdb | b47fb2ed550fc4176198ddb1dbea3724d6704d23 | [
"BSD-3-Clause"
] | null | null | null | tests/test_mints9_basisset.py | nuwandesilva/qcdb | b47fb2ed550fc4176198ddb1dbea3724d6704d23 | [
"BSD-3-Clause"
] | null | null | null | tests/test_mints9_basisset.py | nuwandesilva/qcdb | b47fb2ed550fc4176198ddb1dbea3724d6704d23 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from .utils import *
from .addons import *
import qcdb
#! A test of the basis specification. Various basis sets are specified outright and in blocks, both
#! orbital and auxiliary. Constructs libmints BasisSet objects through the constructor that calls
#! qcdb.BasisSet infrastructure. Checks that the r... | 44.894009 | 147 | 0.63257 | 2,658 | 19,484 | 4.453348 | 0.076373 | 0.04562 | 0.034215 | 0.055757 | 0.902847 | 0.846752 | 0.800118 | 0.723072 | 0.690209 | 0.64687 | 0 | 0.033162 | 0.170448 | 19,484 | 433 | 148 | 44.997691 | 0.69919 | 0.765449 | 0 | 0.361446 | 0 | 0 | 0.13132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084337 | false | 0 | 0.084337 | 0 | 0.180723 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db4323edc2440265a240232682fbdb294fce850b | 40 | py | Python | src/molecule_containers/test/__init__.py | ansible-community/molecule-containers | 30e6750d053f32d2a3738bb4286e2fba51b29862 | [
"MIT"
] | 8 | 2020-02-01T17:35:00.000Z | 2022-01-30T11:12:02.000Z | src/molecule_containers/test/__init__.py | ansible-community/molecule-containers | 30e6750d053f32d2a3738bb4286e2fba51b29862 | [
"MIT"
] | 8 | 2020-04-28T13:03:27.000Z | 2021-12-21T23:06:14.000Z | src/molecule_containers/test/__init__.py | ansible-community/molecule-containers | 30e6750d053f32d2a3738bb4286e2fba51b29862 | [
"MIT"
] | 1 | 2020-02-01T14:06:52.000Z | 2020-02-01T14:06:52.000Z | """Molecule Containers Driver Tests."""
| 20 | 39 | 0.725 | 4 | 40 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.805556 | 0.825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db5244a9f3507ac3dacacc3c7ae13efbffaaf077 | 190 | py | Python | app/api/types/user_following.py | P4R/django-graphql-api-z1 | 5b469384631e8e916567865b659641ac5710dfb3 | [
"MIT"
] | null | null | null | app/api/types/user_following.py | P4R/django-graphql-api-z1 | 5b469384631e8e916567865b659641ac5710dfb3 | [
"MIT"
] | null | null | null | app/api/types/user_following.py | P4R/django-graphql-api-z1 | 5b469384631e8e916567865b659641ac5710dfb3 | [
"MIT"
] | null | null | null | from core.models.user_following import UserFollowing
from graphene_django import DjangoObjectType
class UserFollowingType(DjangoObjectType):
class Meta:
model = UserFollowing
| 21.111111 | 52 | 0.805263 | 19 | 190 | 7.947368 | 0.736842 | 0.278146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 190 | 8 | 53 | 23.75 | 0.94375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 1 | 0 | 0 | 5 |
db5811e66e52b3b31a0e8520aad8b189faf82c4a | 181 | py | Python | lib/junno/j_utils/ipython/__init__.py | LIV4D/JuNNo | 7358f8344a7c125088e53aa1de0072c4699a9f07 | [
"BSD-3-Clause"
] | null | null | null | lib/junno/j_utils/ipython/__init__.py | LIV4D/JuNNo | 7358f8344a7c125088e53aa1de0072c4699a9f07 | [
"BSD-3-Clause"
] | 1 | 2019-03-04T09:18:54.000Z | 2019-03-05T06:15:06.000Z | lib/junno/j_utils/ipython/__init__.py | LIV4D/JuNNo | 7358f8344a7c125088e53aa1de0072c4699a9f07 | [
"BSD-3-Clause"
] | null | null | null | from .customwidgets import TinyLoading, RichLabel, TimerLabel, LogView, LogToolBar, HTMLButton, ToolButton, VSpace, HSpace
from .import_js import AutoImportDOMWidget, import_display | 90.5 | 122 | 0.850829 | 19 | 181 | 8 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088398 | 181 | 2 | 123 | 90.5 | 0.921212 | 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 | 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 | 5 |
db617640f01973ba5f9d633da669dd1484dc635d | 22,502 | py | Python | weights_conversion.py | hiroyasuakada/Stylegan2-by-PyTorch | 1866dd043a01b706f3af702f42cf0f0a6abbe30c | [
"MIT"
] | null | null | null | weights_conversion.py | hiroyasuakada/Stylegan2-by-PyTorch | 1866dd043a01b706f3af702f42cf0f0a6abbe30c | [
"MIT"
] | null | null | null | weights_conversion.py | hiroyasuakada/Stylegan2-by-PyTorch | 1866dd043a01b706f3af702f42cf0f0a6abbe30c | [
"MIT"
] | null | null | null | import numpy as np
import cv2
import torch
import torch.nn as nn
import torch.nn.functional as F
class WeightsConverter():
def __init__(self):
# 'style_mixing_rate' : ['uns', 'lod' ],
self.name_trans_dict = {
'synthesis_network.init_blo... | 106.64455 | 135 | 0.531375 | 2,400 | 22,502 | 4.727083 | 0.051667 | 0.166152 | 0.248215 | 0.063464 | 0.891847 | 0.832966 | 0.678096 | 0.27316 | 0.005818 | 0 | 0 | 0.064131 | 0.330593 | 22,502 | 211 | 136 | 106.64455 | 0.689039 | 0.011821 | 0 | 0 | 0 | 0 | 0.561344 | 0.524902 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011364 | false | 0 | 0.028409 | 0 | 0.051136 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db992ef8b9ae681cc01b907e87eb0610ff4c1bf4 | 39 | py | Python | backend/api/app/tests/unit/__init__.py | jhouser/houseoffun | a5a9dab377864d4da15f7ba64b505d2db3af34ef | [
"MIT"
] | null | null | null | backend/api/app/tests/unit/__init__.py | jhouser/houseoffun | a5a9dab377864d4da15f7ba64b505d2db3af34ef | [
"MIT"
] | 3 | 2018-03-31T09:52:03.000Z | 2018-08-16T18:12:51.000Z | backend/api/app/tests/unit/__init__.py | jhouser/houseoffun | a5a9dab377864d4da15f7ba64b505d2db3af34ef | [
"MIT"
] | 1 | 2018-03-21T16:05:36.000Z | 2018-03-21T16:05:36.000Z | from api.app.tests.unit.games import *
| 19.5 | 38 | 0.769231 | 7 | 39 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
db9ad5a040f2528802272bc68bcb90564dbfea2b | 9,193 | py | Python | tests/test_BSpline_Curve2D.py | Nodli/NURBS-Python | 27b0209d5c193936769bdc802c1fc50f34f678f2 | [
"MIT"
] | null | null | null | tests/test_BSpline_Curve2D.py | Nodli/NURBS-Python | 27b0209d5c193936769bdc802c1fc50f34f678f2 | [
"MIT"
] | null | null | null | tests/test_BSpline_Curve2D.py | Nodli/NURBS-Python | 27b0209d5c193936769bdc802c1fc50f34f678f2 | [
"MIT"
] | null | null | null | """
Tests for the NURBS-Python package
Released under The MIT License. See LICENSE file for details.
Copyright (c) 2018 Onur Rauf Bingol
Tests geomdl.BSpline.Curve module. Requires "pytest" to run.
"""
from geomdl import BSpline
from geomdl import evaluators
GEOMDL_DELTA = 0.001
OBJECT_INSTANCE = BSpl... | 24.255937 | 109 | 0.622865 | 1,463 | 9,193 | 3.818182 | 0.084074 | 0.04189 | 0.052632 | 0.06015 | 0.821876 | 0.794128 | 0.753849 | 0.721805 | 0.698532 | 0.698532 | 0 | 0.100374 | 0.243555 | 9,193 | 378 | 110 | 24.320106 | 0.702905 | 0.215381 | 0 | 0.55625 | 0 | 0 | 0.001971 | 0 | 0 | 0 | 0 | 0 | 0.2125 | 1 | 0.1 | false | 0 | 0.0125 | 0 | 0.1125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db9c8aedd9a4b3bada7820aafd103e935331e982 | 193 | py | Python | src/ansible_navigator/__main__.py | ekmixon/ansible-navigator | 9903d82ac76a4aee61a64c2e5f19f5ccca3cf136 | [
"Apache-2.0",
"MIT"
] | 134 | 2021-03-26T17:44:49.000Z | 2022-03-31T13:15:52.000Z | src/ansible_navigator/__main__.py | cidrblock/ansible-navigator | 674e5edce4d4181e6f79b6f24b590a347156665d | [
"Apache-2.0",
"MIT"
] | 631 | 2021-03-26T19:38:32.000Z | 2022-03-31T22:57:36.000Z | src/ansible_navigator/__main__.py | cidrblock/ansible-navigator | 674e5edce4d4181e6f79b6f24b590a347156665d | [
"Apache-2.0",
"MIT"
] | 48 | 2021-03-26T17:44:29.000Z | 2022-03-08T21:12:26.000Z | """A runpy entry point for ansible-navigator.
This makes it possible to invoke CLI
via :command:`python -m ansible_navigator`.
"""
from .cli import main
if __name__ == "__main__":
main()
| 19.3 | 45 | 0.715026 | 28 | 193 | 4.607143 | 0.821429 | 0.248062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170984 | 193 | 9 | 46 | 21.444444 | 0.80625 | 0.642487 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
db9dd5c7685805e039685af877913f3d38b61eb3 | 762 | py | Python | sem6/wbo/laby/lab4/src/task5.py | abrams27/mimuw | ad8b01b63c05d7903aab29fd145845cf97ac32d9 | [
"MIT"
] | 3 | 2021-10-07T18:19:37.000Z | 2021-10-07T19:02:14.000Z | sem6/wbo/laby/lab4/src/task5.py | abrams27/mimuw | ad8b01b63c05d7903aab29fd145845cf97ac32d9 | [
"MIT"
] | null | null | null | sem6/wbo/laby/lab4/src/task5.py | abrams27/mimuw | ad8b01b63c05d7903aab29fd145845cf97ac32d9 | [
"MIT"
] | 3 | 2021-12-02T11:09:09.000Z | 2022-01-25T21:31:23.000Z | from Bio import Phylo
from task3 import pah_paralogues_tree, h2bfs_paralogues_tree, pah_orthologues_30_tree
Phylo.write([pah_paralogues_tree], open("../output/Human_PAH_paralogues.nck", "w"), format="newick")
Phylo.write([h2bfs_paralogues_tree], open("../output/Human_H2BFS_paralogues.nck", "w"), format="newick")
Phyl... | 63.5 | 115 | 0.775591 | 105 | 762 | 5.295238 | 0.190476 | 0.151079 | 0.151079 | 0.205036 | 0.798561 | 0.798561 | 0.798561 | 0.629496 | 0.629496 | 0.629496 | 0 | 0.022069 | 0.048556 | 762 | 11 | 116 | 69.272727 | 0.744828 | 0 | 0 | 0 | 0 | 0 | 0.366142 | 0.30315 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db9ef149d809a565a625e650b8fbde81face0976 | 94 | py | Python | UICPC/25/test.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | UICPC/25/test.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | UICPC/25/test.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | a,b = map(int,input().split())
li = list(map(int,input().split()))
ls = list(input().split())
| 23.5 | 35 | 0.595745 | 16 | 94 | 3.5 | 0.5625 | 0.535714 | 0.392857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 94 | 3 | 36 | 31.333333 | 0.658824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dba371b933f6346af51835a5553b40040575995e | 55 | py | Python | dataprep/data_connector/__init__.py | Abhishek-pv/dataprep | 9997fa3e46b82716caabeb697af012c8946136c5 | [
"MIT"
] | 1 | 2020-11-29T08:15:57.000Z | 2020-11-29T08:15:57.000Z | dataprep/data_connector/__init__.py | Abhishek-pv/dataprep | 9997fa3e46b82716caabeb697af012c8946136c5 | [
"MIT"
] | null | null | null | dataprep/data_connector/__init__.py | Abhishek-pv/dataprep | 9997fa3e46b82716caabeb697af012c8946136c5 | [
"MIT"
] | null | null | null | """
DataConnector
"""
from .connector import Connector
| 11 | 32 | 0.745455 | 5 | 55 | 8.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 4 | 33 | 13.75 | 0.854167 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
918f52edcbeb2a272a48ac93f13ab71549ba81ae | 181 | py | Python | pincer/middleware/voice_state_delete.py | ashu96902/Pincer | 102ac4ff998cbb3c57a86b252439f69895650cf3 | [
"MIT"
] | null | null | null | pincer/middleware/voice_state_delete.py | ashu96902/Pincer | 102ac4ff998cbb3c57a86b252439f69895650cf3 | [
"MIT"
] | null | null | null | pincer/middleware/voice_state_delete.py | ashu96902/Pincer | 102ac4ff998cbb3c57a86b252439f69895650cf3 | [
"MIT"
] | null | null | null | # Copyright Pincer 2021-Present
# Full MIT License can be found in `LICENSE` at the project root.
""" sent when a user parts a subscribed voice channel"""
# TODO: Implement event
| 25.857143 | 65 | 0.740331 | 28 | 181 | 4.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.18232 | 181 | 6 | 66 | 30.166667 | 0.878378 | 0.917127 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.166667 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
919eb588964010155b0b7dd2a028b5b344bb2038 | 113 | py | Python | zemberek/tokenization/__init__.py | Loodos/zemberek-python | 4f6b47abda98ed5a4d440738d39a92374d50ef6b | [
"Apache-2.0"
] | 52 | 2020-08-24T09:52:58.000Z | 2022-03-19T05:02:06.000Z | zemberek/tokenization/__init__.py | Loodos/zemberek-python | 4f6b47abda98ed5a4d440738d39a92374d50ef6b | [
"Apache-2.0"
] | 7 | 2020-09-07T09:02:33.000Z | 2021-11-26T14:15:41.000Z | zemberek/tokenization/__init__.py | Loodos/zemberek-python | 4f6b47abda98ed5a4d440738d39a92374d50ef6b | [
"Apache-2.0"
] | 7 | 2020-09-23T19:27:55.000Z | 2022-03-14T09:02:41.000Z | from .turkish_tokenizer import TurkishTokenizer
from .turkish_sentence_extractor import TurkishSentenceExtractor
| 37.666667 | 64 | 0.911504 | 11 | 113 | 9.090909 | 0.727273 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 113 | 2 | 65 | 56.5 | 0.952381 | 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 | 0 | 0 | 0 | 5 |
37f039b075bca3696ce9bb084cf31f443216dbfc | 6,951 | py | Python | pytorch2keras/activation_layers.py | idearibosome/pytorch2keras-srzoo | ef0b98429142a6e62a64912b7edefd5ffff72ff3 | [
"MIT"
] | null | null | null | pytorch2keras/activation_layers.py | idearibosome/pytorch2keras-srzoo | ef0b98429142a6e62a64912b7edefd5ffff72ff3 | [
"MIT"
] | null | null | null | pytorch2keras/activation_layers.py | idearibosome/pytorch2keras-srzoo | ef0b98429142a6e62a64912b7edefd5ffff72ff3 | [
"MIT"
] | null | null | null | import tensorflow.keras.layers
import numpy as np
import random
import string
import tensorflow as tf
from .common import random_string
def convert_relu(params, w_name, scope_name, inputs, layers, weights, names):
"""
Convert relu layer.
Args:
params: dictionary with layer parameters
w_na... | 29.578723 | 92 | 0.638469 | 881 | 6,951 | 4.880817 | 0.097616 | 0.06907 | 0.055814 | 0.035814 | 0.790465 | 0.734419 | 0.705349 | 0.705349 | 0.705349 | 0.682558 | 0 | 0.004289 | 0.261977 | 6,951 | 234 | 93 | 29.705128 | 0.833918 | 0.346137 | 0 | 0.441176 | 0 | 0 | 0.080668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098039 | false | 0 | 0.068627 | 0.009804 | 0.186275 | 0.078431 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
37f827a760a644553b82ff61ff4de7c893c97cb6 | 9,490 | py | Python | ontologyaccess/tests/test_views_ajax.py | bihealth/sodar-server | 0c6a03c274ab34cd8987280fe97dc8989551d4bd | [
"MIT"
] | null | null | null | ontologyaccess/tests/test_views_ajax.py | bihealth/sodar-server | 0c6a03c274ab34cd8987280fe97dc8989551d4bd | [
"MIT"
] | 1 | 2021-05-28T10:59:49.000Z | 2021-06-03T12:30:23.000Z | ontologyaccess/tests/test_views_ajax.py | bihealth/sodar-server | 0c6a03c274ab34cd8987280fe97dc8989551d4bd | [
"MIT"
] | null | null | null | """Tests for Ajax API views in the ontologyaccess app"""
import json
from django.urls import reverse
from ontologyaccess.tests.test_views import (
TestOntologyAccessViewBase,
OBO_TERM_NAME,
)
OBO_ONTOLOGY_ID_ALT = 'alt.obo'
OBO_ONTOLOGY_NAME_ALT = 'ALT'
OBO_ONTOLOGY_FILE_ALT = 'alt.obo'
OBO_ONTOLOGY_TITLE_... | 36.92607 | 79 | 0.588303 | 1,022 | 9,490 | 5.233855 | 0.098826 | 0.042064 | 0.068798 | 0.031782 | 0.794728 | 0.769303 | 0.73883 | 0.727613 | 0.727613 | 0.715835 | 0 | 0.012014 | 0.298314 | 9,490 | 256 | 80 | 37.070313 | 0.79126 | 0.088936 | 0 | 0.637681 | 0 | 0 | 0.103992 | 0.038749 | 0 | 0 | 0 | 0 | 0.115942 | 1 | 0.057971 | false | 0 | 0.014493 | 0 | 0.086957 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
530a3ecb5f378a938392475b39b89d6cd8b75efa | 271 | py | Python | pandas/core/categorical.py | vimalromeo/pandas | 7c14e4f14aff216be558bf5d4d2d00b4838c2360 | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 69 | 2020-03-31T06:40:17.000Z | 2022-02-25T11:48:18.000Z | venv/lib/python3.7/site-packages/pandas/core/categorical.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 8 | 2019-12-04T23:44:11.000Z | 2022-02-10T08:31:40.000Z | venv/lib/python3.7/site-packages/pandas/core/categorical.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 28 | 2020-04-15T15:24:17.000Z | 2021-12-26T04:05:02.000Z | import warnings
# TODO: Remove after 0.23.x
warnings.warn("'pandas.core' is private. Use 'pandas.Categorical'",
FutureWarning, stacklevel=2)
from pandas.core.arrays import Categorical # noqa
from pandas.core.dtypes.dtypes import CategoricalDtype # noqa
| 30.111111 | 67 | 0.741697 | 35 | 271 | 5.742857 | 0.657143 | 0.149254 | 0.139303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017621 | 0.162362 | 271 | 8 | 68 | 33.875 | 0.867841 | 0.129151 | 0 | 0 | 0 | 0 | 0.215517 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5312d6d857638eaef4227f098e957bf0cbe14fcb | 223 | py | Python | src/moredataframes/encode.py | GlorifiedStatistics/MoreDataframes | 147d5b8104d1cbd1cf2836220f43fb6c8ca099b7 | [
"MIT"
] | null | null | null | src/moredataframes/encode.py | GlorifiedStatistics/MoreDataframes | 147d5b8104d1cbd1cf2836220f43fb6c8ca099b7 | [
"MIT"
] | null | null | null | src/moredataframes/encode.py | GlorifiedStatistics/MoreDataframes | 147d5b8104d1cbd1cf2836220f43fb6c8ca099b7 | [
"MIT"
] | null | null | null | """
Function to apply the encodings.
"""
from moredataframes.mdfutils.typing import ArrayLike, EncodingDict
def encode_df(df: ArrayLike, encodings: EncodingDict):
"""
A function
:return: None
"""
pass
| 17.153846 | 66 | 0.686099 | 24 | 223 | 6.333333 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206278 | 223 | 12 | 67 | 18.583333 | 0.858757 | 0.255605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
5358f9f570cc90ee01f9ef159a9bb3bc279a323a | 233 | py | Python | tests/context.py | hhatefi/sc_planner | d704cb8a5eb62075b992eb244ac7b45de52b1203 | [
"MIT"
] | 2 | 2020-05-19T19:55:33.000Z | 2020-11-17T20:02:32.000Z | tests/context.py | hhatefi/sc_planner | d704cb8a5eb62075b992eb244ac7b45de52b1203 | [
"MIT"
] | null | null | null | tests/context.py | hhatefi/sc_planner | d704cb8a5eb62075b992eb244ac7b45de52b1203 | [
"MIT"
] | 1 | 2021-04-04T15:07:31.000Z | 2021-04-04T15:07:31.000Z | import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import lib.entities as entities
import lib.parser as parser
import lib.supply_chain as supply_chain
import lib.solver as solver
| 25.888889 | 82 | 0.785408 | 40 | 233 | 4.425 | 0.425 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004785 | 0.103004 | 233 | 8 | 83 | 29.125 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.008584 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 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 | 5 |
536a452d94d21b49a142da85f242635b35dcae94 | 168 | py | Python | kinesis_producer/partitioner.py | Centriam/kinesis_producer | d6710d48f5d61ae3398843e92de4bc480d9f7109 | [
"MIT"
] | 25 | 2016-09-21T11:27:05.000Z | 2021-01-03T17:12:24.000Z | kinesis_producer/partitioner.py | Centriam/kinesis_producer | d6710d48f5d61ae3398843e92de4bc480d9f7109 | [
"MIT"
] | 2 | 2016-04-15T18:17:43.000Z | 2017-03-07T16:41:23.000Z | kinesis_producer/partitioner.py | Centriam/kinesis_producer | d6710d48f5d61ae3398843e92de4bc480d9f7109 | [
"MIT"
] | 14 | 2016-04-19T21:18:17.000Z | 2020-11-09T00:20:40.000Z | import random
def random_partitioner(stream_record):
"""Generate a random partition_key."""
random_key = str(random.randint(0, 10**12))
return random_key
| 21 | 47 | 0.720238 | 23 | 168 | 5.043478 | 0.695652 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.166667 | 168 | 7 | 48 | 24 | 0.792857 | 0.190476 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
72bf7db6f0bc0d14da261a4f4d4942a2560df01b | 210 | py | Python | tickit/core/state_interfaces/__init__.py | dls-controls/tickit | 00bb013e69674bcfe4926f365ecb3c65c080abe8 | [
"Apache-2.0"
] | 4 | 2021-09-16T13:35:33.000Z | 2022-02-01T23:35:53.000Z | tickit/core/state_interfaces/__init__.py | dls-controls/tickit | 00bb013e69674bcfe4926f365ecb3c65c080abe8 | [
"Apache-2.0"
] | 46 | 2021-09-16T13:44:58.000Z | 2022-02-02T13:42:56.000Z | tickit/core/state_interfaces/__init__.py | dls-controls/tickit | 00bb013e69674bcfe4926f365ecb3c65c080abe8 | [
"Apache-2.0"
] | null | null | null | from tickit.core.state_interfaces import internal, kafka
from tickit.core.state_interfaces.state_interface import StateConsumer, StateProducer
__all__ = ["StateConsumer", "StateProducer", "internal", "kafka"]
| 42 | 85 | 0.819048 | 23 | 210 | 7.173913 | 0.521739 | 0.121212 | 0.169697 | 0.230303 | 0.351515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080952 | 210 | 4 | 86 | 52.5 | 0.854922 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
72c2f6343191af1ece96f0e5a84a56a7d824e482 | 204 | py | Python | fdbk/data_tools/__init__.py | kangasta/fdbk | 426a04131869ceefd3bd2c80d327b60a3a8e2d7b | [
"MIT"
] | 1 | 2019-05-04T09:18:48.000Z | 2019-05-04T09:18:48.000Z | fdbk/data_tools/__init__.py | kangasta/fdbk | 426a04131869ceefd3bd2c80d327b60a3a8e2d7b | [
"MIT"
] | 36 | 2018-10-25T13:29:12.000Z | 2021-09-23T22:30:07.000Z | fdbk/data_tools/__init__.py | kangasta/fdbk | 426a04131869ceefd3bd2c80d327b60a3a8e2d7b | [
"MIT"
] | null | null | null | '''Data analysis tools
Functions to ease the simple data analysis done by the DBConnection.
'''
from .functions import *
from ._aggregate import *
from ._process import *
from ._run import *
| 18.545455 | 69 | 0.710784 | 26 | 204 | 5.461538 | 0.615385 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 204 | 10 | 70 | 20.4 | 0.8875 | 0.436275 | 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 | 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 | 5 |
72de1a2434cb99df43de8a500691468a91f7ce2d | 262 | py | Python | oauth/serializers.py | chr0nu5/review-api | ec391c642334ef37eca565fbd6df30ef80a256d5 | [
"MIT"
] | null | null | null | oauth/serializers.py | chr0nu5/review-api | ec391c642334ef37eca565fbd6df30ef80a256d5 | [
"MIT"
] | null | null | null | oauth/serializers.py | chr0nu5/review-api | ec391c642334ef37eca565fbd6df30ef80a256d5 | [
"MIT"
] | null | null | null | from rest_framework import serializers
class ClientSerializer(serializers.Serializer):
username = serializers.CharField(required=True, allow_blank=False, max_length=100)
password = serializers.CharField(required=True, allow_blank=False, max_length=100)
| 43.666667 | 86 | 0.820611 | 31 | 262 | 6.774194 | 0.612903 | 0.190476 | 0.266667 | 0.304762 | 0.561905 | 0.561905 | 0.561905 | 0.561905 | 0.561905 | 0.561905 | 0 | 0.025316 | 0.09542 | 262 | 5 | 87 | 52.4 | 0.860759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
72e401364b75e7fb90de3427abeb342488bf5438 | 7,322 | py | Python | src/the_tale/the_tale/game/quests/tests/test_person_quests.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null | src/the_tale/the_tale/game/quests/tests/test_person_quests.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null | src/the_tale/the_tale/game/quests/tests/test_person_quests.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null |
import smart_imports
smart_imports.all()
class QuestsTests(utils_testcase.TestCase,
helpers.QuestTestsMixin):
def setUp(self):
super().setUp()
self.places = game_logic.create_test_map()
self.account = self.accounts_factory.create_account(is_fast=True)
self.s... | 44.646341 | 112 | 0.629336 | 832 | 7,322 | 5.248798 | 0.141827 | 0.04763 | 0.084268 | 0.061827 | 0.754065 | 0.749027 | 0.716739 | 0.716739 | 0.716739 | 0.6643 | 0 | 0.00076 | 0.281071 | 7,322 | 163 | 113 | 44.920245 | 0.828837 | 0 | 0 | 0.601852 | 0 | 0 | 0.058325 | 0.058325 | 0 | 0 | 0 | 0 | 0.027778 | 1 | 0.083333 | false | 0 | 0.018519 | 0 | 0.111111 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f40da2e8a9a87b1a376bfdfea69d85ba8a6fb0cd | 141 | py | Python | technomarin_scraper/__init__.py | alsolovyev/parser | 37a76f4b335020cdda9cef9788cf003ffdb8379b | [
"MIT"
] | null | null | null | technomarin_scraper/__init__.py | alsolovyev/parser | 37a76f4b335020cdda9cef9788cf003ffdb8379b | [
"MIT"
] | null | null | null | technomarin_scraper/__init__.py | alsolovyev/parser | 37a76f4b335020cdda9cef9788cf003ffdb8379b | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf8 -*-
from .scraper import TechnomarinScraper
from .args import args
from .logger import logger
| 20.142857 | 39 | 0.716312 | 18 | 141 | 5.611111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.170213 | 141 | 6 | 40 | 23.5 | 0.846154 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f433773f43ce570efd1ef76fe325a8718a782033 | 75 | py | Python | ifdemo.py | vishabsingh/Python | 04514c2e6fd8471a299860d6457146bf961ec86b | [
"Apache-2.0"
] | null | null | null | ifdemo.py | vishabsingh/Python | 04514c2e6fd8471a299860d6457146bf961ec86b | [
"Apache-2.0"
] | null | null | null | ifdemo.py | vishabsingh/Python | 04514c2e6fd8471a299860d6457146bf961ec86b | [
"Apache-2.0"
] | 2 | 2020-10-27T06:19:16.000Z | 2020-10-27T13:42:08.000Z | if a>b:
print ("a")
elif 20>10:
print ("b")
elif 15>10:
print ("c")
| 7.5 | 13 | 0.506667 | 15 | 75 | 2.533333 | 0.6 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.253333 | 75 | 9 | 14 | 8.333333 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f47587e80ae648256240e4fe9a640b23c26bec52 | 93 | py | Python | pagefetch_project/pagefetch/__init__.py | leifos/pagefetch | 1d8333bd8204dbe86dbcb12354ed26cc2c04506f | [
"MIT"
] | null | null | null | pagefetch_project/pagefetch/__init__.py | leifos/pagefetch | 1d8333bd8204dbe86dbcb12354ed26cc2c04506f | [
"MIT"
] | null | null | null | pagefetch_project/pagefetch/__init__.py | leifos/pagefetch | 1d8333bd8204dbe86dbcb12354ed26cc2c04506f | [
"MIT"
] | null | null | null | from ifind.common.setuplogger import create_ifind_logger
logger = create_ifind_logger('log')
| 31 | 56 | 0.849462 | 13 | 93 | 5.769231 | 0.615385 | 0.293333 | 0.453333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 93 | 2 | 57 | 46.5 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
be47d3ff390f585a7be04383c4aaa9a459bd8043 | 249 | py | Python | Code/node_distance.py | xiaoyanLi629/CSE_812 | 55b6358a9c96c665f572e8d6f15d926c6b0e4b63 | [
"MIT"
] | null | null | null | Code/node_distance.py | xiaoyanLi629/CSE_812 | 55b6358a9c96c665f572e8d6f15d926c6b0e4b63 | [
"MIT"
] | null | null | null | Code/node_distance.py | xiaoyanLi629/CSE_812 | 55b6358a9c96c665f572e8d6f15d926c6b0e4b63 | [
"MIT"
] | null | null | null | # import numpy as np
import math
def node_distance_function(node1, node2, position_matrix):
dis = math.sqrt((position_matrix[node1, 1]-position_matrix[node2, 1])**2 + (position_matrix[node1, 2]-position_matrix[node2, 2])**2)
return dis | 41.5 | 137 | 0.726908 | 37 | 249 | 4.702703 | 0.486486 | 0.402299 | 0.218391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0.140562 | 249 | 6 | 138 | 41.5 | 0.757009 | 0.072289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
be550e9f32ebf12bcc8458a50608167032d76225 | 1,926 | py | Python | test/features/db_utils.py | lyrl/mycli | d62eefdc819a11ecdb97d93dd7ad1922d28a3795 | [
"BSD-3-Clause"
] | 10,997 | 2015-07-27T06:59:04.000Z | 2022-03-31T07:49:26.000Z | test/features/db_utils.py | lyrl/mycli | d62eefdc819a11ecdb97d93dd7ad1922d28a3795 | [
"BSD-3-Clause"
] | 937 | 2015-07-29T09:25:30.000Z | 2022-03-30T23:54:03.000Z | test/features/db_utils.py | lyrl/mycli | d62eefdc819a11ecdb97d93dd7ad1922d28a3795 | [
"BSD-3-Clause"
] | 799 | 2015-07-27T13:13:49.000Z | 2022-03-29T21:24:39.000Z | import pymysql
def create_db(hostname='localhost', port=3306, username=None,
password=None, dbname=None):
"""Create test database.
:param hostname: string
:param port: int
:param username: string
:param password: string
:param dbname: string
:return:
"""
cn = pymysq... | 20.489362 | 62 | 0.601765 | 206 | 1,926 | 5.597087 | 0.199029 | 0.057242 | 0.05464 | 0.052038 | 0.738075 | 0.738075 | 0.738075 | 0.665221 | 0.665221 | 0.665221 | 0 | 0.010973 | 0.290239 | 1,926 | 93 | 63 | 20.709677 | 0.83248 | 0.244548 | 0 | 0.733333 | 0 | 0 | 0.076981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088889 | false | 0.155556 | 0.022222 | 0 | 0.155556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
bea98622513ac9669336fe31205f5507f89cd3bb | 246 | py | Python | terminio/commandexecutor/exit.py | SourishS/terminio | e512ef2dff9b47415565469e9a10ae5613af0975 | [
"Apache-2.0"
] | 1 | 2019-07-24T02:29:39.000Z | 2019-07-24T02:29:39.000Z | terminio/commandexecutor/exit.py | SourishS/terminio | e512ef2dff9b47415565469e9a10ae5613af0975 | [
"Apache-2.0"
] | null | null | null | terminio/commandexecutor/exit.py | SourishS/terminio | e512ef2dff9b47415565469e9a10ae5613af0975 | [
"Apache-2.0"
] | null | null | null | from terminio.commandexecutor.commandexecutor import CommandExecutor
import sys
class exit(CommandExecutor):
def __init__(self, session):
super(exit, self).__init__(session)
def execute_command(self, cwd, args):
sys.exit(0) | 27.333333 | 68 | 0.743902 | 29 | 246 | 6 | 0.586207 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0.162602 | 246 | 9 | 69 | 27.333333 | 0.839806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
beb834f31c73cd80f46a3c5c87d0dd8ffd4815d3 | 1,534 | py | Python | keras/layers/merging/__init__.py | itsraina/keras | 5e9376b5b94b6fb445dd52dbfafbc4e95bff5e35 | [
"Apache-2.0"
] | null | null | null | keras/layers/merging/__init__.py | itsraina/keras | 5e9376b5b94b6fb445dd52dbfafbc4e95bff5e35 | [
"Apache-2.0"
] | null | null | null | keras/layers/merging/__init__.py | itsraina/keras | 5e9376b5b94b6fb445dd52dbfafbc4e95bff5e35 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 42.611111 | 80 | 0.767275 | 213 | 1,534 | 5.525822 | 0.375587 | 0.187766 | 0.203908 | 0.299065 | 0.564146 | 0.564146 | 0.564146 | 0.508071 | 0.508071 | 0.508071 | 0 | 0.005908 | 0.11734 | 1,534 | 35 | 81 | 43.828571 | 0.863368 | 0.468057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
fe2fae0768c6b7b8ce6d67ce3fd6d6cf6d52a5c0 | 86 | py | Python | Server/utils/blueprints/__init__.py | thearyadev/Security-System | f9fa48196eef4dc83a9059e10e3c97e2f0842b8d | [
"MIT"
] | 1 | 2022-02-26T21:43:19.000Z | 2022-02-26T21:43:19.000Z | Server/utils/blueprints/__init__.py | thearyadev/Security-System | f9fa48196eef4dc83a9059e10e3c97e2f0842b8d | [
"MIT"
] | null | null | null | Server/utils/blueprints/__init__.py | thearyadev/Security-System | f9fa48196eef4dc83a9059e10e3c97e2f0842b8d | [
"MIT"
] | null | null | null | from .API import API
from .Logging import Logging
from .Renderable import Renderable
| 17.2 | 34 | 0.813953 | 12 | 86 | 5.833333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 86 | 4 | 35 | 21.5 | 0.958904 | 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 | 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 | 5 |
fe55ff4902fb1825ad9f09d3702f3421f55e6fc6 | 3,169 | py | Python | hc/front/tests/test_add_pushover.py | sumonst21/healthchecks | 967ca840adee6c72addde46c944c88b1bd5484e2 | [
"BSD-3-Clause"
] | 4 | 2021-03-27T09:40:00.000Z | 2021-03-28T06:11:03.000Z | hc/front/tests/test_add_pushover.py | sumonst21/healthchecks | 967ca840adee6c72addde46c944c88b1bd5484e2 | [
"BSD-3-Clause"
] | 7 | 2020-06-05T23:16:36.000Z | 2022-02-10T08:33:36.000Z | hc/front/tests/test_add_pushover.py | sumonst21/healthchecks | 967ca840adee6c72addde46c944c88b1bd5484e2 | [
"BSD-3-Clause"
] | 1 | 2021-01-29T13:36:14.000Z | 2021-01-29T13:36:14.000Z | from django.test.utils import override_settings
from hc.api.models import Channel
from hc.test import BaseTestCase
@override_settings(
PUSHOVER_API_TOKEN="token", PUSHOVER_SUBSCRIPTION_URL="http://example.org"
)
class AddPushoverTestCase(BaseTestCase):
@override_settings(PUSHOVER_API_TOKEN=None)
def test_... | 37.72619 | 78 | 0.675292 | 393 | 3,169 | 5.274809 | 0.201018 | 0.096479 | 0.047757 | 0.064158 | 0.783406 | 0.756392 | 0.711047 | 0.711047 | 0.68355 | 0.68355 | 0 | 0.010925 | 0.191228 | 3,169 | 83 | 79 | 38.180723 | 0.797893 | 0 | 0 | 0.578125 | 0 | 0 | 0.23225 | 0.132849 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.140625 | false | 0.109375 | 0.046875 | 0 | 0.203125 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fe592054e779830c217c3ed7a273be9290cf07e1 | 2,914 | py | Python | tests/test_090-accounts.py | britive/python-api | 2daa7693f1d4adf03626abd78598e30f62b6e2e6 | [
"MIT"
] | null | null | null | tests/test_090-accounts.py | britive/python-api | 2daa7693f1d4adf03626abd78598e30f62b6e2e6 | [
"MIT"
] | null | null | null | tests/test_090-accounts.py | britive/python-api | 2daa7693f1d4adf03626abd78598e30f62b6e2e6 | [
"MIT"
] | null | null | null | import json
from .cache import * # will also import some globals like `britive`
# starting with map so we can get a cached account to use for testing
def test_map(cached_application, cached_environment, cached_user, cached_account):
response = britive.accounts.map(
user_id=cached_user['userId'],
... | 35.975309 | 101 | 0.731984 | 336 | 2,914 | 6.089286 | 0.14881 | 0.086022 | 0.07869 | 0.116325 | 0.786901 | 0.786901 | 0.740958 | 0.740958 | 0.740958 | 0.740958 | 0 | 0.00207 | 0.171242 | 2,914 | 80 | 102 | 36.425 | 0.845135 | 0.038435 | 0 | 0.540984 | 0 | 0 | 0.080772 | 0 | 0 | 0 | 0 | 0 | 0.262295 | 1 | 0.114754 | false | 0 | 0.032787 | 0 | 0.147541 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fe5db97bd3429e3656a09d76517c338679f81add | 207 | py | Python | srilm/__init__.py | rcgale/srilm-python | 1ac8ca6e5a743abd3692018e578aabf094750c89 | [
"MIT"
] | 28 | 2015-04-09T23:11:23.000Z | 2021-10-30T09:04:38.000Z | srilm/__init__.py | rcgale/srilm-python | 1ac8ca6e5a743abd3692018e578aabf094750c89 | [
"MIT"
] | 6 | 2015-10-27T07:40:12.000Z | 2021-12-08T02:27:05.000Z | srilm/__init__.py | rcgale/srilm-python | 1ac8ca6e5a743abd3692018e578aabf094750c89 | [
"MIT"
] | 11 | 2015-09-22T05:01:31.000Z | 2021-04-29T02:35:00.000Z | """
Python binding for SRI LM Toolkit implemented in Cython
"""
__all__ = ["vocab", "stats", "discount", "base", "ngram", "maxent", "utils"]
from . import vocab, stats, discount, base, ngram, maxent, utils
| 29.571429 | 76 | 0.676329 | 26 | 207 | 5.230769 | 0.730769 | 0.147059 | 0.264706 | 0.323529 | 0.558824 | 0.558824 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0.149758 | 207 | 6 | 77 | 34.5 | 0.772727 | 0.2657 | 0 | 0 | 0 | 0 | 0.263889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fe5f14f54998fc32eaa2a918da0fccc1507c5a2e | 151 | py | Python | lesson16n2_projects/wcsc/auto_gen/code/states/reply_reject.py | muzudho/py-state-machine-practice | e31c066f4cf142b6b6c5ff273b56a0f89428c59e | [
"MIT"
] | null | null | null | lesson16n2_projects/wcsc/auto_gen/code/states/reply_reject.py | muzudho/py-state-machine-practice | e31c066f4cf142b6b6c5ff273b56a0f89428c59e | [
"MIT"
] | null | null | null | lesson16n2_projects/wcsc/auto_gen/code/states/reply_reject.py | muzudho/py-state-machine-practice | e31c066f4cf142b6b6c5ff273b56a0f89428c59e | [
"MIT"
] | null | null | null | from lesson15_projects.wcsc.data.const import E_OVER
class ReplyRejectState():
def update(self, req):
# 何もせず終わります
return E_OVER
| 16.777778 | 52 | 0.688742 | 19 | 151 | 5.315789 | 0.894737 | 0.09901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.238411 | 151 | 8 | 53 | 18.875 | 0.86087 | 0.059603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
fe69661798a6603dac4c2dcfe66ba72c3a08e888 | 318 | py | Python | gaphor/UML/usecases/__init__.py | bertob/gaphor | a1d6f8dd8c878f299980bba6c055436148573274 | [
"Apache-2.0"
] | 867 | 2018-01-09T00:19:09.000Z | 2022-03-31T02:49:23.000Z | gaphor/UML/usecases/__init__.py | burakozturk16/gaphor | 86267a5200ac4439626d35d306dbb376c3800107 | [
"Apache-2.0"
] | 790 | 2018-01-13T23:47:07.000Z | 2022-03-31T16:04:27.000Z | gaphor/UML/usecases/__init__.py | burakozturk16/gaphor | 86267a5200ac4439626d35d306dbb376c3800107 | [
"Apache-2.0"
] | 117 | 2018-01-09T02:24:49.000Z | 2022-03-23T08:07:42.000Z | from gaphor.UML.usecases import usecaseconnect
from gaphor.UML.usecases.actor import ActorItem
from gaphor.UML.usecases.extend import ExtendItem
from gaphor.UML.usecases.include import IncludeItem
from gaphor.UML.usecases.usecase import UseCaseItem
__all__ = ["ActorItem", "ExtendItem", "IncludeItem", "UseCaseItem"]
| 39.75 | 67 | 0.827044 | 39 | 318 | 6.641026 | 0.384615 | 0.19305 | 0.250965 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 318 | 7 | 68 | 45.428571 | 0.890034 | 0 | 0 | 0 | 0 | 0 | 0.128931 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fe780921d0d07d4474ce650db8a3765ff4995dce | 37 | py | Python | api/__init__.py | markjmiller/startup-generator | d863c3ac0e5d6bc2a20aefb960f66dd2b35b563c | [
"MIT"
] | null | null | null | api/__init__.py | markjmiller/startup-generator | d863c3ac0e5d6bc2a20aefb960f66dd2b35b563c | [
"MIT"
] | null | null | null | api/__init__.py | markjmiller/startup-generator | d863c3ac0e5d6bc2a20aefb960f66dd2b35b563c | [
"MIT"
] | null | null | null | # For Elastic Beanstalk and Gunicorn
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.967742 | 0.918919 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fe8b4e5cb5d7a7fd7d1e9f2a48c1af1b97742f2c | 40,775 | py | Python | sds/distributions/composite.py | hanyas/sds | 3c195fb9cbd88a9284287d62c0eacb6afc4598a7 | [
"MIT"
] | 12 | 2019-09-21T13:52:09.000Z | 2022-02-14T06:48:46.000Z | sds/distributions/composite.py | hanyas/sds | 3c195fb9cbd88a9284287d62c0eacb6afc4598a7 | [
"MIT"
] | 1 | 2020-01-22T12:34:52.000Z | 2020-01-26T21:14:11.000Z | sds/distributions/composite.py | hanyas/sds | 3c195fb9cbd88a9284287d62c0eacb6afc4598a7 | [
"MIT"
] | 5 | 2019-09-18T15:11:26.000Z | 2021-12-10T14:04:53.000Z | from abc import ABC
import numpy as np
import numpy.random as npr
import scipy as sc
from scipy import linalg
from scipy.special import digamma
from sds.distributions.gaussian import GaussianWithPrecision
from sds.distributions.gaussian import GaussianWithDiagonalPrecision
from sds.distributions.matrix import Matri... | 32.962813 | 109 | 0.580846 | 5,357 | 40,775 | 4.307075 | 0.038641 | 0.032376 | 0.015993 | 0.023101 | 0.807567 | 0.737052 | 0.70316 | 0.681663 | 0.649244 | 0.612534 | 0 | 0.008365 | 0.299277 | 40,775 | 1,236 | 110 | 32.989482 | 0.799174 | 0.028449 | 0 | 0.684564 | 0 | 0 | 0.002906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225951 | false | 0 | 0.021253 | 0.089485 | 0.425056 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 5 |
22cae21ce6cee62b39eb0bd31e27c1af4177c683 | 83 | py | Python | interrogator/question/__init__.py | jackmaney/interrogator | 1037b6b49542f1f309fbe18afe7ca305d1faabad | [
"MIT"
] | 2 | 2015-03-17T21:42:51.000Z | 2018-02-24T22:54:11.000Z | interrogator/question/__init__.py | jackmaney/interrogator | 1037b6b49542f1f309fbe18afe7ca305d1faabad | [
"MIT"
] | 5 | 2015-03-13T03:33:16.000Z | 2015-03-20T22:17:48.000Z | interrogator/question/__init__.py | jackmaney/interrogator | 1037b6b49542f1f309fbe18afe7ca305d1faabad | [
"MIT"
] | null | null | null | """
This module provides the ``Question`` class.
"""
from question import Question
| 16.6 | 44 | 0.722892 | 10 | 83 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 4 | 45 | 20.75 | 0.84507 | 0.53012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
22cee56c4930839af828dd7cb5db0bfe53a61968 | 75 | py | Python | distkit/__init__.py | abhinav314/distkit | 56f0cfc5123d64b0d4a43195cd48028d8f5b2bb7 | [
"MIT"
] | null | null | null | distkit/__init__.py | abhinav314/distkit | 56f0cfc5123d64b0d4a43195cd48028d8f5b2bb7 | [
"MIT"
] | null | null | null | distkit/__init__.py | abhinav314/distkit | 56f0cfc5123d64b0d4a43195cd48028d8f5b2bb7 | [
"MIT"
] | null | null | null | from distkit.gaussian import Gaussian
from distkit.binomial import Binomial | 37.5 | 37 | 0.88 | 10 | 75 | 6.6 | 0.5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 75 | 2 | 38 | 37.5 | 0.970588 | 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 | 0 | 0 | 0 | 5 |
22d672e3b8fe31416af76f4969f1d8b058510645 | 42 | py | Python | slack_utils/exceptions.py | wilgucki/slack_utils | 206ba34e54baa63ce44de6e9cdeb6c20c18d2f8c | [
"MIT"
] | null | null | null | slack_utils/exceptions.py | wilgucki/slack_utils | 206ba34e54baa63ce44de6e9cdeb6c20c18d2f8c | [
"MIT"
] | 30 | 2020-01-21T07:21:16.000Z | 2020-10-12T06:07:07.000Z | slack_utils/exceptions.py | wilgucki/slack_utils | 206ba34e54baa63ce44de6e9cdeb6c20c18d2f8c | [
"MIT"
] | null | null | null | class SlackException(Exception):
pass
| 14 | 32 | 0.761905 | 4 | 42 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 33 | 21 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
22ff240b5c4504d49ea670dc608bbcc935cdab9c | 797 | py | Python | datadog_checks_base/tests/test_config.py | mchelen-gov/integrations-core | 81281600b3cc7025a7a32148c59620c9592a564f | [
"BSD-3-Clause"
] | 663 | 2016-08-23T05:23:45.000Z | 2022-03-29T00:37:23.000Z | datadog_checks_base/tests/test_config.py | mchelen-gov/integrations-core | 81281600b3cc7025a7a32148c59620c9592a564f | [
"BSD-3-Clause"
] | 6,642 | 2016-06-09T16:29:20.000Z | 2022-03-31T22:24:09.000Z | datadog_checks_base/tests/test_config.py | mchelen-gov/integrations-core | 81281600b3cc7025a7a32148c59620c9592a564f | [
"BSD-3-Clause"
] | 1,222 | 2017-01-27T15:51:38.000Z | 2022-03-31T18:17:51.000Z | # (C) Datadog, Inc. 2018-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
from datadog_checks import config
def test_alias():
"""
Ensure we have an alias to import is_affirmative as _is_affirmative for
backward compatibility with Agent 5.x
"""
assert getatt... | 31.88 | 75 | 0.734003 | 118 | 797 | 4.813559 | 0.457627 | 0.274648 | 0.301056 | 0.352113 | 0.485915 | 0.401408 | 0.112676 | 0 | 0 | 0 | 0 | 0.013804 | 0.181932 | 797 | 24 | 76 | 33.208333 | 0.857362 | 0.27478 | 0 | 0 | 0 | 0 | 0.093525 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.166667 | true | 0 | 0.083333 | 0 | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a3b0a95b743ca84edb1ed51b46f5e46c7f1e30f2 | 7,369 | py | Python | tests/test_integration_client.py | tylerthetiger/basketball_reference_web_scraper | 2bf0a260e08b649326852c05f39da2922b912bfe | [
"MIT"
] | null | null | null | tests/test_integration_client.py | tylerthetiger/basketball_reference_web_scraper | 2bf0a260e08b649326852c05f39da2922b912bfe | [
"MIT"
] | null | null | null | tests/test_integration_client.py | tylerthetiger/basketball_reference_web_scraper | 2bf0a260e08b649326852c05f39da2922b912bfe | [
"MIT"
] | null | null | null | from datetime import datetime
from unittest import TestCase
import basketball_reference_web_scraper.client as client
from basketball_reference_web_scraper.data import OutputWriteOption, OutputType
class TestClient(TestCase):
def test_schedules_from_2001(self):
now = datetime.now()
current_year = ... | 38.989418 | 81 | 0.751934 | 905 | 7,369 | 5.691713 | 0.088398 | 0.181712 | 0.206174 | 0.100951 | 0.864298 | 0.807028 | 0.705106 | 0.54106 | 0.54106 | 0.54106 | 0 | 0.053826 | 0.180622 | 7,369 | 188 | 82 | 39.196809 | 0.799271 | 0.027005 | 0 | 0.323741 | 0 | 0 | 0.001396 | 0 | 0 | 0 | 0 | 0.005319 | 0.280576 | 1 | 0.28777 | false | 0 | 0.028777 | 0 | 0.323741 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a3c0ff2bf594c3260b361f9b1d4403a0af8b68a6 | 227 | py | Python | ui/buttons.py | okkdev/concerto-mbaacc | 2772111b0482a2024d14c370a5f6759df07f8460 | [
"MIT"
] | null | null | null | ui/buttons.py | okkdev/concerto-mbaacc | 2772111b0482a2024d14c370a5f6759df07f8460 | [
"MIT"
] | null | null | null | ui/buttons.py | okkdev/concerto-mbaacc | 2772111b0482a2024d14c370a5f6759df07f8460 | [
"MIT"
] | null | null | null | from kivy.uix.button import Button
from kivy.uix.anchorlayout import AnchorLayout
class MenuBtn(Button):
pass
class DummyBtn(Button):
pass
class LobbyBtn(Button):
pass
class PlayerRow(AnchorLayout):
pass | 12.611111 | 46 | 0.740088 | 28 | 227 | 6 | 0.428571 | 0.178571 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189427 | 227 | 18 | 47 | 12.611111 | 0.913043 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
a3ca31991b55ed964f7cad9a846387eae13b8f12 | 7,698 | py | Python | dojo/unittests/test_finding_helper.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 1,772 | 2018-01-22T23:32:15.000Z | 2022-03-31T14:49:33.000Z | dojo/unittests/test_finding_helper.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 3,461 | 2018-01-20T19:12:28.000Z | 2022-03-31T17:14:39.000Z | dojo/unittests/test_finding_helper.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 1,173 | 2018-01-23T07:10:23.000Z | 2022-03-31T14:40:43.000Z | from django.test import TestCase
from dojo.models import Finding, Test
from django.contrib.auth.models import User
from unittest import mock
from crum import impersonate
import datetime
from django.utils import timezone
import logging
logger = logging.getLogger(__name__)
# frozen_datetime = timezone.make_aware(dateti... | 40.303665 | 218 | 0.644713 | 920 | 7,698 | 5.152174 | 0.109783 | 0.07384 | 0.028481 | 0.063291 | 0.797679 | 0.791983 | 0.791983 | 0.775949 | 0.775949 | 0.713502 | 0 | 0.006124 | 0.257599 | 7,698 | 190 | 219 | 40.515789 | 0.823272 | 0.038062 | 0 | 0.673203 | 0 | 0.006536 | 0.082286 | 0.073774 | 0 | 0 | 0 | 0.005263 | 0.058824 | 1 | 0.071895 | false | 0 | 0.052288 | 0 | 0.143791 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a3f6d2820735b11ca577de173506b4b4f34902d2 | 10,791 | py | Python | mafipy/function/tests/test_payoff.py | i05nagai/mafipy | ea7312065b8abea4c7054203176269637ff346ca | [
"MIT"
] | 6 | 2017-01-15T05:05:09.000Z | 2020-12-29T20:03:37.000Z | mafipy/function/tests/test_payoff.py | i05nagai/mafipy | ea7312065b8abea4c7054203176269637ff346ca | [
"MIT"
] | 77 | 2016-12-03T12:54:42.000Z | 2018-06-15T14:44:14.000Z | mafipy/function/tests/test_payoff.py | i05nagai/mafipy | ea7312065b8abea4c7054203176269637ff346ca | [
"MIT"
] | 3 | 2016-12-17T11:09:38.000Z | 2017-11-05T09:15:02.000Z | #!/bin/python
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import
from pytest import approx
import pytest
from . import util
import mafipy.function as target
class TestPayoff(object):
# before all tests starts
@classmethod
def setup_class(cls):
pass
# a... | 33.512422 | 78 | 0.504772 | 1,204 | 10,791 | 4.375415 | 0.068937 | 0.031131 | 0.036446 | 0.034169 | 0.84833 | 0.811503 | 0.773538 | 0.733485 | 0.672551 | 0.668945 | 0 | 0.05779 | 0.382634 | 10,791 | 321 | 79 | 33.616822 | 0.732963 | 0.12288 | 0 | 0.617021 | 0 | 0 | 0.041773 | 0 | 0 | 0 | 0 | 0 | 0.059574 | 1 | 0.097872 | false | 0.029787 | 0.021277 | 0 | 0.140426 | 0.004255 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
430a169f6b01a2c66a118a19133d68cf3b54adf5 | 184 | py | Python | AI_RC/get_data.py | xiaoqian19940510/TASLP-EAREE | 21b3b964e169156f69cc379110db4d63fa6dcff4 | [
"Apache-2.0"
] | 15 | 2021-06-24T08:15:33.000Z | 2022-03-23T11:52:03.000Z | AI_RC/get_data.py | RobertIBM/TASLP-EAREE | dda8b8de6383466663a90d00dcd9e27b1686cdd1 | [
"Apache-2.0"
] | 2 | 2021-06-30T14:07:44.000Z | 2021-07-27T02:39:29.000Z | AI_RC/get_data.py | RobertIBM/TASLP-EAREE | dda8b8de6383466663a90d00dcd9e27b1686cdd1 | [
"Apache-2.0"
] | 2 | 2021-06-24T08:07:36.000Z | 2021-07-21T02:35:54.000Z | from preprocessing.data_processor import read_squad_data
if __name__ == "__main__":
read_squad_data("AI_RC/data/squad-like_all_train_data.json", "AI_RC/data/",is_training=True)
| 26.285714 | 96 | 0.793478 | 29 | 184 | 4.37931 | 0.655172 | 0.141732 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092391 | 184 | 6 | 97 | 30.666667 | 0.760479 | 0 | 0 | 0 | 0 | 0 | 0.32967 | 0.225275 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
43191611bf2174a75d5ade64e1c7ce6b97c1e82c | 29 | py | Python | autocalendar/autocalendar.py | danielqiang/autocalendar | 32b268c0b0958be2cfb7e2891172195474feec86 | [
"MIT"
] | null | null | null | autocalendar/autocalendar.py | danielqiang/autocalendar | 32b268c0b0958be2cfb7e2891172195474feec86 | [
"MIT"
] | null | null | null | autocalendar/autocalendar.py | danielqiang/autocalendar | 32b268c0b0958be2cfb7e2891172195474feec86 | [
"MIT"
] | null | null | null | class AutoCalendar:
pass
| 9.666667 | 19 | 0.724138 | 3 | 29 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 2 | 20 | 14.5 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
431b0c930ae29fdf5fd188d79dba3b7e29377101 | 186 | py | Python | hubnspoke/common/exceptions.py | pawelpreczynski-digica/monaifl | 992caa152dcee00c57cde5b1e08f2170ca177046 | [
"Unlicense",
"MIT"
] | 17 | 2019-10-25T13:35:59.000Z | 2021-01-06T09:18:07.000Z | hubnspoke/common/exceptions.py | pawelpreczynski-digica/monaifl | 992caa152dcee00c57cde5b1e08f2170ca177046 | [
"Unlicense",
"MIT"
] | 21 | 2019-11-05T20:39:47.000Z | 2020-07-17T17:15:42.000Z | hubnspoke/common/exceptions.py | pawelpreczynski-digica/monaifl | 992caa152dcee00c57cde5b1e08f2170ca177046 | [
"Unlicense",
"MIT"
] | 5 | 2021-06-03T11:52:17.000Z | 2022-02-22T21:21:58.000Z |
class InvalidInterface(Exception):
pass
class EmptyInterface(InvalidInterface):
pass
class NotAFileError(Exception):
pass
class MissingFileError(Exception):
pass
| 10.941176 | 39 | 0.741935 | 16 | 186 | 8.625 | 0.4375 | 0.282609 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 186 | 16 | 40 | 11.625 | 0.92 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
431ca4b47d906eb17f1341803677aa6870493cf4 | 55 | py | Python | transmission_logging/middleware/__init__.py | samhelman/django-transmission-logging | 8ff3227111b0701fa5c1165b7fb51fd0acefbd0f | [
"MIT"
] | null | null | null | transmission_logging/middleware/__init__.py | samhelman/django-transmission-logging | 8ff3227111b0701fa5c1165b7fb51fd0acefbd0f | [
"MIT"
] | null | null | null | transmission_logging/middleware/__init__.py | samhelman/django-transmission-logging | 8ff3227111b0701fa5c1165b7fb51fd0acefbd0f | [
"MIT"
] | null | null | null | from .middleware import (
TransmissionMiddleware,
) | 18.333333 | 27 | 0.763636 | 4 | 55 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 55 | 3 | 28 | 18.333333 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
433293c6ba3c99f41f09649a8592a749f08d3a09 | 177 | py | Python | transcription_compare/tokenizer/abstract_tokenizer.py | HannaHUp/transcription-compare | e25d9651e604a854acba9659602ae1ea5497169e | [
"MIT"
] | 2 | 2019-09-03T13:26:55.000Z | 2020-08-04T20:32:35.000Z | transcription_compare/tokenizer/abstract_tokenizer.py | HannaHUp/transcription-compare | e25d9651e604a854acba9659602ae1ea5497169e | [
"MIT"
] | null | null | null | transcription_compare/tokenizer/abstract_tokenizer.py | HannaHUp/transcription-compare | e25d9651e604a854acba9659602ae1ea5497169e | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from typing import List
class AbstractTokenizer(ABC):
@abstractmethod
def tokenize(self, token_string: str) -> List:
pass
| 17.7 | 50 | 0.717514 | 21 | 177 | 6 | 0.714286 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214689 | 177 | 9 | 51 | 19.666667 | 0.906475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
433c3c7227cf59add1b4f780682931562a6247c8 | 873 | py | Python | Day 32 - Birthday Wisher/art.py | atulmkamble/100DaysOfCode | ccfb6cb8582be69c63c666a3b097e0130585e4c9 | [
"MIT"
] | 2 | 2021-12-07T00:39:57.000Z | 2021-12-07T01:44:21.000Z | Day 32 - Birthday Wisher/art.py | atulmkamble/100DaysOfCode | ccfb6cb8582be69c63c666a3b097e0130585e4c9 | [
"MIT"
] | null | null | null | Day 32 - Birthday Wisher/art.py | atulmkamble/100DaysOfCode | ccfb6cb8582be69c63c666a3b097e0130585e4c9 | [
"MIT"
] | 1 | 2021-09-12T14:02:27.000Z | 2021-09-12T14:02:27.000Z | """
This file contains ASCII art used in the Birthday Wisher program
"""
logo = """
,-----. ,--. ,--. ,--. ,--. ,--. ,--.,--. ,--.
| |) /_ `-... | 62.357143 | 111 | 0.067583 | 12 | 873 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.552119 | 873 | 13 | 112 | 67.153846 | 0.148338 | 0.07331 | 0 | 0 | 0 | 0.25 | 0.980025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a2e5ed93e2276995f5727ed501a43eae18a6d9a | 50 | py | Python | reid/models/__init__.py | zhangxinyu-tj/PAST | 67f1f7a780e869aa7867167538edb03faa96dec5 | [
"MIT"
] | 112 | 2019-08-01T01:18:42.000Z | 2022-03-29T07:49:35.000Z | reid/models/__init__.py | zhangxinyu-tj/PAST | 67f1f7a780e869aa7867167538edb03faa96dec5 | [
"MIT"
] | 15 | 2019-08-22T09:17:52.000Z | 2022-03-12T00:18:56.000Z | reid/models/__init__.py | zhangxinyu-tj/PAST | 67f1f7a780e869aa7867167538edb03faa96dec5 | [
"MIT"
] | 25 | 2019-08-27T19:07:04.000Z | 2022-02-05T05:59:56.000Z | from .model import Model
from .resnet import names | 25 | 25 | 0.82 | 8 | 50 | 5.125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 25 | 25 | 0.953488 | 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 | 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 | 5 |
4a33da01d4b1ce12d32fbc07f96fd78d0f3f5f70 | 640 | py | Python | kerasRun-test.py | newsgac/keras-runs | edd947e9ca61dcacc7f03f92612bbc03dfc972f4 | [
"Apache-2.0"
] | null | null | null | kerasRun-test.py | newsgac/keras-runs | edd947e9ca61dcacc7f03f92612bbc03dfc972f4 | [
"Apache-2.0"
] | null | null | null | kerasRun-test.py | newsgac/keras-runs | edd947e9ca61dcacc7f03f92612bbc03dfc972f4 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
"""
kerasRun-test.py: tests for kerasRun.py
usage: kerasRun-test.py
20171216 erikt(at)xs4all.nl
"""
import io
import re
import sys
import unittest
from contextlib import redirect_stdout
from kerasRun import makeNumeric
from kerasRun import predict
from kerasRun import readData
from keras... | 20 | 43 | 0.742188 | 81 | 640 | 5.753086 | 0.518519 | 0.128755 | 0.193133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026769 | 0.182813 | 640 | 31 | 44 | 20.645161 | 0.864245 | 0.170313 | 0 | 0 | 0 | 0 | 0.015656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.277778 | 0.555556 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
4a34387b0525de0477c90bbbf20ba9596f0c5357 | 78 | py | Python | tests/test_nothin.py | saifuddin778/mkalgo | 3271c0507680cb62ded3c17c76aee1fbd8050e0d | [
"MIT"
] | 21 | 2017-05-06T06:38:46.000Z | 2021-12-14T10:04:06.000Z | tests/test_nothin.py | microprediction/mkalgo | 08d72f690d9a328765871cbd61019dff1f694219 | [
"MIT"
] | 2 | 2018-05-24T04:27:49.000Z | 2021-03-01T17:26:34.000Z | tests/test_nothin.py | saifuddin778/mkalgo | 3271c0507680cb62ded3c17c76aee1fbd8050e0d | [
"MIT"
] | 12 | 2017-07-10T05:37:32.000Z | 2022-01-11T06:26:17.000Z | from mkalgo.utilities import utils, funcs
def test_nothin():
assert True
| 15.6 | 41 | 0.75641 | 11 | 78 | 5.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 78 | 4 | 42 | 19.5 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4a503834f0b33528075af5bd1a28a491a6be9dfb | 4,046 | py | Python | tests/linear_swap/test_ws_account.py | hbdmapi/huobi_sdk_Python | a4ee876f947011fb5d66da32853cb3a21d852a4b | [
"MIT"
] | 1 | 2022-03-13T16:55:34.000Z | 2022-03-13T16:55:34.000Z | tests/linear_swap/test_ws_account.py | hbdmapi/huobi_sdk_Python | a4ee876f947011fb5d66da32853cb3a21d852a4b | [
"MIT"
] | null | null | null | tests/linear_swap/test_ws_account.py | hbdmapi/huobi_sdk_Python | a4ee876f947011fb5d66da32853cb3a21d852a4b | [
"MIT"
] | null | null | null | import sys
import unittest
import time
sys.path.append('../../src')
sys.path.append('..')
from huobi.utils.logger import logger
from huobi.linear_swap.ws.account import Account
from config import ACCESS_KEY, SECRET_KEY
class TestWsAccount(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.api... | 36.125 | 80 | 0.57044 | 521 | 4,046 | 4.287908 | 0.111324 | 0.081468 | 0.128021 | 0.081468 | 0.806625 | 0.806625 | 0.776186 | 0.754252 | 0.684423 | 0.630707 | 0 | 0.017457 | 0.249629 | 4,046 | 111 | 81 | 36.45045 | 0.718379 | 0 | 0 | 0.423913 | 0 | 0 | 0.210331 | 0.083539 | 0 | 0 | 0 | 0 | 0 | 1 | 0.152174 | false | 0 | 0.065217 | 0 | 0.228261 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a578211848555c6c5fd44c956915c822d8d90ea | 241 | py | Python | backend/src/data/mongo/wrapped/__init__.py | rutvikpadhiyar000/github-trends | af66cd1419586c6c91b75c3e32013160b2c36bcb | [
"MIT"
] | 157 | 2021-09-11T15:53:52.000Z | 2022-03-27T07:03:09.000Z | backend/src/data/mongo/wrapped/__init__.py | rutvikpadhiyar000/github-trends | af66cd1419586c6c91b75c3e32013160b2c36bcb | [
"MIT"
] | 120 | 2021-02-27T21:37:47.000Z | 2022-03-25T14:44:08.000Z | backend/src/data/mongo/wrapped/__init__.py | rutvikpadhiyar000/github-trends | af66cd1419586c6c91b75c3e32013160b2c36bcb | [
"MIT"
] | 5 | 2021-12-06T18:43:01.000Z | 2022-01-31T07:06:16.000Z | from src.data.mongo.wrapped.functions import set_wrapped_user
from src.data.mongo.wrapped.get import get_wrapped_user
from src.data.mongo.wrapped.models import WrappedModel
__all__ = ["set_wrapped_user", "get_wrapped_user", "WrappedModel"]
| 40.166667 | 66 | 0.829876 | 36 | 241 | 5.222222 | 0.361111 | 0.234043 | 0.175532 | 0.255319 | 0.484043 | 0.361702 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0.074689 | 241 | 5 | 67 | 48.2 | 0.843049 | 0 | 0 | 0 | 0 | 0 | 0.182573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4ac5d25e7419a609e4ea6ae3d0eedf8eef92671a | 426 | py | Python | config/blog_system_api/base/permissions.py | StepanGavrilov/PyConnect-Test | b561490ba1df3c887f660aa086c940f9a8ab2158 | [
"CC0-1.0"
] | null | null | null | config/blog_system_api/base/permissions.py | StepanGavrilov/PyConnect-Test | b561490ba1df3c887f660aa086c940f9a8ab2158 | [
"CC0-1.0"
] | null | null | null | config/blog_system_api/base/permissions.py | StepanGavrilov/PyConnect-Test | b561490ba1df3c887f660aa086c940f9a8ab2158 | [
"CC0-1.0"
] | null | null | null | from rest_framework.permissions import BasePermission
class IsAuthorEntry(BasePermission):
"""
Проверяем автора объекта
"""
def has_object_permission(self, request, view, obj):
return obj.owner == request.user
class IsAuthorCommentEntry(BasePermission):
"""
Проверяем автора объекта
... | 23.666667 | 56 | 0.701878 | 44 | 426 | 6.681818 | 0.545455 | 0.156463 | 0.197279 | 0.244898 | 0.578231 | 0.578231 | 0.578231 | 0.578231 | 0.578231 | 0.578231 | 0 | 0 | 0.206573 | 426 | 17 | 57 | 25.058824 | 0.869822 | 0.115023 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 1 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
434e3b223aebebca3834fd0cbb4f784fd407c275 | 159 | py | Python | learnergy/models/extra/__init__.py | anukaal/learnergy | 704fc2b3fcb80df41ed28d750dc4e6475df23315 | [
"Apache-2.0"
] | 39 | 2020-02-27T00:47:45.000Z | 2022-03-28T14:57:26.000Z | learnergy/models/extra/__init__.py | anukaal/learnergy | 704fc2b3fcb80df41ed28d750dc4e6475df23315 | [
"Apache-2.0"
] | 5 | 2021-05-11T08:23:37.000Z | 2022-01-20T12:50:59.000Z | learnergy/models/extra/__init__.py | anukaal/learnergy | 704fc2b3fcb80df41ed28d750dc4e6475df23315 | [
"Apache-2.0"
] | 6 | 2020-04-15T00:23:13.000Z | 2022-01-29T16:22:05.000Z | """A package contaning additional RBM-based models (networks) for all common learnergy modules.
"""
from learnergy.models.extra.sigmoid_rbm import SigmoidRBM
| 31.8 | 95 | 0.805031 | 21 | 159 | 6.047619 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 159 | 4 | 96 | 39.75 | 0.900709 | 0.578616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
438e4afa3f5807de59f4fe7aa637d73ddfeec755 | 414 | py | Python | pandas/api/types/__init__.py | vimalromeo/pandas | 7c14e4f14aff216be558bf5d4d2d00b4838c2360 | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | venv/lib/python3.7/site-packages/pandas/api/types/__init__.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | venv/lib/python3.7/site-packages/pandas/api/types/__init__.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | """ public toolkit API """
from pandas.core.dtypes.api import * # noqa
from pandas.core.dtypes.dtypes import (CategoricalDtype, # noqa
DatetimeTZDtype,
PeriodDtype,
IntervalDtype)
from pandas.core.dty... | 41.4 | 64 | 0.562802 | 38 | 414 | 6.052632 | 0.526316 | 0.173913 | 0.182609 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.371981 | 414 | 9 | 65 | 46 | 0.884615 | 0.096618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 5 |
4398635a712e73c92e44ba4950b5b52554081867 | 77 | py | Python | examples/missingreturntype.py | quynhanh-ngx/pytago | de976ad8d85702ae665e97978bc4a75d282c857f | [
"MIT"
] | 206 | 2021-06-24T16:16:13.000Z | 2022-03-31T07:44:17.000Z | examples/missingreturntype.py | quynhanh-ngx/pytago | de976ad8d85702ae665e97978bc4a75d282c857f | [
"MIT"
] | 13 | 2021-06-24T17:51:36.000Z | 2022-02-23T10:07:17.000Z | examples/missingreturntype.py | quynhanh-ngx/pytago | de976ad8d85702ae665e97978bc4a75d282c857f | [
"MIT"
] | 14 | 2021-06-26T02:19:45.000Z | 2022-03-30T03:02:49.000Z | def main():
print(add(1, 3))
def add(a: int, b: int):
return a + b
| 11 | 24 | 0.506494 | 15 | 77 | 2.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.298701 | 77 | 6 | 25 | 12.833333 | 0.685185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
43b000028e2b2e5f9dc001cc8e99e7463504fe00 | 338 | py | Python | useraudit/signals.py | solee-dev/django-useraudit | cd9114abb99755c0c43e13e67b02a2e783b4411c | [
"BSD-3-Clause"
] | null | null | null | useraudit/signals.py | solee-dev/django-useraudit | cd9114abb99755c0c43e13e67b02a2e783b4411c | [
"BSD-3-Clause"
] | null | null | null | useraudit/signals.py | solee-dev/django-useraudit | cd9114abb99755c0c43e13e67b02a2e783b4411c | [
"BSD-3-Clause"
] | null | null | null | from django.dispatch import Signal
password_will_expire_warning = Signal(providing_args=["user", "days_left"])
password_has_expired = Signal(providing_args=["user"])
account_has_expired = Signal(providing_args=["user"])
login_failure_limit_reached = Signal(providing_args=["user"])
account_made_inactive = Signal(provid... | 48.285714 | 75 | 0.810651 | 44 | 338 | 5.818182 | 0.522727 | 0.292969 | 0.371094 | 0.449219 | 0.402344 | 0.257813 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059172 | 338 | 7 | 76 | 48.285714 | 0.805031 | 0 | 0 | 0 | 0 | 0 | 0.085546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.166667 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
43d0a67e877a10b643419170198beb6f39958cd9 | 120 | py | Python | commands/pre_1_13/parser/primitives/__init__.py | Red-Teapot/mc-commandblock-1.13-update | 64106e1ecb5adca2aff1eeb3a1fcc11486940000 | [
"MIT"
] | 1 | 2020-07-27T16:53:26.000Z | 2020-07-27T16:53:26.000Z | commands/pre_1_13/parser/primitives/__init__.py | Red-Teapot/mc-commandblock-1.13-update | 64106e1ecb5adca2aff1eeb3a1fcc11486940000 | [
"MIT"
] | 5 | 2019-01-02T14:21:32.000Z | 2019-07-07T05:39:39.000Z | commands/pre_1_13/parser/primitives/__init__.py | Red-Teapot/mc-commandblock-1.13-update | 64106e1ecb5adca2aff1eeb3a1fcc11486940000 | [
"MIT"
] | null | null | null | from .id import ID
from .coordinate import Coordinate
from .selector import Selector
from .block_state import BlockState | 30 | 35 | 0.841667 | 17 | 120 | 5.882353 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 4 | 35 | 30 | 0.952381 | 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 | 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 | 5 |
78e79986957c4f4514302c7b8a799be18e718167 | 39 | py | Python | codeup/1001.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 3 | 2019-03-09T05:19:23.000Z | 2019-04-06T09:26:36.000Z | codeup/1001.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 1 | 2020-02-23T10:38:04.000Z | 2020-02-23T10:38:04.000Z | codeup/1001.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 1 | 2019-05-22T13:47:53.000Z | 2019-05-22T13:47:53.000Z | import sys
sys.stdout.write('Hello\n')
| 13 | 27 | 0.74359 | 7 | 39 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 2 | 28 | 19.5 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6014354053255457d1f2a74c2dd06cda6584a49b | 114 | py | Python | pycrostates/segmentation/__init__.py | vferat/pycrostates | ac324fa5c61c0024d3720e3956cb93258cb86f9c | [
"BSD-3-Clause"
] | 11 | 2021-11-27T04:02:55.000Z | 2022-03-14T13:55:32.000Z | pycrostates/segmentation/__init__.py | vferat/pycrostates | ac324fa5c61c0024d3720e3956cb93258cb86f9c | [
"BSD-3-Clause"
] | 17 | 2021-01-05T15:20:19.000Z | 2022-03-24T11:02:59.000Z | pycrostates/segmentation/__init__.py | vferat/pycrostates | ac324fa5c61c0024d3720e3956cb93258cb86f9c | [
"BSD-3-Clause"
] | 3 | 2021-12-13T15:19:13.000Z | 2022-03-30T13:57:40.000Z | from .segmentation import RawSegmentation, EpochsSegmentation
__all__ = ('RawSegmentation', 'EpochsSegmentation') | 38 | 61 | 0.833333 | 8 | 114 | 11.375 | 0.75 | 0.725275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 114 | 3 | 62 | 38 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.286957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 5 |
603bf6e50cf4ee10163a6412a4c4d6f24b5c85a1 | 1,091 | py | Python | python/anyascii/_data/_0a0.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_0a0.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_0a0.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='it ix i ip iet iex ie iep at ax a ap uox uo uop ot ox o op ex e w bit bix bi bip biet biex bie biep bat bax ba bap buox buo buop bot box bo bop bex be bep but bux bu bup burx bur byt byx by byp byrx byr pit pix pi pip piex pie piep pat pax pa pap puox puo puop pot pox po pop put pux pu pup purx pur pyt pyx py pyp py... | 1,091 | 1,091 | 0.76352 | 257 | 1,091 | 3.241245 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233731 | 1,091 | 1 | 1,091 | 1,091 | 0.996411 | 0 | 0 | 0 | 0 | 1 | 0.995421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6049cd4c52134a332eb2a35dd91720475bd650f5 | 51 | py | Python | pettingzoo/classic/texas_holdem_v4.py | RedTachyon/PettingZoo | 0c4be0ca0de5a11bf8eff3f7b87976edcacd093e | [
"Apache-2.0"
] | 846 | 2020-05-12T05:55:00.000Z | 2021-10-08T19:38:40.000Z | pettingzoo/classic/texas_holdem_v4.py | RedTachyon/PettingZoo | 0c4be0ca0de5a11bf8eff3f7b87976edcacd093e | [
"Apache-2.0"
] | 237 | 2020-04-27T06:01:39.000Z | 2021-10-13T02:55:54.000Z | pettingzoo/classic/texas_holdem_v4.py | RedTachyon/PettingZoo | 0c4be0ca0de5a11bf8eff3f7b87976edcacd093e | [
"Apache-2.0"
] | 126 | 2020-05-29T04:20:29.000Z | 2021-10-13T05:31:12.000Z | from .rlcard_envs.texas_holdem import env, raw_env
| 25.5 | 50 | 0.843137 | 9 | 51 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 1 | 51 | 51 | 0.869565 | 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 | 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 | 5 |
606d3eb06a16c7e70c233ee9952f4543ac55ee4e | 117 | py | Python | keras_contrib/layers/noise.py | stante/keras-contrib | 890d3e2e5729d6cc1d5e3d9d9310ed424c4cc92f | [
"MIT"
] | 9 | 2019-07-03T12:45:13.000Z | 2022-02-17T09:18:30.000Z | keras_contrib/layers/noise.py | stante/keras-contrib | 890d3e2e5729d6cc1d5e3d9d9310ed424c4cc92f | [
"MIT"
] | null | null | null | keras_contrib/layers/noise.py | stante/keras-contrib | 890d3e2e5729d6cc1d5e3d9d9310ed424c4cc92f | [
"MIT"
] | 7 | 2019-05-27T08:32:25.000Z | 2021-05-28T11:46:27.000Z | from __future__ import absolute_import
from keras.layers import Layer
from .. import backend as K
import numpy as np
| 23.4 | 38 | 0.820513 | 19 | 117 | 4.789474 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 117 | 4 | 39 | 29.25 | 0.919192 | 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 | 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 | 5 |
60aadfb680327bd44fdae2dad91f3e72a1d4ae11 | 113 | py | Python | LifeIsShort/b/lambda_.py | loopyme/Life-is-Short | bd37e8597971283aa35bc31e29543c071f03acba | [
"MIT"
] | 1 | 2020-04-02T02:03:21.000Z | 2020-04-02T02:03:21.000Z | LifeIsShort/c/func_as_return.py | loopyme/Life-is-Short | bd37e8597971283aa35bc31e29543c071f03acba | [
"MIT"
] | null | null | null | LifeIsShort/c/func_as_return.py | loopyme/Life-is-Short | bd37e8597971283aa35bc31e29543c071f03acba | [
"MIT"
] | null | null | null | words = "Life is short"
def lazy_print(text):
return lambda: print(text)
task = lazy_print(words)
task()
| 11.3 | 30 | 0.681416 | 17 | 113 | 4.411765 | 0.647059 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19469 | 113 | 9 | 31 | 12.555556 | 0.824176 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.6 | 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 | 0 | 1 | 0 | 1 | 0 | 5 |
714f8e93dcd2aa29643f667e5931f0b471622b68 | 42 | py | Python | tests/__init__.py | martinlarsalbert/hooks | a2f930030c93c83629b4f0d019f028f4446a07a3 | [
"MIT"
] | 1 | 2021-05-21T06:05:20.000Z | 2021-05-21T06:05:20.000Z | tests/__init__.py | martinlarsalbert/hooks | a2f930030c93c83629b4f0d019f028f4446a07a3 | [
"MIT"
] | null | null | null | tests/__init__.py | martinlarsalbert/hooks | a2f930030c93c83629b4f0d019f028f4446a07a3 | [
"MIT"
] | null | null | null | import os
path = os.path.dirname(__file__) | 21 | 32 | 0.785714 | 7 | 42 | 4.142857 | 0.714286 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 2 | 32 | 21 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
71d62f75e982180f7ff12fab45e91d1d513a5c9b | 1,355 | py | Python | tests/tests_keras/test_correctness_gpu.py | ThomasRot/rational_activations | 1fa26d1ee5f3c916eda00c899afa96eccb960143 | [
"MIT"
] | 26 | 2020-11-17T11:44:52.000Z | 2022-02-25T22:14:49.000Z | tests/tests_keras/test_correctness_gpu.py | ThomasRot/rational_activations | 1fa26d1ee5f3c916eda00c899afa96eccb960143 | [
"MIT"
] | 8 | 2020-11-27T11:34:14.000Z | 2021-11-11T08:23:13.000Z | tests/tests_keras/test_correctness_gpu.py | ThomasRot/rational_activations | 1fa26d1ee5f3c916eda00c899afa96eccb960143 | [
"MIT"
] | 8 | 2020-11-21T10:12:28.000Z | 2022-01-15T16:54:48.000Z | """
This file tests that cuda calculations produce correct results.
"""
from tensorflow.nn import leaky_relu
from tensorflow.math import tanh, sigmoid
from .helpers import _test_template
# test cuda execution
CUDA = True
def test_a_on_cuda_lrelu():
_test_template(version='A', approx_func=leaky_relu, cuda=CUDA)
... | 22.966102 | 66 | 0.762362 | 215 | 1,355 | 4.381395 | 0.153488 | 0.165605 | 0.242038 | 0.175159 | 0.815287 | 0.79087 | 0.451168 | 0.144374 | 0 | 0 | 0 | 0 | 0.121771 | 1,355 | 58 | 67 | 23.362069 | 0.791597 | 0.061993 | 0 | 0 | 0 | 0 | 0.009501 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.107143 | 0 | 0.535714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
71e165b43c610bfe2d1562aef1e0c4fd2186f559 | 550 | py | Python | examples/inheritance/inherit.py | irmen/Pyro3 | 5bd531088d9a11ec83556a0429f18df6cb5cd437 | [
"MIT"
] | 3 | 2018-01-13T20:50:41.000Z | 2020-02-24T13:35:08.000Z | examples/inheritance/inherit.py | irmen/Pyro3 | 5bd531088d9a11ec83556a0429f18df6cb5cd437 | [
"MIT"
] | null | null | null | examples/inheritance/inherit.py | irmen/Pyro3 | 5bd531088d9a11ec83556a0429f18df6cb5cd437 | [
"MIT"
] | 6 | 2015-03-21T20:34:05.000Z | 2021-06-08T04:04:33.000Z | from ftplib import FTP
import Pyro.core
class base1(object):
def meth1(self):
return 'base1.meth1'
def meth2(self):
return 'base1.meth2'
class base2(object):
def meth2(self):
return 'base2.meth2'
def meth3(self):
return 'base2.meth3'
class sub(base1,base2):
def meth2(self):
return 'sub.meth2 (overridd... | 17.741935 | 37 | 0.703636 | 82 | 550 | 4.719512 | 0.292683 | 0.206718 | 0.124031 | 0.186047 | 0.170543 | 0.170543 | 0 | 0 | 0 | 0 | 0 | 0.05819 | 0.156364 | 550 | 30 | 38 | 18.333333 | 0.775862 | 0 | 0 | 0.24 | 0 | 0 | 0.196364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.36 | false | 0.04 | 0.08 | 0.32 | 0.96 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e07d969fc652f21d0cc8deff806a7360fa07e85d | 37 | py | Python | mdd/__init__.py | mvcisback/py-mdd | 9d5bdf297ab3bee86e939a2dae8d7fbe91146a44 | [
"MIT"
] | 1 | 2021-11-28T03:47:11.000Z | 2021-11-28T03:47:11.000Z | mdd/__init__.py | mvcisback/py-mdd | 9d5bdf297ab3bee86e939a2dae8d7fbe91146a44 | [
"MIT"
] | 1 | 2020-11-12T07:33:03.000Z | 2020-11-13T09:38:22.000Z | mdd/__init__.py | mvcisback/py-mdd | 9d5bdf297ab3bee86e939a2dae8d7fbe91146a44 | [
"MIT"
] | null | null | null | # flake8: noqa
from mdd.mdd import *
| 12.333333 | 21 | 0.702703 | 6 | 37 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.189189 | 37 | 2 | 22 | 18.5 | 0.833333 | 0.324324 | 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 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.