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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d9d752d2e06a0e2b43b4d1296a8ee2ddee1cbb75 | 217 | py | Python | models/__init__.py | bear9608/NIU | 07168e981cf261e2e20c577c7d75df0cc2fb0c19 | [
"MIT"
] | null | null | null | models/__init__.py | bear9608/NIU | 07168e981cf261e2e20c577c7d75df0cc2fb0c19 | [
"MIT"
] | null | null | null | models/__init__.py | bear9608/NIU | 07168e981cf261e2e20c577c7d75df0cc2fb0c19 | [
"MIT"
] | null | null | null | from .models import make, load
from . import convnet4
from . import resnet12
from . import resnet
from . import classifier
from . import meta_baseline
from . import save_feature_model
from . import meta_baseline_demo
| 24.111111 | 32 | 0.806452 | 31 | 217 | 5.483871 | 0.483871 | 0.411765 | 0.164706 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016304 | 0.152074 | 217 | 8 | 33 | 27.125 | 0.907609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a0ff364fd8481af95be121b5bce40954d18e568 | 31 | py | Python | RaspberyPi AWS/twilio.py | greenSyntax/AWS-RaspberryPi | ac09fa90eb61c525be94e44f0580a669782c221e | [
"MIT"
] | null | null | null | RaspberyPi AWS/twilio.py | greenSyntax/AWS-RaspberryPi | ac09fa90eb61c525be94e44f0580a669782c221e | [
"MIT"
] | null | null | null | RaspberyPi AWS/twilio.py | greenSyntax/AWS-RaspberryPi | ac09fa90eb61c525be94e44f0580a669782c221e | [
"MIT"
] | null | null | null | from twilio.rest import Client
| 15.5 | 30 | 0.83871 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a1cc05c202d22694c8f7e1924451342b21dae4b | 8,945 | py | Python | tests/platform/test_advanced_reboot.py | SuvarnaMeenakshi/sonic-mgmt | 34d7833b52276d68fb9f515354ca71e7ec2f31bb | [
"Apache-2.0"
] | null | null | null | tests/platform/test_advanced_reboot.py | SuvarnaMeenakshi/sonic-mgmt | 34d7833b52276d68fb9f515354ca71e7ec2f31bb | [
"Apache-2.0"
] | null | null | null | tests/platform/test_advanced_reboot.py | SuvarnaMeenakshi/sonic-mgmt | 34d7833b52276d68fb9f515354ca71e7ec2f31bb | [
"Apache-2.0"
] | null | null | null | import pytest
@pytest.mark.usefixtures('get_advanced_reboot')
def test_fast_reboot(request, get_advanced_reboot):
'''
Fast reboot test case is run using advacned reboot test fixture
@param request: Spytest commandline argument
@param get_advanced_reboot: advanced reboot test fixture
'''
advanc... | 43.848039 | 120 | 0.672443 | 1,109 | 8,945 | 5.245266 | 0.100992 | 0.108303 | 0.105209 | 0.037133 | 0.941723 | 0.936565 | 0.931752 | 0.914389 | 0.887915 | 0.848204 | 0 | 0.016731 | 0.251649 | 8,945 | 203 | 121 | 44.064039 | 0.852256 | 0.444047 | 0 | 0.669903 | 0 | 0 | 0.214652 | 0.096326 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087379 | false | 0 | 0.009709 | 0 | 0.097087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a4082f7eb6a79128015d4193054bc26ada3a1e4 | 24 | py | Python | apps/home/__init__.py | mpeiffer/defundthepolice | 2b912cab62ffc0eac05324d8462445c77a9316a6 | [
"Apache-2.0"
] | 25 | 2020-09-27T06:40:44.000Z | 2021-08-03T15:10:46.000Z | apps/home/__init__.py | mpeiffer/defundthepolice | 2b912cab62ffc0eac05324d8462445c77a9316a6 | [
"Apache-2.0"
] | 52 | 2020-09-26T20:19:48.000Z | 2020-10-31T02:11:22.000Z | apps/home/__init__.py | mpeiffer/defundthepolice | 2b912cab62ffc0eac05324d8462445c77a9316a6 | [
"Apache-2.0"
] | 51 | 2020-09-27T08:06:09.000Z | 2021-07-09T01:45:02.000Z | from .views import view
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a50d31396e06dfa2d9b0eb1e626fd94a2bcdc6e | 36 | py | Python | cms_people/__init__.py | python-spain/djangocms-people | 406a64b49ed152d615e421b47aef7366083b5376 | [
"MIT"
] | 1 | 2016-06-17T23:45:07.000Z | 2016-06-17T23:45:07.000Z | cms_people/__init__.py | python-spain/djangocms-people | 406a64b49ed152d615e421b47aef7366083b5376 | [
"MIT"
] | null | null | null | cms_people/__init__.py | python-spain/djangocms-people | 406a64b49ed152d615e421b47aef7366083b5376 | [
"MIT"
] | null | null | null | from cms_contact import __version__
| 18 | 35 | 0.888889 | 5 | 36 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a889f3c8aff84f389008024aa39313edf71669e | 32 | py | Python | src/ocr/__init__.py | thoaif/mv-bank-receipt-ocr | 604588d256ea33569c2650ee004c42b9e9116482 | [
"MIT"
] | 4 | 2020-04-20T15:44:08.000Z | 2020-12-28T13:39:00.000Z | src/ocr/__init__.py | thoaif/mv-bank-receipt-ocr | 604588d256ea33569c2650ee004c42b9e9116482 | [
"MIT"
] | null | null | null | src/ocr/__init__.py | thoaif/mv-bank-receipt-ocr | 604588d256ea33569c2650ee004c42b9e9116482 | [
"MIT"
] | null | null | null | from src.ocr.ocr import run_ocr
| 16 | 31 | 0.8125 | 7 | 32 | 3.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76fa32d963bf8377ddfe10f9b62a6ccdd668a8da | 23,005 | py | Python | pybind/slxos/v16r_1_00b/routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/default_vrf/aggregate_address/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/default_vrf/aggregate_address/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/default_vrf/aggregate_address/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 75.924092 | 580 | 0.733362 | 3,318 | 23,005 | 4.84358 | 0.062688 | 0.038579 | 0.045299 | 0.020907 | 0.828138 | 0.794412 | 0.786074 | 0.776181 | 0.766287 | 0.760314 | 0 | 0.013824 | 0.122669 | 23,005 | 302 | 581 | 76.175497 | 0.782441 | 0.170745 | 0 | 0.427083 | 0 | 0.046875 | 0.386688 | 0.156337 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109375 | false | 0 | 0.041667 | 0 | 0.270833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a0b03d8274268345cbb5eb85ed16043f17efae8 | 29 | py | Python | openbadges/__init__.py | iankpconcentricsky/badgecheck | 4e3164ed363892dd2d5471ca814a4b554ff9e7cb | [
"Apache-2.0"
] | 28 | 2017-08-28T18:01:17.000Z | 2021-09-25T06:42:06.000Z | openbadges/__init__.py | iankpconcentricsky/badgecheck | 4e3164ed363892dd2d5471ca814a4b554ff9e7cb | [
"Apache-2.0"
] | 127 | 2017-03-13T18:24:21.000Z | 2017-08-24T19:29:16.000Z | openbadges/__init__.py | iankpconcentricsky/badgecheck | 4e3164ed363892dd2d5471ca814a4b554ff9e7cb | [
"Apache-2.0"
] | 11 | 2017-10-08T16:23:25.000Z | 2022-01-13T12:22:29.000Z | from .verifier import verify
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a5e6719024da686c1b53fc62cf08f45342d42c4 | 98 | py | Python | piano_fingering/__init__.py | Kanma/piano_fingering | 88963cad52bb3c16438d69f600830a6d43d923ce | [
"MIT"
] | 1 | 2018-10-04T18:14:12.000Z | 2018-10-04T18:14:12.000Z | piano_fingering/__init__.py | Kanma/piano_fingering | 88963cad52bb3c16438d69f600830a6d43d923ce | [
"MIT"
] | null | null | null | piano_fingering/__init__.py | Kanma/piano_fingering | 88963cad52bb3c16438d69f600830a6d43d923ce | [
"MIT"
] | null | null | null | from .fingering import computeFingering
from .midi import nameToMidi
from .midi import listToMidi
| 24.5 | 39 | 0.846939 | 12 | 98 | 6.916667 | 0.583333 | 0.192771 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 3 | 40 | 32.666667 | 0.965116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a997c5702ad8932d3650f6cf148a8d9000eb0b7 | 10,384 | py | Python | coding_challenge/cities/tests/test_views.py | BasemSrour/coding-challenge | 14a905868173df101f29ec658f500011482fb187 | [
"MIT"
] | 1 | 2021-06-07T15:34:25.000Z | 2021-06-07T15:34:25.000Z | coding_challenge/cities/tests/test_views.py | BasemSrour/coding-challenge | 14a905868173df101f29ec658f500011482fb187 | [
"MIT"
] | null | null | null | coding_challenge/cities/tests/test_views.py | BasemSrour/coding-challenge | 14a905868173df101f29ec658f500011482fb187 | [
"MIT"
] | null | null | null | from rest_framework.authtoken.models import Token
from rest_framework.test import APIClient, APITestCase
from coding_challenge.cities.models import City
from .factories import CityFactory
from coding_challenge.users.tests.factories import UserFactory
class TestCitiesAutoCompleteAPIViews(APITestCase):
def setUp(... | 37.89781 | 86 | 0.61171 | 1,156 | 10,384 | 5.292388 | 0.115052 | 0.06015 | 0.136646 | 0.075515 | 0.854528 | 0.824126 | 0.800915 | 0.758745 | 0.736352 | 0.724747 | 0 | 0.051102 | 0.261267 | 10,384 | 273 | 87 | 38.03663 | 0.746448 | 0 | 0 | 0.64898 | 0 | 0 | 0.203775 | 0.106799 | 0 | 0 | 0 | 0 | 0.179592 | 1 | 0.093878 | false | 0 | 0.020408 | 0 | 0.118367 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ac0adadaa4ff47402fbc9672af21dba0140214e | 12,644 | py | Python | lib/kbdeleonContigFilter/kbdeleonContigFilterImpl.py | kbdeleon/kbdeleonContigFilter | a07df7da43ada98526ad956aee824fe8ab6716f3 | [
"MIT"
] | null | null | null | lib/kbdeleonContigFilter/kbdeleonContigFilterImpl.py | kbdeleon/kbdeleonContigFilter | a07df7da43ada98526ad956aee824fe8ab6716f3 | [
"MIT"
] | null | null | null | lib/kbdeleonContigFilter/kbdeleonContigFilterImpl.py | kbdeleon/kbdeleonContigFilter | a07df7da43ada98526ad956aee824fe8ab6716f3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#BEGIN_HEADER
# The header block is where all import statments should live
import logging
import os
from pprint import pformat
from Bio import SeqIO
from installed_clients.AssemblyUtilClient import AssemblyUtil
from installed_clients.KBaseReportClient import KBaseReport
#END_HEADER
class kbd... | 46.485294 | 122 | 0.626305 | 1,500 | 12,644 | 5.114 | 0.183333 | 0.037544 | 0.022944 | 0.0146 | 0.79077 | 0.785817 | 0.778777 | 0.768088 | 0.768088 | 0.768088 | 0 | 0.005023 | 0.291443 | 12,644 | 271 | 123 | 46.656827 | 0.851211 | 0.286935 | 0 | 0.706667 | 0 | 0 | 0.255423 | 0.011357 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026667 | false | 0.006667 | 0.04 | 0 | 0.113333 | 0.013333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ae8f9e0d3cdf9c5ab4fbb953afc41a75c451a10 | 169 | py | Python | simfin/missions/collector.py | CREEi-models/simfin | a7c632ac8bc8f795cd46028c1a49e65a1c1b44eb | [
"MIT"
] | 1 | 2021-06-11T15:16:13.000Z | 2021-06-11T15:16:13.000Z | simfin/missions/collector.py | CREEi-models/simfin | a7c632ac8bc8f795cd46028c1a49e65a1c1b44eb | [
"MIT"
] | 1 | 2021-06-07T14:39:27.000Z | 2021-06-07T14:39:27.000Z | simfin/missions/collector.py | CREEi-models/simfin | a7c632ac8bc8f795cd46028c1a49e65a1c1b44eb | [
"MIT"
] | 1 | 2021-03-17T03:52:21.000Z | 2021-03-17T03:52:21.000Z | import numpy as np
from simfin.tools import accounts
class collector(accounts):
'''
Fonction qui permet de colliger les dépenses des missions.
'''
pass
| 18.777778 | 62 | 0.704142 | 22 | 169 | 5.409091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 169 | 8 | 63 | 21.125 | 0.915385 | 0.343195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0a8670d36a2c556c581abb77fd36595e5a92bda3 | 42 | py | Python | tripletpairs/kineticmodelling/__init__.py | davidbossanyi/triplet-pair-states | e67c8398c1187172d0f247fad73e4781e28b9b8b | [
"MIT"
] | 2 | 2020-04-05T17:13:01.000Z | 2020-09-05T22:07:49.000Z | tripletpairs/kineticmodelling/__init__.py | davidbossanyi/triplet-pair-states | e67c8398c1187172d0f247fad73e4781e28b9b8b | [
"MIT"
] | null | null | null | tripletpairs/kineticmodelling/__init__.py | davidbossanyi/triplet-pair-states | e67c8398c1187172d0f247fad73e4781e28b9b8b | [
"MIT"
] | 1 | 2020-09-05T22:07:39.000Z | 2020-09-05T22:07:39.000Z | from .simulations import KineticSimulation | 42 | 42 | 0.904762 | 4 | 42 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ab166b60d0e33689c4acb62d7acc2e962d1ab89 | 1,718 | py | Python | tests/test_util.py | cehbrecht/md-ingestion | 895ae4ce36c54662301541f58a1fd3a900e0aeea | [
"Apache-2.0"
] | 4 | 2016-01-04T11:15:07.000Z | 2021-08-12T05:23:51.000Z | tests/test_util.py | cehbrecht/md-ingestion | 895ae4ce36c54662301541f58a1fd3a900e0aeea | [
"Apache-2.0"
] | 19 | 2015-06-04T10:02:53.000Z | 2020-09-21T12:46:00.000Z | tests/test_util.py | cehbrecht/md-ingestion | 895ae4ce36c54662301541f58a1fd3a900e0aeea | [
"Apache-2.0"
] | 7 | 2018-02-07T15:34:10.000Z | 2021-03-25T09:08:22.000Z | import pytest
from mdingestion import util
from mdingestion.format import format_datetime
def test_remove_duplicates_from_list():
assert util.remove_duplicates_from_list([1, 2, 2, 3]) == [1, 2, 3]
@pytest.mark.xfail(reason='fails on ci')
def test_utc2seconds():
# TODO: 62135604000 on travis
assert 6213... | 49.085714 | 83 | 0.745052 | 231 | 1,718 | 5.402597 | 0.320346 | 0.190705 | 0.269231 | 0.371795 | 0.409455 | 0.354167 | 0.298077 | 0.298077 | 0.173077 | 0.108974 | 0 | 0.251148 | 0.11234 | 1,718 | 34 | 84 | 50.529412 | 0.567213 | 0.015716 | 0 | 0.076923 | 0 | 0 | 0.175252 | 0 | 0 | 0 | 0 | 0.029412 | 0.730769 | 1 | 0.115385 | true | 0 | 0.115385 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ac26dec47ee1d1f919b2f6e97c1dd511cedb083 | 162 | py | Python | src/dash_data_viewer/pages/home.py | TimChild/dash_data_viewer | 07d916b0e82d84c5bce797308c2d333caec2b781 | [
"MIT"
] | null | null | null | src/dash_data_viewer/pages/home.py | TimChild/dash_data_viewer | 07d916b0e82d84c5bce797308c2d333caec2b781 | [
"MIT"
] | null | null | null | src/dash_data_viewer/pages/home.py | TimChild/dash_data_viewer | 07d916b0e82d84c5bce797308c2d333caec2b781 | [
"MIT"
] | null | null | null | from dash import html, dcc, callback, Input, Output
import dash
dash.register_page(__name__, path='/')
def layout():
return html.H1('Dat Viewer Homepage') | 18 | 51 | 0.722222 | 23 | 162 | 4.869565 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.154321 | 162 | 9 | 52 | 18 | 0.810219 | 0 | 0 | 0 | 0 | 0 | 0.122699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 6 |
0ac9917ee6f8bc24fc9bd6ed58dff28c3a26fc22 | 23 | py | Python | build.py | diumvarium/2020calc | 1b0831c6667f3dac46657f5c73ed395dad9fc51e | [
"Apache-2.0"
] | null | null | null | build.py | diumvarium/2020calc | 1b0831c6667f3dac46657f5c73ed395dad9fc51e | [
"Apache-2.0"
] | null | null | null | build.py | diumvarium/2020calc | 1b0831c6667f3dac46657f5c73ed395dad9fc51e | [
"Apache-2.0"
] | null | null | null | import os
import time
| 5.75 | 11 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 3 | 12 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0acee0cc1d53011b908795e624c1b7d83b57d33e | 46 | py | Python | src/bluepea/static/tests/__init__.py | reputage/bluepea | ab77548b76bfd410c60fd98c2b35a0ca84715ff0 | [
"Apache-2.0"
] | null | null | null | src/bluepea/static/tests/__init__.py | reputage/bluepea | ab77548b76bfd410c60fd98c2b35a0ca84715ff0 | [
"Apache-2.0"
] | null | null | null | src/bluepea/static/tests/__init__.py | reputage/bluepea | ab77548b76bfd410c60fd98c2b35a0ca84715ff0 | [
"Apache-2.0"
] | null | null | null | from tests import test_inspector, test_server
| 23 | 45 | 0.869565 | 7 | 46 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0adfb63146103802753ec926bd01457b848b7c42 | 104 | py | Python | compvis/io/__init__.py | IgorMeloS/Computer-Vision-Training | cc458d17ee0ff880ce6ccc47179d667bd55f4bd1 | [
"Apache-2.0"
] | null | null | null | compvis/io/__init__.py | IgorMeloS/Computer-Vision-Training | cc458d17ee0ff880ce6ccc47179d667bd55f4bd1 | [
"Apache-2.0"
] | null | null | null | compvis/io/__init__.py | IgorMeloS/Computer-Vision-Training | cc458d17ee0ff880ce6ccc47179d667bd55f4bd1 | [
"Apache-2.0"
] | null | null | null | from .hdf5datasetgenerator import HDF5DatasetGenerator
from .hdf5datasetwriter import HDF5DatasetWriter
| 34.666667 | 54 | 0.903846 | 8 | 104 | 11.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.076923 | 104 | 2 | 55 | 52 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e40968b34d96413dd6301b59b7c33bc51aff5b4a | 1,208 | py | Python | Exam3-practice/numbersOperations.py | nikolayvutov/Python | 55163496dac452a7110b7f76edc6894ee195f1fe | [
"MIT"
] | null | null | null | Exam3-practice/numbersOperations.py | nikolayvutov/Python | 55163496dac452a7110b7f76edc6894ee195f1fe | [
"MIT"
] | null | null | null | Exam3-practice/numbersOperations.py | nikolayvutov/Python | 55163496dac452a7110b7f76edc6894ee195f1fe | [
"MIT"
] | null | null | null | firstNumber = int(input())
secondNumber = int(input())
operator = input()
if operator == '+':
result = firstNumber + secondNumber
if result % 2 == 0:
print('{0} + {1} = {2} - even'.format(firstNumber , secondNumber, result))
else:
print('{0} + {1} = {2} - odd'.format(firstNumber, secondNum... | 38.967742 | 82 | 0.597682 | 130 | 1,208 | 5.553846 | 0.161538 | 0.414127 | 0.077562 | 0.088643 | 0.799169 | 0.799169 | 0.799169 | 0.799169 | 0.799169 | 0.614958 | 0 | 0.034884 | 0.216887 | 1,208 | 31 | 83 | 38.967742 | 0.72833 | 0 | 0 | 0.206897 | 0 | 0 | 0.159636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.310345 | 0 | 0 | 0 | null | 1 | 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 | 6 |
7c7ade61dbf389cee13fbfba0bd32ef32ade84b3 | 72 | py | Python | specutils/wcs/__init__.py | hamogu/specutils | b873f2ac9b3c207c9e670246d102f46a9606d6ed | [
"BSD-3-Clause"
] | null | null | null | specutils/wcs/__init__.py | hamogu/specutils | b873f2ac9b3c207c9e670246d102f46a9606d6ed | [
"BSD-3-Clause"
] | null | null | null | specutils/wcs/__init__.py | hamogu/specutils | b873f2ac9b3c207c9e670246d102f46a9606d6ed | [
"BSD-3-Clause"
] | null | null | null | from .wcs_wrapper import WCSWrapper
from .wcs_adapter import WCSAdapter
| 24 | 35 | 0.861111 | 10 | 72 | 6 | 0.7 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7cce6ac2fbdab98a023bca21d2e661db8b8df905 | 745 | py | Python | icevision/models/torchvision_models/mask_rcnn/__init__.py | RibenaMapleSyrup/icevision | 6cbd6d103cb3f76bc21ae7651e9d958efe8c3a64 | [
"Apache-2.0"
] | 88 | 2020-05-02T12:28:02.000Z | 2021-09-30T07:17:03.000Z | icevision/models/torchvision_models/mask_rcnn/__init__.py | RibenaMapleSyrup/icevision | 6cbd6d103cb3f76bc21ae7651e9d958efe8c3a64 | [
"Apache-2.0"
] | 248 | 2020-05-01T18:46:31.000Z | 2020-07-31T20:55:01.000Z | icevision/models/torchvision_models/mask_rcnn/__init__.py | RibenaMapleSyrup/icevision | 6cbd6d103cb3f76bc21ae7651e9d958efe8c3a64 | [
"Apache-2.0"
] | 15 | 2020-06-07T15:59:56.000Z | 2021-02-27T09:46:39.000Z | # import icevision.models.torchvision_models.backbones as backbones
from icevision.models.torchvision_models import backbones
from icevision.models.torchvision_models.loss_fn import *
from icevision.models.torchvision_models.mask_rcnn.dataloaders import *
from icevision.models.torchvision_models.mask_rcnn.model import... | 41.388889 | 72 | 0.865772 | 91 | 745 | 6.879121 | 0.252747 | 0.215655 | 0.373802 | 0.460064 | 0.670927 | 0.610224 | 0.466454 | 0.319489 | 0 | 0 | 0 | 0 | 0.075168 | 745 | 17 | 73 | 43.823529 | 0.908563 | 0.111409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.818182 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b02cd1fc8b9c8a2d79a355aa18ae5962adcf8f9 | 9,332 | py | Python | tests/test_rule_must.py | gnilrets/dagrules | 8970540532269be99d47f77b716d35e0fb3276cb | [
"MIT"
] | 13 | 2022-01-03T21:55:23.000Z | 2022-03-16T07:20:02.000Z | tests/test_rule_must.py | gnilrets/dagrules | 8970540532269be99d47f77b716d35e0fb3276cb | [
"MIT"
] | null | null | null | tests/test_rule_must.py | gnilrets/dagrules | 8970540532269be99d47f77b716d35e0fb3276cb | [
"MIT"
] | null | null | null | """
Tests related to dagrules musts
"""
# pylint: disable=missing-function-docstring
# pylint: disable=redefined-outer-name
import pytest
from dagrules.core import (
rule_subjects,
rule_match_name,
rule_have_tags_any,
rule_have_relationship,
RuleError,
ParserAllowedValueError,
)
def test_mat... | 32.74386 | 100 | 0.566438 | 978 | 9,332 | 5.079755 | 0.07362 | 0.115942 | 0.088969 | 0.084541 | 0.896739 | 0.860709 | 0.839775 | 0.810386 | 0.808374 | 0.76087 | 0 | 0 | 0.267574 | 9,332 | 284 | 101 | 32.859155 | 0.726847 | 0.012002 | 0 | 0.623431 | 0 | 0 | 0.299859 | 0 | 0 | 0 | 0 | 0 | 0.029289 | 1 | 0.058577 | false | 0.029289 | 0.008368 | 0 | 0.066946 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b03a5c8913e7e9de820b2c253617b299e1bf217 | 242 | py | Python | lib/common.py | sonota88/vm2gol-v2-python | 274de1798a4087ae675d24d8ce7bfa8234e913ca | [
"MIT"
] | null | null | null | lib/common.py | sonota88/vm2gol-v2-python | 274de1798a4087ae675d24d8ce7bfa8234e913ca | [
"MIT"
] | null | null | null | lib/common.py | sonota88/vm2gol-v2-python | 274de1798a4087ae675d24d8ce7bfa8234e913ca | [
"MIT"
] | null | null | null | class Token:
def __init__(self, type, value):
self.type = type
self.value = value
def __str__(self):
return self.__repr()
def __repr__(self):
return "(" + self.type + ": " + str(self.value) + ")"
| 22 | 61 | 0.541322 | 28 | 242 | 4.178571 | 0.357143 | 0.205128 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309917 | 242 | 10 | 62 | 24.2 | 0.700599 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6b1a6fe4f98cb576fca40c20207f2b36da23881e | 63,831 | py | Python | tests/components/zwave/test_init.py | edofullin/core | 106dc4d28ad59cb192c60fc7a354cafa86899ea4 | [
"Apache-2.0"
] | 1 | 2020-12-18T12:23:04.000Z | 2020-12-18T12:23:04.000Z | tests/components/zwave/test_init.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 60 | 2020-08-03T07:32:56.000Z | 2022-03-31T06:02:07.000Z | tests/components/zwave/test_init.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 4 | 2017-01-10T04:17:33.000Z | 2021-09-02T16:37:24.000Z | """Tests for the Z-Wave init."""
import asyncio
from collections import OrderedDict
from datetime import datetime
from unittest.mock import MagicMock, patch
import pytest
from pytz import utc
import voluptuous as vol
from homeassistant.bootstrap import async_setup_component
from homeassistant.components import zwave
... | 31.788347 | 88 | 0.680249 | 8,137 | 63,831 | 5.029864 | 0.050387 | 0.032765 | 0.036943 | 0.040852 | 0.853914 | 0.806147 | 0.772283 | 0.741546 | 0.707584 | 0.664948 | 0 | 0.020485 | 0.21687 | 63,831 | 2,007 | 89 | 31.804185 | 0.798272 | 0.008507 | 0 | 0.613848 | 0 | 0.002663 | 0.072758 | 0.028747 | 0 | 0 | 0.004483 | 0 | 0.159787 | 1 | 0.013981 | false | 0 | 0.025965 | 0.001332 | 0.041278 | 0.002663 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b3562821f17e25b63da4b619fb5138b8e55a26e | 153 | py | Python | tests/models/test_models.py | sedelmeyer/cc-pydata-nameless | 0d1e87ee855c2f273a367efcf8d775385794741c | [
"MIT"
] | null | null | null | tests/models/test_models.py | sedelmeyer/cc-pydata-nameless | 0d1e87ee855c2f273a367efcf8d775385794741c | [
"MIT"
] | 2 | 2020-07-11T20:55:26.000Z | 2020-07-11T20:56:59.000Z | tests/models/test_models.py | sedelmeyer/cc-pydata-nameless | 0d1e87ee855c2f273a367efcf8d775385794741c | [
"MIT"
] | null | null | null | from cc_pydata_nameless.models import placeholder
def test_placeholder():
"""Ensure placeholder function runs without failure"""
placeholder()
| 21.857143 | 58 | 0.771242 | 17 | 153 | 6.764706 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150327 | 153 | 6 | 59 | 25.5 | 0.884615 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b39fa56f47b4151f2008e420b22b1adebe7a2f7 | 35 | py | Python | authentication/views/__init__.py | atalaydev/cardify | 594a7421580dd5cdc47d5da0d68c7298189a0422 | [
"MIT"
] | null | null | null | authentication/views/__init__.py | atalaydev/cardify | 594a7421580dd5cdc47d5da0d68c7298189a0422 | [
"MIT"
] | null | null | null | authentication/views/__init__.py | atalaydev/cardify | 594a7421580dd5cdc47d5da0d68c7298189a0422 | [
"MIT"
] | null | null | null | from .register import RegisterView
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86249539342b8238c10951780938903e379b0d55 | 530 | py | Python | sandbox/ours/sampler/__init__.py | jackwilkinson255/mbmpo_master | e9e0eaf542c7895764dcb0bfee28752818124ff2 | [
"MIT"
] | 28 | 2018-11-15T14:14:23.000Z | 2022-01-10T01:53:43.000Z | sandbox/ours/sampler/__init__.py | hongzimao/model_ensemble_meta_learning | 8b1351df94dfe530efaff1118022315c8d877774 | [
"MIT"
] | 3 | 2019-05-05T23:39:01.000Z | 2021-06-15T15:28:06.000Z | sandbox/ours/sampler/__init__.py | hongzimao/model_ensemble_meta_learning | 8b1351df94dfe530efaff1118022315c8d877774 | [
"MIT"
] | 14 | 2018-11-15T16:47:02.000Z | 2021-05-28T14:58:01.000Z | from sandbox.ours.sampler.base import RandomBaseSampler, ModelBaseSampler
from sandbox.ours.sampler.model_sampler.model_vectorized_sampler import ModelVectorizedSampler
from sandbox.ours.sampler.random_vectorized_sampler import RandomVectorizedSampler
from sandbox.ours.sampler.env_vectorized_sampler import EnvVectorize... | 75.714286 | 108 | 0.911321 | 61 | 530 | 7.672131 | 0.295082 | 0.141026 | 0.192308 | 0.282051 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04717 | 530 | 6 | 109 | 88.333333 | 0.926733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
863db621f9fcd975713e7c389ac10aeeca1cc5e0 | 73 | py | Python | src/utils/__init__.py | cedricfarinazzo/ichronos.py | ae39dfce7e3e9b1b213e019e726da1145b604ae0 | [
"MIT"
] | null | null | null | src/utils/__init__.py | cedricfarinazzo/ichronos.py | ae39dfce7e3e9b1b213e019e726da1145b604ae0 | [
"MIT"
] | null | null | null | src/utils/__init__.py | cedricfarinazzo/ichronos.py | ae39dfce7e3e9b1b213e019e726da1145b604ae0 | [
"MIT"
] | null | null | null | from .cache import *
from .schedule_request import *
from .parse import * | 24.333333 | 31 | 0.767123 | 10 | 73 | 5.5 | 0.6 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 73 | 3 | 32 | 24.333333 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
866eb0dd20f3ab6ef25051c43e350dd5b88fc0c1 | 661 | py | Python | modules/unit_tests/s3/__init__.py | hitesh96db/eden | 8e1b22d7d4b92c0bce5b6172d57298949a2f0582 | [
"MIT"
] | null | null | null | modules/unit_tests/s3/__init__.py | hitesh96db/eden | 8e1b22d7d4b92c0bce5b6172d57298949a2f0582 | [
"MIT"
] | null | null | null | modules/unit_tests/s3/__init__.py | hitesh96db/eden | 8e1b22d7d4b92c0bce5b6172d57298949a2f0582 | [
"MIT"
] | null | null | null | from unit_tests.s3.s3aaa import *
from unit_tests.s3.s3cfg import *
from unit_tests.s3.s3crud import *
from unit_tests.s3.s3datatable import *
from unit_tests.s3.s3fields import *
from unit_tests.s3.s3filter import *
from unit_tests.s3.s3hierarchy import *
from unit_tests.s3.s3import import *
from unit_tests.s3.s3model... | 34.789474 | 40 | 0.80938 | 108 | 661 | 4.787037 | 0.212963 | 0.27853 | 0.452611 | 0.522244 | 0.690522 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061121 | 0.108926 | 661 | 18 | 41 | 36.722222 | 0.816638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86867448b5d38dbfd7eace75e9a43b34f5fc7468 | 20,305 | py | Python | lightRaven/func/ci.py | M0gician/lightRaven | edcaed1ffbfab95064fc2719f2e3f79375ce6f04 | [
"MIT"
] | 1 | 2020-12-16T07:41:44.000Z | 2020-12-16T07:41:44.000Z | lightRaven/func/ci.py | M0gician/lightRaven | edcaed1ffbfab95064fc2719f2e3f79375ce6f04 | [
"MIT"
] | null | null | null | lightRaven/func/ci.py | M0gician/lightRaven | edcaed1ffbfab95064fc2719f2e3f79375ce6f04 | [
"MIT"
] | null | null | null | import numpy as np
from numba import njit, prange
from scipy import stats, optimize
# @njit(parallel=True, fastmath=True)
@njit(fastmath=True)
def _t_interval(sample: np.ndarray, t: float, ref_size, c, mode) -> float:
"""
A generic function wrapper for calculating concentration lower bounds
Parameters
... | 31.238462 | 120 | 0.634918 | 2,863 | 20,305 | 4.412854 | 0.064268 | 0.046541 | 0.049865 | 0.027703 | 0.894491 | 0.886576 | 0.861168 | 0.844626 | 0.822305 | 0.809245 | 0 | 0.014017 | 0.25511 | 20,305 | 649 | 121 | 31.286595 | 0.821289 | 0.557892 | 0 | 0.628049 | 0 | 0.030488 | 0.075723 | 0.008608 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085366 | false | 0 | 0.018293 | 0 | 0.189024 | 0.042683 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86940fa605ce2e2142cbae799fde769b4284c3e5 | 110 | py | Python | pcdet/utils/attr_loss_utils.py | SunshengGu/XC_eval_pcdet | 616f3baf05ba81bdf6461c6b814079a81b55ae68 | [
"Apache-2.0"
] | 1 | 2022-01-17T20:06:27.000Z | 2022-01-17T20:06:27.000Z | pcdet/utils/attr_loss_utils.py | SunshengGu/XC_eval_pcdet | 616f3baf05ba81bdf6461c6b814079a81b55ae68 | [
"Apache-2.0"
] | null | null | null | pcdet/utils/attr_loss_utils.py | SunshengGu/XC_eval_pcdet | 616f3baf05ba81bdf6461c6b814079a81b55ae68 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from . import box_utils | 18.333333 | 31 | 0.8 | 21 | 110 | 4.142857 | 0.52381 | 0.37931 | 0.298851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 110 | 6 | 32 | 18.333333 | 0.945652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
86d539865065b1595a5835b6c4220e08af0358f2 | 66,546 | py | Python | talent/google/cloud/talent_v4beta1/gapic/job_service_client.py | rsalmond/google-cloud-python | 120bf628220227bb4dd905c86feda93180e14970 | [
"Apache-2.0"
] | null | null | null | talent/google/cloud/talent_v4beta1/gapic/job_service_client.py | rsalmond/google-cloud-python | 120bf628220227bb4dd905c86feda93180e14970 | [
"Apache-2.0"
] | 1 | 2018-04-06T19:51:23.000Z | 2018-04-06T19:51:23.000Z | talent/google/cloud/talent_v4beta1/gapic/job_service_client.py | rsalmond/google-cloud-python | 120bf628220227bb4dd905c86feda93180e14970 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 48.012987 | 154 | 0.601389 | 7,391 | 66,546 | 5.286294 | 0.103775 | 0.023291 | 0.020629 | 0.03317 | 0.860126 | 0.8493 | 0.825139 | 0.817128 | 0.812009 | 0.802053 | 0 | 0.009353 | 0.325204 | 66,546 | 1,385 | 155 | 48.047653 | 0.860728 | 0.683497 | 0 | 0.532213 | 0 | 0 | 0.06137 | 0.010583 | 0 | 0 | 0 | 0.004332 | 0 | 1 | 0.033613 | false | 0 | 0.084034 | 0 | 0.154062 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86d81caeea766f49d6b10b2f0aad400edca1c5c4 | 30 | py | Python | lambda/app.py | epicfaace/GCMW | b06b41c1629866e334c8b2cd94d008bbc2028cdf | [
"Apache-2.0"
] | 2 | 2021-08-09T07:50:37.000Z | 2022-03-15T17:23:37.000Z | lambda/app.py | ksankara/CFF | 70f10bb7abc0f381fa309379a85d2782ed6c36b8 | [
"Apache-2.0"
] | 114 | 2019-06-20T15:27:13.000Z | 2020-08-30T21:15:56.000Z | lambda/app.py | epicfaace/GCMW | b06b41c1629866e334c8b2cd94d008bbc2028cdf | [
"Apache-2.0"
] | 7 | 2019-07-20T06:11:19.000Z | 2020-06-28T15:23:14.000Z | from chalicelib.main import *
| 15 | 29 | 0.8 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86fabfb6e568a121ce3ee60f433aadaafb80e8f8 | 46 | py | Python | imagepy/tools/Standard/polygon_tol.py | cycleuser/imagepy | 5dc1a9a8137280c5215287392ba1b23d368bd7e9 | [
"BSD-4-Clause"
] | 1 | 2020-06-17T05:16:46.000Z | 2020-06-17T05:16:46.000Z | imagepy/tools/Standard/polygon_tol.py | cycleuser/imagepy | 5dc1a9a8137280c5215287392ba1b23d368bd7e9 | [
"BSD-4-Clause"
] | null | null | null | imagepy/tools/Standard/polygon_tol.py | cycleuser/imagepy | 5dc1a9a8137280c5215287392ba1b23d368bd7e9 | [
"BSD-4-Clause"
] | null | null | null | from sciapp.action import PolygonROI as Plugin | 46 | 46 | 0.869565 | 7 | 46 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4cdc2e03de308963842e28e4a5989e9746353c1 | 6,198 | py | Python | tests/test_TOption.py | tadashi-aikawa/dict-mixin | 6418694aa2f7a8dc2c1990818a917e9b22ec1d16 | [
"MIT"
] | 3 | 2018-03-09T05:01:34.000Z | 2020-10-29T01:29:28.000Z | tests/test_TOption.py | tadashi-aikawa/dict-mixin | 6418694aa2f7a8dc2c1990818a917e9b22ec1d16 | [
"MIT"
] | 13 | 2017-11-07T08:28:51.000Z | 2020-07-11T09:20:47.000Z | tests/test_TOption.py | tadashi-aikawa/dict-mixin | 6418694aa2f7a8dc2c1990818a917e9b22ec1d16 | [
"MIT"
] | 1 | 2017-03-11T19:19:33.000Z | 2017-03-11T19:19:33.000Z | # coding: utf-8
import pytest
from owlmixin import OwlMixin, TOption, TList, RequiredError
class Spot(OwlMixin):
id: int
name: str
note: TOption[str]
rank: TOption[int]
children: TOption[TList['Spot']]
class TestTOption:
def test_normal(self):
r: Spot = Spot.from_dict({'id': 1, 'nam... | 29.942029 | 88 | 0.493224 | 758 | 6,198 | 3.915567 | 0.108179 | 0.075472 | 0.051887 | 0.088949 | 0.808625 | 0.764151 | 0.760108 | 0.740903 | 0.683962 | 0.660377 | 0 | 0.031426 | 0.342853 | 6,198 | 206 | 89 | 30.087379 | 0.697275 | 0.033559 | 0 | 0.558282 | 0 | 0 | 0.101171 | 0 | 0 | 0 | 0 | 0 | 0.208589 | 1 | 0.134969 | false | 0.055215 | 0.01227 | 0 | 0.226994 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
be0918743e2b1ad00a62759f5e31460799b38de3 | 161 | py | Python | mwptoolkit/module/Graph/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 71 | 2021-03-08T06:06:15.000Z | 2022-03-30T11:59:37.000Z | mwptoolkit/module/Graph/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 13 | 2021-09-07T12:38:23.000Z | 2022-03-22T15:08:16.000Z | mwptoolkit/module/Graph/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 21 | 2021-02-16T07:46:36.000Z | 2022-03-23T13:41:33.000Z | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
from mwptoolkit.module.Graph import gcn,graph_module | 40.25 | 52 | 0.888199 | 22 | 161 | 5.818182 | 0.5 | 0.234375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093168 | 161 | 4 | 52 | 40.25 | 0.876712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
be21c3c8eadf3a6aab046501bad65b3391a2797f | 42,510 | py | Python | zadarapy/command_center/cloud.py | zadarastorage/zadarapy | 737b0e4ce9d9845df7f11dbcff7a10de227af8f3 | [
"Apache-2.0"
] | 6 | 2017-06-20T18:28:43.000Z | 2021-04-08T03:54:10.000Z | zadarapy/command_center/cloud.py | zadarastorage/zadarapy | 737b0e4ce9d9845df7f11dbcff7a10de227af8f3 | [
"Apache-2.0"
] | 2 | 2020-12-11T14:17:31.000Z | 2021-05-06T16:11:13.000Z | zadarapy/command_center/cloud.py | zadarastorage/zadarapy | 737b0e4ce9d9845df7f11dbcff7a10de227af8f3 | [
"Apache-2.0"
] | 6 | 2018-10-22T18:00:04.000Z | 2022-01-25T12:25:45.000Z | # Copyright 2019 Zadara Storage, Inc.
# Originally authored by Jeremy Brown - https://github.com/jwbrown77
#
# 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... | 34.337641 | 109 | 0.679887 | 5,986 | 42,510 | 4.697127 | 0.042599 | 0.088914 | 0.04812 | 0.049579 | 0.90568 | 0.890102 | 0.883451 | 0.872995 | 0.863357 | 0.857986 | 0 | 0.004247 | 0.23004 | 42,510 | 1,237 | 110 | 34.3654 | 0.854786 | 0.591437 | 0 | 0.537849 | 0 | 0 | 0.295634 | 0.127012 | 0 | 0 | 0 | 0.000808 | 0 | 1 | 0.159363 | false | 0.023904 | 0.003984 | 0 | 0.330677 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0785f660867d5375a2ce66941cf2dcb750732781 | 217 | py | Python | devito/ir/iet/__init__.py | rhodrin/devito | cd1ae745272eb0315aa1c36038a3174f1817e0d0 | [
"MIT"
] | 1 | 2020-06-08T20:44:35.000Z | 2020-06-08T20:44:35.000Z | devito/ir/iet/__init__.py | rhodrin/devito | cd1ae745272eb0315aa1c36038a3174f1817e0d0 | [
"MIT"
] | 53 | 2020-11-30T07:50:14.000Z | 2022-03-10T17:06:03.000Z | devito/ir/iet/__init__.py | rhodrin/devito | cd1ae745272eb0315aa1c36038a3174f1817e0d0 | [
"MIT"
] | 1 | 2021-01-05T07:27:35.000Z | 2021-01-05T07:27:35.000Z | from devito.ir.iet.nodes import * # noqa
from devito.ir.iet.visitors import * # noqa
from devito.ir.iet.utils import * # noqa
from devito.ir.iet.efunc import * # noqa
from devito.ir.iet.scheduler import * # noqa
| 36.166667 | 45 | 0.723502 | 35 | 217 | 4.485714 | 0.314286 | 0.318471 | 0.382166 | 0.477707 | 0.636943 | 0.636943 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 217 | 5 | 46 | 43.4 | 0.862637 | 0.110599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
078ef2fb17bf4ce9fd59893081903799fcf14d39 | 7,269 | py | Python | tests/data/comments2.py | rbenton/black | 2bae41f92ed125f687e0ddef3a5913cda755a64f | [
"MIT"
] | null | null | null | tests/data/comments2.py | rbenton/black | 2bae41f92ed125f687e0ddef3a5913cda755a64f | [
"MIT"
] | null | null | null | tests/data/comments2.py | rbenton/black | 2bae41f92ed125f687e0ddef3a5913cda755a64f | [
"MIT"
] | null | null | null | from com.my_lovely_company.my_lovely_team.my_lovely_project.my_lovely_component import (
MyLovelyCompanyTeamProjectComponent # NOT DRY
)
from com.my_lovely_company.my_lovely_team.my_lovely_project.my_lovely_component import (
MyLovelyCompanyTeamProjectComponent as component # DRY
)
# Please keep __all__ alph... | 22.435185 | 138 | 0.549181 | 765 | 7,269 | 5.082353 | 0.235294 | 0.032922 | 0.018519 | 0.033951 | 0.98714 | 0.977881 | 0.971451 | 0.968107 | 0.968107 | 0.968107 | 0 | 0.015764 | 0.319301 | 7,269 | 323 | 139 | 22.504644 | 0.770008 | 0.240336 | 0 | 0.565854 | 0 | 0 | 0.055956 | 0 | 0 | 0 | 0 | 0.006192 | 0 | 1 | 0.009756 | false | 0.009756 | 0.019512 | 0 | 0.039024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
079db48e1f3260c76ef8395bc5a65f72c99a5d04 | 91,098 | py | Python | kuber/v1_20/autoscaling_v2beta1.py | datalayer-externals/kuber | 4d577950ce7d1be2b882fbe66827dc3d7e67b350 | [
"MIT"
] | 1 | 2019-06-11T04:57:34.000Z | 2019-06-11T04:57:34.000Z | kuber/v1_20/autoscaling_v2beta1.py | datalayer-externals/kuber | 4d577950ce7d1be2b882fbe66827dc3d7e67b350 | [
"MIT"
] | 1 | 2019-05-05T22:08:13.000Z | 2019-05-06T11:43:32.000Z | kuber/v1_20/autoscaling_v2beta1.py | datalayer-externals/kuber | 4d577950ce7d1be2b882fbe66827dc3d7e67b350 | [
"MIT"
] | 2 | 2021-05-08T14:47:56.000Z | 2021-10-15T21:47:04.000Z | import typing # noqa: F401
import datetime as _datetime # noqa: F401
from kubernetes import client # noqa: F401
from kuber import kube_api as _kube_api # noqa: F401
from kuber import definitions as _kuber_definitions # noqa: F401
from kuber import _types # noqa: F401
from kuber.v1_20.meta_v1 import LabelSelecto... | 34.704 | 88 | 0.612033 | 9,511 | 91,098 | 5.738198 | 0.045106 | 0.04207 | 0.015007 | 0.020723 | 0.813948 | 0.800956 | 0.786756 | 0.754984 | 0.728654 | 0.717367 | 0 | 0.001924 | 0.30398 | 91,098 | 2,624 | 89 | 34.717226 | 0.858815 | 0.29948 | 0 | 0.632363 | 0 | 0 | 0.127316 | 0.042823 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140826 | false | 0 | 0.007448 | 0.024374 | 0.238998 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
580715eed60a7f983db5e568e8756d6352170380 | 56 | py | Python | covid19/__init__.py | bruvio/covid-19-notebooks | a4e1a0a0c15fa054dbe547d5a3c3f4bbfbaf61a7 | [
"Apache-2.0"
] | 33 | 2020-03-07T09:20:18.000Z | 2020-10-22T04:13:57.000Z | covid19/__init__.py | bruvio/covid-19-notebooks | a4e1a0a0c15fa054dbe547d5a3c3f4bbfbaf61a7 | [
"Apache-2.0"
] | 3 | 2020-03-10T10:35:02.000Z | 2020-03-13T16:27:25.000Z | covid19/__init__.py | bruvio/covid-19-notebooks | a4e1a0a0c15fa054dbe547d5a3c3f4bbfbaf61a7 | [
"Apache-2.0"
] | 15 | 2020-03-08T19:10:27.000Z | 2020-09-22T19:01:42.000Z | from . import data
from . import fit
from . import plot
| 14 | 18 | 0.732143 | 9 | 56 | 4.555556 | 0.555556 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 56 | 3 | 19 | 18.666667 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed23b1cd13311c1f9672b3dcf05aa31704127960 | 48 | py | Python | web/addons/website_event_sale/models/__init__.py | diogocs1/comps | 63df07f6cf21c41e4527c06e2d0499f23f4322e7 | [
"Apache-2.0"
] | 1 | 2019-12-29T11:53:56.000Z | 2019-12-29T11:53:56.000Z | odoo/addons/website_event_sale/models/__init__.py | tuanquanghpvn/odoo8-tutorial | 52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e | [
"MIT"
] | null | null | null | odoo/addons/website_event_sale/models/__init__.py | tuanquanghpvn/odoo8-tutorial | 52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e | [
"MIT"
] | 3 | 2020-10-08T14:42:10.000Z | 2022-01-28T14:12:29.000Z | import product
import website
import sale_order
| 12 | 17 | 0.875 | 7 | 48 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 18 | 16 | 0.97619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed2c2f03e8b8f711dcf82a33f0657b96279033c3 | 86 | py | Python | spikewidgets/widgets/amplitudewidget/__init__.py | KnierimLab/spikewidgets | 5ee37a43df21676db646942141c60e9bde95362c | [
"MIT"
] | 6 | 2019-01-23T03:51:31.000Z | 2021-02-15T07:54:39.000Z | spikewidgets/widgets/amplitudewidget/__init__.py | KnierimLab/spikewidgets | 5ee37a43df21676db646942141c60e9bde95362c | [
"MIT"
] | 52 | 2019-01-23T10:10:30.000Z | 2021-06-27T10:23:10.000Z | spikewidgets/widgets/amplitudewidget/__init__.py | KnierimLab/spikewidgets | 5ee37a43df21676db646942141c60e9bde95362c | [
"MIT"
] | 7 | 2019-01-23T10:06:03.000Z | 2020-10-29T18:38:37.000Z | from .amplitudewidget import plot_amplitudes_distribution, plot_amplitudes_timeseries
| 43 | 85 | 0.918605 | 9 | 86 | 8.333333 | 0.777778 | 0.373333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 86 | 1 | 86 | 86 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed7d415e9bc8593f6e62ffdb61e56b255f0951d5 | 94 | py | Python | SMELT/enhancements/__init__.py | ZebTheWizard/SMELT | 8cb3c3e245d3b23b283e9106c1370da062bba538 | [
"MIT"
] | null | null | null | SMELT/enhancements/__init__.py | ZebTheWizard/SMELT | 8cb3c3e245d3b23b283e9106c1370da062bba538 | [
"MIT"
] | null | null | null | SMELT/enhancements/__init__.py | ZebTheWizard/SMELT | 8cb3c3e245d3b23b283e9106c1370da062bba538 | [
"MIT"
] | null | null | null | from SMELT.enhancements.SimpleInvertAndIncreaseContrast import SimpleInvertAndIncreaseContrast | 94 | 94 | 0.946809 | 6 | 94 | 14.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 94 | 1 | 94 | 94 | 0.978022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71ed0016abd5f9fdea2d644990d03c0cc5dd967a | 133 | py | Python | Modulo_1/semana3/PIP/pip.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | null | null | null | Modulo_1/semana3/PIP/pip.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | null | null | null | Modulo_1/semana3/PIP/pip.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | 1 | 2022-03-04T00:57:18.000Z | 2022-03-04T00:57:18.000Z | import math
print("el valor absoluto de -3 es:")
print(math.fabs(-3))
print("el valor absoluto de 5.5 es:")
print(math.fabs(5.5)) | 19 | 37 | 0.676692 | 26 | 133 | 3.461538 | 0.423077 | 0.155556 | 0.266667 | 0.444444 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.142857 | 133 | 7 | 38 | 19 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.410448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.8 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
71edadcbc4813be6b121c5bfdacc57982ff74ea8 | 176 | py | Python | hrflow/__init__.py | Riminder/python-hrflow-api | 5457c138c12689a1af08b243c15f3cbe898edf65 | [
"MIT"
] | 4 | 2020-04-01T15:16:04.000Z | 2021-01-18T03:52:39.000Z | hrflow/__init__.py | Riminder/python-hrflow-api | 5457c138c12689a1af08b243c15f3cbe898edf65 | [
"MIT"
] | null | null | null | hrflow/__init__.py | Riminder/python-hrflow-api | 5457c138c12689a1af08b243c15f3cbe898edf65 | [
"MIT"
] | null | null | null | from .hrflow.hrflow import Hrflow
from .__version__ import __title__, __description__, __url__, __version__
from .__version__ import __author__, __author_email__, __license__
| 35.2 | 73 | 0.846591 | 19 | 176 | 5.894737 | 0.526316 | 0.196429 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 176 | 4 | 74 | 44 | 0.708861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71f3b30d2af29fafda0354bf90b3edac0749da7a | 80 | py | Python | ievv_opensource/utils/ievvbuildstatic/installers/__init__.py | appressoas/ievv_opensource | 63e87827952ddc8f6f86145b79478ef21d6a0990 | [
"BSD-3-Clause"
] | null | null | null | ievv_opensource/utils/ievvbuildstatic/installers/__init__.py | appressoas/ievv_opensource | 63e87827952ddc8f6f86145b79478ef21d6a0990 | [
"BSD-3-Clause"
] | 37 | 2015-10-26T09:14:12.000Z | 2022-02-10T10:35:33.000Z | ievv_opensource/utils/ievvbuildstatic/installers/__init__.py | appressoas/ievv_opensource | 63e87827952ddc8f6f86145b79478ef21d6a0990 | [
"BSD-3-Clause"
] | 1 | 2015-11-06T07:56:34.000Z | 2015-11-06T07:56:34.000Z | from . import base # noqa
from . import npm # noqa
from . import yarn # noqa
| 20 | 26 | 0.6625 | 12 | 80 | 4.416667 | 0.5 | 0.566038 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2625 | 80 | 3 | 27 | 26.666667 | 0.898305 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9c4c412611f75d586eefe9b33453b0b8f6491ff9 | 19,037 | py | Python | packages/esp32_LoBo/frozen/display/fonts/ubuntu_20.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 18 | 2019-07-11T13:31:09.000Z | 2022-01-27T06:38:40.000Z | packages/esp32_LoBo/frozen/display/fonts/ubuntu_20.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 9 | 2019-09-01T21:44:49.000Z | 2022-02-04T20:55:08.000Z | packages/esp32_LoBo/frozen/display/fonts/ubuntu_20.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 6 | 2019-10-08T05:31:21.000Z | 2021-04-22T10:21:01.000Z | _FONT = {
32: [4, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255],
33: [6, 4095, 4095, 4095, 4095, 4095, 3855, 3855, 3855, 3855, 3855, 3855, 3855, 3855, 3855, 3855, 4095, 3855, 3855, 4095, 4095, 4095, 4095],
34: [9, 262143, 262143, 262143, 262143, 200463, 20... | 194.255102 | 295 | 0.750118 | 2,281 | 19,037 | 6.259974 | 0.184568 | 0.258842 | 0.300021 | 0.286295 | 0.566356 | 0.517473 | 0.387282 | 0.347083 | 0.320401 | 0.258001 | 0 | 0.852086 | 0.119977 | 19,037 | 97 | 296 | 196.257732 | 0.000239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c7ac1082f094b0e4367faf0d689560e5548cc31 | 4,870 | py | Python | test/test_util.py | cylammarco/ASPIRED | d4d04a5dfdf7c4719f9d22feea6d4035bfee8345 | [
"BSD-3-Clause"
] | 13 | 2019-12-22T08:44:57.000Z | 2022-03-23T18:09:14.000Z | test/test_util.py | cylammarco/ASPIRED | d4d04a5dfdf7c4719f9d22feea6d4035bfee8345 | [
"BSD-3-Clause"
] | 71 | 2019-09-13T20:58:28.000Z | 2022-03-27T13:40:56.000Z | test/test_util.py | cylammarco/ASPIRED | d4d04a5dfdf7c4719f9d22feea6d4035bfee8345 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pytest
from aspired import util
dummy_image = np.ones((1000, 1000))
dummy_image_nan = np.ones((1000, 1000))
dummy_image_none = np.ones((1000, 1000))
for i in range(100):
dummy_image[i, i] = 65000
dummy_image_nan[i, i] = np.nan
dummy_image_none[i, i] = None
dummy_sum = np.sum(dumm... | 35.289855 | 82 | 0.677002 | 683 | 4,870 | 4.489019 | 0.095168 | 0.140248 | 0.068493 | 0.093281 | 0.915525 | 0.890737 | 0.875082 | 0.86334 | 0.86334 | 0.796804 | 0 | 0.027375 | 0.234908 | 4,870 | 137 | 83 | 35.547445 | 0.795491 | 0.111704 | 0 | 0.447059 | 0 | 0 | 0.000464 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 1 | 0.2 | false | 0 | 0.035294 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92baf75360abcb160b250b4eeb8c8fde7d1edf5c | 5,228 | py | Python | reagent/test/models/test_actor.py | JiayingClaireWu/ReAgent | 3f2365c5bab396b3e965f77cd8d4f0ac15ae2f7b | [
"BSD-3-Clause"
] | null | null | null | reagent/test/models/test_actor.py | JiayingClaireWu/ReAgent | 3f2365c5bab396b3e965f77cd8d4f0ac15ae2f7b | [
"BSD-3-Clause"
] | null | null | null | reagent/test/models/test_actor.py | JiayingClaireWu/ReAgent | 3f2365c5bab396b3e965f77cd8d4f0ac15ae2f7b | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
import logging
import unittest
# pyre-fixme[21]: Could not find module `numpy.testing`.
import numpy.testing as npt
import torch
from reagent.models.actor import (
DirichletFullyConnectedActor,
FullyConnectedActor,
... | 31.305389 | 87 | 0.598125 | 572 | 5,228 | 5.194056 | 0.197552 | 0.088859 | 0.024234 | 0.04039 | 0.748906 | 0.748906 | 0.748906 | 0.748906 | 0.748906 | 0.731404 | 0 | 0.017367 | 0.317138 | 5,228 | 166 | 88 | 31.493976 | 0.814846 | 0.084927 | 0 | 0.762238 | 0 | 0 | 0.0134 | 0 | 0 | 0 | 0 | 0.006024 | 0.055944 | 1 | 0.055944 | false | 0 | 0.041958 | 0 | 0.118881 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92c63820e7716cda56dc1bd68fdd63f788895791 | 101 | py | Python | obsidion/cogs/fun/__init__.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-02-29T22:37:01.000Z | 2020-02-29T22:37:01.000Z | obsidion/cogs/fun/__init__.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-03-27T05:49:37.000Z | 2020-03-27T05:51:25.000Z | obsidion/cogs/fun/__init__.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-03-27T05:53:17.000Z | 2020-03-27T05:53:17.000Z | """Fun."""
from .fun import Fun
def setup(bot) -> None:
"""Setup."""
bot.add_cog(Fun(bot))
| 12.625 | 25 | 0.544554 | 15 | 101 | 3.6 | 0.6 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207921 | 101 | 7 | 26 | 14.428571 | 0.675 | 0.108911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92ddce5747d14d2fe759dff9e60a732d22b4ab0f | 48 | py | Python | apps/authentication/views/__init__.py | michaldomino/the-simpsons-recognizer-server | fd84bb8465b526057328ead10cf905f0ee07befb | [
"MIT"
] | null | null | null | apps/authentication/views/__init__.py | michaldomino/the-simpsons-recognizer-server | fd84bb8465b526057328ead10cf905f0ee07befb | [
"MIT"
] | null | null | null | apps/authentication/views/__init__.py | michaldomino/the-simpsons-recognizer-server | fd84bb8465b526057328ead10cf905f0ee07befb | [
"MIT"
] | 1 | 2022-01-13T15:54:43.000Z | 2022-01-13T15:54:43.000Z | from .register_user_view import RegisterUserView | 48 | 48 | 0.916667 | 6 | 48 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92ebaa28153468425523f5ec0c875657d31ea067 | 7,220 | py | Python | astroquery/irsa_dust/tests/test_irsa_dust_remote.py | stargaser/astroquery | 44d1ec9b7fc549dfca5f0657beaa13aa516ba7b6 | [
"BSD-3-Clause"
] | 1 | 2020-08-26T21:11:13.000Z | 2020-08-26T21:11:13.000Z | astroquery/irsa_dust/tests/test_irsa_dust_remote.py | stargaser/astroquery | 44d1ec9b7fc549dfca5f0657beaa13aa516ba7b6 | [
"BSD-3-Clause"
] | 1 | 2018-11-07T21:00:18.000Z | 2018-11-07T21:00:18.000Z | astroquery/irsa_dust/tests/test_irsa_dust_remote.py | stargaser/astroquery | 44d1ec9b7fc549dfca5f0657beaa13aa516ba7b6 | [
"BSD-3-Clause"
] | 1 | 2020-08-26T21:11:16.000Z | 2020-08-26T21:11:16.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
import os
import pytest
import requests
from astropy.table import Table
import astropy.units as u
from ... import irsa_dust
M31_XML = "dustm31.xml"
M81_XML = "dustm81.xml"
M101_XML = "dustm101.xml"
ERR_XML = "dust-error.xml"
M51_EXT_TBL = "dust_ext_deta... | 36.836735 | 76 | 0.549307 | 798 | 7,220 | 4.665414 | 0.155388 | 0.058018 | 0.058018 | 0.096696 | 0.822186 | 0.80043 | 0.784045 | 0.77545 | 0.77545 | 0.77545 | 0 | 0.033762 | 0.343629 | 7,220 | 195 | 77 | 37.025641 | 0.751846 | 0.008449 | 0 | 0.620482 | 0 | 0 | 0.085231 | 0 | 0 | 0 | 0 | 0 | 0.114458 | 1 | 0.10241 | false | 0 | 0.036145 | 0 | 0.156627 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92fd212913bc43bd7c4e209696eb72e2889ef74a | 320 | py | Python | tests/domain/selection/test_selection_factory.py | cdaksha/parametrization_clean | 702243d87c2045cf8155f3c18134665871f3b170 | [
"MIT"
] | 5 | 2020-12-05T06:29:08.000Z | 2022-03-28T16:23:46.000Z | tests/domain/selection/test_selection_factory.py | chemshift/parametrization_clean | 702243d87c2045cf8155f3c18134665871f3b170 | [
"MIT"
] | 2 | 2021-08-25T16:12:30.000Z | 2022-02-10T02:23:06.000Z | tests/domain/selection/test_selection_factory.py | chemshift/parametrization_clean | 702243d87c2045cf8155f3c18134665871f3b170 | [
"MIT"
] | 1 | 2020-12-05T06:22:49.000Z | 2020-12-05T06:22:49.000Z |
# Standard library
# 3rd party packages
# Local source
from parametrization_clean.domain.selection.factory import SelectionFactory
from parametrization_clean.domain.selection.tournament import TournamentSelect
def test_get_tournament():
assert SelectionFactory.create_executor('tournament') == TournamentSelect
| 24.615385 | 78 | 0.8375 | 33 | 320 | 7.969697 | 0.69697 | 0.144487 | 0.18251 | 0.228137 | 0.296578 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003484 | 0.103125 | 320 | 12 | 79 | 26.666667 | 0.912892 | 0.15 | 0 | 0 | 0 | 0 | 0.037453 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
132454c88bdebcde63c784ace24c11f4fa967a55 | 30 | py | Python | unn/models/nas/darts/__init__.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | 2 | 2021-08-08T11:23:14.000Z | 2021-09-16T04:05:23.000Z | unn/models/nas/darts/__init__.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | 1 | 2021-08-08T11:25:47.000Z | 2021-08-08T11:26:15.000Z | unn/models/nas/darts/__init__.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | null | null | null | from .darts_backbone import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13289d96458613aaff75ec8021d3c154f711d837 | 237 | py | Python | txwarmongo/__init__.py | SweetIQ/tx-warmongo | b7ccb27340bdb359ad2a91383931978cfd5be8a4 | [
"Apache-2.0"
] | null | null | null | txwarmongo/__init__.py | SweetIQ/tx-warmongo | b7ccb27340bdb359ad2a91383931978cfd5be8a4 | [
"Apache-2.0"
] | 2 | 2021-04-30T20:30:56.000Z | 2022-02-11T03:38:22.000Z | txwarmongo/__init__.py | SweetIQ/tx-warmongo | b7ccb27340bdb359ad2a91383931978cfd5be8a4 | [
"Apache-2.0"
] | null | null | null | import warmongo
import database
import twisted_model
connect = database.connect
disconnect = database.disconnect
def model_factory(schema, base_class=twisted_model.TwistedModel):
return warmongo.model_factory(schema, base_class)
| 19.75 | 65 | 0.831224 | 29 | 237 | 6.586207 | 0.482759 | 0.125654 | 0.188482 | 0.230366 | 0.282723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109705 | 237 | 11 | 66 | 21.545455 | 0.905213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
13a6d3ebe0d98ae773ad2ed58009808a27d6247a | 1,532 | py | Python | .virtual_documents/Guia Uso.ipynb.py | larj3852/Lidar_TT | ddc6b72adcdda5688d1ca165177667c8390f763a | [
"Unlicense"
] | null | null | null | .virtual_documents/Guia Uso.ipynb.py | larj3852/Lidar_TT | ddc6b72adcdda5688d1ca165177667c8390f763a | [
"Unlicense"
] | null | null | null | .virtual_documents/Guia Uso.ipynb.py | larj3852/Lidar_TT | ddc6b72adcdda5688d1ca165177667c8390f763a | [
"Unlicense"
] | null | null | null | import LibraryTT.txt2array as conversion
# Funcion sin ningun argumento (Se abrirá ventana para buscar el archivo)
from numpy import shape
get_ipython().run_line_magic("matplotlib", " inline")
a=conversion.txt2array()
print(f"Forma del vector nx3 ={shape(a)}")
conversion.imprimir3D(a)
# Forma 2: Función con algun... | 26.877193 | 102 | 0.765013 | 218 | 1,532 | 5.288991 | 0.330275 | 0.085863 | 0.056375 | 0.073721 | 0.778838 | 0.778838 | 0.712923 | 0.712923 | 0.712923 | 0.712923 | 0 | 0.036029 | 0.112272 | 1,532 | 56 | 103 | 27.357143 | 0.811765 | 0.286554 | 0 | 0.727273 | 0 | 0 | 0.240037 | 0.059314 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.151515 | 0 | 0.151515 | 0.121212 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b96f1e6cfe2000f281924e98147a5c6a9144a877 | 49,844 | py | Python | api_tests/nodes/views/test_node_detail.py | sf2ne/Playground | 95b2d222d7ac43baca0249acbfc34e043d6a95b3 | [
"Apache-2.0"
] | null | null | null | api_tests/nodes/views/test_node_detail.py | sf2ne/Playground | 95b2d222d7ac43baca0249acbfc34e043d6a95b3 | [
"Apache-2.0"
] | 13 | 2020-03-24T15:29:41.000Z | 2022-03-11T23:15:28.000Z | api_tests/nodes/views/test_node_detail.py | sf2ne/Playground | 95b2d222d7ac43baca0249acbfc34e043d6a95b3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from urlparse import urlparse
from nose.tools import * # flake8: noqa
from framework.auth.core import Auth
from website.models import NodeLog
from website.views import find_dashboard
from website.util import permissions
from website.util.sanitize import strip_html
from api.base.settings.defa... | 46.366512 | 174 | 0.62513 | 5,878 | 49,844 | 5.025859 | 0.048656 | 0.073353 | 0.072507 | 0.056868 | 0.861113 | 0.83251 | 0.803162 | 0.771715 | 0.746395 | 0.722361 | 0 | 0.009345 | 0.248596 | 49,844 | 1,074 | 175 | 46.409683 | 0.77943 | 0.017174 | 0 | 0.595289 | 0 | 0 | 0.113918 | 0.009272 | 0 | 0 | 0 | 0 | 0.25803 | 1 | 0.09743 | false | 0 | 0.012848 | 0.001071 | 0.117773 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b98ad7c044a98ecb6f6bbf6ccc8df046306fec5b | 361 | py | Python | Filas.py | Rodrigo98Matos/Estrutura-de-Dados | 437719df9631ba29fa8614851051b5797de1fdea | [
"MIT"
] | null | null | null | Filas.py | Rodrigo98Matos/Estrutura-de-Dados | 437719df9631ba29fa8614851051b5797de1fdea | [
"MIT"
] | null | null | null | Filas.py | Rodrigo98Matos/Estrutura-de-Dados | 437719df9631ba29fa8614851051b5797de1fdea | [
"MIT"
] | null | null | null | class Fila():
def __init__(self):
self.itens = list()
def enfileirar(self, item):
self.itens.append(item)
def desenfileirar(self):
return self.itens.pop(0)
def tamanho(self):
return len(self.itens)
def vazia(self):
return self.itens == []
def frente(self):... | 24.066667 | 32 | 0.578947 | 46 | 361 | 4.456522 | 0.413043 | 0.263415 | 0.204878 | 0.278049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007782 | 0.288089 | 361 | 14 | 33 | 25.785714 | 0.789883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.785714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b995f52a43cc31fdef58ce9d9bf920a4d4d1105e | 20,936 | py | Python | pytorch_toolbelt/modules/encoders/timm.py | papkov/pytorch-toolbelt | 71d03d907f93fa73fbfba5eb89d26ad801e47e03 | [
"MIT"
] | null | null | null | pytorch_toolbelt/modules/encoders/timm.py | papkov/pytorch-toolbelt | 71d03d907f93fa73fbfba5eb89d26ad801e47e03 | [
"MIT"
] | null | null | null | pytorch_toolbelt/modules/encoders/timm.py | papkov/pytorch-toolbelt | 71d03d907f93fa73fbfba5eb89d26ad801e47e03 | [
"MIT"
] | null | null | null | import math
import warnings
from collections import OrderedDict
from typing import List
import torch
from torch import nn
from pytorch_toolbelt.modules import Swish
from .common import EncoderModule, _take, make_n_channel_input
__all__ = [
"B0Encoder",
"B1Encoder",
"B2Encoder",
"B3Encoder",
"B4E... | 35.910806 | 111 | 0.632356 | 2,744 | 20,936 | 4.599854 | 0.075073 | 0.059262 | 0.017747 | 0.030978 | 0.838377 | 0.82689 | 0.82475 | 0.824671 | 0.820868 | 0.820868 | 0 | 0.060359 | 0.244268 | 20,936 | 582 | 112 | 35.972509 | 0.737391 | 0 | 0 | 0.649667 | 0 | 0 | 0.021637 | 0.001003 | 0 | 0 | 0 | 0 | 0.002217 | 1 | 0.13969 | false | 0 | 0.066519 | 0.008869 | 0.348115 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b99f47f5fd1008ca5e8eb4783dfc6d68fa90a2ac | 94 | py | Python | Correlation_Module/spatial_correlation_sampler/__init__.py | mickaelseznec/Pytorch-Correlation-extension | bf23e16d4fa83ff5c1b746fe9cf6fd06bd542fe5 | [
"MIT"
] | 345 | 2018-08-17T11:54:16.000Z | 2022-03-12T08:25:54.000Z | Correlation_Module/spatial_correlation_sampler/__init__.py | liujixingit/Pytorch-Correlation-extension | 3e8ce16124844cd7892ec965cf0ad18fdd8e6a02 | [
"MIT"
] | 85 | 2018-08-20T06:03:03.000Z | 2022-03-14T12:27:09.000Z | Correlation_Module/spatial_correlation_sampler/__init__.py | liujixingit/Pytorch-Correlation-extension | 3e8ce16124844cd7892ec965cf0ad18fdd8e6a02 | [
"MIT"
] | 65 | 2018-08-22T10:41:55.000Z | 2022-03-07T06:45:16.000Z | from .spatial_correlation_sampler import SpatialCorrelationSampler, spatial_correlation_sample | 94 | 94 | 0.93617 | 9 | 94 | 9.333333 | 0.777778 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 94 | 1 | 94 | 94 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9a79c19e957dcafce32a672fb68a0d9a412574a | 3,851 | py | Python | ffwd_rec/raster_arec005-025.py | Felix11H/OCNC17_Rosenbaum2017 | 15c2eea6c46e3bbe8d505365465364b83a30de78 | [
"MIT"
] | null | null | null | ffwd_rec/raster_arec005-025.py | Felix11H/OCNC17_Rosenbaum2017 | 15c2eea6c46e3bbe8d505365465364b83a30de78 | [
"MIT"
] | 3 | 2020-05-06T13:20:50.000Z | 2020-05-06T13:20:50.000Z | ffwd_rec/raster_arec005-025.py | felix11h/OCNC17_Rosenbaum2017 | 15c2eea6c46e3bbe8d505365465364b83a30de78 | [
"MIT"
] | null | null | null |
import matplotlib
#matplotlib.style.use('classic')
matplotlib.use('Agg')
import matplotlib.pyplot as pl
import numpy as np
from brian2.units import *
from utils import get_spks
import pickle,sys
if sys.argv[1]=='large':
fname005 = "rb_arec0.05_N50000_T10000ms"
fname025 = "rb_arec0.25_N50000_T10000ms"
m... | 23.771605 | 63 | 0.623994 | 600 | 3,851 | 3.873333 | 0.205 | 0.015491 | 0.068847 | 0.082616 | 0.744406 | 0.744406 | 0.727194 | 0.727194 | 0.727194 | 0.727194 | 0 | 0.064131 | 0.173981 | 3,851 | 161 | 64 | 23.919255 | 0.666457 | 0.023371 | 0 | 0.743363 | 0 | 0 | 0.163559 | 0.074054 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.053097 | 0 | 0.053097 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0155b693b657411584fe16f48bb2fb045e0a5c1 | 9,826 | py | Python | Supervised_ML_Algorihtm_From_Scratch/SVM.py | mlmaster1995/basic_ml_algorithms_from_scratch | 0ccc9a9792c8f8a0167e609afd4226c77097a44c | [
"MIT"
] | null | null | null | Supervised_ML_Algorihtm_From_Scratch/SVM.py | mlmaster1995/basic_ml_algorithms_from_scratch | 0ccc9a9792c8f8a0167e609afd4226c77097a44c | [
"MIT"
] | null | null | null | Supervised_ML_Algorihtm_From_Scratch/SVM.py | mlmaster1995/basic_ml_algorithms_from_scratch | 0ccc9a9792c8f8a0167e609afd4226c77097a44c | [
"MIT"
] | null | null | null | import random
import numpy as np
import matplotlib.pyplot as plt
from copy import deepcopy
# gaussian & polynomial kernel SVM
class SVM_Kernel:
def __init__(self, dataset, dataset_target, kernel=None):
# dataet parameters
self.dataset = deepcopy(dataset)
self.dataset_target = self.__proces... | 35.601449 | 115 | 0.582943 | 1,199 | 9,826 | 4.555463 | 0.108424 | 0.085683 | 0.039546 | 0.019224 | 0.801904 | 0.789088 | 0.737642 | 0.720615 | 0.658184 | 0.653424 | 0 | 0.017528 | 0.314879 | 9,826 | 275 | 116 | 35.730909 | 0.793821 | 0.057602 | 0 | 0.720588 | 0 | 0 | 0.022639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0 | 0.019608 | 0 | 0.191176 | 0.009804 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e049bd00e3574abc5587b7811a7c47bd45026e95 | 2,459 | py | Python | src/polyswarmd/views/balances.py | polyswarm/polyswarmd | b732d60f0f829cc355c1f938bbe6de69f9985098 | [
"MIT"
] | 14 | 2018-04-16T18:04:23.000Z | 2019-11-26T06:39:23.000Z | src/polyswarmd/views/balances.py | polyswarm/polyswarmd | b732d60f0f829cc355c1f938bbe6de69f9985098 | [
"MIT"
] | 227 | 2018-04-03T01:10:34.000Z | 2021-03-25T21:49:58.000Z | src/polyswarmd/views/balances.py | polyswarm/polyswarmd | b732d60f0f829cc355c1f938bbe6de69f9985098 | [
"MIT"
] | 2 | 2018-04-23T18:37:47.000Z | 2021-04-26T10:58:39.000Z | import logging
from flask import Blueprint, g
from polyswarmd.utils.decorators.chains import chain
from polyswarmd.utils.response import failure, success
logger = logging.getLogger(__name__)
balances: Blueprint = Blueprint('balances', __name__)
@balances.route('/<address>/eth', methods=['GET'])
@chain(account_requ... | 35.637681 | 98 | 0.725092 | 287 | 2,459 | 6.118467 | 0.202091 | 0.041002 | 0.041002 | 0.050114 | 0.807517 | 0.807517 | 0.807517 | 0.78303 | 0.78303 | 0.72836 | 0 | 0.010179 | 0.161041 | 2,459 | 68 | 99 | 36.161765 | 0.841008 | 0 | 0 | 0.592593 | 0 | 0 | 0.189508 | 0.022367 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.074074 | 0 | 0.37037 | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0eba6caf1c8169d7da8a1278bbbf16c791873eda | 60 | py | Python | lectures/02-ipython/mod.py | mitchnegus/stat159-f17 | c7c3d604b2b816af1c57870d2c5578f65ba9ce94 | [
"CC-BY-4.0"
] | 25 | 2017-09-05T10:07:45.000Z | 2021-12-17T15:47:13.000Z | lectures/02-ipython/mod.py | mitchnegus/stat159-f17 | c7c3d604b2b816af1c57870d2c5578f65ba9ce94 | [
"CC-BY-4.0"
] | 1 | 2017-10-04T07:43:52.000Z | 2017-10-04T07:43:52.000Z | lectures/02-ipython/mod.py | mitchnegus/stat159-f17 | c7c3d604b2b816af1c57870d2c5578f65ba9ce94 | [
"CC-BY-4.0"
] | 21 | 2017-09-05T16:41:37.000Z | 2021-05-23T03:00:27.000Z |
def f(x):
return 1.0/(x-1)
def g(y):
return f(y+1) | 10 | 20 | 0.483333 | 15 | 60 | 1.933333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.283333 | 60 | 6 | 21 | 10 | 0.581395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0ecdb44f4c2286a4408fae429b985411baa872e9 | 15,126 | py | Python | q2_cutadapt/plugin_setup.py | thermokarst/q2-cutadapt | b9879ee3864ad2ad3594c97b0cdb202584df3e9a | [
"BSD-3-Clause"
] | null | null | null | q2_cutadapt/plugin_setup.py | thermokarst/q2-cutadapt | b9879ee3864ad2ad3594c97b0cdb202584df3e9a | [
"BSD-3-Clause"
] | null | null | null | q2_cutadapt/plugin_setup.py | thermokarst/q2-cutadapt | b9879ee3864ad2ad3594c97b0cdb202584df3e9a | [
"BSD-3-Clause"
] | null | null | null | # ----------------------------------------------------------------------------
# Copyright (c) 2017-2019, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ------------------------------------------------... | 48.636656 | 79 | 0.577615 | 1,644 | 15,126 | 5.236618 | 0.163625 | 0.00755 | 0.014055 | 0.019863 | 0.800093 | 0.781043 | 0.776861 | 0.752933 | 0.752468 | 0.737368 | 0 | 0.007423 | 0.323152 | 15,126 | 310 | 80 | 48.793548 | 0.833464 | 0.022081 | 0 | 0.525424 | 0 | 0 | 0.516369 | 0.012446 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023729 | 0 | 0.023729 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1603aee45a24c4f1d70dee5456d3b8d99aaa3c9b | 134 | py | Python | set_dir.py | jose1711/cycle | 354bc6e8db6bf45cefd02923d88e0383176083db | [
"Unlicense"
] | 3 | 2018-09-07T10:52:58.000Z | 2022-01-23T22:11:21.000Z | set_dir.py | jose1711/cycle | 354bc6e8db6bf45cefd02923d88e0383176083db | [
"Unlicense"
] | null | null | null | set_dir.py | jose1711/cycle | 354bc6e8db6bf45cefd02923d88e0383176083db | [
"Unlicense"
] | null | null | null |
msg_dir="/usr/share/locale"
doc_dir="/usr/share/doc/cycle"
icons_dir="/usr/share/cycle/icons"
bitmaps_dir="/usr/share/cycle/bitmaps"
| 22.333333 | 38 | 0.761194 | 23 | 134 | 4.26087 | 0.391304 | 0.244898 | 0.44898 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037313 | 134 | 5 | 39 | 26.8 | 0.75969 | 0 | 0 | 0 | 0 | 0 | 0.62406 | 0.345865 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
160a87212cf46ac032c3f1b71b8e813225c4c9c5 | 2,718 | py | Python | module/results/run.py | fedebyes/iot-netprofiler | 39449146c7d2a75a8065a89441107d901c18059a | [
"MIT"
] | 3 | 2019-03-22T10:37:34.000Z | 2020-04-26T14:08:32.000Z | module/results/run.py | fedebyes/iot-netprofiler | 39449146c7d2a75a8065a89441107d901c18059a | [
"MIT"
] | null | null | null | module/results/run.py | fedebyes/iot-netprofiler | 39449146c7d2a75a8065a89441107d901c18059a | [
"MIT"
] | 2 | 2020-04-17T17:41:24.000Z | 2020-04-30T03:34:00.000Z | #Modules to install via pip pandas,ipynb
#Modules to install via pip pandas,ipynb
import sys
sys.path.append('../')
from plots_analysis import *
# scipy
import random
random.seed(6666)
sys.path.append('../lib/')
from plots_analysis import *
from lib.functions import *
#directory=os.getcwd()+"/cooja3-9nodes/"
... | 31.241379 | 84 | 0.791023 | 385 | 2,718 | 5.288312 | 0.153247 | 0.172397 | 0.157171 | 0.117878 | 0.881631 | 0.853635 | 0.770138 | 0.737721 | 0.719548 | 0.700884 | 0 | 0.025721 | 0.055923 | 2,718 | 86 | 85 | 31.604651 | 0.767732 | 0.686166 | 0 | 0.117647 | 0 | 0 | 0.132296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.294118 | 0 | 0.294118 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16663f20c0be5cb06befc8868b8d8cac7eac97c6 | 8,458 | py | Python | generalised_slide.py | AneeshUkidve/blue_pigs | 8b2e3f203655940cbd38ecf0fbddffa0e1d27bae | [
"MIT"
] | null | null | null | generalised_slide.py | AneeshUkidve/blue_pigs | 8b2e3f203655940cbd38ecf0fbddffa0e1d27bae | [
"MIT"
] | null | null | null | generalised_slide.py | AneeshUkidve/blue_pigs | 8b2e3f203655940cbd38ecf0fbddffa0e1d27bae | [
"MIT"
] | null | null | null | #import modules
import turtle
import time
dig=input("Input:")
#set up the screen
wn=turtle.Screen()
wn.bgcolor("black")
wn.title("key board")
wn.tracer(0)
time.sleep(5)
cells=[]
#data of the numbers
n0=[[0,0,0,0,0,0,0],[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1],[0,0,0,0,0,0,0]]
n1=[[0,0,0,0,... | 33.299213 | 88 | 0.406479 | 1,971 | 8,458 | 1.73516 | 0.077626 | 0.337427 | 0.352632 | 0.335673 | 0.569006 | 0.407895 | 0.398246 | 0.387719 | 0.386257 | 0.383333 | 0 | 0.234328 | 0.294632 | 8,458 | 253 | 89 | 33.43083 | 0.338921 | 0.018562 | 0 | 0.179245 | 0 | 0 | 0.009325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028302 | false | 0 | 0.009434 | 0 | 0.042453 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16921b53665163789f2f1a011de2bc66d18f7bdb | 24,870 | py | Python | galaxy/main/south_migrations/0001_initial.py | maxamillion/galaxy | 0460baf9d2c8da0a0e88c7975eca2e3abcc82f23 | [
"Apache-2.0"
] | 1 | 2017-06-18T21:46:01.000Z | 2017-06-18T21:46:01.000Z | galaxy/main/south_migrations/0001_initial.py | maxamillion/galaxy | 0460baf9d2c8da0a0e88c7975eca2e3abcc82f23 | [
"Apache-2.0"
] | 1 | 2021-06-10T23:13:08.000Z | 2021-06-10T23:13:08.000Z | galaxy/main/south_migrations/0001_initial.py | connectthefuture/galaxy | 841821957680643e07c1a94fb609f8e4117c19d1 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Category'
db.create_table(u'main_category', (
(u'id', self.gf('django.db.models.... | 74.238806 | 198 | 0.607961 | 2,865 | 24,870 | 5.135079 | 0.059686 | 0.087548 | 0.152257 | 0.21751 | 0.859706 | 0.828167 | 0.819399 | 0.759448 | 0.697798 | 0.622281 | 0 | 0.007738 | 0.17893 | 24,870 | 335 | 199 | 74.238806 | 0.712733 | 0.042984 | 0 | 0.380435 | 0 | 0 | 0.480735 | 0.273071 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007246 | false | 0.003623 | 0.039855 | 0 | 0.057971 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16ac0f46576aed84b69ceef37518d80516582ffa | 22,756 | py | Python | src/test/tinc/tincrepo/mpp/lib/PSQL.py | gridgentoo/gpdb | f3dc101a7b4fa3d392f79cc5146b20c83894eb19 | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2022-02-04T14:18:53.000Z | 2022-02-04T14:18:53.000Z | src/test/tinc/tincrepo/mpp/lib/PSQL.py | gridgentoo/gpdb | f3dc101a7b4fa3d392f79cc5146b20c83894eb19 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | src/test/tinc/tincrepo/mpp/lib/PSQL.py | gridgentoo/gpdb | f3dc101a7b4fa3d392f79cc5146b20c83894eb19 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | """
Copyright (c) 2004-Present Pivotal Software, Inc.
This program and the accompanying materials are made available under
the terms of the 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.... | 39.03259 | 145 | 0.604017 | 2,710 | 22,756 | 4.987823 | 0.113653 | 0.042317 | 0.049715 | 0.044389 | 0.774432 | 0.75135 | 0.72997 | 0.716505 | 0.712288 | 0.701265 | 0 | 0.003446 | 0.324178 | 22,756 | 582 | 146 | 39.099656 | 0.87548 | 0.447091 | 0 | 0.485294 | 0 | 0.009804 | 0.095608 | 0.027369 | 0 | 0 | 0 | 0.001718 | 0.004902 | 1 | 0.058824 | false | 0.088235 | 0.034314 | 0 | 0.176471 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
16dfe26f0fc9601ce65cdd7bc851dcb755e989c9 | 34 | py | Python | labkeyext/__init__.py | dasievers/lkutils | d2e076a1a8deeab5ee9567357310b5ddb049c3a1 | [
"Apache-2.0"
] | null | null | null | labkeyext/__init__.py | dasievers/lkutils | d2e076a1a8deeab5ee9567357310b5ddb049c3a1 | [
"Apache-2.0"
] | null | null | null | labkeyext/__init__.py | dasievers/lkutils | d2e076a1a8deeab5ee9567357310b5ddb049c3a1 | [
"Apache-2.0"
] | null | null | null | from .transform_functions import * | 34 | 34 | 0.852941 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16eaac4564ecdfe227c4769b590abe229e8edbfa | 18,933 | py | Python | src/ensembl/production/masterdb/migrations/0001_initial.py | luca-drf/ensembl-prodinf-masterdb | c4a2d206b247f941a6e0372d8ff212af129dac84 | [
"Apache-2.0"
] | null | null | null | src/ensembl/production/masterdb/migrations/0001_initial.py | luca-drf/ensembl-prodinf-masterdb | c4a2d206b247f941a6e0372d8ff212af129dac84 | [
"Apache-2.0"
] | null | null | null | src/ensembl/production/masterdb/migrations/0001_initial.py | luca-drf/ensembl-prodinf-masterdb | c4a2d206b247f941a6e0372d8ff212af129dac84 | [
"Apache-2.0"
] | 1 | 2021-06-14T13:44:47.000Z | 2021-06-14T13:44:47.000Z | # Generated by Django 3.1.7 on 2021-03-17 22:48
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import ensembl.production.djcore.models
import ensembl.production.masterdb.fields
import jsonfield.fields
import multiselectfield.db.fields
class Migration(migrat... | 84.901345 | 469 | 0.667776 | 2,049 | 18,933 | 5.915081 | 0.090288 | 0.038284 | 0.072112 | 0.081353 | 0.805693 | 0.736221 | 0.709241 | 0.701155 | 0.681188 | 0.620627 | 0 | 0.004692 | 0.189458 | 18,933 | 222 | 470 | 85.283784 | 0.785091 | 0.002377 | 0 | 0.44186 | 1 | 0 | 0.213915 | 0.050408 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032558 | 0 | 0.051163 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bcc9c179f0b350279e151188a29635f52a6f72e5 | 307 | py | Python | Lecture1/code/queue.py | darkthecross/autonomous_driving_tutorial | e40c1eba81c3bf077df41c6201b51c6337dbdd27 | [
"MIT"
] | null | null | null | Lecture1/code/queue.py | darkthecross/autonomous_driving_tutorial | e40c1eba81c3bf077df41c6201b51c6337dbdd27 | [
"MIT"
] | null | null | null | Lecture1/code/queue.py | darkthecross/autonomous_driving_tutorial | e40c1eba81c3bf077df41c6201b51c6337dbdd27 | [
"MIT"
] | 1 | 2021-02-27T07:36:21.000Z | 2021-02-27T07:36:21.000Z | class Queue(object):
def __init__(self):
self.data = []
def Enqueue(self, element):
# TODO: Implement the method.
return
def Dequeue(self):
# TODO: Implement the method.
return 0
def ShowData(self):
return str(self.data).strip('[]') | 21.928571 | 41 | 0.547231 | 34 | 307 | 4.823529 | 0.558824 | 0.097561 | 0.195122 | 0.268293 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.335505 | 307 | 14 | 41 | 21.928571 | 0.79902 | 0.179153 | 0 | 0 | 0 | 0 | 0.008 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.333333 | 0.888889 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bcd70450e22757c39bd9746d446717f5a906c1e1 | 102 | py | Python | obsidion/cogs/botlist/__init__.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-02-29T22:37:01.000Z | 2020-02-29T22:37:01.000Z | obsidion/cogs/botlist/__init__.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-03-27T05:49:37.000Z | 2020-03-27T05:51:25.000Z | obsidion/cogs/botlist/__init__.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-03-27T05:53:17.000Z | 2020-03-27T05:53:17.000Z | from .botlist import Botlist
def setup(bot) -> None:
"""Setup."""
bot.add_cog(Botlist(bot))
| 14.571429 | 29 | 0.627451 | 14 | 102 | 4.5 | 0.642857 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 102 | 6 | 30 | 17 | 0.768293 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c1d0de09d99ecf6d63a14633ac62d1cc2f7251e | 96 | py | Python | venv/lib/python3.8/site-packages/libpasteurize/fixes/fix_next.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/libpasteurize/fixes/fix_next.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/libpasteurize/fixes/fix_next.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/54/7a/9c/c8e451355a8a279d632753a4870c47b97460a7ca9a95dcaa70cbc0e09d | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c3fa8526eb529e9bb905bfcc3be99fcc306a51c | 749 | py | Python | challenges/multi_bracket_validation/test_multi_bracket_validation.py | glasscharlie/data-structures-and-algorithms | 4546a0606334c6e3156b567d8cc82d39fb183c58 | [
"MIT"
] | null | null | null | challenges/multi_bracket_validation/test_multi_bracket_validation.py | glasscharlie/data-structures-and-algorithms | 4546a0606334c6e3156b567d8cc82d39fb183c58 | [
"MIT"
] | 4 | 2019-12-02T22:28:03.000Z | 2019-12-09T04:17:53.000Z | challenges/multi_bracket_validation/test_multi_bracket_validation.py | glasscharlie/data-structures-and-algorithms | 4546a0606334c6e3156b567d8cc82d39fb183c58 | [
"MIT"
] | null | null | null | from multi_bracket_validation import validation
def test_null():
assert validation('') == True
def test_open_close():
assert validation('()') == True
def test_open_close_two():
assert validation('{]') == False
assert validation('{)') == False
assert validation('[)') == False
assert validation... | 24.16129 | 69 | 0.623498 | 84 | 749 | 5.321429 | 0.297619 | 0.42953 | 0.375839 | 0.214765 | 0.655481 | 0.44519 | 0.348993 | 0.187919 | 0.187919 | 0 | 0 | 0.008026 | 0.168224 | 749 | 31 | 70 | 24.16129 | 0.70947 | 0 | 0 | 0 | 0 | 0 | 0.108 | 0.048 | 0 | 0 | 0 | 0 | 0.545455 | 1 | 0.409091 | true | 0 | 0.045455 | 0 | 0.454545 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d5ce63cdeab1946860804dfdcf4017436d0055d2 | 224 | py | Python | scripts/deploy_uni_add.py | VolumeFi/exchange-add | 0021a55557cbce43f31b21078a44f62fb14e0d56 | [
"Apache-2.0"
] | 5 | 2021-03-23T21:09:06.000Z | 2021-07-06T19:29:38.000Z | scripts/deploy_uni_add.py | VolumeFi/exchange-add | 0021a55557cbce43f31b21078a44f62fb14e0d56 | [
"Apache-2.0"
] | 4 | 2021-02-08T17:08:06.000Z | 2021-02-24T04:59:50.000Z | scripts/deploy_uni_add.py | VolumeFi/exchange-liquidity | 0021a55557cbce43f31b21078a44f62fb14e0d56 | [
"Apache-2.0"
] | null | null | null | from brownie import UniswapExchangeAdd, accounts
def main():
acct = accounts.load("deployer_account")
# UniswapExchangeAdd.deploy({"from":acct, "gasPrice":100 * 10 ** 9})
UniswapExchangeAdd.deploy({"from":acct}) | 37.333333 | 72 | 0.714286 | 24 | 224 | 6.625 | 0.666667 | 0.301887 | 0.352201 | 0.402516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.133929 | 224 | 6 | 73 | 37.333333 | 0.78866 | 0.294643 | 0 | 0 | 0 | 0 | 0.127389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9118b6f5d30ffc428ee51c85af3f054a17781a26 | 35 | py | Python | giskard/align/__init__.py | bdpedigo/giskard | 116d55e14045c689992bd08b27f0b90da545a509 | [
"MIT"
] | null | null | null | giskard/align/__init__.py | bdpedigo/giskard | 116d55e14045c689992bd08b27f0b90da545a509 | [
"MIT"
] | 4 | 2021-05-12T20:50:02.000Z | 2021-08-02T23:56:20.000Z | giskard/align/__init__.py | bdpedigo/giskard | 116d55e14045c689992bd08b27f0b90da545a509 | [
"MIT"
] | 1 | 2019-09-24T19:11:26.000Z | 2019-09-24T19:11:26.000Z | from .align import joint_procrustes | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91289dbd4c18cb67c71564ec16f2a717b70e13ac | 10,020 | py | Python | tests/test_parametric_components/test_PoloidalFieldCoilCaseSetFC.py | PullRequest-Agent/paramak | f807d88098458d1975dd1a4a47dcea22d9f74785 | [
"MIT"
] | null | null | null | tests/test_parametric_components/test_PoloidalFieldCoilCaseSetFC.py | PullRequest-Agent/paramak | f807d88098458d1975dd1a4a47dcea22d9f74785 | [
"MIT"
] | null | null | null | tests/test_parametric_components/test_PoloidalFieldCoilCaseSetFC.py | PullRequest-Agent/paramak | f807d88098458d1975dd1a4a47dcea22d9f74785 | [
"MIT"
] | null | null | null |
import math
import unittest
import paramak
import pytest
class test_PoloidalFieldCoilCaseSetFC(unittest.TestCase):
def test_PoloidalFieldCoilCaseSetFC_from_pf_coil_set(self):
"""Creates a set of PF coil cases from a PF coils object."""
pf_coils_set = paramak.PoloidalFieldCoilSet(
he... | 38.244275 | 155 | 0.50988 | 1,054 | 10,020 | 4.6537 | 0.09962 | 0.06422 | 0.067278 | 0.06524 | 0.862997 | 0.827319 | 0.822018 | 0.805708 | 0.789602 | 0.754332 | 0 | 0.092888 | 0.399401 | 10,020 | 261 | 156 | 38.390805 | 0.722167 | 0.089721 | 0 | 0.69898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 1 | 0.05102 | false | 0 | 0.020408 | 0 | 0.076531 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e682b66505ffda33cdcec301c9e455b5a2ce3ef5 | 21 | py | Python | wagglepy/symutil/__init__.py | WenyinWei/wagglepy | dac39ffba60c47e95fb2fbef4dc47b7eb3a71f40 | [
"MIT"
] | null | null | null | wagglepy/symutil/__init__.py | WenyinWei/wagglepy | dac39ffba60c47e95fb2fbef4dc47b7eb3a71f40 | [
"MIT"
] | null | null | null | wagglepy/symutil/__init__.py | WenyinWei/wagglepy | dac39ffba60c47e95fb2fbef4dc47b7eb3a71f40 | [
"MIT"
] | 1 | 2021-05-27T14:14:05.000Z | 2021-05-27T14:14:05.000Z | from .basics import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6c957c44453ad79342f68005bc24ea062fe454b | 23 | py | Python | vcolors/__init__.py | VictorValar/vcolors | 643def0f01871904e493796741f6b69d8cd1b720 | [
"MIT"
] | null | null | null | vcolors/__init__.py | VictorValar/vcolors | 643def0f01871904e493796741f6b69d8cd1b720 | [
"MIT"
] | null | null | null | vcolors/__init__.py | VictorValar/vcolors | 643def0f01871904e493796741f6b69d8cd1b720 | [
"MIT"
] | null | null | null | from vcolors import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 1 | 23 | 23 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc12682f0a8bb22417af996f574276bbc14d7770 | 46,578 | py | Python | pyshtools/shclasses/shgravgrid.py | nephanth/SHTOOLS | 663d267715639de65f244b1e5ff8826cda0e9c8d | [
"BSD-3-Clause"
] | 7 | 2015-03-11T10:03:47.000Z | 2020-11-01T20:00:47.000Z | pyshtools/shclasses/shgravgrid.py | nephanth/SHTOOLS | 663d267715639de65f244b1e5ff8826cda0e9c8d | [
"BSD-3-Clause"
] | 1 | 2016-07-18T15:14:19.000Z | 2016-07-18T15:14:19.000Z | pyshtools/shclasses/shgravgrid.py | nephanth/SHTOOLS | 663d267715639de65f244b1e5ff8826cda0e9c8d | [
"BSD-3-Clause"
] | 3 | 2016-11-27T03:14:39.000Z | 2021-05-28T01:42:53.000Z | """
Class for grids of the three components of the gravity field, the
gravitational disturbance, and the gravitational potential.
"""
import matplotlib as _mpl
import matplotlib.pyplot as _plt
import copy as _copy
import xarray as _xr
from .shgrid import SHGrid as _SHGrid
class SHGravGrid(object):
"""
... | 52.452703 | 79 | 0.581283 | 5,577 | 46,578 | 4.724224 | 0.055585 | 0.068319 | 0.050328 | 0.025961 | 0.859908 | 0.831062 | 0.826849 | 0.823775 | 0.81125 | 0.797169 | 0 | 0.004328 | 0.345141 | 46,578 | 887 | 80 | 52.511838 | 0.859452 | 0.550732 | 0 | 0.531773 | 0 | 0 | 0.054539 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036789 | false | 0 | 0.016722 | 0 | 0.086957 | 0.003344 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc59c1e6f33cc8c688edf19a4cf37c6ac619b998 | 6,874 | py | Python | flibia_aac/players/models.py | thomazthz/flibia-aac | 08568d80af1f875f3e9803048981e82c389c6ffc | [
"MIT"
] | null | null | null | flibia_aac/players/models.py | thomazthz/flibia-aac | 08568d80af1f875f3e9803048981e82c389c6ffc | [
"MIT"
] | null | null | null | flibia_aac/players/models.py | thomazthz/flibia-aac | 08568d80af1f875f3e9803048981e82c389c6ffc | [
"MIT"
] | null | null | null | from enum import Enum
from sqlalchemy.dialects.mysql import BIGINT, DATETIME, INTEGER, LONGBLOB, SMALLINT, TINYINT
from ..db import db
class Vocation(Enum):
NONE = 0
SORCERER = 1
DRUID = 2
PALADIN = 3
KNIGHT = 4
MASTER_SORCERER = 5
ELDER_DRUID = 6
ROYAL_PALADIN = 7
ELITE_KNIGHT =... | 56.344262 | 135 | 0.70032 | 958 | 6,874 | 4.897704 | 0.162839 | 0.109122 | 0.182225 | 0.230818 | 0.751918 | 0.738278 | 0.734655 | 0.695013 | 0.680946 | 0.667306 | 0 | 0.033848 | 0.123218 | 6,874 | 121 | 136 | 56.809917 | 0.744649 | 0.058481 | 0 | 0.022222 | 0 | 0 | 0.045816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0 | 0.033333 | 0.011111 | 0.977778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5de26a35ed999a136c8d82861d5e587e5747499b | 175 | py | Python | frappe/integrations/doctype/webhook_request_log/test_webhook_request_log.py | Don-Leopardo/frappe | 39097b05a7a9904776a435ee2c3d7a579d429389 | [
"MIT"
] | 3,755 | 2015-01-06T07:47:43.000Z | 2022-03-31T20:54:23.000Z | frappe/integrations/doctype/webhook_request_log/test_webhook_request_log.py | Don-Leopardo/frappe | 39097b05a7a9904776a435ee2c3d7a579d429389 | [
"MIT"
] | 7,369 | 2015-01-01T19:59:41.000Z | 2022-03-31T23:02:05.000Z | frappe/integrations/doctype/webhook_request_log/test_webhook_request_log.py | Don-Leopardo/frappe | 39097b05a7a9904776a435ee2c3d7a579d429389 | [
"MIT"
] | 2,685 | 2015-01-07T17:51:03.000Z | 2022-03-31T23:16:24.000Z | # Copyright (c) 2021, Frappe Technologies and Contributors
# License: MIT. See LICENSE
# import frappe
import unittest
class TestWebhookRequestLog(unittest.TestCase):
pass
| 19.444444 | 58 | 0.794286 | 20 | 175 | 6.95 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02649 | 0.137143 | 175 | 8 | 59 | 21.875 | 0.89404 | 0.548571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5df5fafc6816998fe3771b121bf654348e13c459 | 223 | py | Python | pypro/base/views.py | wosubtil/curso-django | 4673e71fbbec062c74dfaf866ff13b81383e3fcc | [
"MIT"
] | null | null | null | pypro/base/views.py | wosubtil/curso-django | 4673e71fbbec062c74dfaf866ff13b81383e3fcc | [
"MIT"
] | 806 | 2020-09-18T11:26:48.000Z | 2022-03-31T00:43:46.000Z | pypro/base/views.py | wosubtil/curso-django | 4673e71fbbec062c74dfaf866ff13b81383e3fcc | [
"MIT"
] | null | null | null | # from django.http import HttpResponse
from django.shortcuts import render
from pypro.modulos import facade
def home(request):
return render(request, 'base/home.html', {'MODULOS': facade.listar_modulos_ordenados()})
| 24.777778 | 92 | 0.775785 | 29 | 223 | 5.896552 | 0.62069 | 0.116959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121076 | 223 | 8 | 93 | 27.875 | 0.872449 | 0.161435 | 0 | 0 | 0 | 0 | 0.113514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5dfc19d0dbbffa4f54e0a6f258e4355d1c7fa7d3 | 274 | py | Python | langs/ClassWriter.py | raseht/apigen | 81b983123a5d5db513531aecb6cdc0ac39a16217 | [
"MIT"
] | null | null | null | langs/ClassWriter.py | raseht/apigen | 81b983123a5d5db513531aecb6cdc0ac39a16217 | [
"MIT"
] | null | null | null | langs/ClassWriter.py | raseht/apigen | 81b983123a5d5db513531aecb6cdc0ac39a16217 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class ClassWriter(ABC):
@abstractmethod
def open_class(name,access):
pass
@abstractmethod
def add_member(name,type,value,access):
pass
@abstractmethod
def close_class():
pass
| 18.266667 | 43 | 0.627737 | 29 | 274 | 5.827586 | 0.551724 | 0.301775 | 0.284024 | 0.319527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29927 | 274 | 15 | 44 | 18.266667 | 0.880208 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.090909 | 0 | 0.454545 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b90622e458c6a7ce2e2d8b85822aefe41ff0729a | 20,542 | py | Python | vscode/extensions/WakaTime.vscode-wakatime-1.1.17/out/wakatime-master/tests/test_project.py | nlimpid/dotfiles | b78d08707992f742f984f556fa58349c2ccd095d | [
"MIT"
] | null | null | null | vscode/extensions/WakaTime.vscode-wakatime-1.1.17/out/wakatime-master/tests/test_project.py | nlimpid/dotfiles | b78d08707992f742f984f556fa58349c2ccd095d | [
"MIT"
] | 4 | 2019-06-16T09:52:03.000Z | 2019-08-18T02:11:35.000Z | vscode/extensions/WakaTime.vscode-wakatime-1.1.17/out/wakatime-master/tests/test_project.py | nlimpid/dotfiles | b78d08707992f742f984f556fa58349c2ccd095d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from wakatime.main import execute
from wakatime.packages import requests
from wakatime.packages.requests.models import Response
import logging
import os
import platform
import shutil
import sys
import tempfile
import time
from testfixtures import log_capture
from wakatime.compat import u
from... | 41.248996 | 139 | 0.640103 | 2,361 | 20,542 | 5.441338 | 0.088098 | 0.041099 | 0.063595 | 0.054176 | 0.851016 | 0.834514 | 0.826107 | 0.817623 | 0.807737 | 0.807737 | 0 | 0.005658 | 0.217019 | 20,542 | 497 | 140 | 41.331992 | 0.793086 | 0.001022 | 0 | 0.690341 | 0 | 0.002841 | 0.286856 | 0.220674 | 0 | 0 | 0 | 0 | 0.130682 | 1 | 0.068182 | false | 0 | 0.045455 | 0 | 0.127841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f8fbc3fb9dac070c62ec91bc08631bc518ddac6f | 183 | py | Python | rctk/layouts/__init__.py | rctk/rctk | dc8640e75179c8560ca0cd64e709fefef58d5d2a | [
"BSD-2-Clause"
] | 2 | 2015-05-08T20:55:06.000Z | 2015-06-23T23:04:27.000Z | rctk/layouts/__init__.py | rctk/rctk | dc8640e75179c8560ca0cd64e709fefef58d5d2a | [
"BSD-2-Clause"
] | null | null | null | rctk/layouts/__init__.py | rctk/rctk | dc8640e75179c8560ca0cd64e709fefef58d5d2a | [
"BSD-2-Clause"
] | null | null | null | from rctk.layouts.layouts import LayoutException
from rctk.layouts.tabbed import TabbedLayout
from rctk.layouts.grid import GridLayout, HBox, VBox, StaticGrid, StaticHBox, StaticVBox
| 45.75 | 88 | 0.846995 | 23 | 183 | 6.73913 | 0.608696 | 0.154839 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092896 | 183 | 3 | 89 | 61 | 0.933735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d10566833e184843430f74ac6816fcf4b77c196 | 228 | py | Python | vmcnet/models/__init__.py | nilin/vmcnet | 1d04acf6e99a265671bf276a53c111c3e77a7f14 | [
"MIT"
] | 17 | 2021-12-16T20:50:51.000Z | 2021-12-20T01:00:32.000Z | vmcnet/models/__init__.py | nilin/vmcnet | 1d04acf6e99a265671bf276a53c111c3e77a7f14 | [
"MIT"
] | 6 | 2021-12-16T01:14:20.000Z | 2022-03-16T01:41:50.000Z | vmcnet/models/__init__.py | nilin/vmcnet | 1d04acf6e99a265671bf276a53c111c3e77a7f14 | [
"MIT"
] | 4 | 2021-12-15T18:50:20.000Z | 2021-12-22T18:42:57.000Z | """Model building routines."""
from . import antiequivariance
from . import antisymmetry
from . import construct
from . import core
from . import equivariance
from . import invariance
from . import jastrow
from . import weights
| 22.8 | 30 | 0.780702 | 27 | 228 | 6.592593 | 0.481481 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153509 | 228 | 9 | 31 | 25.333333 | 0.92228 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d276404a7dee4386882fe847e4964eaca1a0245 | 103 | py | Python | regym/rl_algorithms/expert_iteration/__init__.py | Danielhp95/Regym | f0f0be0ad23bf1a3410ecd9ed9b8025947d6080a | [
"MIT"
] | 6 | 2019-12-03T21:07:12.000Z | 2021-03-25T13:09:39.000Z | regym/rl_algorithms/expert_iteration/__init__.py | Danielhp95/Generalized-RL-Self-Play-Framework | 64e02e143070ca6eb8bc8f898c431f59cd229341 | [
"MIT"
] | 1 | 2019-01-29T18:43:32.000Z | 2019-01-31T17:31:39.000Z | regym/rl_algorithms/expert_iteration/__init__.py | Danielhp95/Regym | f0f0be0ad23bf1a3410ecd9ed9b8025947d6080a | [
"MIT"
] | 4 | 2019-08-01T10:29:41.000Z | 2021-12-06T21:44:30.000Z | from .expert_iteration import ExpertIterationAlgorithm
from .expert_iteration_loss import compute_loss
| 34.333333 | 54 | 0.902913 | 12 | 103 | 7.416667 | 0.583333 | 0.224719 | 0.426966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 103 | 2 | 55 | 51.5 | 0.936842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5d3e0cf1a7a3950fdf6bd6daf14f86c5e7386f9c | 93 | py | Python | app/api/v1/models/__init__.py | mr-pagani/adc-test | f4773d2d63680d3913bf99b78cdeaff1fa1d5941 | [
"Unlicense"
] | null | null | null | app/api/v1/models/__init__.py | mr-pagani/adc-test | f4773d2d63680d3913bf99b78cdeaff1fa1d5941 | [
"Unlicense"
] | null | null | null | app/api/v1/models/__init__.py | mr-pagani/adc-test | f4773d2d63680d3913bf99b78cdeaff1fa1d5941 | [
"Unlicense"
] | null | null | null | from .meetup_model import MEETUP_LIST, RSVP_LIST
from .question_model import QUESTION_LIST
| 31 | 49 | 0.849462 | 14 | 93 | 5.285714 | 0.5 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 2 | 50 | 46.5 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d694a3d6cc8f96af5faf73f6b0ccd512a26b3a3 | 149 | py | Python | deep_rl/utils/__init__.py | JACKHAHA363/DeepRL | 5e91086c17fd6de85f4d53873fab17e049dd5df5 | [
"Apache-2.0"
] | null | null | null | deep_rl/utils/__init__.py | JACKHAHA363/DeepRL | 5e91086c17fd6de85f4d53873fab17e049dd5df5 | [
"Apache-2.0"
] | null | null | null | deep_rl/utils/__init__.py | JACKHAHA363/DeepRL | 5e91086c17fd6de85f4d53873fab17e049dd5df5 | [
"Apache-2.0"
] | 2 | 2019-05-07T23:30:50.000Z | 2020-07-24T13:39:05.000Z | from .config import *
from .normalizer import *
from .misc import *
from .logger import get_logger
from .plot import Plotter
from .schedule import *
| 21.285714 | 30 | 0.771812 | 21 | 149 | 5.428571 | 0.47619 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161074 | 149 | 6 | 31 | 24.833333 | 0.912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d6c6dafbef1944abccbbd697ac1a23263a4a68a | 42 | py | Python | bitmovin/services/outputs/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 44 | 2016-12-12T17:37:23.000Z | 2021-03-03T09:48:48.000Z | bitmovin/services/outputs/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 38 | 2017-01-09T14:45:45.000Z | 2022-02-27T18:04:33.000Z | bitmovin/services/outputs/__init__.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 27 | 2017-02-02T22:49:31.000Z | 2019-11-21T07:04:57.000Z | from .output_service import OutputService
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5397439bc2503d385d340babb7eaf2755d510efa | 205,324 | py | Python | src/sysl/proto/sysl_pb2.py | anz-rfc/sysl | a145361fb17f17f36c483128a2eac42d08232870 | [
"Apache-2.0"
] | 2 | 2021-11-12T03:18:18.000Z | 2021-11-12T14:51:05.000Z | src/sysl/proto/sysl_pb2.py | anz-rfc/sysl | a145361fb17f17f36c483128a2eac42d08232870 | [
"Apache-2.0"
] | null | null | null | src/sysl/proto/sysl_pb2.py | anz-rfc/sysl | a145361fb17f17f36c483128a2eac42d08232870 | [
"Apache-2.0"
] | 1 | 2020-02-18T21:50:52.000Z | 2020-02-18T21:50:52.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: sysl.proto
import sys
_b = sys.version_info[0] < 3 and (
lambda x: x) or (lambda x: x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import messa... | 41.605674 | 16,955 | 0.672678 | 25,147 | 205,324 | 5.199308 | 0.031614 | 0.054395 | 0.030288 | 0.041729 | 0.81907 | 0.754442 | 0.7229 | 0.693461 | 0.656788 | 0.629376 | 0 | 0.04556 | 0.200279 | 205,324 | 4,934 | 16,956 | 41.614106 | 0.750697 | 0.021902 | 0 | 0.698413 | 1 | 0.001502 | 0.13542 | 0.088505 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001502 | 0 | 0.001502 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53ae1823cd57befcac6394bde438441ca494f2ad | 42 | py | Python | configs/__init__.py | marsggbo/CovidNet3D | 0aeca91a775f938a0e568dd88d8162473dacf3ce | [
"MIT"
] | 5 | 2021-02-23T06:43:31.000Z | 2021-07-05T15:24:05.000Z | configs/__init__.py | etherx-dev/CovidNet3D | b107d7d965cad07f1890ee492857273f3468cc01 | [
"MIT"
] | 1 | 2021-06-08T21:06:10.000Z | 2021-06-08T21:06:10.000Z | configs/__init__.py | etherx-dev/CovidNet3D | b107d7d965cad07f1890ee492857273f3468cc01 | [
"MIT"
] | 4 | 2021-02-01T03:29:16.000Z | 2021-08-05T09:13:37.000Z | from .config import *
from .build import * | 21 | 21 | 0.738095 | 6 | 42 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 22 | 21 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53d6506ac01650d6e92c02a9287999a8c2cdb6e2 | 28 | py | Python | tests/test_worker.py | mattbriancon/django-dbq | 68e4088259ef677bd8014096eb93a62cbef8fb6d | [
"Apache-2.0"
] | 1 | 2021-03-11T21:45:12.000Z | 2021-03-11T21:45:12.000Z | tests/test_worker.py | mattbriancon/django-dbq | 68e4088259ef677bd8014096eb93a62cbef8fb6d | [
"Apache-2.0"
] | null | null | null | tests/test_worker.py | mattbriancon/django-dbq | 68e4088259ef677bd8014096eb93a62cbef8fb6d | [
"Apache-2.0"
] | null | null | null | def test_worker():
pass
| 9.333333 | 18 | 0.642857 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 19 | 14 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
53defba5aa3eca937db104c5b52ce8de459c9ff0 | 113 | py | Python | Task/Factorial/Python/factorial-3.py | LaudateCorpus1/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | Task/Factorial/Python/factorial-3.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | null | null | null | Task/Factorial/Python/factorial-3.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | from operator import mul
from functools import reduce
def factorial(n):
return reduce(mul, range(1,n+1), 1)
| 18.833333 | 39 | 0.734513 | 19 | 113 | 4.368421 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.168142 | 113 | 5 | 40 | 22.6 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
54e1a60ecbe638de3409a1db910e2da0cd183a10 | 25,596 | py | Python | gym_pybullet_drones/utils/Logger.py | takepiyo/drone_sim_pybullet | 5f97fdb927910e1910c81c3f89584d5baa6322f7 | [
"MIT"
] | null | null | null | gym_pybullet_drones/utils/Logger.py | takepiyo/drone_sim_pybullet | 5f97fdb927910e1910c81c3f89584d5baa6322f7 | [
"MIT"
] | null | null | null | gym_pybullet_drones/utils/Logger.py | takepiyo/drone_sim_pybullet | 5f97fdb927910e1910c81c3f89584d5baa6322f7 | [
"MIT"
] | null | null | null | import os
import time
from datetime import datetime
from cycler import cycler
import numpy as np
import matplotlib.pyplot as plt
os.environ['KMP_DUPLICATE_LIB_OK'] = 'True'
class Logger(object):
"""A class for logging and visualization.
Stores, saves to file, and plots the kinematic information and RPMs
... | 42.66 | 165 | 0.461049 | 3,220 | 25,596 | 3.552174 | 0.089752 | 0.067145 | 0.100717 | 0.092324 | 0.802763 | 0.749257 | 0.729673 | 0.72469 | 0.71175 | 0.698724 | 0 | 0.021542 | 0.31626 | 25,596 | 599 | 166 | 42.731219 | 0.632021 | 0.384591 | 0 | 0.32618 | 0 | 0 | 0.045324 | 0.003765 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021459 | false | 0.004292 | 0.025751 | 0 | 0.051502 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54fe2951a5bfd759df09fec56226518f0201733f | 35 | py | Python | name.py | mayahar/my_project | 7001135661ab52317148d0e7f687639c2e549e95 | [
"MIT"
] | null | null | null | name.py | mayahar/my_project | 7001135661ab52317148d0e7f687639c2e549e95 | [
"MIT"
] | null | null | null | name.py | mayahar/my_project | 7001135661ab52317148d0e7f687639c2e549e95 | [
"MIT"
] | null | null | null | def name():
print("Maya harel") | 17.5 | 23 | 0.6 | 5 | 35 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 2 | 23 | 17.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.