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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be511c24332a24f0e68bea70c9ae61478b823261 | 30 | py | Python | larning/setup.py | tasigabi97/larning | 6489bb47c9d6bc08e58349d4cff621d108a3cb0a | [
"MIT"
] | null | null | null | larning/setup.py | tasigabi97/larning | 6489bb47c9d6bc08e58349d4cff621d108a3cb0a | [
"MIT"
] | null | null | null | larning/setup.py | tasigabi97/larning | 6489bb47c9d6bc08e58349d4cff621d108a3cb0a | [
"MIT"
] | null | null | null | from larning.setup_i import *
| 15 | 29 | 0.8 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be954e72d3b10c97cfbf28cdae7ef832d5aefc1b | 186 | py | Python | web/frontend/views.py | dzionek/todo-list | cc71cdf01f4fc0339bbe7ebd490c6527a4e86919 | [
"MIT"
] | 1 | 2020-10-09T21:06:43.000Z | 2020-10-09T21:06:43.000Z | web/frontend/views.py | dzionek/todo-list | cc71cdf01f4fc0339bbe7ebd490c6527a4e86919 | [
"MIT"
] | 2 | 2020-09-18T10:10:55.000Z | 2020-09-25T20:02:05.000Z | frontend/views.py | dzionek/social-media-predict | 5e20f0285d423fc4e46a9612eb96617646713cee | [
"MIT"
] | null | null | null | from django.http import HttpResponse, HttpRequest
from django.shortcuts import render
def index(request: HttpRequest) -> HttpResponse:
return render(request, 'frontend/index.html') | 31 | 49 | 0.795699 | 22 | 186 | 6.727273 | 0.636364 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 186 | 6 | 50 | 31 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0.101604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
be9c142bfb316fea0001f03def3a615a73c1147d | 19,735 | py | Python | tests/api/v2_2_2_3/test_site_design.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 32 | 2019-09-05T05:16:56.000Z | 2022-03-22T09:50:38.000Z | tests/api/v2_2_2_3/test_site_design.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 35 | 2019-09-07T18:58:54.000Z | 2022-03-24T19:29:36.000Z | tests/api/v2_2_2_3/test_site_design.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 18 | 2019-09-09T11:07:21.000Z | 2022-03-25T08:49:59.000Z | # -*- coding: utf-8 -*-
"""DNACenterAPI site_design API fixtures and tests.
Copyright (c) 2019-2021 Cisco Systems.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including w... | 33.112416 | 1,194 | 0.691766 | 2,199 | 19,735 | 5.915871 | 0.121419 | 0.04151 | 0.033208 | 0.036898 | 0.78561 | 0.782381 | 0.759782 | 0.751941 | 0.719656 | 0.692444 | 0 | 0.020978 | 0.205321 | 19,735 | 595 | 1,195 | 33.168067 | 0.808519 | 0.057512 | 0 | 0.628062 | 0 | 0 | 0.155058 | 0.038724 | 0 | 0 | 0 | 0 | 0.053452 | 1 | 0.13363 | false | 0.002227 | 0.008909 | 0 | 0.222717 | 0.026726 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bea391fc7d80193bf1e48db0e08b7d6303b8cadf | 97 | py | Python | mpischedule/__init__.py | ckoerber/mpi-schedule | ef304ddb335bd893bdc7fc4a8a21134371a95786 | [
"MIT"
] | null | null | null | mpischedule/__init__.py | ckoerber/mpi-schedule | ef304ddb335bd893bdc7fc4a8a21134371a95786 | [
"MIT"
] | null | null | null | mpischedule/__init__.py | ckoerber/mpi-schedule | ef304ddb335bd893bdc7fc4a8a21134371a95786 | [
"MIT"
] | null | null | null | """Collects parallel application functions
"""
from mpischedule.parallel_map import parallel_map
| 24.25 | 49 | 0.835052 | 11 | 97 | 7.181818 | 0.727273 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 97 | 3 | 50 | 32.333333 | 0.897727 | 0.402062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe296f808d12e22e35ffce67bee36657ae45a70f | 121 | py | Python | netgear_scrapers/__init__.py | iandees/netgear-scrapers | f61b08512e5eec0219cf234a2d749ae5eae2418e | [
"MIT"
] | 5 | 2019-01-31T02:07:08.000Z | 2021-05-22T01:33:15.000Z | netgear_scrapers/__init__.py | iandees/netgear-scrapers | f61b08512e5eec0219cf234a2d749ae5eae2418e | [
"MIT"
] | 4 | 2019-10-18T18:01:47.000Z | 2021-07-31T15:48:38.000Z | netgear_scrapers/__init__.py | iandees/netgear-scrapers | f61b08512e5eec0219cf234a2d749ae5eae2418e | [
"MIT"
] | 3 | 2020-08-09T03:49:01.000Z | 2021-07-31T14:01:55.000Z | from .netgear_cm1000 import CM1000Parser
from .netgear_r7000 import R7000Parser
from .nest_fetcher import NestThermostat
| 30.25 | 40 | 0.876033 | 15 | 121 | 6.866667 | 0.666667 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 0.099174 | 121 | 3 | 41 | 40.333333 | 0.798165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe74753bbec76fd2896247df9415ef80f0d30d18 | 97 | py | Python | src/heat_control/settings/__init__.py | Radmor/heat_control | 595bd347237f7d769983c47dd6dec1c00ba19635 | [
"MIT"
] | null | null | null | src/heat_control/settings/__init__.py | Radmor/heat_control | 595bd347237f7d769983c47dd6dec1c00ba19635 | [
"MIT"
] | null | null | null | src/heat_control/settings/__init__.py | Radmor/heat_control | 595bd347237f7d769983c47dd6dec1c00ba19635 | [
"MIT"
] | null | null | null | try:
from .local import * # noqa
except ImportError:
from .default import * # noqa
| 19.4 | 35 | 0.618557 | 11 | 97 | 5.454545 | 0.727273 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298969 | 97 | 4 | 36 | 24.25 | 0.882353 | 0.092784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fea81ffb72b070619dff192c02dd6625e2d5d60a | 4,611 | py | Python | huaweicloud-sdk-cloudpipeline/huaweicloudsdkcloudpipeline/v2/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-cloudpipeline/huaweicloudsdkcloudpipeline/v2/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-cloudpipeline/huaweicloudsdkcloudpipeline/v2/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
# import CloudPipelineClient
from huaweicloudsdkcloudpipeline.v2.cloudpipeline_client import CloudPipelineClient
from huaweicloudsdkcloudpipeline.v2.cloudpipeline_async_client import CloudPipelineAsyncClient
# import models into sdk package
from huaweicloudsdkclo... | 83.836364 | 121 | 0.923878 | 452 | 4,611 | 9.170354 | 0.227876 | 0.351508 | 0.374186 | 0.412545 | 0.53848 | 0.427503 | 0.294331 | 0.136068 | 0.032328 | 0 | 0 | 0.010899 | 0.044893 | 4,611 | 54 | 122 | 85.388889 | 0.930291 | 0.015398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
feac72d9c9040cac6b640049d38ff959b2be9745 | 40 | py | Python | app/db/__init__.py | joestarhu/cross | b607db2099a178904f41633b0c7137c12fa02af4 | [
"MIT"
] | 1 | 2021-11-17T09:43:37.000Z | 2021-11-17T09:43:37.000Z | app/db/__init__.py | joestarhu/cross | b607db2099a178904f41633b0c7137c12fa02af4 | [
"MIT"
] | null | null | null | app/db/__init__.py | joestarhu/cross | b607db2099a178904f41633b0c7137c12fa02af4 | [
"MIT"
] | null | null | null | from .database import Base,LocalSession
| 20 | 39 | 0.85 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
feb1a4d4b97780b745df7ff2a951a61aa3816f73 | 751 | py | Python | story/forms.py | luisgaboardi/2020.2-Projeto-Kokama-Usuario | 5d6a384708959f7a37c214496ea55e4bfe860d66 | [
"MIT"
] | null | null | null | story/forms.py | luisgaboardi/2020.2-Projeto-Kokama-Usuario | 5d6a384708959f7a37c214496ea55e4bfe860d66 | [
"MIT"
] | null | null | null | story/forms.py | luisgaboardi/2020.2-Projeto-Kokama-Usuario | 5d6a384708959f7a37c214496ea55e4bfe860d66 | [
"MIT"
] | null | null | null | from django import forms
REQUIRED_MESSAGE = 'Preencha este campo.'
class StoryForm(forms.Form):
title_portuguese = forms.CharField(
label='title',
required=False,
error_messages={'required': REQUIRED_MESSAGE}
)
text_portuguese = forms.CharField(
label='text',
... | 23.46875 | 53 | 0.621838 | 71 | 751 | 6.394366 | 0.323944 | 0.165198 | 0.167401 | 0.255507 | 0.740088 | 0.740088 | 0.740088 | 0.740088 | 0.740088 | 0.740088 | 0 | 0 | 0.274301 | 751 | 32 | 54 | 23.46875 | 0.833028 | 0 | 0 | 0.56 | 0 | 0 | 0.093085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22982d5cbda105359f7baba312c8d576e5273b59 | 159 | py | Python | rasa_addons/core/nlg/__init__.py | engahmed1190/rasa-for-botfront | 9f712ab89ddf850c248877b3b77a160200df7d04 | [
"Apache-2.0"
] | 90 | 2018-04-11T11:54:57.000Z | 2019-05-26T09:52:40.000Z | rasa_addons/core/nlg/__init__.py | engahmed1190/rasa-for-botfront | 9f712ab89ddf850c248877b3b77a160200df7d04 | [
"Apache-2.0"
] | 79 | 2021-08-19T09:49:24.000Z | 2022-03-14T12:10:54.000Z | rasa_addons/core/nlg/__init__.py | engahmed1190/rasa-for-botfront | 9f712ab89ddf850c248877b3b77a160200df7d04 | [
"Apache-2.0"
] | 65 | 2019-05-21T12:16:53.000Z | 2022-02-23T10:54:15.000Z | from rasa_addons.core.nlg.graphql import GraphQLNaturalLanguageGenerator
from rasa_addons.core.nlg.bftemplate import BotfrontTemplatedNaturalLanguageGenerator
| 53 | 85 | 0.91195 | 16 | 159 | 8.9375 | 0.625 | 0.111888 | 0.195804 | 0.251748 | 0.293706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050314 | 159 | 2 | 86 | 79.5 | 0.94702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
22b27b8553c90e8fc52723c6cab13d5d078c6a9e | 90 | py | Python | examples/python/mypackage/test_module.py | ech0-de/popper | 58b994660c954ab267407820e30d76a739a4d2df | [
"MIT"
] | 179 | 2016-11-19T22:38:07.000Z | 2020-05-24T10:42:30.000Z | examples/python/mypackage/test_module.py | ech0-de/popper | 58b994660c954ab267407820e30d76a739a4d2df | [
"MIT"
] | 739 | 2016-10-05T21:31:13.000Z | 2020-05-22T20:42:55.000Z | examples/python/mypackage/test_module.py | ech0-de/popper | 58b994660c954ab267407820e30d76a739a4d2df | [
"MIT"
] | 51 | 2016-10-14T05:42:10.000Z | 2020-05-15T19:05:33.000Z | import pytest
from . import module
def test_myfunc():
assert module.myfunc(1) == 2
| 11.25 | 32 | 0.688889 | 13 | 90 | 4.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.211111 | 90 | 7 | 33 | 12.857143 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22fe0fab3bdad3a49ef682cc7ac306303a1f57f5 | 24 | py | Python | msgtopdf/__init__.py | ushills/msgtopdf | 25c5cf60158220ab840c0fb2fd46bae1cf3d5e22 | [
"MIT"
] | 6 | 2020-03-14T11:21:30.000Z | 2021-11-14T15:37:29.000Z | msgtopdf/__init__.py | ushills/msgtopdf | 25c5cf60158220ab840c0fb2fd46bae1cf3d5e22 | [
"MIT"
] | 2 | 2020-06-11T20:44:09.000Z | 2021-03-02T10:13:40.000Z | msgtopdf/__init__.py | ushills/msgtopdf | 25c5cf60158220ab840c0fb2fd46bae1cf3d5e22 | [
"MIT"
] | 1 | 2020-03-13T04:18:53.000Z | 2020-03-13T04:18:53.000Z | from .msgtopdf import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22fe5d329739f9b8b34b18530513d85c3e88c7c8 | 719 | py | Python | tests/test_double_height.py | d21d3q/thermalprinter | a502fe8a7b7ab5a0773e92a37e6539f73b34b950 | [
"MIT"
] | 28 | 2016-08-31T15:50:38.000Z | 2022-03-24T15:19:17.000Z | tests/test_double_height.py | d21d3q/thermalprinter | a502fe8a7b7ab5a0773e92a37e6539f73b34b950 | [
"MIT"
] | 11 | 2016-09-28T15:46:46.000Z | 2021-03-09T16:37:13.000Z | tests/test_double_height.py | d21d3q/thermalprinter | a502fe8a7b7ab5a0773e92a37e6539f73b34b950 | [
"MIT"
] | 10 | 2017-03-02T19:08:15.000Z | 2021-02-19T16:11:06.000Z | # coding: utf-8
def test_default_value(printer):
assert printer._double_height is False
assert printer._char_height == 24
def test_changing_no_value(printer):
printer.double_height()
assert printer._double_height is False
assert printer._char_height == 24
def test_changing_state_on(printer):
... | 23.193548 | 42 | 0.759388 | 99 | 719 | 5.151515 | 0.232323 | 0.254902 | 0.298039 | 0.245098 | 0.572549 | 0.519608 | 0.519608 | 0.519608 | 0.519608 | 0.519608 | 0 | 0.018456 | 0.171071 | 719 | 30 | 43 | 23.966667 | 0.837248 | 0.018081 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.526316 | 1 | 0.263158 | false | 0 | 0 | 0 | 0.263158 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a3c6688b8e9e078e7551c457c295682b73d21504 | 25 | py | Python | models/__init__.py | ethanfetaya/pytorch_template | 81da6166aef8a9330d7a7fe528d26bb9764276f7 | [
"MIT"
] | 15 | 2020-08-24T07:11:20.000Z | 2021-09-13T08:03:42.000Z | models/__init__.py | ethanfetaya/pytorch_template | 81da6166aef8a9330d7a7fe528d26bb9764276f7 | [
"MIT"
] | 5 | 2021-02-28T17:30:26.000Z | 2021-06-15T09:33:00.000Z | models/__init__.py | ethanfetaya/pytorch_template | 81da6166aef8a9330d7a7fe528d26bb9764276f7 | [
"MIT"
] | 5 | 2018-06-15T15:34:23.000Z | 2022-03-19T22:52:47.000Z | from .lenet import LeNet
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3e720880d492fb15742ea6395b51ff7b99eb0a1 | 190 | py | Python | tcga/utils/__init__.py | numpde/tcga | a7df66530a0249b82788f6367b9642b68eaf6ec5 | [
"MIT"
] | 2 | 2020-06-30T13:15:14.000Z | 2021-08-04T07:46:02.000Z | tcga/utils/__init__.py | numpde/tcga | a7df66530a0249b82788f6367b9642b68eaf6ec5 | [
"MIT"
] | null | null | null | tcga/utils/__init__.py | numpde/tcga | a7df66530a0249b82788f6367b9642b68eaf6ec5 | [
"MIT"
] | null | null | null | from .first import First, join
from .circular import Circular, laola
from .download import download
from .containers import *
from .files import *
from .meta import *
from .peek import Peek
| 23.75 | 37 | 0.778947 | 27 | 190 | 5.481481 | 0.407407 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 190 | 7 | 38 | 27.142857 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43150e6b2e06e3809768f7b9f978e103893ae423 | 3,110 | py | Python | test/doc.quick-start.py | cnangel/HyperDex | b272e85b08d232993baf6105a4beba833deadfe3 | [
"BSD-3-Clause"
] | 1 | 2016-08-10T07:53:58.000Z | 2016-08-10T07:53:58.000Z | test/doc.quick-start.py | cnangel/HyperDex | b272e85b08d232993baf6105a4beba833deadfe3 | [
"BSD-3-Clause"
] | null | null | null | test/doc.quick-start.py | cnangel/HyperDex | b272e85b08d232993baf6105a4beba833deadfe3 | [
"BSD-3-Clause"
] | null | null | null | # File generated from python blocks in "doc/quick-start.tex"
>>> import sys
>>> HOST = sys.argv[2]
>>> PORT = int(sys.argv[3])
>>> import hyperdex.admin
>>> a = hyperdex.admin.Admin(HOST, PORT)
>>> a.add_space('''
... space phonebook
... key username
... attributes first, last, int phone
... subspace first, last, phone... | 28.53211 | 83 | 0.563023 | 357 | 3,110 | 4.89916 | 0.168067 | 0.123499 | 0.156089 | 0.185249 | 0.753573 | 0.753573 | 0.711264 | 0.711264 | 0.528302 | 0.510006 | 0 | 0.103633 | 0.159164 | 3,110 | 108 | 84 | 28.796296 | 0.565201 | 0.01865 | 0 | 0.691589 | 1 | 0 | 0.373443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.028037 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
432ccd04e9e9f985eaa1f9d5605cbf79c013ea1b | 199 | py | Python | codewars/7kyu/amrlotfy77/Square Every Digit/test_bench.py | ictcubeMENA/Training_one | dff6bee96ba42babe4888e5cf9a9448a6fd93fc3 | [
"MIT"
] | null | null | null | codewars/7kyu/amrlotfy77/Square Every Digit/test_bench.py | ictcubeMENA/Training_one | dff6bee96ba42babe4888e5cf9a9448a6fd93fc3 | [
"MIT"
] | 2 | 2019-01-22T10:53:42.000Z | 2019-01-31T08:02:48.000Z | codewars/7kyu/amrlotfy77/Square Every Digit/test_bench.py | ictcubeMENA/Training_one | dff6bee96ba42babe4888e5cf9a9448a6fd93fc3 | [
"MIT"
] | 13 | 2019-01-22T10:37:42.000Z | 2019-01-25T13:30:43.000Z | from main import square_digits, square_digits1
def test1(benchmark):
assert benchmark(square_digits, 9119) == 811181
def test(benchmark):
assert benchmark(square_digits1, 9119) == 811181
| 19.9 | 52 | 0.758794 | 25 | 199 | 5.88 | 0.52 | 0.163265 | 0.326531 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136905 | 0.155779 | 199 | 9 | 53 | 22.111111 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4a625b5bef13af92a6158639a30c111be8646400 | 1,719 | py | Python | tests/get_top_tests.py | mesenev/top_bot_lyceum | 35d92be35fe6b2bed6a38791aea00fee98bea872 | [
"MIT"
] | 1 | 2019-09-09T23:55:32.000Z | 2019-09-09T23:55:32.000Z | tests/get_top_tests.py | mesenev/top_bot_lyceum | 35d92be35fe6b2bed6a38791aea00fee98bea872 | [
"MIT"
] | 8 | 2017-10-03T16:35:45.000Z | 2018-01-15T10:29:09.000Z | tests/get_top_tests.py | mesenev/top_bot_lyceum | 35d92be35fe6b2bed6a38791aea00fee98bea872 | [
"MIT"
] | 3 | 2017-10-08T09:33:45.000Z | 2019-09-26T23:35:54.000Z | import unittest
import methods
class TestGetTopMethods(unittest.TestCase):
def test_simple_order(self):
var = [('first', 6), ('second', 5), ('third', 4), ('fourth', 3), ('fifth', 2), ('sixth', 1),
('seventh', 0)]
msg = methods.get_top._create_top(var)
s = [x for x in msg.sp... | 34.38 | 100 | 0.510762 | 235 | 1,719 | 3.587234 | 0.2 | 0.041518 | 0.071174 | 0.077106 | 0.838671 | 0.838671 | 0.829181 | 0.829181 | 0.829181 | 0.715302 | 0 | 0.032389 | 0.281559 | 1,719 | 49 | 101 | 35.081633 | 0.650202 | 0 | 0 | 0.625 | 0 | 0 | 0.123909 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.05 | 0 | 0.2 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a8950f436d70e5e2b799c7e3b49992be542389a | 28 | py | Python | data_structure_lru_cache.py | macio-matheus/algorithms-and-data-structure-practices | 64d013ec04a0489401e8b2110f578fbf3893dca1 | [
"Apache-2.0"
] | null | null | null | data_structure_lru_cache.py | macio-matheus/algorithms-and-data-structure-practices | 64d013ec04a0489401e8b2110f578fbf3893dca1 | [
"Apache-2.0"
] | null | null | null | data_structure_lru_cache.py | macio-matheus/algorithms-and-data-structure-practices | 64d013ec04a0489401e8b2110f578fbf3893dca1 | [
"Apache-2.0"
] | null | null | null | # TODO IMPLEMENT all methods | 28 | 28 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a9361700cbe71d05ad4b59994758780039201fe | 150 | py | Python | src/bio2bel_ddr/constants.py | bio2bel/ddr | 6e4cae605d798c15049970a65d5a6fcf69255b36 | [
"MIT"
] | 1 | 2020-09-26T12:20:06.000Z | 2020-09-26T12:20:06.000Z | src/bio2bel_ddr/constants.py | bio2bel/ddr | 6e4cae605d798c15049970a65d5a6fcf69255b36 | [
"MIT"
] | 5 | 2019-01-22T14:13:10.000Z | 2019-02-08T14:43:01.000Z | src/bio2bel_ddr/constants.py | bio2bel/ddr | 6e4cae605d798c15049970a65d5a6fcf69255b36 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Constants for Bio2BEL DDR."""
from bio2bel import get_data_dir
MODULE_NAME = 'ddr'
DATA_DIR = get_data_dir(MODULE_NAME)
| 16.666667 | 36 | 0.706667 | 23 | 150 | 4.304348 | 0.608696 | 0.212121 | 0.20202 | 0.323232 | 0.40404 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.146667 | 150 | 8 | 37 | 18.75 | 0.75 | 0.326667 | 0 | 0 | 0 | 0 | 0.031579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
43686f7e315e83c00a00954dd79391a224fc1872 | 134 | py | Python | ckanext/example_theme/v01_empty_extension/plugin.py | florianm/ckan | 1cfd98d591ac70b4eb81048bcd227b6c1354b1bf | [
"Apache-2.0"
] | 12 | 2015-08-28T16:59:07.000Z | 2020-03-08T01:39:30.000Z | ckanext/example_theme/v01_empty_extension/plugin.py | florianm/ckan | 1cfd98d591ac70b4eb81048bcd227b6c1354b1bf | [
"Apache-2.0"
] | 13 | 2019-05-02T21:01:28.000Z | 2020-10-20T23:34:48.000Z | ckanext/example_theme/v01_empty_extension/plugin.py | florianm/ckan | 1cfd98d591ac70b4eb81048bcd227b6c1354b1bf | [
"Apache-2.0"
] | 10 | 2015-05-08T04:33:20.000Z | 2020-03-03T15:17:58.000Z | import ckan.plugins as plugins
class ExampleThemePlugin(plugins.SingletonPlugin):
'''An example theme plugin.
'''
pass
| 14.888889 | 50 | 0.708955 | 14 | 134 | 6.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201493 | 134 | 8 | 51 | 16.75 | 0.88785 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
43ab2ae426837b41e6b2c483e51eb3750b3b0b4e | 168 | py | Python | dashboard/admin.py | Miranshox/Oquvportali | ac5439d766f53c3a381968cb4b63d2b3ae7ffe48 | [
"MIT"
] | null | null | null | dashboard/admin.py | Miranshox/Oquvportali | ac5439d766f53c3a381968cb4b63d2b3ae7ffe48 | [
"MIT"
] | null | null | null | dashboard/admin.py | Miranshox/Oquvportali | ac5439d766f53c3a381968cb4b63d2b3ae7ffe48 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . models import *
# Register your models here.
admin.site.register(Notes)
admin.site.register(Homework)
admin.site.register(Todo) | 24 | 32 | 0.797619 | 24 | 168 | 5.583333 | 0.541667 | 0.201493 | 0.380597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10119 | 168 | 7 | 33 | 24 | 0.887417 | 0.154762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
43ca18d1deac1b210541a2d3a9be3c8fcd5ef41d | 91 | py | Python | stocklab_twse/error.py | syoukore/stocklab-twse | de5c81083b3dffff4d85f1e3312588ce5d65eca2 | [
"MIT"
] | 1 | 2020-06-16T16:22:01.000Z | 2020-06-16T16:22:01.000Z | stocklab_twse/error.py | syoukore/stocklab-twse | de5c81083b3dffff4d85f1e3312588ce5d65eca2 | [
"MIT"
] | null | null | null | stocklab_twse/error.py | syoukore/stocklab-twse | de5c81083b3dffff4d85f1e3312588ce5d65eca2 | [
"MIT"
] | 1 | 2020-06-16T16:55:40.000Z | 2020-06-16T16:55:40.000Z | from stocklab.core.error import *
class InvalidDateRequested(ExceptionWithInfo):
pass
| 18.2 | 46 | 0.802198 | 9 | 91 | 8.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 4 | 47 | 22.75 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
602ad3d3d05bd33a17d034aafe06b0b6631b8f4b | 127 | py | Python | Decorators/decorators.py | sv549/calculator | 4b61234a5f3e628ec4adbc5e61b3d1b1ba831c3d | [
"MIT"
] | null | null | null | Decorators/decorators.py | sv549/calculator | 4b61234a5f3e628ec4adbc5e61b3d1b1ba831c3d | [
"MIT"
] | null | null | null | Decorators/decorators.py | sv549/calculator | 4b61234a5f3e628ec4adbc5e61b3d1b1ba831c3d | [
"MIT"
] | null | null | null | def decorator(func):
def decorator_do_twice(a,b):
func()
func()
return decorator_do_twice()
| 18.142857 | 36 | 0.559055 | 15 | 127 | 4.466667 | 0.533333 | 0.358209 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338583 | 127 | 6 | 37 | 21.166667 | 0.797619 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
604a6963e95ccc4763ae09fce4c180845573802c | 156 | py | Python | scripts/rewards/boost/boost_arbitrum.py | gosuto-ai/badger-rewards | 45a7cefce2035bc385bebf5f103780c7ff614304 | [
"MIT"
] | 3 | 2022-01-05T20:33:35.000Z | 2022-02-09T16:07:30.000Z | scripts/rewards/boost/boost_arbitrum.py | gosuto-ai/badger-rewards | 45a7cefce2035bc385bebf5f103780c7ff614304 | [
"MIT"
] | 341 | 2021-08-04T13:01:21.000Z | 2022-03-31T19:46:30.000Z | scripts/rewards/boost/boost_arbitrum.py | gosuto-ai/badger-rewards | 45a7cefce2035bc385bebf5f103780c7ff614304 | [
"MIT"
] | 3 | 2021-09-07T12:54:27.000Z | 2021-12-22T13:27:23.000Z | from helpers.enums import Network
from scripts.rewards.utils.boost import generate_boosts
if __name__ == "__main__":
generate_boosts(Network.Arbitrum)
| 26 | 55 | 0.807692 | 20 | 156 | 5.8 | 0.75 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 156 | 5 | 56 | 31.2 | 0.84058 | 0 | 0 | 0 | 1 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
60507b3de65d7e941c885ac259b1a5e41989ee37 | 170 | py | Python | app/src/schemas/__init__.py | fpaludi/StreamVideo | 72c14a13f27c96731d35f927b380494d6ea2b9a8 | [
"MIT"
] | null | null | null | app/src/schemas/__init__.py | fpaludi/StreamVideo | 72c14a13f27c96731d35f927b380494d6ea2b9a8 | [
"MIT"
] | null | null | null | app/src/schemas/__init__.py | fpaludi/StreamVideo | 72c14a13f27c96731d35f927b380494d6ea2b9a8 | [
"MIT"
] | null | null | null | from schemas.user import User, UserCreate, UserUpdate
from schemas.book import Book, BookCreate, BookUpdate
from schemas.review import Review, ReviewCreate, ReviewUpdate
| 42.5 | 61 | 0.841176 | 21 | 170 | 6.809524 | 0.571429 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 170 | 3 | 62 | 56.666667 | 0.940789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
605320fdc84d56d7695eb34d5eb595818fbe79b6 | 21 | py | Python | src/quick_pypi/__init__.py | dhchenx/quick-pypi | 6f41793fd1729bdc4daf05f3fc5836c4e037ab99 | [
"MIT"
] | null | null | null | src/quick_pypi/__init__.py | dhchenx/quick-pypi | 6f41793fd1729bdc4daf05f3fc5836c4e037ab99 | [
"MIT"
] | null | null | null | src/quick_pypi/__init__.py | dhchenx/quick-pypi | 6f41793fd1729bdc4daf05f3fc5836c4e037ab99 | [
"MIT"
] | null | null | null | from .deploy import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
606892cb95ef2f0a3b0922586e1ac1dbf057b44a | 61,003 | py | Python | tests/test_packages/test_skills/test_generic_buyer/test_handlers.py | valory-xyz/open-aea | 80ac202c6b5413709be1b7a71fd712d97b587fef | [
"Apache-2.0"
] | 28 | 2021-10-31T18:54:14.000Z | 2022-03-17T13:10:43.000Z | tests/test_packages/test_skills/test_generic_buyer/test_handlers.py | valory-xyz/open-aea | 80ac202c6b5413709be1b7a71fd712d97b587fef | [
"Apache-2.0"
] | 66 | 2021-10-31T11:55:48.000Z | 2022-03-31T06:26:23.000Z | tests/test_packages/test_skills/test_generic_buyer/test_handlers.py | valory-xyz/open-aea | 80ac202c6b5413709be1b7a71fd712d97b587fef | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2021 Valory AG
# Copyright 2018-2019 Fetch.AI Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ... | 39.179833 | 159 | 0.631739 | 6,184 | 61,003 | 5.90249 | 0.054657 | 0.053012 | 0.018493 | 0.021862 | 0.856168 | 0.827402 | 0.799348 | 0.790937 | 0.763267 | 0.744254 | 0 | 0.003582 | 0.286084 | 61,003 | 1,556 | 160 | 39.205013 | 0.834539 | 0.076652 | 0 | 0.691742 | 0 | 0.000818 | 0.095744 | 0.037525 | 0 | 0 | 0 | 0 | 0.08749 | 1 | 0.035977 | false | 0 | 0.016353 | 0 | 0.061325 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71665bea64bd67f458aa304fbd03696fff5bceee | 44 | py | Python | testcontainers/google/__init__.py | FrancisLfg/testcontainers-python | d9bd61a32194b821dfdb432e77f70b7ba7e8b9d3 | [
"Apache-2.0"
] | null | null | null | testcontainers/google/__init__.py | FrancisLfg/testcontainers-python | d9bd61a32194b821dfdb432e77f70b7ba7e8b9d3 | [
"Apache-2.0"
] | null | null | null | testcontainers/google/__init__.py | FrancisLfg/testcontainers-python | d9bd61a32194b821dfdb432e77f70b7ba7e8b9d3 | [
"Apache-2.0"
] | null | null | null | from .pubsub import PubSubContainer # noqa
| 22 | 43 | 0.795455 | 5 | 44 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 1 | 44 | 44 | 0.945946 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7172456d8479c3d74d8b85d601e9972ffde1b942 | 142 | py | Python | menu/__init__.py | grecoe/Python-Command-Line-Utility | e98efb51aa4900e6afca086f1a7886ec3889de40 | [
"MIT"
] | null | null | null | menu/__init__.py | grecoe/Python-Command-Line-Utility | e98efb51aa4900e6afca086f1a7886ec3889de40 | [
"MIT"
] | null | null | null | menu/__init__.py | grecoe/Python-Command-Line-Utility | e98efb51aa4900e6afca086f1a7886ec3889de40 | [
"MIT"
] | null | null | null | from menu.menuaction import MenuAction
from menu.menuitem import MenuItem
from menu.appmenu import Menu
from menu.loader import FunctionLoader | 35.5 | 38 | 0.866197 | 20 | 142 | 6.15 | 0.4 | 0.260163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 142 | 4 | 39 | 35.5 | 0.968504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
718b93b9868f0ac90fc79234f91a76d0f7670a55 | 51 | py | Python | bindings/pydairlib/lcm/__init__.py | HaoxiangYou/dairlib | 30eb15ec0bc62ec0dbddd5c30d5c286a9306b567 | [
"BSD-3-Clause"
] | null | null | null | bindings/pydairlib/lcm/__init__.py | HaoxiangYou/dairlib | 30eb15ec0bc62ec0dbddd5c30d5c286a9306b567 | [
"BSD-3-Clause"
] | null | null | null | bindings/pydairlib/lcm/__init__.py | HaoxiangYou/dairlib | 30eb15ec0bc62ec0dbddd5c30d5c286a9306b567 | [
"BSD-3-Clause"
] | null | null | null | from .lcm_trajectory import *
from .lcm_py import * | 25.5 | 29 | 0.784314 | 8 | 51 | 4.75 | 0.625 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 30 | 25.5 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71a36531fda6adb2ac1f5ab719cf6d5bdb0b5ac0 | 13,680 | py | Python | tf_slim/ops/sparse_ops_test.py | ShanuDey/tf-slim | 19c840abfa6de567d760254c42ea68760cf5d9f0 | [
"Apache-2.0"
] | 1 | 2020-10-01T23:37:41.000Z | 2020-10-01T23:37:41.000Z | tf_slim/ops/sparse_ops_test.py | ShanuDey/tf-slim | 19c840abfa6de567d760254c42ea68760cf5d9f0 | [
"Apache-2.0"
] | null | null | null | tf_slim/ops/sparse_ops_test.py | ShanuDey/tf-slim | 19c840abfa6de567d760254c42ea68760cf5d9f0 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 40.473373 | 80 | 0.617544 | 1,936 | 13,680 | 4.134298 | 0.086777 | 0.025237 | 0.015742 | 0.017491 | 0.821214 | 0.784358 | 0.769365 | 0.758496 | 0.741504 | 0.727511 | 0 | 0.057738 | 0.223904 | 13,680 | 337 | 81 | 40.593472 | 0.696148 | 0.050804 | 0 | 0.573944 | 0 | 0 | 0.004088 | 0 | 0 | 0 | 0 | 0 | 0.228873 | 1 | 0.084507 | false | 0 | 0.03169 | 0 | 0.126761 | 0.003521 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71d47193641202ca6550fbc7ba09aaf8b8e1d07f | 11,669 | py | Python | tests/test_relative_ordering.py | Joacchim/pytest-order | 1e873d5c2b67211ed3bc578ee72bb3d986906532 | [
"MIT"
] | 41 | 2021-03-16T07:57:00.000Z | 2022-03-01T10:02:10.000Z | tests/test_relative_ordering.py | Joacchim/pytest-order | 1e873d5c2b67211ed3bc578ee72bb3d986906532 | [
"MIT"
] | 39 | 2021-03-04T16:50:04.000Z | 2022-02-18T18:51:14.000Z | tests/test_relative_ordering.py | Joacchim/pytest-order | 1e873d5c2b67211ed3bc578ee72bb3d986906532 | [
"MIT"
] | 9 | 2021-03-04T18:27:12.000Z | 2021-12-16T06:46:13.000Z | # -*- coding: utf-8 -*-
from textwrap import dedent
import pytest
def test_relative(item_names_for):
test_content = (
"""
import pytest
@pytest.mark.order(after="test_second")
def test_third():
pass
def test_second():
pass
@pytest.mark.or... | 21.649351 | 79 | 0.511441 | 1,344 | 11,669 | 4.146577 | 0.078125 | 0.118069 | 0.123811 | 0.08613 | 0.834918 | 0.809079 | 0.751121 | 0.739638 | 0.665351 | 0.655661 | 0 | 0.020808 | 0.365755 | 11,669 | 538 | 80 | 21.689591 | 0.732198 | 0.0018 | 0 | 0.359477 | 0 | 0 | 0.23365 | 0.056084 | 0 | 0 | 0 | 0 | 0.156863 | 1 | 0.137255 | false | 0.065359 | 0.013072 | 0 | 0.150327 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e07f17a37f07a5b9ae42815b42d0b94db6c28215 | 27,959 | py | Python | main/fluxes.py | crewsdw/Vlasov1D2V | 29d65efe68d3ea027e1067d433122cc4acd410c0 | [
"MIT"
] | 2 | 2021-11-14T20:18:30.000Z | 2021-11-27T02:22:44.000Z | main/fluxes.py | crewsdw/Vlasov1D2V | 29d65efe68d3ea027e1067d433122cc4acd410c0 | [
"MIT"
] | null | null | null | main/fluxes.py | crewsdw/Vlasov1D2V | 29d65efe68d3ea027e1067d433122cc4acd410c0 | [
"MIT"
] | null | null | null | import numpy as np
import cupy as cp
import time as timer
import matplotlib.pyplot as plt
def basis_product(flux, basis_arr, axis, permutation):
return cp.transpose(cp.tensordot(flux, basis_arr, axes=([axis], [1])),
axes=permutation)
class DGFlux:
def __init__(self, resolutions, ord... | 58.36952 | 120 | 0.465646 | 3,030 | 27,959 | 4.176568 | 0.073597 | 0.045516 | 0.091031 | 0.104544 | 0.821968 | 0.793915 | 0.764362 | 0.731331 | 0.710707 | 0.669538 | 0 | 0.03348 | 0.399621 | 27,959 | 478 | 121 | 58.491632 | 0.720422 | 0.677134 | 0 | 0.480392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.039216 | 0.009804 | 0.196078 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e09e94bd29e7c62776bfd33470a009ef5871c172 | 25 | py | Python | devlog/__init__.py | kachaMukabe/devlog | 40c34460598c2414e80b4dc0b6288de2b59208bc | [
"MIT"
] | null | null | null | devlog/__init__.py | kachaMukabe/devlog | 40c34460598c2414e80b4dc0b6288de2b59208bc | [
"MIT"
] | null | null | null | devlog/__init__.py | kachaMukabe/devlog | 40c34460598c2414e80b4dc0b6288de2b59208bc | [
"MIT"
] | null | null | null | from .devlog import main
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0c30871871f707c21fcdc9ad2916d1f07afaf3a | 27 | py | Python | Eldorado_Actor-Critic/source/networks/__init__.py | jbr-ai-labs/BAROCCO | 799341cd76be88745086289583fc95ff9a2bc72e | [
"Apache-2.0"
] | 3 | 2021-04-14T17:01:49.000Z | 2021-07-09T11:24:25.000Z | Eldorado_Actor-Critic/source/networks/__init__.py | jbr-ai-labs/BAROCCO | 799341cd76be88745086289583fc95ff9a2bc72e | [
"Apache-2.0"
] | null | null | null | Eldorado_Actor-Critic/source/networks/__init__.py | jbr-ai-labs/BAROCCO | 799341cd76be88745086289583fc95ff9a2bc72e | [
"Apache-2.0"
] | 2 | 2021-09-15T09:36:49.000Z | 2021-10-18T08:49:01.000Z | from .lawmaker import COMA
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0fe7a97f3ea29e5b8a1f777ce3091dc1c0954b8 | 1,523 | py | Python | model_build.py | kkhtun/Pneumonia_CXR_classifer | 17b2177c9f6e0d8236f0805743810bc34a1c807f | [
"MIT"
] | null | null | null | model_build.py | kkhtun/Pneumonia_CXR_classifer | 17b2177c9f6e0d8236f0805743810bc34a1c807f | [
"MIT"
] | null | null | null | model_build.py | kkhtun/Pneumonia_CXR_classifer | 17b2177c9f6e0d8236f0805743810bc34a1c807f | [
"MIT"
] | null | null | null | from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Conv2D, MaxPooling2D, Flatten, Dropout
def build_model(input_size):
model = Sequential()
model.add(Conv2D(filters=8, kernel_size=(7,7), padding='same', activation='relu', input_shape=input_size))
model.a... | 44.794118 | 111 | 0.68155 | 214 | 1,523 | 4.761682 | 0.182243 | 0.149166 | 0.13739 | 0.206084 | 0.743867 | 0.743867 | 0.743867 | 0.743867 | 0.743867 | 0.743867 | 0 | 0.055387 | 0.134603 | 1,523 | 34 | 112 | 44.794118 | 0.717754 | 0 | 0 | 0.541667 | 0 | 0 | 0.061033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.083333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46173e192bbfad78f8b000a16be7ba222ae95227 | 138 | py | Python | textbeat/run.py | idbrii/textbeat | 0f34afc9f72e04942a77c923f1bbfe5d5f7632a8 | [
"MIT"
] | 231 | 2018-08-18T08:10:09.000Z | 2022-03-21T02:35:19.000Z | textbeat/run.py | idbrii/textbeat | 0f34afc9f72e04942a77c923f1bbfe5d5f7632a8 | [
"MIT"
] | 9 | 2018-09-15T20:53:42.000Z | 2022-02-04T20:16:18.000Z | textbeat/run.py | idbrii/textbeat | 0f34afc9f72e04942a77c923f1bbfe5d5f7632a8 | [
"MIT"
] | 7 | 2019-02-21T00:56:35.000Z | 2022-02-20T16:32:10.000Z | from __future__ import absolute_import, unicode_literals, print_function, generators
# import textbeat
# def run():
# textbeat.main()
| 27.6 | 84 | 0.775362 | 16 | 138 | 6.25 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137681 | 138 | 4 | 85 | 34.5 | 0.840336 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1c9d96efe061579248b80ee18b73474ab885e95a | 42 | py | Python | modules/__init__.py | franccesco/spi-work | efbaaf682687684a96f93ddd298367aa7b8cbc60 | [
"Apache-2.0"
] | 1 | 2017-08-24T20:50:22.000Z | 2017-08-24T20:50:22.000Z | modules/__init__.py | franccesco/spi-work | efbaaf682687684a96f93ddd298367aa7b8cbc60 | [
"Apache-2.0"
] | 3 | 2017-08-24T19:25:00.000Z | 2017-11-10T23:28:24.000Z | modules/__init__.py | franccesco/spi-work | efbaaf682687684a96f93ddd298367aa7b8cbc60 | [
"Apache-2.0"
] | null | null | null | from modules import file_operations as io
| 21 | 41 | 0.857143 | 7 | 42 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ca163619862d79a83c96263d7c8984427396fbd | 350 | py | Python | src/nlu/extractors/__init__.py | phamnam-mta/know-life | f7c226c41e315f21b5d7fe2ccbc9ec4f9961ed1d | [
"MIT"
] | null | null | null | src/nlu/extractors/__init__.py | phamnam-mta/know-life | f7c226c41e315f21b5d7fe2ccbc9ec4f9961ed1d | [
"MIT"
] | null | null | null | src/nlu/extractors/__init__.py | phamnam-mta/know-life | f7c226c41e315f21b5d7fe2ccbc9ec4f9961ed1d | [
"MIT"
] | null | null | null | from src.nlu.extractors.model.xlmr import XLMR
from src.nlu.extractors.model.mbert import mBERT
from src.nlu.extractors.model.mdapt import mDAPT
from src.nlu.extractors.model.biobert import BioBERT
from src.nlu.extractors.model.hnbertvn import HnBERTvn
from src.nlu.extractors.model.phobert import phoBERT
from src.nlu.e... | 50 | 54 | 0.842857 | 56 | 350 | 5.267857 | 0.232143 | 0.166102 | 0.237288 | 0.474576 | 0.59322 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077143 | 350 | 7 | 55 | 50 | 0.913313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ce6a6cbf203a39735e5ef36d5733ac78b840993 | 150 | py | Python | open_data/badge/admin.py | balfroim/OpenData | f0334dae16c2806e81f7d2d53adeabc72403ecce | [
"MIT"
] | null | null | null | open_data/badge/admin.py | balfroim/OpenData | f0334dae16c2806e81f7d2d53adeabc72403ecce | [
"MIT"
] | null | null | null | open_data/badge/admin.py | balfroim/OpenData | f0334dae16c2806e81f7d2d53adeabc72403ecce | [
"MIT"
] | null | null | null | from django.contrib import admin
from badge.models import BadgeAward
@admin.register(BadgeAward)
class BadgeAwardAdmin(admin.ModelAdmin):
pass
| 16.666667 | 40 | 0.806667 | 18 | 150 | 6.722222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126667 | 150 | 8 | 41 | 18.75 | 0.923664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e80d25c5355ba912680a62a44f24dbc85d4a047e | 180 | py | Python | tests/integration/roots/test-kitchensink/kaybee_plugins/kitchensink_toctree.py | pauleveritt/kaybee | a00a718aaaa23b2d12db30dfacb6b2b6ec84459c | [
"Apache-2.0"
] | 2 | 2017-11-08T19:55:57.000Z | 2018-12-21T12:41:41.000Z | tests/integration/roots/test-kitchensink/kaybee_plugins/kitchensink_toctree.py | pauleveritt/kaybee | a00a718aaaa23b2d12db30dfacb6b2b6ec84459c | [
"Apache-2.0"
] | null | null | null | tests/integration/roots/test-kitchensink/kaybee_plugins/kitchensink_toctree.py | pauleveritt/kaybee | a00a718aaaa23b2d12db30dfacb6b2b6ec84459c | [
"Apache-2.0"
] | 1 | 2018-10-13T08:59:29.000Z | 2018-10-13T08:59:29.000Z | from kaybee.app import kb
from kaybee.plugins.articles.base_toctree import BaseToctree
@kb.toctree(context='kitchensink', system_order=40)
class MyToctree(BaseToctree):
pass
| 22.5 | 60 | 0.805556 | 24 | 180 | 5.958333 | 0.75 | 0.13986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.105556 | 180 | 7 | 61 | 25.714286 | 0.875776 | 0 | 0 | 0 | 0 | 0 | 0.061111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e81949fa6b024f0f8e29111c08292e1b8bcf20e2 | 287 | py | Python | src/keras/keras/engine/__init__.py | lu791019/iii_HA_Image_Recognition_DL | d5f56d62af6d3aac1c216ca4ff309db08a8c9072 | [
"Apache-2.0"
] | null | null | null | src/keras/keras/engine/__init__.py | lu791019/iii_HA_Image_Recognition_DL | d5f56d62af6d3aac1c216ca4ff309db08a8c9072 | [
"Apache-2.0"
] | null | null | null | src/keras/keras/engine/__init__.py | lu791019/iii_HA_Image_Recognition_DL | d5f56d62af6d3aac1c216ca4ff309db08a8c9072 | [
"Apache-2.0"
] | null | null | null | # note: `Node` is an internal class,
# it isn't meant to be used by Keras users.
from .input_layer import Input
from .input_layer import InputLayer
from .base_layer import InputSpec
from .base_layer import Layer
from .network import get_source_inputs
from .training import Model
| 31.888889 | 44 | 0.780488 | 46 | 287 | 4.73913 | 0.630435 | 0.201835 | 0.12844 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 287 | 8 | 45 | 35.875 | 0.915966 | 0.264808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c4f204d98285ca30a0b34fc4bcf1c7e61a47cfe | 171 | py | Python | 0x03-python-data_structures/2-replace_in_list.py | C-distin/alx-higher_level_programming | ee018135b24ac07d40f2309a4febf21b8a25aee4 | [
"MIT"
] | null | null | null | 0x03-python-data_structures/2-replace_in_list.py | C-distin/alx-higher_level_programming | ee018135b24ac07d40f2309a4febf21b8a25aee4 | [
"MIT"
] | null | null | null | 0x03-python-data_structures/2-replace_in_list.py | C-distin/alx-higher_level_programming | ee018135b24ac07d40f2309a4febf21b8a25aee4 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
def replace_in_list(my_list, idx, element):
if idx < 0 or idx >= len(my_list):
return my_list
my_list[idx] = element
return my_list
| 24.428571 | 43 | 0.654971 | 29 | 171 | 3.62069 | 0.517241 | 0.285714 | 0.190476 | 0.247619 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.233918 | 171 | 6 | 44 | 28.5 | 0.78626 | 0.099415 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1c803f705c4805bd1080ecceb505dfc248025bd8 | 191 | py | Python | condense/optimizer/layer_operations/__init__.py | SirBubbls/condense | e28f008477fe75c24b43cc853b2dc6d923f01813 | [
"MIT"
] | null | null | null | condense/optimizer/layer_operations/__init__.py | SirBubbls/condense | e28f008477fe75c24b43cc853b2dc6d923f01813 | [
"MIT"
] | null | null | null | condense/optimizer/layer_operations/__init__.py | SirBubbls/condense | e28f008477fe75c24b43cc853b2dc6d923f01813 | [
"MIT"
] | null | null | null | """This module define base classes and implementations for layer operatinos."""
import condense.optimizer.layer_operations.unit_prune
import condense.optimizer.layer_operations.weight_prune
| 38.2 | 79 | 0.853403 | 24 | 191 | 6.625 | 0.708333 | 0.176101 | 0.289308 | 0.352201 | 0.477987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078534 | 191 | 4 | 80 | 47.75 | 0.903409 | 0.382199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1c90941d5dc39e44b487e1c9f49dcfd1e6eb0502 | 46 | py | Python | helloworld.py | ewonsok/docker-starter | 73dce2d31aedaa2fd3c889294141343afcd46171 | [
"Apache-2.0"
] | null | null | null | helloworld.py | ewonsok/docker-starter | 73dce2d31aedaa2fd3c889294141343afcd46171 | [
"Apache-2.0"
] | null | null | null | helloworld.py | ewonsok/docker-starter | 73dce2d31aedaa2fd3c889294141343afcd46171 | [
"Apache-2.0"
] | null | null | null | print 'hello world'
print ("hello wolrdworld") | 23 | 26 | 0.76087 | 6 | 46 | 5.833333 | 0.666667 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 2 | 26 | 23 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0.574468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
98df712019c0d285538b787236ce41456cf431fb | 9,471 | py | Python | tests/importer/test_eitem_priorities.py | zzacharo/cds-ils | 6816c348e209607b97583acc40fb37dea0c62418 | [
"MIT"
] | 6 | 2020-09-18T00:13:38.000Z | 2021-11-14T17:12:19.000Z | tests/importer/test_eitem_priorities.py | zzacharo/cds-ils | 6816c348e209607b97583acc40fb37dea0c62418 | [
"MIT"
] | 321 | 2020-08-28T15:42:25.000Z | 2022-03-14T15:11:50.000Z | tests/importer/test_eitem_priorities.py | zzacharo/cds-ils | 6816c348e209607b97583acc40fb37dea0c62418 | [
"MIT"
] | 8 | 2019-07-10T07:02:08.000Z | 2020-08-10T14:07:25.000Z | import pytest
from invenio_app_ils.proxies import current_app_ils
from invenio_pidstore.errors import PIDDeletedError
from invenio_search import current_search
from cds_ils.importer.eitems.importer import EItemImporter
def test_replace_lower_priority(importer_test_data):
document_cls = current_app_ils.document_r... | 38.5 | 77 | 0.55823 | 899 | 9,471 | 5.491657 | 0.121246 | 0.060766 | 0.043751 | 0.065627 | 0.85477 | 0.839376 | 0.807981 | 0.802107 | 0.789953 | 0.756937 | 0 | 0.003359 | 0.371239 | 9,471 | 245 | 78 | 38.657143 | 0.825693 | 0.0605 | 0 | 0.670103 | 0 | 0 | 0.106805 | 0 | 0 | 0 | 0 | 0 | 0.07732 | 1 | 0.020619 | false | 0 | 0.21134 | 0 | 0.231959 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98e425e7a0ea49c5409c1ddc01e5786177247549 | 26 | py | Python | subsync/__init__.py | 0xflotus/subsync | 244afbb58e2bdeba8cc833ff330d7d27773b9667 | [
"MIT"
] | 1 | 2019-02-27T02:07:24.000Z | 2019-02-27T02:07:24.000Z | subsync/__init__.py | shaunstanislauslau/subsync | 42f95e652451ce29f24c9d75ddc78ad37f26359d | [
"MIT"
] | null | null | null | subsync/__init__.py | shaunstanislauslau/subsync | 42f95e652451ce29f24c9d75ddc78ad37f26359d | [
"MIT"
] | null | null | null | from .subsync import main
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98f29040404605bf7678c5a1051fd94275fea713 | 346 | py | Python | tests/test_phenotyper.py | Varstation/pypgx | e81ac2dd16aaf54806630a2548a3b86d230eccd9 | [
"MIT"
] | null | null | null | tests/test_phenotyper.py | Varstation/pypgx | e81ac2dd16aaf54806630a2548a3b86d230eccd9 | [
"MIT"
] | null | null | null | tests/test_phenotyper.py | Varstation/pypgx | e81ac2dd16aaf54806630a2548a3b86d230eccd9 | [
"MIT"
] | null | null | null | from pypgx.phenotyper import phenotyper
def test_phenotyper():
assert phenotyper("cyp2d6", "*1", "*1") == "normal_metabolizer"
assert phenotyper("cyp2d6", "*1", "*4") == "intermediate_metabolizer"
assert phenotyper("cyp2d6", "*1", "*2x2") == "ultrarapid_metabolizer"
assert phenotyper("cyp2d6", "*4", "*... | 43.25 | 73 | 0.66763 | 36 | 346 | 6.277778 | 0.472222 | 0.283186 | 0.389381 | 0.30531 | 0.300885 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056856 | 0.135838 | 346 | 7 | 74 | 49.428571 | 0.698997 | 0 | 0 | 0 | 0 | 0 | 0.352601 | 0.132948 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c70e183f0e711167e7196cafe2bd015d010f4ad3 | 29 | py | Python | tests/regressiontests/templates/templatetags/broken_tag.py | Smarsh/django | ffb738e0f56027e16564a79b709cbf44596c2335 | [
"BSD-3-Clause"
] | 19 | 2015-05-01T19:59:03.000Z | 2021-12-09T08:03:16.000Z | tests/regressiontests/templates/templatetags/broken_tag.py | alex/django-old | 6f964c8f03e5d25c9e36898a001c8463f82fbb81 | [
"BSD-3-Clause"
] | 1 | 2018-01-03T15:26:49.000Z | 2018-01-03T15:26:49.000Z | tests/regressiontests/templates/templatetags/broken_tag.py | alex/django-old | 6f964c8f03e5d25c9e36898a001c8463f82fbb81 | [
"BSD-3-Clause"
] | 30 | 2015-03-25T19:40:07.000Z | 2021-05-28T22:59:26.000Z | from django import Xtemplate
| 14.5 | 28 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7167662f8fc2e8cfe340da80864e6fdc09c8df8 | 13,513 | py | Python | tests/test_task_autosql.py | robin-173/sayn | d1cf36b92fad6a1798b57ad80abb22e8386e0e86 | [
"Apache-2.0"
] | 105 | 2020-04-23T17:04:34.000Z | 2022-03-18T15:47:52.000Z | tests/test_task_autosql.py | robin-173/sayn | d1cf36b92fad6a1798b57ad80abb22e8386e0e86 | [
"Apache-2.0"
] | 53 | 2020-06-12T14:41:12.000Z | 2022-01-24T13:04:58.000Z | tests/test_task_autosql.py | robin-173/sayn | d1cf36b92fad6a1798b57ad80abb22e8386e0e86 | [
"Apache-2.0"
] | 9 | 2020-04-23T16:56:23.000Z | 2021-08-16T10:54:48.000Z | from contextlib import contextmanager
import pytest
from sayn.tasks.autosql import AutoSqlTask
from . import inside_dir, simulate_task, tables_with_data, validate_table, clear_tables
@contextmanager
def autosql_task(tmp_path, target_db, sql, data=None, **kwargs):
"""Creates an autosql task and drops the tables/... | 31.57243 | 97 | 0.562199 | 1,602 | 13,513 | 4.483146 | 0.111735 | 0.117934 | 0.104428 | 0.089808 | 0.778892 | 0.7555 | 0.742412 | 0.738234 | 0.727792 | 0.71164 | 0 | 0.008451 | 0.308222 | 13,513 | 427 | 98 | 31.64637 | 0.759842 | 0.079331 | 0 | 0.728863 | 0 | 0 | 0.183834 | 0.007929 | 0 | 0 | 0 | 0 | 0.125364 | 1 | 0.06414 | false | 0 | 0.011662 | 0 | 0.075802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7d8cddc3455f32fa770e609e499fde86e234ad1 | 8,103 | py | Python | py_ml_utils/test/test_missingValueInferer.py | goldentom42/py_ml_utils | 95a2788dd78b38d13f2c7c0e311319aac48f028a | [
"Apache-2.0"
] | 29 | 2017-10-26T01:20:07.000Z | 2021-09-28T08:53:29.000Z | py_ml_utils/test/test_missingValueInferer.py | goldentom42/py_ml_utils | 95a2788dd78b38d13f2c7c0e311319aac48f028a | [
"Apache-2.0"
] | null | null | null | py_ml_utils/test/test_missingValueInferer.py | goldentom42/py_ml_utils | 95a2788dd78b38d13f2c7c0e311319aac48f028a | [
"Apache-2.0"
] | 12 | 2017-12-08T13:14:58.000Z | 2022-03-04T14:06:32.000Z | from unittest import TestCase
import pandas as pd
import numpy as np
from py_ml_utils.missing_value_inferer import *
class TestMissingValueInferer(TestCase):
def test_infer_missing_value_constant(self):
""" Test MeanMissingValueInferer, replacing np.nan by mean """
idx = np.arange(12)
np.... | 55.5 | 120 | 0.617055 | 1,224 | 8,103 | 3.974673 | 0.099673 | 0.043165 | 0.050565 | 0.050976 | 0.837205 | 0.805961 | 0.7852 | 0.757246 | 0.752724 | 0.680164 | 0 | 0.067366 | 0.223251 | 8,103 | 145 | 121 | 55.882759 | 0.705593 | 0.093916 | 0 | 0.486726 | 0 | 0 | 0.014584 | 0 | 0 | 0 | 0 | 0 | 0.238938 | 1 | 0.088496 | false | 0 | 0.035398 | 0 | 0.132743 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7e3da80234ab4344c571bc28635eab3656b037e | 44 | py | Python | iopipe/contrib/eventinfo/__init__.py | skeptycal/iopipe-python | f6afba36663751779cba55ce53c0e1f2042df0d7 | [
"Apache-2.0"
] | 74 | 2016-08-18T14:26:50.000Z | 2021-11-21T10:58:32.000Z | iopipe/contrib/eventinfo/__init__.py | vemel/iopipe-python | 46c277f9447ddb00e544437ceaa7ba263a759c1d | [
"Apache-2.0"
] | 198 | 2016-08-18T18:52:43.000Z | 2021-05-09T10:01:14.000Z | iopipe/contrib/eventinfo/__init__.py | vemel/iopipe-python | 46c277f9447ddb00e544437ceaa7ba263a759c1d | [
"Apache-2.0"
] | 23 | 2016-08-04T23:22:21.000Z | 2020-01-20T13:54:27.000Z | from .plugin import EventInfoPlugin # noqa
| 22 | 43 | 0.795455 | 5 | 44 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 1 | 44 | 44 | 0.945946 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1be05a4c0c8940e843fa5cc5a5605dacc3928a16 | 122 | py | Python | lfd/datasets/__init__.py | Syhen/learn-from-datasets | 18b5104f1ea9f6b4e950e03958f27d7a12fdadbd | [
"MIT"
] | null | null | null | lfd/datasets/__init__.py | Syhen/learn-from-datasets | 18b5104f1ea9f6b4e950e03958f27d7a12fdadbd | [
"MIT"
] | null | null | null | lfd/datasets/__init__.py | Syhen/learn-from-datasets | 18b5104f1ea9f6b4e950e03958f27d7a12fdadbd | [
"MIT"
] | null | null | null | """
@created by: heyao
@created at: 2021-12-08 14:29:59
"""
from lfd.datasets.disaster_tweets import load_disaster_tweets
| 20.333333 | 61 | 0.762295 | 20 | 122 | 4.5 | 0.85 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 0.106557 | 122 | 5 | 62 | 24.4 | 0.697248 | 0.418033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
40288ecd8bda7bf80913d4eb7d294b9d17c9f5c7 | 141 | py | Python | app/crossref/__init__.py | ETspielberg/sdg_query_execution | 6e95d4d6e158f72e2aa61c64ba3aac5980b14e5b | [
"MIT"
] | null | null | null | app/crossref/__init__.py | ETspielberg/sdg_query_execution | 6e95d4d6e158f72e2aa61c64ba3aac5980b14e5b | [
"MIT"
] | 2 | 2021-03-31T18:47:27.000Z | 2021-12-13T19:50:45.000Z | app/crossref/__init__.py | Aurora-Network-Global/sdg_query_execution | 74375faa41656adef13ab472c2f4f4b2097a955a | [
"MIT"
] | 2 | 2018-09-21T07:42:17.000Z | 2021-08-02T15:58:45.000Z | from flask import Blueprint
crossref_blueprint = Blueprint('crossref', __name__, template_folder='templates')
from . import crossref_routes | 28.2 | 81 | 0.822695 | 16 | 141 | 6.8125 | 0.625 | 0.311927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099291 | 141 | 5 | 82 | 28.2 | 0.858268 | 0 | 0 | 0 | 0 | 0 | 0.119718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
4064606009848858d0f02ec201eb30c9ec4026c9 | 26 | py | Python | terrascript/dnsimple/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/dnsimple/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/dnsimple/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | """2019-05-28 10:49:27"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40b9e672b206235e875a9efeb6c6d340d8d76656 | 48 | py | Python | scripts/qgis_fixes/fix_has_key.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | scripts/qgis_fixes/fix_has_key.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | scripts/qgis_fixes/fix_has_key.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | from lib2to3.fixes.fix_has_key import FixHasKey
| 24 | 47 | 0.875 | 8 | 48 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.083333 | 48 | 1 | 48 | 48 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
40d43b3a580507d1430eede16d1977c3566e8642 | 29 | py | Python | envs/wrappers/gym_wrapper/__init__.py | kmakeev/RLs | c47e9b504db157731c26d7c881719a4fb54cc355 | [
"Apache-2.0"
] | 1 | 2021-01-05T12:08:56.000Z | 2021-01-05T12:08:56.000Z | envs/wrappers/gym_wrapper/__init__.py | kmakeev/RLs | c47e9b504db157731c26d7c881719a4fb54cc355 | [
"Apache-2.0"
] | null | null | null | envs/wrappers/gym_wrapper/__init__.py | kmakeev/RLs | c47e9b504db157731c26d7c881719a4fb54cc355 | [
"Apache-2.0"
] | 1 | 2021-01-24T13:29:16.000Z | 2021-01-24T13:29:16.000Z | from .gym_env import gym_envs | 29 | 29 | 0.862069 | 6 | 29 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
40ffaa95e126a6a2bc57ac54a0676079d98a1487 | 50 | py | Python | pympg/__init__.py | DeveloperNeon/pympg | c9c15319cdbafe6fae1ed4491548f32099f40de4 | [
"MIT"
] | null | null | null | pympg/__init__.py | DeveloperNeon/pympg | c9c15319cdbafe6fae1ed4491548f32099f40de4 | [
"MIT"
] | null | null | null | pympg/__init__.py | DeveloperNeon/pympg | c9c15319cdbafe6fae1ed4491548f32099f40de4 | [
"MIT"
] | null | null | null | from .gen.main import *
from .gen.apache import *
| 16.666667 | 25 | 0.72 | 8 | 50 | 4.5 | 0.625 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 26 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc09c1ccae4f4294d21f6579d6ed5d711370d6d4 | 22,451 | py | Python | getGeneRegions.py | TaliaferroLab/AnalysisScripts | 3df37d2f8fca9bc402afe5ea870c42200fca1ed3 | [
"MIT"
] | null | null | null | getGeneRegions.py | TaliaferroLab/AnalysisScripts | 3df37d2f8fca9bc402afe5ea870c42200fca1ed3 | [
"MIT"
] | null | null | null | getGeneRegions.py | TaliaferroLab/AnalysisScripts | 3df37d2f8fca9bc402afe5ea870c42200fca1ed3 | [
"MIT"
] | 1 | 2021-10-30T07:37:19.000Z | 2021-10-30T07:37:19.000Z | #Given a genome annotation (ensembl preferably) and a genome sequence, and a list of transcript
#IDs that you are interested in, get coords and sequences for the 5' UTR, 3' UTR, and CDS
#regions of those transcripts
import gffutils
import os
from Bio import SeqIO
import argparse
import gzip
from operator import itemge... | 38.181973 | 147 | 0.665405 | 2,760 | 22,451 | 5.372826 | 0.107609 | 0.024074 | 0.007081 | 0.011127 | 0.792029 | 0.771192 | 0.751838 | 0.740306 | 0.732214 | 0.706723 | 0 | 0.022843 | 0.177141 | 22,451 | 587 | 148 | 38.247019 | 0.779853 | 0.15202 | 0 | 0.681122 | 0 | 0.005102 | 0.091744 | 0.021271 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017857 | null | null | 0.038265 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc0fff3fd8a148b2ef0409d43849e72b55221fc5 | 756 | py | Python | src/homicide_exploration/explore_helpers.py | ras9841/UP-STAT-2018 | cad06bfac3c12b4cb14c3b703e23c52cc391383a | [
"MIT"
] | null | null | null | src/homicide_exploration/explore_helpers.py | ras9841/UP-STAT-2018 | cad06bfac3c12b4cb14c3b703e23c52cc391383a | [
"MIT"
] | 1 | 2018-05-08T12:16:50.000Z | 2018-05-08T21:28:40.000Z | src/homicide_exploration/explore_helpers.py | ras9841/UP-STAT-2018 | cad06bfac3c12b4cb14c3b703e23c52cc391383a | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
def yPerX_numeric(xlabel, x, ylabel, y):
uniqueX = x.unique()
data = { ux : 0 for ux in uniqueX }
for ux in uniqueX:
xLocs = x.isin([ux])
yc = y[xLocs].sum()
data[ux] += yc
plt.figure()
plt.bar(uniqueX, l... | 25.2 | 56 | 0.583333 | 113 | 756 | 3.884956 | 0.318584 | 0.05467 | 0.063781 | 0.127563 | 0.792711 | 0.792711 | 0.792711 | 0.792711 | 0.792711 | 0.792711 | 0 | 0.003623 | 0.269841 | 756 | 29 | 57 | 26.068966 | 0.791667 | 0 | 0 | 0.740741 | 0 | 0 | 0.002646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.111111 | 0 | 0.185185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
905a0d8dbe9570c99cc5ad4052e1f062cae4c2f5 | 426 | py | Python | tatsu/model.py | bookofproofs/TatSu | 501875416c8c802bb518f35f1ae08d9ebf437af2 | [
"BSD-2-Clause"
] | 259 | 2017-05-22T04:33:21.000Z | 2022-03-29T00:20:35.000Z | tatsu/model.py | bookofproofs/TatSu | 501875416c8c802bb518f35f1ae08d9ebf437af2 | [
"BSD-2-Clause"
] | 160 | 2017-05-30T01:28:58.000Z | 2022-03-31T02:45:52.000Z | tatsu/model.py | bookofproofs/TatSu | 501875416c8c802bb518f35f1ae08d9ebf437af2 | [
"BSD-2-Clause"
] | 53 | 2017-05-22T05:00:58.000Z | 2022-01-04T16:06:17.000Z | from __future__ import annotations
from tatsu.ast import AST # noqa: F401
from tatsu.objectmodel import Node # noqa: F401
from tatsu.objectmodel import Node as ParseModel # noqa: F401
from tatsu.walkers import NodeWalker # noqa: F401
from tatsu.walkers impor... | 47.333333 | 64 | 0.673709 | 48 | 426 | 5.895833 | 0.354167 | 0.190813 | 0.212014 | 0.300353 | 0.480565 | 0.480565 | 0.268551 | 0 | 0 | 0 | 0 | 0.059016 | 0.284038 | 426 | 8 | 65 | 53.25 | 0.868852 | 0.152582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
908dd7de2dc6338c0c4434138d8a9aef5427b801 | 16,112 | py | Python | tests/terraform/module_loading/test_registry.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | 1 | 2022-02-20T21:20:39.000Z | 2022-02-20T21:20:39.000Z | tests/terraform/module_loading/test_registry.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | 3 | 2022-03-07T20:37:31.000Z | 2022-03-21T20:20:14.000Z | tests/terraform/module_loading/test_registry.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | null | null | null | import os
import shutil
import unittest
from contextlib import ExitStack as does_not_raise
from pathlib import Path
from unittest import mock
import pytest
from checkov.common.util.consts import DEFAULT_EXTERNAL_MODULES_DIR
from checkov.terraform.module_loading.loaders.bitbucket_loader import BitbucketLoader
from che... | 42.511873 | 136 | 0.669998 | 1,976 | 16,112 | 5.26417 | 0.075405 | 0.093444 | 0.065372 | 0.058546 | 0.88233 | 0.860219 | 0.799654 | 0.768506 | 0.757066 | 0.720246 | 0 | 0.014597 | 0.196375 | 16,112 | 378 | 137 | 42.624339 | 0.78877 | 0.008875 | 0 | 0.613497 | 0 | 0.110429 | 0.43493 | 0.26166 | 0 | 0 | 0 | 0.002646 | 0.095092 | 1 | 0.027607 | false | 0 | 0.03681 | 0 | 0.067485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90d1b1fe6209747c667789edc824243d9fcad89a | 25 | py | Python | robitcontrol/views/__init__.py | ToxicFrazzles/django-robitcontrol | e2e2ec287fb938354df54b09ed8e1bb061268208 | [
"MIT"
] | null | null | null | robitcontrol/views/__init__.py | ToxicFrazzles/django-robitcontrol | e2e2ec287fb938354df54b09ed8e1bb061268208 | [
"MIT"
] | null | null | null | robitcontrol/views/__init__.py | ToxicFrazzles/django-robitcontrol | e2e2ec287fb938354df54b09ed8e1bb061268208 | [
"MIT"
] | null | null | null | from .index import Index
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90de381ccd6da9221cde2b9681efc4c7ad019152 | 138 | py | Python | language_demos/input_output.py | t4d-classes/python_03222021_afternoon | c954702cf55c0f9d919ac32404a29830601883ba | [
"MIT"
] | null | null | null | language_demos/input_output.py | t4d-classes/python_03222021_afternoon | c954702cf55c0f9d919ac32404a29830601883ba | [
"MIT"
] | null | null | null | language_demos/input_output.py | t4d-classes/python_03222021_afternoon | c954702cf55c0f9d919ac32404a29830601883ba | [
"MIT"
] | null | null | null |
first_name = input("Please enter your name: ")
print(f"Your first name is: {first_name}")
print("Your first name is: " + first_name)
| 15.333333 | 46 | 0.688406 | 22 | 138 | 4.181818 | 0.409091 | 0.48913 | 0.282609 | 0.326087 | 0.521739 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 138 | 8 | 47 | 17.25 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 0.562963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
90fec3d65f8dcaed10674913c78f4670544cba11 | 3,932 | py | Python | cfgov/privacy/tests/test_views.py | lfatty/consumerfinance.gov | 4716b298dd92e21b280f10f113ccb39dbbaf3561 | [
"CC0-1.0"
] | null | null | null | cfgov/privacy/tests/test_views.py | lfatty/consumerfinance.gov | 4716b298dd92e21b280f10f113ccb39dbbaf3561 | [
"CC0-1.0"
] | null | null | null | cfgov/privacy/tests/test_views.py | lfatty/consumerfinance.gov | 4716b298dd92e21b280f10f113ccb39dbbaf3561 | [
"CC0-1.0"
] | null | null | null | from django.core import mail
from django.test import TestCase, override_settings
from django.urls import reverse
@override_settings(
FLAGS={'PRIVACY_FORMS': [('boolean', True)]},
PRIVACY_EMAIL_TARGET='email@foia.gov',
)
class TestRecordsAccessForm(TestCase):
def test_get_the_form(self):
response =... | 36.407407 | 100 | 0.578332 | 375 | 3,932 | 5.858667 | 0.224 | 0.050979 | 0.05462 | 0.040055 | 0.856623 | 0.856623 | 0.825671 | 0.825671 | 0.701866 | 0.701866 | 0 | 0.002567 | 0.30646 | 3,932 | 107 | 101 | 36.747664 | 0.80308 | 0.002543 | 0 | 0.680412 | 0 | 0 | 0.324745 | 0.070918 | 0 | 0 | 0 | 0 | 0.14433 | 1 | 0.061856 | false | 0 | 0.030928 | 0 | 0.113402 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2975d2422034af9a37099b11f9f759b94aa2cfbc | 108 | py | Python | app/main/__init__.py | edwinkipchumba/Blog-website | 4a287e5f1f9618f5cd9108c953c470f358d7355a | [
"MIT"
] | null | null | null | app/main/__init__.py | edwinkipchumba/Blog-website | 4a287e5f1f9618f5cd9108c953c470f358d7355a | [
"MIT"
] | null | null | null | app/main/__init__.py | edwinkipchumba/Blog-website | 4a287e5f1f9618f5cd9108c953c470f358d7355a | [
"MIT"
] | null | null | null | from flask import Blueprint
main = Blueprint('main',__name__)
# importing error
from . import views,error
| 15.428571 | 33 | 0.768519 | 14 | 108 | 5.642857 | 0.642857 | 0.329114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 6 | 34 | 18 | 0.858696 | 0.138889 | 0 | 0 | 0 | 0 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
4661edc82bcf53c96e7c94c10ed3ed97092033d9 | 27 | py | Python | install/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | install/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | install/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | from .main import installer | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
468696a816961bd4e1c32ac7dd2e50119c438d80 | 32 | py | Python | kaysync/algos/random.py | AmrMKayid/sync1 | 4e68e22a165d18cab8cf1e0158e4c4bf6cf400e8 | [
"MIT"
] | null | null | null | kaysync/algos/random.py | AmrMKayid/sync1 | 4e68e22a165d18cab8cf1e0158e4c4bf6cf400e8 | [
"MIT"
] | null | null | null | kaysync/algos/random.py | AmrMKayid/sync1 | 4e68e22a165d18cab8cf1e0158e4c4bf6cf400e8 | [
"MIT"
] | null | null | null | print("Better Random Agent! :D") | 32 | 32 | 0.71875 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
469db8dca40d6c1094bde4bc81dd368b742a7c60 | 155 | py | Python | icekit/utils/strings.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 52 | 2016-09-13T03:50:58.000Z | 2022-02-23T16:25:08.000Z | icekit/utils/strings.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 304 | 2016-08-11T14:17:30.000Z | 2020-07-22T13:35:18.000Z | icekit/utils/strings.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 12 | 2016-09-21T18:46:35.000Z | 2021-02-15T19:37:50.000Z | def is_empty(value):
"""
Return `True` if the given value is `None` or empty after `strip()`
"""
return value is None or not value.strip()
| 25.833333 | 71 | 0.619355 | 24 | 155 | 3.958333 | 0.583333 | 0.147368 | 0.231579 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251613 | 155 | 5 | 72 | 31 | 0.818966 | 0.432258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
310ebeed67c25d69e2b28a69211e2c4c7778abff | 66 | py | Python | test_hello.py | ivtransgruasortiz/ManageAccountsAndPasswords | 599a28b4fb824924c66e169557808f31774a010e | [
"MIT"
] | null | null | null | test_hello.py | ivtransgruasortiz/ManageAccountsAndPasswords | 599a28b4fb824924c66e169557808f31774a010e | [
"MIT"
] | null | null | null | test_hello.py | ivtransgruasortiz/ManageAccountsAndPasswords | 599a28b4fb824924c66e169557808f31774a010e | [
"MIT"
] | null | null | null | from hello import add
def test_add():
assert add(2, 3) == 5
| 11 | 25 | 0.621212 | 12 | 66 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.257576 | 66 | 5 | 26 | 13.2 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3152021b52b75e9749ec2fd7d6b51040ddeab4a0 | 15,227 | py | Python | skule_vote/backend/test_admin.py | albogdan/skvtemp | d792c27184ab5dfcea660f1e293048aa929f3493 | [
"MIT"
] | null | null | null | skule_vote/backend/test_admin.py | albogdan/skvtemp | d792c27184ab5dfcea660f1e293048aa929f3493 | [
"MIT"
] | null | null | null | skule_vote/backend/test_admin.py | albogdan/skvtemp | d792c27184ab5dfcea660f1e293048aa929f3493 | [
"MIT"
] | null | null | null | from datetime import timedelta
import random
from unittest.mock import patch
from django.conf import settings
from django.test import TestCase
from django.urls import reverse
from rest_framework import status
from backend.models import ElectionSession, Election, Candidate, Eligibility
from skule_vote.tests import Se... | 36.780193 | 100 | 0.614172 | 1,626 | 15,227 | 5.441574 | 0.121771 | 0.116976 | 0.047242 | 0.041591 | 0.811257 | 0.757346 | 0.727735 | 0.7092 | 0.7092 | 0.707505 | 0 | 0.010384 | 0.285348 | 15,227 | 413 | 101 | 36.869249 | 0.802702 | 0.050568 | 0 | 0.661538 | 0 | 0 | 0.199944 | 0.073288 | 0 | 0 | 0 | 0 | 0.141538 | 1 | 0.036923 | false | 0 | 0.027692 | 0 | 0.070769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31aaef0f39623947c41b4530dcbafe1b64801f1f | 11,128 | py | Python | src/cr/nimble/_src/distance.py | carnotresearch/cr-nimble | 6e067610a04fe110514bb42355803418cc98f27f | [
"Apache-2.0"
] | 2 | 2021-12-10T04:22:54.000Z | 2022-03-09T20:09:28.000Z | src/cr/nimble/_src/distance.py | carnotresearch/cr-nimble | 6e067610a04fe110514bb42355803418cc98f27f | [
"Apache-2.0"
] | null | null | null | src/cr/nimble/_src/distance.py | carnotresearch/cr-nimble | 6e067610a04fe110514bb42355803418cc98f27f | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 CR-Nimble Development Team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | 33.21791 | 122 | 0.645219 | 1,898 | 11,128 | 3.711275 | 0.080084 | 0.054514 | 0.085179 | 0.109029 | 0.917518 | 0.899915 | 0.895514 | 0.869676 | 0.851221 | 0.833191 | 0 | 0.008861 | 0.249551 | 11,128 | 334 | 123 | 33.317365 | 0.834631 | 0.721783 | 0 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.021739 | 0 | 0.369565 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7316c99af53048d1ad8208fca0e3c4ae162caced | 41 | py | Python | keras_retinanet/callbacks/__init__.py | Accioy/keras-retinanet | 01dce4547f78588185fa6a138c45279609bfa1c9 | [
"Apache-2.0"
] | 7,141 | 2018-03-22T16:27:31.000Z | 2022-03-31T07:18:34.000Z | keras_retinanet/callbacks/__init__.py | Accioy/keras-retinanet | 01dce4547f78588185fa6a138c45279609bfa1c9 | [
"Apache-2.0"
] | 1,472 | 2017-11-11T23:10:27.000Z | 2022-03-25T11:04:22.000Z | keras_retinanet/callbacks/__init__.py | Accioy/keras-retinanet | 01dce4547f78588185fa6a138c45279609bfa1c9 | [
"Apache-2.0"
] | 2,580 | 2017-05-14T14:33:41.000Z | 2022-03-31T15:04:14.000Z | from .common import * # noqa: F401,F403
| 20.5 | 40 | 0.682927 | 6 | 41 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.195122 | 41 | 1 | 41 | 41 | 0.666667 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
731aa22c45c4f0e0947aede102cb75d069ec8060 | 18,319 | py | Python | api_tests/nodes/views/test_node_relationship_institutions.py | alexschiller/osf.io | 4122d4be152c6189142c2ebb19cfdee09c77035d | [
"Apache-2.0"
] | 1 | 2015-10-02T18:35:53.000Z | 2015-10-02T18:35:53.000Z | api_tests/nodes/views/test_node_relationship_institutions.py | alexschiller/osf.io | 4122d4be152c6189142c2ebb19cfdee09c77035d | [
"Apache-2.0"
] | 4 | 2016-05-13T14:24:16.000Z | 2017-03-30T15:28:31.000Z | api_tests/nodes/views/test_node_relationship_institutions.py | alexschiller/osf.io | 4122d4be152c6189142c2ebb19cfdee09c77035d | [
"Apache-2.0"
] | null | null | null | from nose.tools import * # flake8: noqa
from tests.base import ApiTestCase
from osf_tests.factories import InstitutionFactory, AuthUserFactory, NodeFactory
from api.base.settings.defaults import API_BASE
from website.util import permissions
class TestNodeRelationshipInstitutions(ApiTestCase):
def setUp(self)... | 38.729387 | 134 | 0.667667 | 2,115 | 18,319 | 5.471395 | 0.054374 | 0.090563 | 0.132561 | 0.145178 | 0.89008 | 0.870204 | 0.846008 | 0.811614 | 0.793467 | 0.782147 | 0 | 0.013509 | 0.232218 | 18,319 | 472 | 135 | 38.811441 | 0.809243 | 0.000655 | 0 | 0.696429 | 0 | 0 | 0.021688 | 0.006719 | 0 | 0 | 0 | 0 | 0.19898 | 1 | 0.084184 | false | 0 | 0.012755 | 0 | 0.102041 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
732e227af88a60370afa6a94fc9d9fe12c833737 | 44 | py | Python | API/Generators/Tickets/__init__.py | Slavkata/MAC | 1ba8f830367b550922af87b1acf8d22caf93dc23 | [
"MIT"
] | 3 | 2019-02-19T11:53:39.000Z | 2019-05-26T15:36:52.000Z | API/Generators/Tickets/__init__.py | Slavkata/MAC-website | 1ba8f830367b550922af87b1acf8d22caf93dc23 | [
"MIT"
] | 24 | 2019-02-26T12:26:34.000Z | 2022-03-11T23:49:43.000Z | API/Generators/Tickets/__init__.py | Slavkata/MAC | 1ba8f830367b550922af87b1acf8d22caf93dc23 | [
"MIT"
] | 1 | 2019-02-19T08:04:48.000Z | 2019-02-19T08:04:48.000Z | from .pdf_generator import generate_tickets
| 22 | 43 | 0.886364 | 6 | 44 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
733cb3bea418e39494d1891d82bbdae47b255af1 | 79 | py | Python | src/vae/models/__init__.py | universuen/VGAN-BL | fea487bfea8fd449c4f97c5c4b07a81b4be76d3a | [
"MIT"
] | null | null | null | src/vae/models/__init__.py | universuen/VGAN-BL | fea487bfea8fd449c4f97c5c4b07a81b4be76d3a | [
"MIT"
] | null | null | null | src/vae/models/__init__.py | universuen/VGAN-BL | fea487bfea8fd449c4f97c5c4b07a81b4be76d3a | [
"MIT"
] | null | null | null | from .decoder_model import DecoderModel
from .encoder_model import EncoderModel | 39.5 | 39 | 0.886076 | 10 | 79 | 6.8 | 0.7 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 79 | 2 | 40 | 39.5 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7340ffb1e92d2b4591b1694424abba069815c775 | 3,876 | py | Python | coba/tests/test_environments_simulated_serialized.py | mrucker/coba | 4f679fb5c6e39e2d0bf3e609c77a2a6865168795 | [
"BSD-3-Clause"
] | 1 | 2020-07-22T13:43:14.000Z | 2020-07-22T13:43:14.000Z | coba/tests/test_environments_simulated_serialized.py | mrucker/coba | 4f679fb5c6e39e2d0bf3e609c77a2a6865168795 | [
"BSD-3-Clause"
] | null | null | null | coba/tests/test_environments_simulated_serialized.py | mrucker/coba | 4f679fb5c6e39e2d0bf3e609c77a2a6865168795 | [
"BSD-3-Clause"
] | null | null | null | import unittest
from coba.pipes import ListSink, ListSource, HttpSource, DiskSource
from coba.contexts import CobaContext, NullLogger
from coba.environments import SimulatedInteraction, MemorySimulation, SerializedSimulation
CobaContext.logger = NullLogger()
class SerializedSimulation_Tests(unittest.TestC... | 51 | 126 | 0.713364 | 442 | 3,876 | 6.004525 | 0.156109 | 0.124341 | 0.072344 | 0.12208 | 0.781085 | 0.747551 | 0.747551 | 0.741522 | 0.741522 | 0.741522 | 0 | 0.006849 | 0.171311 | 3,876 | 75 | 127 | 51.68 | 0.819427 | 0 | 0 | 0.603448 | 0 | 0 | 0.01548 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 1 | 0.103448 | false | 0 | 0.068966 | 0 | 0.189655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c33c8b38af1f112bba3af5768a323582c9d09e73 | 8,794 | py | Python | jyotisha/panchaanga/spatio_temporal/annual.py | Prabhakaran-cbe/jyotisha | 689327c5944c6cc84b7e58af4deae2a4ebe94d7b | [
"MIT"
] | 15 | 2021-01-23T12:13:27.000Z | 2022-02-15T08:30:20.000Z | jyotisha/panchaanga/spatio_temporal/annual.py | Prabhakaran-cbe/jyotisha | 689327c5944c6cc84b7e58af4deae2a4ebe94d7b | [
"MIT"
] | 51 | 2020-12-11T01:46:00.000Z | 2022-03-13T11:28:30.000Z | jyotisha/panchaanga/spatio_temporal/annual.py | Prabhakaran-cbe/jyotisha | 689327c5944c6cc84b7e58af4deae2a4ebe94d7b | [
"MIT"
] | 10 | 2020-12-16T22:58:07.000Z | 2022-01-15T08:34:12.000Z | import logging
import os
import sys
import traceback
from jyotisha.panchaanga.spatio_temporal import periodical
from jyotisha.panchaanga.spatio_temporal.periodical import Panchaanga
from jyotisha.panchaanga.temporal import ComputationSystem, set_constants, time, era
from jyotisha.panchaanga.temporal.festival.rules imp... | 61.496503 | 246 | 0.769843 | 1,205 | 8,794 | 5.310373 | 0.148548 | 0.092983 | 0.045007 | 0.069073 | 0.813565 | 0.772933 | 0.748554 | 0.730427 | 0.725426 | 0.694796 | 0 | 0.006472 | 0.139072 | 8,794 | 142 | 247 | 61.929577 | 0.838727 | 0.04196 | 0 | 0.491379 | 0 | 0 | 0.086006 | 0.011404 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0 | 0.112069 | 0 | 0.275862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f17d6d1ded9b0f963dc900f0af4ecd288fa83fc | 129 | py | Python | students/K33402/Velts Andrey/lab0304/backend/events/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 4 | 2020-09-03T15:41:42.000Z | 2021-12-24T15:28:20.000Z | students/K33402/Velts Andrey/lab0304/backend/events/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 48 | 2020-09-13T20:22:42.000Z | 2021-04-30T11:13:30.000Z | students/K33402/Velts Andrey/lab0304/backend/events/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 69 | 2020-09-06T10:32:37.000Z | 2021-11-28T18:13:17.000Z | from django.contrib import admin
from .models import Event
@admin.register(Event)
class EventAdmin(admin.ModelAdmin):
pass
| 16.125 | 35 | 0.782946 | 17 | 129 | 5.941176 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 129 | 7 | 36 | 18.428571 | 0.90991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6f2056bbb867d1cb5716bbb94773a28db3929acf | 6,822 | py | Python | oxe-api/test/resource/taxonomy/test_add_taxonomy_value_hierarchy.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | oxe-api/test/resource/taxonomy/test_add_taxonomy_value_hierarchy.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | oxe-api/test/resource/taxonomy/test_add_taxonomy_value_hierarchy.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | from unittest.mock import patch
from sqlalchemy.exc import IntegrityError
from test.BaseCase import BaseCase
class TestAddTaxonomyValueHierarchy(BaseCase):
@BaseCase.login
@BaseCase.grant_access("/taxonomy/add_taxonomy_value_hierarchy")
def test_ok(self, token):
self.db.insert({"name": "CAT1"},... | 45.48 | 114 | 0.602316 | 732 | 6,822 | 5.428962 | 0.122951 | 0.07851 | 0.075491 | 0.08455 | 0.843986 | 0.81379 | 0.800705 | 0.790639 | 0.779819 | 0.726472 | 0 | 0.018303 | 0.255204 | 6,822 | 149 | 115 | 45.785235 | 0.763826 | 0 | 0 | 0.683761 | 0 | 0 | 0.26136 | 0.095427 | 0 | 0 | 0 | 0 | 0.102564 | 1 | 0.059829 | false | 0 | 0.025641 | 0 | 0.094017 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f41852cde61822ec2e0ece959878a7294ecd08a | 60 | py | Python | 001113StepikPyGEK/StepikPyGEK001113сh02p04st02T02_20200407.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001113StepikPyGEK/StepikPyGEK001113сh02p04st02T02_20200407.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001113StepikPyGEK/StepikPyGEK001113сh02p04st02T02_20200407.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | print(float(input()))
print(float(input()) + float(input())) | 30 | 38 | 0.666667 | 8 | 60 | 5 | 0.375 | 0.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 60 | 2 | 38 | 30 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
489bb3e6bacd2c792117c37d97f81df793ce64b7 | 193 | py | Python | tests/test_A070939.py | TimothyDJones/oeis | d9d608bc32ee31c73c139e1b68e4eb6315205e8d | [
"MIT"
] | 21 | 2020-03-21T17:50:13.000Z | 2022-01-18T01:52:47.000Z | tests/test_A070939.py | TimothyDJones/oeis | d9d608bc32ee31c73c139e1b68e4eb6315205e8d | [
"MIT"
] | 296 | 2019-11-18T14:04:36.000Z | 2022-03-27T21:59:24.000Z | tests/test_A070939.py | TimothyDJones/oeis | d9d608bc32ee31c73c139e1b68e4eb6315205e8d | [
"MIT"
] | 29 | 2019-11-18T11:56:22.000Z | 2022-03-26T22:31:57.000Z | from oeis import A070939
def test_sequence():
assert A070939[:10] == [
1,
1,
2,
2,
3,
3,
3,
3,
4,
4,
]
| 11.352941 | 28 | 0.321244 | 20 | 193 | 3.05 | 0.65 | 0.098361 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 0.57513 | 193 | 16 | 29 | 12.0625 | 0.45122 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.071429 | true | 0 | 0.071429 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48ae67024e474c663e03b9db24a9f9d3d1a32ad6 | 41 | py | Python | spatial_utils/io/__init__.py | kevinyamauchi/spatial-utils | 239aed21e4c45375baf328a5d9c9e6401b94f386 | [
"BSD-3-Clause"
] | 1 | 2021-09-07T09:58:18.000Z | 2021-09-07T09:58:18.000Z | spatial_utils/io/__init__.py | kevinyamauchi/squidpy-utils | 239aed21e4c45375baf328a5d9c9e6401b94f386 | [
"BSD-3-Clause"
] | null | null | null | spatial_utils/io/__init__.py | kevinyamauchi/squidpy-utils | 239aed21e4c45375baf328a5d9c9e6401b94f386 | [
"BSD-3-Clause"
] | null | null | null | from .visium import load_visium_kallisto
| 20.5 | 40 | 0.878049 | 6 | 41 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48b71a00bea7ee1d9deb2a2df09c9527e8549cb1 | 129 | py | Python | example/core/views.py | COEXCZ/django-adminfilter | d66f6a3c5294156c01db1cf1927942f7cb31119a | [
"0BSD"
] | 3 | 2015-11-17T15:32:02.000Z | 2021-08-06T16:16:04.000Z | example/core/views.py | COEXCZ/django-adminfilter | d66f6a3c5294156c01db1cf1927942f7cb31119a | [
"0BSD"
] | null | null | null | example/core/views.py | COEXCZ/django-adminfilter | d66f6a3c5294156c01db1cf1927942f7cb31119a | [
"0BSD"
] | null | null | null | # -*- coding: utf-8 -*-
from django.shortcuts import render
def homepage(request):
return render(request, 'homepage.html')
| 18.428571 | 43 | 0.697674 | 16 | 129 | 5.625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.155039 | 129 | 6 | 44 | 21.5 | 0.816514 | 0.162791 | 0 | 0 | 0 | 0 | 0.122642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
48c68c9b5a4ad5fc100ec37295a87089eeef343c | 186 | py | Python | src/compas_rv2/singular/rhino/artists/__init__.py | selinabitting/compas-RV2 | 0884cc00d09c8f4a75eb2b97614105e4c8bfd818 | [
"MIT"
] | 4 | 2022-01-17T19:17:22.000Z | 2022-01-21T18:06:02.000Z | src/compas_rv2/singular/rhino/artists/__init__.py | selinabitting/compas-RV2 | 0884cc00d09c8f4a75eb2b97614105e4c8bfd818 | [
"MIT"
] | null | null | null | src/compas_rv2/singular/rhino/artists/__init__.py | selinabitting/compas-RV2 | 0884cc00d09c8f4a75eb2b97614105e4c8bfd818 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .patternartist import PatternArtist
__all__ = [
'PatternArtist'
]
| 18.6 | 40 | 0.822581 | 20 | 186 | 6.75 | 0.45 | 0.222222 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 186 | 9 | 41 | 20.666667 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.069892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48d5547ddeca0ad2a9bbef606821f16855629790 | 121 | py | Python | CodeWars/2016/2+2Problem-8k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodeWars/2016/2+2Problem-8k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodeWars/2016/2+2Problem-8k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | #Help Steve to fix program, so result will be identical to MS Windows calculator.
def calculate():
return (2 + 2) * 2 | 40.333333 | 81 | 0.710744 | 20 | 121 | 4.3 | 0.85 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.206612 | 121 | 3 | 82 | 40.333333 | 0.864583 | 0.661157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5b07ce460a8e0b892aa112f34e529ba8fec56b85 | 49,414 | py | Python | mindspore/ops/operations/_quant_ops.py | fufunoyu/mindspore | 704e367ada35653e8144eb0528c714f4b0231508 | [
"Apache-2.0"
] | 2 | 2021-04-22T07:00:59.000Z | 2021-11-08T02:49:09.000Z | mindspore/ops/operations/_quant_ops.py | fufunoyu/mindspore | 704e367ada35653e8144eb0528c714f4b0231508 | [
"Apache-2.0"
] | 1 | 2020-12-29T06:46:38.000Z | 2020-12-29T06:46:38.000Z | mindspore/ops/operations/_quant_ops.py | kungfu-ml/mindspore | 3fa5dd4495f4071b701e7ff490b7085b8824aaaa | [
"Apache-2.0"
] | 1 | 2021-05-10T03:30:36.000Z | 2021-05-10T03:30:36.000Z | # Copyright 2020 Huawei Technologies Co., Ltd
#
# 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 ... | 50.942268 | 120 | 0.642146 | 6,585 | 49,414 | 4.548975 | 0.049355 | 0.073844 | 0.025605 | 0.041128 | 0.873911 | 0.841062 | 0.813921 | 0.790986 | 0.769888 | 0.745151 | 0 | 0.019654 | 0.231878 | 49,414 | 969 | 121 | 50.99484 | 0.769549 | 0.287408 | 0 | 0.66843 | 0 | 0 | 0.135602 | 0.005692 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.03351 | 0.003527 | 0.253968 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b1578b7ae92b501eea1f2d895bfc33d3bf8208d | 168 | py | Python | tests/unit/helpers/helpers.py | alexandrahably/imdb_scraper | e364c9cdccb42369fcc84de54c15621cfced9b5a | [
"Apache-2.0"
] | null | null | null | tests/unit/helpers/helpers.py | alexandrahably/imdb_scraper | e364c9cdccb42369fcc84de54c15621cfced9b5a | [
"Apache-2.0"
] | null | null | null | tests/unit/helpers/helpers.py | alexandrahably/imdb_scraper | e364c9cdccb42369fcc84de54c15621cfced9b5a | [
"Apache-2.0"
] | null | null | null | import os
from pathlib import Path
def path_for_resource(filename: str):
return Path(os.path.dirname(os.path.realpath(__file__))).parent / 'resources' / filename
| 24 | 92 | 0.761905 | 24 | 168 | 5.083333 | 0.666667 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 168 | 6 | 93 | 28 | 0.829932 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d288d4c4679c4dab8ea2e4451aafc57ac8a19bd4 | 16,323 | py | Python | plugins/dm/callBack/text.py | InHameDev/tele-pdf-v2 | 8744f78c7e4a6ce0132b1ebfb10c5f614f0f6ede | [
"Apache-2.0"
] | 1 | 2022-03-06T04:19:09.000Z | 2022-03-06T04:19:09.000Z | plugins/dm/callBack/text.py | InHameDev/tele-pdf-v2 | 8744f78c7e4a6ce0132b1ebfb10c5f614f0f6ede | [
"Apache-2.0"
] | null | null | null | plugins/dm/callBack/text.py | InHameDev/tele-pdf-v2 | 8744f78c7e4a6ce0132b1ebfb10c5f614f0f6ede | [
"Apache-2.0"
] | null | null | null | '''
█ █▄ █ █▄█ ▄▀▄ █▄ ▄█ ██▀ █▀▄ █▀▄ █▀
█ █ ▀█ █ █ █▀█ █ ▀ █ █▄▄ █▀ █▄▀ █▀
Dev : IlhamGUD
'''
import time
import fitz
import shutil
from pdf import PROCESS
from pyrogram import filters
from Configs.dm import Config
from plugins.checkPdf import checkPdf
from plugins.progress imp... | 37.352403 | 103 | 0.530478 | 1,593 | 16,323 | 5.31764 | 0.124922 | 0.179436 | 0.058317 | 0.107425 | 0.854208 | 0.823988 | 0.793767 | 0.774643 | 0.770511 | 0.757762 | 0 | 0.002436 | 0.371378 | 16,323 | 436 | 104 | 37.438073 | 0.815613 | 0.070024 | 0 | 0.651351 | 0 | 0 | 0.129436 | 0.070244 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.027027 | 0.02973 | 0 | 0.062162 | 0.010811 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2bf8a942b657cfdee33c353df0dafb722fc552d | 36 | py | Python | livemark/plugins/reference/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 73 | 2021-06-07T13:28:36.000Z | 2022-03-26T05:37:59.000Z | livemark/plugins/reference/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 120 | 2021-06-04T12:51:01.000Z | 2022-03-21T11:11:36.000Z | livemark/plugins/reference/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 7 | 2021-09-22T11:38:26.000Z | 2022-03-26T05:35:58.000Z | from .plugin import ReferencePlugin
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
961221e40f474fbab39129a3b606e16e29ac9ec6 | 61,098 | py | Python | tests/unit/test_service_steps.py | nicolaei/aws-step-functions-data-science-sdk-python | aafdb76d2f1a1a4aa6e863047f9d9ba4138e37e2 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_service_steps.py | nicolaei/aws-step-functions-data-science-sdk-python | aafdb76d2f1a1a4aa6e863047f9d9ba4138e37e2 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_service_steps.py | nicolaei/aws-step-functions-data-science-sdk-python | aafdb76d2f1a1a4aa6e863047f9d9ba4138e37e2 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 37.645102 | 228 | 0.496416 | 4,372 | 61,098 | 6.803522 | 0.084858 | 0.016541 | 0.019297 | 0.040208 | 0.902471 | 0.843335 | 0.835838 | 0.819533 | 0.804404 | 0.793175 | 0 | 0.036508 | 0.379521 | 61,098 | 1,622 | 229 | 37.668311 | 0.748114 | 0.009051 | 0 | 0.69337 | 0 | 0 | 0.344 | 0.118962 | 0 | 0 | 0 | 0 | 0.03384 | 1 | 0.035912 | false | 0 | 0.008978 | 0 | 0.04489 | 0.004144 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96212372e529ab189b119a210691b84330948ff5 | 38 | py | Python | Demo_XRD_patterns_from_dpp/ds_cake/__init__.py | SHDShim/PMatRes | 92440c11f2723861dbb82cecdc321fcef9de4443 | [
"Apache-2.0"
] | 15 | 2017-09-02T13:55:35.000Z | 2022-03-26T08:20:16.000Z | Demo_XRD_patterns_from_dpp/ds_cake/__init__.py | SHDShim/PMatRes | 92440c11f2723861dbb82cecdc321fcef9de4443 | [
"Apache-2.0"
] | null | null | null | Demo_XRD_patterns_from_dpp/ds_cake/__init__.py | SHDShim/PMatRes | 92440c11f2723861dbb82cecdc321fcef9de4443 | [
"Apache-2.0"
] | 2 | 2018-05-16T13:32:08.000Z | 2019-06-16T08:09:38.000Z | from .DiffractionImage import DiffImg
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
828235384dd11d44fa4ebfce4575eeb51d9ccdcd | 256 | py | Python | gaqqie_rainbow/rest/api/__init__.py | gaqqie/gaqqie-rainbow | 307086a89d91aaf911f3094415ca2447f3c190bd | [
"Apache-2.0"
] | 1 | 2021-08-31T05:18:12.000Z | 2021-08-31T05:18:12.000Z | gaqqie_rainbow/rest/api/__init__.py | gaqqie/gaqqie-rainbow | 307086a89d91aaf911f3094415ca2447f3c190bd | [
"Apache-2.0"
] | null | null | null | gaqqie_rainbow/rest/api/__init__.py | gaqqie/gaqqie-rainbow | 307086a89d91aaf911f3094415ca2447f3c190bd | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from gaqqie_rainbow.rest.api.device_api import DeviceApi
from gaqqie_rainbow.rest.api.job_api import JobApi
from gaqqie_rainbow.rest.api.provider_api import ProviderApi
| 28.444444 | 60 | 0.847656 | 39 | 256 | 5.282051 | 0.487179 | 0.145631 | 0.247573 | 0.305825 | 0.349515 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004367 | 0.105469 | 256 | 8 | 61 | 32 | 0.895197 | 0.160156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8291441abbe17cf2b4768973cea02579c525d5c5 | 28 | py | Python | biopymlff/calculators/__init__.py | saandre15/biopymlff | ec90370a8c03c51426bd24477034c9413bdcdb04 | [
"MIT"
] | null | null | null | biopymlff/calculators/__init__.py | saandre15/biopymlff | ec90370a8c03c51426bd24477034c9413bdcdb04 | [
"MIT"
] | null | null | null | biopymlff/calculators/__init__.py | saandre15/biopymlff | ec90370a8c03c51426bd24477034c9413bdcdb04 | [
"MIT"
] | null | null | null | " Interface to calculators " | 28 | 28 | 0.785714 | 3 | 28 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0.857143 | 0 | 0 | 0 | 0 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82c61360be9be242c3e2b40165b317ead80f854e | 24 | py | Python | models/__init__.py | vsecoder/iplogger | 42571cf72f61107ed4a70ba5c1ab7055a5146583 | [
"MIT"
] | null | null | null | models/__init__.py | vsecoder/iplogger | 42571cf72f61107ed4a70ba5c1ab7055a5146583 | [
"MIT"
] | null | null | null | models/__init__.py | vsecoder/iplogger | 42571cf72f61107ed4a70ba5c1ab7055a5146583 | [
"MIT"
] | null | null | null | from .logs import Logs
| 12 | 23 | 0.75 | 4 | 24 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 1 | 24 | 24 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82e6d3c96a195305976e2ac8f4ec39ea9a1790b9 | 18,982 | py | Python | tests.py | fictorial/python-object-persistence | 93331e6e94ef356fe51ad377a67ed85225406943 | [
"MIT"
] | 1 | 2020-01-18T01:56:47.000Z | 2020-01-18T01:56:47.000Z | tests.py | fictorial/python-object-persistence | 93331e6e94ef356fe51ad377a67ed85225406943 | [
"MIT"
] | null | null | null | tests.py | fictorial/python-object-persistence | 93331e6e94ef356fe51ad377a67ed85225406943 | [
"MIT"
] | 1 | 2021-03-28T05:23:17.000Z | 2021-03-28T05:23:17.000Z | import os
import sqlite3
from datetime import datetime, timedelta
import pytest
import persistent
class A(persistent.Persistent):
pass
class B(persistent.Persistent):
references = [ 'ref0' ]
class C(persistent.Persistent):
references = [ 'ref0', 'ref1' ]
def test_connect():
persistent.connect(... | 20.882288 | 85 | 0.581972 | 2,961 | 18,982 | 3.626815 | 0.068558 | 0.026446 | 0.131111 | 0.154949 | 0.79486 | 0.763479 | 0.753701 | 0.71692 | 0.700996 | 0.688612 | 0 | 0.044686 | 0.264356 | 18,982 | 908 | 86 | 20.905286 | 0.724363 | 0.03045 | 0 | 0.739653 | 0 | 0 | 0.017629 | 0 | 0 | 0 | 0 | 0 | 0.160214 | 1 | 0.092123 | false | 0.00267 | 0.008011 | 0 | 0.106809 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d67f55ccc7db1898003b8770835e7d66047da5b | 50,393 | py | Python | examples/pybullet/gym/pybullet_envs/minitaur/robots/laikago_interface_pb2.py | felipeek/bullet3 | 6a59241074720e9df119f2f86bc01765917feb1e | [
"Zlib"
] | 9,136 | 2015-01-02T00:41:45.000Z | 2022-03-31T15:30:02.000Z | examples/pybullet/gym/pybullet_envs/minitaur/robots/laikago_interface_pb2.py | felipeek/bullet3 | 6a59241074720e9df119f2f86bc01765917feb1e | [
"Zlib"
] | 2,424 | 2015-01-05T08:55:58.000Z | 2022-03-30T19:34:55.000Z | examples/pybullet/gym/pybullet_envs/minitaur/robots/laikago_interface_pb2.py | felipeek/bullet3 | 6a59241074720e9df119f2f86bc01765917feb1e | [
"Zlib"
] | 2,921 | 2015-01-02T10:19:30.000Z | 2022-03-31T02:48:42.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: laikago_interface.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from goog... | 48.408261 | 4,982 | 0.775008 | 6,158 | 50,393 | 5.997727 | 0.052452 | 0.044837 | 0.074593 | 0.064331 | 0.793713 | 0.766909 | 0.703661 | 0.677289 | 0.660096 | 0.641469 | 0 | 0.036082 | 0.112337 | 50,393 | 1,040 | 4,983 | 48.454808 | 0.789591 | 0.025361 | 0 | 0.70332 | 1 | 0.001037 | 0.237228 | 0.204921 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006224 | 0 | 0.006224 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d6f5d6b30b02cbb5e31fe7a1f2416c02d1acbab | 4,032 | py | Python | cltk/tag/pos/pos_tagger.py | fractaledmind/cltk | 78c7259c1845a4ae8bbd33935ffbae34da23234b | [
"MIT"
] | 1 | 2020-08-02T19:35:06.000Z | 2020-08-02T19:35:06.000Z | cltk/tag/pos/pos_tagger.py | fractaledmind/cltk | 78c7259c1845a4ae8bbd33935ffbae34da23234b | [
"MIT"
] | null | null | null | cltk/tag/pos/pos_tagger.py | fractaledmind/cltk | 78c7259c1845a4ae8bbd33935ffbae34da23234b | [
"MIT"
] | null | null | null | """Tags part of speech (POS)."""
__author__ = 'Kyle P. Johnson <kyle@kyle-p-johnson.com>'
__license__ = 'MIT License. See LICENSE.'
from nltk.tokenize import wordpunct_tokenize
import os
import pickle
class POSTag(object):
"""Picks up taggers made with UnigramTagger"""
def __init__(self):
"""Initia... | 44.307692 | 120 | 0.671875 | 485 | 4,032 | 5.362887 | 0.162887 | 0.05767 | 0.046136 | 0.061515 | 0.872357 | 0.872357 | 0.872357 | 0.836986 | 0.836986 | 0.836986 | 0 | 0.002874 | 0.223462 | 4,032 | 90 | 121 | 44.8 | 0.827212 | 0.077629 | 0 | 0.617647 | 0 | 0 | 0.27814 | 0.184611 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0.014706 | 0.044118 | 0 | 0.220588 | 0.073529 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d71717a76303b96652be547a8cb727b59a12925 | 65 | py | Python | kscipy/app/job/__init__.py | lbn/ksci | 53b30d2e5f0937d4040fcfd635c0642150e74388 | [
"MIT"
] | 5 | 2021-06-22T03:39:01.000Z | 2021-12-15T08:02:51.000Z | kscipy/app/job/__init__.py | lbn/ksci | 53b30d2e5f0937d4040fcfd635c0642150e74388 | [
"MIT"
] | null | null | null | kscipy/app/job/__init__.py | lbn/ksci | 53b30d2e5f0937d4040fcfd635c0642150e74388 | [
"MIT"
] | 1 | 2021-06-30T14:40:06.000Z | 2021-06-30T14:40:06.000Z | from . import routes
from . import resources
from . import tasks
| 16.25 | 23 | 0.769231 | 9 | 65 | 5.555556 | 0.555556 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 24 | 21.666667 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.