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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1ce26c983b25795b8344d1afedd8fab6e03cc8ff | 463 | py | Python | src/BearSki/utils/errors.py | Sirius1942/BearSki | bdc75d6f06946896e2128f1c095b9baf9863b124 | [
"MIT"
] | 13 | 2019-12-10T09:07:45.000Z | 2021-09-08T01:24:22.000Z | src/BearSki/utils/errors.py | Sirius1942/BearSki | bdc75d6f06946896e2128f1c095b9baf9863b124 | [
"MIT"
] | 1 | 2020-05-06T01:43:50.000Z | 2020-05-06T01:44:46.000Z | build/lib/BearSki/utils/errors.py | Sirius1942/BearSki | bdc75d6f06946896e2128f1c095b9baf9863b124 | [
"MIT"
] | 6 | 2020-01-07T07:07:42.000Z | 2021-06-04T03:38:19.000Z |
#获取参数异常
class ArgmentError(Exception):
def __init__(self, expression, message):
self.expression = expression
self.message = message
#读取配置文件异常
class SettingFileError(Exception):
def __init__(self, expression, message):
self.expression = expression
self.message = message
cla... | 20.130435 | 44 | 0.688985 | 44 | 463 | 6.977273 | 0.272727 | 0.273616 | 0.156352 | 0.19544 | 0.771987 | 0.771987 | 0.771987 | 0.771987 | 0.771987 | 0.771987 | 0 | 0 | 0.228942 | 463 | 22 | 45 | 21.045455 | 0.859944 | 0.030238 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1ce9691c438083a52850c38dd26867a1d4a1ae2a | 320,510 | py | Python | vistrails/db/versions/v0_9_5/domain/auto_gen.py | remram44/VisTrails-mybinder | ee7477b471920d738f3ac430932f01901b56ed44 | [
"BSD-3-Clause"
] | 83 | 2015-01-05T14:50:50.000Z | 2021-09-17T19:45:26.000Z | vistrails/db/versions/v0_9_5/domain/auto_gen.py | remram44/VisTrails-mybinder | ee7477b471920d738f3ac430932f01901b56ed44 | [
"BSD-3-Clause"
] | 254 | 2015-01-02T20:39:19.000Z | 2018-11-28T17:16:44.000Z | vistrails/db/versions/v0_9_5/domain/auto_gen.py | remram44/VisTrails-mybinder | ee7477b471920d738f3ac430932f01901b56ed44 | [
"BSD-3-Clause"
] | 40 | 2015-04-17T16:46:36.000Z | 2021-09-28T22:43:24.000Z | ###############################################################################
##
## Copyright (C) 2014-2016, New York University.
## Copyright (C) 2011-2014, NYU-Poly.
## Copyright (C) 2006-2011, University of Utah.
## All rights reserved.
## Contact: contact@vistrails.org
##
## This file is part of VisTrails.
##
## ... | 41.143774 | 240 | 0.63477 | 45,520 | 320,510 | 4.031503 | 0.00714 | 0.086413 | 0.029295 | 0.026565 | 0.921532 | 0.895321 | 0.857357 | 0.822281 | 0.806129 | 0.778115 | 0 | 0.000348 | 0.282958 | 320,510 | 7,789 | 241 | 41.149056 | 0.798167 | 0.009039 | 0 | 0.817065 | 0 | 0 | 0.023755 | 0.003296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.188872 | false | 0 | 0.000276 | 0.053155 | 0.313682 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1cf75a88a0bcd70164681cc3e84bf9d71b740ceb | 48 | py | Python | allopy/optimize/portfolio/active/__init__.py | wangcj05/allopy | 0d97127e5132df1449283198143994b45fb11214 | [
"MIT"
] | 1 | 2021-04-06T04:33:03.000Z | 2021-04-06T04:33:03.000Z | allopy/optimize/portfolio/active/__init__.py | wangcj05/allopy | 0d97127e5132df1449283198143994b45fb11214 | [
"MIT"
] | null | null | null | allopy/optimize/portfolio/active/__init__.py | wangcj05/allopy | 0d97127e5132df1449283198143994b45fb11214 | [
"MIT"
] | null | null | null | from .optimizer import ActivePortfolioOptimizer
| 24 | 47 | 0.895833 | 4 | 48 | 10.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.977273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1c044ae557848842c8cb04a31d461064ac43b620 | 2,176 | py | Python | 02_findingtheOffset.py | F-Masood/bufferoverflow | b287c5033ed79158f183bb8ba7f964efeccbfe59 | [
"MIT"
] | null | null | null | 02_findingtheOffset.py | F-Masood/bufferoverflow | b287c5033ed79158f183bb8ba7f964efeccbfe59 | [
"MIT"
] | null | null | null | 02_findingtheOffset.py | F-Masood/bufferoverflow | b287c5033ed79158f183bb8ba7f964efeccbfe59 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys,socket
#msf-pattern_create -l 1850 [vulnhub netstart by foxlox]
ip = '192.168.10.51'
port = 2371
offset = "Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2Ad3Ad4Ad5Ad6Ad7Ad8Ad9Ae0Ae1Ae2Ae3Ae4Ae5Ae6Ae7Ae8Ae9Af0Af1Af2Af3Af4Af5Af6Af7Af8Af9A... | 108.8 | 1,861 | 0.949449 | 51 | 2,176 | 40.45098 | 0.784314 | 0.011634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29948 | 0.027114 | 2,176 | 19 | 1,862 | 114.526316 | 0.675012 | 0.032629 | 0 | 0 | 0 | 0 | 0.898241 | 0.879696 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.083333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1c1375c53bef4c1b457d615f57061a389efe4123 | 10,123 | py | Python | test/autests/gold_tests/field_verification/not_nocase.test.py | keesspoelstra/proxy-verifier | 1b219d68783a453c2271108bbea5a9529d018498 | [
"Apache-2.0"
] | 31 | 2020-03-03T04:37:36.000Z | 2022-03-31T15:43:07.000Z | test/autests/gold_tests/field_verification/not_nocase.test.py | keesspoelstra/proxy-verifier | 1b219d68783a453c2271108bbea5a9529d018498 | [
"Apache-2.0"
] | 33 | 2020-02-11T19:34:12.000Z | 2021-06-21T20:07:32.000Z | test/autests/gold_tests/field_verification/not_nocase.test.py | keesspoelstra/proxy-verifier | 1b219d68783a453c2271108bbea5a9529d018498 | [
"Apache-2.0"
] | 13 | 2020-02-07T20:04:02.000Z | 2021-12-21T21:26:40.000Z | '''
Verify correct field and URL verification behavior
for not and nocase modifiers.
'''
# @file
#
# Copyright 2021, Verizon Media
# SPDX-License-Identifier: Apache-2.0
#
Test.Summary = '''
Verify correct field and URL verification behavior for
equals, absent, present, contains, prefix, and suffix
with not, nocase, a... | 53.560847 | 136 | 0.712042 | 1,341 | 10,123 | 5.369128 | 0.111111 | 0.066806 | 0.102778 | 0.195278 | 0.838889 | 0.813056 | 0.795417 | 0.785139 | 0.698611 | 0.636389 | 0 | 0.005678 | 0.147486 | 10,123 | 188 | 137 | 53.845745 | 0.828621 | 0.033784 | 0 | 0.288 | 0 | 0.184 | 0.690086 | 0.008091 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1c4aa9eedb3b1c6e2e7a3e567eb7ad686eaa3237 | 95 | py | Python | src/learndash/api_resources/__init__.py | MarkMacDon/learndash-python | a3fbfc45567a524b80c732d735f2ae101119f2e4 | [
"MIT"
] | null | null | null | src/learndash/api_resources/__init__.py | MarkMacDon/learndash-python | a3fbfc45567a524b80c732d735f2ae101119f2e4 | [
"MIT"
] | 1 | 2021-05-06T19:01:24.000Z | 2021-05-06T19:01:24.000Z | src/learndash/api_resources/__init__.py | MarkMacDon/learndash-python | a3fbfc45567a524b80c732d735f2ae101119f2e4 | [
"MIT"
] | 2 | 2021-05-05T22:45:04.000Z | 2021-07-24T08:47:02.000Z | from learndash.api_resources.course import Course
from learndash.api_resources.user import User | 47.5 | 49 | 0.884211 | 14 | 95 | 5.857143 | 0.5 | 0.317073 | 0.390244 | 0.609756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 95 | 2 | 50 | 47.5 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
1c8bd63bbcf9973362a7a60fdb41739b53e0c42c | 119 | py | Python | light_bulb/__init__.py | renorram/opengl_lamp | fe43ebfaea688f19cc05fe791fe9f15d7b283a7b | [
"MIT"
] | null | null | null | light_bulb/__init__.py | renorram/opengl_lamp | fe43ebfaea688f19cc05fe791fe9f15d7b283a7b | [
"MIT"
] | null | null | null | light_bulb/__init__.py | renorram/opengl_lamp | fe43ebfaea688f19cc05fe791fe9f15d7b283a7b | [
"MIT"
] | null | null | null | from light_bulb.camera import Camera
from light_bulb.controls import Controls
from light_bulb.lighting import Lighting
| 29.75 | 40 | 0.87395 | 18 | 119 | 5.611111 | 0.388889 | 0.267327 | 0.386139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 119 | 3 | 41 | 39.666667 | 0.943925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1c90dc783a4f274931b624f5ef23dfb91babaf94 | 28,170 | py | Python | ohqueue/tests.py | mike2151/Online-OH-queue | 04544a55bf57b5d93e0fcf2764e6ee6511d6c2ed | [
"MIT"
] | 6 | 2019-05-17T02:29:12.000Z | 2020-09-28T01:14:47.000Z | ohqueue/tests.py | mike2151/Online-OH-queue | 04544a55bf57b5d93e0fcf2764e6ee6511d6c2ed | [
"MIT"
] | 33 | 2018-12-16T18:58:11.000Z | 2021-06-10T21:04:11.000Z | ohqueue/tests.py | mike2151/Online-OH-queue | 04544a55bf57b5d93e0fcf2764e6ee6511d6c2ed | [
"MIT"
] | 3 | 2019-01-10T15:55:18.000Z | 2021-02-25T15:54:36.000Z | from django.test import TestCase
from .models import OHQueue
from freezegun import freeze_time
from users.models import StudentUser
import datetime
from rest_framework.test import APIClient
from rest_framework.authtoken.models import Token
import json
import string, random
class OHCreation(TestCase):
def setUp(sel... | 44.22292 | 134 | 0.666986 | 3,608 | 28,170 | 5.025776 | 0.056541 | 0.03921 | 0.055589 | 0.064303 | 0.91452 | 0.902112 | 0.896928 | 0.890366 | 0.873932 | 0.864281 | 0 | 0.028291 | 0.185659 | 28,170 | 636 | 135 | 44.292453 | 0.762162 | 0.006816 | 0 | 0.787942 | 0 | 0 | 0.15035 | 0.042334 | 0 | 0 | 0 | 0 | 0.218295 | 1 | 0.12474 | false | 0.033264 | 0.018711 | 0.004158 | 0.155925 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
98ef59cbc1344f9834b9ab69a326309e855d4512 | 171,040 | py | Python | google/ads/google_ads/v3/proto/errors/errors_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | 1 | 2019-11-30T23:42:39.000Z | 2019-11-30T23:42:39.000Z | google/ads/google_ads/v3/proto/errors/errors_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v3/proto/errors/errors_pb2.py | jphanwebstaurant/google-ads-python | 600812b2afcc4d57f00b47dfe436620ce50bfe9b | [
"Apache-2.0"
] | 1 | 2020-09-30T17:04:06.000Z | 2020-09-30T17:04:06.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v3/proto/errors/errors.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message ... | 82.349543 | 24,384 | 0.832045 | 24,438 | 171,040 | 5.301211 | 0.043784 | 0.063002 | 0.043442 | 0.039367 | 0.807188 | 0.785289 | 0.751843 | 0.714699 | 0.674182 | 0.623886 | 0 | 0.031037 | 0.079783 | 171,040 | 2,076 | 24,385 | 82.38921 | 0.792063 | 0.005291 | 0 | 0.461997 | 1 | 0.066567 | 0.302097 | 0.202379 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.059613 | 0 | 0.059613 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c764846d2d2ac5223bc2f83a18fa911e797677da | 43,546 | py | Python | layint_runtime_api/apis/image_api.py | LayeredInsight/layint_runtime_api_python | 0e24f2cc5bf342505d6ec9af19323819b1a70d4d | [
"Apache-2.0"
] | 1 | 2018-03-26T23:54:59.000Z | 2018-03-26T23:54:59.000Z | layint_runtime_api/apis/image_api.py | LayeredInsight/layint_runtime_api_python | 0e24f2cc5bf342505d6ec9af19323819b1a70d4d | [
"Apache-2.0"
] | null | null | null | layint_runtime_api/apis/image_api.py | LayeredInsight/layint_runtime_api_python | 0e24f2cc5bf342505d6ec9af19323819b1a70d4d | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Layered Witness & Control
LI Witness provides deep insight and analytics into containerized applications. Control provides dynamic runtime security and analytics for containerized applications. You can find out more about the Layered Insight Suite at [http://layeredinsight.com](http://laye... | 42.154889 | 284 | 0.566757 | 4,436 | 43,546 | 5.32349 | 0.04982 | 0.031124 | 0.023714 | 0.030489 | 0.949608 | 0.938683 | 0.932162 | 0.917976 | 0.910015 | 0.899471 | 0 | 0.000537 | 0.359092 | 43,546 | 1,032 | 285 | 42.195736 | 0.845605 | 0.344211 | 0 | 0.782869 | 0 | 0 | 0.155041 | 0.041595 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041833 | false | 0 | 0.013944 | 0 | 0.11753 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c76e42d7e5572116be91dc3d8bc5dbc02c2b514f | 17,459 | py | Python | pysdb3/models.py | ondrolexa/pysdb | 965af226eb10f1b93f2437b201e1fcb5af3fa900 | [
"MIT"
] | 1 | 2018-05-01T20:02:39.000Z | 2018-05-01T20:02:39.000Z | pysdb3/models.py | ondrolexa/pysdb | 965af226eb10f1b93f2437b201e1fcb5af3fa900 | [
"MIT"
] | null | null | null | pysdb3/models.py | ondrolexa/pysdb | 965af226eb10f1b93f2437b201e1fcb5af3fa900 | [
"MIT"
] | 2 | 2018-02-16T20:09:37.000Z | 2020-09-30T19:18:46.000Z | from PyQt5 import QtCore, QtGui, QtWidgets
sitecol = {'id': 0, 'name': 1, 'x': 2, 'y': 3, 'desc': 4, 'id_units': 5}
datacol = {'id': 0, 'id_sites': 1, 'id_struct': 2, 'azi': 3, 'inc': 4, 'struct': 5, 'desc': 6, 'tags': 7}
structurecol = {'id': 0, 'structure': 1, 'planar': 2, 'desc': 3, 'scode': 4, 'gcode': 5}
unitcol ... | 38.203501 | 251 | 0.608511 | 2,143 | 17,459 | 4.903873 | 0.10406 | 0.048815 | 0.031973 | 0.038824 | 0.834332 | 0.815396 | 0.780474 | 0.754306 | 0.710058 | 0.679513 | 0 | 0.009195 | 0.277393 | 17,459 | 456 | 252 | 38.287281 | 0.823795 | 0.208775 | 0 | 0.712803 | 0 | 0.034602 | 0.167015 | 0.001793 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17301 | false | 0 | 0.00346 | 0.00692 | 0.391003 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1bf0bd8bf3c87a5edfb5b1684a667168ee2faddf | 83 | py | Python | cemba_data/dmr/dss/__init__.py | jksr/cemba_data | c796c33a2fd262b2ef893df1951a90b8d0ba9289 | [
"MIT"
] | 4 | 2018-11-13T21:50:57.000Z | 2020-11-25T18:42:57.000Z | cemba_data/dmr/dss/__init__.py | jksr/cemba_data | c796c33a2fd262b2ef893df1951a90b8d0ba9289 | [
"MIT"
] | 9 | 2020-10-25T01:58:07.000Z | 2021-06-13T19:17:50.000Z | cemba_data/dmr/dss/__init__.py | jksr/cemba_data | c796c33a2fd262b2ef893df1951a90b8d0ba9289 | [
"MIT"
] | 3 | 2018-12-29T23:30:25.000Z | 2020-10-14T18:00:03.000Z | from .TwoGroup import run_dss_two_group
from .MultiGroup import run_dss_multi_group | 41.5 | 43 | 0.891566 | 14 | 83 | 4.857143 | 0.642857 | 0.264706 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 83 | 2 | 43 | 41.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4015ac3760416ee352775e59bc9e4946232e04da | 148 | py | Python | sprint/tools_fa/__init__.py | jumphone/sprint | 94a5e5450d73b357497fba11eef818c6cc8792aa | [
"MIT"
] | 44 | 2018-03-09T22:22:50.000Z | 2021-09-15T09:40:54.000Z | sprint/tools_fa/__init__.py | jumphone/sprint | 94a5e5450d73b357497fba11eef818c6cc8792aa | [
"MIT"
] | 30 | 2018-03-19T05:30:05.000Z | 2022-01-21T06:54:45.000Z | sprint/tools_fa/__init__.py | jumphone/sprint | 94a5e5450d73b357497fba11eef818c6cc8792aa | [
"MIT"
] | 13 | 2018-06-30T10:07:02.000Z | 2021-06-10T13:25:43.000Z | from maskAwithG import *
from maskTwithC import *
from transcript_assembler import *
from transcript_locator import *
from transcript_sort import *
| 24.666667 | 34 | 0.831081 | 18 | 148 | 6.666667 | 0.444444 | 0.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 148 | 5 | 35 | 29.6 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4025fb0f7a6e66b339f48e7130243a1c13b28517 | 43,803 | py | Python | sdk/python/pulumi_openstack/compute/quota_set_v2.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2018-09-12T12:37:51.000Z | 2022-02-04T19:32:13.000Z | sdk/python/pulumi_openstack/compute/quota_set_v2.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 72 | 2018-08-15T13:04:57.000Z | 2022-03-31T15:39:49.000Z | sdk/python/pulumi_openstack/compute/quota_set_v2.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2019-03-14T08:28:49.000Z | 2021-12-29T04:23:55.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 42.158807 | 134 | 0.641577 | 5,090 | 43,803 | 5.303536 | 0.044204 | 0.086386 | 0.094388 | 0.102686 | 0.938878 | 0.933136 | 0.928468 | 0.92243 | 0.914688 | 0.898537 | 0 | 0.003449 | 0.265187 | 43,803 | 1,038 | 135 | 42.199422 | 0.835244 | 0.340913 | 0 | 0.877395 | 1 | 0 | 0.103588 | 0.024605 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.001916 | 0.009579 | 0 | 0.275862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
405e508a120ee9c6808a59ababde5f500118f698 | 113 | py | Python | Modified_data/SpaceFOM/__init__.py | jiajlin/TrickHLA | ae704b97049579e997593ae6d8dd016010b8fa1e | [
"NASA-1.3"
] | 18 | 2020-03-04T14:23:08.000Z | 2022-03-17T10:47:21.000Z | Modified_data/SpaceFOM/__init__.py | jiajlin/TrickHLA | ae704b97049579e997593ae6d8dd016010b8fa1e | [
"NASA-1.3"
] | 57 | 2020-06-04T16:03:44.000Z | 2021-05-17T20:54:35.000Z | Modified_data/SpaceFOM/__init__.py | jiajlin/TrickHLA | ae704b97049579e997593ae6d8dd016010b8fa1e | [
"NASA-1.3"
] | 5 | 2020-08-25T05:51:05.000Z | 2021-10-01T18:37:38.000Z | from .SpaceFOMFederateConfig import *
from .SpaceFOMMTRInteraction import *
from .SpaceFOMRefFrameObject import * | 37.666667 | 37 | 0.849558 | 9 | 113 | 10.666667 | 0.555556 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 113 | 3 | 38 | 37.666667 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 7 |
40b6fd139983cf0c352f7637f9421ca84dcb3d9f | 20,732 | py | Python | paint/views.py | atulk17/Paint-App | 4b56455596d140cee4a9b19c71fe82364c3f3b7c | [
"BSD-2-Clause"
] | null | null | null | paint/views.py | atulk17/Paint-App | 4b56455596d140cee4a9b19c71fe82364c3f3b7c | [
"BSD-2-Clause"
] | null | null | null | paint/views.py | atulk17/Paint-App | 4b56455596d140cee4a9b19c71fe82364c3f3b7c | [
"BSD-2-Clause"
] | 1 | 2020-05-31T11:37:48.000Z | 2020-05-31T11:37:48.000Z | from django.shortcuts import render
from .forms import SearchCustomerForm, SearchDistributorForm, SearchProductForm
from django.http import HttpResponse, request
from .models import Customers, Sale_Consists_of, Sales, Delivers, Distributor, Products, Purchase, Sales, Office_Expense
import sqlite3
from django.http ... | 39.94605 | 297 | 0.625024 | 3,072 | 20,732 | 4.148438 | 0.057943 | 0.042373 | 0.070621 | 0.037665 | 0.845339 | 0.843063 | 0.812068 | 0.812068 | 0.812068 | 0.812068 | 0 | 0.023484 | 0.223616 | 20,732 | 519 | 298 | 39.94605 | 0.768265 | 0 | 0 | 0.783715 | 0 | 0.124682 | 0.362948 | 0.067029 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081425 | false | 0 | 0.015267 | 0.030534 | 0.185751 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
40d06c7715fd6cd7c01531080f9c708b51464f5e | 150 | py | Python | powspechi/__init__.py | m33ra/HI_powspec | 1a60cd55501b54a1cc391817860e0b80dba6c5f8 | [
"MIT"
] | 4 | 2019-10-05T16:34:07.000Z | 2019-10-09T12:22:10.000Z | powspechi/__init__.py | m33ra/powspechi | 1a60cd55501b54a1cc391817860e0b80dba6c5f8 | [
"MIT"
] | null | null | null | powspechi/__init__.py | m33ra/powspechi | 1a60cd55501b54a1cc391817860e0b80dba6c5f8 | [
"MIT"
] | null | null | null | from powspechi.monte_carlos import *
from powspechi.maps_manip import *
from powspechi.powspec_calc import *
from powspechi.powspec_analysis import *
| 30 | 40 | 0.84 | 20 | 150 | 6.1 | 0.5 | 0.42623 | 0.467213 | 0.42623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 150 | 4 | 41 | 37.5 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
dc04a6e5df4fc905d10b6d6b25ee4079b160679b | 26,783 | py | Python | structureimpute/explore/compare_same_seq_true_and_predict_of_two_condition.py | Tsinghua-gongjing/StructureImpute | 59e33e913998a8841c2cb552828f0f0cc19ebc21 | [
"MIT"
] | 9 | 2021-11-17T11:27:41.000Z | 2022-03-04T10:27:37.000Z | structureimpute/explore/compare_same_seq_true_and_predict_of_two_condition.py | Tsinghua-gongjing/StructureImpute | 59e33e913998a8841c2cb552828f0f0cc19ebc21 | [
"MIT"
] | null | null | null | structureimpute/explore/compare_same_seq_true_and_predict_of_two_condition.py | Tsinghua-gongjing/StructureImpute | 59e33e913998a8841c2cb552828f0f0cc19ebc21 | [
"MIT"
] | null | null | null | from __future__ import print_function
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
import seaborn as sns
sns.set(style="ticks")
sns.set_context("poster")
plt.rcParams["font.family"] = "Helvetica"
import sys, os
from nested_dict import nested_dict
import pandas as pd
import numpy as np
from p... | 130.64878 | 975 | 0.82403 | 3,823 | 26,783 | 5.436307 | 0.069056 | 0.05774 | 0.091421 | 0.115479 | 0.883318 | 0.868979 | 0.85185 | 0.843526 | 0.835491 | 0.831641 | 0 | 0.059569 | 0.057312 | 26,783 | 205 | 976 | 130.64878 | 0.763585 | 0.052496 | 0 | 0.223141 | 0 | 0.016529 | 0.194723 | 0.066925 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024793 | false | 0 | 0.157025 | 0 | 0.190083 | 0.041322 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
905e73b142c5378a5b79189c0c81b763097450ca | 149 | py | Python | hb_quant/huobi/constant/__init__.py | wenli135/Binance-volatility-trading-bot | 75a03ad61df0e95492128fb6f1f419d4dc256ab3 | [
"MIT"
] | 611 | 2019-07-10T08:17:50.000Z | 2022-03-21T18:56:39.000Z | hb_quant/huobi/constant/__init__.py | wenli135/Binance-volatility-trading-bot | 75a03ad61df0e95492128fb6f1f419d4dc256ab3 | [
"MIT"
] | 105 | 2019-07-12T03:43:41.000Z | 2022-03-30T10:33:06.000Z | hb_quant/huobi/constant/__init__.py | wenli135/Binance-volatility-trading-bot | 75a03ad61df0e95492128fb6f1f419d4dc256ab3 | [
"MIT"
] | 325 | 2019-07-12T02:46:54.000Z | 2022-03-21T18:56:41.000Z | from huobi.constant.definition import *
from huobi.constant.result import *
from huobi.constant.system import *
from huobi.constant.test import *
| 18.625 | 39 | 0.791946 | 20 | 149 | 5.9 | 0.4 | 0.305085 | 0.576271 | 0.584746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127517 | 149 | 7 | 40 | 21.285714 | 0.907692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
9072ebd509b3ec8099f763646c2bfde9709c9c96 | 7,700 | py | Python | imagepy/menus/Process/Features/blob_plgs.py | CsatiZoltan/imagepy | df44caef2822f2c543b9fa4ef6132a7b1014623e | [
"BSD-4-Clause"
] | 1 | 2020-05-16T12:30:30.000Z | 2020-05-16T12:30:30.000Z | imagepy/menus/Process/Features/blob_plgs.py | HeLiangHIT/imagepy | 9a60ad3b1e8f79f2dcc47e4f246a4f31a96f99f5 | [
"BSD-4-Clause"
] | null | null | null | imagepy/menus/Process/Features/blob_plgs.py | HeLiangHIT/imagepy | 9a60ad3b1e8f79f2dcc47e4f246a4f31a96f99f5 | [
"BSD-4-Clause"
] | null | null | null | from imagepy import IPy
import numpy as np
from imagepy.core.engine import Simple
from skimage.feature import blob_dog, blob_doh, blob_log
from imagepy.core.mark import GeometryMark
import pandas as pd
class Dog(Simple):
title = 'Blob Dog'
note = ['all', 'preview']
para = {'min_sigma':1, 'max_sigma':50, 's... | 45.294118 | 108 | 0.527922 | 1,043 | 7,700 | 3.811122 | 0.104506 | 0.042264 | 0.02717 | 0.013585 | 0.909434 | 0.909434 | 0.904151 | 0.904151 | 0.891824 | 0.883019 | 0 | 0.028322 | 0.257143 | 7,700 | 170 | 109 | 45.294118 | 0.666608 | 0 | 0 | 0.829787 | 0 | 0 | 0.186599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.042553 | 0 | 0.212766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
90a1b5c698734d7d439815de91772a44270da425 | 35,108 | py | Python | lang/python/github/com/metaprov/modelaapi/services/dataset/v1/dataset_pb2_grpc.py | metaprov/modelaapi | 64ab493dd73329196235e15776e5177c72281990 | [
"Apache-2.0"
] | 5 | 2022-02-18T03:40:10.000Z | 2022-03-01T16:11:24.000Z | lang/python/github/com/metaprov/modelaapi/services/dataset/v1/dataset_pb2_grpc.py | metaprov/modelaapi | 64ab493dd73329196235e15776e5177c72281990 | [
"Apache-2.0"
] | 1 | 2022-01-07T19:59:25.000Z | 2022-02-04T01:21:14.000Z | lang/python/github/com/metaprov/modelaapi/services/dataset/v1/dataset_pb2_grpc.py | metaprov/modelaapi | 64ab493dd73329196235e15776e5177c72281990 | [
"Apache-2.0"
] | 1 | 2022-03-25T10:21:43.000Z | 2022-03-25T10:21:43.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from github.com.metaprov.modelaapi.services.dataset.v1 import dataset_pb2 as github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_dataset_dot_v1_dot_datase... | 61.918871 | 178 | 0.7406 | 3,656 | 35,108 | 6.594365 | 0.045678 | 0.080468 | 0.048281 | 0.060351 | 0.910075 | 0.910075 | 0.910075 | 0.883073 | 0.878469 | 0.855573 | 0 | 0.008184 | 0.199499 | 35,108 | 566 | 179 | 62.028269 | 0.849666 | 0.037171 | 0 | 0.520325 | 1 | 0 | 0.105996 | 0.077634 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069106 | false | 0 | 0.004065 | 0.03252 | 0.111789 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
90ad40c21bdc1c3036ceb16c8453d894f88af372 | 7,473 | py | Python | tests/test_create_inconsistent_dimensionality.py | chadwhawkins/Shapely | 73626bce8e99b3f251ad874a41d97d2384e734ce | [
"BSD-3-Clause"
] | 1 | 2020-08-24T14:38:08.000Z | 2020-08-24T14:38:08.000Z | tests/test_create_inconsistent_dimensionality.py | chadwhawkins/Shapely | 73626bce8e99b3f251ad874a41d97d2384e734ce | [
"BSD-3-Clause"
] | null | null | null | tests/test_create_inconsistent_dimensionality.py | chadwhawkins/Shapely | 73626bce8e99b3f251ad874a41d97d2384e734ce | [
"BSD-3-Clause"
] | null | null | null | """
When a "context" passed to shape/asShape has a coordinate
which is missing a dimension we should raise a descriptive error.
When we use mixed dimensions in a WKT geometry, the parser strips
any dimension which is not present in every coordinate.
"""
import pytest
from shapely import wkt
from shapely.geometry im... | 135.872727 | 2,902 | 0.748294 | 972 | 7,473 | 5.735597 | 0.200617 | 0.036592 | 0.071749 | 0.023677 | 0.872646 | 0.850404 | 0.838386 | 0.811121 | 0.811121 | 0.782422 | 0 | 0.681672 | 0.087381 | 7,473 | 54 | 2,903 | 138.388889 | 0.135777 | 0.040546 | 0 | 0.133333 | 0 | 0.066667 | 0.073195 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
90f3b675a66ee395237b0cbd6c262be39514aed5 | 147 | py | Python | app/main_page/views.py | JONGSKY/patent_search | 0892663d7332132da3713a846ff5a37ed2c51536 | [
"MIT"
] | 3 | 2020-12-14T14:06:04.000Z | 2020-12-29T02:22:28.000Z | app/main_page/views.py | JONGSKY/patent_search | 0892663d7332132da3713a846ff5a37ed2c51536 | [
"MIT"
] | 5 | 2020-11-25T08:47:24.000Z | 2020-12-18T09:07:17.000Z | app/main_page/views.py | JONGSKY/patent_search | 0892663d7332132da3713a846ff5a37ed2c51536 | [
"MIT"
] | 2 | 2020-11-24T10:09:18.000Z | 2021-04-28T15:59:15.000Z | from django.shortcuts import render
# Create your views here.
def main_page(request):
return render(request, 'main_page/main_page.html') | 24.5 | 54 | 0.748299 | 21 | 147 | 5.095238 | 0.714286 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 147 | 6 | 54 | 24.5 | 0.869919 | 0.156463 | 0 | 0 | 0 | 0 | 0.20339 | 0.20339 | 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 | 1 | 0 | 0 | 7 |
293961e5ab195bca63050351c25bf58627a6c75b | 1,527 | py | Python | tests/test_model.py | cbbruss/frustanet | 8b08470ba3165012b58d9424ea985895e1324c26 | [
"Unlicense",
"MIT"
] | null | null | null | tests/test_model.py | cbbruss/frustanet | 8b08470ba3165012b58d9424ea985895e1324c26 | [
"Unlicense",
"MIT"
] | null | null | null | tests/test_model.py | cbbruss/frustanet | 8b08470ba3165012b58d9424ea985895e1324c26 | [
"Unlicense",
"MIT"
] | null | null | null | # Testing Model
import torch
import numpy as np
from frustanet.model import FrustaNetRegression
# Tests with just linear model
def test_forward():
net = FrustaNetRegression(n_features=10)
x = torch.randn(2, 10)
out = net(x)
assert out[0].shape[1] == 1
def test_training_step():
net = FrustaNetReg... | 26.327586 | 60 | 0.654879 | 234 | 1,527 | 4.149573 | 0.188034 | 0.123584 | 0.135942 | 0.223481 | 0.802266 | 0.750772 | 0.750772 | 0.750772 | 0.750772 | 0.732235 | 0 | 0.054302 | 0.21611 | 1,527 | 58 | 61 | 26.327586 | 0.756892 | 0.045842 | 0 | 0.673913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.152174 | false | 0 | 0.065217 | 0 | 0.217391 | 0.021739 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
2965d4b4dab84814440b0c57c3e0be9eece50537 | 6,673 | py | Python | users/tests.py | jtkim03/Find-a-QT | a330c95f76bcc148febf39284c07d3ac4f909b4e | [
"BSD-3-Clause"
] | null | null | null | users/tests.py | jtkim03/Find-a-QT | a330c95f76bcc148febf39284c07d3ac4f909b4e | [
"BSD-3-Clause"
] | 9 | 2021-03-30T13:42:35.000Z | 2022-03-12T00:36:19.000Z | users/tests.py | jtkim03/Find-a-QT | a330c95f76bcc148febf39284c07d3ac4f909b4e | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from .models import Profile, Like, Dislike
from django.contrib.auth.models import User
# Create your tests here.
""" Tests if updating a Profile works correctly """
class ChangeProfileTest(TestCase):
def setUp(self):
self.test_user = User.objects.create_user('JohnD', 'john... | 51.728682 | 96 | 0.719916 | 983 | 6,673 | 4.592065 | 0.089522 | 0.170137 | 0.121843 | 0.086398 | 0.875277 | 0.863979 | 0.819229 | 0.795968 | 0.774036 | 0.747895 | 0 | 0.001456 | 0.176682 | 6,673 | 128 | 97 | 52.132813 | 0.820167 | 0.003447 | 0 | 0.730769 | 0 | 0 | 0.140572 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 1 | 0.173077 | false | 0.163462 | 0.028846 | 0 | 0.288462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
463205a22e0f79a420196e3a5a9a4536c4ab25c9 | 5,225 | py | Python | metagame_character_results.py | RPGLite/analysis | 13f683beb26d77c6f7ae7de54808b0cb5acb9eee | [
"MIT"
] | null | null | null | metagame_character_results.py | RPGLite/analysis | 13f683beb26d77c6f7ae7de54808b0cb5acb9eee | [
"MIT"
] | 1 | 2020-11-27T14:38:33.000Z | 2020-11-27T14:38:33.000Z | metagame_character_results.py | RPGLite/analysis | 13f683beb26d77c6f7ae7de54808b0cb5acb9eee | [
"MIT"
] | null | null | null | from helper_fns import *
import numpy as np
import matplotlib.pyplot as plt
import math, pymongo
from bson import objectid
results = np.array([[0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0],
... | 39.285714 | 142 | 0.493206 | 917 | 5,225 | 2.751363 | 0.10578 | 0.21086 | 0.309156 | 0.402695 | 0.925882 | 0.925882 | 0.925882 | 0.925882 | 0.925882 | 0.925882 | 0 | 0.114236 | 0.237703 | 5,225 | 133 | 143 | 39.285714 | 0.519207 | 0.011675 | 0 | 0.678899 | 0 | 0 | 0.06974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045872 | 0 | 0.045872 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
4672efe88ee10b0cf6d782d73fdeca994d616001 | 6,848 | py | Python | exercises/practice/grade-school/grade_school_test.py | tamireinhorn/python | 027e94759dd3281b0633c82171e377a28dc5a92e | [
"MIT"
] | 1,177 | 2017-06-21T20:24:06.000Z | 2022-03-29T02:30:55.000Z | exercises/practice/grade-school/grade_school_test.py | tamireinhorn/python | 027e94759dd3281b0633c82171e377a28dc5a92e | [
"MIT"
] | 1,890 | 2017-06-18T20:06:10.000Z | 2022-03-31T18:35:51.000Z | exercises/practice/grade-school/grade_school_test.py | stigjb-forks/exercism-python | cfb620d1603eb9b08511f96f00f872c67cac0d05 | [
"MIT"
] | 1,095 | 2017-06-26T23:06:19.000Z | 2022-03-29T03:25:38.000Z | import unittest
from grade_school import (
School,
)
# Tests adapted from `problem-specifications//canonical-data.json`
class GradeSchoolTest(unittest.TestCase):
def test_roster_is_empty_when_no_student_is_added(self):
school = School()
expected = []
self.assertEqual(school.roster()... | 38.256983 | 81 | 0.656542 | 885 | 6,848 | 4.815819 | 0.084746 | 0.143125 | 0.225246 | 0.281558 | 0.894181 | 0.887142 | 0.852651 | 0.833412 | 0.802206 | 0.715157 | 0 | 0.012206 | 0.210426 | 6,848 | 178 | 82 | 38.47191 | 0.776031 | 0.009346 | 0 | 0.703448 | 0 | 0 | 0.06473 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.137931 | false | 0 | 0.013793 | 0 | 0.158621 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 9 |
d3b48b8fc813c976f77459ecd451ddba7b5ad966 | 25,501 | py | Python | eval.py | WeiChengTseng/DL_final_project | bbe61592a3d85c00731e254edcd1108075c49b6f | [
"Apache-2.0"
] | 7 | 2019-05-09T13:43:19.000Z | 2022-01-11T06:00:05.000Z | eval.py | WeiChengTseng/DL_final_project | bbe61592a3d85c00731e254edcd1108075c49b6f | [
"Apache-2.0"
] | null | null | null | eval.py | WeiChengTseng/DL_final_project | bbe61592a3d85c00731e254edcd1108075c49b6f | [
"Apache-2.0"
] | 4 | 2019-05-10T16:57:37.000Z | 2019-06-05T14:43:27.000Z | import time
import matplotlib
import time
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
from tensorboardX import SummaryWriter
from a2c.models import AtariCNN, A2C, A2CLarge
from a2c.envs i... | 36.223011 | 86 | 0.570135 | 2,931 | 25,501 | 4.691914 | 0.05766 | 0.045084 | 0.036649 | 0.040067 | 0.834497 | 0.802283 | 0.762289 | 0.755308 | 0.73313 | 0.709424 | 0 | 0.032626 | 0.318497 | 25,501 | 704 | 87 | 36.223011 | 0.758674 | 0.159955 | 0 | 0.787611 | 0 | 0 | 0.019419 | 0.014072 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026549 | false | 0.002212 | 0.037611 | 0 | 0.090708 | 0.004425 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d3b5fe9cbe26215c06afe171fa32acab4a36471b | 2,325 | py | Python | teuthology/test/test_vps_os_vers_parameter_checking.py | tchaikov/teuthology | bda9cb993f372116c804ea49daefda6b816650d5 | [
"MIT"
] | 1 | 2018-05-17T13:02:42.000Z | 2018-05-17T13:02:42.000Z | teuthology/test/test_vps_os_vers_parameter_checking.py | tchaikov/teuthology | bda9cb993f372116c804ea49daefda6b816650d5 | [
"MIT"
] | null | null | null | teuthology/test/test_vps_os_vers_parameter_checking.py | tchaikov/teuthology | bda9cb993f372116c804ea49daefda6b816650d5 | [
"MIT"
] | 2 | 2017-12-21T08:05:49.000Z | 2021-04-06T09:23:06.000Z | from .. import lock
class Mock: pass
class TestVpsOsVersionParamCheck(object):
def setup(self):
self.fake_ctx = Mock()
self.fake_ctx.machine_type = 'vps'
self.fake_ctx.num_to_lock = 1
self.fake_ctx.lock = False
def test_ubuntu_precise(self):
self.fake_ctx.os_type = 'u... | 34.191176 | 53 | 0.575484 | 298 | 2,325 | 4.107383 | 0.14094 | 0.222222 | 0.305556 | 0.254902 | 0.818627 | 0.784314 | 0.75 | 0.75 | 0.75 | 0.75 | 0 | 0.007256 | 0.347957 | 2,325 | 67 | 54 | 34.701493 | 0.800132 | 0 | 0 | 0.642857 | 0 | 0 | 0.02883 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 1 | 0.125 | false | 0.017857 | 0.017857 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
d3b9f871778afa863b086bd919e3e7feaf470222 | 215 | py | Python | realtime_api/game/__init__.py | mmartin/ogs_api | a1ad0753d5922b93bbb27c427f8ee68ebc4a23a3 | [
"MIT"
] | 4 | 2020-05-01T15:17:21.000Z | 2021-07-10T05:49:39.000Z | realtime_api/game/__init__.py | mmartin/ogs_api | a1ad0753d5922b93bbb27c427f8ee68ebc4a23a3 | [
"MIT"
] | null | null | null | realtime_api/game/__init__.py | mmartin/ogs_api | a1ad0753d5922b93bbb27c427f8ee68ebc4a23a3 | [
"MIT"
] | 1 | 2021-02-07T20:33:28.000Z | 2021-02-07T20:33:28.000Z | from .game import game_connect, game_disconnect
from .game import add_game_clock_handler, add_game_move_handler, add_game_undo_requested_handler, add_game_handler
from .game import game_chat, game_pass, game_resume
| 53.75 | 114 | 0.874419 | 35 | 215 | 4.885714 | 0.4 | 0.163743 | 0.245614 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083721 | 215 | 3 | 115 | 71.666667 | 0.86802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
d3cb5876969848da3acddb0e3a3267d3fc5fdffb | 2,005 | py | Python | rotkehlchen/tests/pylint/test_disallow_not.py | coblee/rotki | d675f5c2d0df5176337b7b10038524ee74923482 | [
"BSD-3-Clause"
] | 137 | 2018-03-05T11:53:29.000Z | 2019-11-03T16:38:42.000Z | rotkehlchen/tests/pylint/test_disallow_not.py | coblee/rotki | d675f5c2d0df5176337b7b10038524ee74923482 | [
"BSD-3-Clause"
] | 385 | 2018-03-08T12:43:41.000Z | 2019-11-10T09:15:36.000Z | rotkehlchen/tests/pylint/test_disallow_not.py | coblee/rotki | d675f5c2d0df5176337b7b10038524ee74923482 | [
"BSD-3-Clause"
] | 59 | 2018-03-08T10:08:27.000Z | 2019-10-26T11:30:44.000Z | import astroid
from tools.pylint import NotBooleanChecker
def test_detect_list_as_nonboolean_not(pylint_test_linter):
checker = NotBooleanChecker(linter=pylint_test_linter)
node = astroid.extract_node("""
a = []
not a #@
""")
checker.visit_unaryop(node)
messages = checker.linter.release_me... | 28.239437 | 72 | 0.707232 | 238 | 2,005 | 5.647059 | 0.180672 | 0.089286 | 0.142857 | 0.102679 | 0.848958 | 0.848958 | 0.848958 | 0.848958 | 0.848958 | 0.848958 | 0 | 0.004284 | 0.185037 | 2,005 | 70 | 73 | 28.642857 | 0.818237 | 0 | 0 | 0.706897 | 0 | 0 | 0.14015 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.103448 | false | 0 | 0.034483 | 0 | 0.172414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d3d0bb0cd5f3b726b99ea184a847d04b28bd0297 | 47 | py | Python | src/backend/app/api/public/claims/claim/__init__.py | aimanow/sft | dce87ffe395ae4bd08b47f28e07594e1889da819 | [
"Apache-2.0"
] | null | null | null | src/backend/app/api/public/claims/claim/__init__.py | aimanow/sft | dce87ffe395ae4bd08b47f28e07594e1889da819 | [
"Apache-2.0"
] | null | null | null | src/backend/app/api/public/claims/claim/__init__.py | aimanow/sft | dce87ffe395ae4bd08b47f28e07594e1889da819 | [
"Apache-2.0"
] | null | null | null | from . import claim
from . import claim_status
| 15.666667 | 26 | 0.787234 | 7 | 47 | 5.142857 | 0.571429 | 0.555556 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 27 | 23.5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 | 1 | 0 | 0 | 8 |
d3d7bf660ef94028eeaece27b502271d848dab3f | 844 | py | Python | tests/test_provider_unicell_scaffolding.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_unicell_scaffolding.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_unicell_scaffolding.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_unicell_scaffolding.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:26:17 UTC)
def test_provider_import():
import terrascript.provider.unicell.scaffolding
def test_resource_import():
from terrascript.resource.unicell.scaffolding import scaffolding_resource
def test_... | 29.103448 | 80 | 0.767773 | 108 | 844 | 5.861111 | 0.527778 | 0.170616 | 0.164297 | 0.175355 | 0.135861 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020747 | 0.143365 | 844 | 28 | 81 | 30.142857 | 0.854772 | 0.61019 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
31082e8b64adbf6273c8705935c2c988ca3cf3ff | 4,598 | py | Python | EnglishWiki/COVID-19 pandemic in Germany/tables.py | Astruj/Regional-English-Wiki | 2930765f06b6dbd1ade2004522f38f4d2fd08156 | [
"MIT"
] | null | null | null | EnglishWiki/COVID-19 pandemic in Germany/tables.py | Astruj/Regional-English-Wiki | 2930765f06b6dbd1ade2004522f38f4d2fd08156 | [
"MIT"
] | null | null | null | EnglishWiki/COVID-19 pandemic in Germany/tables.py | Astruj/Regional-English-Wiki | 2930765f06b6dbd1ade2004522f38f4d2fd08156 | [
"MIT"
] | null | null | null | #import csv
from matplotlib import pyplot as plt
import pandas as pd
import csv
df = pd.read_csv ('de_data.csv')
de_articles = list(df['article'])
pageviews1 = list(df['Pageviews'])
numArticles1 = len(de_articles)
temp = 0
for i in range(0,numArticles1):
temp = temp + pageviews1[i]
avg1 = temp/numArticles1
df = ... | 23.340102 | 59 | 0.64876 | 626 | 4,598 | 4.682109 | 0.103834 | 0.105084 | 0.092801 | 0.045036 | 0.873422 | 0.852951 | 0.820198 | 0.777209 | 0.777209 | 0.777209 | 0 | 0.020575 | 0.175511 | 4,598 | 197 | 60 | 23.340102 | 0.752572 | 0.009569 | 0 | 0.816327 | 0 | 0 | 0.162339 | 0.038835 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 0.054422 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
31312f22f1f3e36d5722f1a34f233e808f8b603f | 167 | py | Python | qiskit_utils/__init__.py | mgrzesiuk/qiskit-utils | ba29d31221815e4690aec4f7abbcc2e6d0747c80 | [
"MIT"
] | null | null | null | qiskit_utils/__init__.py | mgrzesiuk/qiskit-utils | ba29d31221815e4690aec4f7abbcc2e6d0747c80 | [
"MIT"
] | null | null | null | qiskit_utils/__init__.py | mgrzesiuk/qiskit-utils | ba29d31221815e4690aec4f7abbcc2e6d0747c80 | [
"MIT"
] | null | null | null | from qiskit_utils.insert import insert_instruction
from qiskit_utils.enhanced_circuit import QuantumCircuitEnhanced
from qiskit_utils.parse_result import parse_result
| 41.75 | 64 | 0.91018 | 22 | 167 | 6.590909 | 0.5 | 0.206897 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071856 | 167 | 3 | 65 | 55.666667 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
31559566b03dbab432dfa66edb7d6c737c1fe772 | 7,630 | py | Python | src/weather/weather.py | SzymonWilczewski/weather-project-tdd | edd92e3ae198496331e7140f9c8a008d56f9528c | [
"MIT"
] | null | null | null | src/weather/weather.py | SzymonWilczewski/weather-project-tdd | edd92e3ae198496331e7140f9c8a008d56f9528c | [
"MIT"
] | null | null | null | src/weather/weather.py | SzymonWilczewski/weather-project-tdd | edd92e3ae198496331e7140f9c8a008d56f9528c | [
"MIT"
] | null | null | null | from src.weather.weather_data import WeatherData
class Weather:
def __init__(self):
self.data = WeatherData()
def current_temperature_by_city_name(self, city_name):
try:
weather = self.data.get_current_weather_by_city_name(city_name)
return round(weather["main"]["temp"... | 37.219512 | 75 | 0.593578 | 851 | 7,630 | 5.06933 | 0.054054 | 0.05007 | 0.041725 | 0.075104 | 0.980529 | 0.97821 | 0.97821 | 0.97821 | 0.97821 | 0.97821 | 0 | 0.007977 | 0.309961 | 7,630 | 204 | 76 | 37.401961 | 0.811396 | 0 | 0 | 0.880435 | 0 | 0 | 0.080996 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103261 | false | 0 | 0.005435 | 0 | 0.211957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
317f000dda18a9ea0d519810c8cce68479fd9aee | 549 | py | Python | Scratch_22.py | UNKNOWN-CODERS/Olympic-Design-Python- | 724eb0f19a5129144795c655cc9d84764b069b54 | [
"Apache-2.0"
] | null | null | null | Scratch_22.py | UNKNOWN-CODERS/Olympic-Design-Python- | 724eb0f19a5129144795c655cc9d84764b069b54 | [
"Apache-2.0"
] | null | null | null | Scratch_22.py | UNKNOWN-CODERS/Olympic-Design-Python- | 724eb0f19a5129144795c655cc9d84764b069b54 | [
"Apache-2.0"
] | null | null | null | import turtle
turtle.pensize(8)
turtle.color('blue')
turtle.penup()
turtle.goto(-110,-25)
turtle.pendown()
turtle.circle(50)
turtle.color('black')
turtle.penup()
turtle.goto(0,-25)
turtle.pendown()
turtle.circle(50)
turtle.color('red')
turtle.penup()
turtle.goto(110,-25)
turtle.pendown()
turtle.ci... | 15.25 | 23 | 0.68306 | 77 | 549 | 4.87013 | 0.272727 | 0.146667 | 0.226667 | 0.28 | 0.770667 | 0.770667 | 0.770667 | 0.757333 | 0.650667 | 0.650667 | 0 | 0.066946 | 0.129326 | 549 | 35 | 24 | 15.685714 | 0.717573 | 0 | 0 | 0.535714 | 0 | 0 | 0.044834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.035714 | 0 | 0.035714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
31bdda1d4e09ce3bcae6569c576a23ea3cd89f9e | 13,251 | py | Python | wpiformat/wpiformat/test/test_jni.py | prateekma/styleguide | 962c6cd6e316b71156d80e5751e8a76a01b60668 | [
"BSD-3-Clause"
] | null | null | null | wpiformat/wpiformat/test/test_jni.py | prateekma/styleguide | 962c6cd6e316b71156d80e5751e8a76a01b60668 | [
"BSD-3-Clause"
] | null | null | null | wpiformat/wpiformat/test/test_jni.py | prateekma/styleguide | 962c6cd6e316b71156d80e5751e8a76a01b60668 | [
"BSD-3-Clause"
] | null | null | null | import os
from .tasktest import *
from wpiformat.jni import Jni
def test_jni():
test = TaskTest(Jni())
# Input args go to next line even if they fit on same line
test.add_input("./TestJNI.cpp",
"JNIEXPORT void JNICALL" + os.linesep + \
"Java_TestJNI_testFunc(JNIEnv* env, jclass) {" + os.... | 49.629213 | 115 | 0.564335 | 1,275 | 13,251 | 5.669804 | 0.11451 | 0.255222 | 0.074561 | 0.122009 | 0.874671 | 0.842025 | 0.827639 | 0.799281 | 0.769678 | 0.754738 | 0 | 0.000537 | 0.297034 | 13,251 | 266 | 116 | 49.815789 | 0.775523 | 0.050864 | 0 | 0.753191 | 0 | 0 | 0.478666 | 0.208884 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004255 | false | 0 | 0.012766 | 0 | 0.017021 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 8 |
735aac3665747d3709eb2fe0b83c5afaced75ec6 | 2,028 | py | Python | protein/migrations/0009_auto_20200511_1818.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 21 | 2016-01-20T09:33:14.000Z | 2021-12-20T19:19:45.000Z | protein/migrations/0009_auto_20200511_1818.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 75 | 2016-02-26T16:29:58.000Z | 2022-03-21T12:35:13.000Z | protein/migrations/0009_auto_20200511_1818.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 77 | 2016-01-22T08:44:26.000Z | 2022-02-01T15:54:56.000Z | # Generated by Django 3.0.4 on 2020-05-11 16:18
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('protein', '0008_auto_20200422_1636'),
]
operations = [
migrations.RemoveField(
model_name='proteingproteinpair',
nam... | 30.727273 | 59 | 0.57002 | 178 | 2,028 | 6.325843 | 0.252809 | 0.087922 | 0.273535 | 0.312611 | 0.856128 | 0.856128 | 0.856128 | 0.807282 | 0.611012 | 0.598579 | 0 | 0.031205 | 0.320513 | 2,028 | 65 | 60 | 31.2 | 0.785922 | 0.022189 | 0 | 0.694915 | 1 | 0 | 0.180717 | 0.01161 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016949 | 0 | 0.067797 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b405b039546c23a08559747231d884ab339f14b6 | 2,562 | py | Python | dijkstra_last/dijkstra/source/test/my_test.py | nickolaymykhalych/UCU_adw_algorithms | 127b571f1951819569d94e620f23c52c1ffc22db | [
"MIT"
] | null | null | null | dijkstra_last/dijkstra/source/test/my_test.py | nickolaymykhalych/UCU_adw_algorithms | 127b571f1951819569d94e620f23c52c1ffc22db | [
"MIT"
] | null | null | null | dijkstra_last/dijkstra/source/test/my_test.py | nickolaymykhalych/UCU_adw_algorithms | 127b571f1951819569d94e620f23c52c1ffc22db | [
"MIT"
] | null | null | null | import unittest
import sys
sys.path.append("..")
from Graph import Graph
from Dijkstra import *
class Graph_Test(unittest.TestCase):
def setUp(self):
self.graph = Graph()
def test_add_nodes(self):
self.graph.add_node('A')
self.graph.add_node('B')
self.graph.add_node('C')
... | 37.676471 | 115 | 0.569087 | 385 | 2,562 | 3.628571 | 0.142857 | 0.302792 | 0.326414 | 0.251969 | 0.758053 | 0.745884 | 0.730852 | 0.730852 | 0.684324 | 0.649964 | 0 | 0.018574 | 0.222482 | 2,562 | 67 | 116 | 38.238806 | 0.682731 | 0 | 0 | 0.666667 | 0 | 0 | 0.050742 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.083333 | false | 0 | 0.066667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b41c918afea2e642f5c16129b47afcbb982706d1 | 8,115 | py | Python | fonts/DejaVuSans_12.py | ironss/micropython-lib | 61719636dad9aaa581c8e39e71ccc515e75c2d43 | [
"MIT"
] | null | null | null | fonts/DejaVuSans_12.py | ironss/micropython-lib | 61719636dad9aaa581c8e39e71ccc515e75c2d43 | [
"MIT"
] | null | null | null | fonts/DejaVuSans_12.py | ironss/micropython-lib | 61719636dad9aaa581c8e39e71ccc515e75c2d43 | [
"MIT"
] | 2 | 2019-09-24T13:36:55.000Z | 2020-04-18T02:05:38.000Z | # Code generated by font-to-py.py.
# Font: DejaVuSans.ttf
version = '0.26'
def height():
return 12
def max_width():
return 12
def hmap():
return False
def reverse():
return False
def monospaced():
return False
def min_ch():
return 32
def max_ch():
return 126
_font =\
b'\x06\x00\x02\x... | 51.687898 | 68 | 0.699199 | 1,903 | 8,115 | 2.967945 | 0.079874 | 0.288952 | 0.259738 | 0.193343 | 0.610305 | 0.523194 | 0.436792 | 0.318166 | 0.251416 | 0.1875 | 0 | 0.399381 | 0.044116 | 8,115 | 156 | 69 | 52.019231 | 0.328735 | 0.006531 | 0 | 0.078571 | 1 | 0.735714 | 0.821792 | 0.818069 | 0 | 1 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0.05 | 0.142857 | 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 | 1 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
b429e42a10695ba92435caa1540e4753e897d00e | 156 | py | Python | models/utils.py | shizhouxing/Fast-Certified-Robust-Training | addac383f6fac58d1bae8a231cf0ac9dab405a06 | [
"BSD-3-Clause"
] | 16 | 2021-04-06T11:57:39.000Z | 2022-03-02T12:18:24.000Z | models/utils.py | shizhouxing/Fast-Certified-Robust-Training | addac383f6fac58d1bae8a231cf0ac9dab405a06 | [
"BSD-3-Clause"
] | 1 | 2021-10-30T02:11:57.000Z | 2021-11-12T01:30:59.000Z | models/utils.py | shizhouxing/Fast-Certified-Robust-Training | addac383f6fac58d1bae8a231cf0ac9dab405a06 | [
"BSD-3-Clause"
] | 1 | 2022-01-06T07:54:34.000Z | 2022-01-06T07:54:34.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
class Flatten(nn.Module):
def forward(self, x):
return x.view(x.size(0), -1) | 22.285714 | 36 | 0.685897 | 28 | 156 | 3.821429 | 0.642857 | 0.308411 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.192308 | 156 | 7 | 36 | 22.285714 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 7 |
b44f6f63c27938b280983fb7be784cf93bd448f0 | 41 | py | Python | boa3_test/test_sc/variable_test/GlobalDeclarationWithoutAssignment.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/variable_test/GlobalDeclarationWithoutAssignment.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/variable_test/GlobalDeclarationWithoutAssignment.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | a: int
def Main() -> int:
return a
| 6.833333 | 18 | 0.512195 | 7 | 41 | 3 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.341463 | 41 | 5 | 19 | 8.2 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
c32acf1de0094eb1e0efc07d07f7f6d518ae08ae | 2,975 | py | Python | ctc/ctc_model.py | mengzhu0308/Tencent-Verification-Code-Recognition | 3afd20dc2ab754ee1f9746bd32d225b09241d694 | [
"Apache-2.0"
] | null | null | null | ctc/ctc_model.py | mengzhu0308/Tencent-Verification-Code-Recognition | 3afd20dc2ab754ee1f9746bd32d225b09241d694 | [
"Apache-2.0"
] | 1 | 2021-06-25T20:32:49.000Z | 2021-06-27T13:24:09.000Z | ctc/ctc_model.py | mengzhu0308/Tencent-Verification-Code-Recognition | 3afd20dc2ab754ee1f9746bd32d225b09241d694 | [
"Apache-2.0"
] | null | null | null | #! -*- coding:utf-8 -*-
'''
@Author: ZM
@Date and Time: 2021/1/8 16:23
@File: ctc_model.py
'''
from keras.layers import *
def CTC_Model(x, num_classes=26):
x = Conv2D(16, 3, use_bias=False, padding='same')(x)
x = BatchNormalization()(x)
x = Activation('relu')(x)
x = Conv2D(32, 3, use... | 35 | 70 | 0.619496 | 403 | 2,975 | 4.503722 | 0.153846 | 0.050689 | 0.112397 | 0.107438 | 0.852342 | 0.840771 | 0.840771 | 0.793388 | 0.793388 | 0.792837 | 0 | 0.052809 | 0.20437 | 2,975 | 85 | 71 | 35 | 0.713984 | 0.03395 | 0 | 0.707692 | 0 | 0 | 0.039065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015385 | false | 0 | 0.015385 | 0 | 0.046154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c3520349464129844484c4a19bbb4670712c35ef | 86 | py | Python | Services/__init__.py | GeneralizedLearningUtilities/Dinosaurs | 7e18f1f7f28ff84e8e606a9670809ce6cf38f0db | [
"Apache-2.0"
] | null | null | null | Services/__init__.py | GeneralizedLearningUtilities/Dinosaurs | 7e18f1f7f28ff84e8e606a9670809ce6cf38f0db | [
"Apache-2.0"
] | null | null | null | Services/__init__.py | GeneralizedLearningUtilities/Dinosaurs | 7e18f1f7f28ff84e8e606a9670809ce6cf38f0db | [
"Apache-2.0"
] | null | null | null | import Util.ModuleRegistration
Util.ModuleRegistration.importAllInDirectory(__file__)
| 28.666667 | 54 | 0.906977 | 7 | 86 | 10.571429 | 0.714286 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 86 | 2 | 55 | 43 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 7 |
5edafb6a8d469b15eca245a326de97f79f07087f | 56 | py | Python | tests/square_2d/test.py | saustinp/3D-CG | 8d3e161674273649af1f23b2a0e1d5100971477a | [
"MIT"
] | null | null | null | tests/square_2d/test.py | saustinp/3D-CG | 8d3e161674273649af1f23b2a0e1d5100971477a | [
"MIT"
] | null | null | null | tests/square_2d/test.py | saustinp/3D-CG | 8d3e161674273649af1f23b2a0e1d5100971477a | [
"MIT"
] | null | null | null | from main import test_2d_square
print(test_2d_square()) | 18.666667 | 31 | 0.839286 | 10 | 56 | 4.3 | 0.7 | 0.27907 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.089286 | 56 | 3 | 32 | 18.666667 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 7 |
5ee17bfcf18cc3e4b38ebdfab21ae9f922f96cd7 | 9,940 | py | Python | mmdet/models/losses/combine_loss.py | hmtrii/mmdetection | a998e0ac45118482b4a1fa320c2f0611f35fb0d1 | [
"Apache-2.0"
] | null | null | null | mmdet/models/losses/combine_loss.py | hmtrii/mmdetection | a998e0ac45118482b4a1fa320c2f0611f35fb0d1 | [
"Apache-2.0"
] | null | null | null | mmdet/models/losses/combine_loss.py | hmtrii/mmdetection | a998e0ac45118482b4a1fa320c2f0611f35fb0d1 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
from ..builder import LOSSES, build_loss
@LOSSES.register_module()
class BCE_Boundary_Loss(nn.Module):
def __init__(self, start_alpha, step_alpha, max_alpha, alpha_strategy):
super(BCE_Boundary_Loss, self).__init__()
loss_mask_1=dict(type='CrossEntropyLo... | 42.478632 | 85 | 0.648994 | 1,357 | 9,940 | 4.365512 | 0.043478 | 0.066172 | 0.075625 | 0.060263 | 0.982782 | 0.982782 | 0.975017 | 0.975017 | 0.968433 | 0.966745 | 0 | 0.019184 | 0.260563 | 9,940 | 234 | 86 | 42.478632 | 0.786803 | 0.037928 | 0 | 0.854167 | 0 | 0 | 0.036362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072917 | false | 0 | 0.015625 | 0 | 0.161458 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5ef413f33aa8fca3d3259d7fc81852423f83e291 | 278 | py | Python | Main/Test_Python_1.py | tamalbag117/Python_Practice | 52d008682b9828043617b789a8ebf441048cd0de | [
"MIT"
] | null | null | null | Main/Test_Python_1.py | tamalbag117/Python_Practice | 52d008682b9828043617b789a8ebf441048cd0de | [
"MIT"
] | null | null | null | Main/Test_Python_1.py | tamalbag117/Python_Practice | 52d008682b9828043617b789a8ebf441048cd0de | [
"MIT"
] | null | null | null | f1 = open("name.txt")
print(f1.tell())
print(f1.readline())
print(f1.tell())
print(f1.readline())
print(f1.tell())
print(f1.readline())
print(f1.tell())
print(f1.readline())
print(f1.tell())
print(f1.readline())
print(f1.tell())
print(f1.readline())
print(f1.tell())
f1.close()
| 17.375 | 21 | 0.672662 | 45 | 278 | 4.155556 | 0.177778 | 0.486631 | 0.411765 | 0.513369 | 0.893048 | 0.893048 | 0.893048 | 0.893048 | 0.893048 | 0.893048 | 0 | 0.057471 | 0.061151 | 278 | 15 | 22 | 18.533333 | 0.659004 | 0 | 0 | 0.866667 | 0 | 0 | 0.028777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.866667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 11 |
6f04c5bc885f9b2a867972c4577b2d8121faad37 | 358 | py | Python | OpenGLCffi/GL/EXT/NV/copy_image.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/NV/copy_image.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/NV/copy_image.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GL import params
@params(api='gl', prms=['srcName', 'srcTarget', 'srcLevel', 'srcX', 'srcY', 'srcZ', 'dstName', 'dstTarget', 'dstLevel', 'dstX', 'dstY', 'dstZ', 'width', 'height', 'depth'])
def glCopyImageSubDataNV(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY,... | 51.142857 | 172 | 0.687151 | 42 | 358 | 5.857143 | 0.595238 | 0.130081 | 0.195122 | 0.227642 | 0.715447 | 0.715447 | 0.715447 | 0.715447 | 0.715447 | 0.715447 | 0 | 0 | 0.111732 | 358 | 6 | 173 | 59.666667 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0.252809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
6f4573f0f4d72bc0f74a21e2bd725440effc6160 | 557 | py | Python | src/Strings/example3.py | ogycode/PythonFromZero | 5d1e3967c7a1ddc53fd6b5551c4154bb601f351a | [
"Apache-2.0"
] | null | null | null | src/Strings/example3.py | ogycode/PythonFromZero | 5d1e3967c7a1ddc53fd6b5551c4154bb601f351a | [
"Apache-2.0"
] | null | null | null | src/Strings/example3.py | ogycode/PythonFromZero | 5d1e3967c7a1ddc53fd6b5551c4154bb601f351a | [
"Apache-2.0"
] | 1 | 2021-02-27T06:51:05.000Z | 2021-02-27T06:51:05.000Z | print("Strings, (c) Verloka Vadim 2018\n\n\n")
S1 = "Hello, {0}, how are you{1}"
print(S1.format("Vadim", "?"))
print("{:<20}".format("left"))
print("{:>20}".format("right"))
print("{:^20}".format("right"))
print("{:*<20}".format("left"))
print("{:*>20}".format("right"))
print("{:*^20}".format("right"))
print("{:1... | 27.85 | 75 | 0.54219 | 89 | 557 | 3.393258 | 0.303371 | 0.238411 | 0.258278 | 0.357616 | 0.761589 | 0.761589 | 0.725166 | 0.60596 | 0.60596 | 0.60596 | 0 | 0.092702 | 0.089767 | 557 | 20 | 75 | 27.85 | 0.502959 | 0 | 0 | 0 | 0 | 0.142857 | 0.487455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.928571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
48a289a508c766bae8e7421dee702c66a0192461 | 229 | py | Python | chapter-3/Rendering HTML/app/simple_app/views.py | PacktPublishing/Real-time-Django | 07480a089fc0880d752d4ee5740ae6587de93aee | [
"MIT"
] | null | null | null | chapter-3/Rendering HTML/app/simple_app/views.py | PacktPublishing/Real-time-Django | 07480a089fc0880d752d4ee5740ae6587de93aee | [
"MIT"
] | null | null | null | chapter-3/Rendering HTML/app/simple_app/views.py | PacktPublishing/Real-time-Django | 07480a089fc0880d752d4ee5740ae6587de93aee | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'index.html', {})
def bingo(request):
return render(request, 'bingo.html', {})
def bmi(request):
return render(request, 'bmi.html', {}) | 22.9 | 44 | 0.681223 | 29 | 229 | 5.37931 | 0.413793 | 0.25 | 0.365385 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157205 | 229 | 10 | 45 | 22.9 | 0.80829 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
48ad224d6542afa788bbd90cec58b55c4848d133 | 21,997 | py | Python | project/apps/salesforce/models.py | barberscore/barberscore-api | 2aa9f8598c18c28ba1d4a294f76fd055619f803e | [
"BSD-2-Clause"
] | 13 | 2017-08-07T15:45:49.000Z | 2019-07-03T13:58:50.000Z | project/apps/salesforce/models.py | barberscore/barberscore-api | 2aa9f8598c18c28ba1d4a294f76fd055619f803e | [
"BSD-2-Clause"
] | 309 | 2017-07-14T02:34:12.000Z | 2022-01-14T21:37:02.000Z | project/apps/salesforce/models.py | barberscore/barberscore-api | 2aa9f8598c18c28ba1d4a294f76fd055619f803e | [
"BSD-2-Clause"
] | 5 | 2017-08-07T14:01:07.000Z | 2019-06-24T19:44:55.000Z | import json
# Third-Party
from model_utils import Choices
from distutils.util import strtobool
# Local
from apps.bhs.models import Convention, Award, Chart, Group, Person
from apps.registration.models import Contest, Session, Assignment, Entry
class SfConvention:
def parse_sf_notification(n):
d = {}
... | 29.887228 | 116 | 0.576169 | 3,155 | 21,997 | 3.622187 | 0.05103 | 0.092142 | 0.153133 | 0.181659 | 0.860606 | 0.807578 | 0.735212 | 0.721124 | 0.688134 | 0.677721 | 0 | 0.000258 | 0.295677 | 21,997 | 735 | 117 | 29.927891 | 0.737365 | 0.074919 | 0 | 0.720588 | 0 | 0 | 0.1926 | 0.018551 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032353 | false | 0 | 0.014706 | 0 | 0.111765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
48d98084301ed528e1a9c6542931e9937af6b22e | 191 | py | Python | gacha_elper/error/__init__.py | rahagi/gacha-elper | e81bd82c3416a01e448ba1ce2515252235facdac | [
"MIT"
] | null | null | null | gacha_elper/error/__init__.py | rahagi/gacha-elper | e81bd82c3416a01e448ba1ce2515252235facdac | [
"MIT"
] | null | null | null | gacha_elper/error/__init__.py | rahagi/gacha-elper | e81bd82c3416a01e448ba1ce2515252235facdac | [
"MIT"
] | null | null | null | from .adb_not_found import *
from .adb_no_devices import *
from .elper_invalid_find_mode import *
from .elper_invalid_similarity_range import *
from .elper_invalid_crop_bounding_box import *
| 31.833333 | 46 | 0.842932 | 29 | 191 | 5.068966 | 0.551724 | 0.272109 | 0.306122 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104712 | 191 | 5 | 47 | 38.2 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
d2f6d0bcddafd1b32dcf43212757cbee60c7632a | 34,580 | py | Python | railrl/torch/sac/policies.py | Asap7772/rail-rl-franka-eval | 4bf99072376828193d05b53cf83c7e8f4efbd3ba | [
"MIT"
] | null | null | null | railrl/torch/sac/policies.py | Asap7772/rail-rl-franka-eval | 4bf99072376828193d05b53cf83c7e8f4efbd3ba | [
"MIT"
] | null | null | null | railrl/torch/sac/policies.py | Asap7772/rail-rl-franka-eval | 4bf99072376828193d05b53cf83c7e8f4efbd3ba | [
"MIT"
] | null | null | null | import numpy as np
import torch
from torch import nn as nn
from railrl.policies.base import ExplorationPolicy, Policy
from railrl.torch.core import eval_np
from railrl.torch.distributions import TanhNormal, Normal, GaussianMixture
from railrl.torch.networks import Mlp, CNN
from railrl.torch.vae.vae_base import Gaussia... | 36.096033 | 109 | 0.586177 | 4,388 | 34,580 | 4.34845 | 0.059253 | 0.045281 | 0.025208 | 0.022273 | 0.824013 | 0.794193 | 0.775693 | 0.763377 | 0.755726 | 0.737802 | 0 | 0.010691 | 0.323742 | 34,580 | 957 | 110 | 36.133751 | 0.80526 | 0.125477 | 0 | 0.751734 | 0 | 0 | 0.004659 | 0.000709 | 0 | 0 | 0 | 0.001045 | 0.006935 | 1 | 0.066574 | false | 0 | 0.01387 | 0.01387 | 0.144244 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
825ee8dee2685e1a1d26a3256617cc93b2781f35 | 44 | py | Python | tensortrade/env/__init__.py | nicomon24/tensortrade | 870ae06a4440045edde4f5306e64264bd33d5b67 | [
"Apache-2.0"
] | 3,081 | 2020-01-12T13:42:13.000Z | 2022-03-27T18:09:31.000Z | tensortrade/env/__init__.py | nicomon24/tensortrade | 870ae06a4440045edde4f5306e64264bd33d5b67 | [
"Apache-2.0"
] | 257 | 2020-01-15T03:14:29.000Z | 2022-03-31T04:19:14.000Z | tensortrade/env/__init__.py | nicomon24/tensortrade | 870ae06a4440045edde4f5306e64264bd33d5b67 | [
"Apache-2.0"
] | 804 | 2020-01-12T12:22:22.000Z | 2022-03-28T13:41:59.000Z | from . import generic
from . import default
| 14.666667 | 21 | 0.772727 | 6 | 44 | 5.666667 | 0.666667 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 | 7 |
8288872c00211c25184a0d8503e218e8fb7cf803 | 10,831 | py | Python | FusionIIIT/applications/online_cms/migrations/0001_initial.py | ssaksham9/Fusion | f1e405b457dba399411a2ddb79a9068746c05057 | [
"bzip2-1.0.6"
] | 2 | 2020-01-24T16:34:54.000Z | 2020-08-01T05:09:24.000Z | FusionIIIT/applications/online_cms/migrations/0001_initial.py | ssaksham9/Fusion | f1e405b457dba399411a2ddb79a9068746c05057 | [
"bzip2-1.0.6"
] | 19 | 2019-09-08T06:01:14.000Z | 2020-05-21T09:08:20.000Z | FusionIIIT/applications/online_cms/migrations/0001_initial.py | ssaksham9/Fusion | f1e405b457dba399411a2ddb79a9068746c05057 | [
"bzip2-1.0.6"
] | 14 | 2019-08-31T12:25:42.000Z | 2022-01-12T08:05:33.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.25 on 2019-10-31 23:56
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('globals', '0003_auto_20191024_1242'),
... | 54.427136 | 147 | 0.593574 | 1,085 | 10,831 | 5.739171 | 0.125346 | 0.052031 | 0.075157 | 0.100209 | 0.829774 | 0.808094 | 0.768749 | 0.73904 | 0.73904 | 0.73904 | 0 | 0.02 | 0.261379 | 10,831 | 198 | 148 | 54.70202 | 0.758375 | 0.006371 | 0 | 0.657895 | 1 | 0 | 0.149828 | 0.036249 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015789 | 0 | 0.036842 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
82a3e590dc05e9268ca8fb9e62db09304e4be169 | 179 | py | Python | fargatespawner/__init__.py | dadoeyad/fargatespawner | df13e7ce003e79658379254909e24f81f6437225 | [
"MIT"
] | null | null | null | fargatespawner/__init__.py | dadoeyad/fargatespawner | df13e7ce003e79658379254909e24f81f6437225 | [
"MIT"
] | null | null | null | fargatespawner/__init__.py | dadoeyad/fargatespawner | df13e7ce003e79658379254909e24f81f6437225 | [
"MIT"
] | null | null | null | from .fargatespawner import FargateSpawner
from .fargatespawner import FargateSpawnerSecretAccessKeyAuthentication
from .fargatespawner import FargateSpawnerECSRoleAuthentication
| 44.75 | 71 | 0.916201 | 12 | 179 | 13.666667 | 0.416667 | 0.329268 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067039 | 179 | 3 | 72 | 59.666667 | 0.982036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 8 |
82b49177427c56d783ac1e21e0865848bba9827a | 22,058 | py | Python | skyportal/tests/api/test_photometry.py | jialin-wu-02/skyportal | 29d606ad8567b2230fb0553b18dd3cb9d3ab2d84 | [
"BSD-3-Clause"
] | null | null | null | skyportal/tests/api/test_photometry.py | jialin-wu-02/skyportal | 29d606ad8567b2230fb0553b18dd3cb9d3ab2d84 | [
"BSD-3-Clause"
] | 156 | 2019-10-17T19:35:22.000Z | 2021-08-01T13:23:47.000Z | skyportal/tests/api/test_photometry.py | jialin-wu-02/skyportal | 29d606ad8567b2230fb0553b18dd3cb9d3ab2d84 | [
"BSD-3-Clause"
] | null | null | null | import os
import datetime
import base64
from skyportal.tests import api
from skyportal.models import Thumbnail, DBSession, Photometry
import numpy as np
import sncosmo
def test_token_user_post_get_photometry_data(upload_data_token, public_source,
ztf_camera):
status, ... | 37.705983 | 104 | 0.4621 | 2,249 | 22,058 | 4.357937 | 0.056914 | 0.060402 | 0.064279 | 0.063259 | 0.90756 | 0.872972 | 0.854097 | 0.826242 | 0.811244 | 0.791756 | 0 | 0.054772 | 0.392465 | 22,058 | 584 | 105 | 37.770548 | 0.676591 | 0.003083 | 0 | 0.758691 | 0 | 0 | 0.155645 | 0.037751 | 0 | 0 | 0 | 0 | 0.237219 | 1 | 0.026585 | false | 0 | 0.014315 | 0 | 0.0409 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7dd2bdc0ffd41f6e47e6df1b712d42877e74b38e | 44,668 | py | Python | src/goose_lang/examples/nfs_spec/symtest/rfc1813/client.py | herbelin/perennial | 49b044fa83b4df2dc23262571e79c1165006bdc8 | [
"MIT"
] | 73 | 2019-09-24T14:50:57.000Z | 2022-03-25T02:01:55.000Z | src/goose_lang/examples/nfs_spec/symtest/rfc1813/client.py | herbelin/perennial | 49b044fa83b4df2dc23262571e79c1165006bdc8 | [
"MIT"
] | 39 | 2020-01-31T19:08:09.000Z | 2022-01-14T15:46:56.000Z | src/goose_lang/examples/nfs_spec/symtest/rfc1813/client.py | herbelin/perennial | 49b044fa83b4df2dc23262571e79c1165006bdc8 | [
"MIT"
] | 17 | 2020-01-22T14:49:13.000Z | 2021-11-26T18:38:48.000Z | # Generated by rpcgen.py from /home/nickolai/proj/go-rpcgen/rfc1813/prot.x on Fri Dec 6 10:47:13 2019
import rpc
import const
import pack
class NFS_PROGRAM(object):
class RawTCPNFS_V3(rpc.RawTCPClient):
def __init__(self, host, port, **kwargs):
if 'program' in kwargs or 'version' in kwargs:
... | 36.553191 | 118 | 0.575983 | 4,379 | 44,668 | 5.682119 | 0.038822 | 0.099027 | 0.076521 | 0.085524 | 0.981191 | 0.981191 | 0.979343 | 0.979343 | 0.979343 | 0.979343 | 0 | 0.033559 | 0.3389 | 44,668 | 1,221 | 119 | 36.583129 | 0.809042 | 0.098146 | 0 | 0.966429 | 1 | 0 | 0.010456 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12411 | false | 0 | 0.003052 | 0 | 0.253306 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7dea44f63a645f019d4fb818f87af4ff442cfa09 | 19,826 | py | Python | sdk/python/pulumi_azure/network/network_security_group.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/network/network_security_group.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/network/network_security_group.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 47.773494 | 229 | 0.666499 | 2,248 | 19,826 | 5.698843 | 0.100089 | 0.081571 | 0.059012 | 0.041215 | 0.846928 | 0.834439 | 0.827492 | 0.817657 | 0.807431 | 0.800952 | 0 | 0.00538 | 0.240593 | 19,826 | 414 | 230 | 47.888889 | 0.84551 | 0.41834 | 0 | 0.731707 | 1 | 0 | 0.117795 | 0.044874 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156098 | false | 0.004878 | 0.034146 | 0 | 0.282927 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c4b89e9cb24c513919fd8f676dd769e4e38c37ed | 2,240 | py | Python | Settings/set1-test_of_models_against_datasets/models_30m_640px.py | previtus/MGR-Project-Code | 1126215059eb3f731dcf78ec24d9a480e73abce6 | [
"MIT"
] | null | null | null | Settings/set1-test_of_models_against_datasets/models_30m_640px.py | previtus/MGR-Project-Code | 1126215059eb3f731dcf78ec24d9a480e73abce6 | [
"MIT"
] | null | null | null | Settings/set1-test_of_models_against_datasets/models_30m_640px.py | previtus/MGR-Project-Code | 1126215059eb3f731dcf78ec24d9a480e73abce6 | [
"MIT"
] | null | null | null | def Setup(Settings,DefaultModel):
# set1-test_of_models_against_datasets/models_30m_640px.py
Settings["experiment_name"] = "set1c_Models_Test_30m_640px"
Settings["graph_histories"] = ['together', [0,1], [1,2], [0,2]]
n=0
# 5556x_minlen30_640px 5556x_minlen20_640px 5556x_reslen20_299px 5556x_resle... | 41.481481 | 89 | 0.668304 | 287 | 2,240 | 4.923345 | 0.247387 | 0.307148 | 0.307856 | 0.077849 | 0.803963 | 0.748054 | 0.748054 | 0.748054 | 0.748054 | 0.748054 | 0 | 0.062694 | 0.138393 | 2,240 | 53 | 90 | 42.264151 | 0.66943 | 0.090179 | 0 | 0.657895 | 0 | 0 | 0.447291 | 0.06798 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
1efad1a35e93faacafc9b02795eac73c00071c63 | 68 | py | Python | bugtests/test341c1.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 577 | 2020-06-04T16:34:44.000Z | 2022-03-31T11:46:07.000Z | bugtests/test341c1.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 174 | 2015-01-08T20:37:09.000Z | 2020-06-03T16:48:59.000Z | bugtests/test341c1.py | jeff5/jython-whinchat | 65d8e5268189f8197295ff2d91be3decb1ee0081 | [
"CNRI-Jython"
] | 162 | 2015-02-07T02:14:38.000Z | 2020-05-30T16:42:03.000Z |
from test341c2 import test341c2
class bar(test341c2):
pass
| 8.5 | 32 | 0.720588 | 8 | 68 | 6.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.235294 | 68 | 7 | 33 | 9.714286 | 0.711538 | 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 | 1 | 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 | 7 |
4805a1942f326fefbec9f682bcb72ec1354e6d81 | 13,365 | py | Python | test/test_integration_state.py | talon-one/talon_one.py | f863bb3c2cc5ddc94d9227adcf14947b2ea7db41 | [
"MIT"
] | 1 | 2021-03-05T06:41:26.000Z | 2021-03-05T06:41:26.000Z | test/test_integration_state.py | talon-one/talon_one.py | f863bb3c2cc5ddc94d9227adcf14947b2ea7db41 | [
"MIT"
] | 1 | 2021-09-07T08:56:58.000Z | 2021-09-07T08:56:58.000Z | test/test_integration_state.py | talon-one/talon_one.py | f863bb3c2cc5ddc94d9227adcf14947b2ea7db41 | [
"MIT"
] | 1 | 2019-05-21T10:27:54.000Z | 2019-05-21T10:27:54.000Z | # coding: utf-8
"""
Talon.One API
The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. #... | 51.206897 | 647 | 0.438459 | 1,184 | 13,365 | 4.782095 | 0.178209 | 0.067821 | 0.10385 | 0.084069 | 0.749912 | 0.728365 | 0.709643 | 0.702932 | 0.702932 | 0.702932 | 0 | 0.073945 | 0.464721 | 13,365 | 260 | 648 | 51.403846 | 0.717501 | 0.007407 | 0 | 0.818966 | 0 | 0 | 0.068689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.008621 | 0.030172 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
481ea07cd917f474a27381b5979b9b17f52dae20 | 11,050 | py | Python | tests/cpu/instruction/test_bitey_cpu_instruction_bit.py | jgerrish/bitey | a393a83c19338d94116f3405f4b8a0f03ea84d79 | [
"MIT"
] | null | null | null | tests/cpu/instruction/test_bitey_cpu_instruction_bit.py | jgerrish/bitey | a393a83c19338d94116f3405f4b8a0f03ea84d79 | [
"MIT"
] | null | null | null | tests/cpu/instruction/test_bitey_cpu_instruction_bit.py | jgerrish/bitey | a393a83c19338d94116f3405f4b8a0f03ea84d79 | [
"MIT"
] | null | null | null | import pytest
import tests.computer.computer
import tests.memory.memory
# TODO Maybe refactor so these are not needed
from bitey.cpu.addressing_mode import AbsoluteAddressingMode, ZeroPageAddressingMode
from bitey.cpu.instruction.opcode import Opcode
from bitey.cpu.instruction.bit import BIT
# module scope means run... | 28.851175 | 84 | 0.678733 | 1,422 | 11,050 | 5.137834 | 0.057665 | 0.05256 | 0.104024 | 0.04599 | 0.944703 | 0.944703 | 0.938133 | 0.935943 | 0.935943 | 0.935943 | 0 | 0.055685 | 0.187421 | 11,050 | 382 | 85 | 28.926702 | 0.757991 | 0.086787 | 0 | 0.778761 | 0 | 0 | 0.072196 | 0 | 0 | 0 | 0.057279 | 0.002618 | 0.070796 | 1 | 0.075221 | false | 0 | 0.026549 | 0 | 0.10177 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
483564b423122878993a9d78643a928c93edb783 | 15,415 | py | Python | tests/src/main/python/rest/tests/extract/swagger_client/api/status_api.py | IBM/quality-measure-and-cohort-service | 8963227bf4941d6a5fdc641b37ca0f72da5a6f2b | [
"Apache-2.0"
] | 1 | 2020-10-05T15:10:03.000Z | 2020-10-05T15:10:03.000Z | tests/src/main/python/rest/tests/extract/swagger_client/api/status_api.py | IBM/quality-measure-and-cohort-service | 8963227bf4941d6a5fdc641b37ca0f72da5a6f2b | [
"Apache-2.0"
] | null | null | null | tests/src/main/python/rest/tests/extract/swagger_client/api/status_api.py | IBM/quality-measure-and-cohort-service | 8963227bf4941d6a5fdc641b37ca0f72da5a6f2b | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
IBM Cohort Engine
Service to evaluate cohorts and measures # noqa: E501
OpenAPI spec version: 2.1.0 2022-02-18T21:50:45Z
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and pyt... | 46.996951 | 1,021 | 0.621018 | 1,755 | 15,415 | 5.225071 | 0.136182 | 0.041876 | 0.034896 | 0.045365 | 0.903926 | 0.884188 | 0.87121 | 0.83795 | 0.834024 | 0.829335 | 0 | 0.015896 | 0.281739 | 15,415 | 327 | 1,022 | 47.140673 | 0.812319 | 0.439377 | 0 | 0.708333 | 1 | 0 | 0.187325 | 0.073196 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.02381 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
484bc65665590cbcb25bd216883d1a064a95570d | 1,272 | py | Python | 8.py | gricey432/Euler | 3bbdfc5dfe58df9a5b0217980d8951f00f53beed | [
"MIT"
] | null | null | null | 8.py | gricey432/Euler | 3bbdfc5dfe58df9a5b0217980d8951f00f53beed | [
"MIT"
] | null | null | null | 8.py | gricey432/Euler | 3bbdfc5dfe58df9a5b0217980d8951f00f53beed | [
"MIT"
] | null | null | null | import operator
def str_product(iterable):
nums = [int(c) for c in iterable]
return reduce(operator.mul, nums, 1)
numbers = "73167176531330624919225119674426574742355349194934969835203127745063262395783180169848018694788518438586156078911294949545950173795833195285320880551112540698747158523863050715693290963... | 97.846154 | 1,012 | 0.934748 | 44 | 1,272 | 26.977273 | 0.613636 | 0.016849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.821078 | 0.037736 | 1,272 | 12 | 1,013 | 106 | 0.148693 | 0 | 0 | 0 | 0 | 0 | 0.786164 | 0.786164 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.125 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
485bd1595d99a78a6756bc76566aa7d2cf851708 | 110 | py | Python | luvina/backend/backend.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | luvina/backend/backend.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | luvina/backend/backend.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | from .enchant_backend import *
from .nltk_backend import *
from .spacy_backend import *
from .common import *
| 22 | 30 | 0.781818 | 15 | 110 | 5.533333 | 0.466667 | 0.46988 | 0.614458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 110 | 4 | 31 | 27.5 | 0.882979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4872f72df1a4000bb4bfea63b6cf52d3e678227c | 192 | py | Python | rubin_sim/scheduler/surveys/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/scheduler/surveys/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/scheduler/surveys/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | from .base_survey import *
from .surveys import *
from .dd_surveys import *
from .scripted_surveys import *
from .too_surveys import *
from .desc_ddf import *
from .plan_night_survey import *
| 24 | 32 | 0.78125 | 28 | 192 | 5.107143 | 0.428571 | 0.41958 | 0.475524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 192 | 7 | 33 | 27.428571 | 0.871951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4875428bbca4b69dfb60035060ebe43cbd598d4e | 37,517 | py | Python | demos/sprites/sprite1.py | rlugojr/PX8 | b081611dde998a06910d57037ca20b5fbd90123b | [
"MIT"
] | 21 | 2019-05-31T17:15:54.000Z | 2022-02-26T04:59:07.000Z | demos/sprites/sprite1.py | rlugojr/PX8 | b081611dde998a06910d57037ca20b5fbd90123b | [
"MIT"
] | null | null | null | demos/sprites/sprite1.py | rlugojr/PX8 | b081611dde998a06910d57037ca20b5fbd90123b | [
"MIT"
] | 1 | 2020-06-11T14:57:11.000Z | 2020-06-11T14:57:11.000Z | px8 / python cartridge
version 1
__python__
from PIL import Image
# Get a PNG and display it directly by adding the color
def _init():
cls()
im = Image.open("./demos/assets/Tux.png")
print(im)
pix = im.load()
width, height = im.size
print(width, height)
palettes = {}
idx = 16
for... | 113.003012 | 256 | 0.982328 | 451 | 37,517 | 81.651885 | 0.210643 | 0.785553 | 1.157475 | 1.529396 | 0.881412 | 0.880272 | 0.880272 | 0.880272 | 0.880272 | 0.880272 | 0 | 0.985703 | 0.01562 | 37,517 | 331 | 257 | 113.344411 | 0.011427 | 0.001413 | 0 | 0.825 | 0 | 0 | 0.000587 | 0.000587 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.00625 | 0.003125 | null | null | 0.00625 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 16 |
487f6ca51b72cfba149dbc11c7294a7ca6e60ddb | 1,579 | py | Python | stock/migrations/0004_auto_20210524_0215.py | ericpesto/Archeon-Django-REST-API | e02b871b95c5247d83580acfe25f6ec299fdb9b1 | [
"MIT"
] | 1 | 2021-06-07T17:31:23.000Z | 2021-06-07T17:31:23.000Z | stock/migrations/0004_auto_20210524_0215.py | ericpesto/Archeon-Django-REST-API | e02b871b95c5247d83580acfe25f6ec299fdb9b1 | [
"MIT"
] | null | null | null | stock/migrations/0004_auto_20210524_0215.py | ericpesto/Archeon-Django-REST-API | e02b871b95c5247d83580acfe25f6ec299fdb9b1 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.3 on 2021-05-24 02:15
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0003_auto_20210522_1811'),
]
operations = [
migrations.AlterField(
model_name='stock',
name='artist_id',
... | 29.240741 | 61 | 0.554148 | 153 | 1,579 | 5.568627 | 0.27451 | 0.187793 | 0.234742 | 0.2723 | 0.776995 | 0.776995 | 0.732394 | 0.732394 | 0.683099 | 0.683099 | 0 | 0.031103 | 0.328056 | 1,579 | 53 | 62 | 29.792453 | 0.771913 | 0.028499 | 0 | 0.680851 | 1 | 0 | 0.104439 | 0.015013 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6fa1ec753f3d3bc7506e0710280bd455555fdad1 | 62,115 | py | Python | src/genie/libs/parser/junos/tests/test_show_ldp.py | Jmahaja1/genieparser | b5eff62db24bf70497eba3af5587d77cdbf25784 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/junos/tests/test_show_ldp.py | Jmahaja1/genieparser | b5eff62db24bf70497eba3af5587d77cdbf25784 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/junos/tests/test_show_ldp.py | Jmahaja1/genieparser | b5eff62db24bf70497eba3af5587d77cdbf25784 | [
"Apache-2.0"
] | null | null | null | # Python
import unittest
from unittest.mock import Mock
# ATS
from pyats.topology import Device
# Metaparser
from genie.metaparser.util.exceptions import SchemaEmptyParserError
from genie.libs.parser.junos.show_ldp import (ShowLDPSession,
ShowLdpNeighbor,
... | 39.766325 | 99 | 0.510955 | 6,109 | 62,115 | 5.154526 | 0.046325 | 0.035282 | 0.004573 | 0.01048 | 0.942456 | 0.927244 | 0.909492 | 0.899743 | 0.891264 | 0.888342 | 0 | 0.054491 | 0.365677 | 62,115 | 1,561 | 100 | 39.7918 | 0.744702 | 0.030283 | 0 | 0.739591 | 0 | 0 | 0.535713 | 0.151096 | 0 | 0 | 0 | 0 | 0.020439 | 1 | 0.020439 | false | 0.000757 | 0.003785 | 0 | 0.081756 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6fe91ca39969e5c100442103b74bf0563e25b2e9 | 1,916 | py | Python | terrascript/scaleway/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/scaleway/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/scaleway/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/scaleway/r.py
import terrascript
class scaleway_account_ssh_key(terrascript.Resource):
pass
class scaleway_baremetal_server(terrascript.Resource):
pass
class scaleway_instance_ip(terrascript.Resource):
pass
class scaleway_instance_ip_reverse_dns(terrascript.Resource):
pass
class ... | 16.10084 | 67 | 0.799061 | 222 | 1,916 | 6.576577 | 0.18018 | 0.258219 | 0.456849 | 0.536986 | 0.855479 | 0.781507 | 0.487671 | 0.143836 | 0 | 0 | 0 | 0.001211 | 0.138309 | 1,916 | 118 | 68 | 16.237288 | 0.883101 | 0.013048 | 0 | 0.491525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.491525 | 0.016949 | 0 | 0.508475 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
82f96bf00a0e6f16dfdd3f6ac7fa4c0016bc0ddc | 4,671 | py | Python | temas/IV.optimizacion_convexa_y_machine_learning/algoritmos/Python/line_search.py | 123972/analisis-numerico-computo-cientifico | 9ad310579d6376a85ad83862605aa48e5fcdc88c | [
"Apache-2.0"
] | null | null | null | temas/IV.optimizacion_convexa_y_machine_learning/algoritmos/Python/line_search.py | 123972/analisis-numerico-computo-cientifico | 9ad310579d6376a85ad83862605aa48e5fcdc88c | [
"Apache-2.0"
] | null | null | null | temas/IV.optimizacion_convexa_y_machine_learning/algoritmos/Python/line_search.py | 123972/analisis-numerico-computo-cientifico | 9ad310579d6376a85ad83862605aa48e5fcdc88c | [
"Apache-2.0"
] | null | null | null | from utils import norm_residual, logarithmic_barrier
def line_search_by_backtracking(f,dir_desc,x,
der_direct, alpha=.15, beta=.5):
'''
Line search that sufficiently decreases f restricted to a ray in the direction dir_desc.
Args:
alpha (float): parameter in line sea... | 45.794118 | 101 | 0.627703 | 646 | 4,671 | 4.390093 | 0.147059 | 0.054302 | 0.012694 | 0.042313 | 0.850846 | 0.841326 | 0.799013 | 0.766573 | 0.766573 | 0.75 | 0 | 0.020719 | 0.297367 | 4,671 | 102 | 102 | 45.794118 | 0.843388 | 0.465211 | 0 | 0.87931 | 0 | 0 | 0.08143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0 | 0.017241 | 0 | 0.12069 | 0.103448 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d217461745e9c2dab591b71af01dd3a18f395bcd | 5,613 | py | Python | presets.py | pirakd/DeepProp | e43f6e12220da38a3bda51918bd75bb7c48dec31 | [
"MIT"
] | null | null | null | presets.py | pirakd/DeepProp | e43f6e12220da38a3bda51918bd75bb7c48dec31 | [
"MIT"
] | null | null | null | presets.py | pirakd/DeepProp | e43f6e12220da38a3bda51918bd75bb7c48dec31 | [
"MIT"
] | null | null | null | experiments_20 = {
'data':
{'n_experiments': 20,
'max_set_size': 500,
'network_filename': 'H_sapiens.net', #'S_cerevisiae.net'
'directed_interactions_filename': 'KPI_dataset',
'sources_filename': 'drug_targets.txt',
'terminals_filename': 'drug_expressions.txt',
... | 33.213018 | 80 | 0.544629 | 607 | 5,613 | 4.670511 | 0.186161 | 0.049383 | 0.033862 | 0.018342 | 0.923457 | 0.923457 | 0.914638 | 0.904409 | 0.904409 | 0.890653 | 0 | 0.051138 | 0.303225 | 5,613 | 168 | 81 | 33.410714 | 0.673741 | 0.044718 | 0 | 0.783951 | 0 | 0 | 0.482049 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d25d2e23823c9cf23a022ab84b1423425a077029 | 60,713 | py | Python | wavefront_api_client/api/user_api.py | PowerOlive/python-client | eebda67381fcf893914c309103878236b609a70b | [
"Apache-2.0"
] | 11 | 2016-05-30T17:16:45.000Z | 2021-06-11T19:32:59.000Z | wavefront_api_client/api/user_api.py | PowerOlive/python-client | eebda67381fcf893914c309103878236b609a70b | [
"Apache-2.0"
] | 25 | 2016-05-02T23:05:19.000Z | 2020-11-18T22:43:20.000Z | wavefront_api_client/api/user_api.py | PowerOlive/python-client | eebda67381fcf893914c309103878236b609a70b | [
"Apache-2.0"
] | 30 | 2016-04-29T17:17:11.000Z | 2022-02-11T04:58:37.000Z | # coding: utf-8
"""
Wavefront REST API
<p>The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.</p><p>When you make REST API calls outside the Wavefront REST ... | 40.154101 | 409 | 0.599196 | 6,928 | 60,713 | 5.01097 | 0.038539 | 0.054384 | 0.024196 | 0.03111 | 0.965981 | 0.961977 | 0.960393 | 0.954171 | 0.951089 | 0.945241 | 0 | 0.020326 | 0.306359 | 60,713 | 1,511 | 410 | 40.180675 | 0.804027 | 0.349085 | 0 | 0.837037 | 0 | 0 | 0.167362 | 0.048631 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038272 | false | 0 | 0.004938 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d26d9c4a809fe7cebec535a3000886981482ce5a | 3,041 | py | Python | src/quicksort.py | endere/Data-structures | 2eb522406c348b6ca26c47f8790b77088cc8cae5 | [
"MIT"
] | 1 | 2017-06-19T22:35:34.000Z | 2017-06-19T22:35:34.000Z | src/quicksort.py | endere/Data-structures | 2eb522406c348b6ca26c47f8790b77088cc8cae5 | [
"MIT"
] | 1 | 2017-07-13T00:53:06.000Z | 2017-07-13T00:53:06.000Z | src/quicksort.py | endere/Data-structures-2nd-half | 2eb522406c348b6ca26c47f8790b77088cc8cae5 | [
"MIT"
] | null | null | null | """Quick Sort Data Structure."""
def quick_sort(array):
"""."""
if len(array) == 1:
if not isinstance(array[0], int):
raise TypeError('Must be an integer, please try again.')
return array
if len(array) == 0:
return array
pivot_point = array[0]
stored_index = 0
... | 37.085366 | 106 | 0.615258 | 408 | 3,041 | 4.446078 | 0.181373 | 0.092613 | 0.083793 | 0.042448 | 0.804851 | 0.786108 | 0.750827 | 0.750827 | 0.750827 | 0.750827 | 0 | 0.011384 | 0.248931 | 3,041 | 81 | 107 | 37.54321 | 0.782837 | 0.014798 | 0 | 0.746667 | 0 | 0 | 0.141374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013333 | false | 0 | 0.04 | 0 | 0.093333 | 0.266667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d273afb46d72bd26daa615f61ad7e7f3ef48d942 | 192 | py | Python | riglib/hdfwriter/__init__.py | DerekYJC/bmi_python | 7b9cf3f294a33688db24b0863c1035e9cc6999ea | [
"Apache-2.0"
] | null | null | null | riglib/hdfwriter/__init__.py | DerekYJC/bmi_python | 7b9cf3f294a33688db24b0863c1035e9cc6999ea | [
"Apache-2.0"
] | 12 | 2020-07-31T18:58:31.000Z | 2022-02-10T14:36:00.000Z | riglib/hdfwriter/__init__.py | DerekYJC/bmi_python | 7b9cf3f294a33688db24b0863c1035e9cc6999ea | [
"Apache-2.0"
] | 4 | 2020-03-06T15:39:00.000Z | 2021-05-26T17:03:21.000Z | # This is the __init__.py file if you are using the HDFWriter from
# riglib, without doing its own setup.
from .hdfwriter.hdfwriter import MsgTable
from .hdfwriter.hdfwriter import HDFWriter
| 38.4 | 66 | 0.802083 | 29 | 192 | 5.172414 | 0.689655 | 0.173333 | 0.293333 | 0.373333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151042 | 192 | 4 | 67 | 48 | 0.920245 | 0.526042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9629bdc6dd6436a851d69554fbb7d3652b34ac09 | 26,472 | py | Python | plotting.py | brfkorucu/Gridding-Recaptcha-Photo | 8641ed44913a5cfed925fe1e4851a8310f7798db | [
"MIT"
] | 2 | 2021-11-07T16:30:22.000Z | 2022-03-11T16:44:34.000Z | plotting.py | brfkorucu/Gridding-Recaptcha-Photo | 8641ed44913a5cfed925fe1e4851a8310f7798db | [
"MIT"
] | 1 | 2022-03-11T16:54:55.000Z | 2022-03-11T18:05:21.000Z | plotting.py | brfkorucu/Gridding-Recaptcha-Photo | 8641ed44913a5cfed925fe1e4851a8310f7798db | [
"MIT"
] | null | null | null | ################################################################################################
import cv2
import numpy as np
import time
import sys
import os
import optparse
################################################################################################
parser = optparse.OptionParser("u... | 33.172932 | 97 | 0.414665 | 3,260 | 26,472 | 3.129755 | 0.054908 | 0.131726 | 0.034304 | 0.030187 | 0.822013 | 0.816525 | 0.805155 | 0.755072 | 0.755072 | 0.755072 | 0 | 0.082415 | 0.458673 | 26,472 | 797 | 98 | 33.214555 | 0.629449 | 0.004382 | 0 | 0.809598 | 0 | 0 | 0.026102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01548 | false | 0 | 0.009288 | 0 | 0.106811 | 0.020124 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
96988eae4c95c47ea17ffecb54903d94ca1585dd | 3,405 | py | Python | AccGenBot/plugins/acc.py | infotechbro/AccGenBot | ae87ed9d88aa7e11177e794417c6a7391b842b4e | [
"MIT"
] | 8 | 2021-04-24T03:27:07.000Z | 2021-10-07T04:09:22.000Z | AccGenBot/plugins/acc.py | infotechbro/AccGenBot | ae87ed9d88aa7e11177e794417c6a7391b842b4e | [
"MIT"
] | null | null | null | AccGenBot/plugins/acc.py | infotechbro/AccGenBot | ae87ed9d88aa7e11177e794417c6a7391b842b4e | [
"MIT"
] | 12 | 2021-04-24T05:16:56.000Z | 2022-03-16T13:48:39.000Z | from AccGenBot import AccGen
from AccGenBot.verify import verify
from telethon import events, Button
import random
from Configs import Config
@AccGen.on(events.callbackquery.CallbackQuery(data="zee5"))
async def zee5(event):
check = await verify(Config.CHANNEL_US, event, AccGen)
if check is False:
await... | 31.238532 | 90 | 0.628488 | 471 | 3,405 | 4.509554 | 0.150743 | 0.028249 | 0.037665 | 0.050847 | 0.904896 | 0.904896 | 0.884181 | 0.884181 | 0.884181 | 0.884181 | 0 | 0.001762 | 0.16652 | 3,405 | 108 | 91 | 31.527778 | 0.746653 | 0 | 0 | 0.793478 | 0 | 0 | 0.351836 | 0.120999 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.130435 | 0.054348 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
73cae440862856f0f4ae47bceb45542017a1b799 | 17,346 | py | Python | src/callback.py | fshdnc/disease_normalization | 68b8fc118fe0f971fbd056ad2bffb44caa0e7abf | [
"Apache-2.0"
] | 1 | 2021-01-28T09:24:27.000Z | 2021-01-28T09:24:27.000Z | src/callback.py | fshdnc/disease_normalization | 68b8fc118fe0f971fbd056ad2bffb44caa0e7abf | [
"Apache-2.0"
] | 1 | 2019-07-08T03:25:30.000Z | 2019-12-13T08:33:55.000Z | src/callback.py | fshdnc/disease_normalization | 68b8fc118fe0f971fbd056ad2bffb44caa0e7abf | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# coding: utf8
"""
A ranking accuracy callback.
Modified from: https://github.com/lfurrer/disease-normalization/blob/master/tzlink/rank/callback.py
"""
import numpy as np
import logging
logger = logging.getLogger(__name__)
from keras.callbacks import Callback
from keras.models import load_model... | 37.626898 | 156 | 0.708232 | 2,452 | 17,346 | 4.840946 | 0.084421 | 0.046251 | 0.026959 | 0.035383 | 0.849031 | 0.842965 | 0.842965 | 0.841281 | 0.832856 | 0.825611 | 0 | 0.007534 | 0.150582 | 17,346 | 461 | 157 | 37.626898 | 0.798086 | 0.109074 | 0 | 0.816092 | 0 | 0 | 0.143256 | 0.025663 | 0 | 0 | 0 | 0 | 0.002874 | 1 | 0.08908 | false | 0.017241 | 0.031609 | 0 | 0.198276 | 0.014368 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
73fd5a05bd62856a766308103b3feb3d66e495ac | 2,710 | py | Python | little_finger/utils/requests_response_util.py | yromeMfOtuO/little-finger | 6474366e6f8f9072584aa7f113a7f425544a7708 | [
"Apache-2.0"
] | null | null | null | little_finger/utils/requests_response_util.py | yromeMfOtuO/little-finger | 6474366e6f8f9072584aa7f113a7f425544a7708 | [
"Apache-2.0"
] | null | null | null | little_finger/utils/requests_response_util.py | yromeMfOtuO/little-finger | 6474366e6f8f9072584aa7f113a7f425544a7708 | [
"Apache-2.0"
] | null | null | null | """
requests response处理,校验状态码及成功标志
默认response content-type 为 json
"""
import requests
def check_status(response: requests.Response, err_msg: str = None):
"""
check http response status is 200
:param response: requests http response
:param err_msg: exception error message
"""
if not str(respons... | 35.657895 | 117 | 0.704059 | 372 | 2,710 | 4.997312 | 0.11828 | 0.074233 | 0.077461 | 0.041958 | 0.817644 | 0.783217 | 0.783217 | 0.744486 | 0.744486 | 0.744486 | 0 | 0.008854 | 0.208118 | 2,710 | 75 | 118 | 36.133333 | 0.857409 | 0.429151 | 0 | 0.363636 | 0 | 0 | 0.129643 | 0.016752 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.045455 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fb7b368376b5efdcc142b272cee2e155e7c29ff7 | 6,798 | py | Python | imputeTSpy/locf.py | zaenalium/imputeTSpy | 7d34cdcd699606f908de6f3de17b6c6b9150091c | [
"MIT"
] | null | null | null | imputeTSpy/locf.py | zaenalium/imputeTSpy | 7d34cdcd699606f908de6f3de17b6c6b9150091c | [
"MIT"
] | null | null | null | imputeTSpy/locf.py | zaenalium/imputeTSpy | 7d34cdcd699606f908de6f3de17b6c6b9150091c | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
from check_data import check_data, consecutive
from tsAirgap import ts_airgap, ts_heating, ts_nh4
#from impyute.ops import error
#@wrapper.wrappers
#@wrapper.checks
def locf(data, na_remaining = "rev", maxgap = None):
""" Last Observation Carried Forward
For each set... | 34.160804 | 320 | 0.584437 | 1,023 | 6,798 | 3.738025 | 0.168133 | 0.044456 | 0.058577 | 0.025105 | 0.900889 | 0.888337 | 0.888337 | 0.888337 | 0.878923 | 0.878923 | 0 | 0.006367 | 0.306855 | 6,798 | 198 | 321 | 34.333333 | 0.805178 | 0.55075 | 0 | 0.916667 | 0 | 0 | 0.047324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0.055556 | 0.055556 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
fba4a3ec34dc4ed9b13643fc80a87a6a38904d8b | 625 | py | Python | tests/examples/test_postponed_annotations.py | jeffknaide/omegaconf | e7f7db4c60509de068990b5af9ec30d29f1369be | [
"BSD-3-Clause"
] | null | null | null | tests/examples/test_postponed_annotations.py | jeffknaide/omegaconf | e7f7db4c60509de068990b5af9ec30d29f1369be | [
"BSD-3-Clause"
] | null | null | null | tests/examples/test_postponed_annotations.py | jeffknaide/omegaconf | e7f7db4c60509de068990b5af9ec30d29f1369be | [
"BSD-3-Clause"
] | null | null | null | import sys
import pytest
@pytest.mark.skipif(sys.version_info < (3, 7), reason="requires Python 3.7")
def test_simple_types_class_postponed() -> None:
# import from a module which has `from __future__ import annotations`
from tests.examples.dataclass_postponed_annotations import simple_types_class
simpl... | 31.25 | 81 | 0.7712 | 84 | 625 | 5.452381 | 0.357143 | 0.017467 | 0.104803 | 0.082969 | 0.777293 | 0.777293 | 0.777293 | 0.777293 | 0.777293 | 0.777293 | 0 | 0.014925 | 0.1424 | 625 | 19 | 82 | 32.894737 | 0.839552 | 0.216 | 0 | 0.2 | 0 | 0 | 0.078029 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
fbc578561bc3f1f14716f1751a6ae8f75ea26e4f | 6,248 | py | Python | tests/models/torch/test_encoders.py | YangRui2015/d3rlpy | da778b2a2b0afbafe25395296baecd0d4d0cd0d5 | [
"MIT"
] | 1 | 2021-05-08T06:21:05.000Z | 2021-05-08T06:21:05.000Z | tests/models/torch/test_encoders.py | YangRui2015/d3rlpy | da778b2a2b0afbafe25395296baecd0d4d0cd0d5 | [
"MIT"
] | null | null | null | tests/models/torch/test_encoders.py | YangRui2015/d3rlpy | da778b2a2b0afbafe25395296baecd0d4d0cd0d5 | [
"MIT"
] | null | null | null | import pytest
import torch
from d3rlpy.models.torch.encoders import (
PixelEncoder,
PixelEncoderWithAction,
VectorEncoder,
VectorEncoderWithAction,
)
from .model_test import check_parameter_updates
@pytest.mark.parametrize("shapes", [((4, 84, 84), 3136)])
@pytest.mark.parametrize("filters", [[(32, 8... | 29.752381 | 78 | 0.68822 | 785 | 6,248 | 5.217834 | 0.095541 | 0.078125 | 0.164063 | 0.037109 | 0.899414 | 0.899414 | 0.899414 | 0.899414 | 0.847656 | 0.822754 | 0 | 0.018354 | 0.18902 | 6,248 | 209 | 79 | 29.894737 | 0.790014 | 0.042093 | 0 | 0.877193 | 0 | 0 | 0.060616 | 0 | 0 | 0 | 0 | 0 | 0.093567 | 1 | 0.023392 | false | 0 | 0.023392 | 0 | 0.046784 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f7efe82255fe75dd3c26f5fbb39c2ef16afa0d50 | 73,707 | py | Python | bklv2/api.py | etecor/bklv2 | aa4373ed51c3bade65c78e41921261f233e39a7f | [
"MIT"
] | null | null | null | bklv2/api.py | etecor/bklv2 | aa4373ed51c3bade65c78e41921261f233e39a7f | [
"MIT"
] | null | null | null | bklv2/api.py | etecor/bklv2 | aa4373ed51c3bade65c78e41921261f233e39a7f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
import shutil
import requests
import json
import rfc6266
def _gpath( path ):
"""
"https://test.backlog.jp/" -> "https://test.backlog.jp/"
"https://test.backlog.jp" -> "https://test.backlog.jp/"
"""
if path == "":
return "./"
elif path.en... | 35.902094 | 115 | 0.526151 | 6,874 | 73,707 | 5.559354 | 0.061536 | 0.036635 | 0.068115 | 0.07887 | 0.823499 | 0.819626 | 0.807903 | 0.790161 | 0.782023 | 0.762763 | 0 | 0.006117 | 0.339045 | 73,707 | 2,052 | 116 | 35.919591 | 0.778311 | 0.138549 | 0 | 0.72887 | 0 | 0 | 0.109301 | 0.008063 | 0 | 0 | 0 | 0 | 0 | 1 | 0.120502 | false | 0.003347 | 0.004184 | 0.000837 | 0.248536 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f730bdfa184e875f2155e79716a3aed6b404a24c | 1,861 | py | Python | tests/config.py | armandomeeuwenoord/freight | 31ae2fa9252ab0b25385abd04742475e6671e3b1 | [
"Apache-2.0"
] | 562 | 2015-02-20T08:25:24.000Z | 2021-11-12T19:58:44.000Z | tests/config.py | armandomeeuwenoord/freight | 31ae2fa9252ab0b25385abd04742475e6671e3b1 | [
"Apache-2.0"
] | 129 | 2015-02-20T07:41:14.000Z | 2022-02-17T21:14:40.000Z | tests/config.py | armandomeeuwenoord/freight | 31ae2fa9252ab0b25385abd04742475e6671e3b1 | [
"Apache-2.0"
] | 54 | 2015-02-28T01:12:23.000Z | 2021-03-02T11:14:52.000Z | SQLALCHEMY_DATABASE_URI = "postgresql:///test_freight"
LOG_LEVEL = "INFO"
WORKSPACE_ROOT = "/tmp/freight-tests"
SSH_PRIVATE_KEY = "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEArvyc+vZVxUjC5ZcFg1VN3jQOCOjO94gwQKFxlz0zOCrCz+Sq\nnWk28YdUpOU016Zinlh4ZZk2136nCKKTMnNMjd6cTTCn5fWomjR+F2CSdaYYpYfO\nNtVnq0SIDUgGmjyPncOGr... | 186.1 | 1,720 | 0.922085 | 102 | 1,861 | 16.745098 | 0.921569 | 0.017564 | 0.015222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138495 | 0.014508 | 1,861 | 9 | 1,721 | 206.777778 | 0.792803 | 0 | 0 | 0 | 0 | 0.2 | 0.939817 | 0.903815 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f7533a18a1b348e933be1af446bfcb6a698ac718 | 34,794 | py | Python | adspygoogle/dfp/zsi/v201010/NetworkService_services_types.py | hockeyprincess/google-api-dfp-python | efa82a8d85cbdc90f030db9d168790c55bd8b12a | [
"Apache-2.0"
] | null | null | null | adspygoogle/dfp/zsi/v201010/NetworkService_services_types.py | hockeyprincess/google-api-dfp-python | efa82a8d85cbdc90f030db9d168790c55bd8b12a | [
"Apache-2.0"
] | null | null | null | adspygoogle/dfp/zsi/v201010/NetworkService_services_types.py | hockeyprincess/google-api-dfp-python | efa82a8d85cbdc90f030db9d168790c55bd8b12a | [
"Apache-2.0"
] | null | null | null | ##################################################
# NetworkService_services_types.py
# generated by ZSI.generate.wsdl2python
##################################################
import ZSI
import ZSI.TCcompound
from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED
############... | 57.701493 | 1,029 | 0.631086 | 3,730 | 34,794 | 5.644772 | 0.034316 | 0.033056 | 0.043885 | 0.053289 | 0.835051 | 0.773308 | 0.75184 | 0.75184 | 0.742104 | 0.721016 | 0 | 0.023248 | 0.240932 | 34,794 | 602 | 1,030 | 57.797342 | 0.773958 | 0.021958 | 0 | 0.547059 | 1 | 0 | 0.167499 | 0.024114 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096078 | false | 0 | 0.005882 | 0.003922 | 0.245098 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f76acc881f9a49f22f6eeaeba9e6b78a515b1b65 | 916 | py | Python | chris/tests/mocks/data/pagination.py | FNNDSC/caw | a41761c4502481f6ccb60ef6e9956464c9b30eb9 | [
"MIT"
] | null | null | null | chris/tests/mocks/data/pagination.py | FNNDSC/caw | a41761c4502481f6ccb60ef6e9956464c9b30eb9 | [
"MIT"
] | 11 | 2021-04-23T21:25:29.000Z | 2022-03-14T02:40:26.000Z | chris/tests/mocks/data/pagination.py | FNNDSC/caw | a41761c4502481f6ccb60ef6e9956464c9b30eb9 | [
"MIT"
] | 1 | 2021-10-17T16:18:30.000Z | 2021-10-17T16:18:30.000Z | responses = {
'https://example.com/api/v1/something/': {
'count': 5,
'next': 'https://example.com/api/v1/something/?limit=3&offset=3',
'previous': None,
'results': [
{'id': 1}, {'id': 2}, {'id': 3}
],
'collection_links': {}
},
'https://example.com/... | 30.533333 | 73 | 0.470524 | 102 | 916 | 4.196078 | 0.245098 | 0.196262 | 0.245327 | 0.294393 | 0.820093 | 0.820093 | 0.752336 | 0.752336 | 0.752336 | 0.752336 | 0 | 0.043077 | 0.290393 | 916 | 29 | 74 | 31.586207 | 0.615385 | 0 | 0 | 0.482759 | 0 | 0 | 0.522926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
e3902aedb74095cdf76b9f64f401c524945c425d | 38,575 | py | Python | torch/core/ops/math_ops.py | seetaresearch/dragon | fb47d86f5def9bbcc7f374800bf85e74111ae4b4 | [
"BSD-2-Clause"
] | 30 | 2020-06-22T11:43:28.000Z | 2022-03-23T02:33:39.000Z | torch/core/ops/math_ops.py | seetaresearch/dragon | fb47d86f5def9bbcc7f374800bf85e74111ae4b4 | [
"BSD-2-Clause"
] | 1 | 2020-11-05T10:15:33.000Z | 2020-11-05T10:15:33.000Z | torch/core/ops/math_ops.py | seetaresearch/dragon | fb47d86f5def9bbcc7f374800bf85e74111ae4b4 | [
"BSD-2-Clause"
] | 4 | 2020-11-05T09:15:03.000Z | 2021-04-01T02:30:38.000Z | # ------------------------------------------------------------
# Copyright (c) 2017-present, SeetaTech, Co.,Ltd.
#
# Licensed under the BSD 2-Clause License.
# You should have received a copy of the BSD 2-Clause License
# along with the software. If not, See,
#
# <https://opensource.org/licenses/BSD-2-Clause>
#
# -... | 23.753079 | 87 | 0.583409 | 4,969 | 38,575 | 4.500906 | 0.065607 | 0.113615 | 0.108697 | 0.157165 | 0.834652 | 0.806081 | 0.768791 | 0.728147 | 0.705924 | 0.653163 | 0 | 0.013368 | 0.263072 | 38,575 | 1,623 | 88 | 23.767714 | 0.773384 | 0.694284 | 0 | 0.157143 | 0 | 0 | 0.045577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.028571 | 0 | 0.561905 | 0.004762 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
e3a9b81e82e2fc1d728762e2fa3fd57a408e7d85 | 702 | py | Python | moca_bot/__init__.py | el-ideal-ideas/MendakoDiscordBot | bc9fe8e85465671a509bee701b5f8eee9a6044d3 | [
"MIT"
] | 1 | 2020-07-09T06:48:45.000Z | 2020-07-09T06:48:45.000Z | moca_bot/__init__.py | el-ideal-ideas/ShirotakoDiscordBot | 432b998b1ba255b6c626f3297fc92d3be0159ed1 | [
"MIT"
] | null | null | null | moca_bot/__init__.py | el-ideal-ideas/ShirotakoDiscordBot | 432b998b1ba255b6c626f3297fc92d3be0159ed1 | [
"MIT"
] | null | null | null | # Ω*
# ■ ■■■■■
# ■ ■■ ■■
# ■ ■■ ■
# ■ ■■
# ■■■■■ ■ ■■■
# ■■ ■■ ■ ■■■
# ■■ ■■ ■ ■■■■
# ■■ ■■ ■ ■■■■
# ■■■■■■■■■ ■ ■■■
... | 30.521739 | 87 | 0.055556 | 56 | 702 | 2.678571 | 0.196429 | 0.24 | 0.233333 | 0.12 | 0.253333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.542735 | 702 | 22 | 88 | 31.909091 | 0.121495 | 0.903134 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
5836de3345e28c47521d4611d447b6bd39a7ead7 | 2,638 | py | Python | SSnet_GNN/code/pnfit.py | ekraka/SSnet | 6a28140b2e54e5415553609a612fcae92f9103f0 | [
"MIT"
] | 20 | 2020-01-23T07:29:27.000Z | 2022-03-22T12:38:33.000Z | SSnet_GNN/code/pnfit.py | ekraka/SSnet | 6a28140b2e54e5415553609a612fcae92f9103f0 | [
"MIT"
] | 3 | 2020-05-19T18:43:19.000Z | 2021-07-30T16:13:48.000Z | SSnet_GNN/code/pnfit.py | ekraka/SSnet | 6a28140b2e54e5415553609a612fcae92f9103f0 | [
"MIT"
] | 5 | 2020-02-07T18:55:23.000Z | 2021-07-15T01:43:47.000Z | #curvature/torsion calculation of polynormial fitted line of axis
#2nd, 3rd and 5th order polynormial
from math import *
from utils import *
#5th order
def pfit(fth,t):
nf=len(fth)
o=nf-1
L=t
A=fth
# for a in A:
# print a
#for each points
D1,D2,D3=[],[],[]
kapa,tora=[],[]
crds=[]
for r in xrang... | 17.586667 | 77 | 0.5163 | 504 | 2,638 | 2.702381 | 0.132937 | 0.044053 | 0.039648 | 0.044053 | 0.844347 | 0.812041 | 0.812041 | 0.812041 | 0.812041 | 0.787078 | 0 | 0.080755 | 0.277104 | 2,638 | 149 | 78 | 17.704698 | 0.633456 | 0.286581 | 0 | 0.795181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036145 | false | 0 | 0.024096 | 0 | 0.060241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5843ede99ec5d1d77fd161b833769d92a95511d0 | 44 | py | Python | pimux/__init__.py | azwyane/pymux | 09fafc8c313a2c091efed6e9864a0273fe4c35c6 | [
"MIT"
] | 30 | 2020-05-02T09:21:23.000Z | 2022-03-24T12:59:09.000Z | pimux/__init__.py | azwyane/pymux | 09fafc8c313a2c091efed6e9864a0273fe4c35c6 | [
"MIT"
] | null | null | null | pimux/__init__.py | azwyane/pymux | 09fafc8c313a2c091efed6e9864a0273fe4c35c6 | [
"MIT"
] | 9 | 2020-05-03T19:13:12.000Z | 2021-03-08T07:21:59.000Z | from . import function
from . import Sensors | 22 | 22 | 0.795455 | 6 | 44 | 5.833333 | 0.666667 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 23 | 22 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
58876b6dd481253122151eeb628995760aee43cb | 31,200 | py | Python | scipy/signal/tests/test_spectral.py | xu-hong-/scipy | f737001cf0a75654efe09a1de5cdf5d1895bda59 | [
"BSD-3-Clause"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | scipy/signal/tests/test_spectral.py | xu-hong-/scipy | f737001cf0a75654efe09a1de5cdf5d1895bda59 | [
"BSD-3-Clause"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | scipy/signal/tests/test_spectral.py | xu-hong-/scipy | f737001cf0a75654efe09a1de5cdf5d1895bda59 | [
"BSD-3-Clause"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | from __future__ import division, print_function, absolute_import
import warnings
import numpy as np
from numpy.testing import assert_raises, assert_approx_equal, \
assert_, run_module_suite, TestCase,\
assert_allclose, assert_array_equal,\
a... | 34.210526 | 79 | 0.539968 | 4,842 | 31,200 | 3.359769 | 0.059686 | 0.105852 | 0.02969 | 0.038358 | 0.896914 | 0.88585 | 0.878903 | 0.870113 | 0.857819 | 0.850566 | 0 | 0.134174 | 0.306058 | 31,200 | 911 | 80 | 34.248079 | 0.6172 | 0.031667 | 0 | 0.80343 | 0 | 0 | 0.007463 | 0 | 0 | 0 | 0 | 0 | 0.261214 | 1 | 0.117414 | false | 0 | 0.009235 | 0 | 0.134565 | 0.001319 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
588d033cd648dd40b9af5f385c2cc4e5591df484 | 5,793 | py | Python | CNK-GToken/cnk-gtoken_dec.py | shyamjangid07/Reverse-Engineering | 469efabcd6057f7895d8d891f1fabdf2ffe730b0 | [
"Apache-2.0"
] | 337 | 2020-08-15T12:22:14.000Z | 2022-03-29T06:05:15.000Z | CNK-GToken/cnk-gtoken_dec.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 3 | 2020-11-12T14:30:48.000Z | 2021-05-18T16:56:22.000Z | CNK-GToken/cnk-gtoken_dec.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 83 | 2020-08-15T00:22:58.000Z | 2022-03-31T08:40:23.000Z | # Deobfuscated BY HTR-TECH | Tahmid Rayat
# Github : https://github.com/htr-tech
# Instagram : https://www.instagram.com/tahmid.rayat
# Facebook : https://fb.com/tahmid.rayat.oficial
# Messenger : https://m.me/tahmid.rayat.oficial
import os, json, base64, hashlib, random, time, sys
from requests import get, po... | 93.435484 | 3,118 | 0.650268 | 1,101 | 5,793 | 3.317893 | 0.158946 | 0.308787 | 0.399124 | 0.532165 | 0.636189 | 0.630441 | 0.630441 | 0.621133 | 0.621133 | 0.614837 | 0 | 0.265918 | 0.124288 | 5,793 | 61 | 3,119 | 94.967213 | 0.454169 | 0.039013 | 0 | 0.22 | 0 | 0.14 | 0.794065 | 0.615468 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.06 | 0.06 | null | null | 0.18 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 11 |
54755487584149a3e622cefc821b0f8ef2e2ac42 | 1,679 | py | Python | langdetect/tests/utils/test_unicode_block.py | mrhaanraadts/langdetect | edc668bc019719ed1e5718ad59bf339180de09e1 | [
"Apache-2.0"
] | 1,269 | 2015-01-05T13:51:00.000Z | 2022-03-28T03:07:31.000Z | langdetect/tests/utils/test_unicode_block.py | HelenaSak/langdetect | c4b28fe44370863eb6e2f73cfe0cfae5d5a895da | [
"Apache-2.0"
] | 75 | 2015-02-16T15:52:41.000Z | 2022-02-19T10:17:26.000Z | langdetect/tests/utils/test_unicode_block.py | HelenaSak/langdetect | c4b28fe44370863eb6e2f73cfe0cfae5d5a895da | [
"Apache-2.0"
] | 205 | 2015-01-01T18:33:32.000Z | 2022-03-31T22:52:32.000Z | import unittest
import six
from langdetect.utils import unicode_block
class UnicodeBlockTest(unittest.TestCase):
def test_unicode_block(self):
self.assertEqual(unicode_block.unicode_block(six.u('\u0065')), unicode_block.UNICODE_BASIC_LATIN)
self.assertEqual(unicode_block.unicode_block(six.u('\u0... | 69.958333 | 134 | 0.775462 | 214 | 1,679 | 5.733645 | 0.247664 | 0.371638 | 0.371638 | 0.264059 | 0.718826 | 0.718826 | 0.718826 | 0.718826 | 0.466993 | 0.466993 | 0 | 0.037483 | 0.110185 | 1,679 | 23 | 135 | 73 | 0.783802 | 0.023824 | 0 | 0 | 0 | 0 | 0.059866 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.055556 | false | 0 | 0.166667 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
54899422f1f04a9b95ecbcfe68e47f0d379f21dd | 672 | py | Python | plugin/src/test/resources/org/jetbrains/research/pynose/plugin/inspections/data/constructor/test_constructor_multiple.py | WANGJIEKE/pycharm_test_smell_plugin | 081e5f9dcc416da4a290bcc5102ce46f104afefa | [
"Apache-2.0"
] | 33 | 2021-08-05T04:54:25.000Z | 2022-03-21T18:44:55.000Z | plugin/src/test/resources/org/jetbrains/research/pynose/plugin/inspections/data/constructor/test_constructor_multiple.py | WANGJIEKE/pycharm_test_smell_plugin | 081e5f9dcc416da4a290bcc5102ce46f104afefa | [
"Apache-2.0"
] | 19 | 2021-09-10T08:22:24.000Z | 2022-02-15T09:26:57.000Z | plugin/src/test/resources/org/jetbrains/research/pynose/plugin/inspections/data/constructor/test_constructor_multiple.py | JetBrains-Research/PyNose | 43690aa7fc4a964db39b165ea9fefcc8a7c0b420 | [
"Apache-2.0"
] | null | null | null | import unittest
class SomeClass(unittest.TestCase):
def <weak_warning descr="You can use the setUp() method to create the test fixture, instead of initializing the constructor">__init__</weak_warning>(self):
super().__init__()
def test_something(self):
pass
class OtherClass(unittest.TestCa... | 23.172414 | 159 | 0.700893 | 85 | 672 | 5.2 | 0.376471 | 0.099548 | 0.108597 | 0.104072 | 0.719457 | 0.719457 | 0.719457 | 0.719457 | 0.719457 | 0.719457 | 0 | 0 | 0.21131 | 672 | 28 | 160 | 24 | 0.833962 | 0 | 0 | 0.5 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0.0625 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
54ac8a1a3fc4100168778c3e4d41011e136fe3c3 | 137 | py | Python | mmdeploy/core/__init__.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 746 | 2021-12-27T10:50:28.000Z | 2022-03-31T13:34:14.000Z | mmdeploy/core/__init__.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 253 | 2021-12-28T05:59:13.000Z | 2022-03-31T18:22:25.000Z | mmdeploy/core/__init__.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 147 | 2021-12-27T10:50:33.000Z | 2022-03-30T10:44:20.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from .optimizers import * # noqa: F401,F403
from .rewriters import * # noqa: F401,F403
| 34.25 | 47 | 0.722628 | 18 | 137 | 5.5 | 0.722222 | 0.20202 | 0.282828 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.167883 | 137 | 3 | 48 | 45.666667 | 0.763158 | 0.562044 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
54b7eaf9936ec14bc1b95b09bcbcc560f20cf000 | 54,314 | py | Python | sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feeds_async.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2021-09-07T18:39:05.000Z | 2021-09-07T18:39:05.000Z | sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feeds_async.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/test_data_feeds_async.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2022-03-04T06:21:56.000Z | 2022-03-04T06:21:56.000Z | # coding=utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# ----------------------------------------------------------------------... | 50.618826 | 138 | 0.573627 | 5,036 | 54,314 | 5.890191 | 0.059571 | 0.09763 | 0.064188 | 0.027307 | 0.87095 | 0.853184 | 0.835856 | 0.805616 | 0.773826 | 0.763847 | 0 | 0.009813 | 0.348952 | 54,314 | 1,072 | 139 | 50.666045 | 0.829049 | 0.010863 | 0 | 0.74558 | 0 | 0.004912 | 0.100374 | 0.016385 | 0 | 0 | 0 | 0 | 0.207269 | 1 | 0 | false | 0.000982 | 0.010806 | 0 | 0.028487 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
49a490ffde21853d418bf362e235f837327f237f | 65,831 | py | Python | local/Model/ModelLayer.py | markusj1201/le_flask_alpha | d86f7de41abdae257350c853d16fc57b67231501 | [
"MIT"
] | 1 | 2020-01-27T20:48:22.000Z | 2020-01-27T20:48:22.000Z | local/Model/ModelLayer.py | markusj1201/le_flask_alpha | d86f7de41abdae257350c853d16fc57b67231501 | [
"MIT"
] | null | null | null | local/Model/ModelLayer.py | markusj1201/le_flask_alpha | d86f7de41abdae257350c853d16fc57b67231501 | [
"MIT"
] | 1 | 2020-01-30T14:00:20.000Z | 2020-01-30T14:00:20.000Z | #DB Configuration
def GetConfig():
config = {'server' : 'localhost',
'database' : 'LEForecastDatabase',
'UID' : '',
'password' : ''}
return config
def ValidateAndClauseArguments(kw_dict, table_name, DBobj):
from Model import BPXDatabase as bpx
... | 39.825166 | 306 | 0.550364 | 6,648 | 65,831 | 5.358153 | 0.037304 | 0.030319 | 0.035372 | 0.028635 | 0.840459 | 0.829595 | 0.817299 | 0.793942 | 0.779372 | 0.777435 | 0 | 0.001987 | 0.350063 | 65,831 | 1,653 | 307 | 39.825166 | 0.830552 | 0.036001 | 0 | 0.827056 | 0 | 0.006918 | 0.15303 | 0.022361 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049193 | false | 0.000769 | 0.093774 | 0 | 0.19216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
49a6050dfbe4ba042e42fdfbe7990e4308316eee | 104,391 | py | Python | atom/nucleus/python/nucleus_api/api/performance_api.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/nucleus_api/api/performance_api.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/nucleus_api/api/performance_api.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Hydrogen Atom API
The Hydrogen Atom API # noqa: E501
OpenAPI spec version: 1.7.0
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 ... | 66.112096 | 582 | 0.668688 | 13,808 | 104,391 | 4.790267 | 0.020206 | 0.037373 | 0.050375 | 0.054003 | 0.980467 | 0.974072 | 0.967964 | 0.963806 | 0.957744 | 0.950593 | 0 | 0.025494 | 0.23046 | 104,391 | 1,578 | 583 | 66.153992 | 0.797879 | 0.47984 | 0 | 0.850183 | 1 | 0 | 0.349753 | 0.141517 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020706 | false | 0 | 0.004872 | 0 | 0.056029 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.