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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
836d8ad70b847fb5700fcd667575b2609a5d51d0 | 14,307 | py | Python | pybind/nos/v7_1_0/rbridge_id/interface/ve/ip/interface_vlan_ospf_conf/ospf_interface_config/database_filter/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/interface/ve/ip/interface_vlan_ospf_conf/ospf_interface_config/database_filter/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/interface/ve/ip/interface_vlan_ospf_conf/ospf_interface_config/database_filter/__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... | 74.129534 | 729 | 0.703781 | 1,931 | 14,307 | 4.967374 | 0.095287 | 0.039616 | 0.06005 | 0.017515 | 0.807652 | 0.764283 | 0.746351 | 0.740826 | 0.738741 | 0.732902 | 0 | 0.003173 | 0.162997 | 14,307 | 192 | 730 | 74.515625 | 0.797829 | 0.148599 | 0 | 0.40625 | 0 | 0.023438 | 0.363001 | 0.1543 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.0625 | 0 | 0.289063 | 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 |
79055eadfcf0cb8d1cb96dc6ff1085b7d3f4d342 | 849 | py | Python | src/AuShadha/demographics/guardian/dijit_fields_constants.py | GosthMan/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 46 | 2015-03-04T14:19:47.000Z | 2021-12-09T02:58:46.000Z | src/AuShadha/demographics/guardian/dijit_fields_constants.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 2 | 2015-06-05T10:29:04.000Z | 2015-12-06T16:54:10.000Z | src/AuShadha/demographics/guardian/dijit_fields_constants.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 24 | 2015-03-23T01:38:11.000Z | 2022-01-24T16:23:42.000Z | GUARDIAN_FORM_CONSTANTS = {
'guardian_name':{'max_length': 30,
"data-dojo-type": "dijit.form.ValidationTextBox",
"data-dojo-props": r"'required' :'true' ,'regExp':'[\\w]+','invalidMessage':'Invalid Character' "
},
'relation_to_guardian':{
... | 42.45 | 123 | 0.468787 | 70 | 849 | 5.557143 | 0.357143 | 0.123393 | 0.084833 | 0.115681 | 0.820051 | 0.820051 | 0.820051 | 0.820051 | 0.737789 | 0.737789 | 0 | 0.010969 | 0.355713 | 849 | 20 | 124 | 42.45 | 0.700183 | 0 | 0 | 0.4375 | 0 | 0 | 0.548235 | 0.2 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f71f2df9d428bc57d6384865ba76147ba636e02e | 178 | py | Python | prvsnlib/tasks/hostname.py | acoomans/prvsn | af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e | [
"BSD-2-Clause"
] | null | null | null | prvsnlib/tasks/hostname.py | acoomans/prvsn | af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e | [
"BSD-2-Clause"
] | null | null | null | prvsnlib/tasks/hostname.py | acoomans/prvsn | af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e | [
"BSD-2-Clause"
] | null | null | null | import logging
from prvsnlib.utils.run import Run
def hostname(name, secure=False):
logging.header('Hostname ' + name)
Run(['hostnamectl', 'set-hostname', name]).run()
| 22.25 | 52 | 0.702247 | 23 | 178 | 5.434783 | 0.608696 | 0.288 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 178 | 7 | 53 | 25.428571 | 0.822368 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7501259c15280902a6f3ae33e990bbd04d27ee9 | 75 | py | Python | astropy_helpers/src/setup_package.py | migueldvb/astropy-helpers | 950358a24ce74be14a1679732bd8c94e6f5854d6 | [
"PSF-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2020-06-17T00:44:39.000Z | 2020-06-17T00:44:39.000Z | astropy_helpers/src/setup_package.py | fred3m/astropy-helpers | 19bb078dcd8c9dd08122da5c4b51f3703c3cc21c | [
"PSF-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | astropy_helpers/src/setup_package.py | fred3m/astropy-helpers | 19bb078dcd8c9dd08122da5c4b51f3703c3cc21c | [
"PSF-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | def get_package_data():
return {'astropy_helpers.src': ['compiler.c']}
| 25 | 50 | 0.693333 | 10 | 75 | 4.9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 75 | 2 | 51 | 37.5 | 0.742424 | 0 | 0 | 0 | 0 | 0 | 0.386667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f7557e97156941e604a93790a20470223828e158 | 447 | py | Python | xsconnect/peripheralboards/StickIt_Buttons_V2.py | xesscorp/xsconnect | b08b2e24e7a017d9f87ad4651f82915179f1fd52 | [
"MIT"
] | null | null | null | xsconnect/peripheralboards/StickIt_Buttons_V2.py | xesscorp/xsconnect | b08b2e24e7a017d9f87ad4651f82915179f1fd52 | [
"MIT"
] | 1 | 2017-01-26T12:09:44.000Z | 2021-03-07T14:13:14.000Z | xsconnect/peripheralboards/StickIt_Buttons_V2.py | xesscorp/xsconnect | b08b2e24e7a017d9f87ad4651f82915179f1fd52 | [
"MIT"
] | 1 | 2021-08-16T07:31:24.000Z | 2021-08-16T07:31:24.000Z | brd = {
'name': ('StickIt! Buttons V2'),
'port': {
'pmod': {
'default' : {
'b0': 'd0',
'b1': 'd1',
'b2': 'd2',
'b3': 'd3'
}
},
'wing': {
'default' : {
'b0': 'd... | 20.318182 | 37 | 0.181208 | 26 | 447 | 3.115385 | 0.653846 | 0.222222 | 0.271605 | 0.320988 | 0.567901 | 0.567901 | 0.567901 | 0.567901 | 0.567901 | 0 | 0 | 0.10303 | 0.630872 | 447 | 21 | 38 | 21.285714 | 0.387879 | 0 | 0 | 0.47619 | 0 | 0 | 0.190141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7987da0e8917a85ee03c731b634c8f07d074415 | 1,352 | py | Python | src/arangomlFeatureStore/managed_service_conn_parameters.py | rajivsam/arangomlFeatureStore | f4a63c6cfdf6871cb50bd7382d65786a40ab6450 | [
"MIT"
] | null | null | null | src/arangomlFeatureStore/managed_service_conn_parameters.py | rajivsam/arangomlFeatureStore | f4a63c6cfdf6871cb50bd7382d65786a40ab6450 | [
"MIT"
] | null | null | null | src/arangomlFeatureStore/managed_service_conn_parameters.py | rajivsam/arangomlFeatureStore | f4a63c6cfdf6871cb50bd7382d65786a40ab6450 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Dec 5 09:05:19 2019
@author: Rajiv Sambasivan
"""
class ManagedServiceConnParam:
@property
def DB_SERVICE_HOST(self):
return "DB_service_host"
@property
def DB_SERVICE_END_POINT(self):
return "DB_end_point"
@prop... | 18.777778 | 44 | 0.633876 | 162 | 1,352 | 5.012346 | 0.296296 | 0.216749 | 0.192118 | 0.098522 | 0.051724 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013292 | 0.276627 | 1,352 | 71 | 45 | 19.042254 | 0.816973 | 0.078402 | 0 | 0.326531 | 0 | 0 | 0.146559 | 0.021862 | 0 | 0 | 0 | 0 | 0 | 1 | 0.326531 | false | 0.081633 | 0 | 0.326531 | 0.673469 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
541a0dc1f26455fbfb601b7efb2fcc6c0f611460 | 80 | py | Python | Logic-1/near_ten.py | VivekM27/Coding-Bat-Python-Solutions | 14d5c6ccaa2129e56a5898374dec60740fe6761b | [
"Apache-2.0"
] | null | null | null | Logic-1/near_ten.py | VivekM27/Coding-Bat-Python-Solutions | 14d5c6ccaa2129e56a5898374dec60740fe6761b | [
"Apache-2.0"
] | null | null | null | Logic-1/near_ten.py | VivekM27/Coding-Bat-Python-Solutions | 14d5c6ccaa2129e56a5898374dec60740fe6761b | [
"Apache-2.0"
] | null | null | null | # NEAR_TEN
def near_ten(num):
return True if num%10<3 or num%10>7 else False | 26.666667 | 48 | 0.7125 | 18 | 80 | 3.055556 | 0.722222 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 0.1875 | 80 | 3 | 48 | 26.666667 | 0.753846 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
543120f114a5a4ccce456d3f5ba79efaba22b56b | 61 | py | Python | forced_phot/__init__.py | askap-vast/forced_phot | 8f4307825781743755d189418a9cb9111aaf0b63 | [
"MIT"
] | null | null | null | forced_phot/__init__.py | askap-vast/forced_phot | 8f4307825781743755d189418a9cb9111aaf0b63 | [
"MIT"
] | null | null | null | forced_phot/__init__.py | askap-vast/forced_phot | 8f4307825781743755d189418a9cb9111aaf0b63 | [
"MIT"
] | null | null | null | from forced_phot.forced_phot import ForcedPhot # noqa: F401
| 30.5 | 60 | 0.819672 | 9 | 61 | 5.333333 | 0.777778 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.131148 | 61 | 1 | 61 | 61 | 0.849057 | 0.163934 | 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 |
54699c3efe84c25db863658e3841e59ed835c589 | 23,624 | py | Python | tests/test_server.py | m-novikov/websockets | 668f320e0547d80afe6529528e1ecc6088955cdc | [
"BSD-3-Clause"
] | 3,909 | 2015-01-02T02:35:09.000Z | 2022-03-31T14:03:01.000Z | tests/test_server.py | m-novikov/websockets | 668f320e0547d80afe6529528e1ecc6088955cdc | [
"BSD-3-Clause"
] | 1,066 | 2015-01-19T07:32:35.000Z | 2022-03-26T15:00:11.000Z | tests/test_server.py | m-novikov/websockets | 668f320e0547d80afe6529528e1ecc6088955cdc | [
"BSD-3-Clause"
] | 549 | 2015-01-10T10:23:42.000Z | 2022-03-25T16:38:32.000Z | import http
import logging
import unittest
import unittest.mock
from websockets.connection import CONNECTING, OPEN
from websockets.datastructures import Headers
from websockets.exceptions import InvalidHeader, InvalidOrigin, InvalidUpgrade
from websockets.frames import OP_TEXT, Frame
from websockets.http import USER_A... | 38.103226 | 88 | 0.625635 | 2,365 | 23,624 | 6.162791 | 0.077378 | 0.09777 | 0.088371 | 0.077599 | 0.821955 | 0.796501 | 0.786552 | 0.765146 | 0.761509 | 0.744151 | 0 | 0.011396 | 0.260836 | 23,624 | 619 | 89 | 38.164782 | 0.823273 | 0.006307 | 0 | 0.63327 | 0 | 0 | 0.159303 | 0.05151 | 0 | 0 | 0 | 0 | 0.249527 | 1 | 0.086957 | false | 0.00189 | 0.026465 | 0.00189 | 0.120983 | 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 |
5484b80cc57ac94f4cb897290f2c6167dfeff4b3 | 5,905 | py | Python | liteflow/tests/test_losses.py | petrux/LiteFlowX | 96197bf4b5a87e682c980d303a0e6429cdb34964 | [
"Apache-2.0"
] | 2 | 2017-07-11T13:14:48.000Z | 2017-12-10T22:14:06.000Z | liteflow/tests/test_losses.py | petrux/LiteFlowX | 96197bf4b5a87e682c980d303a0e6429cdb34964 | [
"Apache-2.0"
] | null | null | null | liteflow/tests/test_losses.py | petrux/LiteFlowX | 96197bf4b5a87e682c980d303a0e6429cdb34964 | [
"Apache-2.0"
] | 1 | 2019-11-13T02:15:51.000Z | 2019-11-13T02:15:51.000Z | """Test module for liteflow.losses module."""
import math
import mock
import tensorflow as tf
from liteflow import losses
from liteflow import streaming
from liteflow.losses import categorical_crossentropy as xentropy
class TestStreamingLoss(tf.test.TestCase):
"""Test case for the liteflow.metrics.StreamingMet... | 36.90625 | 89 | 0.622523 | 748 | 5,905 | 4.802139 | 0.124332 | 0.052895 | 0.030624 | 0.030067 | 0.832962 | 0.801225 | 0.786192 | 0.734131 | 0.696269 | 0.696269 | 0 | 0.0373 | 0.237257 | 5,905 | 160 | 90 | 36.90625 | 0.760213 | 0.081456 | 0 | 0.743363 | 0 | 0 | 0.03272 | 0 | 0 | 0 | 0 | 0 | 0.265487 | 1 | 0.053097 | false | 0.00885 | 0.053097 | 0 | 0.123894 | 0 | 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 |
54adbaa85b59e636c78d0b11f2bf7a413da65f95 | 508 | py | Python | sickbeard/lib/hachoir_metadata/__init__.py | Branlala/docker-sickbeardfr | 3ac85092dc4cc8a4171fb3c83e9682162245e13e | [
"MIT"
] | null | null | null | sickbeard/lib/hachoir_metadata/__init__.py | Branlala/docker-sickbeardfr | 3ac85092dc4cc8a4171fb3c83e9682162245e13e | [
"MIT"
] | null | null | null | sickbeard/lib/hachoir_metadata/__init__.py | Branlala/docker-sickbeardfr | 3ac85092dc4cc8a4171fb3c83e9682162245e13e | [
"MIT"
] | null | null | null | from lib.hachoir_metadata.version import VERSION as __version__
from lib.hachoir_metadata.metadata import extractMetadata
# Just import the module,
# each module use registerExtractor() method
import lib.hachoir_metadata.archive
import lib.hachoir_metadata.audio
import lib.hachoir_metadata.file_system
import lib.hacho... | 31.75 | 63 | 0.866142 | 71 | 508 | 5.971831 | 0.352113 | 0.259434 | 0.466981 | 0.509434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080709 | 508 | 15 | 64 | 33.866667 | 0.907923 | 0.129921 | 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 |
49d537571a62cff7330ff87b7cc0f432a81a9ba8 | 43 | py | Python | python/fedml/simulation/single_process/fednova/__init__.py | ray-ruisun/FedML | 24ff30d636bb70f64e94e9ca205375033597d3dd | [
"Apache-2.0"
] | null | null | null | python/fedml/simulation/single_process/fednova/__init__.py | ray-ruisun/FedML | 24ff30d636bb70f64e94e9ca205375033597d3dd | [
"Apache-2.0"
] | null | null | null | python/fedml/simulation/single_process/fednova/__init__.py | ray-ruisun/FedML | 24ff30d636bb70f64e94e9ca205375033597d3dd | [
"Apache-2.0"
] | null | null | null | from .fednova_trainer import FedNovaTrainer | 43 | 43 | 0.906977 | 5 | 43 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 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 |
49f7cd558c796c2beb2908f4f90e082a3ec3357e | 248 | py | Python | toontown/cogdominium/CogdoCraneGameBase.py | LittleNed/toontown-stride | 1252a8f9a8816c1810106006d09c8bdfe6ad1e57 | [
"Apache-2.0"
] | 4 | 2019-07-01T15:46:43.000Z | 2021-07-23T16:26:48.000Z | toontown/cogdominium/CogdoCraneGameBase.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | 1 | 2019-06-29T03:40:05.000Z | 2021-06-13T01:15:16.000Z | toontown/cogdominium/CogdoCraneGameBase.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | 4 | 2019-07-28T21:18:46.000Z | 2021-02-25T06:37:25.000Z | from toontown.cogdominium import CogdoCraneGameSpec
from toontown.cogdominium import CogdoCraneGameConsts as Consts
class CogdoCraneGameBase:
def getConsts(self):
return Consts
def getSpec(self):
return CogdoCraneGameSpec | 24.8 | 63 | 0.778226 | 24 | 248 | 8.041667 | 0.625 | 0.124352 | 0.238342 | 0.300518 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185484 | 248 | 10 | 64 | 24.8 | 0.955446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.285714 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b703d544b48ba15412189f1979163b3caed750fb | 149 | py | Python | recommender/contrib/financialmodelingprep/__init__.py | stungkit/stock_trend_analysis | e9d3f2db19a9af93cc8dc55c2394ae88c1b3ee6e | [
"MIT"
] | 7 | 2020-04-16T18:25:15.000Z | 2022-02-20T03:57:31.000Z | recommender/contrib/financialmodelingprep/__init__.py | stungkit/stock_trend_analysis | e9d3f2db19a9af93cc8dc55c2394ae88c1b3ee6e | [
"MIT"
] | 4 | 2020-04-10T05:40:48.000Z | 2022-01-13T01:40:24.000Z | recommender/contrib/financialmodelingprep/__init__.py | stungkit/stock_trend_analysis | e9d3f2db19a9af93cc8dc55c2394ae88c1b3ee6e | [
"MIT"
] | 4 | 2020-11-30T06:43:42.000Z | 2021-03-12T05:42:13.000Z | '''Setup all relevant packages.'''
from . import utils
from . import statements
from . import profile
from . import indicators
from . import prices
| 18.625 | 34 | 0.751678 | 19 | 149 | 5.894737 | 0.578947 | 0.446429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167785 | 149 | 7 | 35 | 21.285714 | 0.903226 | 0.187919 | 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 |
3ff69e1934c86cad0cc97b878ae3bfd4144bdc9d | 2,429 | py | Python | yt/visualization/tests/test_normal_plot_api.py | jisuoqing/yt | e86179e6bd1b75c863ae638bdbc566d9dc241d94 | [
"BSD-3-Clause-Clear"
] | null | null | null | yt/visualization/tests/test_normal_plot_api.py | jisuoqing/yt | e86179e6bd1b75c863ae638bdbc566d9dc241d94 | [
"BSD-3-Clause-Clear"
] | null | null | null | yt/visualization/tests/test_normal_plot_api.py | jisuoqing/yt | e86179e6bd1b75c863ae638bdbc566d9dc241d94 | [
"BSD-3-Clause-Clear"
] | null | null | null | import pytest
from yt._maintenance.deprecation import VisibleDeprecationWarning
from yt.testing import fake_amr_ds
from yt.visualization.plot_window import ProjectionPlot, SlicePlot
@pytest.fixture(scope="module")
def ds():
return fake_amr_ds(geometry="cartesian")
@pytest.mark.parametrize("plot_cls", (SlicePlo... | 29.987654 | 79 | 0.687114 | 301 | 2,429 | 5.335548 | 0.215947 | 0.091532 | 0.091532 | 0.108966 | 0.808219 | 0.779577 | 0.754047 | 0.754047 | 0.754047 | 0.725405 | 0 | 0.006646 | 0.19473 | 2,429 | 80 | 80 | 30.3625 | 0.814417 | 0 | 0 | 0.596491 | 0 | 0 | 0.234664 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140351 | false | 0 | 0.070175 | 0.017544 | 0.22807 | 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 |
b7746166136d6846c59132d8e8062fd6a49ab331 | 12,900 | py | Python | unit_tests/test_tlslite_utils_aesccm.py | t184256/tlslite-ng | cef7d75f79fd746c001b339399257098a00b46be | [
"Unlicense"
] | null | null | null | unit_tests/test_tlslite_utils_aesccm.py | t184256/tlslite-ng | cef7d75f79fd746c001b339399257098a00b46be | [
"Unlicense"
] | null | null | null | unit_tests/test_tlslite_utils_aesccm.py | t184256/tlslite-ng | cef7d75f79fd746c001b339399257098a00b46be | [
"Unlicense"
] | null | null | null | # compatibility with Python 2.6, for that we need unittest2 package,
# which is not available on 3.3 or 3.4
try:
import unittest2 as unittest
except ImportError:
import unittest
from tlslite.utils.rijndael import Rijndael
from tlslite.utils.aesccm import AESCCM
from tlslite.utils.cipherfactory import createAES... | 36.752137 | 79 | 0.562791 | 1,654 | 12,900 | 4.322249 | 0.1711 | 0.092321 | 0.05819 | 0.070499 | 0.839558 | 0.81438 | 0.79046 | 0.745419 | 0.719261 | 0.719261 | 0 | 0.095644 | 0.29 | 12,900 | 350 | 80 | 36.857143 | 0.6849 | 0.007985 | 0 | 0.594142 | 0 | 0.029289 | 0.214163 | 0.163202 | 0 | 0 | 0 | 0 | 0.167364 | 1 | 0.108787 | false | 0 | 0.025105 | 0 | 0.138075 | 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 |
b77e7dbdc5561e0b3a690261f7f32b4ef320783b | 44 | py | Python | codes/hook_bc/examplar.py | thautwarm/AOP | 32925fceacb43f34e3156b52ccdf9001870fbcbf | [
"MIT"
] | 4 | 2019-12-22T12:16:46.000Z | 2020-05-20T05:30:36.000Z | codes/hook_bc/examplar.py | thautwarm/AOP | 32925fceacb43f34e3156b52ccdf9001870fbcbf | [
"MIT"
] | null | null | null | codes/hook_bc/examplar.py | thautwarm/AOP | 32925fceacb43f34e3156b52ccdf9001870fbcbf | [
"MIT"
] | null | null | null | def f(x):
return x + 1
a = print(f(1)) | 8.8 | 16 | 0.477273 | 10 | 44 | 2.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.318182 | 44 | 5 | 17 | 8.8 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b7889e2a1f8f6808b55fba5389938a51a0e277cb | 27 | py | Python | src/__init__.py | KermitPurple/pycoord | 18db2841104aee00b6a352bd367921af72390321 | [
"MIT"
] | null | null | null | src/__init__.py | KermitPurple/pycoord | 18db2841104aee00b6a352bd367921af72390321 | [
"MIT"
] | null | null | null | src/__init__.py | KermitPurple/pycoord | 18db2841104aee00b6a352bd367921af72390321 | [
"MIT"
] | null | null | null | from .pycoord import Coord
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d150535db22b45b57874a4156a68c6156cc5c1b | 50,029 | py | Python | logging/unit_tests/test__gax.py | ammayathrajeshnair/googlecloudpython | 22ded3be30dda0206e23a7846b5883a2caeeeddc | [
"Apache-2.0"
] | null | null | null | logging/unit_tests/test__gax.py | ammayathrajeshnair/googlecloudpython | 22ded3be30dda0206e23a7846b5883a2caeeeddc | [
"Apache-2.0"
] | null | null | null | logging/unit_tests/test__gax.py | ammayathrajeshnair/googlecloudpython | 22ded3be30dda0206e23a7846b5883a2caeeeddc | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 36.597659 | 78 | 0.652262 | 5,783 | 50,029 | 5.357946 | 0.057755 | 0.069711 | 0.033403 | 0.018073 | 0.822011 | 0.792868 | 0.763466 | 0.738841 | 0.723253 | 0.702888 | 0 | 0.003701 | 0.260029 | 50,029 | 1,366 | 79 | 36.624451 | 0.833279 | 0.030143 | 0 | 0.650704 | 0 | 0 | 0.033007 | 0.004497 | 0 | 0 | 0 | 0 | 0.218779 | 1 | 0.070423 | false | 0 | 0.112676 | 0.000939 | 0.228169 | 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 |
4d2d16146b1ad8abacdcecd1f011baaaa7a60e95 | 48 | py | Python | nr_pypackage/blueprints/blueprint_database/__init__.py | nitred/nr-pypackage | 426fa4ffca5a69ca4ed6f70cdf9d9d6be76e4e45 | [
"MIT"
] | 1 | 2019-07-10T07:00:24.000Z | 2019-07-10T07:00:24.000Z | nr_pypackage/blueprints/blueprint_database/__init__.py | nitred/nr-pypackage | 426fa4ffca5a69ca4ed6f70cdf9d9d6be76e4e45 | [
"MIT"
] | 9 | 2018-09-27T10:33:58.000Z | 2018-10-26T12:47:57.000Z | nr_pypackage/blueprints/blueprint_database/__init__.py | nitred/nr-pypackage | 426fa4ffca5a69ca4ed6f70cdf9d9d6be76e4e45 | [
"MIT"
] | null | null | null | from .blueprint_database import handle_database
| 24 | 47 | 0.895833 | 6 | 48 | 6.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
4d33a35bea05a38c647ad2612606a7c4bad6b5bb | 168 | py | Python | school/admin.py | manisharmagarg/Torrins | a468677d91699795ed82d5896199b197a6771fe2 | [
"Apache-2.0"
] | null | null | null | school/admin.py | manisharmagarg/Torrins | a468677d91699795ed82d5896199b197a6771fe2 | [
"Apache-2.0"
] | null | null | null | school/admin.py | manisharmagarg/Torrins | a468677d91699795ed82d5896199b197a6771fe2 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import (
SchoolProfile,
)
# Register your models here.
admin.site.register(SchoolProfile) | 18.666667 | 34 | 0.779762 | 21 | 168 | 6.238095 | 0.52381 | 0.183206 | 0.274809 | 0.335878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 168 | 9 | 34 | 18.666667 | 0.909722 | 0.315476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4d6c30fbb1e0206060a055a77257d131b3674f22 | 101 | py | Python | sentry_mattermost/__init__.py | dbalagansky/sentry-mattermost | 4bb7796650fcf73b9f8465c9d2bc6b5942df025a | [
"MIT"
] | 1 | 2019-02-23T22:49:53.000Z | 2019-02-23T22:49:53.000Z | sentry_mattermost/__init__.py | dbalagansky/sentry-mattermost | 4bb7796650fcf73b9f8465c9d2bc6b5942df025a | [
"MIT"
] | null | null | null | sentry_mattermost/__init__.py | dbalagansky/sentry-mattermost | 4bb7796650fcf73b9f8465c9d2bc6b5942df025a | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from sentry_plugins.base import assert_package_not_installed
| 25.25 | 60 | 0.90099 | 14 | 101 | 5.857143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 101 | 3 | 61 | 33.666667 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d75728d0b7d4c38c46a3e9b9f10300ebdfcbaeb | 1,242 | py | Python | tests/data_sources/sun/test_sun_data_source.py | rohancalum/nowcasting_dataset | b88e31f4b381d97bb06274f357992108472a3f07 | [
"MIT"
] | null | null | null | tests/data_sources/sun/test_sun_data_source.py | rohancalum/nowcasting_dataset | b88e31f4b381d97bb06274f357992108472a3f07 | [
"MIT"
] | null | null | null | tests/data_sources/sun/test_sun_data_source.py | rohancalum/nowcasting_dataset | b88e31f4b381d97bb06274f357992108472a3f07 | [
"MIT"
] | null | null | null | import pandas as pd
from nowcasting_dataset.data_sources.sun.sun_data_source import SunDataSource
def test_init(test_data_folder):
zarr_path = test_data_folder + "/sun/test.zarr"
_ = SunDataSource(zarr_path=zarr_path, history_minutes=30, forecast_minutes=60)
def test_get_example(test_data_folder):
zar... | 31.05 | 97 | 0.756039 | 190 | 1,242 | 4.610526 | 0.263158 | 0.082192 | 0.09589 | 0.061644 | 0.829909 | 0.829909 | 0.829909 | 0.829909 | 0.829909 | 0.829909 | 0 | 0.114662 | 0.143317 | 1,242 | 39 | 98 | 31.846154 | 0.708647 | 0 | 0 | 0.652174 | 0 | 0 | 0.070853 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.130435 | false | 0 | 0.086957 | 0 | 0.217391 | 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 |
4d800148e413f6659e339b1258a8bd8b68562296 | 160 | py | Python | wydatki/admin.py | ciszko/Splitistic | bd2924d04f3629b377915af6e3641030ad0a941c | [
"MIT"
] | null | null | null | wydatki/admin.py | ciszko/Splitistic | bd2924d04f3629b377915af6e3641030ad0a941c | [
"MIT"
] | null | null | null | wydatki/admin.py | ciszko/Splitistic | bd2924d04f3629b377915af6e3641030ad0a941c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Zakup, Uzytkownik
# Register your models here.
admin.site.register(Zakup)
#admin.site.register(Uzytkownik) | 26.666667 | 37 | 0.8125 | 22 | 160 | 5.909091 | 0.545455 | 0.138462 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 160 | 6 | 38 | 26.666667 | 0.902778 | 0.35625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
4da4a0b74535c34e80ced3e1d0620b1cddc358b1 | 37 | py | Python | exporter/__init__.py | piotrb5e3/wason-w-interval | 5139352c63f4eb155e9d1f0afde48de1aadce1a3 | [
"MIT"
] | 1,450 | 2019-03-04T15:47:38.000Z | 2022-03-30T03:33:35.000Z | exporter/__init__.py | piotrb5e3/wason-w-interval | 5139352c63f4eb155e9d1f0afde48de1aadce1a3 | [
"MIT"
] | 34 | 2019-03-05T09:50:38.000Z | 2021-08-31T15:20:27.000Z | jsuarez/extra/embyr_deprecated/embyr2d/__init__.py | LaudateCorpus1/neural-mmo | a9a7c34a1fb24fbf252e2958bdb869c213e580a3 | [
"MIT"
] | 164 | 2019-03-04T16:09:19.000Z | 2022-02-26T15:43:40.000Z | from .application import Application
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4deadbe3a4bdcbef8ba231cca06d13587b44f582 | 30 | py | Python | snetwork/utils/__init__.py | nyue/MyActionPipeline | c730cd0442b8761cf7d2e082d328b0a3fbcd2641 | [
"Apache-2.0"
] | null | null | null | snetwork/utils/__init__.py | nyue/MyActionPipeline | c730cd0442b8761cf7d2e082d328b0a3fbcd2641 | [
"Apache-2.0"
] | null | null | null | snetwork/utils/__init__.py | nyue/MyActionPipeline | c730cd0442b8761cf7d2e082d328b0a3fbcd2641 | [
"Apache-2.0"
] | null | null | null | def status():
return True
| 10 | 15 | 0.633333 | 4 | 30 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 30 | 2 | 16 | 15 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
128cf35f710a65f04e898f4357b717c929ec3f0e | 53 | py | Python | src/kol/bot/__init__.py | thedufer/pykol | bad8ff4bf2f4bc6a7a5b6dbbd9333ef5aaf3432a | [
"BSD-3-Clause"
] | 1 | 2016-05-08T12:10:32.000Z | 2016-05-08T12:10:32.000Z | src/kol/bot/__init__.py | ZJ/pykol | c0523a4a4d09bcdf16f8c86c78da96914e961076 | [
"BSD-3-Clause"
] | null | null | null | src/kol/bot/__init__.py | ZJ/pykol | c0523a4a4d09bcdf16f8c86c78da96914e961076 | [
"BSD-3-Clause"
] | null | null | null | # $Id: __init__.py 475 2008-06-28 14:37:00Z scelis $
| 26.5 | 52 | 0.679245 | 11 | 53 | 2.909091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.377778 | 0.150943 | 53 | 1 | 53 | 53 | 0.333333 | 0.943396 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12dc663e25aff381f223e67d70a9c263e7abce50 | 32 | py | Python | boxbox/utils/__init__.py | jbwang1997/BoxBox | 827d4af74a645da832282a2faa65a59240b82240 | [
"Apache-2.0"
] | 1 | 2021-08-14T07:19:26.000Z | 2021-08-14T07:19:26.000Z | boxbox/utils/__init__.py | jbwang1997/BoxBox | 827d4af74a645da832282a2faa65a59240b82240 | [
"Apache-2.0"
] | null | null | null | boxbox/utils/__init__.py | jbwang1997/BoxBox | 827d4af74a645da832282a2faa65a59240b82240 | [
"Apache-2.0"
] | null | null | null | from .registry import Registrar
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12f548814aeec702cc58b58f44952a54e555a015 | 2,355 | py | Python | test-framework/test-suites/integration/tests/disable/test_disable_cart.py | shivanshs9/stacki | 258740748281dfe89b0f566261eaf23102f91aa4 | [
"BSD-3-Clause"
] | null | null | null | test-framework/test-suites/integration/tests/disable/test_disable_cart.py | shivanshs9/stacki | 258740748281dfe89b0f566261eaf23102f91aa4 | [
"BSD-3-Clause"
] | null | null | null | test-framework/test-suites/integration/tests/disable/test_disable_cart.py | shivanshs9/stacki | 258740748281dfe89b0f566261eaf23102f91aa4 | [
"BSD-3-Clause"
] | null | null | null | import json
from textwrap import dedent
class TestDisableCart:
def test_disable_cart_no_args(self, host):
result = host.run('stack disable cart')
assert result.rc == 255
assert result.stderr == dedent('''\
error - "cart" argument is required
{cart ...} [box=string]
''')
def test_disable_cart_invalid_... | 24.53125 | 62 | 0.649682 | 350 | 2,355 | 4.314286 | 0.157143 | 0.135099 | 0.12053 | 0.166887 | 0.854967 | 0.85298 | 0.800662 | 0.800662 | 0.67351 | 0.611258 | 0 | 0.01087 | 0.218684 | 2,355 | 95 | 63 | 24.789474 | 0.809783 | 0.114225 | 0 | 0.57971 | 0 | 0 | 0.304725 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 1 | 0.072464 | false | 0 | 0.028986 | 0 | 0.115942 | 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 |
420661fae1deeefacc4778493ef26f9b783f2fa0 | 117 | py | Python | Chapter02/sources/matplot-ex1.py | gabrielmahia/AIWuShu | 0c2507e812ab0824f50e44c17470ba15fc1042d2 | [
"MIT"
] | 63 | 2019-08-26T04:52:37.000Z | 2022-02-16T19:04:46.000Z | Chapter02/sources/matplot-ex1.py | urantialife/Hands-On-Artificial-Intelligence-for-Cybersecurity | 507e736b23b8c62ded7f544763edaf3ccaba506d | [
"MIT"
] | null | null | null | Chapter02/sources/matplot-ex1.py | urantialife/Hands-On-Artificial-Intelligence-for-Cybersecurity | 507e736b23b8c62ded7f544763edaf3ccaba506d | [
"MIT"
] | 47 | 2019-08-15T21:46:01.000Z | 2022-03-08T01:12:23.000Z | import numpy as np
import matplotlib.pyplot as plt
plt.plot(np.arange(15), np.arange(15))
plt.show()
| 13 | 39 | 0.649573 | 19 | 117 | 4 | 0.578947 | 0.210526 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.230769 | 117 | 8 | 40 | 14.625 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
42486c43c635a53d63e421a44fa8dab10d71812d | 197 | py | Python | Library_version.py | fulcrum101/LAPO_fire_in_the_server_room | e8e6216679dd79d64e0748ee76857846d8ac439b | [
"MIT"
] | null | null | null | Library_version.py | fulcrum101/LAPO_fire_in_the_server_room | e8e6216679dd79d64e0748ee76857846d8ac439b | [
"MIT"
] | null | null | null | Library_version.py | fulcrum101/LAPO_fire_in_the_server_room | e8e6216679dd79d64e0748ee76857846d8ac439b | [
"MIT"
] | null | null | null | import pygame
import sys
import firebase_admin
print(f'Python version: {sys.version}')
print(f'Pygame version: {pygame.__version__}')
print(f'Firebase_admin version: {firebase_admin.__version__}') | 28.142857 | 62 | 0.80203 | 27 | 197 | 5.444444 | 0.333333 | 0.265306 | 0.176871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076142 | 197 | 7 | 62 | 28.142857 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.590909 | 0.141414 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
42957c806d01ed0750dc6dc606e6c9d78c89c7bc | 812 | py | Python | heimdal/cloudwatch.py | dbuksbaum/heimdal | 7de7b9b93abdb03082b5234bbf0b45e20e90c789 | [
"MIT"
] | null | null | null | heimdal/cloudwatch.py | dbuksbaum/heimdal | 7de7b9b93abdb03082b5234bbf0b45e20e90c789 | [
"MIT"
] | null | null | null | heimdal/cloudwatch.py | dbuksbaum/heimdal | 7de7b9b93abdb03082b5234bbf0b45e20e90c789 | [
"MIT"
] | null | null | null | from collectors import BaseCollector
class AlarmsCollector(BaseCollector):
@property
def region_name(self):
return self.region
def __init__(self, region=None):
super().__init__()
self.region=region
def list_all_alarms(self):
return self.getResource(serviceName='cloudwa... | 24.606061 | 91 | 0.678571 | 92 | 812 | 5.706522 | 0.26087 | 0.152381 | 0.16 | 0.114286 | 0.784762 | 0.784762 | 0.784762 | 0.784762 | 0.655238 | 0.419048 | 0 | 0 | 0.21798 | 812 | 32 | 92 | 25.375 | 0.826772 | 0 | 0 | 0.608696 | 0 | 0 | 0.024631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0 | 0.043478 | 0.26087 | 0.73913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4298b25ab62127f106d6780fa2bd886bfcb78ae5 | 1,997 | py | Python | pirates/leveleditor/worldData/int_battle_test.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/int_battle_test.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/int_battle_test.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.int_battle_test
from pandac.PandaModules import Point3, VBase3, Vec4
objectStruct = {'Objects': {'11557717... | 285.285714 | 1,557 | 0.648473 | 278 | 1,997 | 4.625899 | 0.453237 | 0.021773 | 0.025661 | 0.024883 | 0.265941 | 0.262053 | 0.216952 | 0.216952 | 0.203733 | 0.203733 | 0 | 0.237493 | 0.089134 | 1,997 | 7 | 1,558 | 285.285714 | 0.469489 | 0.110666 | 0 | 0 | 0 | 0 | 0.534989 | 0.190181 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c43a38079548b095266e9b4e77fbf9173e50adac | 2,552 | py | Python | epytope/Data/pssms/smmpmbec/mat/B_35_03_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/B_35_03_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/B_35_03_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_35_03_10 = {0: {'A': 0.153, 'C': -0.022, 'E': 0.021, 'D': 0.033, 'G': 0.035, 'F': -0.253, 'I': -0.048, 'H': -0.005, 'K': 0.125, 'M': -0.088, 'L': -0.127, 'N': -0.005, 'Q': 0.038, 'P': 0.097, 'S': 0.143, 'R': 0.08, 'T': 0.098, 'W': -0.122, 'V': 0.027, 'Y': -0.179}, 1: {'A': 0.078, 'C': -0.001, 'E': -0.031, 'D': -0.09,... | 2,552 | 2,552 | 0.39616 | 618 | 2,552 | 1.631068 | 0.205502 | 0.019841 | 0.014881 | 0.017857 | 0.18254 | 0.02381 | 0.02381 | 0.02381 | 0 | 0 | 0 | 0.376052 | 0.162226 | 2,552 | 1 | 2,552 | 2,552 | 0.095416 | 0 | 0 | 0 | 0 | 0 | 0.079514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c46056feb8a519f07d5801acec3d3d94325f1f04 | 330 | py | Python | bitmovin_api_sdk/encoding/configurations/audio/opus/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/configurations/audio/opus/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/configurations/audio/opus/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.configurations.audio.opus.opus_api import OpusApi
from bitmovin_api_sdk.encoding.configurations.audio.opus.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.configurations.audio.opus.opus_audio_configuration_list_query_params import OpusAudioConfigurationListQu... | 82.5 | 144 | 0.915152 | 41 | 330 | 7.04878 | 0.414634 | 0.124567 | 0.155709 | 0.186851 | 0.536332 | 0.536332 | 0.536332 | 0.536332 | 0.366782 | 0 | 0 | 0 | 0.036364 | 330 | 3 | 145 | 110 | 0.908805 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4644a6aebcd9b79b9336a571248958756e60277 | 148 | py | Python | client/rewards/__init__.py | tbienhoff/carla-rl | 51960c8ce3b7e90cdd6c3ab5e18721d1969e1b50 | [
"MIT"
] | 80 | 2019-01-30T13:14:11.000Z | 2022-02-14T08:51:01.000Z | client/rewards/__init__.py | tbienhoff/carla-rl | 51960c8ce3b7e90cdd6c3ab5e18721d1969e1b50 | [
"MIT"
] | 8 | 2019-02-03T18:21:36.000Z | 2020-10-23T00:51:30.000Z | client/rewards/__init__.py | tbienhoff/carla-rl | 51960c8ce3b7e90cdd6c3ab5e18721d1969e1b50 | [
"MIT"
] | 27 | 2019-03-15T08:22:19.000Z | 2022-03-20T05:37:48.000Z | from .carla_reward import CarlaReward
from .sparse_reward import SparseReward
from .cirl_reward import CIRLReward
from .her_reward import HERReward
| 29.6 | 39 | 0.864865 | 20 | 148 | 6.2 | 0.55 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 148 | 4 | 40 | 37 | 0.939394 | 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 |
67a0296dc458848f6a88abcc99528b8ccbf4c373 | 63 | py | Python | desper/glet/__init__.py | Ball-Man/monospace | 570faa0b800b95e5305e83542512c38ff500b3b2 | [
"MIT"
] | 1 | 2021-06-19T00:24:17.000Z | 2021-06-19T00:24:17.000Z | desper/glet/__init__.py | Ball-Man/monospace | 570faa0b800b95e5305e83542512c38ff500b3b2 | [
"MIT"
] | null | null | null | desper/glet/__init__.py | Ball-Man/monospace | 570faa0b800b95e5305e83542512c38ff500b3b2 | [
"MIT"
] | null | null | null | from .ecs import *
from .gamemodel import *
from .res import *
| 15.75 | 24 | 0.714286 | 9 | 63 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 25 | 21 | 0.882353 | 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 |
db3385c1f2e6a612afbe3ee002afae556f143fb9 | 12,053 | py | Python | test/test_assert_callback_registration.py | lifeisafractal/Appdaemon-Test-Framework | 9821439b8a8e362b6117d7aa7ad503fb9bdba9e7 | [
"MIT"
] | 37 | 2018-08-08T10:48:13.000Z | 2022-03-09T22:31:11.000Z | test/test_assert_callback_registration.py | lifeisafractal/Appdaemon-Test-Framework | 9821439b8a8e362b6117d7aa7ad503fb9bdba9e7 | [
"MIT"
] | 58 | 2018-10-05T13:36:57.000Z | 2022-02-06T11:37:20.000Z | test/test_assert_callback_registration.py | lifeisafractal/Appdaemon-Test-Framework | 9821439b8a8e362b6117d7aa7ad503fb9bdba9e7 | [
"MIT"
] | 13 | 2018-12-04T19:22:23.000Z | 2022-02-06T10:32:04.000Z | from datetime import time, datetime
import appdaemon.plugins.hass.hassapi as hass
import pytest
from pytest import mark
from appdaemontestframework import automation_fixture
class MockAutomation(hass.Hass):
should_listen_state = False
should_listen_event = False
should_register_run_daily = False
sho... | 42.291228 | 103 | 0.697171 | 1,366 | 12,053 | 5.74451 | 0.062958 | 0.07009 | 0.127437 | 0.108322 | 0.890914 | 0.870141 | 0.84784 | 0.803237 | 0.789474 | 0.787307 | 0 | 0.012977 | 0.21364 | 12,053 | 284 | 104 | 42.440141 | 0.81494 | 0 | 0 | 0.698113 | 0 | 0 | 0.023148 | 0.010454 | 0 | 0 | 0 | 0 | 0.386792 | 1 | 0.179245 | false | 0.033019 | 0.023585 | 0 | 0.254717 | 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 |
c03ba4fade45b3ab7f0dc3c839327d4eeb5422fd | 9,317 | py | Python | boa3_test/tests/compiler_tests/test_types.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/tests/compiler_tests/test_types.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/tests/compiler_tests/test_types.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | import ast
from boa3.analyser.analyser import Analyser
from boa3.analyser.typeanalyser import TypeAnalyser
from boa3.model.type.annotation.uniontype import UnionType
from boa3.model.type.collection.sequence.mutable.listtype import ListType
from boa3.model.type.collection.sequence.tupletype import TupleType
from boa3.m... | 37.873984 | 99 | 0.688097 | 1,231 | 9,317 | 4.918765 | 0.050366 | 0.059455 | 0.059455 | 0.057473 | 0.908175 | 0.889843 | 0.857969 | 0.824443 | 0.78431 | 0.737903 | 0 | 0.005292 | 0.20908 | 9,317 | 245 | 100 | 38.028571 | 0.816393 | 0 | 0 | 0.603261 | 0 | 0 | 0.001181 | 0 | 0 | 0 | 0 | 0 | 0.222826 | 1 | 0.152174 | false | 0 | 0.043478 | 0 | 0.201087 | 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 |
c04365bd2cf9fe088d5a540a3e55d47d4e26614a | 170 | py | Python | gan_training/metrics/__init__.py | AlamiMejjati/controllable_image_synthesis | 06f81359d5f10854af275cd313023d9f1e0afd4c | [
"MIT"
] | 55 | 2020-03-19T11:27:52.000Z | 2022-03-24T06:43:55.000Z | gan_training/metrics/__init__.py | AlamiMejjati/controllable_image_synthesis | 06f81359d5f10854af275cd313023d9f1e0afd4c | [
"MIT"
] | 1 | 2021-01-24T12:47:46.000Z | 2021-01-24T12:47:46.000Z | gan_training/metrics/__init__.py | AlamiMejjati/controllable_image_synthesis | 06f81359d5f10854af275cd313023d9f1e0afd4c | [
"MIT"
] | 11 | 2020-06-22T09:17:23.000Z | 2022-02-26T09:18:54.000Z | from gan_training.metrics.inception_score import inception_score
from gan_training.metrics.fid_score import FIDEvaluator
__all__ = [
inception_score,
FIDEvaluator
]
| 21.25 | 64 | 0.841176 | 21 | 170 | 6.333333 | 0.47619 | 0.315789 | 0.225564 | 0.330827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111765 | 170 | 7 | 65 | 24.285714 | 0.880795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fbec9af1364a6fbb823e05886687b547d630b52d | 25 | py | Python | nu/v1/Membranes/Firings/__init__.py | bullgom/pysnn2 | dad5ae26b029afd5c5bf76fe141249b0f7b7a36c | [
"MIT"
] | null | null | null | nu/v1/Membranes/Firings/__init__.py | bullgom/pysnn2 | dad5ae26b029afd5c5bf76fe141249b0f7b7a36c | [
"MIT"
] | null | null | null | nu/v1/Membranes/Firings/__init__.py | bullgom/pysnn2 | dad5ae26b029afd5c5bf76fe141249b0f7b7a36c | [
"MIT"
] | null | null | null | from .Fixed import Fixed
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
220fa874eee05fcaae99e670e8a73cf6b8112c44 | 144 | py | Python | dee/tasks/__init__.py | Nero0017/DocEE | c7e8a8f8c8fc3b6c39d498ec2d8f61eef47d60c2 | [
"MIT"
] | 1 | 2022-02-22T09:54:21.000Z | 2022-02-22T09:54:21.000Z | dee/tasks/__init__.py | Nero0017/DocEE | c7e8a8f8c8fc3b6c39d498ec2d8f61eef47d60c2 | [
"MIT"
] | null | null | null | dee/tasks/__init__.py | Nero0017/DocEE | c7e8a8f8c8fc3b6c39d498ec2d8f61eef47d60c2 | [
"MIT"
] | null | null | null | from .dee_task import DEETask, DEETaskSetting
from .base_task import BasePytorchTask, TaskSetting
from .ner_task import NERTask, NERTaskSetting
| 36 | 51 | 0.854167 | 18 | 144 | 6.666667 | 0.666667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 144 | 3 | 52 | 48 | 0.930233 | 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 |
97fa08f7610c2c4a8b9f392e95b3e3e98c306967 | 28 | py | Python | src/lablet_generalization_benchmark/__init__.py | floringogianu/InDomainGeneralizationBenchmark | eca354723e1685d05d8d114fc9d6e4ef880b63dc | [
"Apache-2.0"
] | 496 | 2019-04-08T18:36:03.000Z | 2022-03-28T08:31:53.000Z | src/lablet_generalization_benchmark/__init__.py | floringogianu/InDomainGeneralizationBenchmark | eca354723e1685d05d8d114fc9d6e4ef880b63dc | [
"Apache-2.0"
] | 70 | 2021-03-31T17:10:18.000Z | 2022-03-31T15:04:45.000Z | src/lablet_generalization_benchmark/__init__.py | floringogianu/InDomainGeneralizationBenchmark | eca354723e1685d05d8d114fc9d6e4ef880b63dc | [
"Apache-2.0"
] | 106 | 2020-10-01T13:46:36.000Z | 2022-03-28T18:17:10.000Z | # Implement your code here.
| 14 | 27 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.913043 | 0.892857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f189c296c97d31413302dcff9622e86e702ed5f | 8,891 | py | Python | modules/segmentation_unet.py | jperezvisaires/tfg-intphys | 8c32c383bf00c00b0fc627ba7bf1192bc3011c40 | [
"MIT"
] | 1 | 2020-01-25T19:43:45.000Z | 2020-01-25T19:43:45.000Z | modules/segmentation_unet.py | jperezvisaires/tfg-intphys | 8c32c383bf00c00b0fc627ba7bf1192bc3011c40 | [
"MIT"
] | null | null | null | modules/segmentation_unet.py | jperezvisaires/tfg-intphys | 8c32c383bf00c00b0fc627ba7bf1192bc3011c40 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.keras import Model, Input
from tensorflow.keras.layers import Conv2D, Conv2DTranspose
from tensorflow.keras.layers import MaxPool2D, UpSampling2D, Concatenate
from tensorflow.keras.layers import BatchNormalization, Activation, Dropout
# Unet Layers.
def unet_conv_layer(x, fil... | 36.142276 | 111 | 0.655607 | 1,022 | 8,891 | 5.445205 | 0.09002 | 0.071878 | 0.103504 | 0.150404 | 0.813477 | 0.774843 | 0.739263 | 0.7292 | 0.719497 | 0.707457 | 0 | 0.022632 | 0.249578 | 8,891 | 246 | 112 | 36.142276 | 0.811451 | 0.005061 | 0 | 0.56051 | 0 | 0 | 0.028271 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095541 | false | 0 | 0.031847 | 0 | 0.22293 | 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 |
3f625996d3e706007a7e8c77d789780034e06c86 | 29 | py | Python | rlib/algorithms/trpo/__init__.py | MarcioPorto/rlib | 5919f2dc52105000a23a25c31bbac260ca63565f | [
"MIT"
] | 1 | 2019-09-08T08:33:13.000Z | 2019-09-08T08:33:13.000Z | rlib/algorithms/trpo/__init__.py | MarcioPorto/rlib | 5919f2dc52105000a23a25c31bbac260ca63565f | [
"MIT"
] | 26 | 2019-03-15T03:11:21.000Z | 2022-03-11T23:42:46.000Z | rlib/algorithms/trpo/__init__.py | MarcioPorto/rlib | 5919f2dc52105000a23a25c31bbac260ca63565f | [
"MIT"
] | null | null | null | from .agent import TRPOAgent
| 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 |
3f67adbd21d07e36912480f25f68402867bfaf2a | 206 | py | Python | config.py | loblab/numexam | ea50f144f0a8917535a04246ca26b6d2bc906f4b | [
"Apache-2.0"
] | null | null | null | config.py | loblab/numexam | ea50f144f0a8917535a04246ca26b6d2bc906f4b | [
"Apache-2.0"
] | null | null | null | config.py | loblab/numexam | ea50f144f0a8917535a04246ca26b6d2bc906f4b | [
"Apache-2.0"
] | null | null | null | USER_NAME = "Kitty"
MAX_ANWSER = 9999
EXAM_ITEMS = 5
EXAM_TIME = 120
EXAM_TYPES = [
"99 * 99",
"99 +- 99",
"9999 / 99",
"999 +- 999",
"999 +- 999 +- 999",
"999 +-*/ (199 +-* 99)",
]
| 15.846154 | 28 | 0.475728 | 28 | 206 | 3.321429 | 0.535714 | 0.322581 | 0.387097 | 0.387097 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 0.300971 | 206 | 12 | 29 | 17.166667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.373786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
58abcb904de8f124d125e5ca1384c856745219a0 | 2,040 | py | Python | farmacia/migrations/0001_initial.py | Italo-Carvalho/farmacia | db4cab3e024b73286107f1f742d407ccf939dcb0 | [
"MIT"
] | null | null | null | farmacia/migrations/0001_initial.py | Italo-Carvalho/farmacia | db4cab3e024b73286107f1f742d407ccf939dcb0 | [
"MIT"
] | null | null | null | farmacia/migrations/0001_initial.py | Italo-Carvalho/farmacia | db4cab3e024b73286107f1f742d407ccf939dcb0 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.4 on 2021-06-04 23:56
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Cliente',
fields=[
('id', models.BigAutoFie... | 39.230769 | 117 | 0.556373 | 197 | 2,040 | 5.563452 | 0.329949 | 0.130474 | 0.082117 | 0.109489 | 0.725365 | 0.725365 | 0.725365 | 0.725365 | 0.725365 | 0.725365 | 0 | 0.022409 | 0.3 | 2,040 | 51 | 118 | 40 | 0.745098 | 0.022059 | 0 | 0.659091 | 1 | 0 | 0.117913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 0 | 0.113636 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
452d682283c86b4dc0977089ed3b3bb1689a4d11 | 26 | py | Python | app/core/__init__.py | sumitsawant/electionguard-api-python | 17d98336b7188a446fa2746a531a04f25b9edd1a | [
"MIT"
] | 1 | 2021-07-06T16:18:50.000Z | 2021-07-06T16:18:50.000Z | app/core/__init__.py | QPC-database/electionguard-api-python | bee0f8d2e4982df6e11d09322065e22ebd26e2c2 | [
"MIT"
] | null | null | null | app/core/__init__.py | QPC-database/electionguard-api-python | bee0f8d2e4982df6e11d09322065e22ebd26e2c2 | [
"MIT"
] | null | null | null | from .repository import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18b6685c8a50ead3c696d19cac6ac339644b0845 | 188 | py | Python | utils/dataset.py | hagerrady13/ERFNet-PyTorch | 0892636d270e854093ed45bd9fa2b91133406caf | [
"MIT"
] | 30 | 2018-07-30T11:46:28.000Z | 2022-01-24T02:46:43.000Z | utils/dataset.py | hagerrady13/ERFNet-PyTorch | 0892636d270e854093ed45bd9fa2b91133406caf | [
"MIT"
] | 7 | 2019-07-23T08:03:59.000Z | 2022-03-11T23:30:25.000Z | utils/dataset.py | hagerrady13/ERFNet-PyTorch | 0892636d270e854093ed45bd9fa2b91133406caf | [
"MIT"
] | 9 | 2018-07-29T21:47:39.000Z | 2021-05-14T10:51:04.000Z | import numpy as np
def calc_dataset_stats(dataset, axis=0, ep=1e-7):
return (np.mean(dataset, axis=axis) / 255.0).tolist(), (
np.std(dataset + ep, axis=axis) / 255.0).tolist() | 37.6 | 60 | 0.648936 | 32 | 188 | 3.75 | 0.5625 | 0.183333 | 0.183333 | 0.2 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070513 | 0.170213 | 188 | 5 | 61 | 37.6 | 0.698718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
18c3ebf77b53b684bbbff077114ba90331767483 | 38 | py | Python | utils/models/other/bdclstm/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | 3 | 2022-01-18T19:25:46.000Z | 2022-02-05T18:53:24.000Z | utils/models/other/bdclstm/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | utils/models/other/bdclstm/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | from .model import BDCLSTM, UNetSmall
| 19 | 37 | 0.815789 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18fb36c8df8372ead7304cc10cf8ed8e60d208ce | 101 | py | Python | office365/sharepoint/storagemetrics/storage_metrics.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | null | null | null | office365/sharepoint/storagemetrics/storage_metrics.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | null | null | null | office365/sharepoint/storagemetrics/storage_metrics.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | null | null | null | from office365.sharepoint.base_entity import BaseEntity
class StorageMetrics(BaseEntity):
pass
| 16.833333 | 55 | 0.821782 | 11 | 101 | 7.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.128713 | 101 | 5 | 56 | 20.2 | 0.897727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e15407023adc68daf9690140a1c645fbb4ca93d8 | 3,881 | py | Python | classifier/helperfunctions.py | shivammehta007/NLPinEnglishLearning | ae869d868e39df9b1787134ba6e964acd385dd2e | [
"Apache-2.0"
] | 1 | 2020-05-27T22:21:33.000Z | 2020-05-27T22:21:33.000Z | classifier/helperfunctions.py | shivammehta007/NLPinEnglishLearning | ae869d868e39df9b1787134ba6e964acd385dd2e | [
"Apache-2.0"
] | null | null | null | classifier/helperfunctions.py | shivammehta007/NLPinEnglishLearning | ae869d868e39df9b1787134ba6e964acd385dd2e | [
"Apache-2.0"
] | null | null | null | """
Helper Functions containing training and evaluation methods
"""
import torch
from tqdm.auto import tqdm
from utility import categorical_accuracy, other_evaluations
from config.root import device
def train(model, iterator, optimizer, criterion, dataset_tag):
epoch_loss = 0
epoch_acc = 0
model.train(... | 23.95679 | 78 | 0.644937 | 486 | 3,881 | 4.936214 | 0.150206 | 0.059608 | 0.068779 | 0.037516 | 0.769904 | 0.737391 | 0.731138 | 0.731138 | 0.723218 | 0.723218 | 0 | 0.005144 | 0.248647 | 3,881 | 161 | 79 | 24.10559 | 0.817558 | 0.015202 | 0 | 0.703297 | 0 | 0 | 0.002098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065934 | false | 0 | 0.043956 | 0 | 0.175824 | 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 |
e16029695f46e622ec14b8258d5b39f60d36feb5 | 36 | py | Python | python/testData/refactoring/move/staleFromImportsRemovedWhenSeveralMovedSymbolsUsedInSameModule/before/src/importing.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/refactoring/move/staleFromImportsRemovedWhenSeveralMovedSymbolsUsedInSameModule/before/src/importing.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/staleFromImportsRemovedWhenSeveralMovedSymbolsUsedInSameModule/before/src/importing.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from a import A, B
print(A(), B())
| 9 | 18 | 0.555556 | 8 | 36 | 2.5 | 0.625 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 36 | 3 | 19 | 12 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e164ca37db0a4b3cefbec917e7c37880b233db17 | 126 | py | Python | inheritance_exercise/players_and_monsters/project/blade__knight.py | Veselin-Stoilov/software-university-OOP | 452a77cabf2e7d93f30f629c67c6b22682eb255d | [
"MIT"
] | null | null | null | inheritance_exercise/players_and_monsters/project/blade__knight.py | Veselin-Stoilov/software-university-OOP | 452a77cabf2e7d93f30f629c67c6b22682eb255d | [
"MIT"
] | null | null | null | inheritance_exercise/players_and_monsters/project/blade__knight.py | Veselin-Stoilov/software-university-OOP | 452a77cabf2e7d93f30f629c67c6b22682eb255d | [
"MIT"
] | null | null | null | from inheritance_exercise.players_and_monsters.project.dark_knight import DarkKnight
class SoulMaster(DarkKnight):
pass
| 21 | 84 | 0.849206 | 15 | 126 | 6.866667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 126 | 5 | 85 | 25.2 | 0.911504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bed1e9b6edd55d34d2ca2fcee7b9c6c15eda692e | 58 | py | Python | stellar_account_prometheus_exporter/__init__.py | AYCH-Inc/aych.lum.acmonitor | 332f450009810499103dd4935e314f0fd6621d83 | [
"Apache-2.0"
] | 9 | 2020-05-22T18:37:02.000Z | 2022-01-28T20:37:33.000Z | stellar_account_prometheus_exporter/__init__.py | AYCH-Inc/aych.lum.acmonitor | 332f450009810499103dd4935e314f0fd6621d83 | [
"Apache-2.0"
] | 4 | 2020-04-30T17:31:07.000Z | 2022-02-10T16:03:57.000Z | stellar_account_prometheus_exporter/__init__.py | AYCH-Inc/aych.lum.acmonitor | 332f450009810499103dd4935e314f0fd6621d83 | [
"Apache-2.0"
] | 12 | 2019-12-02T13:26:05.000Z | 2022-02-03T17:16:06.000Z | def run():
from . import exporter
exporter.main()
| 14.5 | 26 | 0.62069 | 7 | 58 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258621 | 58 | 3 | 27 | 19.333333 | 0.837209 | 0 | 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 |
bed5a6d1d42412c31dd7ab822465a0be8d8958c8 | 18,716 | py | Python | python/test/test_mpsa.py | dalexa10/puma | ca02309c9f5c71e2e80ad8d64155dd6ca936c667 | [
"NASA-1.3"
] | null | null | null | python/test/test_mpsa.py | dalexa10/puma | ca02309c9f5c71e2e80ad8d64155dd6ca936c667 | [
"NASA-1.3"
] | null | null | null | python/test/test_mpsa.py | dalexa10/puma | ca02309c9f5c71e2e80ad8d64155dd6ca936c667 | [
"NASA-1.3"
] | null | null | null | import unittest
import numpy as np
import pumapy as puma
from pumapy.physicsmodels.mpsa_elasticity import Elasticity
import scipy.sparse
class TestElasticity(unittest.TestCase):
def setUp(self):
self.X = 6
self.Y = 4
self.Z = 8
self.ws_homoiso = puma.Workspace.from_array(np.ones(... | 50.583784 | 132 | 0.585114 | 2,689 | 18,716 | 3.859799 | 0.061361 | 0.022353 | 0.017632 | 0.077079 | 0.855285 | 0.825128 | 0.819058 | 0.799788 | 0.772136 | 0.757106 | 0 | 0.091392 | 0.256358 | 18,716 | 369 | 133 | 50.720867 | 0.654333 | 0.050438 | 0 | 0.413534 | 0 | 0 | 0.040534 | 0.022832 | 0 | 0 | 0 | 0 | 0.184211 | 1 | 0.090226 | false | 0 | 0.018797 | 0 | 0.112782 | 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 |
834e1fdba8616bc095b05bbeddd01a503a993975 | 78 | py | Python | organization/organization/app.py | estebistec/morepath-sandbox | 9b6167ece8a831fcb80d339e9437e6d482069b73 | [
"BSD-3-Clause"
] | 1 | 2019-06-23T09:15:16.000Z | 2019-06-23T09:15:16.000Z | organization/organization/app.py | estebistec/morepath-sandbox | 9b6167ece8a831fcb80d339e9437e6d482069b73 | [
"BSD-3-Clause"
] | null | null | null | organization/organization/app.py | estebistec/morepath-sandbox | 9b6167ece8a831fcb80d339e9437e6d482069b73 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import morepath
class App(morepath.App):
pass
| 8.666667 | 24 | 0.602564 | 10 | 78 | 4.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.230769 | 78 | 8 | 25 | 9.75 | 0.766667 | 0.269231 | 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 |
83540f5b1238e5192c01126914be5fb64e3ccd3d | 75 | py | Python | src/applications/profile/views/__init__.py | tgrx/obliviscor | 31f9a4476892460c931b9a8fc5403c3afcc47607 | [
"Apache-2.0"
] | null | null | null | src/applications/profile/views/__init__.py | tgrx/obliviscor | 31f9a4476892460c931b9a8fc5403c3afcc47607 | [
"Apache-2.0"
] | 20 | 2020-04-16T23:45:50.000Z | 2020-05-05T14:22:03.000Z | src/applications/profile/views/__init__.py | tgrx/obliviscor | 31f9a4476892460c931b9a8fc5403c3afcc47607 | [
"Apache-2.0"
] | null | null | null | from .profile import ProfileView
from .profile_edit import ProfileEditView
| 25 | 41 | 0.866667 | 9 | 75 | 7.111111 | 0.666667 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 42 | 37.5 | 0.955224 | 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 |
83631e9cd68f3376ae4c4f48a4ac9be3ed77d8a6 | 12,892 | py | Python | thesis_util/experiment_eval/compare_all_models.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | 14 | 2020-06-28T15:38:48.000Z | 2021-12-05T01:49:50.000Z | thesis_util/experiment_eval/compare_all_models.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | null | null | null | thesis_util/experiment_eval/compare_all_models.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | 3 | 2020-06-28T15:38:49.000Z | 2022-02-13T22:04:34.000Z | # create recon and sample images for all models
from thesis_util.thesis_util import stack_trials,create_eval_recon_all_imgs
import numpy as np
import matplotlib.pyplot as plt
import matplotlib
import tikzplotlib
from scipy import signal
# for my pc
#path_to_git = r'C:\GIT'
# for tum pc
path_to_git = r'C:\Users\ga45tis\... | 53.272727 | 184 | 0.728359 | 1,907 | 12,892 | 4.660724 | 0.120608 | 0.041179 | 0.061769 | 0.068632 | 0.883663 | 0.865662 | 0.848447 | 0.836521 | 0.811769 | 0.77689 | 0 | 0.086291 | 0.138846 | 12,892 | 241 | 185 | 53.493776 | 0.714286 | 0.07206 | 0 | 0.475676 | 0 | 0 | 0.541111 | 0.359484 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032432 | 0 | 0.032432 | 0.016216 | 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 |
55d87bf85cbe9d9f98bfddf53e2646db789742ca | 222 | py | Python | dns/rdtypes/ANY/SMIMEA.py | Ashiq5/dnspython | 5449af5318d88bada34f661247f3bcb16f58f057 | [
"ISC"
] | 1,666 | 2015-01-02T17:46:14.000Z | 2022-03-30T07:27:32.000Z | dns/rdtypes/ANY/SMIMEA.py | felixonmars/dnspython | 2691834df42aab74914883fdf26109aeb62ec647 | [
"ISC"
] | 591 | 2015-01-16T12:19:49.000Z | 2022-03-30T21:32:11.000Z | dns/rdtypes/ANY/SMIMEA.py | felixonmars/dnspython | 2691834df42aab74914883fdf26109aeb62ec647 | [
"ISC"
] | 481 | 2015-01-14T04:14:43.000Z | 2022-03-30T19:28:52.000Z | # Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license
import dns.immutable
import dns.rdtypes.tlsabase
@dns.immutable.immutable
class SMIMEA(dns.rdtypes.tlsabase.TLSABase):
"""SMIMEA record"""
| 22.2 | 75 | 0.774775 | 29 | 222 | 5.931034 | 0.62069 | 0.104651 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 222 | 9 | 76 | 24.666667 | 0.886598 | 0.396396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.75 | 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 |
36056c20194b21d8b1a1e189117c8df54fc4525a | 30 | py | Python | hello/hellorh.py | djdibyo90/DO400-apps-external | 59dd75cced4771bfb164394c906924cc21b47e42 | [
"Apache-2.0"
] | null | null | null | hello/hellorh.py | djdibyo90/DO400-apps-external | 59dd75cced4771bfb164394c906924cc21b47e42 | [
"Apache-2.0"
] | null | null | null | hello/hellorh.py | djdibyo90/DO400-apps-external | 59dd75cced4771bfb164394c906924cc21b47e42 | [
"Apache-2.0"
] | 1 | 2021-05-25T01:59:34.000Z | 2021-05-25T01:59:34.000Z | print("Hello RedHat DevOps!")
| 15 | 29 | 0.733333 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
36454933c4f7a500c067185aad9e6251194f7e7d | 610 | py | Python | deploy/support.py | danielSbastos/blue-green-aws | bb78448edd2496d69f4802ef7337ce648a965be3 | [
"MIT"
] | null | null | null | deploy/support.py | danielSbastos/blue-green-aws | bb78448edd2496d69f4802ef7337ce648a965be3 | [
"MIT"
] | null | null | null | deploy/support.py | danielSbastos/blue-green-aws | bb78448edd2496d69f4802ef7337ce648a965be3 | [
"MIT"
] | null | null | null | import boto3
from settings import SETTINGS
class Resource:
@staticmethod
def ec2():
return boto3.resource('ec2', region_name=SETTINGS['region'])
@staticmethod
def s3():
return boto3.resource('s3', region_name=SETTINGS['region'])
class Client:
@staticmethod
def ec2():
... | 21.785714 | 74 | 0.663934 | 67 | 610 | 5.940299 | 0.298507 | 0.188442 | 0.226131 | 0.301508 | 0.454774 | 0.309045 | 0.211055 | 0 | 0 | 0 | 0 | 0.024896 | 0.209836 | 610 | 27 | 75 | 22.592593 | 0.80083 | 0 | 0 | 0.368421 | 0 | 0 | 0.085246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | true | 0 | 0.105263 | 0.263158 | 0.736842 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
36ae4b68d0f0468284db4adde76121c4b9c9cc87 | 170 | py | Python | ml-intro/quiz-classifier/ClassifyNB.py | moreirab/udacity-nfml-quizzes | 91e5fc8ce0bee835bb7eec324669dd5c0c85a702 | [
"MIT"
] | null | null | null | ml-intro/quiz-classifier/ClassifyNB.py | moreirab/udacity-nfml-quizzes | 91e5fc8ce0bee835bb7eec324669dd5c0c85a702 | [
"MIT"
] | null | null | null | ml-intro/quiz-classifier/ClassifyNB.py | moreirab/udacity-nfml-quizzes | 91e5fc8ce0bee835bb7eec324669dd5c0c85a702 | [
"MIT"
] | null | null | null | from sklearn.naive_bayes import GaussianNB
def classify(features_train, labels_train):
clf = GaussianNB()
clf.fit(features_train, labels_train)
return clf | 28.333333 | 46 | 0.758824 | 22 | 170 | 5.636364 | 0.636364 | 0.209677 | 0.306452 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170588 | 170 | 6 | 47 | 28.333333 | 0.879433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
36b41f97568d72863cbee2bf59de00bac22e3a83 | 23,199 | py | Python | aptenodytes/main.py | yongrenjie/aptenodytes | 0eb33b89c2358be42e9c3c4aa554618c6b2809e2 | [
"MIT"
] | null | null | null | aptenodytes/main.py | yongrenjie/aptenodytes | 0eb33b89c2358be42e9c3c4aa554618c6b2809e2 | [
"MIT"
] | null | null | null | aptenodytes/main.py | yongrenjie/aptenodytes | 0eb33b89c2358be42e9c3c4aa554618c6b2809e2 | [
"MIT"
] | null | null | null | """
main.py
-------
All the functionality is in this one file. They are for personal use, they are
largely undocumented! Use at your own risk!
"""
import os
from pathlib import Path
from typing import List, Tuple, Optional, Sequence, Any, Union, Generator
import numpy as np
import pandas as pd
import seaborn as sns
... | 40.067358 | 90 | 0.579508 | 2,944 | 23,199 | 4.459239 | 0.121264 | 0.018129 | 0.013711 | 0.020567 | 0.822441 | 0.797913 | 0.781307 | 0.767748 | 0.754418 | 0.741164 | 0 | 0.01349 | 0.309798 | 23,199 | 578 | 91 | 40.136678 | 0.806395 | 0.30191 | 0 | 0.685976 | 0 | 0 | 0.056412 | 0.002313 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033537 | false | 0 | 0.030488 | 0.003049 | 0.085366 | 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 |
36c6919e661907c75a5540d103cedb829d516c7c | 17,637 | py | Python | gym_minigrid/envs/fourrooms.py | lorenzosteccanella/gym-minigrid | 8e99cc7c2a6161de31c0df71c958de7e6933dc80 | [
"Apache-2.0"
] | null | null | null | gym_minigrid/envs/fourrooms.py | lorenzosteccanella/gym-minigrid | 8e99cc7c2a6161de31c0df71c958de7e6933dc80 | [
"Apache-2.0"
] | null | null | null | gym_minigrid/envs/fourrooms.py | lorenzosteccanella/gym-minigrid | 8e99cc7c2a6161de31c0df71c958de7e6933dc80 | [
"Apache-2.0"
] | null | null | null | from gym_minigrid.minigrid import *
from gym_minigrid.register import register
import random
class FourRoomsEnv(MiniGridEnv):
"""
Classic 4 rooms gridworld environment.
Can specify agent and goal position, if not it set at random.
"""
def __init__(self, agent_pos=None, goal_pos=None):
self... | 31.494643 | 114 | 0.612236 | 2,414 | 17,637 | 4.241094 | 0.064209 | 0.114085 | 0.082731 | 0.092303 | 0.844306 | 0.816956 | 0.759328 | 0.72309 | 0.717132 | 0.714104 | 0 | 0.038659 | 0.269604 | 17,637 | 560 | 115 | 31.494643 | 0.756094 | 0.212168 | 0 | 0.6625 | 0 | 0 | 0.082362 | 0.076207 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103125 | false | 0 | 0.009375 | 0 | 0.196875 | 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 |
36d85c0675eb744761b94faa280363e12c3c82e4 | 155 | py | Python | pyvalidator/is_lowercase.py | theteladras/py.validator | 624ace7973552c8ac9353f48acbf96ec0ecc24a9 | [
"MIT"
] | 15 | 2021-11-01T14:14:56.000Z | 2022-03-17T11:52:29.000Z | pyvalidator/is_lowercase.py | theteladras/py.validator | 624ace7973552c8ac9353f48acbf96ec0ecc24a9 | [
"MIT"
] | 1 | 2022-03-16T13:39:16.000Z | 2022-03-17T09:16:00.000Z | pyvalidator/is_lowercase.py | theteladras/py.validator | 624ace7973552c8ac9353f48acbf96ec0ecc24a9 | [
"MIT"
] | null | null | null | from .utils.assert_string import assert_string
def is_lowercase(input: str) -> bool:
input = assert_string(input)
return input == input.lower()
| 19.375 | 46 | 0.722581 | 21 | 155 | 5.142857 | 0.619048 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174194 | 155 | 7 | 47 | 22.142857 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7fc56db4ce72c3709a59a9dd6aff3cb40353bd05 | 3,469 | py | Python | datajob_tests/datajob_cli_tests/test_datajob_deploy.py | LorenzoCevolani/datajob | dbb0775c63df2cabcbff77b0df2015eac429a126 | [
"Apache-2.0"
] | 90 | 2021-01-04T20:08:20.000Z | 2022-03-14T11:20:24.000Z | datajob_tests/datajob_cli_tests/test_datajob_deploy.py | LorenzoCevolani/datajob | dbb0775c63df2cabcbff77b0df2015eac429a126 | [
"Apache-2.0"
] | 93 | 2020-12-12T22:10:33.000Z | 2021-11-21T16:12:24.000Z | datajob_tests/datajob_cli_tests/test_datajob_deploy.py | LorenzoCevolani/datajob | dbb0775c63df2cabcbff77b0df2015eac429a126 | [
"Apache-2.0"
] | 13 | 2020-12-12T22:11:01.000Z | 2021-09-22T14:37:09.000Z | import pathlib
import unittest
from unittest.mock import patch
from typer.testing import CliRunner
from datajob import datajob
current_dir = str(pathlib.Path(__file__).absolute().parent)
class TestDatajobDeploy(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
cls.runner = CliRunner()
... | 31.252252 | 86 | 0.556356 | 359 | 3,469 | 5.08078 | 0.172702 | 0.053728 | 0.072917 | 0.088268 | 0.816886 | 0.810307 | 0.79386 | 0.79386 | 0.770833 | 0.770833 | 0 | 0.004259 | 0.323148 | 3,469 | 110 | 87 | 31.536364 | 0.772572 | 0 | 0 | 0.622449 | 0 | 0 | 0.185068 | 0.078697 | 0 | 0 | 0 | 0 | 0.102041 | 1 | 0.081633 | false | 0 | 0.05102 | 0 | 0.142857 | 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 |
7fca7f7f06e05bf6e72ef93f9080943a0a732de3 | 258 | py | Python | brainreg_napari/plugins.py | neuromusic/brainreg-napari | 051524a6cb7065de88312ddde2e215e00021e322 | [
"MIT"
] | 4 | 2021-07-13T19:39:00.000Z | 2022-02-06T17:07:53.000Z | brainreg_napari/plugins.py | neuromusic/brainreg-napari | 051524a6cb7065de88312ddde2e215e00021e322 | [
"MIT"
] | 11 | 2021-07-13T17:41:43.000Z | 2022-02-01T14:55:25.000Z | brainreg_napari/plugins.py | neuromusic/brainreg-napari | 051524a6cb7065de88312ddde2e215e00021e322 | [
"MIT"
] | 2 | 2021-12-20T22:01:35.000Z | 2022-03-11T14:28:57.000Z | from napari_plugin_engine import napari_hook_implementation
from brainreg_napari.register import brainreg_register
@napari_hook_implementation
def napari_experimental_provide_dock_widget():
return [(brainreg_register, {"name": "Atlas Registration"})]
| 28.666667 | 64 | 0.844961 | 30 | 258 | 6.833333 | 0.6 | 0.097561 | 0.234146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089147 | 258 | 8 | 65 | 32.25 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.085271 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
3d1ea09c5e39bcdeefe940ebe80e076a5df4613c | 150 | py | Python | hhcms/settings/test.py | youngershen/hhcms | 748bfcaaf250584b2b7233f271644ca33f8ff80b | [
"MIT"
] | null | null | null | hhcms/settings/test.py | youngershen/hhcms | 748bfcaaf250584b2b7233f271644ca33f8ff80b | [
"MIT"
] | null | null | null | hhcms/settings/test.py | youngershen/hhcms | 748bfcaaf250584b2b7233f271644ca33f8ff80b | [
"MIT"
] | 1 | 2018-07-15T05:33:34.000Z | 2018-07-15T05:33:34.000Z | # PROJECT : hhcms
# TIME : 18-4-15 下午6:50
# AUTHOR : Younger Shen
# CELL : 13811754531
# WECHAT : 13811754531
from hhcms.settings.development import * | 25 | 40 | 0.726667 | 20 | 150 | 5.45 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 0.166667 | 150 | 6 | 40 | 25 | 0.632 | 0.66 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
e9fb6ad7b8d2a57bed12118bc5b7a0761bb6fa9a | 20,438 | py | Python | RCD_dim_pulsar/feature_info.py | dipangwvu/rare_case_detection | 9325c29c57143ae00bca0618204f04fc3b111b94 | [
"MIT"
] | null | null | null | RCD_dim_pulsar/feature_info.py | dipangwvu/rare_case_detection | 9325c29c57143ae00bca0618204f04fc3b111b94 | [
"MIT"
] | null | null | null | RCD_dim_pulsar/feature_info.py | dipangwvu/rare_case_detection | 9325c29c57143ae00bca0618204f04fc3b111b94 | [
"MIT"
] | null | null | null | from scipy.stats import median_absolute_deviation
import numpy as np
import pandas as pd
import statistics
feature_list = ['SPEG_rank', 'group_rank', 'group_max_SNR', 'group_median_SNR', 'peak_SNR',
'centered_DM', 'clipped_SPEG', 'SNR_sym_index', 'DM_sym_index', 'peak_score',
'bright_re... | 41.37247 | 125 | 0.585429 | 2,662 | 20,438 | 4.146882 | 0.072878 | 0.127548 | 0.1232 | 0.051363 | 0.860857 | 0.843192 | 0.831054 | 0.828155 | 0.812936 | 0.796268 | 0 | 0.029146 | 0.284862 | 20,438 | 493 | 126 | 41.456389 | 0.726122 | 0.526177 | 0 | 0.428571 | 0 | 0 | 0.173787 | 0.012849 | 0 | 0 | 0 | 0.002028 | 0 | 1 | 0.011429 | false | 0 | 0.022857 | 0 | 0.045714 | 0.131429 | 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 |
180a0b7645b237f80946c3f315fe516b290355f7 | 41 | py | Python | quickunit/vcs/__init__.py | dcramer/quickunit | f72b038aaead2c6f2c6013a94a1823724f59a205 | [
"Apache-2.0"
] | 7 | 2015-02-17T21:31:27.000Z | 2019-08-24T10:32:23.000Z | quickunit/vcs/__init__.py | dcramer/quickunit | f72b038aaead2c6f2c6013a94a1823724f59a205 | [
"Apache-2.0"
] | null | null | null | quickunit/vcs/__init__.py | dcramer/quickunit | f72b038aaead2c6f2c6013a94a1823724f59a205 | [
"Apache-2.0"
] | null | null | null | from quickunit.vcs.base import * # NOQA
| 20.5 | 40 | 0.731707 | 6 | 41 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 1 | 41 | 41 | 0.882353 | 0.097561 | 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 |
184ba027bb8fc13fc121a97b297563839e9d1663 | 10,400 | py | Python | deepaffects/apis/featurize_api.py | s16h/deepaffects-python | 3be2bea30921964fc73eac81cb8fb05180203925 | [
"MIT"
] | 13 | 2017-12-15T20:47:48.000Z | 2021-08-06T05:42:34.000Z | deepaffects/apis/featurize_api.py | s16h/deepaffects-python | 3be2bea30921964fc73eac81cb8fb05180203925 | [
"MIT"
] | 23 | 2018-07-21T15:59:31.000Z | 2020-05-05T07:01:52.000Z | deepaffects/apis/featurize_api.py | s16h/deepaffects-python | 3be2bea30921964fc73eac81cb8fb05180203925 | [
"MIT"
] | 8 | 2018-02-08T14:17:46.000Z | 2019-10-15T08:01:50.000Z | # coding: utf-8
"""
DeepAffects
OpenAPI spec version: v1
"""
from __future__ import absolute_import
# python 2 and python 3 compatibility library
from six import iteritems
from ..api_client import ApiClient
from ..configuration import Configuration
class FeaturizeApi(object):
def __init__(self, api... | 41.434263 | 109 | 0.581346 | 1,060 | 10,400 | 5.484906 | 0.141509 | 0.05504 | 0.020124 | 0.024768 | 0.880461 | 0.862917 | 0.861369 | 0.841589 | 0.806674 | 0.792226 | 0 | 0.000873 | 0.339327 | 10,400 | 250 | 110 | 41.6 | 0.845292 | 0.319231 | 0 | 0.68 | 0 | 0 | 0.165078 | 0.045189 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.032 | 0 | 0.128 | 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 |
185c8ce21a37a75e25f2ac1010775211bc1e2619 | 100 | py | Python | src/datamodules/tokenizer.py | thechuong98/Question-Answering | cdefaa70611dcb4d02b6ca4e2e810bd746451478 | [
"MIT"
] | null | null | null | src/datamodules/tokenizer.py | thechuong98/Question-Answering | cdefaa70611dcb4d02b6ca4e2e810bd746451478 | [
"MIT"
] | null | null | null | src/datamodules/tokenizer.py | thechuong98/Question-Answering | cdefaa70611dcb4d02b6ca4e2e810bd746451478 | [
"MIT"
] | null | null | null | from tokenizers.processors import TemplateProcessing
from tokenizers import ByteLevelBPETokenizer
| 20 | 52 | 0.89 | 9 | 100 | 9.888889 | 0.666667 | 0.314607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 100 | 4 | 53 | 25 | 0.988889 | 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 |
a130c8b51c15275cc935811fb4edcafffb88cdbf | 113 | py | Python | musicript/__init__.py | Mygod/Musicript | 7e642fc206a959dd218d5d309a1d167e582a51d9 | [
"Apache-2.0"
] | 1 | 2019-12-17T15:12:21.000Z | 2019-12-17T15:12:21.000Z | musicript/__init__.py | Mygod/Musicript | 7e642fc206a959dd218d5d309a1d167e582a51d9 | [
"Apache-2.0"
] | null | null | null | musicript/__init__.py | Mygod/Musicript | 7e642fc206a959dd218d5d309a1d167e582a51d9 | [
"Apache-2.0"
] | null | null | null | from .core import Musicript, Instrument, bpm
from .recursiveyielder import track_worker
from .track import Track
| 28.25 | 44 | 0.831858 | 15 | 113 | 6.2 | 0.6 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 3 | 45 | 37.666667 | 0.939394 | 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 |
a1c693c9252ea9c7e7772e33bd1b56a2a854093b | 26 | py | Python | napari/layers/_shapes_layer/__init__.py | donovanr/napari | 580b5eab8cc40af53aef780a65adb9216d968a32 | [
"BSD-3-Clause"
] | null | null | null | napari/layers/_shapes_layer/__init__.py | donovanr/napari | 580b5eab8cc40af53aef780a65adb9216d968a32 | [
"BSD-3-Clause"
] | 1 | 2019-05-24T17:01:51.000Z | 2019-05-24T18:06:22.000Z | napari/layers/_shapes_layer/__init__.py | AllenCellModeling/napari | 3566383e6310d02e8673b564b6f63411fa176708 | [
"BSD-3-Clause"
] | null | null | null | from .model import Shapes
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 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 |
a1d915b47b84d5ec35639b4a1c8adcd06ce53f1a | 10,539 | py | Python | tests/test_stream_consumers.py | alisaifee/coredis | e72f5d7c665b53e6a1d41e1a7fb9e400858a8b19 | [
"MIT"
] | 9 | 2022-01-07T07:42:08.000Z | 2022-03-21T15:54:09.000Z | tests/test_stream_consumers.py | alisaifee/coredis | e72f5d7c665b53e6a1d41e1a7fb9e400858a8b19 | [
"MIT"
] | 30 | 2022-01-15T23:33:36.000Z | 2022-03-30T22:39:53.000Z | tests/test_stream_consumers.py | alisaifee/coredis | e72f5d7c665b53e6a1d41e1a7fb9e400858a8b19 | [
"MIT"
] | 3 | 2022-01-13T06:11:13.000Z | 2022-02-21T11:19:33.000Z | from __future__ import annotations
import asyncio
import threading
import pytest
from coredis.exceptions import StreamConsumerInitializationError
from coredis.stream import Consumer, GroupConsumer
from tests.conftest import targets
@targets(
"redis_basic",
"redis_basic_raw",
"redis_basic_resp3",
"r... | 36.978947 | 85 | 0.539615 | 1,332 | 10,539 | 4.108108 | 0.08033 | 0.046053 | 0.079496 | 0.050256 | 0.827668 | 0.800987 | 0.789474 | 0.758955 | 0.725877 | 0.72076 | 0 | 0.027253 | 0.296707 | 10,539 | 284 | 86 | 37.109155 | 0.711009 | 0 | 0 | 0.537549 | 0 | 0 | 0.046114 | 0.001993 | 0 | 0 | 0 | 0 | 0.106719 | 1 | 0 | false | 0 | 0.027668 | 0 | 0.031621 | 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 |
62a3db1dcb47e334e8fd7faa3d54c611bee6e488 | 123 | py | Python | functional_tests/pages/__init__.py | XeryusTC/projman | 3db118d51a9fc362153593f5a862187bdaf0a73c | [
"MIT"
] | null | null | null | functional_tests/pages/__init__.py | XeryusTC/projman | 3db118d51a9fc362153593f5a862187bdaf0a73c | [
"MIT"
] | 3 | 2015-12-08T17:14:31.000Z | 2016-01-29T18:46:59.000Z | functional_tests/pages/__init__.py | XeryusTC/projman | 3db118d51a9fc362153593f5a862187bdaf0a73c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .accounts import *
from .landingpage import *
from .projects import *
from .settings import *
| 20.5 | 26 | 0.691057 | 15 | 123 | 5.666667 | 0.6 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.170732 | 123 | 5 | 27 | 24.6 | 0.823529 | 0.170732 | 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 |
a7ebf7a4ce182be2e7585c254ebb91d88803a756 | 46 | py | Python | only_otters/qmltools/__init__.py | RohanJnr/code-jam-5 | 40e4552b57b09ed3d81cbd47533c2483f8de3bc4 | [
"MIT"
] | 2 | 2019-07-03T18:08:24.000Z | 2019-07-03T18:27:18.000Z | only_otters/qmltools/__init__.py | RohanJnr/code-jam-5 | 40e4552b57b09ed3d81cbd47533c2483f8de3bc4 | [
"MIT"
] | 5 | 2019-07-01T15:46:30.000Z | 2019-07-07T23:22:52.000Z | only_otters/qmltools/__init__.py | RohanJnr/code-jam-5 | 40e4552b57b09ed3d81cbd47533c2483f8de3bc4 | [
"MIT"
] | 1 | 2019-07-08T14:21:50.000Z | 2019-07-08T14:21:50.000Z | from .qmltools import QmlWidget # noqa: F401
| 23 | 45 | 0.76087 | 6 | 46 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.173913 | 46 | 1 | 46 | 46 | 0.842105 | 0.217391 | 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 |
c533ca04c45124e27165239fd29cc60dd10c5918 | 25 | py | Python | modules/unit_tests/modules/__init__.py | nursix/DRKCM | 09328289ff721c416494398aa751ff99906327cb | [
"MIT"
] | 3 | 2022-01-26T08:07:54.000Z | 2022-03-21T21:53:52.000Z | modules/unit_tests/modules/__init__.py | nursix/eden-asp | e49f46cb6488918f8d5a163dcd5a900cd686978c | [
"MIT"
] | null | null | null | modules/unit_tests/modules/__init__.py | nursix/eden-asp | e49f46cb6488918f8d5a163dcd5a900cd686978c | [
"MIT"
] | 1 | 2017-10-03T13:03:47.000Z | 2017-10-03T13:03:47.000Z | from .s3layouts import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c55e60b1f8f3e96ac36203a66502875044f0b899 | 89 | py | Python | tests/test_models.py | FlorisHoogenboom/BoxRec | c9cc5d149318f916facdf57d7dbe94e797d81582 | [
"MIT"
] | 5 | 2018-04-20T11:47:43.000Z | 2021-05-04T18:54:16.000Z | tests/test_models.py | FlorisHoogenboom/BoxRec | c9cc5d149318f916facdf57d7dbe94e797d81582 | [
"MIT"
] | 1 | 2018-03-21T08:44:25.000Z | 2018-03-22T12:08:17.000Z | tests/test_models.py | FlorisHoogenboom/BoxRec | c9cc5d149318f916facdf57d7dbe94e797d81582 | [
"MIT"
] | 6 | 2018-03-16T14:05:55.000Z | 2018-03-16T14:08:41.000Z | import unittest
from boxrec import models
class TestFight(unittest.TestCase):
pass
| 12.714286 | 35 | 0.786517 | 11 | 89 | 6.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 6 | 36 | 14.833333 | 0.945946 | 0 | 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 |
3d83718448841f54bdca9f5ce236852a4f4e712e | 87,473 | py | Python | pynetdicom/dimse_primitives.py | sc-clocke/sc-pydicom | 899900e7be6457e2812898a33bc93241142bd60f | [
"MIT"
] | 1 | 2020-08-03T02:11:27.000Z | 2020-08-03T02:11:27.000Z | pynetdicom/dimse_primitives.py | fserrano1493/pynetdicomtest | 93ae2fccf7ca86f53a6eadbef6895220bdebd4d4 | [
"MIT"
] | null | null | null | pynetdicom/dimse_primitives.py | fserrano1493/pynetdicomtest | 93ae2fccf7ca86f53a6eadbef6895220bdebd4d4 | [
"MIT"
] | null | null | null | """
Define the DIMSE-C and DIMSE-N service parameter primitives.
Notes:
* The class member names must match their corresponding DICOM element keyword
in order for the DIMSE messages/primitives to be created correctly.
"""
import codecs
try:
from collections.abc import MutableSequence
except ImportError:
... | 37.8671 | 79 | 0.546226 | 8,408 | 87,473 | 5.623097 | 0.044481 | 0.016244 | 0.018148 | 0.018719 | 0.85869 | 0.842213 | 0.816642 | 0.803105 | 0.785 | 0.772267 | 0 | 0.003822 | 0.300138 | 87,473 | 2,309 | 80 | 37.883499 | 0.768471 | 0.570565 | 0 | 0.693467 | 0 | 0 | 0.108048 | 0.017035 | 0 | 0 | 0.000508 | 0 | 0 | 1 | 0.167085 | false | 0.01005 | 0.012563 | 0 | 0.310302 | 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 |
3d8ebbb9b5340c22885526e338f1b4674f4b06b0 | 26 | py | Python | tests/test_edit.py | rosalindfranklininstitute/maptools | 45e4b42a6e029351098683b69f35e9be7e00c93e | [
"Apache-2.0"
] | null | null | null | tests/test_edit.py | rosalindfranklininstitute/maptools | 45e4b42a6e029351098683b69f35e9be7e00c93e | [
"Apache-2.0"
] | null | null | null | tests/test_edit.py | rosalindfranklininstitute/maptools | 45e4b42a6e029351098683b69f35e9be7e00c93e | [
"Apache-2.0"
] | 1 | 2021-04-26T14:26:27.000Z | 2021-04-26T14:26:27.000Z | def test_edit():
pass
| 8.666667 | 16 | 0.615385 | 4 | 26 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 26 | 2 | 17 | 13 | 0.789474 | 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 |
3d921a921c1cafaadadc619053ebfe629e05a7f7 | 7,696 | py | Python | iriusrisk-python-client-lib/iriusrisk_python_client_lib/models/__init__.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | iriusrisk-python-client-lib/iriusrisk_python_client_lib/models/__init__.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | iriusrisk-python-client-lib/iriusrisk_python_client_lib/models/__init__.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
IriusRisk API
Products API # noqa: E501
OpenAPI spec version: 1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import models into model package
from iriusrisk_python_client_lib.models.architectu... | 76.19802 | 215 | 0.924246 | 939 | 7,696 | 7.13738 | 0.183174 | 0.160997 | 0.235303 | 0.309609 | 0.55849 | 0.517905 | 0.446882 | 0.152492 | 0.022381 | 0 | 0 | 0.004655 | 0.050936 | 7,696 | 100 | 216 | 76.96 | 0.912924 | 0.025078 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3de3f2d18b0f5c0f2293ec01e64065decbd8f3e6 | 40 | py | Python | main.py | mcclurec/tvnamer | f5a9060be8f78f45f023fb65d4d9d5dd2fef9ae6 | [
"Unlicense"
] | null | null | null | main.py | mcclurec/tvnamer | f5a9060be8f78f45f023fb65d4d9d5dd2fef9ae6 | [
"Unlicense"
] | null | null | null | main.py | mcclurec/tvnamer | f5a9060be8f78f45f023fb65d4d9d5dd2fef9ae6 | [
"Unlicense"
] | null | null | null | import tvnamer.main
tvnamer.main.main()
| 13.333333 | 19 | 0.8 | 6 | 40 | 5.333333 | 0.5 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 2 | 20 | 20 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3df60175d56446ffc8ab2ef457dcce14366b6303 | 10,399 | py | Python | spektral/geometric/stat.py | dbusbridge/spektral | 83eaa381a263d0a217692b6f1018388946e85c45 | [
"MIT"
] | 1 | 2020-06-25T03:29:30.000Z | 2020-06-25T03:29:30.000Z | spektral/geometric/stat.py | kprzybylapara/pylint | a95807603c2bb96c80f34d326f663273c72ca3fc | [
"MIT"
] | null | null | null | spektral/geometric/stat.py | kprzybylapara/pylint | a95807603c2bb96c80f34d326f663273c72ca3fc | [
"MIT"
] | null | null | null | import numpy as np
from spektral.geometric.manifold import spherical_clip, exp_map
# Uniform ######################################################################
def spherical_uniform(size, dim=3, r=1.):
"""
Samples points from a uniform distribution on a spherical manifold.
Uniform sampling on the sphe... | 44.630901 | 97 | 0.648139 | 1,517 | 10,399 | 4.399473 | 0.108108 | 0.032215 | 0.031465 | 0.029967 | 0.826491 | 0.793977 | 0.770752 | 0.740635 | 0.730297 | 0.730297 | 0 | 0.010194 | 0.235888 | 10,399 | 232 | 98 | 44.823276 | 0.829726 | 0.553707 | 0 | 0.386364 | 0 | 0 | 0.088453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102273 | false | 0.011364 | 0.022727 | 0 | 0.284091 | 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 |
9aaec905984a37e2cebf99cd05ccb688d2a47669 | 303 | py | Python | plugins/cybereason/icon_cybereason/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | null | null | null | plugins/cybereason/icon_cybereason/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | null | null | null | plugins/cybereason/icon_cybereason/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | null | null | null | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .delete_registry_key.action import DeleteRegistryKey
from .isolate_machine.action import IsolateMachine
from .quarantine_file.action import QuarantineFile
from .remediate_items.action import RemediateItems
from .search_for_files.action import SearchForFiles
| 43.285714 | 57 | 0.864686 | 39 | 303 | 6.538462 | 0.692308 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09571 | 303 | 6 | 58 | 50.5 | 0.930657 | 0.122112 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ad65661eba8bc561e0fc534137df8017e577ada | 39 | py | Python | atlas/foundations_rest_api/src/test/helpers/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 296 | 2020-03-16T19:55:00.000Z | 2022-01-10T19:46:05.000Z | atlas/foundations_rest_api/src/test/helpers/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 57 | 2020-03-17T11:15:57.000Z | 2021-07-10T14:42:27.000Z | atlas/foundations_rest_api/src/test/helpers/__init__.py | DeepLearnI/atlas | 8aca652d7e647b4e88530b93e265b536de7055ed | [
"Apache-2.0"
] | 38 | 2020-03-17T21:06:05.000Z | 2022-02-08T03:19:34.000Z |
from foundations_spec.helpers import * | 19.5 | 38 | 0.846154 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 2 | 38 | 19.5 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b13df8fe91d2688be6d1d374e76ffec63f64e523 | 45 | py | Python | 13/test/utils/__init__.py | leisurexi/python-study | e2de3d66d5decb4403acd2df6a3d9cba307f018a | [
"Apache-2.0"
] | 1 | 2021-01-23T14:59:02.000Z | 2021-01-23T14:59:02.000Z | 13/test/utils/__init__.py | leisurexi/python-study | e2de3d66d5decb4403acd2df6a3d9cba307f018a | [
"Apache-2.0"
] | null | null | null | 13/test/utils/__init__.py | leisurexi/python-study | e2de3d66d5decb4403acd2df6a3d9cba307f018a | [
"Apache-2.0"
] | null | null | null | # author: leisurexi
# date: 2021-01-16 22:15
| 15 | 24 | 0.688889 | 8 | 45 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0.155556 | 45 | 2 | 25 | 22.5 | 0.5 | 0.888889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b19fdd71099b15ab2b4fe10d8d09bf9a10b44627 | 406 | py | Python | plantcv/plantcv/roi/__init__.py | JamesChooWK/plantcv | 5ade9d2861c1824997b934c09062d6050ac180c5 | [
"MIT"
] | null | null | null | plantcv/plantcv/roi/__init__.py | JamesChooWK/plantcv | 5ade9d2861c1824997b934c09062d6050ac180c5 | [
"MIT"
] | null | null | null | plantcv/plantcv/roi/__init__.py | JamesChooWK/plantcv | 5ade9d2861c1824997b934c09062d6050ac180c5 | [
"MIT"
] | null | null | null | from plantcv.plantcv.roi.roi_methods import circle
from plantcv.plantcv.roi.roi_methods import ellipse
from plantcv.plantcv.roi.roi_methods import from_binary_image
from plantcv.plantcv.roi.roi_methods import rectangle
from plantcv.plantcv.roi.roi_methods import multi
from plantcv.plantcv.roi.roi_methods import custom
... | 45.111111 | 84 | 0.825123 | 59 | 406 | 5.440678 | 0.220339 | 0.205607 | 0.336449 | 0.392523 | 0.691589 | 0.691589 | 0.691589 | 0 | 0 | 0 | 0 | 0 | 0.081281 | 406 | 8 | 85 | 50.75 | 0.86059 | 0 | 0 | 0 | 0 | 0 | 0.123153 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
494752b28a1b1512dea6193691da33a2075b124e | 242,358 | py | Python | obsolete/pipeline_proj007.py | 861934367/cgat | 77fdc2f819320110ed56b5b61968468f73dfc5cb | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 87 | 2015-01-01T03:48:19.000Z | 2021-11-23T16:23:24.000Z | obsolete/pipeline_proj007.py | 861934367/cgat | 77fdc2f819320110ed56b5b61968468f73dfc5cb | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 189 | 2015-01-06T15:53:11.000Z | 2019-05-31T13:19:45.000Z | obsolete/pipeline_proj007.py | CGATOxford/cgat | 326aad4694bdfae8ddc194171bb5d73911243947 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 56 | 2015-01-13T02:18:50.000Z | 2022-01-05T10:00:59.000Z | ################################################################################
#
# MRC FGU Computational Genomics Group
#
# $Id: pipeline_proj007.py 2900 2011-05-24 14:38:00Z david $
#
# Copyright (C) 2012 David Sims
#
# This program is free software; you can redistribute it and/or
# modify it under the ter... | 51.412389 | 325 | 0.554432 | 24,704 | 242,358 | 5.329218 | 0.04477 | 0.018898 | 0.005317 | 0.012032 | 0.783788 | 0.758547 | 0.740682 | 0.724754 | 0.707732 | 0.685066 | 0 | 0.008505 | 0.22088 | 242,358 | 4,713 | 326 | 51.423297 | 0.688713 | 0.024439 | 0 | 0.664646 | 0 | 0.053734 | 0.507743 | 0.207554 | 0.000551 | 0 | 0 | 0 | 0.003031 | 0 | null | null | 0.00496 | 0.010471 | null | null | 0.011022 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8c72c2fb10ad9263080ede446d08e5b5c22e650 | 132 | py | Python | app/core/admin.py | angel-tk/tk-recipe-backend | 1d7d47ad0b65c379637454ae9a509f3e79d897fc | [
"MIT"
] | null | null | null | app/core/admin.py | angel-tk/tk-recipe-backend | 1d7d47ad0b65c379637454ae9a509f3e79d897fc | [
"MIT"
] | null | null | null | app/core/admin.py | angel-tk/tk-recipe-backend | 1d7d47ad0b65c379637454ae9a509f3e79d897fc | [
"MIT"
] | null | null | null | from django.contrib import admin
from core import models
admin.site.register(models.Ingredient)
admin.site.register(models.Recipe) | 22 | 38 | 0.833333 | 19 | 132 | 5.789474 | 0.578947 | 0.163636 | 0.309091 | 0.418182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 132 | 6 | 39 | 22 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7717473158d100a8959f2bd225fd8273309f68aa | 302 | py | Python | Lib/graph/__init__.py | jeamick/ares-visual | 3cf5068f874b3f6fe898968b2a7efa86fadca99d | [
"MIT"
] | null | null | null | Lib/graph/__init__.py | jeamick/ares-visual | 3cf5068f874b3f6fe898968b2a7efa86fadca99d | [
"MIT"
] | 2 | 2019-03-27T00:36:09.000Z | 2019-04-09T00:39:12.000Z | Lib/graph/__init__.py | jeamick/ares-visual | 3cf5068f874b3f6fe898968b2a7efa86fadca99d | [
"MIT"
] | null | null | null | from . import AresHtmlGraphC3
from . import AresHtmlGraphNVD3
from . import AresHtmlGraphChartJs
from . import AresHtmlGraphVis
from . import AresHtmlGraphBillboard
#from . import AresHtmlGraphDC
#from . import AresHtmlGraphD3
from . import AresHtmlGraphPlotly
from . import AresHtmlGraphFabric | 33.555556 | 37 | 0.821192 | 27 | 302 | 9.185185 | 0.407407 | 0.362903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011583 | 0.142384 | 302 | 9 | 38 | 33.555556 | 0.945946 | 0.192053 | 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 |
6201a299b81817b1dd4c5b97ed262cf18e30349c | 39 | py | Python | Python/py_module_discover/simple.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 2 | 2019-09-27T21:25:26.000Z | 2019-12-29T11:26:54.000Z | Python/py_module_discover/simple.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 7 | 2020-08-11T17:32:14.000Z | 2020-08-11T17:32:39.000Z | Python/py_module_discover/simple.py | egustafson/sandbox | 9804e966347b33558b0497a04edb1a591d2d7773 | [
"Apache-2.0"
] | 2 | 2016-07-18T10:55:50.000Z | 2020-08-19T01:46:08.000Z |
print("Module 'simple.py' loaded.")
| 7.8 | 35 | 0.641026 | 5 | 39 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 4 | 36 | 9.75 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
626460cab53d20b057ebb72a1efeba39832e241e | 699 | py | Python | hubspot/events/models/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | null | null | null | hubspot/events/models/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | null | null | null | hubspot/events/models/__init__.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
HubSpot Events API
API for accessing CRM object events. # noqa: E501
The version of the OpenAPI document: v3
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
# import models into model package
from hubspot.events.models.col... | 27.96 | 78 | 0.805436 | 89 | 699 | 6.179775 | 0.516854 | 0.165455 | 0.185455 | 0.250909 | 0.101818 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.133047 | 699 | 24 | 79 | 29.125 | 0.89769 | 0.310443 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.777778 | 0 | 0.777778 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
627972e6af591cf841c5d1eaa121621e03cbf719 | 6,821 | py | Python | openmdao/recorders/case.py | ryanfarr01/blue | a9aac98c09cce0f7cadf26cf592e3d978bf4e3ff | [
"Apache-2.0"
] | null | null | null | openmdao/recorders/case.py | ryanfarr01/blue | a9aac98c09cce0f7cadf26cf592e3d978bf4e3ff | [
"Apache-2.0"
] | null | null | null | openmdao/recorders/case.py | ryanfarr01/blue | a9aac98c09cce0f7cadf26cf592e3d978bf4e3ff | [
"Apache-2.0"
] | null | null | null | """
A Case class.
"""
class Case(object):
"""
Case wraps the data from a single iteration of a recording to make it more easily accessible.
Parameters
----------
filename : str
The filename from which the Case was constructed.
counter : int
The global execution counter.
it... | 33.11165 | 97 | 0.643894 | 821 | 6,821 | 5.286236 | 0.108404 | 0.030415 | 0.050691 | 0.065899 | 0.85023 | 0.803917 | 0.792396 | 0.778571 | 0.768203 | 0.73871 | 0 | 0.001877 | 0.297171 | 6,821 | 205 | 98 | 33.273171 | 0.903421 | 0.607389 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0 | 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 |
656dc72cdb2617ad8e41a2664de0393228d22e8c | 178 | py | Python | sdk/opendp/smartnoise_t/evaluation/params/_dataset_params.py | ObliviousAI/smartnoise-sdk | 6c5b9bdd16852a08ee01299193a1fac93def99cd | [
"MIT"
] | 63 | 2020-03-26T15:26:10.000Z | 2020-10-22T06:26:38.000Z | sdk/opendp/smartnoise_t/evaluation/params/_dataset_params.py | ObliviousAI/smartnoise-sdk | 6c5b9bdd16852a08ee01299193a1fac93def99cd | [
"MIT"
] | 87 | 2021-02-20T20:43:49.000Z | 2022-03-31T16:24:46.000Z | sdk/opendp/smartnoise_t/evaluation/params/_dataset_params.py | ObliviousAI/smartnoise-sdk | 6c5b9bdd16852a08ee01299193a1fac93def99cd | [
"MIT"
] | 17 | 2021-02-18T18:47:09.000Z | 2022-03-01T06:44:17.000Z | class DatasetParams:
"""
Defines the fields used to set dataset parameters
"""
def __init__(self, dataset_size=10000):
self.dataset_size = dataset_size
| 22.25 | 51 | 0.674157 | 21 | 178 | 5.380952 | 0.714286 | 0.292035 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037313 | 0.247191 | 178 | 7 | 52 | 25.428571 | 0.80597 | 0.275281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
65bba8ba912d056f9ef7086ab6ea7d75a0b28b98 | 153 | py | Python | baseApp/admin.py | vah-ini/crispy-ai | f1f743012cac508dd4ad13c886eab6352c9c5053 | [
"MIT"
] | 7 | 2019-05-07T17:31:57.000Z | 2021-07-06T15:08:14.000Z | baseApp/admin.py | vah-ini/crispy-ai | f1f743012cac508dd4ad13c886eab6352c9c5053 | [
"MIT"
] | 60 | 2019-05-04T08:52:37.000Z | 2022-03-11T23:53:25.000Z | baseApp/admin.py | vah-ini/crispy-ai | f1f743012cac508dd4ad13c886eab6352c9c5053 | [
"MIT"
] | 21 | 2019-04-12T14:31:54.000Z | 2019-09-29T09:51:20.000Z | from django.contrib import admin
#from .models import Courses,Live
# Register your models here.
#admin.site.register(Courses)
#admin.site.register(Live)
| 25.5 | 33 | 0.797386 | 22 | 153 | 5.545455 | 0.545455 | 0.147541 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 153 | 5 | 34 | 30.6 | 0.884058 | 0.732026 | 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 |
65c0b366e4e323024ba348435a9028334eac8410 | 12,246 | py | Python | src/restLayer/app/SearchCounts.py | ucsd-ccbb/Oncolist | a3c7ecde6f665a665873e5aa7be5bc3778f5b17e | [
"MIT"
] | null | null | null | src/restLayer/app/SearchCounts.py | ucsd-ccbb/Oncolist | a3c7ecde6f665a665873e5aa7be5bc3778f5b17e | [
"MIT"
] | null | null | null | src/restLayer/app/SearchCounts.py | ucsd-ccbb/Oncolist | a3c7ecde6f665a665873e5aa7be5bc3778f5b17e | [
"MIT"
] | null | null | null | __author__ = 'aarongary'
from collections import Counter
from app import PubMed
from models.TermResolver import TermAnalyzer
from elasticsearch import Elasticsearch
from app import elastic_search_uri
#es = Elasticsearch(['http://ec2-52-24-205-32.us-west-2.compute.amazonaws.com:9200/'],send_get_body_as='POST') # Clust... | 33.642857 | 129 | 0.542381 | 1,023 | 12,246 | 6.197458 | 0.138807 | 0.05205 | 0.05205 | 0.05205 | 0.807729 | 0.787539 | 0.77776 | 0.770978 | 0.738644 | 0.738644 | 0 | 0.005473 | 0.283766 | 12,246 | 363 | 130 | 33.735537 | 0.717364 | 0.233382 | 0 | 0.577406 | 0 | 0 | 0.163699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054393 | false | 0 | 0.020921 | 0.004184 | 0.142259 | 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 |
65ce3c76c5b3f6850a4a56be27e7625f2b916a6b | 100,693 | py | Python | tests/unit/python/foglamp/tasks/north/test_sending_process.py | kayanme/FogLAMP | 909b5adf558ea9c4e217d11de2a815ecdbf7bb6d | [
"Apache-2.0"
] | 1 | 2020-09-10T11:34:04.000Z | 2020-09-10T11:34:04.000Z | tests/unit/python/foglamp/tasks/north/test_sending_process.py | kayanme/FogLAMP | 909b5adf558ea9c4e217d11de2a815ecdbf7bb6d | [
"Apache-2.0"
] | 1 | 2017-09-06T14:05:21.000Z | 2017-09-06T14:05:21.000Z | tests/unit/python/foglamp/tasks/north/test_sending_process.py | kayanme/FogLAMP | 909b5adf558ea9c4e217d11de2a815ecdbf7bb6d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
""" Unit tests for the North Sending Process """
# FOGLAMP_BEGIN
# See: http://foglamp.readthedocs.io/
# FOGLAMP_END
import asyncio
import logging
import sys
import time
import uuid
from unittest.mock import patch, MagicMock, ANY
import pytest
import foglamp.tasks.north.sending_process as sp... | 41.132761 | 140 | 0.465375 | 9,256 | 100,693 | 4.742653 | 0.047645 | 0.035879 | 0.059798 | 0.016402 | 0.863843 | 0.839423 | 0.810037 | 0.795321 | 0.774705 | 0.748189 | 0 | 0.072361 | 0.437985 | 100,693 | 2,447 | 141 | 41.149571 | 0.703345 | 0.079271 | 0 | 0.598456 | 0 | 0 | 0.176584 | 0.040104 | 0 | 0 | 0 | 0 | 0.040265 | 1 | 0.001103 | false | 0.001655 | 0.006619 | 0 | 0.023718 | 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 |
02af6b4eb54b64fe8c9a1bf971056346f0787f0c | 36 | py | Python | __init__.py | xmonader/expectless | cebbf5c1312c675a007196d3a8faf218a35c775c | [
"MIT"
] | 2 | 2018-07-24T10:59:11.000Z | 2021-04-15T13:31:16.000Z | __init__.py | xmonader/expectless | cebbf5c1312c675a007196d3a8faf218a35c775c | [
"MIT"
] | 1 | 2017-06-17T18:21:28.000Z | 2017-06-17T18:21:28.000Z | __init__.py | xmonader/expectless | cebbf5c1312c675a007196d3a8faf218a35c775c | [
"MIT"
] | null | null | null | from .expect import expect, interact | 36 | 36 | 0.833333 | 5 | 36 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.