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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2e30832f570fd0fc25cb0683f09d0244331a6aaf | 31,847 | py | Python | community/tests.py | 810Teams/clubs-and-events-backend | cf429f43251ad7e77c0d9bc9fe91bb030ca8bae8 | [
"MIT"
] | 1 | 2021-06-25T17:16:13.000Z | 2021-06-25T17:16:13.000Z | community/tests.py | 810Teams/clubs-and-events-backend | cf429f43251ad7e77c0d9bc9fe91bb030ca8bae8 | [
"MIT"
] | null | null | null | community/tests.py | 810Teams/clubs-and-events-backend | cf429f43251ad7e77c0d9bc9fe91bb030ca8bae8 | [
"MIT"
] | null | null | null | '''
Community Application Tests
community/tests.py
@author Teerapat Kraisrisirikul (810Teams)
'''
from django.contrib.auth import get_user_model
from rest_framework import status
from rest_framework.test import APITestCase
from community.models import Community, Club, Event, CommunityEvent, Lab
from core.... | 48.326252 | 120 | 0.672779 | 3,899 | 31,847 | 5.181329 | 0.052578 | 0.057816 | 0.063855 | 0.060489 | 0.90892 | 0.881101 | 0.863281 | 0.844025 | 0.819226 | 0.774131 | 0 | 0.023012 | 0.216755 | 31,847 | 658 | 121 | 48.399696 | 0.78552 | 0.034572 | 0 | 0.385305 | 0 | 0 | 0.090736 | 0.008121 | 0 | 0 | 0 | 0 | 0.028674 | 1 | 0.053763 | false | 0.02509 | 0.012545 | 0 | 0.0681 | 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 |
2e6dc5115f6ae32c528a71eaedf51a150bc8148d | 129 | py | Python | partI_basics/Chapter11_testing_your_code/11_1/city_functions.py | hao-beixi/PythonCrashCourse | 194736bac3c22976d7e3fbdc8ea1f13fd30e9879 | [
"MIT"
] | null | null | null | partI_basics/Chapter11_testing_your_code/11_1/city_functions.py | hao-beixi/PythonCrashCourse | 194736bac3c22976d7e3fbdc8ea1f13fd30e9879 | [
"MIT"
] | null | null | null | partI_basics/Chapter11_testing_your_code/11_1/city_functions.py | hao-beixi/PythonCrashCourse | 194736bac3c22976d7e3fbdc8ea1f13fd30e9879 | [
"MIT"
] | null | null | null | def get_formatted_location(city, country):
formatted_location = city + ', ' + country
return formatted_location.title() | 43 | 47 | 0.728682 | 14 | 129 | 6.428571 | 0.571429 | 0.566667 | 0.466667 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170543 | 129 | 3 | 48 | 43 | 0.841122 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5cf1dd02caf6f67f9920388a11d7e59a2befef46 | 46 | py | Python | run.py | AcedenD/CMPE131team4 | 2860d96d9971e5ffe0ee3deee166897e7ebe00bf | [
"FTL",
"blessing"
] | null | null | null | run.py | AcedenD/CMPE131team4 | 2860d96d9971e5ffe0ee3deee166897e7ebe00bf | [
"FTL",
"blessing"
] | 4 | 2021-05-03T20:49:50.000Z | 2021-05-19T04:02:50.000Z | run.py | AcedenD/CMPE131team4 | 2860d96d9971e5ffe0ee3deee166897e7ebe00bf | [
"FTL",
"blessing"
] | null | null | null | from app import myapp_obj
myapp_obj.run()
| 6.571429 | 25 | 0.73913 | 8 | 46 | 4 | 0.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 6 | 26 | 7.666667 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cf32d3d0989056cffd5212ed66c0e3dd19543246 | 52 | py | Python | 01Numpy/tempCodeRunnerFile.py | HuangCongQing/python-libraries | 73f48e39d8d485ffdaee30443357a3fccce65d11 | [
"MIT"
] | null | null | null | 01Numpy/tempCodeRunnerFile.py | HuangCongQing/python-libraries | 73f48e39d8d485ffdaee30443357a3fccce65d11 | [
"MIT"
] | 1 | 2019-03-09T12:28:09.000Z | 2019-03-09T12:42:35.000Z | 01Numpy/tempCodeRunnerFile.py | HuangCongQing/python-libraries | 73f48e39d8d485ffdaee30443357a3fccce65d11 | [
"MIT"
] | 2 | 2020-01-23T17:47:45.000Z | 2021-09-27T01:24:42.000Z | = [[ 3 4 5 6]
# [ 7 8 9 10]
# [11 12 13 14]] | 17.333333 | 17 | 0.326923 | 12 | 52 | 1.416667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.607143 | 0.461538 | 52 | 3 | 18 | 17.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf546a72c624cc3c0458df835d6b0996c823ace0 | 24 | py | Python | lang/__init__.py | beanowonotanuwu/GPPL | 083d3f4828b1ab05df3204aa2ef57d9d10c65f56 | [
"MIT"
] | 1 | 2020-11-10T21:21:41.000Z | 2020-11-10T21:21:41.000Z | lang/__init__.py | beanowonotanuwu/GPPL | 083d3f4828b1ab05df3204aa2ef57d9d10c65f56 | [
"MIT"
] | null | null | null | lang/__init__.py | beanowonotanuwu/GPPL | 083d3f4828b1ab05df3204aa2ef57d9d10c65f56 | [
"MIT"
] | null | null | null | import lang.lang as lang | 24 | 24 | 0.833333 | 5 | 24 | 4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d85af7ee877e822340a1ab86566ad59e834b89b2 | 125 | py | Python | Ex1_lib.py | Requiem98/ADM-HW4 | 48b263c3ccedbddca630fda9dd108c657941dd68 | [
"MIT"
] | null | null | null | Ex1_lib.py | Requiem98/ADM-HW4 | 48b263c3ccedbddca630fda9dd108c657941dd68 | [
"MIT"
] | null | null | null | Ex1_lib.py | Requiem98/ADM-HW4 | 48b263c3ccedbddca630fda9dd108c657941dd68 | [
"MIT"
] | 2 | 2021-11-28T12:11:08.000Z | 2022-02-16T23:36:21.000Z | from ex1_functions import *
from MIN_HASH_class import MIN_HASH
from HashTable_class import HashTable
from LSH_class import * | 31.25 | 37 | 0.864 | 20 | 125 | 5.1 | 0.45 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.12 | 125 | 4 | 38 | 31.25 | 0.918182 | 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 |
d87e7074773d33bf7e0bb8c95b11eaf4372c051f | 21,299 | py | Python | infer4fly.py | lengyuner/hyperpose4fly | c9866bce1a0109e1b9c727ca550b5a380eb3ee17 | [
"Apache-2.0"
] | null | null | null | infer4fly.py | lengyuner/hyperpose4fly | c9866bce1a0109e1b9c727ca550b5a380eb3ee17 | [
"Apache-2.0"
] | null | null | null | infer4fly.py | lengyuner/hyperpose4fly | c9866bce1a0109e1b9c727ca550b5a380eb3ee17 | [
"Apache-2.0"
] | null | null | null |
import cv2
import numpy as np
import matplotlib
matplotlib.use('Agg')
# matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
from hyperpose import Config,Model,Dataset
from hyperpose.Dataset import imread_rgb_float,imwrite_rgb_float
matplotlib.get_backend()
import os
import sys
import time
import math
import jso... | 31.60089 | 143 | 0.692756 | 3,188 | 21,299 | 4.368883 | 0.095044 | 0.03116 | 0.010985 | 0.014072 | 0.88699 | 0.874497 | 0.845419 | 0.82869 | 0.825029 | 0.809161 | 0 | 0.041858 | 0.172215 | 21,299 | 673 | 144 | 31.647845 | 0.748114 | 0.314005 | 0 | 0.271028 | 0 | 0.018692 | 0.099939 | 0.070845 | 0 | 0 | 0 | 0.001486 | 0 | 1 | 0 | false | 0 | 0.093458 | 0 | 0.093458 | 0.046729 | 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 |
d89077afd5f1ed48d4b2a22208f5f8223846901f | 28 | py | Python | Osnove/3_2_1PythonNePravilnaImenaVarijabli.py | Smajkan/PythonUcenjePonovo | 00982fb4caacb35ed11748dcc471f26257c8e5ed | [
"CC0-1.0"
] | null | null | null | Osnove/3_2_1PythonNePravilnaImenaVarijabli.py | Smajkan/PythonUcenjePonovo | 00982fb4caacb35ed11748dcc471f26257c8e5ed | [
"CC0-1.0"
] | null | null | null | Osnove/3_2_1PythonNePravilnaImenaVarijabli.py | Smajkan/PythonUcenjePonovo | 00982fb4caacb35ed11748dcc471f26257c8e5ed | [
"CC0-1.0"
] | null | null | null | 2a = 5
var-new = 30
$a = 20
| 7 | 12 | 0.5 | 7 | 28 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0.321429 | 28 | 3 | 13 | 9.333333 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d8909c950f64aa9bb0071ad61d753fafedddda2e | 10,460 | py | Python | tests/services/detectionlists/test_user_profile.py | PixelogicDev/py42 | ccb100b03025fff1a060a39635bee3e76a251a85 | [
"MIT"
] | null | null | null | tests/services/detectionlists/test_user_profile.py | PixelogicDev/py42 | ccb100b03025fff1a060a39635bee3e76a251a85 | [
"MIT"
] | null | null | null | tests/services/detectionlists/test_user_profile.py | PixelogicDev/py42 | ccb100b03025fff1a060a39635bee3e76a251a85 | [
"MIT"
] | null | null | null | import pytest
from requests import Response
from requests.exceptions import HTTPError
from py42.exceptions import Py42BadRequestError
from py42.services.detectionlists.user_profile import DetectionListUserService
from py42.services.users import UserService
class TestDetectionListUserClient(object):
@pytest.fixtu... | 42.693878 | 98 | 0.679732 | 1,201 | 10,460 | 5.535387 | 0.10741 | 0.126354 | 0.086643 | 0.099278 | 0.827768 | 0.816937 | 0.800842 | 0.783845 | 0.771811 | 0.754362 | 0 | 0.059779 | 0.229159 | 10,460 | 244 | 99 | 42.868852 | 0.764728 | 0.033461 | 0 | 0.580189 | 0 | 0 | 0.110649 | 0.035926 | 0 | 0 | 0 | 0 | 0.169811 | 1 | 0.066038 | false | 0 | 0.028302 | 0 | 0.113208 | 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 |
d8d1635187369adfa40acc4b462b3ec9e0b30fd9 | 7,470 | py | Python | tables/Table2/table_creation.py | OmnesRes/onco_lnc | e8d20e43026ffe4651bd25783db36cabc2c1519f | [
"MIT"
] | 33 | 2016-06-03T17:19:58.000Z | 2021-07-08T03:09:40.000Z | tables/Table2/table_creation.py | OmnesRes/onco_lnc | e8d20e43026ffe4651bd25783db36cabc2c1519f | [
"MIT"
] | 3 | 2016-07-13T23:12:18.000Z | 2016-09-15T19:35:22.000Z | tables/Table2/table_creation.py | OmnesRes/onco_lnc | e8d20e43026ffe4651bd25783db36cabc2c1519f | [
"MIT"
] | 19 | 2016-04-13T15:12:29.000Z | 2021-07-08T03:11:19.000Z | ##A script for creating a table
## Load necessary modules
import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
##load data for each cancer, find total genes in oncolnc, get patient info
f=open(os.path.join(BASE_DIR,'mirna','cox','BLCA','coeffs_pvalues.txt'))
data=[i for i... | 30.120968 | 116 | 0.69344 | 1,352 | 7,470 | 3.688609 | 0.079882 | 0.060156 | 0.126328 | 0.123521 | 0.818729 | 0.800882 | 0.795268 | 0.790054 | 0.775617 | 0.775617 | 0 | 0.003337 | 0.077242 | 7,470 | 247 | 117 | 30.242915 | 0.720151 | 0.045649 | 0 | 0.473404 | 0 | 0 | 0.190369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005319 | 0 | 0.005319 | 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 |
2b0af40a0d60f5f263eb53c203230234732218ac | 101 | py | Python | backend/nameforyourprojectbackend/api/views/version.py | ucsd-field-lab/namuti-webapp-template | 329f7780e439493ee6e45bb5e8e1d2fb5e6423b0 | [
"MIT"
] | 1 | 2019-09-15T19:38:34.000Z | 2019-09-15T19:38:34.000Z | backend/nameforyourprojectbackend/api/views/version.py | ucsd-field-lab/namuti-webapp-template | 329f7780e439493ee6e45bb5e8e1d2fb5e6423b0 | [
"MIT"
] | null | null | null | backend/nameforyourprojectbackend/api/views/version.py | ucsd-field-lab/namuti-webapp-template | 329f7780e439493ee6e45bb5e8e1d2fb5e6423b0 | [
"MIT"
] | null | null | null | from django.http import JsonResponse
def get_info(req):
return JsonResponse({"version": "1.0"})
| 20.2 | 43 | 0.722772 | 14 | 101 | 5.142857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.138614 | 101 | 4 | 44 | 25.25 | 0.804598 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2b0b2d6362c295649170ee0f1e113afc8cc86254 | 155 | py | Python | collectfast/strategies/__init__.py | sean-wallace/collectfast | ab4a3edb6ae8b0ad42b75f884b6f44f21c0b34af | [
"MIT"
] | null | null | null | collectfast/strategies/__init__.py | sean-wallace/collectfast | ab4a3edb6ae8b0ad42b75f884b6f44f21c0b34af | [
"MIT"
] | null | null | null | collectfast/strategies/__init__.py | sean-wallace/collectfast | ab4a3edb6ae8b0ad42b75f884b6f44f21c0b34af | [
"MIT"
] | 1 | 2021-09-10T13:31:27.000Z | 2021-09-10T13:31:27.000Z | from .base import DisabledStrategy
from .base import load_strategy
from .base import Strategy
__all__ = ("load_strategy", "Strategy", "DisabledStrategy")
| 25.833333 | 59 | 0.793548 | 18 | 155 | 6.5 | 0.388889 | 0.205128 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116129 | 155 | 5 | 60 | 31 | 0.854015 | 0 | 0 | 0 | 0 | 0 | 0.23871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b236c39baf1d385d421a0fa17288da8a804b8d1 | 60 | py | Python | approaches/networkx-graph/stringy.py | athityakumar/btp | a1bdad0ed6162faa482673347707c09228d6cd9c | [
"MIT"
] | 1 | 2022-01-26T15:51:30.000Z | 2022-01-26T15:51:30.000Z | approaches/networkx-graph/stringy.py | athityakumar/btp | a1bdad0ed6162faa482673347707c09228d6cd9c | [
"MIT"
] | 7 | 2017-08-25T12:36:20.000Z | 2018-04-23T04:08:38.000Z | approaches/networkx-graph/stringy.py | athityakumar/btp | a1bdad0ed6162faa482673347707c09228d6cd9c | [
"MIT"
] | null | null | null | import string
def lstrip(s, char):
return s.lstrip(char)
| 12 | 23 | 0.716667 | 10 | 60 | 4.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 60 | 4 | 24 | 15 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2b3458a8c311674ccc3e3971636ea68bf67b1b35 | 21 | py | Python | __init__.py | Otumian-empire/extended-set | 45adbebe5ba643f09663bc9e1e826d9a18576ce3 | [
"MIT"
] | 1 | 2019-09-09T15:21:28.000Z | 2019-09-09T15:21:28.000Z | __init__.py | Otumian-empire/extended-set | 45adbebe5ba643f09663bc9e1e826d9a18576ce3 | [
"MIT"
] | null | null | null | __init__.py | Otumian-empire/extended-set | 45adbebe5ba643f09663bc9e1e826d9a18576ce3 | [
"MIT"
] | null | null | null | from .src import setX | 21 | 21 | 0.809524 | 4 | 21 | 4.25 | 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 |
992c69a58535431778e7ded4bbc1e61cebf758ef | 62 | py | Python | src/__init__.py | yinboliu-git/gpt-2 | 281ab261486505277833d68fd9e6c4cd977e57d3 | [
"MIT"
] | null | null | null | src/__init__.py | yinboliu-git/gpt-2 | 281ab261486505277833d68fd9e6c4cd977e57d3 | [
"MIT"
] | null | null | null | src/__init__.py | yinboliu-git/gpt-2 | 281ab261486505277833d68fd9e6c4cd977e57d3 | [
"MIT"
] | null | null | null | from . import encoder
from . import model
from . import sample | 20.666667 | 21 | 0.774194 | 9 | 62 | 5.333333 | 0.555556 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 62 | 3 | 22 | 20.666667 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
99a8ad47d0190995ac14e507f21c699308418344 | 4,685 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QPixmap.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QPixmap.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QPixmap.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtGui
# from C:\Python27\lib\site-packages\PySide\QtGui.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
from QPaintDevice import QPaintDevice
class QPixmap(QPaintDevice):
# no doc
def alphaChannel(self, *args... | 28.053892 | 90 | 0.627748 | 536 | 4,685 | 5.320896 | 0.192164 | 0.209677 | 0.322581 | 0.252454 | 0.693899 | 0.660238 | 0.647966 | 0.635344 | 0.117812 | 0.060309 | 0 | 0.002298 | 0.256777 | 4,685 | 166 | 91 | 28.222892 | 0.816772 | 0.34429 | 0 | 0.455446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.455446 | false | 0.455446 | 0.029703 | 0 | 0.534653 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
99ac4d5b6de1a0c35f75172d852ae91dbc4efa25 | 113 | py | Python | {{cookiecutter.repo_name}}/tests/test_stub.py | Jminuskin/pipenv-cookiecutter | ace040302827b822077d163ded5ba26403366ea4 | [
"MIT",
"BSD-3-Clause"
] | 2 | 2022-01-17T18:40:58.000Z | 2022-02-03T19:42:07.000Z | {{cookiecutter.repo_name}}/tests/test_stub.py | Jminuskin/pipenv-cookiecutter | ace040302827b822077d163ded5ba26403366ea4 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.repo_name}}/tests/test_stub.py | Jminuskin/pipenv-cookiecutter | ace040302827b822077d163ded5ba26403366ea4 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2022-02-24T13:53:44.000Z | 2022-02-24T13:53:44.000Z | from {{cookiecutter.repo_name}}.{{cookiecutter.repo_name}} import fib
def test_fib():
assert fib(10) == 55
| 18.833333 | 69 | 0.699115 | 16 | 113 | 4.75 | 0.6875 | 0.421053 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.141593 | 113 | 5 | 70 | 22.6 | 0.742268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
41f1623d7e9ecad73b960fd5fd0ecbdf8b711ab4 | 39 | py | Python | flask_app/ptax_client/__init__.py | CarlosAdp/technical-challenge-belo-investiment-research | 636fe24577b5065955e00ca4f0c81fbd3c42a2a3 | [
"MIT"
] | null | null | null | flask_app/ptax_client/__init__.py | CarlosAdp/technical-challenge-belo-investiment-research | 636fe24577b5065955e00ca4f0c81fbd3c42a2a3 | [
"MIT"
] | null | null | null | flask_app/ptax_client/__init__.py | CarlosAdp/technical-challenge-belo-investiment-research | 636fe24577b5065955e00ca4f0c81fbd3c42a2a3 | [
"MIT"
] | null | null | null | from .client import PTAXClient # noqa
| 19.5 | 38 | 0.769231 | 5 | 39 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 1 | 39 | 39 | 0.9375 | 0.102564 | 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 |
41f50eaced544f23cfb6af5bfc656277a6ec994b | 40 | py | Python | pysectprop/results/__init__.py | Pretsdaya/pysectprop | e01a04c13a99e5430b235d745975c27ac38de5ac | [
"MIT"
] | 1 | 2022-01-30T05:59:50.000Z | 2022-01-30T05:59:50.000Z | pysectprop/results/__init__.py | Pretsdaya/pysectprop | e01a04c13a99e5430b235d745975c27ac38de5ac | [
"MIT"
] | null | null | null | pysectprop/results/__init__.py | Pretsdaya/pysectprop | e01a04c13a99e5430b235d745975c27ac38de5ac | [
"MIT"
] | 1 | 2021-07-01T12:37:33.000Z | 2021-07-01T12:37:33.000Z | from .sectionresult import SectionResult | 40 | 40 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 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 |
5123727c35a1dede36f7a7955d019de6e980cdac | 1,180 | py | Python | ops-implementations/explanation-service/openapi_server/models/__init__.py | IBM/open-prediction-service-hub | 8b7db98f46a81b731d0dddfde8e3fb6f91ebc71a | [
"Apache-2.0"
] | 1 | 2021-09-14T18:40:33.000Z | 2021-09-14T18:40:33.000Z | ops-implementations/explanation-service/openapi_server/models/__init__.py | IBM/open-prediction-service-hub | 8b7db98f46a81b731d0dddfde8e3fb6f91ebc71a | [
"Apache-2.0"
] | 7 | 2021-04-23T13:41:39.000Z | 2021-08-12T09:33:10.000Z | ops-implementations/explanation-service/openapi_server/models/__init__.py | IBM/open-prediction-service-hub | 8b7db98f46a81b731d0dddfde8e3fb6f91ebc71a | [
"Apache-2.0"
] | 5 | 2020-12-10T14:27:23.000Z | 2022-03-29T08:44:22.000Z | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from openapi_server.models.capabilities import Capabilities
from openapi_server.models.capability import Capability
from openapi_server.models.endpoint import Endpoint
from openapi_server.models.endpoint_all_of imp... | 47.2 | 72 | 0.883898 | 158 | 1,180 | 6.386076 | 0.240506 | 0.207136 | 0.320119 | 0.433102 | 0.299306 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00184 | 0.078814 | 1,180 | 24 | 73 | 49.166667 | 0.926403 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
513a06b69876743c9212c6f48bc9a27a338ca121 | 34 | py | Python | emojiflag/__init__.py | AbdullahAlazzani/emojiflag | 5b1b635297aa5f457f7c4cd46bf9038dbd24b4f1 | [
"MIT"
] | null | null | null | emojiflag/__init__.py | AbdullahAlazzani/emojiflag | 5b1b635297aa5f457f7c4cd46bf9038dbd24b4f1 | [
"MIT"
] | null | null | null | emojiflag/__init__.py | AbdullahAlazzani/emojiflag | 5b1b635297aa5f457f7c4cd46bf9038dbd24b4f1 | [
"MIT"
] | null | null | null | from .emojiflag import get # NOQA
| 17 | 33 | 0.764706 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 1 | 34 | 34 | 0.928571 | 0.117647 | 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 |
5a8f797633c9c826bbb7168f9affff0c1168d79c | 80 | py | Python | tinkerbell/app/__init__.py | plang85/tinkerbell | f6f86272b676f783920093cbbabb614a616dd3af | [
"Unlicense"
] | null | null | null | tinkerbell/app/__init__.py | plang85/tinkerbell | f6f86272b676f783920093cbbabb614a616dd3af | [
"Unlicense"
] | null | null | null | tinkerbell/app/__init__.py | plang85/tinkerbell | f6f86272b676f783920093cbbabb614a616dd3af | [
"Unlicense"
] | null | null | null | from . import make
from . import model
from . import plot
from . import rcparams | 20 | 22 | 0.7625 | 12 | 80 | 5.083333 | 0.5 | 0.655738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 4 | 22 | 20 | 0.938462 | 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 |
5a9fdf55b120a7b0259ac0d668e2d6525f327ffc | 93 | py | Python | storcord/__init__.py | memework/storcord | 56a55131daca8ac20b150c42c87bdbab57b08ced | [
"MIT"
] | 7 | 2017-08-19T17:37:33.000Z | 2021-11-14T20:00:47.000Z | storcord/__init__.py | memework/storcord | 56a55131daca8ac20b150c42c87bdbab57b08ced | [
"MIT"
] | 1 | 2018-08-31T19:34:46.000Z | 2018-08-31T19:51:42.000Z | storcord/__init__.py | memework/storcord | 56a55131daca8ac20b150c42c87bdbab57b08ced | [
"MIT"
] | null | null | null | from .client import *
from .document import *
from .collection import *
from .enums import *
| 18.6 | 25 | 0.741935 | 12 | 93 | 5.75 | 0.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 4 | 26 | 23.25 | 0.896104 | 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 |
85035140284ed3cd054dfd523683f63b692eb498 | 122 | py | Python | practipy/math.py | bieganski/practipy | a30e9e89e87e94ad56485ef2a520f2d18d3b7cb2 | [
"Apache-2.0"
] | 4 | 2021-06-10T08:50:35.000Z | 2021-08-24T08:54:04.000Z | practipy/math.py | bieganski/practipy | a30e9e89e87e94ad56485ef2a520f2d18d3b7cb2 | [
"Apache-2.0"
] | 10 | 2021-06-10T08:41:50.000Z | 2022-03-22T10:21:05.000Z | practipy/math.py | bieganski/practipy | a30e9e89e87e94ad56485ef2a520f2d18d3b7cb2 | [
"Apache-2.0"
] | 1 | 2022-03-21T11:34:05.000Z | 2022-03-21T11:34:05.000Z | import numpy as np
def sigmoid(x):
return 1 / (1 + np.exp(-x))
def logit(x):
return np.log(x) - np.log(1 - x)
| 12.2 | 36 | 0.557377 | 24 | 122 | 2.833333 | 0.5 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.262295 | 122 | 9 | 37 | 13.555556 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
85289b1802d775f1c73bea06c1c87edc58a8dbad | 71 | py | Python | preprocessing/util.py | windweller/DisExtract | edacf44bd31bbdf85c8bc57c4b64257ce2f65661 | [
"MIT"
] | 28 | 2018-03-12T13:39:47.000Z | 2022-03-18T08:24:04.000Z | preprocessing/util.py | windweller/DisExtract | edacf44bd31bbdf85c8bc57c4b64257ce2f65661 | [
"MIT"
] | 4 | 2019-08-07T00:40:41.000Z | 2022-03-04T05:44:32.000Z | preprocessing/util.py | windweller/DisExtract | edacf44bd31bbdf85c8bc57c4b64257ce2f65661 | [
"MIT"
] | 6 | 2018-10-26T12:57:55.000Z | 2022-03-30T12:49:37.000Z | def rephrase(str):
return str.replace("for example", "for_example") | 35.5 | 52 | 0.71831 | 10 | 71 | 5 | 0.7 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 71 | 2 | 52 | 35.5 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
519022067528d747587df635a4b4f0a43e9ec47e | 12,533 | py | Python | tests/test_test_client.py | hugollm/gatekeeper | f030626bf34560610fbfbd90625e80c29535b460 | [
"MIT"
] | null | null | null | tests/test_test_client.py | hugollm/gatekeeper | f030626bf34560610fbfbd90625e80c29535b460 | [
"MIT"
] | null | null | null | tests/test_test_client.py | hugollm/gatekeeper | f030626bf34560610fbfbd90625e80c29535b460 | [
"MIT"
] | null | null | null | from tempfile import NamedTemporaryFile
from unittest import TestCase
from gatekeeper import App, TestClient, Endpoint, HtmlEndpoint, JsonEndpoint
class TestClientTestCase(TestCase):
def setUp(self):
self.app = App()
self.client = TestClient(self.app)
def test_get_request(self):
cla... | 42.341216 | 112 | 0.582143 | 1,352 | 12,533 | 5.294379 | 0.094675 | 0.041911 | 0.076977 | 0.067896 | 0.829561 | 0.802738 | 0.776614 | 0.74071 | 0.674909 | 0.639983 | 0 | 0.011136 | 0.290673 | 12,533 | 295 | 113 | 42.484746 | 0.794038 | 0 | 0 | 0.651685 | 0 | 0 | 0.099019 | 0.001915 | 0.007491 | 0 | 0 | 0 | 0.146067 | 1 | 0.202247 | false | 0 | 0.011236 | 0 | 0.314607 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5198733dc662c6721e75b5f3faeb464e7e38a1b6 | 30,131 | py | Python | my_projects/Jigsaw.py | cigar666/my_manim_projects | 64d02fb829ce5befd75d91327be465902fabb9c1 | [
"MIT"
] | 159 | 2020-02-17T06:45:25.000Z | 2022-03-24T06:11:00.000Z | my_projects/Jigsaw.py | cigar666/my_manim_projects | 64d02fb829ce5befd75d91327be465902fabb9c1 | [
"MIT"
] | 1 | 2020-08-06T02:01:29.000Z | 2020-08-06T03:05:25.000Z | my_projects/Jigsaw.py | cigar666/my_manim_projects | 64d02fb829ce5befd75d91327be465902fabb9c1 | [
"MIT"
] | 53 | 2020-02-21T03:13:49.000Z | 2022-03-14T09:03:59.000Z | from manimlib.imports import *
from my_manim_projects.my_imports import *
class Intro_old(Text4animScene):
def construct(self):
t2c = {'任意四边形': BLUE, '切两刀': ORANGE, '平行四边形': PINK}
text_01 = Text('对任意四边形', font='思源黑体 Bold', size=1).to_corner(LEFT * 2 + UP * 3.5)
text_02 = Text('如何能在切两刀之后', ... | 59.080392 | 186 | 0.617072 | 5,126 | 30,131 | 3.411627 | 0.044284 | 0.103442 | 0.049405 | 0.028991 | 0.908966 | 0.88798 | 0.868138 | 0.836231 | 0.815988 | 0.781507 | 0 | 0.067272 | 0.210149 | 30,131 | 509 | 187 | 59.196464 | 0.667507 | 0.058246 | 0 | 0.614428 | 0 | 0 | 0.014031 | 0.000813 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037313 | false | 0 | 0.004975 | 0.004975 | 0.089552 | 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 |
51c2abd71b23a5696c73437885f7f76f666b7c47 | 24 | py | Python | src/core/users/models/__init__.py | arnulfojr/money-manager | 8600f1ff258a89f5742ffad4d5f589fd1def5259 | [
"MIT"
] | 1 | 2020-08-18T08:03:44.000Z | 2020-08-18T08:03:44.000Z | src/core/users/models/__init__.py | arnulfojr/money-manager | 8600f1ff258a89f5742ffad4d5f589fd1def5259 | [
"MIT"
] | null | null | null | src/core/users/models/__init__.py | arnulfojr/money-manager | 8600f1ff258a89f5742ffad4d5f589fd1def5259 | [
"MIT"
] | null | null | null |
from user import User
| 6 | 21 | 0.75 | 4 | 24 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 24 | 3 | 22 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51d8a8ea37588f6d566f3a6381e80b8002e65114 | 4,168 | py | Python | common_utils/param_parsing_utils/parsing.py | cm107/common_utils | 4b911efe9f8cdec16ecb2a983e16f772be05076c | [
"MIT"
] | null | null | null | common_utils/param_parsing_utils/parsing.py | cm107/common_utils | 4b911efe9f8cdec16ecb2a983e16f772be05076c | [
"MIT"
] | null | null | null | common_utils/param_parsing_utils/parsing.py | cm107/common_utils | 4b911efe9f8cdec16ecb2a983e16f772be05076c | [
"MIT"
] | null | null | null | from .str_conversion import *
from ..path_utils import rel_to_abs_path
def check_required(text_str: str, required: bool, name: str):
if required and text_str is None:
logger.error(f"{name} is required")
raise Exception
def none_conversion(text_str: str):
if type(text_str) is str:
retur... | 47.908046 | 101 | 0.746881 | 614 | 4,168 | 4.86645 | 0.087948 | 0.100736 | 0.042169 | 0.06091 | 0.800201 | 0.793173 | 0.755689 | 0.755689 | 0.755689 | 0.745984 | 0 | 0.002849 | 0.157869 | 4,168 | 87 | 102 | 47.908046 | 0.848433 | 0 | 0 | 0.520548 | 0 | 0 | 0.019669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.191781 | false | 0 | 0.027397 | 0 | 0.410959 | 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 |
51e6c5fa99e8b656bf6f3da8aed6092c6a4c8b7f | 32 | py | Python | game/tichu/tests/game_tests.py | lukaspestalozzi/Master_Semester_Project | 4e71d4034ae3f5e7efa0864b48c6fd4d876fef4e | [
"MIT"
] | null | null | null | game/tichu/tests/game_tests.py | lukaspestalozzi/Master_Semester_Project | 4e71d4034ae3f5e7efa0864b48c6fd4d876fef4e | [
"MIT"
] | null | null | null | game/tichu/tests/game_tests.py | lukaspestalozzi/Master_Semester_Project | 4e71d4034ae3f5e7efa0864b48c6fd4d876fef4e | [
"MIT"
] | null | null | null | # TODO card points distributions | 32 | 32 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0.9375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cfd1b1d770752d070cb11101bc575d4c7c284af1 | 164 | py | Python | spacetimeformer/data/__init__.py | bernhein/spacetimeformer | de252b68085943d979606fe69e177ac2a14586e7 | [
"MIT"
] | null | null | null | spacetimeformer/data/__init__.py | bernhein/spacetimeformer | de252b68085943d979606fe69e177ac2a14586e7 | [
"MIT"
] | null | null | null | spacetimeformer/data/__init__.py | bernhein/spacetimeformer | de252b68085943d979606fe69e177ac2a14586e7 | [
"MIT"
] | null | null | null | from . import timefeatures
# from . import precip
# from . import metr_la
from .datamodule import DataModule
from .csv_dataset import *
from . import decker_format
| 23.428571 | 34 | 0.786585 | 22 | 164 | 5.727273 | 0.5 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 164 | 6 | 35 | 27.333333 | 0.913043 | 0.256098 | 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 |
cffbffc6ef255c21c2d9bb59620a5dd5a54004bb | 104,714 | py | Python | test/unit/test_ssl_certificate_api_v1.py | IBM/networking-services-python-sdk | a19e47db6a5971562a502982d69a5868997245f3 | [
"Apache-2.0"
] | 1 | 2020-12-22T03:51:33.000Z | 2020-12-22T03:51:33.000Z | test/unit/test_ssl_certificate_api_v1.py | IBM/networking-services-python-sdk | a19e47db6a5971562a502982d69a5868997245f3 | [
"Apache-2.0"
] | 57 | 2020-06-24T06:58:01.000Z | 2022-03-28T14:52:33.000Z | test/unit/test_ssl_certificate_api_v1.py | IBM/networking-services-python-sdk | a19e47db6a5971562a502982d69a5868997245f3 | [
"Apache-2.0"
] | 10 | 2020-06-23T04:09:28.000Z | 2022-03-26T18:20:35.000Z | # -*- coding: utf-8 -*-
# (C) Copyright IBM Corp. 2020.
#
# 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 l... | 48.636321 | 557 | 0.588804 | 10,492 | 104,714 | 5.556805 | 0.03212 | 0.034904 | 0.023052 | 0.022641 | 0.908425 | 0.882697 | 0.836026 | 0.784073 | 0.727831 | 0.689256 | 0 | 0.022678 | 0.201157 | 104,714 | 2,152 | 558 | 48.658922 | 0.674298 | 0.288443 | 0 | 0.606299 | 0 | 0.028871 | 0.218262 | 0.063347 | 0 | 0 | 0 | 0 | 0.110236 | 1 | 0.069991 | false | 0 | 0.006999 | 0 | 0.138233 | 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 |
3221c05675ef603b9da55061347c9e647ec78346 | 13 | py | Python | parser/team27/G-27/execution/function/mathematical/trim_scale.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 35 | 2020-12-07T03:11:43.000Z | 2021-04-15T17:38:16.000Z | parser/team27/G-27/execution/function/mathematical/trim_scale.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 47 | 2020-12-09T01:29:09.000Z | 2021-01-13T05:37:50.000Z | parser/team27/G-27/execution/function/mathematical/trim_scale.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 556 | 2020-12-07T03:13:31.000Z | 2021-06-17T17:41:10.000Z | #TODO: Fase 2 | 13 | 13 | 0.692308 | 3 | 13 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.153846 | 13 | 1 | 13 | 13 | 0.727273 | 0.923077 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c574004ea600805d63d1e299e234cd05e22f227 | 107 | py | Python | icikt/__init__.py | MoseleyBioinformaticsLab/icikt | 79488f000e8506d47421823656a6ac161a6b90ba | [
"Unlicense"
] | null | null | null | icikt/__init__.py | MoseleyBioinformaticsLab/icikt | 79488f000e8506d47421823656a6ac161a6b90ba | [
"Unlicense"
] | 7 | 2021-11-11T01:40:24.000Z | 2021-12-17T19:44:48.000Z | icikt/__init__.py | MoseleyBioinformaticsLab/icikt | 79488f000e8506d47421823656a6ac161a6b90ba | [
"Unlicense"
] | null | null | null | __version__ = "1.1.3"
from . import _kendall_dis
from .icikt import icikt
from .icikt import iciktArray
| 13.375 | 29 | 0.757009 | 16 | 107 | 4.6875 | 0.5625 | 0.24 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.168224 | 107 | 7 | 30 | 15.285714 | 0.808989 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5cbee3ee9a5cc7e9ef44c3e7889bea293cfc8c45 | 27 | py | Python | portfolio3.py | Tacombel/portfolio2 | cd3a5a6b6379b85fe321388c7fa1a6c98b22c84a | [
"MIT"
] | null | null | null | portfolio3.py | Tacombel/portfolio2 | cd3a5a6b6379b85fe321388c7fa1a6c98b22c84a | [
"MIT"
] | 4 | 2021-03-31T19:37:29.000Z | 2022-02-19T12:07:54.000Z | portfolio3.py | Tacombel/portfolio3 | 09e4726d1703a3d2f55ee58854aa4d6c1168121c | [
"MIT"
] | null | null | null | from app import app # noqa
| 13.5 | 26 | 0.740741 | 5 | 27 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 27 | 1 | 27 | 27 | 0.952381 | 0.148148 | 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 |
5cc8028da43313be8a44ca1c06be9064cee125c4 | 6,787 | py | Python | src/equation_systems/bb_height_eqns.py | schoolie/bike_geometry_calculator | 7ebdf12dd6de69c2c132944b8231074511941ec8 | [
"MIT"
] | null | null | null | src/equation_systems/bb_height_eqns.py | schoolie/bike_geometry_calculator | 7ebdf12dd6de69c2c132944b8231074511941ec8 | [
"MIT"
] | null | null | null | src/equation_systems/bb_height_eqns.py | schoolie/bike_geometry_calculator | 7ebdf12dd6de69c2c132944b8231074511941ec8 | [
"MIT"
] | null | null | null | from numpy import cos, sin, tan, pi, arcsin, arccos, arctan, sqrt, exp
from func import calc_diameter_over_pins, calc_tooth_thick_from_pin_dimension
def calc(constants=None, inputs=None):
# Add input variables to namespace to simplify equation definition
for key, val in inputs.iteritems():
exec '%... | 30.990868 | 91 | 0.627818 | 809 | 6,787 | 4.820766 | 0.082818 | 0.098462 | 0.157949 | 0.069744 | 0.904103 | 0.904103 | 0.892821 | 0.827949 | 0.701282 | 0.547179 | 0 | 0.004757 | 0.256667 | 6,787 | 218 | 92 | 31.133028 | 0.768285 | 0.00943 | 0 | 0.636364 | 0 | 0 | 0.227793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.006494 | 0.012987 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a3ace9cfa33d3a2e95832e1d75be8bb589c7cca | 4,437 | py | Python | applications/Classifier.py | XLearning-SCU/2021-TIP-MvLNet | 1cc77e45030475c247878d47c059cae1eac03b98 | [
"MIT"
] | 5 | 2021-08-18T12:02:40.000Z | 2022-02-21T12:00:29.000Z | applications/Classifier.py | hi-zhenyu/2021-TIP-MvLNet | 1cc77e45030475c247878d47c059cae1eac03b98 | [
"MIT"
] | null | null | null | applications/Classifier.py | hi-zhenyu/2021-TIP-MvLNet | 1cc77e45030475c247878d47c059cae1eac03b98 | [
"MIT"
] | 4 | 2021-08-18T12:02:40.000Z | 2022-02-21T12:00:32.000Z | import sklearn.metrics as SM
from sklearn import neighbors
from sklearn import svm
from sklearn.neural_network import MLPClassifier
from sklearn import tree
from sklearn.ensemble import GradientBoostingClassifier
import numpy as np
def GBC(train_data, train_label, test_data, test_label, verbose=True, decimals=4):
... | 32.866667 | 88 | 0.662159 | 572 | 4,437 | 4.921329 | 0.09965 | 0.079929 | 0.115453 | 0.120782 | 0.817762 | 0.817762 | 0.817762 | 0.796448 | 0.783659 | 0.783659 | 0 | 0.003101 | 0.200586 | 4,437 | 134 | 89 | 33.11194 | 0.790527 | 0 | 0 | 0.538462 | 0 | 0 | 0.117422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.059829 | 0 | 0.153846 | 0.102564 | 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 |
7a45fe7ffdfe798ac54ab6f01536531931877fc7 | 58 | py | Python | ezsgame/all.py | NoxxDev/ezgame | abe7366ceef88b27ac2fbff0aeef4ea6d6cade14 | [
"MIT"
] | 2 | 2021-12-29T21:31:46.000Z | 2021-12-29T21:31:48.000Z | ezsgame/all.py | NoxxDev/ezgame | abe7366ceef88b27ac2fbff0aeef4ea6d6cade14 | [
"MIT"
] | null | null | null | ezsgame/all.py | NoxxDev/ezgame | abe7366ceef88b27ac2fbff0aeef4ea6d6cade14 | [
"MIT"
] | null | null | null | from ezsgame.basics import *
from ezsgame.extras import * | 29 | 29 | 0.793103 | 8 | 58 | 5.75 | 0.625 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 30 | 29 | 0.92 | 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 |
7a7f9b018736f886714c3ccee3866f5962d6afd2 | 361 | py | Python | aif360/detectors/mdss/ScoringFunctions/__init__.py | IBM/AIF-360 | 9eae52000c92bbc9279f8ee4bdb7a7c5ac585359 | [
"Apache-2.0"
] | 982 | 2018-09-12T17:19:11.000Z | 2020-07-13T21:26:24.000Z | aif360/detectors/mdss/ScoringFunctions/__init__.py | IBM/AIF-360 | 9eae52000c92bbc9279f8ee4bdb7a7c5ac585359 | [
"Apache-2.0"
] | 109 | 2018-09-12T20:39:43.000Z | 2020-07-09T20:12:00.000Z | aif360/detectors/mdss/ScoringFunctions/__init__.py | IBM/AIF-360 | 9eae52000c92bbc9279f8ee4bdb7a7c5ac585359 | [
"Apache-2.0"
] | 335 | 2018-09-13T15:35:09.000Z | 2020-07-06T10:56:12.000Z | from aif360.detectors.mdss.ScoringFunctions.ScoringFunction import ScoringFunction
from aif360.detectors.mdss.ScoringFunctions.Bernoulli import Bernoulli
from aif360.detectors.mdss.ScoringFunctions.Poisson import Poisson
from aif360.detectors.mdss.ScoringFunctions.BerkJones import BerkJones
from aif360.detectors.mdss.S... | 60.166667 | 82 | 0.889197 | 40 | 361 | 8.025 | 0.275 | 0.155763 | 0.29595 | 0.358255 | 0.607477 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043988 | 0.055402 | 361 | 5 | 83 | 72.2 | 0.897361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8f9a0b02a4163166320ff39a5d42152b3f70b502 | 347 | py | Python | example_pipeline/overhand.py | wjchen84/rapprentice | 9232a6a21e2c80f00854912f07dcdc725b0be95a | [
"BSD-2-Clause"
] | 23 | 2015-08-25T19:40:18.000Z | 2020-12-27T09:23:06.000Z | example_pipeline/overhand.py | wjchen84/rapprentice | 9232a6a21e2c80f00854912f07dcdc725b0be95a | [
"BSD-2-Clause"
] | null | null | null | example_pipeline/overhand.py | wjchen84/rapprentice | 9232a6a21e2c80f00854912f07dcdc725b0be95a | [
"BSD-2-Clause"
] | 8 | 2016-05-18T20:13:06.000Z | 2020-11-03T16:09:50.000Z | import os
from rapprentice.call_and_print import call_and_print
os.chdir("../scripts")
od="~/henry_sandbox/rapprentice/sampledata/overhand"
call_and_print("./generate_annotations.py %(od)s/demo0_2013-04-20-15-58-09.bag %(od)s/demo0_2013-04-20-15-58-09.bag.ann.yaml"%dict(od=od))
call_and_print("./generate_h5.py %(od)s/o... | 49.571429 | 138 | 0.772334 | 64 | 347 | 3.984375 | 0.46875 | 0.109804 | 0.188235 | 0.156863 | 0.196078 | 0.196078 | 0.196078 | 0.196078 | 0.196078 | 0.196078 | 0 | 0.092814 | 0.037464 | 347 | 6 | 139 | 57.833333 | 0.670659 | 0 | 0 | 0 | 1 | 0.166667 | 0.582133 | 0.440922 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
8fda497be2c9f059aca85b5b9285197a00c27586 | 35 | py | Python | dfparaplot/__init__.py | effi/dfparaplot | 5768edb79b474df95c3b0af1c088aa4e54fc9c95 | [
"MIT"
] | null | null | null | dfparaplot/__init__.py | effi/dfparaplot | 5768edb79b474df95c3b0af1c088aa4e54fc9c95 | [
"MIT"
] | null | null | null | dfparaplot/__init__.py | effi/dfparaplot | 5768edb79b474df95c3b0af1c088aa4e54fc9c95 | [
"MIT"
] | null | null | null | from dfparaplot.pplot import pplot
| 17.5 | 34 | 0.857143 | 5 | 35 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
64fa3339571b040a0d38884bd7ee365c50c076d1 | 212 | py | Python | src/ESPRESSO.py | DanielAndreasen/PEPES | 561d9ecde1261a60ceb6784948bafb16ee5d25fb | [
"MIT"
] | 1 | 2019-04-08T14:24:12.000Z | 2019-04-08T14:24:12.000Z | src/ESPRESSO.py | DanielAndreasen/PEPES | 561d9ecde1261a60ceb6784948bafb16ee5d25fb | [
"MIT"
] | null | null | null | src/ESPRESSO.py | DanielAndreasen/PEPES | 561d9ecde1261a60ceb6784948bafb16ee5d25fb | [
"MIT"
] | null | null | null | from .spectrum import SpectrumAbstraction
class ESPRESSO(SpectrumAbstraction):
def __init__(self, wavelength, flux, *args, **kwargs):
super().__init__(wavelength, flux, *args, **kwargs)
| 26.5 | 60 | 0.683962 | 20 | 212 | 6.85 | 0.7 | 0.20438 | 0.262774 | 0.350365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198113 | 212 | 8 | 61 | 26.5 | 0.805882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f508bb34a2b0d6cbd4cf8cd31a8430c334dfb7d | 37 | py | Python | src/commands/helpers/config/__init__.py | brandontkessler/workspace | ea2f30635563f2b9e9fc5e6fae490d77b6d84aea | [
"MIT"
] | null | null | null | src/commands/helpers/config/__init__.py | brandontkessler/workspace | ea2f30635563f2b9e9fc5e6fae490d77b6d84aea | [
"MIT"
] | null | null | null | src/commands/helpers/config/__init__.py | brandontkessler/workspace | ea2f30635563f2b9e9fc5e6fae490d77b6d84aea | [
"MIT"
] | null | null | null | from .read_config import read_config
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8f5b5e2bcd6300de185d6a80df983782b2a90aa9 | 32 | py | Python | bio_rtd/chromatography/__init__.py | open-biotech/bio-rtd | c3e2cf4d7d646bda719e5fc6f694a1cae0e412c0 | [
"MIT"
] | 5 | 2020-03-30T13:26:12.000Z | 2021-04-02T07:10:49.000Z | bio_rtd/chromatography/__init__.py | open-biotech/bio-rtd | c3e2cf4d7d646bda719e5fc6f694a1cae0e412c0 | [
"MIT"
] | null | null | null | bio_rtd/chromatography/__init__.py | open-biotech/bio-rtd | c3e2cf4d7d646bda719e5fc6f694a1cae0e412c0 | [
"MIT"
] | 1 | 2020-06-03T07:50:56.000Z | 2020-06-03T07:50:56.000Z | from . import bt_curve, bt_load
| 16 | 31 | 0.78125 | 6 | 32 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.851852 | 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 |
8f62668f617e104280eba1c3ff3e38124da36853 | 125 | py | Python | Programming I Python/Chapter 6/functions but separated/average.py | eebr99/Python-Projects | 016f72b3f13793cb73c333c6eaab313eddfae9e7 | [
"MIT"
] | null | null | null | Programming I Python/Chapter 6/functions but separated/average.py | eebr99/Python-Projects | 016f72b3f13793cb73c333c6eaab313eddfae9e7 | [
"MIT"
] | null | null | null | Programming I Python/Chapter 6/functions but separated/average.py | eebr99/Python-Projects | 016f72b3f13793cb73c333c6eaab313eddfae9e7 | [
"MIT"
] | null | null | null | #this program calculates the average
def average(total, count):
average = total / count
return average
| 15.625 | 37 | 0.648 | 14 | 125 | 5.785714 | 0.642857 | 0.296296 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296 | 125 | 7 | 38 | 17.857143 | 0.920455 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8f6ac664fe36c37591c21355fd1ad7ec7baa34a5 | 184 | py | Python | features/environment.py | Aga-Ma/behave_demo | 669d36ab9215384d1871940a9ff3f1d9ac39b584 | [
"MIT"
] | null | null | null | features/environment.py | Aga-Ma/behave_demo | 669d36ab9215384d1871940a9ff3f1d9ac39b584 | [
"MIT"
] | null | null | null | features/environment.py | Aga-Ma/behave_demo | 669d36ab9215384d1871940a9ff3f1d9ac39b584 | [
"MIT"
] | null | null | null | from behave import use_fixture
from fixtures import browser_chrome
def before_tag(context, tag):
if tag == "fixture.browser.chrome":
use_fixture(browser_chrome, context) | 23 | 44 | 0.755435 | 25 | 184 | 5.36 | 0.52 | 0.291045 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168478 | 184 | 8 | 44 | 23 | 0.875817 | 0 | 0 | 0 | 0 | 0 | 0.118919 | 0.118919 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7122cf74fa084da78df94dffd843c566f19db810 | 29 | py | Python | tradingview_ta/__init__.py | rahulmr/python-tradingview-ta | c866f11eb717d7f3784d9ef523457f3306d3b60e | [
"MIT"
] | 1 | 2021-01-15T11:43:19.000Z | 2021-01-15T11:43:19.000Z | tradingview_ta/__init__.py | rahulmr/python-tradingview-ta | c866f11eb717d7f3784d9ef523457f3306d3b60e | [
"MIT"
] | null | null | null | tradingview_ta/__init__.py | rahulmr/python-tradingview-ta | c866f11eb717d7f3784d9ef523457f3306d3b60e | [
"MIT"
] | 2 | 2020-08-26T13:54:58.000Z | 2022-02-05T17:43:55.000Z | from .main import TA_Handler
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7130606bc66804d50c6f0a1ebc3b76574aecc546 | 31 | py | Python | src/pytakes/dict/__init__.py | dcronkite/pytakes | 319918e129ac5dc05336d5f07e547163530be256 | [
"MIT"
] | null | null | null | src/pytakes/dict/__init__.py | dcronkite/pytakes | 319918e129ac5dc05336d5f07e547163530be256 | [
"MIT"
] | null | null | null | src/pytakes/dict/__init__.py | dcronkite/pytakes | 319918e129ac5dc05336d5f07e547163530be256 | [
"MIT"
] | null | null | null | from .textitem import TextItem
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
714332d21290efdbc3f3ecf7a7be3cf7b98e898e | 11,859 | py | Python | Section1_Introducing_The_PyQt5_Framework/Video4_Layout_of_widgets_3_GRID.py | Tom-Niesytto/Python_GUI_Programming_Recipes_using_PyQt5 | 6c63b6351c03fa228745854a939306d58d17c02e | [
"MIT"
] | 1 | 2021-01-06T23:32:00.000Z | 2021-01-06T23:32:00.000Z | Section1_Introducing_The_PyQt5_Framework/Video4_Layout_of_widgets_3_GRID.py | Tom-Niesytto/Python_GUI_Programming_Recipes_using_PyQt5 | 6c63b6351c03fa228745854a939306d58d17c02e | [
"MIT"
] | null | null | null | Section1_Introducing_The_PyQt5_Framework/Video4_Layout_of_widgets_3_GRID.py | Tom-Niesytto/Python_GUI_Programming_Recipes_using_PyQt5 | 6c63b6351c03fa228745854a939306d58d17c02e | [
"MIT"
] | 1 | 2021-01-06T23:32:02.000Z | 2021-01-06T23:32:02.000Z | '''
Created on Aug 25, 2017
@author: Burkhard A. Meier
'''
#====================================================
# GRID LAYOUT MANAGER
#====================================================
# #--------------------------------------------------
#
# create labels, buttons and grid layout
# import sys
# from PyQt5.Qt... | 37.767516 | 93 | 0.4922 | 1,152 | 11,859 | 4.83941 | 0.101563 | 0.060987 | 0.057937 | 0.038744 | 0.956771 | 0.956771 | 0.95426 | 0.95426 | 0.95426 | 0.95426 | 0 | 0.02251 | 0.381904 | 11,859 | 313 | 94 | 37.888179 | 0.738063 | 0.721562 | 0 | 0 | 0 | 0 | 0.069614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0.09434 | 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 |
85312f86efa3d4a0e836c7915edbd44f40def259 | 3,829 | py | Python | specs/tests/valgrind_unit_tests.py | yoavnir/specs2016 | 5f60a6e38e42019f8068026e596d0ad4fec60ab2 | [
"MIT"
] | null | null | null | specs/tests/valgrind_unit_tests.py | yoavnir/specs2016 | 5f60a6e38e42019f8068026e596d0ad4fec60ab2 | [
"MIT"
] | 170 | 2018-12-15T10:34:16.000Z | 2022-03-28T20:05:04.000Z | specs/tests/valgrind_unit_tests.py | yoavnir/specs2016 | 5f60a6e38e42019f8068026e596d0ad4fec60ab2 | [
"MIT"
] | 1 | 2019-12-05T16:33:01.000Z | 2019-12-05T16:33:01.000Z | import sys, memcheck, argparse
count_ALU_tests = 677
count_processing_tests = 158
count_token_tests = 16
# Parse the one command line options
parser = argparse.ArgumentParser()
parser.add_argument("--no_valgrind", dest="nvg", action="store_true", default=None,
help="Don't run valgrind - just check if the command... | 45.047059 | 172 | 0.629668 | 537 | 3,829 | 4.361266 | 0.167598 | 0.018787 | 0.051238 | 0.046114 | 0.823655 | 0.797609 | 0.797609 | 0.797609 | 0.754056 | 0.733561 | 0 | 0.01332 | 0.235309 | 3,829 | 84 | 173 | 45.583333 | 0.786544 | 0.010969 | 0 | 0.573333 | 0 | 0 | 0.301269 | 0.00555 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013333 | 0 | 0.013333 | 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 |
8543d41b69f13c5c5e922cd40e05a280f27fcde4 | 171 | py | Python | citrine_challenge/__init__.py | bhartl/citrine_challenge | 8ab1deb508af5197c82914232daef5e0df47119b | [
"MIT"
] | null | null | null | citrine_challenge/__init__.py | bhartl/citrine_challenge | 8ab1deb508af5197c82914232daef5e0df47119b | [
"MIT"
] | null | null | null | citrine_challenge/__init__.py | bhartl/citrine_challenge | 8ab1deb508af5197c82914232daef5e0df47119b | [
"MIT"
] | null | null | null | from .constraints import Constraint
from .sampler_constraints import SamplerConstraint
from .base_sampler import BaseSampler
from .adaptive_sampler import AdaptiveSampler
| 34.2 | 50 | 0.883041 | 19 | 171 | 7.789474 | 0.526316 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093567 | 171 | 4 | 51 | 42.75 | 0.954839 | 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 |
8588756c156b79f9b28bab379ec568316fd0d31a | 100 | py | Python | setup/setup.py | CharuchithRanjit/open-pos | ac749a0f2a6c59077d2c13f13e776963e130501f | [
"MIT"
] | null | null | null | setup/setup.py | CharuchithRanjit/open-pos | ac749a0f2a6c59077d2c13f13e776963e130501f | [
"MIT"
] | null | null | null | setup/setup.py | CharuchithRanjit/open-pos | ac749a0f2a6c59077d2c13f13e776963e130501f | [
"MIT"
] | null | null | null | # Python Dependencies
import sys
from __init__ import return_path
sys.path.insert(1, return_path()) | 20 | 33 | 0.81 | 15 | 100 | 5 | 0.666667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.11 | 100 | 5 | 33 | 20 | 0.831461 | 0.19 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
a439a87e837f76f23ca247d62db9a9fa04ac902b | 167 | py | Python | app/sample/__init__.py | linex-cd/puf | 6da93b485b4881c12975d5af1715480a7bffc45c | [
"Apache-2.0"
] | 5 | 2018-01-02T10:27:52.000Z | 2018-05-01T16:01:01.000Z | app/sample/__init__.py | linex-cd/puf | 6da93b485b4881c12975d5af1715480a7bffc45c | [
"Apache-2.0"
] | null | null | null | app/sample/__init__.py | linex-cd/puf | 6da93b485b4881c12975d5af1715480a7bffc45c | [
"Apache-2.0"
] | null | null | null | from . import codec;
from . import cookie;
from . import file;
from . import hello;
from . import http;
from . import mysql;
from . import proxy;
from . import redis;
| 18.555556 | 21 | 0.712575 | 24 | 167 | 4.958333 | 0.416667 | 0.672269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191617 | 167 | 8 | 22 | 20.875 | 0.881481 | 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 |
a454cadf847e8b288c591310db96c007ec5028ec | 11,627 | py | Python | plgx-esp-ui/tests/test_yara_endpoints.py | dhoomakethu/plgx-esp | b466b52a5e16a0d12a61e505e48add83bee5bad4 | [
"MIT"
] | 20 | 2019-12-09T13:55:13.000Z | 2022-01-10T09:10:42.000Z | plgx-esp-ui/tests/test_yara_endpoints.py | dhoomakethu/plgx-esp | b466b52a5e16a0d12a61e505e48add83bee5bad4 | [
"MIT"
] | 13 | 2019-12-03T13:27:27.000Z | 2021-12-03T05:22:49.000Z | plgx-esp-ui/tests/test_yara_endpoints.py | dhoomakethu/plgx-esp | b466b52a5e16a0d12a61e505e48add83bee5bad4 | [
"MIT"
] | 16 | 2019-11-15T11:45:06.000Z | 2022-01-07T08:07:11.000Z | """
All Test-Case required client, url_prefix and token,
and these all we need to just pass as parameters in the function.
"""
import json, os
from flask import current_app
class TestListYara:
def test_get_yara_list(self, client, url_prefix, token):
"""
Test-case to get yara list,
expect... | 40.940141 | 131 | 0.637224 | 1,534 | 11,627 | 4.670143 | 0.101043 | 0.056533 | 0.048157 | 0.058347 | 0.836683 | 0.799414 | 0.771636 | 0.749023 | 0.725154 | 0.71287 | 0 | 0.013381 | 0.247957 | 11,627 | 283 | 132 | 41.084806 | 0.805924 | 0.26232 | 0 | 0.527132 | 0 | 0 | 0.140772 | 0.015885 | 0 | 0 | 0 | 0 | 0.271318 | 1 | 0.178295 | false | 0 | 0.015504 | 0 | 0.255814 | 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 |
a46ead99c2642055e493b4865a1c6c6c21633afc | 37 | py | Python | Flask_NewProject/__init__.py | Gunak/Flask-ProjectManager | b55f9af0327a973ab52073558c733025b24eb329 | [
"MIT"
] | null | null | null | Flask_NewProject/__init__.py | Gunak/Flask-ProjectManager | b55f9af0327a973ab52073558c733025b24eb329 | [
"MIT"
] | null | null | null | Flask_NewProject/__init__.py | Gunak/Flask-ProjectManager | b55f9af0327a973ab52073558c733025b24eb329 | [
"MIT"
] | 1 | 2017-05-21T13:48:28.000Z | 2017-05-21T13:48:28.000Z | from .CreateDirs import create_dirs
| 12.333333 | 35 | 0.837838 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 36 | 18.5 | 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 |
74c04cd9e5f183d034ae3c46de70dfe9fee54827 | 148 | py | Python | students/K33421/Samoshchenkov_Alexei/lr_2/hw_system/admin.py | Vivasus/ITMO_ICT_WebDevelopment_2020-2021 | 833d7ac1d40d9f7456a3c6b104a0e53c652d0035 | [
"MIT"
] | null | null | null | students/K33421/Samoshchenkov_Alexei/lr_2/hw_system/admin.py | Vivasus/ITMO_ICT_WebDevelopment_2020-2021 | 833d7ac1d40d9f7456a3c6b104a0e53c652d0035 | [
"MIT"
] | null | null | null | students/K33421/Samoshchenkov_Alexei/lr_2/hw_system/admin.py | Vivasus/ITMO_ICT_WebDevelopment_2020-2021 | 833d7ac1d40d9f7456a3c6b104a0e53c652d0035 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(User)
admin.site.register(Homework)
admin.site.register(Answer)
| 18.5 | 33 | 0.763514 | 20 | 148 | 5.65 | 0.55 | 0.238938 | 0.451327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 148 | 7 | 34 | 21.142857 | 0.882813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
74fe9be83a89ff1d5cfaf5efcf38d0728ddf8525 | 33 | py | Python | base/core.py | lixiaofeng1993/DjangoBlog | 94d062324367b8a30edf8d29e2e661c822bcb7c1 | [
"MIT"
] | null | null | null | base/core.py | lixiaofeng1993/DjangoBlog | 94d062324367b8a30edf8d29e2e661c822bcb7c1 | [
"MIT"
] | 6 | 2020-06-06T00:44:08.000Z | 2022-01-13T01:52:46.000Z | base/core.py | lixiaofeng1993/DjangoBlog | 94d062324367b8a30edf8d29e2e661c822bcb7c1 | [
"MIT"
] | null | null | null | def task():
print('$' * 100)
| 11 | 20 | 0.454545 | 4 | 33 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.272727 | 33 | 2 | 21 | 16.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7458a65addf655f1cdbce2d62dfb65e6c7d7c2b5 | 266 | py | Python | {{ cookiecutter.project_name }}/{{ cookiecutter.project_slug }}/plugin.py | d1618033/flake8-plugin-cookiecutter | 5fbfe871d8185643a505a8c6b044b7dfba4cf57f | [
"MIT"
] | null | null | null | {{ cookiecutter.project_name }}/{{ cookiecutter.project_slug }}/plugin.py | d1618033/flake8-plugin-cookiecutter | 5fbfe871d8185643a505a8c6b044b7dfba4cf57f | [
"MIT"
] | null | null | null | {{ cookiecutter.project_name }}/{{ cookiecutter.project_slug }}/plugin.py | d1618033/flake8-plugin-cookiecutter | 5fbfe871d8185643a505a8c6b044b7dfba4cf57f | [
"MIT"
] | null | null | null | from flake8_plugin_utils import Plugin
from .visitor import {{cookiecutter.plugin_name}}Visitor
class {{cookiecutter.plugin_name}}Plugin(Plugin):
name = '{{cookiecutter.plugin_name}}'
version = '0.0.0'
visitors = [{{cookiecutter.plugin_name}}Visitor]
| 26.6 | 56 | 0.740602 | 32 | 266 | 5.96875 | 0.375 | 0.26178 | 0.460733 | 0.303665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.12782 | 266 | 9 | 57 | 29.555556 | 0.806034 | 0 | 0 | 0 | 0 | 0 | 0.12406 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7482a38f2007aa06c1e256fd7a87e012c082db11 | 19 | py | Python | RDS/circle3_central_services/research_manager/src/api/User/Research/Exports/__init__.py | Sciebo-RDS/Sciebo-RDS | d71cf449ed045a2a7a049e2cb77c99fd5a9195bd | [
"MIT"
] | 10 | 2020-06-24T08:22:24.000Z | 2022-01-13T16:17:36.000Z | RDS/circle3_central_services/research_manager/src/api/User/Research/Imports/__init__.py | Sciebo-RDS/Sciebo-RDS | d71cf449ed045a2a7a049e2cb77c99fd5a9195bd | [
"MIT"
] | 78 | 2020-01-23T14:32:06.000Z | 2022-03-07T14:11:16.000Z | RDS/circle3_central_services/research_manager/src/api/User/Research/Exports/__init__.py | Sciebo-RDS/Sciebo-RDS | d71cf449ed045a2a7a049e2cb77c99fd5a9195bd | [
"MIT"
] | 1 | 2020-06-24T08:33:48.000Z | 2020-06-24T08:33:48.000Z | from .port import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 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 |
74926a02f7de41f86b7c23bdd261af167934b8bb | 125 | py | Python | custom_components/komfovent_c5/api/__init__.py | siku2/hass-komfovent-c5 | 9290af9f925fd6c917772aa96af8bff2a4e44e6b | [
"MIT"
] | null | null | null | custom_components/komfovent_c5/api/__init__.py | siku2/hass-komfovent-c5 | 9290af9f925fd6c917772aa96af8bff2a4e44e6b | [
"MIT"
] | 2 | 2022-03-08T05:10:56.000Z | 2022-03-13T14:30:27.000Z | custom_components/komfovent_c5/api/__init__.py | siku2/hass-komfovent-c5 | 9290af9f925fd6c917772aa96af8bff2a4e44e6b | [
"MIT"
] | null | null | null | # flake8: noqa: F401, F403
from .client import Client
from .modes import *
from .monitoring import *
from .settings import *
| 20.833333 | 26 | 0.744 | 17 | 125 | 5.470588 | 0.588235 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 0.168 | 125 | 5 | 27 | 25 | 0.826923 | 0.192 | 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 |
7498f49b331ded374796563cad96256ebae50599 | 30 | py | Python | votosvir.py | Anderson-VargasQ/EXAMEN_PARCIAL_01 | a8e10ece50801c080446f3420d05a26f49d1bef9 | [
"MIT"
] | null | null | null | votosvir.py | Anderson-VargasQ/EXAMEN_PARCIAL_01 | a8e10ece50801c080446f3420d05a26f49d1bef9 | [
"MIT"
] | null | null | null | votosvir.py | Anderson-VargasQ/EXAMEN_PARCIAL_01 | a8e10ece50801c080446f3420d05a26f49d1bef9 | [
"MIT"
] | null | null | null | print ("nada puede malir sal") | 30 | 30 | 0.733333 | 5 | 30 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.645161 | 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 |
749ac3cda2ac2b83517bd53a21c7b30a26761f24 | 12,305 | py | Python | cqd/discrete.py | KiddoZhu/KGReasoning | fce04172e460ddab7bfad6bfb2cf159dd5fdcbbf | [
"MIT"
] | 9 | 2021-06-28T18:13:41.000Z | 2021-12-31T11:55:30.000Z | cqd/discrete.py | KiddoZhu/KGReasoning | fce04172e460ddab7bfad6bfb2cf159dd5fdcbbf | [
"MIT"
] | 3 | 2021-09-21T20:14:05.000Z | 2022-03-27T09:36:28.000Z | cqd/discrete.py | KiddoZhu/KGReasoning | fce04172e460ddab7bfad6bfb2cf159dd5fdcbbf | [
"MIT"
] | 2 | 2021-12-29T20:46:03.000Z | 2021-12-30T13:55:13.000Z | # -*- coding: utf-8 -*-
import torch
from torch import nn, Tensor
from typing import Callable, Tuple, Optional
def score_candidates(s_emb: Tensor,
p_emb: Tensor,
candidates_emb: Tensor,
k: Optional[int],
entity_embeddings: nn.Module... | 37.515244 | 118 | 0.61349 | 1,596 | 12,305 | 4.377193 | 0.053885 | 0.135127 | 0.09791 | 0.070713 | 0.873891 | 0.846693 | 0.827942 | 0.809906 | 0.791583 | 0.780275 | 0 | 0.028859 | 0.281918 | 12,305 | 327 | 119 | 37.629969 | 0.76177 | 0.040634 | 0 | 0.69 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005 | 1 | 0.055 | false | 0 | 0.015 | 0 | 0.125 | 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 |
74aa01ee54b76b241cd1341d5ee9092ae28067f0 | 2,020 | py | Python | test/config/test_region.py | WiseApp/cloudlift | 36fd8b3a8de15437bc0acca2060df7e6dff7ccc0 | [
"MIT"
] | 1 | 2021-07-12T05:22:48.000Z | 2021-07-12T05:22:48.000Z | test/config/test_region.py | WiseApp/cloudlift | 36fd8b3a8de15437bc0acca2060df7e6dff7ccc0 | [
"MIT"
] | 22 | 2020-04-08T18:48:58.000Z | 2021-11-03T17:11:37.000Z | test/config/test_region.py | WiseApp/cloudlift | 36fd8b3a8de15437bc0acca2060df7e6dff7ccc0 | [
"MIT"
] | 2 | 2020-04-19T10:10:22.000Z | 2021-07-21T07:33:05.000Z | from cloudlift.config import region
from unittest import TestCase
from mock import patch, MagicMock
class TestRegion(TestCase):
@patch("cloudlift.config.region.local_cache", {})
@patch("cloudlift.config.region.EnvironmentConfiguration")
def test_get_region_for_environment_without_cache(self, env_config):
... | 36.071429 | 90 | 0.689604 | 223 | 2,020 | 5.946188 | 0.161435 | 0.090498 | 0.105581 | 0.137255 | 0.853695 | 0.853695 | 0.826546 | 0.826546 | 0.826546 | 0.793364 | 0 | 0 | 0.205446 | 2,020 | 55 | 91 | 36.727273 | 0.826168 | 0 | 0 | 0.604651 | 0 | 0 | 0.243069 | 0.158911 | 0 | 0 | 0 | 0 | 0.139535 | 1 | 0.093023 | false | 0 | 0.069767 | 0 | 0.186047 | 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 |
776579cd1fb195f1b28dc5e696612f421ed2e8f0 | 217 | py | Python | Utils/contador_de_llamadas_definition.py | alejandro-medici/codo-a-codo-python | b7d62dfa7346ecf19022ecbcffdea6f27874bff1 | [
"MIT"
] | null | null | null | Utils/contador_de_llamadas_definition.py | alejandro-medici/codo-a-codo-python | b7d62dfa7346ecf19022ecbcffdea6f27874bff1 | [
"MIT"
] | null | null | null | Utils/contador_de_llamadas_definition.py | alejandro-medici/codo-a-codo-python | b7d62dfa7346ecf19022ecbcffdea6f27874bff1 | [
"MIT"
] | null | null | null | def contador_de_llamadas(func):
def helper(x):
helper.calls += 1
return func(x)
helper.calls = 0
return helper
#@contador_de_llamadas # -> factorial_2 = contador_de_llamadas(factorial_2)
| 24.111111 | 76 | 0.672811 | 29 | 217 | 4.758621 | 0.448276 | 0.217391 | 0.391304 | 0.391304 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.230415 | 217 | 8 | 77 | 27.125 | 0.802395 | 0.341014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77763178ca248e12c15582da61eb1915aa2a9007 | 26 | py | Python | app/parrott/memory/__init__.py | ftzeng/parrott | a5cee36fde95132a591b8b6d649867b5cff189a8 | [
"MIT"
] | 3 | 2015-02-10T17:30:35.000Z | 2015-09-19T21:11:25.000Z | app/parrott/memory/__init__.py | ftzeng/parrott | a5cee36fde95132a591b8b6d649867b5cff189a8 | [
"MIT"
] | null | null | null | app/parrott/memory/__init__.py | ftzeng/parrott | a5cee36fde95132a591b8b6d649867b5cff189a8 | [
"MIT"
] | null | null | null | from memory import Memory
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77af8dfc37eb9d145c8663fee40e38d5ea9b0790 | 37,493 | py | Python | PhysxSpeed.py | Wolffer99/Physix | 7d5a798401ce481e5f1ada93f710557810ad708c | [
"MIT"
] | null | null | null | PhysxSpeed.py | Wolffer99/Physix | 7d5a798401ce481e5f1ada93f710557810ad708c | [
"MIT"
] | null | null | null | PhysxSpeed.py | Wolffer99/Physix | 7d5a798401ce481e5f1ada93f710557810ad708c | [
"MIT"
] | null | null | null | import math
import sympy
import itertools
class Speed:
def calSpeed(self, arg1, arg2, arg1_unit, arg2_unit):
if arg1_unit == "m/s":
if arg2_unit == "m":
return str(float(arg2)/float(arg1)) + " seconds long"
elif arg2_unit == "s":
return st... | 67.433453 | 298 | 0.524951 | 4,877 | 37,493 | 3.888046 | 0.060488 | 0.082586 | 0.064867 | 0.030271 | 0.831241 | 0.809039 | 0.768273 | 0.736473 | 0.701403 | 0.671976 | 0 | 0.029332 | 0.329848 | 37,493 | 556 | 299 | 67.433453 | 0.725344 | 0.065932 | 0 | 0.37045 | 0 | 0 | 0.125108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012848 | false | 0.006424 | 0.006424 | 0 | 0.199143 | 0.023555 | 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 |
77e5f45f952076a62e606582eeca67b951c1de4d | 356 | py | Python | tests/test_aioimaplib.py | filiphanes/jmap-proxy-python | 86d7aba07c5faad652dd46f418f2b8dd3fe03bc3 | [
"MIT"
] | 14 | 2020-05-12T14:21:23.000Z | 2022-03-17T07:20:25.000Z | tests/test_aioimaplib.py | filiphanes/jmap-proxy-python | 86d7aba07c5faad652dd46f418f2b8dd3fe03bc3 | [
"MIT"
] | 1 | 2020-11-28T12:52:09.000Z | 2020-11-28T12:52:09.000Z | tests/test_aioimaplib.py | filiphanes/jmap-proxy-python | 86d7aba07c5faad652dd46f418f2b8dd3fe03bc3 | [
"MIT"
] | 4 | 2020-06-03T09:21:01.000Z | 2022-03-11T20:43:58.000Z | from jmap.account.imap.aioimaplib import encode_messageset
def test_encode_messageset():
assert encode_messageset([1]) == b'1'
assert encode_messageset([1,2,3]) == b'1:3'
assert encode_messageset([1,5,3]) == b'1,3,5'
assert encode_messageset([1,5,3,2]) == b'1:3,5'
assert encode_messageset([5,6,7,8... | 35.6 | 72 | 0.66573 | 67 | 356 | 3.41791 | 0.328358 | 0.489083 | 0.480349 | 0.401747 | 0.349345 | 0.349345 | 0.227074 | 0 | 0 | 0 | 0 | 0.12987 | 0.134831 | 356 | 9 | 73 | 39.555556 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0.075843 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77fbcaa0e040655e65dd90ee29acc9b8b881d1a2 | 145 | py | Python | froud/__init__.py | max22-/froud-python | a1a99734dab4e9365c1d00944ffdd08c4b7412c7 | [
"MIT"
] | null | null | null | froud/__init__.py | max22-/froud-python | a1a99734dab4e9365c1d00944ffdd08c4b7412c7 | [
"MIT"
] | null | null | null | froud/__init__.py | max22-/froud-python | a1a99734dab4e9365c1d00944ffdd08c4b7412c7 | [
"MIT"
] | null | null | null | from froud.process import Process
from froud.port import Inlet, Outlet, connect
from froud.wire import Wire
from froud.scheduler import Scheduler | 36.25 | 45 | 0.841379 | 22 | 145 | 5.545455 | 0.454545 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117241 | 145 | 4 | 46 | 36.25 | 0.953125 | 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 |
7ae11c27535e0f21a8dad4a56e3028c6368052d0 | 32 | py | Python | web-service/my-webserver.py | ResearcherOne/example-repo | 894e3c5d5948fbbadcf2651f75cbc928e119093e | [
"MIT"
] | null | null | null | web-service/my-webserver.py | ResearcherOne/example-repo | 894e3c5d5948fbbadcf2651f75cbc928e119093e | [
"MIT"
] | null | null | null | web-service/my-webserver.py | ResearcherOne/example-repo | 894e3c5d5948fbbadcf2651f75cbc928e119093e | [
"MIT"
] | null | null | null | print("Web server çalışıyor.")
| 16 | 31 | 0.71875 | 4 | 32 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 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 |
bb15192c14e276e3ba3bb41865434939eaa23c71 | 5,250 | py | Python | tests/mutate/test_contract_notes.py | gilbertohasnofb/auxjad | 553b7fe97221b6f378a93ade6262f024e3cbc678 | [
"MIT"
] | 6 | 2020-05-18T09:28:29.000Z | 2021-12-22T00:40:54.000Z | tests/mutate/test_contract_notes.py | gilbertohasnofb/auxjad | 553b7fe97221b6f378a93ade6262f024e3cbc678 | [
"MIT"
] | 1 | 2021-04-21T20:29:38.000Z | 2021-04-22T19:44:54.000Z | tests/mutate/test_contract_notes.py | gilbertohasnofb/auxjad | 553b7fe97221b6f378a93ade6262f024e3cbc678 | [
"MIT"
] | 1 | 2021-04-21T18:54:46.000Z | 2021-04-21T18:54:46.000Z | import abjad
import pytest
import auxjad
def test_contract_notes_01():
staff = abjad.Staff(r"c'4 r2. d'2 r2 e'2. r4 f'1")
auxjad.mutate.contract_notes(staff, abjad.Duration((1, 8)))
assert abjad.lilypond(staff) == abjad.String.normalize(
r"""
\new Staff
{
c'8
... | 21.604938 | 73 | 0.390476 | 622 | 5,250 | 3.228296 | 0.09164 | 0.159363 | 0.041833 | 0.087649 | 0.830179 | 0.790339 | 0.760956 | 0.736056 | 0.713147 | 0.690737 | 0 | 0.091352 | 0.491238 | 5,250 | 242 | 74 | 21.694215 | 0.660427 | 0 | 0 | 0.385542 | 0 | 0.084337 | 0.138406 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 1 | 0.108434 | false | 0 | 0.036145 | 0 | 0.144578 | 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 |
bb425d0fa303adee75636657324379b2d9d964cf | 17,305 | py | Python | mayan/apps/document_states/tests/test_workflow_transition_views.py | wan1869/dushuhu | 934dd178e67140cffc6b9203e793fdf8bbc73a54 | [
"Apache-2.0"
] | null | null | null | mayan/apps/document_states/tests/test_workflow_transition_views.py | wan1869/dushuhu | 934dd178e67140cffc6b9203e793fdf8bbc73a54 | [
"Apache-2.0"
] | null | null | null | mayan/apps/document_states/tests/test_workflow_transition_views.py | wan1869/dushuhu | 934dd178e67140cffc6b9203e793fdf8bbc73a54 | [
"Apache-2.0"
] | 1 | 2021-04-30T09:44:14.000Z | 2021-04-30T09:44:14.000Z | from mayan.apps.documents.tests.base import GenericDocumentViewTestCase
from mayan.apps.events.tests.mixins import EventTestCaseMixin
from mayan.apps.testing.tests.base import GenericViewTestCase
from ..events import event_workflow_edited
from ..literals import WIDGET_CLASS_TEXTAREA
from ..models import WorkflowTransi... | 37.135193 | 92 | 0.720254 | 1,829 | 17,305 | 6.32094 | 0.066703 | 0.15362 | 0.171265 | 0.08373 | 0.850791 | 0.834357 | 0.814376 | 0.785226 | 0.785226 | 0.747081 | 0 | 0.006391 | 0.213407 | 17,305 | 465 | 93 | 37.215054 | 0.842933 | 0.017509 | 0 | 0.680217 | 0 | 0 | 0.001893 | 0 | 0 | 0 | 0 | 0 | 0.181572 | 1 | 0.073171 | false | 0 | 0.02439 | 0 | 0.119241 | 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 |
bb58143eddaef32cd817d1613f757f12e0f2bf8f | 23 | py | Python | src/models/metrics/__init__.py | FHellmann/Deformable_Dilated_Faster-RCNN | 53e7ddcd6b3b8c7c38451cf08529d2792494c658 | [
"MIT"
] | 1 | 2021-10-09T03:05:16.000Z | 2021-10-09T03:05:16.000Z | src/models/metrics/__init__.py | FHellmann/Deformable_Dilated_Faster-RCNN | 53e7ddcd6b3b8c7c38451cf08529d2792494c658 | [
"MIT"
] | null | null | null | src/models/metrics/__init__.py | FHellmann/Deformable_Dilated_Faster-RCNN | 53e7ddcd6b3b8c7c38451cf08529d2792494c658 | [
"MIT"
] | 2 | 2021-03-02T12:06:14.000Z | 2021-11-20T16:02:43.000Z | from .froc import FROC
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
24ba3995f5925f05b38eed3ed464dd8bc3bbc342 | 51,582 | py | Python | bookops_worldcat/metadata_api.py | BookOps-CAT/bookops-worldcat | 879f91f9fe929246c0c07ed771979f31a59288b3 | [
"MIT"
] | 18 | 2020-05-01T13:35:12.000Z | 2022-03-25T15:16:12.000Z | bookops_worldcat/metadata_api.py | BookOps-CAT/bookops-worldcat | 879f91f9fe929246c0c07ed771979f31a59288b3 | [
"MIT"
] | 37 | 2020-04-15T00:24:18.000Z | 2022-03-31T14:07:24.000Z | bookops_worldcat/metadata_api.py | BookOps-CAT/bookops-worldcat | 879f91f9fe929246c0c07ed771979f31a59288b3 | [
"MIT"
] | 6 | 2020-04-27T23:25:15.000Z | 2020-10-05T23:35:07.000Z | # -*- coding: utf-8 -*-
"""
This module provides MetadataSession class for requests to WorldCat Metadata API.
"""
import sys
from typing import Callable, Dict, List, Optional, Tuple, Union
import requests
from requests import Response
from ._session import WorldcatSession
from .authorize import WorldcatAccessToken
... | 44.314433 | 108 | 0.535807 | 4,634 | 51,582 | 5.86189 | 0.103582 | 0.023892 | 0.030923 | 0.013253 | 0.797857 | 0.777647 | 0.764873 | 0.757915 | 0.748086 | 0.741054 | 0 | 0.006899 | 0.395797 | 51,582 | 1,163 | 109 | 44.352537 | 0.864692 | 0.392036 | 0 | 0.72561 | 0 | 0 | 0.116655 | 0.024455 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050305 | false | 0.007622 | 0.012195 | 0.003049 | 0.112805 | 0.006098 | 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 |
700ba2ce59543af9458f7cb151aee282bb2ba3ad | 118 | py | Python | bgflow/nn/flow/transformer/__init__.py | michellab/bgflow | 46c1f6035a7baabcbaee015603d08b8ce63d9717 | [
"MIT"
] | 42 | 2021-04-22T13:32:00.000Z | 2022-03-31T12:26:12.000Z | bgflow/nn/flow/transformer/__init__.py | michellab/bgflow | 46c1f6035a7baabcbaee015603d08b8ce63d9717 | [
"MIT"
] | 29 | 2021-05-09T01:02:43.000Z | 2022-02-21T18:30:42.000Z | bgflow/nn/flow/transformer/__init__.py | michellab/bgflow | 46c1f6035a7baabcbaee015603d08b8ce63d9717 | [
"MIT"
] | 14 | 2021-05-03T11:37:20.000Z | 2022-03-09T15:49:54.000Z | from .base import*
from .affine import *
from .entropy_scaling import *
from .spline import *
from .gaussian import *
| 19.666667 | 30 | 0.754237 | 16 | 118 | 5.5 | 0.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161017 | 118 | 5 | 31 | 23.6 | 0.888889 | 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 |
703dae5563f7e04c604c8b84f502cdefbdeeab0a | 141 | py | Python | winters/entry.py | a-random-lemurian/winters | f320c3574dac91abbe719282b18b37061d2f5e96 | [
"MIT"
] | 1 | 2021-12-05T10:09:55.000Z | 2021-12-05T10:09:55.000Z | winters/entry.py | a-random-lemurian/winters | f320c3574dac91abbe719282b18b37061d2f5e96 | [
"MIT"
] | null | null | null | winters/entry.py | a-random-lemurian/winters | f320c3574dac91abbe719282b18b37061d2f5e96 | [
"MIT"
] | null | null | null | import click
@click.group()
def cli():
pass
@cli.group()
def plug():
pass
import winters.pluginlist
import winters.pluginmaker
| 8.8125 | 26 | 0.687943 | 18 | 141 | 5.388889 | 0.555556 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198582 | 141 | 15 | 27 | 9.4 | 0.858407 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0.222222 | 0.333333 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
704de60d383754abb2eb80391af7e81803274400 | 116 | py | Python | custom_components/hasl3/slapi/__init__.py | hasl-platform/hasl-sensor | 9d8e75f981b4e2be5bb6fe6b2f5c11c595ba0e03 | [
"Apache-2.0"
] | 22 | 2020-05-16T20:51:54.000Z | 2022-03-26T21:59:11.000Z | custom_components/hasl3/slapi/__init__.py | hasl-platform/hasl-sensor | 9d8e75f981b4e2be5bb6fe6b2f5c11c595ba0e03 | [
"Apache-2.0"
] | 32 | 2020-05-20T11:44:31.000Z | 2022-03-25T10:43:14.000Z | custom_components/hasl3/slapi/__init__.py | hasl-platform/hasl-sensor | 9d8e75f981b4e2be5bb6fe6b2f5c11c595ba0e03 | [
"Apache-2.0"
] | 10 | 2021-01-05T12:02:56.000Z | 2022-01-17T11:09:33.000Z | """Python package for accessing SL REST API."""
from .exceptions import *
from .slapi import *
from .const import *
| 23.2 | 47 | 0.724138 | 16 | 116 | 5.25 | 0.75 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 116 | 4 | 48 | 29 | 0.865979 | 0.353448 | 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 |
707cbf399deb051dc821f81e193ea1b2c6820639 | 1,491 | py | Python | CZ1003/tutorial/cz1003_tut9-1 - recursion.py | khamiruf/NTU_CompSci | 6c013c8653cdca275d1a0a70f8e0896815bedef3 | [
"CNRI-Python"
] | null | null | null | CZ1003/tutorial/cz1003_tut9-1 - recursion.py | khamiruf/NTU_CompSci | 6c013c8653cdca275d1a0a70f8e0896815bedef3 | [
"CNRI-Python"
] | null | null | null | CZ1003/tutorial/cz1003_tut9-1 - recursion.py | khamiruf/NTU_CompSci | 6c013c8653cdca275d1a0a70f8e0896815bedef3 | [
"CNRI-Python"
] | null | null | null | from random import randint
def maxInList(aList): # recursion method
print(aList) # print list for sanity check
if len(aList) == 1: # if left one element in the list, end function and return number
return aList[0]
else:
# if 1st number > 2nd number, remove 2nd number and repeat
... | 34.674419 | 91 | 0.617036 | 207 | 1,491 | 4.425121 | 0.236715 | 0.068777 | 0.048035 | 0.061135 | 0.789301 | 0.789301 | 0.789301 | 0.789301 | 0.789301 | 0.789301 | 0 | 0.046065 | 0.30114 | 1,491 | 42 | 92 | 35.5 | 0.833013 | 0.391013 | 0 | 0.733333 | 0 | 0 | 0.07034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.033333 | 0 | 0.3 | 0.233333 | 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 |
708722eaef7068ff1d493d7a310ce23a56a7359d | 26 | py | Python | hello.py | Pablistenico/github-eii | 5432b2faa19e7fdcfb19a9ca3b89b9fd28e812bf | [
"Apache-2.0"
] | null | null | null | hello.py | Pablistenico/github-eii | 5432b2faa19e7fdcfb19a9ca3b89b9fd28e812bf | [
"Apache-2.0"
] | null | null | null | hello.py | Pablistenico/github-eii | 5432b2faa19e7fdcfb19a9ca3b89b9fd28e812bf | [
"Apache-2.0"
] | null | null | null | print("Buenos días mundo") | 26 | 26 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 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 |
564b5a94bc7875fb565c7073b108771c8f53e02f | 45 | py | Python | api/__init__.py | patopesto/Minerva-app | 4834525bb7b342e527e08aa2cd591f8c30e7c2b4 | [
"MIT"
] | null | null | null | api/__init__.py | patopesto/Minerva-app | 4834525bb7b342e527e08aa2cd591f8c30e7c2b4 | [
"MIT"
] | null | null | null | api/__init__.py | patopesto/Minerva-app | 4834525bb7b342e527e08aa2cd591f8c30e7c2b4 | [
"MIT"
] | null | null | null | from .app import configure, create_app, start | 45 | 45 | 0.822222 | 7 | 45 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 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 |
565e020f1babb0e83f736daaedf991df5d2c860d | 183 | py | Python | examples/tenant_multi_types/tenant_type_two_only/admin.py | sim1234/django-tenants | a8b98c5c779214f8003dd766ab754936d0afc26c | [
"MIT"
] | 514 | 2015-06-12T00:31:32.000Z | 2020-06-08T17:49:23.000Z | examples/tenant_multi_types/tenant_type_two_only/admin.py | david-luk4s/django-tenants | 67c8b2bbcdb467943d7271eb618a608e3ebc660d | [
"MIT"
] | 363 | 2015-06-12T07:04:04.000Z | 2020-06-09T17:10:17.000Z | examples/tenant_multi_types/tenant_type_two_only/admin.py | david-luk4s/django-tenants | 67c8b2bbcdb467943d7271eb618a608e3ebc660d | [
"MIT"
] | 159 | 2015-06-12T13:09:15.000Z | 2020-06-04T00:48:35.000Z | from django.contrib import admin
from tenant_type_two_only.models import TableTypeTwoOnly
@admin.register(TableTypeTwoOnly)
class TableTypeTwoOnlyAdmin(admin.ModelAdmin):
pass
| 20.333333 | 56 | 0.84153 | 21 | 183 | 7.190476 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103825 | 183 | 8 | 57 | 22.875 | 0.920732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3b28d5d98ce7212f8f51772059330893e7c5e302 | 158 | py | Python | code/level02.py | prake71/blackandwhite | 2f23f4b3dc57080d230a4c423332000fe02b8024 | [
"MIT"
] | null | null | null | code/level02.py | prake71/blackandwhite | 2f23f4b3dc57080d230a4c423332000fe02b8024 | [
"MIT"
] | null | null | null | code/level02.py | prake71/blackandwhite | 2f23f4b3dc57080d230a4c423332000fe02b8024 | [
"MIT"
] | null | null | null | import pygame
import level01
import level
class Level_02(level01.Level_01):
def __init__(self, player):
level01.Level_01.__init__(self, player)
| 17.555556 | 47 | 0.746835 | 22 | 158 | 4.863636 | 0.5 | 0.224299 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 0.170886 | 158 | 8 | 48 | 19.75 | 0.725191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b2b56e9903d15be75a480160960d1d6773e62b8 | 4,235 | py | Python | tests/test_line.py | konradkorczynski/nonograms-solver | 2a17a93647b491676125a8af3dab9f80803df644 | [
"Unlicense"
] | null | null | null | tests/test_line.py | konradkorczynski/nonograms-solver | 2a17a93647b491676125a8af3dab9f80803df644 | [
"Unlicense"
] | null | null | null | tests/test_line.py | konradkorczynski/nonograms-solver | 2a17a93647b491676125a8af3dab9f80803df644 | [
"Unlicense"
] | null | null | null | import numpy as np
import pytest
from nonograms_solver import Line
class TestLine:
line_test_data = [
(
Line([5, 3], 10, 1),
np.array([
[1, 1, 1, 1, 1, -1, 1, 1, 1, -1],
[1, 1, 1, 1, 1, -1, -1, 1, 1, 1],
[-1, 1, 1, 1, 1, 1, -1, 1, 1,... | 37.477876 | 113 | 0.319717 | 684 | 4,235 | 1.915205 | 0.054094 | 0.741985 | 1.087786 | 1.435115 | 0.629771 | 0.532824 | 0.532824 | 0.412214 | 0.412214 | 0.390076 | 0 | 0.227141 | 0.42928 | 4,235 | 112 | 114 | 37.8125 | 0.314853 | 0.004723 | 0 | 0.168317 | 0 | 0 | 0.018285 | 0.006412 | 0 | 0 | 0 | 0 | 0.029703 | 1 | 0.029703 | false | 0 | 0.029703 | 0 | 0.09901 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3b3a78c14f19c474f2de902b1e354333565b051c | 1,896 | py | Python | pyaz/servicebus/namespace/network_rule/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/servicebus/namespace/network_rule/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/servicebus/namespace/network_rule/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from .... pyaz_utils import _call_az
def add(namespace_name, resource_group, action=None, ignore_missing_endpoint=None, ip_address=None, subnet=None, vnet_name=None):
'''
Add a network rule for a namespace.
Required Parameters:
- namespace_name -- Name of the Namespace
- resource_group -- Name of ... | 40.340426 | 129 | 0.713608 | 259 | 1,896 | 5.096525 | 0.239382 | 0.088636 | 0.037879 | 0.049242 | 0.735606 | 0.735606 | 0.735606 | 0.735606 | 0.649242 | 0.649242 | 0 | 0.001318 | 0.199367 | 1,896 | 46 | 130 | 41.217391 | 0.868248 | 0.647679 | 0 | 0 | 0 | 0 | 0.227523 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3b58326510ed77a031f46e0aff8c24e7835c6810 | 203 | py | Python | project_name/workers/__init__.py | violentmagician/fastapi-project-template | 189bcd15b29572a32bd678b12107e8e3eef4a41b | [
"Unlicense"
] | null | null | null | project_name/workers/__init__.py | violentmagician/fastapi-project-template | 189bcd15b29572a32bd678b12107e8e3eef4a41b | [
"Unlicense"
] | 5 | 2022-01-24T20:32:52.000Z | 2022-03-14T20:59:40.000Z | project_name/workers/__init__.py | violentmagician/fastapi-project-template | 189bcd15b29572a32bd678b12107e8e3eef4a41b | [
"Unlicense"
] | null | null | null | from celery import Celery
from project_name.config import settings
celery = Celery(__name__)
celery.conf.broker_url = settings.celery.broker_url
celery.conf.result_backend = settings.celery.broker_url
| 25.375 | 55 | 0.837438 | 29 | 203 | 5.551724 | 0.413793 | 0.26087 | 0.248447 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093596 | 203 | 7 | 56 | 29 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
3b79f7cbd7c38e30d69c111b149216c79e63d28b | 27 | py | Python | b_mort_calc/__init__.py | finbaromahony/BasicMortgageCalculator | 7bb85cdabb1d32aab49a337ea83dff7b75fdeb7b | [
"MIT"
] | null | null | null | b_mort_calc/__init__.py | finbaromahony/BasicMortgageCalculator | 7bb85cdabb1d32aab49a337ea83dff7b75fdeb7b | [
"MIT"
] | 3 | 2018-08-05T07:49:37.000Z | 2018-08-05T11:50:40.000Z | b_mort_calc/__init__.py | finbaromahony/BasicMortgageCalculator | 7bb85cdabb1d32aab49a337ea83dff7b75fdeb7b | [
"MIT"
] | null | null | null | from . import mortgage_calc | 27 | 27 | 0.851852 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 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 |
8e95d0e1b392a05fb25ef073f93ea75669e8ba72 | 34 | py | Python | backend/__init__.py | mlabuda2/beefit | 265cf39e58c1be382d35701586bf61f391b42f69 | [
"MIT"
] | null | null | null | backend/__init__.py | mlabuda2/beefit | 265cf39e58c1be382d35701586bf61f391b42f69 | [
"MIT"
] | null | null | null | backend/__init__.py | mlabuda2/beefit | 265cf39e58c1be382d35701586bf61f391b42f69 | [
"MIT"
] | 2 | 2018-10-28T15:56:15.000Z | 2018-11-18T11:40:12.000Z | print("ODPALAM BACKEND/__INIT__")
| 17 | 33 | 0.794118 | 4 | 34 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 34 | 1 | 34 | 34 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 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 |
8eb1d91ea6a77aa124a0f3f516ad66e02e188662 | 175 | py | Python | Python/Excercise/mouse.py | msiplab/EicProgLab | 4ca523d09c3b414fceda10f3cff055e94fbcc2a9 | [
"MIT"
] | 1 | 2021-04-16T04:26:05.000Z | 2021-04-16T04:26:05.000Z | Python/Excercise/mouse.py | msiplab/EicProgLab | 4ca523d09c3b414fceda10f3cff055e94fbcc2a9 | [
"MIT"
] | null | null | null | Python/Excercise/mouse.py | msiplab/EicProgLab | 4ca523d09c3b414fceda10f3cff055e94fbcc2a9 | [
"MIT"
] | 2 | 2020-06-30T02:11:18.000Z | 2021-08-09T04:44:16.000Z | from interface_animal import IAnimal
class Mouse(IAnimal):
@property
def name(self):
return '鼠'
@property
def type(self):
return '哺乳類'
| 19.444444 | 37 | 0.594286 | 20 | 175 | 5.15 | 0.75 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 175 | 8 | 38 | 21.875 | 0.865546 | 0 | 0 | 0.25 | 0 | 0 | 0.023952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8ee8e1b67e0d171194fdab70653fdef08af0eec7 | 90 | py | Python | binarysearch/rotateListLeftByK.py | Ry4nW/python-wars | 76e3fb24b7ae2abf35db592f1ad59cf8d5f9e508 | [
"MIT"
] | 1 | 2021-06-06T19:55:22.000Z | 2021-06-06T19:55:22.000Z | binarysearch/rotateListLeftByK.py | Ry4nW/python-wars | 76e3fb24b7ae2abf35db592f1ad59cf8d5f9e508 | [
"MIT"
] | 1 | 2022-01-20T19:20:33.000Z | 2022-01-20T23:51:46.000Z | binarysearch/rotateListLeftByK.py | Ry4nW/python-wars | 76e3fb24b7ae2abf35db592f1ad59cf8d5f9e508 | [
"MIT"
] | null | null | null | class Solution:
def solve(self, nums, k):
return nums[k:] + nums[:k]
| 18 | 34 | 0.511111 | 12 | 90 | 3.833333 | 0.666667 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.344444 | 90 | 5 | 35 | 18 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
794141e9fea50d267c030e401fcf94d7135ebe0d | 3,004 | py | Python | money.py | Dannyaffleck/stock | 9c6c62b798e4e3306a7bf4a185a0b4fca37cdd33 | [
"Apache-2.0"
] | null | null | null | money.py | Dannyaffleck/stock | 9c6c62b798e4e3306a7bf4a185a0b4fca37cdd33 | [
"Apache-2.0"
] | null | null | null | money.py | Dannyaffleck/stock | 9c6c62b798e4e3306a7bf4a185a0b4fca37cdd33 | [
"Apache-2.0"
] | 1 | 2020-07-08T19:59:38.000Z | 2020-07-08T19:59:38.000Z | import math
from scipy import stats
import numpy as np
listy=[1.58,1.57,1.54,1.51,1.51,1.51,1.5099,1.5,1.48,1.44,1.44,1.43,1.44,1.46,1.46,1.46,1.46,1.46,1.46,1.46,1.46,1.46,1.455,1.445,1.44,1.44,1.43,1.46,1.46,1.46,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.45,1.44,1.44,1.44,... | 61.306122 | 1,947 | 0.614181 | 937 | 3,004 | 1.96158 | 0.093917 | 0.173014 | 0.230686 | 0.326442 | 0.591404 | 0.577802 | 0.577802 | 0.557671 | 0.551687 | 0.551687 | 0 | 0.431859 | 0.074234 | 3,004 | 48 | 1,948 | 62.583333 | 0.229054 | 0.039947 | 0 | 0.066667 | 0 | 0 | 0.049374 | 0.019819 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.133333 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
794e86676817768b857b2153620496593827dd7a | 108 | py | Python | exceptions/__init__.py | jeremy-badcock/experiment-length-cli | 96ce6f1c89dd83735d88a7806b80709dc8bb87fd | [
"MIT"
] | null | null | null | exceptions/__init__.py | jeremy-badcock/experiment-length-cli | 96ce6f1c89dd83735d88a7806b80709dc8bb87fd | [
"MIT"
] | null | null | null | exceptions/__init__.py | jeremy-badcock/experiment-length-cli | 96ce6f1c89dd83735d88a7806b80709dc8bb87fd | [
"MIT"
] | null | null | null | from .cli import InvalidArgumentError, InvalidDateFormatError
from .experiment import InvalidDateRangeError
| 36 | 61 | 0.888889 | 9 | 108 | 10.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 108 | 2 | 62 | 54 | 0.969697 | 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 |
7986b72a8ff62721ae3cabf814dba5ed05f93ed6 | 40 | py | Python | rcds/cli/__init__.py | jordanbertasso/rcds | d3d655a59a350042d65476793db84e761de04829 | [
"BSD-3-Clause"
] | 5 | 2020-07-13T12:40:02.000Z | 2021-08-21T11:18:28.000Z | rcds/cli/__init__.py | jordanbertasso/rcds | d3d655a59a350042d65476793db84e761de04829 | [
"BSD-3-Clause"
] | 144 | 2020-07-06T11:26:49.000Z | 2022-02-01T14:33:28.000Z | rcds/cli/__init__.py | jordanbertasso/rcds | d3d655a59a350042d65476793db84e761de04829 | [
"BSD-3-Clause"
] | 7 | 2020-07-22T12:38:32.000Z | 2021-12-21T14:27:54.000Z | from .__main__ import cli # noqa: F401
| 20 | 39 | 0.725 | 6 | 40 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.2 | 40 | 1 | 40 | 40 | 0.6875 | 0.25 | 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 |
79cc7d3ead8f2362b7fd439f8a83f2a8b2f1b3ed | 184 | py | Python | devo/api/__init__.py | imposeren/python-sdk | c772da98664a31d86207f86bc005ecb2128e74d7 | [
"MIT"
] | 18 | 2018-09-25T11:47:28.000Z | 2021-12-14T20:28:39.000Z | devo/api/__init__.py | imposeren/python-sdk | c772da98664a31d86207f86bc005ecb2128e74d7 | [
"MIT"
] | 57 | 2018-11-08T12:40:30.000Z | 2022-03-31T13:01:19.000Z | devo/api/__init__.py | imposeren/python-sdk | c772da98664a31d86207f86bc005ecb2128e74d7 | [
"MIT"
] | 34 | 2018-11-05T16:09:15.000Z | 2022-03-08T10:51:34.000Z | from .client import Client, DevoClientException, DEFAULT, TO_STR, \
TO_BYTES, JSON, JSON_SIMPLE, COMPACT_TO_ARRAY, \
SIMPLECOMPACT_TO_ARRAY, SIMPLECOMPACT_TO_OBJ, ClientConfig
| 46 | 67 | 0.798913 | 23 | 184 | 6 | 0.652174 | 0.101449 | 0.289855 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 184 | 3 | 68 | 61.333333 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
79dd4969f9b8708b13b919fb94fc8e1ce3155a8f | 25 | py | Python | projects/suds-jurko/test.py | quinn-dougherty/python-on-nix | 910d3f6554acd4a4ef0425ebccd31104dccb283c | [
"Unlicense"
] | 25 | 2021-10-30T19:54:59.000Z | 2022-03-29T06:11:02.000Z | projects/suds-jurko/test.py | quinn-dougherty/python-on-nix | 910d3f6554acd4a4ef0425ebccd31104dccb283c | [
"Unlicense"
] | 21 | 2021-10-19T01:09:38.000Z | 2022-03-24T16:08:53.000Z | projects/suds-jurko/test.py | quinn-dougherty/python-on-nix | 910d3f6554acd4a4ef0425ebccd31104dccb283c | [
"Unlicense"
] | 3 | 2022-01-25T20:25:13.000Z | 2022-03-08T02:58:50.000Z | import tests
import suds
| 8.333333 | 12 | 0.84 | 4 | 25 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 2 | 13 | 12.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8db49ff18863550c4ad7f2e3e974db35e6bd3b92 | 42 | py | Python | netdata/santabpf/app/utils/flamegraph/__init__.py | SantaBPF/santabpf | 865d56f6e7ba2ebff7153cfbd62c38fbcc39b529 | [
"MIT"
] | null | null | null | netdata/santabpf/app/utils/flamegraph/__init__.py | SantaBPF/santabpf | 865d56f6e7ba2ebff7153cfbd62c38fbcc39b529 | [
"MIT"
] | null | null | null | netdata/santabpf/app/utils/flamegraph/__init__.py | SantaBPF/santabpf | 865d56f6e7ba2ebff7153cfbd62c38fbcc39b529 | [
"MIT"
] | null | null | null | from ._flamegraph import get_svg, save_svg | 42 | 42 | 0.857143 | 7 | 42 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.868421 | 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 |
8dbab60ca591426ab0728a9768b9e85d629083ae | 127 | py | Python | source/scan/errors.py | NathanDunfield/examscanuiuc | ecd72ff39d8cedf0c9a8b706d949410fbb4f5abf | [
"MIT"
] | null | null | null | source/scan/errors.py | NathanDunfield/examscanuiuc | ecd72ff39d8cedf0c9a8b706d949410fbb4f5abf | [
"MIT"
] | null | null | null | source/scan/errors.py | NathanDunfield/examscanuiuc | ecd72ff39d8cedf0c9a8b706d949410fbb4f5abf | [
"MIT"
] | null | null | null | class CouldNotGetQRCode(Exception):
pass
class ScoreReadError(Exception):
pass
class GarbageScan(Exception):
pass | 15.875 | 35 | 0.755906 | 12 | 127 | 8 | 0.5 | 0.40625 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173228 | 127 | 8 | 36 | 15.875 | 0.914286 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
308b1739b2720d92d59acfefad66a73082da7b06 | 148 | py | Python | app/modules/v1/extensions/psc/__init__.py | robjporter/PYTHON-APIServer-1 | 57df8e8189834504b3f473993ae12586ec32d5c9 | [
"MIT"
] | null | null | null | app/modules/v1/extensions/psc/__init__.py | robjporter/PYTHON-APIServer-1 | 57df8e8189834504b3f473993ae12586ec32d5c9 | [
"MIT"
] | null | null | null | app/modules/v1/extensions/psc/__init__.py | robjporter/PYTHON-APIServer-1 | 57df8e8189834504b3f473993ae12586ec32d5c9 | [
"MIT"
] | null | null | null | from flask import Blueprint
psc = Blueprint( 'psc', __name__, template_folder = 'templates', static_folder = 'psc/static' )
from . import views
| 24.666667 | 97 | 0.72973 | 18 | 148 | 5.666667 | 0.611111 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 148 | 5 | 98 | 29.6 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
30f413f558231475521571fb5ab5b8a906555fa4 | 2,332 | py | Python | api/tests/test_routes.py | ofbennett/sentiment-analysis-app | 94362ae3e638daeec29e09065549fd4078af8a1a | [
"MIT"
] | 2 | 2020-10-04T16:58:54.000Z | 2021-10-04T13:51:10.000Z | api/tests/test_routes.py | ofbennett/sentiment-analysis-app | 94362ae3e638daeec29e09065549fd4078af8a1a | [
"MIT"
] | null | null | null | api/tests/test_routes.py | ofbennett/sentiment-analysis-app | 94362ae3e638daeec29e09065549fd4078af8a1a | [
"MIT"
] | null | null | null | from app import __version__ as _api_version
from model_lstm import __version__ as _model_lstm_version
def test_health_endpoint(flask_test_client):
response = flask_test_client.get('/v1/health')
assert response.status_code == 200
def test_api_version_endpoint(flask_test_client):
response = flask_test_clien... | 46.64 | 92 | 0.735849 | 317 | 2,332 | 4.936909 | 0.148265 | 0.103514 | 0.153355 | 0.073482 | 0.874121 | 0.809585 | 0.760383 | 0.760383 | 0.760383 | 0.760383 | 0 | 0.010482 | 0.181818 | 2,332 | 50 | 93 | 46.64 | 0.809748 | 0 | 0 | 0.6 | 0 | 0 | 0.097728 | 0.031719 | 0 | 0 | 0 | 0 | 0.311111 | 1 | 0.111111 | false | 0 | 0.044444 | 0 | 0.155556 | 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 |
30fbd55939f25e4d75317dde2c49b3828bea94e4 | 27 | py | Python | odoo/custom/src/private/product_do_merge/__init__.py | ecosoft-odoo/mh-doodba | 093f14850aaff337951b4829b24bf32eee6e6d40 | [
"BSL-1.0"
] | 1 | 2021-10-03T08:11:18.000Z | 2021-10-03T08:11:18.000Z | odoo/custom/src/private/product_do_merge/__init__.py | ecosoft-odoo/mh-doodba | 093f14850aaff337951b4829b24bf32eee6e6d40 | [
"BSL-1.0"
] | null | null | null | odoo/custom/src/private/product_do_merge/__init__.py | ecosoft-odoo/mh-doodba | 093f14850aaff337951b4829b24bf32eee6e6d40 | [
"BSL-1.0"
] | null | null | null | import model
import wizard
| 9 | 13 | 0.851852 | 4 | 27 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 2 | 14 | 13.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a513ff4faaaffe7172118c0aa06c75d4afc86938 | 22,039 | py | Python | tests/test_session.py | PerchLive/pyopenvidu | fa8ac55b446c94a026dbd73d67cc090810a8c3f1 | [
"MIT"
] | null | null | null | tests/test_session.py | PerchLive/pyopenvidu | fa8ac55b446c94a026dbd73d67cc090810a8c3f1 | [
"MIT"
] | null | null | null | tests/test_session.py | PerchLive/pyopenvidu | fa8ac55b446c94a026dbd73d67cc090810a8c3f1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""Tests for OpenViduSession object"""
import pytest
from datetime import datetime
from pyopenvidu import OpenVidu, OpenViduError, OpenViduSessionDoesNotExistsError, OpenViduConnectionDoesNotExistsError
from urllib.parse import urljoin
from copy import deepcopy
URL_BASE = 'http://test.openvidu... | 40.812963 | 165 | 0.674577 | 2,257 | 22,039 | 6.343819 | 0.112982 | 0.088001 | 0.023467 | 0.028496 | 0.833357 | 0.811706 | 0.782442 | 0.765051 | 0.747102 | 0.729012 | 0 | 0.059884 | 0.192295 | 22,039 | 539 | 166 | 40.888683 | 0.744453 | 0.006262 | 0 | 0.605405 | 0 | 0.02973 | 0.327436 | 0.147351 | 0 | 0 | 0 | 0 | 0.167568 | 1 | 0.097297 | false | 0 | 0.013514 | 0 | 0.110811 | 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 |
eb61b03085c194b9290ec7adb678ad7a0514502f | 2,939 | py | Python | tests/test_extra_verifications.py | Gdeon1337/sanic-jwt | 73799af6ab2adb5e5599bab87dd12ed0ac15d88d | [
"MIT"
] | 1 | 2019-09-03T11:07:01.000Z | 2019-09-03T11:07:01.000Z | tests/test_extra_verifications.py | Gdeon1337/sanic-jwt | 73799af6ab2adb5e5599bab87dd12ed0ac15d88d | [
"MIT"
] | null | null | null | tests/test_extra_verifications.py | Gdeon1337/sanic-jwt | 73799af6ab2adb5e5599bab87dd12ed0ac15d88d | [
"MIT"
] | null | null | null | from sanic import Sanic
from sanic.response import json
from sanic_jwt import Initialize
from sanic_jwt import protected
def test_extra_verification_passing(app_with_extra_verification):
sanic_app, sanic_jwt = app_with_extra_verification
_, response = sanic_app.test_client.post(
"/auth", json={"userna... | 26.963303 | 72 | 0.657707 | 321 | 2,939 | 5.760125 | 0.196262 | 0.0649 | 0.069227 | 0.086533 | 0.794484 | 0.739319 | 0.739319 | 0.739319 | 0.739319 | 0.71444 | 0 | 0.009624 | 0.222184 | 2,939 | 108 | 73 | 27.212963 | 0.799213 | 0 | 0 | 0.621951 | 0 | 0 | 0.150051 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 1 | 0.04878 | false | 0.060976 | 0.04878 | 0.012195 | 0.134146 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.