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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7415e5c654a65332be95606d5f2dd9d37a5ad76a | 153 | py | Python | mrtopo/structures/networks/ring/ring.py | FaizChishtie/MrTopo | e6a674738d8b0a0c56edde2be0ae272ea9e62f1a | [
"MIT"
] | 1 | 2021-01-26T11:01:32.000Z | 2021-01-26T11:01:32.000Z | mrtopo/structures/networks/ring/ring.py | FaizChishtie/MrTopo | e6a674738d8b0a0c56edde2be0ae272ea9e62f1a | [
"MIT"
] | null | null | null | mrtopo/structures/networks/ring/ring.py | FaizChishtie/MrTopo | e6a674738d8b0a0c56edde2be0ae272ea9e62f1a | [
"MIT"
] | 1 | 2020-12-23T22:01:09.000Z | 2020-12-23T22:01:09.000Z | """
MrTopo Network - data structure repr Ring Topo
"""
from mininet.topo import Topo
class RingTopo(Topo):
def build(self):
pass # TODO | 17 | 50 | 0.653595 | 20 | 153 | 5 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248366 | 153 | 9 | 51 | 17 | 0.869565 | 0.339869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
741f1a56d78060b5c2c3016e5f4813e2833b5c69 | 49 | py | Python | wikidictparser/__init__.py | ls2716/wikidictparser_package | a1c6375bb84f2238aad09d46a753b2bde9490d85 | [
"BSD-2-Clause"
] | null | null | null | wikidictparser/__init__.py | ls2716/wikidictparser_package | a1c6375bb84f2238aad09d46a753b2bde9490d85 | [
"BSD-2-Clause"
] | 2 | 2020-07-29T07:31:21.000Z | 2021-03-31T19:48:02.000Z | wikidictparser/__init__.py | ls2716/wikidictparser_package | a1c6375bb84f2238aad09d46a753b2bde9490d85 | [
"BSD-2-Clause"
] | null | null | null | from .router import get_parser, set_logging_level | 49 | 49 | 0.877551 | 8 | 49 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 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 |
742f62c228db29ee09187d4fa834d870a7dd3cf0 | 193 | py | Python | server/users/admin.py | FranciscoJavierMartin/iCard | 13193a26aec4fc57351be522ebd68018cb79f927 | [
"MIT"
] | null | null | null | server/users/admin.py | FranciscoJavierMartin/iCard | 13193a26aec4fc57351be522ebd68018cb79f927 | [
"MIT"
] | null | null | null | server/users/admin.py | FranciscoJavierMartin/iCard | 13193a26aec4fc57351be522ebd68018cb79f927 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from users.models import User
@admin.register(User)
class UserAdmin(BaseUserAdmin):
pass
| 21.444444 | 64 | 0.813472 | 26 | 193 | 6.038462 | 0.576923 | 0.127389 | 0.216561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124352 | 193 | 8 | 65 | 24.125 | 0.928994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
747dcc5ba7e00991d583d3b8c503f5042fab0fb3 | 10,121 | py | Python | api/resources_portal/test/views/test_attachment.py | AlexsLemonade/resources-portal | d91c6c8d6135461faccbc78ef2b0be3f9b358f21 | [
"BSD-3-Clause"
] | null | null | null | api/resources_portal/test/views/test_attachment.py | AlexsLemonade/resources-portal | d91c6c8d6135461faccbc78ef2b0be3f9b358f21 | [
"BSD-3-Clause"
] | 536 | 2019-11-13T15:49:03.000Z | 2022-03-28T20:17:24.000Z | api/resources_portal/test/views/test_attachment.py | AlexsLemonade/resources-portal | d91c6c8d6135461faccbc78ef2b0be3f9b358f21 | [
"BSD-3-Clause"
] | 1 | 2020-04-03T02:07:29.000Z | 2020-04-03T02:07:29.000Z | import os
import shutil
from django.forms.models import model_to_dict
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APITestCase
from faker import Faker
from resources_portal.models import Attachment
from resources_portal.test.factories import AttachmentFactory, Use... | 35.890071 | 88 | 0.719 | 1,262 | 10,121 | 5.481775 | 0.106973 | 0.067939 | 0.059844 | 0.096415 | 0.832466 | 0.780717 | 0.776525 | 0.770888 | 0.764527 | 0.755854 | 0 | 0.009198 | 0.183579 | 10,121 | 281 | 89 | 36.017794 | 0.828029 | 0.010374 | 0 | 0.662983 | 0 | 0 | 0.048245 | 0.01003 | 0 | 0 | 0 | 0 | 0.160221 | 1 | 0.138122 | false | 0 | 0.055249 | 0 | 0.209945 | 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 |
77cdc1ab145b10d7e6d7eb445132fbd57740370c | 22 | py | Python | elliot/recommender/graph_based/ngcf/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 175 | 2021-03-04T15:46:25.000Z | 2022-03-31T05:56:58.000Z | elliot/recommender/graph_based/ngcf/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 15 | 2021-03-06T17:53:56.000Z | 2022-03-24T17:02:07.000Z | elliot/recommender/graph_based/ngcf/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 39 | 2021-03-04T15:46:26.000Z | 2022-03-09T15:37:12.000Z | from .NGCF import NGCF | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
77e4285448d1d709e7a33331b14315be11d6791b | 21 | py | Python | lib/python-gflags/__init__.py | MiCHiLU/google_appengine_sdk | 3da9f20d7e65e26c4938d2c4054bc4f39cbc5522 | [
"Apache-2.0"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | lib/python-gflags/__init__.py | MiCHiLU/google_appengine_sdk | 3da9f20d7e65e26c4938d2c4054bc4f39cbc5522 | [
"Apache-2.0"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | lib/python-gflags/__init__.py | MiCHiLU/google_appengine_sdk | 3da9f20d7e65e26c4938d2c4054bc4f39cbc5522 | [
"Apache-2.0"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | from gflags import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77f068ae759fb07aff4020cf616599837c967ca2 | 123 | py | Python | adonai/app/models.py | Egnod/adonai | b365d81c826fd7b626c9145154ee0136ea73fac1 | [
"MIT"
] | 6 | 2020-01-20T20:02:09.000Z | 2020-02-24T08:40:23.000Z | adonai/app/models.py | Egnod/adonai | b365d81c826fd7b626c9145154ee0136ea73fac1 | [
"MIT"
] | null | null | null | adonai/app/models.py | Egnod/adonai | b365d81c826fd7b626c9145154ee0136ea73fac1 | [
"MIT"
] | null | null | null | from ..domain.models import *
from ..permission.models import *
from ..project.models import *
from ..user.models import *
| 24.6 | 33 | 0.739837 | 16 | 123 | 5.6875 | 0.4375 | 0.527473 | 0.527473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 4 | 34 | 30.75 | 0.850467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bb204f7b4d824eb681cd245206810d9706108932 | 29 | py | Python | neurolab/optimization/sched/__init__.py | udday2014/HebbianLearning | e0d17e53e3db8ce54b8fdd901702d2d6e0633732 | [
"MIT"
] | 6 | 2020-01-08T05:36:09.000Z | 2022-02-09T21:07:04.000Z | neurolab/optimization/sched/__init__.py | GabrieleLagani/HebbianPCA | 2736bb3017fa30ad2c160c891d42361bc5894df5 | [
"MIT"
] | null | null | null | neurolab/optimization/sched/__init__.py | GabrieleLagani/HebbianPCA | 2736bb3017fa30ad2c160c891d42361bc5894df5 | [
"MIT"
] | 2 | 2022-03-04T08:28:44.000Z | 2022-03-16T19:00:34.000Z | from .multistepsched import * | 29 | 29 | 0.827586 | 3 | 29 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 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 |
bb373f7b11fded204a7f45c3455c7b54b88f1839 | 110 | py | Python | example/task/__init__.py | crystina-z/profane | b467b0d45d37de856e02eb0afad9ff012d215a42 | [
"Apache-2.0"
] | 9 | 2020-06-05T15:12:01.000Z | 2021-05-28T12:19:02.000Z | example/task/__init__.py | crystina-z/profane | b467b0d45d37de856e02eb0afad9ff012d215a42 | [
"Apache-2.0"
] | 7 | 2020-06-11T08:22:00.000Z | 2022-01-28T09:32:20.000Z | example/task/__init__.py | crystina-z/profane | b467b0d45d37de856e02eb0afad9ff012d215a42 | [
"Apache-2.0"
] | 4 | 2020-06-10T23:12:16.000Z | 2022-01-27T17:54:36.000Z | from profane import import_all_modules
from task.base import Task
import_all_modules(__file__, __package__)
| 18.333333 | 41 | 0.854545 | 16 | 110 | 5.125 | 0.5625 | 0.219512 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 110 | 5 | 42 | 22 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bb3c9c9ad9c8f371d6758f487fa3863724d116e9 | 151 | py | Python | ufdl-object-detection-app/src/ufdl/object_detection_app/models/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | ufdl-object-detection-app/src/ufdl/object_detection_app/models/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | 85 | 2020-07-24T00:04:28.000Z | 2022-02-10T10:35:15.000Z | ufdl-object-detection-app/src/ufdl/object_detection_app/models/__init__.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | from ._Annotations import Annotations, AnnotationsQuerySet
from ._ObjectDetectionDataset import ObjectDetectionDataset, ObjectDetectionDatasetQuerySet
| 50.333333 | 91 | 0.907285 | 10 | 151 | 13.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066225 | 151 | 2 | 92 | 75.5 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb495e03b6eb6d14afa26c71a0e2a517ba8bab26 | 145 | py | Python | deep_utils/callbacks/torch/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 36 | 2021-11-10T05:17:18.000Z | 2022-03-27T18:25:10.000Z | deep_utils/callbacks/torch/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 1 | 2021-12-03T07:07:18.000Z | 2022-03-08T09:29:03.000Z | deep_utils/callbacks/torch/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 4 | 2021-11-28T07:39:57.000Z | 2022-03-30T05:46:10.000Z | from .torch_model_checkpoint import ModelCheckPointTorch
from .torch_csv_logger import CSVLogger
from .torch_tensorboard import TensorboardTorch
| 36.25 | 56 | 0.896552 | 17 | 145 | 7.352941 | 0.647059 | 0.216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 3 | 57 | 48.333333 | 0.93985 | 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 |
24890704544235d21f0b7c6fca71808a78126283 | 99 | py | Python | 10430.py | BACCHUS-S/Baekjoon | 05edab8ea7c7205ca67ef8fe34bf0abd22726a0e | [
"MIT"
] | null | null | null | 10430.py | BACCHUS-S/Baekjoon | 05edab8ea7c7205ca67ef8fe34bf0abd22726a0e | [
"MIT"
] | null | null | null | 10430.py | BACCHUS-S/Baekjoon | 05edab8ea7c7205ca67ef8fe34bf0abd22726a0e | [
"MIT"
] | null | null | null | a,b,c=map(int,input().split())
print((a+b)%c)
print((a%c+b%c)%c)
print((a*b)%c)
print((a%c*b%c)%c)
| 16.5 | 30 | 0.555556 | 27 | 99 | 2.037037 | 0.296296 | 0.181818 | 0.163636 | 0.290909 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0 | 0 | 0.050505 | 99 | 5 | 31 | 19.8 | 0.585106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
24a2301cc8e8f414aad472db39d81ed26c18ba2e | 2,331 | py | Python | tests/test_argparse.py | andreasgrv/mlconf | a1f2056cffb458ce3b845c5e4aab1a3a9e58a0c4 | [
"BSD-3-Clause"
] | 2 | 2019-08-29T12:59:28.000Z | 2020-05-01T11:11:08.000Z | tests/test_argparse.py | andreasgrv/mlconf | a1f2056cffb458ce3b845c5e4aab1a3a9e58a0c4 | [
"BSD-3-Clause"
] | null | null | null | tests/test_argparse.py | andreasgrv/mlconf | a1f2056cffb458ce3b845c5e4aab1a3a9e58a0c4 | [
"BSD-3-Clause"
] | null | null | null | import mlconf
import pytest
def test_yaml_loader():
parser = mlconf.ArgumentParser()
parser.add_argument('--value')
parser.add_argument('--load_blueprint',
action=mlconf.YAMLLoaderAction)
bp = parser.parse_args(['--value', '5', '--load_blueprint',
't... | 37 | 78 | 0.582154 | 254 | 2,331 | 5.177165 | 0.188976 | 0.068441 | 0.129278 | 0.064639 | 0.871483 | 0.796198 | 0.796198 | 0.796198 | 0.754373 | 0.748289 | 0 | 0.011079 | 0.264264 | 2,331 | 62 | 79 | 37.596774 | 0.755685 | 0 | 0 | 0.615385 | 0 | 0 | 0.183612 | 0.049335 | 0 | 0 | 0 | 0 | 0.192308 | 1 | 0.096154 | false | 0 | 0.038462 | 0 | 0.134615 | 0.192308 | 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 |
24bd2e20c7bbad0be548b73aee51a4ec82030d0d | 20 | py | Python | xambda/s3_layer/__init__.py | xyla-io/lambda_io | a6e04a68a241880e573aa14f41dd19bfec37d73c | [
"MIT"
] | null | null | null | xambda/s3_layer/__init__.py | xyla-io/lambda_io | a6e04a68a241880e573aa14f41dd19bfec37d73c | [
"MIT"
] | null | null | null | xambda/s3_layer/__init__.py | xyla-io/lambda_io | a6e04a68a241880e573aa14f41dd19bfec37d73c | [
"MIT"
] | null | null | null | from .base import S3 | 20 | 20 | 0.8 | 4 | 20 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
24ffde71409b719a80f121047beab73ccaf38677 | 1,609 | py | Python | Code/tests/test_distances.py | robin-p-schmitt/conformance-checking | 021e042bb026ef44f0d53d02f8cf8e1675066674 | [
"MIT"
] | null | null | null | Code/tests/test_distances.py | robin-p-schmitt/conformance-checking | 021e042bb026ef44f0d53d02f8cf8e1675066674 | [
"MIT"
] | null | null | null | Code/tests/test_distances.py | robin-p-schmitt/conformance-checking | 021e042bb026ef44f0d53d02f8cf8e1675066674 | [
"MIT"
] | null | null | null | import pytest
import numpy as np
from conformance_checking.distances import calc_wmd, calc_ict, calc_euclidean, _calc_d
def test_wmd():
"""Is the wmd calculated correctly?"""
model_embedding = [{0: 1, 1: 1}]
real_embedding = [{1: 1}]
context = np.array([[1, 4], [5, 1]])
# calculate Euclidean dis... | 28.732143 | 86 | 0.676818 | 235 | 1,609 | 4.353191 | 0.174468 | 0.048876 | 0.099707 | 0.096774 | 0.869013 | 0.869013 | 0.869013 | 0.869013 | 0.840665 | 0.790811 | 0 | 0.034082 | 0.197638 | 1,609 | 55 | 87 | 29.254545 | 0.758327 | 0.169671 | 0 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 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 |
7029bec83423f275a443507bf4642cc66fa94866 | 26 | py | Python | plugins/figure-ref/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/figure-ref/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/figure-ref/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .figure_ref import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
708849058298473d2416788c38f8945810b63470 | 14,345 | py | Python | leaqi/main.py | xkianteb/leaqi | 924435590e74421ed16488429056f26747c99421 | [
"MIT"
] | 12 | 2020-05-25T16:50:05.000Z | 2022-02-20T08:00:04.000Z | leaqi/main.py | chenyangh/leaqi | 924435590e74421ed16488429056f26747c99421 | [
"MIT"
] | null | null | null | leaqi/main.py | chenyangh/leaqi | 924435590e74421ed16488429056f26747c99421 | [
"MIT"
] | 4 | 2020-05-28T18:25:01.000Z | 2021-02-25T10:29:41.000Z | import pandas as pd
from sklearn.metrics import accuracy_score
from sklearn.metrics import confusion_matrix
import gym
from timeit import default_timer as timer
from datetime import timedelta
import torch
import argparse
import numpy as np
import time
from leaqi.src.util import TrainLog
from leaqi.src.args import wso_a... | 46.423948 | 108 | 0.516556 | 1,536 | 14,345 | 4.641927 | 0.120443 | 0.064797 | 0.070687 | 0.035764 | 0.863254 | 0.862693 | 0.81122 | 0.799018 | 0.780645 | 0.762132 | 0 | 0.0065 | 0.335099 | 14,345 | 308 | 109 | 46.574675 | 0.741036 | 0.394563 | 0 | 0.314815 | 0 | 0 | 0.289855 | 0.15907 | 0 | 0 | 0 | 0.003247 | 0 | 1 | 0.006173 | false | 0 | 0.111111 | 0 | 0.117284 | 0.024691 | 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 |
7097bc18f138003821f52e7d2b2de360a0c3ae3c | 1,364 | py | Python | usaspending_api/reporting/migrations/0004_auto_20210202_2234.py | ststuck/usaspending-api | b13bd5bcba0369ff8512f61a34745626c3969391 | [
"CC0-1.0"
] | 217 | 2016-11-03T17:09:53.000Z | 2022-03-10T04:17:54.000Z | usaspending_api/reporting/migrations/0004_auto_20210202_2234.py | ststuck/usaspending-api | b13bd5bcba0369ff8512f61a34745626c3969391 | [
"CC0-1.0"
] | 622 | 2016-09-02T19:18:23.000Z | 2022-03-29T17:11:01.000Z | usaspending_api/reporting/migrations/0004_auto_20210202_2234.py | ststuck/usaspending-api | b13bd5bcba0369ff8512f61a34745626c3969391 | [
"CC0-1.0"
] | 93 | 2016-09-07T20:28:57.000Z | 2022-02-25T00:25:27.000Z | # Generated by Django 2.2.9 on 2021-02-02 22:34
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('reporting', '0003_auto_20201204_1531'),
]
operations = [
migrations.AddField(
model_name='reportingagencyoverview',
... | 31 | 49 | 0.611437 | 117 | 1,364 | 6.91453 | 0.333333 | 0.133498 | 0.170581 | 0.200247 | 0.786156 | 0.786156 | 0.74042 | 0.74042 | 0.636588 | 0.636588 | 0 | 0.038223 | 0.290323 | 1,364 | 43 | 50 | 31.72093 | 0.797521 | 0.032991 | 0 | 0.648649 | 1 | 0 | 0.252847 | 0.246014 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
563e283aff1f5c5f2d6b52b068e34fa3fa492fd5 | 276 | py | Python | python/robot-name/robot_name.py | Victor-Chinewubeze/algorithms-exercism | 34669348762eef69b68a2f43260ab10ac1c4eb2a | [
"MIT"
] | 1 | 2020-04-16T23:06:33.000Z | 2020-04-16T23:06:33.000Z | python/robot-name/robot_name.py | Victor-Chinewubeze/algorithms-exercism | 34669348762eef69b68a2f43260ab10ac1c4eb2a | [
"MIT"
] | 7 | 2021-05-08T11:46:15.000Z | 2021-05-10T19:31:11.000Z | python/robot-name/robot_name.py | Victor-Chinewubeze/algorithms-exercism | 34669348762eef69b68a2f43260ab10ac1c4eb2a | [
"MIT"
] | 1 | 2020-01-09T16:33:39.000Z | 2020-01-09T16:33:39.000Z | import random
def rnd(seed=""):
return chr(random.randint(65,90)) + chr(random.randint(65,90)) + str(random.randint(100,999))
class Robot(object):
def __init__(self):
self.name = rnd()
def reset(self):
self.name = rnd(chr(random.randint(65,90))) | 25.090909 | 97 | 0.634058 | 41 | 276 | 4.170732 | 0.487805 | 0.304094 | 0.280702 | 0.315789 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080357 | 0.188406 | 276 | 11 | 98 | 25.090909 | 0.683036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3b1f13044204afaafd0e6efc5c0ef6766a68ea0e | 155 | py | Python | pyvault/db/__init__.py | MattCCS/PyVault | c0e87a1bf731e0c7c800a599b0b33885e484b92b | [
"MIT"
] | null | null | null | pyvault/db/__init__.py | MattCCS/PyVault | c0e87a1bf731e0c7c800a599b0b33885e484b92b | [
"MIT"
] | null | null | null | pyvault/db/__init__.py | MattCCS/PyVault | c0e87a1bf731e0c7c800a599b0b33885e484b92b | [
"MIT"
] | null | null | null | """
"""
from pyvault.db.table import TABLE
from pyvault.db.key_manager import KEYMAN
from pyvault.db.pwm import PWM
__all__ = ['PWM', 'KEYMAN', 'TABLE']
| 17.222222 | 41 | 0.716129 | 23 | 155 | 4.608696 | 0.434783 | 0.311321 | 0.367925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135484 | 155 | 8 | 42 | 19.375 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b73c8fdf191a3dbb3944d82aff9c0a66783b2da | 19 | py | Python | voice_similarity/lib/LPC/__init__.py | itanium-R/rcc_winter_hackathon_2020 | cecd43d8b89d2d656e3b11ca5bdfb35965451d37 | [
"MIT"
] | null | null | null | voice_similarity/lib/LPC/__init__.py | itanium-R/rcc_winter_hackathon_2020 | cecd43d8b89d2d656e3b11ca5bdfb35965451d37 | [
"MIT"
] | null | null | null | voice_similarity/lib/LPC/__init__.py | itanium-R/rcc_winter_hackathon_2020 | cecd43d8b89d2d656e3b11ca5bdfb35965451d37 | [
"MIT"
] | null | null | null | from .lpc import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b8168149c9ce5d91cd1377644dfd606fe93e353 | 158 | py | Python | sesion_02/movies/admin.py | bernest/modulo-django-desarrollo-web-cdmx-20-05pt | 33f971f032f7d3902a49a993d46e3ecefb21d59b | [
"MIT"
] | null | null | null | sesion_02/movies/admin.py | bernest/modulo-django-desarrollo-web-cdmx-20-05pt | 33f971f032f7d3902a49a993d46e3ecefb21d59b | [
"MIT"
] | null | null | null | sesion_02/movies/admin.py | bernest/modulo-django-desarrollo-web-cdmx-20-05pt | 33f971f032f7d3902a49a993d46e3ecefb21d59b | [
"MIT"
] | null | null | null | """Movies app admin site"""
from django.contrib import admin
from .models import Movie, Director
admin.site.register(Movie)
admin.site.register(Director)
| 15.8 | 35 | 0.772152 | 22 | 158 | 5.545455 | 0.545455 | 0.221311 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120253 | 158 | 9 | 36 | 17.555556 | 0.877698 | 0.132911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
8e6efd4d43d8d1fc921e1fe662bb48d5e06d653b | 93 | py | Python | model/dialogue/__init__.py | NickSchoelkopf/SummerTime | 9a89aab8e1544e3c52c043b9c47ab325e665e11e | [
"Apache-2.0"
] | 178 | 2021-07-07T23:46:20.000Z | 2022-03-26T17:47:21.000Z | model/dialogue/__init__.py | NickSchoelkopf/SummerTime | 9a89aab8e1544e3c52c043b9c47ab325e665e11e | [
"Apache-2.0"
] | 77 | 2021-06-18T21:44:53.000Z | 2022-02-20T00:23:06.000Z | model/dialogue/__init__.py | NickSchoelkopf/SummerTime | 9a89aab8e1544e3c52c043b9c47ab325e665e11e | [
"Apache-2.0"
] | 19 | 2021-06-18T22:24:47.000Z | 2022-03-16T12:53:50.000Z | from .hmnet_model import HMNetModel
from .flatten_dialogue_model import FlattenDialogueModel
| 31 | 56 | 0.892473 | 11 | 93 | 7.272727 | 0.727273 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 2 | 57 | 46.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8eafc05f177ce84e7d2aaa4c1cfbcc53a0ccf29d | 436 | py | Python | homeworks/kirill_shevchuk/hw05/test_lvl3.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | homeworks/kirill_shevchuk/hw05/test_lvl3.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | 8 | 2019-11-15T18:15:56.000Z | 2020-02-03T18:05:05.000Z | homeworks/kirill_shevchuk/hw05/test_lvl3.py | tgrx/Z22 | b2539682ff26c8b6d9f63a7670c8a9c6b614a8ff | [
"Apache-2.0"
] | null | null | null | from homeworks.kirill_shevchuk.hw05.level03 import good_phone
def test_good_phone():
assert good_phone("+375172294660")
assert good_phone("+375296648778")
assert not good_phone("")
assert not good_phone("+37517229466")
assert not good_phone("+37517229466a")
assert not good_phone("+791562655123... | 31.142857 | 61 | 0.736239 | 55 | 436 | 5.6 | 0.381818 | 0.321429 | 0.295455 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223433 | 0.158257 | 436 | 13 | 62 | 33.538462 | 0.615804 | 0 | 0 | 0 | 0 | 0 | 0.194954 | 0 | 0 | 0 | 0 | 0 | 0.818182 | 1 | 0.090909 | true | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8ebfcb01a0a7976ed37f77b03e151e6820c5bfb1 | 5,574 | py | Python | Python/pygame/dijkstra.py | flmnv/Training | 6070b8ddfb6e01c0f433c813265bf50d59a26ef4 | [
"Unlicense"
] | null | null | null | Python/pygame/dijkstra.py | flmnv/Training | 6070b8ddfb6e01c0f433c813265bf50d59a26ef4 | [
"Unlicense"
] | null | null | null | Python/pygame/dijkstra.py | flmnv/Training | 6070b8ddfb6e01c0f433c813265bf50d59a26ef4 | [
"Unlicense"
] | null | null | null | from random import randint
from math import inf
class Vertex:
def __init__(self, num, sizeX, sizeY, value = inf):
self.isChecked = False
self.value = value
self.num = num
self.n = []
for i in range(sizeX):
temp = []
for j in range(sizeY):
temp.append(inf)
self.n.append(temp)
i = num // sizeY
... | 40.100719 | 120 | 0.523143 | 1,129 | 5,574 | 2.579274 | 0.043401 | 0.166552 | 0.121566 | 0.052198 | 0.81353 | 0.805632 | 0.768887 | 0.761332 | 0.739354 | 0.739354 | 0 | 0.060556 | 0.238608 | 5,574 | 139 | 121 | 40.100719 | 0.625589 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.015152 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8ec065068a50a121692453a485b19d7ff6b8b458 | 182 | py | Python | tests/test_mac_screencapture.py | jonringer/pyscreenshot | 44cefded198b26fd162ab12c9e947704ec9dced0 | [
"BSD-2-Clause"
] | 416 | 2015-01-01T00:41:31.000Z | 2022-03-31T10:15:53.000Z | tests/test_mac_screencapture.py | jonringer/pyscreenshot | 44cefded198b26fd162ab12c9e947704ec9dced0 | [
"BSD-2-Clause"
] | 72 | 2015-02-23T20:12:17.000Z | 2022-03-02T21:23:17.000Z | tests/test_mac_screencapture.py | jonringer/pyscreenshot | 44cefded198b26fd162ab12c9e947704ec9dced0 | [
"BSD-2-Clause"
] | 88 | 2015-03-04T03:29:43.000Z | 2021-10-04T06:37:00.000Z | from bt import backend_to_check
from pyscreenshot.util import platform_is_osx
if platform_is_osx():
def test_mac_screencapture():
backend_to_check("mac_screencapture")
| 22.75 | 45 | 0.791209 | 26 | 182 | 5.115385 | 0.615385 | 0.135338 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148352 | 182 | 7 | 46 | 26 | 0.858065 | 0 | 0 | 0 | 0 | 0 | 0.093407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9140dc93ea732c8c7456e1c9d2605d4e92f2106 | 30 | py | Python | kornia/tracking/__init__.py | mfkiwl/kornia | df591b3b440de84c197f7e2ef91e1d3880e35ce1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | kornia/tracking/__init__.py | mfkiwl/kornia | df591b3b440de84c197f7e2ef91e1d3880e35ce1 | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2021-12-12T09:15:33.000Z | 2022-03-20T09:12:00.000Z | kornia/tracking/__init__.py | mfkiwl/kornia | df591b3b440de84c197f7e2ef91e1d3880e35ce1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from .planar_tracker import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 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 |
d9157cc197b84dec7d5282f1597f3dca44e779b1 | 106 | py | Python | teerace/lib/context_processors.py | chaosk/teerace | 16110c739eb12009d8e70fb3c3bfe8ed87112cfa | [
"BSD-3-Clause"
] | 3 | 2016-06-10T03:45:19.000Z | 2018-09-27T15:32:17.000Z | teerace/lib/context_processors.py | teerace/web | 16110c739eb12009d8e70fb3c3bfe8ed87112cfa | [
"BSD-3-Clause"
] | 26 | 2018-12-31T12:54:27.000Z | 2019-04-08T02:34:44.000Z | teerace/lib/context_processors.py | teerace/web | 16110c739eb12009d8e70fb3c3bfe8ed87112cfa | [
"BSD-3-Clause"
] | 3 | 2017-01-08T14:59:18.000Z | 2018-11-21T14:59:03.000Z | from django.conf import settings as _settings
def settings(request):
return {"settings": _settings}
| 17.666667 | 45 | 0.754717 | 13 | 106 | 6 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 106 | 5 | 46 | 21.2 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 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 |
d930d0cdd96f173459e9ffe25b58043a0210b8cb | 12,597 | py | Python | tests/tests_request_creators/tests_hitbtc/test_market_data.py | astsu-dev/exapi | 1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12 | [
"MIT"
] | null | null | null | tests/tests_request_creators/tests_hitbtc/test_market_data.py | astsu-dev/exapi | 1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12 | [
"MIT"
] | null | null | null | tests/tests_request_creators/tests_hitbtc/test_market_data.py | astsu-dev/exapi | 1ef39ccdd77e9ddb60ec6eaa16a2cc26e1ac3e12 | [
"MIT"
] | null | null | null | import pytest
from yarl import URL
from exapi.request_creators.hitbtc.market_data import \
HitbtcMarketDataRequestCreator
from exapi.request_creators.request import Request
@pytest.fixture(scope="module")
def creator() -> HitbtcMarketDataRequestCreator:
return HitbtcMarketDataRequestCreator()
def test_crea... | 43.588235 | 96 | 0.631579 | 1,468 | 12,597 | 5.241826 | 0.042916 | 0.069396 | 0.122807 | 0.140351 | 0.955686 | 0.94243 | 0.934503 | 0.904873 | 0.904873 | 0.88538 | 0 | 0.028551 | 0.204811 | 12,597 | 288 | 97 | 43.739583 | 0.739643 | 0 | 0 | 0.618421 | 0 | 0 | 0.169723 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 1 | 0.057018 | false | 0 | 0.017544 | 0.004386 | 0.078947 | 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 |
797a0690301e70f01de0f5f46a51ddaa5f77a0da | 37 | py | Python | ModellingArch/__init__.py | MikaZeilstra/ModellingArch | 71a8948f0e8feb086b291fa12d53a0a0adf50c3d | [
"MIT"
] | null | null | null | ModellingArch/__init__.py | MikaZeilstra/ModellingArch | 71a8948f0e8feb086b291fa12d53a0a0adf50c3d | [
"MIT"
] | null | null | null | ModellingArch/__init__.py | MikaZeilstra/ModellingArch | 71a8948f0e8feb086b291fa12d53a0a0adf50c3d | [
"MIT"
] | null | null | null | from ModellingArch.Model import Model | 37 | 37 | 0.891892 | 5 | 37 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 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 |
79ac20c94910683e931d38b82bfe2bcb6d880eb1 | 35 | py | Python | ipynb/junix/__init__.py | tanyajainC137/flask-dashboard | 88b908224ad6d748620a32debc0c9a662fd9e529 | [
"MIT"
] | null | null | null | ipynb/junix/__init__.py | tanyajainC137/flask-dashboard | 88b908224ad6d748620a32debc0c9a662fd9e529 | [
"MIT"
] | null | null | null | ipynb/junix/__init__.py | tanyajainC137/flask-dashboard | 88b908224ad6d748620a32debc0c9a662fd9e529 | [
"MIT"
] | null | null | null | from .exporter import export_images | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 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 |
8dff63840f16ab4199fd65d02aac2e5122ca9a0c | 93 | py | Python | test/test_metaL.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | test/test_metaL.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | test/test_metaL.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | ## @file
import pytest
## alwais `true`
## @ingroup test
def test_empty():
assert True
| 10.333333 | 17 | 0.645161 | 12 | 93 | 4.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 93 | 8 | 18 | 11.625 | 0.808219 | 0.354839 | 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 |
5c0a13a071297a64f17b775a20ba5d0313ab5bc7 | 74 | py | Python | statsmodels/nonparametric/api.py | escheffel/statsmodels | bc70147c4c7ea00b6ac7256bbaf107902983c189 | [
"BSD-3-Clause"
] | 2 | 2017-01-05T22:44:37.000Z | 2018-04-26T08:34:00.000Z | statsmodels/nonparametric/api.py | langmore/statsmodels | a29d0418436a9b38b11101f7741ce6cb35b9e2cd | [
"BSD-3-Clause"
] | null | null | null | statsmodels/nonparametric/api.py | langmore/statsmodels | a29d0418436a9b38b11101f7741ce6cb35b9e2cd | [
"BSD-3-Clause"
] | null | null | null | from kde import KDE
from smoothers_lowess import lowess
import bandwidths
| 18.5 | 35 | 0.864865 | 11 | 74 | 5.727273 | 0.545455 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 74 | 3 | 36 | 24.666667 | 0.984375 | 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 |
3089e2ece5579c4322c016b82e31d603866ad2b8 | 140 | py | Python | conf/gunicorn_config.py | LASI-UFPI/back-end-datafriends | 098b89486f98fabeba206703d32e969fc7992721 | [
"MIT"
] | 2 | 2021-05-24T14:44:47.000Z | 2022-02-27T20:28:37.000Z | conf/gunicorn_config.py | LASI-UFPI/back-end-datafriends | 098b89486f98fabeba206703d32e969fc7992721 | [
"MIT"
] | 2 | 2022-02-13T13:13:50.000Z | 2022-03-04T23:41:53.000Z | conf/gunicorn_config.py | LASI-UFPI/back-end-datafriends | 098b89486f98fabeba206703d32e969fc7992721 | [
"MIT"
] | 1 | 2021-05-24T14:44:50.000Z | 2021-05-24T14:44:50.000Z | command = '/opt/lasi/back-end-datafriends/venv/bin/gunicorn'
pythonpath = '/opt/lasi/back-end-datafriends'
bind = '0.0.0.0:8000'
workers = 3 | 35 | 60 | 0.728571 | 23 | 140 | 4.434783 | 0.652174 | 0.058824 | 0.215686 | 0.27451 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.078571 | 140 | 4 | 61 | 35 | 0.72093 | 0 | 0 | 0 | 0 | 0 | 0.638298 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a518454b0e28ed5cb26c931568df41dede18afde | 160 | py | Python | funcs/__init__.py | farkon00/binarian | 8ebe6247a8a4f709861432fc9d057b8aaeee2117 | [
"MIT"
] | 2 | 2022-02-23T21:24:47.000Z | 2022-03-25T08:18:16.000Z | funcs/__init__.py | farkon00/binarian | 8ebe6247a8a4f709861432fc9d057b8aaeee2117 | [
"MIT"
] | null | null | null | funcs/__init__.py | farkon00/binarian | 8ebe6247a8a4f709861432fc9d057b8aaeee2117 | [
"MIT"
] | null | null | null | import sys
sys.path.append(".")
from binarian import *
from . import exceptions
from . import utils
from . import code_preparer
from . import brackets_parser | 17.777778 | 29 | 0.76875 | 22 | 160 | 5.5 | 0.545455 | 0.330579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 160 | 9 | 29 | 17.777778 | 0.896296 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 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 |
ebb92a644a0630b391f188a72d14906aa93018ce | 35 | py | Python | dkconfig/__init__.py | datakortet/dkconfig | 9496bce00741f7c8839b6f86cb74388268bdbeb6 | [
"MIT"
] | null | null | null | dkconfig/__init__.py | datakortet/dkconfig | 9496bce00741f7c8839b6f86cb74388268bdbeb6 | [
"MIT"
] | null | null | null | dkconfig/__init__.py | datakortet/dkconfig | 9496bce00741f7c8839b6f86cb74388268bdbeb6 | [
"MIT"
] | null | null | null | from .dkconfig import parser, main
| 17.5 | 34 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ebc2b67804ab93b1fd58143725dcb389078c66ad | 203 | py | Python | factorial.py | rajat1401/Python-Thunder | 76fcbc659070cfd92eeae4a68e485fe406949f16 | [
"MIT"
] | null | null | null | factorial.py | rajat1401/Python-Thunder | 76fcbc659070cfd92eeae4a68e485fe406949f16 | [
"MIT"
] | null | null | null | factorial.py | rajat1401/Python-Thunder | 76fcbc659070cfd92eeae4a68e485fe406949f16 | [
"MIT"
] | null | null | null | '''
Probem Task : This program will compute the factorial of a number
Problem Link : https://edabit.com/challenge/PNbsQzmDR3CJ9JHkB
'''
import math
def factorial(n):
return math.factorial(n) | 25.375 | 69 | 0.724138 | 27 | 203 | 5.444444 | 0.851852 | 0.136054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011976 | 0.17734 | 203 | 8 | 70 | 25.375 | 0.868263 | 0.625616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ccfd2febc56f42c375d3c307e4741721583dc898 | 133 | py | Python | causal_world/evaluation/__init__.py | michaelfeil/CausalWorld | ff866159ef0ee9c407893ae204e93eb98dd68be2 | [
"MIT"
] | 2 | 2021-09-22T08:20:12.000Z | 2021-11-16T14:20:45.000Z | causal_world/evaluation/__init__.py | michaelfeil/CausalWorld | ff866159ef0ee9c407893ae204e93eb98dd68be2 | [
"MIT"
] | null | null | null | causal_world/evaluation/__init__.py | michaelfeil/CausalWorld | ff866159ef0ee9c407893ae204e93eb98dd68be2 | [
"MIT"
] | null | null | null | from causal_world.evaluation.protocols.protocol import ProtocolBase
from causal_world.evaluation.evaluation import EvaluationPipeline | 66.5 | 67 | 0.909774 | 15 | 133 | 7.933333 | 0.6 | 0.168067 | 0.252101 | 0.420168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 133 | 2 | 68 | 66.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 | 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 |
6942e417feb92b40005352a886f8f521e5b4b86a | 41 | py | Python | iopipe/contrib/logger/__init__.py | skeptycal/iopipe-python | f6afba36663751779cba55ce53c0e1f2042df0d7 | [
"Apache-2.0"
] | 74 | 2016-08-18T14:26:50.000Z | 2021-11-21T10:58:32.000Z | iopipe/contrib/logger/__init__.py | vemel/iopipe-python | 46c277f9447ddb00e544437ceaa7ba263a759c1d | [
"Apache-2.0"
] | 198 | 2016-08-18T18:52:43.000Z | 2021-05-09T10:01:14.000Z | iopipe/contrib/logger/__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 LoggerPlugin # noqa
| 20.5 | 40 | 0.780488 | 5 | 41 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 1 | 41 | 41 | 0.941176 | 0.097561 | 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 |
696d4174b7c92ef33969c7268439dd502c3d2b87 | 149 | py | Python | cloudshell/firewall/paloalto/panos/flows/panos_state_flow.py | QualiSystems/cloudshell-firewall-panos | 807f296b6960a6dc8fdc37ac332dcb72e3caa8e2 | [
"Apache-2.0"
] | null | null | null | cloudshell/firewall/paloalto/panos/flows/panos_state_flow.py | QualiSystems/cloudshell-firewall-panos | 807f296b6960a6dc8fdc37ac332dcb72e3caa8e2 | [
"Apache-2.0"
] | 1 | 2021-03-16T18:24:24.000Z | 2021-03-16T18:24:24.000Z | cloudshell/firewall/paloalto/panos/flows/panos_state_flow.py | QualiSystems/cloudshell-firewall-panos | 807f296b6960a6dc8fdc37ac332dcb72e3caa8e2 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from cloudshell.shell.flows.state.basic_flow import StateFlow
class PanOSStateFlow(StateFlow):
pass
| 16.555556 | 61 | 0.724832 | 19 | 149 | 5.631579 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.134228 | 149 | 8 | 62 | 18.625 | 0.821705 | 0.255034 | 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 |
15c19b8b5ebc775bff2820c24048fe259a916c3c | 51 | py | Python | Models/__init__.py | AndresJejen/DashBoardTrocafoneDS4A | c58675192688a737972ce984ecf22d681246b7bc | [
"MIT"
] | 1 | 2020-05-24T00:28:38.000Z | 2020-05-24T00:28:38.000Z | Models/__init__.py | AndresJejen/DashBoardTrocafoneDS4A | c58675192688a737972ce984ecf22d681246b7bc | [
"MIT"
] | null | null | null | Models/__init__.py | AndresJejen/DashBoardTrocafoneDS4A | c58675192688a737972ce984ecf22d681246b7bc | [
"MIT"
] | 1 | 2020-05-24T01:27:01.000Z | 2020-05-24T01:27:01.000Z | from .LinearRegression import LinearRegressionModel | 51 | 51 | 0.921569 | 4 | 51 | 11.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 51 | 1 | 51 | 51 | 0.979167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15cd0ac59d86abb5fb51f3179e342f2b6f23a1c3 | 195 | py | Python | zfit/dimension.py | donalrinho/zfit | 9769ef7d56a6be9a5d438e47b80ea5a8f772bc24 | [
"BSD-3-Clause"
] | null | null | null | zfit/dimension.py | donalrinho/zfit | 9769ef7d56a6be9a5d438e47b80ea5a8f772bc24 | [
"BSD-3-Clause"
] | null | null | null | zfit/dimension.py | donalrinho/zfit | 9769ef7d56a6be9a5d438e47b80ea5a8f772bc24 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2020 zfit
from .core.space import Space, combine_spaces, add_spaces
from .core.coordinates import Coordinates
__all__ = ['Space', 'combine_spaces', 'add_spaces', 'Coordinates']
| 32.5 | 66 | 0.764103 | 25 | 195 | 5.64 | 0.52 | 0.113475 | 0.255319 | 0.297872 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.117949 | 195 | 5 | 67 | 39 | 0.796512 | 0.117949 | 0 | 0 | 0 | 0 | 0.236686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15de8961477fb58e446d86db6049c318d521c6de | 165 | py | Python | pyfi/__init__.py | rlinguri/pyfi | 08cccda7eab1119a2a82d265a015c95ba9bf4431 | [
"MIT"
] | null | null | null | pyfi/__init__.py | rlinguri/pyfi | 08cccda7eab1119a2a82d265a015c95ba9bf4431 | [
"MIT"
] | null | null | null | pyfi/__init__.py | rlinguri/pyfi | 08cccda7eab1119a2a82d265a015c95ba9bf4431 | [
"MIT"
] | 1 | 2019-01-12T17:02:01.000Z | 2019-01-12T17:02:01.000Z | #!/usr/bin/env python
from pyfi.entity import *
from pyfi.calendar import *
from pyfi.yhapi import *
__all__ = ['Entity', 'Calendar', 'Session', 'Tick', 'Result']
| 20.625 | 61 | 0.690909 | 22 | 165 | 5 | 0.636364 | 0.218182 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139394 | 165 | 7 | 62 | 23.571429 | 0.774648 | 0.121212 | 0 | 0 | 0 | 0 | 0.215278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c60b8918d4a54f76df084f23c8d4f9a2c0f51e55 | 36 | py | Python | tests/test_general.py | Cloud-Atlas-BR/CloudAtlas | 53b2b7859047fd8c98b548afdec9788334fe7b2f | [
"MIT"
] | null | null | null | tests/test_general.py | Cloud-Atlas-BR/CloudAtlas | 53b2b7859047fd8c98b548afdec9788334fe7b2f | [
"MIT"
] | null | null | null | tests/test_general.py | Cloud-Atlas-BR/CloudAtlas | 53b2b7859047fd8c98b548afdec9788334fe7b2f | [
"MIT"
] | null | null | null | def test_answer():
assert 2 == 2 | 18 | 18 | 0.611111 | 6 | 36 | 3.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.25 | 36 | 2 | 19 | 18 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c619a0a7f1029b9312ddb12daf887420e80965c3 | 20 | py | Python | src/wspc/__init__.py | shakedna1/wspc_rep | f4492af8cec25a3f7b00687c08d30754a1c0c91f | [
"MIT"
] | null | null | null | src/wspc/__init__.py | shakedna1/wspc_rep | f4492af8cec25a3f7b00687c08d30754a1c0c91f | [
"MIT"
] | null | null | null | src/wspc/__init__.py | shakedna1/wspc_rep | f4492af8cec25a3f7b00687c08d30754a1c0c91f | [
"MIT"
] | null | null | null | from .wspc import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c61c9e49e38f6232b0e59302c1905390097d4494 | 28 | py | Python | authopenid/__init__.py | dairiki/authopenid-plugin | 40dd4503221a0fcbbccfba530025496e0c1f7b1b | [
"BSD-3-Clause"
] | 2 | 2015-01-06T03:21:55.000Z | 2015-02-19T21:16:09.000Z | authopenid/__init__.py | trac-hacks/authopenid-plugin | 40dd4503221a0fcbbccfba530025496e0c1f7b1b | [
"BSD-3-Clause"
] | 8 | 2015-02-20T02:24:29.000Z | 2020-07-23T18:48:13.000Z | authopenid/__init__.py | dairiki/authopenid-plugin | 40dd4503221a0fcbbccfba530025496e0c1f7b1b | [
"BSD-3-Clause"
] | 4 | 2015-04-08T17:55:38.000Z | 2019-12-24T09:58:08.000Z | from authopenid import *
| 9.333333 | 25 | 0.714286 | 3 | 28 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 26 | 14 | 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 |
c6219b2d2bd435440fefd94846a5652afbb03691 | 5,710 | py | Python | backend/api/migrations/0001_initial.py | rising-entropy/ADSL-4-Web-Portal | 7ba596e0242cffb8affed47c360b52d97161d8ee | [
"MIT"
] | 1 | 2022-02-24T05:35:19.000Z | 2022-02-24T05:35:19.000Z | backend/api/migrations/0001_initial.py | SayaliDesai4/StudentManegementPortal | 84bdbcabde0f15db0e225ba76c03285dbeb93917 | [
"MIT"
] | null | null | null | backend/api/migrations/0001_initial.py | SayaliDesai4/StudentManegementPortal | 84bdbcabde0f15db0e225ba76c03285dbeb93917 | [
"MIT"
] | 1 | 2022-02-21T06:34:34.000Z | 2022-02-21T06:34:34.000Z | # Generated by Django 4.0.1 on 2022-02-13 06:42
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Classroom',
fields=[
... | 46.803279 | 151 | 0.578284 | 555 | 5,710 | 5.821622 | 0.142342 | 0.083565 | 0.100279 | 0.133705 | 0.815537 | 0.765398 | 0.747756 | 0.73321 | 0.668833 | 0.668833 | 0 | 0.016235 | 0.277233 | 5,710 | 121 | 152 | 47.190083 | 0.766659 | 0.007881 | 0 | 0.622807 | 1 | 0 | 0.105774 | 0.008829 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.052632 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6318dad7a68979ccf0ad1dfb91c1e8c2d708af5 | 290 | py | Python | site/projectLms/Aluno/views.py | GuiGusmao/LMSProjeto | 2c1ffc302068c7d97a79a847b47640e0a6e3dde4 | [
"Apache-2.0"
] | null | null | null | site/projectLms/Aluno/views.py | GuiGusmao/LMSProjeto | 2c1ffc302068c7d97a79a847b47640e0a6e3dde4 | [
"Apache-2.0"
] | null | null | null | site/projectLms/Aluno/views.py | GuiGusmao/LMSProjeto | 2c1ffc302068c7d97a79a847b47640e0a6e3dde4 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
def notas(request):
return render(request,'notas.html')
def PortalHome(request):
return render(request,'PortalHome.html')
def contato(request):
return render(request,'contato.html')
def sugestao(request):
return render(request,'sugestao.html')
| 19.333333 | 41 | 0.768966 | 37 | 290 | 6.027027 | 0.351351 | 0.233184 | 0.340807 | 0.466368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 290 | 14 | 42 | 20.714286 | 0.857692 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c639807e62bfa2b0f751bee1cb27c73f039d7e00 | 32 | py | Python | python/scirpt.py | pection-zz/Allproject | 25dd122cb4b30a360894aba0be4b4a62f465b68e | [
"MIT"
] | 2 | 2020-09-19T04:22:52.000Z | 2020-09-23T14:04:17.000Z | python/scirpt.py | pection/Allproject | 25dd122cb4b30a360894aba0be4b4a62f465b68e | [
"MIT"
] | null | null | null | python/scirpt.py | pection/Allproject | 25dd122cb4b30a360894aba0be4b4a62f465b68e | [
"MIT"
] | 2 | 2020-09-13T03:47:22.000Z | 2020-09-23T14:04:19.000Z | import a_module
a_module.func() | 10.666667 | 15 | 0.8125 | 6 | 32 | 4 | 0.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 3 | 16 | 10.666667 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c63c110e04e5ad3e484613c3a0f15966391fbbba | 9,355 | py | Python | profiles/tests/test_gql_federation.py | City-of-Helsinki/opencity-profile | a430b562b9937f443d391475fabdc27068b95c49 | [
"MIT"
] | 5 | 2020-03-17T15:56:17.000Z | 2022-01-31T13:43:31.000Z | profiles/tests/test_gql_federation.py | City-of-Helsinki/opencity-profile | a430b562b9937f443d391475fabdc27068b95c49 | [
"MIT"
] | 337 | 2018-05-21T08:35:05.000Z | 2022-03-14T07:38:15.000Z | profiles/tests/test_gql_federation.py | City-of-Helsinki/opencity-profile | a430b562b9937f443d391475fabdc27068b95c49 | [
"MIT"
] | 10 | 2019-08-05T08:16:06.000Z | 2021-08-06T15:08:44.000Z | import pytest
from graphql_relay import to_global_id
from guardian.shortcuts import assign_perm
from open_city_profile.tests.asserts import assert_match_error_code
from profiles.schema import AddressNode, ProfileNode
from profiles.tests.factories import AddressFactory, ProfileFactory
from services.tests.factories impo... | 34.776952 | 90 | 0.713522 | 1,031 | 9,355 | 6.091174 | 0.105723 | 0.107006 | 0.053822 | 0.055732 | 0.822611 | 0.816879 | 0.806051 | 0.803822 | 0.768153 | 0.768153 | 0 | 0 | 0.191235 | 9,355 | 268 | 91 | 34.906716 | 0.830029 | 0 | 0 | 0.628959 | 0 | 0 | 0.172635 | 0.057723 | 0 | 0 | 0 | 0 | 0.144796 | 1 | 0.058824 | false | 0 | 0.031674 | 0 | 0.099548 | 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 |
d699cf6a0abfd9944a570de426cbc2ae040e473a | 3,831 | py | Python | dlfairness/other/bias_metric_exp.py | lin-tan/fairness-variance | 7f6aee23160707ffe78f429e5d960022ea1c9fe4 | [
"BSD-3-Clause"
] | null | null | null | dlfairness/other/bias_metric_exp.py | lin-tan/fairness-variance | 7f6aee23160707ffe78f429e5d960022ea1c9fe4 | [
"BSD-3-Clause"
] | null | null | null | dlfairness/other/bias_metric_exp.py | lin-tan/fairness-variance | 7f6aee23160707ffe78f429e5d960022ea1c9fe4 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import sys
arr = np.empty((2, 2, 2)) # GT, Pred, Group
arr[0][0][0] = 80
arr[0][1][0] = 20
arr[1][0][0] = 10
arr[1][1][0] = 90
arr[0][0][1] = 60
arr[0][1][1] = 40
arr[1][0][1] = 70
arr[1][1][1] = 30
# SP, class 0
sp_f = arr[:, 0, :].sum() / arr.sum()
sp_f_0 = arr[:, 0, 0].sum() / arr[:, :, 0].sum(... | 29.244275 | 118 | 0.505612 | 870 | 3,831 | 1.973563 | 0.050575 | 0.153757 | 0.089691 | 0.081538 | 0.87187 | 0.822947 | 0.769948 | 0.737333 | 0.612114 | 0.525917 | 0 | 0.120836 | 0.200731 | 3,831 | 130 | 119 | 29.469231 | 0.439909 | 0.054033 | 0 | 0.311828 | 0 | 0 | 0.007485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021505 | 0 | 0.021505 | 0.075269 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d69e3abbe3dcc09488cb886e46ff66cf611691bb | 11,724 | py | Python | tests/test_apigatewayv2/test_apigatewayv2.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | tests/test_apigatewayv2/test_apigatewayv2.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1 | 2022-02-19T02:10:45.000Z | 2022-02-19T02:15:52.000Z | tests/test_apigatewayv2/test_apigatewayv2.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | """Unit tests for apigatewayv2-supported APIs."""
import boto3
import pytest
import sure # noqa # pylint: disable=unused-import
from botocore.exceptions import ClientError
from moto import mock_apigatewayv2
# See our Development Tips on writing tests for hints on how to write good tests:
# http://docs.getmoto.org/en... | 35.96319 | 86 | 0.646196 | 1,271 | 11,724 | 5.86546 | 0.116444 | 0.062911 | 0.115091 | 0.145942 | 0.85285 | 0.837961 | 0.786586 | 0.772636 | 0.725687 | 0.671227 | 0 | 0.014141 | 0.191743 | 11,724 | 325 | 87 | 36.073846 | 0.772583 | 0.020471 | 0 | 0.681004 | 0 | 0 | 0.295251 | 0.051068 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039427 | false | 0 | 0.017921 | 0 | 0.057348 | 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 |
d6df54eee7ede2f41d95836737f690f0ceb85810 | 42 | py | Python | cloudman/__init__.py | aakashns/cloudman | 5923152162151661397408de80783a80ffd8bb09 | [
"MIT"
] | 10 | 2019-07-06T08:49:41.000Z | 2020-01-16T06:30:28.000Z | cloudman/__init__.py | aakashns/cloudman | 5923152162151661397408de80783a80ffd8bb09 | [
"MIT"
] | 2 | 2019-11-12T11:53:27.000Z | 2019-11-12T11:55:30.000Z | cloudman/__init__.py | aakashns/cloudman | 5923152162151661397408de80783a80ffd8bb09 | [
"MIT"
] | null | null | null | from cloudman._version import __version__
| 21 | 41 | 0.880952 | 5 | 42 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba9dbfcb61740474299dbdec881df5ead6bcd06d | 45 | py | Python | framework/framework/execute/__init__.py | StepaTa/vkbottle | 3b04a5343380cbabe782151e7cb1c1645a9fa9ce | [
"MIT"
] | null | null | null | framework/framework/execute/__init__.py | StepaTa/vkbottle | 3b04a5343380cbabe782151e7cb1c1645a9fa9ce | [
"MIT"
] | null | null | null | framework/framework/execute/__init__.py | StepaTa/vkbottle | 3b04a5343380cbabe782151e7cb1c1645a9fa9ce | [
"MIT"
] | null | null | null | from .definitions import converter, vkscript
| 22.5 | 44 | 0.844444 | 5 | 45 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
baaf7471c93dc4e4c3b5102d4ac16e244867fb72 | 536,768 | py | Python | examples_obsolete/dataflow_fftN/test_dataflow_fftN.py | akmaru/veriloggen | 74f998139e8cf613f7703fa4cffd571bbf069bbc | [
"Apache-2.0"
] | 232 | 2015-09-01T16:07:48.000Z | 2022-03-28T14:53:28.000Z | examples_obsolete/dataflow_fftN/test_dataflow_fftN.py | akmaru/veriloggen | 74f998139e8cf613f7703fa4cffd571bbf069bbc | [
"Apache-2.0"
] | 34 | 2015-08-21T09:13:03.000Z | 2022-03-21T23:52:44.000Z | examples_obsolete/dataflow_fftN/test_dataflow_fftN.py | akmaru/veriloggen | 74f998139e8cf613f7703fa4cffd571bbf069bbc | [
"Apache-2.0"
] | 46 | 2015-09-24T14:39:57.000Z | 2022-02-23T21:59:56.000Z | from __future__ import absolute_import
from __future__ import print_function
import veriloggen
import dataflow_fftN
expected_verilog = """
module test
(
);
reg CLK;
reg RST;
reg signed [16-1:0] din0re;
reg signed [16-1:0] din0im;
reg signed [16-1:0] din1re;
reg signed [16-1:0] din1im;
reg signed [16-1... | 40.670405 | 618 | 0.743204 | 74,739 | 536,768 | 4.518029 | 0.008684 | 0.296672 | 0.197339 | 0.053732 | 0.854928 | 0.717573 | 0.661072 | 0.630056 | 0.47724 | 0.449515 | 0 | 0.102225 | 0.179001 | 536,768 | 13,197 | 619 | 40.673486 | 0.664019 | 0 | 0 | 0.489194 | 0 | 0.010481 | 0.998927 | 0.604425 | 0 | 0 | 0 | 0 | 0.000081 | 1 | 0.000081 | false | 0 | 0.000487 | 0 | 0.000569 | 0.000081 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bab4011c411d22e59ec3f3f81ea2a592e5cdec49 | 24 | py | Python | DSTK/tests/__init__.py | jotterbach/dstk | d371262ca09527fb8279f066b564abf5a1fe28df | [
"MIT"
] | 12 | 2017-01-10T19:50:32.000Z | 2020-03-30T20:28:31.000Z | DSTK/tests/__init__.py | jotterbach/dstk | d371262ca09527fb8279f066b564abf5a1fe28df | [
"MIT"
] | 7 | 2016-10-12T16:21:58.000Z | 2016-12-01T00:34:54.000Z | DSTK/tests/__init__.py | jotterbach/dstk | d371262ca09527fb8279f066b564abf5a1fe28df | [
"MIT"
] | 8 | 2016-08-22T11:23:12.000Z | 2020-03-13T23:18:39.000Z | from tests_gam import *
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 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 |
bac9812fd861e88bc5468eacd8098f231d403575 | 136 | py | Python | object-detector/__init__.py | pedrooct/object-detector | 4fe4671b8232ffae39834d0a5da783818ac40355 | [
"MIT"
] | 464 | 2015-07-07T05:19:20.000Z | 2022-03-24T23:46:41.000Z | object-detector/__init__.py | pedrooct/object-detector | 4fe4671b8232ffae39834d0a5da783818ac40355 | [
"MIT"
] | 31 | 2015-08-27T20:08:31.000Z | 2021-09-21T07:43:40.000Z | object-detector/__init__.py | pedrooct/object-detector | 4fe4671b8232ffae39834d0a5da783818ac40355 | [
"MIT"
] | 260 | 2015-07-08T13:40:27.000Z | 2022-03-11T15:22:10.000Z | from .extract-features import *
from .train-classifier import *
from .test-classifier import *
from .nms import *
from .config import *
| 22.666667 | 31 | 0.757353 | 18 | 136 | 5.722222 | 0.5 | 0.38835 | 0.38835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 5 | 32 | 27.2 | 0.887931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
baca81d9c723cf88a5ca9fb9a03c04646b7ed166 | 27 | py | Python | test_pytrain/test_Apriori/__init__.py | pytrain/pytrain-shallow | c873a6f11f1dd940da12e7c9a3c961507d064d9a | [
"MIT"
] | 20 | 2016-09-03T10:56:06.000Z | 2020-08-21T01:43:47.000Z | test_pytrain/test_Apriori/__init__.py | pytrain/pytrain | c873a6f11f1dd940da12e7c9a3c961507d064d9a | [
"MIT"
] | 8 | 2016-11-14T12:33:38.000Z | 2017-07-14T15:43:53.000Z | test_pytrain/test_Apriori/__init__.py | pytrain/pytrain | c873a6f11f1dd940da12e7c9a3c961507d064d9a | [
"MIT"
] | 7 | 2017-02-09T16:50:37.000Z | 2022-01-02T01:18:56.000Z | from test_Apriori import *
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
baf16ff1c899f41a7c0a6e2ad3de36b7758dd8b5 | 7,921 | py | Python | tests/test_mediastore/test_mediastore.py | edisongustavo/moto | ae4d20610227b46590ad248535c021208b2bfaed | [
"Apache-2.0"
] | 1 | 2019-10-18T16:10:01.000Z | 2019-10-18T16:10:01.000Z | tests/test_mediastore/test_mediastore.py | edisongustavo/moto | ae4d20610227b46590ad248535c021208b2bfaed | [
"Apache-2.0"
] | 1 | 2021-03-08T09:45:17.000Z | 2021-03-08T09:45:17.000Z | tests/test_mediastore/test_mediastore.py | edisongustavo/moto | ae4d20610227b46590ad248535c021208b2bfaed | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
import boto3
import sure # noqa
import pytest
from moto import mock_mediastore
from botocore.exceptions import ClientError
region = "eu-west-1"
@mock_mediastore
def test_create_container_succeeds():
client = boto3.client("mediastore", region_name=region)
response = c... | 40.620513 | 89 | 0.745613 | 866 | 7,921 | 6.558891 | 0.088915 | 0.066373 | 0.105282 | 0.059155 | 0.916373 | 0.909155 | 0.888204 | 0.851056 | 0.847535 | 0.809859 | 0 | 0.00607 | 0.126499 | 7,921 | 194 | 90 | 40.829897 | 0.814858 | 0.000505 | 0 | 0.6 | 0 | 0 | 0.194694 | 0.04662 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.0375 | 0 | 0.1375 | 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 |
241a50d11ffa6fe4709126b40d28348799beaa06 | 8,355 | py | Python | tests/test_watchdog.py | NiWaRe/deepee | 98b5cd09f356f4a597fe204799a524c4d444dd2d | [
"Apache-2.0"
] | 16 | 2021-03-24T09:50:32.000Z | 2022-03-10T12:03:37.000Z | tests/test_watchdog.py | NiWaRe/deepee | 98b5cd09f356f4a597fe204799a524c4d444dd2d | [
"Apache-2.0"
] | 4 | 2021-03-27T09:36:20.000Z | 2021-10-18T09:30:47.000Z | tests/test_watchdog.py | NiWaRe/deepee | 98b5cd09f356f4a597fe204799a524c4d444dd2d | [
"Apache-2.0"
] | 4 | 2021-06-24T08:30:47.000Z | 2021-11-09T08:33:57.000Z | from deepee.watchdog import PrivacyBudgetExhausted
from deepee import PrivacyWatchdog, UniformDataLoader, PrivacyWrapper
from deepee.dataloader import UniformWORSubsampler
from torch.utils.data import DataLoader, Dataset
import torch
import pytest
from testfixtures import LogCapture
class DS(Dataset):
def __getit... | 26.951613 | 88 | 0.601556 | 974 | 8,355 | 4.921971 | 0.140657 | 0.009178 | 0.049645 | 0.053191 | 0.794743 | 0.772841 | 0.759491 | 0.744055 | 0.738006 | 0.724864 | 0 | 0.03833 | 0.297427 | 8,355 | 310 | 89 | 26.951613 | 0.778365 | 0.017475 | 0 | 0.728745 | 0 | 0 | 0.012938 | 0 | 0 | 0 | 0 | 0 | 0.032389 | 1 | 0.145749 | false | 0 | 0.02834 | 0.080972 | 0.327935 | 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 |
244c12fcb46fcd868b6be755180aa9162f6650a5 | 48 | py | Python | ezlog/__init__.py | eiva/ezlog | 47aba57ebf69dd55b2c18d5f8a11396f59071ea0 | [
"MIT"
] | null | null | null | ezlog/__init__.py | eiva/ezlog | 47aba57ebf69dd55b2c18d5f8a11396f59071ea0 | [
"MIT"
] | null | null | null | ezlog/__init__.py | eiva/ezlog | 47aba57ebf69dd55b2c18d5f8a11396f59071ea0 | [
"MIT"
] | null | null | null | from .wrappers import log_call, log_member_call
| 24 | 47 | 0.854167 | 8 | 48 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.883721 | 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 |
246a50d8ac22a7e1ab54799c89a214b8e9a37bff | 859 | py | Python | ark_nlp/model/tc/bert/__init__.py | confstantine/nlp-task | cb152e885bc6f6f1243a12ad90b1c715eb548736 | [
"Apache-2.0"
] | 1 | 2021-12-27T04:48:40.000Z | 2021-12-27T04:48:40.000Z | ark_nlp/model/tc/bert/__init__.py | confstantine/nlp-task | cb152e885bc6f6f1243a12ad90b1c715eb548736 | [
"Apache-2.0"
] | null | null | null | ark_nlp/model/tc/bert/__init__.py | confstantine/nlp-task | cb152e885bc6f6f1243a12ad90b1c715eb548736 | [
"Apache-2.0"
] | 1 | 2021-12-27T04:49:35.000Z | 2021-12-27T04:49:35.000Z | from ark_nlp.dataset import SentenceClassificationDataset as Dataset
from ark_nlp.dataset import SentenceClassificationDataset as BertTCDataset
from ark_nlp.processor.tokenizer.transfomer import SentenceTokenizer as Tokenizer
from ark_nlp.processor.tokenizer.transfomer import SentenceTokenizer as BertTCTokenizer
from... | 50.529412 | 95 | 0.888242 | 116 | 859 | 6.37069 | 0.232759 | 0.113667 | 0.162382 | 0.138024 | 0.841678 | 0.768606 | 0.768606 | 0.622463 | 0.351827 | 0.181326 | 0 | 0 | 0.086147 | 859 | 17 | 96 | 50.529412 | 0.941401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
03122c1caa10ce78558aac22cb7a375f52e24ce0 | 19,242 | py | Python | mygrid/short_circuit/phase_components.py | grei-ufc/MyGrid | c42fe9d4e0838f253dd5b0716cbf0c892136d931 | [
"MIT"
] | 3 | 2018-03-02T11:18:51.000Z | 2021-07-30T23:22:18.000Z | mygrid/short_circuit/phase_components.py | grei-ufc/MyGrid | c42fe9d4e0838f253dd5b0716cbf0c892136d931 | [
"MIT"
] | 8 | 2017-11-06T12:15:15.000Z | 2019-04-29T13:41:27.000Z | mygrid/short_circuit/phase_components.py | grei-ufc/MyGrid | c42fe9d4e0838f253dd5b0716cbf0c892136d931 | [
"MIT"
] | 4 | 2019-03-20T11:26:04.000Z | 2021-06-03T19:28:05.000Z | import numpy as np
import copy
from mygrid.grid import Section,TransformerModel, Auto_TransformerModel
import pandas as pd
"""
This scripts allows the user to calculate the unbalanced short-circuits on radial distribution
systems modeled on mygrid.
"""
def biphasic(distgrid, node_name, fs='Higher',Df=False, zc=0+0j)... | 22.374419 | 94 | 0.65435 | 3,503 | 19,242 | 3.506423 | 0.063089 | 0.032565 | 0.038509 | 0.026052 | 0.824636 | 0.783196 | 0.770007 | 0.759912 | 0.749898 | 0.739152 | 0 | 0.035035 | 0.158923 | 19,242 | 859 | 95 | 22.400466 | 0.723925 | 0.139954 | 0 | 0.64781 | 0 | 0 | 0.020648 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031022 | false | 0 | 0.007299 | 0 | 0.091241 | 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 |
0319bd2989808e5d20cd1adfecc9b7f82e942bd1 | 93 | py | Python | django/tests/bitcoin_monitor/test_tasks.py | chanhosuh/bitcoin-monitor | acecfcf020cf2debfdf3a2e8c446007d7412d8e1 | [
"MIT"
] | 1 | 2020-01-01T15:54:45.000Z | 2020-01-01T15:54:45.000Z | django/tests/bitcoin_monitor/test_tasks.py | chanhosuh/bitcoin-monitor | acecfcf020cf2debfdf3a2e8c446007d7412d8e1 | [
"MIT"
] | 13 | 2019-02-28T03:24:54.000Z | 2021-09-22T17:50:00.000Z | django/tests/bitcoin_monitor/test_tasks.py | chanhosuh/bitcoin-monitor | acecfcf020cf2debfdf3a2e8c446007d7412d8e1 | [
"MIT"
] | null | null | null | from django.test.testcases import TestCase
class ProcessBlockchainTest(TestCase):
pass
| 15.5 | 42 | 0.806452 | 10 | 93 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 93 | 5 | 43 | 18.6 | 0.9375 | 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 |
034c5310cbe4c5b96dca0769da16ec02eba17fe9 | 256 | py | Python | utils/__init__.py | IST-DASLab/ACDC | ac53210b6adc1f2506ff909de08172ed9cad25d5 | [
"Apache-2.0"
] | 6 | 2021-11-26T01:21:03.000Z | 2022-01-10T15:41:50.000Z | utils/__init__.py | IST-DASLab/ACDC | ac53210b6adc1f2506ff909de08172ed9cad25d5 | [
"Apache-2.0"
] | 1 | 2021-11-28T10:51:08.000Z | 2021-11-30T01:30:29.000Z | utils/__init__.py | IST-DASLab/ACDC | ac53210b6adc1f2506ff909de08172ed9cad25d5 | [
"Apache-2.0"
] | 1 | 2021-12-21T13:25:43.000Z | 2021-12-21T13:25:43.000Z | from utils.utils import *
from utils.parse_config import *
from utils.masking_utils import *
from utils.datasets import *
from utils.checkpoints import *
from utils.approximation import *
from utils.auto_augmentation import *
from utils.flop_utils import * | 32 | 37 | 0.816406 | 36 | 256 | 5.694444 | 0.333333 | 0.35122 | 0.512195 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121094 | 256 | 8 | 38 | 32 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
036e8cd61cc156dded488b2f6b43cea5d9d146f6 | 41 | py | Python | src/core/settings/local.py | thibault/pomodoro_api | 5ed4ecd8469f4ccf50246bdaa5421fa6c8042e66 | [
"MIT"
] | null | null | null | src/core/settings/local.py | thibault/pomodoro_api | 5ed4ecd8469f4ccf50246bdaa5421fa6c8042e66 | [
"MIT"
] | null | null | null | src/core/settings/local.py | thibault/pomodoro_api | 5ed4ecd8469f4ccf50246bdaa5421fa6c8042e66 | [
"MIT"
] | null | null | null | from core.settings.base import * # noqa
| 20.5 | 40 | 0.731707 | 6 | 41 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 1 | 41 | 41 | 0.882353 | 0.097561 | 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 |
cee9fb9e2160fb5de225907dd20b5378aab8b769 | 2,487 | py | Python | tests/test_itemloader.py | MIPT-Oulu/Collagen | 0cbc4285d60e5c9fcc89f629fcf4321e80b7452c | [
"MIT"
] | 4 | 2019-05-14T14:44:51.000Z | 2020-03-13T08:37:48.000Z | tests/test_itemloader.py | MIPT-Oulu/Collagen | 0cbc4285d60e5c9fcc89f629fcf4321e80b7452c | [
"MIT"
] | 26 | 2019-04-21T20:35:22.000Z | 2022-03-12T00:32:57.000Z | tests/test_itemloader.py | MIPT-Oulu/Collagen | 0cbc4285d60e5c9fcc89f629fcf4321e80b7452c | [
"MIT"
] | 1 | 2019-05-14T14:53:28.000Z | 2019-05-14T14:53:28.000Z | import itertools
from collagen.data import ItemLoader
from .fixtures import *
@pytest.mark.parametrize('batch_size, n_samples', itertools.product([32, 11, 3], [1, 3, 6]))
def test_loader_samples_batches(batch_size, n_samples, metadata_fname_target_5_classes,
ones_image_parser, img_targ... | 50.755102 | 111 | 0.679131 | 323 | 2,487 | 4.835913 | 0.198142 | 0.115237 | 0.121639 | 0.128041 | 0.828425 | 0.828425 | 0.828425 | 0.828425 | 0.828425 | 0.756722 | 0 | 0.021683 | 0.22115 | 2,487 | 48 | 112 | 51.8125 | 0.784719 | 0 | 0 | 0.594595 | 0 | 0 | 0.043024 | 0 | 0 | 0 | 0 | 0 | 0.243243 | 1 | 0.081081 | false | 0 | 0.081081 | 0 | 0.162162 | 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 |
304e4d261ebda6206f6c2dda1a613c5f82c32929 | 204 | py | Python | benchmarker/data/model/__init__.py | due-benchmark/baselines | 2378c02238a04432c7e1401cbe471d57aaf26ff4 | [
"MIT"
] | 23 | 2021-12-07T01:56:02.000Z | 2022-03-22T15:24:55.000Z | benchmarker/data/model/__init__.py | due-benchmark/baselines | 2378c02238a04432c7e1401cbe471d57aaf26ff4 | [
"MIT"
] | 1 | 2022-01-13T10:00:23.000Z | 2022-02-24T00:31:12.000Z | benchmarker/data/model/__init__.py | due-benchmark/baselines | 2378c02238a04432c7e1401cbe471d57aaf26ff4 | [
"MIT"
] | null | null | null | from benchmarker.data.model.example import Example
from benchmarker.data.model.feature import Feature
from benchmarker.data.model.span import Span
__all__ = [
"Example",
"Feature",
"Span",
]
| 20.4 | 50 | 0.740196 | 25 | 204 | 5.88 | 0.36 | 0.306122 | 0.387755 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 204 | 9 | 51 | 22.666667 | 0.854651 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
3073156bf02e1e987900b0763ebcf68df7fab9e5 | 169 | py | Python | src/confluence_secret_finder/core/secrets/plugins/base_plugin.py | gsoft-inc/confluence-secret-finder | 3c342949f3ffbc3e50e1087e14855a87d94abf24 | [
"Apache-2.0"
] | null | null | null | src/confluence_secret_finder/core/secrets/plugins/base_plugin.py | gsoft-inc/confluence-secret-finder | 3c342949f3ffbc3e50e1087e14855a87d94abf24 | [
"Apache-2.0"
] | null | null | null | src/confluence_secret_finder/core/secrets/plugins/base_plugin.py | gsoft-inc/confluence-secret-finder | 3c342949f3ffbc3e50e1087e14855a87d94abf24 | [
"Apache-2.0"
] | null | null | null | from abc import ABC, abstractmethod
from typing import List
class BasePlugin(ABC):
@abstractmethod
def find_secrets(self, lines: List[str]):
return []
| 18.777778 | 45 | 0.704142 | 21 | 169 | 5.619048 | 0.714286 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213018 | 169 | 8 | 46 | 21.125 | 0.887218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
06a158906d92c598da33ba1946a32a264f08ad5e | 3,869 | py | Python | ir_measures/measures/nerr.py | claclark/ir_measures | 0696f3cdf3d259d7f6713ef6e5cc4a6c2717d6de | [
"Apache-2.0"
] | 17 | 2021-04-27T19:42:27.000Z | 2022-03-13T10:57:16.000Z | ir_measures/measures/nerr.py | claclark/ir_measures | 0696f3cdf3d259d7f6713ef6e5cc4a6c2717d6de | [
"Apache-2.0"
] | 27 | 2021-04-23T19:33:22.000Z | 2022-03-08T13:42:10.000Z | ir_measures/measures/nerr.py | claclark/ir_measures | 0696f3cdf3d259d7f6713ef6e5cc4a6c2717d6de | [
"Apache-2.0"
] | 3 | 2021-12-28T21:21:07.000Z | 2022-01-26T15:38:40.000Z | from ir_measures import measures
from .base import Measure, ParamInfo
class _NERR8(measures.Measure):
"""
Version of the Not (but Nearly) Expected Reciprocal Rank (NERR) measure, version from Equation (8) of the the following paper.
::
@inproceedings{Azzopardi:2021:ECE:3471158.3472239,
author = ... | 37.931373 | 131 | 0.670974 | 467 | 3,869 | 5.445396 | 0.194861 | 0.08022 | 0.103814 | 0.098309 | 0.8663 | 0.83956 | 0.83956 | 0.83956 | 0.83956 | 0.83956 | 0 | 0.068787 | 0.203412 | 3,869 | 101 | 132 | 38.306931 | 0.756327 | 0.517963 | 0 | 0.428571 | 0 | 0 | 0.199891 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.428571 | 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 |
231427b4d57a84ccf7bc21b23d0e3e9ccf181c46 | 202 | py | Python | quiz/admin.py | arpitptl/quiz-up | e85329e799abe4da314021369990413225b34ae8 | [
"MIT"
] | null | null | null | quiz/admin.py | arpitptl/quiz-up | e85329e799abe4da314021369990413225b34ae8 | [
"MIT"
] | null | null | null | quiz/admin.py | arpitptl/quiz-up | e85329e799abe4da314021369990413225b34ae8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Quiz, Question, Option, UserMarks
admin.site.register(Quiz)
admin.site.register(Question)
admin.site.register(Option)
admin.site.register(UserMarks) | 28.857143 | 53 | 0.821782 | 28 | 202 | 5.928571 | 0.428571 | 0.216867 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074257 | 202 | 7 | 54 | 28.857143 | 0.887701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
231851f25c7ebe3d166bcdcdd7e1410e4e55309e | 152 | py | Python | tests/test_capitalize.py | rblack42/TikzBuilder | ec69517db422ebda947c6e236c0b9ea597c3a934 | [
"BSD-3-Clause"
] | null | null | null | tests/test_capitalize.py | rblack42/TikzBuilder | ec69517db422ebda947c6e236c0b9ea597c3a934 | [
"BSD-3-Clause"
] | null | null | null | tests/test_capitalize.py | rblack42/TikzBuilder | ec69517db422ebda947c6e236c0b9ea597c3a934 | [
"BSD-3-Clause"
] | null | null | null | # test the testing system
def capital_case(x):
return x.capitalize()
def test_capital_case():
assert capital_case("something") == 'Something'
| 19 | 51 | 0.717105 | 20 | 152 | 5.25 | 0.6 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 152 | 7 | 52 | 21.714286 | 0.826772 | 0.151316 | 0 | 0 | 0 | 0 | 0.141732 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
88dc324a56fe80ff1663f6116ffa3f298c5c32fe | 130 | py | Python | rosie/__init__.py | fmaida/rosie | 3906d11231aadaf9095f00fde8a73bc186403660 | [
"MIT"
] | null | null | null | rosie/__init__.py | fmaida/rosie | 3906d11231aadaf9095f00fde8a73bc186403660 | [
"MIT"
] | null | null | null | rosie/__init__.py | fmaida/rosie | 3906d11231aadaf9095f00fde8a73bc186403660 | [
"MIT"
] | null | null | null | # Rosie
from rosie.utils import RelFile
from rosie.exceptions import DocumentNotFound, NoDocuments
from rosie.rosie import Rosie
| 21.666667 | 58 | 0.838462 | 17 | 130 | 6.411765 | 0.470588 | 0.247706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 130 | 5 | 59 | 26 | 0.95614 | 0.038462 | 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 |
0014bbb389260d6465312db1ff744becfaf93073 | 196 | py | Python | schemaless/__init__.py | eklitzke/schemaless | eb2ca453a69e8af36980c53fcc66725116ae7971 | [
"0BSD"
] | 58 | 2015-04-30T07:36:45.000Z | 2022-01-20T03:37:09.000Z | schemaless/__init__.py | eklitzke/schemaless | eb2ca453a69e8af36980c53fcc66725116ae7971 | [
"0BSD"
] | 1 | 2016-01-19T05:28:15.000Z | 2016-01-19T05:28:15.000Z | schemaless/__init__.py | eklitzke/schemaless | eb2ca453a69e8af36980c53fcc66725116ae7971 | [
"0BSD"
] | 14 | 2015-04-14T09:10:53.000Z | 2020-05-09T01:53:17.000Z | from schemaless.guid import *
from schemaless.column import Entity, c
from schemaless.index import Index
from schemaless.datastore import DataStore
from schemaless.batch import IndexUpdater, main
| 32.666667 | 47 | 0.846939 | 26 | 196 | 6.384615 | 0.461538 | 0.421687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 196 | 5 | 48 | 39.2 | 0.954023 | 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 |
004795aafe83d2f2d6617165c72e982a0511ea87 | 7,390 | py | Python | networks.py | kenseii/landslide | 597ddd0344a03811bcd1d246017b034a2c9c8030 | [
"MIT"
] | 40 | 2018-04-05T16:36:11.000Z | 2022-03-05T08:29:50.000Z | networks.py | kenseii/landslide | 597ddd0344a03811bcd1d246017b034a2c9c8030 | [
"MIT"
] | 4 | 2018-01-19T05:11:13.000Z | 2021-05-06T13:16:55.000Z | networks.py | kenseii/landslide | 597ddd0344a03811bcd1d246017b034a2c9c8030 | [
"MIT"
] | 28 | 2017-09-16T18:03:55.000Z | 2021-05-06T13:15:00.000Z | from keras.layers import Activation, AvgPool2D, Conv2D, Dense, Dropout, Flatten, Input, MaxPool2D, merge
from keras.models import Model, Sequential
from utils import Maxout
def get_convnet_landslide_all(args) -> Model:
input_shape = (args.area_size, args.area_size, 14)
model = Sequential()
model.add(Conv... | 34.53271 | 104 | 0.617997 | 1,133 | 7,390 | 3.902913 | 0.069726 | 0.117594 | 0.088648 | 0.061058 | 0.865446 | 0.852555 | 0.824062 | 0.810719 | 0.771823 | 0.741067 | 0 | 0.062066 | 0.182409 | 7,390 | 213 | 105 | 34.694836 | 0.669811 | 0.024357 | 0 | 0.625767 | 0 | 0 | 0.073167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055215 | false | 0 | 0.018405 | 0.01227 | 0.128834 | 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 |
cc38465985c17d0379c8cd2d3021d73f3bad45ed | 163 | py | Python | ebenv/_compat.py | theY4Kman/ebenv | cc609303add9c71e95e5119dd8201a1b4d8bfaca | [
"BSD-3-Clause"
] | null | null | null | ebenv/_compat.py | theY4Kman/ebenv | cc609303add9c71e95e5119dd8201a1b4d8bfaca | [
"BSD-3-Clause"
] | null | null | null | ebenv/_compat.py | theY4Kman/ebenv | cc609303add9c71e95e5119dd8201a1b4d8bfaca | [
"BSD-3-Clause"
] | null | null | null | import sys
IS_PY2 = sys.version_info < (3,)
if IS_PY2:
def iteritems(d):
return d.iteritems()
else:
def iteritems(d):
return d.items()
| 12.538462 | 32 | 0.595092 | 24 | 163 | 3.916667 | 0.583333 | 0.106383 | 0.276596 | 0.404255 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.282209 | 163 | 12 | 33 | 13.583333 | 0.777778 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cc649984acd4065b1a69ca9e0ee7546c752dad9b | 24,788 | py | Python | python/fdfault/analysis/write_scec.py | egdaub/fdfault | ec066f032ba109843164429aa7d9e7352485d735 | [
"MIT"
] | 12 | 2017-10-05T22:04:40.000Z | 2020-08-31T08:32:17.000Z | python/fdfault/analysis/write_scec.py | jhsa26/fdfault | ec066f032ba109843164429aa7d9e7352485d735 | [
"MIT"
] | 3 | 2020-05-06T16:48:32.000Z | 2020-09-18T11:41:41.000Z | python/fdfault/analysis/write_scec.py | jhsa26/fdfault | ec066f032ba109843164429aa7d9e7352485d735 | [
"MIT"
] | 12 | 2017-03-24T19:15:27.000Z | 2020-08-31T08:32:18.000Z | """
The ``write_scec`` module contains several functions useful for converting binary output from a
simulation to the text file format used by the SCEC Rupture Code Verification group. Functions are
written for on fault, off fault, and front data types, and there are versions for both 2D and 3D
problems. The functions ... | 48.988142 | 136 | 0.604204 | 3,558 | 24,788 | 4.139404 | 0.076447 | 0.043183 | 0.038498 | 0.009234 | 0.853069 | 0.839557 | 0.825435 | 0.797189 | 0.792708 | 0.792436 | 0 | 0.012479 | 0.243505 | 24,788 | 505 | 137 | 49.085149 | 0.772931 | 0.394747 | 0 | 0.693182 | 0 | 0.060606 | 0.220904 | 0 | 0 | 0 | 0 | 0 | 0.064394 | 1 | 0.018939 | false | 0 | 0.018939 | 0 | 0.037879 | 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 |
cc6bf5f9ee8ca256e37a2d20025ddfa0d5d111f9 | 28 | py | Python | tapiriik/services/TrainingPeaks/__init__.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 1,445 | 2015-01-01T21:43:31.000Z | 2022-03-17T13:40:23.000Z | tapiriik/services/TrainingPeaks/__init__.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 441 | 2015-01-02T03:37:49.000Z | 2022-03-31T18:18:03.000Z | tapiriik/services/TrainingPeaks/__init__.py | prohfesor/tapiriik | 0c476f8bb6b3d51674f0117b054777405ff2ee0d | [
"Apache-2.0"
] | 333 | 2015-01-06T12:14:15.000Z | 2022-03-27T19:58:48.000Z | from .trainingpeaks import * | 28 | 28 | 0.821429 | 3 | 28 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aeec3f3a4b398bf144131c4b2179ff364b2d2964 | 105 | py | Python | server/tasks/celery_worker.py | guigolab/biogenome-portal | a30557ea02cc94b863d646c5ff166fb593134974 | [
"MIT"
] | 1 | 2022-03-29T05:59:53.000Z | 2022-03-29T05:59:53.000Z | server/tasks/celery_worker.py | guigolab/biogenome-portal | a30557ea02cc94b863d646c5ff166fb593134974 | [
"MIT"
] | null | null | null | server/tasks/celery_worker.py | guigolab/biogenome-portal | a30557ea02cc94b863d646c5ff166fb593134974 | [
"MIT"
] | 2 | 2022-03-03T15:05:57.000Z | 2022-03-24T00:10:18.000Z | # from app import create_app
# app = create_app()
# app.app_context().push()
# from tasks import celery | 17.5 | 28 | 0.714286 | 16 | 105 | 4.5 | 0.5 | 0.25 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 105 | 6 | 29 | 17.5 | 0.818182 | 0.904762 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4e2e1e08f59ce41b2f250b1764e9b9ed32e4cd87 | 98 | py | Python | gary/integrate/cyintegrators/__init__.py | adrn/gary-old | 065b371534baa03deeb860893640068d90ba5881 | [
"MIT"
] | null | null | null | gary/integrate/cyintegrators/__init__.py | adrn/gary-old | 065b371534baa03deeb860893640068d90ba5881 | [
"MIT"
] | null | null | null | gary/integrate/cyintegrators/__init__.py | adrn/gary-old | 065b371534baa03deeb860893640068d90ba5881 | [
"MIT"
] | null | null | null | from .dop853 import dop853_integrate_potential
from .leapfrog import leapfrog_integrate_potential
| 32.666667 | 50 | 0.897959 | 12 | 98 | 7 | 0.5 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.081633 | 98 | 2 | 51 | 49 | 0.866667 | 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 |
4e3756ac9ee5e3aa611fb295f1091a9c8ba5610d | 85 | py | Python | vvsa/products/types/index_equity.py | goncalovf/security-analysis | 72b80ea7c0c5c93b6fd80a4e347ecdb401b7667e | [
"MIT"
] | 1 | 2021-09-16T13:36:13.000Z | 2021-09-16T13:36:13.000Z | vvsa/products/types/index_equity.py | goncalovf/security-analysis | 72b80ea7c0c5c93b6fd80a4e347ecdb401b7667e | [
"MIT"
] | null | null | null | vvsa/products/types/index_equity.py | goncalovf/security-analysis | 72b80ea7c0c5c93b6fd80a4e347ecdb401b7667e | [
"MIT"
] | null | null | null | from vvsa.abstracts.product_index import Index
class Equity_Index(Index):
pass
| 14.166667 | 46 | 0.788235 | 12 | 85 | 5.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 85 | 5 | 47 | 17 | 0.902778 | 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 |
9d7970a06681091a9f9a6d91fdfc4aff1ce517ab | 43 | py | Python | tarkov/inventory_dispatcher/inventory/__init__.py | JustEmuTarkov/jet_py | 2f352b5e6f5d88594d08afc46e9458e919271788 | [
"MIT"
] | 14 | 2021-02-24T02:32:48.000Z | 2022-01-03T05:51:45.000Z | tarkov/inventory_dispatcher/inventory/__init__.py | JustEmuTarkov/jet_py | 2f352b5e6f5d88594d08afc46e9458e919271788 | [
"MIT"
] | 1 | 2021-03-08T09:02:29.000Z | 2021-03-08T09:02:29.000Z | tarkov/inventory_dispatcher/inventory/__init__.py | JustEmuTarkov/jet_py | 2f352b5e6f5d88594d08afc46e9458e919271788 | [
"MIT"
] | 4 | 2021-04-14T01:47:01.000Z | 2021-11-29T02:18:32.000Z | from .inventory import InventoryDispatcher
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d9570d0fed8b99661ca4af9c7d8193423e8c643 | 127 | py | Python | app/model/Checklist.py | Marlysson/trackwork | 149f977df468a97bb465fb8fd4f78c29a7517349 | [
"MIT"
] | 4 | 2020-07-23T20:19:12.000Z | 2021-01-14T20:52:07.000Z | app/model/Checklist.py | Marlysson/trackwork | 149f977df468a97bb465fb8fd4f78c29a7517349 | [
"MIT"
] | 2 | 2018-06-04T12:03:21.000Z | 2018-09-03T13:38:38.000Z | app/model/Checklist.py | Marlysson/trackwork | 149f977df468a97bb465fb8fd4f78c29a7517349 | [
"MIT"
] | null | null | null | """Checklist Model."""
from masoniteorm.models import Model
class Checklist(Model):
"""Checklist Model."""
pass | 18.142857 | 37 | 0.653543 | 13 | 127 | 6.384615 | 0.615385 | 0.506024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204724 | 127 | 7 | 38 | 18.142857 | 0.821782 | 0.259843 | 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 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
9dc159611951919e21b2eef186f0630a89740260 | 74 | py | Python | dynamodb_meta_store/__init__.py | sergeymazin/dynamodb-meta-store | 33757240fd823f830f1d36ef6f04c2a82ee88118 | [
"Apache-2.0"
] | null | null | null | dynamodb_meta_store/__init__.py | sergeymazin/dynamodb-meta-store | 33757240fd823f830f1d36ef6f04c2a82ee88118 | [
"Apache-2.0"
] | null | null | null | dynamodb_meta_store/__init__.py | sergeymazin/dynamodb-meta-store | 33757240fd823f830f1d36ef6f04c2a82ee88118 | [
"Apache-2.0"
] | null | null | null | from dynamodb_meta_store.meta_store import DynamoDBMetaStore # noqa F401
| 37 | 73 | 0.864865 | 10 | 74 | 6.1 | 0.8 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.108108 | 74 | 1 | 74 | 74 | 0.878788 | 0.121622 | 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 |
d1b2160319349d236721a350fcc4e05e943889bd | 69 | py | Python | sciapp/util/__init__.py | dada1437903138/imagepy | 65d9ce088894eef587054e04018f9d34ff65084f | [
"BSD-4-Clause"
] | 1 | 2020-08-17T04:18:35.000Z | 2020-08-17T04:18:35.000Z | sciapp/util/__init__.py | saber-zero/imagepy | e37df0bfbce026101c815c928ddbd7066162c869 | [
"BSD-4-Clause"
] | 1 | 2021-06-20T08:50:20.000Z | 2021-06-20T08:50:20.000Z | sciapp/util/__init__.py | saber-zero/imagepy | e37df0bfbce026101c815c928ddbd7066162c869 | [
"BSD-4-Clause"
] | 1 | 2021-05-02T03:00:34.000Z | 2021-05-02T03:00:34.000Z | from .surfutil import *
from .shputil import *
from .imgutil import * | 23 | 23 | 0.753623 | 9 | 69 | 5.777778 | 0.555556 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 3 | 24 | 23 | 0.896552 | 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 |
d1c439f0ccf6f94b8b712348f7e450824ad5a8e9 | 24 | py | Python | rosbuild_ws/src/behavior_manager/src/behavior_manager/msg/__init__.py | Boberito25/ButlerBot | 959f961bbc8c43be0ccb533dd2e2af5c55b0cc2a | [
"BSD-3-Clause"
] | null | null | null | rosbuild_ws/src/behavior_manager/src/behavior_manager/msg/__init__.py | Boberito25/ButlerBot | 959f961bbc8c43be0ccb533dd2e2af5c55b0cc2a | [
"BSD-3-Clause"
] | 1 | 2015-06-08T19:55:40.000Z | 2015-06-08T19:55:40.000Z | rosbuild_ws/src/behavior_manager/src/behavior_manager/msg/__init__.py | Boberito25/ButlerBot | 959f961bbc8c43be0ccb533dd2e2af5c55b0cc2a | [
"BSD-3-Clause"
] | null | null | null | from ._Startup import *
| 12 | 23 | 0.75 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.85 | 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 |
ae4e2545d7d38e7e56c21eb946cab82de081df60 | 4,476 | py | Python | helper_scripts/composing/list_libs_win.py | xorsnn/altexo | 2587ecd66a970d6805cc40635a9ec19786b05dce | [
"MIT"
] | 1 | 2018-09-06T15:37:19.000Z | 2018-09-06T15:37:19.000Z | helper_scripts/composing/list_libs_win.py | xorsnn/altexo | 2587ecd66a970d6805cc40635a9ec19786b05dce | [
"MIT"
] | null | null | null | helper_scripts/composing/list_libs_win.py | xorsnn/altexo | 2587ecd66a970d6805cc40635a9ec19786b05dce | [
"MIT"
] | null | null | null |
import os
import sys
# walk_dir = sys.argv[1]
walk_dir = "D:\\WORKSPACE\\webrtc\\src\\out\\Release"
def ifExt(fileName):
nameLen = len(fileName)
ext = (fileName[(nameLen-4):(nameLen)])
# print(ext)
if (ext.lower() == ".lib"):
return True
else:
return False
def compo... | 41.831776 | 140 | 0.577078 | 522 | 4,476 | 4.842912 | 0.197318 | 0.063687 | 0.028481 | 0.040348 | 0.861155 | 0.861155 | 0.822389 | 0.822389 | 0.822389 | 0.822389 | 0 | 0.002155 | 0.274352 | 4,476 | 106 | 141 | 42.226415 | 0.77617 | 0.301385 | 0 | 0.637681 | 0 | 0 | 0.189252 | 0.047397 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072464 | false | 0 | 0.057971 | 0 | 0.15942 | 0.130435 | 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 |
8843f66069e0e2dba82c8b278cc26d56e383570e | 68 | py | Python | src/Arpspoofing/malarp.py | dhavall13/Python-Scripts | ebbf33fea976375ea7d4d5b604b352b797b41bda | [
"MIT"
] | null | null | null | src/Arpspoofing/malarp.py | dhavall13/Python-Scripts | ebbf33fea976375ea7d4d5b604b352b797b41bda | [
"MIT"
] | null | null | null | src/Arpspoofing/malarp.py | dhavall13/Python-Scripts | ebbf33fea976375ea7d4d5b604b352b797b41bda | [
"MIT"
] | null | null | null | from scapy.all import *
broadcast = Ether(dst='ff:ff:ff:ff:ff:ff') | 22.666667 | 42 | 0.691176 | 13 | 68 | 3.615385 | 0.615385 | 0.425532 | 0.510638 | 0.510638 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 3 | 42 | 22.666667 | 0.783333 | 0 | 0 | 0 | 0 | 0 | 0.246377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8861646c989d1d54ee13a91094cb0b90faf27150 | 735 | py | Python | Lib/site-packages/tensorflow/keras/mixed_precision/__init__.py | xorb813/Text-Mining | 3dced9dd06fc9334d631ddf608b2ed96c2493276 | [
"CNRI-Python-GPL-Compatible"
] | 1 | 2021-05-24T10:08:51.000Z | 2021-05-24T10:08:51.000Z | Lib/site-packages/tensorflow/keras/mixed_precision/__init__.py | xorb813/Text-Mining | 3dced9dd06fc9334d631ddf608b2ed96c2493276 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/site-packages/tensorflow/keras/mixed_precision/__init__.py | xorb813/Text-Mining | 3dced9dd06fc9334d631ddf608b2ed96c2493276 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Keras mixed precision API.
See [the mixed precision guide](
https://www.tensorflow.org/guide/keras/mixed_precision) to learn how to
use the API.
"""
from __future__ import print_func... | 33.409091 | 91 | 0.832653 | 106 | 735 | 5.556604 | 0.433962 | 0.166384 | 0.193548 | 0.169779 | 0.34635 | 0.34635 | 0.280136 | 0.280136 | 0.193548 | 0 | 0 | 0 | 0.10068 | 735 | 21 | 92 | 35 | 0.891074 | 0.372789 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee397e90d8da4443bf53214c79e54dc26c5e6cc9 | 5,649 | py | Python | group_conv_op.py | wangxianliang/shufflenet_v2_tensorflow | 919f25a1fb058215b614a4f3b6e5dd0190516812 | [
"MIT"
] | 4 | 2018-08-15T06:10:03.000Z | 2019-02-18T12:16:43.000Z | group_conv_op.py | wangxianliang/shufflenet_v2_tensorflow | 919f25a1fb058215b614a4f3b6e5dd0190516812 | [
"MIT"
] | 1 | 2019-02-18T12:15:20.000Z | 2019-05-24T11:50:02.000Z | group_conv_op.py | wangxianliang/shufflenet_v2_tensorflow | 919f25a1fb058215b614a4f3b6e5dd0190516812 | [
"MIT"
] | 4 | 2018-09-25T00:36:35.000Z | 2020-07-23T07:48:58.000Z | # Tensorflow mandates these.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
slim = tf.contrib.slim
@slim.add_arg_scope
def group_conv2d_by_depthwise_conv(inputs, num_outputs, kernel_size, num_groups=1,
stride=1, r... | 47.470588 | 82 | 0.503806 | 551 | 5,649 | 4.860254 | 0.168784 | 0.070575 | 0.051531 | 0.076176 | 0.773712 | 0.766617 | 0.766617 | 0.744959 | 0.724795 | 0.724795 | 0 | 0.008696 | 0.429988 | 5,649 | 118 | 83 | 47.872881 | 0.822981 | 0.01965 | 0 | 0.786408 | 0 | 0 | 0.040838 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 1 | 0.019417 | false | 0 | 0.038835 | 0 | 0.097087 | 0.009709 | 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 |
ee3d4e59a59a7b3bf2279f63ce76abe9d59e62d7 | 47 | py | Python | torch_lr_finder/__init__.py | AlexGrig/pytorch-lr-finder | b0b0ecd28c0578ad1d5ed06d2442f9a2c29c72e2 | [
"MIT"
] | null | null | null | torch_lr_finder/__init__.py | AlexGrig/pytorch-lr-finder | b0b0ecd28c0578ad1d5ed06d2442f9a2c29c72e2 | [
"MIT"
] | 3 | 2020-05-25T20:40:01.000Z | 2020-05-25T20:50:58.000Z | torch_lr_finder/__init__.py | AlexGrig/pytorch-lr-finder | b0b0ecd28c0578ad1d5ed06d2442f9a2c29c72e2 | [
"MIT"
] | 1 | 2020-05-25T20:25:19.000Z | 2020-05-25T20:25:19.000Z | from torch_lr_finder.lr_finder import LRFinder
| 23.5 | 46 | 0.893617 | 8 | 47 | 4.875 | 0.75 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ee50cc62aef58d054e9691e112412cd9172f7ef6 | 6,448 | py | Python | posts/views.py | aniruddha2000/foodfeeda | 4dffbbe0310a1809c9743b3525e63bac8a8a0768 | [
"Apache-2.0"
] | null | null | null | posts/views.py | aniruddha2000/foodfeeda | 4dffbbe0310a1809c9743b3525e63bac8a8a0768 | [
"Apache-2.0"
] | null | null | null | posts/views.py | aniruddha2000/foodfeeda | 4dffbbe0310a1809c9743b3525e63bac8a8a0768 | [
"Apache-2.0"
] | 1 | 2022-03-17T12:47:40.000Z | 2022-03-17T12:47:40.000Z |
from rest_framework import status
from rest_framework.generics import (
ListAPIView, ListCreateAPIView, RetrieveUpdateDestroyAPIView)
from rest_framework.permissions import IsAuthenticated
from rest_framework.response import Response
from rest_framework_simplejwt.authentication import JWTAuthentication
from accou... | 34.666667 | 89 | 0.712934 | 628 | 6,448 | 7.18949 | 0.148089 | 0.024806 | 0.045183 | 0.046512 | 0.782281 | 0.782281 | 0.782281 | 0.782281 | 0.757475 | 0.726689 | 0 | 0.001741 | 0.198511 | 6,448 | 185 | 90 | 34.854054 | 0.871904 | 0.052885 | 0 | 0.716418 | 0 | 0 | 0.003772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141791 | false | 0 | 0.067164 | 0.044776 | 0.61194 | 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 |
c99e5c02e72b3f1e2ca8ca3059d6a0fd583e003d | 27 | py | Python | music_metadata_extractor/sources/youtube/__init__.py | 2000yeshu/metadata-extractor | e88932c736d4f69d459a752b10e4098f79343273 | [
"MIT"
] | null | null | null | music_metadata_extractor/sources/youtube/__init__.py | 2000yeshu/metadata-extractor | e88932c736d4f69d459a752b10e4098f79343273 | [
"MIT"
] | null | null | null | music_metadata_extractor/sources/youtube/__init__.py | 2000yeshu/metadata-extractor | e88932c736d4f69d459a752b10e4098f79343273 | [
"MIT"
] | null | null | null | from .core import get_info
| 13.5 | 26 | 0.814815 | 5 | 27 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
4e8ba3d6f513226a0d49da38014ac990085e9e78 | 9,337 | py | Python | apps/System/handlers.py | swxs/home | 652dab7c15ae9c2221c99405ce827be6ccaaccbb | [
"Apache-2.0"
] | 1 | 2021-09-23T10:28:34.000Z | 2021-09-23T10:28:34.000Z | apps/System/handlers.py | swxs/home | 652dab7c15ae9c2221c99405ce827be6ccaaccbb | [
"Apache-2.0"
] | null | null | null | apps/System/handlers.py | swxs/home | 652dab7c15ae9c2221c99405ce827be6ccaaccbb | [
"Apache-2.0"
] | 1 | 2021-09-23T10:28:36.000Z | 2021-09-23T10:28:36.000Z | # -*- coding: utf-8 -*-
# @File : views.py
# @AUTH : model
import bson
import json
import logging
from tornado.web import url
from web import BaseHandler, BaseAuthedHanlder, SuccessData, render, undefined
from commons.Helpers.Helper_pagenate import Page
from .utils.User import User, user_schema
from .utils.UserA... | 40.24569 | 116 | 0.602549 | 1,133 | 9,337 | 4.710503 | 0.097087 | 0.056961 | 0.049466 | 0.074199 | 0.891887 | 0.870714 | 0.846918 | 0.789957 | 0.76335 | 0.680907 | 0 | 0.003158 | 0.28778 | 9,337 | 231 | 117 | 40.419913 | 0.799399 | 0.006212 | 0 | 0.693878 | 0 | 0 | 0.039245 | 0.009811 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010204 | false | 0 | 0.040816 | 0 | 0.142857 | 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 |
4ed6c998b8bf0cad96ce086f1bc7cea1c9f5a1bf | 163 | py | Python | json2text/__init__.py | xrdavies/json2text | afa83f6f59f74317fb64d1508818106ab4c27aeb | [
"MIT"
] | null | null | null | json2text/__init__.py | xrdavies/json2text | afa83f6f59f74317fb64d1508818106ab4c27aeb | [
"MIT"
] | null | null | null | json2text/__init__.py | xrdavies/json2text | afa83f6f59f74317fb64d1508818106ab4c27aeb | [
"MIT"
] | null | null | null | __version__ = '0.0.1'
import sys
if sys.version_info[0] > 2:
from .json2text import JSON2Text, Text2JSON
else:
from .json2text import JSON2Text, Text2JSON | 23.285714 | 47 | 0.736196 | 23 | 163 | 5 | 0.521739 | 0.226087 | 0.330435 | 0.486957 | 0.643478 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081481 | 0.171779 | 163 | 7 | 48 | 23.285714 | 0.77037 | 0 | 0 | 0.333333 | 0 | 0 | 0.030488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
14d8b9d1f92ee74e247c533723e0706f914064f8 | 18,521 | py | Python | billingclient/v1/rating/gnocchi/shell.py | nubeliu/billingclient | f2539e211ca049f3ddc9ce5680932f8f5eff7434 | [
"Apache-2.0"
] | 1 | 2018-01-04T16:20:51.000Z | 2018-01-04T16:20:51.000Z | billingclient/v1/rating/gnocchi/shell.py | nubeliu/billingclient | f2539e211ca049f3ddc9ce5680932f8f5eff7434 | [
"Apache-2.0"
] | null | null | null | billingclient/v1/rating/gnocchi/shell.py | nubeliu/billingclient | f2539e211ca049f3ddc9ce5680932f8f5eff7434 | [
"Apache-2.0"
] | null | null | null | # NubeliU Billing SDK
# @autor: Sergio Colinas
import functools
from oslo_utils import strutils
from billingclient.common import utils
from billingclient import exc
_bool_strict = functools.partial(strutils.bool_from_string, strict=True)
@utils.arg('-m', '--gnocchi-metric',
help='Associated gnocchi metr... | 34.298148 | 79 | 0.57918 | 2,273 | 18,521 | 4.533216 | 0.050594 | 0.085404 | 0.060559 | 0.050951 | 0.873738 | 0.821137 | 0.796778 | 0.745148 | 0.684103 | 0.642857 | 0 | 0.000372 | 0.273689 | 18,521 | 539 | 80 | 34.361781 | 0.765611 | 0.031532 | 0 | 0.713978 | 0 | 0 | 0.229068 | 0.003704 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049462 | false | 0 | 0.008602 | 0 | 0.058065 | 0.027957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14ecf89a3ce6ef39e8aa28237f0ead0cc31afd0a | 132 | py | Python | pymtl3/stdlib/test/__init__.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | 1 | 2019-11-12T12:26:01.000Z | 2019-11-12T12:26:01.000Z | pymtl3/stdlib/test/__init__.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | null | null | null | pymtl3/stdlib/test/__init__.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | null | null | null | from .test_sinks import TestSinkCL
from .test_srcs import TestSrcCL
from .test_utils import TestVectorSimulator, mk_test_case_table
| 33 | 63 | 0.871212 | 19 | 132 | 5.736842 | 0.631579 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 132 | 3 | 64 | 44 | 0.915966 | 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 |
090d861a69194acff01f45da1b38433fa9ad0a19 | 30 | py | Python | models/__init__.py | yifanfeng97/OS-MN40-Example | ca0e9b8017cdb95a2bf8dfdd6b8fbd284c8d97aa | [
"MIT"
] | 11 | 2022-01-16T07:35:45.000Z | 2022-03-04T02:55:41.000Z | models/__init__.py | yifanfeng97/OS-MN40-Example | ca0e9b8017cdb95a2bf8dfdd6b8fbd284c8d97aa | [
"MIT"
] | null | null | null | models/__init__.py | yifanfeng97/OS-MN40-Example | ca0e9b8017cdb95a2bf8dfdd6b8fbd284c8d97aa | [
"MIT"
] | null | null | null | from .combine import UniModel
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0921d7d5c4330f4ad16093a9b76e66ab2fbdadbc | 149 | py | Python | {{cookiecutter.project_slug}}/app/connection/db_instance.py | ActivandoIdeas/Cookiecutter-Flask-Microservice-SQLAlchemy | c002de1bf620eb57130c5ef6159a302afb6abcb2 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/app/connection/db_instance.py | ActivandoIdeas/Cookiecutter-Flask-Microservice-SQLAlchemy | c002de1bf620eb57130c5ef6159a302afb6abcb2 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/app/connection/db_instance.py | ActivandoIdeas/Cookiecutter-Flask-Microservice-SQLAlchemy | c002de1bf620eb57130c5ef6159a302afb6abcb2 | [
"BSD-3-Clause"
] | null | null | null | """Generate db instance for SQLAlchemy"""
from flask_sqlalchemy import SQLAlchemy
from .database import metadata
db = SQLAlchemy(metadata=metadata) | 24.833333 | 41 | 0.812081 | 18 | 149 | 6.666667 | 0.555556 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114094 | 149 | 6 | 42 | 24.833333 | 0.909091 | 0.234899 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
092804802f17d92db033bf0dc07d5b6f25768639 | 6,496 | py | Python | Piano.py | saransha/EasyElectric | 7d2642accdd2b06572f9eda70feb0617cbb9785e | [
"MIT"
] | 1 | 2020-03-19T16:31:52.000Z | 2020-03-19T16:31:52.000Z | Piano.py | saransha/EasyElectric | 7d2642accdd2b06572f9eda70feb0617cbb9785e | [
"MIT"
] | null | null | null | Piano.py | saransha/EasyElectric | 7d2642accdd2b06572f9eda70feb0617cbb9785e | [
"MIT"
] | null | null | null | import pygame
pygame.init()
class Piano(object):
def __init__(self):
self.A0=pygame.mixer.Sound(file='Piano WAV/Piano.ff.A0.wav')
self.A1=pygame.mixer.Sound(file='Piano WAV/Piano.ff.A1.wav')
self.A2=pygame.mixer.Sound(file='Piano WAV/Piano.ff.A2.wav')
self.A3=pygame.mixer.Sound(file... | 61.283019 | 76 | 0.666256 | 1,101 | 6,496 | 3.922797 | 0.107175 | 0.224126 | 0.326001 | 0.407502 | 0.713128 | 0.713128 | 0.713128 | 0.713128 | 0 | 0 | 0 | 0.034245 | 0.1504 | 6,496 | 105 | 77 | 61.866667 | 0.748324 | 0 | 0 | 0 | 0 | 0 | 0.34796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020202 | false | 0 | 0.010101 | 0.010101 | 0.050505 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.