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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
38bc73be5ec823228336d3fbcde4c30bbbb66dcb | 270 | py | Python | rvb/controllers/__init__.py | dansgithubuser/circle | dcab4eed2df8f62248f2d6a59e04a4cf0284f06b | [
"MIT"
] | null | null | null | rvb/controllers/__init__.py | dansgithubuser/circle | dcab4eed2df8f62248f2d6a59e04a4cf0284f06b | [
"MIT"
] | null | null | null | rvb/controllers/__init__.py | dansgithubuser/circle | dcab4eed2df8f62248f2d6a59e04a4cf0284f06b | [
"MIT"
] | 1 | 2018-08-30T01:11:45.000Z | 2018-08-30T01:11:45.000Z | from flask import Flask, request, json
from rvb.controllers.player import *
from rvb.controllers.messages import *
from rvb.controllers.listener import *
from rvb.controllers.agent import *
from rvb.controllers.packages import *
from rvb.controllers.safehouses import *
| 33.75 | 40 | 0.814815 | 36 | 270 | 6.111111 | 0.361111 | 0.190909 | 0.490909 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 270 | 7 | 41 | 38.571429 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38da086fa9221857e475c1eb797cea6e6b5fde51 | 20 | py | Python | codql-report/export/__init__.py | Heersin/codeql_packer | 5d1258ce2419a67161ac3b844219ebdbe5310e59 | [
"MIT"
] | null | null | null | codql-report/export/__init__.py | Heersin/codeql_packer | 5d1258ce2419a67161ac3b844219ebdbe5310e59 | [
"MIT"
] | null | null | null | codql-report/export/__init__.py | Heersin/codeql_packer | 5d1258ce2419a67161ac3b844219ebdbe5310e59 | [
"MIT"
] | null | null | null | from . import export | 20 | 20 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a0a71cb61cf0ad688ea988de871862020bf7e1a | 151 | py | Python | demo/__init__.py | leeyingmu/melee | b83cf391bd817b8128aeb9e829fc0876e5b335d6 | [
"BSD-3-Clause"
] | 4 | 2015-04-05T08:44:55.000Z | 2015-07-20T05:41:37.000Z | demo/__init__.py | leeyingmu/melee | b83cf391bd817b8128aeb9e829fc0876e5b335d6 | [
"BSD-3-Clause"
] | null | null | null | demo/__init__.py | leeyingmu/melee | b83cf391bd817b8128aeb9e829fc0876e5b335d6 | [
"BSD-3-Clause"
] | 1 | 2018-09-18T14:47:13.000Z | 2018-09-18T14:47:13.000Z | # -*- coding: utf-8 -*-
def meleeok(): print 'melee is ok, thanks for your using. you can send email to yingmulee@163.com if you have any questions.'
| 37.75 | 125 | 0.695364 | 26 | 151 | 4.038462 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.178808 | 151 | 3 | 126 | 50.333333 | 0.814516 | 0.139073 | 0 | 0 | 0 | 1 | 0.796875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2a130b536d7ca5abbae89a3068ec9d1b2659382a | 84 | py | Python | pydcmq/__init__.py | dcmq/pydcmq | e71e5686a630e1a2febc7ed219a4d0ab80011f0a | [
"Apache-2.0"
] | 1 | 2020-05-14T01:23:44.000Z | 2020-05-14T01:23:44.000Z | pydcmq/__init__.py | dcmq/pydcmq | e71e5686a630e1a2febc7ed219a4d0ab80011f0a | [
"Apache-2.0"
] | null | null | null | pydcmq/__init__.py | dcmq/pydcmq | e71e5686a630e1a2febc7ed219a4d0ab80011f0a | [
"Apache-2.0"
] | null | null | null | from .publishers import *
from .subscribers import *
from .util import fix_meta_info | 28 | 31 | 0.809524 | 12 | 84 | 5.5 | 0.666667 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 84 | 3 | 31 | 28 | 0.90411 | 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 |
2a1c40fabb5f22de42570d6de0546a82bf79aa22 | 209 | py | Python | server/lib/python/cartodb_services/cartodb_services/config/__init__.py | CartoDB/dataservices-api | d0f28cc002ef11df9f371d5d1fd2d0901c245f97 | [
"BSD-3-Clause"
] | 22 | 2016-03-11T17:33:31.000Z | 2021-02-22T04:00:43.000Z | server/lib/python/cartodb_services/cartodb_services/config/__init__.py | CartoDB/dataservices-api | d0f28cc002ef11df9f371d5d1fd2d0901c245f97 | [
"BSD-3-Clause"
] | 338 | 2016-02-16T16:13:13.000Z | 2022-03-30T15:50:17.000Z | server/lib/python/cartodb_services/cartodb_services/config/__init__.py | CartoDB/dataservices-api | d0f28cc002ef11df9f371d5d1fd2d0901c245f97 | [
"BSD-3-Clause"
] | 14 | 2016-09-22T15:29:33.000Z | 2021-02-08T03:46:40.000Z | from .service_configuration import ServiceConfiguration
from .rate_limits import RateLimitsConfig, RateLimitsConfigBuilder, RateLimitsConfigSetter
from .legacy_rate_limits import RateLimitsConfigLegacyBuilder
| 52.25 | 90 | 0.909091 | 18 | 209 | 10.333333 | 0.666667 | 0.107527 | 0.172043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066986 | 209 | 3 | 91 | 69.666667 | 0.953846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a2207852c1b27d799204c2beb3c26e813b3de18 | 20 | py | Python | mpxapi/key/__init__.py | colde/mpxapi | cda7d06c5c709ba7d652c59156ab7bb213bc2de1 | [
"MIT"
] | 18 | 2020-07-20T01:51:40.000Z | 2022-02-25T07:32:11.000Z | mpxapi/key/__init__.py | colde/mpxapi | cda7d06c5c709ba7d652c59156ab7bb213bc2de1 | [
"MIT"
] | 2 | 2021-03-23T03:26:02.000Z | 2021-07-19T12:51:25.000Z | mpxapi/key/__init__.py | colde/mpxapi | cda7d06c5c709ba7d652c59156ab7bb213bc2de1 | [
"MIT"
] | 5 | 2021-01-03T15:34:28.000Z | 2022-02-22T06:07:06.000Z | from .key import Key | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a67c9d43e250a480500c1c3ee6ddf5c2420ba56 | 226 | py | Python | Chapter01/activity.py | PacktPublishing/Python-Data-Science-with-AI-for-Noobs | d7df90c6f0fbafe3e5b22e8bf6618eabe8d2e830 | [
"MIT"
] | 8 | 2019-02-21T15:50:38.000Z | 2021-11-08T13:10:49.000Z | Chapter01/activity.py | PacktPublishing/Python-Data-Science-with-AI-for-Noobs | d7df90c6f0fbafe3e5b22e8bf6618eabe8d2e830 | [
"MIT"
] | null | null | null | Chapter01/activity.py | PacktPublishing/Python-Data-Science-with-AI-for-Noobs | d7df90c6f0fbafe3e5b22e8bf6618eabe8d2e830 | [
"MIT"
] | 7 | 2018-12-26T08:17:22.000Z | 2020-08-24T08:23:11.000Z | """
This module is a name tag generator.
"""
import sys
print("*---------------------------------")
print("|", "First name: ", sys.argv[1])
print("|", "Second name: ", sys.argv[2])
print("*---------------------------------")
| 22.6 | 43 | 0.411504 | 23 | 226 | 4.043478 | 0.652174 | 0.150538 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.106195 | 226 | 9 | 44 | 25.111111 | 0.450495 | 0.159292 | 0 | 0.4 | 0 | 0 | 0.521978 | 0.373626 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.8 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2a6a963e9afae7babaa12bed3ed8fe24c1a4d2fb | 234 | py | Python | src/services/crud/room/__init__.py | b1team/trada | 22ceaf4d50fe3a38ff402315c029e574773ca9e0 | [
"MIT"
] | null | null | null | src/services/crud/room/__init__.py | b1team/trada | 22ceaf4d50fe3a38ff402315c029e574773ca9e0 | [
"MIT"
] | 1 | 2021-03-12T15:16:03.000Z | 2021-03-12T15:16:03.000Z | src/services/crud/room/__init__.py | b1team/trada | 22ceaf4d50fe3a38ff402315c029e574773ca9e0 | [
"MIT"
] | null | null | null | from .api import create_room
from .api import invite_member
from .api import delete_member
from .api import delete_room
from .api import get_rooms
from .api import get_room_members
from .api import room_update
from .api import members | 29.25 | 33 | 0.833333 | 40 | 234 | 4.675 | 0.3 | 0.299465 | 0.55615 | 0.181818 | 0.26738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132479 | 234 | 8 | 34 | 29.25 | 0.921182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
2a942185e902a58c559781a8e593ecc677e7ea25 | 120 | py | Python | application/web/scanner/__init__.py | satan1a/poopak | 9862f09edc22c030db520e317020b54a36e070ac | [
"curl"
] | 91 | 2019-01-17T13:35:49.000Z | 2022-03-30T21:16:37.000Z | application/web/scanner/__init__.py | satan1a/poopak | 9862f09edc22c030db520e317020b54a36e070ac | [
"curl"
] | 13 | 2019-01-13T14:35:51.000Z | 2021-04-26T05:13:42.000Z | application/web/scanner/__init__.py | satan1a/poopak | 9862f09edc22c030db520e317020b54a36e070ac | [
"curl"
] | 33 | 2019-01-17T13:37:22.000Z | 2022-03-25T09:35:54.000Z | from flask import Blueprint
scannerbp = Blueprint('scanner', __name__)
from . import views
from . import text_subjects | 20 | 42 | 0.791667 | 15 | 120 | 6 | 0.666667 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 120 | 6 | 43 | 20 | 0.873786 | 0 | 0 | 0 | 0 | 0 | 0.057851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
aa5c7143340a883172ed9ee68cfe36a1016c6735 | 170 | py | Python | src/modeling/feature_selection/fs01_all.py | NovaSBE-DSKC/retention-evaluation | 5b68b9282f0b5479a9dc5238faef68067c76b861 | [
"MIT"
] | null | null | null | src/modeling/feature_selection/fs01_all.py | NovaSBE-DSKC/retention-evaluation | 5b68b9282f0b5479a9dc5238faef68067c76b861 | [
"MIT"
] | null | null | null | src/modeling/feature_selection/fs01_all.py | NovaSBE-DSKC/retention-evaluation | 5b68b9282f0b5479a9dc5238faef68067c76b861 | [
"MIT"
] | null | null | null | from src.modeling.feature_selection.extra_features import get_extra_features
def run(dataframe):
df = dataframe.copy()
return df, get_extra_features(dataframe)
| 24.285714 | 76 | 0.794118 | 23 | 170 | 5.608696 | 0.652174 | 0.302326 | 0.248062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 170 | 6 | 77 | 28.333333 | 0.871622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6310ffadc5649bfdb53bf9f4643be1d991045a30 | 459 | py | Python | tests/test_helpers.py | timgates42/flask-pundit | f0a0cc2e03e2f30225cc2f3d9f467ee0323100da | [
"MIT"
] | 48 | 2016-01-26T03:45:46.000Z | 2022-03-21T15:49:18.000Z | tests/test_helpers.py | timgates42/flask-pundit | f0a0cc2e03e2f30225cc2f3d9f467ee0323100da | [
"MIT"
] | 7 | 2016-01-27T03:06:33.000Z | 2021-07-14T10:48:57.000Z | tests/test_helpers.py | timgates42/flask-pundit | f0a0cc2e03e2f30225cc2f3d9f467ee0323100da | [
"MIT"
] | 11 | 2016-01-27T03:04:37.000Z | 2021-07-14T10:45:59.000Z | from nose.tools import eq_
from flask_pundit.helpers import dasherized_name
def test_dasherized_name__simple():
eq_('post', dasherized_name('post'))
def test_dasherized_name__simple_uppercase():
eq_(dasherized_name('Post'), 'post')
def test_dasherized_name__simple_camelcase():
eq_(dasherized_name('Pro... | 24.157895 | 61 | 0.786492 | 57 | 459 | 5.77193 | 0.385965 | 0.382979 | 0.206687 | 0.255319 | 0.346505 | 0.18845 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104575 | 459 | 18 | 62 | 25.5 | 0.800487 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
63172a6f932a8d9eb1eecdb20c743ba3b0c82397 | 62 | py | Python | tests/test_data.py | cuicaihao/image_segmentation_pytorch | 132251dc8ea086472230dfd8648b8e725b261444 | [
"MIT"
] | null | null | null | tests/test_data.py | cuicaihao/image_segmentation_pytorch | 132251dc8ea086472230dfd8648b8e725b261444 | [
"MIT"
] | null | null | null | tests/test_data.py | cuicaihao/image_segmentation_pytorch | 132251dc8ea086472230dfd8648b8e725b261444 | [
"MIT"
] | null | null | null | def test_data():
# TO-DO: Test SegNet.data
return True | 20.666667 | 29 | 0.645161 | 10 | 62 | 3.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241935 | 62 | 3 | 30 | 20.666667 | 0.829787 | 0.370968 | 0 | 0 | 0 | 0 | 0 | 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 |
2d526bdfc74ebb08354ca5ce04d1c8822eed34d3 | 90 | py | Python | moonworm/crawler/state/__init__.py | zomglings/moonworm | 930e60199629b6a04adecc7f9ff9450e51bb4640 | [
"Apache-2.0"
] | 10 | 2021-12-08T22:35:58.000Z | 2022-03-30T07:38:12.000Z | moonworm/crawler/state/__init__.py | zomglings/moonworm | 930e60199629b6a04adecc7f9ff9450e51bb4640 | [
"Apache-2.0"
] | 29 | 2021-11-04T12:30:31.000Z | 2022-03-03T21:29:08.000Z | moonworm/crawler/state/__init__.py | zomglings/moonworm | 930e60199629b6a04adecc7f9ff9450e51bb4640 | [
"Apache-2.0"
] | 5 | 2021-11-06T02:25:09.000Z | 2022-02-15T03:09:26.000Z | from .event_scanner_state import EventScannerState
from .json_state import JSONifiedState
| 30 | 50 | 0.888889 | 11 | 90 | 7 | 0.727273 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 51 | 45 | 0.939024 | 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 |
2d7985447edcf780ff94b3f6dc16f1c9c68fd8ea | 177 | py | Python | edutorch/losses/__init__.py | TylerYep/edutorch | 6a4a425cbfd7fcdcd851b010816d29c3b5bae8bd | [
"MIT"
] | 3 | 2021-06-14T01:17:31.000Z | 2022-01-20T09:34:32.000Z | edutorch/losses/__init__.py | TylerYep/edutorch | 6a4a425cbfd7fcdcd851b010816d29c3b5bae8bd | [
"MIT"
] | null | null | null | edutorch/losses/__init__.py | TylerYep/edutorch | 6a4a425cbfd7fcdcd851b010816d29c3b5bae8bd | [
"MIT"
] | null | null | null | from .softmax import softmax_loss
from .svm import svm_loss
from .temporal_softmax import temporal_softmax_loss
__all__ = ("softmax_loss", "svm_loss", "temporal_softmax_loss")
| 29.5 | 63 | 0.819209 | 25 | 177 | 5.28 | 0.28 | 0.333333 | 0.287879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 177 | 5 | 64 | 35.4 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0.231638 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d88ecc95bf9fa33eb20de201d9e14b5c11e1db5 | 214 | py | Python | test/package/package_a/os_imports.py | raven38/pytorch | 3a56758e1fdbc928be3754d5b60e63c7fc55ea45 | [
"Intel"
] | 2 | 2021-06-24T00:47:33.000Z | 2021-06-24T00:50:14.000Z | test/package/package_a/os_imports.py | raven38/pytorch | 3a56758e1fdbc928be3754d5b60e63c7fc55ea45 | [
"Intel"
] | null | null | null | test/package/package_a/os_imports.py | raven38/pytorch | 3a56758e1fdbc928be3754d5b60e63c7fc55ea45 | [
"Intel"
] | null | null | null | import os # noqa: F401
import os.path # noqa: F401
import torch
class Module(torch.nn.Module):
def __init__(self):
super().__init__()
def forward(self):
return os.path.abspath("test")
| 16.461538 | 38 | 0.635514 | 29 | 214 | 4.413793 | 0.586207 | 0.125 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03681 | 0.238318 | 214 | 12 | 39 | 17.833333 | 0.748466 | 0.098131 | 0 | 0 | 0 | 0 | 0.021053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2dbb89cf782ea2ebae365b69fd9240bba57bba70 | 408 | py | Python | summer/tools/data.py | jiabailie/image-processing | c80082c3d234977eda3981bd7eee5112d2a02fb3 | [
"Apache-2.0"
] | null | null | null | summer/tools/data.py | jiabailie/image-processing | c80082c3d234977eda3981bd7eee5112d2a02fb3 | [
"Apache-2.0"
] | null | null | null | summer/tools/data.py | jiabailie/image-processing | c80082c3d234977eda3981bd7eee5112d2a02fb3 | [
"Apache-2.0"
] | null | null | null | MAX_PIXEL_VALUE = 255
LAPLAS_FACTOR = 0.5
LAPLAS_1 = [[0,1,0],[1,-4,1],[0,1,0]]
LAPLAS_2 = [[1,1,1],[1,-8,1],[1,1,1]]
LAPLAS_3 = [[0,-1,0],[-1,4,-1],[0,-1,0]]
LAPLAS_4 = [[-1,-1,-1],[-1,8,-1],[-1,-1,-1]]
LAPLAS_5 = [[0,-1,0],[-1,5,-1],[0,-1,0]]
LAPLAS_6 = [[-1,-1,-1],[-1,9,-1],[-1,-1,-1]]
LAPLAS_7 = [[0,-1,0],[-1,LAPL... | 37.090909 | 60 | 0.477941 | 100 | 408 | 1.82 | 0.16 | 0.263736 | 0.263736 | 0.175824 | 0.587912 | 0.450549 | 0.32967 | 0.32967 | 0.32967 | 0.32967 | 0 | 0.227273 | 0.083333 | 408 | 11 | 60 | 37.090909 | 0.259358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 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 |
93544b65644870db759c734c34c82efdc1f57677 | 23,008 | py | Python | tests/integration/cartography/intel/azure/test_cosmosdb.py | ryohare/cartography | 3829a97289bc2b28d041e6d7860678e2375dcee1 | [
"Apache-2.0"
] | 2,322 | 2019-03-02T01:07:20.000Z | 2022-03-31T20:39:12.000Z | tests/integration/cartography/intel/azure/test_cosmosdb.py | ryohare/cartography | 3829a97289bc2b28d041e6d7860678e2375dcee1 | [
"Apache-2.0"
] | 462 | 2019-03-07T18:38:11.000Z | 2022-03-31T14:55:20.000Z | tests/integration/cartography/intel/azure/test_cosmosdb.py | ryohare/cartography | 3829a97289bc2b28d041e6d7860678e2375dcee1 | [
"Apache-2.0"
] | 246 | 2019-03-03T02:39:23.000Z | 2022-02-24T09:46:38.000Z | from cartography.intel.azure import cosmosdb
from tests.data.azure.cosmosdb import cors1_id
from tests.data.azure.cosmosdb import cors2_id
from tests.data.azure.cosmosdb import DESCRIBE_CASSANDRA_KEYSPACES
from tests.data.azure.cosmosdb import DESCRIBE_CASSANDRA_TABLES
from tests.data.azure.cosmosdb import DESCRIBE_DAT... | 24.321353 | 119 | 0.620219 | 2,325 | 23,008 | 5.812903 | 0.055914 | 0.09323 | 0.044247 | 0.046615 | 0.869256 | 0.840326 | 0.783352 | 0.755827 | 0.715353 | 0.695597 | 0 | 0.023305 | 0.285727 | 23,008 | 945 | 120 | 24.34709 | 0.799075 | 0.034814 | 0 | 0.58371 | 0 | 0.003017 | 0.10908 | 0.082769 | 0 | 0 | 0 | 0 | 0.045249 | 1 | 0.045249 | false | 0 | 0.016591 | 0 | 0.06184 | 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 |
935a1df42bcebac5fb96a529d322f02f41b6c58b | 6,285 | py | Python | tests/test_ev_charging_stations_api.py | 19FM/HerePy | f68c1543c55e1feb918181c5998a03e9066f9a4d | [
"MIT"
] | 69 | 2018-02-18T14:04:39.000Z | 2022-01-13T12:53:23.000Z | tests/test_ev_charging_stations_api.py | 19FM/HerePy | f68c1543c55e1feb918181c5998a03e9066f9a4d | [
"MIT"
] | 61 | 2018-12-17T08:47:45.000Z | 2022-03-25T21:25:13.000Z | tests/test_ev_charging_stations_api.py | 19FM/HerePy | f68c1543c55e1feb918181c5998a03e9066f9a4d | [
"MIT"
] | 29 | 2019-02-13T20:39:16.000Z | 2022-01-11T14:46:35.000Z | #!/usr/bin/env python
import os
import time
import unittest
import json
import responses
import herepy
from herepy.here_enum import EVStationConnectorTypes
class EVChargingStationsApiTest(unittest.TestCase):
def setUp(self):
api = herepy.EVChargingStationsApi(api_key="api_key")
self._api = api
... | 35.914286 | 86 | 0.60891 | 647 | 6,285 | 5.690881 | 0.159196 | 0.069527 | 0.021999 | 0.029332 | 0.893536 | 0.884845 | 0.884845 | 0.856056 | 0.823466 | 0.794134 | 0 | 0.055468 | 0.294352 | 6,285 | 174 | 87 | 36.12069 | 0.774746 | 0.003182 | 0 | 0.60625 | 0 | 0.0375 | 0.156609 | 0.083014 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.0625 | false | 0 | 0.04375 | 0 | 0.1125 | 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 |
9360b6780891f8de372058a71898a94a06804baa | 40 | py | Python | app.py | ItsDebol/AMH-STT | 46621f5a1b326529ba35a5091aa780f8a648caeb | [
"MIT"
] | null | null | null | app.py | ItsDebol/AMH-STT | 46621f5a1b326529ba35a5091aa780f8a648caeb | [
"MIT"
] | null | null | null | app.py | ItsDebol/AMH-STT | 46621f5a1b326529ba35a5091aa780f8a648caeb | [
"MIT"
] | null | null | null | # Streamlit -> @Eyerus
import streamlit
| 13.333333 | 22 | 0.75 | 4 | 40 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 2 | 23 | 20 | 0.882353 | 0.5 | 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 |
9364eaee9d78f5e26287157ca38f8a68980c11c4 | 22,910 | py | Python | tests/sparsezoo/models/test_zoo.py | PIlotcnc/new | 6e6413632de01f6acf691dca8fadb84f841444b9 | [
"Apache-2.0"
] | 1 | 2021-07-04T07:29:50.000Z | 2021-07-04T07:29:50.000Z | tests/sparsezoo/models/test_zoo.py | PIlotcnc/new | 6e6413632de01f6acf691dca8fadb84f841444b9 | [
"Apache-2.0"
] | null | null | null | tests/sparsezoo/models/test_zoo.py | PIlotcnc/new | 6e6413632de01f6acf691dca8fadb84f841444b9 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2021 - present / Neuralmagic, Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | 32.496454 | 88 | 0.497076 | 1,955 | 22,910 | 5.561125 | 0.08491 | 0.041391 | 0.047829 | 0.0516 | 0.852649 | 0.845291 | 0.814845 | 0.798381 | 0.777778 | 0.753035 | 0 | 0.006861 | 0.376517 | 22,910 | 704 | 89 | 32.542614 | 0.754271 | 0.028154 | 0 | 0.673846 | 0 | 0 | 0.274562 | 0.030472 | 0 | 0 | 0 | 0.00142 | 0.08 | 1 | 0.021538 | false | 0 | 0.009231 | 0 | 0.030769 | 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 |
fa7e1bee494c579cc8c00cee7efe3c04d43ee149 | 101 | py | Python | src/deployment/__init__.py | LazyEval/housing-prices-firenze | c9e81554d86cbf54dfc12cca9b2d12725a8909a9 | [
"MIT"
] | 1 | 2020-10-14T21:16:03.000Z | 2020-10-14T21:16:03.000Z | src/deployment/__init__.py | LazyEval/housing-prices-firenze | c9e81554d86cbf54dfc12cca9b2d12725a8909a9 | [
"MIT"
] | null | null | null | src/deployment/__init__.py | LazyEval/housing-prices-firenze | c9e81554d86cbf54dfc12cca9b2d12725a8909a9 | [
"MIT"
] | null | null | null | from .deployment_utils import user_input_features, predict
__all__ = (user_input_features, predict)
| 25.25 | 58 | 0.841584 | 13 | 101 | 5.846154 | 0.692308 | 0.236842 | 0.447368 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 101 | 3 | 59 | 33.666667 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fa8c78359ea3cdb756eb7922eb0772f8325d69c8 | 76 | py | Python | commands/mememaker.py | JaydipMagan/WhatBot | 3fb00aaa3550393603e48a8832b152efe835fa9f | [
"MIT"
] | 7 | 2020-07-03T18:25:25.000Z | 2020-08-03T21:31:40.000Z | commands/mememaker.py | JaydipMagan/WhatBot | 3fb00aaa3550393603e48a8832b152efe835fa9f | [
"MIT"
] | 2 | 2021-09-08T02:20:15.000Z | 2022-03-12T00:41:57.000Z | commands/mememaker.py | JaydipMagan/WhatBot | 3fb00aaa3550393603e48a8832b152efe835fa9f | [
"MIT"
] | 1 | 2020-07-31T04:36:37.000Z | 2020-07-31T04:36:37.000Z | import commands.mm.meme_maker as mm
class mememaker(mm.mememaker):
pass | 25.333333 | 36 | 0.776316 | 12 | 76 | 4.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 3 | 37 | 25.333333 | 0.892308 | 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 |
fa9e442bac2f5bcc2c9fc0e158517457bbb02755 | 29 | py | Python | plugins/binja_binsync/__init__.py | zachsez/binsync | 39a53a84c640314adbf50e612177c4a56c43542c | [
"MIT"
] | 40 | 2021-05-09T03:24:46.000Z | 2022-03-31T23:01:50.000Z | plugins/binja_binsync/__init__.py | zachsez/binsync | 39a53a84c640314adbf50e612177c4a56c43542c | [
"MIT"
] | 53 | 2021-05-27T07:53:58.000Z | 2022-03-27T21:35:26.000Z | plugins/binja_binsync/__init__.py | zachsez/binsync | 39a53a84c640314adbf50e612177c4a56c43542c | [
"MIT"
] | 10 | 2021-05-13T22:09:38.000Z | 2022-03-31T23:51:27.000Z | from .binja_binsync import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
879255a9baba436f2041efd3d60db6b69399be8a | 1,021 | py | Python | tests/console/test_play.py | adamghill/coltrane | 73eb85f2468f10068691600a2a56f6a9b2717b5c | [
"MIT"
] | 28 | 2022-01-03T05:23:19.000Z | 2022-02-25T18:17:08.000Z | tests/console/test_play.py | adamghill/coltrane | 73eb85f2468f10068691600a2a56f6a9b2717b5c | [
"MIT"
] | 27 | 2022-01-04T04:01:46.000Z | 2022-02-26T23:24:54.000Z | tests/console/test_play.py | adamghill/coltrane | 73eb85f2468f10068691600a2a56f6a9b2717b5c | [
"MIT"
] | null | null | null | from unittest.mock import patch
from click.testing import CliRunner
from coltrane.console import cli
def test_play():
runner = CliRunner()
with patch("coltrane.console._run_management_command") as _run_management_command:
result = runner.invoke(cli, ["play"])
assert result.exit_code == 0
... | 28.361111 | 86 | 0.714985 | 128 | 1,021 | 5.351563 | 0.265625 | 0.170803 | 0.262774 | 0.105109 | 0.781022 | 0.781022 | 0.781022 | 0.781022 | 0.781022 | 0.781022 | 0 | 0.026159 | 0.176298 | 1,021 | 35 | 87 | 29.171429 | 0.788347 | 0 | 0 | 0.52381 | 0 | 0 | 0.185113 | 0.117532 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87a511352bcaa16b4c414d34e11387baebd540bf | 11,594 | py | Python | sdk/python/pulumi_gcp/firebase/project_location.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | sdk/python/pulumi_gcp/firebase/project_location.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | sdk/python/pulumi_gcp/firebase/project_location.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 43.261194 | 152 | 0.659307 | 1,381 | 11,594 | 5.372194 | 0.140478 | 0.043133 | 0.052837 | 0.04448 | 0.767758 | 0.74471 | 0.735005 | 0.724356 | 0.714517 | 0.71236 | 0 | 0.001286 | 0.262377 | 11,594 | 267 | 153 | 43.423221 | 0.86623 | 0.476626 | 0 | 0.568966 | 1 | 0 | 0.091741 | 0.008392 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146552 | false | 0.008621 | 0.043103 | 0 | 0.275862 | 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 |
3550a9ba4ee5c68082ca50c793864f61b89f2956 | 43 | py | Python | component/scripts/__init__.py | 12rambau/import_to_gee | 1828c7ca8e6db194cb07b9e4487702469e3cd723 | [
"MIT"
] | null | null | null | component/scripts/__init__.py | 12rambau/import_to_gee | 1828c7ca8e6db194cb07b9e4487702469e3cd723 | [
"MIT"
] | null | null | null | component/scripts/__init__.py | 12rambau/import_to_gee | 1828c7ca8e6db194cb07b9e4487702469e3cd723 | [
"MIT"
] | null | null | null | from .utils import *
from .tiling import *
| 14.333333 | 21 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
357676e73c942670f467533b0da203691fc9495a | 220 | py | Python | apartment_application_service/apps.py | frwickst/apartment-application-service | 40387327a0f82ba01bfcb6ab8532ea4aec40d37a | [
"MIT"
] | null | null | null | apartment_application_service/apps.py | frwickst/apartment-application-service | 40387327a0f82ba01bfcb6ab8532ea4aec40d37a | [
"MIT"
] | null | null | null | apartment_application_service/apps.py | frwickst/apartment-application-service | 40387327a0f82ba01bfcb6ab8532ea4aec40d37a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ApartmentApplicationServiceConfig(AppConfig):
name = "apartment_application_service"
def ready(self):
import apartment_application_service.notifications # noqa
| 24.444444 | 66 | 0.786364 | 21 | 220 | 8.047619 | 0.761905 | 0.236686 | 0.319527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 220 | 8 | 67 | 27.5 | 0.913514 | 0.018182 | 0 | 0 | 0 | 0 | 0.135514 | 0.135514 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35b95a144a283983407d9b7dd4191a1c8a8ebe58 | 982 | py | Python | clowder/cli/__init__.py | JrGoodle/clowder | 864afacfc7122e937f7087e233c61d05fd007af2 | [
"MIT"
] | 12 | 2016-02-12T02:37:24.000Z | 2021-01-04T05:14:12.000Z | clowder/cli/__init__.py | JrGoodle/clowder | 864afacfc7122e937f7087e233c61d05fd007af2 | [
"MIT"
] | 370 | 2015-07-06T22:59:08.000Z | 2021-10-01T14:58:17.000Z | clowder/cli/__init__.py | JrGoodle/clowder | 864afacfc7122e937f7087e233c61d05fd007af2 | [
"MIT"
] | 3 | 2015-10-22T18:45:31.000Z | 2018-10-16T15:30:30.000Z | """clowder.cli module __init__
.. codeauthor:: Joe DeCapo <joe@polka.cat>
"""
from clowder.cli.branch import add_branch_parser
from clowder.cli.checkout import add_checkout_parser
from clowder.cli.clean import add_clean_parser
from clowder.cli.config import add_config_parser
from clowder.cli.diff import add_diff_par... | 36.37037 | 52 | 0.855397 | 162 | 982 | 4.925926 | 0.197531 | 0.250627 | 0.333333 | 0.451128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090631 | 982 | 26 | 53 | 37.769231 | 0.893617 | 0.072301 | 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 |
ea41c0e0eb362ecdaed82983c74777f6e25b8e62 | 4,052 | py | Python | backend/web_app/tests/snapshots/snap_test_resources_requests.py | jsc-masshtab/vdi-server | 3de49dec986ab26ffc6c073873fb9de5943809f9 | [
"MIT"
] | 2 | 2021-12-03T10:04:25.000Z | 2022-01-12T06:26:39.000Z | backend/web_app/tests/snapshots/snap_test_resources_requests.py | jsc-masshtab/vdi-server | 3de49dec986ab26ffc6c073873fb9de5943809f9 | [
"MIT"
] | null | null | null | backend/web_app/tests/snapshots/snap_test_resources_requests.py | jsc-masshtab/vdi-server | 3de49dec986ab26ffc6c073873fb9de5943809f9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots["test_request_clusters 1"] = {
"clusters": [
{
"controller": {"verbose_name": "controller_added_during_test"},
... | 25.808917 | 83 | 0.541214 | 386 | 4,052 | 5.378238 | 0.225389 | 0.132466 | 0.144509 | 0.149326 | 0.827553 | 0.827553 | 0.780347 | 0.760597 | 0.738921 | 0.71869 | 0 | 0.123556 | 0.294916 | 4,052 | 156 | 84 | 25.974359 | 0.60308 | 0.015301 | 0 | 0.433824 | 0 | 0 | 0.494607 | 0.21846 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014706 | 0 | 0.014706 | 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 |
ea4eed220f6702aa06ec2c3d1f3b89286b8f8de2 | 22,103 | py | Python | menus.py | averytorres/WazHack-Clone | e53e9b1b64f3828b20e45d4eeaafcdedf9bc6fda | [
"Unlicense"
] | 1 | 2019-06-21T17:13:35.000Z | 2019-06-21T17:13:35.000Z | menus.py | averytorres/WazHack-Clone | e53e9b1b64f3828b20e45d4eeaafcdedf9bc6fda | [
"Unlicense"
] | 18 | 2019-06-25T00:48:11.000Z | 2019-07-11T17:52:24.000Z | menus.py | averytorres/WazHack-Clone | e53e9b1b64f3828b20e45d4eeaafcdedf9bc6fda | [
"Unlicense"
] | 1 | 2019-06-21T17:08:23.000Z | 2019-06-21T17:08:23.000Z | import tcod as libtcod
import math
from menu_info.menu_details import get_main_menu_options
from menu_info.menu_details import get_menu_width, get_menu_title, get_menu_height
from action_handlers.quaff_inventory_index_ih import get_quaff_inventory_index_options
from action_handlers.weapon_inventory_index_ih import get_... | 55.2575 | 172 | 0.660363 | 3,125 | 22,103 | 4.42016 | 0.07168 | 0.075002 | 0.070151 | 0.083255 | 0.88909 | 0.852168 | 0.827192 | 0.798234 | 0.788895 | 0.770072 | 0 | 0.020241 | 0.244492 | 22,103 | 400 | 173 | 55.2575 | 0.806935 | 0.114283 | 0 | 0.533333 | 0 | 0 | 0.016999 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038596 | false | 0 | 0.038596 | 0 | 0.108772 | 0.17193 | 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 |
ea79385d8a402c354e1468b89a8ccbe5b159f2f9 | 24 | py | Python | src/rally/__init__.py | deybhayden/rally-to-anything | c61f31d15b9ce5b54c5b3e39416447b284dca34d | [
"MIT"
] | 2 | 2021-12-14T16:18:56.000Z | 2022-01-28T22:37:09.000Z | src/rally/__init__.py | deybhayden/rally-to-anything | c61f31d15b9ce5b54c5b3e39416447b284dca34d | [
"MIT"
] | null | null | null | src/rally/__init__.py | deybhayden/rally-to-anything | c61f31d15b9ce5b54c5b3e39416447b284dca34d | [
"MIT"
] | null | null | null | from .core import Rally
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea83eb67e5accacc02ba1cbc9066af0b61f326c6 | 43 | py | Python | __init__.py | fatfishcc/justToTestPYPI | 053353e962e9366bc842a5032d7fef6b07d33e78 | [
"Apache-2.0"
] | null | null | null | __init__.py | fatfishcc/justToTestPYPI | 053353e962e9366bc842a5032d7fef6b07d33e78 | [
"Apache-2.0"
] | null | null | null | __init__.py | fatfishcc/justToTestPYPI | 053353e962e9366bc842a5032d7fef6b07d33e78 | [
"Apache-2.0"
] | null | null | null | from justToTestPYPI.hello import JustATest
| 21.5 | 42 | 0.883721 | 5 | 43 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea8b3401c79c4a2703b3ca7e0eb0f65579ea89e8 | 39 | py | Python | kneejerk/__init__.py | NapsterInBlue/kneejerk | 8ea78e0e57c5078155983ac2bdf163ac1e14c639 | [
"MIT"
] | null | null | null | kneejerk/__init__.py | NapsterInBlue/kneejerk | 8ea78e0e57c5078155983ac2bdf163ac1e14c639 | [
"MIT"
] | 15 | 2019-01-20T02:32:59.000Z | 2020-03-31T01:18:40.000Z | kneejerk/__init__.py | NapsterInBlue/kneejerk | 8ea78e0e57c5078155983ac2bdf163ac1e14c639 | [
"MIT"
] | null | null | null | from .data.saver import persist_scores
| 19.5 | 38 | 0.846154 | 6 | 39 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 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 |
57870d14430630fa16789bf4cd77f4a3b710e3c9 | 61 | py | Python | features/__init__.py | Sarratus/randomfoxbot | d35fc2efcffc491f4edc73eed8508c0dfe7ec67a | [
"MIT"
] | 1 | 2021-05-07T05:01:53.000Z | 2021-05-07T05:01:53.000Z | features/__init__.py | Sarratus/randomfoxbot | d35fc2efcffc491f4edc73eed8508c0dfe7ec67a | [
"MIT"
] | 3 | 2021-03-31T02:34:04.000Z | 2022-03-25T13:06:15.000Z | features/__init__.py | Sarratus/randomfoxbot | d35fc2efcffc491f4edc73eed8508c0dfe7ec67a | [
"MIT"
] | null | null | null | from . import demotivatorCreator
from . import mainFunctions
| 20.333333 | 32 | 0.836066 | 6 | 61 | 8.5 | 0.666667 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 33 | 30.5 | 0.962264 | 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 |
57ad9d0ba4092c0a416ca5d113c4bbf996f9b581 | 176,123 | py | Python | tests/test_turbot.py | theastropath/turbot | c623cd9af73876efdd315f3d7dd09448a06d3331 | [
"MIT"
] | 10 | 2020-04-11T23:43:42.000Z | 2021-06-18T17:31:09.000Z | tests/test_turbot.py | theastropath/turbot | c623cd9af73876efdd315f3d7dd09448a06d3331 | [
"MIT"
] | 116 | 2020-04-15T20:37:49.000Z | 2022-03-29T22:21:25.000Z | tests/test_turbot.py | theastropath/turbot | c623cd9af73876efdd315f3d7dd09448a06d3331 | [
"MIT"
] | 3 | 2020-04-11T23:56:34.000Z | 2020-06-18T17:44:34.000Z | import csv
import inspect
import json
import random
import re
from contextlib import asynccontextmanager
from datetime import datetime, timedelta
from os import chdir
from os.path import dirname, realpath
from pathlib import Path
from subprocess import run
from unittest.mock import MagicMock, Mock
import pandas as pd
... | 44.430626 | 90 | 0.635493 | 21,106 | 176,123 | 5.131005 | 0.049749 | 0.062247 | 0.066744 | 0.102498 | 0.848654 | 0.82495 | 0.803241 | 0.769112 | 0.729397 | 0.702248 | 0 | 0.01719 | 0.241297 | 176,123 | 3,963 | 91 | 44.441837 | 0.79325 | 0.037383 | 0 | 0.536767 | 0 | 0.004034 | 0.214942 | 0.003639 | 0 | 0 | 0 | 0 | 0.124108 | 1 | 0.02296 | false | 0 | 0.007136 | 0.006516 | 0.047161 | 0.001241 | 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 |
57bc9c77b3d52a8324e19ede09fa918902d47ee3 | 23,054 | py | Python | apps/qa/tests/test_views.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 8 | 2019-01-30T13:51:59.000Z | 2022-01-08T03:26:53.000Z | apps/qa/tests/test_views.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 286 | 2019-01-18T21:35:51.000Z | 2022-03-24T18:53:59.000Z | apps/qa/tests/test_views.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 4 | 2019-02-11T13:38:30.000Z | 2021-03-02T20:59:00.000Z | from django.conf import settings
from django.contrib.auth.models import User
from django.test import Client, TestCase
from django.urls import resolve, reverse
from qa import views as qaviews
from qa.models import (QAAnswer, QAAnswerComment, QAAnswerVote, QAQuestion, QAQuestionComment,
QAQuestion... | 37.547231 | 100 | 0.584411 | 2,459 | 23,054 | 5.291175 | 0.0549 | 0.10837 | 0.123741 | 0.091384 | 0.921605 | 0.907463 | 0.888633 | 0.880332 | 0.848205 | 0.826916 | 0 | 0.017052 | 0.287759 | 23,054 | 613 | 101 | 37.608483 | 0.775335 | 0 | 0 | 0.688889 | 0 | 0 | 0.100156 | 0.018956 | 0 | 0 | 0 | 0 | 0.258586 | 1 | 0.068687 | false | 0.010101 | 0.012121 | 0 | 0.090909 | 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 |
57f70cbc953105d407c85a11febc3ae0585b89e3 | 100 | py | Python | test_run.py | tobiajo/cmdlinetool | 8694e90baf23227b7c8179a04cbcf2db99da6430 | [
"MIT"
] | null | null | null | test_run.py | tobiajo/cmdlinetool | 8694e90baf23227b7c8179a04cbcf2db99da6430 | [
"MIT"
] | null | null | null | test_run.py | tobiajo/cmdlinetool | 8694e90baf23227b7c8179a04cbcf2db99da6430 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sys
from cmdlinetool.test import test_main
sys.exit(test_main.run())
| 16.666667 | 38 | 0.78 | 17 | 100 | 4.470588 | 0.705882 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.1 | 100 | 5 | 39 | 20 | 0.833333 | 0.21 | 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 | 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 |
57f7acdb64217533de01c0f3ffc8b4b084f9fa0e | 95 | py | Python | api/app/buoy/datascrapers/__init__.py | jonahgolden/buoy-buddy | bb75467368494bbe35aad401517ade8a5fe4e76a | [
"MIT"
] | 2 | 2019-10-25T07:47:55.000Z | 2022-01-26T21:20:45.000Z | api/app/buoy/datascrapers/__init__.py | jonahgolden/buoy-buddy | bb75467368494bbe35aad401517ade8a5fe4e76a | [
"MIT"
] | null | null | null | api/app/buoy/datascrapers/__init__.py | jonahgolden/buoy-buddy | bb75467368494bbe35aad401517ade8a5fe4e76a | [
"MIT"
] | null | null | null | from .realtime_scraper import RealtimeScraper
from .historical_scraper import HistoricalScraper | 47.5 | 49 | 0.905263 | 10 | 95 | 8.4 | 0.7 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 95 | 2 | 49 | 47.5 | 0.954545 | 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 |
17b02b777c7c38869cab1d1a4e2b017d461d3c85 | 19 | py | Python | Tbqc/__init__.py | dapingtai/Tw-Bartender-Quizdata-crawler | abb152964fbec74bd690105114f5c5300f2502ff | [
"BSD-3-Clause"
] | null | null | null | Tbqc/__init__.py | dapingtai/Tw-Bartender-Quizdata-crawler | abb152964fbec74bd690105114f5c5300f2502ff | [
"BSD-3-Clause"
] | null | null | null | Tbqc/__init__.py | dapingtai/Tw-Bartender-Quizdata-crawler | abb152964fbec74bd690105114f5c5300f2502ff | [
"BSD-3-Clause"
] | null | null | null | from . import Tbqc
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17db1af0ace02621dbdae08fc41a6a671284b0ed | 463 | py | Python | test/hook_extension.py | LeoBreebaart/muninn | ac54adbac59aa35af13554c77080d2881154b6a8 | [
"BSD-3-Clause"
] | 3 | 2017-05-03T13:41:35.000Z | 2022-03-30T10:22:58.000Z | test/hook_extension.py | LeoBreebaart/muninn | ac54adbac59aa35af13554c77080d2881154b6a8 | [
"BSD-3-Clause"
] | 34 | 2017-03-31T07:55:28.000Z | 2021-01-29T14:26:26.000Z | test/hook_extension.py | LeoBreebaart/muninn | ac54adbac59aa35af13554c77080d2881154b6a8 | [
"BSD-3-Clause"
] | 3 | 2019-02-08T03:22:20.000Z | 2021-04-07T11:21:53.000Z | class MyHookExtension(object):
def post_create_hook(self, archive, product):
pass
def post_ingest_hook(self, archive, product):
pass
def post_pull_hook(self, archive, product):
pass
def post_remove_hook(self, archive, product):
pass
_hook_extensions = {
'myhooks'... | 18.52 | 49 | 0.684665 | 54 | 463 | 5.574074 | 0.37037 | 0.093023 | 0.199336 | 0.292359 | 0.415282 | 0.328904 | 0.328904 | 0 | 0 | 0 | 0 | 0 | 0.224622 | 463 | 24 | 50 | 19.291667 | 0.83844 | 0 | 0 | 0.25 | 0 | 0 | 0.015119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.25 | 0 | 0.125 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
a4befad9165d7b19641f78ec87d03c2c467b1143 | 96 | py | Python | office365/sharepoint/navigation/menuState.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/navigation/menuState.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/navigation/menuState.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class MenuState(ClientValue):
pass
| 16 | 54 | 0.8125 | 11 | 96 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.135417 | 96 | 5 | 55 | 19.2 | 0.891566 | 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 |
35012173c1e7a73fdf9037a3f7e505e88ec71c36 | 9,820 | py | Python | demisto_sdk/commands/run_test_playbook/tests/test_playbook_runner_test.py | SergeBakharev/demisto-sdk | 17d00942a1bd33039a8aba9ddffecfd81008d275 | [
"MIT"
] | null | null | null | demisto_sdk/commands/run_test_playbook/tests/test_playbook_runner_test.py | SergeBakharev/demisto-sdk | 17d00942a1bd33039a8aba9ddffecfd81008d275 | [
"MIT"
] | null | null | null | demisto_sdk/commands/run_test_playbook/tests/test_playbook_runner_test.py | SergeBakharev/demisto-sdk | 17d00942a1bd33039a8aba9ddffecfd81008d275 | [
"MIT"
] | null | null | null | import click
import demisto_client
import pytest
from demisto_client.demisto_api import DefaultApi
from demisto_sdk.__main__ import run_test_playbook
from demisto_sdk.commands.run_test_playbook.test_playbook_runner import \
TestPlaybookRunner
from demisto_sdk.tests.constants_test import (CONTENT_REPO_EXAMPLE_ROOT,... | 50.358974 | 120 | 0.657434 | 1,118 | 9,820 | 5.488372 | 0.118068 | 0.148631 | 0.074804 | 0.114081 | 0.841428 | 0.82839 | 0.821545 | 0.814863 | 0.814863 | 0.814863 | 0 | 0.006305 | 0.257026 | 9,820 | 194 | 121 | 50.618557 | 0.834704 | 0.157026 | 0 | 0.614679 | 0 | 0 | 0.168721 | 0.078197 | 0 | 0 | 0 | 0 | 0.155963 | 1 | 0.06422 | false | 0 | 0.073395 | 0 | 0.146789 | 0.055046 | 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 |
104b898b6dec74d54f60d187335454c084d8f100 | 247 | py | Python | ocrd_keraslm/wrapper/cli.py | bertsky/ocrd_keraslm | da105a8a8b68844389cd3e08307c05c9c6123350 | [
"Apache-2.0"
] | 6 | 2018-06-25T16:43:05.000Z | 2021-09-16T10:51:59.000Z | ocrd_keraslm/wrapper/cli.py | bertsky/ocrd_keraslm | da105a8a8b68844389cd3e08307c05c9c6123350 | [
"Apache-2.0"
] | 9 | 2018-09-05T17:55:03.000Z | 2020-06-27T09:27:46.000Z | ocrd_keraslm/wrapper/cli.py | bertsky/ocrd_keraslm | da105a8a8b68844389cd3e08307c05c9c6123350 | [
"Apache-2.0"
] | 7 | 2018-06-25T13:40:49.000Z | 2021-01-28T12:48:44.000Z | import click
from ocrd.decorators import ocrd_cli_options, ocrd_cli_wrap_processor
from . import KerasRate
@click.command()
@ocrd_cli_options
def ocrd_keraslm_rate(*args, **kwargs):
return ocrd_cli_wrap_processor(KerasRate, *args, **kwargs)
| 24.7 | 69 | 0.805668 | 35 | 247 | 5.342857 | 0.485714 | 0.149733 | 0.149733 | 0.213904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 247 | 9 | 70 | 27.444444 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1065e7de72fd207440b26b382caedb6316d2763f | 11,376 | py | Python | test.py | Kyria/EFTParser | 59420dc69cc3083f81205d17d897ecb482b3aed2 | [
"MIT"
] | 1 | 2018-05-09T05:11:37.000Z | 2018-05-09T05:11:37.000Z | test.py | Kyria/EFTParser | 59420dc69cc3083f81205d17d897ecb482b3aed2 | [
"MIT"
] | null | null | null | test.py | Kyria/EFTParser | 59420dc69cc3083f81205d17d897ecb482b3aed2 | [
"MIT"
] | 1 | 2019-10-18T03:58:39.000Z | 2019-10-18T03:58:39.000Z | import unittest
from eftparser import EFTParser
class EFTParsingTestCase(unittest.TestCase):
def setUp(self):
self.standard_fit = """
[Naglfar, TestFit]
Siege Module II
6x2500mm Repeating Artillery I, Arch Angel EMP XL
6x2500mm Repeating Artill... | 47.4 | 98 | 0.567598 | 1,190 | 11,376 | 5.387395 | 0.12521 | 0.229293 | 0.258306 | 0.304165 | 0.850569 | 0.759476 | 0.590392 | 0.503354 | 0.407113 | 0.325222 | 0 | 0.02427 | 0.28648 | 11,376 | 239 | 99 | 47.598326 | 0.765554 | 0 | 0 | 0.403061 | 0 | 0 | 0.488397 | 0.006505 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.02551 | false | 0 | 0.010204 | 0 | 0.045918 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
106e8a102ff0bde53bb77f3186c53f184ddad677 | 25 | py | Python | automatia/internal/__init__.py | ShadowJonathan/automatia.py | 555d473c11372b2eec14bcd7508b4593be4fba7f | [
"MIT"
] | 1 | 2018-01-01T21:41:46.000Z | 2018-01-01T21:41:46.000Z | automatia/internal/__init__.py | ShadowJonathan/automatia.py | 555d473c11372b2eec14bcd7508b4593be4fba7f | [
"MIT"
] | null | null | null | automatia/internal/__init__.py | ShadowJonathan/automatia.py | 555d473c11372b2eec14bcd7508b4593be4fba7f | [
"MIT"
] | null | null | null | from .debug import debug
| 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 |
1077af5d072f08e925497a9eb5ae52458f753edd | 1,830 | py | Python | challenge/Thiemo/test.py | florianletsch/kinect-juggling | f320cc0b55adf65d338d25986a03106a7e3f46ef | [
"Unlicense",
"MIT"
] | 7 | 2015-11-27T09:53:32.000Z | 2021-01-13T17:35:54.000Z | challenge/Thiemo/test.py | florianletsch/kinect-juggling | f320cc0b55adf65d338d25986a03106a7e3f46ef | [
"Unlicense",
"MIT"
] | null | null | null | challenge/Thiemo/test.py | florianletsch/kinect-juggling | f320cc0b55adf65d338d25986a03106a7e3f46ef | [
"Unlicense",
"MIT"
] | null | null | null | import timeit
tests = [
('Summierung uint8',
'''
import pyximport;
import numpy as np
pyximport.install(setup_args={'include_dirs': np.get_include()})
import summierungInt as alg
a = np.random.random_integers(0,255, %(dim)s).astype(np.uint8)
b = np.random.random_integers(0,255, %(dim)s).astype(np.uint8)
''',
'alg.sum(... | 26.142857 | 100 | 0.708743 | 276 | 1,830 | 4.605072 | 0.17029 | 0.050354 | 0.08812 | 0.138474 | 0.745869 | 0.745869 | 0.745869 | 0.745869 | 0.745869 | 0.745869 | 0 | 0.045648 | 0.102186 | 1,830 | 69 | 101 | 26.521739 | 0.727937 | 0 | 0 | 0.083333 | 0 | 0 | 0.487603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.041667 | null | null | 0.041667 | 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 |
52ea00974735f1d5efea77c330186551782f4c73 | 80 | py | Python | Codes/optimization/src/visualize/__init__.py | dychen24/magx | 3d72cfa447bcab050e97ee517b1688ef99dd480d | [
"MIT"
] | 7 | 2021-11-16T06:01:41.000Z | 2022-03-30T21:09:14.000Z | Codes/optimization/src/visualize/__init__.py | dychen24/magx | 3d72cfa447bcab050e97ee517b1688ef99dd480d | [
"MIT"
] | null | null | null | Codes/optimization/src/visualize/__init__.py | dychen24/magx | 3d72cfa447bcab050e97ee517b1688ef99dd480d | [
"MIT"
] | 2 | 2021-08-18T09:21:35.000Z | 2021-08-19T03:43:33.000Z | from .visualization_cpp import show_track_1mag_csv_cpp, show_track_2mag_csv_cpp
| 40 | 79 | 0.9125 | 14 | 80 | 4.571429 | 0.642857 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.0625 | 80 | 1 | 80 | 80 | 0.826667 | 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 |
52ea62dfa9e9f10b0651e2223ecfc73feb2350f3 | 49 | py | Python | src/python/__init__.py | tskisner/HARP | e21435511c3dc95ce1318c852002a95ca59634b1 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/python/__init__.py | tskisner/HARP | e21435511c3dc95ce1318c852002a95ca59634b1 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/python/__init__.py | tskisner/HARP | e21435511c3dc95ce1318c852002a95ca59634b1 | [
"BSD-3-Clause-LBNL"
] | null | null | null |
#import our custom pyublas
import harp.pyublas
| 9.8 | 26 | 0.795918 | 7 | 49 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 4 | 27 | 12.25 | 0.95122 | 0.510204 | 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 |
5e02f88d188979d835cb9db89dad3a4f75525cf9 | 103 | py | Python | ABC067/ABC067b.py | VolgaKurvar/AtCoder | 21acb489f1594bbb1cdc64fbf8421d876b5b476d | [
"Unlicense"
] | null | null | null | ABC067/ABC067b.py | VolgaKurvar/AtCoder | 21acb489f1594bbb1cdc64fbf8421d876b5b476d | [
"Unlicense"
] | null | null | null | ABC067/ABC067b.py | VolgaKurvar/AtCoder | 21acb489f1594bbb1cdc64fbf8421d876b5b476d | [
"Unlicense"
] | null | null | null | n, k = map(int, input().split())
print(sum(sorted(list(map(int, input().split())), reverse=True)[:k]))
| 34.333333 | 69 | 0.621359 | 17 | 103 | 3.764706 | 0.705882 | 0.1875 | 0.34375 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 103 | 2 | 70 | 51.5 | 0.673684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ead7d467e74854b6e8e89ffcae4d1fd9125da8f7 | 30 | py | Python | src/JoyShockLibrary/__init__.py | NullMember/python-jsl | 031d1d49582b492f25de8ef18b52153b3c2d0021 | [
"MIT"
] | 1 | 2021-08-06T10:52:47.000Z | 2021-08-06T10:52:47.000Z | src/JoyShockLibrary/__init__.py | NullMember/python-jsl | 031d1d49582b492f25de8ef18b52153b3c2d0021 | [
"MIT"
] | null | null | null | src/JoyShockLibrary/__init__.py | NullMember/python-jsl | 031d1d49582b492f25de8ef18b52153b3c2d0021 | [
"MIT"
] | null | null | null | from .JoyShockLibrary import * | 30 | 30 | 0.833333 | 3 | 30 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 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 |
d810d948fc959440a290787ed341cf4efc9e0c9a | 156 | py | Python | app/main/error.py | markmumba/News-highlight | c7a46ac91f0cbb5e56ca4f13cf56518743c6957a | [
"MIT"
] | null | null | null | app/main/error.py | markmumba/News-highlight | c7a46ac91f0cbb5e56ca4f13cf56518743c6957a | [
"MIT"
] | null | null | null | app/main/error.py | markmumba/News-highlight | c7a46ac91f0cbb5e56ca4f13cf56518743c6957a | [
"MIT"
] | null | null | null | from flask import render_template
from . import main
@main.errorhandler(404)
def four_O_four(error):
return render_template('fourOfour.html'),404
| 19.5 | 48 | 0.762821 | 22 | 156 | 5.227273 | 0.681818 | 0.243478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045113 | 0.147436 | 156 | 8 | 49 | 19.5 | 0.819549 | 0 | 0 | 0 | 0 | 0 | 0.089172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d82a097d9d6f0072f77d5a3905a410534644c9a7 | 30 | py | Python | kora/s/__init__.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 91 | 2020-05-26T05:54:51.000Z | 2022-03-09T07:33:44.000Z | kora/s/__init__.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 12 | 2020-10-03T10:09:11.000Z | 2021-03-06T23:12:21.000Z | kora/s/__init__.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 16 | 2020-07-07T18:39:29.000Z | 2021-03-06T03:46:49.000Z | from tensorflow.keras import * | 30 | 30 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 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 |
dc3a5c8f3c15febe012629f6e32a7443bf6a48d4 | 8,712 | py | Python | plot.py | knshen/New-Failure-Detector-in-Data-Center | 4014470f3b70bf5eb2703bbf21feb2fcc6d834bd | [
"MIT"
] | 2 | 2016-09-01T12:51:45.000Z | 2016-09-24T10:49:24.000Z | plot.py | knshen/New-Failure-Detector-in-Data-Center | 4014470f3b70bf5eb2703bbf21feb2fcc6d834bd | [
"MIT"
] | null | null | null | plot.py | knshen/New-Failure-Detector-in-Data-Center | 4014470f3b70bf5eb2703bbf21feb2fcc6d834bd | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
from pylab import *
colors = ['k', 'w', 'r', 'c', 'b', 'm', 'g', 'y']
types = ['-', '/', '|', '\\', '.', '+', '*']
def readData(path):
data = []
file = open(path, 'r')
for line in file.readlines():
data.append(float(line))
return data
# no... | 32.75188 | 116 | 0.594238 | 1,352 | 8,712 | 3.768491 | 0.116864 | 0.04946 | 0.093425 | 0.060059 | 0.862414 | 0.850638 | 0.830226 | 0.761727 | 0.761727 | 0.756428 | 0 | 0.054219 | 0.189164 | 8,712 | 266 | 117 | 32.75188 | 0.667044 | 0.064394 | 0 | 0.597701 | 0 | 0 | 0.198646 | 0.091548 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057471 | false | 0 | 0.017241 | 0 | 0.08046 | 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 |
dc4f710b8c8b66fe349a56716ff504882eac3f14 | 48 | py | Python | scan_models/redlion/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 1 | 2020-05-22T09:52:33.000Z | 2020-05-22T09:52:33.000Z | scan_models/redlion/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 8 | 2021-03-18T21:22:40.000Z | 2022-03-11T23:32:48.000Z | scan_models/redlion/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | null | null | null | from .scan import redlion_scan, redlion_resolve
| 24 | 47 | 0.854167 | 7 | 48 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.906977 | 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 |
dc6c8439ba997cd31ca5b61853484b4d1c8c669d | 31 | py | Python | args.py | jordimassaguerpla/hello_world_python | 3c73d70d02bc4c6446d747b73cc6b41f599ad8cb | [
"MIT"
] | null | null | null | args.py | jordimassaguerpla/hello_world_python | 3c73d70d02bc4c6446d747b73cc6b41f599ad8cb | [
"MIT"
] | null | null | null | args.py | jordimassaguerpla/hello_world_python | 3c73d70d02bc4c6446d747b73cc6b41f599ad8cb | [
"MIT"
] | null | null | null | import sys
print len(sys.argv)
| 10.333333 | 19 | 0.774194 | 6 | 31 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 2 | 20 | 15.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
dcb5186f695c634d6224d51a2e7ce0382ca23845 | 151 | py | Python | tests/conftest.py | chris-t-fernando/stockobjects | cdc8bb512d73a32154cc6fb4ace67110712c8327 | [
"MIT"
] | null | null | null | tests/conftest.py | chris-t-fernando/stockobjects | cdc8bb512d73a32154cc6fb4ace67110712c8327 | [
"MIT"
] | null | null | null | tests/conftest.py | chris-t-fernando/stockobjects | cdc8bb512d73a32154cc6fb4ace67110712c8327 | [
"MIT"
] | null | null | null | #import sys
#from os.path import dirname as d
#from os.path import abspath, join
#root_dir = d(d(abspath(__file__)))
#sys.path.append(root_dir)
| 21.571429 | 36 | 0.715232 | 26 | 151 | 3.923077 | 0.538462 | 0.117647 | 0.196078 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15894 | 151 | 6 | 37 | 25.166667 | 0.80315 | 0.887417 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4bab32c01e191a19926bae49d46dd56d4524ffa | 128 | py | Python | src/prisma/engine/__init__.py | adriangb/prisma-client-py | 80cd2b7b8f688bc8145d4721944962828f8c7aa5 | [
"Apache-2.0"
] | null | null | null | src/prisma/engine/__init__.py | adriangb/prisma-client-py | 80cd2b7b8f688bc8145d4721944962828f8c7aa5 | [
"Apache-2.0"
] | null | null | null | src/prisma/engine/__init__.py | adriangb/prisma-client-py | 80cd2b7b8f688bc8145d4721944962828f8c7aa5 | [
"Apache-2.0"
] | null | null | null | from .errors import *
try:
from .query import *
except ModuleNotFoundError:
# code has not been generated yet
pass
| 16 | 37 | 0.695313 | 16 | 128 | 5.5625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 128 | 7 | 38 | 18.285714 | 0.927083 | 0.242188 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
f4da89159c7f9abbbd7f8333ea6d9c89f34c3b92 | 9,250 | py | Python | libspn/tests/test_inference.py | pronobis/libspn | b98141ea5a609a02706433220758e58f46bd3f5e | [
"MIT"
] | 22 | 2019-03-01T15:58:20.000Z | 2022-02-18T10:32:04.000Z | libspn/tests/test_inference.py | pronobis/libspn | b98141ea5a609a02706433220758e58f46bd3f5e | [
"MIT"
] | 10 | 2019-03-03T18:15:24.000Z | 2021-05-04T09:02:55.000Z | libspn/tests/test_inference.py | pronobis/libspn | b98141ea5a609a02706433220758e58f46bd3f5e | [
"MIT"
] | 8 | 2019-03-22T20:45:20.000Z | 2021-05-03T13:22:09.000Z | #!/usr/bin/env python3
from context import libspn as spn
from test import TestCase
import tensorflow as tf
import numpy as np
class TestInference(TestCase):
def test_marginal_value(self):
"""Calculation of SPN marginal value"""
# Generate SPN
model = spn.Poon11NaiveMixtureModel()
... | 51.388889 | 108 | 0.608108 | 1,137 | 9,250 | 4.654354 | 0.101143 | 0.08768 | 0.087302 | 0.064626 | 0.884543 | 0.829365 | 0.818783 | 0.78099 | 0.769841 | 0.727513 | 0 | 0.015427 | 0.292216 | 9,250 | 179 | 109 | 51.675978 | 0.792882 | 0.066162 | 0 | 0.588652 | 0 | 0 | 0.00093 | 0 | 0 | 0 | 0 | 0 | 0.156028 | 1 | 0.035461 | false | 0 | 0.028369 | 0 | 0.070922 | 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 |
520beccc1e0d9d2ca811d74b55bc1fb3b82b4a48 | 42 | py | Python | app/admin/__init__.py | snrankin/notion2doist | a7658447f54300f932b479fccfd3404e31cda302 | [
"MIT"
] | 3,009 | 2015-10-01T03:29:19.000Z | 2022-03-31T14:52:50.000Z | app/admin/__init__.py | snrankin/notion2doist | a7658447f54300f932b479fccfd3404e31cda302 | [
"MIT"
] | 178 | 2015-09-19T23:38:04.000Z | 2022-01-05T14:19:41.000Z | app/admin/__init__.py | snrankin/notion2doist | a7658447f54300f932b479fccfd3404e31cda302 | [
"MIT"
] | 601 | 2016-01-10T04:11:09.000Z | 2022-03-22T18:07:51.000Z | from app.admin.views import admin # noqa
| 21 | 41 | 0.761905 | 7 | 42 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 1 | 42 | 42 | 0.914286 | 0.095238 | 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 |
524669e8b5a1e8bd8c0f48533d40106b87efbbc0 | 1,409 | py | Python | river_dl/tests/test_post_proc.py | SimonTopp/river-dl | 6356c3f3e8012bc7930909f2b5d6b9f8507225f1 | [
"CC0-1.0"
] | 8 | 2021-05-20T10:39:53.000Z | 2022-03-15T11:12:51.000Z | river_dl/tests/test_post_proc.py | SimonTopp/river-dl | 6356c3f3e8012bc7930909f2b5d6b9f8507225f1 | [
"CC0-1.0"
] | 78 | 2021-05-17T13:50:01.000Z | 2022-03-31T21:09:50.000Z | river_dl/tests/test_post_proc.py | SimonTopp/river-dl | 6356c3f3e8012bc7930909f2b5d6b9f8507225f1 | [
"CC0-1.0"
] | 6 | 2021-05-13T14:23:40.000Z | 2021-12-16T18:06:05.000Z | import numpy as np
import pandas as pd
from postproc_utils import rmse_masked, nse
def test_rmse_masked():
y_true = pd.Series([1, 5, 3, 4, 2])
y_pred = y_true.copy()
err = rmse_masked(y_true, y_pred)
assert err == 0
y_pred = pd.Series([0, 0, 0, 0, 0])
err = rmse_masked(y_true, y_pred)
ass... | 26.584906 | 49 | 0.582683 | 280 | 1,409 | 2.721429 | 0.121429 | 0.124672 | 0.129921 | 0.131234 | 0.850394 | 0.813648 | 0.813648 | 0.769029 | 0.730971 | 0.730971 | 0 | 0.07947 | 0.249823 | 1,409 | 52 | 50 | 27.096154 | 0.641438 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.05 | false | 0 | 0.075 | 0 | 0.125 | 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 |
526670fb825bd67b64a5407c92cd914982b3bf7a | 108 | py | Python | Python/VEI_09.py | lucsap/APC | 344011552dccdf8210d65cee0531460a1a2d6fae | [
"MIT"
] | null | null | null | Python/VEI_09.py | lucsap/APC | 344011552dccdf8210d65cee0531460a1a2d6fae | [
"MIT"
] | null | null | null | Python/VEI_09.py | lucsap/APC | 344011552dccdf8210d65cee0531460a1a2d6fae | [
"MIT"
] | null | null | null | dd, mm, aa = input().split('/')
print(f'{dd}-{mm}-{aa}')
print(f'{mm}-{dd}-{aa}')
print(f'{aa}/{mm}/{dd}')
| 18 | 31 | 0.481481 | 20 | 108 | 2.6 | 0.35 | 0.346154 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 108 | 5 | 32 | 21.6 | 0.525253 | 0 | 0 | 0 | 0 | 0 | 0.398148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
870c0fa318f82e5ca5aa18ce1bdacc625e9fbb24 | 115 | py | Python | mmdet/version.py | M3DV/AlignShift | d35e79ffad8c5bf1a2f5187a411ffe158c77907c | [
"Apache-2.0"
] | 42 | 2020-05-11T03:17:59.000Z | 2022-01-14T16:12:43.000Z | mmdet/version.py | lhlm1994/AlignShift | d35e79ffad8c5bf1a2f5187a411ffe158c77907c | [
"Apache-2.0"
] | 5 | 2020-08-13T03:13:55.000Z | 2021-10-31T21:00:28.000Z | mmdet/version.py | lhlm1994/AlignShift | d35e79ffad8c5bf1a2f5187a411ffe158c77907c | [
"Apache-2.0"
] | 8 | 2020-05-11T03:46:51.000Z | 2022-03-15T09:02:51.000Z | # GENERATED VERSION FILE
# TIME: Tue Sep 28 14:27:47 2021
__version__ = '1.0rc1+c42460f'
short_version = '1.0rc1'
| 19.166667 | 32 | 0.721739 | 19 | 115 | 4.105263 | 0.789474 | 0.205128 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237113 | 0.156522 | 115 | 5 | 33 | 23 | 0.56701 | 0.46087 | 0 | 0 | 1 | 0 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
872b10ddc3f032151e71e3ad51122ac99fcad28d | 164 | py | Python | simulacra/utils/__init__.py | JoshKarpel/simulacra | e5770ced1bef860caec25ce8c77a61ff0bb78907 | [
"MIT"
] | 1 | 2018-05-24T08:01:26.000Z | 2018-05-24T08:01:26.000Z | simulacra/utils/__init__.py | JoshKarpel/simulacra | e5770ced1bef860caec25ce8c77a61ff0bb78907 | [
"MIT"
] | 1 | 2019-10-08T21:03:46.000Z | 2019-10-08T21:03:46.000Z | simulacra/utils/__init__.py | JoshKarpel/simulacra | e5770ced1bef860caec25ce8c77a61ff0bb78907 | [
"MIT"
] | 2 | 2017-07-03T18:33:16.000Z | 2018-10-16T01:52:57.000Z | from .arrays import *
from .filesystem import *
from .formatting import *
from .logging import *
from .memoizers import *
from .misc import *
from .timing import *
| 20.5 | 25 | 0.743902 | 21 | 164 | 5.809524 | 0.428571 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 164 | 7 | 26 | 23.428571 | 0.897059 | 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 |
8734c31c7ef465723cd959c43851cdabc1fcbfea | 6,389 | py | Python | laskarit/viikko2/unicafe/src/tests/kassapaate_test.py | ronituohino/ohte-harjoitustyo | 18eb9033c285d6f826ae0bafe5fec9319401eb82 | [
"MIT"
] | null | null | null | laskarit/viikko2/unicafe/src/tests/kassapaate_test.py | ronituohino/ohte-harjoitustyo | 18eb9033c285d6f826ae0bafe5fec9319401eb82 | [
"MIT"
] | null | null | null | laskarit/viikko2/unicafe/src/tests/kassapaate_test.py | ronituohino/ohte-harjoitustyo | 18eb9033c285d6f826ae0bafe5fec9319401eb82 | [
"MIT"
] | null | null | null | import unittest
from kassapaate import Kassapaate
from maksukortti import Maksukortti
class TestKassapaate(unittest.TestCase):
def setUp(self):
self.kassapaate = Kassapaate()
self.maksukortti_paljon = Maksukortti(1000) # 10€
self.maksukortti_vahan = Maksukortti(100) # 1€
# Alustus
... | 44.992958 | 79 | 0.780091 | 751 | 6,389 | 6.26498 | 0.118509 | 0.148778 | 0.109033 | 0.166419 | 0.838682 | 0.822954 | 0.761105 | 0.71796 | 0.592349 | 0.548353 | 0 | 0.026701 | 0.144154 | 6,389 | 141 | 80 | 45.312057 | 0.833394 | 0.015652 | 0 | 0.47 | 0 | 0 | 0.009554 | 0 | 0 | 0 | 0 | 0 | 0.33 | 1 | 0.34 | false | 0 | 0.03 | 0 | 0.38 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 6 |
876a97b1e79c050bf6d1dc148c9296491ebf96fd | 115 | py | Python | tests/argv.py | tkoziara/parmec | fefe0586798cd65744334f9abeab183159bd3d7a | [
"MIT"
] | null | null | null | tests/argv.py | tkoziara/parmec | fefe0586798cd65744334f9abeab183159bd3d7a | [
"MIT"
] | 15 | 2017-06-09T12:05:27.000Z | 2018-10-25T13:59:58.000Z | tests/argv.py | parmes/parmec | fefe0586798cd65744334f9abeab183159bd3d7a | [
"MIT"
] | null | null | null | print "ARGV() = ", ARGV()
print "ARGV(False) = ", ARGV(False)
print "ARGV(nonparmec='XXX')", ARGV(nonparmec='XXX')
| 28.75 | 52 | 0.634783 | 15 | 115 | 4.866667 | 0.333333 | 0.369863 | 0.438356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 3 | 53 | 38.333333 | 0.715686 | 0 | 0 | 0 | 0 | 0 | 0.408696 | 0.182609 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0d75f1b24a6d9d91dfe057588c2d9ba423f63062 | 328 | py | Python | tests/test_utility.py | idmit/popsim | 0d71958d5b30e2217a895073562bbea981146fc4 | [
"MIT"
] | null | null | null | tests/test_utility.py | idmit/popsim | 0d71958d5b30e2217a895073562bbea981146fc4 | [
"MIT"
] | null | null | null | tests/test_utility.py | idmit/popsim | 0d71958d5b30e2217a895073562bbea981146fc4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
import popsim.utility as ps
@pytest.fixture
def ordered_list():
return list(range(4))
def test_swap(ordered_list):
assert ps.swap(ordered_list, 0, 2) == [2, 1, 0, 3]
def test_repeated_swap(ordered_list):
assert ps.swap(ps.swap(ordered_list, 0, 2), 0, 3) == [3, 1... | 17.263158 | 69 | 0.652439 | 56 | 328 | 3.678571 | 0.428571 | 0.26699 | 0.291262 | 0.203884 | 0.417476 | 0.417476 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.182927 | 328 | 18 | 70 | 18.222222 | 0.708955 | 0.064024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.333333 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0d8c025f488bfe4033fc62886a330d871e97fb0d | 30 | py | Python | storyblok_richtext/__init__.py | stonys/storyblok-python-richtext-renderer | 15ab0cc440503e40df436bb807843a2cf9058c02 | [
"MIT"
] | 1 | 2019-10-22T12:39:40.000Z | 2019-10-22T12:39:40.000Z | storyblok_richtext/__init__.py | stonys/storyblok-python-richtext-renderer | 15ab0cc440503e40df436bb807843a2cf9058c02 | [
"MIT"
] | null | null | null | storyblok_richtext/__init__.py | stonys/storyblok-python-richtext-renderer | 15ab0cc440503e40df436bb807843a2cf9058c02 | [
"MIT"
] | 1 | 2019-12-13T13:37:12.000Z | 2019-12-13T13:37:12.000Z | from .renderer import Richtext | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0db954ae2ad0f48148bfe7ebb7fee7c42633b519 | 46 | py | Python | rlalgorithms_tf2/ppo/__init__.py | unsignedrant/rlalgorithms-tf2 | 9bbd4ba62873044cf7bda5ac01d2d625f1e32e67 | [
"MIT"
] | 4 | 2022-02-04T23:24:43.000Z | 2022-02-25T10:09:24.000Z | rlalgorithms_tf2/ppo/__init__.py | unsignedrant/rlalgorithms-tf2 | 9bbd4ba62873044cf7bda5ac01d2d625f1e32e67 | [
"MIT"
] | 1 | 2022-02-02T22:52:23.000Z | 2022-02-02T22:52:23.000Z | rlalgorithms_tf2/ppo/__init__.py | unsignedrant/rlalgorithms-tf2 | 9bbd4ba62873044cf7bda5ac01d2d625f1e32e67 | [
"MIT"
] | 2 | 2022-02-05T15:28:11.000Z | 2022-02-16T01:20:16.000Z | from rlalgorithms_tf2.ppo.cli import cli_args
| 23 | 45 | 0.869565 | 8 | 46 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.086957 | 46 | 1 | 46 | 46 | 0.880952 | 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 |
0dc0b840141ba9c66747afbe09a0970182b96577 | 114 | py | Python | readthedocs/conftest.py | mforbes/readthedocs.org | 92f6224a67648a6d27e7a295973c2718d07cee11 | [
"MIT"
] | 2 | 2021-05-16T06:57:15.000Z | 2021-05-16T06:57:18.000Z | readthedocs/conftest.py | mforbes/readthedocs.org | 92f6224a67648a6d27e7a295973c2718d07cee11 | [
"MIT"
] | 12 | 2021-03-21T13:16:50.000Z | 2022-03-12T00:55:05.000Z | readthedocs/conftest.py | mforbes/readthedocs.org | 92f6224a67648a6d27e7a295973c2718d07cee11 | [
"MIT"
] | 1 | 2020-05-23T18:27:58.000Z | 2020-05-23T18:27:58.000Z | import pytest
from rest_framework.test import APIClient
@pytest.fixture
def api_client():
return APIClient()
| 16.285714 | 41 | 0.789474 | 15 | 114 | 5.866667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 114 | 6 | 42 | 19 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0dc76ed5462d234828f8f71ed1584ed4d01ee1d8 | 22 | py | Python | sfepy/physics/__init__.py | olivierverdier/sfepy | 83aefb7b33ea17f4acb83388ba8bc7314c77616c | [
"BSD-3-Clause"
] | 1 | 2015-07-30T13:47:23.000Z | 2015-07-30T13:47:23.000Z | sfepy/physics/__init__.py | olivierverdier/sfepy | 83aefb7b33ea17f4acb83388ba8bc7314c77616c | [
"BSD-3-Clause"
] | null | null | null | sfepy/physics/__init__.py | olivierverdier/sfepy | 83aefb7b33ea17f4acb83388ba8bc7314c77616c | [
"BSD-3-Clause"
] | null | null | null | from extmods import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
218caa5663aa997d64589a36caedff3581d7f8eb | 140 | py | Python | odml/tools/converters/__init__.py | essink/python-odml | 7591c077d5e1baf9b36973ed550b877996dfa44f | [
"BSD-4-Clause"
] | 23 | 2017-01-30T07:13:40.000Z | 2021-02-16T08:10:09.000Z | odml/tools/converters/__init__.py | essink/python-odml | 7591c077d5e1baf9b36973ed550b877996dfa44f | [
"BSD-4-Clause"
] | 373 | 2015-02-13T19:15:30.000Z | 2021-12-06T11:25:21.000Z | odml/tools/converters/__init__.py | essink/python-odml | 7591c077d5e1baf9b36973ed550b877996dfa44f | [
"BSD-4-Clause"
] | 26 | 2015-06-02T13:27:24.000Z | 2022-03-20T19:13:11.000Z | from .version_converter import VersionConverter
# FormatConverter depends on VersionConverter
from .format_converter import FormatConverter
| 35 | 47 | 0.885714 | 14 | 140 | 8.714286 | 0.642857 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092857 | 140 | 3 | 48 | 46.666667 | 0.96063 | 0.307143 | 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 |
21c82af547a2eddbddfd760b257c7dc064ef3fe9 | 33 | py | Python | funwithconsole/__init__.py | cccaaannn/funwithconsole | c6ec718b43fb54ac8bb49a74e1f90658bea63e42 | [
"MIT"
] | null | null | null | funwithconsole/__init__.py | cccaaannn/funwithconsole | c6ec718b43fb54ac8bb49a74e1f90658bea63e42 | [
"MIT"
] | null | null | null | funwithconsole/__init__.py | cccaaannn/funwithconsole | c6ec718b43fb54ac8bb49a74e1f90658bea63e42 | [
"MIT"
] | null | null | null | from .funwithconsole import draw
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
21e90fde3a596cfe2131395badada01d16646553 | 153 | py | Python | run_generator.py | vasapap/StyleGAN2 | eeb633744f022e23469a2360440a469d8d2e26ef | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | vasapap/StyleGAN2 | eeb633744f022e23469a2360440a469d8d2e26ef | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | vasapap/StyleGAN2 | eeb633744f022e23469a2360440a469d8d2e26ef | [
"BSD-Source-Code"
] | null | null | null | import os
os.system("pip install git")
os.system("pip install git+https://github.com/demotomohiro/remocolab.git")
import remocolab
remocolab.setupSSHD()
| 25.5 | 74 | 0.79085 | 22 | 153 | 5.5 | 0.545455 | 0.132231 | 0.181818 | 0.297521 | 0.347107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071895 | 153 | 5 | 75 | 30.6 | 0.852113 | 0 | 0 | 0 | 0 | 0 | 0.496732 | 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 |
0dfd53b3f443240e3ced6b89a7f8282f4db6bf66 | 26,644 | py | Python | pytests/tuqquery/tuq_curl_whitelist.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null | pytests/tuqquery/tuq_curl_whitelist.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null | pytests/tuqquery/tuq_curl_whitelist.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null | import logging
import threading
import json
import uuid
import time
import os
from tuq import QueryTests
from membase.api.rest_client import RestConnection
from membase.api.exception import CBQError, ReadDocumentException
from remote.remote_util import RemoteMachineShellConnection
from security.rbac_base import RbacBa... | 64.985366 | 140 | 0.599159 | 3,082 | 26,644 | 4.988319 | 0.087281 | 0.052556 | 0.037466 | 0.02914 | 0.805256 | 0.780994 | 0.777677 | 0.762196 | 0.750033 | 0.743138 | 0 | 0.007638 | 0.257994 | 26,644 | 410 | 141 | 64.985366 | 0.770005 | 0.018015 | 0 | 0.660661 | 0 | 0.057057 | 0.282024 | 0.070333 | 0 | 0 | 0 | 0 | 0.099099 | 1 | 0.06006 | false | 0.03003 | 0.033033 | 0 | 0.096096 | 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 |
df09185d0eb71ecafc4ee7d52dd6cf635070884a | 18 | py | Python | python/testData/inspections/PyUnresolvedReferencesInspection/WildcardIgnorePatternReferenceForNestedBinaryModule/site-packages/pkg/__init__.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/WildcardIgnorePatternReferenceForNestedBinaryModule/site-packages/pkg/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/WildcardIgnorePatternReferenceForNestedBinaryModule/site-packages/pkg/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from .mod import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
df2b7a1287954560ab777f58f535eead0447549f | 9,064 | py | Python | tests/test_coverage.py | bionic-program/pyppeteer2 | 5cbcb2b70cfa9e501331d67be88f5006ce9f65ae | [
"MIT"
] | null | null | null | tests/test_coverage.py | bionic-program/pyppeteer2 | 5cbcb2b70cfa9e501331d67be88f5006ce9f65ae | [
"MIT"
] | null | null | null | tests/test_coverage.py | bionic-program/pyppeteer2 | 5cbcb2b70cfa9e501331d67be88f5006ce9f65ae | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from syncer import sync
class TestJSCoverage:
@sync
async def test_js_coverage(self):
await self.page.coverage.startJSCoverage()
await self.page.goto(
self.url + 'assets/jscoverage/simple.html', waitUntil='networkidle0',
)
... | 41.577982 | 96 | 0.644638 | 1,060 | 9,064 | 5.433962 | 0.116981 | 0.11875 | 0.171528 | 0.160417 | 0.83125 | 0.812326 | 0.765799 | 0.723785 | 0.668056 | 0.638194 | 0 | 0.014911 | 0.22308 | 9,064 | 217 | 97 | 41.769585 | 0.803039 | 0.011253 | 0 | 0.57672 | 0 | 0 | 0.139891 | 0.088311 | 0 | 0 | 0 | 0 | 0.232804 | 1 | 0 | false | 0 | 0.005291 | 0 | 0.015873 | 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 |
df2e4ea81c5cef8217114aa52e320582b95b675b | 21 | py | Python | ekorpkit/preprocessors/kss/__init__.py | entelecheia/eKorpKit | 9521ae4c4749419fa2b088d1b9e518e5927b7cb8 | [
"CC-BY-4.0"
] | 4 | 2022-02-26T10:54:16.000Z | 2022-02-26T11:01:56.000Z | ekorpkit/preprocessors/kss/__init__.py | entelecheia/eKorpKit | 9521ae4c4749419fa2b088d1b9e518e5927b7cb8 | [
"CC-BY-4.0"
] | 1 | 2022-03-25T06:37:12.000Z | 2022-03-25T06:45:53.000Z | ekorpkit/preprocessors/kss/__init__.py | entelecheia/eKorpKit | 9521ae4c4749419fa2b088d1b9e518e5927b7cb8 | [
"CC-BY-4.0"
] | null | null | null | from .kss import KSS
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df3b3833d04a33f2e0fa428997c6470853bf8010 | 31 | py | Python | venv/Lib/site-packages/psychopy/app/runner/__init__.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | venv/Lib/site-packages/psychopy/app/runner/__init__.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | venv/Lib/site-packages/psychopy/app/runner/__init__.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | from .runner import RunnerFrame | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 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 |
df3cba3f041fd71dd0633cf4feb2f5fb759b34e4 | 46 | py | Python | data/db.py | dairazuaje/Quiz-Application | ce9f53640e76a7616412f21082f2a8dea36881ea | [
"MIT"
] | null | null | null | data/db.py | dairazuaje/Quiz-Application | ce9f53640e76a7616412f21082f2a8dea36881ea | [
"MIT"
] | null | null | null | data/db.py | dairazuaje/Quiz-Application | ce9f53640e76a7616412f21082f2a8dea36881ea | [
"MIT"
] | null | null | null | def test_function():
print("This worked!") | 23 | 25 | 0.673913 | 6 | 46 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 25 | 23 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
df60dc6006807f9d6772df1618c30b39df6a179c | 145 | py | Python | rito/senders/att.py | NQNStudios/rito | fc88663fbf5611ff403b8579ca0e7569c8aed9b2 | [
"MIT"
] | null | null | null | rito/senders/att.py | NQNStudios/rito | fc88663fbf5611ff403b8579ca0e7569c8aed9b2 | [
"MIT"
] | 2 | 2021-07-08T19:08:45.000Z | 2021-07-08T19:08:57.000Z | rito/senders/att.py | NQNStudios/rito | fc88663fbf5611ff403b8579ca0e7569c8aed9b2 | [
"MIT"
] | null | null | null | from rito.senders import migadu
def send_message(to_number, text):
migadu.send_message("{}@{}".format(to_number, "txt.att.net"), text + " ") | 36.25 | 77 | 0.696552 | 21 | 145 | 4.619048 | 0.714286 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117241 | 145 | 4 | 77 | 36.25 | 0.757813 | 0 | 0 | 0 | 0 | 0 | 0.116438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df709b09ebc32e3bc5445aac80b23451e692b348 | 160 | py | Python | app/alipay/__init__.py | zjyfdu/flask_huxiaofei | 2193bfe0aa45626fdb4b270f7532a1e04c5be556 | [
"MIT"
] | null | null | null | app/alipay/__init__.py | zjyfdu/flask_huxiaofei | 2193bfe0aa45626fdb4b270f7532a1e04c5be556 | [
"MIT"
] | null | null | null | app/alipay/__init__.py | zjyfdu/flask_huxiaofei | 2193bfe0aa45626fdb4b270f7532a1e04c5be556 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# author: zhaijinyuan
# date: 2018/1/9 下午8:50
from flask import Blueprint
alipay = Blueprint('alipay', __name__)
from . import views
| 16 | 38 | 0.6875 | 22 | 160 | 4.818182 | 0.818182 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075188 | 0.16875 | 160 | 9 | 39 | 17.777778 | 0.721805 | 0.39375 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1d6e84dc12eb87fea97b32344fd6a5578d8a8000 | 200 | py | Python | oscar/apps/partner/tests/__init__.py | owad/django-oscar | cfa69e37dc9abc97a7aff5c8616da319e1771008 | [
"BSD-3-Clause"
] | 1 | 2022-03-17T19:26:13.000Z | 2022-03-17T19:26:13.000Z | oscar/apps/partner/tests/__init__.py | aykut/django-oscar | ca3629e74ea1e0affc55d3de4e97f523e352d267 | [
"BSD-3-Clause"
] | null | null | null | oscar/apps/partner/tests/__init__.py | aykut/django-oscar | ca3629e74ea1e0affc55d3de4e97f523e352d267 | [
"BSD-3-Clause"
] | 1 | 2019-03-23T10:26:02.000Z | 2019-03-23T10:26:02.000Z | from oscar.apps.partner.tests.model_tests import *
from oscar.apps.partner.tests.import_catalogue import *
__test__ = {
'model_tests': [model_tests],
'import_catalogue': [import_catalogue],
} | 28.571429 | 55 | 0.755 | 25 | 200 | 5.64 | 0.36 | 0.212766 | 0.184397 | 0.283688 | 0.35461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 200 | 7 | 56 | 28.571429 | 0.801136 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d52ffadfd6b29c15eeff7e5c082c59424686216f | 79,635 | py | Python | models/modeling_auxseq.py | jiangycTarheel/Compositional-Auxseq | e4645a92c21c893cd320eb186c19d392bc147b43 | [
"MIT"
] | 8 | 2021-10-02T00:08:27.000Z | 2022-02-15T17:23:14.000Z | models/modeling_auxseq.py | jiangycTarheel/compositional-auxseq | e4645a92c21c893cd320eb186c19d392bc147b43 | [
"MIT"
] | null | null | null | models/modeling_auxseq.py | jiangycTarheel/compositional-auxseq | e4645a92c21c893cd320eb186c19d392bc147b43 | [
"MIT"
] | null | null | null | # coding=utf-8
# Copyright 2018 Mesh TensorFlow authors, T5 Authors and HuggingFace Inc. team.
#
# 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... | 47.88635 | 269 | 0.668487 | 10,219 | 79,635 | 4.905177 | 0.058518 | 0.021386 | 0.023221 | 0.022623 | 0.824702 | 0.78961 | 0.755676 | 0.737661 | 0.713183 | 0.695408 | 0 | 0.012781 | 0.251359 | 79,635 | 1,662 | 270 | 47.915162 | 0.828005 | 0.293464 | 0 | 0.673352 | 0 | 0.002865 | 0.046104 | 0.005695 | 0 | 0 | 0 | 0.001805 | 0.029608 | 1 | 0.0468 | false | 0 | 0.011461 | 0.015282 | 0.108883 | 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 |
d56af6979edb25048690b78b1fac8ef8a7b6cb90 | 95 | py | Python | src/consNLP/preprocessing/__init__.py | victor7246/consNLP | b243bb3ed6edc4b68a4cdbaf5503107a1864ad7e | [
"MIT"
] | 2 | 2020-08-11T12:46:48.000Z | 2021-01-08T16:18:26.000Z | src/consNLP/preprocessing/__init__.py | victor7246/consNLP | b243bb3ed6edc4b68a4cdbaf5503107a1864ad7e | [
"MIT"
] | null | null | null | src/consNLP/preprocessing/__init__.py | victor7246/consNLP | b243bb3ed6edc4b68a4cdbaf5503107a1864ad7e | [
"MIT"
] | null | null | null | from .custom_tokenizer import *
from .sentence_embedding import *
from .word_embedding import * | 31.666667 | 33 | 0.821053 | 12 | 95 | 6.25 | 0.583333 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 3 | 34 | 31.666667 | 0.892857 | 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 |
634afb1906935ccc6884400313e0cdcb0d187472 | 157 | py | Python | Code/GraphEvoDef/metrics_generation/utilities/JSMAnalysis-JMetrics-d9b7378/jmetrics/scripts/retrieve_csv_data.py | vijaybw/graphevodef | 5dcde8ea6b5a754fa15a370fe3bc73e4bd0a94a9 | [
"MIT"
] | null | null | null | Code/GraphEvoDef/metrics_generation/utilities/JSMAnalysis-JMetrics-d9b7378/jmetrics/scripts/retrieve_csv_data.py | vijaybw/graphevodef | 5dcde8ea6b5a754fa15a370fe3bc73e4bd0a94a9 | [
"MIT"
] | null | null | null | Code/GraphEvoDef/metrics_generation/utilities/JSMAnalysis-JMetrics-d9b7378/jmetrics/scripts/retrieve_csv_data.py | vijaybw/graphevodef | 5dcde8ea6b5a754fa15a370fe3bc73e4bd0a94a9 | [
"MIT"
] | null | null | null | import numpy as np
def retrieve_data(file, usecols):
return np.genfromtxt(file, delimiter=';', dtype=None, encoding=None, names=True, usecols=usecols)
| 26.166667 | 101 | 0.745223 | 22 | 157 | 5.272727 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127389 | 157 | 5 | 102 | 31.4 | 0.846715 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
638509f043f9b884baed7435b2502e3e6fefe833 | 106 | py | Python | python_basics/src/7_method/pizza.py | YingVickyCao/testPython | c7ee69b1ba163370e750cb9b1b3d908223e05694 | [
"Apache-2.0"
] | null | null | null | python_basics/src/7_method/pizza.py | YingVickyCao/testPython | c7ee69b1ba163370e750cb9b1b3d908223e05694 | [
"Apache-2.0"
] | null | null | null | python_basics/src/7_method/pizza.py | YingVickyCao/testPython | c7ee69b1ba163370e750cb9b1b3d908223e05694 | [
"Apache-2.0"
] | null | null | null | def make_pizza(*toppings):
print(toppings)
# for item in toppings:
# print("Add " + item)
| 21.2 | 30 | 0.59434 | 13 | 106 | 4.769231 | 0.692308 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273585 | 106 | 4 | 31 | 26.5 | 0.805195 | 0.433962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
638666cf245ba99df77937f53121f800f6d7b814 | 1,730 | py | Python | test.py | irahorecka/barcode-levenshtein-search | ae9a22ffd66e19105d98beea0db091d209d70d2e | [
"MIT"
] | null | null | null | test.py | irahorecka/barcode-levenshtein-search | ae9a22ffd66e19105d98beea0db091d209d70d2e | [
"MIT"
] | null | null | null | test.py | irahorecka/barcode-levenshtein-search | ae9a22ffd66e19105d98beea0db091d209d70d2e | [
"MIT"
] | null | null | null | import os
import re
from pytrie.data import open_csv, open_fastq
from pytrie.trie import TrieNode, search
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
DATA_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), "data")
# Gets that only have nucleotides
SEQUENCE_RE = re.compile("^[actg]*$", re.IGNORE... | 38.444444 | 82 | 0.817919 | 137 | 1,730 | 10.058394 | 0.379562 | 1.175617 | 1.645864 | 2.037736 | 0.676343 | 0.676343 | 0.676343 | 0.676343 | 0.626996 | 0.626996 | 0 | 0.005754 | 0.095954 | 1,730 | 44 | 83 | 39.318182 | 0.87532 | 0.030058 | 0 | 0.470588 | 0 | 0 | 0.559403 | 0.54209 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0.029412 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63a7b4783087322f4100fe4504b8d4059074f7d0 | 42 | py | Python | simple_process_injection/windows/src/artifacts/scripts/rivergumsecurity/process_injection_method1/__init__.py | scythe-io/community-modules | bc0d16e30a928f3ba11aecfa6cbac760b1de529b | [
"MIT"
] | 2 | 2022-03-14T18:48:04.000Z | 2022-03-25T14:37:23.000Z | simple_process_injection/windows/src/artifacts/scripts/rivergumsecurity/process_injection_method1/__init__.py | scythe-io/community-modules | bc0d16e30a928f3ba11aecfa6cbac760b1de529b | [
"MIT"
] | null | null | null | simple_process_injection/windows/src/artifacts/scripts/rivergumsecurity/process_injection_method1/__init__.py | scythe-io/community-modules | bc0d16e30a928f3ba11aecfa6cbac760b1de529b | [
"MIT"
] | null | null | null | from .process_injection_method1 import *
| 21 | 41 | 0.833333 | 5 | 42 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.119048 | 42 | 1 | 42 | 42 | 0.864865 | 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 |
89355f07d4e347ba124bff2aae0d4c5a9e3e9c15 | 96 | py | Python | venv/lib/python3.8/site-packages/pyls_jsonrpc/exceptions.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pyls_jsonrpc/exceptions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pyls_jsonrpc/exceptions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/97/46/55/d6770b287b587f2f6d07e2b11ba6ffdbfdf255149cfe8a01e4e14f3799 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
894bdb8579449c1d9ab3c6e0b0d6f2ccd54ae27d | 243 | py | Python | warpwallet/__init__.py | arturoleon/warp-wallet-python | bffa9cd7fd334fc16728628d6d7c757b9c1e545b | [
"MIT"
] | 6 | 2016-11-25T20:24:24.000Z | 2017-12-27T23:30:38.000Z | warpwallet/__init__.py | arturoleon/warp-wallet-python | bffa9cd7fd334fc16728628d6d7c757b9c1e545b | [
"MIT"
] | 4 | 2017-09-25T01:42:59.000Z | 2021-06-09T23:55:52.000Z | warpwallet/__init__.py | arturoleon/warp-wallet-python | bffa9cd7fd334fc16728628d6d7c757b9c1e545b | [
"MIT"
] | 6 | 2016-09-11T16:41:24.000Z | 2021-02-25T06:33:48.000Z | from wallet import generate_keypair
from key_utils import privkey_to_pubkey
from key_utils import pubkey_to_addr
from key_utils import key_to_addr
from key_utils import privkey_to_wif
from key_utils import wif_to_privkey
name = "warpwallet"
| 24.3 | 39 | 0.868313 | 42 | 243 | 4.642857 | 0.333333 | 0.179487 | 0.307692 | 0.461538 | 0.430769 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119342 | 243 | 9 | 40 | 27 | 0.911215 | 0 | 0 | 0 | 1 | 0 | 0.041152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89587700d5259793bc9ace3957f52e324c3f637c | 49 | py | Python | ambuild2/frontend/v2_1/__init__.py | Accelerator74/ambuild | b322668b7ee4063d2443623bc2b777cfad1695c1 | [
"BSD-3-Clause"
] | 34 | 2015-02-11T19:43:01.000Z | 2022-01-24T10:18:54.000Z | ambuild2/frontend/v2_1/__init__.py | Accelerator74/ambuild | b322668b7ee4063d2443623bc2b777cfad1695c1 | [
"BSD-3-Clause"
] | 64 | 2015-02-06T19:54:22.000Z | 2021-11-07T11:42:47.000Z | ambuild2/frontend/v2_1/__init__.py | Accelerator74/ambuild | b322668b7ee4063d2443623bc2b777cfad1695c1 | [
"BSD-3-Clause"
] | 32 | 2015-02-06T19:36:51.000Z | 2021-12-01T22:05:28.000Z | from ambuild2.frontend.v2_1.prep import Preparer
| 24.5 | 48 | 0.857143 | 8 | 49 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.081633 | 49 | 1 | 49 | 49 | 0.844444 | 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 |
896aea378bd3bfb7b27395abebf4669dd6e654a2 | 17,296 | py | Python | tests/tests_build/commands/test_register.py | Anbang-Hu/shrike | 78189984c85696a9a9feaadb72aa471cf2409796 | [
"MIT"
] | null | null | null | tests/tests_build/commands/test_register.py | Anbang-Hu/shrike | 78189984c85696a9a9feaadb72aa471cf2409796 | [
"MIT"
] | null | null | null | tests/tests_build/commands/test_register.py | Anbang-Hu/shrike | 78189984c85696a9a9feaadb72aa471cf2409796 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
"""
Unit tests for the `register` module.
Consider decorating long end-to-end tests with `@pytest.mark.order(-1)`.
"""
import os
import pytest
import subprocess
import yaml
from random import uniform
from pathlib import Path
from shrike.build... | 34.730924 | 174 | 0.675301 | 2,201 | 17,296 | 5.084053 | 0.116765 | 0.016622 | 0.028954 | 0.025737 | 0.830563 | 0.7916 | 0.771224 | 0.758266 | 0.709562 | 0.687846 | 0 | 0.009213 | 0.209239 | 17,296 | 497 | 175 | 34.800805 | 0.808949 | 0.110199 | 0 | 0.597796 | 0 | 0.00551 | 0.230614 | 0.036588 | 0 | 0 | 0 | 0 | 0.104683 | 1 | 0.033058 | false | 0 | 0.024793 | 0 | 0.060606 | 0.002755 | 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 |
89b3cd84719156f38648bab0ac1c79f1ce7913c3 | 43 | py | Python | src/__init__.py | Tclavier88/pseudo_conseil_etat | 474bb30cd1b04fd13f575a527c6a0a198e7ddb26 | [
"MIT"
] | 4 | 2020-03-28T14:44:23.000Z | 2022-02-01T14:01:34.000Z | src/__init__.py | Tclavier88/pseudo_conseil_etat | 474bb30cd1b04fd13f575a527c6a0a198e7ddb26 | [
"MIT"
] | null | null | null | src/__init__.py | Tclavier88/pseudo_conseil_etat | 474bb30cd1b04fd13f575a527c6a0a198e7ddb26 | [
"MIT"
] | 1 | 2020-02-05T17:57:39.000Z | 2020-02-05T17:57:39.000Z | # from . import models
# from . import data | 21.5 | 22 | 0.697674 | 6 | 43 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 2 | 23 | 21.5 | 0.882353 | 0.906977 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
987081bfedce1ae8bafadf431adc0a981ad3e874 | 6,389 | py | Python | tests/test_converters.py | FynnBe/tiktorch | 60c6fa9700e7ff73e44338e8755c56c6e8846f2f | [
"MIT"
] | null | null | null | tests/test_converters.py | FynnBe/tiktorch | 60c6fa9700e7ff73e44338e8755c56c6e8846f2f | [
"MIT"
] | null | null | null | tests/test_converters.py | FynnBe/tiktorch | 60c6fa9700e7ff73e44338e8755c56c6e8846f2f | [
"MIT"
] | null | null | null | import numpy as np
import pytest
import xarray as xr
from numpy.testing import assert_array_equal
from tiktorch.converters import numpy_to_pb_tensor, pb_tensor_to_numpy, pb_tensor_to_xarray, xarray_to_pb_tensor
from tiktorch.proto import inference_pb2
def _numpy_to_pb_tensor(arr):
"""
Makes sure that tensor ... | 36.301136 | 119 | 0.662075 | 873 | 6,389 | 4.568156 | 0.106529 | 0.084253 | 0.057673 | 0.058676 | 0.850301 | 0.814193 | 0.809679 | 0.778084 | 0.742728 | 0.688816 | 0 | 0.027184 | 0.216935 | 6,389 | 175 | 120 | 36.508571 | 0.769938 | 0.023791 | 0 | 0.697674 | 0 | 0 | 0.02413 | 0 | 0 | 0 | 0 | 0 | 0.178295 | 1 | 0.170543 | false | 0 | 0.046512 | 0 | 0.271318 | 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 |
7f317ede56bd43240c89a50174cc2cd9db5b1c3b | 184 | py | Python | service/src/features/bev/__init__.py | fjacob21/MAX | 9cd9766262b49e9b1d425feb63e43b5d58707fd6 | [
"MIT"
] | null | null | null | service/src/features/bev/__init__.py | fjacob21/MAX | 9cd9766262b49e9b1d425feb63e43b5d58707fd6 | [
"MIT"
] | null | null | null | service/src/features/bev/__init__.py | fjacob21/MAX | 9cd9766262b49e9b1d425feb63e43b5d58707fd6 | [
"MIT"
] | null | null | null | import MAX
from .eg_bev_feature import eg_bev_feature
print('Loading bev feature')
MAX.features.register('bev', 1, 'Control Bell ExpressVu using evenghost receiver', eg_bev_feature)
| 26.285714 | 98 | 0.804348 | 28 | 184 | 5.071429 | 0.607143 | 0.28169 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.108696 | 184 | 6 | 99 | 30.666667 | 0.859756 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7f3edd917164c6b2a091c2a36df2a0ed89661ed3 | 36 | py | Python | cryptogym/__init__.py | alantess/cryptogym | ddd3f90a3841ffa59e406930f3e47aea570b4e24 | [
"MIT"
] | null | null | null | cryptogym/__init__.py | alantess/cryptogym | ddd3f90a3841ffa59e406930f3e47aea570b4e24 | [
"MIT"
] | null | null | null | cryptogym/__init__.py | alantess/cryptogym | ddd3f90a3841ffa59e406930f3e47aea570b4e24 | [
"MIT"
] | null | null | null | from cryptogym.env import cryptoEnv
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f42b4a61fbf945737dad61d4d2165ad417b07d6 | 6,956 | py | Python | tests/test_ordering.py | mrbean-bremen/pytest-order | 50cb2f3735b6e6a02046f44eefc928e6a9da5268 | [
"MIT"
] | 12 | 2020-11-17T16:58:05.000Z | 2021-06-08T06:26:37.000Z | tests/test_ordering.py | mrbean-bremen/pytest-order | 50cb2f3735b6e6a02046f44eefc928e6a9da5268 | [
"MIT"
] | 8 | 2020-10-24T18:34:43.000Z | 2021-03-04T08:08:19.000Z | tests/test_ordering.py | mrbean-bremen/pytest-order | 50cb2f3735b6e6a02046f44eefc928e6a9da5268 | [
"MIT"
] | 1 | 2020-12-07T12:29:47.000Z | 2020-12-07T12:29:47.000Z | # -*- coding: utf-8 -*-
import pytest
def test_no_marks(item_names_for):
tests_content = """
def test_1(): pass
def test_2(): pass
"""
assert item_names_for(tests_content) == ["test_1", "test_2"]
def test_first_mark(item_names_for):
tests_content = """
import pytest
def test_1():... | 19.268698 | 78 | 0.589132 | 939 | 6,956 | 4.053248 | 0.071353 | 0.150815 | 0.17341 | 0.125066 | 0.873358 | 0.843931 | 0.803731 | 0.696006 | 0.647662 | 0.645297 | 0 | 0.028645 | 0.272283 | 6,956 | 360 | 79 | 19.322222 | 0.723232 | 0.003019 | 0 | 0.79476 | 0 | 0 | 0.58849 | 0.151305 | 0 | 0 | 0 | 0 | 0.09607 | 1 | 0.082969 | false | 0.262009 | 0.082969 | 0 | 0.165939 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7f8f249d962816e1a98892dde8753527ed984ae5 | 19 | py | Python | musicpro/views/reporteriaLog.py | Felipeplz/MusicPro | 1cad63aef4d36f206aeaba9148b097ae1020aeb7 | [
"MIT"
] | null | null | null | musicpro/views/reporteriaLog.py | Felipeplz/MusicPro | 1cad63aef4d36f206aeaba9148b097ae1020aeb7 | [
"MIT"
] | null | null | null | musicpro/views/reporteriaLog.py | Felipeplz/MusicPro | 1cad63aef4d36f206aeaba9148b097ae1020aeb7 | [
"MIT"
] | null | null | null | from .conn import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f92e4e7c3ea95c757163e13bce73ac34665131b | 87 | py | Python | cnns/foolbox/foolbox_2_3_0/v1/__init__.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | 12 | 2021-07-27T07:18:24.000Z | 2022-03-09T13:52:20.000Z | cnns/foolbox/foolbox_2_3_0/v1/__init__.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | 2 | 2021-08-03T09:21:33.000Z | 2021-12-29T14:25:30.000Z | cnns/foolbox/foolbox_2_3_0/v1/__init__.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | 3 | 2021-11-18T14:46:40.000Z | 2022-01-03T15:47:23.000Z | from . import attacks # noqa: F401
from .adversarial import Adversarial # noqa: F401
| 29 | 50 | 0.747126 | 11 | 87 | 5.909091 | 0.545455 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0.183908 | 87 | 2 | 51 | 43.5 | 0.830986 | 0.241379 | 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 |
f6b329823a7f13a914190ec36fab75d968d45c17 | 23,478 | py | Python | tests.py | arrai-innovations/argparse-color-formatter | d0d95d9c16974b54b5c2588636d3341c876e5108 | [
"BSD-3-Clause"
] | 9 | 2018-09-19T21:54:37.000Z | 2021-11-29T21:23:23.000Z | tests.py | arrai-innovations/argparse-color-formatter | d0d95d9c16974b54b5c2588636d3341c876e5108 | [
"BSD-3-Clause"
] | 1 | 2018-07-16T23:02:38.000Z | 2018-07-16T23:02:38.000Z | tests.py | arrai-innovations/argparse-color-formatter | d0d95d9c16974b54b5c2588636d3341c876e5108 | [
"BSD-3-Clause"
] | 1 | 2022-01-23T10:50:59.000Z | 2022-01-23T10:50:59.000Z | # Copyright (c) 2017, Emergence by Design Inc.
import argparse
import os
import sys
from collections import OrderedDict
from functools import partial
from unittest import TestCase
from unittest import skipIf
import six
from colors import bold
from colors import color
from colors import underline
from six import Strin... | 42.843066 | 120 | 0.526408 | 2,566 | 23,478 | 4.697194 | 0.087685 | 0.032108 | 0.046378 | 0.067784 | 0.832324 | 0.807434 | 0.776321 | 0.750684 | 0.740148 | 0.736331 | 0 | 0.032875 | 0.36515 | 23,478 | 547 | 121 | 42.921389 | 0.77578 | 0.008476 | 0 | 0.691532 | 0 | 0.006048 | 0.414601 | 0.007476 | 0 | 0 | 0 | 0 | 0.044355 | 1 | 0.048387 | false | 0 | 0.03629 | 0.002016 | 0.094758 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.