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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a8a98856c914486131c71af74b19873a5711b4de | 198 | py | Python | Python_Orientacao_Objeto/teste2.py | carlosrjhoe/Python | 2df531b23ebbabc40539b09bb2bbdbe1ed1c2164 | [
"MIT"
] | null | null | null | Python_Orientacao_Objeto/teste2.py | carlosrjhoe/Python | 2df531b23ebbabc40539b09bb2bbdbe1ed1c2164 | [
"MIT"
] | null | null | null | Python_Orientacao_Objeto/teste2.py | carlosrjhoe/Python | 2df531b23ebbabc40539b09bb2bbdbe1ed1c2164 | [
"MIT"
] | null | null | null | def soma(x,y):
return print(x + y)
def sub(x,y):
return print(x - y)
def mult(x,y):
return print(x * y)
def div(x,y):
return print(x / y)
soma(3,8)
sub(10,5)
mult(3,9)
div(15,7) | 11.647059 | 23 | 0.555556 | 44 | 198 | 2.5 | 0.363636 | 0.145455 | 0.290909 | 0.472727 | 0.627273 | 0.627273 | 0.490909 | 0 | 0 | 0 | 0 | 0.066667 | 0.242424 | 198 | 17 | 24 | 11.647059 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a8ad80bc38cd16df91c7f7717982ec487fa5e8c1 | 126 | py | Python | preprocessing_danych/dataset_config.py | MaciejKonieczka/gazspot-prediction | 55177d7b7ae39a01a2820cd79f0e74897418e522 | [
"MIT"
] | null | null | null | preprocessing_danych/dataset_config.py | MaciejKonieczka/gazspot-prediction | 55177d7b7ae39a01a2820cd79f0e74897418e522 | [
"MIT"
] | null | null | null | preprocessing_danych/dataset_config.py | MaciejKonieczka/gazspot-prediction | 55177d7b7ae39a01a2820cd79f0e74897418e522 | [
"MIT"
] | null | null | null | test_index = ("2019-05-01", "2020-04-30")
train_index = ("2016-01-02", "2019-04-30")
val_index = ("2018-10-01", "2019-04-30")
| 31.5 | 42 | 0.619048 | 24 | 126 | 3.125 | 0.583333 | 0.16 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 0.095238 | 126 | 3 | 43 | 42 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
765e377ff705e12f7620a2be9a2df5b9f1f29c8c | 138 | py | Python | apps/misc/context_processors.py | Thom03/edms-django | ad686a815d612f55921d6893093690311eeb831f | [
"MIT"
] | 70 | 2019-05-26T11:48:32.000Z | 2022-02-16T21:33:58.000Z | apps/misc/context_processors.py | CalebeGeazi/CoinBox | 351611745d496d3cd3d871f96eb705250b5ec03f | [
"MIT"
] | 7 | 2019-10-18T20:20:04.000Z | 2021-04-21T15:25:15.000Z | apps/misc/context_processors.py | CalebeGeazi/CoinBox | 351611745d496d3cd3d871f96eb705250b5ec03f | [
"MIT"
] | 26 | 2019-07-07T17:06:00.000Z | 2022-01-20T06:40:39.000Z | from django.utils.translation import get_language
def django_settings(request):
return {
"LANGUAGE": get_language(),
}
| 15.333333 | 49 | 0.688406 | 15 | 138 | 6.133333 | 0.733333 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 138 | 8 | 50 | 17.25 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
7668a391529415983ac3244d55ce03076f5a3acc | 146 | py | Python | starter_code/api_keys.py | tstenner1/python-api-challenge | dfc0642da6831d80664514d0705865f01e5c6c5a | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | tstenner1/python-api-challenge | dfc0642da6831d80664514d0705865f01e5c6c5a | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | tstenner1/python-api-challenge | dfc0642da6831d80664514d0705865f01e5c6c5a | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
weather_api_key = "f4695ec49ac558195fc591f0d450c34c"
# Google API Key
g_key = "AIzaSyAyIq5hhFN-Y0M16Ltie3YuwpDiKWx8tCk"
| 24.333333 | 52 | 0.835616 | 14 | 146 | 8.5 | 0.642857 | 0.151261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206107 | 0.10274 | 146 | 5 | 53 | 29.2 | 0.70229 | 0.253425 | 0 | 0 | 0 | 0 | 0.669811 | 0.669811 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
76a110e79c22c20d6fd80a6e38e2b2d759f2b55b | 480 | py | Python | holobot/sdk/exceptions/argument_error.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/sdk/exceptions/argument_error.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/sdk/exceptions/argument_error.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | class ArgumentError(Exception):
def __init__(self, argument_name: str, *args) -> None:
super().__init__(*args)
self.argument_name = argument_name
@property
def argument_name(self) -> str:
return self.__argument_name
@argument_name.setter
def argument_name(self, value: s... | 30 | 74 | 0.645833 | 56 | 480 | 5.017857 | 0.321429 | 0.384342 | 0.284698 | 0.170819 | 0.199288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235417 | 480 | 15 | 75 | 32 | 0.765668 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 0.060417 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
76c82645a89d088d85f5022f67a7ad6314a2c8d3 | 245 | py | Python | api-test-code/credentials.py | srijansingh53/hatErase | eab4873efee4803a0c641777bce5bd63fb4fcc2f | [
"MIT"
] | 1 | 2020-06-26T07:24:03.000Z | 2020-06-26T07:24:03.000Z | api-test-code/credentials.py | srijansingh53/hatErase | eab4873efee4803a0c641777bce5bd63fb4fcc2f | [
"MIT"
] | null | null | null | api-test-code/credentials.py | srijansingh53/hatErase | eab4873efee4803a0c641777bce5bd63fb4fcc2f | [
"MIT"
] | null | null | null | consumer_key = 'F1BCRW0AXUlr0wjLE8L6Znm8a'
consumer_secret = 'HqRCnviPD8TmI05TSL47CA9eL6niFYtRu35CIP6J2F0fhjL9zz'
access_token = '1163025465423982592-WrNzWHSUZykiwRmYbexhkUa5BGudYZ'
access_secret = 'bZ0mWxWgFMClId9OoauDLQgT9IlwojmFS65OuGsy0E9QQ' | 61.25 | 70 | 0.902041 | 13 | 245 | 16.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196581 | 0.044898 | 245 | 4 | 71 | 61.25 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.691057 | 0.691057 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
76ce8679092b6c88a9cd642b89726a44b635faef | 86 | py | Python | test/lib-clay/externals/abi/newtypes/run.py | jb55/clay | db0bd2702ab0b6e48965cd85f8859bbd5f60e48e | [
"BSD-2-Clause"
] | 185 | 2015-01-04T09:33:17.000Z | 2022-03-18T04:53:38.000Z | test/externals/abi/complex/run.py | aep/clay | 92224d71c9d64a32d70a289593c13da7f970ec35 | [
"BSD-2-Clause"
] | 7 | 2015-03-22T06:13:42.000Z | 2015-12-28T19:07:24.000Z | test/externals/abi/complex/run.py | aep/clay | 92224d71c9d64a32d70a289593c13da7f970ec35 | [
"BSD-2-Clause"
] | 20 | 2015-01-09T22:24:46.000Z | 2022-03-18T04:54:59.000Z | import sys
sys.path.append('..')
import external_test
external_test.runExternalTest()
| 17.2 | 31 | 0.802326 | 11 | 86 | 6.090909 | 0.636364 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 86 | 4 | 32 | 21.5 | 0.8375 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4f3d60508b961f3b5da0a3e216be2a3ee247021d | 198 | py | Python | Server/Python/src/dbs/dao/MySQL/DataTier/List.py | vkuznet/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 8 | 2015-08-14T04:01:32.000Z | 2021-06-03T00:56:42.000Z | Server/Python/src/dbs/dao/MySQL/DataTier/List.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 162 | 2015-01-07T21:34:47.000Z | 2021-10-13T09:42:41.000Z | Server/Python/src/dbs/dao/MySQL/DataTier/List.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 16 | 2015-01-22T15:27:29.000Z | 2021-04-28T09:23:28.000Z | #!/usr/bin/env python
"""
This module provides DataTier.List data access object.
"""
from dbs.dao.Oracle.DataTier.List import List as OraDataTierList
class List(OraDataTierList):
pass
| 19.8 | 64 | 0.727273 | 26 | 198 | 5.538462 | 0.807692 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171717 | 198 | 9 | 65 | 22 | 0.878049 | 0.378788 | 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 | 0 | 0 | 0 | 5 |
4f4c95f74358defd6290b5df4ac0fc0d0ae3c8b4 | 867 | py | Python | src/pandas_profiling_study/report/structure/variables/__init__.py | lucasiscoviciMoon/pandas-profiling-study | 142d3b0f5e3139cdb531819f637a407682fa5684 | [
"MIT"
] | null | null | null | src/pandas_profiling_study/report/structure/variables/__init__.py | lucasiscoviciMoon/pandas-profiling-study | 142d3b0f5e3139cdb531819f637a407682fa5684 | [
"MIT"
] | null | null | null | src/pandas_profiling_study/report/structure/variables/__init__.py | lucasiscoviciMoon/pandas-profiling-study | 142d3b0f5e3139cdb531819f637a407682fa5684 | [
"MIT"
] | 1 | 2020-04-25T15:20:39.000Z | 2020-04-25T15:20:39.000Z | from ....report.structure.variables.render_boolean import render_boolean
from ....report.structure.variables.render_categorical import (
render_categorical,
)
from ....report.structure.variables.render_common import render_common
from ....report.structure.variables.render_complex import render_complex
from ....repo... | 54.1875 | 72 | 0.828143 | 110 | 867 | 6.290909 | 0.163636 | 0.17341 | 0.32948 | 0.485549 | 0.601156 | 0.109827 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068051 | 867 | 16 | 73 | 54.1875 | 0.856436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4f912920b3cf2a5552ceadf14640e9d27357ffce | 65 | py | Python | test/Task/ImageSequence/__init__.py | paulondc/chilopoda | 046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4 | [
"MIT"
] | 2 | 2019-09-24T18:56:27.000Z | 2021-02-07T04:58:49.000Z | test/Task/ImageSequence/__init__.py | paulondc/kombi | 046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4 | [
"MIT"
] | 20 | 2019-02-16T04:21:13.000Z | 2019-03-09T21:21:21.000Z | test/Task/ImageSequence/__init__.py | paulondc/kombi | 046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4 | [
"MIT"
] | 3 | 2019-11-15T05:16:32.000Z | 2021-09-28T21:28:29.000Z | from .SequenceThumbnailTaskTest import SequenceThumbnailTaskTest
| 32.5 | 64 | 0.923077 | 4 | 65 | 15 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 65 | 1 | 65 | 65 | 0.983607 | 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 | 0 | 0 | 0 | 5 |
96e7d1ddaf507ff49c193f3c3f481b154f3b0eda | 13,122 | py | Python | test/jpypetest/test_jchar.py | baztian/jpype | 034d44e6c719995c25e9cd61348ebc1860030a9b | [
"Apache-2.0"
] | null | null | null | test/jpypetest/test_jchar.py | baztian/jpype | 034d44e6c719995c25e9cd61348ebc1860030a9b | [
"Apache-2.0"
] | null | null | null | test/jpypetest/test_jchar.py | baztian/jpype | 034d44e6c719995c25e9cd61348ebc1860030a9b | [
"Apache-2.0"
] | null | null | null | import _jpype
import jpype
import common
from jpype.types import *
class JChar2TestCase(common.JPypeTestCase):
def setUp(self):
common.JPypeTestCase.setUp(self)
def testCharRange(self):
self.assertEqual(ord(str(jpype.JChar(65))), 65)
self.assertEqual(ord(str(jpype.JChar(512))), 512)
... | 30.658879 | 86 | 0.601357 | 1,556 | 13,122 | 5.056555 | 0.102185 | 0.086934 | 0.094179 | 0.103203 | 0.77059 | 0.715048 | 0.6909 | 0.653787 | 0.643493 | 0.601423 | 0 | 0.033796 | 0.264899 | 13,122 | 427 | 87 | 30.730679 | 0.781879 | 0.011203 | 0 | 0.710914 | 0 | 0 | 0.04202 | 0.026908 | 0 | 0 | 0 | 0 | 0.474926 | 1 | 0.238938 | false | 0.00885 | 0.011799 | 0 | 0.262537 | 0.00295 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8c05b81bf47ea60ca797bd79f44d7a048d6eca52 | 223 | py | Python | examples/load_from_file/main.py | viniciuschiele/configd | f9b405cd2254f79152a13e57e2be907550ef83ed | [
"MIT"
] | 3 | 2017-03-17T15:44:26.000Z | 2021-08-31T02:45:52.000Z | examples/load_from_file/main.py | viniciuschiele/configd | f9b405cd2254f79152a13e57e2be907550ef83ed | [
"MIT"
] | 1 | 2017-07-28T23:20:15.000Z | 2017-07-29T11:13:49.000Z | examples/load_from_file/main.py | viniciuschiele/configd | f9b405cd2254f79152a13e57e2be907550ef83ed | [
"MIT"
] | 2 | 2021-06-26T20:57:24.000Z | 2021-11-21T19:29:39.000Z | from central.config.file import FileConfig
config = FileConfig('config.json')
config.load()
print(config.get('timeout'))
print(config.get('database'))
print(config.get('database.host'))
print(config.get('database.port'))
| 22.3 | 42 | 0.753363 | 30 | 223 | 5.6 | 0.466667 | 0.261905 | 0.333333 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06278 | 223 | 9 | 43 | 24.777778 | 0.803828 | 0 | 0 | 0 | 0 | 0 | 0.233184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8c49e119bd276ab8615c3a7f51eff37f3b42ea1c | 100 | py | Python | eval/scripts/__init__.py | mbatchkarov/dc_evaluation | 83fad49d597952957420b23c0d39c264c581e750 | [
"BSD-3-Clause"
] | null | null | null | eval/scripts/__init__.py | mbatchkarov/dc_evaluation | 83fad49d597952957420b23c0d39c264c581e750 | [
"BSD-3-Clause"
] | null | null | null | eval/scripts/__init__.py | mbatchkarov/dc_evaluation | 83fad49d597952957420b23c0d39c264c581e750 | [
"BSD-3-Clause"
] | null | null | null | __author__ = 'mmb28'
import sys
sys.path.append('.')
sys.path.append('..')
sys.path.append('../..') | 16.666667 | 24 | 0.63 | 13 | 100 | 4.538462 | 0.461538 | 0.355932 | 0.661017 | 0.542373 | 0.661017 | 0.661017 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.08 | 100 | 6 | 24 | 16.666667 | 0.619565 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4fdfd1c4ab06f23890420a493923d2a14bf8dc09 | 102 | py | Python | kattis/I've Been Everywhere, Man.py | jaredliw/python-question-bank | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2021-04-08T07:49:15.000Z | 2021-04-08T07:49:15.000Z | kattis/I've Been Everywhere, Man.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | null | null | null | kattis/I've Been Everywhere, Man.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2022-01-23T02:12:24.000Z | 2022-01-23T02:12:24.000Z | # CPU: 0.09 s
for _ in range(int(input())):
print(len(set(input() for _ in range(int(input())))))
| 25.5 | 57 | 0.598039 | 18 | 102 | 3.277778 | 0.666667 | 0.169492 | 0.338983 | 0.440678 | 0.610169 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.166667 | 102 | 3 | 58 | 34 | 0.658824 | 0.107843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8b09fd065dd599f9c34e182351ff1d15e47dc20c | 117 | py | Python | alumni/admin.py | ayushganguli1769/DevelopmentRobotix | 1692c104a6f220aa1238840b791aa857a6cc7765 | [
"Apache-2.0"
] | null | null | null | alumni/admin.py | ayushganguli1769/DevelopmentRobotix | 1692c104a6f220aa1238840b791aa857a6cc7765 | [
"Apache-2.0"
] | 7 | 2020-02-12T02:54:35.000Z | 2022-03-12T00:06:26.000Z | alumni/admin.py | ayushganguli1769/DevelopmentRobotix | 1692c104a6f220aa1238840b791aa857a6cc7765 | [
"Apache-2.0"
] | 6 | 2020-02-10T16:37:38.000Z | 2021-01-28T13:39:46.000Z | from django.contrib import admin
from .models import Alumni
# Register your models here.
admin.site.register(Alumni)
| 23.4 | 32 | 0.811966 | 17 | 117 | 5.588235 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 117 | 4 | 33 | 29.25 | 0.92233 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8b2dde35e62db95e506b03f874b47c0094c23c3a | 40 | py | Python | cygraphblas/lib/monoid/ss.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | 3 | 2020-09-03T21:47:25.000Z | 2021-08-06T20:24:19.000Z | cygraphblas/lib/monoid/ss.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | null | null | null | cygraphblas/lib/monoid/ss.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | 2 | 2020-09-03T21:47:52.000Z | 2021-08-06T20:24:20.000Z | from cygraphblas_ss.lib.monoid import *
| 20 | 39 | 0.825 | 6 | 40 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8c7091d977c72cdc7883602372339dbcde6de489 | 256 | py | Python | lib/extensions/navigation_buttons_delayed_popup/startup.py | neurodiverseEsoteric/nimbus | a79a37d6001d84116831c9f3f99f5d9acfa7fd19 | [
"CC-BY-3.0"
] | 3 | 2015-11-04T10:48:12.000Z | 2020-07-12T06:46:27.000Z | lib/extensions/navigation_buttons_delayed_popup/startup.py | esotericDisciple/nimbus | a79a37d6001d84116831c9f3f99f5d9acfa7fd19 | [
"CC-BY-3.0"
] | null | null | null | lib/extensions/navigation_buttons_delayed_popup/startup.py | esotericDisciple/nimbus | a79a37d6001d84116831c9f3f99f5d9acfa7fd19 | [
"CC-BY-3.0"
] | 1 | 2021-05-05T13:56:49.000Z | 2021-05-05T13:56:49.000Z | self.toolBar.widgetForAction(self.backAction).setPopupMode(QToolButton.DelayedPopup)
self.toolBar.widgetForAction(self.forwardAction).setPopupMode(QToolButton.DelayedPopup)
self.toolBar.widgetForAction(self.upAction).setPopupMode(QToolButton.DelayedPopup)
| 64 | 87 | 0.882813 | 24 | 256 | 9.416667 | 0.375 | 0.146018 | 0.345133 | 0.39823 | 0.575221 | 0.575221 | 0.575221 | 0 | 0 | 0 | 0 | 0 | 0.011719 | 256 | 3 | 88 | 85.333333 | 0.893281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
8c7623c8e92992a9d432cf1310ca2b7d13d8b1c3 | 1,355 | py | Python | code/chapter_04/listing_04_11.py | guinslym/python_earth_science_book | f4dd0115dbbce140c6713989f630a71238daa72c | [
"MIT"
] | 80 | 2021-04-19T10:03:57.000Z | 2022-03-30T15:34:47.000Z | code/chapter_04/listing_04_11.py | guinslym/python_earth_science_book | f4dd0115dbbce140c6713989f630a71238daa72c | [
"MIT"
] | null | null | null | code/chapter_04/listing_04_11.py | guinslym/python_earth_science_book | f4dd0115dbbce140c6713989f630a71238daa72c | [
"MIT"
] | 23 | 2021-04-25T03:50:07.000Z | 2022-03-22T03:06:19.000Z | # Introductory examples
name = 'Maurizio'
surname = 'Petrelli'
print('-------------------------------------------------')
print('My name is {}'.format(name))
print('-------------------------------------------------')
print('My name is {} and my surname is {}'.format(name, surname))
print('------------------------------... | 43.709677 | 71 | 0.451661 | 136 | 1,355 | 4.5 | 0.257353 | 0.196078 | 0.300654 | 0.326797 | 0.535948 | 0.477124 | 0.477124 | 0.470588 | 0 | 0 | 0 | 0.041565 | 0.094465 | 1,355 | 30 | 72 | 45.166667 | 0.457213 | 0.034686 | 0 | 0.357143 | 0 | 0 | 0.67979 | 0.329396 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.785714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8c84673cd4c815a8dd356f023b667ff78319d314 | 868 | py | Python | job-orchestrator/tests/transformers/test_model_paths.py | anaai/anaai | fa49ba107e7c6d32aef46796452308334517a224 | [
"MIT"
] | 31 | 2022-01-26T21:47:31.000Z | 2022-03-21T12:22:39.000Z | job-orchestrator/tests/transformers/test_model_paths.py | anaai/anaai | fa49ba107e7c6d32aef46796452308334517a224 | [
"MIT"
] | 3 | 2022-01-24T11:16:05.000Z | 2022-01-28T15:11:19.000Z | job-orchestrator/tests/transformers/test_model_paths.py | anaai/anaai | fa49ba107e7c6d32aef46796452308334517a224 | [
"MIT"
] | 2 | 2022-02-08T12:07:55.000Z | 2022-02-08T19:45:40.000Z | from transformers import model_paths
def test_candy_model():
assert model_paths.CANDY_FAST_NEURAL_TRANSFER_MODEL == "models/candy.t7"
def test_feathers_model():
assert model_paths.FEATHERS_FAST_NEURAL_TRANSFER_MODEL == "models/feathers.t7"
def test_mosaic_model():
assert model_paths.MOSAIC_FAST_NEURAL_TRANSFER... | 33.384615 | 84 | 0.820276 | 130 | 868 | 5 | 0.223077 | 0.138462 | 0.196923 | 0.258462 | 0.223077 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.087558 | 868 | 25 | 85 | 34.72 | 0.809343 | 0 | 0 | 0 | 0 | 0 | 0.175115 | 0.058756 | 0 | 0 | 0 | 0 | 0.470588 | 1 | 0.470588 | true | 0 | 0.058824 | 0 | 0.529412 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8caf6ff99d80c76a542d8a7fdffc2f654af14a1f | 42 | py | Python | helpers/__init__.py | sspbft/odin | 30681d314748523cfbade15fc365510c78bbc711 | [
"MIT"
] | null | null | null | helpers/__init__.py | sspbft/odin | 30681d314748523cfbade15fc365510c78bbc711 | [
"MIT"
] | null | null | null | helpers/__init__.py | sspbft/odin | 30681d314748523cfbade15fc365510c78bbc711 | [
"MIT"
] | null | null | null | """Package containing various helpers."""
| 21 | 41 | 0.738095 | 4 | 42 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.815789 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8cc0682cc0b1ed8dabfc6863bc76066c537d9cd6 | 51 | py | Python | autograd/__init__.py | mattjj/autograd_tutorial | c32947fbd7f130d791ab1e277a0feed05cb3da5f | [
"MIT"
] | 704 | 2018-01-30T16:41:47.000Z | 2022-03-23T02:03:08.000Z | autograd/__init__.py | mattjj/autograd_tutorial | c32947fbd7f130d791ab1e277a0feed05cb3da5f | [
"MIT"
] | 6 | 2018-01-30T20:43:49.000Z | 2020-04-27T13:27:08.000Z | autograd/__init__.py | mattjj/autograd_tutorial | c32947fbd7f130d791ab1e277a0feed05cb3da5f | [
"MIT"
] | 88 | 2018-02-03T16:36:54.000Z | 2022-02-09T04:21:30.000Z | from .differential_operators import make_vjp, grad
| 25.5 | 50 | 0.862745 | 7 | 51 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 1 | 51 | 51 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8cc70168627807f49cf2b5d78f4a3cbbdad4ed64 | 46 | py | Python | bmcs_beam/mxn/scripts/__init__.py | bmcs-group/bmcs_beam | b53967d0d0461657ec914a3256ec40f9dcff80d5 | [
"MIT"
] | 1 | 2021-05-07T11:10:27.000Z | 2021-05-07T11:10:27.000Z | bmcs_beam/mxn/scripts/__init__.py | bmcs-group/bmcs_beam | b53967d0d0461657ec914a3256ec40f9dcff80d5 | [
"MIT"
] | null | null | null | bmcs_beam/mxn/scripts/__init__.py | bmcs-group/bmcs_beam | b53967d0d0461657ec914a3256ec40f9dcff80d5 | [
"MIT"
] | null | null | null | '''
Created on Dec 18, 2016
@author: rch
'''
| 7.666667 | 23 | 0.586957 | 7 | 46 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.217391 | 46 | 5 | 24 | 9.2 | 0.583333 | 0.804348 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8ce591611d3e31d6c0cca2832c1850b12c745822 | 16,225 | py | Python | sdk/python/pulumi_azure/waf/policy.py | pulumi-bot/pulumi-azure | 64d5c30a77b3f4de117068add359ef85293cef8e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/waf/policy.py | pulumi-bot/pulumi-azure | 64d5c30a77b3f4de117068add359ef85293cef8e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/waf/policy.py | pulumi-bot/pulumi-azure | 64d5c30a77b3f4de117068add359ef85293cef8e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Policy... | 51.671975 | 223 | 0.593467 | 1,768 | 16,225 | 5.296946 | 0.138009 | 0.070475 | 0.047838 | 0.026375 | 0.76252 | 0.747037 | 0.734544 | 0.710625 | 0.673999 | 0.664175 | 0 | 0.004415 | 0.302065 | 16,225 | 313 | 224 | 51.837061 | 0.822589 | 0.571094 | 0 | 0.031746 | 1 | 0 | 0.159776 | 0.013677 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063492 | false | 0.015873 | 0.095238 | 0.031746 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5080d44c3782fcef3563b3dbf70986c2e7c13739 | 283 | py | Python | test_mersenne.py | Crulzor/algorithms-python-intro-ex | b3c10eff978a2f0f20e41c6d5aba24746ec07076 | [
"Apache-2.0"
] | null | null | null | test_mersenne.py | Crulzor/algorithms-python-intro-ex | b3c10eff978a2f0f20e41c6d5aba24746ec07076 | [
"Apache-2.0"
] | null | null | null | test_mersenne.py | Crulzor/algorithms-python-intro-ex | b3c10eff978a2f0f20e41c6d5aba24746ec07076 | [
"Apache-2.0"
] | null | null | null | from mersenne import generatePotentialMP, isPrime
def test_generatePotentialMP():
assert(generatePotentialMP(2) == 3)
assert(generatePotentialMP(1) ==1)
def test_isPrime():
assert(isPrime(7))
assert(isPrime(2))
assert(isPrime(3))
assert(isPrime(4) == False) | 25.727273 | 49 | 0.710247 | 32 | 283 | 6.21875 | 0.4375 | 0.261307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033613 | 0.159011 | 283 | 11 | 50 | 25.727273 | 0.802521 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.222222 | true | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
50bd37ee8461876376290a970632ede83e07fe93 | 183 | py | Python | set.py | git4satya/koleksyon | 966f3f6ea16a9c5c0bb12d2aec52c5c89e42090c | [
"MIT"
] | null | null | null | set.py | git4satya/koleksyon | 966f3f6ea16a9c5c0bb12d2aec52c5c89e42090c | [
"MIT"
] | null | null | null | set.py | git4satya/koleksyon | 966f3f6ea16a9c5c0bb12d2aec52c5c89e42090c | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
from distutils.core import setup
from Cython.Build import cythonize
setup(name="mcmc", ext_modules=cythonize("./src/koleksyon/mcmc.pyx"))
| 30.5 | 69 | 0.808743 | 26 | 183 | 5.615385 | 0.692308 | 0.150685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087432 | 183 | 5 | 70 | 36.6 | 0.874252 | 0 | 0 | 0 | 0 | 0 | 0.153005 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
50f6582522a07cfc18e387853c08f5bffb83bbd5 | 120 | py | Python | src/som/vm/current.py | SOM-st/PySOM | 65ef72f44252439b724a7429408dac7f8d1b1d98 | [
"MIT"
] | 22 | 2015-10-29T05:11:06.000Z | 2022-03-01T11:18:45.000Z | src/som/vm/current.py | smarr/PySOM | 65ef72f44252439b724a7429408dac7f8d1b1d98 | [
"MIT"
] | 16 | 2021-03-07T22:09:33.000Z | 2021-08-24T12:36:15.000Z | src/som/vm/current.py | SOM-st/PySOM | 65ef72f44252439b724a7429408dac7f8d1b1d98 | [
"MIT"
] | 5 | 2015-01-02T03:51:29.000Z | 2020-10-02T07:05:46.000Z | def _init():
from som.vm.universe import create_universe
return create_universe()
current_universe = _init()
| 15 | 47 | 0.733333 | 15 | 120 | 5.533333 | 0.666667 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 120 | 7 | 48 | 17.142857 | 0.846939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0faef4c43d66c9f68163503158caeb67ad86c96d | 386 | py | Python | planner/progression/__init__.py | cyclone923/pyplanners | e2fe156ff00d0914cfb4f20afed158706f4d5d28 | [
"MIT"
] | null | null | null | planner/progression/__init__.py | cyclone923/pyplanners | e2fe156ff00d0914cfb4f20afed158706f4d5d28 | [
"MIT"
] | null | null | null | planner/progression/__init__.py | cyclone923/pyplanners | e2fe156ff00d0914cfb4f20afed158706f4d5d28 | [
"MIT"
] | null | null | null | from .hill_climbing import hill_climbing_search, strategies
from .best_first import path_cost_fn, greedy_cost_fn, weighted_cost_fn, macro_greedy_cost_fn, \
a_star_search, best_first_search, deferred_best_first_search, macro_deferred_best_first_search, semideferred_best_first_search
from .simple import dfs, bfs, srand... | 64.333333 | 128 | 0.860104 | 60 | 386 | 5.05 | 0.483333 | 0.148515 | 0.19802 | 0.151815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088083 | 386 | 5 | 129 | 77.2 | 0.860795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0fc20baeb9198c74f7c0542feb89fb8850d4a334 | 401 | py | Python | vkwave/vkscript/__init__.py | krasnovmv/vkwave | e0db86cc16f97797765aadfb811ec87ff7945b1f | [
"MIT"
] | 222 | 2020-03-30T18:09:20.000Z | 2022-03-27T18:25:04.000Z | vkwave/vkscript/__init__.py | krasnovmv/vkwave | e0db86cc16f97797765aadfb811ec87ff7945b1f | [
"MIT"
] | 62 | 2020-03-30T18:31:25.000Z | 2021-12-21T17:00:44.000Z | vkwave/vkscript/__init__.py | krasnovmv/vkwave | e0db86cc16f97797765aadfb811ec87ff7945b1f | [
"MIT"
] | 91 | 2020-03-30T18:34:49.000Z | 2022-03-23T12:58:49.000Z | import vkwave.vkscript.handlers.assignments
import vkwave.vkscript.handlers.blocks
import vkwave.vkscript.handlers.calls
import vkwave.vkscript.handlers.expressions
import vkwave.vkscript.handlers.statements
import vkwave.vkscript.handlers.types
from .converter import VKScriptConverter
from .execute import Execute
from... | 30.846154 | 53 | 0.842893 | 46 | 401 | 7.26087 | 0.326087 | 0.215569 | 0.359281 | 0.502994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077307 | 401 | 12 | 54 | 33.416667 | 0.902703 | 0 | 0 | 0 | 0 | 0 | 0.077307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9 | 0 | 0.9 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e8709f79e317a9c7cd2146a4a0c28214ab5b7958 | 22 | py | Python | tccli/services/wss/v20180426/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/wss/v20180426/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/wss/v20180426/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | version = "2018-04-26" | 22 | 22 | 0.681818 | 4 | 22 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.090909 | 22 | 1 | 22 | 22 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e87e61caeabea7a4911a24a31a3d383ae4ecb968 | 126 | py | Python | Server/myLibrary/admin.py | sepehrNorouzi/SemUniLib | dffeeb769ce5da4fb45a83d1792ec24adbb866e9 | [
"MIT"
] | null | null | null | Server/myLibrary/admin.py | sepehrNorouzi/SemUniLib | dffeeb769ce5da4fb45a83d1792ec24adbb866e9 | [
"MIT"
] | null | null | null | Server/myLibrary/admin.py | sepehrNorouzi/SemUniLib | dffeeb769ce5da4fb45a83d1792ec24adbb866e9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Book, Favorite
admin.site.register(Book)
admin.site.register(Favorite) | 18 | 34 | 0.809524 | 18 | 126 | 5.666667 | 0.555556 | 0.176471 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 126 | 7 | 35 | 18 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e89384cd4e1e1e1278f38d2fac8d56157408b3f2 | 149 | py | Python | src/bert_summarizer/data/__init__.py | k-tahiro/bert-summarizer | 03a09676130e4706b42ba6ab53c545fd10b84bce | [
"MIT"
] | 8 | 2020-10-05T02:34:40.000Z | 2021-11-29T01:38:41.000Z | src/bert_summarizer/data/__init__.py | k-tahiro/bert-summarizer | 03a09676130e4706b42ba6ab53c545fd10b84bce | [
"MIT"
] | 5 | 2021-04-01T07:15:26.000Z | 2022-03-15T02:48:18.000Z | src/bert_summarizer/data/__init__.py | k-tahiro/bert-summarizer | 03a09676130e4706b42ba6ab53c545fd10b84bce | [
"MIT"
] | 2 | 2021-09-30T09:10:55.000Z | 2022-01-29T03:05:46.000Z | from .data_collator import (
DataCollatorWithPaddingWithAdditionalFeatures,
EncoderDecoderDataCollatorWithPadding,
)
from .datasets import *
| 24.833333 | 50 | 0.825503 | 9 | 149 | 13.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127517 | 149 | 5 | 51 | 29.8 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e8cf1815da91e995a850a952f368039cd746e5df | 89 | py | Python | src/UQpy/surrogates/kriging/correlation_models/baseclass/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/surrogates/kriging/correlation_models/baseclass/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/surrogates/kriging/correlation_models/baseclass/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | from UQpy.surrogates.kriging.correlation_models.baseclass.Correlation import Correlation
| 44.5 | 88 | 0.898876 | 10 | 89 | 7.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 89 | 1 | 89 | 89 | 0.929412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e8d1a1267a50a6e4e81cbb82affa3e724bd9c390 | 841 | py | Python | src/losses.py | saman-codes/dldojo | 9fd828f1902ba3d46e9bb5f554ef37d07335b29e | [
"MIT"
] | null | null | null | src/losses.py | saman-codes/dldojo | 9fd828f1902ba3d46e9bb5f554ef37d07335b29e | [
"MIT"
] | null | null | null | src/losses.py | saman-codes/dldojo | 9fd828f1902ba3d46e9bb5f554ef37d07335b29e | [
"MIT"
] | null | null | null | import numpy as np
class Loss():
def output_gradient(self):
return
class MSE(Loss):
def __call__(self, predicted, labels):
return 0.5 * np.square(predicted - labels)
def output_gradient(self, predicted, labels):
return predicted - labels
class BinaryCrossEntropy(Loss):
def _... | 30.035714 | 91 | 0.688466 | 111 | 841 | 5 | 0.261261 | 0.216216 | 0.205405 | 0.27027 | 0.558559 | 0.558559 | 0.558559 | 0.418018 | 0.418018 | 0.407207 | 0 | 0.010219 | 0.185493 | 841 | 27 | 92 | 31.148148 | 0.8 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.368421 | false | 0 | 0.052632 | 0.368421 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
2ce777497859d2197b79ee44dcd351d14e88fcd2 | 172 | py | Python | scripts/item/consume_2434951.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/item/consume_2434951.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/item/consume_2434951.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | # Soft-serve Damage Skin
success = sm.addDamageSkin(2434951)
if success:
sm.chat("The Soft-serve Damage Skin has been added to your account's damage skin collection.")
| 34.4 | 98 | 0.761628 | 27 | 172 | 4.851852 | 0.703704 | 0.229008 | 0.229008 | 0.290076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047945 | 0.151163 | 172 | 4 | 99 | 43 | 0.849315 | 0.127907 | 0 | 0 | 0 | 0 | 0.560811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2cf7ede7519b76677c68ab0cf790c978c3c5cc8f | 203 | py | Python | genda/formats/__init__.py | jeffhsu3/genda | 5adbb5b5620c592849fa4a61126b934e1857cd77 | [
"BSD-3-Clause"
] | 5 | 2016-01-12T15:12:18.000Z | 2022-02-10T21:57:39.000Z | genda/formats/__init__.py | jeffhsu3/genda | 5adbb5b5620c592849fa4a61126b934e1857cd77 | [
"BSD-3-Clause"
] | 5 | 2015-01-20T04:22:50.000Z | 2018-10-02T19:39:12.000Z | genda/formats/__init__.py | jeffhsu3/genda | 5adbb5b5620c592849fa4a61126b934e1857cd77 | [
"BSD-3-Clause"
] | 1 | 2022-03-04T06:49:39.000Z | 2022-03-04T06:49:39.000Z | """ Formats submodule contains classes and functions
to parse various formats into pandas dataframes as
well as lookup utilities to various formats
"""
from .gene_utils import *
from .panVCF import VCF
| 25.375 | 52 | 0.79803 | 29 | 203 | 5.551724 | 0.758621 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157635 | 203 | 7 | 53 | 29 | 0.94152 | 0.704434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2cffde54fce64df2346d3c12e08ed04887efeb6d | 129 | py | Python | build/ARM/arch/arm/ArmSemihosting.py | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | 5 | 2019-12-12T16:26:09.000Z | 2022-03-17T03:23:33.000Z | build/ARM/arch/arm/ArmSemihosting.py | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | build/ARM/arch/arm/ArmSemihosting.py | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:60c08155c02f8c1321979a81a67a2ef5a0bc292b2d26a9e5be7e6e1cb484e248
size 2756
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.398374 | 0.046512 | 129 | 3 | 76 | 43 | 0.528455 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d74be0e6efcefb06e3529cae5316490cf81fffce | 130 | py | Python | fmojinja/awk/__main__.py | Taro-Imahiro/fmojinja | 5b2c4100e25bd198b1cf8ed44b37b1c4bb93d2ee | [
"MIT"
] | null | null | null | fmojinja/awk/__main__.py | Taro-Imahiro/fmojinja | 5b2c4100e25bd198b1cf8ed44b37b1c4bb93d2ee | [
"MIT"
] | 13 | 2021-07-06T07:03:58.000Z | 2021-11-22T15:25:22.000Z | fmojinja/awk/__main__.py | Taro-Imahiro/fmojinja | 5b2c4100e25bd198b1cf8ed44b37b1c4bb93d2ee | [
"MIT"
] | 3 | 2021-06-26T19:40:34.000Z | 2021-09-15T04:24:21.000Z | from ..mixin import SubCommands
from .pdb_reformer import PdbReformer
SubCommands.main_proc({
"pdb_reformer": PdbReformer
})
| 18.571429 | 37 | 0.784615 | 15 | 130 | 6.6 | 0.6 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130769 | 130 | 6 | 38 | 21.666667 | 0.876106 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d782321c51f6868ecf0aeda657d36d93a32a2794 | 18,087 | py | Python | tests/engine/test_error_handling.py | vanguard/sql_translate | 28ae149e54a300c3337b538691be80d878a7dbf2 | [
"Apache-2.0"
] | 3 | 2021-03-19T21:39:29.000Z | 2021-03-26T14:00:24.000Z | tests/engine/test_error_handling.py | vanguard/sql_translate | 28ae149e54a300c3337b538691be80d878a7dbf2 | [
"Apache-2.0"
] | 1 | 2021-07-07T11:45:04.000Z | 2021-07-07T11:45:04.000Z | tests/engine/test_error_handling.py | vanguard/sql_translate | 28ae149e54a300c3337b538691be80d878a7dbf2 | [
"Apache-2.0"
] | null | null | null | import unittest
import pytest
import sqlparse
from sql_translate.engine import error_handling
from typing import Dict, List
import re
E = error_handling._ErrorHandler() # Just for coverage
@pytest.mark.parametrize(['statement', 'error_message', 'expected'], [
("select cast(a as integer)",
"line 1:8: Cannot... | 62.368966 | 203 | 0.697241 | 2,720 | 18,087 | 4.525 | 0.073529 | 0.023562 | 0.020474 | 0.020556 | 0.830679 | 0.790705 | 0.766331 | 0.725544 | 0.697758 | 0.663308 | 0 | 0.017092 | 0.168685 | 18,087 | 289 | 204 | 62.584775 | 0.801476 | 0.017748 | 0 | 0.298755 | 0 | 0.178423 | 0.503555 | 0.061992 | 0 | 0 | 0 | 0 | 0.058091 | 1 | 0.070539 | false | 0 | 0.024896 | 0 | 0.095436 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d78adda6c383319ee2452a20f3e7494d5bd7a171 | 145 | py | Python | helloworld/api/v1.py | ElyasSantana/example-api | f99cff55a152e3ab4e1b3490d2632e8f06b7f7fb | [
"MIT"
] | null | null | null | helloworld/api/v1.py | ElyasSantana/example-api | f99cff55a152e3ab4e1b3490d2632e8f06b7f7fb | [
"MIT"
] | null | null | null | helloworld/api/v1.py | ElyasSantana/example-api | f99cff55a152e3ab4e1b3490d2632e8f06b7f7fb | [
"MIT"
] | null | null | null | from fastapi import APIRouter
router_helloworld = APIRouter()
@router_helloworld.get("/")
def get_helloworld():
return {"Hello": "World"}
| 16.111111 | 31 | 0.724138 | 16 | 145 | 6.375 | 0.6875 | 0.294118 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 145 | 8 | 32 | 18.125 | 0.816 | 0 | 0 | 0 | 0 | 0 | 0.075862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
ad2017893d41afb16c0e80e4020d3f6bd20849ba | 109 | py | Python | tests/__init__.py | antoinebourayne/sd2c | c76a0c56d5836caba9e6b90cdf7235516e2dd694 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | antoinebourayne/sd2c | c76a0c56d5836caba9e6b90cdf7235516e2dd694 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | antoinebourayne/sd2c | c76a0c56d5836caba9e6b90cdf7235516e2dd694 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Ceci est un module avec les tests unitaires et les tests d'intégrations.
"""
| 21.8 | 76 | 0.633028 | 16 | 109 | 4.3125 | 0.875 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.211009 | 109 | 4 | 77 | 27.25 | 0.790698 | 0.87156 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ad3017e922c09970a0f8a72fe88d8aaa1a57078a | 224,543 | py | Python | src/Intel_Project (1).py | Lance-Dsilva/Intel-Image-Classification-Using-CNN-91-Accuracy- | e5b729dddaa3671337c6c5019b69fc6ca2c868c0 | [
"Unlicense"
] | null | null | null | src/Intel_Project (1).py | Lance-Dsilva/Intel-Image-Classification-Using-CNN-91-Accuracy- | e5b729dddaa3671337c6c5019b69fc6ca2c868c0 | [
"Unlicense"
] | null | null | null | src/Intel_Project (1).py | Lance-Dsilva/Intel-Image-Classification-Using-CNN-91-Accuracy- | e5b729dddaa3671337c6c5019b69fc6ca2c868c0 | [
"Unlicense"
] | null | null | null |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="dns-prefetch" href="https://github.githubassets.com">
<link rel="dns-prefetch" href="https://avatars0.githubusercontent.com">
<link rel="dns-prefetch" href="https://avatars1.githubusercontent.com">
<link rel="dns-prefetch" href... | 68.291667 | 2,554 | 0.634956 | 38,121 | 224,543 | 3.728785 | 0.084809 | 0.066735 | 0.076999 | 0.076401 | 0.760378 | 0.738549 | 0.706286 | 0.677773 | 0.657793 | 0.520841 | 0 | 0.110559 | 0.16009 | 224,543 | 3,287 | 2,555 | 68.312443 | 0.642988 | 0 | 0 | 0.504193 | 0 | 0.353237 | 0.467227 | 0.098469 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010735 | null | null | 0.005032 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ad3e9b467042b664880d401cd499df829e241e47 | 260 | py | Python | ballpark/cashflows/admin.py | keyvanm/ballpark | 90ca6ac355319f159fa0836f30df487ee8e72ddd | [
"MIT"
] | null | null | null | ballpark/cashflows/admin.py | keyvanm/ballpark | 90ca6ac355319f159fa0836f30df487ee8e72ddd | [
"MIT"
] | null | null | null | ballpark/cashflows/admin.py | keyvanm/ballpark | 90ca6ac355319f159fa0836f30df487ee8e72ddd | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
# Register your models here.
admin.site.register(GenericOnetimeIncome)
admin.site.register(GenericRecurringIncome)
admin.site.register(GenericOnetimeExpense)
admin.site.register(GenericRecurringExpense)
| 26 | 44 | 0.846154 | 28 | 260 | 7.857143 | 0.5 | 0.163636 | 0.309091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073077 | 260 | 9 | 45 | 28.888889 | 0.912863 | 0.1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a8f190e009aea7f92f01038fb21a86895c98af57 | 18,148 | py | Python | research/steve/toy_demo.py | jdavidagudelo/tensorflow-models | 6f019beec73b01861363bf717706e27f4210b979 | [
"Apache-2.0"
] | 1 | 2021-05-17T01:42:29.000Z | 2021-05-17T01:42:29.000Z | research/steve/toy_demo.py | jdavidagudelo/tensorflow-models | 6f019beec73b01861363bf717706e27f4210b979 | [
"Apache-2.0"
] | null | null | null | research/steve/toy_demo.py | jdavidagudelo/tensorflow-models | 6f019beec73b01861363bf717706e27f4210b979 | [
"Apache-2.0"
] | null | null | null | from __future__ import division
from __future__ import print_function
from builtins import range
from past.utils import old_div
# Copyright 2018 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 Licen... | 40.782022 | 119 | 0.605356 | 2,351 | 18,148 | 4.421948 | 0.098681 | 0.09696 | 0.020008 | 0.033859 | 0.812813 | 0.771066 | 0.762793 | 0.677761 | 0.668623 | 0.642074 | 0 | 0.013949 | 0.273143 | 18,148 | 444 | 120 | 40.873874 | 0.774164 | 0.161946 | 0 | 0.704762 | 0 | 0 | 0.038533 | 0.004377 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012698 | false | 0 | 0.025397 | 0 | 0.050794 | 0.060317 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0f0b7b2c5564b7c02453602dda17e447559b3a6d | 56 | py | Python | tests/unchained/conftest.py | uolot/py-yaml-fixtures | 0b165d91578420cd4cb0b2fc245ae0e39578ede5 | [
"MIT"
] | 13 | 2018-08-14T12:28:54.000Z | 2022-02-08T04:25:47.000Z | tests/unchained/conftest.py | uolot/py-yaml-fixtures | 0b165d91578420cd4cb0b2fc245ae0e39578ede5 | [
"MIT"
] | 5 | 2019-02-23T04:01:48.000Z | 2021-04-08T17:37:40.000Z | tests/unchained/conftest.py | uolot/py-yaml-fixtures | 0b165d91578420cd4cb0b2fc245ae0e39578ede5 | [
"MIT"
] | 5 | 2018-09-04T03:28:46.000Z | 2021-04-09T11:46:03.000Z | from flask_unchained.bundles.sqlalchemy.pytest import *
| 28 | 55 | 0.857143 | 7 | 56 | 6.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0f634577290308b8a34cd2796dad52f018337f67 | 112 | py | Python | hello_world.py | hmallen/mrhawaii | 4b973c185e9acf030342435204480467d189f013 | [
"MIT"
] | null | null | null | hello_world.py | hmallen/mrhawaii | 4b973c185e9acf030342435204480467d189f013 | [
"MIT"
] | 1 | 2020-07-30T01:46:09.000Z | 2020-07-30T01:46:09.000Z | hello_world.py | hmallen/mrhawaii | 4b973c185e9acf030342435204480467d189f013 | [
"MIT"
] | null | null | null | # Hello world program to demonstrate running PYthon files
print('Hello, world!')
print('I live on a volcano!')
| 22.4 | 57 | 0.741071 | 17 | 112 | 4.882353 | 0.823529 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151786 | 112 | 4 | 58 | 28 | 0.873684 | 0.491071 | 0 | 0 | 0 | 0 | 0.6 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0f63dcf544f98cf5aa08276887974023d5184846 | 161 | py | Python | lib/JumpScale/lib/ms1/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | null | null | null | lib/JumpScale/lib/ms1/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 4 | 2016-08-25T12:08:39.000Z | 2018-04-12T12:36:01.000Z | lib/JumpScale/lib/ms1/__init__.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 3 | 2016-03-08T07:49:34.000Z | 2018-10-19T13:56:43.000Z | from JumpScale import j
def cb():
from .ms1 import MS1Factory
return MS1Factory()
j.base.loader.makeAvailable(j, 'tools')
j.tools._register('ms1', cb)
| 17.888889 | 39 | 0.708075 | 23 | 161 | 4.913043 | 0.608696 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02963 | 0.161491 | 161 | 8 | 40 | 20.125 | 0.807407 | 0 | 0 | 0 | 0 | 0 | 0.049689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0f6811584c35d57112dde4d376d40b9b051263d0 | 48 | py | Python | Tools/MagicPanels/panelMoveXp.py | dprojects/Woodworking | 24420b248e3343a387ae1328fc6dcbf97e433242 | [
"MIT"
] | 6 | 2022-02-25T19:11:40.000Z | 2022-03-24T22:03:47.000Z | Tools/MagicPanels/panelMoveXp.py | dprojects/Woodworking | 24420b248e3343a387ae1328fc6dcbf97e433242 | [
"MIT"
] | 1 | 2022-03-13T09:35:22.000Z | 2022-03-13T13:30:36.000Z | Tools/MagicPanels/panelMoveXp.py | dprojects/Woodworking | 24420b248e3343a387ae1328fc6dcbf97e433242 | [
"MIT"
] | 3 | 2022-02-26T15:01:08.000Z | 2022-03-20T21:30:04.000Z | import MagicPanels
MagicPanels.panelMove("Xp")
| 12 | 27 | 0.8125 | 5 | 48 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 3 | 28 | 16 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7e13fe81701a2fe45cfed9171d56097965bceb41 | 56 | py | Python | findtime/utils.py | MattCCS/FindTime | 8c38965661444d342a28eadc0cdedaf70e9f9279 | [
"MIT"
] | null | null | null | findtime/utils.py | MattCCS/FindTime | 8c38965661444d342a28eadc0cdedaf70e9f9279 | [
"MIT"
] | null | null | null | findtime/utils.py | MattCCS/FindTime | 8c38965661444d342a28eadc0cdedaf70e9f9279 | [
"MIT"
] | null | null | null |
def day_of_year(dt):
return dt.timetuple().tm_yday
| 14 | 33 | 0.714286 | 10 | 56 | 3.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 56 | 3 | 34 | 18.666667 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7e557776390bf717690c0ffe3d5af9bb9e5270df | 282 | py | Python | codility/python/fib.py | guvkon/aoc-2021 | 15c8d387f5bf218790d461d32dd948d6c667be6c | [
"MIT"
] | null | null | null | codility/python/fib.py | guvkon/aoc-2021 | 15c8d387f5bf218790d461d32dd948d6c667be6c | [
"MIT"
] | null | null | null | codility/python/fib.py | guvkon/aoc-2021 | 15c8d387f5bf218790d461d32dd948d6c667be6c | [
"MIT"
] | null | null | null | import math
def fib(n):
fib = [0] * (n + 1)
fib[1] = 1
for i in range(2, n + 1):
fib[i] = fib[i - 1] + fib[i - 2]
return fib[n]
def fib_formula(n):
return int((math.pow((1 + math.sqrt(5)) / 2, n) - math.pow((1 - math.sqrt(5)) / 2, n)) / math.sqrt(5))
| 21.692308 | 106 | 0.485816 | 55 | 282 | 2.472727 | 0.327273 | 0.088235 | 0.198529 | 0.176471 | 0.308824 | 0.308824 | 0.308824 | 0.308824 | 0.308824 | 0 | 0 | 0.074627 | 0.287234 | 282 | 12 | 107 | 23.5 | 0.60199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7e5a4b7a911240a4176bf8ae58a08ef0931285dc | 62 | py | Python | gsee/__init__.py | scene-connect/gsee | f5515fb2a20af9278e7ca11312388717760a8225 | [
"BSD-3-Clause"
] | null | null | null | gsee/__init__.py | scene-connect/gsee | f5515fb2a20af9278e7ca11312388717760a8225 | [
"BSD-3-Clause"
] | 5 | 2022-03-11T10:52:24.000Z | 2022-03-11T14:09:09.000Z | gsee/__init__.py | scene-connect/gsee | f5515fb2a20af9278e7ca11312388717760a8225 | [
"BSD-3-Clause"
] | null | null | null | __all__ = ["brl_model", "pv"]
from gsee import brl_model, pv
| 15.5 | 30 | 0.693548 | 10 | 62 | 3.7 | 0.7 | 0.432432 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 62 | 3 | 31 | 20.666667 | 0.711538 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7e72844189e895886424dc16300b05e203165f43 | 46 | py | Python | elevadorJahNoUltimoAndarException.py | IpRocha1/dsoo_exercicio_6 | 69ece39b2189b3a17a9185dca8a6d17acb6b5aa5 | [
"MIT"
] | null | null | null | elevadorJahNoUltimoAndarException.py | IpRocha1/dsoo_exercicio_6 | 69ece39b2189b3a17a9185dca8a6d17acb6b5aa5 | [
"MIT"
] | null | null | null | elevadorJahNoUltimoAndarException.py | IpRocha1/dsoo_exercicio_6 | 69ece39b2189b3a17a9185dca8a6d17acb6b5aa5 | [
"MIT"
] | null | null | null | class ElevadorJahNoUltimoAndarException( ...
| 15.333333 | 44 | 0.826087 | 2 | 46 | 19 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 2 | 45 | 23 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0e224344c163f81deb574207f38b8233548b28f8 | 119 | bzl | Python | test/com/facebook/buck/parser/testdata/disable_implicit_native_rules/skylark/implicit_in_extension_bzl/extension.bzl | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 8,027 | 2015-01-02T05:31:44.000Z | 2022-03-31T07:08:09.000Z | test/com/facebook/buck/parser/testdata/disable_implicit_native_rules/skylark/implicit_in_extension_bzl/extension.bzl | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 2,355 | 2015-01-01T15:30:53.000Z | 2022-03-30T20:21:16.000Z | test/com/facebook/buck/parser/testdata/disable_implicit_native_rules/skylark/implicit_in_extension_bzl/extension.bzl | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 1,280 | 2015-01-09T03:29:04.000Z | 2022-03-30T15:14:14.000Z | """ Example module """
def java_maker(*args, **kwargs):
""" Make you a java """
java_library(*args, **kwargs)
| 19.833333 | 33 | 0.588235 | 15 | 119 | 4.533333 | 0.733333 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201681 | 119 | 5 | 34 | 23.8 | 0.715789 | 0.260504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0e4ecce9b8ee44d7a2ecb07d04597a919fe2daa5 | 146 | py | Python | euler_01.py | zhou-le/euler | 78033a10bc186fbd2a004760966e15724b0a98f9 | [
"Apache-2.0"
] | 2 | 2018-12-24T15:36:00.000Z | 2021-06-07T09:35:59.000Z | euler_01.py | zhou-le/Euler | 78033a10bc186fbd2a004760966e15724b0a98f9 | [
"Apache-2.0"
] | null | null | null | euler_01.py | zhou-le/Euler | 78033a10bc186fbd2a004760966e15724b0a98f9 | [
"Apache-2.0"
] | null | null | null | #coding: utf-8
#date: 2018/7/30 19:07
#author: zhou_le
# 求1000以下3和5的倍数之和
print(sum([i for i in range(1000) if i % 3 == 0 or i % 5 == 0])) | 20.857143 | 64 | 0.59589 | 29 | 146 | 2.965517 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 0.232877 | 146 | 7 | 64 | 20.857143 | 0.535714 | 0.452055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0e5a60a46aeb18c5fcebbf2deb1ab0ad21f787d1 | 24 | py | Python | asn1tools/version.py | eerimoq/asn1tools | 93e5fc2922c191e4a593507d4bc8847341fc9f40 | [
"MIT"
] | 198 | 2017-08-04T21:49:15.000Z | 2022-03-26T10:11:21.000Z | asn1tools/version.py | eerimoq/asn1tools | 93e5fc2922c191e4a593507d4bc8847341fc9f40 | [
"MIT"
] | 144 | 2017-09-29T12:06:51.000Z | 2022-03-29T13:04:44.000Z | asn1tools/version.py | eerimoq/asn1tools | 93e5fc2922c191e4a593507d4bc8847341fc9f40 | [
"MIT"
] | 73 | 2017-10-09T13:33:28.000Z | 2022-03-11T01:35:22.000Z | __version__ = '0.159.0'
| 12 | 23 | 0.666667 | 4 | 24 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0.125 | 24 | 1 | 24 | 24 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0e67c3d1189cc9a2fa0ae70c15b2f561c7bd2b47 | 404 | py | Python | Semester2/bottles.py | ConstantineLinardakis/Programming1Portfolio | 9062590de87e495ecf19b759a5d7a132a6982e3b | [
"MIT"
] | 1 | 2020-11-23T19:02:21.000Z | 2020-11-23T19:02:21.000Z | Semester2/bottles.py | ConstantineLinardakis/Programming1Portfolio | 9062590de87e495ecf19b759a5d7a132a6982e3b | [
"MIT"
] | null | null | null | Semester2/bottles.py | ConstantineLinardakis/Programming1Portfolio | 9062590de87e495ecf19b759a5d7a132a6982e3b | [
"MIT"
] | null | null | null | #loop
bottles = 99
while (bottles > 0):
if (bottles > 1):
print bottles, "bottles of root beer on the wall", bottles, "bottles of root beer"
print "Take one down pass it around,", bottles, "bottles of root beer on the wall"
else:
print bottles, "bottles of root beer on... | 21.263158 | 90 | 0.591584 | 56 | 404 | 4.267857 | 0.392857 | 0.292887 | 0.209205 | 0.334728 | 0.585774 | 0.514644 | 0.514644 | 0.514644 | 0.376569 | 0.376569 | 0 | 0.018315 | 0.324257 | 404 | 19 | 91 | 21.263158 | 0.857143 | 0.009901 | 0 | 0 | 0 | 0 | 0.41 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.125 | 0 | null | null | 0.375 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0ea7201b51048203ec576eca4a186c7f31e54813 | 169 | py | Python | practice/bitwise_operations/ex2.py | recursivelycurious/wordnik-repl | 9d9e96a8ebc79b95f135d5bc871602b65d2d2b79 | [
"MIT"
] | 346 | 2016-02-22T20:21:10.000Z | 2022-01-27T20:55:53.000Z | Language Skills/Python/Unit 10/2-Introduction to Bitwise Operators/Binary representation/2-Lesson I0_ The Base 2 Number System_.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 55 | 2016-04-07T13:58:44.000Z | 2020-06-25T12:20:24.000Z | Language Skills/Python/Unit 10/2-Introduction to Bitwise Operators/Binary representation/2-Lesson I0_ The Base 2 Number System_.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 477 | 2016-02-21T06:17:02.000Z | 2021-12-22T10:08:01.000Z | print 0b1, #1
print 0b10, #2
print 0b11, #3
print 0b100, #4
print 0b101, #5
print 0b110, #6
print 0b111 #7
print "******"
print 0b1 + 0b11
print 0b11 * 0b11
| 15.363636 | 17 | 0.609467 | 28 | 169 | 3.678571 | 0.535714 | 0.15534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.254438 | 169 | 10 | 18 | 16.9 | 0.484127 | 0.04142 | 0 | 0 | 0 | 0 | 0.03871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
7ed68a92c00d63af048a398460040921d4a594c2 | 152 | py | Python | src/xbrief/deco/__init__.py | pydget/xbrief | 9e91927a98754b0fca1fa55eae9a785b15e963f9 | [
"MIT"
] | null | null | null | src/xbrief/deco/__init__.py | pydget/xbrief | 9e91927a98754b0fca1fa55eae9a785b15e963f9 | [
"MIT"
] | null | null | null | src/xbrief/deco/__init__.py | pydget/xbrief | 9e91927a98754b0fca1fa55eae9a785b15e963f9 | [
"MIT"
] | null | null | null | from .deco_entries import deco_dict, deco_entries
from .deco_matrix import deco_matrix
from .deco_node import deco
from .deco_vector import deco_vector
| 30.4 | 49 | 0.855263 | 25 | 152 | 4.88 | 0.32 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111842 | 152 | 4 | 50 | 38 | 0.903704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7edcf59eb18eef02bdb316448f6adea4f05d6570 | 130 | py | Python | pymoo/operators/mutation/nom.py | jarreguit/pymoo | 0496a3c6765826148d8bab21650736760517dd25 | [
"Apache-2.0"
] | 762 | 2018-06-05T20:56:09.000Z | 2021-09-14T09:09:42.000Z | pymoo/operators/mutation/nom.py | jarreguit/pymoo | 0496a3c6765826148d8bab21650736760517dd25 | [
"Apache-2.0"
] | 176 | 2018-09-05T18:37:05.000Z | 2021-09-14T01:18:43.000Z | pymoo/operators/mutation/nom.py | jarreguit/pymoo | 0496a3c6765826148d8bab21650736760517dd25 | [
"Apache-2.0"
] | 160 | 2018-08-05T05:31:20.000Z | 2021-09-14T09:09:45.000Z | from pymoo.core.mutation import Mutation
class NoMutation(Mutation):
def _do(self, problem, X, **kwargs):
return X
| 16.25 | 40 | 0.684615 | 17 | 130 | 5.176471 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 130 | 7 | 41 | 18.571429 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7ee00fb2a41f748e6f16cd24d5dbedd13ee2a74c | 155 | py | Python | portfolio/portfolio_site/models/__init__.py | nguyentrisinh/portfolio | 83b13f8ffaafae76f3a9597b2b8b428da188a555 | [
"MIT"
] | null | null | null | portfolio/portfolio_site/models/__init__.py | nguyentrisinh/portfolio | 83b13f8ffaafae76f3a9597b2b8b428da188a555 | [
"MIT"
] | null | null | null | portfolio/portfolio_site/models/__init__.py | nguyentrisinh/portfolio | 83b13f8ffaafae76f3a9597b2b8b428da188a555 | [
"MIT"
] | null | null | null | from .contact import Contact
from .project import Project
from .link import Link
from .category import Category
from .project_image import ProjectImage | 31 | 39 | 0.819355 | 21 | 155 | 6 | 0.380952 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148387 | 155 | 5 | 39 | 31 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7d47e3a2c72557ea55cdd53dea81dcefd1f28f34 | 181 | py | Python | Lib/fontTools/ttLib/tables/T_S_I_B_.py | twardoch/fonttools-py27 | 75b852d3f59fc0d03c6e78581530597d4c6368a1 | [
"MIT",
"BSD-3-Clause"
] | 240 | 2021-01-11T14:49:24.000Z | 2022-03-29T22:33:49.000Z | Lib/fontTools/ttLib/tables/T_S_I_B_.py | twardoch/fonttools-py27 | 75b852d3f59fc0d03c6e78581530597d4c6368a1 | [
"MIT",
"BSD-3-Clause"
] | 77 | 2021-01-12T20:23:30.000Z | 2022-03-28T12:14:34.000Z | Lib/fontTools/ttLib/tables/T_S_I_B_.py | twardoch/fonttools-py27 | 75b852d3f59fc0d03c6e78581530597d4c6368a1 | [
"MIT",
"BSD-3-Clause"
] | 28 | 2021-01-17T05:44:11.000Z | 2022-01-11T19:58:46.000Z | from __future__ import print_function, division, absolute_import
from fontTools.misc.py23 import *
from .T_S_I_V_ import table_T_S_I_V_
class table_T_S_I_B_(table_T_S_I_V_):
pass
| 25.857143 | 64 | 0.845304 | 36 | 181 | 3.555556 | 0.5 | 0.0625 | 0.09375 | 0.09375 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.104972 | 181 | 6 | 65 | 30.166667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
adee84920a6fd9a1311346aec3afbb03a615787d | 1,237 | py | Python | sdk/python/pulumi_azure_native/automation/v20200113preview/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/automation/v20200113preview/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/automation/v20200113preview/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from ... import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .automation_account import *
from .cert... | 30.925 | 80 | 0.78658 | 172 | 1,237 | 5.430233 | 0.348837 | 0.331906 | 0.194861 | 0.086724 | 0.14561 | 0.070664 | 0 | 0 | 0 | 0 | 0 | 0.002822 | 0.140663 | 1,237 | 39 | 81 | 31.717949 | 0.875823 | 0.164107 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bc2367f7ad3d249653384c57887795fc9732fb47 | 136 | py | Python | models/__init__.py | dudtjakdl/OpenNMT-Korean-To-English | 32fcdb860906f40f84375ec17a23ae32cb90baa0 | [
"Apache-2.0"
] | 1,491 | 2017-06-30T16:15:40.000Z | 2022-03-22T02:05:16.000Z | models/__init__.py | dudtjakdl/OpenNMT-Korean-To-English | 32fcdb860906f40f84375ec17a23ae32cb90baa0 | [
"Apache-2.0"
] | 128 | 2017-07-07T21:41:03.000Z | 2021-06-30T13:18:23.000Z | models/__init__.py | dudtjakdl/OpenNMT-Korean-To-English | 32fcdb860906f40f84375ec17a23ae32cb90baa0 | [
"Apache-2.0"
] | 434 | 2017-07-08T12:35:15.000Z | 2022-03-25T06:28:13.000Z | from .EncoderRNN import EncoderRNN
from .DecoderRNN import DecoderRNN
from .TopKDecoder import TopKDecoder
from .seq2seq import Seq2seq
| 27.2 | 36 | 0.852941 | 16 | 136 | 7.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.117647 | 136 | 4 | 37 | 34 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bc3c7092993eb4e13af6dd3b1e0b4b31e2777061 | 18,700 | py | Python | Environment.py | mxrcfdez/TrafficLightsAutomation | fe5b3c1cebe585e4f9a3fb2d2a7653f4ac2edb8a | [
"Apache-2.0"
] | null | null | null | Environment.py | mxrcfdez/TrafficLightsAutomation | fe5b3c1cebe585e4f9a3fb2d2a7653f4ac2edb8a | [
"Apache-2.0"
] | null | null | null | Environment.py | mxrcfdez/TrafficLightsAutomation | fe5b3c1cebe585e4f9a3fb2d2a7653f4ac2edb8a | [
"Apache-2.0"
] | null | null | null | import gym
from gym import spaces
import numpy as np
import learning_data
from Simulation import Simulation
def get_value_or_delimiter(value, delimiter):
return min(delimiter[1], max(delimiter[0], value))
class Environment(gym.Env):
def __init__(self, simulation, training):
super(Environment, self)... | 53.276353 | 190 | 0.634439 | 2,211 | 18,700 | 5.080959 | 0.053822 | 0.085989 | 0.043262 | 0.076909 | 0.855617 | 0.801406 | 0.770251 | 0.718355 | 0.663789 | 0.630319 | 0 | 0.023589 | 0.254171 | 18,700 | 350 | 191 | 53.428571 | 0.781889 | 0.127647 | 0 | 0.54902 | 0 | 0 | 0.128515 | 0.059192 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070588 | false | 0.003922 | 0.019608 | 0.007843 | 0.156863 | 0.062745 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
70b086468733c1b6ce77c49c47bc0d4d8412c1dd | 101 | py | Python | enthought/mayavi/components/implicit_plane.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/mayavi/components/implicit_plane.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/mayavi/components/implicit_plane.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from mayavi.components.implicit_plane import *
| 25.25 | 46 | 0.851485 | 13 | 101 | 6.153846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 101 | 3 | 47 | 33.666667 | 0.888889 | 0.118812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
70fed1aa735bf095ea4ea44b9f449fbb2dd1b487 | 128 | py | Python | backend/src/analytics/admin.py | codingforentrepreneurs/Geolocator-2 | d4c2410301aa2497816e7ed2ec1890bc9be2e8fd | [
"MIT"
] | 34 | 2017-04-27T20:22:08.000Z | 2021-11-08T13:01:43.000Z | backend/src/analytics/admin.py | hercules261188/Geolocator-2 | d4c2410301aa2497816e7ed2ec1890bc9be2e8fd | [
"MIT"
] | null | null | null | backend/src/analytics/admin.py | hercules261188/Geolocator-2 | d4c2410301aa2497816e7ed2ec1890bc9be2e8fd | [
"MIT"
] | 34 | 2017-05-18T23:23:01.000Z | 2022-03-02T21:08:54.000Z | from django.contrib import admin
# Register your models here.
from .models import UserSession
admin.site.register(UserSession) | 21.333333 | 32 | 0.820313 | 17 | 128 | 6.176471 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 128 | 6 | 33 | 21.333333 | 0.929204 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cb0840d5bc91aaecbc980279a62bae916478d2ee | 58 | py | Python | conference/forms/__init__.py | zevaverbach/epcon | 8352c030ee0d4197f559cdb58a54ee45c7a4471a | [
"BSD-2-Clause"
] | null | null | null | conference/forms/__init__.py | zevaverbach/epcon | 8352c030ee0d4197f559cdb58a54ee45c7a4471a | [
"BSD-2-Clause"
] | null | null | null | conference/forms/__init__.py | zevaverbach/epcon | 8352c030ee0d4197f559cdb58a54ee45c7a4471a | [
"BSD-2-Clause"
] | null | null | null | from .forms import * # noqa
from .talks import * # noqa
| 19.333333 | 28 | 0.655172 | 8 | 58 | 4.75 | 0.625 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 58 | 2 | 29 | 29 | 0.863636 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cb779cc66f314d2d2731877166e373742311a2fe | 428 | py | Python | editor/importme.py | Amazeryogo/surf-exel | 0d6a43a7ba2b059f61405db846e546308a035733 | [
"MIT"
] | 3 | 2020-08-12T05:59:47.000Z | 2020-11-08T00:01:04.000Z | editor/importme.py | Amazeryogo/surf-exel | 0d6a43a7ba2b059f61405db846e546308a035733 | [
"MIT"
] | 8 | 2020-08-19T06:24:06.000Z | 2020-10-27T04:37:46.000Z | editor/importme.py | Amazeryogo/surf-exel | 0d6a43a7ba2b059f61405db846e546308a035733 | [
"MIT"
] | 1 | 2020-10-25T13:35:17.000Z | 2020-10-25T13:35:17.000Z | from Tkinter import *
from Tkinter import filedialog, simpledialog
from Tkinter import messagebox
from editor.settings import backgroundcolor as bc
from editor.settings import forgroundcolor as fc
from editor.settings import back as b
from editor.settings import fore as f
from editor.settings import size
from editor.se... | 23.777778 | 49 | 0.831776 | 63 | 428 | 5.650794 | 0.412698 | 0.168539 | 0.303371 | 0.404494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147196 | 428 | 17 | 50 | 25.176471 | 0.975342 | 0.056075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cb84957ad1b624b8b574c38b8823c92d6f5be898 | 96 | py | Python | werewolf/models/__init__.py | LucienZhang/werewolf-back | 289468c3589a7ad101358175e26401ba6b3b4f16 | [
"MIT"
] | null | null | null | werewolf/models/__init__.py | LucienZhang/werewolf-back | 289468c3589a7ad101358175e26401ba6b3b4f16 | [
"MIT"
] | null | null | null | werewolf/models/__init__.py | LucienZhang/werewolf-back | 289468c3589a7ad101358175e26401ba6b3b4f16 | [
"MIT"
] | null | null | null | from .base import Base
from .user import User
from .game import Game
from .role import Role
| 19.2 | 23 | 0.75 | 16 | 96 | 4.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 96 | 4 | 24 | 24 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cbbbcdd9a359c2d8bfbdd28aa61f833e1d9364df | 362 | py | Python | tests/__init__.py | zhester/jdi | 18d43331f15776a5ef94342ac85a24a083a3c7d7 | [
"BSD-2-Clause"
] | null | null | null | tests/__init__.py | zhester/jdi | 18d43331f15776a5ef94342ac85a24a083a3c7d7 | [
"BSD-2-Clause"
] | null | null | null | tests/__init__.py | zhester/jdi | 18d43331f15776a5ef94342ac85a24a083a3c7d7 | [
"BSD-2-Clause"
] | null | null | null | #=============================================================================
#
# JDI Unit Tests
#
#=============================================================================
"""
JDI Unit Tests
==============
Run all unit tests from project's root directory.
python -m unittest discover
python3 -m unittes... | 16.454545 | 78 | 0.345304 | 27 | 362 | 4.481481 | 0.62963 | 0.223141 | 0.198347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01278 | 0.135359 | 362 | 21 | 79 | 17.238095 | 0.373802 | 0.872928 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cbce8d593e80431df2ec54039449d1df714915f5 | 13,919 | py | Python | src/Python/flask/app.py | mwaseem75/iris-python-template | c8d75e22a6eee33e796d28f5508fd656a6ea58d6 | [
"MIT"
] | null | null | null | src/Python/flask/app.py | mwaseem75/iris-python-template | c8d75e22a6eee33e796d28f5508fd656a6ea58d6 | [
"MIT"
] | null | null | null | src/Python/flask/app.py | mwaseem75/iris-python-template | c8d75e22a6eee33e796d28f5508fd656a6ea58d6 | [
"MIT"
] | 1 | 2022-02-21T05:14:48.000Z | 2022-02-21T05:14:48.000Z | from flask import Flask, jsonify, Response, request, make_response, render_template
from definitions.passenger import Passenger
import json,util,io,random
import iris
from matplotlib.backends.backend_agg import FigureCanvasAgg
from matplotlib.backends.backend_svg import FigureCanvasSVG
from matplotlib.figure import Fi... | 39.997126 | 254 | 0.613694 | 1,733 | 13,919 | 4.799769 | 0.134449 | 0.02164 | 0.027771 | 0.031258 | 0.747656 | 0.732147 | 0.718081 | 0.709906 | 0.676725 | 0.676725 | 0 | 0.00567 | 0.227028 | 13,919 | 348 | 255 | 39.997126 | 0.767451 | 0.082908 | 0 | 0.592199 | 0 | 0.007092 | 0.227491 | 0.034128 | 0 | 0 | 0 | 0 | 0.017731 | 1 | 0.067376 | false | 0.141844 | 0.024823 | 0 | 0.177305 | 0.003546 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1dbddad7e6aa4ab9f3b4b98398e41967db617fa0 | 2,989 | py | Python | database/models.py | zdresearch/Nettacker | 6d1653df01fee06ac6906a3cb1beebed39c166ef | [
"Apache-2.0"
] | 884 | 2020-09-26T01:12:09.000Z | 2022-03-31T07:39:23.000Z | database/models.py | GeauxWeisbeck4/Nettacker | 0d6a907f4528b42ff6460c8a1e58f73ae768b38e | [
"Apache-2.0"
] | 185 | 2018-04-18T12:16:27.000Z | 2020-09-25T10:37:23.000Z | database/models.py | GeauxWeisbeck4/Nettacker | 0d6a907f4528b42ff6460c8a1e58f73ae768b38e | [
"Apache-2.0"
] | 236 | 2020-09-26T22:19:29.000Z | 2022-03-30T08:21:28.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import (Column,
Integer,
Text,
DateTime)
Base = declarative_base()
class Report(Base):
"""
This class defines the tab... | 28.740385 | 122 | 0.573101 | 354 | 2,989 | 4.644068 | 0.217514 | 0.097324 | 0.051095 | 0.036496 | 0.766423 | 0.740876 | 0.709246 | 0.709246 | 0.667883 | 0.644161 | 0 | 0.010821 | 0.319839 | 2,989 | 103 | 123 | 29.019417 | 0.797836 | 0.199732 | 0 | 0.623188 | 0 | 0.028986 | 0.185852 | 0.011424 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.028986 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1dccc5743e94de53f95b5ccf3e289dd5436b798d | 17,756 | py | Python | baselines/deepq/assembly/data/plot_result.py | DengYuelin/baselines-assembly | d40171845349395f0ed389d725873b389b08f94f | [
"MIT"
] | 1 | 2022-03-23T02:35:05.000Z | 2022-03-23T02:35:05.000Z | baselines/deepq/assembly/data/plot_result.py | DengYuelin/baselines-assembly | d40171845349395f0ed389d725873b389b08f94f | [
"MIT"
] | null | null | null | baselines/deepq/assembly/data/plot_result.py | DengYuelin/baselines-assembly | d40171845349395f0ed389d725873b389b08f94f | [
"MIT"
] | 3 | 2018-12-20T10:10:57.000Z | 2020-08-07T10:12:57.000Z | # -*- coding: utf-8 -*-
"""
# @Time : 24/10/18 2:40 PM
# @Author : ZHIMIN HOU
# @FileName: plot_result.py
# @Software: PyCharm
# @Github : https://github.com/hzm2016
"""
import collections
import matplotlib.pyplot as plt
import numpy as np
import pickle
import copy as cp
from baselines.deepq.assembly.src.value_f... | 42.785542 | 153 | 0.592926 | 2,699 | 17,756 | 3.762134 | 0.089663 | 0.042052 | 0.035454 | 0.044121 | 0.805889 | 0.759208 | 0.725231 | 0.710557 | 0.676581 | 0.630687 | 0 | 0.06412 | 0.202467 | 17,756 | 415 | 154 | 42.785542 | 0.65292 | 0.367312 | 0 | 0.516949 | 0 | 0 | 0.11079 | 0.020482 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04661 | false | 0 | 0.025424 | 0 | 0.076271 | 0.021186 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1de174b38b26130877be87229aea9bb86c21ce03 | 52 | py | Python | backend/models/__init__.py | hajajmaor/e_commerce_website | c3cb4b7acb4447231358ee153128dab1ef7096f5 | [
"MIT"
] | null | null | null | backend/models/__init__.py | hajajmaor/e_commerce_website | c3cb4b7acb4447231358ee153128dab1ef7096f5 | [
"MIT"
] | 7 | 2021-04-06T16:01:12.000Z | 2021-04-29T07:11:40.000Z | backend/models/__init__.py | hajajmaor/e_commerce_website | c3cb4b7acb4447231358ee153128dab1ef7096f5 | [
"MIT"
] | null | null | null | from .cart import receipt_col as receipt_collection
| 26 | 51 | 0.865385 | 8 | 52 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 1 | 52 | 52 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1de641bdba821c7515279839b852f0ac77f42640 | 55 | py | Python | src/torchphysics/utils/data/__init__.py | uwe-iben/torchphysics | f0a56539cff331d49caaa90bc2fdd0d238b298f8 | [
"Apache-2.0"
] | 203 | 2021-11-10T10:33:29.000Z | 2022-03-26T09:05:12.000Z | src/torchphysics/utils/data/__init__.py | DKreuter/torchphysics | 775d9aca71752a568f1fca972c958b99107f3b7c | [
"Apache-2.0"
] | 3 | 2022-01-07T19:57:00.000Z | 2022-03-10T08:04:49.000Z | src/torchphysics/utils/data/__init__.py | DKreuter/torchphysics | 775d9aca71752a568f1fca972c958b99107f3b7c | [
"Apache-2.0"
] | 16 | 2021-09-30T08:35:37.000Z | 2022-03-16T13:12:22.000Z | from .dataloader import PointsDataset, PointsDataLoader | 55 | 55 | 0.890909 | 5 | 55 | 9.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
383e3af7fe9618bbfe62c21b134b2caa1c790a2d | 167 | py | Python | .kodi/addons/plugin.audio.radioreference/__init__.py | C6SUMMER/allinclusive-kodi-pi | 8baf247c79526849c640c6e56ca57a708a65bd11 | [
"Apache-2.0"
] | null | null | null | .kodi/addons/plugin.audio.radioreference/__init__.py | C6SUMMER/allinclusive-kodi-pi | 8baf247c79526849c640c6e56ca57a708a65bd11 | [
"Apache-2.0"
] | null | null | null | .kodi/addons/plugin.audio.radioreference/__init__.py | C6SUMMER/allinclusive-kodi-pi | 8baf247c79526849c640c6e56ca57a708a65bd11 | [
"Apache-2.0"
] | 2 | 2018-04-17T17:34:39.000Z | 2020-07-26T03:43:33.000Z | # -*- coding: utf-8 -*-
#------------------------------------------------------------
# broadcastify
#------------------------------------------------------------
| 33.4 | 62 | 0.131737 | 4 | 167 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006494 | 0.077844 | 167 | 4 | 63 | 41.75 | 0.136364 | 0.922156 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
384588ab19b7b9445eb8d0e620a6a304d88dad1c | 62 | py | Python | tests/__init__.py | johnsca/charm-helpers | e1157a1edb7ef2cc478af176086998d68de0b193 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | johnsca/charm-helpers | e1157a1edb7ef2cc478af176086998d68de0b193 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | johnsca/charm-helpers | e1157a1edb7ef2cc478af176086998d68de0b193 | [
"Apache-2.0"
] | null | null | null | import sys
import mock
sys.modules['yum'] = mock.MagicMock()
| 12.4 | 37 | 0.725806 | 9 | 62 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 4 | 38 | 15.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
69b8ea15180398bc6ee7cd290eed58c81d9257b6 | 27,827 | py | Python | services/ui_backend_service/tests/integration_tests/tasks_test.py | runsascoded/metaflow-service | ac7770dfeae17fd060129d408fa3bb472fc00b86 | [
"Apache-2.0"
] | 103 | 2019-12-04T04:41:08.000Z | 2022-03-29T16:20:45.000Z | services/ui_backend_service/tests/integration_tests/tasks_test.py | runsascoded/metaflow-service | ac7770dfeae17fd060129d408fa3bb472fc00b86 | [
"Apache-2.0"
] | 42 | 2019-12-16T23:15:44.000Z | 2022-02-18T17:33:32.000Z | services/ui_backend_service/tests/integration_tests/tasks_test.py | valayDave/metaflow-service | 65e19aef268e9e707522ee0695fd4ebaee42aa69 | [
"Apache-2.0"
] | 36 | 2019-12-12T17:46:46.000Z | 2022-01-21T04:53:24.000Z | import pytest
import time
from .utils import (
init_app, init_db, clean_db,
add_flow, add_run, add_step, add_task, add_artifact,
_test_list_resources, _test_single_resource, add_metadata, get_heartbeat_ts
)
pytestmark = [pytest.mark.integration_tests]
# Fixtures begin
@pytest.fixture
def cli(loop, aiohtt... | 47.084602 | 212 | 0.71215 | 3,891 | 27,827 | 4.640195 | 0.055513 | 0.052506 | 0.054057 | 0.033343 | 0.821047 | 0.77995 | 0.748934 | 0.723235 | 0.698865 | 0.684132 | 0 | 0.009302 | 0.157832 | 27,827 | 590 | 213 | 47.164407 | 0.761127 | 0.117224 | 0 | 0.619537 | 0 | 0 | 0.249612 | 0.126255 | 0 | 0 | 0 | 0 | 0.012853 | 1 | 0.002571 | false | 0 | 0.007712 | 0.002571 | 0.028278 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
69c0d64af0daa3c05b8a8e97e012bb20be7a3134 | 147 | py | Python | study/python-brasil/exercises/sequential-structure/sequential-structure - 006.py | gustavomarquezinho/python | e36779aa5c4bfaf88c587f05db5bd447fd41e4a2 | [
"MIT"
] | null | null | null | study/python-brasil/exercises/sequential-structure/sequential-structure - 006.py | gustavomarquezinho/python | e36779aa5c4bfaf88c587f05db5bd447fd41e4a2 | [
"MIT"
] | null | null | null | study/python-brasil/exercises/sequential-structure/sequential-structure - 006.py | gustavomarquezinho/python | e36779aa5c4bfaf88c587f05db5bd447fd41e4a2 | [
"MIT"
] | null | null | null | # 006 - Faça um programa que peça o raio de um círculo, calcule e mostre sua área.
print(f'Área: {3.14 * pow(float(input("Raio círculo: ")), 2)}') | 49 | 82 | 0.673469 | 27 | 147 | 3.666667 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057377 | 0.170068 | 147 | 3 | 83 | 49 | 0.754098 | 0.544218 | 0 | 0 | 0 | 0 | 0.80303 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
69d7a315854c9efb1fc746e30bff79237346d088 | 381 | py | Python | corehq/apps/fixtures/exceptions.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | 1 | 2015-02-10T23:26:39.000Z | 2015-02-10T23:26:39.000Z | corehq/apps/fixtures/exceptions.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/fixtures/exceptions.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | null | null | null | class FixtureException(Exception):
pass
class FixtureUploadError(FixtureException):
pass
class DuplicateFixtureTagException(FixtureUploadError):
pass
class ExcelMalformatException(FixtureUploadError):
pass
class FixtureAPIException(Exception):
pass
class FixtureTypeCheckError(Exception):
... | 12.290323 | 55 | 0.774278 | 28 | 381 | 10.535714 | 0.357143 | 0.183051 | 0.183051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170604 | 381 | 30 | 56 | 12.7 | 0.933544 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
388c4200cdb6866a189312d1ba76f6d3bb459c3a | 758 | py | Python | pyorient/ogm/commands.py | spy7/pyorient | ac2547287f9299f4eec350666da3b19797872f20 | [
"Apache-2.0"
] | 142 | 2015-01-12T06:34:59.000Z | 2022-01-19T10:34:30.000Z | pyorient/ogm/commands.py | spy7/pyorient | ac2547287f9299f4eec350666da3b19797872f20 | [
"Apache-2.0"
] | 238 | 2015-01-04T21:05:41.000Z | 2021-04-12T17:45:53.000Z | pyorient/ogm/commands.py | spy7/pyorient | ac2547287f9299f4eec350666da3b19797872f20 | [
"Apache-2.0"
] | 107 | 2015-01-03T03:33:17.000Z | 2021-12-07T16:48:48.000Z | from ..utils import to_str
class VertexCommand(object):
def __init__(self, command_text):
self.command_text = command_text
def __str__(self):
return to_str(self.__unicode__())
def __unicode__(self):
return u'{}'.format(self.command_text)
class CreateEdgeCommand(object):
def _... | 25.266667 | 73 | 0.637203 | 90 | 758 | 4.877778 | 0.255556 | 0.225513 | 0.23918 | 0.129841 | 0.583144 | 0.583144 | 0.455581 | 0.455581 | 0.455581 | 0.455581 | 0 | 0 | 0.255937 | 758 | 29 | 74 | 26.137931 | 0.778369 | 0 | 0 | 0.545455 | 0 | 0 | 0.019789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.045455 | 0.136364 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
38b594515a9bd74963aec29f7d6581b2994b7f2f | 155 | py | Python | controle/admin.py | jeremyrodrigues/auto-ambient-music | a8f622334f921741e0011ef305ac8e991f361d35 | [
"MIT"
] | null | null | null | controle/admin.py | jeremyrodrigues/auto-ambient-music | a8f622334f921741e0011ef305ac8e991f361d35 | [
"MIT"
] | null | null | null | controle/admin.py | jeremyrodrigues/auto-ambient-music | a8f622334f921741e0011ef305ac8e991f361d35 | [
"MIT"
] | null | null | null | from django.contrib import admin
from controle.models import Time, Music
# Register your models here.
admin.site.register(Time)
admin.site.register(Music) | 25.833333 | 39 | 0.812903 | 23 | 155 | 5.478261 | 0.565217 | 0.142857 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103226 | 155 | 6 | 40 | 25.833333 | 0.906475 | 0.167742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
38bb581927bfd74653d9371508053b5cbf15396a | 28 | py | Python | textbot/action.py | sparwow/textbot | cad7ad310da8af9c826e4c52f1a8f27ae90c1462 | [
"MIT"
] | null | null | null | textbot/action.py | sparwow/textbot | cad7ad310da8af9c826e4c52f1a8f27ae90c1462 | [
"MIT"
] | null | null | null | textbot/action.py | sparwow/textbot | cad7ad310da8af9c826e4c52f1a8f27ae90c1462 | [
"MIT"
] | null | null | null | class EmailAction:
pass
| 9.333333 | 18 | 0.714286 | 3 | 28 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 19 | 14 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2a4a2838e188c76f4a2cd11bbdf6a1bfab7e4da2 | 101 | py | Python | python/lookout/__init__.py | meyskens/lookout-sdk | 805d0d61ca97120a257283780790ff2458a6ef29 | [
"Apache-2.0"
] | 5 | 2018-12-17T11:22:31.000Z | 2019-03-14T02:50:43.000Z | python/lookout/__init__.py | meyskens/lookout-sdk | 805d0d61ca97120a257283780790ff2458a6ef29 | [
"Apache-2.0"
] | 64 | 2018-08-31T10:41:36.000Z | 2019-12-14T15:01:13.000Z | python/lookout/__init__.py | meyskens/lookout-sdk | 805d0d61ca97120a257283780790ff2458a6ef29 | [
"Apache-2.0"
] | 16 | 2018-08-30T20:33:55.000Z | 2021-08-09T05:37:06.000Z | """Lookout - Assisted Code Review"""
import pkg_resources
pkg_resources.declare_namespace(__name__)
| 20.2 | 41 | 0.811881 | 12 | 101 | 6.25 | 0.833333 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 101 | 4 | 42 | 25.25 | 0.815217 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2a522cf24383152e1f43899c4fe827f5c6c726b0 | 6,738 | py | Python | mayan/apps/documents/tests/test_links.py | bonitobonita24/Mayan-EDMS | 7845fe0e1e83c81f5d227a16116397a3d3883b85 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/documents/tests/test_links.py | bonitobonita24/Mayan-EDMS | 7845fe0e1e83c81f5d227a16116397a3d3883b85 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/documents/tests/test_links.py | bonitobonita24/Mayan-EDMS | 7845fe0e1e83c81f5d227a16116397a3d3883b85 | [
"Apache-2.0"
] | 114 | 2015-01-08T20:21:05.000Z | 2018-12-10T19:07:53.000Z | from django.urls import reverse
from ..links.document_file_links import (
link_document_file_delete, link_document_file_download_quick
)
from ..links.favorite_links import (
link_document_favorites_add, link_document_favorites_remove
)
from ..links.trashed_document_links import link_document_restore
from ..mod... | 35.650794 | 82 | 0.723212 | 784 | 6,738 | 5.766582 | 0.082908 | 0.103517 | 0.095554 | 0.063703 | 0.797611 | 0.763548 | 0.728379 | 0.728379 | 0.713559 | 0.710905 | 0 | 0.000374 | 0.205402 | 6,738 | 188 | 83 | 35.840426 | 0.844042 | 0 | 0 | 0.569444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118056 | 1 | 0.090278 | false | 0 | 0.055556 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aa51ffea60a8f3722501b0b1a0f4252d675d1628 | 1,481 | py | Python | airbyte-integrations/connectors/source-chargebee/unit_tests/conftest.py | onaio/airbyte | 38302e82a25f1b66742c3febfbff0668556920f2 | [
"MIT"
] | 22 | 2020-08-27T00:47:20.000Z | 2020-09-17T15:39:39.000Z | airbyte-integrations/connectors/source-chargebee/unit_tests/conftest.py | onaio/airbyte | 38302e82a25f1b66742c3febfbff0668556920f2 | [
"MIT"
] | 116 | 2020-08-27T01:11:27.000Z | 2020-09-19T02:47:52.000Z | airbyte-integrations/connectors/source-chargebee/unit_tests/conftest.py | onaio/airbyte | 38302e82a25f1b66742c3febfbff0668556920f2 | [
"MIT"
] | 1 | 2020-09-15T06:10:01.000Z | 2020-09-15T06:10:01.000Z | #
# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
#
import json
import os
from pytest import fixture
def load_file(fn):
return open(os.path.join("unit_tests", "responses", fn)).read()
@fixture
def test_config_v1():
return {"site": "airbyte-test", "site_api_key": "site_api_key", "start_date": "202... | 18.987179 | 131 | 0.717083 | 207 | 1,481 | 4.917874 | 0.285024 | 0.137525 | 0.194499 | 0.248527 | 0.501965 | 0.501965 | 0.227898 | 0.157171 | 0.157171 | 0.157171 | 0 | 0.029435 | 0.128292 | 1,481 | 77 | 132 | 19.233766 | 0.759101 | 0.036462 | 0 | 0.295455 | 0 | 0 | 0.238932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.068182 | 0.318182 | 0.704545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
aa60b0079dcb6f5a27a15460a7a773255408abdc | 91 | py | Python | fsdviz/stocking/forms/__init__.py | AdamCottrill/fsdivz | 98dd1f35a08dba26424e2951a40715e01399478c | [
"MIT"
] | null | null | null | fsdviz/stocking/forms/__init__.py | AdamCottrill/fsdivz | 98dd1f35a08dba26424e2951a40715e01399478c | [
"MIT"
] | 6 | 2020-02-12T00:03:40.000Z | 2020-11-30T01:20:56.000Z | fsdviz/stocking/forms/__init__.py | AdamCottrill/fsdviz | 98dd1f35a08dba26424e2951a40715e01399478c | [
"MIT"
] | null | null | null | from .FindEventsForm import *
from .StockingEventForm import *
from .XlsEventForm import *
| 22.75 | 32 | 0.802198 | 9 | 91 | 8.111111 | 0.555556 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 3 | 33 | 30.333333 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aabebbb877a1c20f697d7ae81aa297513ca02e1b | 55 | py | Python | dcstats/__init__.py | aplested/DC_Pyps | da33fc7d0e7365044e368488d1c7cbbae7473cc7 | [
"MIT"
] | 1 | 2021-03-25T18:09:25.000Z | 2021-03-25T18:09:25.000Z | dcstats/__init__.py | aplested/DC_Pyps | da33fc7d0e7365044e368488d1c7cbbae7473cc7 | [
"MIT"
] | null | null | null | dcstats/__init__.py | aplested/DC_Pyps | da33fc7d0e7365044e368488d1c7cbbae7473cc7 | [
"MIT"
] | null | null | null | from dcstats import *
from _version import __version__
| 18.333333 | 32 | 0.836364 | 7 | 55 | 5.857143 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 33 | 27.5 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2a9a4d87b28f9436adbf59fa348294bf68f453a8 | 155 | py | Python | revuo/forms/__init__.py | Lasanha/revuo | 3fb2a06515194416aff3b9a9efac321f1af3209a | [
"BSD-3-Clause"
] | 1 | 2020-03-24T23:33:57.000Z | 2020-03-24T23:33:57.000Z | revuo/forms/__init__.py | Lasanha/revuo | 3fb2a06515194416aff3b9a9efac321f1af3209a | [
"BSD-3-Clause"
] | 26 | 2015-01-20T13:31:57.000Z | 2020-06-05T17:26:18.000Z | revuo/forms/__init__.py | Lasanha/revuo | 3fb2a06515194416aff3b9a9efac321f1af3209a | [
"BSD-3-Clause"
] | null | null | null | from .blog_item import FormBlogItem
from .edit_profile import FormEditProfile
from .news_item import FormNewsItem
from .publication import FormPublication
| 31 | 41 | 0.870968 | 19 | 155 | 6.947368 | 0.631579 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103226 | 155 | 4 | 42 | 38.75 | 0.94964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2d5d4b0e8ee8b61a38dc6be3798b8feb193f02e1 | 61 | py | Python | mp2ragelib/ui.py | ofgulban/mp2ragelib | 3df294f02ae4aadd0c9f91e8a101305f3f5f15fe | [
"BSD-3-Clause"
] | 1 | 2020-09-04T19:36:58.000Z | 2020-09-04T19:36:58.000Z | mp2ragelib/ui.py | ofgulban/mp2ragelib | 3df294f02ae4aadd0c9f91e8a101305f3f5f15fe | [
"BSD-3-Clause"
] | null | null | null | mp2ragelib/ui.py | ofgulban/mp2ragelib | 3df294f02ae4aadd0c9f91e8a101305f3f5f15fe | [
"BSD-3-Clause"
] | null | null | null | """Commandline interface."""
# TODO: After scripting works.
| 15.25 | 30 | 0.704918 | 6 | 61 | 7.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 3 | 31 | 20.333333 | 0.811321 | 0.852459 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.333333 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2dcefc70c84d3f4061e0e716788bdf5dca8ba63f | 74 | py | Python | lib/datatools/build/__init__.py | JokerWDL/PyAnomaly | cf93437e5d7ae87fa916141cf4b5cc2e929b8199 | [
"Apache-2.0"
] | 1 | 2020-11-22T17:55:10.000Z | 2020-11-22T17:55:10.000Z | lib/datatools/build/__init__.py | JokerWDL/PyAnomaly | cf93437e5d7ae87fa916141cf4b5cc2e929b8199 | [
"Apache-2.0"
] | null | null | null | lib/datatools/build/__init__.py | JokerWDL/PyAnomaly | cf93437e5d7ae87fa916141cf4b5cc2e929b8199 | [
"Apache-2.0"
] | null | null | null | from .. import dataclass # trigger the register in the dataclass package
| 37 | 73 | 0.783784 | 10 | 74 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 1 | 74 | 74 | 0.95082 | 0.608108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
93095d98ffed279b01860ac139ac53ed5312a8e1 | 206 | py | Python | aiosnow/models/__init__.py | michaeldcanady/aiosnow | db515b1560d651fc7696a184990c2a2d68db8961 | [
"MIT"
] | 38 | 2020-08-03T17:58:48.000Z | 2022-03-30T19:39:24.000Z | aiosnow/models/__init__.py | michaeldcanady/aiosnow | db515b1560d651fc7696a184990c2a2d68db8961 | [
"MIT"
] | 34 | 2020-01-20T10:11:46.000Z | 2020-06-05T21:25:23.000Z | aiosnow/models/__init__.py | michaeldcanady/aiosnow | db515b1560d651fc7696a184990c2a2d68db8961 | [
"MIT"
] | 5 | 2021-03-26T19:35:20.000Z | 2022-01-23T20:09:55.000Z | from ._base import BaseModel, BaseModelMeta, BaseTableModel
from ._schema import BaseField, ModelSchema, ModelSchemaMeta, Pluck, fields
from .attachment import AttachmentModel
from .table import TableModel
| 41.2 | 75 | 0.84466 | 22 | 206 | 7.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 206 | 4 | 76 | 51.5 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
933b4da8586a2940f3a4d00ebc21c1950b2eb3db | 241 | py | Python | website/music/views.py | mrsmartpants/DjangoTutorial-Beginners | 11e64f4f982a576f814db5ed466f8b31bba5ae5c | [
"MIT"
] | null | null | null | website/music/views.py | mrsmartpants/DjangoTutorial-Beginners | 11e64f4f982a576f814db5ed466f8b31bba5ae5c | [
"MIT"
] | null | null | null | website/music/views.py | mrsmartpants/DjangoTutorial-Beginners | 11e64f4f982a576f814db5ed466f8b31bba5ae5c | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Python functions - user is going to request an url
# Create your views here.
from django.http import HttpResponse
def index(request):
return HttpResponse("<h1> This is the music app homepage</h1>") | 30.125 | 67 | 0.763485 | 36 | 241 | 5.111111 | 0.805556 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.161826 | 241 | 8 | 67 | 30.125 | 0.90099 | 0.307054 | 0 | 0 | 0 | 0 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
93717d5c39265a03944d975e47f65b92a746680b | 84 | py | Python | src/vpnchooser/__init__.py | cbrand/vpnchooser | 0982baeb14eff1e0b7ef5dbc8f11b3a7213f341c | [
"MIT"
] | null | null | null | src/vpnchooser/__init__.py | cbrand/vpnchooser | 0982baeb14eff1e0b7ef5dbc8f11b3a7213f341c | [
"MIT"
] | null | null | null | src/vpnchooser/__init__.py | cbrand/vpnchooser | 0982baeb14eff1e0b7ef5dbc8f11b3a7213f341c | [
"MIT"
] | 1 | 2016-05-31T16:14:37.000Z | 2016-05-31T16:14:37.000Z | # -*- encoding: utf-8 -*-
from .applicaton import app, api
from . import resources
| 16.8 | 32 | 0.678571 | 11 | 84 | 5.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.178571 | 84 | 4 | 33 | 21 | 0.811594 | 0.27381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9373d6bbb7c1cbcacd636bf497c2f411b745ae3a | 188 | py | Python | 8kyu/Beginner Series #2 Clock.py | walkgo/codewars_tasks | 4c0ab6f0e1d2181318fc15b12dd55ef565ecd223 | [
"MIT"
] | null | null | null | 8kyu/Beginner Series #2 Clock.py | walkgo/codewars_tasks | 4c0ab6f0e1d2181318fc15b12dd55ef565ecd223 | [
"MIT"
] | null | null | null | 8kyu/Beginner Series #2 Clock.py | walkgo/codewars_tasks | 4c0ab6f0e1d2181318fc15b12dd55ef565ecd223 | [
"MIT"
] | null | null | null | def past(h, m, s):
h_ms = h * 3600000
m_ms = m * 60000
s_ms = s * 1000
return h_ms + m_ms + s_ms
# Best Practices
def past(h, m, s):
return (3600*h + 60*m + s) * 1000 | 18.8 | 37 | 0.537234 | 38 | 188 | 2.5 | 0.368421 | 0.063158 | 0.168421 | 0.189474 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204724 | 0.324468 | 188 | 10 | 37 | 18.8 | 0.543307 | 0.074468 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
9376fd70f43fc6254d25d8d9de6182ad6d1f30d5 | 32 | py | Python | tests/test_placeholder.py | symonk/stashie-cli | f18eec8a8e4bcb0b947a934e25b9a9f8066335fc | [
"Apache-2.0"
] | null | null | null | tests/test_placeholder.py | symonk/stashie-cli | f18eec8a8e4bcb0b947a934e25b9a9f8066335fc | [
"Apache-2.0"
] | null | null | null | tests/test_placeholder.py | symonk/stashie-cli | f18eec8a8e4bcb0b947a934e25b9a9f8066335fc | [
"Apache-2.0"
] | null | null | null | def test_placeholder():
...
| 10.666667 | 23 | 0.59375 | 3 | 32 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 24 | 16 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fa8ea4a787dbe3d2892d7a449c5a14c4d96bc740 | 105 | py | Python | mak/libs/pyxx/cxx/grammar/expression/primary/requires/__init__.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | mak/libs/pyxx/cxx/grammar/expression/primary/requires/__init__.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/libs/pyxx/cxx/grammar/expression/primary/requires/__init__.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | from . import general
from . import simple
from . import type
from . import compound
from . import nested | 21 | 22 | 0.771429 | 15 | 105 | 5.4 | 0.466667 | 0.617284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180952 | 105 | 5 | 23 | 21 | 0.94186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fa954cccfdb16470bfc0b5d84f0c0d0b0bc56f46 | 70 | py | Python | task_list_dev/__main__.py | HenriqueLR/task-list-dev | a623543bbf882458bca476f7a94156cd30d544ab | [
"MIT"
] | null | null | null | task_list_dev/__main__.py | HenriqueLR/task-list-dev | a623543bbf882458bca476f7a94156cd30d544ab | [
"MIT"
] | 5 | 2017-11-25T17:05:47.000Z | 2017-11-28T16:06:16.000Z | task_list_dev/__main__.py | HenriqueLR/task-list-dev | a623543bbf882458bca476f7a94156cd30d544ab | [
"MIT"
] | null | null | null | # coding: utf-8
print(__import__('task_list_dev').tools.get_list())
| 14 | 51 | 0.728571 | 11 | 70 | 4 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.085714 | 70 | 4 | 52 | 17.5 | 0.671875 | 0.185714 | 0 | 0 | 0 | 0 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
fab1c59f92d41695f6c520dc6fa5d7c7dc7fd893 | 533 | py | Python | documentstore_migracao/main/__init__.py | jamilatta/document-store-migracao | dc0473fb3ccf8c6c5f8d599b353f8c9caf104f55 | [
"BSD-2-Clause"
] | null | null | null | documentstore_migracao/main/__init__.py | jamilatta/document-store-migracao | dc0473fb3ccf8c6c5f8d599b353f8c9caf104f55 | [
"BSD-2-Clause"
] | null | null | null | documentstore_migracao/main/__init__.py | jamilatta/document-store-migracao | dc0473fb3ccf8c6c5f8d599b353f8c9caf104f55 | [
"BSD-2-Clause"
] | null | null | null | """ module to methods to main """
import sys
from .migrate_isis import migrate_isis_parser
from .migrate_articlemeta import migrate_articlemeta_parser
from .tools import tools_parser
def main_migrate_articlemeta():
""" method main to script setup.py """
sys.exit(migrate_articlemeta_parser(sys.argv[1:]))
... | 21.32 | 59 | 0.739212 | 76 | 533 | 4.842105 | 0.289474 | 0.244565 | 0.141304 | 0.152174 | 0.266304 | 0.211957 | 0.211957 | 0.211957 | 0 | 0 | 0 | 0.008696 | 0.136961 | 533 | 24 | 60 | 22.208333 | 0.791304 | 0.106942 | 0 | 0.166667 | 0 | 0 | 0.017354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.333333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fae347d92c6318856795474c7e5ee0e6b5c0295e | 31 | py | Python | src/DeepReinforcementLearning/__init__.py | Quantum56/AlphaZero-AI | 504522feb4e67211d5fb592f4b14a2cb8271d015 | [
"MIT"
] | 1 | 2019-11-12T01:55:36.000Z | 2019-11-12T01:55:36.000Z | src/DeepReinforcementLearning/__init__.py | Quantum56/AlphaZero-AI | 504522feb4e67211d5fb592f4b14a2cb8271d015 | [
"MIT"
] | 14 | 2019-11-12T00:09:26.000Z | 2022-02-10T00:46:30.000Z | src/DeepReinforcementLearning/__init__.py | Quantum56/AlphaZero-AI | 504522feb4e67211d5fb592f4b14a2cb8271d015 | [
"MIT"
] | null | null | null | # from AlphaZero-AI import game | 31 | 31 | 0.806452 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0.935484 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
87dab20f9aff7e74782e7e82bc9833799c25002f | 9,867 | py | Python | django-ng/django_ng_project/django_ng_app/views.py | bounouhmahmoud/ensi | 209e57340359af3ea063c064982198848dc36c5f | [
"MIT"
] | 1 | 2018-07-10T06:59:05.000Z | 2018-07-10T06:59:05.000Z | django-ng/django_ng_project/django_ng_app/views.py | Arsalen/BusinessStrategies | 209e57340359af3ea063c064982198848dc36c5f | [
"MIT"
] | null | null | null | django-ng/django_ng_project/django_ng_app/views.py | Arsalen/BusinessStrategies | 209e57340359af3ea063c064982198848dc36c5f | [
"MIT"
] | null | null | null | # coding=utf-8
from django.shortcuts import render
from rest_framework import viewsets, generics, status
from .serializers import ClientSerializer, MessageSerializer, SearchSerializer, ManageSearchSerializer, PreferenceSerializer
from .models import Client, Message, Search, ManageSearch, Preference
from rest_framework... | 35.365591 | 144 | 0.629371 | 991 | 9,867 | 6.156408 | 0.107972 | 0.087199 | 0.129815 | 0.100967 | 0.769218 | 0.74873 | 0.737912 | 0.737912 | 0.720374 | 0.720374 | 0 | 0.011018 | 0.218101 | 9,867 | 278 | 145 | 35.492806 | 0.77978 | 0.013277 | 0 | 0.69 | 0 | 0 | 0.00407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0.01 | 0.055 | 0 | 0.54 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.