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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
179f95f9e72c1e37abd3d8bfd907121a3e471e18 | 992 | py | Python | Gathered CTF writeups/ctf-7867/2020/osu-ctf-autumn/cookie_monster/1/alt/crack.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:00:41.000Z | 2022-03-27T06:00:41.000Z | Gathered CTF writeups/ctf-7867/2020/osu-ctf-autumn/cookie_monster/1/alt/crack.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | null | null | null | Gathered CTF writeups/ctf-7867/2020/osu-ctf-autumn/cookie_monster/1/alt/crack.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:01:42.000Z | 2022-03-27T06:01:42.000Z | import base64
cookies = {}
u = 'xxxxxxx'
cookies['name'] = 'gLeo7iVSypsn/drBfy3RbNqzjyybmzeMf7kRLIBfjMOw5q6quh7obDIhswwefiJ/'
u = '我_xxxxxx'
cookies['name_to_role'] = 'PWcy62SAOrsP5g6T3NFrE30kGeiwGNdQMVb1PUmSSIuUUEeu2MALDRwSEM/HUPvE'
u = '我_administrators'
cookies['admins'] = 'PWcy62SAOrsP5g6T3NFrE7D7rtDFzVt3hvNeWi... | 33.066667 | 119 | 0.777218 | 67 | 992 | 11.402985 | 0.522388 | 0.015707 | 0.129581 | 0.157068 | 0.117801 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101367 | 0.114919 | 992 | 29 | 120 | 34.206897 | 0.768793 | 0 | 0 | 0 | 0 | 0 | 0.705645 | 0.548387 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0.052632 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bd598ca3cc77c6b222adcb1c0a2c33b8225e5f2a | 149 | py | Python | Hackerrank_Python/Hackerrank_Python_Editorial/List_comprehension_Editorial.py | theeksha101/problem_solving | 431c4ff224035bb98ad67ead963860329dd4c9ff | [
"MIT"
] | 1 | 2021-09-09T10:28:49.000Z | 2021-09-09T10:28:49.000Z | Hackerrank_Python/Hackerrank_Python_Editorial/List_comprehension_Editorial.py | theeksha101/problem_solving | 431c4ff224035bb98ad67ead963860329dd4c9ff | [
"MIT"
] | null | null | null | Hackerrank_Python/Hackerrank_Python_Editorial/List_comprehension_Editorial.py | theeksha101/problem_solving | 431c4ff224035bb98ad67ead963860329dd4c9ff | [
"MIT"
] | null | null | null | a, b, c, n = [int(input()) for _ in range(4)]
print([[x, y, z] for x in range(a + 1) for y in range(b + 1) for z in range(c + 1) if x + y + z != n])
| 49.666667 | 102 | 0.516779 | 37 | 149 | 2.054054 | 0.432432 | 0.368421 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.261745 | 149 | 2 | 103 | 74.5 | 0.654545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 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 | 4 |
bd5f8822e425787f82483b09e41f64e3bfdb96f1 | 250 | py | Python | repo2docker/contentproviders/__init__.py | yacchin1205/repo2docker | 6077c76ccb0da122d64af20ac99ec71a0334a246 | [
"BSD-3-Clause"
] | null | null | null | repo2docker/contentproviders/__init__.py | yacchin1205/repo2docker | 6077c76ccb0da122d64af20ac99ec71a0334a246 | [
"BSD-3-Clause"
] | null | null | null | repo2docker/contentproviders/__init__.py | yacchin1205/repo2docker | 6077c76ccb0da122d64af20ac99ec71a0334a246 | [
"BSD-3-Clause"
] | null | null | null | from .git import Git
from .base import Local
from .zenodo import Zenodo
from .figshare import Figshare
from .dataverse import Dataverse
from .hydroshare import Hydroshare
from .mercurial import Mercurial
from .rdm import RDM
from .weko3 import WEKO3
| 25 | 34 | 0.82 | 36 | 250 | 5.694444 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.144 | 250 | 9 | 35 | 27.777778 | 0.948598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 4 |
bda4fac70c385399c907c12f81d3e00da86e2aec | 60 | py | Python | src/ambit_stochastics/helpers/__init__.py | danleonte/Ambit_Stochastics | 02e10f7103db4f849b041c97b2e496732211bad6 | [
"MIT"
] | 2 | 2022-01-20T01:22:12.000Z | 2022-01-27T10:33:53.000Z | src/ambit_stochastics/helpers/__init__.py | danleonte/Ambit_Stochastics | 02e10f7103db4f849b041c97b2e496732211bad6 | [
"MIT"
] | null | null | null | src/ambit_stochastics/helpers/__init__.py | danleonte/Ambit_Stochastics | 02e10f7103db4f849b041c97b2e496732211bad6 | [
"MIT"
] | null | null | null | """Auxiliary functions for the Ambit Stochastics package.""" | 60 | 60 | 0.783333 | 7 | 60 | 6.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 60 | 1 | 60 | 60 | 0.87037 | 0.9 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
da445de3bc0414cde1c5cd5fe1f79743dcc444cc | 189 | py | Python | mayan/apps/dashboards/dashboards.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/dashboards/dashboards.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/dashboards/dashboards.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | from django.utils.translation import ugettext_lazy as _
from .classes import Dashboard
dashboard_administrator = Dashboard(
name='administrator', label=_('Administrator dashboard')
)
| 23.625 | 60 | 0.798942 | 20 | 189 | 7.35 | 0.65 | 0.29932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121693 | 189 | 7 | 61 | 27 | 0.885542 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
da45e0a6556a0ccda69c647a11868691f6445588 | 193 | py | Python | Sanctuary/Cogs/Utils/file_handling.py | LeoHartUK/Sanctuary | 8d1d2ddb3a18bcf62a0cecc47bf152f88c90d2b1 | [
"MIT"
] | null | null | null | Sanctuary/Cogs/Utils/file_handling.py | LeoHartUK/Sanctuary | 8d1d2ddb3a18bcf62a0cecc47bf152f88c90d2b1 | [
"MIT"
] | null | null | null | Sanctuary/Cogs/Utils/file_handling.py | LeoHartUK/Sanctuary | 8d1d2ddb3a18bcf62a0cecc47bf152f88c90d2b1 | [
"MIT"
] | 1 | 2018-10-01T12:44:24.000Z | 2018-10-01T12:44:24.000Z | def read_file(filename:str) -> str:
with open(filename) as a:
return a.read()
def write_file(filename:str, content:str) -> None:
with open(filename, 'w') as a:
a.write(content)
return
| 19.3 | 50 | 0.689119 | 32 | 193 | 4.09375 | 0.4375 | 0.183206 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160622 | 193 | 9 | 51 | 21.444444 | 0.808642 | 0 | 0 | 0 | 0 | 0 | 0.005181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
da461444ba638011595133665a04d1266120dfea | 241 | py | Python | modules/__init__.py | igilitschenski/DeepBingham | c4f7cf47d251a7dafb5b465cb282ded844e96dcc | [
"MIT"
] | 21 | 2020-04-07T23:21:31.000Z | 2022-02-18T05:44:58.000Z | modules/__init__.py | igilitschenski/DeepBingham | c4f7cf47d251a7dafb5b465cb282ded844e96dcc | [
"MIT"
] | 3 | 2020-05-03T15:11:49.000Z | 2020-12-25T12:37:10.000Z | modules/__init__.py | igilitschenski/DeepBingham | c4f7cf47d251a7dafb5b465cb282ded844e96dcc | [
"MIT"
] | 6 | 2020-10-01T18:14:26.000Z | 2022-01-10T13:30:19.000Z | from .maad import maad_biternion, maad_bingham, maad_mse
from .bingham_loss import BinghamLoss
from .bingham_mixture_loss import BinghamMixtureLoss
from .mse import MSELoss
from .von_mises import VonMisesLoss
from .cosine import CosineLoss
| 34.428571 | 57 | 0.854772 | 33 | 241 | 6.030303 | 0.484848 | 0.110553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112033 | 241 | 6 | 58 | 40.166667 | 0.929907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 4 |
da5080e38a8d652f457c3c93932cc4fdede50558 | 692 | py | Python | util_types/two_dim.py | yuga-n/ModelLearner | 3193efd5eb15172ba8231a34829942040fcb0fc5 | [
"MIT"
] | null | null | null | util_types/two_dim.py | yuga-n/ModelLearner | 3193efd5eb15172ba8231a34829942040fcb0fc5 | [
"MIT"
] | null | null | null | util_types/two_dim.py | yuga-n/ModelLearner | 3193efd5eb15172ba8231a34829942040fcb0fc5 | [
"MIT"
] | 1 | 2021-09-14T14:52:28.000Z | 2021-09-14T14:52:28.000Z | # -*- coding: utf-8 -*-
from typing import Union
from typing import Tuple
from typing import Callable
def build_square_type(base_type: type):
"""
任意の同じ型1変数か2組のタプルのアノテーションを作成する
:param base_type: 基本となる型
:return: アノテーションされる型
"""
return Union[base_type, Tuple[base_type, base_type]]
raw_cal = bui... | 23.066667 | 68 | 0.736994 | 101 | 692 | 4.732673 | 0.29703 | 0.217573 | 0.150628 | 0.119247 | 0.328452 | 0.104603 | 0 | 0 | 0 | 0 | 0 | 0.005245 | 0.17341 | 692 | 29 | 69 | 23.862069 | 0.83042 | 0.141619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.230769 | 0.153846 | 0.846154 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
da626df452e9449bc6775031d5c7e05f0a33baae | 154 | py | Python | chapter2/chapter2_type_hints_10.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 107 | 2021-03-26T20:18:51.000Z | 2022-03-26T03:38:08.000Z | chapter2/chapter2_type_hints_10.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 4 | 2021-06-09T08:48:21.000Z | 2021-12-27T09:04:43.000Z | chapter2/chapter2_type_hints_10.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 58 | 2021-03-12T20:51:19.000Z | 2022-03-27T15:49:49.000Z | from typing import Any, cast
def f(x: Any) -> Any:
return x
a = f("a") # inferred type is "Any"
a = cast(str, f("a")) # forced type to be "str"
| 15.4 | 48 | 0.571429 | 29 | 154 | 3.034483 | 0.586207 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25974 | 154 | 9 | 49 | 17.111111 | 0.77193 | 0.298701 | 0 | 0 | 0 | 0 | 0.019048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
da64038e443b2b81ab731f93cfd909d01c1100b4 | 168 | py | Python | wordpress/__init__.py | myles/python-wordpress | c2f63a1ff00afa7fc576ef36fc286b63e5aae9b6 | [
"MIT"
] | 36 | 2017-02-23T09:16:23.000Z | 2022-03-27T19:28:31.000Z | wordpress/__init__.py | myles/python-wordpress | c2f63a1ff00afa7fc576ef36fc286b63e5aae9b6 | [
"MIT"
] | 5 | 2017-01-26T13:41:57.000Z | 2018-11-16T00:13:32.000Z | wordpress/__init__.py | myles/python-wordpress | c2f63a1ff00afa7fc576ef36fc286b63e5aae9b6 | [
"MIT"
] | 8 | 2017-01-27T17:38:10.000Z | 2019-07-05T17:31:49.000Z | import logging
from logging import NullHandler
from .api import WordPress # NOQA F401
__all__ = ['WordPress']
logging.getLogger(__name__).addHandler(NullHandler())
| 18.666667 | 53 | 0.785714 | 19 | 168 | 6.526316 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.125 | 168 | 8 | 54 | 21 | 0.823129 | 0.053571 | 0 | 0 | 0 | 0 | 0.057325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
da83e3335e84727dc4051907666cefff5915d369 | 190 | py | Python | tests/_display/test__document.py | ynsnf/apysc | b10ffaf76ec6beb187477d0a744fca00e3efc3fb | [
"MIT"
] | 16 | 2021-04-16T02:01:29.000Z | 2022-01-01T08:53:49.000Z | tests/_display/test__document.py | ynsnf/apysc | b10ffaf76ec6beb187477d0a744fca00e3efc3fb | [
"MIT"
] | 613 | 2021-03-24T03:37:38.000Z | 2022-03-26T10:58:37.000Z | tests/_display/test__document.py | simon-ritchie/apyscript | c319f8ab2f1f5f7fad8d2a8b4fc06e7195476279 | [
"MIT"
] | 2 | 2021-06-20T07:32:58.000Z | 2021-12-26T08:22:11.000Z | import apysc as ap
from apysc._expression import var_names
class TestDocument:
def test___init__(self) -> None:
assert ap.document.variable_name == var_names.DOCUMENT
| 21.111111 | 63 | 0.721053 | 25 | 190 | 5.12 | 0.76 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215789 | 190 | 8 | 64 | 23.75 | 0.85906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e51346d4dd2fa31ed4153450b5e95e2394505cf3 | 159 | py | Python | conditional_filtering.py | chitru/Data-Manipulation-and-Analysis-with-Pandas | dea528dbdb4049eca992141389b9e59dead7109e | [
"MIT"
] | null | null | null | conditional_filtering.py | chitru/Data-Manipulation-and-Analysis-with-Pandas | dea528dbdb4049eca992141389b9e59dead7109e | [
"MIT"
] | null | null | null | conditional_filtering.py | chitru/Data-Manipulation-and-Analysis-with-Pandas | dea528dbdb4049eca992141389b9e59dead7109e | [
"MIT"
] | null | null | null | import pandas as pd
df = pd.read_csv('intel.csv')
#print(df)
#my_open = df['Open'] > 40
#print(my_open)
#print(df[my_open])
print(df[df['Open'] <= 55.8 ]) | 13.25 | 30 | 0.628931 | 30 | 159 | 3.2 | 0.466667 | 0.21875 | 0.1875 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036765 | 0.144654 | 159 | 12 | 30 | 13.25 | 0.669118 | 0.415094 | 0 | 0 | 0 | 0 | 0.144444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 0 | 0 | 0 | 4 |
e51db710d550f583dd9268af11dcf1783567b1a4 | 162 | py | Python | args_paser/hyunjoowhoon.py | HarryBaek/share_5GUAV_2020 | 7f2b7f4b39be4123ced7085dec11cc0c15895be1 | [
"Apache-2.0"
] | null | null | null | args_paser/hyunjoowhoon.py | HarryBaek/share_5GUAV_2020 | 7f2b7f4b39be4123ced7085dec11cc0c15895be1 | [
"Apache-2.0"
] | null | null | null | args_paser/hyunjoowhoon.py | HarryBaek/share_5GUAV_2020 | 7f2b7f4b39be4123ced7085dec11cc0c15895be1 | [
"Apache-2.0"
] | null | null | null | pass
# 3개의 값을 갖는다
# 여러분 마음
# -first 49 -second 30 -third 0
# 곱샘과 나눗샘 --> function 처리
# basic sentence 틀에서 벗어나지 말것
# exception 처리 --> 중간 중단 없음.
# 최종 결과는 print()
| 14.727273 | 31 | 0.635802 | 29 | 162 | 3.551724 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.246914 | 162 | 10 | 32 | 16.2 | 0.795082 | 0.864198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e56e27743eaccc027371ffbd3cdabc65cd1617d0 | 181 | py | Python | template_profiler_panel/apps.py | tufedtm/django-debug-toolbar-template-profiler | 07f0797e681391f79faf451e75c3571531571fd7 | [
"BSD-2-Clause-FreeBSD"
] | 56 | 2015-01-09T22:55:05.000Z | 2022-02-17T22:09:15.000Z | template_profiler_panel/apps.py | tufedtm/django-debug-toolbar-template-profiler | 07f0797e681391f79faf451e75c3571531571fd7 | [
"BSD-2-Clause-FreeBSD"
] | 15 | 2015-07-06T17:55:32.000Z | 2022-02-22T22:16:02.000Z | template_profiler_panel/apps.py | tufedtm/django-debug-toolbar-template-profiler | 07f0797e681391f79faf451e75c3571531571fd7 | [
"BSD-2-Clause-FreeBSD"
] | 19 | 2015-07-03T08:52:30.000Z | 2022-03-09T15:08:48.000Z | from django.apps import AppConfig
class TemplateProfilerPanelAppConfig(AppConfig):
name = "template_profiler_panel"
verbose_name = "Debug Toolbar Template Profiler Panel"
| 25.857143 | 58 | 0.801105 | 19 | 181 | 7.473684 | 0.736842 | 0.225352 | 0.295775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143646 | 181 | 6 | 59 | 30.166667 | 0.916129 | 0 | 0 | 0 | 0 | 0 | 0.331492 | 0.127072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e5afe066f6d99ded1d568c982f807e1a55d86be8 | 314 | py | Python | packages/gtk-doc.py | NobodyNada/bockbuild | 35bff25b50f67962bd47086a1b1ce64106dc01bd | [
"MIT"
] | 20 | 2015-01-27T04:56:21.000Z | 2020-07-26T09:43:01.000Z | packages/gtk-doc.py | NobodyNada/bockbuild | 35bff25b50f67962bd47086a1b1ce64106dc01bd | [
"MIT"
] | 72 | 2015-03-15T18:55:24.000Z | 2022-02-16T15:51:58.000Z | packages/gtk-doc.py | NobodyNada/bockbuild | 35bff25b50f67962bd47086a1b1ce64106dc01bd | [
"MIT"
] | 33 | 2015-01-22T13:10:33.000Z | 2022-03-31T21:07:46.000Z | GnomePackage('gtk-doc', version_major='1', version_minor='18', configure_flags=['--with-xml-catalog="%{staged_profile}/share/xml/catalog"'], sources=['http://ftp.gnome.org/pub/gnome/sources/%{name}/%{version}/%{name}-%{version}.tar.bz2'],
override_properties={'build_dependency': True}
)
| 78.5 | 238 | 0.665605 | 38 | 314 | 5.342105 | 0.789474 | 0.098522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.10828 | 314 | 3 | 239 | 104.666667 | 0.710714 | 0 | 0 | 0 | 0 | 0.333333 | 0.528662 | 0.178344 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e5bee7fb2a8e4ba2b4dc46dd410f805f8777c2a1 | 151 | py | Python | utils/load_yuhun_json.py | JiatLn/yhshow-be | c6a6a6f16b74e16e93257af6d3941d7cdcbfd78e | [
"MIT"
] | null | null | null | utils/load_yuhun_json.py | JiatLn/yhshow-be | c6a6a6f16b74e16e93257af6d3941d7cdcbfd78e | [
"MIT"
] | null | null | null | utils/load_yuhun_json.py | JiatLn/yhshow-be | c6a6a6f16b74e16e93257af6d3941d7cdcbfd78e | [
"MIT"
] | null | null | null | import json
def load_json_file(filename):
with open(filename, encoding='utf-8') as f:
json_file = json.load(f)
return json_file
| 16.777778 | 47 | 0.655629 | 23 | 151 | 4.130435 | 0.608696 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.245033 | 151 | 8 | 48 | 18.875 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 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 | 0 | 1 | 0 | 0 | 4 |
e5dd7942f5b3eefd809d93f84c0affea71f8efcb | 239 | py | Python | tests/base_test.py | solidfire/solidfire-sdk-python | 49fe23e2e9383dcd75723d680ffd18a475dccea5 | [
"Apache-2.0"
] | 20 | 2016-02-18T16:43:09.000Z | 2020-12-12T06:26:44.000Z | tests/base_test.py | solidfire/solidfire-sdk-python | 49fe23e2e9383dcd75723d680ffd18a475dccea5 | [
"Apache-2.0"
] | 39 | 2016-02-18T16:37:21.000Z | 2021-10-04T21:22:22.000Z | tests/base_test.py | solidfire/solidfire-sdk-python | 49fe23e2e9383dcd75723d680ffd18a475dccea5 | [
"Apache-2.0"
] | 12 | 2016-03-18T17:15:27.000Z | 2020-10-02T17:45:14.000Z | #!/usr/bin/env python
"""Copyright (c) NetApp Inc. 2016."""
import unittest
from solidfire.factory import ElementFactory
class SolidFireBaseTest(unittest.TestCase):
cluster = "10.117.61.42"
user = "admin"
password = "admin"
| 19.916667 | 44 | 0.702929 | 29 | 239 | 5.793103 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065 | 0.16318 | 239 | 11 | 45 | 21.727273 | 0.775 | 0.217573 | 0 | 0 | 0 | 0 | 0.121547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
e5fd087135dbf8aa6c25f7728b4c9d04e6e56030 | 234 | py | Python | youtube_title_parse/fallback_title.py | DanB288/youtube_title_parse | 965b4a6a4d233ac20a6bbd974a26490d6306059c | [
"MIT"
] | 15 | 2018-10-28T09:30:18.000Z | 2022-02-08T11:40:15.000Z | youtube_title_parse/fallback_title.py | DanB288/youtube_title_parse | 965b4a6a4d233ac20a6bbd974a26490d6306059c | [
"MIT"
] | 12 | 2020-04-19T12:54:14.000Z | 2021-05-19T20:34:40.000Z | youtube_title_parse/fallback_title.py | DanB288/youtube_title_parse | 965b4a6a4d233ac20a6bbd974a26490d6306059c | [
"MIT"
] | 4 | 2020-05-24T17:18:07.000Z | 2021-11-12T20:50:42.000Z | # -*- coding: utf-8 -*-
"""
Fallback to given title when no title/artist detected
"""
def fallback_title(title):
"""
Fallback method
"""
def fallback_t(artist):
return [artist, title]
return fallback_t
| 14.625 | 53 | 0.611111 | 28 | 234 | 5 | 0.535714 | 0.157143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.25641 | 234 | 15 | 54 | 15.6 | 0.798851 | 0.393162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
f9279a351c4791c860077ae22146986ede28be42 | 155 | py | Python | test_app/test_app/apps.py | vercer-cmt/django-query-preparer | 555dfd4d9293949b7f36f2c679e284753ba86301 | [
"MIT"
] | 6 | 2020-02-17T10:41:47.000Z | 2021-08-20T00:19:52.000Z | test_app/test_app/apps.py | vercer-cmt/django-query-preparer | 555dfd4d9293949b7f36f2c679e284753ba86301 | [
"MIT"
] | null | null | null | test_app/test_app/apps.py | vercer-cmt/django-query-preparer | 555dfd4d9293949b7f36f2c679e284753ba86301 | [
"MIT"
] | null | null | null | # Copyright (c) 2020, Vercer Ltd. Rights set out in LICENCE.txt
from django.apps import AppConfig
class TestAppConfig(AppConfig):
name = "test_app"
| 19.375 | 63 | 0.741935 | 22 | 155 | 5.181818 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.174194 | 155 | 7 | 64 | 22.142857 | 0.859375 | 0.393548 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0068fba9d41e53a799f126aa7360628dcf7f27fd | 94 | py | Python | frzout/__init__.py | j-f-paquet/frzout-duke2020 | b30e4a97e52cf6e573e3d2bfe0e9804169f89704 | [
"MIT"
] | 1 | 2018-05-31T18:15:26.000Z | 2018-05-31T18:15:26.000Z | frzout/__init__.py | j-f-paquet/frzout-duke2020 | b30e4a97e52cf6e573e3d2bfe0e9804169f89704 | [
"MIT"
] | 2 | 2019-03-22T18:58:29.000Z | 2021-03-01T03:54:13.000Z | frzout/__init__.py | j-f-paquet/frzout-duke2020 | b30e4a97e52cf6e573e3d2bfe0e9804169f89704 | [
"MIT"
] | 3 | 2019-05-03T19:23:34.000Z | 2020-10-02T19:42:41.000Z | # -*- coding: utf-8 -*-
from ._frzout import *
from .species import *
__version__ = '1.0.0'
| 13.428571 | 23 | 0.617021 | 13 | 94 | 4.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.191489 | 94 | 6 | 24 | 15.666667 | 0.644737 | 0.223404 | 0 | 0 | 0 | 0 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
00972c15d30ff5897425d4cf96b7b3b42924c247 | 112 | py | Python | terraform/lambda/public_lambda_0/src/index.py | davidjeddy/aws_terraform_lambda_vpc_endpoint | 1730baf4796079a07978e9bfab68ed9a5879ae69 | [
"RSA-MD"
] | 5 | 2020-04-02T05:49:20.000Z | 2020-12-31T13:10:48.000Z | terraform/lambda/public_lambda_0/src/index.py | davidjeddy/aws_terraform_lambda_vpc_endpoint | 1730baf4796079a07978e9bfab68ed9a5879ae69 | [
"RSA-MD"
] | null | null | null | terraform/lambda/public_lambda_0/src/index.py | davidjeddy/aws_terraform_lambda_vpc_endpoint | 1730baf4796079a07978e9bfab68ed9a5879ae69 | [
"RSA-MD"
] | null | null | null | def lambda_handler(event, context):
print('event:', event)
print('context:', context)
return True
| 16 | 35 | 0.651786 | 13 | 112 | 5.538462 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205357 | 112 | 6 | 36 | 18.666667 | 0.808989 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 0 | 0 | 1 | 0 | 4 |
00a7fd0216e8a6874070712a06556425d9547cef | 64 | py | Python | pytranus/tranusio/__init__.py | tcapelle/pytranus | 8abcdeca85252071854611822bffc83c01ea5267 | [
"MIT"
] | 1 | 2021-12-06T12:14:14.000Z | 2021-12-06T12:14:14.000Z | pytranus/tranusio/__init__.py | tcapelle/pytranus | 8abcdeca85252071854611822bffc83c01ea5267 | [
"MIT"
] | null | null | null | pytranus/tranusio/__init__.py | tcapelle/pytranus | 8abcdeca85252071854611822bffc83c01ea5267 | [
"MIT"
] | 1 | 2021-07-15T16:44:09.000Z | 2021-07-15T16:44:09.000Z | from lcalparam import LcalParam
from lcalio import L1sParam, L1s | 32 | 32 | 0.859375 | 9 | 64 | 6.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.125 | 64 | 2 | 32 | 32 | 0.946429 | 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 | 0 | 0 | 0 | 4 |
00e69ff551e12f5db30e5e8b816aee5f83b74ffd | 2,648 | py | Python | tests/test_risk_profile.py | jdvelasq/smart-choice | 152b13ddae682622e61a1dfb5b0a920c632480ab | [
"MIT"
] | 1 | 2017-05-15T09:51:14.000Z | 2017-05-15T09:51:14.000Z | tests/test_risk_profile.py | jdvelasq/smart-choice | 152b13ddae682622e61a1dfb5b0a920c632480ab | [
"MIT"
] | null | null | null | tests/test_risk_profile.py | jdvelasq/smart-choice | 152b13ddae682622e61a1dfb5b0a920c632480ab | [
"MIT"
] | 1 | 2017-09-23T18:56:28.000Z | 2017-09-23T18:56:28.000Z | """
Risk profile
"""
from smart_choice.decisiontree import DecisionTree
from smart_choice.examples import oil_tree_example, stguide
from smart_choice.risk_profile import RiskProfile
from tests.capsys import check_capsys
def test_stguide_fig_5_8a(capsys):
"""Fig. 5.8 (a) --- Plot distribution"""
nodes = stg... | 29.098901 | 88 | 0.710725 | 343 | 2,648 | 5.265306 | 0.154519 | 0.097453 | 0.048726 | 0.100775 | 0.824474 | 0.824474 | 0.738649 | 0.693798 | 0.693798 | 0.693798 | 0 | 0.022932 | 0.160121 | 2,648 | 90 | 89 | 29.422222 | 0.789119 | 0.088369 | 0 | 0.610169 | 0 | 0 | 0.101266 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118644 | false | 0 | 0.067797 | 0 | 0.186441 | 0.101695 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dab37c95293f3d96e3ceac8ee3059cb49418b50e | 105 | py | Python | testCombinWaveFiles.py | Anna1015/WorkAtTokyo | ed37b746c38c2f668feac20044fe4dec38336086 | [
"Apache-2.0"
] | 1 | 2020-05-07T16:01:34.000Z | 2020-05-07T16:01:34.000Z | testCombinWaveFiles.py | Anna1015/WorkAtTokyo | ed37b746c38c2f668feac20044fe4dec38336086 | [
"Apache-2.0"
] | null | null | null | testCombinWaveFiles.py | Anna1015/WorkAtTokyo | ed37b746c38c2f668feac20044fe4dec38336086 | [
"Apache-2.0"
] | 1 | 2020-03-23T05:00:53.000Z | 2020-03-23T05:00:53.000Z | from pydub import AudioSegment
import os
import wave
filePath = ''
files = os.listdir(filePath)
| 13.125 | 31 | 0.714286 | 13 | 105 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219048 | 105 | 7 | 32 | 15 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dab37f5b13d8f4748284e2cc2fbc5541f9551790 | 110 | py | Python | Python_proficiency_test/latex/codes/4.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 6 | 2020-04-24T08:16:51.000Z | 2021-11-01T09:50:46.000Z | Python_proficiency_test/latex/codes/4.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | null | null | null | Python_proficiency_test/latex/codes/4.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 4 | 2021-02-17T20:21:31.000Z | 2022-02-14T12:43:23.000Z | list1 = ['1','2','3']
list3 = list1
print(list1 is list3)
print(list1 == list3)
print(id(list1) == id(list3))
| 18.333333 | 29 | 0.627273 | 18 | 110 | 3.833333 | 0.444444 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 0.136364 | 110 | 5 | 30 | 22 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 4 |
dabe9f132e3425a0e3896cb73347f9de5f4cf2e3 | 27 | py | Python | sogs/__init__.py | Bilb/session-pysogs | eb6f13e26d16f0119e87b41ffb86813c3c177ab9 | [
"MIT"
] | 233 | 2016-04-03T11:12:51.000Z | 2022-02-20T06:08:16.000Z | sogs/__init__.py | Bilb/session-pysogs | eb6f13e26d16f0119e87b41ffb86813c3c177ab9 | [
"MIT"
] | 14 | 2019-12-12T20:21:19.000Z | 2022-01-07T17:48:10.000Z | sogs/__init__.py | Bilb/session-pysogs | eb6f13e26d16f0119e87b41ffb86813c3c177ab9 | [
"MIT"
] | 31 | 2017-04-06T00:48:25.000Z | 2022-02-15T08:16:37.000Z | __version__ = "0.3.0.dev0"
| 13.5 | 26 | 0.666667 | 5 | 27 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.111111 | 27 | 1 | 27 | 27 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 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 | 0 | 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 | 4 |
dac48a2c914f9084b07f05254aa8e4a104522d99 | 32,391 | py | Python | modules/em-fceux/src/drivers/em/scripts/mesh2obj.py | webrcade/webrcade-app-fceux | 445e9496b74c9dd2eb37a7a904160dfe9da5068b | [
"Apache-2.0"
] | null | null | null | modules/em-fceux/src/drivers/em/scripts/mesh2obj.py | webrcade/webrcade-app-fceux | 445e9496b74c9dd2eb37a7a904160dfe9da5068b | [
"Apache-2.0"
] | null | null | null | modules/em-fceux/src/drivers/em/scripts/mesh2obj.py | webrcade/webrcade-app-fceux | 445e9496b74c9dd2eb37a7a904160dfe9da5068b | [
"Apache-2.0"
] | null | null | null | """
Simple script to output .obj file from raw source code mesh data.
This was needed because original .obj file was lost...
"""
# Mesh vertex data goes here:
screen_mesh = {
'v':
[-0.94531,-0.69442,-0.09204,-0.92179,-0.70385,-0.08774,-0.95354,-0.67555,-0.09366,-0.9504,-0.68597,-0.09303,-0.95584,-0.65062,-0.09413,-0.9... | 368.079545 | 8,760 | 0.70109 | 8,048 | 32,391 | 2.819831 | 0.143017 | 0.008196 | 0.011721 | 0.002291 | 0.668503 | 0.65872 | 0.634661 | 0.435534 | 0.432273 | 0.372962 | 0 | 0.68243 | 0.014232 | 32,391 | 87 | 8,761 | 372.310345 | 0.028312 | 0.006792 | 0 | 0.086957 | 0 | 0 | 0.001928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115942 | false | 0 | 0 | 0.014493 | 0.188406 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dadf47e94a6afd9150ffd8052f7e4e422e4ed775 | 187 | py | Python | tutorials/unittests/python/tests/test_factorial.py | sherryspain/UCSC-Software-Testing | 507a0857ac52283a2ce6ed612a80e7a6fd611649 | [
"MIT"
] | null | null | null | tutorials/unittests/python/tests/test_factorial.py | sherryspain/UCSC-Software-Testing | 507a0857ac52283a2ce6ed612a80e7a6fd611649 | [
"MIT"
] | null | null | null | tutorials/unittests/python/tests/test_factorial.py | sherryspain/UCSC-Software-Testing | 507a0857ac52283a2ce6ed612a80e7a6fd611649 | [
"MIT"
] | null | null | null | import unittest
from python.src import get_factorial
class test_factorial(unittest.TestCase):
def test_factorial_returns_24(self):
self.assertEqual(24, get_factorial.factorial(4))
| 23.375 | 50 | 0.818182 | 26 | 187 | 5.653846 | 0.615385 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029762 | 0.101604 | 187 | 7 | 51 | 26.714286 | 0.845238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dafef9f351903c4d03be4046f4e50575d890bdc8 | 115 | py | Python | packages/@aws-cdk/lambda-layer-awscli/test/lambda-handler/index.py | danwiltshire/aws-cdk | 199bd32358a28e194f973bf088cc33f41ddfb567 | [
"Apache-2.0"
] | 2,484 | 2018-07-31T15:31:14.000Z | 2019-07-11T16:09:50.000Z | packages/@aws-cdk/lambda-layer-awscli/test/lambda-handler/index.py | danwiltshire/aws-cdk | 199bd32358a28e194f973bf088cc33f41ddfb567 | [
"Apache-2.0"
] | 2,206 | 2018-07-31T14:18:29.000Z | 2019-07-11T15:29:30.000Z | packages/@aws-cdk/lambda-layer-awscli/test/lambda-handler/index.py | Nexuscompute/aws-cdk | f4f6e40aa0e56ba55761a56bee542e756046cda6 | [
"Apache-2.0"
] | 401 | 2018-07-31T16:03:17.000Z | 2019-07-11T16:40:42.000Z | import subprocess
def handler(event, context):
subprocess.check_call(["/opt/awscli/aws", "--version"])
return
| 19.166667 | 57 | 0.721739 | 14 | 115 | 5.857143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 5 | 58 | 23 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9752555b18494dfa5415dba155757ea42e5d47ff | 351 | py | Python | app/model/user.py | deadheadtn/POC_storytel | f81345cbcf4fc03571122170910247c92897d36f | [
"MIT"
] | null | null | null | app/model/user.py | deadheadtn/POC_storytel | f81345cbcf4fc03571122170910247c92897d36f | [
"MIT"
] | null | null | null | app/model/user.py | deadheadtn/POC_storytel | f81345cbcf4fc03571122170910247c92897d36f | [
"MIT"
] | null | null | null | from app import db
class Users(db.Model):
id = db.Column(db.Integer, primary_key=True)
public_id =db.Column(db.String(50))
name = db.Column(db.String(50))
password = db.Column(db.String(50))
admin = db.Column(db.Boolean)
@classmethod
def find_by_username(cls, user):
return cls.query.... | 27 | 53 | 0.672365 | 55 | 351 | 4.2 | 0.563636 | 0.17316 | 0.21645 | 0.207792 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0.185185 | 351 | 12 | 54 | 29.25 | 0.786713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.1 | 0.1 | 0.1 | 0.9 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
976aa90d2306c9f3460308f32d07c445c449645b | 243 | py | Python | students/K33402/Kondrashov_Egor/LR2/commerce/auctions/admin.py | emina13/ITMO_ICT_WebDevelopment_2021-2022 | 498a6138e352e7e0ca40d1eb301bc29416158f51 | [
"MIT"
] | 7 | 2021-09-02T08:20:58.000Z | 2022-01-12T11:48:07.000Z | students/K33402/Kondrashov_Egor/LR2/commerce/auctions/admin.py | emina13/ITMO_ICT_WebDevelopment_2021-2022 | 498a6138e352e7e0ca40d1eb301bc29416158f51 | [
"MIT"
] | 76 | 2021-09-17T23:01:50.000Z | 2022-03-18T16:42:03.000Z | students/K33402/Kondrashov_Egor/LR2/commerce/auctions/admin.py | emina13/ITMO_ICT_WebDevelopment_2021-2022 | 498a6138e352e7e0ca40d1eb301bc29416158f51 | [
"MIT"
] | 60 | 2021-09-04T16:47:39.000Z | 2022-03-21T04:41:27.000Z | from django.contrib import admin
from .models import *
# Register your models here.
admin.site.register(Listing)
admin.site.register(ListingComment)
admin.site.register(Bid)
admin.site.register(WatchList)
admin.site.register(ListingCategory)
| 24.3 | 36 | 0.81893 | 32 | 243 | 6.21875 | 0.46875 | 0.226131 | 0.427136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078189 | 243 | 9 | 37 | 27 | 0.888393 | 0.106996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
976b08f303dbf852132283558069f0e5e7a72a03 | 290 | py | Python | tests/test_utils.py | RobertoRoos/pyads | fd1c36198a31711bc7611e0ef1e2ac725f020468 | [
"MIT"
] | 138 | 2017-12-12T11:19:05.000Z | 2022-03-13T10:49:36.000Z | tests/test_utils.py | RobertoRoos/pyads | fd1c36198a31711bc7611e0ef1e2ac725f020468 | [
"MIT"
] | 258 | 2018-01-09T17:07:18.000Z | 2022-03-28T21:02:02.000Z | tests/test_utils.py | RobertoRoos/pyads | fd1c36198a31711bc7611e0ef1e2ac725f020468 | [
"MIT"
] | 68 | 2017-12-13T19:53:40.000Z | 2022-03-28T01:07:17.000Z | from unittest import TestCase
from pyads.utils import deprecated
class UtilsTestCase(TestCase):
def test_deprecated_decorator(self):
@deprecated()
def deprecated_fct():
pass
with self.assertWarns(DeprecationWarning):
deprecated_fct()
| 20.714286 | 50 | 0.675862 | 28 | 290 | 6.857143 | 0.642857 | 0.135417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258621 | 290 | 13 | 51 | 22.307692 | 0.893023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
9787043c65e285ee2a0e3b68e09869d2ef67e982 | 24 | py | Python | owslib/__init__.py | bradh/OWSLib | 38282ae839db47eab02e7fbcbce3199f4dfeea7b | [
"BSD-3-Clause"
] | 1 | 2015-03-16T05:22:04.000Z | 2015-03-16T05:22:04.000Z | owslib/__init__.py | bradh/OWSLib | 38282ae839db47eab02e7fbcbce3199f4dfeea7b | [
"BSD-3-Clause"
] | null | null | null | owslib/__init__.py | bradh/OWSLib | 38282ae839db47eab02e7fbcbce3199f4dfeea7b | [
"BSD-3-Clause"
] | 1 | 2021-04-10T21:23:49.000Z | 2021-04-10T21:23:49.000Z | __version__ = '0.8-dev'
| 12 | 23 | 0.666667 | 4 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.125 | 24 | 1 | 24 | 24 | 0.47619 | 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 | 0 | 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 | 4 |
979d8ab06362a85004234b1f95a650f1156a7072 | 134 | py | Python | Post/api/pagination.py | mrvafa/blog-api | cef0773b3199bfb785126ce82567fd7fc78e6c89 | [
"MIT"
] | null | null | null | Post/api/pagination.py | mrvafa/blog-api | cef0773b3199bfb785126ce82567fd7fc78e6c89 | [
"MIT"
] | null | null | null | Post/api/pagination.py | mrvafa/blog-api | cef0773b3199bfb785126ce82567fd7fc78e6c89 | [
"MIT"
] | null | null | null | from rest_framework.pagination import PageNumberPagination
class PostPageNumberPagination(PageNumberPagination):
page_size = 10
| 22.333333 | 58 | 0.850746 | 12 | 134 | 9.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.11194 | 134 | 5 | 59 | 26.8 | 0.92437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
97a9d169b780a01808ab19d667046e5731670041 | 2,706 | py | Python | common/tests/test_numpy_fast.py | jamcar23/openpilot | 8a609b73710f723686c1a944770c5b19f209a0ca | [
"MIT"
] | 5 | 2020-12-23T01:49:04.000Z | 2021-08-28T23:42:52.000Z | common/tests/test_numpy_fast.py | jamcar23/openpilot | 8a609b73710f723686c1a944770c5b19f209a0ca | [
"MIT"
] | 60 | 2020-09-03T15:23:38.000Z | 2021-12-17T12:39:50.000Z | common/tests/test_numpy_fast.py | jamcar23/openpilot | 8a609b73710f723686c1a944770c5b19f209a0ca | [
"MIT"
] | 2 | 2020-12-07T20:04:19.000Z | 2022-03-05T08:00:03.000Z | import numpy as np
import unittest
from common.numpy_fast import interp
class InterpTest(unittest.TestCase):
def test_correctness_controls(self):
_A_CRUISE_MIN_BP = np.asarray([0., 5., 10., 20., 40.])
_A_CRUISE_MIN_V = np.asarray([-1.0, -.8, -.67, -.5, -.30])
v_ego_arr = [-1, -1e-12, 0, 4, 5, 6, 7, 10,... | 42.28125 | 139 | 0.597931 | 502 | 2,706 | 2.868526 | 0.135458 | 0.058333 | 0.138889 | 0.083333 | 0.766667 | 0.734722 | 0.723611 | 0.70625 | 0.649306 | 0.645139 | 0 | 0.109583 | 0.22099 | 2,706 | 63 | 140 | 42.952381 | 0.573529 | 0 | 0 | 0.395833 | 0 | 0 | 0.022912 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.145833 | 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 | 0 | 0 | 0 | 4 |
97aceb53e7f1dbcaf4f82c5005cf1af8fc591b83 | 162 | py | Python | main_ignore.py | WarriorsSami/Alexis | 52cd2a995d1f483331fa85d34ce5b4315f2f154d | [
"Apache-2.0"
] | null | null | null | main_ignore.py | WarriorsSami/Alexis | 52cd2a995d1f483331fa85d34ce5b4315f2f154d | [
"Apache-2.0"
] | null | null | null | main_ignore.py | WarriorsSami/Alexis | 52cd2a995d1f483331fa85d34ce5b4315f2f154d | [
"Apache-2.0"
] | null | null | null | from WebDriverCreator import WebDriverCreator
from util import getAppConfig
from app import App
import time
config = getAppConfig()
App = App(config)
App.run()
| 16.2 | 45 | 0.802469 | 21 | 162 | 6.190476 | 0.428571 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141975 | 162 | 9 | 46 | 18 | 0.935252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
97d291bab2edc45cd37a69551c650d3004de40f8 | 26,691 | py | Python | FunctionalTest/RAS/VistA-FOIA/Packages/Problem List/PLMain01_suite.py | JimDeanSpivey/ATF-for-Vista-FOIA | fbc07e98e307dee192fa1ca8cbf0137895376847 | [
"Apache-2.0"
] | 1 | 2015-12-10T20:45:34.000Z | 2015-12-10T20:45:34.000Z | FunctionalTest/RAS/VistA-FOIA/Packages/Problem List/PLMain01_suite.py | JimDeanSpivey/ATF-for-Vista-FOIA | fbc07e98e307dee192fa1ca8cbf0137895376847 | [
"Apache-2.0"
] | null | null | null | FunctionalTest/RAS/VistA-FOIA/Packages/Problem List/PLMain01_suite.py | JimDeanSpivey/ATF-for-Vista-FOIA | fbc07e98e307dee192fa1ca8cbf0137895376847 | [
"Apache-2.0"
] | null | null | null | '''
Created on Mar 9, 2012
@author: pbradley
'''
import sys
sys.path = ['./FunctionalTest/RAS/lib'] + ['./dataFiles'] + ['./lib/vista'] + sys.path
from PLActions import PLActions
from ORActions import ORActions
import TestHelper
def pl_test001(test_suite_details):
''' NIST Inpatient Test '''
testname = sys.... | 45.625641 | 162 | 0.651456 | 3,097 | 26,691 | 5.400387 | 0.116242 | 0.090882 | 0.123408 | 0.086099 | 0.789178 | 0.748401 | 0.72012 | 0.665949 | 0.637369 | 0.608311 | 0 | 0.072672 | 0.21895 | 26,691 | 584 | 163 | 45.703767 | 0.729601 | 0.005283 | 0 | 0.689379 | 0 | 0 | 0.156847 | 0.022297 | 0 | 0 | 0 | 0.005137 | 0 | 0 | null | null | 0 | 0.008016 | null | null | 0.002004 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8ae79799648a9dfd0b002515cdfe82378a6b0f0a | 42 | py | Python | tools/extra/pypackager/opae/tools/packager/__init__.py | trixirt/opae-sdk | 71ac5d4a7923826bc3b6c8e971b5b3b48a08044d | [
"BSD-3-Clause"
] | null | null | null | tools/extra/pypackager/opae/tools/packager/__init__.py | trixirt/opae-sdk | 71ac5d4a7923826bc3b6c8e971b5b3b48a08044d | [
"BSD-3-Clause"
] | null | null | null | tools/extra/pypackager/opae/tools/packager/__init__.py | trixirt/opae-sdk | 71ac5d4a7923826bc3b6c8e971b5b3b48a08044d | [
"BSD-3-Clause"
] | null | null | null | from packager import main
__all__=['main'] | 21 | 25 | 0.785714 | 6 | 42 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 2 | 26 | 21 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8aeaf8f1dcbf05a0cd9071a9ce4cb03c7bec25a7 | 821 | py | Python | application/model/entity/product.py | UniversidadeDeVassouras/labproginter-2020.2-LucasLeal-p2 | dc0185381e3ca86b5213b8393d12bca0cdee4c7c | [
"Apache-2.0"
] | 2 | 2021-01-06T14:19:26.000Z | 2021-09-10T01:43:51.000Z | application/model/entity/product.py | UniversidadeDeVassouras/labproginter-2020.2-LucasLeal-p2 | dc0185381e3ca86b5213b8393d12bca0cdee4c7c | [
"Apache-2.0"
] | null | null | null | application/model/entity/product.py | UniversidadeDeVassouras/labproginter-2020.2-LucasLeal-p2 | dc0185381e3ca86b5213b8393d12bca0cdee4c7c | [
"Apache-2.0"
] | 1 | 2020-12-22T13:51:39.000Z | 2020-12-22T13:51:39.000Z | class Product:
def __init__(self, id, name, image, old_price, price, description, installments, value):
self._id = id
self.name = name
self.image = image
self.old_price = old_price
self.price = price
self.description = description
self.installments = installme... | 24.147059 | 92 | 0.601705 | 98 | 821 | 4.846939 | 0.153061 | 0.101053 | 0.235789 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325213 | 821 | 34 | 93 | 24.147059 | 0.857401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.346154 | false | 0 | 0 | 0.307692 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8afd8b212f7592d99d2d966ecdb09403bdd0ae8d | 72 | py | Python | src/demo/__init__.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | 6 | 2020-12-09T11:06:49.000Z | 2021-09-13T08:00:55.000Z | src/demo/__init__.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | null | null | null | src/demo/__init__.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | 3 | 2020-11-15T15:23:39.000Z | 2021-07-17T08:06:46.000Z | base_data_path = '/Users/weijinqian/Documents/feature/feature_eda/data'
| 36 | 71 | 0.833333 | 10 | 72 | 5.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 72 | 1 | 72 | 72 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.722222 | 0.722222 | 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 | 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 | 4 |
c100959f7f1a432e5567a2883e17e9aec87b6505 | 175 | py | Python | algorithms/1431. Kids With the Greatest Number of Candies.py | woozway/py3-leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | 1 | 2020-12-02T13:54:30.000Z | 2020-12-02T13:54:30.000Z | algorithms/1431. Kids With the Greatest Number of Candies.py | woozway/py3-leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | null | null | null | algorithms/1431. Kids With the Greatest Number of Candies.py | woozway/py3-leetcode | e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf | [
"MIT"
] | null | null | null | class Solution:
def kidsWithCandies(self, candies: List[int], extraCandies: int) -> List[bool]:
maxn = max(candies)
return [x+extraCandies >= maxn for x in candies]
| 35 | 81 | 0.697143 | 23 | 175 | 5.304348 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177143 | 175 | 4 | 82 | 43.75 | 0.847222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c1295543558c81b0b89ab6067ca0e0276be5eeb3 | 1,815 | py | Python | controller/secondary/secondary.py | JakobProssinger/-StratoFlight-System-Control | 1ebd154b4e15709d244fb88d5e54746102356acf | [
"MIT"
] | 2 | 2021-12-14T16:25:01.000Z | 2022-01-11T16:58:47.000Z | controller/secondary/secondary.py | JakobProssinger/-StratoFlight-System-Control | 1ebd154b4e15709d244fb88d5e54746102356acf | [
"MIT"
] | 1 | 2022-01-24T21:07:16.000Z | 2022-01-24T21:07:16.000Z | controller/secondary/secondary.py | JakobProssinger/-StratoFlight-System-Control | 1ebd154b4e15709d244fb88d5e54746102356acf | [
"MIT"
] | null | null | null | """
@File: secondary.py
@Descrption:
@Author: Prossinger Jakob
@Date: 8 March 2022
@Todo: *
"""
import RPi.GPIO as GPIO
class Secondary():
# TODO change to global
SHUTDOWN_REQUEST = GPIO.HIGH
NOT_SHUTDOWN_REQUEST = GPIO.LOW
SHUTDOWN = GPIO.LOW
NOT_SHUTDOWN =... | 31.842105 | 87 | 0.685399 | 229 | 1,815 | 5.100437 | 0.196507 | 0.069349 | 0.10274 | 0.038527 | 0.496575 | 0.219178 | 0.071918 | 0.071918 | 0.071918 | 0 | 0 | 0.003592 | 0.233058 | 1,815 | 56 | 88 | 32.410714 | 0.835489 | 0.082094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.25 | false | 0 | 0.027778 | 0.138889 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c1368d024a8f2e3b9683a5aa4b64e1fbadbe5105 | 227 | py | Python | nativerl/python/pathmind_training/__init__.py | SkymindIO/nativerl | 48f1a9897ca67fd892165818904fe8a33c5c19d4 | [
"Apache-2.0"
] | 3 | 2022-02-14T09:48:53.000Z | 2022-02-20T15:06:01.000Z | nativerl/python/pathmind_training/__init__.py | SkymindIO/nativerl | 48f1a9897ca67fd892165818904fe8a33c5c19d4 | [
"Apache-2.0"
] | 1 | 2022-02-16T11:38:44.000Z | 2022-02-16T19:33:42.000Z | nativerl/python/pathmind_training/__init__.py | SkymindIO/nativerl | 48f1a9897ca67fd892165818904fe8a33c5c19d4 | [
"Apache-2.0"
] | 1 | 2022-02-14T09:48:54.000Z | 2022-02-14T09:48:54.000Z | from .environments import get_environment
from .loggers import get_loggers
from .scheduler import get_scheduler
from .stopper import Stopper
from .utils import modify_anylogic_db_properties, write_completion_report, write_file
| 37.833333 | 85 | 0.872247 | 31 | 227 | 6.096774 | 0.548387 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096916 | 227 | 5 | 86 | 45.4 | 0.921951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 4 |
c15cb5cd95ca4abd851ca6484134e57e8fe8039a | 472 | py | Python | Scripts/RandomPath/Field.py | EddyArellanes/Python | edbcd3ac88974f92a038f75024675a043310c98c | [
"MIT"
] | null | null | null | Scripts/RandomPath/Field.py | EddyArellanes/Python | edbcd3ac88974f92a038f75024675a043310c98c | [
"MIT"
] | null | null | null | Scripts/RandomPath/Field.py | EddyArellanes/Python | edbcd3ac88974f92a038f75024675a043310c98c | [
"MIT"
] | null | null | null | class Field:
def __init__(self):
self.drunk_coordinates = {}
def add_drunk(self, drunk, coordinate):
self.drunk_coordinates[drunk] = coordinate
def move_drunk(self, drunk):
delta_x, delta_y = drunk.walk()
current_coordinate = self.drunk_coordinates[drunk]
new_coordinate = current_coordinat... | 31.466667 | 62 | 0.741525 | 61 | 472 | 5.409836 | 0.295082 | 0.218182 | 0.30303 | 0.30303 | 0.366667 | 0.230303 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161017 | 472 | 15 | 63 | 31.466667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.083333 | 0.5 | 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 | 0 | 0 | 0 | 0 | 4 |
c16cfde128b4d03f5e89229525395da347117147 | 391 | py | Python | commands/base.py | bopopescu/Atharia | 6fbfb02f88281d0421f6287c4d093d766e747a58 | [
"MIT"
] | 1 | 2020-07-03T06:40:24.000Z | 2020-07-03T06:40:24.000Z | commands/base.py | bopopescu/Atharia | 6fbfb02f88281d0421f6287c4d093d766e747a58 | [
"MIT"
] | null | null | null | commands/base.py | bopopescu/Atharia | 6fbfb02f88281d0421f6287c4d093d766e747a58 | [
"MIT"
] | 1 | 2020-07-22T09:38:18.000Z | 2020-07-22T09:38:18.000Z | """
Base commands used for Atharia
"""
from evennia.commands.default.muxcommand import MuxCommand, MuxAccountCommand
from .mixins import ArxCommmandMixin
class ArxCommand(ArxCommmandMixin, MuxCommand):
"""Base command for Characters for Atharia"""
pass
class ArxPlayerCommand(ArxCommmandMixin, MuxAccountComm... | 24.4375 | 77 | 0.774936 | 40 | 391 | 7.575 | 0.525 | 0.09901 | 0.092409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143223 | 391 | 15 | 78 | 26.066667 | 0.904478 | 0.296675 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
c18401c4297e392d00b5581074ea144e042e640c | 315 | py | Python | questionnaires/templatetags/questionnaires_tags.py | bart-merix/iogt | 04270c27456aadeb0874eae0859733d19e56f005 | [
"BSD-2-Clause"
] | null | null | null | questionnaires/templatetags/questionnaires_tags.py | bart-merix/iogt | 04270c27456aadeb0874eae0859733d19e56f005 | [
"BSD-2-Clause"
] | null | null | null | questionnaires/templatetags/questionnaires_tags.py | bart-merix/iogt | 04270c27456aadeb0874eae0859733d19e56f005 | [
"BSD-2-Clause"
] | null | null | null | from django import template
register = template.Library()
@register.inclusion_tag('questionnaires/tags/surveys_list.html')
def render_surveys_list(surveys):
return {'surveys': surveys}
@register.inclusion_tag('questionnaires/tags/polls_list.html')
def render_polls_list(polls):
return {'polls': polls}
| 22.5 | 64 | 0.777778 | 39 | 315 | 6.076923 | 0.435897 | 0.14346 | 0.168776 | 0.28692 | 0.320675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101587 | 315 | 13 | 65 | 24.230769 | 0.837456 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 4 |
c1b44d855daa47e53834f0530cfd5911ceda600c | 208 | py | Python | app/__init__.py | mihir3k/smmry | f2d2847b5f4d5ef4f48c40a53d2ef45c487bae0f | [
"MIT"
] | null | null | null | app/__init__.py | mihir3k/smmry | f2d2847b5f4d5ef4f48c40a53d2ef45c487bae0f | [
"MIT"
] | 21 | 2021-03-01T06:05:17.000Z | 2021-04-05T07:24:58.000Z | app/__init__.py | mihirwastaken/smmry | f2d2847b5f4d5ef4f48c40a53d2ef45c487bae0f | [
"MIT"
] | null | null | null | from flask import Flask
from app import config
app = Flask(__name__, template_folder='templates/build', static_folder='templates/build/static')
app.config.from_object(config.Config)
from app import routes
| 23.111111 | 96 | 0.807692 | 30 | 208 | 5.366667 | 0.433333 | 0.086957 | 0.161491 | 0.322981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100962 | 208 | 8 | 97 | 26 | 0.860963 | 0 | 0 | 0 | 0 | 0 | 0.177885 | 0.105769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c1ba26b3e8b7b7c3454555b57408fc28e7d48f19 | 75 | py | Python | gitlabci_local/__main__.py | starr-dusT/gitlab-ci | 06537e44a65a4521e887959c6634e63b024c51e9 | [
"Apache-2.0"
] | null | null | null | gitlabci_local/__main__.py | starr-dusT/gitlab-ci | 06537e44a65a4521e887959c6634e63b024c51e9 | [
"Apache-2.0"
] | null | null | null | gitlabci_local/__main__.py | starr-dusT/gitlab-ci | 06537e44a65a4521e887959c6634e63b024c51e9 | [
"Apache-2.0"
] | null | null | null | # Components
from gitlabci_local.cli.main import main
# Entrypoint
main()
| 12.5 | 40 | 0.786667 | 10 | 75 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 5 | 41 | 15 | 0.892308 | 0.28 | 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 | 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 | 4 |
c1c275239c60a67624bd1e8f5ba5cbf40964f148 | 7,245 | py | Python | task_adaptation/data/kitti_test.py | ajschumacher/task_adaptation | d2a72ed68e1f5b9d9a97561f03cf70b3f79bdad4 | [
"Apache-2.0"
] | null | null | null | task_adaptation/data/kitti_test.py | ajschumacher/task_adaptation | d2a72ed68e1f5b9d9a97561f03cf70b3f79bdad4 | [
"Apache-2.0"
] | null | null | null | task_adaptation/data/kitti_test.py | ajschumacher/task_adaptation | d2a72ed68e1f5b9d9a97561f03cf70b3f79bdad4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2019 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 30.313808 | 78 | 0.604003 | 846 | 7,245 | 4.977541 | 0.182033 | 0.009024 | 0.039183 | 0.033246 | 0.734267 | 0.720969 | 0.712895 | 0.705058 | 0.643315 | 0.613156 | 0 | 0.039635 | 0.258247 | 7,245 | 238 | 79 | 30.441176 | 0.743952 | 0.133333 | 0 | 0.650273 | 0 | 0 | 0.067846 | 0.011576 | 0 | 0 | 0 | 0 | 0.054645 | 1 | 0.054645 | false | 0 | 0.032787 | 0 | 0.136612 | 0.005464 | 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 | 0 | 0 | 0 | 4 |
c1e3429b261e7c3f62b08920f5fdf01fab7c2808 | 443 | py | Python | src/models/empf/evolving/clustering/__init__.py | nayronmorais/EMPF | 4baf87dcbd0689cbe43ec3d8775f489ee7742426 | [
"MIT"
] | null | null | null | src/models/empf/evolving/clustering/__init__.py | nayronmorais/EMPF | 4baf87dcbd0689cbe43ec3d8775f489ee7742426 | [
"MIT"
] | null | null | null | src/models/empf/evolving/clustering/__init__.py | nayronmorais/EMPF | 4baf87dcbd0689cbe43ec3d8775f489ee7742426 | [
"MIT"
] | null | null | null | """That package provide implementation of evolving clustering methods."""
from . import _base
from . import esbm
from . import autocloud
from . import oec
from . import microtedaclus
__all__ = ['esbm', 'autocloud', 'oec', 'microtedaclus']
ON_FIRST_CLUSTER = _base.BaseClusteringMethod.ON_FIRST_CLUSTER
ON_KNOWED_CLUST... | 31.642857 | 73 | 0.817156 | 52 | 443 | 6.576923 | 0.423077 | 0.146199 | 0.27193 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103837 | 443 | 13 | 74 | 34.076923 | 0.861461 | 0.151242 | 0 | 0 | 0 | 0 | 0.078378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c1e7f83e2c6c1b95e49b1575237c5ef9af5f0814 | 179 | py | Python | rmcalyse/general_functions/distance_class.py | antgobar/rmcalyse | dee40416bfd7cf73a4ede6eb309b484397e11310 | [
"MIT"
] | 3 | 2021-02-17T18:09:16.000Z | 2021-03-12T12:36:19.000Z | rmcalyse/general_functions/distance_class.py | antgobar/rmcalyse | dee40416bfd7cf73a4ede6eb309b484397e11310 | [
"MIT"
] | null | null | null | rmcalyse/general_functions/distance_class.py | antgobar/rmcalyse | dee40416bfd7cf73a4ede6eb309b484397e11310 | [
"MIT"
] | 1 | 2021-03-12T12:37:24.000Z | 2021-03-12T12:37:24.000Z | import numpy as np
class distance():
def __init__(self, cell_parameters, atomic_positions, basis=False):
self.positions = atomic_positions
self.basis = None
| 22.375 | 71 | 0.703911 | 22 | 179 | 5.409091 | 0.727273 | 0.252101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217877 | 179 | 7 | 72 | 25.571429 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 1 | 0 | 0 | 4 |
c1e96a3e33c696e04bd63075eba4c04205ebf7f1 | 283 | py | Python | globals.py | NathanKolbow/Kovaaks-Thing | 0f3ffc2cd50242d21f07f08072f93f1e9beee873 | [
"MIT"
] | null | null | null | globals.py | NathanKolbow/Kovaaks-Thing | 0f3ffc2cd50242d21f07f08072f93f1e9beee873 | [
"MIT"
] | null | null | null | globals.py | NathanKolbow/Kovaaks-Thing | 0f3ffc2cd50242d21f07f08072f93f1e9beee873 | [
"MIT"
] | null | null | null | GRAPH_SIZE = (800, 800)
GRAPH_BOUNDARIES = ((0, 0), (1000, 1000))
GRAPH_PADDING = 20
GRAPH_COORDS_BOTTOM_LEFT = (0 - GRAPH_PADDING, 0 - GRAPH_PADDING)
GRAPH_COORDS_TOP_RIGHT = (GRAPH_BOUNDARIES[1][0] +
GRAPH_PADDING, GRAPH_BOUNDARIES[1][1] + GRAPH_PADDING)
| 40.428571 | 80 | 0.681979 | 39 | 283 | 4.564103 | 0.358974 | 0.337079 | 0.219101 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.194346 | 283 | 6 | 81 | 47.166667 | 0.675439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
de117d8bc13876d137a2678c2c1644d435a2a0bf | 23,085 | py | Python | tests/chain_integration/database_integration/test_graph_sync.py | trustlines-network/relay-server | 8ad441c995d82b6eb5e85803133ac3b108239d42 | [
"MIT"
] | 7 | 2017-07-21T09:13:56.000Z | 2019-03-06T05:38:45.000Z | tests/chain_integration/database_integration/test_graph_sync.py | trustlines-network/relay-server | 8ad441c995d82b6eb5e85803133ac3b108239d42 | [
"MIT"
] | 223 | 2019-06-28T13:49:09.000Z | 2021-10-20T18:04:59.000Z | tests/chain_integration/database_integration/test_graph_sync.py | trustlines-network/relay-server | 8ad441c995d82b6eb5e85803133ac3b108239d42 | [
"MIT"
] | 5 | 2019-04-07T14:31:02.000Z | 2022-03-08T10:25:42.000Z | from typing import cast
import pytest
from tests.chain_integration.conftest import CurrencyNetworkProxy
from relay.blockchain.currency_network_events import (
BalanceUpdateEvent,
BalanceUpdateEventType,
TrustlineUpdateEvent,
TrustlineUpdateEventType,
)
from relay.ethindex_db.ethindex_db import Currenc... | 33.025751 | 118 | 0.747152 | 2,774 | 23,085 | 5.742249 | 0.069214 | 0.076276 | 0.042376 | 0.048026 | 0.80457 | 0.768159 | 0.731873 | 0.697721 | 0.6846 | 0.656727 | 0 | 0.016308 | 0.189864 | 23,085 | 698 | 119 | 33.073066 | 0.835419 | 0.03734 | 0 | 0.681109 | 0 | 0 | 0.018216 | 0.004238 | 0 | 0 | 0.001894 | 0 | 0.131716 | 1 | 0.041594 | false | 0 | 0.012132 | 0 | 0.060659 | 0.005199 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a9ac24ced845c9108c46c364c81708ef07ca929c | 117 | py | Python | tests/test_unitteststage.py | chrislat5/devops-bookstore-frontend | a9cf0018d591eac1d3ae799cf0a95bfaa5e92783 | [
"MIT"
] | null | null | null | tests/test_unitteststage.py | chrislat5/devops-bookstore-frontend | a9cf0018d591eac1d3ae799cf0a95bfaa5e92783 | [
"MIT"
] | null | null | null | tests/test_unitteststage.py | chrislat5/devops-bookstore-frontend | a9cf0018d591eac1d3ae799cf0a95bfaa5e92783 | [
"MIT"
] | null | null | null | import unittest
class GetBooksTest(unittest.TestCase):
def test_true(self):
self.assertEqual(123, 123)
| 16.714286 | 38 | 0.717949 | 14 | 117 | 5.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 0.188034 | 117 | 6 | 39 | 19.5 | 0.810526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a9ed85510991fa80fa989f531b205bd6803ac6c5 | 54 | py | Python | run.py | phoemur/blog | d9287a9eaf4977fb9b8989f9acb1c33e5dc425c4 | [
"MIT"
] | null | null | null | run.py | phoemur/blog | d9287a9eaf4977fb9b8989f9acb1c33e5dc425c4 | [
"MIT"
] | null | null | null | run.py | phoemur/blog | d9287a9eaf4977fb9b8989f9acb1c33e5dc425c4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from app import app
app.run()
| 9 | 21 | 0.685185 | 10 | 54 | 3.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 54 | 5 | 22 | 10.8 | 0.822222 | 0.37037 | 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 | 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 | 4 |
a9ef8ecc24233210fd426d629862426e6daf7e2d | 93 | py | Python | Python_Codes_for_BJ/stage16 동적 계획법 기초/피보나치 함수.py | ch96an/BaekJoonSolution | 25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33 | [
"MIT"
] | null | null | null | Python_Codes_for_BJ/stage16 동적 계획법 기초/피보나치 함수.py | ch96an/BaekJoonSolution | 25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33 | [
"MIT"
] | null | null | null | Python_Codes_for_BJ/stage16 동적 계획법 기초/피보나치 함수.py | ch96an/BaekJoonSolution | 25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33 | [
"MIT"
] | null | null | null | for _ in range(int(input())):
a,b=1,0
for i in range(int(input())):
a,b=b,a+b
print(a,b) | 18.6 | 30 | 0.580645 | 23 | 93 | 2.304348 | 0.478261 | 0.150943 | 0.377358 | 0.566038 | 0.641509 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.16129 | 93 | 5 | 31 | 18.6 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 | 0 | 0 | 4 |
a9f2ed8edd73c9832bd2179efe3441c32052c454 | 25 | py | Python | settings.py | charlieguo0610/StormPlane | e165f2488b52ea0d3d12d3d2182ac737a7c37ad5 | [
"MIT"
] | null | null | null | settings.py | charlieguo0610/StormPlane | e165f2488b52ea0d3d12d3d2182ac737a7c37ad5 | [
"MIT"
] | null | null | null | settings.py | charlieguo0610/StormPlane | e165f2488b52ea0d3d12d3d2182ac737a7c37ad5 | [
"MIT"
] | null | null | null | WIDTH = 800
HEIGHT = 600
| 8.333333 | 12 | 0.68 | 4 | 25 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0.24 | 25 | 2 | 13 | 12.5 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a9fe7849e3e41ade9040728be211af4fae0abfac | 190 | py | Python | leprikon/admin/printsetup.py | leprikon-cz/leprikon | b1bec36fb6bcf0220bffccca53b6f200f9e95910 | [
"BSD-3-Clause"
] | 4 | 2018-10-29T17:46:09.000Z | 2021-12-16T08:57:48.000Z | leprikon/admin/printsetup.py | leprikon-cz/leprikon | b1bec36fb6bcf0220bffccca53b6f200f9e95910 | [
"BSD-3-Clause"
] | 68 | 2016-07-11T07:48:54.000Z | 2022-03-18T01:32:06.000Z | leprikon/admin/printsetup.py | leprikon-cz/leprikon | b1bec36fb6bcf0220bffccca53b6f200f9e95910 | [
"BSD-3-Clause"
] | 2 | 2016-07-12T20:39:53.000Z | 2020-10-10T03:14:42.000Z | from django.contrib import admin
from ..models.printsetup import PrintSetup
@admin.register(PrintSetup)
class PrintSetupAdmin(admin.ModelAdmin):
list_display = ("name", "background")
| 21.111111 | 42 | 0.778947 | 21 | 190 | 7 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 190 | 8 | 43 | 23.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0.2 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e712b44afe1630d6006fda9023f8662770951398 | 217 | py | Python | Exams/Exam_16_August_2020_TAKE_3/project/hardware/heavy_hardware.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | 1 | 2021-05-27T07:59:17.000Z | 2021-05-27T07:59:17.000Z | Exams/Exam_16_August_2020_TAKE_3/project/hardware/heavy_hardware.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | null | null | null | Exams/Exam_16_August_2020_TAKE_3/project/hardware/heavy_hardware.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | null | null | null | from project.hardware.hardware import Hardware
class HeavyHardware(Hardware):
def __init__(self, name: str, capacity: int, memory: int):
super().__init__(name, 'Heavy', capacity * 2, int(memory * 0.75))
| 31 | 73 | 0.700461 | 28 | 217 | 5.142857 | 0.678571 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022099 | 0.165899 | 217 | 6 | 74 | 36.166667 | 0.773481 | 0 | 0 | 0 | 0 | 0 | 0.023041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e721e039e5f878e53b6c91a8fcf503bcdb6dde1f | 183 | py | Python | ctapipe/calib/__init__.py | watsonjj/ctapipe | fc98748d7a38f50040f1fbe3ce5e174ad8c0ba0a | [
"BSD-3-Clause"
] | 53 | 2015-06-23T15:24:20.000Z | 2021-09-23T22:30:58.000Z | ctapipe/calib/__init__.py | watsonjj/ctapipe | fc98748d7a38f50040f1fbe3ce5e174ad8c0ba0a | [
"BSD-3-Clause"
] | 1,537 | 2015-06-24T11:27:16.000Z | 2022-03-31T16:17:08.000Z | ctapipe/calib/__init__.py | watsonjj/ctapipe | fc98748d7a38f50040f1fbe3ce5e174ad8c0ba0a | [
"BSD-3-Clause"
] | 275 | 2015-07-09T14:09:28.000Z | 2022-03-17T22:25:51.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
Calibration
"""
from .camera import CameraCalibrator, GainSelector
__all__ = ["CameraCalibrator", "GainSelector"]
| 22.875 | 63 | 0.759563 | 20 | 183 | 6.75 | 0.85 | 0.414815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.131148 | 183 | 7 | 64 | 26.142857 | 0.842767 | 0.404372 | 0 | 0 | 0 | 0 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e73a7575d92f73458546db629ee5ef34f518f3da | 494 | py | Python | pypy/objspace/flow/test/test___import__.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | 12 | 2016-01-06T07:10:28.000Z | 2021-05-13T23:02:02.000Z | pypy/objspace/flow/test/test___import__.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | null | null | null | pypy/objspace/flow/test/test___import__.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | 2 | 2016-07-29T07:09:50.000Z | 2016-10-16T08:50:26.000Z | from py.test import raises
def test___import_():
import os
mod = os.name
raises(TypeError, __import__, ())
assert __import__(mod).__name__ == os.name
assert __import__(mod, None).__name__ == os.name
assert __import__(mod, None, None).__name__ == os.name
assert __import__(mod, None,... | 41.166667 | 74 | 0.672065 | 68 | 494 | 4.235294 | 0.382353 | 0.166667 | 0.208333 | 0.166667 | 0.597222 | 0.329861 | 0.329861 | 0.243056 | 0.243056 | 0 | 0 | 0.005128 | 0.210526 | 494 | 12 | 74 | 41.166667 | 0.733333 | 0.137652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.1 | false | 0 | 0.9 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e74e7859d83a2dcccb795d04e67c571d2f8b8f50 | 43,283 | py | Python | oops_fhir/r4/code_system/v3_observation_interpretation.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/code_system/v3_observation_interpretation.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/code_system/v3_observation_interpretation.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | from pathlib import Path
from fhir.resources.codesystem import CodeSystem
from oops_fhir.utils import CodeSystemConcept
__all__ = ["v3ObservationInterpretation"]
_resource = CodeSystem.parse_file(Path(__file__).with_suffix(".json"))
class v3ObservationInterpretation:
"""
v3 Code System ObservationInterpr... | 83.881783 | 1,642 | 0.590578 | 4,651 | 43,283 | 5.480972 | 0.15115 | 0.005178 | 0.005296 | 0.005217 | 0.734387 | 0.706065 | 0.698611 | 0.695198 | 0.687941 | 0.663267 | 0 | 0.01124 | 0.340203 | 43,283 | 515 | 1,643 | 84.04466 | 0.881399 | 0.011344 | 0 | 0.2343 | 0 | 0.137681 | 0.702842 | 0.026289 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007246 | 0 | 0.038647 | 0.007246 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e753112dc2148b961e629a06ae87375f4b5b68e4 | 10,606 | py | Python | wiki/views.py | cusele/DB_OPS | f666bc56844cb6985937314190508ed393ce2171 | [
"Apache-2.0"
] | null | null | null | wiki/views.py | cusele/DB_OPS | f666bc56844cb6985937314190508ed393ce2171 | [
"Apache-2.0"
] | null | null | null | wiki/views.py | cusele/DB_OPS | f666bc56844cb6985937314190508ed393ce2171 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import time,os
from django.shortcuts import render
from django.contrib.auth.decorators import permission_required
from django.contrib.auth.decorators import login_required
from wiki.models import Tag,Post,Category
from django.contrib.auth.models import Us... | 50.990385 | 245 | 0.628041 | 1,289 | 10,606 | 5.076804 | 0.138092 | 0.023227 | 0.029034 | 0.042176 | 0.767268 | 0.75871 | 0.728606 | 0.687653 | 0.651895 | 0.643032 | 0 | 0.00503 | 0.21271 | 10,606 | 207 | 246 | 51.236715 | 0.778683 | 0.004243 | 0 | 0.597884 | 0 | 0.026455 | 0.210551 | 0.028036 | 0.005291 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.058201 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e763cb34b5a36842ed301c671043edbbebab63ae | 130 | py | Python | pyiid/experiments/elasticscatter/mpi_wrappers/__init__.py | ZhouHUB/pyIID | 6114fb5ae4388061c7aae9f5b0b2e41aa4ca4341 | [
"BSD-3-Clause"
] | null | null | null | pyiid/experiments/elasticscatter/mpi_wrappers/__init__.py | ZhouHUB/pyIID | 6114fb5ae4388061c7aae9f5b0b2e41aa4ca4341 | [
"BSD-3-Clause"
] | 13 | 2016-04-25T18:36:42.000Z | 2016-06-12T20:57:35.000Z | pyiid/experiments/elasticscatter/mpi_wrappers/__init__.py | ZhouHUB/pyIID | 6114fb5ae4388061c7aae9f5b0b2e41aa4ca4341 | [
"BSD-3-Clause"
] | null | null | null | __author__ = 'christopher'
# TODO: How to deal with multiple GPUs per Node?
# TODO: How to use all the CPU + GPU power of a Node?
| 32.5 | 53 | 0.715385 | 23 | 130 | 3.869565 | 0.826087 | 0.157303 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207692 | 130 | 3 | 54 | 43.333333 | 0.864078 | 0.753846 | 0 | 0 | 0 | 0 | 0.37931 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e77458f666f9ec612d4eec4b6be950d3ed840316 | 101 | py | Python | backend/comedianModel/apps.py | crowdbotics-apps/test14-28665 | 182788839dd9b1149196428183ee91dfd67231a3 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/comedianModel/apps.py | crowdbotics-apps/test14-28665 | 182788839dd9b1149196428183ee91dfd67231a3 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/comedianModel/apps.py | crowdbotics-apps/test14-28665 | 182788839dd9b1149196428183ee91dfd67231a3 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.apps import AppConfig
class ComedianmodelConfig(AppConfig):
name = "comedianModel"
| 16.833333 | 37 | 0.782178 | 10 | 101 | 7.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 101 | 5 | 38 | 20.2 | 0.918605 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e7bdba27293ceefad06ca2d67cbc5c57685f7273 | 1,714 | py | Python | bamboolean/ast.py | mlazowik/bamboolean | 9e50cce7781410d20a8440273d93b41bee5568a3 | [
"MIT"
] | null | null | null | bamboolean/ast.py | mlazowik/bamboolean | 9e50cce7781410d20a8440273d93b41bee5568a3 | [
"MIT"
] | null | null | null | bamboolean/ast.py | mlazowik/bamboolean | 9e50cce7781410d20a8440273d93b41bee5568a3 | [
"MIT"
] | null | null | null | from typing import List, Any, Union
from .lexer import Token
class AST:
"""Abstract Syntax Tree """
def tree_repr(self) -> List[Any]:
raise NotImplementedError
def __str__(self) -> str:
return str(self.tree_repr())
def __repr__(self) -> str:
return self.__str__()
class Toke... | 19.477273 | 69 | 0.573512 | 213 | 1,714 | 4.389671 | 0.178404 | 0.136898 | 0.141176 | 0.096257 | 0.347594 | 0.320856 | 0.252406 | 0.22246 | 0.188235 | 0.115508 | 0 | 0 | 0.304551 | 1,714 | 87 | 70 | 19.701149 | 0.784396 | 0.011669 | 0 | 0.344828 | 0 | 0 | 0.002371 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0.068966 | 0.034483 | 0.12069 | 0.534483 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
99da487196c5140ad8db6b47f90ceb2f1adc8a71 | 179 | py | Python | lib/__about__.py | alexandrseverinov/squarified-treemap | 5aa083a0bca093201a22813cbb9e775178f4cb93 | [
"MIT"
] | 1 | 2019-10-26T13:50:16.000Z | 2019-10-26T13:50:16.000Z | lib/__about__.py | alexandrseverinov/squarified-treemap | 5aa083a0bca093201a22813cbb9e775178f4cb93 | [
"MIT"
] | null | null | null | lib/__about__.py | alexandrseverinov/squarified-treemap | 5aa083a0bca093201a22813cbb9e775178f4cb93 | [
"MIT"
] | null | null | null | __all__ = ["__title__", "__url__", "__version__"]
__title__ = "squarified_treemap"
__url__ = "https://github.com/alexandrseverinov/squarified_treemap.git"
__version__ = "0.1.1"
| 25.571429 | 71 | 0.748603 | 19 | 179 | 5.473684 | 0.684211 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018405 | 0.089385 | 179 | 6 | 72 | 29.833333 | 0.619632 | 0 | 0 | 0 | 0 | 0 | 0.608939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
99e780385e63f3344a8ff3da30b18e0668e28970 | 98 | py | Python | rest_tracker/apps.py | TannerBurns/rest_tracker | 1747f087046052633e84f827717fd5d9cb0f2ab9 | [
"MIT"
] | 1 | 2020-08-17T13:52:24.000Z | 2020-08-17T13:52:24.000Z | rest_tracker/apps.py | TannerBurns/rest_tracker | 1747f087046052633e84f827717fd5d9cb0f2ab9 | [
"MIT"
] | null | null | null | rest_tracker/apps.py | TannerBurns/rest_tracker | 1747f087046052633e84f827717fd5d9cb0f2ab9 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TrackerCoreConfig(AppConfig):
name = 'rest_tracker'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
820326ee4c0d6e32ba6efeaac348e4818da1feb3 | 68 | py | Python | src/scruples/demos/__init__.py | allenai/scruples | 9a43459c507e57d89ab8442a4f3985cedecb8710 | [
"Apache-2.0"
] | 29 | 2020-05-09T10:55:45.000Z | 2022-03-28T16:18:02.000Z | src/scruples/demos/__init__.py | allenai/scruples | 9a43459c507e57d89ab8442a4f3985cedecb8710 | [
"Apache-2.0"
] | null | null | null | src/scruples/demos/__init__.py | allenai/scruples | 9a43459c507e57d89ab8442a4f3985cedecb8710 | [
"Apache-2.0"
] | 6 | 2020-10-05T12:24:28.000Z | 2021-12-06T19:51:06.000Z | """Demos for scruples."""
from . import (
norms,
scoracle)
| 11.333333 | 25 | 0.573529 | 7 | 68 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 68 | 5 | 26 | 13.6 | 0.78 | 0.279412 | 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 | 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 | 4 |
82099719c721f882aaeee2993df5036a71731273 | 111 | py | Python | LuoguCodes/AT663.py | Anguei/OI-Codes | 0ef271e9af0619d4c236e314cd6d8708d356536a | [
"MIT"
] | null | null | null | LuoguCodes/AT663.py | Anguei/OI-Codes | 0ef271e9af0619d4c236e314cd6d8708d356536a | [
"MIT"
] | null | null | null | LuoguCodes/AT663.py | Anguei/OI-Codes | 0ef271e9af0619d4c236e314cd6d8708d356536a | [
"MIT"
] | null | null | null | ans = 0
for i in range(int(raw_input())):
ans += [0, 1][sum(map(int, raw_input().split())) < 20]
print ans
| 22.2 | 58 | 0.585586 | 21 | 111 | 3 | 0.714286 | 0.126984 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054945 | 0.18018 | 111 | 4 | 59 | 27.75 | 0.637363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
820a4dda04c8d50ebe955cea2375d176637e5908 | 23,858 | py | Python | big-fish/bigfish/plot/plot_images.py | Henley13/paper_translation_factories_2020 | 77558ed70467cf91062abf62e46c794bfbc08e4a | [
"BSD-3-Clause"
] | 2 | 2020-09-03T20:50:53.000Z | 2020-10-02T14:39:31.000Z | big-fish/bigfish/plot/plot_images.py | Henley13/paper_translation_factories_2020 | 77558ed70467cf91062abf62e46c794bfbc08e4a | [
"BSD-3-Clause"
] | 4 | 2020-01-15T10:26:14.000Z | 2020-10-01T18:36:39.000Z | big-fish/bigfish/plot/plot_images.py | Henley13/paper_translation_factories_2020 | 77558ed70467cf91062abf62e46c794bfbc08e4a | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Function to plot 2-d images.
"""
import bigfish.stack as stack
import matplotlib.pyplot as plt
import numpy as np
from .utils import save_plot, get_minmax_values
from skimage.segmentation import find_boundaries
from matplotlib.colors import ListedColormap
# TODO clean this script (rem... | 31.268676 | 79 | 0.541789 | 3,022 | 23,858 | 4.196228 | 0.07677 | 0.017349 | 0.020582 | 0.023657 | 0.774071 | 0.751991 | 0.727466 | 0.712641 | 0.672108 | 0.654286 | 0 | 0.016402 | 0.361137 | 23,858 | 762 | 80 | 31.309711 | 0.815575 | 0.3043 | 0 | 0.680488 | 0 | 0 | 0.014672 | 0 | 0 | 0 | 0 | 0.005249 | 0 | 1 | 0.019512 | false | 0 | 0.014634 | 0 | 0.056098 | 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 | 0 | 0 | 0 | 4 |
820e46fb715916326f9e0ad665bfcd1b22977ea0 | 186 | py | Python | example/voting_pages/__init__.py | mroohian/Leaf | 5bb0901fbda2793ca6dba728ef159f1a55b39f28 | [
"BSD-3-Clause"
] | null | null | null | example/voting_pages/__init__.py | mroohian/Leaf | 5bb0901fbda2793ca6dba728ef159f1a55b39f28 | [
"BSD-3-Clause"
] | null | null | null | example/voting_pages/__init__.py | mroohian/Leaf | 5bb0901fbda2793ca6dba728ef159f1a55b39f28 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from leaf import leaf_world
from home_page import HomePage
leaf_world.base_url = 'http://127.0.0.1'
leaf_world.available_pages.update({
'home': HomePage
}) | 18.6 | 40 | 0.709677 | 29 | 186 | 4.344828 | 0.655172 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04375 | 0.139785 | 186 | 10 | 41 | 18.6 | 0.74375 | 0.112903 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4136d2b413aaee930d1e34a0aeff13ef0c289246 | 4,800 | py | Python | _ML/models/contrib/models_keras.py | TSchlosser13/Hexnet | 0f42ce3cb731f40dc9c28d7cd08077252ff2403f | [
"MIT"
] | 10 | 2019-12-29T14:59:19.000Z | 2021-12-27T13:11:03.000Z | _ML/models/contrib/models_keras.py | TSchlosser13/Hexnet | 0f42ce3cb731f40dc9c28d7cd08077252ff2403f | [
"MIT"
] | 3 | 2019-12-19T12:41:16.000Z | 2022-03-15T16:37:11.000Z | _ML/models/contrib/models_keras.py | TSchlosser13/Hexnet | 0f42ce3cb731f40dc9c28d7cd08077252ff2403f | [
"MIT"
] | 1 | 2020-04-22T06:51:05.000Z | 2020-04-22T06:51:05.000Z | '''****************************************************************************
* models_keras.py: Keras Models
******************************************************************************
* v0.1 - 01.03.2019
*
* Copyright (c) 2019 Tobias Schlosser (tobias@tobias-schlosser.net)
*
* Permission is hereby granted... | 56.470588 | 116 | 0.761042 | 618 | 4,800 | 5.763754 | 0.216828 | 0.1516 | 0.171814 | 0.12128 | 0.633071 | 0.633071 | 0.633071 | 0.633071 | 0.633071 | 0.617911 | 0 | 0.019297 | 0.093125 | 4,800 | 84 | 117 | 57.142857 | 0.798989 | 0.293958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.486486 | false | 0 | 0.027027 | 0.486486 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 4 |
41378d4d6dd36bb736961b94f799929ad9eb9ad9 | 64 | py | Python | mayan/apps/reviewers/__init__.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 2 | 2021-09-12T19:41:19.000Z | 2021-09-12T19:41:20.000Z | mayan/apps/reviewers/__init__.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 37 | 2021-09-13T01:00:12.000Z | 2021-10-02T03:54:30.000Z | mayan/apps/reviewers/__init__.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 1 | 2021-09-22T13:17:30.000Z | 2021-09-22T13:17:30.000Z | default_app_config = 'mayan.apps.reviewers.apps.ReviewersConfig' | 64 | 64 | 0.859375 | 8 | 64 | 6.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 64 | 1 | 64 | 64 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0.630769 | 0.630769 | 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 | 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 | 4 |
4153abcb17a2af436a923bd2e0323e584d7cad80 | 62 | py | Python | aio_graphite_api/cluster/__init__.py | yunstanford/aio-graphite-api | 819b82c451c23ce5928e711202bde79a5399c3da | [
"Apache-2.0"
] | 1 | 2016-12-09T04:14:16.000Z | 2016-12-09T04:14:16.000Z | aio_graphite_api/cluster/__init__.py | yunstanford/aio-graphite-api | 819b82c451c23ce5928e711202bde79a5399c3da | [
"Apache-2.0"
] | 1 | 2017-02-06T22:15:07.000Z | 2017-02-06T23:01:04.000Z | aio_graphite_api/cluster/__init__.py | yunstanford/aio-graphite-api | 819b82c451c23ce5928e711202bde79a5399c3da | [
"Apache-2.0"
] | null | null | null | from .cluster import init_cluster
__all__ = ["init_cluster"]
| 15.5 | 33 | 0.774194 | 8 | 62 | 5.25 | 0.625 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 3 | 34 | 20.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
41577ee470bad853c4255171830655f3cb5853ad | 359 | py | Python | EventTypes.py | jpinsonault/diskusage | b950023cb5e1f24a969070c8d681e3d28f05309b | [
"MIT"
] | null | null | null | EventTypes.py | jpinsonault/diskusage | b950023cb5e1f24a969070c8d681e3d28f05309b | [
"MIT"
] | null | null | null | EventTypes.py | jpinsonault/diskusage | b950023cb5e1f24a969070c8d681e3d28f05309b | [
"MIT"
] | null | null | null | class StopApplication:
def __init__(self, exception=None):
self.exception = exception
class ExceptionOccured:
def __init__(self, exception):
self.exception = exception
class KeyStroke:
def __init__(self, key):
self.key = key
class ButtonEvent:
def __init__(self, identifier)... | 18.894737 | 39 | 0.679666 | 37 | 359 | 6.162162 | 0.324324 | 0.122807 | 0.192982 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239554 | 359 | 18 | 40 | 19.944444 | 0.835165 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 0 | 4 |
416359c3f8b03b54f4665b821889db4af1a7047b | 2,456 | py | Python | app/models.py | alligalli/Flaskp | c2fadf68fd339aef7fbfe3361822dc2f146ebd20 | [
"MIT"
] | null | null | null | app/models.py | alligalli/Flaskp | c2fadf68fd339aef7fbfe3361822dc2f146ebd20 | [
"MIT"
] | null | null | null | app/models.py | alligalli/Flaskp | c2fadf68fd339aef7fbfe3361822dc2f146ebd20 | [
"MIT"
] | 1 | 2020-10-27T17:46:44.000Z | 2020-10-27T17:46:44.000Z | from datetime import datetime
from flask_login import UserMixin
from werkzeug.security import generate_password_hash, check_password_hash
from . import db, login_manager
class User(UserMixin, db.Model):
__tablename__ = 'Users'
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.Unicode(64... | 33.189189 | 92 | 0.699511 | 331 | 2,456 | 4.963746 | 0.229607 | 0.097383 | 0.121729 | 0.051126 | 0.457699 | 0.391357 | 0.391357 | 0.337188 | 0.297018 | 0.297018 | 0 | 0.008408 | 0.17671 | 2,456 | 73 | 93 | 33.643836 | 0.804154 | 0 | 0 | 0.413793 | 1 | 0 | 0.060261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172414 | false | 0.155172 | 0.068966 | 0.137931 | 0.913793 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
4196155a1c1d1467ceeb3fb794dbc6afa82580b7 | 55 | py | Python | Lib/test/test_import/__main__.py | sireliah/polish-python | 605df4944c2d3bc25f8bf6964b274c0a0d297cc3 | [
"PSF-2.0"
] | 1 | 2018-06-21T18:21:24.000Z | 2018-06-21T18:21:24.000Z | Lib/test/test_import/__main__.py | sireliah/polish-python | 605df4944c2d3bc25f8bf6964b274c0a0d297cc3 | [
"PSF-2.0"
] | null | null | null | Lib/test/test_import/__main__.py | sireliah/polish-python | 605df4944c2d3bc25f8bf6964b274c0a0d297cc3 | [
"PSF-2.0"
] | null | null | null | zaimportuj unittest
unittest.main('test.test_import')
| 13.75 | 33 | 0.818182 | 7 | 55 | 6.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 3 | 34 | 18.333333 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
41a6e9bbe6c8b0b30001ce058ee71e73400c685c | 178 | py | Python | FAQ/forms.py | n3trob3/nimrodage | 578eb14e2e8f7dc7ae58913b6131fd60c1596c0b | [
"Apache-2.0"
] | null | null | null | FAQ/forms.py | n3trob3/nimrodage | 578eb14e2e8f7dc7ae58913b6131fd60c1596c0b | [
"Apache-2.0"
] | null | null | null | FAQ/forms.py | n3trob3/nimrodage | 578eb14e2e8f7dc7ae58913b6131fd60c1596c0b | [
"Apache-2.0"
] | null | null | null | from django import forms
from .models import NewQuestion
class NewQuestionForm(forms.ModelForm):
class Meta:
model = NewQuestion
fields = ('name','email','question',) | 25.428571 | 40 | 0.730337 | 20 | 178 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162921 | 178 | 7 | 41 | 25.428571 | 0.872483 | 0 | 0 | 0 | 0 | 0 | 0.098266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
41c14dcb2d3840a152f67295e40464c758836f14 | 207 | py | Python | Leetcode/78. Subsets/solution1.py | asanoviskhak/Outtalent | c500e8ad498f76d57eb87a9776a04af7bdda913d | [
"MIT"
] | 51 | 2020-07-12T21:27:47.000Z | 2022-02-11T19:25:36.000Z | Leetcode/78. Subsets/solution1.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | null | null | null | Leetcode/78. Subsets/solution1.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | 32 | 2020-07-27T13:54:24.000Z | 2021-12-25T18:12:50.000Z | from itertools import combinations, chain
class Solution:
def subsets(self, nums: List[int]) -> List[List[int]]:
return chain.from_iterable(combinations(nums, s) for s in range(len(nums) + 1))
| 29.571429 | 87 | 0.700483 | 30 | 207 | 4.8 | 0.7 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.173913 | 207 | 6 | 88 | 34.5 | 0.836257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
68c1c025cceaedff85044bcca05e04bc5425925d | 109 | py | Python | playwright_har_tracer/__init__.py | ninoseki/playwright-har-tracer | 942578b4b550c3978ef6e122af521eeb112dac93 | [
"MIT"
] | 3 | 2021-05-28T12:30:05.000Z | 2022-02-05T15:27:26.000Z | playwright_har_tracer/__init__.py | ninoseki/playwright-har-tracer | 942578b4b550c3978ef6e122af521eeb112dac93 | [
"MIT"
] | null | null | null | playwright_har_tracer/__init__.py | ninoseki/playwright-har-tracer | 942578b4b550c3978ef6e122af521eeb112dac93 | [
"MIT"
] | null | null | null | from .constants import __version__
from .har_tracer import HarTracer
__all__ = ["HarTracer", "__version__"]
| 21.8 | 38 | 0.788991 | 12 | 109 | 6.083333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119266 | 109 | 4 | 39 | 27.25 | 0.760417 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
68cfd2c9dee5d8988dd51f0cd6a5af5b4ffce7a1 | 72 | py | Python | grr/server/grr_response_server/rdfvalues/__init__.py | nkrios/grr | 399e078ed522bf0555a2666fb086aa7809d54971 | [
"Apache-2.0"
] | 3 | 2018-09-30T01:31:29.000Z | 2019-04-22T11:44:54.000Z | grr/server/grr_response_server/rdfvalues/__init__.py | tomchop/grr | 27ba38dc0f5ad4f3e0cdbfb146a0a789e3b0d27b | [
"Apache-2.0"
] | 2 | 2022-01-15T03:18:12.000Z | 2022-02-13T22:02:43.000Z | grr/server/grr_response_server/rdfvalues/__init__.py | tomchop/grr | 27ba38dc0f5ad4f3e0cdbfb146a0a789e3b0d27b | [
"Apache-2.0"
] | 2 | 2020-08-24T00:22:03.000Z | 2020-11-14T08:34:43.000Z | #!/usr/bin/env python
"""RDF values package for server-only classes."""
| 24 | 49 | 0.708333 | 11 | 72 | 4.636364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 50 | 36 | 0.796875 | 0.888889 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ec20385d682f760513e3e5cd4a12ed9f89f47d83 | 208 | py | Python | config/asgi.py | profiq/moving-fast | 333620d6f88af43099f987f3e515a2d3728fb1ee | [
"MIT"
] | null | null | null | config/asgi.py | profiq/moving-fast | 333620d6f88af43099f987f3e515a2d3728fb1ee | [
"MIT"
] | 3 | 2021-03-19T01:12:43.000Z | 2022-01-13T01:18:37.000Z | config/asgi.py | martasd/moving-fast-backend | bf729a70dfa466391c949f6ddf901fc0026b241a | [
"MIT"
] | null | null | null | import os
import django
from channels.routing import get_default_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings.docker")
django.setup()
application = get_default_application()
| 23.111111 | 73 | 0.836538 | 26 | 208 | 6.461538 | 0.615385 | 0.119048 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 208 | 8 | 74 | 26 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ec314ec1139c7a51250dac94dcacba209227fb6b | 29 | py | Python | version.py | mwiens91/OoT-Randomizer | d2243392df3cb1d4b5870f84a8030ebce7ad5f1a | [
"MIT"
] | null | null | null | version.py | mwiens91/OoT-Randomizer | d2243392df3cb1d4b5870f84a8030ebce7ad5f1a | [
"MIT"
] | null | null | null | version.py | mwiens91/OoT-Randomizer | d2243392df3cb1d4b5870f84a8030ebce7ad5f1a | [
"MIT"
] | null | null | null | __version__ = '5.1.76 f.LUM'
| 14.5 | 28 | 0.655172 | 6 | 29 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0.137931 | 29 | 1 | 29 | 29 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 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 | 0 | 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 | 4 |
ec57cfeb1d86341a2db6340e72584ffabdddcae1 | 430 | py | Python | alttprbot_racetime/handlers/twwr.py | skyscooby/sahasrahbot | 16fce824bd024f6357a8f260e2447ba477dcdac2 | [
"MIT"
] | 15 | 2019-10-15T21:35:59.000Z | 2022-03-31T19:49:39.000Z | alttprbot_racetime/handlers/twwr.py | skyscooby/sahasrahbot | 16fce824bd024f6357a8f260e2447ba477dcdac2 | [
"MIT"
] | 12 | 2019-10-06T01:33:13.000Z | 2022-03-10T14:35:16.000Z | alttprbot_racetime/handlers/twwr.py | skyscooby/sahasrahbot | 16fce824bd024f6357a8f260e2447ba477dcdac2 | [
"MIT"
] | 28 | 2019-11-25T23:49:56.000Z | 2022-03-10T04:03:31.000Z | from .core import SahasrahBotCoreHandler
class GameHandler(SahasrahBotCoreHandler):
async def intro(self):
pass
async def ex_help(self, args, message):
pass
async def ex_lock(self, args, message):
pass
async def ex_unlock(self, args, message):
pass
async def ex_... | 19.545455 | 53 | 0.648837 | 52 | 430 | 5.269231 | 0.365385 | 0.175182 | 0.218978 | 0.255474 | 0.423358 | 0.423358 | 0.423358 | 0 | 0 | 0 | 0 | 0 | 0.276744 | 430 | 21 | 54 | 20.47619 | 0.881029 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.071429 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6b65d6c529db4333743bbe28e5aae788d4fb9e1b | 49 | py | Python | c__59.py | fhansmann/coding-challenges | eebb37565c72e05b77383c24e8273a1e4019b58e | [
"MIT"
] | null | null | null | c__59.py | fhansmann/coding-challenges | eebb37565c72e05b77383c24e8273a1e4019b58e | [
"MIT"
] | null | null | null | c__59.py | fhansmann/coding-challenges | eebb37565c72e05b77383c24e8273a1e4019b58e | [
"MIT"
] | null | null | null | import re
s = input()
print(re.findall("\d+",s))
| 12.25 | 26 | 0.612245 | 9 | 49 | 3.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 3 | 27 | 16.333333 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6ba182d5eecc6b963f3f9a0fedc00ec1cf92872f | 37 | py | Python | tests/test_drivermanager.py | manifoldai/pyjdbc | bf5ad84af8d413b7e2144d6cc08234597a689b1d | [
"Apache-2.0"
] | 2 | 2021-02-10T09:03:33.000Z | 2021-09-26T06:33:38.000Z | tests/test_drivermanager.py | manifoldai/pyjdbc | bf5ad84af8d413b7e2144d6cc08234597a689b1d | [
"Apache-2.0"
] | 6 | 2021-01-06T19:37:37.000Z | 2021-07-21T13:40:07.000Z | tests/test_drivermanager.py | manifoldai/pyjdbc | bf5ad84af8d413b7e2144d6cc08234597a689b1d | [
"Apache-2.0"
] | 1 | 2021-07-21T14:51:09.000Z | 2021-07-21T14:51:09.000Z | """
Test DriverManager interface
"""
| 9.25 | 28 | 0.702703 | 3 | 37 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 3 | 29 | 12.333333 | 0.8125 | 0.756757 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6bf747ea08ea2c017cb2f3a6f7175f6905e8e9bc | 581 | py | Python | NeuralNetworks/NeuralNetworkGPU/utils/cost.py | CodeBulletin/ML_Library | 14dee1db335ee6932711bd148d5f12a4471cd7e5 | [
"MIT"
] | null | null | null | NeuralNetworks/NeuralNetworkGPU/utils/cost.py | CodeBulletin/ML_Library | 14dee1db335ee6932711bd148d5f12a4471cd7e5 | [
"MIT"
] | null | null | null | NeuralNetworks/NeuralNetworkGPU/utils/cost.py | CodeBulletin/ML_Library | 14dee1db335ee6932711bd148d5f12a4471cd7e5 | [
"MIT"
] | null | null | null | import cupy as cp
class MSE:
@staticmethod
def cost(x, y):
return (x - y)**2
@staticmethod
def d_cost(x, y):
return 2 * (x - y)
class MAE:
@staticmethod
def cost(x, y):
return cp.abs(x - y)
@staticmethod
def d_cost(x, y):
h = (x-y... | 16.6 | 50 | 0.445783 | 85 | 581 | 3.011765 | 0.270588 | 0.078125 | 0.140625 | 0.234375 | 0.628906 | 0.621094 | 0.21875 | 0 | 0 | 0 | 0 | 0.034582 | 0.402754 | 581 | 34 | 51 | 17.088235 | 0.70317 | 0 | 0 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.04 | 0.2 | 0.64 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 4 |
6bf9cb8696a89af627ea4b7a263242f48cf490c2 | 86 | py | Python | djmapache/commonapp/forms.py | plungerman/django-djmapache | 3dfef0a207464e65b281974e30f20fa97354ed08 | [
"MIT"
] | null | null | null | djmapache/commonapp/forms.py | plungerman/django-djmapache | 3dfef0a207464e65b281974e30f20fa97354ed08 | [
"MIT"
] | 11 | 2019-12-06T16:03:05.000Z | 2022-03-04T17:10:25.000Z | djmapache/commonapp/forms.py | carthage-college/django-djmapache | 901f7f5eff37553212129509f2b062fff4fec0ed | [
"MIT"
] | null | null | null | from django import forms
class UploadForm(forms.Form):
phile = forms.FileField()
| 17.2 | 29 | 0.744186 | 11 | 86 | 5.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 4 | 30 | 21.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6bff0d2653e733c34a773caf2ad24413f006fb7b | 5,330 | py | Python | test_hw5.py | tri2sing/LinearAlgebraPython | f3dde94f02f146089607eb520ebd4467becb5f9e | [
"Apache-2.0"
] | 1 | 2017-02-26T23:29:33.000Z | 2017-02-26T23:29:33.000Z | test_hw5.py | tri2sing/LinearAlgebraPython | f3dde94f02f146089607eb520ebd4467becb5f9e | [
"Apache-2.0"
] | null | null | null | test_hw5.py | tri2sing/LinearAlgebraPython | f3dde94f02f146089607eb520ebd4467becb5f9e | [
"Apache-2.0"
] | null | null | null | from vec import Vec
from mat import Mat
from vecutil import list2vec
from matutil import listlist2mat
from GF2 import one
import hw5
S = [list2vec(v) for v in [[1,0,0],[0,1,0],[0,0,1]]]
B = [list2vec(v) for v in [[1,1,0],[0,1,1],[1,0,1]]]
for (z, w) in hw5.morph(S, B):
print("injecting ", str(z.D) + str(z.f))
... | 48.454545 | 322 | 0.421201 | 1,292 | 5,330 | 1.705882 | 0.063467 | 0.107078 | 0.073503 | 0.049002 | 0.633848 | 0.515427 | 0.414701 | 0.339837 | 0.288113 | 0.240018 | 0 | 0.243868 | 0.212195 | 5,330 | 109 | 323 | 48.899083 | 0.281019 | 0.091932 | 0 | 0.057971 | 0 | 0 | 0.02904 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.086957 | 0.42029 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d42586812a101d4aeb58f774f7fcc62ad2e3abc9 | 177 | py | Python | parsing/tests/__init__.py | sprymix/parsing | 4f9602e54e035ace5fe04bfdfd117eb89be9e865 | [
"MIT"
] | 29 | 2015-08-06T10:16:11.000Z | 2020-12-29T06:03:05.000Z | parsing/tests/__init__.py | MagicStack/parsing | 4f9602e54e035ace5fe04bfdfd117eb89be9e865 | [
"MIT"
] | 1 | 2017-04-18T18:43:05.000Z | 2017-04-18T18:46:59.000Z | parsing/tests/__init__.py | MagicStack/parsing | 4f9602e54e035ace5fe04bfdfd117eb89be9e865 | [
"MIT"
] | 7 | 2015-06-08T07:38:37.000Z | 2021-06-01T19:21:22.000Z | import os.path
import unittest
def suite() -> unittest.TestSuite:
start = os.path.dirname(os.path.dirname(__file__))
return unittest.defaultTestLoader.discover(start)
| 22.125 | 54 | 0.757062 | 22 | 177 | 5.909091 | 0.590909 | 0.138462 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129944 | 177 | 7 | 55 | 25.285714 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d46a9059db2fc0fe923fc61111c03a86dc11927f | 160 | py | Python | 4-preprocessing/dividing_languages/polyglot/tokenize/__init__.py | correia-marcos/Innovation-on-brazilian-economic-research | 98bc677618ec2dff062db42cda7279a5e7065a32 | [
"MIT"
] | null | null | null | 4-preprocessing/dividing_languages/polyglot/tokenize/__init__.py | correia-marcos/Innovation-on-brazilian-economic-research | 98bc677618ec2dff062db42cda7279a5e7065a32 | [
"MIT"
] | null | null | null | 4-preprocessing/dividing_languages/polyglot/tokenize/__init__.py | correia-marcos/Innovation-on-brazilian-economic-research | 98bc677618ec2dff062db42cda7279a5e7065a32 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .base import WordTokenizer, SentenceTokenizer
__all__ = ['WordTokenizer',
'SentenceTokenizer']
| 17.777778 | 50 | 0.6625 | 15 | 160 | 6.8 | 0.866667 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.1875 | 160 | 8 | 51 | 20 | 0.776923 | 0.2625 | 0 | 0 | 0 | 0 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d477d018368919b87cf44d32768c80869926dc04 | 75 | py | Python | login.py | zzxnndx/test29 | e8582db4bfa178f2502f7ebad2de42b9ab925f67 | [
"MIT"
] | null | null | null | login.py | zzxnndx/test29 | e8582db4bfa178f2502f7ebad2de42b9ab925f67 | [
"MIT"
] | null | null | null | login.py | zzxnndx/test29 | e8582db4bfa178f2502f7ebad2de42b9ab925f67 | [
"MIT"
] | null | null | null | num = 1
num =1111
num =3333333333334
num = 4
num4 =12312312
num3 =123123
| 9.375 | 18 | 0.706667 | 12 | 75 | 4.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.59322 | 0.213333 | 75 | 7 | 19 | 10.714286 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d4805f0d7dffa3e46d2090382ccbe62a710ff386 | 58 | py | Python | 00-basics/08-if_00.py | ralexrivero/python_fundation | 34a855db7380d3d91db6a8f02d97f287d038ef5f | [
"Apache-2.0"
] | 1 | 2021-09-19T04:09:48.000Z | 2021-09-19T04:09:48.000Z | 00-basics/08-if_00.py | ralexrivero/python_fundation | 34a855db7380d3d91db6a8f02d97f287d038ef5f | [
"Apache-2.0"
] | null | null | null | 00-basics/08-if_00.py | ralexrivero/python_fundation | 34a855db7380d3d91db6a8f02d97f287d038ef5f | [
"Apache-2.0"
] | null | null | null | if True:
print("Holberton")
else:
print("School")
| 11.6 | 22 | 0.603448 | 7 | 58 | 5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 58 | 4 | 23 | 14.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
2e184a3aa4fb40b003245aa8cc79c3354b6baf64 | 232 | py | Python | Shawn/threads.py | merlin-neurotech/Backend | 7845a2ab087d184056aef1e5d43f6eccaef136eb | [
"MIT"
] | 2 | 2020-01-06T16:58:10.000Z | 2020-02-01T19:41:44.000Z | Shawn/threads.py | merlin-neurotech/Backend | 7845a2ab087d184056aef1e5d43f6eccaef136eb | [
"MIT"
] | null | null | null | Shawn/threads.py | merlin-neurotech/Backend | 7845a2ab087d184056aef1e5d43f6eccaef136eb | [
"MIT"
] | 2 | 2019-12-26T19:03:49.000Z | 2020-02-09T17:36:04.000Z | import threading
def runFunc(functionToRun, argsToRun=None):
if argsToRun:
func = threading.Thread(target=functionToRun, kwargs=argsToRun)
else:
func = threading.Thread(target=functionToRun)
func.run()
| 23.2 | 71 | 0.706897 | 24 | 232 | 6.833333 | 0.583333 | 0.158537 | 0.231707 | 0.304878 | 0.463415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198276 | 232 | 9 | 72 | 25.777778 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2e51ea7603a899744dfd41cdc9d7f8f241f09608 | 243 | py | Python | pysp2/testing/__init__.py | ARM-DOE/PySP2 | 4f464d03bc4b2c20e123853b1465c266f485e05d | [
"BSD-2-Clause"
] | null | null | null | pysp2/testing/__init__.py | ARM-DOE/PySP2 | 4f464d03bc4b2c20e123853b1465c266f485e05d | [
"BSD-2-Clause"
] | 1 | 2022-02-28T22:48:04.000Z | 2022-02-28T22:48:04.000Z | pysp2/testing/__init__.py | ARM-DOE/PySP2 | 4f464d03bc4b2c20e123853b1465c266f485e05d | [
"BSD-2-Clause"
] | 1 | 2022-02-25T14:07:21.000Z | 2022-02-25T14:07:21.000Z | """
=========================
pysp2.tests (pysp2.tests)
=========================
.. currentmodule:: pydda.tests
This module contains links to test files for PySP2
.. autosummary::
:toctree: generated/
"""
from .sample_files import *
| 15.1875 | 50 | 0.55144 | 23 | 243 | 5.782609 | 0.782609 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014423 | 0.144033 | 243 | 15 | 51 | 16.2 | 0.625 | 0.839506 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2e5330ea431121f50da65829e4469503454941d2 | 1,590 | py | Python | motions/angular_velocity_models.py | AlexeyKonakov/state-space-estimation | ba30243211aded0db5b56ece134ab70d0b27ed03 | [
"MIT"
] | null | null | null | motions/angular_velocity_models.py | AlexeyKonakov/state-space-estimation | ba30243211aded0db5b56ece134ab70d0b27ed03 | [
"MIT"
] | null | null | null | motions/angular_velocity_models.py | AlexeyKonakov/state-space-estimation | ba30243211aded0db5b56ece134ab70d0b27ed03 | [
"MIT"
] | null | null | null | from __future__ import annotations
from abc import ABC, abstractmethod
import numpy as np
from bayesian_framework.inference.stochastic_models.stochastic_processes import WienerProcessValueProvider
class AngularVelocityProvider(ABC):
@abstractmethod
def eval(self, k: int) -> np.ndarray:
"""
... | 36.136364 | 106 | 0.677987 | 188 | 1,590 | 5.62234 | 0.388298 | 0.156102 | 0.083254 | 0.022706 | 0.280038 | 0.280038 | 0.280038 | 0.280038 | 0.280038 | 0.280038 | 0 | 0.004122 | 0.237107 | 1,590 | 43 | 107 | 36.976744 | 0.867271 | 0.465409 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.307692 | 0 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
2e5dbaf7c916e4a8b1323ad9d21633f842fa62d2 | 95 | py | Python | src/minisentry/apps.py | anti1869/minisentry | 43b9685f33eeb55adbb78d3ec7afa05204e65f38 | [
"Apache-2.0"
] | 3 | 2021-07-02T01:54:03.000Z | 2022-01-21T11:38:36.000Z | src/minisentry/apps.py | anti1869/minisentry | 43b9685f33eeb55adbb78d3ec7afa05204e65f38 | [
"Apache-2.0"
] | null | null | null | src/minisentry/apps.py | anti1869/minisentry | 43b9685f33eeb55adbb78d3ec7afa05204e65f38 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class MinisentryConfig(AppConfig):
name = "minisentry"
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2e747662f6e52008074632930672258dc8cda3de | 124 | py | Python | web/archivo/forms.py | euribates/hipatia | 1f1d71c07be1ed0b43abc4b2b7ad32940fcfd2f4 | [
"MIT"
] | null | null | null | web/archivo/forms.py | euribates/hipatia | 1f1d71c07be1ed0b43abc4b2b7ad32940fcfd2f4 | [
"MIT"
] | null | null | null | web/archivo/forms.py | euribates/hipatia | 1f1d71c07be1ed0b43abc4b2b7ad32940fcfd2f4 | [
"MIT"
] | null | null | null | from django import forms
class SearchForm(forms.Form):
query = forms.CharField(label='Texto a buscar', max_length=180)
| 24.8 | 67 | 0.758065 | 18 | 124 | 5.166667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.137097 | 124 | 4 | 68 | 31 | 0.841122 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cf0f840e1c3ebf77797e0fed0677b0d518edda5a | 135 | pyw | Python | evernote.pyw | kojinho10/application_switcher | 1437501dd2f5fe900fc55e96a3651db34f969455 | [
"MIT"
] | null | null | null | evernote.pyw | kojinho10/application_switcher | 1437501dd2f5fe900fc55e96a3651db34f969455 | [
"MIT"
] | null | null | null | evernote.pyw | kojinho10/application_switcher | 1437501dd2f5fe900fc55e96a3651db34f969455 | [
"MIT"
] | null | null | null | import switcher3
window = switcher3.Window(None,"- Evernote", "evernote")
window.activate_app()
#window.debug()
#window.show_scope()
| 16.875 | 56 | 0.748148 | 16 | 135 | 6.1875 | 0.625 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.088889 | 135 | 7 | 57 | 19.285714 | 0.788618 | 0.244444 | 0 | 0 | 0 | 0 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.