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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5d5014ebecaf2af412ed34b6eb6159853206755d | 202 | py | Python | students/k3342/practical_works/Litvinova_Elizaveta/simple_django_web_project/django_project_litvinova/project_first_app/admin.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 10 | 2020-03-20T09:06:12.000Z | 2021-07-27T13:06:02.000Z | students/k3342/practical_works/Litvinova_Elizaveta/simple_django_web_project/django_project_litvinova/project_first_app/admin.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 134 | 2020-03-23T09:47:48.000Z | 2022-03-12T01:05:19.000Z | students/k3342/practical_works/Litvinova_Elizaveta/simple_django_web_project/django_project_litvinova/project_first_app/admin.py | TonikX/ITMO_ICT_-WebProgramming_2020 | ba566c1b3ab04585665c69860b713741906935a0 | [
"MIT"
] | 71 | 2020-03-20T12:45:56.000Z | 2021-10-31T19:22:25.000Z | from django.contrib import admin
from .models import *
# Register your models here.
admin.site.register(User)
admin.site.register(Auto)
admin.site.register(Ownership)
admin.site.register(OwnerLicense)
| 22.444444 | 33 | 0.806931 | 28 | 202 | 5.821429 | 0.5 | 0.220859 | 0.417178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 202 | 8 | 34 | 25.25 | 0.88587 | 0.128713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5d553ccb656bf5bf1fbe783569cb39621abd5b45 | 8,487 | py | Python | movies/utils.py | Saifur43/Movie-Success-Prediction | 6a8061c11d8079143b6a745548758bd1fafff4b3 | [
"MIT"
] | 7 | 2019-04-17T13:07:11.000Z | 2022-01-02T06:43:13.000Z | movies/utils.py | Saifur43/Movie-Success-Prediction | 6a8061c11d8079143b6a745548758bd1fafff4b3 | [
"MIT"
] | null | null | null | movies/utils.py | Saifur43/Movie-Success-Prediction | 6a8061c11d8079143b6a745548758bd1fafff4b3 | [
"MIT"
] | 3 | 2019-11-01T13:50:45.000Z | 2020-06-29T08:56:49.000Z | from bs4 import BeautifulSoup
from urllib import request
from .models import Star, Movies, Director, Genre
import youtube_dl
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
def imdb_scrapper():
url = "https://www.imdb.com/movies-coming-soon/?ref_=nv_mv_cs"
# page = reques... | 34.5 | 101 | 0.529398 | 978 | 8,487 | 4.376278 | 0.159509 | 0.074766 | 0.039252 | 0.024533 | 0.746262 | 0.724766 | 0.724766 | 0.720093 | 0.70514 | 0.70514 | 0 | 0.010463 | 0.358077 | 8,487 | 245 | 102 | 34.640816 | 0.775147 | 0.022858 | 0 | 0.773196 | 0 | 0 | 0.083837 | 0.009181 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015464 | false | 0 | 0.030928 | 0 | 0.051546 | 0.020619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d5819cbffb00ed577a1b20e3af8eb78cfcad67a | 63,791 | py | Python | src/aks-preview/azext_aks_preview/tests/latest/test_decorator.py | Sneezry/azure-cli-extensions | bd186fe31c8fbd8c8b945fb749349e7f243be532 | [
"MIT"
] | null | null | null | src/aks-preview/azext_aks_preview/tests/latest/test_decorator.py | Sneezry/azure-cli-extensions | bd186fe31c8fbd8c8b945fb749349e7f243be532 | [
"MIT"
] | null | null | null | src/aks-preview/azext_aks_preview/tests/latest/test_decorator.py | Sneezry/azure-cli-extensions | bd186fe31c8fbd8c8b945fb749349e7f243be532 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 38.755164 | 126 | 0.615792 | 6,568 | 63,791 | 5.526797 | 0.060901 | 0.041322 | 0.031956 | 0.048485 | 0.876364 | 0.845399 | 0.807906 | 0.765041 | 0.711846 | 0.664601 | 0 | 0.011937 | 0.30266 | 63,791 | 1,645 | 127 | 38.778723 | 0.804087 | 0.045916 | 0 | 0.500689 | 0 | 0 | 0.155052 | 0.074695 | 0 | 0 | 0 | 0 | 0.080579 | 1 | 0.028926 | false | 0.002755 | 0.008953 | 0 | 0.040634 | 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 |
53ab15518423e3e00131e0c9d15961fa9a5d7e90 | 126 | py | Python | bigquery_python_tutorial/clients/__init__.py | hackersandslackers/bigquery-python-tutorial | 33d9dbf26835bacd16ede50f89a87352a0fc0a99 | [
"MIT"
] | 6 | 2019-05-21T23:03:05.000Z | 2022-01-15T00:41:33.000Z | bigquery_python_tutorial/clients/__init__.py | hackersandslackers/bigquery-python-tutorial | 33d9dbf26835bacd16ede50f89a87352a0fc0a99 | [
"MIT"
] | 66 | 2020-08-17T11:04:50.000Z | 2021-10-20T06:23:58.000Z | bigquery_python_tutorial/clients/__init__.py | hackersandslackers/bigquery-python-tutorial | 33d9dbf26835bacd16ede50f89a87352a0fc0a99 | [
"MIT"
] | 6 | 2020-01-09T12:56:05.000Z | 2021-07-28T04:05:42.000Z | """Instantiate all clients."""
from .google_cloud_storage import gcs
from .google_bigquery import gbq
from .log import LOGGER
| 25.2 | 37 | 0.801587 | 18 | 126 | 5.444444 | 0.722222 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 126 | 4 | 38 | 31.5 | 0.882883 | 0.190476 | 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 |
53e77a4cd38f5a9936425069f734715ff3059544 | 105 | py | Python | recommender/__init__.py | stungkit/stock_trend_analysis | e9d3f2db19a9af93cc8dc55c2394ae88c1b3ee6e | [
"MIT"
] | 7 | 2020-04-16T18:25:15.000Z | 2022-02-20T03:57:31.000Z | recommender/__init__.py | stungkit/stock_trend_analysis | e9d3f2db19a9af93cc8dc55c2394ae88c1b3ee6e | [
"MIT"
] | 4 | 2020-04-10T05:40:48.000Z | 2022-01-13T01:40:24.000Z | recommender/__init__.py | stungkit/stock_trend_analysis | e9d3f2db19a9af93cc8dc55c2394ae88c1b3ee6e | [
"MIT"
] | 4 | 2020-11-30T06:43:42.000Z | 2021-03-12T05:42:13.000Z | from . import stocks
from . import utils
from . import contrib
from . import news
from . import learning
| 17.5 | 22 | 0.761905 | 15 | 105 | 5.333333 | 0.466667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 105 | 5 | 23 | 21 | 0.941176 | 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 |
54d6581a767565b65e8847da70c6bb41ff02fd36 | 103 | py | Python | flask-bones/app/user/controller.py | janist7/recipe-website | fbf65e66562afcfd7048efe0afc790f74a4a0b3f | [
"MIT"
] | null | null | null | flask-bones/app/user/controller.py | janist7/recipe-website | fbf65e66562afcfd7048efe0afc790f74a4a0b3f | [
"MIT"
] | null | null | null | flask-bones/app/user/controller.py | janist7/recipe-website | fbf65e66562afcfd7048efe0afc790f74a4a0b3f | [
"MIT"
] | null | null | null | from app.user.models import User
# Returns user info
def getUser(id):
return User.getUserInfo(id)
| 17.166667 | 32 | 0.747573 | 16 | 103 | 4.8125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165049 | 103 | 5 | 33 | 20.6 | 0.895349 | 0.165049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
54fb7da90f568828ea2cd1071a332ce541d26eb1 | 96 | py | Python | src/operations/add.py | macielti/tests-python | 23378f147258c612227b3c9f1017e3d7bd33674e | [
"MIT"
] | 1 | 2021-03-13T23:41:34.000Z | 2021-03-13T23:41:34.000Z | src/operations/add.py | macielti/unittests-python | 23378f147258c612227b3c9f1017e3d7bd33674e | [
"MIT"
] | null | null | null | src/operations/add.py | macielti/unittests-python | 23378f147258c612227b3c9f1017e3d7bd33674e | [
"MIT"
] | null | null | null | class AddOperation:
def sum(self, number1, number2):
return number1 + number2
| 19.2 | 36 | 0.635417 | 10 | 96 | 6.1 | 0.8 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.291667 | 96 | 5 | 37 | 19.2 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
07036561c4ac19c33af37ac08bf2772f88b5f9f6 | 625 | py | Python | tests/test_shortpath.py | yukkeorg/python-shortpath | 0f368a9d938ca112b04c620bdd0d678b31a38420 | [
"Unlicense"
] | null | null | null | tests/test_shortpath.py | yukkeorg/python-shortpath | 0f368a9d938ca112b04c620bdd0d678b31a38420 | [
"Unlicense"
] | null | null | null | tests/test_shortpath.py | yukkeorg/python-shortpath | 0f368a9d938ca112b04c620bdd0d678b31a38420 | [
"Unlicense"
] | null | null | null | from pathlib import Path
import shortpath
def test_absolute_path():
source = Path("/aaaa/bbbb/cccc/dddd/")
result = shortpath.shortpath(source)
assert result == "/a/b/c/dddd"
def test_related_path():
source = Path("aaaa/bbbb/cccc/dddd/")
result = shortpath.shortpath(source)
assert result ==... | 22.321429 | 42 | 0.68 | 86 | 625 | 4.825581 | 0.313953 | 0.06747 | 0.183133 | 0.26988 | 0.701205 | 0.701205 | 0.701205 | 0.701205 | 0.587952 | 0.587952 | 0 | 0 | 0.1776 | 625 | 27 | 43 | 23.148148 | 0.807393 | 0 | 0 | 0.333333 | 0 | 0 | 0.1968 | 0.0672 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
070d8d17bb315702faeb321240b7e69d03e65d3e | 54 | py | Python | tests/molecular/topology_graphs/vertex/placement/cases/rotaxane/test_placement.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 21 | 2018-04-12T16:25:24.000Z | 2022-02-14T23:05:43.000Z | tests/molecular/topology_graphs/vertex/placement/cases/rotaxane/test_placement.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 8 | 2019-03-19T12:36:36.000Z | 2020-11-11T12:46:00.000Z | tests/molecular/topology_graphs/vertex/placement/cases/rotaxane/test_placement.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 5 | 2018-08-07T13:00:16.000Z | 2021-11-01T00:55:10.000Z | from ..._test_placement import test_placement # noqa
| 27 | 53 | 0.796296 | 7 | 54 | 5.714286 | 0.714286 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 1 | 54 | 54 | 0.851064 | 0.074074 | 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 |
07369f79575e367325548200bddb3201fd4f7306 | 41 | py | Python | Calculadora_Melu.py | Sergio95480/Laboratorio | 25c0d86dac48ce1e9b7ce9ec571241b0c5f80ba2 | [
"MIT"
] | null | null | null | Calculadora_Melu.py | Sergio95480/Laboratorio | 25c0d86dac48ce1e9b7ce9ec571241b0c5f80ba2 | [
"MIT"
] | null | null | null | Calculadora_Melu.py | Sergio95480/Laboratorio | 25c0d86dac48ce1e9b7ce9ec571241b0c5f80ba2 | [
"MIT"
] | null | null | null | def multiplicacion (x,y):
return x*y
| 13.666667 | 25 | 0.658537 | 7 | 41 | 3.857143 | 0.714286 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 2 | 26 | 20.5 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4ad40391f0cf088564d07987abb04bb9341ca5bc | 115 | py | Python | qakgc/retriever/__init__.py | pbmstrk/odqa | b5917237d5162eae208382e5d25b0c8c47018681 | [
"BSD-3-Clause"
] | 4 | 2020-09-04T16:58:52.000Z | 2021-06-23T03:37:18.000Z | qakgc/retriever/__init__.py | pbmstrk/QAKGC | b5917237d5162eae208382e5d25b0c8c47018681 | [
"BSD-3-Clause"
] | 3 | 2020-07-07T23:45:21.000Z | 2020-07-09T11:49:23.000Z | qakgc/retriever/__init__.py | pbmstrk/odqa | b5917237d5162eae208382e5d25b0c8c47018681 | [
"BSD-3-Clause"
] | null | null | null | from .doc_db import DocDB
from .tfidf_doc_ranker import TfidfDocRanker
from .bm25_doc_ranker import BM25DocRanker
| 23 | 44 | 0.86087 | 17 | 115 | 5.529412 | 0.588235 | 0.191489 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.113043 | 115 | 4 | 45 | 28.75 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4adfbb5b3953a1b0bfd82e68ad00bf4a28e4de15 | 6,839 | py | Python | app/unit_test_curses_util.py | cclauss/ci_edit | 5af80d643e7b16e5e3270771bdbc6b322255d460 | [
"Apache-2.0"
] | null | null | null | app/unit_test_curses_util.py | cclauss/ci_edit | 5af80d643e7b16e5e3270771bdbc6b322255d460 | [
"Apache-2.0"
] | null | null | null | app/unit_test_curses_util.py | cclauss/ci_edit | 5af80d643e7b16e5e3270771bdbc6b322255d460 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2018 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 48.161972 | 78 | 0.716187 | 994 | 6,839 | 4.822938 | 0.131791 | 0.146433 | 0.211514 | 0.191489 | 0.817689 | 0.765749 | 0.726325 | 0.632874 | 0.581143 | 0.273884 | 0 | 0.028426 | 0.135839 | 6,839 | 141 | 79 | 48.503546 | 0.782741 | 0.109665 | 0 | 0.152381 | 0 | 0 | 0.068392 | 0 | 0 | 0 | 0 | 0 | 0.733333 | 1 | 0.038095 | false | 0 | 0.047619 | 0 | 0.095238 | 0.009524 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4ae9ee79ea98035a8e23d66d93aba997c5763921 | 3,419 | py | Python | tests/test_expect_column_values_to_be_decreasing.py | joocer/data-expectations | c2747393575f52d1e2308ccbcb0d7efa5a4eb721 | [
"Apache-2.0"
] | null | null | null | tests/test_expect_column_values_to_be_decreasing.py | joocer/data-expectations | c2747393575f52d1e2308ccbcb0d7efa5a4eb721 | [
"Apache-2.0"
] | 4 | 2021-07-12T07:15:08.000Z | 2021-12-24T22:04:45.000Z | tests/test_expect_column_values_to_be_decreasing.py | joocer/data_expectations | c2747393575f52d1e2308ccbcb0d7efa5a4eb721 | [
"Apache-2.0"
] | null | null | null | import os
import sys
sys.path.insert(1, os.path.join(sys.path[0], ".."))
import data_expectations as de
from rich import traceback
traceback.install()
# fmt:off
VALID_DATA = [
{ "number": 7, "string": "d" },
{ "number": 5, "string": "c" },
{ "number": 3, "string": "b" },
{ "number": 1, "string": "a"... | 30.526786 | 86 | 0.665107 | 469 | 3,419 | 4.50533 | 0.151386 | 0.079508 | 0.083294 | 0.10601 | 0.877899 | 0.811642 | 0.811642 | 0.808803 | 0.776621 | 0.624231 | 0 | 0.00735 | 0.204153 | 3,419 | 111 | 87 | 30.801802 | 0.769203 | 0.04709 | 0 | 0.486486 | 0 | 0 | 0.101231 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 1 | 0.067568 | false | 0 | 0.054054 | 0 | 0.121622 | 0.013514 | 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 |
ab1d09f38647010508f9c29622b29cedb7353f53 | 3,805 | py | Python | tests/test_cv_forecaster.py | Plozano94/skforecast | 71b83a45ecde757fb24be58adf9c88d8066a4582 | [
"MIT"
] | null | null | null | tests/test_cv_forecaster.py | Plozano94/skforecast | 71b83a45ecde757fb24be58adf9c88d8066a4582 | [
"MIT"
] | null | null | null | tests/test_cv_forecaster.py | Plozano94/skforecast | 71b83a45ecde757fb24be58adf9c88d8066a4582 | [
"MIT"
] | null | null | null | import sys
sys.path.insert(1, '/home/ximo/Documents/GitHub/skforecast')
import pytest
from pytest import approx
import numpy as np
from skforecast.model_selection import cv_forecaster
from skforecast.ForecasterAutoreg import ForecasterAutoreg
from sklearn.linear_model import LinearRegression
# Test cv_forecaster for... | 32.521368 | 112 | 0.588436 | 394 | 3,805 | 5.340102 | 0.185279 | 0.079848 | 0.08365 | 0.076996 | 0.780894 | 0.780894 | 0.780894 | 0.780418 | 0.776141 | 0.714354 | 0 | 0.027884 | 0.311958 | 3,805 | 116 | 113 | 32.801724 | 0.775783 | 0.031275 | 0 | 0.733333 | 0 | 0 | 0.041271 | 0.010318 | 0 | 0 | 0 | 0 | 0.044444 | 1 | 0.066667 | false | 0 | 0.077778 | 0 | 0.144444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db6076bfaf078b551f0a4d9a427cb48e91688ff2 | 33 | py | Python | deep-learning-for-image-processing-master/pytorch_object_detection/retinaNet/network_files/__init__.py | zpwithme/zzzzpppp | 0f5df647f1e9d6cb8c01b3fc7df25ee543714af3 | [
"MIT"
] | null | null | null | deep-learning-for-image-processing-master/pytorch_object_detection/retinaNet/network_files/__init__.py | zpwithme/zzzzpppp | 0f5df647f1e9d6cb8c01b3fc7df25ee543714af3 | [
"MIT"
] | null | null | null | deep-learning-for-image-processing-master/pytorch_object_detection/retinaNet/network_files/__init__.py | zpwithme/zzzzpppp | 0f5df647f1e9d6cb8c01b3fc7df25ee543714af3 | [
"MIT"
] | 2 | 2021-06-26T16:53:38.000Z | 2021-08-29T22:16:20.000Z | from .retinanet import RetinaNet
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 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 |
db9728d5f7489d46902e027b4000c0096104f566 | 1,683 | py | Python | tests/test/input_module/test_runner.py | BBVA/crawlino | 685f57e6b3e9356484ead2681bb178f651d2f371 | [
"Apache-2.0"
] | 1 | 2018-11-11T21:07:54.000Z | 2018-11-11T21:07:54.000Z | tests/test/input_module/test_runner.py | BBVA/crawlino | 685f57e6b3e9356484ead2681bb178f651d2f371 | [
"Apache-2.0"
] | null | null | null | tests/test/input_module/test_runner.py | BBVA/crawlino | 685f57e6b3e9356484ead2681bb178f651d2f371 | [
"Apache-2.0"
] | null | null | null | from collections import Callable
from crawlino.crawlino import Crawlino
def test_input_module_has_callable_function(crawler_inline_definitions_path):
c = Crawlino(crawler_inline_definitions_path)
_ = next(c) # Source step
input_step = next(c)
assert isinstance(input_step.calling_module, Callable)
... | 26.296875 | 77 | 0.756387 | 217 | 1,683 | 5.391705 | 0.156682 | 0.107692 | 0.205128 | 0.239316 | 0.747863 | 0.747863 | 0.747863 | 0.708547 | 0.605983 | 0.605983 | 0 | 0 | 0.171123 | 1,683 | 63 | 78 | 26.714286 | 0.83871 | 0.035056 | 0 | 0.648649 | 0 | 0 | 0.051916 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 1 | 0.162162 | false | 0 | 0.054054 | 0.027027 | 0.243243 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbc4221f5d2f5d7d1f9f5b0628d9329fe9da5057 | 42 | py | Python | manager/__init__.py | Bidulman/qcm-api-snt | 552b886ed2d7ebb66b430c8335a1dfefc4bae01b | [
"MIT"
] | null | null | null | manager/__init__.py | Bidulman/qcm-api-snt | 552b886ed2d7ebb66b430c8335a1dfefc4bae01b | [
"MIT"
] | null | null | null | manager/__init__.py | Bidulman/qcm-api-snt | 552b886ed2d7ebb66b430c8335a1dfefc4bae01b | [
"MIT"
] | null | null | null | print("Loaded module manager by Bidulman") | 42 | 42 | 0.809524 | 6 | 42 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
dbdce1f28cbeabf654b6fd9f9b6db13b4eee20be | 85 | py | Python | python/helpers/pycharm/nose_helper/_3.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/helpers/pycharm/nose_helper/_3.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/helpers/pycharm/nose_helper/_3.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def reraise(exc_class, exc_val, tb):
raise exc_class(exc_val).with_traceback(tb)
| 28.333333 | 47 | 0.764706 | 15 | 85 | 4 | 0.6 | 0.266667 | 0.366667 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 85 | 2 | 48 | 42.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
915d2feb4287e1ea92d471e96c3c993a10d9285b | 78 | py | Python | test/test_isolate.py | Rudedog9d/pypsi | 38dda442b21b8deb569d61076ab0a19c0e78edc8 | [
"0BSD"
] | 18 | 2015-01-07T19:05:29.000Z | 2022-01-09T02:33:23.000Z | test/test_isolate.py | Rudedog9d/pypsi | 38dda442b21b8deb569d61076ab0a19c0e78edc8 | [
"0BSD"
] | 30 | 2015-02-19T16:04:04.000Z | 2021-03-30T00:09:58.000Z | test/test_isolate.py | Rudedog9d/pypsi | 38dda442b21b8deb569d61076ab0a19c0e78edc8 | [
"0BSD"
] | 7 | 2016-01-02T17:55:48.000Z | 2020-11-22T14:52:32.000Z | from pypsi.isolate import IsolatedShell
class TestIsolatedShell:
pass
| 9.75 | 39 | 0.782051 | 8 | 78 | 7.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 78 | 7 | 40 | 11.142857 | 0.968254 | 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 |
917774d79388e6f6ea2dc3998ae180db7f41223d | 52,955 | py | Python | usaspending_api/search/tests/integration/test_spending_by_award.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | null | null | null | usaspending_api/search/tests/integration/test_spending_by_award.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | null | null | null | usaspending_api/search/tests/integration/test_spending_by_award.py | g4brielvs/usaspending-api | bae7da2c204937ec1cdf75c052405b13145728d5 | [
"CC0-1.0"
] | null | null | null | import json
import pytest
from datetime import datetime
from model_mommy import mommy
from rest_framework import status
from usaspending_api.awards.v2.lookups.lookups import all_award_types_mappings
from usaspending_api.search.tests.data.search_filters_test_data import non_legacy_filters, legacy_filters
from usaspendi... | 38.880323 | 119 | 0.548012 | 5,880 | 52,955 | 4.664966 | 0.067347 | 0.037003 | 0.024462 | 0.038061 | 0.855304 | 0.826394 | 0.78961 | 0.763288 | 0.750492 | 0.735509 | 0 | 0.049403 | 0.303937 | 52,955 | 1,361 | 120 | 38.908891 | 0.694764 | 0.036295 | 0 | 0.634471 | 0 | 0 | 0.29722 | 0.063857 | 0 | 0 | 0 | 0 | 0.104913 | 1 | 0.03164 | false | 0 | 0.006661 | 0 | 0.038301 | 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 |
91be12f0add1bf7b928de76907e40b30961b9b16 | 95 | py | Python | files/native_extensions/boost_mandelbrot.py | mipt-npm-study/sciprog-python | 09a0d99254fcd559ec8d13bedd5521e98e86b3ce | [
"MIT"
] | 3 | 2021-09-12T20:54:08.000Z | 2021-09-21T14:49:15.000Z | files/native_extensions/boost_mandelbrot.py | mipt-npm-study/sciprog-python | 09a0d99254fcd559ec8d13bedd5521e98e86b3ce | [
"MIT"
] | null | null | null | files/native_extensions/boost_mandelbrot.py | mipt-npm-study/sciprog-python | 09a0d99254fcd559ec8d13bedd5521e98e86b3ce | [
"MIT"
] | 2 | 2021-09-14T13:15:41.000Z | 2021-09-14T15:18:01.000Z | import boost_mandelbrot_ext
if __name__ == '__main__':
boost_mandelbrot_ext.mandelbrot(10) | 23.75 | 39 | 0.8 | 12 | 95 | 5.333333 | 0.666667 | 0.46875 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.115789 | 95 | 4 | 39 | 23.75 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
91e77323eaab776ba47b17849baf4c76e2df0ce8 | 3,561 | py | Python | vgl_lib/__init__.py | arturxz/TCC | 441f5e1f842abb67743bf57bd7346b6cd3353091 | [
"MIT"
] | 2 | 2019-06-02T17:09:17.000Z | 2021-02-17T19:57:37.000Z | vgl_lib/__init__.py | arturxz/TCC | 441f5e1f842abb67743bf57bd7346b6cd3353091 | [
"MIT"
] | null | null | null | vgl_lib/__init__.py | arturxz/TCC | 441f5e1f842abb67743bf57bd7346b6cd3353091 | [
"MIT"
] | null | null | null | # __init__.py
import platform
from .struct_sizes import struct_sizes
from .opencl_context import opencl_context, VglClContext
from .vglShape import VglShape
from .vglStrEl import VglStrEl
# VGLIMAGE METHODS
from .vglImage import VglImage
from .vglImage import vglLoadImage
from .vglImage import vglImage3To4Ch... | 34.572816 | 56 | 0.862679 | 519 | 3,561 | 5.622351 | 0.225434 | 0.209733 | 0.314599 | 0.302262 | 0.463331 | 0.121316 | 0.023989 | 0 | 0 | 0 | 0 | 0.007573 | 0.110081 | 3,561 | 103 | 57 | 34.572816 | 0.913222 | 0.037068 | 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 |
532282ec2f59fb67799d05410610b1f9bf86dd5b | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/pydev_ipython/inputhookgtk.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/pydev_ipython/inputhookgtk.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/pydev_ipython/inputhookgtk.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/2c/32/e0/d2d0d76e6bfe62838345e40ab4ebb901adc4081afd1d468d255d54624d | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 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 |
536446222c2ae97351bdce916b541ce0d5f157b9 | 25,314 | py | Python | lib/rucio/tests/test_subscription.py | sahandilshan/rucio | 253c2f12f6e99e5eca5f59c6538e5a2bcd5f7c48 | [
"Apache-2.0"
] | null | null | null | lib/rucio/tests/test_subscription.py | sahandilshan/rucio | 253c2f12f6e99e5eca5f59c6538e5a2bcd5f7c48 | [
"Apache-2.0"
] | null | null | null | lib/rucio/tests/test_subscription.py | sahandilshan/rucio | 253c2f12f6e99e5eca5f59c6538e5a2bcd5f7c48 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2013-2021 CERN
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 60.705036 | 229 | 0.621751 | 2,851 | 25,314 | 5.340582 | 0.110137 | 0.076711 | 0.035466 | 0.040786 | 0.806581 | 0.784513 | 0.77499 | 0.755221 | 0.741495 | 0.729345 | 0 | 0.027227 | 0.235364 | 25,314 | 416 | 230 | 60.850962 | 0.759403 | 0.097495 | 0 | 0.667752 | 0 | 0.032573 | 0.149443 | 0.004315 | 0 | 0 | 0 | 0 | 0.100977 | 1 | 0.065147 | false | 0 | 0.065147 | 0 | 0.140065 | 0.003257 | 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 |
72656891a42f47fb530b63fa7424e558d46614a5 | 873 | py | Python | test/test_failedcheck.py | jwodder/check-wheel-contents | c8282c79114e2e3f0cd9c29834b7b178c03413dc | [
"MIT"
] | 115 | 2020-04-01T20:54:48.000Z | 2022-03-10T14:56:41.000Z | test/test_failedcheck.py | jwodder/check-wheel-contents | c8282c79114e2e3f0cd9c29834b7b178c03413dc | [
"MIT"
] | 21 | 2020-04-09T11:01:46.000Z | 2021-07-09T11:45:09.000Z | test/test_failedcheck.py | jwodder/check-wheel-contents | c8282c79114e2e3f0cd9c29834b7b178c03413dc | [
"MIT"
] | 8 | 2020-04-02T21:32:00.000Z | 2021-11-13T11:10:30.000Z | from check_wheel_contents.checks import Check, FailedCheck
def test_show_no_args_no_filename():
fc = FailedCheck(Check.W001)
assert fc.show() == f"W001: {Check.W001.value}"
def test_show_args_no_filename():
fc = FailedCheck(Check.W001, ["foo.pyc", "bar/glarch.pyo"])
assert fc.show() == (
f"W... | 28.16129 | 71 | 0.623139 | 136 | 873 | 3.867647 | 0.227941 | 0.136882 | 0.08365 | 0.197719 | 0.88403 | 0.855513 | 0.840304 | 0.81749 | 0.642586 | 0.642586 | 0 | 0.068182 | 0.193585 | 873 | 30 | 72 | 29.1 | 0.678977 | 0 | 0 | 0.181818 | 0 | 0.090909 | 0.364261 | 0.183276 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.181818 | false | 0 | 0.045455 | 0 | 0.227273 | 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 |
729202444c30d8ab1b2c44913ee938394eb8a044 | 41 | py | Python | text2text/__init__.py | morioka/text2text | 92edc8b54edf13864113004cec5766dddcb090fc | [
"MIT"
] | 14 | 2021-05-11T08:20:58.000Z | 2022-03-23T02:09:00.000Z | text2text/__init__.py | CurisZhou/text2text | db07ee9814d0e360774e62b5d697736e7f7d6715 | [
"MIT"
] | 1 | 2021-10-07T03:44:02.000Z | 2021-10-07T03:44:02.000Z | text2text/__init__.py | CurisZhou/text2text | db07ee9814d0e360774e62b5d697736e7f7d6715 | [
"MIT"
] | 1 | 2021-11-19T13:36:39.000Z | 2021-11-19T13:36:39.000Z | from .text_generator import TextGenerator | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f401199035d5adfc03de728562bf2c495633df7e | 31 | py | Python | first-homework.py | maximorocha77/astr-119 | b8a09c334de9549a0a449fb3723cddfbb526f5de | [
"MIT"
] | null | null | null | first-homework.py | maximorocha77/astr-119 | b8a09c334de9549a0a449fb3723cddfbb526f5de | [
"MIT"
] | 5 | 2021-09-30T06:36:32.000Z | 2021-12-09T11:14:56.000Z | first-homework.py | maximorocha77/astr-119 | b8a09c334de9549a0a449fb3723cddfbb526f5de | [
"MIT"
] | null | null | null | print ("Maximo Rocha (He/Him)") | 31 | 31 | 0.677419 | 5 | 31 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f40bba3c17dd17e10c018d05f2944b9a1fdc3ac8 | 195 | py | Python | tests/test_find.py | AdityaChellam/unithash | 2f1cbc1aeaf30feb56792a411debab67c062c968 | [
"MIT"
] | null | null | null | tests/test_find.py | AdityaChellam/unithash | 2f1cbc1aeaf30feb56792a411debab67c062c968 | [
"MIT"
] | null | null | null | tests/test_find.py | AdityaChellam/unithash | 2f1cbc1aeaf30feb56792a411debab67c062c968 | [
"MIT"
] | null | null | null | from unithash import find
def test_get_unithash():
assert find.get_unithash(1234567) == 1
def test_set_unithash():
assert find.set_unithash('1234567812345678',4) == 1818
| 24.375 | 63 | 0.692308 | 25 | 195 | 5.16 | 0.56 | 0.108527 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188312 | 0.210256 | 195 | 7 | 64 | 27.857143 | 0.649351 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f4380ad13fa1f0bd8e0bfd08c42925e2ecb1948b | 953 | py | Python | localspelling/tests/test_regex_word_loading.py | fastdatascience/localspelling | 382a220bd05330b990cef277f7f18262db462faf | [
"MIT"
] | 1 | 2020-09-23T00:53:35.000Z | 2020-09-23T00:53:35.000Z | localspelling/tests/test_regex_word_loading.py | fastdatascience/localspelling | 382a220bd05330b990cef277f7f18262db462faf | [
"MIT"
] | null | null | null | localspelling/tests/test_regex_word_loading.py | fastdatascience/localspelling | 382a220bd05330b990cef277f7f18262db462faf | [
"MIT"
] | null | null | null | import unittest
from localspelling.util import get_regex_and_raw_word
class TestAggItemCounts(unittest.TestCase):
def test_no_change_regex(self):
self.assertEqual(r'\bthe\b', get_regex_and_raw_word("the")[0])
def test_no_change_word(self):
self.assertEqual("the", get_regex_and_raw_word("the... | 30.741935 | 70 | 0.701994 | 145 | 953 | 4.227586 | 0.186207 | 0.117455 | 0.161501 | 0.205546 | 0.833605 | 0.804241 | 0.603589 | 0.598695 | 0.598695 | 0.551387 | 0 | 0.009926 | 0.15425 | 953 | 30 | 71 | 31.766667 | 0.75062 | 0 | 0 | 0 | 0 | 0 | 0.067156 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 1 | 0.421053 | false | 0 | 0.105263 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f4420170bee5993db49092e7266eae3c94728b11 | 493 | py | Python | general-practice/Exercises solved/w3resource/basic/Exercise1.py | lugabrielbueno/Projeto | f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0 | [
"MIT"
] | null | null | null | general-practice/Exercises solved/w3resource/basic/Exercise1.py | lugabrielbueno/Projeto | f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0 | [
"MIT"
] | null | null | null | general-practice/Exercises solved/w3resource/basic/Exercise1.py | lugabrielbueno/Projeto | f012c5bb9ce6f6d7c9e8196cc7986127dba3eba0 | [
"MIT"
] | null | null | null | #1. Write a Python program to print the following string in a specific format:
#Twinkle, twinkle, little star,
#How I wonder what you are
# Up above the world so high,
# Like a diamond in the sky.
#Twinkle, twinkle, little star,
#How I wonder what you are
string = 'Twinkle, twinkle, little star,\n How I... | 44.818182 | 207 | 0.693712 | 86 | 493 | 3.976744 | 0.360465 | 0.163743 | 0.233918 | 0.280702 | 0.760234 | 0.760234 | 0.520468 | 0.520468 | 0.520468 | 0.520468 | 0 | 0.002646 | 0.233266 | 493 | 11 | 208 | 44.818182 | 0.902116 | 0.509128 | 0 | 0 | 0 | 0.5 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f4536aca252a831fe7e1801c06eddcd4f9fe9bfb | 7,641 | py | Python | laocoon/edu_pipeline.py | edukait/laocoon | 393398bd2e6cf5e14f77828f62fe2532ad742d25 | [
"MIT"
] | null | null | null | laocoon/edu_pipeline.py | edukait/laocoon | 393398bd2e6cf5e14f77828f62fe2532ad742d25 | [
"MIT"
] | null | null | null | laocoon/edu_pipeline.py | edukait/laocoon | 393398bd2e6cf5e14f77828f62fe2532ad742d25 | [
"MIT"
] | 1 | 2021-04-08T13:49:36.000Z | 2021-04-08T13:49:36.000Z | import numpy as np
import mahotas as mh
from laocoon import equalization as eq
class EdU_Pipeline:
"""
A class that represents the pipeline for EdU image analysis.
Attributes
----------
dapi_coords : list
Coordinates of the cell "centers" in the DAPI channel. Used as a reference.
chec... | 35.375 | 170 | 0.61772 | 963 | 7,641 | 4.796469 | 0.119418 | 0.049794 | 0.030959 | 0.038103 | 0.885257 | 0.879411 | 0.850834 | 0.829184 | 0.805153 | 0.793029 | 0 | 0.00605 | 0.307813 | 7,641 | 215 | 171 | 35.539535 | 0.867272 | 0.50818 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.05 | 0 | 0.25 | 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 |
f46dae28ac844b5f9a0df89b6560ea48222c4ef7 | 4,256 | py | Python | models/research/object_detection/utils/shape_utils_test.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | models/research/object_detection/utils/shape_utils_test.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | models/research/object_detection/utils/shape_utils_test.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | """Tests for object_detection.utils.shape_utils."""
import tensorflow as tf
from object_detection.utils import shape_utils
class UtilTest(tf.test.TestCase):
def test_pad_tensor_using_integer_input(self):
t1 = tf.constant([1], dtype=tf.int32)
pad_t1 = shape_utils.pad_tensor(t1, 2)
t2 = tf.constant([[0.1, 0.2]], d... | 50.070588 | 82 | 0.699248 | 760 | 4,256 | 3.677632 | 0.088158 | 0.085868 | 0.021467 | 0.022898 | 0.851878 | 0.847227 | 0.804651 | 0.785331 | 0.781753 | 0.774598 | 0 | 0.087794 | 0.12218 | 4,256 | 85 | 83 | 50.070588 | 0.660332 | 0.010573 | 0 | 0.52381 | 0 | 0 | 0.001902 | 0 | 0 | 0 | 0 | 0 | 0.309524 | 1 | 0.083333 | false | 0 | 0.02381 | 0 | 0.119048 | 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 |
f48a0fee26bbe30a0d038e002b7cc36b6b3f2d20 | 224 | py | Python | naming-protocol/grammar/__init__.py | try-skycn/NamingProtocol | bb5fb73b50e922aab3305af4eb802b23f1d33731 | [
"MIT"
] | null | null | null | naming-protocol/grammar/__init__.py | try-skycn/NamingProtocol | bb5fb73b50e922aab3305af4eb802b23f1d33731 | [
"MIT"
] | null | null | null | naming-protocol/grammar/__init__.py | try-skycn/NamingProtocol | bb5fb73b50e922aab3305af4eb802b23f1d33731 | [
"MIT"
] | null | null | null | from .NamingProtocolParser import NamingProtocolParser
from .NamingProtocolLexer import NamingProtocolLexer
from .NamingProtocolVisitor import NamingProtocolVisitor
from .NamingProtocolListener import NamingProtocolListener
| 44.8 | 58 | 0.910714 | 16 | 224 | 12.75 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 224 | 4 | 59 | 56 | 0.980769 | 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 |
be2e3ddef92198e92050da764068208589076c53 | 10,124 | py | Python | buildscripts/tests/test_aws_ec2.py | gaboull/mongodb-legacy | 3a7474c102ede496175400c0d916736ac8f8d4d2 | [
"Apache-2.0"
] | null | null | null | buildscripts/tests/test_aws_ec2.py | gaboull/mongodb-legacy | 3a7474c102ede496175400c0d916736ac8f8d4d2 | [
"Apache-2.0"
] | null | null | null | buildscripts/tests/test_aws_ec2.py | gaboull/mongodb-legacy | 3a7474c102ede496175400c0d916736ac8f8d4d2 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""Unit test for buildscripts/aws_ec2.py."""
from __future__ import absolute_import
import datetime
import unittest
from buildscripts import aws_ec2
_AMI = "ami-ed6bec86"
_INSTANCE_TYPE = "t1.micro"
class AwsEc2TestCase(unittest.TestCase):
def setUp(self):
self.aws_ec2 = aws_ec2... | 36.814545 | 97 | 0.628507 | 1,243 | 10,124 | 4.918745 | 0.098954 | 0.06526 | 0.079163 | 0.059535 | 0.810272 | 0.788191 | 0.773634 | 0.761531 | 0.754498 | 0.745666 | 0 | 0.012422 | 0.26047 | 10,124 | 274 | 98 | 36.948905 | 0.804194 | 0.005828 | 0 | 0.697778 | 0 | 0 | 0.043841 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 1 | 0.048889 | false | 0 | 0.017778 | 0 | 0.111111 | 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 |
be74bc013ec332616cb50252babd4ebebff99c8b | 61 | py | Python | Dinos/Dragon/Dragon_Character_BP.Dragon_Character_BP.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | Dinos/Dragon/Dragon_Character_BP.Dragon_Character_BP.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | Dinos/Dragon/Dragon_Character_BP.Dragon_Character_BP.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | import sys,sce
class Dragon_Character_BP(sce.Bosses):
pass | 20.333333 | 38 | 0.803279 | 10 | 61 | 4.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 3 | 39 | 20.333333 | 0.87037 | 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 |
be7aeb4d8359185dacdf7c0536a6e914aa2d8bd1 | 20,237 | py | Python | dammed.py | Lencof/Insanity-Framework | b28d366feccc2e15141b1719d342840c2fd466be | [
"BSD-3-Clause"
] | 2 | 2021-05-10T03:31:18.000Z | 2021-05-12T04:24:29.000Z | dammed.py | Lencof/Insanity-Framework | b28d366feccc2e15141b1719d342840c2fd466be | [
"BSD-3-Clause"
] | null | null | null | dammed.py | Lencof/Insanity-Framework | b28d366feccc2e15141b1719d342840c2fd466be | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
# -*- coding: iso-8859-15 -*-
# Copyright 2017 Insanity Framework (IF)
# Written by: * Alisson Moretto - 4w4k3
# https://github.com/4w4k3/Insanity-Framework
# Licensed under the BSD-3-Clause
import os
import sys
import time
import datetime
import os.path
from bin.settings import exec_com
BLUE, RED,... | 45.272931 | 344 | 0.475614 | 2,306 | 20,237 | 4.124892 | 0.135299 | 0.036165 | 0.023549 | 0.035324 | 0.772077 | 0.772077 | 0.759357 | 0.752208 | 0.752208 | 0.752208 | 0 | 0.022905 | 0.337698 | 20,237 | 446 | 345 | 45.374439 | 0.686787 | 0.009784 | 0 | 0.693267 | 0 | 0.044888 | 0.519493 | 0.150851 | 0.012469 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.042394 | null | null | 0.072319 | 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 |
fe35073d3ef875e7a642ebab16b5292f175d6ac2 | 22 | py | Python | poverty/__init__.py | ronak-07/poverty | 7bca9829c458959f085c615b9d1b522089a4feb2 | [
"MIT"
] | 3 | 2019-04-10T13:59:14.000Z | 2021-02-25T02:29:41.000Z | poverty/__init__.py | ronak-07/poverty | 7bca9829c458959f085c615b9d1b522089a4feb2 | [
"MIT"
] | null | null | null | poverty/__init__.py | ronak-07/poverty | 7bca9829c458959f085c615b9d1b522089a4feb2 | [
"MIT"
] | null | null | null | from .index import *
| 11 | 21 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 1 | 22 | 22 | 0.882353 | 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 |
fe3edc6e216a363f61694fcc3155e47f208cf8aa | 23,259 | py | Python | dnl/Utils.py | Patyrn/Divide-and-Learn | ff03689c7ab6a7155ebd019babce8f79d0757a53 | [
"MIT"
] | null | null | null | dnl/Utils.py | Patyrn/Divide-and-Learn | ff03689c7ab6a7155ebd019babce8f79d0757a53 | [
"MIT"
] | null | null | null | dnl/Utils.py | Patyrn/Divide-and-Learn | ff03689c7ab6a7155ebd019babce8f79d0757a53 | [
"MIT"
] | null | null | null | import copy
import csv
import os
import numpy as np
from sklearn import model_selection
from sklearn.preprocessing import OneHotEncoder
from dnl.Params import RANDOM_SEED
class Point:
"""
Utility class for points
"""
def __init__(self, x=0, y=0):
self.x = x
self.y = y
def is_sa... | 41.459893 | 159 | 0.675094 | 3,086 | 23,259 | 4.772521 | 0.070966 | 0.061244 | 0.027159 | 0.029875 | 0.815725 | 0.785171 | 0.76032 | 0.76032 | 0.748303 | 0.732347 | 0 | 0.01122 | 0.233587 | 23,259 | 560 | 160 | 41.533929 | 0.814989 | 0.182768 | 0 | 0.625369 | 0 | 0 | 0.037164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061947 | false | 0 | 0.020649 | 0 | 0.144543 | 0.0059 | 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 |
fe5f64d8078b260777a90c626380485a9612c8b0 | 83 | py | Python | hello.py | 7036168535/python | 822ee141ccdf415f0c698d8c750e04bc26e4f205 | [
"MIT"
] | null | null | null | hello.py | 7036168535/python | 822ee141ccdf415f0c698d8c750e04bc26e4f205 | [
"MIT"
] | null | null | null | hello.py | 7036168535/python | 822ee141ccdf415f0c698d8c750e04bc26e4f205 | [
"MIT"
] | null | null | null | """
write your first program in Python
"""
print("hello world in python !!!")
| 8.3 | 34 | 0.626506 | 11 | 83 | 4.727273 | 0.818182 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216867 | 83 | 9 | 35 | 9.222222 | 0.8 | 0.409639 | 0 | 0 | 0 | 0 | 0.675676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fea2f993be0b618fedac2d2f56f569dc576f1384 | 77 | py | Python | house/tests.py | Yoavsc129/Xpense | 4ecb1120882dde77b93478ca2018e3a0138c6279 | [
"MIT"
] | null | null | null | house/tests.py | Yoavsc129/Xpense | 4ecb1120882dde77b93478ca2018e3a0138c6279 | [
"MIT"
] | null | null | null | house/tests.py | Yoavsc129/Xpense | 4ecb1120882dde77b93478ca2018e3a0138c6279 | [
"MIT"
] | null | null | null |
# always start on the right foot :)
def test_dummy_pass():
assert True
| 12.833333 | 35 | 0.688312 | 12 | 77 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233766 | 77 | 5 | 36 | 15.4 | 0.864407 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
feb2d7386a2c9d7b65bdfdfde99c9284528a9dd7 | 1,682 | py | Python | RecoEgamma/EgammaIsolationAlgos/python/egmIsoConeDefinitions_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoEgamma/EgammaIsolationAlgos/python/egmIsoConeDefinitions_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoEgamma/EgammaIsolationAlgos/python/egmIsoConeDefinitions_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
IsoConeDefinitions = cms.VPSet(cms.PSet( isolationAlgo = cms.string('PhotonPFIsolationWithMapBasedVeto'),
coneSize = cms.double(0.3),
isolateAgainst = cms.string('h+'),
... | 67.28 | 116 | 0.431629 | 96 | 1,682 | 7.5625 | 0.291667 | 0.07438 | 0.082645 | 0.095041 | 0.904959 | 0.904959 | 0.904959 | 0.904959 | 0.904959 | 0.904959 | 0 | 0.032295 | 0.484542 | 1,682 | 25 | 117 | 67.28 | 0.805075 | 0 | 0 | 0.695652 | 0 | 0 | 0.121212 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.043478 | 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 |
22bee2268d311d807c75498690801e7597380fe7 | 30 | py | Python | hanibal/crm_gestion_faces/report/__init__.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | hanibal/crm_gestion_faces/report/__init__.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | hanibal/crm_gestion_faces/report/__init__.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | import reporte_cotizaciones
| 7.5 | 27 | 0.866667 | 3 | 30 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 3 | 28 | 10 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22c9278110036efc41588d5305a3071aba7ae63d | 444 | py | Python | bitmovin_api_sdk/encoding/manifests/dash/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/manifests/dash/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/manifests/dash/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.manifests.dash.dash_api import DashApi
from bitmovin_api_sdk.encoding.manifests.dash.default.default_api import DefaultApi
from bitmovin_api_sdk.encoding.manifests.dash.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.manifests.dash.periods.periods_api import ... | 74 | 112 | 0.903153 | 61 | 444 | 6.278689 | 0.327869 | 0.156658 | 0.195822 | 0.234987 | 0.530026 | 0.530026 | 0.530026 | 0.224543 | 0 | 0 | 0 | 0 | 0.045045 | 444 | 5 | 113 | 88.8 | 0.903302 | 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 |
22f5416d51b0994e83c6d6d839f5e3517dfa222a | 85 | py | Python | 0x04-python-more_data_structures/4-only_diff_elements.py | FatChicken277/holbertonschool-higher_level_programming | 520d6310a5e2a874f8c5f5185d0fb769b6412e7c | [
"CNRI-Python"
] | null | null | null | 0x04-python-more_data_structures/4-only_diff_elements.py | FatChicken277/holbertonschool-higher_level_programming | 520d6310a5e2a874f8c5f5185d0fb769b6412e7c | [
"CNRI-Python"
] | null | null | null | 0x04-python-more_data_structures/4-only_diff_elements.py | FatChicken277/holbertonschool-higher_level_programming | 520d6310a5e2a874f8c5f5185d0fb769b6412e7c | [
"CNRI-Python"
] | null | null | null | #!/usr/bin/python3
def only_diff_elements(set_1, set_2):
return(set_1) ^ (set_2)
| 21.25 | 37 | 0.705882 | 16 | 85 | 3.375 | 0.6875 | 0.148148 | 0.259259 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 0.129412 | 85 | 3 | 38 | 28.333333 | 0.662162 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
a3de6e73c0ba66faf8332c98f4807644e9881ea3 | 39 | py | Python | tests/__init__.py | KSanthanam/RaspberryCameraClicker | d62dca932a9aea94a8696a5960e000e1b83534fe | [
"MIT"
] | null | null | null | tests/__init__.py | KSanthanam/RaspberryCameraClicker | d62dca932a9aea94a8696a5960e000e1b83534fe | [
"MIT"
] | null | null | null | tests/__init__.py | KSanthanam/RaspberryCameraClicker | d62dca932a9aea94a8696a5960e000e1b83534fe | [
"MIT"
] | null | null | null | from CameraClicker.Camera import Camera | 39 | 39 | 0.897436 | 5 | 39 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.972222 | 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 |
a3de794251b1b7f6fab90f03c060092fc9089685 | 158 | py | Python | dml/__init__.py | FCDM/py-dml | 3e753e543644211ba42c8e048f46f956af1c5f8c | [
"MIT"
] | null | null | null | dml/__init__.py | FCDM/py-dml | 3e753e543644211ba42c8e048f46f956af1c5f8c | [
"MIT"
] | null | null | null | dml/__init__.py | FCDM/py-dml | 3e753e543644211ba42c8e048f46f956af1c5f8c | [
"MIT"
] | null | null | null | from .bullet import *
from .core import *
from .timeline import *
from . import utils
from . import maths
from . import components
from . import extras | 19.75 | 24 | 0.721519 | 21 | 158 | 5.428571 | 0.428571 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21519 | 158 | 8 | 25 | 19.75 | 0.919355 | 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 |
431a14a2e89eedef5eac5de1fb8dff9f437cefc4 | 286 | py | Python | pyoauth2/config.py | wcjrf/oauth2_python | 138ab066ac1da2a3a02d2145cb2d13622ec3dde0 | [
"MIT"
] | null | null | null | pyoauth2/config.py | wcjrf/oauth2_python | 138ab066ac1da2a3a02d2145cb2d13622ec3dde0 | [
"MIT"
] | null | null | null | pyoauth2/config.py | wcjrf/oauth2_python | 138ab066ac1da2a3a02d2145cb2d13622ec3dde0 | [
"MIT"
] | null | null | null | #config.py
class config:
KEY = "7e2d747e91a7c32b0f9af8c60c8864f2bc075ed6117f713980584c40c826f46a"
SECRET = "5537a8755dd49e2ab5cdcb4ec70349080d4b44da0464033f5df619bf122376a7"
PROCORE_API_URL = "https://app.procore.com
CALLBACK = http://lewistest2.herokuapp.com/callback
| 35.75 | 79 | 0.807692 | 21 | 286 | 10.904762 | 0.809524 | 0.09607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338583 | 0.111888 | 286 | 7 | 80 | 40.857143 | 0.562992 | 0.031469 | 0 | 0 | 0 | 0 | 0.463768 | 0.463768 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
432c58b0d6083ad1ab13a2dcc05ad5861a079921 | 149 | py | Python | 29/00/6.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | 29/00/6.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | 32 | 2017-09-01T00:52:17.000Z | 2017-10-01T00:30:02.000Z | 29/00/6.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | from decimal import *
getcontext().prec = 28
print(Decimal(2).sqrt())
print(Decimal(1).exp())
print(Decimal('10').ln())
print(Decimal('10').log10())
| 21.285714 | 28 | 0.677852 | 22 | 149 | 4.590909 | 0.636364 | 0.475248 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 0.073826 | 149 | 6 | 29 | 24.833333 | 0.65942 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 |
4a5d9875f78e86d3b2f65d2fc24b2eadb03c8037 | 29 | py | Python | falconx/__init__.py | falconxio/falconx-python | 4873825c8e815eeec23bba671b0e1b405818f9b5 | [
"MIT"
] | 1 | 2021-11-10T02:26:04.000Z | 2021-11-10T02:26:04.000Z | falconx/__init__.py | falconxio/falconx-python | 4873825c8e815eeec23bba671b0e1b405818f9b5 | [
"MIT"
] | null | null | null | falconx/__init__.py | falconxio/falconx-python | 4873825c8e815eeec23bba671b0e1b405818f9b5 | [
"MIT"
] | null | null | null | from falconx.client import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4aac70c56387807f95f8ff05421577d16be89845 | 42 | py | Python | vuln_chain/__init__.py | joshbressers/dwf-chain | ccc529c1e6cadcf0357e466253fa2a5253c0c9a0 | [
"Apache-2.0"
] | null | null | null | vuln_chain/__init__.py | joshbressers/dwf-chain | ccc529c1e6cadcf0357e466253fa2a5253c0c9a0 | [
"Apache-2.0"
] | null | null | null | vuln_chain/__init__.py | joshbressers/dwf-chain | ccc529c1e6cadcf0357e466253fa2a5253c0c9a0 | [
"Apache-2.0"
] | null | null | null |
from .block import *
from .DB import *
| 7 | 20 | 0.642857 | 6 | 42 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 42 | 5 | 21 | 8.4 | 0.870968 | 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 |
43d227e593984f2b3e394bba22b073f45dc74eb2 | 3,162 | py | Python | utests/lock.py | CreativeBlockchainDevelopers/tezos-artblocks | a25dee4cff6e3c0a49565435a473717b37af01eb | [
"MIT"
] | 2 | 2021-11-12T09:56:40.000Z | 2022-03-21T22:33:25.000Z | utests/lock.py | CreativeBlockchainDevelopers/tezos-artblocks | a25dee4cff6e3c0a49565435a473717b37af01eb | [
"MIT"
] | null | null | null | utests/lock.py | CreativeBlockchainDevelopers/tezos-artblocks | a25dee4cff6e3c0a49565435a473717b37af01eb | [
"MIT"
] | null | null | null | def run_tests_lock(config):
scenario = sp.test_scenario()
scenario.h1("Lock test")
scenario.table_of_contents()
admin, [alice, bob] = get_addresses()
#-----------------------------------------------------
scenario.h2("set_base_uri without lock")
contract = create_new_contract(config, admi... | 36.767442 | 81 | 0.617331 | 374 | 3,162 | 5 | 0.176471 | 0.052406 | 0.074866 | 0.052406 | 0.839572 | 0.805882 | 0.805882 | 0.74492 | 0.718717 | 0.690374 | 0 | 0.014667 | 0.159077 | 3,162 | 85 | 82 | 37.2 | 0.688605 | 0.100569 | 0 | 0.615385 | 0 | 0 | 0.214235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0 | 0 | 0.019231 | 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 |
78f3533619d761545c4ca5248dba7e2399f87ba9 | 269 | py | Python | v2/backend/admin/views/dashboard.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 558 | 2017-10-04T14:33:18.000Z | 2022-03-24T21:25:08.000Z | v2/backend/admin/views/dashboard.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 22 | 2018-04-29T04:25:49.000Z | 2021-08-02T17:26:02.000Z | v2/backend/admin/views/dashboard.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 127 | 2017-11-14T19:47:27.000Z | 2022-03-24T21:25:12.000Z | from flask_admin import AdminIndexView as BaseAdminIndexView, expose
from ..security import AdminSecurityMixin
class AdminDashboardView(AdminSecurityMixin, BaseAdminIndexView):
@expose('/')
def index(self):
return self.render('admin/dashboard.html')
| 26.9 | 68 | 0.773234 | 26 | 269 | 7.961538 | 0.730769 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141264 | 269 | 9 | 69 | 29.888889 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.078067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 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 |
78f940cfbd14238bf11854164138c5e1a8ae2c20 | 122 | py | Python | clustering/redisimpl/__init__.py | Zouhairhajji/election_master-slave_example | af9bb74f2f2f5d5078baa6e2754feba2e1ea8f4b | [
"Apache-2.0"
] | null | null | null | clustering/redisimpl/__init__.py | Zouhairhajji/election_master-slave_example | af9bb74f2f2f5d5078baa6e2754feba2e1ea8f4b | [
"Apache-2.0"
] | null | null | null | clustering/redisimpl/__init__.py | Zouhairhajji/election_master-slave_example | af9bb74f2f2f5d5078baa6e2754feba2e1ea8f4b | [
"Apache-2.0"
] | null | null | null | from clusteravailabilitycheck import ClusterAvailabilityCheck
from clusteravailabilitypresence import ClusterAvailability
| 40.666667 | 61 | 0.934426 | 8 | 122 | 14.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 122 | 2 | 62 | 61 | 1 | 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 |
6035400b93c31ebc889540d37b8e771fb6ae5acc | 87 | py | Python | kontrol/curvefit/model/__init__.py | terrencetec/kontrol | ba6461784e38d01399efeb7a42911259f9254db0 | [
"MIT"
] | 3 | 2020-08-31T10:34:43.000Z | 2021-08-10T20:48:59.000Z | kontrol/curvefit/model/__init__.py | terrencetec/kontrol | ba6461784e38d01399efeb7a42911259f9254db0 | [
"MIT"
] | 33 | 2020-06-16T18:38:25.000Z | 2022-03-24T00:48:55.000Z | kontrol/curvefit/model/__init__.py | terrencetec/kontrol | ba6461784e38d01399efeb7a42911259f9254db0 | [
"MIT"
] | null | null | null | from .math_model import *
from .model import *
from .transfer_function_model import *
| 17.4 | 38 | 0.781609 | 12 | 87 | 5.416667 | 0.5 | 0.507692 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 4 | 39 | 21.75 | 0.878378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
606547e69bd71657e4926938c5c1b638b184b583 | 121 | py | Python | ProjectApplication/project_core/processors/navbar_background.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 5 | 2020-07-29T10:00:11.000Z | 2022-02-19T11:00:34.000Z | ProjectApplication/project_core/processors/navbar_background.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 471 | 2019-09-20T14:37:28.000Z | 2022-03-25T14:16:34.000Z | ProjectApplication/project_core/processors/navbar_background.py | code-review-doctor/project-application | d85b40b69572efbcda24ce9c40803f76d8ffd192 | [
"MIT"
] | 5 | 2020-03-15T12:42:47.000Z | 2022-02-15T18:06:52.000Z | from django.conf import settings
def background(request):
return {'navbarcolor': settings.NAVBAR_BACKGROUND_COLOR}
| 20.166667 | 60 | 0.793388 | 14 | 121 | 6.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 5 | 61 | 24.2 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 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 |
608682c63aa66ba881538a57bf21312af0544b3e | 88,142 | py | Python | src/tests/test_schema.py | craigahobbs/schema-markdown | aec523eb3c0bacb130b4d0c379eefa1b1898b5d7 | [
"MIT"
] | 1 | 2021-04-04T09:28:52.000Z | 2021-04-04T09:28:52.000Z | src/tests/test_schema.py | craigahobbs/schema-markdown | aec523eb3c0bacb130b4d0c379eefa1b1898b5d7 | [
"MIT"
] | null | null | null | src/tests/test_schema.py | craigahobbs/schema-markdown | aec523eb3c0bacb130b4d0c379eefa1b1898b5d7 | [
"MIT"
] | null | null | null | # Licensed under the MIT License
# https://github.com/craigahobbs/schema-markdown/blob/main/LICENSE
# pylint: disable=missing-class-docstring, missing-function-docstring, missing-module-docstring
from datetime import date, datetime, timedelta, timezone
from decimal import Decimal
import unittest
from uuid import UUID... | 36.287361 | 138 | 0.47411 | 7,909 | 88,142 | 5.120496 | 0.028069 | 0.04099 | 0.076399 | 0.095931 | 0.912218 | 0.891155 | 0.869327 | 0.84056 | 0.822584 | 0.785372 | 0 | 0.012838 | 0.380511 | 88,142 | 2,428 | 139 | 36.302306 | 0.728843 | 0.002598 | 0 | 0.565277 | 0 | 0.007253 | 0.195996 | 0.003618 | 0 | 0 | 0 | 0 | 0.189937 | 1 | 0.072529 | false | 0 | 0.002267 | 0 | 0.077063 | 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 |
60bbc7b992c2d59f27252fb758a595beadbfa9ab | 5,510 | py | Python | hyperion/tests/tests_comment.py | ExiaSR/hyperion | 0b14ef55ed00b964f1966c722f4162c475aa4895 | [
"MIT"
] | 3 | 2019-01-30T03:50:04.000Z | 2019-02-20T00:33:05.000Z | hyperion/tests/tests_comment.py | ExiaSR/hyperion | 0b14ef55ed00b964f1966c722f4162c475aa4895 | [
"MIT"
] | 173 | 2019-01-30T08:30:54.000Z | 2019-04-05T19:43:06.000Z | hyperion/tests/tests_comment.py | ExiaSR/hyperion | 0b14ef55ed00b964f1966c722f4162c475aa4895 | [
"MIT"
] | 2 | 2019-05-06T22:59:56.000Z | 2020-09-29T03:13:03.000Z | from django.test import TestCase
from hyperion.models import Comment, UserProfile, Post
from django.contrib.auth.models import User
class CommentTestCase(TestCase):
def setUp(self):
pass
def test_create_comment(self):
# u2 comments to post created by u1
u1 = User.objects.create(
... | 29.465241 | 92 | 0.507623 | 590 | 5,510 | 4.610169 | 0.108475 | 0.138603 | 0.11875 | 0.110294 | 0.814338 | 0.808456 | 0.794853 | 0.790441 | 0.768015 | 0.6625 | 0 | 0.04 | 0.373866 | 5,510 | 186 | 93 | 29.623656 | 0.748406 | 0.21216 | 0 | 0.686567 | 0 | 0 | 0.064464 | 0 | 0 | 0 | 0 | 0.005376 | 0.067164 | 1 | 0.037313 | false | 0.007463 | 0.022388 | 0 | 0.067164 | 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 |
60c0792dc1493e317a6cf928837403e1854313b0 | 6,100 | py | Python | tests/test_configs.py | kyleaton/great_expectations | a856513859445cdb1b254e0d90022bab6257b6a2 | [
"Apache-2.0"
] | 2 | 2020-05-07T18:16:17.000Z | 2020-05-07T18:16:21.000Z | tests/test_configs.py | kyleaton/great_expectations | a856513859445cdb1b254e0d90022bab6257b6a2 | [
"Apache-2.0"
] | null | null | null | tests/test_configs.py | kyleaton/great_expectations | a856513859445cdb1b254e0d90022bab6257b6a2 | [
"Apache-2.0"
] | null | null | null | import pytest
from great_expectations.data_context.util import (
instantiate_class_from_config
)
def test_instantiate_class_from_config():
# This config structure feels very tidy to me.
instantiate_class_from_config(
config = {
"module_name" : "tests.test_plugins.fake_configs",
... | 33.333333 | 97 | 0.609836 | 579 | 6,100 | 5.977548 | 0.150259 | 0.124819 | 0.098238 | 0.127709 | 0.871713 | 0.859 | 0.849465 | 0.828084 | 0.77781 | 0.767986 | 0 | 0.002346 | 0.301311 | 6,100 | 183 | 98 | 33.333333 | 0.809714 | 0.068361 | 0 | 0.631579 | 0 | 0 | 0.265738 | 0.196614 | 0 | 0 | 0 | 0 | 0.032895 | 1 | 0.019737 | false | 0 | 0.013158 | 0 | 0.032895 | 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 |
60d9cb7ba3234a05b864318840fe2e71d7d30c55 | 184 | py | Python | 5-5.py | Holaplace/path_to_python | 8fae2aca8d6da04c39a67514948fdf50e883750a | [
"MIT"
] | 1 | 2019-02-06T01:49:18.000Z | 2019-02-06T01:49:18.000Z | 5-5.py | Holaplace/path_to_python | 8fae2aca8d6da04c39a67514948fdf50e883750a | [
"MIT"
] | null | null | null | 5-5.py | Holaplace/path_to_python | 8fae2aca8d6da04c39a67514948fdf50e883750a | [
"MIT"
] | null | null | null | alien_color = 'yellow'
if alien_color == 'green':
print('Get 5 points')
elif alien_color == 'red':
print('10 points')
elif alien_color == 'yellow':
print('15 points') | 26.285714 | 30 | 0.625 | 25 | 184 | 4.44 | 0.52 | 0.36036 | 0.288288 | 0.36036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.211957 | 184 | 7 | 31 | 26.285714 | 0.731034 | 0 | 0 | 0 | 0 | 0 | 0.27933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8812df52b8f2e0913500a5a364f4361e7e9396a1 | 726 | py | Python | pages/demo_blaze/login_page.py | sgbm0592/test_automation | 0965b9a4b4df450d90e11b798d107837abf1bdca | [
"MIT"
] | null | null | null | pages/demo_blaze/login_page.py | sgbm0592/test_automation | 0965b9a4b4df450d90e11b798d107837abf1bdca | [
"MIT"
] | null | null | null | pages/demo_blaze/login_page.py | sgbm0592/test_automation | 0965b9a4b4df450d90e11b798d107837abf1bdca | [
"MIT"
] | null | null | null |
class LogInPage:
_option_login_id = 'login2'
_option_username_id = 'loginusername'
_option_password_id = 'loginpassword'
_option_log_button_id = '//button[contains(text(), "Log in")]'
_option_welcome_id = 'nameofuser'
_option_log_out_id = 'logout2'
def get_login_option(self):
retu... | 25.928571 | 66 | 0.719008 | 95 | 726 | 4.936842 | 0.252632 | 0.076759 | 0.204691 | 0.255864 | 0.345416 | 0.123667 | 0 | 0 | 0 | 0 | 0 | 0.003472 | 0.206612 | 726 | 27 | 67 | 26.888889 | 0.810764 | 0 | 0 | 0 | 0 | 0 | 0.117241 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.157895 | 0 | 0.315789 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
716375fd9ee5ce55098c880c9e570e9d87fe328d | 35 | py | Python | src/dsp/cli.py | felix-hilden/dsp | 2e58d0e27b5ed738a29d07cb516ea63a7339725f | [
"MIT"
] | 1 | 2021-12-07T22:17:32.000Z | 2021-12-07T22:17:32.000Z | src/dsp/cli.py | felix-hilden/dsp | 2e58d0e27b5ed738a29d07cb516ea63a7339725f | [
"MIT"
] | null | null | null | src/dsp/cli.py | felix-hilden/dsp | 2e58d0e27b5ed738a29d07cb516ea63a7339725f | [
"MIT"
] | null | null | null | from .gui import start_gui as main
| 17.5 | 34 | 0.8 | 7 | 35 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 1 | 35 | 35 | 0.931034 | 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 |
7172c71b87aad8cc433da7621979e74867590e0c | 3,988 | py | Python | stacker_net/train.py | ProtossLuigi/vision-stretcher | e57e4946e510ba7a13c8d1e6b5a26cc73d84f730 | [
"MIT"
] | null | null | null | stacker_net/train.py | ProtossLuigi/vision-stretcher | e57e4946e510ba7a13c8d1e6b5a26cc73d84f730 | [
"MIT"
] | null | null | null | stacker_net/train.py | ProtossLuigi/vision-stretcher | e57e4946e510ba7a13c8d1e6b5a26cc73d84f730 | [
"MIT"
] | null | null | null | from typing import Any, Callable, Optional
from torch import nn
import torch
from torch.utils.data import DataLoader
from tqdm.autonotebook import tqdm
from .net import StackerNet
import torchvision
from PIL import Image
class MyDataset(torchvision.datasets.VisionDataset):
def __init__(self, root: str, paths: lis... | 29.984962 | 182 | 0.607823 | 527 | 3,988 | 4.366224 | 0.180266 | 0.073012 | 0.047805 | 0.041721 | 0.752716 | 0.733594 | 0.733594 | 0.724033 | 0.724033 | 0.724033 | 0 | 0.013932 | 0.28009 | 3,988 | 132 | 183 | 30.212121 | 0.78753 | 0 | 0 | 0.778761 | 0 | 0 | 0.038616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061947 | false | 0 | 0.070796 | 0.00885 | 0.176991 | 0.053097 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71992556783bba49e2c133e2eb9d58e861593d0f | 246 | py | Python | codes_/0944_Delete_Columns_to_Make_Sorted.py | SaitoTsutomu/leetcode | 4656d66ab721a5c7bc59890db9a2331c6823b2bf | [
"MIT"
] | null | null | null | codes_/0944_Delete_Columns_to_Make_Sorted.py | SaitoTsutomu/leetcode | 4656d66ab721a5c7bc59890db9a2331c6823b2bf | [
"MIT"
] | null | null | null | codes_/0944_Delete_Columns_to_Make_Sorted.py | SaitoTsutomu/leetcode | 4656d66ab721a5c7bc59890db9a2331c6823b2bf | [
"MIT"
] | null | null | null | # %% [944. Delete Columns to Make Sorted](https://leetcode.com/problems/delete-columns-to-make-sorted/)
class Solution:
def minDeletionSize(self, A: List[str]) -> int:
return sum(any(i > j for i, j in zip(t, t[1:])) for t in zip(*A))
| 49.2 | 103 | 0.650407 | 42 | 246 | 3.809524 | 0.690476 | 0.1625 | 0.1875 | 0.2375 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.170732 | 246 | 4 | 104 | 61.5 | 0.764706 | 0.410569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
719941cbf200329d6f45f62c8c1f1a8eba744d26 | 73 | py | Python | app/handlers/__init__.py | Krausso/post-bot | c8dc5c3b7401e2e7f55e28908f5e7fe3b00a587c | [
"MIT"
] | 1 | 2021-03-12T17:37:17.000Z | 2021-03-12T17:37:17.000Z | app/handlers/__init__.py | Krausso/post-bot | c8dc5c3b7401e2e7f55e28908f5e7fe3b00a587c | [
"MIT"
] | null | null | null | app/handlers/__init__.py | Krausso/post-bot | c8dc5c3b7401e2e7f55e28908f5e7fe3b00a587c | [
"MIT"
] | null | null | null | # flake8: noqa
from . import chat
from . import start
from . import vote
| 14.6 | 19 | 0.726027 | 11 | 73 | 4.818182 | 0.636364 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.205479 | 73 | 4 | 20 | 18.25 | 0.896552 | 0.164384 | 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 |
71a3fe1f0f96b2735bef2202c3d2f55485bce2a1 | 43 | py | Python | python_tests/date_manipulation.py | arasumran/python-basic-tutorial | e3d08beef2001e611c142bc839701c25f3f0ef84 | [
"Apache-2.0"
] | null | null | null | python_tests/date_manipulation.py | arasumran/python-basic-tutorial | e3d08beef2001e611c142bc839701c25f3f0ef84 | [
"Apache-2.0"
] | 7 | 2021-02-08T18:56:49.000Z | 2022-01-13T01:06:50.000Z | python_tests/date_manipulation.py | arasumran/python-basic-tutorial | e3d08beef2001e611c142bc839701c25f3f0ef84 | [
"Apache-2.0"
] | null | null | null | import requests
import os
import shutil
| 6.142857 | 15 | 0.790698 | 6 | 43 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 6 | 16 | 7.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71b16249d7b0b50ebea7bd162aa18c6a9f8d156c | 165 | py | Python | sample/verify_server.py | KaiSanPao/mootdx | 2a31db6ff19b7d2e5bf0d73c7d5c7a8cbe7dbd1a | [
"MIT"
] | 88 | 2021-06-29T03:18:13.000Z | 2022-03-30T12:28:28.000Z | sample/verify_server.py | ywzda/mootdx | 4ab3d7330ee733873515392df53969f814c2e80f | [
"MIT"
] | 9 | 2021-10-02T14:00:19.000Z | 2022-03-21T02:10:19.000Z | sample/verify_server.py | ywzda/mootdx | 4ab3d7330ee733873515392df53969f814c2e80f | [
"MIT"
] | 48 | 2021-07-22T04:24:08.000Z | 2022-03-26T01:10:47.000Z | from mootdx.server import bestip
from mootdx.server import Server
bestip()
# Server(index='HQ', limit=5, console=True)
# Server(index='EX', limit=5, console=True)
| 20.625 | 43 | 0.739394 | 25 | 165 | 4.88 | 0.48 | 0.163934 | 0.262295 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.115152 | 165 | 7 | 44 | 23.571429 | 0.821918 | 0.50303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
71b454e80f3707475fe38be32bf61151d066ca2e | 22 | py | Python | examples/TodoBot/src/add/__init__.py | Ketre3/vkquick | 81b19111e2322d277bfbb89dae6a27fb70a9b8c7 | [
"MIT"
] | null | null | null | examples/TodoBot/src/add/__init__.py | Ketre3/vkquick | 81b19111e2322d277bfbb89dae6a27fb70a9b8c7 | [
"MIT"
] | null | null | null | examples/TodoBot/src/add/__init__.py | Ketre3/vkquick | 81b19111e2322d277bfbb89dae6a27fb70a9b8c7 | [
"MIT"
] | null | null | null | from .main import add
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 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 |
e0978fb769be02659d767d8345db323b0775b2dd | 69,492 | py | Python | tests/test_commands.py | crazygmr101/Tanjun | 956721210b32b011e057a365a6b224c299be3c43 | [
"BSD-3-Clause"
] | null | null | null | tests/test_commands.py | crazygmr101/Tanjun | 956721210b32b011e057a365a6b224c299be3c43 | [
"BSD-3-Clause"
] | null | null | null | tests/test_commands.py | crazygmr101/Tanjun | 956721210b32b011e057a365a6b224c299be3c43 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# cython: language_level=3
# BSD 3-Clause License
#
# Copyright (c) 2020-2021, Faster Speeding
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of sour... | 39.823496 | 120 | 0.692785 | 8,653 | 69,492 | 5.275974 | 0.052698 | 0.059273 | 0.017173 | 0.021466 | 0.852781 | 0.817033 | 0.784658 | 0.763148 | 0.71452 | 0.663089 | 0 | 0.00624 | 0.208988 | 69,492 | 1,744 | 121 | 39.84633 | 0.824283 | 0.026593 | 0 | 0.602281 | 0 | 0 | 0.041657 | 0 | 0 | 0 | 0 | 0 | 0.360456 | 1 | 0.095817 | false | 0.034221 | 0.004563 | 0.001521 | 0.111027 | 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 |
e0c961f1a027e8283f80b618fa4c31bd2aab27b4 | 12,255 | py | Python | tests/test_endpoints_query_string.py | rahulraina7/sanic-jwt | eb31e9771dca6680c140630f1fe591617fbcf7f7 | [
"MIT"
] | 2 | 2021-07-28T08:44:19.000Z | 2021-07-28T08:44:31.000Z | tests/test_endpoints_query_string.py | rahulraina7/sanic-jwt | eb31e9771dca6680c140630f1fe591617fbcf7f7 | [
"MIT"
] | null | null | null | tests/test_endpoints_query_string.py | rahulraina7/sanic-jwt | eb31e9771dca6680c140630f1fe591617fbcf7f7 | [
"MIT"
] | null | null | null | import binascii
import os
import jwt
import pytest
from sanic import Sanic
from sanic.response import json
from sanic_jwt import Initialize, protected
@pytest.fixture
def app_with_refresh_token(users, authenticate):
cache = {}
async def store_refresh_token(user_id, refresh_token, *args, **kwargs):
... | 32.420635 | 79 | 0.614443 | 1,321 | 12,255 | 5.372445 | 0.08327 | 0.084543 | 0.057066 | 0.056221 | 0.816824 | 0.803579 | 0.760603 | 0.74609 | 0.720304 | 0.691701 | 0 | 0.00564 | 0.291065 | 12,255 | 377 | 80 | 32.506631 | 0.811234 | 0.004814 | 0 | 0.565495 | 0 | 0 | 0.074223 | 0.014517 | 0 | 0 | 0 | 0 | 0.153355 | 1 | 0.028754 | false | 0.003195 | 0.022364 | 0 | 0.070288 | 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 |
e0cd62532c540af78e25fa4cfb2348da047a0552 | 1,514 | py | Python | tests/test_query_diva_protocol_polygon.py | t0mcr8se/telliot-core | 5512af5607aafa5c8c73104504ea51565b3c2d05 | [
"MIT"
] | null | null | null | tests/test_query_diva_protocol_polygon.py | t0mcr8se/telliot-core | 5512af5607aafa5c8c73104504ea51565b3c2d05 | [
"MIT"
] | null | null | null | tests/test_query_diva_protocol_polygon.py | t0mcr8se/telliot-core | 5512af5607aafa5c8c73104504ea51565b3c2d05 | [
"MIT"
] | null | null | null | """ Unit tests for divaProtocolPolygon queries
Copyright (c) 2021-, Tellor Development Community
Distributed under the terms of the MIT License.
"""
from eth_abi import decode_abi
from telliot_core.queries.diva_protocol import divaProtocolPolygon
def test_constructor():
"""Validate spot price query."""
q = ... | 50.466667 | 732 | 0.73712 | 273 | 1,514 | 4.014652 | 0.216117 | 0.903285 | 1.330292 | 1.740876 | 0.459854 | 0.459854 | 0.459854 | 0.459854 | 0.459854 | 0.459854 | 0 | 0.286129 | 0.090489 | 1,514 | 29 | 733 | 52.206897 | 0.509804 | 0.147952 | 0 | 0 | 0 | 0.083333 | 0.629804 | 0.602353 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.083333 | false | 0 | 0.166667 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0eec82fbfee27a0424a20ac989308a811803b88 | 2,470 | py | Python | tools/telemetry/telemetry/page/actions/click_element_unittest.py | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | tools/telemetry/telemetry/page/actions/click_element_unittest.py | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | tools/telemetry/telemetry/page/actions/click_element_unittest.py | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry.core import util
from telemetry.page.actions import click_element
from telemetry.page.actions import wait
from telemetry.unittest import t... | 36.865672 | 72 | 0.721053 | 266 | 2,470 | 6.518797 | 0.308271 | 0.060554 | 0.041522 | 0.055363 | 0.77624 | 0.741638 | 0.741638 | 0.741638 | 0.741638 | 0.741638 | 0 | 0.00192 | 0.15668 | 2,470 | 66 | 73 | 37.424242 | 0.830533 | 0.064372 | 0 | 0.792453 | 0 | 0 | 0.186389 | 0.070221 | 0 | 0 | 0 | 0 | 0.113208 | 1 | 0.056604 | false | 0 | 0.075472 | 0 | 0.150943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0f2cd3d3cfb0f09d25cd08a8592ff6553f9f1f8 | 134 | py | Python | mycroft/client/speech/__init__.py | OpenVoiceOS/ovos-core | 662577740a6e8cb5bb92bec014a05be9a6870b05 | [
"Apache-2.0"
] | 4 | 2021-11-03T22:06:30.000Z | 2021-11-19T08:03:58.000Z | mycroft/client/speech/__init__.py | OpenVoiceOS/ovos-core | 662577740a6e8cb5bb92bec014a05be9a6870b05 | [
"Apache-2.0"
] | 62 | 2021-10-29T21:18:51.000Z | 2022-03-30T07:08:29.000Z | mycroft/client/speech/listener.py | OpenVoiceOS/ovos-core | 662577740a6e8cb5bb92bec014a05be9a6870b05 | [
"Apache-2.0"
] | null | null | null | """
This module contains back compat imports only
Speech client moved into mycroft.listener module
"""
from mycroft.listener import *
| 22.333333 | 48 | 0.791045 | 18 | 134 | 5.888889 | 0.833333 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 134 | 5 | 49 | 26.8 | 0.921739 | 0.701493 | 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 |
e0fe960e135c22c2d1aacbf545ec5039684e678d | 245 | py | Python | exercicio6.py | MatheusFilipe21/ExerciciosPython | ccef6b76fc319d82adf3f153d9053e4eb2b53dc4 | [
"MIT"
] | null | null | null | exercicio6.py | MatheusFilipe21/ExerciciosPython | ccef6b76fc319d82adf3f153d9053e4eb2b53dc4 | [
"MIT"
] | null | null | null | exercicio6.py | MatheusFilipe21/ExerciciosPython | ccef6b76fc319d82adf3f153d9053e4eb2b53dc4 | [
"MIT"
] | null | null | null | n = float(input(' Escreva um número: '))
print('O dobro desse número é: \033[31m{}\033[m'.format(n*2))
print('O triplo desse número é: \033[32m{}\033[m'.format(n*3))
print('A raiz quadrada desse número é: \033[33m{:.2f}\033[m'.format(n**(1/2)))
| 49 | 78 | 0.653061 | 48 | 245 | 3.333333 | 0.520833 | 0.20625 | 0.225 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13242 | 0.106122 | 245 | 4 | 79 | 61.25 | 0.598174 | 0 | 0 | 0 | 0 | 0 | 0.62449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4617eadec7d02e3c1026fc9930c0de67defe8891 | 7,046 | py | Python | labs/Lab1/source/part3.py | d-dimos/dsp_ntua | 5702d3607682d6bfe6904a290d57ea0caed00b21 | [
"MIT"
] | 1 | 2022-03-25T14:25:50.000Z | 2022-03-25T14:25:50.000Z | labs/Lab1/source/part3.py | d-dimos/dsp_ntua | 5702d3607682d6bfe6904a290d57ea0caed00b21 | [
"MIT"
] | null | null | null | labs/Lab1/source/part3.py | d-dimos/dsp_ntua | 5702d3607682d6bfe6904a290d57ea0caed00b21 | [
"MIT"
] | 2 | 2022-03-24T22:18:29.000Z | 2022-03-24T22:26:05.000Z | # Digital Signal Processing - Lab 1 - Part 3
# Christos Dimopoulos - 03117037
# Dimitris Dimos - 03117165
import numpy as np
import matplotlib.pyplot as plt
import scipy as sp
import sounddevice as sd
plt.close('all')
counter =0
# Part 3
#3.1: Short-Time Energy & Zero Crossing of speech signal
# Op... | 31.315556 | 88 | 0.692166 | 1,087 | 7,046 | 4.460902 | 0.146274 | 0.051969 | 0.055682 | 0.038565 | 0.829862 | 0.787173 | 0.775211 | 0.747577 | 0.699526 | 0.651475 | 0 | 0.025492 | 0.170451 | 7,046 | 225 | 89 | 31.315556 | 0.804106 | 0.214448 | 0 | 0.701987 | 0 | 0 | 0.225152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019868 | false | 0 | 0.033113 | 0 | 0.072848 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e800c430522b994af3bfc9e1301a1ab2af7350af | 23 | py | Python | veros/core/density/__init__.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | veros/core/density/__init__.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | veros/core/density/__init__.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | from .get_rho import *
| 11.5 | 22 | 0.73913 | 4 | 23 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.842105 | 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 |
e81762e48e070106b04cb4690214140b25148ac6 | 11,090 | py | Python | battle/RL_dmfgac.py | Sriram94/DMFG | 9206d4302350bed165e6812e8874041335ecf8a8 | [
"MIT"
] | 4 | 2021-12-17T08:00:28.000Z | 2022-02-12T12:25:24.000Z | battle/RL_dmfgac.py | Sriram94/DMFG | 9206d4302350bed165e6812e8874041335ecf8a8 | [
"MIT"
] | null | null | null | battle/RL_dmfgac.py | Sriram94/DMFG | 9206d4302350bed165e6812e8874041335ecf8a8 | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
import gym
np.random.seed(1)
tf.set_random_seed(1)
GAMMA = 0.9
class Actor(object):
def __init__(self, sess, n_features, n_actions, lr=0.001, name = 'none'):
self.sess = sess
self.name = name
self.s = tf.p... | 37.090301 | 106 | 0.523354 | 1,284 | 11,090 | 4.320872 | 0.098131 | 0.065609 | 0.065609 | 0.047945 | 0.817772 | 0.794701 | 0.756849 | 0.737924 | 0.718097 | 0.705299 | 0 | 0.026009 | 0.365555 | 11,090 | 298 | 107 | 37.214765 | 0.762507 | 0 | 0 | 0.663755 | 0 | 0 | 0.03183 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061135 | false | 0 | 0.0131 | 0 | 0.104803 | 0.026201 | 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 |
e83063c9c6bb1a931c3e1bf0e04327fc9c45dc72 | 263 | py | Python | thefuck/rules/django_south_ghost.py | RogueScholar/thefuck-termux | cc33d5fa0077b2b2323b8a62f3478ff8efef3fba | [
"MIT"
] | null | null | null | thefuck/rules/django_south_ghost.py | RogueScholar/thefuck-termux | cc33d5fa0077b2b2323b8a62f3478ff8efef3fba | [
"MIT"
] | null | null | null | thefuck/rules/django_south_ghost.py | RogueScholar/thefuck-termux | cc33d5fa0077b2b2323b8a62f3478ff8efef3fba | [
"MIT"
] | null | null | null | def match(command):
return ("manage.py" in command.script and "migrate" in command.script
and "or pass --delete-ghost-migrations" in command.output)
def get_new_command(command):
return u"{} --delete-ghost-migrations".format(command.script)
| 32.875 | 73 | 0.707224 | 36 | 263 | 5.111111 | 0.555556 | 0.146739 | 0.163043 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163498 | 263 | 7 | 74 | 37.571429 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.292776 | 0.190114 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.4 | 0.8 | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
1c2a1fab1952e1f79a08a0a4c9187952bf7bcb2e | 382 | py | Python | services/dsrp-api/app/api/application/models/__init__.py | bcgov/dormant-site-reclamation-program | 4710434174a204a292a3128d92c8daf1de2a65a6 | [
"Apache-2.0"
] | null | null | null | services/dsrp-api/app/api/application/models/__init__.py | bcgov/dormant-site-reclamation-program | 4710434174a204a292a3128d92c8daf1de2a65a6 | [
"Apache-2.0"
] | 9 | 2020-05-06T23:29:43.000Z | 2022-03-14T22:58:17.000Z | services/dsrp-api/app/api/application/models/__init__.py | bcgov/dormant-site-reclamation-program | 4710434174a204a292a3128d92c8daf1de2a65a6 | [
"Apache-2.0"
] | 3 | 2020-05-08T16:54:22.000Z | 2021-01-27T17:28:49.000Z | from .application import *
from .application_document import *
from .application_document_type import *
from .application_phase_type import *
from .application_status import *
from .application_status_change import *
from .application_history import *
from .payment_document import *
from .payment_document_contracted_wo... | 34.727273 | 60 | 0.842932 | 47 | 382 | 6.489362 | 0.276596 | 0.295082 | 0.413115 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104712 | 382 | 10 | 61 | 38.2 | 0.891813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c3be867a5388ae3bb6f6bf6154f4631ad868c77 | 28 | py | Python | engine/cameras/__init__.py | LloydTao/ecm3423-fur-effect | fefa73665b459dfd1648dca97a95e8313cf53dd5 | [
"MIT"
] | null | null | null | engine/cameras/__init__.py | LloydTao/ecm3423-fur-effect | fefa73665b459dfd1648dca97a95e8313cf53dd5 | [
"MIT"
] | null | null | null | engine/cameras/__init__.py | LloydTao/ecm3423-fur-effect | fefa73665b459dfd1648dca97a95e8313cf53dd5 | [
"MIT"
] | null | null | null | from .cameras import Camera
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
1c7001e23f408c43949c2860ef293430c4cd78b9 | 1,049 | py | Python | Mundo 2/aula15/desafio3.0.py | mandamg/Exercicios-de-Python-do-Curso-em-Video | 3f818c11c3c10213bebc1dfb6a740adee468ea3a | [
"MIT"
] | null | null | null | Mundo 2/aula15/desafio3.0.py | mandamg/Exercicios-de-Python-do-Curso-em-Video | 3f818c11c3c10213bebc1dfb6a740adee468ea3a | [
"MIT"
] | null | null | null | Mundo 2/aula15/desafio3.0.py | mandamg/Exercicios-de-Python-do-Curso-em-Video | 3f818c11c3c10213bebc1dfb6a740adee468ea3a | [
"MIT"
] | null | null | null | from random import randint
p = s =0
while True:
n = int(input('Digite o numero: '))
e = ' '
while e not in 'PI':
e = input('Você quer PAR ou ÍMPAR?[P/I]').upper()
pc = randint(0,10)
o = pc + n
if o % 2 == 0 and e == 'P':
print('='*30)
print(f'Você jogou {n} e eu joguei {p... | 34.966667 | 115 | 0.510963 | 170 | 1,049 | 3.152941 | 0.317647 | 0.078358 | 0.089552 | 0.097015 | 0.766791 | 0.766791 | 0.766791 | 0.766791 | 0.766791 | 0.766791 | 0 | 0.033803 | 0.323165 | 1,049 | 29 | 116 | 36.172414 | 0.721127 | 0 | 0 | 0.413793 | 0 | 0.137931 | 0.441373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.034483 | 0.413793 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1c98482144890c3085bbcf94364cfffaed1f0ba3 | 5,459 | py | Python | tests/states/test_parameter_states.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | tests/states/test_parameter_states.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | tests/states/test_parameter_states.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pytest
from psyneulink.core.components.component import ComponentError
from psyneulink.core.components.functions.transferfunctions import Linear
from psyneulink.core.components.mechanisms.processing.transfermechanism import TransferMechanism
class TestParameterStates:
def test_inspect_fu... | 35.448052 | 102 | 0.633083 | 751 | 5,459 | 4.440746 | 0.111851 | 0.086357 | 0.172714 | 0.183508 | 0.769115 | 0.729535 | 0.716342 | 0.704648 | 0.674963 | 0.613193 | 0 | 0.025533 | 0.261037 | 5,459 | 153 | 103 | 35.679739 | 0.80119 | 0.102949 | 0 | 0.504854 | 0 | 0 | 0.050778 | 0 | 0 | 0 | 0 | 0 | 0.679612 | 1 | 0.029126 | false | 0 | 0.048544 | 0 | 0.106796 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98ca9a44929c3451bf67f0e2c54849ce77880e00 | 66 | py | Python | news_api_key.py | bittuboss601/Voice-Assistant-Angularstone | 6717de790a39474bafcfbad63aaa45d6ba8a058f | [
"MIT"
] | 2 | 2021-01-14T16:54:42.000Z | 2021-08-01T19:07:36.000Z | news_api_key.py | bittuboss601/Voice-Assistant-Angularstone | 6717de790a39474bafcfbad63aaa45d6ba8a058f | [
"MIT"
] | null | null | null | news_api_key.py | bittuboss601/Voice-Assistant-Angularstone | 6717de790a39474bafcfbad63aaa45d6ba8a058f | [
"MIT"
] | null | null | null | def news_api():
return 'NEWS API KEY(http://newsapi.org/v2/)' | 33 | 49 | 0.651515 | 11 | 66 | 3.818182 | 0.818182 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.151515 | 66 | 2 | 49 | 33 | 0.732143 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
c7a859dea4b3e1055834cb390c9ab5081024891e | 30 | py | Python | parsl/tests/callables_helper.py | cylondata/parsl | 00ff9372bd841dafef8a0b3566c79ffe68f0e367 | [
"Apache-2.0"
] | 323 | 2017-07-28T21:31:27.000Z | 2022-03-05T13:06:05.000Z | parsl/tests/callables_helper.py | cylondata/parsl | 00ff9372bd841dafef8a0b3566c79ffe68f0e367 | [
"Apache-2.0"
] | 1,286 | 2017-06-01T16:50:00.000Z | 2022-03-31T16:45:14.000Z | parsl/tests/callables_helper.py | cylondata/parsl | 00ff9372bd841dafef8a0b3566c79ffe68f0e367 | [
"Apache-2.0"
] | 113 | 2017-06-03T11:38:40.000Z | 2022-03-26T16:43:05.000Z | def some_aux_func():
pass
| 10 | 20 | 0.666667 | 5 | 30 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 21 | 15 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c7e5d7630488eb78e5c23f35f2fe84782a978d4f | 97,676 | py | Python | ironic/tests/unit/common/test_pxe_utils.py | andornotlee/ironic | 71935eaf8c9db6bcf817c56a2dca6efadc562a75 | [
"Apache-2.0"
] | 1 | 2021-03-29T03:48:47.000Z | 2021-03-29T03:48:47.000Z | ironic/tests/unit/common/test_pxe_utils.py | andornotlee/ironic | 71935eaf8c9db6bcf817c56a2dca6efadc562a75 | [
"Apache-2.0"
] | null | null | null | ironic/tests/unit/common/test_pxe_utils.py | andornotlee/ironic | 71935eaf8c9db6bcf817c56a2dca6efadc562a75 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2014 Rackspace, 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 ... | 47.415534 | 79 | 0.593421 | 11,421 | 97,676 | 4.733824 | 0.044742 | 0.029594 | 0.020198 | 0.020586 | 0.877629 | 0.847609 | 0.816795 | 0.782447 | 0.751762 | 0.730436 | 0 | 0.021937 | 0.299951 | 97,676 | 2,059 | 80 | 47.438562 | 0.768741 | 0.023496 | 0 | 0.633635 | 0 | 0.001699 | 0.169529 | 0.07064 | 0.000566 | 0 | 0 | 0.000486 | 0.07701 | 1 | 0.06795 | false | 0.00906 | 0.010759 | 0 | 0.082673 | 0.001133 | 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 |
c7f2bfd4692349acfe4d9b851566d89029eda5e8 | 36 | py | Python | sms/__init__.py | FeruzOripov/willitrain | fb9b66fe91c82d91872ec11643e2500707694ef2 | [
"MIT"
] | null | null | null | sms/__init__.py | FeruzOripov/willitrain | fb9b66fe91c82d91872ec11643e2500707694ef2 | [
"MIT"
] | null | null | null | sms/__init__.py | FeruzOripov/willitrain | fb9b66fe91c82d91872ec11643e2500707694ef2 | [
"MIT"
] | null | null | null | # __init__.py
from .sms import send
| 12 | 21 | 0.75 | 6 | 36 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 2 | 22 | 18 | 0.766667 | 0.305556 | 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 |
1beae40f159637013e5016bdbf34d4f3a650421c | 33 | py | Python | exo/__init__.py | szou011/exo | de8c82c55555facf2106869afc34b7378a731a05 | [
"MIT"
] | null | null | null | exo/__init__.py | szou011/exo | de8c82c55555facf2106869afc34b7378a731a05 | [
"MIT"
] | null | null | null | exo/__init__.py | szou011/exo | de8c82c55555facf2106869afc34b7378a731a05 | [
"MIT"
] | null | null | null | from exo.clarity import ExoReport | 33 | 33 | 0.878788 | 5 | 33 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
40184a0d020be95d48adbe67ca5254908926e257 | 388 | py | Python | testsuite/N819_py36.py | danielpatrickdotdev/pep8-naming | 884f3c40880fcc4c4e3f83e0006f7ec4113213fe | [
"MIT"
] | null | null | null | testsuite/N819_py36.py | danielpatrickdotdev/pep8-naming | 884f3c40880fcc4c4e3f83e0006f7ec4113213fe | [
"MIT"
] | null | null | null | testsuite/N819_py36.py | danielpatrickdotdev/pep8-naming | 884f3c40880fcc4c4e3f83e0006f7ec4113213fe | [
"MIT"
] | null | null | null | # python_version >= '3.6'
#: Okay
class MyDict(TypedDict):
snake_case: str
#: N819
class MyDict(TypedDict):
mixedCase: str
#: N819
class MyDict(TypedDict):
snake_case: str
class MyOtherDict(MyDict):
more_Mixed_Case: str
#: Okay(--ignore-names=mixedCase)
class MyDict(TypedDict):
mixedCase: str
#: Oka... | 20.421053 | 33 | 0.703608 | 49 | 388 | 5.469388 | 0.367347 | 0.205224 | 0.373134 | 0.324627 | 0.626866 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0.02454 | 0.159794 | 388 | 18 | 34 | 21.555556 | 0.797546 | 0.260309 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4073561b5c48f7bfa06f9d9ae62f46f6bb6c133f | 1,456 | py | Python | example_ga_manager.py | guilhermesurek/genetic-algorithm-python | 0017d38a32c52ec92eb03f119abc4b1a282e2010 | [
"MIT"
] | null | null | null | example_ga_manager.py | guilhermesurek/genetic-algorithm-python | 0017d38a32c52ec92eb03f119abc4b1a282e2010 | [
"MIT"
] | null | null | null | example_ga_manager.py | guilhermesurek/genetic-algorithm-python | 0017d38a32c52ec92eb03f119abc4b1a282e2010 | [
"MIT"
] | null | null | null | import geneticalgorithm
# Run GA Manager - Permutation
# Prepare kwargs
kw_args_0 = {"ga_type":'Permutation', "points":points_list, "population_size":100, "mutation_prob":0.01, "cross_prob":0.8, "init_seed":7,
"max_it":200, "min_error":1E-8, "min_error_length":10, "plot":True, "verbose":False}
kw_args_1 = ... | 52 | 137 | 0.688874 | 242 | 1,456 | 3.826446 | 0.198347 | 0.110151 | 0.091793 | 0.12419 | 0.841253 | 0.774298 | 0.774298 | 0.774298 | 0.774298 | 0.774298 | 0 | 0.073586 | 0.113324 | 1,456 | 27 | 138 | 53.925926 | 0.643687 | 0.037088 | 0 | 0.25 | 0 | 0 | 0.415594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 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 |
40c15cda79aee824c877a718d376d6df438ca810 | 5,547 | py | Python | tensorflow/python/ops/standard_ops.py | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | tensorflow/python/ops/standard_ops.py | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | tensorflow/python/ops/standard_ops.py | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | 47.410256 | 94 | 0.809807 | 809 | 5,547 | 5.378245 | 0.244747 | 0.238106 | 0.340152 | 0.380602 | 0.587451 | 0.538497 | 0.351413 | 0.237187 | 0.087336 | 0 | 0 | 0.001628 | 0.114116 | 5,547 | 116 | 95 | 47.818966 | 0.883801 | 0.249504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.012987 | 1 | 0 | true | 0 | 0.987013 | 0 | 0.987013 | 0.012987 | 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 |
40e421d30444499a55b486016ebe97d83dc1aa5d | 63 | py | Python | tests/inline_test_resources/7/script.py | thesynman/pybricksdev | 6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9 | [
"MIT"
] | null | null | null | tests/inline_test_resources/7/script.py | thesynman/pybricksdev | 6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9 | [
"MIT"
] | null | null | null | tests/inline_test_resources/7/script.py | thesynman/pybricksdev | 6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9 | [
"MIT"
] | null | null | null | import importA, importB
print(importA.foo)
print(importB.bar)
| 12.6 | 23 | 0.793651 | 9 | 63 | 5.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 63 | 4 | 24 | 15.75 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
40e88c3e266b79ff597f9f9a4369f38aaa7989c0 | 203 | py | Python | setup.py | ovh/osarchiver | b389948cfec6d0f25463a48c35c95cd4ebc27cc3 | [
"BSD-3-Clause"
] | 18 | 2019-06-06T09:37:18.000Z | 2022-01-12T12:17:10.000Z | setup.py | ovh/osarchiver | b389948cfec6d0f25463a48c35c95cd4ebc27cc3 | [
"BSD-3-Clause"
] | 8 | 2019-10-30T16:32:24.000Z | 2022-01-12T12:47:49.000Z | setup.py | ovh/osarchiver | b389948cfec6d0f25463a48c35c95cd4ebc27cc3 | [
"BSD-3-Clause"
] | 5 | 2019-06-06T12:27:07.000Z | 2022-03-08T19:04:09.000Z | #!/usr/bin/env python3
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
setup(setup_requires=['pbr>=2.0.0'],
pbr=True)
| 20.3 | 51 | 0.724138 | 29 | 203 | 4.965517 | 0.689655 | 0.152778 | 0.208333 | 0.319444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.162562 | 203 | 9 | 52 | 22.555556 | 0.823529 | 0.103448 | 0 | 0 | 0 | 0 | 0.055249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
908555b2add1dd1ac73e25aa91c1ba10a8c84039 | 126 | py | Python | tests/conftest.py | inmcm/kravatte | 21a6da899fe2707ff6128a89f83e3aeecf2ea68a | [
"MIT"
] | 13 | 2018-04-16T19:56:50.000Z | 2022-02-07T16:21:43.000Z | tests/conftest.py | inmcm/kravatte | 21a6da899fe2707ff6128a89f83e3aeecf2ea68a | [
"MIT"
] | 2 | 2018-04-27T12:51:19.000Z | 2018-11-25T16:55:49.000Z | tests/conftest.py | inmcm/kravatte | 21a6da899fe2707ff6128a89f83e3aeecf2ea68a | [
"MIT"
] | 2 | 2018-08-20T06:40:08.000Z | 2019-11-12T23:16:47.000Z | from os import cpu_count
def pytest_generate_tests(metafunc):
metafunc.parametrize("test_workers", [None, cpu_count()])
| 21 | 61 | 0.769841 | 17 | 126 | 5.411765 | 0.823529 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 126 | 5 | 62 | 25.2 | 0.828829 | 0 | 0 | 0 | 1 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90b143940923e995e839b230c0d5ce026c7f7d1a | 6,211 | py | Python | LeetCode/457-circular-array-loop.py | leaving-voider/LeetCode.cn-Record | 2922cbdab85556bc0625adc9e6ce44849232e4f4 | [
"MIT"
] | null | null | null | LeetCode/457-circular-array-loop.py | leaving-voider/LeetCode.cn-Record | 2922cbdab85556bc0625adc9e6ce44849232e4f4 | [
"MIT"
] | null | null | null | LeetCode/457-circular-array-loop.py | leaving-voider/LeetCode.cn-Record | 2922cbdab85556bc0625adc9e6ce44849232e4f4 | [
"MIT"
] | null | null | null | ###############################################################################################
# 一次遍历即可,不过需要考虑下一个点的情况
# 1、落脚点的行走方向和当前circle相反
# 2、下一个点已经走到以i为起点走过的区域内,则要计算循环长度,如果大于1就成功了,否则就退出,起点i设置为无效起点,任何点走到这儿都不会有好结果
# 实际上2只是个优化,不用也可以。只是为了防止更多无效循环,但真要优化的话,从无效起点i开始的每个点,都是无效点,因为他们都不能得到有效circle
# 并且每个能到达无效点的点,也同样是无效... | 38.57764 | 96 | 0.433586 | 664 | 6,211 | 4.028614 | 0.152108 | 0.046729 | 0.042617 | 0.038879 | 0.775701 | 0.766729 | 0.763738 | 0.763738 | 0.751776 | 0.751776 | 0 | 0.025401 | 0.448559 | 6,211 | 161 | 97 | 38.57764 | 0.75562 | 0.192723 | 0 | 0.985612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043165 | false | 0 | 0 | 0 | 0.172662 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90c3588498d8151e8c004db55270950fe88d7028 | 80 | py | Python | __init__.py | vishrutiii/OCRcalculator | 9ee8935a5616fc245037c4fa5db8b3ee679898e5 | [
"MIT"
] | null | null | null | __init__.py | vishrutiii/OCRcalculator | 9ee8935a5616fc245037c4fa5db8b3ee679898e5 | [
"MIT"
] | null | null | null | __init__.py | vishrutiii/OCRcalculator | 9ee8935a5616fc245037c4fa5db8b3ee679898e5 | [
"MIT"
] | null | null | null | from modelling import *
from utils import *
from solver import *
from . import * | 20 | 23 | 0.75 | 11 | 80 | 5.454545 | 0.454545 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 4 | 24 | 20 | 0.923077 | 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 |
90ccdf326e75efc23e4581893458e951867a0863 | 137 | py | Python | mmdet/ops/shape_aware_roi_align/__init__.py | yizhe-ang/MMSceneGraph | d4daec3d7930d6fe1efe75b9c0a265c8be0b70ba | [
"MIT"
] | 24 | 2021-10-14T03:28:28.000Z | 2022-03-29T09:30:04.000Z | mmdet/ops/shape_aware_roi_align/__init__.py | yizhe-ang/MMSceneGraph | d4daec3d7930d6fe1efe75b9c0a265c8be0b70ba | [
"MIT"
] | 4 | 2021-12-14T15:04:49.000Z | 2022-02-19T09:54:42.000Z | mmdet/ops/shape_aware_roi_align/__init__.py | yizhe-ang/MMSceneGraph | d4daec3d7930d6fe1efe75b9c0a265c8be0b70ba | [
"MIT"
] | 4 | 2021-10-31T11:23:06.000Z | 2021-12-17T06:38:50.000Z | from .shape_aware_roi_align import ShapeAwareRoIAlign, shape_aware_roi_align
__all__ = ['shape_aware_roi_align', 'ShapeAwareRoIAlign'] | 45.666667 | 77 | 0.846715 | 17 | 137 | 6.058824 | 0.470588 | 0.291262 | 0.378641 | 0.524272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080292 | 137 | 3 | 78 | 45.666667 | 0.81746 | 0 | 0 | 0 | 0 | 0 | 0.286765 | 0.154412 | 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 |
90d889903e9272108d51e4ab6ec6459a9942dffd | 24 | py | Python | app/blog/presentation/__init__.py | psychesworld/ddd-blog | 51c6169f8f2a27a93291f8f6249c0bd1486cad17 | [
"MIT"
] | null | null | null | app/blog/presentation/__init__.py | psychesworld/ddd-blog | 51c6169f8f2a27a93291f8f6249c0bd1486cad17 | [
"MIT"
] | null | null | null | app/blog/presentation/__init__.py | psychesworld/ddd-blog | 51c6169f8f2a27a93291f8f6249c0bd1486cad17 | [
"MIT"
] | null | null | null | from .views import blog
| 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 |
90dee3353a1828fe19b963b3b27530b3245d4a25 | 70 | py | Python | namecheapapi/__init__.py | porfel/namecheapapi | c34d8b3d6298c7fe09a42d8b81d7b6d9ed6e5667 | [
"MIT"
] | 23 | 2016-06-17T10:17:10.000Z | 2022-03-01T13:21:59.000Z | namecheapapi/__init__.py | porfel/namecheapapi | c34d8b3d6298c7fe09a42d8b81d7b6d9ed6e5667 | [
"MIT"
] | null | null | null | namecheapapi/__init__.py | porfel/namecheapapi | c34d8b3d6298c7fe09a42d8b81d7b6d9ed6e5667 | [
"MIT"
] | 9 | 2016-10-14T14:04:18.000Z | 2021-12-31T21:10:38.000Z | from namecheapapi.api import DomainAPI
from namecheapapi import tests
| 23.333333 | 38 | 0.871429 | 9 | 70 | 6.777778 | 0.666667 | 0.52459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 39 | 35 | 0.983871 | 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 |
90e96a8b69259e22592a71b5f40682748fa75f8f | 99 | py | Python | furrycorn/model/jsonapi.py | odeumgg/furrycorn | 1726bb4c7141317b3075be10305bf65293630c08 | [
"MIT"
] | 7 | 2017-12-22T20:56:47.000Z | 2018-01-20T06:11:38.000Z | furrycorn/model/jsonapi.py | odeumgg/furrycorn | 1726bb4c7141317b3075be10305bf65293630c08 | [
"MIT"
] | null | null | null | furrycorn/model/jsonapi.py | odeumgg/furrycorn | 1726bb4c7141317b3075be10305bf65293630c08 | [
"MIT"
] | 3 | 2017-12-25T21:25:34.000Z | 2018-01-17T00:59:08.000Z | from collections import namedtuple
def mk(obj, config):
"""Not yet implemented."""
pass
| 12.375 | 34 | 0.666667 | 12 | 99 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 99 | 7 | 35 | 14.142857 | 0.857143 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
90f8355da5dfa6dacd0dfb1529e45c91a80ba8e3 | 38,549 | py | Python | cumulusci/tasks/bulkdata/tests/test_mapping_parser.py | vazexqi/CumulusCI | 9075b30adc1ddcb7741df610d888330fa0233798 | [
"BSD-3-Clause"
] | null | null | null | cumulusci/tasks/bulkdata/tests/test_mapping_parser.py | vazexqi/CumulusCI | 9075b30adc1ddcb7741df610d888330fa0233798 | [
"BSD-3-Clause"
] | null | null | null | cumulusci/tasks/bulkdata/tests/test_mapping_parser.py | vazexqi/CumulusCI | 9075b30adc1ddcb7741df610d888330fa0233798 | [
"BSD-3-Clause"
] | 1 | 2021-06-03T01:10:17.000Z | 2021-06-03T01:10:17.000Z | from datetime import date
from pathlib import Path
from io import StringIO
from unittest import mock
import logging
import pytest
import responses
from cumulusci.core.exceptions import BulkDataException, YAMLParseException
from cumulusci.tasks.bulkdata.mapping_parser import (
MappingLookup,
MappingStep,
p... | 35.398531 | 156 | 0.544061 | 3,609 | 38,549 | 5.48102 | 0.083126 | 0.067438 | 0.026642 | 0.023356 | 0.852282 | 0.825135 | 0.789899 | 0.760123 | 0.723927 | 0.689146 | 0 | 0.00232 | 0.351579 | 38,549 | 1,088 | 157 | 35.431066 | 0.789046 | 0.023139 | 0 | 0.588106 | 0 | 0.008811 | 0.171861 | 0.029451 | 0 | 0 | 0 | 0 | 0.099119 | 1 | 0.052863 | false | 0 | 0.013216 | 0 | 0.072687 | 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 |
29071f6b9b01dd42fead5a217695a8fdc169ff6d | 31 | py | Python | kubelogger/__init__.py | urvil38/kubepaas-generator | 7e5a59e3b5e33067f9adcb72e6b1020c7e90d2c1 | [
"MIT"
] | null | null | null | kubelogger/__init__.py | urvil38/kubepaas-generator | 7e5a59e3b5e33067f9adcb72e6b1020c7e90d2c1 | [
"MIT"
] | null | null | null | kubelogger/__init__.py | urvil38/kubepaas-generator | 7e5a59e3b5e33067f9adcb72e6b1020c7e90d2c1 | [
"MIT"
] | null | null | null | from .logger import KubeLogger
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.