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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5fb98b00b033dc87b0b97be3f94299f398b9598d | 53 | py | Python | python/github_com/TheThingsNetwork/api/trace/__init__.py | LukasHabring/api | 9e3da3462f14dab4c45fa38b03335e85e1970833 | [
"MIT"
] | 14 | 2017-07-14T16:11:54.000Z | 2021-11-16T12:35:37.000Z | python/github_com/TheThingsNetwork/api/trace/__init__.py | LukasHabring/api | 9e3da3462f14dab4c45fa38b03335e85e1970833 | [
"MIT"
] | 34 | 2017-07-14T15:15:13.000Z | 2021-08-18T10:08:10.000Z | python/github_com/TheThingsNetwork/api/trace/__init__.py | LukasHabring/api | 9e3da3462f14dab4c45fa38b03335e85e1970833 | [
"MIT"
] | 12 | 2017-07-25T16:13:16.000Z | 2021-05-08T07:21:50.000Z | from trace_pb2_grpc import *
from trace_pb2 import *
| 17.666667 | 28 | 0.811321 | 9 | 53 | 4.444444 | 0.555556 | 0.45 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.150943 | 53 | 2 | 29 | 26.5 | 0.844444 | 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 |
3970d788edf252ec0dcd8b77edea5f3ffcedd025 | 81 | py | Python | wk/io/class_store/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | wk/io/class_store/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | wk/io/class_store/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | from .fs_handles import *
from .ofiles import *
from .file_search_engine import * | 27 | 33 | 0.790123 | 12 | 81 | 5.083333 | 0.666667 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 3 | 33 | 27 | 0.871429 | 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 |
39881984327b666f3a2b4834d882bb1e82ba8ef2 | 4,593 | py | Python | tests/v2/test_meals.py | rkemmy/food-first | 69c72c0968e7bd3e05573c96267d5c6c119e4289 | [
"MIT"
] | null | null | null | tests/v2/test_meals.py | rkemmy/food-first | 69c72c0968e7bd3e05573c96267d5c6c119e4289 | [
"MIT"
] | 1 | 2018-10-01T17:43:54.000Z | 2018-10-01T17:43:54.000Z | tests/v2/test_meals.py | rkemmy/food-first | 69c72c0968e7bd3e05573c96267d5c6c119e4289 | [
"MIT"
] | null | null | null | import json
import unittest
from app import create_app
from testdb import CreateTables
from .base_test import TestApp
class TestMeals(TestApp):
def helper_admin_login_all_data_ok(self):
admin_data = {
"username":"Useradmin",
"email":"admin@gmail.com",
"p... | 31.895833 | 147 | 0.589811 | 502 | 4,593 | 5.211155 | 0.169323 | 0.042813 | 0.061927 | 0.099771 | 0.836391 | 0.80581 | 0.75841 | 0.741972 | 0.741972 | 0.70107 | 0 | 0.018018 | 0.274984 | 4,593 | 143 | 148 | 32.118881 | 0.767568 | 0 | 0 | 0.524272 | 0 | 0 | 0.22365 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 1 | 0.087379 | false | 0.009709 | 0.048544 | 0 | 0.165049 | 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 |
39b17458aab539af455c3be04ac55d63d627c7b4 | 136 | py | Python | scripts/npc/autogen_face_ludi2.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | scripts/npc/autogen_face_ludi2.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | scripts/npc/autogen_face_ludi2.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | # ParentID: 2040019
# ObjectID: 1000001
# Character field ID when accessed: 220000003
# Object Position X: -26
# Object Position Y: -22
| 22.666667 | 45 | 0.742647 | 18 | 136 | 5.611111 | 0.888889 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238938 | 0.169118 | 136 | 5 | 46 | 27.2 | 0.654867 | 0.919118 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
39d031e77ec4992d87295faeae374b63c6e29fd1 | 12,642 | py | Python | tools/tests/tests_tools.py | moonbirddk/networked-toolbox | b059b77bfda173794b3cad55874cb06edc70d0e1 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2016-09-02T12:45:31.000Z | 2018-02-10T10:18:11.000Z | tools/tests/tests_tools.py | Socialsquare/networked-toolbox | b059b77bfda173794b3cad55874cb06edc70d0e1 | [
"BSD-2-Clause-FreeBSD"
] | 17 | 2020-03-24T15:58:05.000Z | 2022-02-10T08:08:57.000Z | tools/tests/tests_tools.py | moonbirddk/networked-toolbox | b059b77bfda173794b3cad55874cb06edc70d0e1 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2018-01-05T08:02:18.000Z | 2018-01-05T08:02:18.000Z | from django.test import TestCase
from django.core.files.uploadedfile import SimpleUploadedFile
from django.contrib.auth.models import User, Group
from common.testlib import TEST_PNG_CONTENT
from ..models import Tool, ToolCategory, ToolFollower
class ToolsViewsTestCase(TestCase):
@classmethod
def setUpClass... | 40.389776 | 78 | 0.58274 | 1,365 | 12,642 | 5.293773 | 0.096703 | 0.029062 | 0.036812 | 0.038057 | 0.81871 | 0.809023 | 0.799336 | 0.779546 | 0.779546 | 0.753529 | 0 | 0.008409 | 0.285081 | 12,642 | 312 | 79 | 40.519231 | 0.791104 | 0 | 0 | 0.687719 | 0 | 0 | 0.165243 | 0.005774 | 0 | 0 | 0 | 0 | 0.235088 | 1 | 0.052632 | false | 0.042105 | 0.017544 | 0.003509 | 0.077193 | 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 |
39ed84ef7097c6776268a1f18bc19532cb40cfdd | 39 | py | Python | settings-tmp.py | bwkrayb/eink-weather-display | 30fd8afd2021d8ff3e75a214cbe486662ef67bf6 | [
"MIT"
] | 3 | 2022-01-28T12:26:35.000Z | 2022-02-28T00:13:12.000Z | settings-tmp.py | bwkrayb/eink-weather-display | 30fd8afd2021d8ff3e75a214cbe486662ef67bf6 | [
"MIT"
] | null | null | null | settings-tmp.py | bwkrayb/eink-weather-display | 30fd8afd2021d8ff3e75a214cbe486662ef67bf6 | [
"MIT"
] | null | null | null | API_KEY="<ENTER-OPEN-WEATHER-API-KEY>"
| 19.5 | 38 | 0.74359 | 7 | 39 | 4 | 0.714286 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 39 | 1 | 39 | 39 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.717949 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2cd353d04755685e6363fb585eb2bae8edcf538 | 144 | py | Python | bin/test/ooni/__init__.py | irl/ooni-probe | c21861c28ca6bd667715872d099006fab87222fd | [
"BSD-2-Clause"
] | 24 | 2018-12-23T12:53:57.000Z | 2022-01-19T19:50:53.000Z | scripts/set_caps/test/ooni/__init__.py | Acidburn0zzz/ooni-probe | 22720e383093c0d30fd1b6ca44794d3b29031f91 | [
"BSD-2-Clause"
] | 64 | 2018-09-13T08:26:20.000Z | 2022-02-11T03:48:34.000Z | scripts/set_caps/test/ooni/__init__.py | Acidburn0zzz/ooni-probe | 22720e383093c0d30fd1b6ca44794d3b29031f91 | [
"BSD-2-Clause"
] | 9 | 2019-06-10T01:41:48.000Z | 2022-01-08T08:46:25.000Z | raise ValueError("test failed! wrapper did not ignore polluted PWD. either the wrapper is faulty, or ooni is still unpatched (Tor bug #13581)")
| 72 | 143 | 0.777778 | 23 | 144 | 4.869565 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040984 | 0.152778 | 144 | 1 | 144 | 144 | 0.877049 | 0 | 0 | 0 | 0 | 1 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2d7dc26150958ad23add9c8d5f6cebbebf34c23 | 7,484 | py | Python | encounterapp/tests/api/test_screeingapi.py | AbhiyantrikTechnology/DentalHub-Backend | 89802b3e7671ffe8b3d287a998c3c4f375b58f03 | [
"MIT"
] | 1 | 2021-04-03T19:57:32.000Z | 2021-04-03T19:57:32.000Z | encounterapp/tests/api/test_screeingapi.py | AbhiyantrikTechnology/DentalHub-Backend | 89802b3e7671ffe8b3d287a998c3c4f375b58f03 | [
"MIT"
] | null | null | null | encounterapp/tests/api/test_screeingapi.py | AbhiyantrikTechnology/DentalHub-Backend | 89802b3e7671ffe8b3d287a998c3c4f375b58f03 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
from django.contrib.auth.models import Permission
import pytest
from faker import Faker
from mixer.backend.django import mixer
from rest_framework import status
from rest_framework.test import APIClient
from rest_framework_jwt.settings import api_settings
from django.test import TestCase
from u... | 45.357576 | 103 | 0.682924 | 887 | 7,484 | 5.56708 | 0.122886 | 0.038882 | 0.063183 | 0.048198 | 0.819968 | 0.801539 | 0.798704 | 0.776023 | 0.768125 | 0.768125 | 0 | 0.01086 | 0.200294 | 7,484 | 164 | 104 | 45.634146 | 0.814202 | 0.109968 | 0 | 0.675439 | 0 | 0 | 0.139412 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 1 | 0.035088 | false | 0 | 0.105263 | 0 | 0.157895 | 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 |
f2d8c24de02c6b19b68e08ad1536df5079a4e285 | 1,790 | py | Python | generated-sources/python/mojang-authentication/openapi_client/com.github.asyncmc.mojang.authentication.python.model/__init__.py | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | generated-sources/python/mojang-authentication/openapi_client/com.github.asyncmc.mojang.authentication.python.model/__init__.py | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | generated-sources/python/mojang-authentication/openapi_client/com.github.asyncmc.mojang.authentication.python.model/__init__.py | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Mojang Authentication API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
OpenAPI spec version: 2020-06-05
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_imp... | 59.666667 | 125 | 0.860335 | 227 | 1,790 | 6.647577 | 0.281938 | 0.185553 | 0.146455 | 0.1723 | 0.593771 | 0.593771 | 0.593771 | 0.593771 | 0.593771 | 0.593771 | 0 | 0.007757 | 0.063687 | 1,790 | 29 | 126 | 61.724138 | 0.892601 | 0.160335 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.071429 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f2ec03c3bfbf727478f39e5c7c4a7dafad27cebb | 43 | py | Python | procasl/tests/test_datasets.py | salma1601/process-asl-old | eaafb0c46b132be14005b52eb54b86d30364ec32 | [
"BSD-3-Clause"
] | 1 | 2020-03-11T13:59:04.000Z | 2020-03-11T13:59:04.000Z | procasl/tests/test_datasets.py | salma1601/process-asl-old | eaafb0c46b132be14005b52eb54b86d30364ec32 | [
"BSD-3-Clause"
] | 4 | 2016-02-19T18:24:50.000Z | 2016-02-19T18:24:58.000Z | procasl/tests/test_datasets.py | salma1601/process-asl-old | eaafb0c46b132be14005b52eb54b86d30364ec32 | [
"BSD-3-Clause"
] | null | null | null | from asl._utils import load_heroes_dataset
| 21.5 | 42 | 0.883721 | 7 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 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 |
845cc447f86c38097365821c1c3a12914e085198 | 198 | py | Python | exceptions.py | invobzvr/SigninX | 29db1c0b14894fa9e8108b353956ae5cc6d347dc | [
"Apache-2.0"
] | null | null | null | exceptions.py | invobzvr/SigninX | 29db1c0b14894fa9e8108b353956ae5cc6d347dc | [
"Apache-2.0"
] | null | null | null | exceptions.py | invobzvr/SigninX | 29db1c0b14894fa9e8108b353956ae5cc6d347dc | [
"Apache-2.0"
] | null | null | null | from json.decoder import JSONDecodeError
from requests.exceptions import SSLError
class NotLogin(Exception):
pass
class NotTimeYet(Exception):
pass
class TryAgain(Exception):
pass
| 13.2 | 40 | 0.767677 | 22 | 198 | 6.909091 | 0.636364 | 0.256579 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176768 | 198 | 14 | 41 | 14.142857 | 0.932515 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.375 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
083e1ef66602c77fb8d76bda83aec1f8b26d32aa | 40 | py | Python | web/addons/website_blog/models/__init__.py | diogocs1/comps | 63df07f6cf21c41e4527c06e2d0499f23f4322e7 | [
"Apache-2.0"
] | 1 | 2019-12-29T11:53:56.000Z | 2019-12-29T11:53:56.000Z | odoo/addons/website_blog/models/__init__.py | tuanquanghpvn/odoo8-tutorial | 52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e | [
"MIT"
] | null | null | null | odoo/addons/website_blog/models/__init__.py | tuanquanghpvn/odoo8-tutorial | 52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e | [
"MIT"
] | 3 | 2020-10-08T14:42:10.000Z | 2022-01-28T14:12:29.000Z | import mail_message
import website_blog
| 13.333333 | 19 | 0.9 | 6 | 40 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 2 | 20 | 20 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f25cbf33f6f56a0d6fad5b7f84243066a4e14c40 | 83 | py | Python | dizoo/multiagent_particle/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | dizoo/multiagent_particle/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | dizoo/multiagent_particle/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | from .particle_env import ParticleEnv, CooperativeNavigation, ModifiedPredatorPrey
| 41.5 | 82 | 0.891566 | 7 | 83 | 10.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 83 | 1 | 83 | 83 | 0.948052 | 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 |
f2966cd9b20bad47f2ff5181f24cd82013f8eed5 | 47 | py | Python | NicBot/cogs/utils/__init__.py | nicdgonzalez/NicBot-discord.py | 3a21510c1e4e2c933f48708478ae792159324a7c | [
"MIT"
] | null | null | null | NicBot/cogs/utils/__init__.py | nicdgonzalez/NicBot-discord.py | 3a21510c1e4e2c933f48708478ae792159324a7c | [
"MIT"
] | null | null | null | NicBot/cogs/utils/__init__.py | nicdgonzalez/NicBot-discord.py | 3a21510c1e4e2c933f48708478ae792159324a7c | [
"MIT"
] | null | null | null | from .cogs import add_cog
from .utils import *
| 15.666667 | 25 | 0.765957 | 8 | 47 | 4.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 26 | 23.5 | 0.897436 | 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 |
f2a1e3f9a383e60f27882c521da2e4d6b55dfe1e | 187 | py | Python | flask_tus/repositories/__init__.py | eokeeffe/flask-tus | c2d29d7ac4435fa113fe1f88957df44146066bf9 | [
"MIT"
] | 3 | 2020-02-02T10:14:23.000Z | 2021-01-05T11:38:23.000Z | flask_tus/repositories/__init__.py | eokeeffe/flask-tus | c2d29d7ac4435fa113fe1f88957df44146066bf9 | [
"MIT"
] | 1 | 2021-03-03T18:15:00.000Z | 2021-03-04T18:12:27.000Z | flask_tus/repositories/__init__.py | eokeeffe/flask-tus | c2d29d7ac4435fa113fe1f88957df44146066bf9 | [
"MIT"
] | 2 | 2020-02-29T21:20:48.000Z | 2021-03-05T10:41:35.000Z | from .repository_factory import Repo
from .base_repository import BaseRepository
from .mongoengine_repository import MongoengineRepository
from .sqlalchemy_repository import SQLRepository | 46.75 | 57 | 0.898396 | 20 | 187 | 8.2 | 0.55 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080214 | 187 | 4 | 58 | 46.75 | 0.953488 | 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 |
4b6edfd3f0ae039199cea57131074d096a134341 | 20 | py | Python | tinygfx/g3d/materials/__init__.py | rfrazier716/PyRayT | f0511303ddc52ea02e0029b9ec80210e4764c432 | [
"MIT"
] | 20 | 2021-04-30T03:25:56.000Z | 2022-02-25T10:42:42.000Z | tinygfx/g3d/materials/__init__.py | rfrazier716/PyRayT | f0511303ddc52ea02e0029b9ec80210e4764c432 | [
"MIT"
] | 3 | 2021-09-12T22:08:08.000Z | 2022-03-23T16:21:00.000Z | tinygfx/g3d/materials/__init__.py | rfrazier716/PyRayT | f0511303ddc52ea02e0029b9ec80210e4764c432 | [
"MIT"
] | 3 | 2021-09-07T17:31:13.000Z | 2022-03-10T22:36:13.000Z | from . import gooch
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 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 |
4b85129b18db847b6b16460de2e87f6eb05f3f4f | 57 | py | Python | build/lib/chainedSCT/Loading_Blockchian/__init__.py | MSBeni/SmartContactTracing_Chained | b667ef6e04ea4e3206760f9dc2035d425b6e26f5 | [
"MIT"
] | 1 | 2021-06-21T08:35:32.000Z | 2021-06-21T08:35:32.000Z | build/lib/chainedSCT/Loading_Blockchian/__init__.py | MSBeni/SmartContactTracing_Chained | b667ef6e04ea4e3206760f9dc2035d425b6e26f5 | [
"MIT"
] | null | null | null | build/lib/chainedSCT/Loading_Blockchian/__init__.py | MSBeni/SmartContactTracing_Chained | b667ef6e04ea4e3206760f9dc2035d425b6e26f5 | [
"MIT"
] | null | null | null | from .. import extraction
from .. import transformation
| 14.25 | 29 | 0.77193 | 6 | 57 | 7.333333 | 0.666667 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 3 | 30 | 19 | 0.916667 | 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 |
4bae50fce08817c4ae6631e1e3d8619421e489d0 | 65 | py | Python | paltas/MainDeflector/__init__.py | swagnercarena/paltas | 62495381e406dfb508a1ace4aa69cbe9a4207e38 | [
"MIT"
] | 5 | 2022-02-11T19:58:03.000Z | 2022-03-07T19:45:23.000Z | paltas/MainDeflector/__init__.py | swagnercarena/paltas | 62495381e406dfb508a1ace4aa69cbe9a4207e38 | [
"MIT"
] | 8 | 2022-02-01T00:42:34.000Z | 2022-03-31T17:42:55.000Z | paltas/MainDeflector/__init__.py | swagnercarena/paltas | 62495381e406dfb508a1ace4aa69cbe9a4207e38 | [
"MIT"
] | 1 | 2022-02-11T19:54:53.000Z | 2022-02-11T19:54:53.000Z | from . import main_deflector_base
from . import simple_deflectors | 32.5 | 33 | 0.861538 | 9 | 65 | 5.888889 | 0.777778 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 65 | 2 | 34 | 32.5 | 0.913793 | 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 |
d9a9f70594ce66a437dc3a86ee30a7ea74369383 | 2,304 | py | Python | nbgrader/tests/apps/test_nbgrader_quickstart.py | FrattisUC/nbgrader | f6402dcbb875e41ee3317be9e7af518afda9f72c | [
"BSD-3-Clause-Clear"
] | 2 | 2021-09-11T20:32:18.000Z | 2021-09-11T20:32:37.000Z | nbgrader/tests/apps/test_nbgrader_quickstart.py | FrattisUC/nbgrader | f6402dcbb875e41ee3317be9e7af518afda9f72c | [
"BSD-3-Clause-Clear"
] | null | null | null | nbgrader/tests/apps/test_nbgrader_quickstart.py | FrattisUC/nbgrader | f6402dcbb875e41ee3317be9e7af518afda9f72c | [
"BSD-3-Clause-Clear"
] | 1 | 2019-09-13T07:46:09.000Z | 2019-09-13T07:46:09.000Z | import os
import sys
from .. import run_nbgrader
from .base import BaseTestApp
class TestNbGraderQuickStart(BaseTestApp):
def test_help(self):
"""Does the help display without error?"""
run_nbgrader(["quickstart", "--help-all"])
def test_no_course_id(self):
"""Is the help displayed ... | 34.38806 | 95 | 0.611979 | 276 | 2,304 | 5.021739 | 0.257246 | 0.103175 | 0.121212 | 0.121212 | 0.780664 | 0.780664 | 0.780664 | 0.780664 | 0.780664 | 0.780664 | 0 | 0.005187 | 0.246962 | 2,304 | 66 | 96 | 34.909091 | 0.79366 | 0.192274 | 0 | 0.628571 | 0 | 0 | 0.232114 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.114286 | false | 0.057143 | 0.114286 | 0 | 0.257143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d9b6a6d8fb0a6d1602f54a6fd5b9dc86e468a349 | 1,736 | py | Python | aircheck/serializers.py | lasher85/AirCheck | 52b2f78c7d797999df4952b1bcac9f7d2c12b42c | [
"MIT"
] | null | null | null | aircheck/serializers.py | lasher85/AirCheck | 52b2f78c7d797999df4952b1bcac9f7d2c12b42c | [
"MIT"
] | 8 | 2019-12-04T23:44:11.000Z | 2022-02-10T08:31:40.000Z | aircheck/serializers.py | lasher85/AirCheck | 52b2f78c7d797999df4952b1bcac9f7d2c12b42c | [
"MIT"
] | null | null | null | from rest_framework import serializers
from aircheck.models import Krakow, Tenczynek, Katowice, Krzeszowice, Grudziadz, Gdansk, Gdynia
class KrakowSerializer(serializers.ModelSerializer):
"""
Serializing all records
"""
class Meta:
model = Krakow
fields = ('data', 'pm1', 'pm25', 'pm10'... | 29.931034 | 95 | 0.629032 | 149 | 1,736 | 7.322148 | 0.241611 | 0.166819 | 0.237397 | 0.256645 | 0.726856 | 0.726856 | 0.726856 | 0.726856 | 0.291476 | 0 | 0 | 0.026042 | 0.225806 | 1,736 | 58 | 96 | 29.931034 | 0.785714 | 0.096198 | 0 | 0.466667 | 0 | 0 | 0.20082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d9f6c43342a605c984a56442f0568d4e929e2e30 | 1,515 | py | Python | api_app/tests_ma/test_api/test_routes/test_health.py | oliver7598/AzureTRE | 38290b91fb694f6dc50a2af9f9376962de8026bd | [
"MIT"
] | null | null | null | api_app/tests_ma/test_api/test_routes/test_health.py | oliver7598/AzureTRE | 38290b91fb694f6dc50a2af9f9376962de8026bd | [
"MIT"
] | 1 | 2022-02-21T09:43:20.000Z | 2022-02-21T09:43:20.000Z | api_app/tests_ma/test_api/test_routes/test_health.py | oliver7598/AzureTRE | 38290b91fb694f6dc50a2af9f9376962de8026bd | [
"MIT"
] | null | null | null | import pytest
from httpx import AsyncClient
from mock import patch
from models.schemas.status import StatusEnum
from resources import strings
pytestmark = pytest.mark.asyncio
@patch("api.routes.health.create_service_bus_status")
@patch("api.routes.health.create_state_store_status")
async def test_health_response_co... | 45.909091 | 120 | 0.743234 | 193 | 1,515 | 5.487047 | 0.248705 | 0.075543 | 0.05288 | 0.075543 | 0.827195 | 0.827195 | 0.827195 | 0.757318 | 0.757318 | 0.757318 | 0 | 0 | 0.166337 | 1,515 | 32 | 121 | 47.34375 | 0.83848 | 0 | 0 | 0.583333 | 0 | 0 | 0.150495 | 0.113531 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0 | false | 0 | 0.208333 | 0 | 0.208333 | 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 |
8a0bdd55749cf3d15a702a82c9960bdad3c73775 | 59,866 | py | Python | test_autogalaxy/profiles/mass_profiles/test_dark_mass_profiles.py | Jammy2211/PyAutoAstro | 4c26455dba047b6187bf1adf193591e050107d03 | [
"MIT"
] | 4 | 2019-10-29T13:27:23.000Z | 2020-03-24T11:13:35.000Z | test_autogalaxy/profiles/mass_profiles/test_dark_mass_profiles.py | Jammy2211/PyAutoAstro | 4c26455dba047b6187bf1adf193591e050107d03 | [
"MIT"
] | null | null | null | test_autogalaxy/profiles/mass_profiles/test_dark_mass_profiles.py | Jammy2211/PyAutoAstro | 4c26455dba047b6187bf1adf193591e050107d03 | [
"MIT"
] | 3 | 2020-02-12T10:29:59.000Z | 2020-03-24T11:13:53.000Z | from astropy import cosmology as cosmo
import numpy as np
import pytest
import autogalaxy as ag
grid = np.array([[1.0, 1.0], [2.0, 2.0], [3.0, 3.0], [2.0, 4.0]])
class TestAbstractNFW:
def test__coord_function_f__from(self):
truncated_nfw = ag.mp.SphNFWTruncated(
centre=(0.0, 0... | 36.840615 | 125 | 0.600073 | 8,338 | 59,866 | 4.050612 | 0.033941 | 0.02191 | 0.017854 | 0.040416 | 0.93797 | 0.930627 | 0.919257 | 0.897288 | 0.887251 | 0.867709 | 0 | 0.099882 | 0.280042 | 59,866 | 1,624 | 126 | 36.8633 | 0.68372 | 0.071543 | 0 | 0.629163 | 0 | 0 | 0.001114 | 0 | 0 | 0 | 0 | 0 | 0.188119 | 1 | 0.036904 | false | 0 | 0.0036 | 0 | 0.047705 | 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 |
8a1d2633017f3a28a55a6498d84d05823db906cc | 52,639 | py | Python | output-python3/sdpLexer.py | cameronelliott/sdp-antlr-abnf | 58240fc806906daefc1844d33f088d007f0119a7 | [
"MIT"
] | 4 | 2020-08-08T19:04:11.000Z | 2020-10-15T17:41:57.000Z | output-python3/sdpLexer.py | cameron-elliott/sdp-antlr-abnf | 58240fc806906daefc1844d33f088d007f0119a7 | [
"MIT"
] | null | null | null | output-python3/sdpLexer.py | cameron-elliott/sdp-antlr-abnf | 58240fc806906daefc1844d33f088d007f0119a7 | [
"MIT"
] | null | null | null | # Generated from sdp.g4 by ANTLR 4.8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\u0102")
buf.write("\u0403\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\... | 57.340959 | 103 | 0.558312 | 11,003 | 52,639 | 2.615923 | 0.153049 | 0.133482 | 0.090887 | 0.089914 | 0.235868 | 0.199493 | 0.139944 | 0.108641 | 0.108154 | 0.108085 | 0 | 0.36831 | 0.17261 | 52,639 | 917 | 104 | 57.40349 | 0.292563 | 0.000646 | 0 | 0.004449 | 1 | 0.468298 | 0.604228 | 0.518355 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002225 | false | 0 | 0.004449 | 0 | 0.302558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a4956b699718ad1dc8f0a4329e581432f5be7a1 | 59,572 | py | Python | tests/config_parsing.py | fossabot/DIRBS-Core-1 | 70bf72e2e6dda6e0d7a20cf744300930d88ee70c | [
"PostgreSQL",
"Unlicense"
] | null | null | null | tests/config_parsing.py | fossabot/DIRBS-Core-1 | 70bf72e2e6dda6e0d7a20cf744300930d88ee70c | [
"PostgreSQL",
"Unlicense"
] | null | null | null | tests/config_parsing.py | fossabot/DIRBS-Core-1 | 70bf72e2e6dda6e0d7a20cf744300930d88ee70c | [
"PostgreSQL",
"Unlicense"
] | 3 | 2019-10-24T11:40:06.000Z | 2022-02-24T07:34:00.000Z | """
Config parsing unit tests.
Copyright (c) 2018-2019 Qualcomm Technologies, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the
limitations in the disclaimer below) provided that the following conditions are met:
- Redistribution... | 52.302019 | 120 | 0.613476 | 6,718 | 59,572 | 5.165079 | 0.081274 | 0.033719 | 0.053661 | 0.038214 | 0.801089 | 0.780512 | 0.755958 | 0.74005 | 0.730943 | 0.722643 | 0 | 0.020285 | 0.304875 | 59,572 | 1,138 | 121 | 52.347979 | 0.817653 | 0.248506 | 0 | 0.574713 | 0 | 0 | 0.218811 | 0.022994 | 0 | 0 | 0 | 0 | 0.031199 | 1 | 0.08867 | false | 0 | 0.195402 | 0 | 0.284072 | 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 |
8a5c017db43767fd2d160dbd0835634f805f77b5 | 41 | py | Python | NAA/asynchronous/__init__.py | AlbertUnruh/NAA-API | c2e79c01951b4fb2ae4b4e4f6d27f544891bd5a0 | [
"MIT"
] | null | null | null | NAA/asynchronous/__init__.py | AlbertUnruh/NAA-API | c2e79c01951b4fb2ae4b4e4f6d27f544891bd5a0 | [
"MIT"
] | null | null | null | NAA/asynchronous/__init__.py | AlbertUnruh/NAA-API | c2e79c01951b4fb2ae4b4e4f6d27f544891bd5a0 | [
"MIT"
] | null | null | null | from .models import *
from .web import *
| 13.666667 | 21 | 0.707317 | 6 | 41 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 22 | 20.5 | 0.878788 | 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 |
8a7328861654b15648b729430a37434f6af25d88 | 924 | py | Python | tests/relations_tests/test_subset_relation.py | lycantropos/topo | 7d777468c98b31533c5e050c4425e528376b35b4 | [
"MIT"
] | null | null | null | tests/relations_tests/test_subset_relation.py | lycantropos/topo | 7d777468c98b31533c5e050c4425e528376b35b4 | [
"MIT"
] | 2 | 2019-02-22T13:14:30.000Z | 2019-04-08T18:28:39.000Z | tests/relations_tests/test_subset_relation.py | lycantropos/topo | 7d777468c98b31533c5e050c4425e528376b35b4 | [
"MIT"
] | null | null | null | from tests.utils import (equivalence,
implication)
from topo.base import EMPTY_SET, Set
def test_antisymmetry(set_: Set, other_set: Set) -> None:
assert implication(set_ <= other_set <= set_, set_ == other_set)
def test_connection_with_intersection(set_: Set, other_set: Set) -> None:
... | 28.875 | 77 | 0.704545 | 128 | 924 | 4.671875 | 0.210938 | 0.210702 | 0.220736 | 0.187291 | 0.653846 | 0.396321 | 0.346154 | 0.327759 | 0.200669 | 0.200669 | 0 | 0 | 0.186147 | 924 | 31 | 78 | 29.806452 | 0.795213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 1 | 0.411765 | false | 0 | 0.117647 | 0 | 0.529412 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8a7b6f51987f13f9cabb0611b7dacba42f653c81 | 63,349 | py | Python | Task 3.1.3 Equestrianism : pace.py | varipon/Work-Plan-3-multi-legs | 60fd9f624e40f53ebe97e8ae8e90f4ff0ad9b11d | [
"MIT"
] | null | null | null | Task 3.1.3 Equestrianism : pace.py | varipon/Work-Plan-3-multi-legs | 60fd9f624e40f53ebe97e8ae8e90f4ff0ad9b11d | [
"MIT"
] | null | null | null | Task 3.1.3 Equestrianism : pace.py | varipon/Work-Plan-3-multi-legs | 60fd9f624e40f53ebe97e8ae8e90f4ff0ad9b11d | [
"MIT"
] | null | null | null | # ================
# SOFTWARE LICENSE
# ================
# The MIT License (MIT)
# Copyright (c) 2018 Yutaka Sawai (Varipon)
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restric... | 32.721591 | 135 | 0.541477 | 9,507 | 63,349 | 3.499421 | 0.059535 | 0.028856 | 0.022183 | 0.012204 | 0.806757 | 0.7721 | 0.742733 | 0.721152 | 0.70988 | 0.693168 | 0 | 0.046925 | 0.296595 | 63,349 | 1,935 | 136 | 32.738501 | 0.699686 | 0.113767 | 0 | 0.633304 | 0 | 0 | 0.046327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024801 | false | 0 | 0.005314 | 0 | 0.040744 | 0.076174 | 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 |
8a9f1cc2c57416843e0c9e062d5094a40a750fb4 | 48 | py | Python | PyPoll/Analysis/placeholder.py | delery7/python-challenge | 2d1fd43dce8d3822162a8956c065d0ddeabc6405 | [
"RSA-MD"
] | null | null | null | PyPoll/Analysis/placeholder.py | delery7/python-challenge | 2d1fd43dce8d3822162a8956c065d0ddeabc6405 | [
"RSA-MD"
] | null | null | null | PyPoll/Analysis/placeholder.py | delery7/python-challenge | 2d1fd43dce8d3822162a8956c065d0ddeabc6405 | [
"RSA-MD"
] | null | null | null | print("adding a file to get the folder to push") | 48 | 48 | 0.75 | 10 | 48 | 3.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 1 | 48 | 48 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8aacb9dd213398c16492f8fa8e646aad624e4845 | 35,080 | py | Python | zerver/tests/test_reactions.py | pranayshahxyz/zulip | 3da483487af79fde9dce2d21124dfa39b94936a5 | [
"Apache-2.0"
] | 1 | 2020-04-09T18:34:44.000Z | 2020-04-09T18:34:44.000Z | zerver/tests/test_reactions.py | pranayshahxyz/zulip | 3da483487af79fde9dce2d21124dfa39b94936a5 | [
"Apache-2.0"
] | null | null | null | zerver/tests/test_reactions.py | pranayshahxyz/zulip | 3da483487af79fde9dce2d21124dfa39b94936a5 | [
"Apache-2.0"
] | null | null | null | import ujson
from django.http import HttpResponse
from typing import Any, Dict, List, Mapping
from unittest import mock
from zerver.lib.emoji import emoji_name_to_emoji_code
from zerver.lib.request import JsonableError
from zerver.lib.test_helpers import tornado_redirected_to_list
from zerver.lib.test_classes import Z... | 39.728199 | 100 | 0.60057 | 3,793 | 35,080 | 5.264698 | 0.067493 | 0.069107 | 0.044168 | 0.048375 | 0.872653 | 0.845661 | 0.818068 | 0.800891 | 0.775802 | 0.748861 | 0 | 0.006991 | 0.294555 | 35,080 | 882 | 101 | 39.773243 | 0.799935 | 0.055473 | 0 | 0.694737 | 0 | 0 | 0.131816 | 0.023585 | 0 | 0 | 0 | 0 | 0.201504 | 1 | 0.084211 | false | 0 | 0.013534 | 0 | 0.118797 | 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 |
8ac1eaa0b104ed20ca9b3f7370904f3819fd3261 | 24 | py | Python | djaein/personal/models/__init__.py | 0PEIN0/djaein | ec02d977ff323c232ddca66cf97cf8824eeb9f93 | [
"MIT"
] | null | null | null | djaein/personal/models/__init__.py | 0PEIN0/djaein | ec02d977ff323c232ddca66cf97cf8824eeb9f93 | [
"MIT"
] | null | null | null | djaein/personal/models/__init__.py | 0PEIN0/djaein | ec02d977ff323c232ddca66cf97cf8824eeb9f93 | [
"MIT"
] | null | null | null | from .to_do import ToDo
| 12 | 23 | 0.791667 | 5 | 24 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ac2c774c59d49d9b14bbced8356c0da6eb79342 | 105,242 | py | Python | tests/test_coords.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 147 | 2015-01-01T14:06:17.000Z | 2022-03-24T14:47:41.000Z | tests/test_coords.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 269 | 2015-01-07T15:58:31.000Z | 2022-03-30T18:42:08.000Z | tests/test_coords.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 110 | 2015-02-08T10:57:24.000Z | 2021-12-28T07:56:49.000Z | from __future__ import print_function, division
import numpy
from galpy.util import coords
import pytest
import astropy
_APY3= astropy.__version__ > '3'
def test_radec_to_lb_ngp():
_turn_off_apy()
# Test that the NGP is at b=90
ra, dec= 192.25, 27.4
lb= coords.radec_to_lb(ra,dec,degree=True,epoch=1950.... | 60.310602 | 296 | 0.638101 | 17,530 | 105,242 | 3.68996 | 0.026298 | 0.063585 | 0.087424 | 0.084363 | 0.955523 | 0.943851 | 0.924047 | 0.909067 | 0.897472 | 0.883141 | 0 | 0.063009 | 0.213109 | 105,242 | 1,744 | 297 | 60.345183 | 0.718079 | 0.058123 | 0 | 0.607924 | 0 | 0 | 0.26719 | 0.007004 | 0 | 0 | 0 | 0.000573 | 0.325137 | 1 | 0.056011 | false | 0.001366 | 0.011612 | 0.001366 | 0.120902 | 0.000683 | 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 |
76e5af50bbe83ed2d818fa669cb4e3977cc1197b | 38 | py | Python | fieldsignals/tests/__init__.py | guettli/django-fieldsignals | 5299b6d4ebd5d0e8bbaf55f7ba22d8eb53f7b6f7 | [
"MIT"
] | 90 | 2015-07-28T22:39:15.000Z | 2022-02-28T17:29:29.000Z | fieldsignals/tests/__init__.py | guettli/django-fieldsignals | 5299b6d4ebd5d0e8bbaf55f7ba22d8eb53f7b6f7 | [
"MIT"
] | 16 | 2015-09-09T07:43:11.000Z | 2021-03-13T22:08:27.000Z | fieldsignals/tests/__init__.py | guettli/django-fieldsignals | 5299b6d4ebd5d0e8bbaf55f7ba22d8eb53f7b6f7 | [
"MIT"
] | 10 | 2015-01-23T12:00:29.000Z | 2021-03-04T19:42:07.000Z | import os
from .test_signals import *
| 12.666667 | 27 | 0.789474 | 6 | 38 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 2 | 28 | 19 | 0.90625 | 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 |
76ef74b376ea3589ba50fa333ee1519ea5a9a717 | 136 | py | Python | tests/unit/test_core_ops_pytorch.py | brendanhasz/probflow-v2 | a16b6ec6f1dd7e2fea0b6698928ed23e09b69a6e | [
"MIT"
] | 2 | 2019-09-13T10:16:32.000Z | 2019-09-22T11:35:07.000Z | tests/unit/test_core_ops_pytorch.py | brendanhasz/probflow-v2 | a16b6ec6f1dd7e2fea0b6698928ed23e09b69a6e | [
"MIT"
] | null | null | null | tests/unit/test_core_ops_pytorch.py | brendanhasz/probflow-v2 | a16b6ec6f1dd7e2fea0b6698928ed23e09b69a6e | [
"MIT"
] | null | null | null | """Tests the probflow.core.ops module when backend = pytorch"""
import pytest
#import torch
from probflow.core import ops
# TODO | 10.461538 | 63 | 0.727941 | 19 | 136 | 5.210526 | 0.736842 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183824 | 136 | 13 | 64 | 10.461538 | 0.891892 | 0.551471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a054f99fcab7351d0d72624d6418d629aa31e6c | 184 | py | Python | dyn2sel/utils/evaluators/__init__.py | luccaportes/Scikit-DYN2SEL | 3e102f4fff5696277c57997fb811139c5e6f8b4d | [
"MIT"
] | 1 | 2021-08-21T21:21:29.000Z | 2021-08-21T21:21:29.000Z | dyn2sel/utils/evaluators/__init__.py | luccaportes/Scikit-DYN2SEL | 3e102f4fff5696277c57997fb811139c5e6f8b4d | [
"MIT"
] | 10 | 2020-10-27T13:37:36.000Z | 2021-09-11T02:40:51.000Z | dyn2sel/utils/evaluators/__init__.py | luccaportes/Scikit-DYN2SEL | 3e102f4fff5696277c57997fb811139c5e6f8b4d | [
"MIT"
] | 1 | 2021-11-24T07:20:42.000Z | 2021-11-24T07:20:42.000Z | from dyn2sel.utils.evaluators.prequential import EvaluatePrequential
from dyn2sel.utils.evaluators.holdout import EvaluateHoldout
__all__ = ["EvaluatePrequential", "EvaluateHoldout"]
| 36.8 | 68 | 0.853261 | 17 | 184 | 9 | 0.588235 | 0.143791 | 0.20915 | 0.339869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.070652 | 184 | 4 | 69 | 46 | 0.883041 | 0 | 0 | 0 | 0 | 0 | 0.184783 | 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 |
0a1765a08086aafb5da54b72c603faea418e483b | 44 | py | Python | src/services/__init__.py | viniciustr/vagas-challenge-api | 37d5752de3aee1a195ca862529371e4359e4c3b5 | [
"MIT"
] | null | null | null | src/services/__init__.py | viniciustr/vagas-challenge-api | 37d5752de3aee1a195ca862529371e4359e4c3b5 | [
"MIT"
] | null | null | null | src/services/__init__.py | viniciustr/vagas-challenge-api | 37d5752de3aee1a195ca862529371e4359e4c3b5 | [
"MIT"
] | null | null | null | from .candidatura import CandidaturaService
| 22 | 43 | 0.886364 | 4 | 44 | 9.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.975 | 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 |
0a6aac65b2f35a007394ce13487f43e994c9afdf | 27 | py | Python | mincall/basecall/__init__.py | nmiculinic/minion-basecaller | 73a134c8ed3715e79319780e24a171dd21713408 | [
"MIT"
] | 7 | 2017-07-13T15:08:16.000Z | 2021-04-24T16:39:11.000Z | mincall/basecall/__init__.py | nmiculinic/minion-basecaller | 73a134c8ed3715e79319780e24a171dd21713408 | [
"MIT"
] | 4 | 2018-01-09T13:50:57.000Z | 2020-07-15T15:33:35.000Z | mincall/basecall/__init__.py | nmiculinic/minion-basecaller | 73a134c8ed3715e79319780e24a171dd21713408 | [
"MIT"
] | 1 | 2018-03-24T22:48:25.000Z | 2018-03-24T22:48:25.000Z | from .main import add_args
| 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 |
6a6f335c3f581bfefdca793d005d520cf19f4441 | 141 | py | Python | openprocurement/auctions/core/plugins/contracting/v3/tests/blanks/__init__.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 2 | 2016-09-15T20:17:43.000Z | 2017-01-08T03:32:43.000Z | openprocurement/auctions/core/plugins/contracting/v3/tests/blanks/__init__.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 183 | 2017-12-21T11:04:37.000Z | 2019-03-27T08:14:34.000Z | openprocurement/auctions/core/plugins/contracting/v3/tests/blanks/__init__.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 12 | 2016-09-05T12:07:48.000Z | 2019-02-26T09:24:17.000Z | from zope import deprecation
deprecation.moved('openprocurement.auctions.core.tests.plugins.contracting.v3.tests.blanks', 'version update')
| 35.25 | 110 | 0.829787 | 17 | 141 | 6.882353 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.056738 | 141 | 3 | 111 | 47 | 0.87218 | 0 | 0 | 0 | 0 | 0 | 0.602837 | 0.503546 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6a7135a943b60f20b9df7a093526575376bcda14 | 16,317 | py | Python | tests/cupy_tests/manipulation_tests/test_join.py | carterbox/cupy | cde9a33e9aec266bad060f4e4b5aecc6fe199356 | [
"MIT"
] | null | null | null | tests/cupy_tests/manipulation_tests/test_join.py | carterbox/cupy | cde9a33e9aec266bad060f4e4b5aecc6fe199356 | [
"MIT"
] | null | null | null | tests/cupy_tests/manipulation_tests/test_join.py | carterbox/cupy | cde9a33e9aec266bad060f4e4b5aecc6fe199356 | [
"MIT"
] | null | null | null | import numpy
import pytest
import cupy
from cupy import testing
from cupy import cuda
class TestJoin:
@testing.for_all_dtypes(name='dtype1')
@testing.for_all_dtypes(name='dtype2')
@testing.numpy_cupy_array_equal()
def test_column_stack(self, xp, dtype1, dtype2):
a = testing.shaped_arange((4,... | 38.85 | 71 | 0.597843 | 2,380 | 16,317 | 3.908403 | 0.054202 | 0.141152 | 0.171576 | 0.092453 | 0.898301 | 0.867125 | 0.817459 | 0.787895 | 0.734573 | 0.675231 | 0 | 0.040833 | 0.252559 | 16,317 | 419 | 72 | 38.942721 | 0.721876 | 0.003064 | 0 | 0.511173 | 0 | 0 | 0.011682 | 0 | 0 | 0 | 0 | 0 | 0.027933 | 1 | 0.150838 | false | 0 | 0.013966 | 0 | 0.259777 | 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 |
6a7aba129ec7d41ff43b663dcd28a7d6d7d6520b | 4,976 | py | Python | test/vanilla/low-level/Expected/AcceptanceTests/UrlMultiCollectionFormatLowLevel/urlmulticollectionformatlowlevel/rest/queries/_request_builders_py3.py | Azure/autorest.python | c36f5c1a2d614a1eeba6fec6a2c02517f2d1cce7 | [
"MIT"
] | 35 | 2018-04-03T12:15:53.000Z | 2022-03-11T14:03:34.000Z | test/vanilla/low-level/Expected/AcceptanceTests/UrlMultiCollectionFormatLowLevel/urlmulticollectionformatlowlevel/rest/queries/_request_builders_py3.py | Azure/autorest.python | c36f5c1a2d614a1eeba6fec6a2c02517f2d1cce7 | [
"MIT"
] | 652 | 2017-08-28T22:44:41.000Z | 2022-03-31T21:20:31.000Z | test/vanilla/low-level/Expected/AcceptanceTests/UrlMultiCollectionFormatLowLevel/urlmulticollectionformatlowlevel/rest/queries/_request_builders_py3.py | Azure/autorest.python | c36f5c1a2d614a1eeba6fec6a2c02517f2d1cce7 | [
"MIT"
] | 29 | 2017-08-28T20:57:01.000Z | 2022-03-11T14:03:38.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 44.428571 | 117 | 0.675643 | 641 | 4,976 | 5.145086 | 0.190328 | 0.054579 | 0.027592 | 0.023651 | 0.883263 | 0.875985 | 0.875985 | 0.875985 | 0.875985 | 0.875985 | 0 | 0.000732 | 0.176045 | 4,976 | 111 | 118 | 44.828829 | 0.803659 | 0.503416 | 0 | 0.648649 | 0 | 0 | 0.149892 | 0.042333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0 | 0.081081 | 0 | 0.243243 | 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 |
6aa8969ac0c39fcdb20eb817b40d4672fb8a2545 | 21,929 | py | Python | tests/integration/widgets/test_autocomplete_input.py | karen-poon/bokeh | d0ecb0c9089fc0838ca36371814430af51901708 | [
"BSD-3-Clause"
] | null | null | null | tests/integration/widgets/test_autocomplete_input.py | karen-poon/bokeh | d0ecb0c9089fc0838ca36371814430af51901708 | [
"BSD-3-Clause"
] | null | null | null | tests/integration/widgets/test_autocomplete_input.py | karen-poon/bokeh | d0ecb0c9089fc0838ca36371814430af51901708 | [
"BSD-3-Clause"
] | null | null | null | #-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2021, Anaconda, Inc. All rights reserved.
#
# Powered by the Bokeh Development Team.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#---------------------------------------------------... | 40.912313 | 158 | 0.631903 | 2,795 | 21,929 | 4.737388 | 0.091592 | 0.051356 | 0.039121 | 0.043501 | 0.842384 | 0.828412 | 0.809304 | 0.795635 | 0.791481 | 0.770712 | 0 | 0.049234 | 0.217338 | 21,929 | 535 | 159 | 40.988785 | 0.722251 | 0.10607 | 0 | 0.691011 | 0 | 0 | 0.110133 | 0.001535 | 0 | 0 | 0 | 0.001869 | 0.356742 | 1 | 0.067416 | false | 0 | 0.02809 | 0 | 0.103933 | 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 |
6acb7124091cf8b08693d7c0e73a57e361cd742c | 176 | py | Python | metadatadb_driver_interface/__init__.py | nevermined-io/metadata-driver-interface | f23e98eefd4fb7b5833c9fba860a2d1b2601f124 | [
"Apache-2.0"
] | null | null | null | metadatadb_driver_interface/__init__.py | nevermined-io/metadata-driver-interface | f23e98eefd4fb7b5833c9fba860a2d1b2601f124 | [
"Apache-2.0"
] | null | null | null | metadatadb_driver_interface/__init__.py | nevermined-io/metadata-driver-interface | f23e98eefd4fb7b5833c9fba860a2d1b2601f124 | [
"Apache-2.0"
] | null | null | null | __author__ = """Nevermined"""
__version__ = '0.1.0'
from metadatadb_driver_interface.exceptions import *
from metadatadb_driver_interface.metadatadb import (
MetadataDb
)
| 22 | 52 | 0.784091 | 19 | 176 | 6.631579 | 0.578947 | 0.222222 | 0.31746 | 0.460317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019355 | 0.119318 | 176 | 7 | 53 | 25.142857 | 0.793548 | 0 | 0 | 0 | 0 | 0 | 0.085227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0acfcd58e2d3bca4585e473687433b1bae1259ab | 5,074 | py | Python | tests/test_observable/test_switchlatest.py | mmpio/RxPY | 4ed60bb5c04aa85de5210e5537a6adfe1b667d50 | [
"MIT"
] | 4,342 | 2015-01-06T09:00:23.000Z | 2022-03-28T15:05:50.000Z | tests/test_observable/test_switchlatest.py | mmpio/RxPY | 4ed60bb5c04aa85de5210e5537a6adfe1b667d50 | [
"MIT"
] | 613 | 2015-01-07T20:44:56.000Z | 2022-03-20T06:14:20.000Z | tests/test_observable/test_switchlatest.py | mmpio/RxPY | 4ed60bb5c04aa85de5210e5537a6adfe1b667d50 | [
"MIT"
] | 420 | 2015-01-07T14:30:30.000Z | 2022-03-11T22:47:46.000Z | import unittest
from rx import operators as ops
from rx.testing import TestScheduler, ReactiveTest
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = ReactiveTest.on_error
subscribe = ReactiveTest.subscribe
subscribed = ReactiveTest.subscribed
disposed = ReactiveTest.disposed
created =... | 40.919355 | 72 | 0.536263 | 600 | 5,074 | 4.28 | 0.143333 | 0.193925 | 0.080997 | 0.101636 | 0.77609 | 0.769081 | 0.769081 | 0.769081 | 0.769081 | 0.746495 | 0 | 0.147866 | 0.353567 | 5,074 | 123 | 73 | 41.252033 | 0.635061 | 0 | 0 | 0.733333 | 0 | 0 | 0.000788 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.095238 | false | 0 | 0.028571 | 0.047619 | 0.180952 | 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 |
7c27eff85c17f790060dbd81b031ac1977ec8589 | 24,934 | py | Python | tests/test_mirror_port_span.py | gfreewind/sonic-swss | 691c37b73e20788a68d98bd9cbbd55c454cf5893 | [
"Apache-2.0"
] | 132 | 2016-03-10T00:48:36.000Z | 2022-03-10T14:09:50.000Z | tests/test_mirror_port_span.py | gfreewind/sonic-swss | 691c37b73e20788a68d98bd9cbbd55c454cf5893 | [
"Apache-2.0"
] | 1,644 | 2016-03-15T19:53:10.000Z | 2022-03-31T20:51:06.000Z | tests/test_mirror_port_span.py | gfreewind/sonic-swss | 691c37b73e20788a68d98bd9cbbd55c454cf5893 | [
"Apache-2.0"
] | 432 | 2016-03-09T18:10:28.000Z | 2022-03-30T14:39:15.000Z | # This test suite covers the functionality of mirror feature in SwSS
import pytest
@pytest.mark.usefixtures("testlog")
@pytest.mark.usefixtures('dvs_vlan_manager')
@pytest.mark.usefixtures('dvs_lag_manager')
@pytest.mark.usefixtures('dvs_mirror_manager')
@pytest.mark.usefixtures('dvs_policer_manager')
class TestMirror... | 47.403042 | 142 | 0.697241 | 3,332 | 24,934 | 4.901561 | 0.082533 | 0.073292 | 0.082782 | 0.069802 | 0.801861 | 0.768491 | 0.744183 | 0.708609 | 0.69673 | 0.679525 | 0 | 0.024615 | 0.217935 | 24,934 | 525 | 143 | 47.493333 | 0.812923 | 0.207829 | 0 | 0.702194 | 0 | 0.003135 | 0.14967 | 0.078923 | 0 | 0 | 0.00021 | 0 | 0.003135 | 1 | 0.034483 | false | 0.003135 | 0.003135 | 0 | 0.040752 | 0.003135 | 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 |
7c369bf963c7045ad211e8473bc0a32096295af8 | 16,297 | py | Python | run.py | oluwaseun-ebenezer/fiverr-scraper | 73d5bb85e112c8c393767846f8c75fd4a4be230c | [
"MIT"
] | null | null | null | run.py | oluwaseun-ebenezer/fiverr-scraper | 73d5bb85e112c8c393767846f8c75fd4a4be230c | [
"MIT"
] | null | null | null | run.py | oluwaseun-ebenezer/fiverr-scraper | 73d5bb85e112c8c393767846f8c75fd4a4be230c | [
"MIT"
] | null | null | null | from scraper import Fiverr
# # Graphics and Design
# links = [
# ['https://www.fiverr.com/categories/graphics-design/creative-logo-design'],
# ['https://www.fiverr.com/categories/graphics-design/brand-style-guides'],
# ['https://www.fiverr.com/categories/graphics-design/game-art'],
# ['https://www.five... | 66.518367 | 94 | 0.714303 | 1,891 | 16,297 | 6.156002 | 0.14807 | 0.137445 | 0.240529 | 0.292071 | 0.803797 | 0.803797 | 0.721587 | 0.478997 | 0.057555 | 0 | 0 | 0.000201 | 0.081917 | 16,297 | 244 | 95 | 66.790984 | 0.777837 | 0.95355 | 0 | 0 | 0 | 0 | 0.217973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c43dac5f125a0ca5b44181e7de0df3a10f348ef | 5,356 | py | Python | model/Vgg.py | xyj77/GestureRec-Keras | d9b23c55baec7aaeaf432b6a7705ee0fca507096 | [
"MIT"
] | null | null | null | model/Vgg.py | xyj77/GestureRec-Keras | d9b23c55baec7aaeaf432b6a7705ee0fca507096 | [
"MIT"
] | null | null | null | model/Vgg.py | xyj77/GestureRec-Keras | d9b23c55baec7aaeaf432b6a7705ee0fca507096 | [
"MIT"
] | null | null | null | import keras
import numpy as np
from keras.models import Sequential
from keras.layers import Dense, Dropout, Activation, Flatten
from keras.layers import Conv2D, MaxPooling2D, GlobalAveragePooling2D, AveragePooling2D
from keras.initializers import he_normal
from keras import regularizers
from keras.callbacks import Lea... | 56.378947 | 174 | 0.732263 | 678 | 5,356 | 5.626844 | 0.122419 | 0.136304 | 0.14443 | 0.154391 | 0.829096 | 0.829096 | 0.829096 | 0.814417 | 0.814417 | 0.814417 | 0 | 0.043697 | 0.111277 | 5,356 | 95 | 175 | 56.378947 | 0.757773 | 0.015497 | 0 | 0.493671 | 0 | 0 | 0.081086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012658 | false | 0 | 0.113924 | 0 | 0.139241 | 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 |
7c45072ba492b494f0fad74d2cf570ad46bab631 | 209 | py | Python | Source-Code-Tutorial-master/example_scripts/python_script_2.py | joelwebb/Source-Code-Tutorial | 01c8cff860a6da94111cff6060b0d75f281e902d | [
"FSFAP",
"ADSL"
] | 1 | 2020-09-29T15:36:58.000Z | 2020-09-29T15:36:58.000Z | Source-Code-Tutorial-master/example_scripts/python_script_2.py | joelwebb/Source-Code-Tutorial | 01c8cff860a6da94111cff6060b0d75f281e902d | [
"FSFAP",
"ADSL"
] | null | null | null | Source-Code-Tutorial-master/example_scripts/python_script_2.py | joelwebb/Source-Code-Tutorial | 01c8cff860a6da94111cff6060b0d75f281e902d | [
"FSFAP",
"ADSL"
] | null | null | null | #load the operating system package, os
import os
#use the os.system function to call a perl script from the command line
os.system("perl filter.pl example_bad_file.fastq > Filtered_example_bad_file.fastq ")
| 34.833333 | 86 | 0.799043 | 36 | 209 | 4.5 | 0.666667 | 0.098765 | 0.17284 | 0.234568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138756 | 209 | 5 | 87 | 41.8 | 0.9 | 0.511962 | 0 | 0 | 0 | 0 | 0.737374 | 0.535354 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7c6f41fe88955fcbd521eeb1093744b0df8d57a2 | 234 | py | Python | core/ktop/core/ports.py | agrausem/ktop | 9aa939d7a0d26462dc56c5e4be641128551b54db | [
"Apache-2.0"
] | null | null | null | core/ktop/core/ports.py | agrausem/ktop | 9aa939d7a0d26462dc56c5e4be641128551b54db | [
"Apache-2.0"
] | null | null | null | core/ktop/core/ports.py | agrausem/ktop | 9aa939d7a0d26462dc56c5e4be641128551b54db | [
"Apache-2.0"
] | null | null | null | from abc import ABCMeta, abstractmethod
class TopicInformationPort(metaclass=ABCMeta):
@abstractmethod
async def get_topics(self):
pass
@abstractmethod
async def get_topic_offsets(topic_name):
pass
| 18 | 46 | 0.717949 | 25 | 234 | 6.56 | 0.68 | 0.256098 | 0.268293 | 0.304878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226496 | 234 | 12 | 47 | 19.5 | 0.906077 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.125 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7cbf358052dad096f033bc968a710d50175ac433 | 64,098 | py | Python | metadata/tests/unit/proxy/test_neo4j_proxy.py | dkunitsk/amundsen | 2437210ecce633d95d96978272205665338d7693 | [
"Apache-2.0"
] | null | null | null | metadata/tests/unit/proxy/test_neo4j_proxy.py | dkunitsk/amundsen | 2437210ecce633d95d96978272205665338d7693 | [
"Apache-2.0"
] | null | null | null | metadata/tests/unit/proxy/test_neo4j_proxy.py | dkunitsk/amundsen | 2437210ecce633d95d96978272205665338d7693 | [
"Apache-2.0"
] | null | null | null | # Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import copy
import textwrap
import unittest
from typing import Any, Dict # noqa: F401
from unittest.mock import MagicMock, patch
from amundsen_common.models.dashboard import DashboardSummary
from amundsen_common.models.feature im... | 50.391509 | 120 | 0.500702 | 5,661 | 64,098 | 5.341282 | 0.067126 | 0.031088 | 0.027781 | 0.033337 | 0.808347 | 0.776267 | 0.752191 | 0.728842 | 0.710024 | 0.690445 | 0 | 0.020401 | 0.39892 | 64,098 | 1,271 | 121 | 50.431157 | 0.764405 | 0.015632 | 0 | 0.530132 | 0 | 0.006591 | 0.187074 | 0.040209 | 0 | 0 | 0 | 0.000787 | 0.072505 | 1 | 0.037665 | false | 0.000942 | 0.019774 | 0 | 0.05838 | 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 |
7cc11a7b4144b40a6faf4ddfac76d55fd662c11d | 203 | py | Python | tests/test_fibonacci.py | longr/cffi_example_docs | df03951a43b9f30a0410e71e90e95ec10a834582 | [
"MIT"
] | null | null | null | tests/test_fibonacci.py | longr/cffi_example_docs | df03951a43b9f30a0410e71e90e95ec10a834582 | [
"MIT"
] | null | null | null | tests/test_fibonacci.py | longr/cffi_example_docs | df03951a43b9f30a0410e71e90e95ec10a834582 | [
"MIT"
] | null | null | null | import fibonacci
def test_fib_check_zero():
assert fibonacci.fib(0) == 0
def test_fib_check_one():
assert fibonacci.fib(1) == 1
def test_fib_check_ten():
assert fibonacci.fib(10) == 55
| 14.5 | 34 | 0.694581 | 32 | 203 | 4.125 | 0.4375 | 0.159091 | 0.227273 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048485 | 0.187192 | 203 | 13 | 35 | 15.615385 | 0.751515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6b220779ea77b91b8edefecccf4a9b8bdd33adf0 | 24,118 | py | Python | benchmark/r3d.py | joshbenjamin3/Static_BFP_CNN | d64579f5c644a350e9d16e405b2d5a434548cc45 | [
"MIT"
] | null | null | null | benchmark/r3d.py | joshbenjamin3/Static_BFP_CNN | d64579f5c644a350e9d16e405b2d5a434548cc45 | [
"MIT"
] | null | null | null | benchmark/r3d.py | joshbenjamin3/Static_BFP_CNN | d64579f5c644a350e9d16e405b2d5a434548cc45 | [
"MIT"
] | null | null | null | import math
import torch.nn as nn
from torch.nn.modules.utils import _triple
from lib import BFPActivation
from lib import BFPFullyConnet
import torch
import torch.nn as nn
######### Orig Model Define #############
class SpatioTemporalConv(nn.Module):
r"""Applies a factored 3D convolution over an input signal com... | 42.238179 | 148 | 0.655361 | 3,324 | 24,118 | 4.559567 | 0.090253 | 0.017023 | 0.021972 | 0.031737 | 0.931182 | 0.91891 | 0.908089 | 0.89232 | 0.88526 | 0.876814 | 0 | 0.020417 | 0.254706 | 24,118 | 570 | 149 | 42.312281 | 0.822754 | 0.395141 | 0 | 0.6 | 0 | 0 | 0.009864 | 0.00432 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109091 | false | 0 | 0.029091 | 0 | 0.218182 | 0.025455 | 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 |
6b40f08ec942974652ea51371d6cece990650f23 | 32 | py | Python | google_address/tests/test_execution.py | tal-and-dev/django-google-address | 75cc53ec9d18437de341454d20c7f00028caec40 | [
"MIT"
] | 11 | 2018-06-13T10:10:11.000Z | 2021-06-05T08:23:43.000Z | google_address/tests/test_execution.py | tal-and-dev/django-google-address | 75cc53ec9d18437de341454d20c7f00028caec40 | [
"MIT"
] | 5 | 2020-06-05T18:24:25.000Z | 2022-03-11T23:21:01.000Z | google_address/tests/test_execution.py | tal-and-dev/django-google-address | 75cc53ec9d18437de341454d20c7f00028caec40 | [
"MIT"
] | 5 | 2018-08-17T16:09:33.000Z | 2021-06-06T05:32:10.000Z | from google_address import apps
| 16 | 31 | 0.875 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
86be921ff44ce4c1528ba87456c1923843efe756 | 18 | py | Python | bumblebee/__init__.py | nosoyyo/bumblebee | 60452b03b2cd255ae4582a830b463fe7183e209e | [
"Apache-2.0"
] | null | null | null | bumblebee/__init__.py | nosoyyo/bumblebee | 60452b03b2cd255ae4582a830b463fe7183e209e | [
"Apache-2.0"
] | null | null | null | bumblebee/__init__.py | nosoyyo/bumblebee | 60452b03b2cd255ae4582a830b463fe7183e209e | [
"Apache-2.0"
] | null | null | null | from . import bees | 18 | 18 | 0.777778 | 3 | 18 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 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 |
86bf2dc26799ed72651e4df567a13a6c030bc712 | 26 | py | Python | common_utils/check_utils/__init__.py | cm107/common_utils | 4b911efe9f8cdec16ecb2a983e16f772be05076c | [
"MIT"
] | null | null | null | common_utils/check_utils/__init__.py | cm107/common_utils | 4b911efe9f8cdec16ecb2a983e16f772be05076c | [
"MIT"
] | null | null | null | common_utils/check_utils/__init__.py | cm107/common_utils | 4b911efe9f8cdec16ecb2a983e16f772be05076c | [
"MIT"
] | null | null | null | from .check_utils import * | 26 | 26 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 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 |
86c7ac9ecbe50f019e0a868d708fa4cff11ae8cd | 214 | py | Python | module/discretize/__init__.py | anirudhagar13/engine_nwc_pattern_detection | afb6e39c531d8a3071341c39c64b09cd2bab6713 | [
"MIT"
] | null | null | null | module/discretize/__init__.py | anirudhagar13/engine_nwc_pattern_detection | afb6e39c531d8a3071341c39c64b09cd2bab6713 | [
"MIT"
] | null | null | null | module/discretize/__init__.py | anirudhagar13/engine_nwc_pattern_detection | afb6e39c531d8a3071341c39c64b09cd2bab6713 | [
"MIT"
] | 1 | 2021-02-23T01:37:40.000Z | 2021-02-23T01:37:40.000Z | from .default_discretizer import DefaultDiscretizer
from .denoise_discretizer import DenoiseDiscretizer
from .manual_discretizer import ManualDiscretizer
from .discretization_strategy import DiscretizationStrategy
| 42.8 | 59 | 0.906542 | 20 | 214 | 9.5 | 0.6 | 0.268421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 214 | 4 | 60 | 53.5 | 0.959596 | 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 |
86cbe19d6df82ac00da11fb9d30a1b5f577df8c4 | 400 | py | Python | flight_ad/transformations/__init__.py | coelhosilva/flight-ad | 5dc3079495a604ff5a2577e00ce64ec599f9bb33 | [
"MIT"
] | 2 | 2021-07-05T21:06:03.000Z | 2021-08-11T21:35:12.000Z | flight_ad/transformations/__init__.py | coelhosilva/flight-ad | 5dc3079495a604ff5a2577e00ce64ec599f9bb33 | [
"MIT"
] | null | null | null | flight_ad/transformations/__init__.py | coelhosilva/flight-ad | 5dc3079495a604ff5a2577e00ce64ec599f9bb33 | [
"MIT"
] | 2 | 2021-06-30T19:45:28.000Z | 2021-11-29T11:07:52.000Z | """Useful data transformations."""
from .transforms import \
insert_missing_data,\
map_parameters,\
re_reference_column,\
reshape_df_consecutively,\
resample_dataframe, \
reshape_df_interspersed
__all__ = [
'insert_missing_data',
'map_parameters',
're_reference_column',
'reshap... | 20 | 34 | 0.715 | 39 | 400 | 6.717949 | 0.512821 | 0.137405 | 0.129771 | 0.152672 | 0.816794 | 0.816794 | 0.816794 | 0.816794 | 0.816794 | 0.816794 | 0 | 0 | 0.1875 | 400 | 19 | 35 | 21.052632 | 0.806154 | 0.07 | 0 | 0 | 0 | 0 | 0.320548 | 0.128767 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 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 |
86e7530d170dca8e3cf226ccc6e5727b29b59908 | 122 | py | Python | docrepotek/templates/gitattributes.py | TralahM/docrepo | 4b2e750e77ee8ad2160837b8fa143674f8cb3f14 | [
"MIT"
] | 2 | 2019-08-09T20:34:51.000Z | 2019-08-11T09:50:31.000Z | docrepotek/templates/gitattributes.py | TralahM/docrepo | 4b2e750e77ee8ad2160837b8fa143674f8cb3f14 | [
"MIT"
] | null | null | null | docrepotek/templates/gitattributes.py | TralahM/docrepo | 4b2e750e77ee8ad2160837b8fa143674f8cb3f14 | [
"MIT"
] | 1 | 2020-07-08T16:57:47.000Z | 2020-07-08T16:57:47.000Z | gitattributes = """
docs/* linguist-documentation
*.css linguist-detectable=false
*.html linguist-detectable=false
"""
| 13.555556 | 32 | 0.745902 | 12 | 122 | 7.583333 | 0.666667 | 0.395604 | 0.505495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 122 | 8 | 33 | 15.25 | 0.834862 | 0 | 0 | 0 | 0 | 0 | 0.811475 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
86ecc5201482559fee724c8f609fa1b7594fb48c | 61 | py | Python | database/__init__.py | saraivaufc/PySpy | 711a14da559c0315335eaf843f6d2a68daf9acbf | [
"MIT"
] | null | null | null | database/__init__.py | saraivaufc/PySpy | 711a14da559c0315335eaf843f6d2a68daf9acbf | [
"MIT"
] | null | null | null | database/__init__.py | saraivaufc/PySpy | 711a14da559c0315335eaf843f6d2a68daf9acbf | [
"MIT"
] | null | null | null | from access import *
from user import *
from userDAO import * | 20.333333 | 21 | 0.770492 | 9 | 61 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 61 | 3 | 21 | 20.333333 | 0.94 | 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 |
86f24e8db3a7ee7026f97a49d78bb2f5cd298e1a | 110 | py | Python | src/v8unpack/MetaDataObject/CatalogCommand.py | saby/v8uncode | 82e398e5d3291c3671db1ea443e5a38def7510d7 | [
"MIT"
] | 10 | 2021-11-01T11:06:56.000Z | 2022-03-25T17:55:05.000Z | src/v8unpack/MetaDataObject/CatalogCommand.py | saby/v8uncode | 82e398e5d3291c3671db1ea443e5a38def7510d7 | [
"MIT"
] | 1 | 2021-10-16T05:39:16.000Z | 2021-10-16T05:39:16.000Z | src/v8unpack/MetaDataObject/CatalogCommand.py | saby/v8uncode | 82e398e5d3291c3671db1ea443e5a38def7510d7 | [
"MIT"
] | 4 | 2021-12-09T06:58:15.000Z | 2022-01-12T15:14:55.000Z | from ..MetaDataObject.core.IncludeSimple import IncludeSimple
class CatalogCommand(IncludeSimple):
pass
| 18.333333 | 61 | 0.818182 | 10 | 110 | 9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 110 | 5 | 62 | 22 | 0.927835 | 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 |
811155f6c375c738587a0c2c527eb91210a96482 | 99 | py | Python | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie-parsers/src/magpieparsers/prolog/__init__.py | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | 77 | 2018-12-31T22:12:09.000Z | 2021-12-31T22:56:13.000Z | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie-parsers/src/magpieparsers/prolog/__init__.py | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | null | null | null | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie-parsers/src/magpieparsers/prolog/__init__.py | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | 24 | 2019-01-20T15:51:52.000Z | 2021-12-25T18:29:13.000Z | from parser import parse_term, parse_clauses, parse
__ALL__ = [parse_term, parse_clauses, parse]
| 19.8 | 51 | 0.79798 | 14 | 99 | 5.071429 | 0.5 | 0.253521 | 0.394366 | 0.591549 | 0.732394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 4 | 52 | 24.75 | 0.825581 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8115c3e59e707c4a19b1a5b2141c2315c91fcdbb | 858 | py | Python | tests/functions/test_softmax.py | nlp-greyfoss/metagrad | 0f32f177ced1478f0c75ad37bace9a9fc4044ba3 | [
"MIT"
] | 7 | 2022-01-27T05:38:02.000Z | 2022-03-30T01:48:00.000Z | tests/functions/test_softmax.py | nlp-greyfoss/metagrad | 0f32f177ced1478f0c75ad37bace9a9fc4044ba3 | [
"MIT"
] | null | null | null | tests/functions/test_softmax.py | nlp-greyfoss/metagrad | 0f32f177ced1478f0c75ad37bace9a9fc4044ba3 | [
"MIT"
] | 2 | 2022-02-22T07:47:02.000Z | 2022-03-22T08:31:59.000Z | import numpy as np
import torch
import metagrad.functions as F
from metagrad.tensor import Tensor
def test_simple_softmax():
x = np.array([0, 1, 2], np.float32)
mx = Tensor(x, requires_grad=True)
y = F.softmax(mx)
tx = torch.tensor(x, requires_grad=True)
ty = torch.softmax(tx, dim=0)
asse... | 20.926829 | 74 | 0.636364 | 144 | 858 | 3.743056 | 0.270833 | 0.051948 | 0.111317 | 0.141002 | 0.801484 | 0.801484 | 0.801484 | 0.734694 | 0.734694 | 0.734694 | 0 | 0.039301 | 0.199301 | 858 | 40 | 75 | 21.45 | 0.745269 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.083333 | false | 0 | 0.166667 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4a897eb50f5c7e305db8883de0713d79790a3ec | 327 | py | Python | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_09_10PottedMeatCan.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_09_10PottedMeatCan.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_09_10PottedMeatCan.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_01_02MasterChefCan.py"
OUTPUT_DIR = "output/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/09_10PottedMeatCan"
DATASETS = dict(TRAIN=("ycbv_010_potted_meat_can_train_p... | 81.75 | 146 | 0.899083 | 44 | 327 | 5.977273 | 0.704545 | 0.08365 | 0.197719 | 0.281369 | 0.51711 | 0.51711 | 0.51711 | 0.51711 | 0.51711 | 0.51711 | 0 | 0.097484 | 0.027523 | 327 | 3 | 147 | 109 | 0.72956 | 0 | 0 | 0 | 0 | 0 | 0.825688 | 0.825688 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4d29513d84f4563a1173981ed064d7cdbc38f19 | 152 | py | Python | app/api/v1/views.py | JokerHai/ihome | ac632db88135fb90fbb279a0ab975601473b2cb4 | [
"MIT"
] | null | null | null | app/api/v1/views.py | JokerHai/ihome | ac632db88135fb90fbb279a0ab975601473b2cb4 | [
"MIT"
] | null | null | null | app/api/v1/views.py | JokerHai/ihome | ac632db88135fb90fbb279a0ab975601473b2cb4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author : joker
# @Date : 2018-12-28
from ..v1 import api
@api.route('/')
def index():
return 'This Is Project Api'
| 15.2 | 32 | 0.565789 | 22 | 152 | 3.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 0.230263 | 152 | 9 | 33 | 16.888889 | 0.649573 | 0.394737 | 0 | 0 | 0 | 0 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d4e1118c0fd287f92a87409882e7701851045f0c | 2,307 | py | Python | epytope/Data/pssms/smm/mat/B_18_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/B_18_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/B_18_01_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_18_01_9 = {0: {'A': 0.461, 'C': 0.151, 'E': -0.036, 'D': -0.818, 'G': 0.497, 'F': -0.148, 'I': 0.003, 'H': -0.049, 'K': 0.338, 'M': -0.45, 'L': 0.028, 'N': -0.411, 'Q': 0.207, 'P': 0.673, 'S': 0.151, 'R': 0.275, 'T': -0.104, 'W': -0.442, 'V': 0.049, 'Y': -0.376}, 1: {'A': 0.243, 'C': 0.158, 'E': -1.546, 'D': -0.207, ... | 2,307 | 2,307 | 0.395319 | 557 | 2,307 | 1.631957 | 0.315978 | 0.019802 | 0.011001 | 0.013201 | 0.046205 | 0 | 0 | 0 | 0 | 0 | 0 | 0.374871 | 0.161682 | 2,307 | 1 | 2,307 | 2,307 | 0.09514 | 0 | 0 | 0 | 0 | 0 | 0.079289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07b32824a5ca74c1ad0025887946513338e21d2f | 124 | py | Python | cloudnetpy/categorize/__init__.py | tukiains/actris-cloudnet | 26f2607b890630146469cfa410fce99438ceee3f | [
"MIT"
] | 11 | 2019-03-11T13:31:01.000Z | 2019-12-07T17:26:46.000Z | cloudnetpy/categorize/__init__.py | tukiains/actris-cloudnet | 26f2607b890630146469cfa410fce99438ceee3f | [
"MIT"
] | 1 | 2019-01-03T18:50:21.000Z | 2019-01-10T16:35:23.000Z | cloudnetpy/categorize/__init__.py | tukiains/actris-cloudnet | 26f2607b890630146469cfa410fce99438ceee3f | [
"MIT"
] | 7 | 2019-03-13T14:47:12.000Z | 2019-12-05T19:56:47.000Z | from .datasource import DataSource, ProfileDataSource
from .categorize import generate_categorize
from .radar import Radar
| 24.8 | 53 | 0.854839 | 14 | 124 | 7.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 124 | 4 | 54 | 31 | 0.954545 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07d17b9c93a934e398a3e930f5b74c6e21583dd4 | 4,024 | py | Python | test/test_systems_execution_executor.py | SanthoshBala18/skelebot | 13055dba1399b56a76a392699aa0aa259ca916a9 | [
"MIT"
] | null | null | null | test/test_systems_execution_executor.py | SanthoshBala18/skelebot | 13055dba1399b56a76a392699aa0aa259ca916a9 | [
"MIT"
] | null | null | null | test/test_systems_execution_executor.py | SanthoshBala18/skelebot | 13055dba1399b56a76a392699aa0aa259ca916a9 | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest import mock
import skelebot as sb
import argparse
class TestExecutor(TestCase):
@mock.patch('skelebot.systems.parsing.skeleParser')
def test_execute_help(self, mock_skeleParser):
config = sb.objects.config.Config()
args = argparse.Namespace(job=None... | 42.808511 | 94 | 0.711233 | 491 | 4,024 | 5.637475 | 0.126273 | 0.11922 | 0.073699 | 0.104046 | 0.801301 | 0.753251 | 0.726879 | 0.726879 | 0.716763 | 0.61922 | 0 | 0 | 0.160785 | 4,024 | 93 | 95 | 43.268817 | 0.819662 | 0 | 0 | 0.536232 | 0 | 0 | 0.164761 | 0.118787 | 0 | 0 | 0 | 0 | 0.115942 | 1 | 0.101449 | false | 0 | 0.057971 | 0 | 0.173913 | 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 |
ed04102a50fe365e9a2509781f29e6626bece385 | 2,505 | py | Python | koans/about_variables.py | uottawapython/UOPy-koans-day-1 | c2fed293f2809958ac6b37392205f195fb2c1552 | [
"MIT"
] | null | null | null | koans/about_variables.py | uottawapython/UOPy-koans-day-1 | c2fed293f2809958ac6b37392205f195fb2c1552 | [
"MIT"
] | null | null | null | koans/about_variables.py | uottawapython/UOPy-koans-day-1 | c2fed293f2809958ac6b37392205f195fb2c1552 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from runner.koan import *
class AboutVariables(Koan):
def test_that_sometimes_we_need_to_know_the_variable_type(self):
"""
What is the type of this variable?
"""
# Sometimes we will ask you what the class type of an object is.
... | 31.3125 | 83 | 0.576048 | 331 | 2,505 | 4.21148 | 0.232628 | 0.040172 | 0.028694 | 0.037303 | 0.786944 | 0.786944 | 0.771162 | 0.771162 | 0.748924 | 0.748924 | 0 | 0.001175 | 0.320559 | 2,505 | 79 | 84 | 31.708861 | 0.817861 | 0.581238 | 0 | 0 | 0 | 0 | 0.017429 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.071429 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c495ac46b86500206ac6feb66c9f1aea91b949f | 157,987 | py | Python | test/test_table.py | jdum/odfdo | 2494d0bed39f5a55974643206e9bafeed40f3a6b | [
"Apache-2.0"
] | 18 | 2018-04-19T08:30:48.000Z | 2022-02-14T11:00:27.000Z | test/test_table.py | jdum/odfdo | 2494d0bed39f5a55974643206e9bafeed40f3a6b | [
"Apache-2.0"
] | 15 | 2018-04-22T00:52:41.000Z | 2021-07-05T10:16:38.000Z | test/test_table.py | jdum/odfdo | 2494d0bed39f5a55974643206e9bafeed40f3a6b | [
"Apache-2.0"
] | 6 | 2018-04-22T00:14:12.000Z | 2021-12-06T01:42:07.000Z | #!/usr/bin/env python
# Copyright 2018 Jérôme Dumonteil
# Copyright (c) 2009-2010 Ars Aperta, Itaapy, Pierlis, Talend.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apach... | 35.832842 | 198 | 0.530506 | 19,721 | 157,987 | 4.116323 | 0.026064 | 0.169997 | 0.133595 | 0.163345 | 0.888504 | 0.832886 | 0.785336 | 0.731417 | 0.690877 | 0.663369 | 0 | 0.046128 | 0.323508 | 157,987 | 4,408 | 199 | 35.840971 | 0.713362 | 0.024325 | 0 | 0.617784 | 0 | 0.000258 | 0.074997 | 0.023467 | 0 | 0 | 0 | 0 | 0.246649 | 1 | 0.093557 | false | 0 | 0.002835 | 0 | 0.101289 | 0.003866 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c646aff6e159a56bec66a3be29e37406e3ae7c9 | 179 | py | Python | operators/__init__.py | Hasan-J/fileflow | 86009cfe002701391eb1c40a6a8e656ecb0e9d86 | [
"Apache-2.0"
] | null | null | null | operators/__init__.py | Hasan-J/fileflow | 86009cfe002701391eb1c40a6a8e656ecb0e9d86 | [
"Apache-2.0"
] | null | null | null | operators/__init__.py | Hasan-J/fileflow | 86009cfe002701391eb1c40a6a8e656ecb0e9d86 | [
"Apache-2.0"
] | 1 | 2019-09-24T09:14:52.000Z | 2019-09-24T09:14:52.000Z | from fileflow.operators.dive_operator import DiveOperator
from fileflow.operators.dive_python_operator import DivePythonOperator
__all__ = ['DiveOperator', 'DivePythonOperator']
| 35.8 | 70 | 0.860335 | 18 | 179 | 8.166667 | 0.555556 | 0.163265 | 0.285714 | 0.340136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072626 | 179 | 4 | 71 | 44.75 | 0.885542 | 0 | 0 | 0 | 0 | 0 | 0.167598 | 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 |
1381e6d2065231d05c89e977148bb5e2f5314a23 | 29,276 | py | Python | tests/neptune/new/internal/backends/test_hosted_file_operations.py | jpauwels/neptune-client | 9b177fe53fdcd5c30b6f2e90cef8b05c79af5c5b | [
"Apache-2.0"
] | 1 | 2022-02-16T08:16:28.000Z | 2022-02-16T08:16:28.000Z | tests/neptune/new/internal/backends/test_hosted_file_operations.py | jpauwels/neptune-client | 9b177fe53fdcd5c30b6f2e90cef8b05c79af5c5b | [
"Apache-2.0"
] | null | null | null | tests/neptune/new/internal/backends/test_hosted_file_operations.py | jpauwels/neptune-client | 9b177fe53fdcd5c30b6f2e90cef8b05c79af5c5b | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2019, Neptune Labs Sp. z o.o.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 39.669377 | 96 | 0.601585 | 2,907 | 29,276 | 5.73753 | 0.092191 | 0.079801 | 0.051202 | 0.042209 | 0.819833 | 0.796271 | 0.789316 | 0.758199 | 0.752024 | 0.751304 | 0 | 0.003781 | 0.304379 | 29,276 | 737 | 97 | 39.723202 | 0.815222 | 0.028385 | 0 | 0.656452 | 0 | 0 | 0.155827 | 0.064121 | 0 | 0 | 0 | 0 | 0.08871 | 1 | 0.029032 | false | 0 | 0.022581 | 0.001613 | 0.062903 | 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 |
13a9cc571ad7b670c7eeb837e69772114cf09156 | 245 | py | Python | api_site/src/api_x/zyt/evas/lianlian_pay/entry/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | 1 | 2019-10-14T11:51:49.000Z | 2019-10-14T11:51:49.000Z | api_site/src/api_x/zyt/evas/lianlian_pay/entry/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | null | null | null | api_site/src/api_x/zyt/evas/lianlian_pay/entry/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | null | null | null | # coding=utf-8
from __future__ import unicode_literals
from flask import Blueprint
lianlian_pay_entry_mod = Blueprint('lianlian_pay_entry', __name__, template_folder='./templates')
from . import pay_views, refund_views, pay_to_bankcard_views
| 27.222222 | 97 | 0.828571 | 34 | 245 | 5.382353 | 0.647059 | 0.185792 | 0.218579 | 0.273224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004525 | 0.097959 | 245 | 8 | 98 | 30.625 | 0.823529 | 0.04898 | 0 | 0 | 0 | 0 | 0.125541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
13ae533d85decc04ee4fc3004d68847e02f5d687 | 170 | py | Python | scitail/data/dataset_readers/__init__.py | allenai/scitail | 2e57f46a4620d50e85323c4a642114426db67393 | [
"Apache-2.0"
] | 40 | 2018-02-01T04:20:50.000Z | 2022-03-08T02:31:08.000Z | scitail/data/dataset_readers/__init__.py | allenai/scitail | 2e57f46a4620d50e85323c4a642114426db67393 | [
"Apache-2.0"
] | 6 | 2018-02-06T03:41:00.000Z | 2018-10-22T06:13:59.000Z | scitail/data/dataset_readers/__init__.py | allenai/scitail | 2e57f46a4620d50e85323c4a642114426db67393 | [
"Apache-2.0"
] | 8 | 2018-02-08T09:06:16.000Z | 2019-07-17T23:12:17.000Z | from scitail.data.dataset_readers.entailment_tuple_reader import EntailmentTupleReader
from scitail.data.dataset_readers.simple_overlap_reader import SimpleOverlapReader
| 56.666667 | 86 | 0.917647 | 20 | 170 | 7.5 | 0.65 | 0.146667 | 0.2 | 0.293333 | 0.386667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 170 | 2 | 87 | 85 | 0.925926 | 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 |
13ce29a431483c7f703fb794737412057c47fac8 | 46 | py | Python | zen/app/__init__.py | ravelou/zen | f68e2bd941f16b625133b539d6ec0d33955f587d | [
"MIT"
] | null | null | null | zen/app/__init__.py | ravelou/zen | f68e2bd941f16b625133b539d6ec0d33955f587d | [
"MIT"
] | 1 | 2018-05-13T13:10:55.000Z | 2018-05-13T13:10:55.000Z | zen/app/__init__.py | ravelou/zen | f68e2bd941f16b625133b539d6ec0d33955f587d | [
"MIT"
] | null | null | null | # -*- encoding:utf-8 -*-
from .app import app
| 15.333333 | 24 | 0.608696 | 7 | 46 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.173913 | 46 | 2 | 25 | 23 | 0.710526 | 0.478261 | 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 |
13f73fe6f967851698fa7edbbb015a2aff779e56 | 95 | py | Python | middle_tier/cache/__init__.py | sdhansen31/Simple-Request | 7395b4f99093ab166ceace653085d957c2ce4502 | [
"MIT"
] | 19 | 2017-10-12T11:53:54.000Z | 2021-12-04T11:47:46.000Z | middle_tier/cache/__init__.py | sdhansen31/Simple-Request | 7395b4f99093ab166ceace653085d957c2ce4502 | [
"MIT"
] | 31 | 2018-06-22T18:35:29.000Z | 2022-03-02T03:08:57.000Z | middle_tier/cache/__init__.py | sdhansen31/Simple-Request | 7395b4f99093ab166ceace653085d957c2ce4502 | [
"MIT"
] | 12 | 2017-10-17T08:21:58.000Z | 2021-01-14T12:30:08.000Z | from werkzeug.contrib.cache import RedisCache
def get_cache():
return RedisCache('redis') | 19 | 45 | 0.768421 | 12 | 95 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 46 | 19 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
b9679af668fc8560e72a5250b63190777a46e3cd | 48 | py | Python | pythautomata/exceptions/python_automata_exception.py | neuralchecker/pythautomata | 002fd191e23aaed143751d0f5f17bdafddb2b0ee | [
"Apache-2.0"
] | null | null | null | pythautomata/exceptions/python_automata_exception.py | neuralchecker/pythautomata | 002fd191e23aaed143751d0f5f17bdafddb2b0ee | [
"Apache-2.0"
] | null | null | null | pythautomata/exceptions/python_automata_exception.py | neuralchecker/pythautomata | 002fd191e23aaed143751d0f5f17bdafddb2b0ee | [
"Apache-2.0"
] | null | null | null | class PythonAutomataException(Exception):
pass | 24 | 41 | 0.854167 | 4 | 48 | 10.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 2 | 42 | 24 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b9bd8d35bb4a02f86f4e9eb7c3d5c4b445a95b2b | 7,527 | py | Python | userbot/modules/fakeaction.py | Bomansyah/Tornado-Userbot | b7eeed8b14e47f443f867cf766e11155ffc5e05d | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2021-10-05T20:12:51.000Z | 2021-10-05T20:12:51.000Z | userbot/modules/fakeaction.py | Bomansyah/Tornado-Userbot | b7eeed8b14e47f443f867cf766e11155ffc5e05d | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/fakeaction.py | Bomansyah/Tornado-Userbot | b7eeed8b14e47f443f867cf766e11155ffc5e05d | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | # Ultroid - UserBot
# Copyright (C) 2021 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
# <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.
#
# Ported by @mrismanaziz
# @SharingUserbot
import asyncio
from userbo... | 33.905405 | 96 | 0.577919 | 925 | 7,527 | 4.681081 | 0.130811 | 0.083141 | 0.083141 | 0.05612 | 0.841109 | 0.834642 | 0.819861 | 0.771824 | 0.696305 | 0.611316 | 0 | 0.009029 | 0.278996 | 7,527 | 221 | 97 | 34.058824 | 0.785517 | 0.036137 | 0 | 0.714286 | 0 | 0 | 0.148378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015873 | 0 | 0.063492 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9bf4b469cd30b1845e194410cdc0f037ed9e0cd | 92 | py | Python | Trash/python/__init__.py | stereocilio/Nengn | ec5dc6d06174a29c372da8f46265e96c8abd899d | [
"MIT"
] | null | null | null | Trash/python/__init__.py | stereocilio/Nengn | ec5dc6d06174a29c372da8f46265e96c8abd899d | [
"MIT"
] | null | null | null | Trash/python/__init__.py | stereocilio/Nengn | ec5dc6d06174a29c372da8f46265e96c8abd899d | [
"MIT"
] | 1 | 2019-12-19T18:22:27.000Z | 2019-12-19T18:22:27.000Z | from pyforms import BaseWidget
from pyforms.Controls import *
import cv2
import pyforms | 18.4 | 33 | 0.804348 | 12 | 92 | 6.166667 | 0.5 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.173913 | 92 | 5 | 34 | 18.4 | 0.960526 | 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 |
b9e0c2b4ee80b045269a390c365d3ab1a0824c91 | 28,116 | py | Python | evolved5g/sdk.py | skolome/evolved5g_cli | b202a878befe22b8dda66ee05610408777f4f006 | [
"Apache-2.0"
] | 1 | 2021-10-07T09:24:28.000Z | 2021-10-07T09:24:28.000Z | evolved5g/sdk.py | skolome/evolved5g_cli | b202a878befe22b8dda66ee05610408777f4f006 | [
"Apache-2.0"
] | null | null | null | evolved5g/sdk.py | skolome/evolved5g_cli | b202a878befe22b8dda66ee05610408777f4f006 | [
"Apache-2.0"
] | null | null | null | """SDK module"""
from typing import List
from evolved5g import swagger_client
from enum import Enum
from evolved5g.swagger_client import MonitoringEventAPIApi, \
MonitoringEventSubscriptionCreate, MonitoringEventSubscription, SessionWithQoSAPIApi, \
AsSessionWithQoSSubscriptionCreate, Snssai, UsageThreshold, A... | 63.61086 | 167 | 0.60542 | 2,901 | 28,116 | 5.607377 | 0.11858 | 0.017705 | 0.031967 | 0.01377 | 0.817606 | 0.796275 | 0.784779 | 0.761911 | 0.753427 | 0.745313 | 0 | 0.007722 | 0.35976 | 28,116 | 441 | 168 | 63.755102 | 0.89595 | 0.381633 | 0 | 0.575107 | 0 | 0 | 0.00434 | 0.001698 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072961 | false | 0.004292 | 0.017167 | 0 | 0.180258 | 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 |
0ed3b7aa894b8850c8ccc4ce6ab584996dc0ff8b | 13,780 | py | Python | AppcestryCore/SmaliListener.py | jason-chao/appcestry | c3858e51ac27466cb008722453a3cc9882b2e6a1 | [
"MIT"
] | 3 | 2019-04-04T02:49:40.000Z | 2021-08-31T03:19:47.000Z | AppcestryCore/SmaliListener.py | jason-chao/appcestry | c3858e51ac27466cb008722453a3cc9882b2e6a1 | [
"MIT"
] | null | null | null | AppcestryCore/SmaliListener.py | jason-chao/appcestry | c3858e51ac27466cb008722453a3cc9882b2e6a1 | [
"MIT"
] | 2 | 2019-04-05T15:06:54.000Z | 2019-08-04T12:21:55.000Z | # Generated from Smali.g4 by ANTLR 4.7.1
from antlr4 import *
if __name__ is not None and "." in __name__:
from .SmaliParser import SmaliParser
else:
from SmaliParser import SmaliParser
# This class defines a complete listener for a parse tree produced by SmaliParser.
class SmaliListener(ParseTreeListener):
... | 29.319149 | 82 | 0.709869 | 1,575 | 13,780 | 6.205714 | 0.153651 | 0.063229 | 0.105382 | 0.189687 | 0.856967 | 0.520974 | 0.517802 | 0.517291 | 0 | 0 | 0 | 0.010545 | 0.222351 | 13,780 | 469 | 83 | 29.381663 | 0.901549 | 0.383599 | 0 | 0.485714 | 1 | 0 | 0.000121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.485714 | false | 0.485714 | 0.014286 | 0 | 0.504762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
0ef01750e4eb68ba3207a61ab31393c5308261e3 | 63 | py | Python | bitcoin/__init__.py | NotStatilko/BPG | f2a0965a0ba7680dd97193b9bb3b2dde737442b9 | [
"MIT"
] | 1 | 2021-02-07T23:53:06.000Z | 2021-02-07T23:53:06.000Z | bitcoin/__init__.py | NotStatilko/BPG | f2a0965a0ba7680dd97193b9bb3b2dde737442b9 | [
"MIT"
] | null | null | null | bitcoin/__init__.py | NotStatilko/BPG | f2a0965a0ba7680dd97193b9bb3b2dde737442b9 | [
"MIT"
] | null | null | null | from bitcoin.main import *
from bitcoin.deterministic import *
| 21 | 35 | 0.809524 | 8 | 63 | 6.375 | 0.625 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 36 | 31.5 | 0.927273 | 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 |
1618d491a2a308c2d4fdc13abfd96195234ca544 | 38 | py | Python | psi/utils/__init__.py | delta-mpc/python-psi | 1665de12a713b37abd889268c66de84cddb1bf84 | [
"Apache-2.0"
] | 35 | 2021-05-28T10:03:09.000Z | 2022-03-24T12:08:19.000Z | psi/utils/__init__.py | delta-mpc/python-psi | 1665de12a713b37abd889268c66de84cddb1bf84 | [
"Apache-2.0"
] | 9 | 2021-07-15T09:16:34.000Z | 2022-03-31T03:59:16.000Z | psi/utils/__init__.py | delta-mpc/python-psi | 1665de12a713b37abd889268c66de84cddb1bf84 | [
"Apache-2.0"
] | 16 | 2021-06-18T02:18:56.000Z | 2022-03-25T02:43:48.000Z | from .pack import *
from .arr import * | 19 | 19 | 0.710526 | 6 | 38 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 20 | 19 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
164f859368f67f5aae3f6ce8468bdd81a6b3a632 | 10,079 | py | Python | utils/batcher.py | xiaotianzhao/deep_fm | 6a575fc6f26f229b7250a483d926f76ca36e5096 | [
"MIT"
] | 5 | 2019-10-05T08:22:56.000Z | 2021-12-28T07:13:10.000Z | utils/batcher.py | xiaotianzhao/deep_fm | 6a575fc6f26f229b7250a483d926f76ca36e5096 | [
"MIT"
] | null | null | null | utils/batcher.py | xiaotianzhao/deep_fm | 6a575fc6f26f229b7250a483d926f76ca36e5096 | [
"MIT"
] | 1 | 2019-06-25T13:53:11.000Z | 2019-06-25T13:53:11.000Z | #!/usr/bin/python
# -*- coding:utf8 -*-
"""
@author:xiaotian zhao
@time:1/13/19
"""
import random
import numpy as np
from deep_fm.utils.vocab import Vocab
from deep_fm.utils.dataset import MoviesLenDataset
PAD_TOKEN = '<PAD>'
UNKNOWN_TOKEN = '<UNK>'
SENTENCE_START = '<SOS>'
SENTENCE_END = '<EOS>'
class Bat... | 37.191882 | 100 | 0.589047 | 1,316 | 10,079 | 4.183891 | 0.107903 | 0.068652 | 0.034326 | 0.032692 | 0.818743 | 0.775518 | 0.731929 | 0.731929 | 0.709771 | 0.691972 | 0 | 0.008666 | 0.313027 | 10,079 | 270 | 101 | 37.32963 | 0.78654 | 0.089989 | 0 | 0.613095 | 0 | 0 | 0.023799 | 0.016096 | 0 | 0 | 0 | 0 | 0.005952 | 1 | 0.071429 | false | 0 | 0.02381 | 0 | 0.136905 | 0.005952 | 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 |
165542c87320211e6a13a6521280c91a80981cb4 | 76 | py | Python | imagect/example/__init__.py | imagect/imagect | 8a6759c2efaf31c10ef26d3238e71f8706724f44 | [
"MIT"
] | null | null | null | imagect/example/__init__.py | imagect/imagect | 8a6759c2efaf31c10ef26d3238e71f8706724f44 | [
"MIT"
] | null | null | null | imagect/example/__init__.py | imagect/imagect | 8a6759c2efaf31c10ef26d3238e71f8706724f44 | [
"MIT"
] | null | null | null |
from . import mpl
from . import dlg
from . import coder
from . import graph | 15.2 | 19 | 0.736842 | 12 | 76 | 4.666667 | 0.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 76 | 5 | 20 | 15.2 | 0.933333 | 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 |
16a6596da98e395c6a85eb1f37632ab48efe0808 | 27 | py | Python | cmake_file_api/kinds/cache/__init__.py | thefifo/python-cmake-file-api | 30d164e43ad86998659a22ebf056acdca4127bb9 | [
"MIT"
] | 4 | 2021-02-10T07:19:45.000Z | 2022-01-20T19:36:26.000Z | cmake_file_api/kinds/cache/__init__.py | thefifo/python-cmake-file-api | 30d164e43ad86998659a22ebf056acdca4127bb9 | [
"MIT"
] | 3 | 2021-04-27T20:01:11.000Z | 2022-03-07T12:20:39.000Z | cmake_file_api/kinds/cache/__init__.py | thefifo/python-cmake-file-api | 30d164e43ad86998659a22ebf056acdca4127bb9 | [
"MIT"
] | 4 | 2021-04-27T07:54:03.000Z | 2022-03-05T17:04:47.000Z | from .api import CACHE_API
| 13.5 | 26 | 0.814815 | 5 | 27 | 4.2 | 0.8 | 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 |
16afc49fae9c5436aa7d60b9a15975a225d87a0d | 21 | py | Python | h2o-py/tests/pybooklet_utils/__init__.py | huamichaelchen/h2o-3 | 2b52f2240652a1c73c1708762248c0773d0c073e | [
"Apache-2.0"
] | null | null | null | h2o-py/tests/pybooklet_utils/__init__.py | huamichaelchen/h2o-3 | 2b52f2240652a1c73c1708762248c0773d0c073e | [
"Apache-2.0"
] | null | null | null | h2o-py/tests/pybooklet_utils/__init__.py | huamichaelchen/h2o-3 | 2b52f2240652a1c73c1708762248c0773d0c073e | [
"Apache-2.0"
] | 1 | 2020-01-22T19:10:37.000Z | 2020-01-22T19:10:37.000Z | from utilsPY import * | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16d3f73d118a70d280af02f2a95ddcd25d6a3d29 | 128 | py | Python | PyCharm/primer16.py | PervykhDarya/laba11 | 682fbf76580447d72edbed7392a4c2643cb35bf3 | [
"MIT"
] | null | null | null | PyCharm/primer16.py | PervykhDarya/laba11 | 682fbf76580447d72edbed7392a4c2643cb35bf3 | [
"MIT"
] | null | null | null | PyCharm/primer16.py | PervykhDarya/laba11 | 682fbf76580447d72edbed7392a4c2643cb35bf3 | [
"MIT"
] | null | null | null | def kos_root():
"""Return the pathname of the KOS root directory."""
global _kos_root
if _kos_root: return _kos_root | 32 | 56 | 0.703125 | 20 | 128 | 4.15 | 0.5 | 0.421687 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210938 | 128 | 4 | 57 | 32 | 0.821782 | 0.359375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16d4eb3a0e7f41849880f07edca362f7503b9357 | 106 | py | Python | tests/exog/random/random_exog_32_10.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | tests/exog/random/random_exog_32_10.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 1 | 2019-11-30T23:39:38.000Z | 2019-12-01T04:34:35.000Z | tests/exog/random/random_exog_32_10.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | import pyaf.tests.exog.test_random_exogenous as testrandexog
testrandexog.test_random_exogenous( 32,10); | 26.5 | 60 | 0.858491 | 15 | 106 | 5.8 | 0.733333 | 0.229885 | 0.436782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.066038 | 106 | 4 | 61 | 26.5 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
bc88754b7a43f8df52feaf563849df053a856f20 | 119 | py | Python | boilerplate/helpers/enterinteractivemode.py | zerxen/django_boilerplate | c29214ba02497b559a1f5c57b880e71b0f9041ea | [
"Unlicense"
] | null | null | null | boilerplate/helpers/enterinteractivemode.py | zerxen/django_boilerplate | c29214ba02497b559a1f5c57b880e71b0f9041ea | [
"Unlicense"
] | 3 | 2020-02-12T01:06:54.000Z | 2021-06-10T20:32:53.000Z | boilerplate/helpers/enterinteractivemode.py | zerxen/django_boilerplate | c29214ba02497b559a1f5c57b880e71b0f9041ea | [
"Unlicense"
] | null | null | null | '''
Created on Jul 9, 2018
@author: havrila
'''
def interactive():
import code
code.interact(local=locals())
| 11.9 | 33 | 0.647059 | 15 | 119 | 5.133333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.201681 | 119 | 9 | 34 | 13.222222 | 0.757895 | 0.336134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
bcaceb8700143ef22e19249889b545f305b15d49 | 5,645 | py | Python | amika/tests/test_views.py | fga-eps-mds/2019.2-Grupo9-Backend | 42436d943ea19ae74bc87c32d0e928b99f2ebb90 | [
"MIT"
] | 3 | 2019-09-16T17:56:19.000Z | 2019-11-28T17:17:04.000Z | amika/tests/test_views.py | fga-eps-mds/2019.2-Grupo9-Backend | 42436d943ea19ae74bc87c32d0e928b99f2ebb90 | [
"MIT"
] | 106 | 2019-09-08T18:45:58.000Z | 2022-03-12T00:05:26.000Z | amika/tests/test_views.py | fga-eps-mds/2019.2-Grupo9-Backend | 42436d943ea19ae74bc87c32d0e928b99f2ebb90 | [
"MIT"
] | 1 | 2020-05-14T20:20:11.000Z | 2020-05-14T20:20:11.000Z | import json
from django.urls import reverse
from rest_framework.test import APITestCase
from django.core.files.uploadedfile import SimpleUploadedFile
from io import BytesIO
from amika.views import *
class TestesGet(APITestCase):
def setUp(self):
self.admin = User.objects.create_user(username='admin', pa... | 46.652893 | 116 | 0.651019 | 621 | 5,645 | 5.714976 | 0.190016 | 0.124542 | 0.08115 | 0.124542 | 0.796844 | 0.764441 | 0.736546 | 0.726402 | 0.703297 | 0.703297 | 0 | 0.0195 | 0.227812 | 5,645 | 120 | 117 | 47.041667 | 0.794678 | 0 | 0 | 0.4 | 0 | 0 | 0.095306 | 0.010629 | 0 | 0 | 0 | 0 | 0.136842 | 1 | 0.168421 | false | 0.084211 | 0.063158 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
bce02dcede346e2cfcbc03d89b13ecd696c81324 | 8,467 | py | Python | tests/core/p2p-proto/bcc/test_requests.py | mhchia/trinity | e40e475064ca4605887706e9b0e4f8e2349b10cd | [
"MIT"
] | null | null | null | tests/core/p2p-proto/bcc/test_requests.py | mhchia/trinity | e40e475064ca4605887706e9b0e4f8e2349b10cd | [
"MIT"
] | null | null | null | tests/core/p2p-proto/bcc/test_requests.py | mhchia/trinity | e40e475064ca4605887706e9b0e4f8e2349b10cd | [
"MIT"
] | null | null | null | import pytest
import asyncio
import ssz
from p2p.peer import (
MsgBuffer,
)
from eth2.beacon.types.blocks import (
BeaconBlock,
)
from trinity.protocol.bcc.servers import BCCRequestServer
from trinity.protocol.bcc.commands import (
BeaconBlocks,
)
from .helpers import (
get_chain_db,
create_te... | 36.029787 | 98 | 0.735798 | 1,184 | 8,467 | 4.941723 | 0.092905 | 0.049051 | 0.054692 | 0.050248 | 0.834729 | 0.833362 | 0.833362 | 0.805162 | 0.805162 | 0.797641 | 0 | 0.016887 | 0.160742 | 8,467 | 234 | 99 | 36.183761 | 0.806502 | 0 | 0 | 0.610465 | 0 | 0 | 0.029763 | 0 | 0 | 0 | 0 | 0 | 0.174419 | 1 | 0.005814 | false | 0 | 0.052326 | 0 | 0.063953 | 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 |
bcfc471eed28362742f12a98a1208b5f3a05b5b9 | 31 | py | Python | em_net/model/unet/__init__.py | donglaiw/EM-network | f71efbf227595294f5d5f6b45ffc2593f4cc2486 | [
"MIT"
] | 2 | 2019-02-20T02:27:43.000Z | 2019-09-04T02:34:04.000Z | em_net/model/unet/__init__.py | donglaiw/EM-network | f71efbf227595294f5d5f6b45ffc2593f4cc2486 | [
"MIT"
] | null | null | null | em_net/model/unet/__init__.py | donglaiw/EM-network | f71efbf227595294f5d5f6b45ffc2593f4cc2486 | [
"MIT"
] | 2 | 2018-12-20T22:16:39.000Z | 2021-01-26T02:59:00.000Z | from .residual import UNet_PNI
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 |
4c60bcc623287cfbd99ed93f90f06a9d20314062 | 21,594 | py | Python | shear_pcl_cov/plot_utils.py | robinupham/shear_pcl_cov | 6afc8bb48f714b87d4b7143575033b9723ef9df4 | [
"MIT"
] | null | null | null | shear_pcl_cov/plot_utils.py | robinupham/shear_pcl_cov | 6afc8bb48f714b87d4b7143575033b9723ef9df4 | [
"MIT"
] | null | null | null | shear_pcl_cov/plot_utils.py | robinupham/shear_pcl_cov | 6afc8bb48f714b87d4b7143575033b9723ef9df4 | [
"MIT"
] | null | null | null | """
Utility functions for plotting and preparing data for plots.
"""
import time
import numpy as np
import scipy.interpolate
def get_3d_post(log_like_path, save_path):
"""
Form 3D posterior grid from a log-likelihood file and save to disk, ready for plotting.
Args:
log_like_path (str): Path to ... | 44.523711 | 120 | 0.619755 | 3,060 | 21,594 | 4.14085 | 0.088562 | 0.01752 | 0.026044 | 0.036461 | 0.81943 | 0.786757 | 0.776971 | 0.754794 | 0.742167 | 0.73901 | 0 | 0.004426 | 0.27804 | 21,594 | 484 | 121 | 44.615702 | 0.808339 | 0.313883 | 0 | 0.678832 | 0 | 0.007299 | 0.255869 | 0.017572 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021898 | false | 0 | 0.010949 | 0 | 0.036496 | 0.175182 | 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 |
d5f099175b141f2e042600721de2ada8db970c3e | 23,392 | py | Python | tests/components/tts/test_init.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 6 | 2016-11-25T06:36:27.000Z | 2021-11-16T11:20:23.000Z | tests/components/tts/test_init.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 52 | 2020-07-14T14:12:26.000Z | 2022-03-31T06:24:02.000Z | tests/components/tts/test_init.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 2 | 2020-11-17T09:19:47.000Z | 2020-12-16T03:56:09.000Z | """The tests for the TTS component."""
import pytest
import yarl
from homeassistant.components.demo.tts import DemoProvider
from homeassistant.components.media_player.const import (
ATTR_MEDIA_CONTENT_ID,
ATTR_MEDIA_CONTENT_TYPE,
DOMAIN as DOMAIN_MP,
MEDIA_TYPE_MUSIC,
SERVICE_PLAY_MEDIA,
)
import h... | 32.534075 | 121 | 0.678993 | 2,985 | 23,392 | 5.017085 | 0.069347 | 0.053486 | 0.024306 | 0.027244 | 0.851629 | 0.827524 | 0.809629 | 0.789997 | 0.787927 | 0.770833 | 0 | 0.049793 | 0.214432 | 23,392 | 718 | 122 | 32.579387 | 0.765183 | 0.016202 | 0 | 0.662879 | 0 | 0 | 0.188398 | 0.084089 | 0 | 0 | 0 | 0 | 0.193182 | 1 | 0.011364 | false | 0.001894 | 0.022727 | 0 | 0.039773 | 0.003788 | 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 |
9112f65fdafacb596fee292be8f3ff52d4671890 | 1,641 | py | Python | AIShooter/classes/Helpers/Facing.py | SanteriHetekivi/AIShooter | f73461c9075cf5b0789679782fe21dee54f2775e | [
"Apache-2.0"
] | null | null | null | AIShooter/classes/Helpers/Facing.py | SanteriHetekivi/AIShooter | f73461c9075cf5b0789679782fe21dee54f2775e | [
"Apache-2.0"
] | null | null | null | AIShooter/classes/Helpers/Facing.py | SanteriHetekivi/AIShooter | f73461c9075cf5b0789679782fe21dee54f2775e | [
"Apache-2.0"
] | null | null | null | from __future__ import annotations
class Facing():
"""Class for handeling facing.
"""
def __init__(self: Facing, up: bool = False, down: bool = False, left: bool = False, right: bool = False) -> Facing:
"""Initialize Facing.
Args:
self (Facing): Itself.
up (bool, ... | 28.789474 | 120 | 0.537477 | 179 | 1,641 | 4.882682 | 0.167598 | 0.08238 | 0.128146 | 0.19222 | 0.718535 | 0.718535 | 0.718535 | 0.718535 | 0.718535 | 0.718535 | 0 | 0 | 0.363803 | 1,641 | 56 | 121 | 29.303571 | 0.837165 | 0.503961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.058824 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91186e5bbcbbb619e8c5f71314649b91f0956e45 | 152,991 | py | Python | tests/unit/gapic/tpu_v2alpha1/test_tpu.py | renovate-bot/python-tpu | c9c130c423678c4e97b4c4669b9a8b3be0f0f69b | [
"Apache-2.0"
] | 4 | 2021-08-02T17:26:40.000Z | 2022-03-18T04:37:09.000Z | tests/unit/gapic/tpu_v2alpha1/test_tpu.py | renovate-bot/python-tpu | c9c130c423678c4e97b4c4669b9a8b3be0f0f69b | [
"Apache-2.0"
] | 33 | 2021-06-14T17:17:43.000Z | 2022-03-24T10:24:47.000Z | tests/unit/gapic/tpu_v2alpha1/test_tpu.py | renovate-bot/python-tpu | c9c130c423678c4e97b4c4669b9a8b3be0f0f69b | [
"Apache-2.0"
] | 2 | 2021-06-15T17:07:01.000Z | 2022-01-29T08:14:57.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 38.536776 | 100 | 0.682295 | 18,218 | 152,991 | 5.496926 | 0.025305 | 0.026282 | 0.023237 | 0.058436 | 0.926625 | 0.896967 | 0.873591 | 0.853599 | 0.840917 | 0.824161 | 0 | 0.003979 | 0.231151 | 152,991 | 3,969 | 101 | 38.546485 | 0.847382 | 0.20862 | 0 | 0.692569 | 0 | 0 | 0.077064 | 0.027436 | 0 | 0 | 0 | 0 | 0.141456 | 1 | 0.04338 | false | 0.000377 | 0.010562 | 0.000754 | 0.054696 | 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 |
913fe12e62d8bdc182b70708d66fbaaf4e72fe8a | 27 | py | Python | server/flask_server/__init__.py | wangz315/StockMarketFantasyLeague | dabca2debc8107ed003467fcb6173bede6852f2f | [
"Apache-2.0"
] | null | null | null | server/flask_server/__init__.py | wangz315/StockMarketFantasyLeague | dabca2debc8107ed003467fcb6173bede6852f2f | [
"Apache-2.0"
] | null | null | null | server/flask_server/__init__.py | wangz315/StockMarketFantasyLeague | dabca2debc8107ed003467fcb6173bede6852f2f | [
"Apache-2.0"
] | null | null | null | from server import app, run | 27 | 27 | 0.814815 | 5 | 27 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6aae8db9bc8903bfa8907f98d55a87145bdf00e | 2,702 | py | Python | mosqito/functions/sound_level_meter/test_Leq.py | Igarciac117/MoSQITo | a52f9ff120db9f9c46f4309d28d9e1568a5b4120 | [
"Apache-2.0"
] | 1 | 2022-02-20T15:09:32.000Z | 2022-02-20T15:09:32.000Z | mosqito/functions/sound_level_meter/test_Leq.py | Igarciac117/MoSQITo | a52f9ff120db9f9c46f4309d28d9e1568a5b4120 | [
"Apache-2.0"
] | null | null | null | mosqito/functions/sound_level_meter/test_Leq.py | Igarciac117/MoSQITo | a52f9ff120db9f9c46f4309d28d9e1568a5b4120 | [
"Apache-2.0"
] | null | null | null | import pytest
# Third party imports
import numpy as np
# Local imports
from mosqito.functions.shared.load import load
from Leq_3oct import Leq_3oct
from mosqito.functions.oct3filter.calc_third_octave_levels import calc_third_octave_levels
@pytest.mark.slm_test # to skip or run PR test
def test_Leq():
#-- you h... | 29.692308 | 90 | 0.606218 | 356 | 2,702 | 4.38764 | 0.176966 | 0.057618 | 0.134443 | 0.18822 | 0.800896 | 0.800896 | 0.786172 | 0.68822 | 0.68822 | 0.68822 | 0 | 0.027816 | 0.188379 | 2,702 | 90 | 91 | 30.022222 | 0.684451 | 0.098816 | 0 | 0.734694 | 0 | 0 | 0.147818 | 0.067676 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0 | 0.102041 | 0 | 0.122449 | 0.367347 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc0d47b7cc2b7deb25e58661c5c6a66843ad7f66 | 47 | py | Python | job_crawler/notifiers/__init__.py | anikolaienko/job-crawler | a8dc3397927f6e18f1f4e6afa1b9aa2db71eb11c | [
"MIT"
] | null | null | null | job_crawler/notifiers/__init__.py | anikolaienko/job-crawler | a8dc3397927f6e18f1f4e6afa1b9aa2db71eb11c | [
"MIT"
] | null | null | null | job_crawler/notifiers/__init__.py | anikolaienko/job-crawler | a8dc3397927f6e18f1f4e6afa1b9aa2db71eb11c | [
"MIT"
] | null | null | null | from .telegram_notifier import TelegramNotifier | 47 | 47 | 0.914894 | 5 | 47 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc0e16f07685fa3b5e735fd08ab3e979c37345f8 | 21 | py | Python | mechanics/swig/mechanics/collision/__init__.py | bremond/siconos | 8deea56ff6779379f4f69e0376d24a81562a42d4 | [
"Apache-2.0"
] | 7 | 2019-12-14T13:42:33.000Z | 2022-01-28T03:31:45.000Z | mechanics/swig/mechanics/collision/__init__.py | bremond/siconos | 8deea56ff6779379f4f69e0376d24a81562a42d4 | [
"Apache-2.0"
] | 6 | 2020-01-08T09:40:08.000Z | 2020-06-11T14:56:13.000Z | mechanics/swig/mechanics/collision/__init__.py | bremond/siconos | 8deea56ff6779379f4f69e0376d24a81562a42d4 | [
"Apache-2.0"
] | 3 | 2020-01-14T11:14:16.000Z | 2020-09-15T05:21:06.000Z |
from .base import *
| 7 | 19 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 2 | 20 | 10.5 | 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 |
fc2fa407ab00670bf3c5a5061ec1434ac205b993 | 35,117 | py | Python | sage3reader/sage3reader.py | czr137/SAGE3-reader | 9acefe61338202a85e16c2cc88ef22e60a276ab1 | [
"MIT"
] | 1 | 2019-11-25T20:37:04.000Z | 2019-11-25T20:37:04.000Z | sage3reader/sage3reader.py | czr137/SAGE3-reader | 9acefe61338202a85e16c2cc88ef22e60a276ab1 | [
"MIT"
] | 3 | 2018-03-14T22:43:32.000Z | 2020-03-02T22:02:45.000Z | sage3reader/sage3reader.py | czr137/SAGE3-reader | 9acefe61338202a85e16c2cc88ef22e60a276ab1 | [
"MIT"
] | null | null | null | from pathlib import Path
import numpy as np
from struct import unpack
import xarray as xr
from datetime import datetime
from glob import glob
def yyyymmddhhmmss_to_datetime(yyyymmdd: int, hhmmss: int) -> datetime:
""" Convert an integer pair of yyyymmdd and hhmmss to a useful time format.
"""
return datet... | 65.516791 | 120 | 0.597659 | 4,361 | 35,117 | 4.522587 | 0.064664 | 0.054657 | 0.075141 | 0.060336 | 0.818435 | 0.788268 | 0.773158 | 0.766973 | 0.734371 | 0.729301 | 0 | 0.03518 | 0.259362 | 35,117 | 535 | 121 | 65.639252 | 0.723134 | 0.054959 | 0 | 0.580336 | 0 | 0 | 0.144433 | 0.026923 | 0 | 0 | 0 | 0 | 0.016787 | 1 | 0.009592 | false | 0 | 0.014388 | 0 | 0.033573 | 0.002398 | 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 |
fc7d836d0e8ba4057a7244daa43d55dbd6193192 | 3,799 | py | Python | .checker/tests/basetest.py | fyamamoto10/jigg | 05a0bbb778bd8d0b0d6f3c5a5c0e8686625d853f | [
"Apache-2.0"
] | 73 | 2015-03-12T14:11:33.000Z | 2022-03-03T02:24:50.000Z | .checker/tests/basetest.py | fyamamoto10/jigg | 05a0bbb778bd8d0b0d6f3c5a5c0e8686625d853f | [
"Apache-2.0"
] | 86 | 2015-03-12T11:42:40.000Z | 2021-04-07T05:31:16.000Z | .checker/tests/basetest.py | fyamamoto10/jigg | 05a0bbb778bd8d0b0d6f3c5a5c0e8686625d853f | [
"Apache-2.0"
] | 24 | 2015-03-14T13:16:00.000Z | 2021-11-25T15:28:16.000Z | from unittest import TestCase
import subprocess
import xml.etree.ElementTree as ET
from comparison import elements_equal
class BaseTest(TestCase):
'''
'''
def check_equal(self,
exe: str,
input_text: str,
expected_text: str):
'''check the... | 35.504673 | 97 | 0.585154 | 479 | 3,799 | 4.455115 | 0.167015 | 0.089972 | 0.091378 | 0.119494 | 0.837395 | 0.837395 | 0.837395 | 0.823805 | 0.823805 | 0.806467 | 0 | 0.002281 | 0.307449 | 3,799 | 106 | 98 | 35.839623 | 0.808818 | 0.215583 | 0 | 0.698113 | 0 | 0 | 0.041881 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 1 | 0.075472 | false | 0 | 0.075472 | 0 | 0.188679 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.