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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73712f53154f0fd97f1a49bfee29bba0da3928ba | 25 | py | Python | text/src/autogluon/text/utils/__init__.py | mseeger/autogluon-1 | e8d82363ce07fd8e3087bcdd2d71c6f6bd8fd7a0 | [
"Apache-2.0"
] | null | null | null | text/src/autogluon/text/utils/__init__.py | mseeger/autogluon-1 | e8d82363ce07fd8e3087bcdd2d71c6f6bd8fd7a0 | [
"Apache-2.0"
] | null | null | null | text/src/autogluon/text/utils/__init__.py | mseeger/autogluon-1 | e8d82363ce07fd8e3087bcdd2d71c6f6bd8fd7a0 | [
"Apache-2.0"
] | null | null | null | from .try_import import * | 25 | 25 | 0.8 | 4 | 25 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
738247398cec7214ee53fa2c6086810240a298b3 | 123 | py | Python | python_tutorial/argumentList.py | vchatchai/python101 | c2f1c7b0f62a4600f9c64af566dc5630742580f2 | [
"Apache-2.0"
] | null | null | null | python_tutorial/argumentList.py | vchatchai/python101 | c2f1c7b0f62a4600f9c64af566dc5630742580f2 | [
"Apache-2.0"
] | null | null | null | python_tutorial/argumentList.py | vchatchai/python101 | c2f1c7b0f62a4600f9c64af566dc5630742580f2 | [
"Apache-2.0"
] | null | null | null | def concat(*args, sep="/"):
return sep.join(args)
print(concat("earth", "mars", "venus"))
print(*list(range(5,10))) | 15.375 | 39 | 0.609756 | 18 | 123 | 4.166667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.130081 | 123 | 8 | 40 | 15.375 | 0.672897 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
73a646848a6ab38aa632de4810d2014665bca0c1 | 139 | py | Python | comments/admin.py | bobjiangps/django-blog | 6afd36fa96c5a027546575b362b0a481c5d7c1a5 | [
"MIT"
] | 3 | 2019-10-25T13:08:04.000Z | 2020-01-05T11:29:18.000Z | comments/admin.py | bobjiangps/django-blog | 6afd36fa96c5a027546575b362b0a481c5d7c1a5 | [
"MIT"
] | 9 | 2020-05-10T10:13:56.000Z | 2022-03-11T23:33:52.000Z | comments/admin.py | bobjiangps/django-blog | 6afd36fa96c5a027546575b362b0a481c5d7c1a5 | [
"MIT"
] | 3 | 2019-02-11T02:55:51.000Z | 2020-01-05T11:29:20.000Z | from django.contrib import admin
from .models import Comment
#import xadmin
admin.site.register(Comment)
#xadmin.site.register(Comment)
| 15.444444 | 32 | 0.805755 | 19 | 139 | 5.894737 | 0.526316 | 0.214286 | 0.339286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107914 | 139 | 8 | 33 | 17.375 | 0.903226 | 0.302158 | 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 | 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 |
73e096b41ff18cfab7dee9a3d9170ac213abbde6 | 15,298 | py | Python | selfdrive/car/hyundai/values.py | lth1436/nirotest | 390b8d92493ff50827eaa1987bac07101d257dd9 | [
"MIT"
] | null | null | null | selfdrive/car/hyundai/values.py | lth1436/nirotest | 390b8d92493ff50827eaa1987bac07101d257dd9 | [
"MIT"
] | null | null | null | selfdrive/car/hyundai/values.py | lth1436/nirotest | 390b8d92493ff50827eaa1987bac07101d257dd9 | [
"MIT"
] | null | null | null | from cereal import car
from selfdrive.car import dbc_dict
from common.params import Params
Ecu = car.CarParams.Ecu
# Steer torque limits
class SteerLimitParams:
STEER_MAX = 409 # 409 is the max, 255 is stock
STEER_DELTA_UP = 3
STEER_DELTA_DOWN = 7
STEER_DRIVER_ALLOWANCE = 50
STEER_DRIVER_MULTIPLIER = 2
... | 77.654822 | 505 | 0.575827 | 3,085 | 15,298 | 2.795462 | 0.076823 | 0.012523 | 0.021916 | 0.025046 | 0.752319 | 0.740608 | 0.72878 | 0.707908 | 0.658395 | 0.639842 | 0 | 0.496052 | 0.221859 | 15,298 | 196 | 506 | 78.05102 | 0.228411 | 0.011439 | 0 | 0.148936 | 0 | 0.014184 | 0.219908 | 0.025441 | 0 | 0 | 0.00477 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.276596 | 0.007092 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 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 |
fb4ed96d5ab6b8c4272869f05af4df76886a92f1 | 6,297 | py | Python | STED/sted_compute.py | QianyiWu/DR-Learning-for-3D-Face | fee8931e9bed5c1e3f69c290783fcaf4bcf967c9 | [
"MIT"
] | 1 | 2019-12-24T12:39:24.000Z | 2019-12-24T12:39:24.000Z | STED/sted_compute.py | QianyiWu/DR-Learning-for-3D-Face | fee8931e9bed5c1e3f69c290783fcaf4bcf967c9 | [
"MIT"
] | null | null | null | STED/sted_compute.py | QianyiWu/DR-Learning-for-3D-Face | fee8931e9bed5c1e3f69c290783fcaf4bcf967c9 | [
"MIT"
] | null | null | null | '''
This file include some functions for STED distance computation
'''
import numpy as np
import pickle
import math
import time
import openmesh as om
with open('edgelist.pkl', 'rb') as f:
edge_list = pickle.load(f)
with open('velist.pkl', 'rb') as f:
vertex_edge_list = pickle.load(f)
def sted_compute(src_point_arra... | 38.631902 | 137 | 0.686517 | 1,059 | 6,297 | 3.83475 | 0.11237 | 0.118197 | 0.076828 | 0.032504 | 0.817779 | 0.802265 | 0.791923 | 0.785028 | 0.775179 | 0.775179 | 0 | 0.009687 | 0.163888 | 6,297 | 162 | 138 | 38.87037 | 0.761633 | 0.386533 | 0 | 0.62963 | 0 | 0 | 0.05074 | 0.015856 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049383 | false | 0 | 0.061728 | 0 | 0.160494 | 0.049383 | 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 |
fb504188588e56e557bc9621aee77f8d39adb921 | 183 | py | Python | network.py | jjbayer/kaast | 801b9bfe278d87d4ed4a537229e42e635d036ab9 | [
"MIT"
] | null | null | null | network.py | jjbayer/kaast | 801b9bfe278d87d4ed4a537229e42e635d036ab9 | [
"MIT"
] | null | null | null | network.py | jjbayer/kaast | 801b9bfe278d87d4ed4a537229e42e635d036ab9 | [
"MIT"
] | null | null | null | import netifaces
def get_own_ip():
_, interface = netifaces.gateways()['default'][netifaces.AF_INET]
return netifaces.ifaddresses(interface)[netifaces.AF_INET][0]['addr']
| 20.333333 | 73 | 0.73224 | 22 | 183 | 5.863636 | 0.681818 | 0.27907 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.120219 | 183 | 8 | 74 | 22.875 | 0.795031 | 0 | 0 | 0 | 0 | 0 | 0.060109 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb7c5cb40feb83c0ef7b26534d9a2e8b313b7b1a | 21 | py | Python | tools/zopfli/__init__.py | cahirwpz/ghostown-sushiboyz | aabbbeded37ad49e5055190009e6a4f79637d32c | [
"Artistic-2.0"
] | 2 | 2020-05-23T14:40:20.000Z | 2020-05-26T20:36:23.000Z | tools/zopfli/__init__.py | cahirwpz/ghostown-sushiboyz | aabbbeded37ad49e5055190009e6a4f79637d32c | [
"Artistic-2.0"
] | null | null | null | tools/zopfli/__init__.py | cahirwpz/ghostown-sushiboyz | aabbbeded37ad49e5055190009e6a4f79637d32c | [
"Artistic-2.0"
] | 1 | 2020-08-23T17:24:53.000Z | 2020-08-23T17:24:53.000Z | from zopfli import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbd9137ed54efee83562f600bf598eed4b23ff9c | 28,588 | py | Python | pybind/slxos/v17s_1_02/mac/access_list/standard/hide_mac_acl_std/seq/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/mac/access_list/standard/hide_mac_acl_std/seq/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/mac/access_list/standard/hide_mac_acl_std/seq/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 76.643432 | 698 | 0.711173 | 4,068 | 28,588 | 4.770895 | 0.053589 | 0.045342 | 0.057605 | 0.071105 | 0.868869 | 0.840478 | 0.828318 | 0.808172 | 0.807451 | 0.792354 | 0 | 0.007269 | 0.143382 | 28,588 | 372 | 699 | 76.849462 | 0.785251 | 0.141283 | 0 | 0.443966 | 0 | 0.034483 | 0.38721 | 0.191722 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116379 | false | 0 | 0.034483 | 0 | 0.267241 | 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 |
83a51432af726987a7a6708239cc18c18d05c2d6 | 49 | py | Python | dexp/processing/isonet/__init__.py | haesleinhuepf/dexp | 2ea84f3db323724588fac565fae56f0d522bc5ca | [
"BSD-3-Clause"
] | 16 | 2021-04-21T14:09:19.000Z | 2022-03-22T02:30:59.000Z | dexp/processing/isonet/__init__.py | haesleinhuepf/dexp | 2ea84f3db323724588fac565fae56f0d522bc5ca | [
"BSD-3-Clause"
] | 28 | 2021-04-15T17:43:08.000Z | 2022-03-29T16:08:35.000Z | dexp/processing/isonet/__init__.py | haesleinhuepf/dexp | 2ea84f3db323724588fac565fae56f0d522bc5ca | [
"BSD-3-Clause"
] | 3 | 2022-02-08T17:41:30.000Z | 2022-03-18T15:32:27.000Z | from dexp.processing.isonet.isonet import IsoNet
| 24.5 | 48 | 0.857143 | 7 | 49 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83ad153ed9b015a4de8d400f80196ebe8ba792df | 94 | py | Python | edge/model/safety_models/__init__.py | Data-Science-in-Mechanical-Engineering/edge | 586eaba2f0957e75940f4f19fa774603f57eae89 | [
"MIT"
] | null | null | null | edge/model/safety_models/__init__.py | Data-Science-in-Mechanical-Engineering/edge | 586eaba2f0957e75940f4f19fa774603f57eae89 | [
"MIT"
] | null | null | null | edge/model/safety_models/__init__.py | Data-Science-in-Mechanical-Engineering/edge | 586eaba2f0957e75940f4f19fa774603f57eae89 | [
"MIT"
] | null | null | null | from .safety_measure import SafetyMeasure, MaternSafety
from .safety_truth import SafetyTruth
| 31.333333 | 55 | 0.87234 | 11 | 94 | 7.272727 | 0.727273 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 94 | 2 | 56 | 47 | 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 |
83fb5516f4dec5aec5ddfda0d79b5461ce77e908 | 981 | py | Python | pyrandomtools/__init__.py | rickalm/pyrandomtools | 29e0fce08894590d2c142acd19e42c6160974c85 | [
"MIT"
] | null | null | null | pyrandomtools/__init__.py | rickalm/pyrandomtools | 29e0fce08894590d2c142acd19e42c6160974c85 | [
"MIT"
] | null | null | null | pyrandomtools/__init__.py | rickalm/pyrandomtools | 29e0fce08894590d2c142acd19e42c6160974c85 | [
"MIT"
] | null | null | null | # I understand the python convention of __all__ to specify the list of subordinate functions
# to include from a module. I still choose this method of exposing individual functions
# from their various components as a way to document them and specify which component they are
# dervied.
#
# in addition any special handl... | 42.652174 | 94 | 0.85525 | 131 | 981 | 6.320611 | 0.51145 | 0.266908 | 0.345411 | 0.425121 | 0.084541 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00348 | 0.121305 | 981 | 22 | 95 | 44.590909 | 0.957077 | 0.356779 | 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 |
86042f538b684f9e4a88b3e539986ef01c67d3fe | 25 | py | Python | src/data/__init__.py | kurt-stolle/tue-cityscapes-segmentation | cdc8bdc749ac57f1b690cadc46d1d3ecbb48c886 | [
"MIT"
] | null | null | null | src/data/__init__.py | kurt-stolle/tue-cityscapes-segmentation | cdc8bdc749ac57f1b690cadc46d1d3ecbb48c886 | [
"MIT"
] | null | null | null | src/data/__init__.py | kurt-stolle/tue-cityscapes-segmentation | cdc8bdc749ac57f1b690cadc46d1d3ecbb48c886 | [
"MIT"
] | null | null | null | from .cityscapes import * | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 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 | 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 |
f7bbbd5fefc7bb332d4252e899a1738cce87859a | 130 | py | Python | python/gigasecond/gigasecond.py | dvl/exercism.io-solutions | 1eda73318bc0c568958df32f3b98d937f25a994f | [
"MIT"
] | 1 | 2016-02-01T02:23:28.000Z | 2016-02-01T02:23:28.000Z | python/gigasecond/gigasecond.py | dvl/exercism.io-solutions | 1eda73318bc0c568958df32f3b98d937f25a994f | [
"MIT"
] | null | null | null | python/gigasecond/gigasecond.py | dvl/exercism.io-solutions | 1eda73318bc0c568958df32f3b98d937f25a994f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
def add_gigasecond(birthdate):
return birthdate + datetime.timedelta(seconds=10**9) | 18.571429 | 56 | 0.707692 | 16 | 130 | 5.6875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.146154 | 130 | 7 | 56 | 18.571429 | 0.783784 | 0.161538 | 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 |
7919c7d8043a7b0812046617111ef1c7cec1d37a | 14,491 | py | Python | tests/test_phockup.py | pabera/phockup | 5698c5cb70f9a215b3c44198924d28558f432288 | [
"MIT"
] | null | null | null | tests/test_phockup.py | pabera/phockup | 5698c5cb70f9a215b3c44198924d28558f432288 | [
"MIT"
] | null | null | null | tests/test_phockup.py | pabera/phockup | 5698c5cb70f9a215b3c44198924d28558f432288 | [
"MIT"
] | 2 | 2021-07-10T13:46:01.000Z | 2021-08-06T03:27:13.000Z | #!/usr/bin/env python3
import pytest
import shutil
import sys
import os
import logging
from datetime import datetime
from src.dependency import check_dependencies
from src.exif import Exif
from src.phockup import Phockup
os.chdir(os.path.dirname(__file__))
def test_check_dependencies(mocker):
mocker.patch('shut... | 38.234828 | 79 | 0.702574 | 1,996 | 14,491 | 4.947896 | 0.087174 | 0.03949 | 0.079182 | 0.099635 | 0.851458 | 0.833131 | 0.806298 | 0.777744 | 0.772783 | 0.733799 | 0 | 0.067694 | 0.148782 | 14,491 | 378 | 80 | 38.335979 | 0.732955 | 0.003795 | 0 | 0.622581 | 0 | 0 | 0.24186 | 0.091174 | 0 | 0 | 0 | 0 | 0.209677 | 1 | 0.096774 | false | 0 | 0.029032 | 0 | 0.125806 | 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 |
f711b0bb3f6d53da7f1abb4833845da364b2fe94 | 40 | py | Python | rdkit/sping/Pyart/__init__.py | kazuyaujihara/rdkit | 06027dcd05674787b61f27ba46ec0d42a6037540 | [
"BSD-3-Clause"
] | 1,609 | 2015-01-05T02:41:13.000Z | 2022-03-30T21:57:24.000Z | rdkit/sping/Pyart/__init__.py | kazuyaujihara/rdkit | 06027dcd05674787b61f27ba46ec0d42a6037540 | [
"BSD-3-Clause"
] | 3,412 | 2015-01-06T12:13:33.000Z | 2022-03-31T17:25:41.000Z | rdkit/sping/Pyart/__init__.py | kazuyaujihara/rdkit | 06027dcd05674787b61f27ba46ec0d42a6037540 | [
"BSD-3-Clause"
] | 811 | 2015-01-11T03:33:48.000Z | 2022-03-28T11:57:49.000Z | # sping:: pyart
from pidPyart import *
| 10 | 22 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 3 | 23 | 13.333333 | 0.875 | 0.325 | 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 |
f74ecf6a233af7df8150ce1a4e7ffd0bcbd2bdf1 | 179 | py | Python | kosmos/__init__.py | abostroem/kosmos | 63758bb622a6ec83aeb3ac2350ccda5c6c1ef63b | [
"MIT"
] | 1 | 2022-02-24T21:50:06.000Z | 2022-02-24T21:50:06.000Z | kosmos/__init__.py | abostroem/kosmos | 63758bb622a6ec83aeb3ac2350ccda5c6c1ef63b | [
"MIT"
] | 2 | 2022-02-24T19:53:02.000Z | 2022-02-24T20:13:26.000Z | kosmos/__init__.py | abostroem/kosmos | 63758bb622a6ec83aeb3ac2350ccda5c6c1ef63b | [
"MIT"
] | 3 | 2022-01-26T18:27:42.000Z | 2022-03-16T13:50:03.000Z | from .fluxcal import *
from .flatfield import *
from .apextract import *
from .identify import *
from .imtools import *
from .wrappers import *
from .version import __version__
| 22.375 | 32 | 0.759777 | 22 | 179 | 6 | 0.409091 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167598 | 179 | 7 | 33 | 25.571429 | 0.885906 | 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 |
f75b9b9647005c21e38a99bf926273af8a143343 | 814 | py | Python | tests/test_cli.py | brunobord/static-markdown | 7d9d7f3b76068087b3754cf15d2ae4d2dc2a5531 | [
"MIT"
] | 5 | 2019-06-14T10:10:07.000Z | 2021-12-20T17:46:53.000Z | tests/test_cli.py | brunobord/static-markdown | 7d9d7f3b76068087b3754cf15d2ae4d2dc2a5531 | [
"MIT"
] | 13 | 2019-06-13T21:00:58.000Z | 2021-05-12T19:35:40.000Z | tests/test_cli.py | brunobord/static-markdown | 7d9d7f3b76068087b3754cf15d2ae4d2dc2a5531 | [
"MIT"
] | null | null | null | from unittest.mock import MagicMock, patch
from static_markdown.server import main
def test_main_regular_call():
with patch("argparse.ArgumentParser.parse_args") as argument_mock:
argument_mock.return_value = MagicMock(version=False, root=".", port=9999)
with patch("http.server.HTTPServer.serve_f... | 37 | 82 | 0.701474 | 102 | 814 | 5.313725 | 0.362745 | 0.099631 | 0.110701 | 0.114391 | 0.738007 | 0.738007 | 0.738007 | 0.738007 | 0.738007 | 0.738007 | 0 | 0.012346 | 0.203931 | 814 | 21 | 83 | 38.761905 | 0.824074 | 0 | 0 | 0.5 | 0 | 0 | 0.174447 | 0.17199 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | true | 0 | 0.125 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7660b63ae4b4bf70baaf90c26ab90dff9955375 | 165 | py | Python | app/api_v1/__init__.py | smolveau/TodoMessengerBot | a645152f00748d7c96cbef69ea593a7023b53dc7 | [
"MIT"
] | null | null | null | app/api_v1/__init__.py | smolveau/TodoMessengerBot | a645152f00748d7c96cbef69ea593a7023b53dc7 | [
"MIT"
] | null | null | null | app/api_v1/__init__.py | smolveau/TodoMessengerBot | a645152f00748d7c96cbef69ea593a7023b53dc7 | [
"MIT"
] | 1 | 2018-08-03T15:27:07.000Z | 2018-08-03T15:27:07.000Z | from flask import Blueprint
api = Blueprint('api_v1', __name__)
# Import any endpoints here to make them available
from . import webhook
from . import webhook_dev
| 20.625 | 50 | 0.781818 | 24 | 165 | 5.125 | 0.666667 | 0.195122 | 0.276423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.163636 | 165 | 7 | 51 | 23.571429 | 0.884058 | 0.290909 | 0 | 0 | 0 | 0 | 0.052174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
e3aaa40a36af4a7df0cb9dd65a597d6464c9afa7 | 43 | py | Python | mlrun/utils/version/__init__.py | Hedingber/mlrun | e2269718fcc7caa7e1aa379ac28495830b45f9da | [
"Apache-2.0"
] | 1 | 2021-02-17T08:12:33.000Z | 2021-02-17T08:12:33.000Z | mlrun/utils/version/__init__.py | Hedingber/mlrun | e2269718fcc7caa7e1aa379ac28495830b45f9da | [
"Apache-2.0"
] | 1 | 2020-12-31T14:36:29.000Z | 2020-12-31T14:36:29.000Z | mlrun/utils/version/__init__.py | Hedingber/mlrun | e2269718fcc7caa7e1aa379ac28495830b45f9da | [
"Apache-2.0"
] | 1 | 2021-08-30T21:43:38.000Z | 2021-08-30T21:43:38.000Z | from .version import Version # noqa: F401
| 21.5 | 42 | 0.744186 | 6 | 43 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.186047 | 43 | 1 | 43 | 43 | 0.828571 | 0.232558 | 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 |
e3d7acb78adc1b388116a6b4641fd335ad007b36 | 147 | py | Python | gunicorn_config.py | mikaponics/mikaponics-back | 98e1ff8bab7dda3492e5ff637bf5aafd111c840c | [
"BSD-3-Clause"
] | 2 | 2019-04-30T23:51:41.000Z | 2019-05-04T00:35:52.000Z | gunicorn_config.py | mikaponics/mikaponics-back | 98e1ff8bab7dda3492e5ff637bf5aafd111c840c | [
"BSD-3-Clause"
] | 27 | 2019-04-30T20:22:28.000Z | 2022-02-10T08:10:32.000Z | gunicorn_config.py | mikaponics/mikaponics-back | 98e1ff8bab7dda3492e5ff637bf5aafd111c840c | [
"BSD-3-Clause"
] | null | null | null | command = '/opt/django/mikaponics-back/env/bin/gunicorn'
pythonpath = '/opt/django/mikaponics-back/mikaponics'
bind = '127.0.0.1:8001'
workers = 3
| 29.4 | 56 | 0.741497 | 22 | 147 | 4.954545 | 0.727273 | 0.165138 | 0.348624 | 0.422018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081481 | 0.081633 | 147 | 4 | 57 | 36.75 | 0.725926 | 0 | 0 | 0 | 0 | 0 | 0.653061 | 0.557823 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
540729192759137cb0afd42990831676554373fd | 657 | py | Python | meridian/channels/lung.py | sinotradition/meridian | 8c6c1762b204b72346be4bbfb74dedd792ae3024 | [
"Apache-2.0"
] | 5 | 2015-12-14T15:14:23.000Z | 2022-02-09T10:15:33.000Z | meridian/channels/lung.py | sinotradition/meridian | 8c6c1762b204b72346be4bbfb74dedd792ae3024 | [
"Apache-2.0"
] | null | null | null | meridian/channels/lung.py | sinotradition/meridian | 8c6c1762b204b72346be4bbfb74dedd792ae3024 | [
"Apache-2.0"
] | 3 | 2015-11-27T05:23:49.000Z | 2020-11-28T09:01:56.000Z | #!/usr/bin/python
#coding=utf-8
'''
@author: sheng
@license:
'''
from meridian.acupoints import zhongfu13
from meridian.acupoints import yunmen22
from meridian.acupoints import tianfu13
from meridian.acupoints import xiabai22
from meridian.acupoints import chize32
from meridian.acupoints import kongzui34
from meri... | 19.323529 | 42 | 0.808219 | 84 | 657 | 6.22619 | 0.488095 | 0.25239 | 0.441683 | 0.567878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.114155 | 657 | 33 | 43 | 19.909091 | 0.857388 | 0.082192 | 0 | 0 | 0 | 0 | 0.10101 | 0.040404 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.578947 | 0 | 0.578947 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
580af26b740a7304c8b21122e96ccdb142f1d603 | 15,766 | py | Python | legwork/snr.py | katiebreivik/LEGWORK | 07c3938697ca622fc39d9617d74f28262ac2b1aa | [
"MIT"
] | 12 | 2021-02-22T23:24:42.000Z | 2021-08-05T21:47:55.000Z | legwork/snr.py | katiebreivik/LEGWORK | 07c3938697ca622fc39d9617d74f28262ac2b1aa | [
"MIT"
] | 24 | 2021-02-12T22:41:08.000Z | 2021-09-23T21:13:16.000Z | legwork/snr.py | katiebreivik/LEGWORK | 07c3938697ca622fc39d9617d74f28262ac2b1aa | [
"MIT"
] | null | null | null | """Functions to calculate signal-to-noise ratio in four different cases"""
import numpy as np
from legwork import strain, psd, utils, evol
import astropy.units as u
__all__ = ['snr_circ_stationary', 'snr_ecc_stationary',
'snr_circ_evolving', 'snr_ecc_evolving']
def snr_circ_stationary(m_c, f_orb, dist, t... | 38.360097 | 110 | 0.661614 | 2,339 | 15,766 | 4.236426 | 0.099615 | 0.01978 | 0.016954 | 0.01211 | 0.850237 | 0.823191 | 0.802906 | 0.796448 | 0.781108 | 0.767686 | 0 | 0.014688 | 0.252949 | 15,766 | 410 | 111 | 38.453659 | 0.826626 | 0.552899 | 0 | 0.444444 | 0 | 0 | 0.013651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.027778 | 0 | 0.138889 | 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 |
58739c434d6fe1bf754096d072202b7c23ac5f69 | 2,508 | py | Python | tests/sentry/api/endpoints/test_broadcast_details.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | 1 | 2019-10-17T17:46:16.000Z | 2019-10-17T17:46:16.000Z | tests/sentry/api/endpoints/test_broadcast_details.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/api/endpoints/test_broadcast_details.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
import six
from sentry.models import Broadcast, BroadcastSeen
from sentry.testutils import APITestCase
class BroadcastDetailsTest(APITestCase):
def test_simple(self):
broadcast1 = Broadcast.objects.create(message="bar", is_active=True)
Broadcast.objects.cre... | 41.114754 | 97 | 0.689394 | 289 | 2,508 | 5.892734 | 0.207612 | 0.093952 | 0.063418 | 0.102173 | 0.831474 | 0.831474 | 0.831474 | 0.812096 | 0.785672 | 0.735173 | 0 | 0.019052 | 0.183812 | 2,508 | 60 | 98 | 41.8 | 0.812897 | 0 | 0 | 0.622222 | 0 | 0 | 0.074163 | 0.02512 | 0 | 0 | 0 | 0 | 0.311111 | 1 | 0.066667 | false | 0 | 0.088889 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
543b67388ed70f0bb63b95f51eeb3b46c3853782 | 19,767 | py | Python | apysc/_console/assertion.py | simon-ritchie/apyscript | c319f8ab2f1f5f7fad8d2a8b4fc06e7195476279 | [
"MIT"
] | 16 | 2021-04-16T02:01:29.000Z | 2022-01-01T08:53:49.000Z | apysc/_console/assertion.py | simon-ritchie/apysc | 61d0078e5f3b702eaacceedfbe6e5cafe48f8033 | [
"MIT"
] | 613 | 2021-03-24T03:37:38.000Z | 2022-03-26T10:58:37.000Z | apysc/_console/assertion.py | simon-ritchie/apyscript | c319f8ab2f1f5f7fad8d2a8b4fc06e7195476279 | [
"MIT"
] | 2 | 2021-06-20T07:32:58.000Z | 2021-12-26T08:22:11.000Z | """Each js assertion (console.assert) interface implementations.
Mainly following interfaces are defined:
- assert_equal
JavaScript assertion interface for equal condition.
- assert_not_equal
JavaScript assertion interface for not equal condition.
- assert_true
JavaScript assertion interface for ... | 32.404918 | 79 | 0.609248 | 2,269 | 19,767 | 5.047598 | 0.066108 | 0.01886 | 0.048895 | 0.054134 | 0.833843 | 0.817428 | 0.787829 | 0.770279 | 0.751681 | 0.70427 | 0 | 0.001449 | 0.301614 | 19,767 | 609 | 80 | 32.458128 | 0.828178 | 0.360702 | 0 | 0.603922 | 0 | 0 | 0.069761 | 0.028452 | 0 | 0 | 0 | 0 | 0.184314 | 1 | 0.066667 | false | 0 | 0.109804 | 0 | 0.223529 | 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 |
5495fdd0f647d9922da485a1f10301c1c1883eeb | 38 | py | Python | alphaorm/__init__.py | emetowinner/python-alpha-orm | 045c77d93c7c75956f19d40565c0c806bd18b6c6 | [
"MIT"
] | 2 | 2019-12-06T05:18:31.000Z | 2020-11-07T01:53:51.000Z | alphaorm/__init__.py | emetowinner/python-alpha-orm | 045c77d93c7c75956f19d40565c0c806bd18b6c6 | [
"MIT"
] | 7 | 2020-04-12T23:18:16.000Z | 2020-09-30T17:41:09.000Z | alphaorm/__init__.py | emetowinner/python-alpha-orm | 045c77d93c7c75956f19d40565c0c806bd18b6c6 | [
"MIT"
] | 2 | 2019-12-06T05:18:31.000Z | 2020-09-29T09:45:03.000Z | from alphaorm.AlphaORM import AlphaORM | 38 | 38 | 0.894737 | 5 | 38 | 6.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 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 |
49b3a3dcd9c885170d2859f6709bc139ac64a662 | 834 | py | Python | CVE-2020-0796-DoS.py | cory-zajicek/CVE-2020-0796-Scanner | 35b40e7dafba6da5093637437a58bada428b0f89 | [
"MIT"
] | 2 | 2020-06-06T08:14:32.000Z | 2021-12-05T20:41:41.000Z | CVE-2020-0796-DoS.py | cory-zajicek/CVE-2020-0796-Scanner | 35b40e7dafba6da5093637437a58bada428b0f89 | [
"MIT"
] | null | null | null | CVE-2020-0796-DoS.py | cory-zajicek/CVE-2020-0796-Scanner | 35b40e7dafba6da5093637437a58bada428b0f89 | [
"MIT"
] | 2 | 2020-06-10T10:52:29.000Z | 2021-12-05T20:41:42.000Z | import socket, sys
if len(sys.argv) != 2:
sys.exit("Usage: <script>.py <target IP>")
bytes_a = b"\x00\x00\x00\xc6\xfeSMB@"
bytes_b = b'\x00$\x00\x08\x00\x00\x00\x00\x00\x7f\x00\x00\x00\x01\x02\xab\xcd\x01\x02\xab\xcd\x01\x02\xab\xcd\x01\x02\xab\xcdx\x00\x00\x00\x02\x00\x00\x00\x02\x02\x10\x02"\x02$\x02\x00\... | 37.909091 | 276 | 0.671463 | 177 | 834 | 3.112994 | 0.293785 | 0.381125 | 0.326679 | 0.174229 | 0.299456 | 0.23412 | 0.23412 | 0.08167 | 0.08167 | 0.08167 | 0 | 0.271277 | 0.098321 | 834 | 21 | 277 | 39.714286 | 0.461436 | 0 | 0 | 0 | 0 | 0.2 | 0.573186 | 0.504305 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b721e3a4ed4bdd26e7dde9a0881fd89e06a57b25 | 11,866 | py | Python | tests/test_jobstores.py | calledbert/django-apscheduler | 8947bb55976718b634e81ad54b64f53e300d12df | [
"MIT"
] | 331 | 2016-07-12T07:03:08.000Z | 2021-01-26T23:23:36.000Z | tests/test_jobstores.py | calledbert/django-apscheduler | 8947bb55976718b634e81ad54b64f53e300d12df | [
"MIT"
] | 115 | 2016-07-07T15:23:25.000Z | 2021-01-21T17:16:10.000Z | tests/test_jobstores.py | calledbert/django-apscheduler | 8947bb55976718b634e81ad54b64f53e300d12df | [
"MIT"
] | 92 | 2016-11-01T16:10:06.000Z | 2021-01-25T03:59:58.000Z | import warnings
from datetime import datetime
from unittest import mock
import pytest
from apscheduler import events
from apscheduler.events import JobExecutionEvent, JobSubmissionEvent
from django import db
from django.utils import timezone
from django_apscheduler.jobstores import (
DjangoJobStore,
register_... | 38.032051 | 106 | 0.666358 | 1,366 | 11,866 | 5.489019 | 0.116398 | 0.032009 | 0.046946 | 0.052814 | 0.807682 | 0.788744 | 0.778741 | 0.758469 | 0.724193 | 0.644572 | 0 | 0.007628 | 0.248694 | 11,866 | 311 | 107 | 38.154341 | 0.833427 | 0.025198 | 0 | 0.602459 | 0 | 0 | 0.070519 | 0.035693 | 0 | 0 | 0 | 0 | 0.098361 | 1 | 0.094262 | false | 0 | 0.04918 | 0 | 0.151639 | 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 |
3f818ff851bf166cd809361e7114d1dff6eaefec | 151 | py | Python | tests/test00.py | mykarl/python-to-perl | 521f1907d183e69a125d585427550a346b43345f | [
"MIT"
] | null | null | null | tests/test00.py | mykarl/python-to-perl | 521f1907d183e69a125d585427550a346b43345f | [
"MIT"
] | null | null | null | tests/test00.py | mykarl/python-to-perl | 521f1907d183e69a125d585427550a346b43345f | [
"MIT"
] | null | null | null | #!/usr/bin/python3
number = 2
number = number * number * number
print (number * number * number)
print ("!@#$%^&*()-=") # testing character matching
| 18.875 | 51 | 0.635762 | 17 | 151 | 5.647059 | 0.529412 | 0.625 | 0.5625 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.165563 | 151 | 7 | 52 | 21.571429 | 0.746032 | 0.291391 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b7a0a1f109c3984f603312d7647beb6d6a210b10 | 14,518 | py | Python | v1/OrganizationAPI/views.py | DhruvThakker/organization_dashboard_api | 1c140149be7a3c936f67f2cd5fcc7332f1365047 | [
"MIT"
] | null | null | null | v1/OrganizationAPI/views.py | DhruvThakker/organization_dashboard_api | 1c140149be7a3c936f67f2cd5fcc7332f1365047 | [
"MIT"
] | null | null | null | v1/OrganizationAPI/views.py | DhruvThakker/organization_dashboard_api | 1c140149be7a3c936f67f2cd5fcc7332f1365047 | [
"MIT"
] | null | null | null | from rest_framework import generics
from api import *
from serializers import OrganizationSerializer, OrganizationStudentSerializer, OrganizationGradeSerializer, OrganizationCertificateSerializer
from rest_framework.permissions import IsAdminUser
from django.http import Http404
from rest_framework.authentication import... | 31.69869 | 141 | 0.577766 | 1,416 | 14,518 | 5.852401 | 0.103814 | 0.049958 | 0.017377 | 0.015446 | 0.916737 | 0.913841 | 0.913841 | 0.905032 | 0.892724 | 0.862314 | 0 | 0.011459 | 0.368852 | 14,518 | 458 | 142 | 31.69869 | 0.892939 | 0.625362 | 0 | 0.693333 | 0 | 0 | 0.026265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053333 | false | 0 | 0.093333 | 0 | 0.68 | 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 |
b7bc72bbcc88f2f5e9f214e159a50a96cba47e04 | 198 | py | Python | src/jober/admin.py | kurrbanov/jober | ffa792b8242de3dff6af5716b929239732c41b62 | [
"MIT"
] | null | null | null | src/jober/admin.py | kurrbanov/jober | ffa792b8242de3dff6af5716b929239732c41b62 | [
"MIT"
] | null | null | null | src/jober/admin.py | kurrbanov/jober | ffa792b8242de3dff6af5716b929239732c41b62 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
# Register your models here.
admin.site.register(Applicant)
admin.site.register(Company)
admin.site.register(Like)
admin.site.register(Match)
| 22 | 32 | 0.80303 | 28 | 198 | 5.678571 | 0.5 | 0.226415 | 0.427673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 198 | 8 | 33 | 24.75 | 0.883333 | 0.131313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b7ed42951af869f5ce9c11974d687d447c7a74e2 | 29 | py | Python | videoanalyst/model/backbone/__init__.py | lizhenbang56/Manipulating-Template-Pixels-for-Model-Adaptation-of-Siamese-Visual-Tracking | 76b88d8e68ac3d575a2ce81fc07ee2fce5f050d6 | [
"MIT"
] | 2 | 2020-07-30T08:26:08.000Z | 2020-11-24T07:40:46.000Z | videoanalyst/model/backbone/__init__.py | shartoo/video_analyst | db7c1b323f26ec19533a4b19804cf2c8a52643e5 | [
"MIT"
] | null | null | null | videoanalyst/model/backbone/__init__.py | shartoo/video_analyst | db7c1b323f26ec19533a4b19804cf2c8a52643e5 | [
"MIT"
] | null | null | null | from .backbone_impl import *
| 29 | 29 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
4d1e1ff262c515006e9c040b9b75dac600b06f5f | 145 | py | Python | app/users/__init__.py | lpdswing/flask-pyjwt-demo | 009e052690e19b79a8fa2b0cc3094cc6e193397d | [
"Apache-2.0"
] | 3 | 2019-03-20T08:39:50.000Z | 2019-04-12T13:00:45.000Z | app/users/__init__.py | lpdswing/flask-pyjwt-demo | 009e052690e19b79a8fa2b0cc3094cc6e193397d | [
"Apache-2.0"
] | null | null | null | app/users/__init__.py | lpdswing/flask-pyjwt-demo | 009e052690e19b79a8fa2b0cc3094cc6e193397d | [
"Apache-2.0"
] | null | null | null | #-*- coding:utf-8 -*-
# datetime: 2019/3/20 9:21
from flask import Blueprint
auth = Blueprint('auth', __name__)
from . import api, urls, model | 18.125 | 34 | 0.682759 | 22 | 145 | 4.318182 | 0.818182 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 0.158621 | 145 | 8 | 35 | 18.125 | 0.688525 | 0.310345 | 0 | 0 | 0 | 0 | 0.040404 | 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 |
4d963e8d5f477db24af81424b51901e5a9ee4831 | 2,611 | py | Python | jobs/tests/tasks/test_update_detours.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | 3 | 2020-05-05T12:12:09.000Z | 2020-05-08T08:48:16.000Z | jobs/tests/tasks/test_update_detours.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | 160 | 2020-05-19T13:03:43.000Z | 2022-03-12T00:35:28.000Z | jobs/tests/tasks/test_update_detours.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | null | null | null | from unittest import mock
import pytest
from model_bakery import baker
pytestmark = pytest.mark.django_db
@mock.patch("jobs.tasks.update_detours.calculate_route_length")
def test_update_detours_for_route(
calculate_route_length_mock, client_anonymous, settings
):
settings.FEATURES["routes"] = True
defa... | 31.457831 | 82 | 0.719648 | 349 | 2,611 | 5.037249 | 0.209169 | 0.09215 | 0.056883 | 0.054608 | 0.894198 | 0.883959 | 0.844141 | 0.844141 | 0.844141 | 0.844141 | 0 | 0.025902 | 0.171965 | 2,611 | 82 | 83 | 31.841463 | 0.787234 | 0 | 0 | 0.65625 | 0 | 0 | 0.186136 | 0.104941 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.03125 | false | 0 | 0.046875 | 0 | 0.078125 | 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 |
4da33b342bc4984c6ee56a48a006eac2c1e2c47a | 29,677 | py | Python | pybind/nos/v7_1_0/rbridge_id/router/ospf/area/virtual_link/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/router/ospf/area/virtual_link/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/router/ospf/area/virtual_link/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 87.285294 | 752 | 0.743539 | 4,094 | 29,677 | 5.157792 | 0.055203 | 0.03315 | 0.03978 | 0.031824 | 0.857643 | 0.832402 | 0.824872 | 0.816348 | 0.810949 | 0.804887 | 0 | 0.024048 | 0.11022 | 29,677 | 339 | 753 | 87.542773 | 0.775619 | 0.134953 | 0 | 0.457944 | 0 | 0.046729 | 0.401792 | 0.188006 | 0 | 0 | 0 | 0 | 0 | 1 | 0.11215 | false | 0.018692 | 0.046729 | 0 | 0.275701 | 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 |
4dc567d79739ebdd5a03cb12cd552429f4022e31 | 120 | py | Python | chiki_deploy/__init__.py | endsh/chiki-deploy | d02ab458b2319629ce11bd1bc604681f61887a9a | [
"MIT"
] | null | null | null | chiki_deploy/__init__.py | endsh/chiki-deploy | d02ab458b2319629ce11bd1bc604681f61887a9a | [
"MIT"
] | null | null | null | chiki_deploy/__init__.py | endsh/chiki-deploy | d02ab458b2319629ce11bd1bc604681f61887a9a | [
"MIT"
] | null | null | null | # coding: utf-8
from .front import *
from .nginx import *
from .server import *
from .utils import *
from .web import *
| 17.142857 | 21 | 0.7 | 18 | 120 | 4.666667 | 0.555556 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.191667 | 120 | 6 | 22 | 20 | 0.85567 | 0.108333 | 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 |
1501110dcc378051e8482666938c183d918a535a | 30 | py | Python | pydeepl/__init__.py | spandanagella/pydeepl | 48186685e4bcb4b029ac683bcad575fe0e9654d5 | [
"MIT"
] | null | null | null | pydeepl/__init__.py | spandanagella/pydeepl | 48186685e4bcb4b029ac683bcad575fe0e9654d5 | [
"MIT"
] | null | null | null | pydeepl/__init__.py | spandanagella/pydeepl | 48186685e4bcb4b029ac683bcad575fe0e9654d5 | [
"MIT"
] | 1 | 2020-06-04T21:05:57.000Z | 2020-06-04T21:05:57.000Z | from .pydeepl import translate | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 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 |
12913fc271ba713c2d294299a48edacbdbf5a74e | 147 | py | Python | tools/main/process/Validators/__init__.py | hidura/sugelico | d3c76f358a788d5f3a891cf0a7dd7420ac3a7845 | [
"MIT"
] | null | null | null | tools/main/process/Validators/__init__.py | hidura/sugelico | d3c76f358a788d5f3a891cf0a7dd7420ac3a7845 | [
"MIT"
] | null | null | null | tools/main/process/Validators/__init__.py | hidura/sugelico | d3c76f358a788d5f3a891cf0a7dd7420ac3a7845 | [
"MIT"
] | null | null | null | from tools.main.process.Validators.Login import ValidLogin
from tools.main.process.Validators.Commerce import ValidCommerce
__author__ = 'hidura'
| 29.4 | 64 | 0.843537 | 18 | 147 | 6.666667 | 0.666667 | 0.15 | 0.216667 | 0.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 147 | 4 | 65 | 36.75 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12ab1902dc9ec092bf67a58d8cbae8bc33396fcc | 25 | py | Python | recognition/ocr/psenet/model/__init__.py | kalenforn/MMVA | 1e4ec5417d4497a14f226fab8a66fe065a9f0f65 | [
"MIT"
] | 4 | 2021-12-16T08:17:49.000Z | 2022-03-12T10:14:50.000Z | recognition/ocr/psenet/model/__init__.py | kalenforn/video-content-clean | 4b6e572ec034fbe2e668c250cff8e1c9a13dd0e0 | [
"MIT"
] | null | null | null | recognition/ocr/psenet/model/__init__.py | kalenforn/video-content-clean | 4b6e572ec034fbe2e668c250cff8e1c9a13dd0e0 | [
"MIT"
] | 1 | 2021-12-14T08:17:41.000Z | 2021-12-14T08:17:41.000Z | from .model import PSENet | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12d2ab083352bdf48400fc6be0971f22d482d892 | 193 | py | Python | rest_api/__init__.py | rajasgs/flask-rest-math-simple | 3a4206be66f3e53e669daaca924eb32b34b28822 | [
"MIT"
] | null | null | null | rest_api/__init__.py | rajasgs/flask-rest-math-simple | 3a4206be66f3e53e669daaca924eb32b34b28822 | [
"MIT"
] | 2 | 2021-04-27T13:53:45.000Z | 2021-06-02T02:34:43.000Z | rest_api/__init__.py | rajasgs/flask-rest-math-simple | 3a4206be66f3e53e669daaca924eb32b34b28822 | [
"MIT"
] | null | null | null | from flask import Blueprint
api = Blueprint('dummy_name', __name__)
from .index import *
from .template_controller import *
from .math_controller import *
from .placeholder_controller import * | 27.571429 | 39 | 0.803109 | 24 | 193 | 6.125 | 0.5 | 0.204082 | 0.272109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124352 | 193 | 7 | 40 | 27.571429 | 0.869822 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0.333333 | 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 |
12dad653ca60c14aa5130fed995b916d974fda0a | 3,324 | py | Python | src/ast_toolbox/mcts/AST_MCTS.py | hdelecki/AdaptiveStressTestingToolbox | 184d7d7f1b4acb65eecb749e3c3a78cbcfc3c4ed | [
"MIT"
] | 29 | 2019-01-09T23:56:35.000Z | 2022-03-18T03:41:10.000Z | src/ast_toolbox/mcts/AST_MCTS.py | hdelecki/AdaptiveStressTestingToolbox | 184d7d7f1b4acb65eecb749e3c3a78cbcfc3c4ed | [
"MIT"
] | 39 | 2019-01-10T00:32:26.000Z | 2022-03-12T00:29:05.000Z | src/ast_toolbox/mcts/AST_MCTS.py | hdelecki/AdaptiveStressTestingToolbox | 184d7d7f1b4acb65eecb749e3c3a78cbcfc3c4ed | [
"MIT"
] | 11 | 2019-01-10T08:11:47.000Z | 2021-12-28T15:56:02.000Z | import ast_toolbox.mcts.MCTSdpw as MCTSdpw
import ast_toolbox.mcts.MDP as MDP
def rollout_getAction(ast):
"""Get the rollout function from ast.
Parameters
----------
ast : :py:class:`ast_toolbox.mcts.AdaptiveStressTest.AdaptiveStressTesting`
The AST object.
"""
def rollout_policy(s, t... | 32.588235 | 103 | 0.697353 | 401 | 3,324 | 5.63591 | 0.209476 | 0.053097 | 0.074336 | 0.075221 | 0.797345 | 0.779646 | 0.779646 | 0.779646 | 0.779646 | 0.779646 | 0 | 0.001137 | 0.206378 | 3,324 | 101 | 104 | 32.910891 | 0.855572 | 0.533093 | 0 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193548 | false | 0 | 0.064516 | 0.064516 | 0.516129 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
421cb04b319cf61007343439df6c69238a9ccc22 | 72 | py | Python | chatbot/tests.py | kunci115/cerdas | 5c956960904ef96677a30405a3b2af53d714689e | [
"MIT"
] | 40 | 2019-03-31T03:32:17.000Z | 2022-02-23T13:43:45.000Z | chatbot/tests.py | kunci115/cerdas | 5c956960904ef96677a30405a3b2af53d714689e | [
"MIT"
] | 3 | 2019-03-19T10:40:08.000Z | 2019-03-30T18:27:35.000Z | chatbot/tests.py | kunci115/cerdas | 5c956960904ef96677a30405a3b2af53d714689e | [
"MIT"
] | 9 | 2019-03-18T02:37:13.000Z | 2020-12-16T13:59:34.000Z | from __future__ import print_function
from django.test import TestCase
| 18 | 37 | 0.861111 | 10 | 72 | 5.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 72 | 3 | 38 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
42409f948832c254702a14993659abe90cd21938 | 4,288 | py | Python | tests/test_rnn_dropout.py | sagnik/baseline | 8d75616e04c1cca509dbebbb6d08ad7e1a7b9f88 | [
"Apache-2.0"
] | 20 | 2019-11-13T01:09:53.000Z | 2022-03-25T16:26:35.000Z | tests/test_rnn_dropout.py | sagnik/baseline | 8d75616e04c1cca509dbebbb6d08ad7e1a7b9f88 | [
"Apache-2.0"
] | 131 | 2019-10-12T10:53:17.000Z | 2021-12-03T19:52:47.000Z | tests/test_rnn_dropout.py | sagnik/baseline | 8d75616e04c1cca509dbebbb6d08ad7e1a7b9f88 | [
"Apache-2.0"
] | 7 | 2020-02-04T15:35:59.000Z | 2022-03-12T13:22:20.000Z | import os
import pytest
pytest.skip("This has been broken for a while, will fix soon, BL", allow_module_level=True)
import numpy as np
tf = pytest.importorskip("tensorflow")
from baseline.tf.tfy import rnn_cell_w_dropout, lstm_cell_w_dropout
@pytest.fixture(scope="module")
def set_cpu():
os.environ["CUDA_VISIBL... | 45.617021 | 119 | 0.634795 | 610 | 4,288 | 4.204918 | 0.159016 | 0.05614 | 0.038986 | 0.040546 | 0.903314 | 0.882261 | 0.882261 | 0.882261 | 0.882261 | 0.870565 | 0 | 0.050456 | 0.232743 | 4,288 | 93 | 120 | 46.107527 | 0.729179 | 0 | 0 | 0.683544 | 0 | 0 | 0.057836 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 1 | 0.063291 | false | 0 | 0.063291 | 0 | 0.126582 | 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 |
42566ff76db628c9a53d6a492a66762803d0990f | 133 | py | Python | naucse/cli.py | befeleme/naucse.python.cz | dee2c8cce8db90108b01b40c0981053943352d11 | [
"MIT"
] | 4 | 2019-02-14T08:02:41.000Z | 2020-10-20T10:35:55.000Z | naucse/cli.py | befeleme/naucse.python.cz | dee2c8cce8db90108b01b40c0981053943352d11 | [
"MIT"
] | 71 | 2018-08-26T22:31:39.000Z | 2022-01-20T10:29:23.000Z | naucse/cli.py | befeleme/naucse.python.cz | dee2c8cce8db90108b01b40c0981053943352d11 | [
"MIT"
] | 40 | 2018-08-22T14:44:59.000Z | 2021-09-20T16:11:27.000Z | import elsa
from naucse.views import app
def main():
# XXX: Arca stuff
elsa.cli(app, base_url='https://naucse.python.cz')
| 14.777778 | 54 | 0.676692 | 21 | 133 | 4.238095 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18797 | 133 | 8 | 55 | 16.625 | 0.824074 | 0.112782 | 0 | 0 | 0 | 0 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
426ce06f78b6f756ae8c48144ef040f44d71bd60 | 148 | py | Python | canteen/templates/compiled/snippets/__init__.py | dbl0null/canteen | 3bef22a2059ef6ac5df178324fbc1dba45316e22 | [
"MIT"
] | 2 | 2016-08-24T18:42:41.000Z | 2017-12-08T00:41:02.000Z | canteen/templates/compiled/snippets/__init__.py | dbl0null/canteen | 3bef22a2059ef6ac5df178324fbc1dba45316e22 | [
"MIT"
] | null | null | null | canteen/templates/compiled/snippets/__init__.py | dbl0null/canteen | 3bef22a2059ef6ac5df178324fbc1dba45316e22 | [
"MIT"
] | 2 | 2015-09-22T05:36:27.000Z | 2017-12-08T00:41:21.000Z | # -*- coding: utf-8 -*-
"""
compiled templates: compiled.snippets
"""
# subtemplates
from canteen.templates.compiled.snippets.test import *
| 12.333333 | 54 | 0.682432 | 15 | 148 | 6.733333 | 0.733333 | 0.336634 | 0.49505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.162162 | 148 | 11 | 55 | 13.454545 | 0.806452 | 0.493243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
42ad346cf207f7113f8aa65651f1c6d4268e84a3 | 7,858 | py | Python | patch_manager_sdk/api/patch_task/patch_task_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | patch_manager_sdk/api/patch_task/patch_task_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | patch_manager_sdk/api/patch_task/patch_task_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
import patch_manager_sdk.api.patch_task.create_task_pb2
import patch_manager_sdk.api.patch_task.get_task_detail_pb2
import patch_manager_sdk.api.patch_task.list_task_pb2
import patch_manager_sdk.model.easy_command.task_detail_pb2
import patch_manager_sdk.api.patch_task... | 39.686869 | 194 | 0.648129 | 904 | 7,858 | 5.266593 | 0.137168 | 0.095778 | 0.094518 | 0.071834 | 0.820206 | 0.816005 | 0.798362 | 0.79101 | 0.78975 | 0.751103 | 0 | 0.00638 | 0.262026 | 7,858 | 197 | 195 | 39.888325 | 0.814623 | 0.232502 | 0 | 0.699187 | 0 | 0 | 0.093373 | 0.083231 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04065 | false | 0 | 0.073171 | 0 | 0.154472 | 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 |
c4074cd5eb8df55a70f579a712e8c1f26da6518d | 45,952 | py | Python | src/CLA/lampam_functions.py | noemiefedon/LAYLA | b4aec89131c5bca98d7a0f961090c9152800eccc | [
"MIT"
] | null | null | null | src/CLA/lampam_functions.py | noemiefedon/LAYLA | b4aec89131c5bca98d7a0f961090c9152800eccc | [
"MIT"
] | null | null | null | src/CLA/lampam_functions.py | noemiefedon/LAYLA | b4aec89131c5bca98d7a0f961090c9152800eccc | [
"MIT"
] | 1 | 2021-12-02T21:10:06.000Z | 2021-12-02T21:10:06.000Z | # -*- coding: utf-8 -*-
"""
Functions to calculate lamination parameters
- filter_lampam
returns lamination parameters where a few numerical approximations have
been filtered regarding the constraints for laminate symmetry and balance,
and the fibre orientations used
- calc_lampam, calc_lampam_2
calcu... | 38.485762 | 83 | 0.655053 | 6,753 | 45,952 | 4.209685 | 0.046202 | 0.049599 | 0.028141 | 0.049247 | 0.869882 | 0.83759 | 0.811278 | 0.791614 | 0.767588 | 0.734557 | 0 | 0.0241 | 0.248716 | 45,952 | 1,193 | 84 | 38.518022 | 0.799351 | 0.453865 | 0 | 0.681818 | 0 | 0 | 0.068212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037879 | false | 0.007576 | 0.00947 | 0 | 0.106061 | 0.020833 | 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 |
c45a29b83e992c2db9b153b6e98d5ad7fe3aa779 | 193 | py | Python | tws_equities/helpers/__init__.py | ajmal017/TWS-Equities | 12865df32726b1ae50875d800588a714c08de086 | [
"MIT"
] | null | null | null | tws_equities/helpers/__init__.py | ajmal017/TWS-Equities | 12865df32726b1ae50875d800588a714c08de086 | [
"MIT"
] | null | null | null | tws_equities/helpers/__init__.py | ajmal017/TWS-Equities | 12865df32726b1ae50875d800588a714c08de086 | [
"MIT"
] | 5 | 2021-01-05T13:07:03.000Z | 2021-02-16T18:03:05.000Z | # -*- coding: utf-8 -*-
from tws_equities.helpers.contract_maker import create_stock
from tws_equities.helpers.utils import *
HISTORICAL_DATA_STORAGE = join(PROJECT_ROOT, 'historical_data')
| 24.125 | 63 | 0.792746 | 26 | 193 | 5.576923 | 0.730769 | 0.096552 | 0.206897 | 0.303448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.103627 | 193 | 7 | 64 | 27.571429 | 0.83237 | 0.108808 | 0 | 0 | 0 | 0 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c45c155ad9530aa8511d0138db88b6d13805def3 | 474 | py | Python | utilities/tfwrapper/__init__.py | wong-ck/DeepSegment | 01c04b2d80355b97d3494e0073ba35ef9c98e546 | [
"MIT"
] | null | null | null | utilities/tfwrapper/__init__.py | wong-ck/DeepSegment | 01c04b2d80355b97d3494e0073ba35ef9c98e546 | [
"MIT"
] | null | null | null | utilities/tfwrapper/__init__.py | wong-ck/DeepSegment | 01c04b2d80355b97d3494e0073ba35ef9c98e546 | [
"MIT"
] | null | null | null | # Written by Chun Kit Wong and CIRC under MIT license:
# https://github.com/wong-ck/DeepSegment/blob/master/LICENSE
from utilities.tfwrapper import model
from utilities.tfwrapper import layer
from utilities.tfwrapper import loss
from utilities.tfwrapper import optimizer
from utilities.tfwrapper import estimator
from... | 29.625 | 60 | 0.841772 | 65 | 474 | 6.123077 | 0.476923 | 0.29397 | 0.497487 | 0.633166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111814 | 474 | 15 | 61 | 31.6 | 0.945368 | 0.234177 | 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 |
c465bb661162e09c744b3b1fd66a2b3460cbf343 | 264 | py | Python | medimodule/base.py | namyouth/MI2RLNet | 1b17723706207d5f841e72d9a0bebfd6ec831c07 | [
"Apache-2.0"
] | null | null | null | medimodule/base.py | namyouth/MI2RLNet | 1b17723706207d5f841e72d9a0bebfd6ec831c07 | [
"Apache-2.0"
] | null | null | null | medimodule/base.py | namyouth/MI2RLNet | 1b17723706207d5f841e72d9a0bebfd6ec831c07 | [
"Apache-2.0"
] | null | null | null | from abc import *
class BaseModule(metaclass=ABCMeta):
@abstractmethod
def init(self, weight_path):
pass
@abstractmethod
def _preprocessing(self, path):
pass
@abstractmethod
def predict(self, img):
pass
| 16.5 | 36 | 0.613636 | 26 | 264 | 6.153846 | 0.653846 | 0.31875 | 0.275 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.310606 | 264 | 15 | 37 | 17.6 | 0.879121 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.090909 | 0 | 0.454545 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
09ffd708ba04880bfbb7dd5da2eef9fb4bd4d6b8 | 22 | py | Python | libs/arthur/document/__init__.py | jaycode/Arthur.workspace | 7a581104141ee5f556e058b1276b4087a2921dfc | [
"Apache-2.0"
] | null | null | null | libs/arthur/document/__init__.py | jaycode/Arthur.workspace | 7a581104141ee5f556e058b1276b4087a2921dfc | [
"Apache-2.0"
] | null | null | null | libs/arthur/document/__init__.py | jaycode/Arthur.workspace | 7a581104141ee5f556e058b1276b4087a2921dfc | [
"Apache-2.0"
] | null | null | null | from document import * | 22 | 22 | 0.818182 | 3 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6705d964c5ae71dbef28447d7b17cc4f8aaffe90 | 189 | py | Python | py2swagger/plugins/drf/introspectors/__init__.py | eguven/py2swagger | 729bc96557b217f48e78db4e78e561ee93eee17d | [
"MIT"
] | 29 | 2016-09-15T13:28:21.000Z | 2022-01-06T14:48:48.000Z | py2swagger/plugins/drf/introspectors/__init__.py | eguven/py2swagger | 729bc96557b217f48e78db4e78e561ee93eee17d | [
"MIT"
] | 3 | 2017-05-12T08:26:30.000Z | 2021-09-21T16:33:34.000Z | py2swagger/plugins/drf/introspectors/__init__.py | eguven/py2swagger | 729bc96557b217f48e78db4e78e561ee93eee17d | [
"MIT"
] | 8 | 2016-11-25T10:50:10.000Z | 2020-10-30T20:24:34.000Z | from distutils.version import StrictVersion
from rest_framework import VERSION as REST_FRAMEWORK_VERSION
REST_FRAMEWORK_V3 = StrictVersion(REST_FRAMEWORK_VERSION) > StrictVersion('3.0.0')
| 37.8 | 82 | 0.857143 | 25 | 189 | 6.2 | 0.44 | 0.335484 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023121 | 0.084656 | 189 | 4 | 83 | 47.25 | 0.872832 | 0 | 0 | 0 | 0 | 0 | 0.026455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6756e833672d5fc65996f4205d09ac2ce70bfbc4 | 3,868 | py | Python | irekua_rest_api/permissions/items.py | IslasGECI/irekua-rest-api | 35cf5153ed7f54d12ebad2ac07d472585f04e3e7 | [
"BSD-4-Clause"
] | null | null | null | irekua_rest_api/permissions/items.py | IslasGECI/irekua-rest-api | 35cf5153ed7f54d12ebad2ac07d472585f04e3e7 | [
"BSD-4-Clause"
] | 11 | 2020-03-28T18:51:50.000Z | 2022-01-13T01:47:40.000Z | irekua_rest_api/permissions/items.py | IslasGECI/irekua-rest-api | 35cf5153ed7f54d12ebad2ac07d472585f04e3e7 | [
"BSD-4-Clause"
] | 1 | 2021-05-06T19:38:14.000Z | 2021-05-06T19:38:14.000Z | from rest_framework.permissions import BasePermission
from irekua_permissions.annotations import (
annotations as annotation_permissions)
class CanAnnotate(BasePermission):
def has_permission(self, request, view):
item = view.get_object()
user = request.user
return annotation_permissio... | 29.30303 | 77 | 0.726732 | 420 | 3,868 | 6.438095 | 0.135714 | 0.134615 | 0.119083 | 0.120192 | 0.715976 | 0.715976 | 0.715976 | 0.715976 | 0.715976 | 0.715976 | 0 | 0 | 0.208376 | 3,868 | 131 | 78 | 29.526718 | 0.883083 | 0 | 0 | 0.614458 | 0 | 0 | 0.030765 | 0.025595 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156627 | false | 0 | 0.024096 | 0 | 0.542169 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
67632191d22aacd6ae3f95f94fc59722685070ad | 138 | py | Python | server/controller/__init__.py | cnavrides/wireless-debugging | 9c057d0127a5f8eebca4193af4bdb7e96c3ae6dd | [
"Apache-2.0"
] | 3 | 2017-06-23T15:19:31.000Z | 2018-03-07T01:31:37.000Z | server/controller/__init__.py | cnavrides/wireless-debugging | 9c057d0127a5f8eebca4193af4bdb7e96c3ae6dd | [
"Apache-2.0"
] | 75 | 2017-06-15T20:09:32.000Z | 2018-01-17T01:30:26.000Z | server/controller/__init__.py | cnavrides/wireless-debugging | 9c057d0127a5f8eebca4193af4bdb7e96c3ae6dd | [
"Apache-2.0"
] | 3 | 2017-06-17T04:39:10.000Z | 2017-08-16T15:25:00.000Z | """
Controller Module
"""
import controller.authentication
import controller.root
import controller.sessions
import controller.websocket
| 15.333333 | 32 | 0.833333 | 14 | 138 | 8.214286 | 0.5 | 0.556522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094203 | 138 | 8 | 33 | 17.25 | 0.92 | 0.123188 | 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 |
677f6d09ca6f5257b42f83e501f87c0909d4c0b1 | 178 | py | Python | examples/view_queue.py | n8jhj/SoonQ | 5a2f34c98aa8020cc9c6563d6e8e274f05feda2a | [
"MIT"
] | null | null | null | examples/view_queue.py | n8jhj/SoonQ | 5a2f34c98aa8020cc9c6563d6e8e274f05feda2a | [
"MIT"
] | null | null | null | examples/view_queue.py | n8jhj/SoonQ | 5a2f34c98aa8020cc9c6563d6e8e274f05feda2a | [
"MIT"
] | null | null | null | """View info about tasks in the queue.
"""
import soonq as sq
from soonq.commands import tabulate_task_items
def view_queue():
sq.echo(tabulate_task_items(max_entries=5))
| 17.8 | 47 | 0.758427 | 29 | 178 | 4.448276 | 0.724138 | 0.186047 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.146067 | 178 | 9 | 48 | 19.777778 | 0.842105 | 0.196629 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
67e284e26bd7c47f0d14e250b5a229501e16b50a | 209 | py | Python | 30-Days-of-Python-master/practice_day_9/practice.py | vimm0/python_exercise | 7773d95b4c25b82a9d014f7a814ac83df9ebac17 | [
"MIT"
] | null | null | null | 30-Days-of-Python-master/practice_day_9/practice.py | vimm0/python_exercise | 7773d95b4c25b82a9d014f7a814ac83df9ebac17 | [
"MIT"
] | null | null | null | 30-Days-of-Python-master/practice_day_9/practice.py | vimm0/python_exercise | 7773d95b4c25b82a9d014f7a814ac83df9ebac17 | [
"MIT"
] | 1 | 2018-01-04T16:27:31.000Z | 2018-01-04T16:27:31.000Z | import subprocess
# subprocess.call(["ls", "-l", "/etc/resolv.conf"])
# subprocess.call(["ls"])
import os
print(os.getcwd())
# '/home/user'
# os.chdir("/tmp/")
# subprocess.call(["ls"])
# os.getcwd()
# '/tmp' | 19 | 51 | 0.61244 | 28 | 209 | 4.571429 | 0.535714 | 0.328125 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100478 | 209 | 11 | 52 | 19 | 0.680851 | 0.703349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db0c32a35dd2f9e5e411d879edeac9eae20dc9a5 | 740 | py | Python | sdk/python/pulumi_aws_native/rds/__init__.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws_native/rds/__init__.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws_native/rds/__init__.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from .. import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .db_cluster import *
from .db_cluster_pa... | 30.833333 | 80 | 0.774324 | 111 | 740 | 4.927928 | 0.477477 | 0.274223 | 0.219378 | 0.124314 | 0.195612 | 0.100548 | 0 | 0 | 0 | 0 | 0 | 0.001587 | 0.148649 | 740 | 23 | 81 | 32.173913 | 0.866667 | 0.274324 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c01b1de26d27d74fa33c8e3aca130b6332927af9 | 1,073 | py | Python | qtile/unicodes.py | MysteryMage/dotfiles | f8604b93f25502ec7a3c6d29111130f6fb7dd0d5 | [
"MIT"
] | null | null | null | qtile/unicodes.py | MysteryMage/dotfiles | f8604b93f25502ec7a3c6d29111130f6fb7dd0d5 | [
"MIT"
] | null | null | null | qtile/unicodes.py | MysteryMage/dotfiles | f8604b93f25502ec7a3c6d29111130f6fb7dd0d5 | [
"MIT"
] | null | null | null | from libqtile.widget.textbox import TextBox
def left_half_circle(fg_color):
return TextBox(
text='\uE0B6',
fontsize=28,
foreground=fg_color,
padding=0)
def right_half_circle(fg_color):
return TextBox(
text='\uE0B4',
fontsize=28,
foreground=fg_color,
... | 19.87037 | 45 | 0.604846 | 126 | 1,073 | 4.912698 | 0.253968 | 0.135703 | 0.12601 | 0.193861 | 0.825525 | 0.825525 | 0.825525 | 0.710824 | 0.345719 | 0.345719 | 0 | 0.042497 | 0.298229 | 1,073 | 53 | 46 | 20.245283 | 0.779548 | 0 | 0 | 0.682927 | 0 | 0 | 0.033551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146341 | false | 0 | 0.02439 | 0.146341 | 0.317073 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
c041495ed9d4e7d3b7af4fbb67843d9234178471 | 30 | py | Python | Python/Tests/TestData/TestDiscoverer/ConfigPythonFiles/example_pt.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 404 | 2019-05-07T02:21:57.000Z | 2022-03-31T17:03:04.000Z | Python/Tests/TestData/TestDiscoverer/ConfigPythonFiles/example_pt.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/TestDiscoverer/ConfigPythonFiles/example_pt.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | def test_3():
assert True
| 10 | 15 | 0.633333 | 5 | 30 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.266667 | 30 | 2 | 16 | 15 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2242a44ee4dd081daa5a99cde7c6a7d081411414 | 71 | py | Python | tests/tests/base_tests/__init__.py | rescbr/aws-device-farm-appium-python-tests-for-ios-sample-app | e006bfc830fa2dc27fe5ba630b662cd022a837c4 | [
"Apache-2.0"
] | null | null | null | tests/tests/base_tests/__init__.py | rescbr/aws-device-farm-appium-python-tests-for-ios-sample-app | e006bfc830fa2dc27fe5ba630b662cd022a837c4 | [
"Apache-2.0"
] | null | null | null | tests/tests/base_tests/__init__.py | rescbr/aws-device-farm-appium-python-tests-for-ios-sample-app | e006bfc830fa2dc27fe5ba630b662cd022a837c4 | [
"Apache-2.0"
] | null | null | null | from .base_test import BaseTest
from .base_tab_test import BaseTabTest
| 23.666667 | 38 | 0.859155 | 11 | 71 | 5.272727 | 0.636364 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 39 | 35.5 | 0.920635 | 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 |
225588e98a5f13e5fea3f3153e954b7a47291058 | 28,555 | py | Python | metalacc/api/tests/test_cash_flow_worksheet.py | stricoff92/metalaccounting | 6c9f650b3dd3c74c3ebbe847e0c05bb233e14153 | [
"MIT"
] | null | null | null | metalacc/api/tests/test_cash_flow_worksheet.py | stricoff92/metalaccounting | 6c9f650b3dd3c74c3ebbe847e0c05bb233e14153 | [
"MIT"
] | 3 | 2021-03-30T14:01:37.000Z | 2021-06-10T19:46:42.000Z | metalacc/api/tests/test_cash_flow_worksheet.py | stricoff92/metalaccounting | 6c9f650b3dd3c74c3ebbe847e0c05bb233e14153 | [
"MIT"
] | null | null | null |
import datetime as dt
import json
from django.urls import reverse
from rest_framework import status
from .base import BaseTestBase
from api.models import Period, CashFlowWorksheet, Account, JournalEntryLine
class CashFlowWorksheetTests(BaseTestBase):
def setUp(self):
super().setUp()
self.clien... | 40.503546 | 122 | 0.557941 | 2,954 | 28,555 | 5.156398 | 0.085308 | 0.081933 | 0.103992 | 0.073529 | 0.84933 | 0.842962 | 0.825827 | 0.813747 | 0.78427 | 0.726037 | 0 | 0.040195 | 0.33959 | 28,555 | 704 | 123 | 40.56108 | 0.767526 | 0.163684 | 0 | 0.671706 | 0 | 0 | 0.141141 | 0.018446 | 0 | 0 | 0 | 0 | 0.086393 | 1 | 0.025918 | false | 0 | 0.012959 | 0 | 0.041037 | 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 |
2257ad2e23294e492e033c2cbab072ae34b3c591 | 16,351 | py | Python | 2D_RNN/detailed_layer.py | Romit-Maulik/Tutorials-Demos-Practice | a58ddc819f24a16f7059e63d7f201fc2cd23e03a | [
"MIT"
] | null | null | null | 2D_RNN/detailed_layer.py | Romit-Maulik/Tutorials-Demos-Practice | a58ddc819f24a16f7059e63d7f201fc2cd23e03a | [
"MIT"
] | null | null | null | 2D_RNN/detailed_layer.py | Romit-Maulik/Tutorials-Demos-Practice | a58ddc819f24a16f7059e63d7f201fc2cd23e03a | [
"MIT"
] | null | null | null | import os
dir_path = os.path.dirname(os.path.realpath(__file__))
parent_path = os.path.dirname(dir_path)
import tensorflow as tf
tf.random.set_seed(10)
tf.keras.backend.set_floatx('float32')
# Special layer to have more control over LSTM encoder cell
class LSTM_grid_layer_v1(tf.keras.layers.Layer):
def __init__... | 35.623094 | 131 | 0.484068 | 1,852 | 16,351 | 4.012419 | 0.068575 | 0.039026 | 0.069439 | 0.081819 | 0.85399 | 0.797066 | 0.785762 | 0.767461 | 0.746871 | 0.719553 | 0 | 0.010425 | 0.407498 | 16,351 | 459 | 132 | 35.623094 | 0.756606 | 0.029906 | 0 | 0.572674 | 0 | 0 | 0.016363 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02907 | false | 0 | 0.005814 | 0 | 0.055233 | 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 |
225cda4ef7bb085bfe0b22dd13de61ac233d014f | 83 | py | Python | pipeline/trainers/classification.py | PavelOstyakov/pipeline | 236c050af3be9dbb534e959589040e9433501e2b | [
"MIT"
] | 214 | 2019-01-25T17:03:43.000Z | 2022-03-08T08:03:27.000Z | pipeline/trainers/classification.py | anisayari/pipeline | 48313bc5c459fde0d3fc0acd9f78ccfb677a5197 | [
"MIT"
] | 10 | 2019-01-25T17:14:02.000Z | 2019-03-17T21:06:43.000Z | pipeline/trainers/classification.py | anisayari/pipeline | 48313bc5c459fde0d3fc0acd9f78ccfb677a5197 | [
"MIT"
] | 60 | 2019-01-25T17:12:57.000Z | 2022-02-12T23:52:58.000Z | from .base import TrainerBase
class TrainerClassification(TrainerBase):
pass
| 13.833333 | 41 | 0.795181 | 8 | 83 | 8.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 5 | 42 | 16.6 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2275b0a8eeaf49b05fd8be2eff9edd261f04fe53 | 12,602 | py | Python | src/encoding/tests/test_simple_index.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | null | null | null | src/encoding/tests/test_simple_index.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | 6 | 2020-01-28T23:07:17.000Z | 2022-02-10T00:41:56.000Z | src/encoding/tests/test_simple_index.py | HitLuca/predict-python | 14f2f55cb29f817a5871d4c0b11a3758285301ca | [
"MIT"
] | null | null | null | from django.test import TestCase
from src.encoding.common import encode_label_logs, LabelTypes
from src.encoding.models import TaskGenerationTypes, ValueEncodings
from src.encoding.simple_index import simple_index
from src.predictive_model.models import PredictiveModels
from src.utils.file_service import get_log
from ... | 47.91635 | 120 | 0.670052 | 1,507 | 12,602 | 5.348374 | 0.086928 | 0.048387 | 0.017866 | 0.019107 | 0.894913 | 0.854963 | 0.812283 | 0.774194 | 0.762407 | 0.762407 | 0 | 0.031279 | 0.221155 | 12,602 | 262 | 121 | 48.099237 | 0.789913 | 0.002301 | 0 | 0.626667 | 0 | 0 | 0.064773 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 1 | 0.08 | false | 0 | 0.062222 | 0 | 0.151111 | 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 |
3f59d8c69371420841ae177e7c8bd52daf3ed472 | 24 | py | Python | boss/code/CFG/__init__.py | henrymoss/BOSS | f19eaf7231ed007cce9e12fba0f7f936eb48cfdb | [
"Apache-2.0"
] | 16 | 2020-10-06T16:23:29.000Z | 2022-03-28T05:17:06.000Z | boss/code/CFG/__init__.py | henrymoss/BOSS | f19eaf7231ed007cce9e12fba0f7f936eb48cfdb | [
"Apache-2.0"
] | 2 | 2021-11-09T19:21:44.000Z | 2021-11-29T08:01:19.000Z | boss/code/CFG/__init__.py | henrymoss/BOSS | f19eaf7231ed007cce9e12fba0f7f936eb48cfdb | [
"Apache-2.0"
] | 4 | 2021-09-15T11:36:24.000Z | 2022-02-23T03:33:14.000Z | from .CFG import Grammar | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 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 |
3f694ebcadc8a4ed2b0472121f529e4d33f9e214 | 117 | py | Python | maelstrom/__init__.py | maelstromio/maelstrom-py | b88e73496195d59960c2cff43b97aa6329d39f48 | [
"MIT"
] | null | null | null | maelstrom/__init__.py | maelstromio/maelstrom-py | b88e73496195d59960c2cff43b97aa6329d39f48 | [
"MIT"
] | null | null | null | maelstrom/__init__.py | maelstromio/maelstrom-py | b88e73496195d59960c2cff43b97aa6329d39f48 | [
"MIT"
] | null | null | null | import db_utils as db
def connect(cass_ip, cass_kp):
db.connect(cass_ip, cass_kp)
def close():
db.close() | 13 | 32 | 0.683761 | 21 | 117 | 3.571429 | 0.47619 | 0.293333 | 0.346667 | 0.453333 | 0.506667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196581 | 117 | 9 | 33 | 13 | 0.797872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58b3a2cd01c83d705550b7654bb9d686133f8d2f | 42 | py | Python | AprendendoPOO/if __name__2.py | BrunoRibeiro-P/Curso-De-POO-em-Python | cbbdc9fa542fc2ace2c02e290b346f1344f03c98 | [
"MIT"
] | null | null | null | AprendendoPOO/if __name__2.py | BrunoRibeiro-P/Curso-De-POO-em-Python | cbbdc9fa542fc2ace2c02e290b346f1344f03c98 | [
"MIT"
] | null | null | null | AprendendoPOO/if __name__2.py | BrunoRibeiro-P/Curso-De-POO-em-Python | cbbdc9fa542fc2ace2c02e290b346f1344f03c98 | [
"MIT"
] | null | null | null | from name import soma
print(soma(10, 20)) | 14 | 21 | 0.738095 | 8 | 42 | 3.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.142857 | 42 | 3 | 22 | 14 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
58fd28c2ce52d6134d6010d2175d9672c29703f8 | 59 | py | Python | arbalest/configuration.py | Dwolla/arbalest | 5516aa11a24012a6222acc3b583261ff90ee450f | [
"MIT"
] | 46 | 2015-11-01T19:37:46.000Z | 2021-04-14T02:41:10.000Z | arbalest/configuration.py | Dwolla/arbalest | 5516aa11a24012a6222acc3b583261ff90ee450f | [
"MIT"
] | 1 | 2016-04-20T16:56:44.000Z | 2016-04-20T16:56:44.000Z | arbalest/configuration.py | Dwolla/arbalest | 5516aa11a24012a6222acc3b583261ff90ee450f | [
"MIT"
] | 9 | 2015-10-31T23:01:50.000Z | 2021-08-02T21:15:25.000Z | import os
def env(name):
return os.environ.get(name)
| 9.833333 | 31 | 0.677966 | 10 | 59 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 59 | 5 | 32 | 11.8 | 0.851064 | 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 |
45100a02c292063c012c3d5cb0c0ffff43855e75 | 1,590 | py | Python | Neural network/perceptron.py | radosnystudent/Introduction-to-Neural-network | a641f1a04885354fd3888df02c38bd8315979e04 | [
"MIT"
] | null | null | null | Neural network/perceptron.py | radosnystudent/Introduction-to-Neural-network | a641f1a04885354fd3888df02c38bd8315979e04 | [
"MIT"
] | null | null | null | Neural network/perceptron.py | radosnystudent/Introduction-to-Neural-network | a641f1a04885354fd3888df02c38bd8315979e04 | [
"MIT"
] | null | null | null | def f(w : list, u : list, m : int) -> int:
x = float(0)
for i in range(m):
x += (w[i]*u[i])
if x < 0.0:
return 0
return 1
def perceptron(u : list, c : float):
wt = [1.0 for _ in range(26)]
t = 1
counter = 0
while counter < 5:
zt = 1 if t % 5 < 3 else 0
... | 19.156627 | 84 | 0.431447 | 374 | 1,590 | 1.81016 | 0.160428 | 0.230428 | 0.217134 | 0.200886 | 0.468242 | 0.45938 | 0.45938 | 0.451994 | 0.44904 | 0.422452 | 0 | 0.275751 | 0.413836 | 1,590 | 83 | 85 | 19.156627 | 0.450644 | 0 | 0 | 0.055556 | 0 | 0 | 0.029185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.138889 | 0.083333 | 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 |
18ba3534e06462178884eaa99455cc5ef09320d9 | 168 | py | Python | tracadvsearch/__init__.py | dnephin/TracAdvancedSearchPlugin | b48426bc3f0a843e822783224d316aaf4c3286b5 | [
"ISC"
] | 6 | 2015-02-19T19:22:10.000Z | 2019-04-04T16:08:40.000Z | tracadvsearch/__init__.py | dnephin/TracAdvancedSearchPlugin | b48426bc3f0a843e822783224d316aaf4c3286b5 | [
"ISC"
] | 1 | 2017-02-12T07:02:05.000Z | 2017-02-12T07:02:05.000Z | tracadvsearch/__init__.py | dnephin/TracAdvancedSearchPlugin | b48426bc3f0a843e822783224d316aaf4c3286b5 | [
"ISC"
] | 3 | 2016-03-16T16:10:10.000Z | 2020-12-07T21:50:49.000Z | from advsearch import SearchBackendException
from advsearch import AdvancedSearchPlugin
from backend import PySolrSearchBackEnd
from interface import IAdvSearchBackend
| 33.6 | 44 | 0.904762 | 16 | 168 | 9.5 | 0.5625 | 0.171053 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 168 | 4 | 45 | 42 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
18e1d8174c771757f2928978ab5bbdf82b46fe2a | 11,658 | py | Python | integration_tests/test_suites/k8s-integration-test-suite/test_executor.py | NicolasPA/dagster | 948bfc7b5582230417465b5662bd9f907c0e51c9 | [
"Apache-2.0"
] | 1 | 2021-07-03T09:05:58.000Z | 2021-07-03T09:05:58.000Z | integration_tests/test_suites/k8s-integration-test-suite/test_executor.py | NicolasPA/dagster | 948bfc7b5582230417465b5662bd9f907c0e51c9 | [
"Apache-2.0"
] | null | null | null | integration_tests/test_suites/k8s-integration-test-suite/test_executor.py | NicolasPA/dagster | 948bfc7b5582230417465b5662bd9f907c0e51c9 | [
"Apache-2.0"
] | null | null | null | import datetime
import os
import time
import pytest
from dagster import check
from dagster.core.storage.pipeline_run import PipelineRunStatus
from dagster.core.storage.tags import DOCKER_IMAGE_TAG
from dagster.core.test_utils import create_run_for_test
from dagster.utils import load_yaml_from_path, merge_dicts
from da... | 39.788396 | 100 | 0.669326 | 1,365 | 11,658 | 5.243223 | 0.111355 | 0.075311 | 0.082157 | 0.092637 | 0.859438 | 0.825765 | 0.816962 | 0.791114 | 0.785245 | 0.783569 | 0 | 0.008533 | 0.256133 | 11,658 | 292 | 101 | 39.924658 | 0.816767 | 0.028907 | 0 | 0.66129 | 0 | 0 | 0.069471 | 0.006717 | 0 | 0 | 0 | 0 | 0.040323 | 1 | 0.016129 | false | 0 | 0.064516 | 0 | 0.080645 | 0.004032 | 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 |
beeb57c30bb79f0670a888c4baecaff22aae0506 | 2,925 | py | Python | src/eavatar.ava/tests/unit/test_supervisotr.py | eavatar/ava | 4f09c5417b7187dd919b7edabb8c516d8efc0696 | [
"BSD-3-Clause"
] | null | null | null | src/eavatar.ava/tests/unit/test_supervisotr.py | eavatar/ava | 4f09c5417b7187dd919b7edabb8c516d8efc0696 | [
"BSD-3-Clause"
] | null | null | null | src/eavatar.ava/tests/unit/test_supervisotr.py | eavatar/ava | 4f09c5417b7187dd919b7edabb8c516d8efc0696 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import print_function, division, absolute_import
import time
import unittest
import mock
from ava.shell.base import Supervisor
def server_process1():
time.sleep(2)
class SupervisorTest(unittest.TestCase):
@mock.patch('ava.shell.base.multiprocessing.Process')
de... | 32.865169 | 78 | 0.699145 | 335 | 2,925 | 5.883582 | 0.226866 | 0.085236 | 0.073059 | 0.114155 | 0.793506 | 0.762557 | 0.762557 | 0.762557 | 0.762557 | 0.736175 | 0 | 0.006477 | 0.208205 | 2,925 | 88 | 79 | 33.238636 | 0.84456 | 0.076923 | 0 | 0.683333 | 0 | 0 | 0.042316 | 0.042316 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.066667 | false | 0 | 0.083333 | 0 | 0.166667 | 0.016667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
beeccdcaefeb59e31aba841d509e1e4bdc818b84 | 28 | py | Python | nmrdata/parse/__init__.py | mdarrows/whitelab-nmrdata | 4f92c42ae1aedd15483a34250f41ebd3fa1ab343 | [
"MIT"
] | 7 | 2021-07-15T19:31:18.000Z | 2022-03-01T06:58:43.000Z | nmrdata/parse/__init__.py | mdarrows/whitelab-nmrdata | 4f92c42ae1aedd15483a34250f41ebd3fa1ab343 | [
"MIT"
] | 2 | 2021-04-29T14:26:26.000Z | 2021-11-24T20:50:42.000Z | nmrdata/parse/__init__.py | mdarrows/whitelab-nmrdata | 4f92c42ae1aedd15483a34250f41ebd3fa1ab343 | [
"MIT"
] | 2 | 2021-08-18T00:50:14.000Z | 2022-03-10T09:42:59.000Z | from .main import clean_pdb
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
83023f810b61604e88158d722b5b3e5289b02654 | 11,728 | py | Python | sparkmagic/sparkmagic/tests/test_sparkmagicsbase.py | viaduct-ai/sparkmagic | 6acb0967d5d7d600c360fab4db1c28f074de4c71 | [
"RSA-MD"
] | 1 | 2020-05-26T20:57:43.000Z | 2020-05-26T20:57:43.000Z | sparkmagic/sparkmagic/tests/test_sparkmagicsbase.py | viaduct-ai/sparkmagic | 6acb0967d5d7d600c360fab4db1c28f074de4c71 | [
"RSA-MD"
] | 2 | 2020-12-08T04:51:29.000Z | 2021-06-10T18:19:40.000Z | sparkmagic/sparkmagic/tests/test_sparkmagicsbase.py | viaduct-ai/sparkmagic | 6acb0967d5d7d600c360fab4db1c28f074de4c71 | [
"RSA-MD"
] | null | null | null | # -*- coding: utf-8 -*-
import sparkmagic.utils.configuration as conf
from mock import MagicMock
from nose.tools import with_setup, assert_equals, assert_raises, raises
from sparkmagic.utils.configuration import get_livy_kind
from sparkmagic.utils.constants import LANGS_SUPPORTED, SESSION_KIND_PYSPARK, SESSION_KIND_SP... | 39.755932 | 150 | 0.766456 | 1,583 | 11,728 | 5.263424 | 0.108023 | 0.044407 | 0.074412 | 0.06073 | 0.800048 | 0.777724 | 0.772324 | 0.760442 | 0.723236 | 0.674748 | 0 | 0.005002 | 0.130713 | 11,728 | 294 | 151 | 39.891156 | 0.812261 | 0.001791 | 0 | 0.635965 | 0 | 0.008772 | 0.057839 | 0.019564 | 0 | 0 | 0 | 0 | 0.188596 | 1 | 0.096491 | false | 0.013158 | 0.039474 | 0 | 0.135965 | 0.026316 | 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 |
8337e550b8851ff06b69198bafd1bfc864e8e2fa | 20 | py | Python | python/testData/completion/notImportedQualifiedName/ShowOnlyImmediateAttributesForAliases/numpy/random/__init__.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/completion/notImportedQualifiedName/ShowOnlyImmediateAttributesForAliases/numpy/random/__init__.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/completion/notImportedQualifiedName/ShowOnlyImmediateAttributesForAliases/numpy/random/__init__.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | def rand():
pass | 10 | 11 | 0.55 | 3 | 20 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 20 | 2 | 12 | 10 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
833d77edc98bef37fa7c066507a694abf77e93e8 | 106 | py | Python | helper.py | vi3k6i5/flask_logging | 9e089d97a9438b75de3141961d9dc96d86bacee0 | [
"MIT"
] | 1 | 2019-04-28T15:47:39.000Z | 2019-04-28T15:47:39.000Z | helper.py | vi3k6i5/flask_logging | 9e089d97a9438b75de3141961d9dc96d86bacee0 | [
"MIT"
] | null | null | null | helper.py | vi3k6i5/flask_logging | 9e089d97a9438b75de3141961d9dc96d86bacee0 | [
"MIT"
] | null | null | null | # app/file helper.py
from __init__ import application
def foo_method():
application.logger.info("hi") | 21.2 | 33 | 0.754717 | 15 | 106 | 5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 106 | 5 | 33 | 21.2 | 0.815217 | 0.169811 | 0 | 0 | 0 | 0 | 0.022989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55cf5567b2be2c7d88ba2285cb2478aef72426b2 | 1,861 | py | Python | posts/models.py | Davinchy1/facebook-lite | ad8fc2fc8d91f089f17a430232ed443cbf9c431f | [
"MIT"
] | null | null | null | posts/models.py | Davinchy1/facebook-lite | ad8fc2fc8d91f089f17a430232ed443cbf9c431f | [
"MIT"
] | null | null | null | posts/models.py | Davinchy1/facebook-lite | ad8fc2fc8d91f089f17a430232ed443cbf9c431f | [
"MIT"
] | null | null | null | from enum import auto
# from posts.serializers import Shareserializer
from django.db import models
from django.contrib.auth.models import User
from django.db.models.deletion import CASCADE
# Create your models here.
class Post(models.Model):
text=models.TextField()
user=models.ForeignKey(User,on_delete=models.... | 33.836364 | 80 | 0.713057 | 262 | 1,861 | 4.958015 | 0.244275 | 0.08622 | 0.075443 | 0.113164 | 0.78445 | 0.764434 | 0.764434 | 0.764434 | 0.710547 | 0.710547 | 0 | 0.003974 | 0.188608 | 1,861 | 54 | 81 | 34.462963 | 0.856291 | 0.211177 | 0 | 0.545455 | 0 | 0 | 0.016472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.121212 | 0.090909 | 0.909091 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
55ef313614d1d2f6150c3d00d17154bf04d71f22 | 179 | py | Python | Introduction to Python/Introduction to Python Smallpiece 2018/Condition expressions/Boolean operators order/boolean_order.py | phamola/firstproject1 | 1e2aaafeb7abf9c82e4c823f197fc1fbefce6416 | [
"Apache-2.0"
] | null | null | null | Introduction to Python/Introduction to Python Smallpiece 2018/Condition expressions/Boolean operators order/boolean_order.py | phamola/firstproject1 | 1e2aaafeb7abf9c82e4c823f197fc1fbefce6416 | [
"Apache-2.0"
] | null | null | null | Introduction to Python/Introduction to Python Smallpiece 2018/Condition expressions/Boolean operators order/boolean_order.py | phamola/firstproject1 | 1e2aaafeb7abf9c82e4c823f197fc1fbefce6416 | [
"Apache-2.0"
] | null | null | null | name = "John"
age = 17
print(name == "John" or not age > 17)
print(name == "John" or not age > 17)
print("name" is "Ellis" or not ("name" equal "John" and he is 17 years old))
| 19.888889 | 76 | 0.614525 | 33 | 179 | 3.333333 | 0.424242 | 0.218182 | 0.272727 | 0.381818 | 0.545455 | 0.545455 | 0.545455 | 0.545455 | 0.545455 | 0.545455 | 0 | 0.057143 | 0.217877 | 179 | 8 | 77 | 22.375 | 0.728571 | 0 | 0 | 0.4 | 0 | 0 | 0.162011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.6 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
36c06066f62a9854abced621cba3e972966da5b3 | 118 | py | Python | tests/project_test.py | scottaubrey/data-science-dags | f45c4e1bb8e538da57161c20953edca2e66ffd4f | [
"MIT"
] | 1 | 2021-09-15T04:47:25.000Z | 2021-09-15T04:47:25.000Z | tests/project_test.py | scottaubrey/data-science-dags | f45c4e1bb8e538da57161c20953edca2e66ffd4f | [
"MIT"
] | 39 | 2021-06-21T05:52:43.000Z | 2022-03-29T18:39:06.000Z | tests/project_test.py | scottaubrey/data-science-dags | f45c4e1bb8e538da57161c20953edca2e66ffd4f | [
"MIT"
] | 1 | 2021-12-23T15:36:54.000Z | 2021-12-23T15:36:54.000Z | def test_can_import_project_package():
import dags # noqa pylint: disable=import-outside-toplevel, unused-import
| 39.333333 | 78 | 0.79661 | 16 | 118 | 5.625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 118 | 2 | 79 | 59 | 0.865385 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fcb26a504a14b4f04d51f7a27dfcab3111cfc7b | 32 | py | Python | dsgn/models/__init__.py | joshliu11/DSGN | ac693e748ff3a7372b1292c2b7b3796854072030 | [
"MIT"
] | 166 | 2020-04-20T09:30:54.000Z | 2021-05-16T07:42:15.000Z | dsgn/models/__init__.py | joshliu11/DSGN | ac693e748ff3a7372b1292c2b7b3796854072030 | [
"MIT"
] | 15 | 2020-05-12T23:58:01.000Z | 2021-05-05T12:03:51.000Z | dsgn/models/__init__.py | joshliu11/DSGN | ac693e748ff3a7372b1292c2b7b3796854072030 | [
"MIT"
] | 35 | 2020-04-27T13:11:42.000Z | 2021-05-16T07:45:02.000Z | from .stereonet import StereoNet | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 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 |
3d0992e8439e1ebf6191751042a2abae13c64eda | 121 | py | Python | timg_promo/timg_promo/doctype/promo_settings/test_promo_settings.py | abdelazizhd/timg_promo | f475b7a30bcf89e8c4048ae4f55d1e8a78696495 | [
"MIT"
] | null | null | null | timg_promo/timg_promo/doctype/promo_settings/test_promo_settings.py | abdelazizhd/timg_promo | f475b7a30bcf89e8c4048ae4f55d1e8a78696495 | [
"MIT"
] | null | null | null | timg_promo/timg_promo/doctype/promo_settings/test_promo_settings.py | abdelazizhd/timg_promo | f475b7a30bcf89e8c4048ae4f55d1e8a78696495 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
import frappe
import unittest
class TestPromoSettings(unittest.TestCase):
pass | 17.285714 | 43 | 0.859504 | 14 | 121 | 7.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107438 | 121 | 7 | 44 | 17.285714 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
182891ac804e67d1d8c69e24b4e7997b70fdb382 | 74 | py | Python | src/tentaclio/databases/__init__.py | datavaluepeople/tentaclio | eb6920a0e115c6c08043063a8c1013d812ec34c8 | [
"MIT"
] | 12 | 2019-04-30T16:07:42.000Z | 2021-12-08T08:02:09.000Z | src/tentaclio/databases/__init__.py | octoenergy/tentaclio | eb6920a0e115c6c08043063a8c1013d812ec34c8 | [
"MIT"
] | 74 | 2019-04-25T11:18:22.000Z | 2022-01-18T11:31:14.000Z | src/tentaclio/databases/__init__.py | datavaluepeople/tentaclio | eb6920a0e115c6c08043063a8c1013d812ec34c8 | [
"MIT"
] | 4 | 2019-05-05T13:13:21.000Z | 2022-01-14T00:33:07.000Z | """Tentaclio's db registry and api."""
from .db_registry import * # noqa
| 24.666667 | 38 | 0.689189 | 11 | 74 | 4.545455 | 0.818182 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 2 | 39 | 37 | 0.806452 | 0.513514 | 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 |
185d99ca8292d04352dd1580a9c79a6b7bbea7f8 | 4,610 | py | Python | numba/dppl/tests/dppl/test_numpy_comparison_functions.py | AlexanderKalistratov/numba | f5c5ba339b980830e73f1dc76efb6b043adcddbb | [
"BSD-2-Clause"
] | null | null | null | numba/dppl/tests/dppl/test_numpy_comparison_functions.py | AlexanderKalistratov/numba | f5c5ba339b980830e73f1dc76efb6b043adcddbb | [
"BSD-2-Clause"
] | null | null | null | numba/dppl/tests/dppl/test_numpy_comparison_functions.py | AlexanderKalistratov/numba | f5c5ba339b980830e73f1dc76efb6b043adcddbb | [
"BSD-2-Clause"
] | null | null | null | #! /usr/bin/env python
from __future__ import print_function
from timeit import default_timer as time
import sys
import numpy as np
from numba import dppl, njit
from numba.dppl.testing import unittest
from numba.dppl.testing import DPPLTestCase
import dppl.ocldrv as ocldrv
class TestNumpy_comparison_functions(DPPLTe... | 23.641026 | 54 | 0.500868 | 709 | 4,610 | 3.179126 | 0.09732 | 0.035492 | 0.026619 | 0.142857 | 0.824312 | 0.794144 | 0.794144 | 0.794144 | 0.744454 | 0.744454 | 0 | 0.01906 | 0.339913 | 4,610 | 194 | 55 | 23.762887 | 0.721656 | 0.004555 | 0 | 0.592857 | 0 | 0 | 0.023104 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.2 | false | 0 | 0.057143 | 0 | 0.378571 | 0.007143 | 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 |
a109c9c1554a48fc9b5f44f6d0e8aebeff6c301b | 43 | py | Python | agents/__init__.py | seungjaeryanlee/osim-rl-helper | 5a4340321e765089afd3062093c797c04bfdbeec | [
"MIT"
] | 41 | 2018-06-27T15:42:26.000Z | 2020-03-20T21:50:05.000Z | agents/__init__.py | BenjaminBush/skeletor | 9e7d139948aaeae6e688d17016b63fb9ea895734 | [
"MIT"
] | 5 | 2018-08-23T08:07:23.000Z | 2022-01-02T10:44:52.000Z | agents/__init__.py | seungjaeryanlee/osim-rl-helper | 5a4340321e765089afd3062093c797c04bfdbeec | [
"MIT"
] | 8 | 2018-07-29T03:18:02.000Z | 2018-11-06T16:54:20.000Z | from .DoNothingAgent import DoNothingAgent
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a1627a40af07553dd06cfa948539d911c166c30f | 2,119 | py | Python | test/test_output.py | Semooze/clean_data | 1d56bbbd0728cf8a5f7f80ed40a1cd659bb7f694 | [
"MIT"
] | null | null | null | test/test_output.py | Semooze/clean_data | 1d56bbbd0728cf8a5f7f80ed40a1cd659bb7f694 | [
"MIT"
] | null | null | null | test/test_output.py | Semooze/clean_data | 1d56bbbd0728cf8a5f7f80ed40a1cd659bb7f694 | [
"MIT"
] | 1 | 2020-03-09T14:04:28.000Z | 2020-03-09T14:04:28.000Z | import unittest
from morphling.output import Writer
class TestWriter(unittest.TestCase):
def test_be_able_to_write_file(self):
actual = 'test data'
output_path = 'test/output_file/basic_write'
obj = Writer()
obj.write(actual, output_path)
obj.write(actual, output_path)
... | 39.981132 | 84 | 0.637093 | 290 | 2,119 | 4.386207 | 0.182759 | 0.133648 | 0.056604 | 0.051101 | 0.882075 | 0.865566 | 0.826258 | 0.779874 | 0.757075 | 0.757075 | 0 | 0.007407 | 0.235488 | 2,119 | 52 | 85 | 40.75 | 0.777778 | 0 | 0 | 0.555556 | 0 | 0 | 0.204342 | 0.111845 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.044444 | 0 | 0.177778 | 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 |
a17d9f3e9208c27cd8e0ba8dc6085b7795001e84 | 16,353 | py | Python | tests/test_helpers/test_bad_module_attribute_use.py | minusworld/dlint | 663c01f7ac2687c6857373668c890ff7b4def23d | [
"BSD-3-Clause"
] | null | null | null | tests/test_helpers/test_bad_module_attribute_use.py | minusworld/dlint | 663c01f7ac2687c6857373668c890ff7b4def23d | [
"BSD-3-Clause"
] | null | null | null | tests/test_helpers/test_bad_module_attribute_use.py | minusworld/dlint | 663c01f7ac2687c6857373668c890ff7b4def23d | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
from __future__ import (
absolute_import,
division,
print_function,
unicode_literals,
)
import unittest
import dlint
def get_bad_module_attribute_use_implementation(illegal_module_attributes):
class Cls(dlint.linters.helpers.bad_module_attribute_use.BadModuleAttributeUseLi... | 25.432348 | 90 | 0.496423 | 1,561 | 16,353 | 4.898142 | 0.063421 | 0.054931 | 0.0531 | 0.091551 | 0.914334 | 0.913942 | 0.906356 | 0.895762 | 0.870521 | 0.844755 | 0 | 0.022118 | 0.411117 | 16,353 | 642 | 91 | 25.471963 | 0.771859 | 0.001223 | 0 | 0.676471 | 0 | 0 | 0.027105 | 0 | 0 | 0 | 0 | 0 | 0.05615 | 1 | 0.061497 | false | 0 | 0.029412 | 0.002674 | 0.106952 | 0.002674 | 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 |
a18a577cbd51e975117b7ec1bc30711aca8a257a | 143 | py | Python | data-analysis-by-python/chapter4-2.py | matbird/StudyPy | 3f822c823ecd4d2200f3aae2d1a69a0374914bf3 | [
"Apache-2.0"
] | null | null | null | data-analysis-by-python/chapter4-2.py | matbird/StudyPy | 3f822c823ecd4d2200f3aae2d1a69a0374914bf3 | [
"Apache-2.0"
] | null | null | null | data-analysis-by-python/chapter4-2.py | matbird/StudyPy | 3f822c823ecd4d2200f3aae2d1a69a0374914bf3 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from numpy.random import randn
from pandas import Series,DataFrame
import pandas as pd
if __name__ == '__main__':
pass | 17.875 | 35 | 0.769231 | 22 | 143 | 4.636364 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 143 | 8 | 36 | 17.875 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a1bb08b76c261aca0b62bc02b4e704f1655babdc | 140 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.main_app}}/apps.py | huogerac/cookiecutter-djangofloppyforms | 0a2c1d7fe506a5df13aaefde0f716373dbb8194e | [
"BSD-3-Clause"
] | 3 | 2021-03-29T19:11:30.000Z | 2021-05-08T13:18:41.000Z | {{cookiecutter.project_slug}}/{{cookiecutter.main_app}}/apps.py | huogerac/cookiecutter-djangofloppyforms | 0a2c1d7fe506a5df13aaefde0f716373dbb8194e | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.main_app}}/apps.py | huogerac/cookiecutter-djangofloppyforms | 0a2c1d7fe506a5df13aaefde0f716373dbb8194e | [
"BSD-3-Clause"
] | 2 | 2021-03-12T15:13:38.000Z | 2021-07-01T19:38:11.000Z | from django.apps import AppConfig
class {{ cookiecutter.main_app|capitalize }}Config(AppConfig):
name = '{{ cookiecutter.main_app }}'
| 23.333333 | 62 | 0.735714 | 16 | 140 | 6.3125 | 0.75 | 0.316832 | 0.376238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135714 | 140 | 5 | 63 | 28 | 0.834711 | 0 | 0 | 0 | 0 | 0 | 0.192857 | 0.15 | 0 | 0 | 0 | 0 | 0 | 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 |
a1cd9c36c94a33abde9b9407040c70844d22a358 | 158 | py | Python | util/test/tests/GL/GL_Buffer_Truncation.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 6,181 | 2015-01-07T11:49:11.000Z | 2022-03-31T21:46:55.000Z | util/test/tests/GL/GL_Buffer_Truncation.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 2,015 | 2015-01-16T01:45:25.000Z | 2022-03-25T12:01:06.000Z | util/test/tests/GL/GL_Buffer_Truncation.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 1,088 | 2015-01-06T08:36:25.000Z | 2022-03-30T03:31:21.000Z | import rdtest
import renderdoc as rd
class GL_Buffer_Truncation(rdtest.Buffer_Truncation):
demos_test_name = 'GL_Buffer_Truncation'
internal = False | 22.571429 | 53 | 0.803797 | 21 | 158 | 5.714286 | 0.666667 | 0.4 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14557 | 158 | 7 | 54 | 22.571429 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
629a9240d857ed3ad7105763a0a21438f33252ca | 34 | py | Python | Hello.py | FlorinCostin81/session1 | 72238b217a78b5c1d5dff8cbe57cf541dce13915 | [
"MIT"
] | null | null | null | Hello.py | FlorinCostin81/session1 | 72238b217a78b5c1d5dff8cbe57cf541dce13915 | [
"MIT"
] | null | null | null | Hello.py | FlorinCostin81/session1 | 72238b217a78b5c1d5dff8cbe57cf541dce13915 | [
"MIT"
] | null | null | null |
print("Hello world khsdldsjslw!") | 17 | 33 | 0.764706 | 4 | 34 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 2 | 33 | 17 | 0.83871 | 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 |
62cc561445256bd2409e4ceaf65687cd188f6fa2 | 19,137 | py | Python | uq360/algorithms/blackbox_metamodel/predictors/core/short_text.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 148 | 2021-05-27T20:52:51.000Z | 2022-03-16T22:49:48.000Z | uq360/algorithms/blackbox_metamodel/predictors/core/short_text.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 9 | 2021-06-21T18:45:07.000Z | 2021-11-08T14:42:30.000Z | uq360/algorithms/blackbox_metamodel/predictors/core/short_text.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 27 | 2021-06-01T18:29:02.000Z | 2022-03-02T06:56:03.000Z | # Licensed Materials - Property of IBM
#
# 95992503
#
# (C) Copyright IBM Corp. 2019, 2020 All Rights Reserved.
#
from collections import Counter
import sys
import numpy as np
from sklearn.model_selection import StratifiedKFold, train_test_split
from sklearn.ensemble import GradientBoostingClassifier
from sklearn.neu... | 38.350701 | 160 | 0.567174 | 2,158 | 19,137 | 4.86608 | 0.139481 | 0.03733 | 0.036568 | 0.029711 | 0.870108 | 0.856871 | 0.854776 | 0.854776 | 0.854776 | 0.854776 | 0 | 0.030814 | 0.336939 | 19,137 | 498 | 161 | 38.427711 | 0.796753 | 0.538172 | 0 | 0.255682 | 0 | 0 | 0.11791 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 1 | 0.034091 | false | 0.011364 | 0.068182 | 0.005682 | 0.153409 | 0.022727 | 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 |
62d2b230640f3a1dfc2a65dba72fff893c6bf771 | 35 | py | Python | UPGL/windows/__init__.py | DillonEnge/UPGL | a4ed766b689d1a231f4ef51169beebb4f11adfd7 | [
"MIT"
] | null | null | null | UPGL/windows/__init__.py | DillonEnge/UPGL | a4ed766b689d1a231f4ef51169beebb4f11adfd7 | [
"MIT"
] | null | null | null | UPGL/windows/__init__.py | DillonEnge/UPGL | a4ed766b689d1a231f4ef51169beebb4f11adfd7 | [
"MIT"
] | null | null | null | from .example import ExampleWindow
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 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 |
a7df1fa818ec8e601e14f01067e39937e97b1aec | 95 | py | Python | happy_config/param_tuning/__init__.py | GraphCL/happy_config | 2e1accb6161b9e8ee2a7fd9359b9155e915a075b | [
"MIT"
] | 1 | 2022-03-07T13:56:27.000Z | 2022-03-07T13:56:27.000Z | happy_config/param_tuning/__init__.py | GraphCL/happy_config | 2e1accb6161b9e8ee2a7fd9359b9155e915a075b | [
"MIT"
] | null | null | null | happy_config/param_tuning/__init__.py | GraphCL/happy_config | 2e1accb6161b9e8ee2a7fd9359b9155e915a075b | [
"MIT"
] | null | null | null | from .search_space import SearchSpace, ParameterSpace, extract_search_space, with_search_space
| 47.5 | 94 | 0.884211 | 12 | 95 | 6.583333 | 0.666667 | 0.417722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 95 | 1 | 95 | 95 | 0.897727 | 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 |
a7edda09d386e406741daeb3758f0a06937c3d6b | 756 | py | Python | shabanipy/logging/formatters.py | ShabaniLab/DataAnalysis | e234b7d0e4ff8ecc11e58134e6309a095abcd2c0 | [
"MIT"
] | 6 | 2019-06-25T20:01:03.000Z | 2022-03-25T23:15:57.000Z | shabanipy/logging/formatters.py | ShabaniLab/DataAnalysis | e234b7d0e4ff8ecc11e58134e6309a095abcd2c0 | [
"MIT"
] | null | null | null | shabanipy/logging/formatters.py | ShabaniLab/DataAnalysis | e234b7d0e4ff8ecc11e58134e6309a095abcd2c0 | [
"MIT"
] | 5 | 2019-06-11T17:21:54.000Z | 2021-08-24T14:45:08.000Z | """Logging formatters."""
from logging import INFO, Formatter
class InformativeFormatter(Formatter):
def format(self, record):
return (
f"[{record.levelname}]".ljust(11)
+ f"{record.filename}:{record.lineno}".ljust(25)
+ " "
+ record.getMessage()
... | 31.5 | 87 | 0.572751 | 78 | 756 | 5.5 | 0.358974 | 0.065268 | 0.121212 | 0.102564 | 0.713287 | 0.713287 | 0.713287 | 0.713287 | 0.713287 | 0.713287 | 0 | 0.010929 | 0.27381 | 756 | 23 | 88 | 32.869565 | 0.770492 | 0.025132 | 0 | 0.555556 | 0 | 0 | 0.259918 | 0.202462 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0.111111 | 0.388889 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
a7f9061822a84869d4b69d85b59f7876bc1f30bb | 22 | py | Python | read/read/str/readers/db.py | vitalfadeev/read | f8893daa732d50bb6f1da94e66d016d5611f1983 | [
"MIT"
] | null | null | null | read/read/str/readers/db.py | vitalfadeev/read | f8893daa732d50bb6f1da94e66d016d5611f1983 | [
"MIT"
] | 2 | 2021-11-25T12:37:48.000Z | 2021-11-25T12:38:33.000Z | read/read/str/readers/db.py | vitalfadeev/read | f8893daa732d50bb6f1da94e66d016d5611f1983 | [
"MIT"
] | null | null | null | from .sqlite3 import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.136364 | 22 | 1 | 22 | 22 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c51aad8f535c36df24d27afde02bee1ac3f489a9 | 32 | py | Python | autoscalingsim/deltarepr/node_group_delta/__init__.py | Remit/autoscaling-simulator | 091943c0e9eedf9543e9305682a067ab60f56def | [
"MIT"
] | 6 | 2021-03-10T16:23:10.000Z | 2022-01-14T04:57:46.000Z | autoscalingsim/deltarepr/node_group_delta/__init__.py | Remit/autoscaling-simulator | 091943c0e9eedf9543e9305682a067ab60f56def | [
"MIT"
] | null | null | null | autoscalingsim/deltarepr/node_group_delta/__init__.py | Remit/autoscaling-simulator | 091943c0e9eedf9543e9305682a067ab60f56def | [
"MIT"
] | 1 | 2022-01-14T04:57:55.000Z | 2022-01-14T04:57:55.000Z | from .node_group_delta import *
| 16 | 31 | 0.8125 | 5 | 32 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.857143 | 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 |
c560cc8fcd7966f3b469fcf6485f99a87d5623ca | 135 | py | Python | moban/plugins/jinja2/tests/win32.py | allegheny-college-cmpsc-481-spring-2020/moban | 632622d2506606f06aaaf7882523444998d9bd8f | [
"MIT"
] | 1 | 2020-09-04T23:52:55.000Z | 2020-09-04T23:52:55.000Z | moban/plugins/jinja2/tests/win32.py | allegheny-college-cmpsc-481-spring-2020/moban | 632622d2506606f06aaaf7882523444998d9bd8f | [
"MIT"
] | 1 | 2020-09-04T23:42:19.000Z | 2020-09-04T23:42:23.000Z | moban/plugins/jinja2/tests/win32.py | allegheny-college-cmpsc-481-spring-2020/moban | 632622d2506606f06aaaf7882523444998d9bd8f | [
"MIT"
] | 1 | 2020-09-24T08:34:00.000Z | 2020-09-24T08:34:00.000Z | from os.path import normcase, normpath
def samefile(file1, file2):
return normcase(normpath(file1)) == normcase(normpath(file2))
| 22.5 | 65 | 0.748148 | 17 | 135 | 5.941176 | 0.647059 | 0.475248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034188 | 0.133333 | 135 | 5 | 66 | 27 | 0.82906 | 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 | 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 | 1 | 1 | 0 | 0 | 0 | 6 |
c569a493de22568e81d46ce6cb27237078079152 | 89 | py | Python | 3_mfr/some_more.py | konflic/python_qa_functional_programming | 70109dc1a2d9bc775ab6c67b49244454281fa1b4 | [
"MIT"
] | null | null | null | 3_mfr/some_more.py | konflic/python_qa_functional_programming | 70109dc1a2d9bc775ab6c67b49244454281fa1b4 | [
"MIT"
] | null | null | null | 3_mfr/some_more.py | konflic/python_qa_functional_programming | 70109dc1a2d9bc775ab6c67b49244454281fa1b4 | [
"MIT"
] | 2 | 2021-01-24T18:14:48.000Z | 2021-01-25T16:50:21.000Z | print(any([True, 1, ""]))
print(all([True, 1, ""]))
print(dict(zip([1, 2, 3], "abc")))
| 14.833333 | 34 | 0.494382 | 15 | 89 | 2.933333 | 0.666667 | 0.227273 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064935 | 0.134831 | 89 | 5 | 35 | 17.8 | 0.506494 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c571e9c03ef914e8ea6f2f513d16e384d8d9f63d | 36 | py | Python | centrySDK/__init__.py | YerkoCuzmar/CentrySDK | e32080552e71c40119e4dc8cbaa520f0bf9254e3 | [
"MIT"
] | null | null | null | centrySDK/__init__.py | YerkoCuzmar/CentrySDK | e32080552e71c40119e4dc8cbaa520f0bf9254e3 | [
"MIT"
] | null | null | null | centrySDK/__init__.py | YerkoCuzmar/CentrySDK | e32080552e71c40119e4dc8cbaa520f0bf9254e3 | [
"MIT"
] | null | null | null | from centrySDK.centry import Centry
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d7d515c77cf07d3d4851ce261657efca4481102 | 2,814 | py | Python | PicNumero/tqdm/tests/tests_pandas.py | kmiddleton/Pic-Numero | 69a295d208106c486854473521e8d1fef13a0a24 | [
"MIT"
] | null | null | null | PicNumero/tqdm/tests/tests_pandas.py | kmiddleton/Pic-Numero | 69a295d208106c486854473521e8d1fef13a0a24 | [
"MIT"
] | null | null | null | PicNumero/tqdm/tests/tests_pandas.py | kmiddleton/Pic-Numero | 69a295d208106c486854473521e8d1fef13a0a24 | [
"MIT"
] | null | null | null | from nose.plugins.skip import SkipTest
from tqdm import tqdm
from tests_tqdm import with_setup, pretest, posttest, StringIO, closing
@with_setup(pretest, posttest)
def test_pandas_groupby_apply():
""" Test pandas.DataFrame.groupby(...).progress_apply """
try:
from numpy.random import randint
... | 32.72093 | 75 | 0.599147 | 373 | 2,814 | 4.394102 | 0.22252 | 0.085418 | 0.040268 | 0.043929 | 0.75961 | 0.75961 | 0.751678 | 0.729103 | 0.729103 | 0.721782 | 0 | 0.033981 | 0.267946 | 2,814 | 85 | 76 | 33.105882 | 0.76165 | 0.071073 | 0 | 0.703125 | 0 | 0 | 0.059368 | 0.028527 | 0 | 0 | 0 | 0 | 0.046875 | 1 | 0.046875 | false | 0 | 0.1875 | 0 | 0.234375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d7df5f54664de3b6ddaca1a454fb0fb068dab5a | 1,635 | py | Python | src/nets/arcnn.py | VDIGPKU/QGCN | 657afb8977721f65ef2bae7c2333a93a3315dab1 | [
"MIT"
] | 21 | 2020-12-05T14:14:07.000Z | 2022-03-04T17:35:36.000Z | src/nets/arcnn.py | VDIGPKU/QGCN | 657afb8977721f65ef2bae7c2333a93a3315dab1 | [
"MIT"
] | 2 | 2020-11-02T11:55:36.000Z | 2021-01-29T04:50:10.000Z | src/nets/arcnn.py | VDIGPKU/QGCN | 657afb8977721f65ef2bae7c2333a93a3315dab1 | [
"MIT"
] | 7 | 2021-02-21T05:11:38.000Z | 2022-03-20T01:07:03.000Z | from torch import nn
class ARCNN(nn.Module):
def __init__(self, n_colors=3):
super(ARCNN, self).__init__()
self.base = nn.Sequential(
nn.Conv2d(n_colors, 64, kernel_size=9, padding=4),
nn.PReLU(),
nn.Conv2d(64, 32, kernel_size=7, padding=3),
nn.PReLU(... | 29.727273 | 106 | 0.548012 | 222 | 1,635 | 3.846847 | 0.22973 | 0.093677 | 0.052693 | 0.087822 | 0.846604 | 0.825527 | 0.825527 | 0.786885 | 0.721311 | 0.64637 | 0 | 0.06009 | 0.318043 | 1,635 | 54 | 107 | 30.277778 | 0.70583 | 0 | 0 | 0.644444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.022222 | 0 | 0.244444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.