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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1052be7243d9d92006427132097908b44ba62ca1 | 232 | py | Python | src/modules/activations.py | abheesht17/super-pixels | d650ecf5e227bf94d237c9d8eff57c8bbf5b8983 | [
"MIT"
] | 10 | 2021-05-20T02:18:30.000Z | 2021-12-24T05:21:39.000Z | src/modules/activations.py | abheesht17/super-pixels | d650ecf5e227bf94d237c9d8eff57c8bbf5b8983 | [
"MIT"
] | 3 | 2021-05-20T01:19:47.000Z | 2022-02-12T16:38:47.000Z | src/modules/activations.py | abheesht17/super-pixels | d650ecf5e227bf94d237c9d8eff57c8bbf5b8983 | [
"MIT"
] | 4 | 2021-05-20T01:30:14.000Z | 2021-10-02T16:53:06.000Z | import torch.nn as nn
from src.utils.mapper import configmapper
configmapper.map("activations", "relu")(nn.ReLU)
configmapper.map("activations", "logsoftmax")(nn.LogSoftmax)
configmapper.map("activations", "softmax")(nn.Softmax)
| 25.777778 | 60 | 0.771552 | 29 | 232 | 6.172414 | 0.482759 | 0.251397 | 0.435754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073276 | 232 | 8 | 61 | 29 | 0.832558 | 0 | 0 | 0 | 0 | 0 | 0.232759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
109f9d3b6d011c3e0fa01661b64139ed3ed3cd7e | 214 | py | Python | license_plate_processing/__init__.py | arekmula/license_plate_recognition | 62e5374fc56a0709d6d951629449aed347e101d2 | [
"MIT"
] | 1 | 2021-02-11T07:16:06.000Z | 2021-02-11T07:16:06.000Z | license_plate_processing/__init__.py | arekmula/license_plate_recognition | 62e5374fc56a0709d6d951629449aed347e101d2 | [
"MIT"
] | null | null | null | license_plate_processing/__init__.py | arekmula/license_plate_recognition | 62e5374fc56a0709d6d951629449aed347e101d2 | [
"MIT"
] | 1 | 2021-04-06T20:12:15.000Z | 2021-04-06T20:12:15.000Z | from .license_plate_recognizer import recognize_license_plate
from .license_plate_recognizer import train_KNN
from .character_classifier import get_chars_contour
from .character_classifier import train_classifier
| 35.666667 | 61 | 0.901869 | 28 | 214 | 6.464286 | 0.464286 | 0.198895 | 0.176796 | 0.287293 | 0.353591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079439 | 214 | 5 | 62 | 42.8 | 0.918782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e13148a6395a94a38b9bc27ab3ced83e32cb807 | 171 | py | Python | examples/print_function.py | dhruvmanila/pyinspect | ce90df243e5e5ee100f13de4329c111454b8c891 | [
"MIT"
] | 87 | 2020-09-30T10:18:26.000Z | 2022-03-10T08:56:04.000Z | examples/print_function.py | dhruvmanila/pyinspect | ce90df243e5e5ee100f13de4329c111454b8c891 | [
"MIT"
] | 16 | 2020-09-30T10:57:17.000Z | 2022-01-16T02:10:45.000Z | examples/print_function.py | dhruvmanila/pyinspect | ce90df243e5e5ee100f13de4329c111454b8c891 | [
"MIT"
] | 5 | 2020-11-20T07:39:26.000Z | 2022-01-13T04:54:51.000Z | """
This tutorial shows how to print
a function's source code
"""
# import pyinspect
import pyinspect as pi
# Print a function's source code
pi.showme(pi.search)
| 17.1 | 36 | 0.71345 | 27 | 171 | 4.518519 | 0.62963 | 0.098361 | 0.229508 | 0.245902 | 0.409836 | 0.409836 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204678 | 171 | 9 | 37 | 19 | 0.897059 | 0.619883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
eab067e3356e1c018f23ae9576402fe6bf71b065 | 317 | py | Python | src/common/common.py | glamod/glamod-cdm-lite | 026d87d499feaf7ee3611cf1c112384f3819e653 | [
"BSD-2-Clause"
] | 1 | 2020-06-16T14:29:26.000Z | 2020-06-16T14:29:26.000Z | src/common/common.py | glamod/glamod-cdm-lite | 026d87d499feaf7ee3611cf1c112384f3819e653 | [
"BSD-2-Clause"
] | 75 | 2020-01-17T12:25:58.000Z | 2021-04-29T14:48:52.000Z | src/common/common.py | glamod/glamod-cdm-lite | 026d87d499feaf7ee3611cf1c112384f3819e653 | [
"BSD-2-Clause"
] | 2 | 2020-07-03T11:11:04.000Z | 2020-08-03T14:19:54.000Z | BASE_INPUT_DIR = '/gws/nopw/j04/c3s311a_lot2/data/marine/r092019/ICOADS_R3.0.0T/level1a'
BASE_OUTPUT_DIR = '/gws/nopw/j04/c3s311a_lot2/data/marine/r092019_cdm_lite/ICOADS_R3.0.0T/level1a'
BASE_LOG_DIR = '/gws/smf/j04/c3s311a_lot2/cdmlite/log/prep/marine'
BASE_SQL_DIR = '/gws/smf/j04/c3s311a_lot2/cdmlite/marine/sql'
| 63.4 | 98 | 0.807571 | 57 | 317 | 4.210526 | 0.421053 | 0.1 | 0.233333 | 0.108333 | 0.775 | 0.775 | 0.591667 | 0.341667 | 0.341667 | 0 | 0 | 0.157377 | 0.037855 | 317 | 4 | 99 | 79.25 | 0.629508 | 0 | 0 | 0 | 0 | 0.5 | 0.757098 | 0.757098 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d81f8b15fcd933e10762cc5ad987f34540611fa2 | 22 | py | Python | paco/__init__.py | fabianlischka/paco | 82a3d14df8ccc7628bdafde9dd2a7293be9bf94e | [
"MIT"
] | 1 | 2018-01-18T10:11:31.000Z | 2018-01-18T10:11:31.000Z | paco/__init__.py | fabianlischka/paco | 82a3d14df8ccc7628bdafde9dd2a7293be9bf94e | [
"MIT"
] | null | null | null | paco/__init__.py | fabianlischka/paco | 82a3d14df8ccc7628bdafde9dd2a7293be9bf94e | [
"MIT"
] | null | null | null | from pacoRun import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d83a264e7589ae042d41f3619803a27354de2102 | 133 | py | Python | lib/glob.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | 3 | 2019-08-21T22:01:35.000Z | 2021-07-25T00:21:28.000Z | lib/glob.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null | lib/glob.py | jplevyak/pyc | 9f4bc49be78ba29427841460945ce63826fcd857 | [
"BSD-3-Clause"
] | null | null | null |
import os, os.path, fnmatch, re
def iglob(s):
return __iter('')
def glob(s):
return ['']
def init():
pass
| 11.083333 | 32 | 0.518797 | 18 | 133 | 3.722222 | 0.722222 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.323308 | 133 | 11 | 33 | 12.090909 | 0.744444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0.142857 | 0.285714 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
dc1fd8b5321721f8a223ba65bc79a1349804f6ea | 204 | py | Python | pylight/__init__.py | en0/pylight | ff91de63a40216484888548d83dcbc2de9d7ddb5 | [
"MIT"
] | null | null | null | pylight/__init__.py | en0/pylight | ff91de63a40216484888548d83dcbc2de9d7ddb5 | [
"MIT"
] | null | null | null | pylight/__init__.py | en0/pylight | ff91de63a40216484888548d83dcbc2de9d7ddb5 | [
"MIT"
] | null | null | null | from pylight.interface import IBacklight, IBacklightManager, IActionBroker
from pylight.backlight import Backlight
from pylight.backlight_manager import BacklightManager
from pylight.action import Action
| 40.8 | 74 | 0.882353 | 23 | 204 | 7.782609 | 0.478261 | 0.24581 | 0.223464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 204 | 4 | 75 | 51 | 0.962366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dc5eb2b80f86a9521d26ee3f67d7a4f539ca0e64 | 45 | py | Python | file_catalog/schema/__init__.py | WIPACrepo/file_catalog | 01c0947d32d621d28516ecce3604a0124c673925 | [
"MIT"
] | null | null | null | file_catalog/schema/__init__.py | WIPACrepo/file_catalog | 01c0947d32d621d28516ecce3604a0124c673925 | [
"MIT"
] | 61 | 2017-02-23T17:58:43.000Z | 2022-03-24T22:13:24.000Z | file_catalog/schema/__init__.py | WIPACrepo/file_catalog | 01c0947d32d621d28516ecce3604a0124c673925 | [
"MIT"
] | 2 | 2017-12-20T18:30:35.000Z | 2018-01-08T15:15:03.000Z | """Init."""
from . import types, validation
| 11.25 | 31 | 0.644444 | 5 | 45 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 3 | 32 | 15 | 0.763158 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f49934d73c1a4813d11d90412962419c71420029 | 154 | py | Python | credential.py | Reeju2019/Projects | 8def4f7c954946a12ba7a063792621038861fcfb | [
"MIT"
] | null | null | null | credential.py | Reeju2019/Projects | 8def4f7c954946a12ba7a063792621038861fcfb | [
"MIT"
] | null | null | null | credential.py | Reeju2019/Projects | 8def4f7c954946a12ba7a063792621038861fcfb | [
"MIT"
] | null | null | null | account_sid = 'ACb764593ed8f98268235ba1c2768712ed'
auth_token = '0e7b1a9daac9f36e8b855a25585b59f2'
my_cell = '+918820931166'
my_twilio = '+12624563373' | 38.5 | 51 | 0.818182 | 12 | 154 | 10.166667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.464286 | 0.090909 | 154 | 4 | 52 | 38.5 | 0.407143 | 0 | 0 | 0 | 0 | 0 | 0.598684 | 0.434211 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4da6c51345b48463d19edef85bb5472f036fbb5 | 200 | py | Python | pages/views.py | olubiyiontheweb/travelworld | ca9d2206108bd59fd222e384bcaab7efd6832e24 | [
"MIT"
] | null | null | null | pages/views.py | olubiyiontheweb/travelworld | ca9d2206108bd59fd222e384bcaab7efd6832e24 | [
"MIT"
] | null | null | null | pages/views.py | olubiyiontheweb/travelworld | ca9d2206108bd59fd222e384bcaab7efd6832e24 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, "pages/index.html")
def base(request):
return render(request, "layout/base.html")
| 16.666667 | 46 | 0.725 | 27 | 200 | 5.37037 | 0.62963 | 0.17931 | 0.262069 | 0.358621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 200 | 11 | 47 | 18.181818 | 0.863095 | 0.115 | 0 | 0 | 0 | 0 | 0.182857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f4ea8579a8421fbe2f3a224e6a25b3efafe0a274 | 133 | py | Python | LookProjeto/checkout/admin.py | jeffreyquirino/backup_looksistem | 46f3d372bb474b32c2fd0b249e1df029380a7925 | [
"Apache-2.0"
] | null | null | null | LookProjeto/checkout/admin.py | jeffreyquirino/backup_looksistem | 46f3d372bb474b32c2fd0b249e1df029380a7925 | [
"Apache-2.0"
] | 2 | 2020-06-06T01:14:59.000Z | 2021-06-10T22:52:57.000Z | LookProjeto/checkout/admin.py | jeffreyquirino/backup_looksistem | 46f3d372bb474b32c2fd0b249e1df029380a7925 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import CartItem, Order, OrderItem
admin.site.register([CartItem, Order, OrderItem])
| 19 | 49 | 0.789474 | 17 | 133 | 6.176471 | 0.647059 | 0.247619 | 0.419048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 133 | 6 | 50 | 22.166667 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
76091a90147fe417e29516ac5aca6d19f3b6a51a | 25,218 | py | Python | pyy1/.pycharm_helpers/python_stubs/-1550516950/_datetime.py | pyy1988/pyy_test1 | 6bea878409e658aa87441384419be51aaab061e7 | [
"Apache-2.0"
] | null | null | null | pyy1/.pycharm_helpers/python_stubs/-1550516950/_datetime.py | pyy1988/pyy_test1 | 6bea878409e658aa87441384419be51aaab061e7 | [
"Apache-2.0"
] | null | null | null | pyy1/.pycharm_helpers/python_stubs/-1550516950/_datetime.py | pyy1988/pyy_test1 | 6bea878409e658aa87441384419be51aaab061e7 | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
# module _datetime
# from (built-in)
# by generator 1.145
""" Fast implementation of the datetime type. """
# imports
import datetime as __datetime
# Variables with simple values
MAXYEAR = 9999
MINYEAR = 1
# no functions
# classes
class date(object):
""" date(year, month, day) --> date obje... | 31.483146 | 166 | 0.59287 | 2,949 | 25,218 | 4.871482 | 0.098338 | 0.104065 | 0.1601 | 0.1601 | 0.77579 | 0.730823 | 0.671516 | 0.598218 | 0.567312 | 0.562648 | 0 | 0.007065 | 0.275914 | 25,218 | 800 | 167 | 31.5225 | 0.779682 | 0.446229 | 0 | 0.768817 | 0 | 0 | 0.000083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.408602 | false | 0.322581 | 0.002688 | 0 | 0.604839 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
5247555ef50d7b2db1edc398eb67f9fe2be3e86f | 72 | py | Python | mc2pbrt/liquid/__init__.py | PbrtCraft/mc2pbrt | 145c844a7ec0fb3ee3c83dba67c2f8cdcf888ed4 | [
"MIT"
] | 3 | 2019-10-04T17:56:50.000Z | 2019-11-11T13:39:24.000Z | mc2pbrt/liquid/__init__.py | PbrtCraft/mc2pbrt | 145c844a7ec0fb3ee3c83dba67c2f8cdcf888ed4 | [
"MIT"
] | 8 | 2019-10-12T03:53:23.000Z | 2022-03-12T00:01:21.000Z | mc2pbrt/liquid/__init__.py | PbrtCraft/mc2pbrt | 145c844a7ec0fb3ee3c83dba67c2f8cdcf888ed4 | [
"MIT"
] | 1 | 2019-02-12T23:41:00.000Z | 2019-02-12T23:41:00.000Z | from liquid.lava import LavaSolver
from liquid.water import WaterSolver
| 24 | 36 | 0.861111 | 10 | 72 | 6.2 | 0.7 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 37 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
526038f645ec07f187329b116306cea6ab07104d | 4,657 | py | Python | indicators/tests/test_iptt_excel_endpoints.py | Falliatcom-sa/falliatcom | 39fb926de072c296ed32d50cccfb8003ca870739 | [
"Apache-2.0"
] | null | null | null | indicators/tests/test_iptt_excel_endpoints.py | Falliatcom-sa/falliatcom | 39fb926de072c296ed32d50cccfb8003ca870739 | [
"Apache-2.0"
] | 5 | 2021-02-08T20:42:48.000Z | 2022-03-12T00:19:38.000Z | indicators/tests/test_iptt_excel_endpoints.py | Falliatcom-sa/falliatcom | 39fb926de072c296ed32d50cccfb8003ca870739 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Excel endpoints (Timeperiods, TvA, and TvA full report) tested to ensure they download parsable content"""
from django import test
from django.urls import reverse
from factories import (
workflow_models as w_factories,
indicators_models as i_factories
)
from indicators.models import ... | 37.556452 | 109 | 0.635388 | 500 | 4,657 | 5.754 | 0.2 | 0.084115 | 0.050052 | 0.061175 | 0.816476 | 0.811609 | 0.79562 | 0.79562 | 0.782412 | 0.764685 | 0 | 0.018534 | 0.24694 | 4,657 | 124 | 110 | 37.556452 | 0.801825 | 0.027056 | 0 | 0.641509 | 0 | 0 | 0.082855 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 1 | 0.103774 | false | 0 | 0.037736 | 0 | 0.179245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5260b760b2a213ed86c8417ec53998fccf057d39 | 164 | py | Python | devel/lib/python2.7/dist-packages/waterplus_map_tools/srv/__init__.py | THUwelcomerobot/robot | a8c8e5105cf4a3be478c89249e818aa970bfc243 | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/waterplus_map_tools/srv/__init__.py | THUwelcomerobot/robot | a8c8e5105cf4a3be478c89249e818aa970bfc243 | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/waterplus_map_tools/srv/__init__.py | THUwelcomerobot/robot | a8c8e5105cf4a3be478c89249e818aa970bfc243 | [
"MIT"
] | null | null | null | from ._AddNewWaypoint import *
from ._GetNumOfWaypoints import *
from ._GetWaypointByIndex import *
from ._GetWaypointByName import *
from ._SaveWaypoints import *
| 27.333333 | 34 | 0.817073 | 15 | 164 | 8.6 | 0.466667 | 0.310078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 164 | 5 | 35 | 32.8 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5270c39b4d53b290d72762b495e1e4102fcc82a3 | 3,190 | py | Python | micromath/pow/test_pow.py | hedrox/micromath | 0f300da914c844e5ff0775f25119909f748de635 | [
"MIT"
] | null | null | null | micromath/pow/test_pow.py | hedrox/micromath | 0f300da914c844e5ff0775f25119909f748de635 | [
"MIT"
] | null | null | null | micromath/pow/test_pow.py | hedrox/micromath | 0f300da914c844e5ff0775f25119909f748de635 | [
"MIT"
] | null | null | null | import logging
import json
import math
from server import app
app.testing = True
logging.disable(logging.ERROR)
class TestPow:
def test_correct_pow(self):
with app.test_client() as client:
body = {'base': 32, 'power': 2}
result = client.post('/api/v1/pow', json=body)
... | 33.93617 | 62 | 0.554545 | 384 | 3,190 | 4.523438 | 0.158854 | 0.086356 | 0.07369 | 0.087507 | 0.807714 | 0.807714 | 0.777202 | 0.758204 | 0.717904 | 0.667242 | 0 | 0.024212 | 0.313793 | 3,190 | 93 | 63 | 34.301075 | 0.769301 | 0 | 0 | 0.616438 | 0 | 0 | 0.130721 | 0 | 0 | 0 | 0 | 0 | 0.39726 | 1 | 0.09589 | false | 0 | 0.054795 | 0 | 0.164384 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87543eab9c74a08254348553c8eea30b66f76a1f | 3,601 | py | Python | data_generator/config.py | lshupingxl/crnn.pytorch | 62a18446b701c81cea9b1a42c1d278c3d5cd486d | [
"MIT"
] | 1 | 2018-11-14T09:19:10.000Z | 2018-11-14T09:19:10.000Z | data_generator/config.py | lshupingxl/crnn.pytorch | 62a18446b701c81cea9b1a42c1d278c3d5cd486d | [
"MIT"
] | null | null | null | data_generator/config.py | lshupingxl/crnn.pytorch | 62a18446b701c81cea9b1a42c1d278c3d5cd486d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
__author__ = 'solivr'
class CONST:
DIMENSION_REDUCTION_W_POOLING = 2 * 2 # 2x2 pooling in dimension W on layer 1 and 2
class Alphabet:
# 训练时的字母表应该包含空白字符,制作数据集时不应该包含空白字符
LettersLowercase = 'abcdefghijklmnopqrstuvwxyz' # 26
LettersCapitals = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' # 26
... | 124.172414 | 2,174 | 0.898917 | 137 | 3,601 | 23.291971 | 0.284672 | 0.048261 | 0.031965 | 0.030085 | 0.107803 | 0.038859 | 0.038859 | 0 | 0 | 0 | 0 | 0.007156 | 0.068592 | 3,601 | 29 | 2,175 | 124.172414 | 0.944246 | 0.058873 | 0 | 0 | 0 | 0 | 0.664991 | 0.659965 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.954545 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8766caf448baa76ec800a27ba5d830d8e2e6618a | 98,880 | py | Python | vmware_nsx/tests/unit/services/lbaas/test_nsxp_driver.py | salv-orlando/vmware-nsx | 6ad0d595aa8099004eb6dd5ff62c7a91b0e11dfd | [
"Apache-2.0"
] | null | null | null | vmware_nsx/tests/unit/services/lbaas/test_nsxp_driver.py | salv-orlando/vmware-nsx | 6ad0d595aa8099004eb6dd5ff62c7a91b0e11dfd | [
"Apache-2.0"
] | null | null | null | vmware_nsx/tests/unit/services/lbaas/test_nsxp_driver.py | salv-orlando/vmware-nsx | 6ad0d595aa8099004eb6dd5ff62c7a91b0e11dfd | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2019 VMware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 48.44684 | 79 | 0.574474 | 10,680 | 98,880 | 4.925749 | 0.041011 | 0.040204 | 0.067006 | 0.0679 | 0.85481 | 0.823484 | 0.800521 | 0.780581 | 0.754576 | 0.722546 | 0 | 0.004151 | 0.339775 | 98,880 | 2,040 | 80 | 48.470588 | 0.801679 | 0.014513 | 0 | 0.670354 | 0 | 0 | 0.079428 | 0.024159 | 0 | 0 | 0 | 0.00049 | 0.126659 | 1 | 0.059181 | false | 0 | 0.011615 | 0.004425 | 0.079646 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e7ec730a85c58e6f5ecba1531a79f5d2d5de1ba | 23,477 | py | Python | SCODE-G/text_to_code/error_analysis.py | rizwan09/REDCODER | e889b3d3f37573be8418c0ac536c2201e8f1be26 | [
"MIT"
] | 22 | 2021-11-15T06:00:13.000Z | 2022-03-25T14:33:15.000Z | SCODE-G/text_to_code/error_analysis.py | rizwan09/REDCODER | e889b3d3f37573be8418c0ac536c2201e8f1be26 | [
"MIT"
] | 2 | 2021-12-02T19:22:51.000Z | 2022-02-19T10:50:58.000Z | SCODE-G/text_to_code/error_analysis.py | rizwan09/REDCODER | e889b3d3f37573be8418c0ac536c2201e8f1be26 | [
"MIT"
] | 2 | 2021-10-07T15:27:25.000Z | 2021-12-08T07:12:13.000Z | import os, ipdb, csv
import json
import sys
import weighted_ngram_match
import syntax_match
import dataflow_match
import bleu_code
from bleu import _bleu
base_path='/home/rizwan/DPR_models/'
output_path=base_path+'prediction_ori_raw_top_1_bleu_70.30.txt'
output_path='/local/rizwan/workspace/projects/RaProLanG/plbart_o... | 40.477586 | 165 | 0.646846 | 3,194 | 23,477 | 4.502192 | 0.077019 | 0.027538 | 0.030598 | 0.042837 | 0.835396 | 0.819193 | 0.789708 | 0.770654 | 0.746036 | 0.728373 | 0 | 0.022431 | 0.213826 | 23,477 | 579 | 166 | 40.547496 | 0.756678 | 0.3388 | 0 | 0.546713 | 0 | 0.038062 | 0.153936 | 0.097384 | 0 | 0 | 0 | 0 | 0.010381 | 1 | 0.024221 | false | 0 | 0.031142 | 0.00692 | 0.065744 | 0.128028 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e8dba5dbde71a2b4075c47eac5c8c95997729cb | 119 | py | Python | Lib/test/libregrtest/__init__.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 52,316 | 2015-01-01T15:56:25.000Z | 2022-03-31T23:19:01.000Z | Lib/test/libregrtest/__init__.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 25,286 | 2015-03-03T23:18:02.000Z | 2022-03-31T23:17:27.000Z | Lib/test/libregrtest/__init__.py | shawwn/cpython | 0ff8a3b374286d2218fc18f47556a5ace202dad3 | [
"0BSD"
] | 31,623 | 2015-01-01T13:29:37.000Z | 2022-03-31T19:55:06.000Z | from test.libregrtest.cmdline import _parse_args, RESOURCE_NAMES, ALL_RESOURCES
from test.libregrtest.main import main
| 39.666667 | 79 | 0.865546 | 17 | 119 | 5.823529 | 0.705882 | 0.161616 | 0.383838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 119 | 2 | 80 | 59.5 | 0.908257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d841468ee48995a4f1b2c71ec7f69adcb37baae | 4,001 | py | Python | webdriver/tests/new_window/user_prompts.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | webdriver/tests/new_window/user_prompts.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 7,642 | 2018-05-28T09:38:03.000Z | 2022-03-31T20:55:48.000Z | webdriver/tests/new_window/user_prompts.py | ziransun/wpt | ab8f451eb39eb198584d547f5d965ef54df2a86a | [
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | # META: timeout=long
import pytest
from tests.support.asserts import assert_dialog_handled, assert_error, assert_success
def new_window(session, type_hint=None):
return session.transport.send(
"POST", "session/{session_id}/window/new".format(**vars(session)),
{"type": type_hint})
@pytest.fixtu... | 32.795082 | 90 | 0.751812 | 482 | 4,001 | 5.856846 | 0.139004 | 0.10627 | 0.111583 | 0.119022 | 0.841304 | 0.808006 | 0.794545 | 0.746015 | 0.724407 | 0.629826 | 0 | 0.000291 | 0.140215 | 4,001 | 121 | 91 | 33.066116 | 0.820349 | 0.004499 | 0 | 0.578313 | 0 | 0 | 0.119568 | 0.036674 | 0 | 0 | 0 | 0 | 0.144578 | 1 | 0.156627 | false | 0 | 0.024096 | 0.012048 | 0.228916 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0dae3df0ccfd9196a49a50c0614288aafbccbc6d | 29 | py | Python | app/core/models/__init__.py | rdurica/example | 733420f955b679d34adfb6bffa35b17177e086f6 | [
"MIT"
] | null | null | null | app/core/models/__init__.py | rdurica/example | 733420f955b679d34adfb6bffa35b17177e086f6 | [
"MIT"
] | 1 | 2022-03-15T22:42:58.000Z | 2022-03-15T23:05:30.000Z | app/core/models/__init__.py | rdurica/example | 733420f955b679d34adfb6bffa35b17177e086f6 | [
"MIT"
] | null | null | null | from .profile import Profile
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0db784e9ebd325d6eef15a4cd1b74fba12b1b17f | 20,862 | py | Python | tests/unit/test_expander.py | cicorias/putput | 96bde3c2219070bfed1ca76d47a4fe7cd0bc4b44 | [
"MIT"
] | 1 | 2019-01-17T07:45:43.000Z | 2019-01-17T07:45:43.000Z | tests/unit/test_expander.py | cicorias/putput | 96bde3c2219070bfed1ca76d47a4fe7cd0bc4b44 | [
"MIT"
] | 1 | 2019-01-17T07:47:04.000Z | 2019-01-17T07:47:04.000Z | tests/unit/test_expander.py | cicorias/putput | 96bde3c2219070bfed1ca76d47a4fe7cd0bc4b44 | [
"MIT"
] | null | null | null | import unittest
from pathlib import Path
from putput.expander import expand
from putput.pipeline import _load_pattern_def
from tests.unit.helper_functions import compare_all_pairs
class TestExpander(unittest.TestCase):
# pylint: disable=too-many-public-methods
def setUp(self) -> None:
self.maxDiff = ... | 62.648649 | 118 | 0.56984 | 2,177 | 20,862 | 5.081764 | 0.048691 | 0.101238 | 0.079544 | 0.094007 | 0.948929 | 0.936093 | 0.930127 | 0.920184 | 0.904547 | 0.902016 | 0 | 0.006736 | 0.274135 | 20,862 | 332 | 119 | 62.837349 | 0.723833 | 0.001869 | 0 | 0.648208 | 0 | 0 | 0.17223 | 0.032851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068404 | false | 0 | 0.016287 | 0 | 0.087948 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0dca432b061214b9b5c03fb5472f45901775fe4e | 2,263 | py | Python | dimensigon/web/api_1_0/resources/step_children.py | dimensigon/dimensigon | 079d7c91a66e10f13510d89844fbadb27e005b40 | [
"Apache-2.0"
] | 2 | 2020-11-20T10:27:14.000Z | 2021-02-21T13:57:56.000Z | dimensigon/web/api_1_0/resources/step_children.py | dimensigon/dimensigon | 079d7c91a66e10f13510d89844fbadb27e005b40 | [
"Apache-2.0"
] | null | null | null | dimensigon/web/api_1_0/resources/step_children.py | dimensigon/dimensigon | 079d7c91a66e10f13510d89844fbadb27e005b40 | [
"Apache-2.0"
] | null | null | null | from flask import request
from flask_jwt_extended import jwt_required
from flask_restful import Resource
from dimensigon.domain.entities import Step
from dimensigon.web import db
from dimensigon.web.decorators import forward_or_dispatch, securizer, validate_schema, lock_catalog
from dimensigon.web.json_schemas import ... | 32.328571 | 99 | 0.698188 | 323 | 2,263 | 4.563467 | 0.170279 | 0.116011 | 0.105834 | 0.066486 | 0.761194 | 0.761194 | 0.736092 | 0.736092 | 0.736092 | 0.736092 | 0 | 0.006685 | 0.206805 | 2,263 | 69 | 100 | 32.797101 | 0.814485 | 0 | 0 | 0.732143 | 0 | 0 | 0.018559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.125 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
218708d496c65bc5bd87e288cd4cc2517787f821 | 5,871 | py | Python | mercurial_reviewboard/tests/test_ui.py | cicd-team/mercurial-reviewboard | 1bb2a3c2009a7340a244d8426ef4c78be9806a67 | [
"MIT"
] | 1 | 2020-07-29T03:21:30.000Z | 2020-07-29T03:21:30.000Z | mercurial_reviewboard/tests/test_ui.py | cicd-team/mercurial-reviewboard | 1bb2a3c2009a7340a244d8426ef4c78be9806a67 | [
"MIT"
] | 1 | 2020-10-06T11:01:01.000Z | 2021-01-27T10:21:23.000Z | mercurial_reviewboard/tests/test_ui.py | cicd-team/mercurial-reviewboard | 1bb2a3c2009a7340a244d8426ef4c78be9806a67 | [
"MIT"
] | null | null | null | from mock import Mock, patch_object
from nose.tools import eq_, raises
import mercurial_reviewboard
from mercurial_reviewboard import postreview, util
from mercurial_reviewboard.tests import get_initial_opts, get_repo, mock_ui
class TestChangesetsOutput:
expected_status = \
'changesets:\n\t1:669e757d... | 34.946429 | 78 | 0.625447 | 684 | 5,871 | 5.090643 | 0.152047 | 0.097645 | 0.080414 | 0.124641 | 0.797243 | 0.789489 | 0.774268 | 0.774268 | 0.723722 | 0.701608 | 0 | 0.036145 | 0.250724 | 5,871 | 167 | 79 | 35.155689 | 0.755399 | 0.017374 | 0 | 0.757813 | 0 | 0.007813 | 0.184092 | 0.029698 | 0 | 0 | 0 | 0 | 0.023438 | 1 | 0.078125 | false | 0 | 0.039063 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21a5eb586756990988ab5ac74d60bb77ed0982e6 | 9,738 | py | Python | tests/services/test_sample_endpoints.py | sartography/uva-covid19-testing-communicator | 39bd041463349d5bada0a3196b4b031f7e3bc3e6 | [
"MIT"
] | 1 | 2020-12-07T21:47:02.000Z | 2020-12-07T21:47:02.000Z | tests/services/test_sample_endpoints.py | sartography/uva-covid19-testing-communicator | 39bd041463349d5bada0a3196b4b031f7e3bc3e6 | [
"MIT"
] | 14 | 2020-09-24T15:38:27.000Z | 2021-03-29T19:23:46.000Z | tests/services/test_sample_endpoints.py | sartography/uva-covid19-testing-communicator | 39bd041463349d5bada0a3196b4b031f7e3bc3e6 | [
"MIT"
] | 1 | 2020-09-22T18:01:29.000Z | 2020-09-22T18:01:29.000Z | from datetime import datetime
from time import sleep
from tests.base_test import BaseTest
import json
from communicator.models import Sample
from communicator import db, app
from communicator.api import admin
from communicator.models.notification import Notification
class TestSampleEndpoint(BaseTest):
sample_js... | 43.28 | 111 | 0.553091 | 1,131 | 9,738 | 4.60389 | 0.129973 | 0.072018 | 0.020741 | 0.059919 | 0.803726 | 0.763395 | 0.763395 | 0.738045 | 0.716151 | 0.693874 | 0 | 0.097191 | 0.316389 | 9,738 | 224 | 112 | 43.473214 | 0.684993 | 0.022695 | 0 | 0.693122 | 0 | 0 | 0.154744 | 0.05323 | 0 | 0 | 0 | 0 | 0.137566 | 1 | 0.042328 | false | 0 | 0.042328 | 0 | 0.095238 | 0.005291 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21f07bf6dd46ddb4fa2e72657a164839277dd295 | 1,426 | py | Python | downtime/main/models.py | GSCrawley/downtime | 57a1c8e00424c1948e1650cd980d541174febbd8 | [
"MIT"
] | 1 | 2020-05-03T03:57:26.000Z | 2020-05-03T03:57:26.000Z | downtime/main/models.py | GSCrawley/downtime | 57a1c8e00424c1948e1650cd980d541174febbd8 | [
"MIT"
] | null | null | null | downtime/main/models.py | GSCrawley/downtime | 57a1c8e00424c1948e1650cd980d541174febbd8 | [
"MIT"
] | null | null | null | from django.db import models
from django.urls import reverse
from django.utils.text import slugify
class Movie(models.Model):
title = models.CharField(max_length=200)
slug = models.SlugField(editable=False, max_length=200)
def get_absolute_url(self):
kwargs = {
"slug": self.slug
... | 27.423077 | 59 | 0.626928 | 175 | 1,426 | 5.022857 | 0.228571 | 0.061433 | 0.081911 | 0.075085 | 0.868032 | 0.868032 | 0.868032 | 0.868032 | 0.868032 | 0.868032 | 0 | 0.016744 | 0.246143 | 1,426 | 51 | 60 | 27.960784 | 0.80093 | 0 | 0 | 0.692308 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21fe55970f8a96cb46581c12344ef3a2fe90cee2 | 36 | py | Python | examples/math.log/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.log/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.log/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | import math
print(math.log(10, 10))
| 12 | 23 | 0.722222 | 7 | 36 | 3.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.111111 | 36 | 2 | 24 | 18 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
df0275c11536808e485c7226ba650de76d6af317 | 51 | py | Python | backend/shopping-cart-service/tests/utils/mock_shared.py | qingshui-hui/aws-serverless-shopping-cart | 3838c981b02726e1ff7b504f1aa0f99b1ddf9b5a | [
"MIT-0"
] | null | null | null | backend/shopping-cart-service/tests/utils/mock_shared.py | qingshui-hui/aws-serverless-shopping-cart | 3838c981b02726e1ff7b504f1aa0f99b1ddf9b5a | [
"MIT-0"
] | null | null | null | backend/shopping-cart-service/tests/utils/mock_shared.py | qingshui-hui/aws-serverless-shopping-cart | 3838c981b02726e1ff7b504f1aa0f99b1ddf9b5a | [
"MIT-0"
] | null | null | null |
def get_user_sub(jwt_token):
return jwt_token
| 12.75 | 28 | 0.764706 | 9 | 51 | 3.888889 | 0.777778 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 51 | 3 | 29 | 17 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
df1232cc57cd4e7f243b95d0470fceb5adfeab65 | 46 | py | Python | paquete/main.py | MT2321/cid-ProjectZero | 65c2d1ed32557e6a1db6a3fcc3bc5a8707ba71fe | [
"MIT"
] | 1 | 2020-01-26T17:58:23.000Z | 2020-01-26T17:58:23.000Z | paquete/main.py | CID-ITBA/similarity-lab | cc1d30ef3a2659cdf22c20f91a299ca1e884457b | [
"MIT"
] | null | null | null | paquete/main.py | CID-ITBA/similarity-lab | cc1d30ef3a2659cdf22c20f91a299ca1e884457b | [
"MIT"
] | null | null | null | from classPackg import SimiLab
print("Hello") | 15.333333 | 30 | 0.804348 | 6 | 46 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 3 | 31 | 15.333333 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
df7643f5aff51199a41a7ee00171184eccd77666 | 32 | py | Python | app/__init__.py | DineshDevaraj/evalsr | 4155881441fcc3aad6dd0dd18da791506e435102 | [
"MIT"
] | null | null | null | app/__init__.py | DineshDevaraj/evalsr | 4155881441fcc3aad6dd0dd18da791506e435102 | [
"MIT"
] | null | null | null | app/__init__.py | DineshDevaraj/evalsr | 4155881441fcc3aad6dd0dd18da791506e435102 | [
"MIT"
] | 1 | 2022-02-18T00:41:29.000Z | 2022-02-18T00:41:29.000Z |
from app import routes_handler
| 10.666667 | 30 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 31 | 16 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10dedec216b0fc5598759113129f05a6347349ac | 92 | py | Python | Practice/Python/Math/Polar_Coordinates.py | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | 1 | 2021-11-17T02:47:11.000Z | 2021-11-17T02:47:11.000Z | Practice/Python/Math/Polar_Coordinates.py | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | null | null | null | Practice/Python/Math/Polar_Coordinates.py | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | null | null | null | import cmath
r = complex(input().strip())
print(cmath.polar(r)[0])
print(cmath.polar(r)[1])
| 18.4 | 28 | 0.684783 | 16 | 92 | 3.9375 | 0.625 | 0.31746 | 0.47619 | 0.507937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.076087 | 92 | 4 | 29 | 23 | 0.717647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
10ed72c404b901bb49cc03dbc6664335e9f0ce41 | 29 | py | Python | crfasrnn/__init__.py | prashantraina/PlaneNet | 51fa261f7e958191fce6077cf923539acadb707b | [
"MIT"
] | null | null | null | crfasrnn/__init__.py | prashantraina/PlaneNet | 51fa261f7e958191fce6077cf923539acadb707b | [
"MIT"
] | null | null | null | crfasrnn/__init__.py | prashantraina/PlaneNet | 51fa261f7e958191fce6077cf923539acadb707b | [
"MIT"
] | null | null | null | from . import crfasrnn_layer
| 14.5 | 28 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10eedde2a016e974a9df496050e6b00b34bd879b | 2,661 | py | Python | tests/test_batch.py | umd-lib/aws-archiver | 9de3bb8a48c2e18960cd70c7fb892093c48174d6 | [
"MIT"
] | null | null | null | tests/test_batch.py | umd-lib/aws-archiver | 9de3bb8a48c2e18960cd70c7fb892093c48174d6 | [
"MIT"
] | 5 | 2020-02-26T22:15:09.000Z | 2021-07-10T14:35:35.000Z | tests/test_batch.py | umd-lib/aws-archiver | 9de3bb8a48c2e18960cd70c7fb892093c48174d6 | [
"MIT"
] | 1 | 2020-02-25T16:10:41.000Z | 2020-02-25T16:10:41.000Z | import os
import unittest
from archiver.batch import Batch
from archiver.manifests.manifest_factory import ManifestFactory
class TestBatch(unittest.TestCase):
def setUp(self):
pass
def test_load_inventory_manifest(self):
manifest = ManifestFactory.create('tests/data/manifests/sample_inventory... | 46.684211 | 95 | 0.712514 | 339 | 2,661 | 5.333333 | 0.165192 | 0.099558 | 0.054757 | 0.066372 | 0.875553 | 0.815819 | 0.785398 | 0.727876 | 0.709624 | 0.60177 | 0 | 0.011654 | 0.161593 | 2,661 | 56 | 96 | 47.517857 | 0.798745 | 0 | 0 | 0.466667 | 0 | 0 | 0.228861 | 0.151447 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.133333 | false | 0.022222 | 0.088889 | 0 | 0.244444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10f382ad6b39b23fcdf1affd0e41f9a7c5cc4a37 | 93 | py | Python | aerosandbox/aerodynamics/aero_2D/singularities/__init__.py | scivm/AeroSandbox | 616c579e49bc13c3023364773705eaac7df10da7 | [
"MIT"
] | 1 | 2021-04-07T08:59:31.000Z | 2021-04-07T08:59:31.000Z | aerosandbox/aerodynamics/aero_2D/singularities/__init__.py | scivm/AeroSandbox | 616c579e49bc13c3023364773705eaac7df10da7 | [
"MIT"
] | null | null | null | aerosandbox/aerodynamics/aero_2D/singularities/__init__.py | scivm/AeroSandbox | 616c579e49bc13c3023364773705eaac7df10da7 | [
"MIT"
] | 1 | 2021-09-11T03:28:45.000Z | 2021-09-11T03:28:45.000Z | from .linear_strength_line_singularities import calculate_induced_velocity_line_singularities | 93 | 93 | 0.956989 | 11 | 93 | 7.454545 | 0.818182 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 93 | 1 | 93 | 93 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10f5bd20deb0f1e493b5a3cbeb77201f20bb2955 | 3,705 | py | Python | tests/upbit_ws_test.py | gyunt/aio-upbit | 16f06d88622aee00c2f8edccb41b982e9bcbb6d0 | [
"MIT"
] | 4 | 2018-05-26T12:12:48.000Z | 2020-02-13T16:12:43.000Z | tests/upbit_ws_test.py | gyunt/aio-upbit | 16f06d88622aee00c2f8edccb41b982e9bcbb6d0 | [
"MIT"
] | null | null | null | tests/upbit_ws_test.py | gyunt/aio-upbit | 16f06d88622aee00c2f8edccb41b982e9bcbb6d0 | [
"MIT"
] | 1 | 2019-06-07T19:24:53.000Z | 2019-06-07T19:24:53.000Z | import unittest
import asyncio
from aioupbit import UpbitWs
MARKET = 'KRW-BTC'
MARKETS = [MARKET]
def async_loop(*tasks):
loop = asyncio.get_event_loop()
loop.run_until_complete(asyncio.gather(*tasks))
class TestUpbitWsClient(unittest.TestCase):
"""
Integration tests for the Upbit WebSocket
"""... | 34.95283 | 105 | 0.575169 | 429 | 3,705 | 4.79021 | 0.153846 | 0.030657 | 0.06618 | 0.075912 | 0.871046 | 0.843796 | 0.843796 | 0.789781 | 0.761557 | 0.710462 | 0 | 0.01199 | 0.324696 | 3,705 | 105 | 106 | 35.285714 | 0.809353 | 0.011066 | 0 | 0.58427 | 0 | 0 | 0.118728 | 0.028517 | 0 | 0 | 0 | 0 | 0.134831 | 1 | 0.089888 | false | 0.011236 | 0.033708 | 0 | 0.134831 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8020eea83d6ef91ec5ade027ae2b4e1e3f4123e9 | 65 | py | Python | tests/functions/ignores/main.py | timmartin-airsupply/lambda-tools | 2c0b52ce889631c63c6dc343439fd5be822eefec | [
"MIT"
] | 3 | 2017-12-08T12:37:46.000Z | 2018-04-13T01:08:35.000Z | tests/functions/ignores/main.py | timmartin-airsupply/lambda-tools | 2c0b52ce889631c63c6dc343439fd5be822eefec | [
"MIT"
] | 29 | 2017-10-11T06:15:07.000Z | 2018-02-19T23:04:51.000Z | tests/functions/ignores/main.py | timmartin-airsupply/lambda-tools | 2c0b52ce889631c63c6dc343439fd5be822eefec | [
"MIT"
] | 3 | 2017-10-10T12:40:41.000Z | 2021-11-24T10:24:46.000Z | import another
def run(event, context):
return 'Hello world' | 16.25 | 24 | 0.723077 | 9 | 65 | 5.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 4 | 25 | 16.25 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
803cc3a1402383b4fa7c166f448962f547eeaa71 | 38 | py | Python | force_feeder/__init__.py | willdickson/force_feeder | cb90fbdef69244c720823e11a9880dddbaf5e7af | [
"MIT"
] | null | null | null | force_feeder/__init__.py | willdickson/force_feeder | cb90fbdef69244c720823e11a9880dddbaf5e7af | [
"MIT"
] | null | null | null | force_feeder/__init__.py | willdickson/force_feeder | cb90fbdef69244c720823e11a9880dddbaf5e7af | [
"MIT"
] | null | null | null | from .force_feeder import ForceFeeder
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
804e66ea740e677674d063f9d162a6aa6accd649 | 211 | py | Python | translator/ast/token.py | akvarats/habr_antlr4_internal | 0146af29b277c772fd342f905fe356a2cc789824 | [
"Apache-2.0"
] | null | null | null | translator/ast/token.py | akvarats/habr_antlr4_internal | 0146af29b277c772fd342f905fe356a2cc789824 | [
"Apache-2.0"
] | null | null | null | translator/ast/token.py | akvarats/habr_antlr4_internal | 0146af29b277c772fd342f905fe356a2cc789824 | [
"Apache-2.0"
] | null | null | null | from .base import BaseNode
class TokenNode(BaseNode):
""" """
def __init__(self, text: str):
super().__init__()
self.text = text
def get_text(self):
return self.text or ""
| 17.583333 | 34 | 0.578199 | 25 | 211 | 4.52 | 0.6 | 0.212389 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2891 | 211 | 11 | 35 | 19.181818 | 0.753333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
337fbc1ea75ddc9feb9b0a08929124f4626b090b | 30 | py | Python | tests/test_sinkhorn.py | nbgl/pytorch-ot | cd416befd3fa89bc3e4a858e0b6f8d28dfa9f18b | [
"MIT"
] | 2 | 2020-11-17T15:29:14.000Z | 2021-04-24T15:12:35.000Z | tests/test_sinkhorn.py | nbgl/torch-wasserstein | cd416befd3fa89bc3e4a858e0b6f8d28dfa9f18b | [
"MIT"
] | null | null | null | tests/test_sinkhorn.py | nbgl/torch-wasserstein | cd416befd3fa89bc3e4a858e0b6f8d28dfa9f18b | [
"MIT"
] | 2 | 2020-10-09T02:43:01.000Z | 2021-06-03T11:48:47.000Z | def test_sinkhorn():
pass
| 10 | 20 | 0.666667 | 4 | 30 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 21 | 15 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
33aad0d6a88a43d2cd62be2e70b8dee313eb8201 | 42 | py | Python | builder/bot/tasks/__init__.py | Krossom/Loki | 5d821fa8901340d51579bb260ef7efd4da6afc24 | [
"MIT"
] | 3 | 2019-11-24T05:35:54.000Z | 2021-12-25T11:48:16.000Z | builder/bot/tasks/__init__.py | juan157/Loki | 28fbcebfe25631c539f656e98efe789d526432e2 | [
"MIT"
] | null | null | null | builder/bot/tasks/__init__.py | juan157/Loki | 28fbcebfe25631c539f656e98efe789d526432e2 | [
"MIT"
] | 4 | 2019-06-18T21:56:29.000Z | 2020-04-29T16:03:14.000Z | # Date: 09/27/2018
# Author: Pure-L0G1C
| 14 | 21 | 0.642857 | 7 | 42 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.190476 | 42 | 2 | 22 | 21 | 0.5 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d1567a38243ae196a5936dace44084b58b189f4 | 302 | py | Python | bot/Utils/systemUtils.py | LukasForst/toggl-wire-bot | 1a242ef281b3cb501f30a1acee9cda7fd2cb2a84 | [
"MIT"
] | null | null | null | bot/Utils/systemUtils.py | LukasForst/toggl-wire-bot | 1a242ef281b3cb501f30a1acee9cda7fd2cb2a84 | [
"MIT"
] | null | null | null | bot/Utils/systemUtils.py | LukasForst/toggl-wire-bot | 1a242ef281b3cb501f30a1acee9cda7fd2cb2a84 | [
"MIT"
] | null | null | null | import os
def getTogglToken() -> str:
return os.getenv("TOGGL_TOKEN")
def getRomanToken() -> str:
return os.getenv("ROMAN_TOKEN")
def getRomanURL() -> str:
# TODO
return "http://proxy.services.zinfra.io"
def getWorkspaceId() -> int:
# TODO fetch from env
return 4039412
| 15.1 | 44 | 0.652318 | 37 | 302 | 5.27027 | 0.648649 | 0.092308 | 0.112821 | 0.174359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029536 | 0.215232 | 302 | 19 | 45 | 15.894737 | 0.793249 | 0.07947 | 0 | 0 | 0 | 0 | 0.192727 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 1 | 0.444444 | true | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1d2f047a8bacd45cb093c13b939cafc7ac729fed | 148 | py | Python | Language/Parsing/alphabet_symbol.py | anoppa/Proyecto-IA-Sim-Comp | 71132bd0c6cb5aeff812fd96e0017be71178a5f3 | [
"MIT"
] | 1 | 2022-03-11T14:24:10.000Z | 2022-03-11T14:24:10.000Z | Language/Parsing/alphabet_symbol.py | anoppa/Proyecto-IA-Sim-Comp | 71132bd0c6cb5aeff812fd96e0017be71178a5f3 | [
"MIT"
] | null | null | null | Language/Parsing/alphabet_symbol.py | anoppa/Proyecto-IA-Sim-Comp | 71132bd0c6cb5aeff812fd96e0017be71178a5f3 | [
"MIT"
] | 1 | 2022-01-19T04:29:19.000Z | 2022-01-19T04:29:19.000Z | class AlphabetSymbol:
def __init__(self, symbol) -> None:
self.symbol = symbol
def __str__(self) -> str:
return self.symbol | 24.666667 | 39 | 0.628378 | 17 | 148 | 5 | 0.529412 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 148 | 6 | 40 | 24.666667 | 0.787037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1d4c158fa161b7a8f9ba8869ece2175233ec5956 | 151 | py | Python | pysindy/differentiation/__init__.py | billtubbs/pysindy | f9ac15b5d073c71bb210b77ff6a5579beb8ed94b | [
"MIT"
] | 7 | 2020-04-02T00:19:29.000Z | 2021-11-02T07:22:28.000Z | pysindy/differentiation/__init__.py | billtubbs/pysindy | f9ac15b5d073c71bb210b77ff6a5579beb8ed94b | [
"MIT"
] | null | null | null | pysindy/differentiation/__init__.py | billtubbs/pysindy | f9ac15b5d073c71bb210b77ff6a5579beb8ed94b | [
"MIT"
] | null | null | null | from .base import BaseDifferentiation
from .finite_difference import FiniteDifference
from .smoothed_finite_difference import SmoothedFiniteDifference
| 37.75 | 64 | 0.900662 | 15 | 151 | 8.866667 | 0.6 | 0.240602 | 0.330827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07947 | 151 | 3 | 65 | 50.333333 | 0.956835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d517ed88248c7c2d6eead0e498ccb5c9a3d20ffc | 40 | py | Python | featuretools/core/api.py | zhxt95/featuretools | 4fd90031e2b525ddaacddf46ff06a58103dbca35 | [
"BSD-3-Clause"
] | null | null | null | featuretools/core/api.py | zhxt95/featuretools | 4fd90031e2b525ddaacddf46ff06a58103dbca35 | [
"BSD-3-Clause"
] | null | null | null | featuretools/core/api.py | zhxt95/featuretools | 4fd90031e2b525ddaacddf46ff06a58103dbca35 | [
"BSD-3-Clause"
] | null | null | null | # flake8: noqa
from .base import FTBase
| 13.333333 | 24 | 0.75 | 6 | 40 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.175 | 40 | 2 | 25 | 20 | 0.878788 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d51d7e95d96506f7328ab467907216ad99442dbb | 215 | py | Python | Python practice/Mit opencourceware(2.7)/tuple.py | chiranjeevbitp/Python27new | d366efee57857402bae16cabf1df94c657490750 | [
"bzip2-1.0.6"
] | null | null | null | Python practice/Mit opencourceware(2.7)/tuple.py | chiranjeevbitp/Python27new | d366efee57857402bae16cabf1df94c657490750 | [
"bzip2-1.0.6"
] | null | null | null | Python practice/Mit opencourceware(2.7)/tuple.py | chiranjeevbitp/Python27new | d366efee57857402bae16cabf1df94c657490750 | [
"bzip2-1.0.6"
] | null | null | null | ##tuples and hashing ....
if __name__ == '__main__':
n = int(raw_input())
integer_list = map(int, raw_input().split())
t=tuple(integer_list)
print integer_list
print t
print hash(t)
| 23.888889 | 49 | 0.604651 | 29 | 215 | 4.034483 | 0.62069 | 0.282051 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 215 | 8 | 50 | 26.875 | 0.73125 | 0.106977 | 0 | 0 | 0 | 0 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.428571 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d5314bb76821aec2ec61c7c2ecff4b4244d48ddb | 13,694 | py | Python | tests/test_kmeans.py | rlespinet/pomegranate | 98c87d0ac6dc8494b8b0110d4913ece652aaa1f6 | [
"MIT"
] | null | null | null | tests/test_kmeans.py | rlespinet/pomegranate | 98c87d0ac6dc8494b8b0110d4913ece652aaa1f6 | [
"MIT"
] | null | null | null | tests/test_kmeans.py | rlespinet/pomegranate | 98c87d0ac6dc8494b8b0110d4913ece652aaa1f6 | [
"MIT"
] | null | null | null | from pomegranate import *
from nose.tools import with_setup
from nose.tools import assert_true
from nose.tools import assert_equal
from nose.tools import assert_greater_equal
from nose.tools import assert_greater
from nose.tools import assert_raises
from nose.tools import assert_not_equal
from numpy.testing import asse... | 32.450237 | 91 | 0.704031 | 2,168 | 13,694 | 4.223247 | 0.127306 | 0.048056 | 0.041175 | 0.070336 | 0.812473 | 0.791721 | 0.785496 | 0.762232 | 0.719965 | 0.701289 | 0 | 0.197383 | 0.151672 | 13,694 | 421 | 92 | 32.527316 | 0.590772 | 0 | 0 | 0.538721 | 0 | 0 | 0.012049 | 0 | 0 | 0 | 0 | 0 | 0.178451 | 1 | 0.104377 | false | 0 | 0.047138 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d5334183de525fc0c4048854ebcc19aab774df8e | 54 | py | Python | pandaslookup/__init__.py | StefRe/pandas-lookup | 14bc77be01c0749e257e20550871ec13db847a43 | [
"MIT"
] | 1 | 2021-02-22T12:40:00.000Z | 2021-02-22T12:40:00.000Z | pandaslookup/__init__.py | StefRe/pandas-lookup | 14bc77be01c0749e257e20550871ec13db847a43 | [
"MIT"
] | null | null | null | pandaslookup/__init__.py | StefRe/pandas-lookup | 14bc77be01c0749e257e20550871ec13db847a43 | [
"MIT"
] | 1 | 2019-11-01T08:37:42.000Z | 2019-11-01T08:37:42.000Z | from .lookup import lookup, from_lookup # noqa: F401
| 27 | 53 | 0.759259 | 8 | 54 | 5 | 0.625 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.166667 | 54 | 1 | 54 | 54 | 0.822222 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d54468d960cf5a9e171bd011f543b441120b47e2 | 2,245 | py | Python | week3/MedianString.py | hot9cups/uhh-stuff | 2c77b6ba8632f79d821cd37513e22c0f464ffdca | [
"MIT"
] | null | null | null | week3/MedianString.py | hot9cups/uhh-stuff | 2c77b6ba8632f79d821cd37513e22c0f464ffdca | [
"MIT"
] | null | null | null | week3/MedianString.py | hot9cups/uhh-stuff | 2c77b6ba8632f79d821cd37513e22c0f464ffdca | [
"MIT"
] | null | null | null | """import sys
import os
from itertools import product
sys.path.append(os.path.abspath('../week2'))
# from GetNeighbors import get_neighbors
from HammingDist import hamming_distance
from time import time
def median_string(dna, k):
neighbors = set()
# get_neighbors("A"*k, 0, k, neighbors)
best_score = k * le... | 27.716049 | 64 | 0.562584 | 299 | 2,245 | 4.0301 | 0.204013 | 0.059751 | 0.049793 | 0.053112 | 0.912863 | 0.912863 | 0.912863 | 0.912863 | 0.912863 | 0.912863 | 0 | 0.013089 | 0.319376 | 2,245 | 81 | 65 | 27.716049 | 0.775524 | 0.518486 | 0 | 0 | 0 | 0 | 0.031628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.147059 | 0 | 0.205882 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63363ffe4ea3026b62579b0d00fcfa0f26add645 | 31 | py | Python | core_admin/skybot/models/__init__.py | linea-it/tno | f973381280504ceb1b606b5b3ccc79b6b8c2aa4f | [
"MIT"
] | null | null | null | core_admin/skybot/models/__init__.py | linea-it/tno | f973381280504ceb1b606b5b3ccc79b6b8c2aa4f | [
"MIT"
] | 112 | 2018-04-24T19:10:55.000Z | 2022-02-26T16:55:02.000Z | core_admin/skybot/models/__init__.py | linea-it/tno | f973381280504ceb1b606b5b3ccc79b6b8c2aa4f | [
"MIT"
] | null | null | null |
from .position import Position | 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 2 | 30 | 15.5 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
633f9586a061833a89f573dcedef58d0c9951188 | 11 | py | Python | tests/src/trivia/assignRightShift.py | lindlind/python-interpreter | ffcb38627dc128dddb04e769d0bff6466365271a | [
"MIT"
] | null | null | null | tests/src/trivia/assignRightShift.py | lindlind/python-interpreter | ffcb38627dc128dddb04e769d0bff6466365271a | [
"MIT"
] | null | null | null | tests/src/trivia/assignRightShift.py | lindlind/python-interpreter | ffcb38627dc128dddb04e769d0bff6466365271a | [
"MIT"
] | null | null | null | a = 14 >>2
| 5.5 | 10 | 0.363636 | 3 | 11 | 1.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 0.363636 | 11 | 1 | 11 | 11 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
636ba7a5c4decebe5d8df4e70ed2d5c4739b4ed1 | 2,907 | py | Python | tests/test_examples.py | cyrilbois/PFNET.py | 81d2fd911c6e6aae4c5de0d1739c6f5361799ce2 | [
"BSD-2-Clause"
] | 3 | 2018-03-21T11:54:38.000Z | 2020-12-29T16:46:14.000Z | tests/test_examples.py | cyrilbois/PFNET.py | 81d2fd911c6e6aae4c5de0d1739c6f5361799ce2 | [
"BSD-2-Clause"
] | 23 | 2018-03-29T00:42:06.000Z | 2021-01-05T19:15:05.000Z | tests/test_examples.py | cyrilbois/PFNET.py | 81d2fd911c6e6aae4c5de0d1739c6f5361799ce2 | [
"BSD-2-Clause"
] | 5 | 2018-10-01T19:05:11.000Z | 2020-05-27T06:19:11.000Z | import os
import unittest
from subprocess import call, STDOUT
class TestExamples(unittest.TestCase):
def test_constraints(self):
FNULL = open(os.devnull, 'w')
retcode = call(["python", "./examples/constraints.py", "./data/ieee14.m"],
stdout=FNULL,
... | 30.28125 | 84 | 0.488476 | 275 | 2,907 | 5.12 | 0.141818 | 0.049716 | 0.09233 | 0.106534 | 0.804688 | 0.804688 | 0.804688 | 0.804688 | 0.804688 | 0.804688 | 0 | 0.016529 | 0.375645 | 2,907 | 95 | 85 | 30.6 | 0.759229 | 0 | 0 | 0.625 | 0 | 0 | 0.155831 | 0.073615 | 0 | 0 | 0 | 0 | 0.15625 | 1 | 0.15625 | false | 0 | 0.046875 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8955030e6c2c624ff8c140bbb397dbbd0d330bea | 177 | py | Python | Python2/Day00-PrintHelloWorld.py | MatthewMerrill/HackerRank-30-Days-of-Code | 65595c56fa4c8497a07b2386f1034eb0820e004e | [
"Unlicense"
] | null | null | null | Python2/Day00-PrintHelloWorld.py | MatthewMerrill/HackerRank-30-Days-of-Code | 65595c56fa4c8497a07b2386f1034eb0820e004e | [
"Unlicense"
] | null | null | null | Python2/Day00-PrintHelloWorld.py | MatthewMerrill/HackerRank-30-Days-of-Code | 65595c56fa4c8497a07b2386f1034eb0820e004e | [
"Unlicense"
] | null | null | null |
# https://www.hackerrank.com/contests/30-days-of-code/challenges/day-0-print-hello-world/submissions/code/4682129
print("Hello World.");
print("Welcome to 30 Days of Code.");
| 29.5 | 113 | 0.751412 | 28 | 177 | 4.75 | 0.678571 | 0.090226 | 0.120301 | 0.180451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.067797 | 177 | 5 | 114 | 35.4 | 0.733333 | 0.627119 | 0 | 0 | 0 | 0 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
89a3bda8ed83b343fcce0856fa35de1af7e95ae5 | 90 | py | Python | example/data/__init__.py | lemoner20/tensorlayer | 69bd591f247b4a67f8968bd29c3660b22dbffae4 | [
"Apache-2.0"
] | 2 | 2019-03-27T02:24:50.000Z | 2021-08-29T23:35:55.000Z | example/data/__init__.py | lemoner20/tensorlayer | 69bd591f247b4a67f8968bd29c3660b22dbffae4 | [
"Apache-2.0"
] | null | null | null | example/data/__init__.py | lemoner20/tensorlayer | 69bd591f247b4a67f8968bd29c3660b22dbffae4 | [
"Apache-2.0"
] | null | null | null |
from __future__ import absolute_import
from . import imagenet_classes
# from . import
| 12.857143 | 38 | 0.788889 | 11 | 90 | 5.909091 | 0.545455 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 6 | 39 | 15 | 0.878378 | 0.144444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89a8c86859b59c8a61b971c72e6a5114e2d44a5e | 156 | py | Python | graphlayer/graphql/naming.py | mwilliamson/python-graphlayer | d71d99c314aca07816ce6a1a7329d0d7fecdfb2f | [
"BSD-2-Clause"
] | 25 | 2019-03-11T16:48:52.000Z | 2021-05-02T03:23:20.000Z | graphlayer/graphql/naming.py | mwilliamson/python-graphlayer | d71d99c314aca07816ce6a1a7329d0d7fecdfb2f | [
"BSD-2-Clause"
] | 9 | 2019-03-24T10:43:44.000Z | 2021-11-09T23:02:20.000Z | graphlayer/graphql/naming.py | mwilliamson/python-graphlayer | d71d99c314aca07816ce6a1a7329d0d7fecdfb2f | [
"BSD-2-Clause"
] | 7 | 2018-12-30T17:52:07.000Z | 2021-05-02T03:23:35.000Z | import re
def snake_case_to_camel_case(value):
return value[0].lower() + re.sub(r"_(.)", lambda match: match.group(1).upper(), value[1:]).rstrip("_")
| 26 | 106 | 0.666667 | 25 | 156 | 3.92 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.115385 | 156 | 5 | 107 | 31.2 | 0.688406 | 0 | 0 | 0 | 0 | 0 | 0.032051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
982db48df53e6527680b2a74b6d5db8ff8c4189d | 103 | py | Python | tests/test_active_learning_ts.py | bela127/active_learning_ts | b652995edfb14c37e486ddc8261d6093d6babdae | [
"MIT"
] | 1 | 2022-02-14T09:38:22.000Z | 2022-02-14T09:38:22.000Z | tests/test_active_learning_ts.py | bela127/active_learning_ts | b652995edfb14c37e486ddc8261d6093d6babdae | [
"MIT"
] | 1 | 2022-02-11T12:13:31.000Z | 2022-02-11T12:13:31.000Z | tests/test_active_learning_ts.py | bela127/active_learning_ts | b652995edfb14c37e486ddc8261d6093d6babdae | [
"MIT"
] | 2 | 2021-12-15T12:56:30.000Z | 2022-02-01T15:31:08.000Z | from active_learning_ts import __version__
def test_version():
assert __version__ == "0.2.3.0"
| 12.875 | 42 | 0.728155 | 15 | 103 | 4.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.174757 | 103 | 7 | 43 | 14.714286 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98893a4725b328c9c8e79dfd93002adc81eb05ef | 229 | py | Python | src/memegenerator.py | akliamrous/AkliBot | 424311d76ed9ae9f85cb4fee83cf04e7860d6574 | [
"MIT"
] | null | null | null | src/memegenerator.py | akliamrous/AkliBot | 424311d76ed9ae9f85cb4fee83cf04e7860d6574 | [
"MIT"
] | null | null | null | src/memegenerator.py | akliamrous/AkliBot | 424311d76ed9ae9f85cb4fee83cf04e7860d6574 | [
"MIT"
] | null | null | null | import random
import discord
from discord.ext import commands
class MemeGenerator(commands.Cog):
def __init__(self, client):
self.client = client
def generateMeme(self):
pass
| 15.266667 | 35 | 0.620087 | 24 | 229 | 5.75 | 0.625 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318777 | 229 | 14 | 36 | 16.357143 | 0.884615 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
98aac4857058379aa4e4c7d5429e30dcf794e73e | 32 | py | Python | app/routers/basic_router/__init__.py | mabittar/fast_api_starter | 37cb388b55253994199f4bb1b709c70e95eea1b9 | [
"MIT"
] | null | null | null | app/routers/basic_router/__init__.py | mabittar/fast_api_starter | 37cb388b55253994199f4bb1b709c70e95eea1b9 | [
"MIT"
] | null | null | null | app/routers/basic_router/__init__.py | mabittar/fast_api_starter | 37cb388b55253994199f4bb1b709c70e95eea1b9 | [
"MIT"
] | null | null | null | from .basic_router import router | 32 | 32 | 0.875 | 5 | 32 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f52529f02a52c6d367fd2ddeea837c0a85eba4e | 82 | py | Python | Python/libraries/recognizers-sequence/recognizers_sequence/resources/__init__.py | acblacktea/Recognizers-Text | 2170b8e35216f3fd56cce98fb33cde5339c9f088 | [
"MIT"
] | 1 | 2019-06-19T10:45:24.000Z | 2019-06-19T10:45:24.000Z | Python/libraries/recognizers-sequence/recognizers_sequence/resources/__init__.py | AzureMentor/Recognizers-Text | 4f18e1d03607cc96e87095d8bf68c481c1b0756f | [
"MIT"
] | null | null | null | Python/libraries/recognizers-sequence/recognizers_sequence/resources/__init__.py | AzureMentor/Recognizers-Text | 4f18e1d03607cc96e87095d8bf68c481c1b0756f | [
"MIT"
] | 1 | 2019-03-21T13:02:12.000Z | 2019-03-21T13:02:12.000Z | from .base_phone_numbers import BasePhoneNumbers
from .base_email import BaseEmail | 41 | 48 | 0.890244 | 11 | 82 | 6.363636 | 0.727273 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 82 | 2 | 49 | 41 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f7cc3f4864a7d653f7a1a38f0d447ab4e5199b4 | 8,894 | py | Python | BurstCube/NoahSim/burstutils.py | nkasmanoff/Simulation | 38d47db79cebe8504a03424c564f2207ae2275ac | [
"MIT"
] | null | null | null | BurstCube/NoahSim/burstutils.py | nkasmanoff/Simulation | 38d47db79cebe8504a03424c564f2207ae2275ac | [
"MIT"
] | null | null | null | BurstCube/NoahSim/burstutils.py | nkasmanoff/Simulation | 38d47db79cebe8504a03424c564f2207ae2275ac | [
"MIT"
] | null | null | null | import numpy as np
import math as mth
import random as rand
import healpy as hp
def length(v):
"""
Finds the length of a vector
Parameters
----------
v : array
numpy array representative of the vector you want to find the magnitude of.
Returns
-------
magv ... | 24.705556 | 180 | 0.555318 | 1,189 | 8,894 | 4.147183 | 0.171573 | 0.029203 | 0.03042 | 0.051714 | 0.731495 | 0.731495 | 0.731495 | 0.731495 | 0.712432 | 0.707767 | 0 | 0.028542 | 0.346076 | 8,894 | 359 | 181 | 24.774373 | 0.819292 | 0.416011 | 0 | 0.847328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053435 | false | 0 | 0.030534 | 0 | 0.137405 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6857747395115ddb83c6a519cd664579319ada4 | 203 | py | Python | setcount.py | billylo1/hit-counter | 7df9ea2898c05608149832a76c9b6c8400eb4de3 | [
"MIT"
] | null | null | null | setcount.py | billylo1/hit-counter | 7df9ea2898c05608149832a76c9b6c8400eb4de3 | [
"MIT"
] | null | null | null | setcount.py | billylo1/hit-counter | 7df9ea2898c05608149832a76c9b6c8400eb4de3 | [
"MIT"
] | null | null | null | import config
import db
import utils
db_connection = db.DbAccess(config.DATABASE_FILE_PATH)
connection = db_connection.get_connection()
db_connection.set_count(connection, 'pass.vaccine-ontario.ca', 21) | 29 | 66 | 0.832512 | 29 | 203 | 5.586207 | 0.586207 | 0.222222 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.073892 | 203 | 7 | 66 | 29 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.112745 | 0.112745 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
f6a217bcaa0c3d241a5352133e77c46fca3ef059 | 9,691 | py | Python | integration/dagster/tests/test_sensor_cursor.py | denimalpaca/OpenLineage | 0448d019b0559b22e96d52a8d5eecb16a9517767 | [
"Apache-2.0"
] | 1 | 2021-12-03T17:00:00.000Z | 2021-12-03T17:00:00.000Z | integration/dagster/tests/test_sensor_cursor.py | wjohnson/OpenLineage | 3d9a2cd24de82270301169179d4630686b0e6f5d | [
"Apache-2.0"
] | null | null | null | integration/dagster/tests/test_sensor_cursor.py | wjohnson/OpenLineage | 3d9a2cd24de82270301169179d4630686b0e6f5d | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | 39.555102 | 125 | 0.634919 | 1,067 | 9,691 | 5.372071 | 0.137769 | 0.044487 | 0.068039 | 0.043091 | 0.821179 | 0.807746 | 0.788381 | 0.788381 | 0.788381 | 0.773203 | 0 | 0.01209 | 0.291611 | 9,691 | 244 | 126 | 39.717213 | 0.82287 | 0.079662 | 0 | 0.64532 | 0 | 0 | 0.062219 | 0.04793 | 0 | 0 | 0 | 0 | 0.059113 | 1 | 0.024631 | false | 0 | 0.064039 | 0 | 0.08867 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6c2aba46843d1ca7ff65364fe22763fa2ce9646 | 100 | py | Python | lib/regex.py | itsmewulf/airdrop | b599e669a6777b78cbf68c6f808d1c3744352d73 | [
"MIT"
] | null | null | null | lib/regex.py | itsmewulf/airdrop | b599e669a6777b78cbf68c6f808d1c3744352d73 | [
"MIT"
] | null | null | null | lib/regex.py | itsmewulf/airdrop | b599e669a6777b78cbf68c6f808d1c3744352d73 | [
"MIT"
] | null | null | null | import re
ETH_ADDRESS_RE: re.Pattern = re.compile(r'^(?P<prefix>0x)?(?P<actual>[0-9a-fA-F]){40}$')
| 25 | 88 | 0.65 | 20 | 100 | 3.15 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053763 | 0.07 | 100 | 3 | 89 | 33.333333 | 0.623656 | 0 | 0 | 0 | 0 | 0.5 | 0.44 | 0.44 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
120121ba961095e2c1470ce96d8c2eec73c18619 | 365 | py | Python | chainer/optimizer_hooks/__init__.py | disktnk/chainer | 133798db470f6fd95973b882b9ccbd0c9726ac13 | [
"MIT"
] | 1 | 2021-05-31T08:59:28.000Z | 2021-05-31T08:59:28.000Z | chainer/optimizer_hooks/__init__.py | disktnk/chainer | 133798db470f6fd95973b882b9ccbd0c9726ac13 | [
"MIT"
] | null | null | null | chainer/optimizer_hooks/__init__.py | disktnk/chainer | 133798db470f6fd95973b882b9ccbd0c9726ac13 | [
"MIT"
] | null | null | null | from chainer.optimizer_hooks.gradient_clipping import GradientClipping # NOQA
from chainer.optimizer_hooks.gradient_hard_clipping import GradientHardClipping # NOQA
from chainer.optimizer_hooks.gradient_noise import GradientNoise # NOQA
from chainer.optimizer_hooks.lasso import Lasso # NOQA
from chainer.optimizer_h... | 60.833333 | 87 | 0.863014 | 45 | 365 | 6.777778 | 0.377778 | 0.180328 | 0.327869 | 0.409836 | 0.540984 | 0.242623 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 365 | 5 | 88 | 73 | 0.924242 | 0.065753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
120bd5ce0a8d9cc9197f6981ed7b561c28f07b80 | 45 | py | Python | python/nlutag/core/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/nlutag/core/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/nlutag/core/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | from .perform_deep_nlu import PerformDeepNLU
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1226a85961d0be3901bc304489aebaee65a7d8a1 | 47 | py | Python | aiger_coins/__init__.py | mvcisback/py-aiger-coins | 3e7f5a84e56debe7001d63f2f271e29163781e68 | [
"MIT"
] | null | null | null | aiger_coins/__init__.py | mvcisback/py-aiger-coins | 3e7f5a84e56debe7001d63f2f271e29163781e68 | [
"MIT"
] | 7 | 2019-04-01T17:19:13.000Z | 2019-11-01T17:33:15.000Z | aiger_coins/__init__.py | mvcisback/py-aiger-coins | 3e7f5a84e56debe7001d63f2f271e29163781e68 | [
"MIT"
] | 2 | 2019-03-28T03:05:53.000Z | 2021-01-05T23:03:53.000Z | # flake8: noqa
from aiger_coins.pcirc import *
| 15.666667 | 31 | 0.765957 | 7 | 47 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.148936 | 47 | 2 | 32 | 23.5 | 0.85 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12417191af2f14ad976def3007844a00c8d34dee | 257 | py | Python | ui/components/navigation/templatetags/breadcrumbs.py | adelsonllima/djangoplus | a4ce50bf8231a0d9a4a40751f0d076c2e9931f44 | [
"BSD-3-Clause"
] | 21 | 2017-10-08T23:19:47.000Z | 2020-01-16T20:02:08.000Z | ui/components/navigation/templatetags/breadcrumbs.py | adelsonllima/djangoplus | a4ce50bf8231a0d9a4a40751f0d076c2e9931f44 | [
"BSD-3-Clause"
] | 6 | 2020-06-03T05:30:52.000Z | 2022-01-13T00:44:26.000Z | ui/components/navigation/templatetags/breadcrumbs.py | adelsonllima/djangoplus | a4ce50bf8231a0d9a4a40751f0d076c2e9931f44 | [
"BSD-3-Clause"
] | 9 | 2017-10-09T22:58:31.000Z | 2021-11-20T15:20:18.000Z | # -*- coding: utf-8 -*-
from djangoplus.ui.components.navigation.breadcrumbs import Breadcrumbs
from django_jinja import library as register
@register.global_function
def breadcrumbs(request, view_title):
return str(Breadcrumbs(request, view_title))
| 25.7 | 71 | 0.793774 | 32 | 257 | 6.25 | 0.71875 | 0.18 | 0.22 | 0.27 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004386 | 0.11284 | 257 | 9 | 72 | 28.555556 | 0.872807 | 0.081712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
89d529f6eb8cd3e0fb070f23989235e1cc5aeb88 | 91 | py | Python | test.py | harizMunawar/kbbi-scraper | ece8daa7f3d53248ae9d6dd96ff724d092ee3283 | [
"MIT"
] | 1 | 2020-11-08T14:42:09.000Z | 2020-11-08T14:42:09.000Z | test.py | harizMunawar/kbbi-scraper | ece8daa7f3d53248ae9d6dd96ff724d092ee3283 | [
"MIT"
] | null | null | null | test.py | harizMunawar/kbbi-scraper | ece8daa7f3d53248ae9d6dd96ff724d092ee3283 | [
"MIT"
] | null | null | null | import kbbi_scraper as kbbi
from kbbi_scraper import utils
print(utils.definition('baju')) | 22.75 | 31 | 0.824176 | 14 | 91 | 5.214286 | 0.642857 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 91 | 4 | 31 | 22.75 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89ef494262ee647789a44a61ab9f4153639f1934 | 46 | py | Python | akData/parse/__init__.py | adamkerz/akData | 673884671da54b2b96480616a3f2633ba4b4710d | [
"BSD-3-Clause"
] | null | null | null | akData/parse/__init__.py | adamkerz/akData | 673884671da54b2b96480616a3f2633ba4b4710d | [
"BSD-3-Clause"
] | null | null | null | akData/parse/__init__.py | adamkerz/akData | 673884671da54b2b96480616a3f2633ba4b4710d | [
"BSD-3-Clause"
] | null | null | null | from . import phoneNumber
from . import abn
| 15.333333 | 26 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 2 | 27 | 23 | 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 | 0 | 0 | 0 | 6 |
c3ad7dfbbdcad727fa9a7a78d6719d6ce4a6a926 | 121 | py | Python | app/home/views.py | cyq7on/MicroFilm | d889d2ee035f69b699c57bd4a3353f89c11adb93 | [
"Apache-2.0"
] | 1 | 2019-07-06T00:46:47.000Z | 2019-07-06T00:46:47.000Z | app/home/views.py | cyq7on/MicroFilm | d889d2ee035f69b699c57bd4a3353f89c11adb93 | [
"Apache-2.0"
] | null | null | null | app/home/views.py | cyq7on/MicroFilm | d889d2ee035f69b699c57bd4a3353f89c11adb93 | [
"Apache-2.0"
] | null | null | null | # coding:utf8
from . import home
@home.route("/")
def index():
return "<h1 style='color:green'>this is home<h1/>"
| 13.444444 | 54 | 0.628099 | 18 | 121 | 4.222222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03 | 0.173554 | 121 | 8 | 55 | 15.125 | 0.73 | 0.090909 | 0 | 0 | 0 | 0 | 0.388889 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c3e21526c1c0fde2c6fe7ebf01c1bb4637d91ff4 | 85 | py | Python | tsa/src/main/python/thalesians/tsa/finance.py | mikimaus78/ml_monorepo | b2c2627ff0e86e27f6829170d0dac168d8e5783b | [
"BSD-3-Clause"
] | 117 | 2017-06-30T14:29:32.000Z | 2022-02-10T00:54:35.000Z | tsa/src/main/python/thalesians/tsa/finance.py | mikimaus78/ml_monorepo | b2c2627ff0e86e27f6829170d0dac168d8e5783b | [
"BSD-3-Clause"
] | 2 | 2019-02-23T18:54:22.000Z | 2019-11-09T01:30:32.000Z | tsa/src/main/python/thalesians/tsa/finance.py | mikimaus78/ml_monorepo | b2c2627ff0e86e27f6829170d0dac168d8e5783b | [
"BSD-3-Clause"
] | 37 | 2017-07-05T19:51:10.000Z | 2021-04-27T00:11:18.000Z | def usd_trade_size_scaling(x, power=.5, factor=.1):
return (x ** power) * factor
| 28.333333 | 51 | 0.670588 | 14 | 85 | 3.857143 | 0.785714 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.164706 | 85 | 2 | 52 | 42.5 | 0.732394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7f076af938ee4554e8ce7384ec09db857bafbb32 | 193 | py | Python | common/settings.py | timmartin19/pycon-ripozo-tutorial | d6f68d0b7c8c8aacb090014c5ff1f34b21ded017 | [
"MIT"
] | null | null | null | common/settings.py | timmartin19/pycon-ripozo-tutorial | d6f68d0b7c8c8aacb090014c5ff1f34b21ded017 | [
"MIT"
] | null | null | null | common/settings.py | timmartin19/pycon-ripozo-tutorial | d6f68d0b7c8c8aacb090014c5ff1f34b21ded017 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
SQLALCHEMY_URI = 'sqlite:///models.sqlite'
| 27.571429 | 42 | 0.854922 | 24 | 193 | 6.041667 | 0.541667 | 0.275862 | 0.441379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103627 | 193 | 6 | 43 | 32.166667 | 0.83815 | 0 | 0 | 0 | 0 | 0 | 0.119171 | 0.119171 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6154fce9b9d782a0b2321862925ac96b8e9fb22a | 12,574 | py | Python | test/flowchart/generate/Flowchart_Subchart.py | nanofrog/asyncflow | 0412ba0d16219994b2baade76fe4223e402285ec | [
"MIT"
] | 24 | 2021-06-29T05:41:46.000Z | 2021-07-22T02:03:27.000Z | test/flowchart/generate/Flowchart_Subchart.py | nanofrog/asyncflow | 0412ba0d16219994b2baade76fe4223e402285ec | [
"MIT"
] | 1 | 2021-07-29T12:32:03.000Z | 2021-07-29T12:32:03.000Z | test/flowchart/generate/Flowchart_Subchart.py | nanofrog/asyncflow | 0412ba0d16219994b2baade76fe4223e402285ec | [
"MIT"
] | 11 | 2021-06-29T02:39:39.000Z | 2021-07-05T09:37:32.000Z | import asyncflow
## Say("hello")
@asyncflow.func
def Subchart_SubchartTest_01_id_42a43a6e54514e45afcfd15f46cbbe03(self):
ret = self.Say("hello")
return True
## SubchartTest_01_sub()
@asyncflow.func
def Subchart_SubchartTest_01_id_dca03dece2a04233a5618dc68c9cf5bd(self):
ret = asyncflow.call_sub("Subchart.Su... | 32.241026 | 104 | 0.778591 | 1,526 | 12,574 | 6.138925 | 0.077982 | 0.185739 | 0.126388 | 0.189582 | 0.736336 | 0.736336 | 0.735909 | 0.683711 | 0.597459 | 0.554441 | 0 | 0.166622 | 0.11317 | 12,574 | 389 | 105 | 32.323907 | 0.673482 | 0.091061 | 0 | 0.717172 | 0 | 0 | 0.042468 | 0.032272 | 0 | 0 | 0 | 0 | 0 | 1 | 0.249158 | false | 0 | 0.003367 | 0 | 0.501684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 6 |
619467554ac8d464db10f377d6433a9beae4feb3 | 177 | py | Python | cgxsh_encrypt_config.py | ebob9/cgxsh | 0682922bae4354d2e306147e314dd309da968059 | [
"MIT"
] | null | null | null | cgxsh_encrypt_config.py | ebob9/cgxsh | 0682922bae4354d2e306147e314dd309da968059 | [
"MIT"
] | 3 | 2020-02-10T00:01:18.000Z | 2022-03-28T00:26:45.000Z | cgxsh_encrypt_config.py | ebob9/cgxsh | 0682922bae4354d2e306147e314dd309da968059 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
from cgxsh_lib.file_crypto import encrypt_config_file
if __name__ == '__main__':
sys.exit(encrypt_config_file())
| 19.666667 | 53 | 0.723164 | 26 | 177 | 4.384615 | 0.769231 | 0.22807 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0.135593 | 177 | 8 | 54 | 22.125 | 0.732026 | 0.242938 | 0 | 0 | 0 | 0 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4eebcf72a1c7fb13b3a3b39a1346f5851f34e22a | 10,904 | py | Python | src.py | edbezci/Hasher | 9752175c3087d99b6bb20ddc688fe5450a7e7aca | [
"MIT"
] | null | null | null | src.py | edbezci/Hasher | 9752175c3087d99b6bb20ddc688fe5450a7e7aca | [
"MIT"
] | null | null | null | src.py | edbezci/Hasher | 9752175c3087d99b6bb20ddc688fe5450a7e7aca | [
"MIT"
] | null | null | null | import pygame
import os
import random
import math
import sys
import timeit
import functools
import hlp
import intro
import md5
import sha1
import sha256
# initialise Pygame library, it is necessary in Programs using Pygame
pygame.init()
line_colour = pygame.Color(50, 50, 120)
# initialise window size at 800 * 550 ... | 49.117117 | 159 | 0.632245 | 1,533 | 10,904 | 4.47032 | 0.150033 | 0.048154 | 0.028892 | 0.047279 | 0.878593 | 0.87013 | 0.863272 | 0.850285 | 0.844885 | 0.84328 | 0 | 0.081608 | 0.238078 | 10,904 | 222 | 160 | 49.117117 | 0.74326 | 0.21836 | 0 | 0.689266 | 0 | 0 | 0.053209 | 0.005663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0.016949 | 0.067797 | 0 | 0.084746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f614b329ee85ee5bebc72d26a2a5038fb3a1e1b1 | 1,355 | py | Python | tests/commands/test_autofill.py | gnutix/taxi | 3abad480bbc07a0ac1c47c16ee0989227234505b | [
"WTFPL"
] | 17 | 2016-02-02T14:10:49.000Z | 2021-11-30T00:04:29.000Z | tests/commands/test_autofill.py | gnutix/taxi | 3abad480bbc07a0ac1c47c16ee0989227234505b | [
"WTFPL"
] | 70 | 2015-01-08T17:02:42.000Z | 2021-09-21T20:08:07.000Z | tests/commands/test_autofill.py | gnutix/taxi | 3abad480bbc07a0ac1c47c16ee0989227234505b | [
"WTFPL"
] | 8 | 2015-08-23T12:50:36.000Z | 2021-11-26T10:33:45.000Z | from freezegun import freeze_time
@freeze_time('2012-02-20')
def test_autofill_bottom(cli, config, entries_file):
config.set_dict({
'taxi': {
'auto_fill_days': '1',
'auto_add': 'bottom'
}
})
cli('autofill')
entries_file_contents = entries_file.readlines()
... | 23.77193 | 73 | 0.55572 | 181 | 1,355 | 3.928177 | 0.20442 | 0.118143 | 0.127989 | 0.101266 | 0.860759 | 0.860759 | 0.860759 | 0.860759 | 0.787623 | 0.734177 | 0 | 0.138446 | 0.259041 | 1,355 | 56 | 74 | 24.196429 | 0.569721 | 0 | 0 | 0.636364 | 0 | 0 | 0.245756 | 0.017712 | 0 | 0 | 0 | 0 | 0.068182 | 1 | 0.068182 | false | 0 | 0.022727 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f65db77d7a4a3afe4d42823fcc19a5240915c784 | 2,883 | py | Python | cprint.py | hansalemaos/kivy_widget_attribute_printer | 49741262d93c6f89a294f653e0a4969984b906c7 | [
"MIT"
] | null | null | null | cprint.py | hansalemaos/kivy_widget_attribute_printer | 49741262d93c6f89a294f653e0a4969984b906c7 | [
"MIT"
] | null | null | null | cprint.py | hansalemaos/kivy_widget_attribute_printer | 49741262d93c6f89a294f653e0a4969984b906c7 | [
"MIT"
] | null | null | null | class cprint:
'''
Use like:
cprint.red('Hallo')
cprint.green('green')
print(cprint.red('Hallo', False) + cprint.green('green', False))
'''
Red = '\033[91m'
Green = '\033[92m'
Blue = '\033[94m'
Cyan = '\033[96m'
White = '\033[97m'
Yellow = '\033[93m'
Magen... | 36.961538 | 77 | 0.554977 | 320 | 2,883 | 5 | 0.134375 | 0.07875 | 0.14625 | 0.19125 | 0.816875 | 0.816875 | 0.816875 | 0.61625 | 0.36 | 0.36 | 0 | 0.031926 | 0.326396 | 2,883 | 77 | 78 | 37.441558 | 0.791967 | 0.040236 | 0 | 0.391304 | 0 | 0 | 0.037956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0 | 0 | 0.594203 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 6 |
f668cb0fe3c5489249449b93730ed24fcf680a56 | 235 | py | Python | src/Model/EatMove.py | anthonyf996/ChessApp | 614f72bc641793681fd5ad7040d6a4c407c9ae9e | [
"MIT"
] | null | null | null | src/Model/EatMove.py | anthonyf996/ChessApp | 614f72bc641793681fd5ad7040d6a4c407c9ae9e | [
"MIT"
] | null | null | null | src/Model/EatMove.py | anthonyf996/ChessApp | 614f72bc641793681fd5ad7040d6a4c407c9ae9e | [
"MIT"
] | null | null | null | from SimpleMove import SimpleMove
from MoveType import MoveType
class EatMove(SimpleMove):
def __init__(self, board, startPos, endPos):
super().__init__(board, startPos, endPos)
def getMoveType(self):
return MoveType.EAT
| 23.5 | 46 | 0.761702 | 28 | 235 | 6.107143 | 0.571429 | 0.152047 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153191 | 235 | 9 | 47 | 26.111111 | 0.859296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f670893394b529fa82ec70970477b7d478bb7afb | 257 | py | Python | tests/test_config.py | skoenig/website-monitor | e3e6ce4978736f76b3f6fd6ca19e7e66cad9982e | [
"MIT"
] | null | null | null | tests/test_config.py | skoenig/website-monitor | e3e6ce4978736f76b3f6fd6ca19e7e66cad9982e | [
"MIT"
] | null | null | null | tests/test_config.py | skoenig/website-monitor | e3e6ce4978736f76b3f6fd6ca19e7e66cad9982e | [
"MIT"
] | null | null | null | import pytest
from monitor.config import config
from monitor.config import configure
def test_config_type():
assert type(config) == dict
def test_nonexistent_file():
with pytest.raises(FileNotFoundError):
configure("/tmp/foobar.yaml")
| 17.133333 | 42 | 0.743191 | 32 | 257 | 5.84375 | 0.59375 | 0.117647 | 0.181818 | 0.245989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167315 | 257 | 14 | 43 | 18.357143 | 0.873832 | 0 | 0 | 0 | 0 | 0 | 0.062257 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.25 | true | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9cad5f3696699cae8bff9e1e06126d2ceb5da51f | 23,122 | py | Python | models/conv_ae.py | liujiyuan13/MvDOCC-code | 1f2d4427dab9f90fbba1575621948f7acbdffddb | [
"MIT"
] | 1 | 2021-05-18T01:29:20.000Z | 2021-05-18T01:29:20.000Z | models/conv_ae.py | liujiyuan13/MvDOCC-code | 1f2d4427dab9f90fbba1575621948f7acbdffddb | [
"MIT"
] | null | null | null | models/conv_ae.py | liujiyuan13/MvDOCC-code | 1f2d4427dab9f90fbba1575621948f7acbdffddb | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.nn.init import xavier_normal_
slope = 0
def mv_outer_product(X):
batch_size = X[0].size(0)
X = [torch.cat([X[i], torch.ones(batch_size, 1).cuda()], dim=-1) for i in range(len(X))]
for i in range(len(X) - 1):
if i == 0:
... | 46.151697 | 194 | 0.606998 | 3,543 | 23,122 | 3.734124 | 0.05024 | 0.038095 | 0.054422 | 0.047392 | 0.81678 | 0.785034 | 0.761829 | 0.739683 | 0.7161 | 0.71542 | 0 | 0.022029 | 0.259839 | 23,122 | 500 | 195 | 46.244 | 0.751023 | 0.068074 | 0 | 0.607046 | 0 | 0 | 0.005759 | 0 | 0 | 0 | 0 | 0 | 0.01355 | 1 | 0.102981 | false | 0.00271 | 0.01084 | 0.01897 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9cba1ab361fbdd4d1c36902b797dfac5a8e2ef4a | 9,760 | py | Python | tests/test_app.py | rafaelsouzak2b/lista_favoritos | 38cdda263a7a8d157cbfd9abdc4b6e4af3b9f4b8 | [
"MIT"
] | null | null | null | tests/test_app.py | rafaelsouzak2b/lista_favoritos | 38cdda263a7a8d157cbfd9abdc4b6e4af3b9f4b8 | [
"MIT"
] | null | null | null | tests/test_app.py | rafaelsouzak2b/lista_favoritos | 38cdda263a7a8d157cbfd9abdc4b6e4af3b9f4b8 | [
"MIT"
] | null | null | null | import base64
import string
import random
import json
random_str = string.ascii_letters
from src.app.models.usuarios import UsuarioModel
username = ''.join(random.choice(random_str) for i in range(10))
password = 'teste'
nome_cliente = ''.join(random.choice(random_str) for i in range(10))
email_cliente = ''.join(rando... | 25.025641 | 127 | 0.661066 | 1,146 | 9,760 | 5.480803 | 0.094241 | 0.028976 | 0.082789 | 0.099347 | 0.888234 | 0.856711 | 0.823754 | 0.768827 | 0.730457 | 0.67935 | 0 | 0.040401 | 0.223975 | 9,760 | 389 | 128 | 25.089974 | 0.788883 | 0.130123 | 0 | 0.548544 | 0 | 0 | 0.219144 | 0.119218 | 0 | 0 | 0 | 0.002571 | 0.165049 | 1 | 0.126214 | false | 0.024272 | 0.024272 | 0 | 0.150485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9cc051d0ea7c0fe603cbee8e1b9386269f730557 | 47 | py | Python | python_modules/libraries/dagster-postgres/dagster_postgres/event_log/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | python_modules/libraries/dagster-postgres/dagster_postgres/event_log/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | python_modules/libraries/dagster-postgres/dagster_postgres/event_log/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | from .event_log import PostgresEventLogStorage
| 23.5 | 46 | 0.893617 | 5 | 47 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14676e65cb32fd903fc7242ba9d84b87ff585f82 | 48 | py | Python | ec2_compare/internal/usage_classes/__init__.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | null | null | null | ec2_compare/internal/usage_classes/__init__.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | null | null | null | ec2_compare/internal/usage_classes/__init__.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Automatically generated at December 05, 2020
| 16 | 46 | 0.791667 | 6 | 48 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.166667 | 48 | 2 | 47 | 24 | 0.8 | 0.916667 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1af96ce2d518d77f199b3cb1c2fd61d17f5c516b | 45 | py | Python | torchwisdom/vision/transforms/__init__.py | nunenuh/modelzoo.pytorch | 0a0e5dda84d59243a084b053d98f2eabd76474f5 | [
"MIT"
] | 8 | 2019-03-23T17:53:52.000Z | 2021-06-15T17:38:00.000Z | torchwisdom/vision/transforms/__init__.py | nunenuh/modelzoo.pytorch | 0a0e5dda84d59243a084b053d98f2eabd76474f5 | [
"MIT"
] | 39 | 2019-03-26T08:22:40.000Z | 2019-05-22T05:18:31.000Z | torchwisdom/vision/transforms/__init__.py | nunenuh/modelzoo.pytorch | 0a0e5dda84d59243a084b053d98f2eabd76474f5 | [
"MIT"
] | 4 | 2019-04-05T06:32:09.000Z | 2019-05-09T14:53:51.000Z | from .pair import *
from .transforms import * | 22.5 | 25 | 0.755556 | 6 | 45 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 25 | 22.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2115aa77bce777b55b1e73c4147429d98339c71b | 100 | py | Python | models/partseg/__init__.py | luost26/Equivariant-OrientedMP | 597f9c4ace953929e5eefef84e4c840d6636b818 | [
"MIT"
] | 5 | 2022-03-26T07:08:21.000Z | 2022-03-31T12:23:40.000Z | models/partseg/__init__.py | luost26/Equivariant-OrientedMP | 597f9c4ace953929e5eefef84e4c840d6636b818 | [
"MIT"
] | null | null | null | models/partseg/__init__.py | luost26/Equivariant-OrientedMP | 597f9c4ace953929e5eefef84e4c840d6636b818 | [
"MIT"
] | null | null | null | from ._registry import get_model
from .dgcnn import DGCNN
from .oriented_dgcnn import OrientedDGCNN
| 25 | 41 | 0.85 | 14 | 100 | 5.857143 | 0.571429 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 42 | 33.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d45b279b5c1aa7c488f801d2e344bb8fc198484 | 106 | py | Python | app/models/core/store/__init__.py | polowis/virtComp | 142c623da4722f7443d76fc8bef0e56c0aa3d48e | [
"MIT"
] | null | null | null | app/models/core/store/__init__.py | polowis/virtComp | 142c623da4722f7443d76fc8bef0e56c0aa3d48e | [
"MIT"
] | null | null | null | app/models/core/store/__init__.py | polowis/virtComp | 142c623da4722f7443d76fc8bef0e56c0aa3d48e | [
"MIT"
] | null | null | null |
from .global_store import * # noqa
from .global_store import __all__ as glob_store
__all__ = glob_store | 21.2 | 47 | 0.792453 | 16 | 106 | 4.5 | 0.5 | 0.277778 | 0.416667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 106 | 5 | 48 | 21.2 | 0.808989 | 0.037736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0d49e3149723afb309e2deadab8ccfe16e442dc8 | 91 | py | Python | nntools/experiment/__init__.py | ClementPla/NNTools | 61562be2d931a7f720ceee1bd91a37a2b9a329af | [
"MIT"
] | null | null | null | nntools/experiment/__init__.py | ClementPla/NNTools | 61562be2d931a7f720ceee1bd91a37a2b9a329af | [
"MIT"
] | null | null | null | nntools/experiment/__init__.py | ClementPla/NNTools | 61562be2d931a7f720ceee1bd91a37a2b9a329af | [
"MIT"
] | null | null | null | from .experiment import Experiment
from .supervised_experiment import SupervisedExperiment
| 30.333333 | 55 | 0.89011 | 9 | 91 | 8.888889 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 56 | 45.5 | 0.963855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4b560b1d6111512544ff830bd87291cdf1f782e | 61 | py | Python | conpaas-services/src/conpaas/core/https/__init__.py | bopopescu/conpaas-1 | cea3c02f499a729464697de7cf98c2041febc0ab | [
"BSD-3-Clause"
] | 1 | 2015-09-20T18:20:01.000Z | 2015-09-20T18:20:01.000Z | conpaas-services/src/conpaas/core/https/__init__.py | bopopescu/conpaas-1 | cea3c02f499a729464697de7cf98c2041febc0ab | [
"BSD-3-Clause"
] | 1 | 2020-07-27T11:56:18.000Z | 2020-07-27T11:56:18.000Z | conpaas-services/src/conpaas/core/https/__init__.py | bopopescu/conpaas-1 | cea3c02f499a729464697de7cf98c2041febc0ab | [
"BSD-3-Clause"
] | 3 | 2018-09-14T16:54:14.000Z | 2020-07-26T03:14:56.000Z | from . import client
from . import server
from . import x509
| 15.25 | 20 | 0.754098 | 9 | 61 | 5.111111 | 0.555556 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.196721 | 61 | 3 | 21 | 20.333333 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4b9db60242f2b6da3850ce3a163f642fd2b3b5a | 77 | py | Python | python/src/test/resources/pyfunc/numpy_random18_test.py | maropu/lljvm-translator | 322fbe24a27976948c8e8081a9552152dda58b4b | [
"Apache-2.0"
] | 70 | 2017-12-12T10:54:00.000Z | 2022-03-22T07:45:19.000Z | python/src/test/resources/pyfunc/numpy_random18_test.py | maropu/lljvm-as | 322fbe24a27976948c8e8081a9552152dda58b4b | [
"Apache-2.0"
] | 14 | 2018-02-28T01:29:46.000Z | 2019-12-10T01:42:22.000Z | python/src/test/resources/pyfunc/numpy_random18_test.py | maropu/lljvm-as | 322fbe24a27976948c8e8081a9552152dda58b4b | [
"Apache-2.0"
] | 4 | 2019-07-21T07:58:25.000Z | 2021-02-01T09:46:59.000Z | import numpy as np
def numpy_random18_test(a):
return np.random.choice(a)
| 15.4 | 28 | 0.766234 | 14 | 77 | 4.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.142857 | 77 | 4 | 29 | 19.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b4d4611f79ba90ce501679525ce39af566fb31a0 | 179 | py | Python | buzzard/_tools/__init__.py | ashnair1/buzzard | f9a9c2ac2929d997b1643f4730c67e3db45e181e | [
"Apache-2.0"
] | 30 | 2019-12-07T21:16:41.000Z | 2022-03-07T15:12:25.000Z | buzzard/_tools/__init__.py | ashnair1/buzzard | f9a9c2ac2929d997b1643f4730c67e3db45e181e | [
"Apache-2.0"
] | 42 | 2018-01-31T20:03:55.000Z | 2019-11-12T19:42:13.000Z | buzzard/_tools/__init__.py | ashnair1/buzzard | f9a9c2ac2929d997b1643f4730c67e3db45e181e | [
"Apache-2.0"
] | 15 | 2018-01-31T19:47:22.000Z | 2019-11-26T10:27:50.000Z | """
Collection of private tools
"""
from .parameters import *
from .helper_classes import *
from .rect import *
from .multi_ordered_dict import *
from .slices_of_matrix import *
| 17.9 | 33 | 0.759777 | 24 | 179 | 5.458333 | 0.625 | 0.305344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150838 | 179 | 9 | 34 | 19.888889 | 0.861842 | 0.150838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4e8d94b296fefa3cf51048af1e428c77fdd70d5 | 139 | py | Python | pagi/utils/env.py | khuongnd/pagi | 33e6b6c9bf126c648b58320fa7d8d488f82b16d1 | [
"MIT"
] | null | null | null | pagi/utils/env.py | khuongnd/pagi | 33e6b6c9bf126c648b58320fa7d8d488f82b16d1 | [
"MIT"
] | null | null | null | pagi/utils/env.py | khuongnd/pagi | 33e6b6c9bf126c648b58320fa7d8d488f82b16d1 | [
"MIT"
] | null | null | null | import torch
def check_gpu_available():
return torch.cuda.is_available()
if __name__ == "__main__":
print(check_gpu_available()) | 17.375 | 36 | 0.733813 | 18 | 139 | 4.944444 | 0.722222 | 0.179775 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151079 | 139 | 8 | 37 | 17.375 | 0.754237 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b4f87a17ea8315bf8603190f62218c08495abbdc | 45 | py | Python | MTL_startup.py | mtlong/FGVC | b1c5b1a84b763e8b8236a68f2ffef9274dea49cd | [
"MIT"
] | null | null | null | MTL_startup.py | mtlong/FGVC | b1c5b1a84b763e8b8236a68f2ffef9274dea49cd | [
"MIT"
] | null | null | null | MTL_startup.py | mtlong/FGVC | b1c5b1a84b763e8b8236a68f2ffef9274dea49cd | [
"MIT"
] | null | null | null |
print("Run to startup the python session")
| 11.25 | 42 | 0.733333 | 7 | 45 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 3 | 43 | 15 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2ef76736dedb347f9bb8ed053ebcad1e84e246d4 | 130 | py | Python | Stepik1.py | devilnotcry77/devil_not_cry | a9d342d053c788ec6db2d1c5967ed55104b40045 | [
"Apache-2.0"
] | null | null | null | Stepik1.py | devilnotcry77/devil_not_cry | a9d342d053c788ec6db2d1c5967ed55104b40045 | [
"Apache-2.0"
] | null | null | null | Stepik1.py | devilnotcry77/devil_not_cry | a9d342d053c788ec6db2d1c5967ed55104b40045 | [
"Apache-2.0"
] | null | null | null | a = int(input())
b = int(input())
print(a+b)
print(a-b)
print(a*b)
print(a/b)
print(a//b)
print(a%b)
print((a**10 + b **10)**0.5)
| 13 | 28 | 0.561538 | 31 | 130 | 2.354839 | 0.258065 | 0.575342 | 0.575342 | 0.986301 | 0.657534 | 0.657534 | 0.657534 | 0.657534 | 0.657534 | 0.657534 | 0 | 0.052632 | 0.123077 | 130 | 9 | 29 | 14.444444 | 0.587719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.777778 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2efa35c517ff1949b4b0f06b7c7c0517d5e0f80d | 177 | py | Python | sis-web/rest/__init__.py | maxbilbow/7054CEM-sis | 1c5067c9afc38e340fcce046048f8ae21d267365 | [
"MIT"
] | null | null | null | sis-web/rest/__init__.py | maxbilbow/7054CEM-sis | 1c5067c9afc38e340fcce046048f8ae21d267365 | [
"MIT"
] | null | null | null | sis-web/rest/__init__.py | maxbilbow/7054CEM-sis | 1c5067c9afc38e340fcce046048f8ae21d267365 | [
"MIT"
] | null | null | null | def init():
import rest.auth_controller
import rest.index
import rest.membership_controller
import rest.quote_controller
import rest.user_profile_controller
| 25.285714 | 39 | 0.774011 | 22 | 177 | 6 | 0.5 | 0.378788 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180791 | 177 | 6 | 40 | 29.5 | 0.910345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.833333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2c179052e7a08ee25e6aa6d67f1e4168ebf0e7d0 | 1,734 | py | Python | temboo/core/Library/Flickr/Photos/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Flickr/Photos/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Flickr/Photos/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Flickr.Photos.AddTags import AddTags, AddTagsInputSet, AddTagsResultSet, AddTagsChoreographyExecution
from temboo.Library.Flickr.Photos.Delete import Delete, DeleteInputSet, DeleteResultSet, DeleteChoreographyExecution
from temboo.Library.Flickr.Photos.Download import Download, DownloadInputSet, Dow... | 133.384615 | 206 | 0.903114 | 132 | 1,734 | 11.863636 | 0.409091 | 0.076628 | 0.130268 | 0.176245 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048443 | 1,734 | 12 | 207 | 144.5 | 0.949091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25a76c2817bb7803e0468bbb40914707d3cf4648 | 61,669 | py | Python | lib/data_loaders.py | SwagJ/FCGF | 18cfb4d4e9f7a18487d6ef8941fcaeda387ab55f | [
"MIT"
] | null | null | null | lib/data_loaders.py | SwagJ/FCGF | 18cfb4d4e9f7a18487d6ef8941fcaeda387ab55f | [
"MIT"
] | null | null | null | lib/data_loaders.py | SwagJ/FCGF | 18cfb4d4e9f7a18487d6ef8941fcaeda387ab55f | [
"MIT"
] | null | null | null | # -*- coding: future_fstrings -*-
#
# Written by Chris Choy <chrischoy@ai.stanford.edu>
# Distributed under MIT License
import logging
import random
import torch
import torch.utils.data
import numpy as np
import glob
import os
from scipy.linalg import expm, norm
import pathlib
from util.pointcloud import get_matching_... | 35.937646 | 145 | 0.637825 | 8,611 | 61,669 | 4.357798 | 0.062246 | 0.014177 | 0.00533 | 0.01066 | 0.789074 | 0.773804 | 0.753951 | 0.746063 | 0.736736 | 0.734897 | 0 | 0.04193 | 0.22924 | 61,669 | 1,715 | 146 | 35.958601 | 0.747539 | 0.089461 | 0 | 0.750397 | 0 | 0 | 0.057647 | 0.021968 | 0 | 0 | 0 | 0 | 0.008744 | 1 | 0.038156 | false | 0 | 0.015898 | 0.00159 | 0.116852 | 0.00159 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
25be9a4117a1aa9065662b8826b55e8044a2f1dd | 25 | py | Python | pytealutils/tealstruct/__init__.py | gmcgoldr/pyteal-utils | 3716ff74312d5136df89456e3db711037edccdcb | [
"MIT"
] | 1 | 2021-12-06T21:58:47.000Z | 2021-12-06T21:58:47.000Z | pytealutils/tealstruct/__init__.py | gmcgoldr/pyteal-utils | 3716ff74312d5136df89456e3db711037edccdcb | [
"MIT"
] | null | null | null | pytealutils/tealstruct/__init__.py | gmcgoldr/pyteal-utils | 3716ff74312d5136df89456e3db711037edccdcb | [
"MIT"
] | null | null | null | from .tealstruct import * | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25def628a3a1f48f661cad2f968c215e7ec06136 | 175 | py | Python | testshop/test_models.py | Iv/django-shop | aa52dce6e9115d3b7a913ffa6027f978260b324c | [
"BSD-3-Clause"
] | null | null | null | testshop/test_models.py | Iv/django-shop | aa52dce6e9115d3b7a913ffa6027f978260b324c | [
"BSD-3-Clause"
] | null | null | null | testshop/test_models.py | Iv/django-shop | aa52dce6e9115d3b7a913ffa6027f978260b324c | [
"BSD-3-Clause"
] | 1 | 2020-01-10T01:51:07.000Z | 2020-01-10T01:51:07.000Z | from django.test import TestCase
class AddressTest(TestCase):
def test_can_import(self):
pass
#from shop.models.defaults.address import Address # noqa
| 19.444444 | 65 | 0.708571 | 22 | 175 | 5.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222857 | 175 | 8 | 66 | 21.875 | 0.897059 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d30050bcfc5ec36d576ab20f33cfe742c146c290 | 45 | py | Python | QuadSwingUpEnv/QuadSwingUp/envs/__init__.py | shauray8/quadruple_inverted_pendulum | 3b5746c534423d39da2582d4bae54ea7ecdacffd | [
"MIT"
] | null | null | null | QuadSwingUpEnv/QuadSwingUp/envs/__init__.py | shauray8/quadruple_inverted_pendulum | 3b5746c534423d39da2582d4bae54ea7ecdacffd | [
"MIT"
] | null | null | null | QuadSwingUpEnv/QuadSwingUp/envs/__init__.py | shauray8/quadruple_inverted_pendulum | 3b5746c534423d39da2582d4bae54ea7ecdacffd | [
"MIT"
] | null | null | null | from QuadSwingUp.envs.env import QuadSwingUp
| 22.5 | 44 | 0.866667 | 6 | 45 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d3042e007a40fc1ace083eb477d10762f0795123 | 229 | py | Python | tensortrade/features/scalers/__init__.py | msincenselee/tensortrade | aeed3fbf1657ba1f3bf4bb81fec876d65284b79b | [
"Apache-2.0"
] | null | null | null | tensortrade/features/scalers/__init__.py | msincenselee/tensortrade | aeed3fbf1657ba1f3bf4bb81fec876d65284b79b | [
"Apache-2.0"
] | null | null | null | tensortrade/features/scalers/__init__.py | msincenselee/tensortrade | aeed3fbf1657ba1f3bf4bb81fec876d65284b79b | [
"Apache-2.0"
] | null | null | null | from .comparison_normalizer import ComparisonNormalizer
from .min_max_normalizer import MinMaxNormalizer
from .percent_change_normalizer import PercentChangeNormalizer
from .standard_normalizer import StandardNormalizer
# 标准化转换
| 32.714286 | 62 | 0.895197 | 23 | 229 | 8.652174 | 0.608696 | 0.321608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082969 | 229 | 6 | 63 | 38.166667 | 0.947619 | 0.021834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.