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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a9117535b2cb6c0eeaf252c069a6e42a56385249 | 135 | py | Python | impy/arrays/bases/__init__.py | hanjinliu/impy | d35b21be7739c3073ae87486673af68b1cdb2853 | [
"BSD-3-Clause"
] | 15 | 2021-07-19T13:42:26.000Z | 2021-12-31T13:32:15.000Z | impy/arrays/bases/__init__.py | hanjinliu/impy | d35b21be7739c3073ae87486673af68b1cdb2853 | [
"BSD-3-Clause"
] | 3 | 2021-04-10T11:58:57.000Z | 2022-03-06T12:42:47.000Z | impy/arrays/bases/__init__.py | hanjinliu/impy | d35b21be7739c3073ae87486673af68b1cdb2853 | [
"BSD-3-Clause"
] | 2 | 2021-07-19T13:34:07.000Z | 2021-08-01T09:51:29.000Z | from .metaarray import MetaArray
from .historyarray import HistoryArray
# overload numpy functions to MetaArray
from . import overload | 27 | 39 | 0.837037 | 16 | 135 | 7.0625 | 0.5 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 5 | 40 | 27 | 0.965812 | 0.274074 | 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 |
a95457719f6885f1a4c1f70b6e0d6e87501dc71e | 34 | py | Python | netcdfswan/__init__.py | meracan/netcdf-swan | f7548129331d34323ac960f315ca592d9511086a | [
"MIT"
] | 1 | 2021-03-04T07:25:15.000Z | 2021-03-04T07:25:15.000Z | netcdfswan/__init__.py | meracan/netcdf-swan | f7548129331d34323ac960f315ca592d9511086a | [
"MIT"
] | null | null | null | netcdfswan/__init__.py | meracan/netcdf-swan | f7548129331d34323ac960f315ca592d9511086a | [
"MIT"
] | 1 | 2021-05-25T02:12:47.000Z | 2021-05-25T02:12:47.000Z | from .netcdfswan import NetCDFSWAN | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a9691a449bd4f0f1c9bf72ddfd31970e626d3f77 | 115 | py | Python | polyaxon/libs/utils.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/libs/utils.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/libs/utils.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | from schemas.utils import to_list
def get_list(values):
return to_list(values) if values is not None else []
| 19.166667 | 56 | 0.747826 | 20 | 115 | 4.15 | 0.75 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182609 | 115 | 5 | 57 | 23 | 0.882979 | 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 |
8d14a0eaeb604c232c5347d762b4988f34b3096e | 316 | py | Python | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_03_04SugarBox.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_03_04SugarBox.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_03_04SugarBox.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_01_02MasterChefCan.py"
OUTPUT_DIR = "output/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/03_04SugarBox"
DATASETS = dict(TRAIN=("ycbv_004_sugar_box_train_pbr",))
| 79 | 141 | 0.89557 | 43 | 316 | 5.883721 | 0.697674 | 0.086957 | 0.205534 | 0.29249 | 0.537549 | 0.537549 | 0.537549 | 0.537549 | 0.537549 | 0.537549 | 0 | 0.100977 | 0.028481 | 316 | 3 | 142 | 105.333333 | 0.723127 | 0 | 0 | 0 | 0 | 0 | 0.81962 | 0.81962 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8d35df1a606b6aa971bada13c435930df28c9585 | 46 | py | Python | auraliser/transducer.py | FRidh/auraliser | f20f037ca131299d1a584ea640bb39d83b5ceb26 | [
"BSD-2-Clause"
] | 2 | 2018-03-25T01:36:32.000Z | 2018-12-05T11:43:26.000Z | auraliser/transducer.py | FRidh/auraliser | f20f037ca131299d1a584ea640bb39d83b5ceb26 | [
"BSD-2-Clause"
] | 3 | 2016-11-01T16:54:40.000Z | 2021-02-25T14:13:18.000Z | auraliser/transducer.py | FRidh/auraliser | f20f037ca131299d1a584ea640bb39d83b5ceb26 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
from Base import Vector
| 9.2 | 23 | 0.76087 | 8 | 46 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 46 | 4 | 24 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d843aacc3b71ed85f54886f43fc059844e7213c | 2,617 | py | Python | results_analysis/plot_pacf_for_all.py | UnIcOrn7618/MonthlyRunoffForecastByAutoReg | 2d66c628141f001e4ffb3dc3b7520a0f0f0ff239 | [
"MIT"
] | 2 | 2020-09-24T13:31:06.000Z | 2020-11-11T09:08:16.000Z | results_analysis/plot_pacf_for_all.py | UnIcOrn7618/MonthlyRunoffForecastByAutoReg | 2d66c628141f001e4ffb3dc3b7520a0f0f0ff239 | [
"MIT"
] | null | null | null | results_analysis/plot_pacf_for_all.py | UnIcOrn7618/MonthlyRunoffForecastByAutoReg | 2d66c628141f001e4ffb3dc3b7520a0f0f0ff239 | [
"MIT"
] | 1 | 2020-12-16T07:29:32.000Z | 2020-12-16T07:29:32.000Z | import matplotlib.pyplot as plt
plt.rcParams['font.size']=6
import os
root_path = os.path.dirname(os.path.abspath('__file__'))
# root_path = os.path.abspath(os.path.join(root_path,os.path.pardir))
graphs_path = root_path+'/results_analysis/graphs/'
import sys
sys.path.append(root_path)
from plot_pacfs import plot_pacf... | 37.385714 | 76 | 0.672526 | 366 | 2,617 | 4.434426 | 0.147541 | 0.128158 | 0.162662 | 0.146642 | 0.806531 | 0.806531 | 0.796673 | 0.772027 | 0.772027 | 0.76833 | 0 | 0.028143 | 0.185327 | 2,617 | 70 | 77 | 37.385714 | 0.733114 | 0.551395 | 0 | 0.307692 | 0 | 0 | 0.258999 | 0.230026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.153846 | 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 |
8d9261687ffe87c505b646b67d01ac40ab08a703 | 17 | py | Python | software/python/simple_pendulum/trajectory_optimization/ddp/__init__.py | alopezrivera/torque_limited_simple_pendulum | 2164a41d65c16743ba260a79a04a04cdd72c3903 | [
"BSD-3-Clause"
] | 15 | 2021-10-16T04:50:34.000Z | 2022-03-26T23:54:19.000Z | software/python/simple_pendulum/trajectory_optimization/ddp/__init__.py | alopezrivera/torque_limited_simple_pendulum | 2164a41d65c16743ba260a79a04a04cdd72c3903 | [
"BSD-3-Clause"
] | 17 | 2021-11-30T22:17:28.000Z | 2022-03-21T12:28:45.000Z | software/python/simple_pendulum/trajectory_optimization/ddp/__init__.py | alopezrivera/torque_limited_simple_pendulum | 2164a41d65c16743ba260a79a04a04cdd72c3903 | [
"BSD-3-Clause"
] | 13 | 2021-10-18T07:45:29.000Z | 2022-03-22T12:56:33.000Z | """
DDP
===
"""
| 2.833333 | 3 | 0.176471 | 1 | 17 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 17 | 5 | 4 | 3.4 | 0.25 | 0.411765 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a5ebc20c2cdf470e697178521e644d8739cfd94a | 7,992 | py | Python | users/views.py | BroNaz/web_client | c68a826afabeae1c6053a271ec6ad23d93dd11e7 | [
"MIT"
] | null | null | null | users/views.py | BroNaz/web_client | c68a826afabeae1c6053a271ec6ad23d93dd11e7 | [
"MIT"
] | null | null | null | users/views.py | BroNaz/web_client | c68a826afabeae1c6053a271ec6ad23d93dd11e7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Module control for application "users"
"""
from django.shortcuts import render
from django.http import HttpResponseRedirect
from .models import registration
from django.http import HttpResponse
from django.shortcuts import redirect
import requests
# base url database
url_root = 'https://s... | 34.300429 | 149 | 0.579079 | 901 | 7,992 | 5.029967 | 0.146504 | 0.039718 | 0.055605 | 0.03707 | 0.774272 | 0.755737 | 0.735216 | 0.735216 | 0.720653 | 0.7094 | 0 | 0.012266 | 0.306306 | 7,992 | 232 | 150 | 34.448276 | 0.805195 | 0.232733 | 0 | 0.742857 | 0 | 0 | 0.15548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042857 | false | 0.021429 | 0.042857 | 0 | 0.235714 | 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 |
a5fbbe55032f2b018a57e074c02f65dbbd5d37e6 | 95 | py | Python | boa3_test/test_sc/native_test/stdlib/ItoaMismatchedType.py | OnBlockIO/neo3-boa | cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/native_test/stdlib/ItoaMismatchedType.py | OnBlockIO/neo3-boa | cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/native_test/stdlib/ItoaMismatchedType.py | OnBlockIO/neo3-boa | cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin.nativecontract.stdlib import StdLib
def main():
StdLib.itoa('123', 10)
| 15.833333 | 53 | 0.726316 | 13 | 95 | 5.307692 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.147368 | 95 | 5 | 54 | 19 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
571274cccf741aca803fb144b3d5a373c30a1c5e | 283 | py | Python | python/creating-submodules/module/internal_script.py | sdsmt-robotics/tip-and-whatnot | 6c82d0664b68864a0e9ed50758d1a2e0cd64550c | [
"MIT"
] | null | null | null | python/creating-submodules/module/internal_script.py | sdsmt-robotics/tip-and-whatnot | 6c82d0664b68864a0e9ed50758d1a2e0cd64550c | [
"MIT"
] | null | null | null | python/creating-submodules/module/internal_script.py | sdsmt-robotics/tip-and-whatnot | 6c82d0664b68864a0e9ed50758d1a2e0cd64550c | [
"MIT"
] | null | null | null | from . import constants
def internal():
print('=' * 5 + 'internal' + '=' * 5)
print('constants.LED_LEFT: {}'.format(constants.LED_LEFT))
print('constants.LED_RIGHT: {}'.format(constants.LED_RIGHT))
print('constants.LED_LEFT_PIN: {}'.format(constants.LED_LEFT_PIN))
| 31.444444 | 70 | 0.671378 | 35 | 283 | 5.2 | 0.342857 | 0.395604 | 0.351648 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.137809 | 283 | 8 | 71 | 35.375 | 0.737705 | 0 | 0 | 0 | 0 | 0 | 0.286219 | 0.081272 | 0.166667 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
93d4290731b471352762d564df079a6d15eac19e | 122 | py | Python | easy/03132012.py | harrisi/dp | 791a26a9bcb9c0842c318f9e6a2a1af53ee3e773 | [
"MIT"
] | 1 | 2016-03-18T07:04:37.000Z | 2016-03-18T07:04:37.000Z | easy/03132012.py | harrisi/dp | 791a26a9bcb9c0842c318f9e6a2a1af53ee3e773 | [
"MIT"
] | null | null | null | easy/03132012.py | harrisi/dp | 791a26a9bcb9c0842c318f9e6a2a1af53ee3e773 | [
"MIT"
] | null | null | null | #!/usr/local/bin/python
if __name__ == '__main__':
l = input('list> ')
print(l[:len(l) / 2])
print(l[len(l) / 2:])
| 17.428571 | 26 | 0.54918 | 20 | 122 | 2.95 | 0.65 | 0.20339 | 0.305085 | 0.338983 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.180328 | 122 | 6 | 27 | 20.333333 | 0.57 | 0.180328 | 0 | 0 | 0 | 0 | 0.141414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
93d502e88b5493d730a8e5edd6a84bc5e9653186 | 1,152 | py | Python | temboo/core/Library/Twitter/Timelines/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Twitter/Timelines/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Twitter/Timelines/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Twitter.Timelines.HomeTimeline import HomeTimeline, HomeTimelineInputSet, HomeTimelineResultSet, HomeTimelineChoreographyExecution
from temboo.Library.Twitter.Timelines.HomeTimelineLatestTweet import HomeTimelineLatestTweet, HomeTimelineLatestTweetInputSet, HomeTimelineLatestTweetResultSet, HomeTime... | 144 | 205 | 0.914931 | 77 | 1,152 | 13.688312 | 0.441558 | 0.066414 | 0.112903 | 0.159393 | 0.219165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042535 | 1,152 | 7 | 206 | 164.571429 | 0.955576 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
93d52a09de1ebd69db1343360c131af708a4071b | 202 | py | Python | setup.py | flipcoder/Butterfly-Destroyers | 855b1981ea67796e0ce0d82b525a1cb75a9e358b | [
"MIT"
] | 1 | 2020-04-12T06:39:10.000Z | 2020-04-12T06:39:10.000Z | setup.py | flipcoder/Butterfly-Destroyers | 855b1981ea67796e0ce0d82b525a1cb75a9e358b | [
"MIT"
] | null | null | null | setup.py | flipcoder/Butterfly-Destroyers | 855b1981ea67796e0ce0d82b525a1cb75a9e358b | [
"MIT"
] | null | null | null | from distutils.core import setup
from Cython.Build import cythonize
import Cython.Compiler.Options
Cython.Compiler.Options.annotate = True
setup(ext_modules=cythonize("**/*.py", language_level="3"),)
| 25.25 | 60 | 0.792079 | 27 | 202 | 5.851852 | 0.666667 | 0.177215 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005405 | 0.084158 | 202 | 7 | 61 | 28.857143 | 0.848649 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
93d94974b0310d2ed089451d3d07cc7fcfc11a65 | 26 | py | Python | mlflow/utils/__init__.py | BBBBlarry/mlflow | e8f5b9450ba6d3b68fe0cbb530840c0a760d3b08 | [
"MIT"
] | null | null | null | mlflow/utils/__init__.py | BBBBlarry/mlflow | e8f5b9450ba6d3b68fe0cbb530840c0a760d3b08 | [
"MIT"
] | null | null | null | mlflow/utils/__init__.py | BBBBlarry/mlflow | e8f5b9450ba6d3b68fe0cbb530840c0a760d3b08 | [
"MIT"
] | null | null | null | from tensor_utils import * | 26 | 26 | 0.846154 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
93d9843a2db85f39a453f4ce40938c46f987a04a | 16,556 | py | Python | lib/python/treadmill/tests/cli/admin/ldap/allocation_test.py | krcooke/treadmill | 613008fee88a150f983ab12d8ef2e118fb77bb51 | [
"Apache-2.0"
] | 133 | 2016-09-15T13:36:12.000Z | 2021-01-18T06:29:13.000Z | lib/python/treadmill/tests/cli/admin/ldap/allocation_test.py | krcooke/treadmill | 613008fee88a150f983ab12d8ef2e118fb77bb51 | [
"Apache-2.0"
] | 108 | 2016-12-28T23:41:27.000Z | 2020-03-05T21:20:37.000Z | lib/python/treadmill/tests/cli/admin/ldap/allocation_test.py | krcooke/treadmill | 613008fee88a150f983ab12d8ef2e118fb77bb51 | [
"Apache-2.0"
] | 69 | 2016-09-23T20:38:58.000Z | 2020-11-11T02:31:21.000Z | """Unit test for treadmill.cli.admin.ldap.allocation."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import unittest
import click
import click.testing
import mock
import treadmill
from treadmill import plugin_man... | 35.991304 | 79 | 0.492148 | 1,454 | 16,556 | 5.411279 | 0.089409 | 0.103457 | 0.128114 | 0.08452 | 0.858033 | 0.846975 | 0.823971 | 0.782664 | 0.782664 | 0.781139 | 0 | 0.010544 | 0.369896 | 16,556 | 459 | 80 | 36.069717 | 0.743673 | 0.042522 | 0 | 0.673367 | 0 | 0 | 0.227345 | 0.098231 | 0 | 0 | 0 | 0 | 0.065327 | 1 | 0.027638 | false | 0 | 0.027638 | 0 | 0.057789 | 0.002513 | 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 |
f54a495d8371f5265e05309b4e983bbe8c086545 | 3,341 | py | Python | bugs/hand-of-thief-malware-output-quality/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2017-12-14T14:25:17.000Z | 2019-03-09T03:29:12.000Z | bugs/hand-of-thief-malware-output-quality/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 10 | 2019-06-14T09:12:55.000Z | 2021-10-01T12:15:43.000Z | bugs/hand-of-thief-malware-output-quality/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2019-05-10T14:59:48.000Z | 2022-03-07T16:34:23.000Z | from regression_tests import *
class bin_1(Test):
settings = TestSettings(
input='1-init_bin-bd92ce74.unpacked.elf',
args='--backend-no-opts'
)
def test_for_some_random_imported_functions(self):
assert self.out_c.has_comment_matching(r'.*int32_t.*\*\*.*__ctype_toupper_loc\(.*')
... | 47.728571 | 91 | 0.662676 | 470 | 3,341 | 4.359574 | 0.204255 | 0.175695 | 0.228404 | 0.245974 | 0.783797 | 0.783797 | 0.781845 | 0.752562 | 0.625671 | 0.444607 | 0 | 0.010398 | 0.16522 | 3,341 | 69 | 92 | 48.42029 | 0.724274 | 0 | 0 | 0.283333 | 0 | 0 | 0.255911 | 0.115534 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f54ebebd7ffea8c64742dd7b83cdca6b1addf197 | 58 | py | Python | Assignments/Inheritance/Exercise/2_zoo/project/bear.py | KaloyankerR/python-oop-repository | 7cd565b0b173c4a02e7b2dc22bfeb7808d294f89 | [
"MIT"
] | null | null | null | Assignments/Inheritance/Exercise/2_zoo/project/bear.py | KaloyankerR/python-oop-repository | 7cd565b0b173c4a02e7b2dc22bfeb7808d294f89 | [
"MIT"
] | null | null | null | Assignments/Inheritance/Exercise/2_zoo/project/bear.py | KaloyankerR/python-oop-repository | 7cd565b0b173c4a02e7b2dc22bfeb7808d294f89 | [
"MIT"
] | null | null | null | from .mammal import Mammal
class Bear(Mammal):
pass
| 9.666667 | 26 | 0.706897 | 8 | 58 | 5.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 58 | 5 | 27 | 11.6 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f54f767efa1b6dcd70128dd1d2b4676187799efb | 46 | py | Python | pylanelet2/lanelet2/traffic_rules.py | yuzhangbit/Lanelet2 | 62b8de59882b80efb94b419f7277c64a00fec9b4 | [
"BSD-3-Clause"
] | 3 | 2019-01-14T07:05:36.000Z | 2020-02-26T16:20:21.000Z | pylanelet2/lanelet2/traffic_rules.py | stefanosecondo-tomtom/Lanelet2 | 88fc2d1b9292c40f64e6d47ca4c7b23da52bda7b | [
"BSD-3-Clause"
] | null | null | null | pylanelet2/lanelet2/traffic_rules.py | stefanosecondo-tomtom/Lanelet2 | 88fc2d1b9292c40f64e6d47ca4c7b23da52bda7b | [
"BSD-3-Clause"
] | 1 | 2022-03-28T21:38:14.000Z | 2022-03-28T21:38:14.000Z | from liblanelet2_traffic_rules_pyapi import *
| 23 | 45 | 0.891304 | 6 | 46 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.086957 | 46 | 1 | 46 | 46 | 0.880952 | 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 |
194d2b2809c01299dac7275ecc0755f168eb3b39 | 4,217 | py | Python | test/test_query.py | dave31415/brunodb | 57f71b6ee9e08fc8539efeb9b6b935beb232b6f4 | [
"MIT"
] | null | null | null | test/test_query.py | dave31415/brunodb | 57f71b6ee9e08fc8539efeb9b6b935beb232b6f4 | [
"MIT"
] | null | null | null | test/test_query.py | dave31415/brunodb | 57f71b6ee9e08fc8539efeb9b6b935beb232b6f4 | [
"MIT"
] | null | null | null | from brunodb.query import get_query_sql, get_base_query, get_where_clause, get_order_by_sql
def standardize(string):
string = ' '.join(string.split())
return string.lower().strip()
def test_base_sql():
table_name = 'foo'
sql = get_base_query(table_name)
assert standardize(sql) == "select * from ... | 28.883562 | 105 | 0.620346 | 571 | 4,217 | 4.196147 | 0.089317 | 0.192821 | 0.158598 | 0.087646 | 0.838481 | 0.793406 | 0.775876 | 0.739983 | 0.700751 | 0.654841 | 0 | 0.009064 | 0.267489 | 4,217 | 145 | 106 | 29.082759 | 0.766591 | 0 | 0 | 0.615385 | 0 | 0.019231 | 0.122836 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 1 | 0.125 | false | 0 | 0.009615 | 0 | 0.144231 | 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 |
195b4a8035b18184e44db64f40c5a8a74f091ea9 | 112 | py | Python | bridger/utils/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 2 | 2020-03-17T00:53:23.000Z | 2020-07-16T07:00:33.000Z | bridger/utils/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 76 | 2019-12-05T01:15:57.000Z | 2021-09-07T16:47:27.000Z | bridger/utils/__init__.py | intellineers/django-bridger | ed097984a99df7da40a4d01bd00c56e3c6083056 | [
"BSD-3-Clause"
] | 1 | 2020-02-05T15:09:47.000Z | 2020-02-05T15:09:47.000Z | from functools import reduce
def ilen(iterable):
return reduce(lambda sum, element: sum + 1, iterable, 0)
| 18.666667 | 60 | 0.723214 | 16 | 112 | 5.0625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.1875 | 112 | 5 | 61 | 22.4 | 0.868132 | 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 |
198ea4614b98850a0f68e3f9d5f59336281d6ece | 161 | py | Python | nasafree/admin.py | luanmalaquias/projeto_api_nasa_django | 3441c404da821b4177571814014e89b0cff6a6b7 | [
"MIT"
] | null | null | null | nasafree/admin.py | luanmalaquias/projeto_api_nasa_django | 3441c404da821b4177571814014e89b0cff6a6b7 | [
"MIT"
] | null | null | null | nasafree/admin.py | luanmalaquias/projeto_api_nasa_django | 3441c404da821b4177571814014e89b0cff6a6b7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
# Register your models here.
admin.site.register(Apod)
admin.site.register(MRP)
admin.site.register(Ip)
| 17.888889 | 32 | 0.782609 | 24 | 161 | 5.25 | 0.541667 | 0.214286 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111801 | 161 | 8 | 33 | 20.125 | 0.881119 | 0.161491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
19acc2c9bdb2a93342b2cb12dd8bf848aeb9c717 | 30 | py | Python | test/run/t129.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t129.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t129.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | a = range(30)
print a[19::-7]
| 10 | 15 | 0.566667 | 7 | 30 | 2.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 30 | 2 | 16 | 15 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
270b62df5d23b4111e345ebac591347f75b25a99 | 149 | py | Python | migrations/0002.create-transfer-meter.py | androm3da/cloud-manager | 8ffc49957ce190827180550cfa749094c119f9e0 | [
"MIT"
] | null | null | null | migrations/0002.create-transfer-meter.py | androm3da/cloud-manager | 8ffc49957ce190827180550cfa749094c119f9e0 | [
"MIT"
] | null | null | null | migrations/0002.create-transfer-meter.py | androm3da/cloud-manager | 8ffc49957ce190827180550cfa749094c119f9e0 | [
"MIT"
] | null | null | null | from yoyo import step
step("""
CREATE TABLE transfer_meter (
uploaded BIGINT,
downloaded BIGINT);
""",
"""DROP TABLE transfer_meter""")
| 16.555556 | 36 | 0.671141 | 17 | 149 | 5.764706 | 0.705882 | 0.265306 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201342 | 149 | 8 | 37 | 18.625 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.644068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
274edd99a528ecebaa18d011a1d4d879b571bb86 | 63 | py | Python | config/__init__.py | zsennenga/flask-skeleton | 64124cc652787d3091a5f2b30fe2ee7749957e66 | [
"Apache-2.0"
] | null | null | null | config/__init__.py | zsennenga/flask-skeleton | 64124cc652787d3091a5f2b30fe2ee7749957e66 | [
"Apache-2.0"
] | null | null | null | config/__init__.py | zsennenga/flask-skeleton | 64124cc652787d3091a5f2b30fe2ee7749957e66 | [
"Apache-2.0"
] | null | null | null | from .config import Config
from .config_base import ConfigBase
| 21 | 35 | 0.84127 | 9 | 63 | 5.777778 | 0.555556 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 36 | 31.5 | 0.945455 | 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 |
27b32563588f7f7948faba9af4074484d5a775dd | 40 | py | Python | stringfuzz/mergers/__init__.py | vidorchany/dblotsky6 | 35b5f072831a251809a7a1a2900a13d9e10275fc | [
"MIT"
] | 16 | 2017-11-09T14:42:28.000Z | 2022-01-24T14:45:53.000Z | stringfuzz/mergers/__init__.py | vidorchany/dblotsky6 | 35b5f072831a251809a7a1a2900a13d9e10275fc | [
"MIT"
] | 41 | 2017-07-03T22:51:18.000Z | 2019-08-11T23:18:11.000Z | stringfuzz/mergers/__init__.py | vidorchany/dblotsky6 | 35b5f072831a251809a7a1a2900a13d9e10275fc | [
"MIT"
] | 8 | 2018-03-27T01:13:16.000Z | 2021-09-22T20:23:24.000Z | from stringfuzz.mergers.simple import *
| 20 | 39 | 0.825 | 5 | 40 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fdf311edef1908fc7966237dcdd8804563d50241 | 125 | py | Python | python3/prac/db/ies/exceptions.py | danielnyga/prac-dev | 107855cb9ddc294467098334725065b3937af150 | [
"BSD-2-Clause"
] | 3 | 2018-10-04T05:13:02.000Z | 2022-01-18T15:06:05.000Z | python3/prac/db/ies/exceptions.py | danielnyga/prac-dev | 107855cb9ddc294467098334725065b3937af150 | [
"BSD-2-Clause"
] | 2 | 2017-03-01T07:17:14.000Z | 2019-06-26T14:28:57.000Z | python3/prac/db/ies/exceptions.py | danielnyga/prac-dev | 107855cb9ddc294467098334725065b3937af150 | [
"BSD-2-Clause"
] | 2 | 2018-12-18T23:01:11.000Z | 2020-12-15T08:57:19.000Z | '''
Created on Sep 9, 2015
@author: seba
'''
class NoValidFrame(Exception): pass
class NoPredicateExtracted(Exception): pass | 17.857143 | 43 | 0.76 | 15 | 125 | 6.333333 | 0.8 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.12 | 125 | 7 | 43 | 17.857143 | 0.818182 | 0.296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
e309686d8e05886334b8b6bed5d2703a1cc7e493 | 32,460 | py | Python | modules/embedding.py | cskyan/bionlpsota | e950f2cfbce9d34547614e4962cbdb768f90a7f5 | [
"Apache-2.0"
] | null | null | null | modules/embedding.py | cskyan/bionlpsota | e950f2cfbce9d34547614e4962cbdb768f90a7f5 | [
"Apache-2.0"
] | null | null | null | modules/embedding.py | cskyan/bionlpsota | e950f2cfbce9d34547614e4962cbdb768f90a7f5 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding=utf-8 -*-
###########################################################################
# Copyright (C) 2013-2021 by Caspar. All rights reserved.
# File Name: embedding.py
# Author: Shankai Yan
# E-mail: dr.skyan@gmail.com
# Created Time: 2021-03-29 17:19:30
############################... | 82.59542 | 872 | 0.671257 | 4,782 | 32,460 | 4.295483 | 0.067963 | 0.020642 | 0.036707 | 0.049073 | 0.832433 | 0.803028 | 0.774305 | 0.744462 | 0.717979 | 0.685215 | 0 | 0.018404 | 0.181423 | 32,460 | 392 | 873 | 82.806122 | 0.754657 | 0.012015 | 0 | 0.439655 | 0 | 0 | 0.060772 | 0 | 0 | 0 | 0 | 0 | 0.014368 | 1 | 0.066092 | false | 0.005747 | 0.054598 | 0.002874 | 0.192529 | 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 |
e37cb7e10bc72e725ae8e893180ac04086f8ecdd | 560 | py | Python | Python Scripts/bokeh/script.py | jessequinn/udemy_python_megacourse | eb92153238860ddc6067bdd327d304e7dcffbfd0 | [
"MIT"
] | null | null | null | Python Scripts/bokeh/script.py | jessequinn/udemy_python_megacourse | eb92153238860ddc6067bdd327d304e7dcffbfd0 | [
"MIT"
] | null | null | null | Python Scripts/bokeh/script.py | jessequinn/udemy_python_megacourse | eb92153238860ddc6067bdd327d304e7dcffbfd0 | [
"MIT"
] | null | null | null | from bokeh.io import output_file, show
from bokeh.plotting import figure
# prepare some data
x = [3, 7.5, 10]
y = [3, 6, 9]
# prepare the output file
output_file("Line.html")
# create a figure object
f = figure()
# create line plot
f.triangle(x, y)
# write the plot in the figure object
show(f)
# Making a basic Bo... | 15.135135 | 38 | 0.683929 | 102 | 560 | 3.72549 | 0.343137 | 0.131579 | 0.078947 | 0.084211 | 0.736842 | 0.736842 | 0.736842 | 0.736842 | 0.736842 | 0.736842 | 0 | 0.035794 | 0.201786 | 560 | 36 | 39 | 15.555556 | 0.814318 | 0.476786 | 0 | 0.714286 | 0 | 0 | 0.064057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 |
e37f960890c8d5585316f906b61d40b9ac28761e | 32 | py | Python | utils/balance_weights.py | dumpmemory/SPPR | 0df749d000e50a64ae13c606072a902f19ecb251 | [
"MIT"
] | 62 | 2021-08-01T09:32:32.000Z | 2022-03-22T06:40:40.000Z | utils/balance_weights.py | dumpmemory/SPPR | 0df749d000e50a64ae13c606072a902f19ecb251 | [
"MIT"
] | 3 | 2021-10-17T10:51:07.000Z | 2022-02-05T12:44:39.000Z | utils/balance_weights.py | dumpmemory/SPPR | 0df749d000e50a64ae13c606072a902f19ecb251 | [
"MIT"
] | 9 | 2021-08-02T03:22:10.000Z | 2022-02-24T00:54:54.000Z | def balance_weights():
pass
| 10.666667 | 22 | 0.6875 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 23 | 16 | 0.84 | 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 |
8b94cadf01459d765085b60e1ec384bfe0fc6fd7 | 32 | py | Python | src/__init__.py | jbaron34/TorchWindow | 9538a162fc210e8abce75c2b8f1a4fee35af4328 | [
"MIT"
] | 1 | 2022-01-15T13:09:35.000Z | 2022-01-15T13:09:35.000Z | src/__init__.py | jbaron34/TorchWindow | 9538a162fc210e8abce75c2b8f1a4fee35af4328 | [
"MIT"
] | null | null | null | src/__init__.py | jbaron34/TorchWindow | 9538a162fc210e8abce75c2b8f1a4fee35af4328 | [
"MIT"
] | null | null | null | from .torchwindow import Window
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 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 |
8bec2421cef4d41fc25199459e5cd0bb57113baf | 38 | py | Python | unn/models/heads/keyp_head/__init__.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | 2 | 2021-08-08T11:23:14.000Z | 2021-09-16T04:05:23.000Z | unn/models/heads/keyp_head/__init__.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | 1 | 2021-08-08T11:25:47.000Z | 2021-08-08T11:26:15.000Z | unn/models/heads/keyp_head/__init__.py | zongdaoming/TinyTransformer | 8e64f8816117048c388b4b20e3a56760ce149fe3 | [
"Apache-2.0"
] | null | null | null | from .keyp_head import * # noqa F401
| 19 | 37 | 0.710526 | 6 | 38 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.210526 | 38 | 1 | 38 | 38 | 0.766667 | 0.236842 | 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 |
4743c6f2f95ba3682b61ce31a7f16bcce2ac8e3c | 273 | py | Python | dp_conceptual_search/ons/search/response/__init__.py | flaxandteal/dp-conceptual-search | 16c6383a61ba5b7069337c2626a0dc243bfe9d35 | [
"MIT"
] | 3 | 2018-05-10T16:49:27.000Z | 2022-03-29T15:23:04.000Z | dp_conceptual_search/ons/search/response/__init__.py | flaxandteal/dp-conceptual-search | 16c6383a61ba5b7069337c2626a0dc243bfe9d35 | [
"MIT"
] | 2 | 2018-09-20T06:37:27.000Z | 2018-11-12T12:05:08.000Z | dp_conceptual_search/ons/search/response/__init__.py | flaxandteal/dp-conceptual-search | 16c6383a61ba5b7069337c2626a0dc243bfe9d35 | [
"MIT"
] | 3 | 2018-06-25T10:48:43.000Z | 2021-04-11T08:01:27.000Z | from dp_conceptual_search.ons.search.response.search_result import SearchResult
from dp_conceptual_search.ons.search.response.content_query_result import ContentQueryResult
from dp_conceptual_search.ons.search.response.type_counts_query_result import TypeCountsQueryResult
| 68.25 | 99 | 0.912088 | 36 | 273 | 6.583333 | 0.416667 | 0.075949 | 0.202532 | 0.278481 | 0.493671 | 0.493671 | 0.493671 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 273 | 3 | 100 | 91 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
47c11e6e1b18ed00967a58b57cae6cec247f3c36 | 123 | py | Python | api/main/admin.py | sankha555/vaccination-portal | 448227560762d98954257cf5067ffb049be481ad | [
"MIT"
] | null | null | null | api/main/admin.py | sankha555/vaccination-portal | 448227560762d98954257cf5067ffb049be481ad | [
"MIT"
] | null | null | null | api/main/admin.py | sankha555/vaccination-portal | 448227560762d98954257cf5067ffb049be481ad | [
"MIT"
] | null | null | null | from django.contrib import admin
from main.models import Citizen, Vaccination
admin.site.register([Citizen, Vaccination])
| 24.6 | 44 | 0.821138 | 16 | 123 | 6.3125 | 0.6875 | 0.356436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 123 | 4 | 45 | 30.75 | 0.90991 | 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 | 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 |
47ee050a069630b600897afbfd9c2d0a65c171c7 | 40 | py | Python | python/cudf/cudf/window/__init__.py | rajkaramchedu-nvidia/cudf | b06e0ef22c5271697d0533c1bb0355964f51cc41 | [
"Apache-2.0"
] | null | null | null | python/cudf/cudf/window/__init__.py | rajkaramchedu-nvidia/cudf | b06e0ef22c5271697d0533c1bb0355964f51cc41 | [
"Apache-2.0"
] | 1 | 2020-10-23T17:44:07.000Z | 2020-10-23T17:44:07.000Z | python/cudf/cudf/window/__init__.py | rajkaramchedu-nvidia/cudf | b06e0ef22c5271697d0533c1bb0355964f51cc41 | [
"Apache-2.0"
] | null | null | null | from cudf.window.rolling import Rolling
| 20 | 39 | 0.85 | 6 | 40 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 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 |
7be5fe7f14363e6100e847c080410229bda5412a | 41 | py | Python | flare/utils/__init__.py | aaronchen0316/flare | 47a2a89af635dfec6b41a873625ac2411da14ebb | [
"MIT"
] | 144 | 2019-04-03T21:23:31.000Z | 2022-03-27T09:09:24.000Z | flare/utils/__init__.py | aaronchen0316/flare | 47a2a89af635dfec6b41a873625ac2411da14ebb | [
"MIT"
] | 217 | 2019-09-04T16:01:15.000Z | 2022-03-31T20:36:10.000Z | flare/utils/__init__.py | aaronchen0316/flare | 47a2a89af635dfec6b41a873625ac2411da14ebb | [
"MIT"
] | 46 | 2019-04-26T03:19:29.000Z | 2022-03-22T08:14:58.000Z | from .element_coder import NumpyEncoder
| 20.5 | 40 | 0.853659 | 5 | 41 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 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 |
d0292ee9cc957f6d36efc824ce8c5a0b78181a33 | 29 | py | Python | pelican-plugins/pelican-pcite/__init__.py | ForeverZyh/rwa | 634eeff0f30ff4912126e40e2639dd6fa4d9bde5 | [
"BSD-2-Clause"
] | 15 | 2017-07-25T12:44:02.000Z | 2021-04-13T22:17:16.000Z | pelican-plugins/pelican-pcite/__init__.py | ForeverZyh/rwa | 634eeff0f30ff4912126e40e2639dd6fa4d9bde5 | [
"BSD-2-Clause"
] | 2 | 2021-12-15T10:32:10.000Z | 2022-01-19T20:08:29.000Z | pelican-plugins/pelican-pcite/__init__.py | ForeverZyh/rwa | 634eeff0f30ff4912126e40e2639dd6fa4d9bde5 | [
"BSD-2-Clause"
] | 8 | 2018-03-15T18:11:52.000Z | 2022-01-19T19:59:51.000Z | from .pelican_pcite import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d075f15ca64c0044a5f398345024b461c0849e7b | 155 | py | Python | ann/dmrl/samplers/__init__.py | yt7589/iching | 6673da38f4c80e7fd297c86fedc5616aee8ac09b | [
"Apache-2.0"
] | 32 | 2020-04-14T08:32:18.000Z | 2022-02-09T07:05:08.000Z | ann/dmrl/samplers/__init__.py | yt7589/iching | 6673da38f4c80e7fd297c86fedc5616aee8ac09b | [
"Apache-2.0"
] | 1 | 2020-04-08T10:42:15.000Z | 2020-04-15T01:38:03.000Z | ann/dmrl/samplers/__init__.py | yt7589/iching | 6673da38f4c80e7fd297c86fedc5616aee8ac09b | [
"Apache-2.0"
] | 4 | 2020-08-25T03:56:46.000Z | 2021-05-11T05:55:51.000Z | from ann.dmrl.samplers.sampler import Sampler
from ann.dmrl.samplers.multi_task_sampler import MultiTaskSampler
__all__ = ['Sampler', 'MultiTaskSampler']
| 31 | 65 | 0.825806 | 19 | 155 | 6.421053 | 0.526316 | 0.114754 | 0.180328 | 0.311475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083871 | 155 | 4 | 66 | 38.75 | 0.859155 | 0 | 0 | 0 | 0 | 0 | 0.148387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d0f067c9e682cc69cd7573db191c60f8f0157e34 | 21 | py | Python | python_scheduler_experiment/__init__.py | MrFlynn/CS-Utilities | 9cc33024cb6229631daff802e231c505a05a2258 | [
"MIT"
] | 9 | 2020-09-29T13:41:30.000Z | 2020-10-11T17:30:12.000Z | python_scheduler_experiment/__init__.py | MrFlynn/CS-Utilities | 9cc33024cb6229631daff802e231c505a05a2258 | [
"MIT"
] | 70 | 2020-09-29T02:05:19.000Z | 2020-10-23T18:41:34.000Z | app/__init__.py | fatihint/lugatrap | 868bd34517eb325591eba96af8176bc4ad5b0fb6 | [
"Apache-2.0"
] | 36 | 2020-09-29T04:03:09.000Z | 2020-10-23T18:01:16.000Z | from .app import App
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef9b4b45625223c5254b3ffd2935fe35368185ef | 5,601 | py | Python | tests/test_project_api.py | shawat94/maproulette-python-client | 1bac9c8a2f80eee2cc69710f5abd29a03cb707f8 | [
"Apache-2.0"
] | null | null | null | tests/test_project_api.py | shawat94/maproulette-python-client | 1bac9c8a2f80eee2cc69710f5abd29a03cb707f8 | [
"Apache-2.0"
] | null | null | null | tests/test_project_api.py | shawat94/maproulette-python-client | 1bac9c8a2f80eee2cc69710f5abd29a03cb707f8 | [
"Apache-2.0"
] | null | null | null | import maproulette
import unittest
from tests.sample_data import test_geojson, test_overpassQL_query
from unittest.mock import patch
class TestProjectAPI(unittest.TestCase):
config = maproulette.Configuration(api_key="API_KEY")
api = maproulette.Project(config)
@patch('maproulette.api.maproulette_server... | 54.378641 | 105 | 0.711659 | 673 | 5,601 | 5.572065 | 0.111441 | 0.0792 | 0.055733 | 0.088 | 0.835467 | 0.825333 | 0.813867 | 0.813867 | 0.769867 | 0.747467 | 0 | 0.025305 | 0.195679 | 5,601 | 102 | 106 | 54.911765 | 0.807103 | 0 | 0 | 0.5 | 0 | 0 | 0.180503 | 0.109088 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0.011364 | 0.045455 | 0 | 0.204545 | 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 |
efc60b1460366f339de2f110815d3e9f85ca7ff9 | 8,801 | py | Python | pmod/dataloader/pmod_dataset.py | shikishima-TasakiLab/pmod-net | 7cbd5e597a4ac49fff2f0eeb3ff06fd63395eee1 | [
"MIT"
] | 1 | 2022-03-02T15:42:50.000Z | 2022-03-02T15:42:50.000Z | pmod/dataloader/pmod_dataset.py | shikishima-TasakiLab/pmod-net | 7cbd5e597a4ac49fff2f0eeb3ff06fd63395eee1 | [
"MIT"
] | null | null | null | pmod/dataloader/pmod_dataset.py | shikishima-TasakiLab/pmod-net | 7cbd5e597a4ac49fff2f0eeb3ff06fd63395eee1 | [
"MIT"
] | null | null | null | from types import MethodType
import os
import numpy as np
import cv2
from pointsmap import invertTransform, combineTransforms
from h5dataloader.common.structure import *
from h5dataloader.common.create_funcs import NORMALIZE_INF
from h5dataloader.pytorch import HDF5Dataset
from h5dataloader.pytorch.structure import CON... | 46.321053 | 174 | 0.610385 | 1,169 | 8,801 | 4.349872 | 0.134303 | 0.046018 | 0.00944 | 0.00944 | 0.811996 | 0.79823 | 0.779351 | 0.758112 | 0.74238 | 0.736873 | 0 | 0.022895 | 0.275423 | 8,801 | 189 | 175 | 46.566138 | 0.774502 | 0.069424 | 0 | 0.616541 | 0 | 0 | 0.000249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067669 | false | 0 | 0.082707 | 0 | 0.218045 | 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 |
4be5e4476a5e065b95ab31bb8827dac498ffa8f1 | 223 | py | Python | build/external/overlay/usr/share/Rosehip/startup.py | donno2048/CITUR | 5262d190ff57e7e54adb3bb141ce1262df11ec50 | [
"MIT"
] | 1 | 2020-10-27T14:12:54.000Z | 2020-10-27T14:12:54.000Z | build/external/overlay/usr/share/Rosehip/startup.py | donno2048/CITUR | 5262d190ff57e7e54adb3bb141ce1262df11ec50 | [
"MIT"
] | null | null | null | build/external/overlay/usr/share/Rosehip/startup.py | donno2048/CITUR | 5262d190ff57e7e54adb3bb141ce1262df11ec50 | [
"MIT"
] | null | null | null | class Command:
def run(self):raise NotImplementedError
def __repr__(self):return self.run()
class ROSEHIP(Command):
def run(self):
from Rosehip.os import OS
return OS().run()
rosehip = ROSEHIP()
| 24.777778 | 43 | 0.668161 | 29 | 223 | 5 | 0.448276 | 0.137931 | 0.17931 | 0.234483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219731 | 223 | 8 | 44 | 27.875 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.125 | 0.875 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4bed2cc944e5364b8d06d87c450e81d64bc176ef | 44 | py | Python | test.py | saxari/Network_slimming | aa607d76394f247aef4b67ba7b6297f8e0e01464 | [
"MIT"
] | null | null | null | test.py | saxari/Network_slimming | aa607d76394f247aef4b67ba7b6297f8e0e01464 | [
"MIT"
] | null | null | null | test.py | saxari/Network_slimming | aa607d76394f247aef4b67ba7b6297f8e0e01464 | [
"MIT"
] | null | null | null | import torch
import numpy
import torchvision | 14.666667 | 18 | 0.886364 | 6 | 44 | 6.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 3 | 18 | 14.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4bf858a44eabe96ef2706c1ad475be4bf40df9dc | 5,771 | py | Python | saefportal/restapi/tests/test_job_session.py | harry-consulting/SAEF | 12ef43bbcc3178b8a988e21c1bef035881cf6e6d | [
"BSD-2-Clause"
] | 4 | 2020-12-16T13:14:26.000Z | 2022-03-26T08:54:12.000Z | saefportal/restapi/tests/test_job_session.py | harry-consulting/SAEF | 12ef43bbcc3178b8a988e21c1bef035881cf6e6d | [
"BSD-2-Clause"
] | 1 | 2022-03-26T09:09:04.000Z | 2022-03-26T09:09:04.000Z | saefportal/restapi/tests/test_job_session.py | harry-consulting/SAEF | 12ef43bbcc3178b8a988e21c1bef035881cf6e6d | [
"BSD-2-Clause"
] | 1 | 2020-12-16T13:20:17.000Z | 2020-12-16T13:20:17.000Z | import copy
from django.test import tag
from rest_framework.test import APIClient, APITestCase
from users.models import User
from saef.models import JobSession
from saefportal.settings import MSG_ERROR_INVALID_INPUT, MSG_ERROR_REQUIRED_INPUT, MSG_ERROR_MISSING_OBJECT_INPUT, \
MSG_ERROR_EXISTING
from utils.test_uti... | 48.495798 | 120 | 0.671461 | 651 | 5,771 | 5.721966 | 0.136713 | 0.047248 | 0.098792 | 0.048322 | 0.867114 | 0.854228 | 0.854228 | 0.831678 | 0.818792 | 0.797315 | 0 | 0.024678 | 0.20655 | 5,771 | 118 | 121 | 48.90678 | 0.788819 | 0 | 0 | 0.684211 | 0 | 0 | 0.242246 | 0.048518 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.136842 | false | 0 | 0.073684 | 0 | 0.231579 | 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 |
ef0af28d5fbaf9d6d3d81d8a25278db03c4af1b2 | 40 | py | Python | wavelet/exceptions/__init__.py | AP-Atul/wavelets | cff71e777759844b35f8e96f14930b2c71a215a1 | [
"MIT"
] | 5 | 2021-02-01T07:43:39.000Z | 2022-03-25T05:01:31.000Z | wavelet/exceptions/__init__.py | AP-Atul/wavelets | cff71e777759844b35f8e96f14930b2c71a215a1 | [
"MIT"
] | null | null | null | wavelet/exceptions/__init__.py | AP-Atul/wavelets | cff71e777759844b35f8e96f14930b2c71a215a1 | [
"MIT"
] | null | null | null | from wavelet.exceptions.custom import *
| 20 | 39 | 0.825 | 5 | 40 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef304007bdd80b94dcf8acb0fff511909a5c9651 | 5,640 | py | Python | tests/providers/trino/transfers/test_gcs_trino.py | npodewitz/airflow | 511ea702d5f732582d018dad79754b54d5e53f9d | [
"Apache-2.0"
] | 8,092 | 2016-04-27T20:32:29.000Z | 2019-01-05T07:39:33.000Z | tests/providers/trino/transfers/test_gcs_trino.py | npodewitz/airflow | 511ea702d5f732582d018dad79754b54d5e53f9d | [
"Apache-2.0"
] | 2,961 | 2016-05-05T07:16:16.000Z | 2019-01-05T08:47:59.000Z | tests/providers/trino/transfers/test_gcs_trino.py | npodewitz/airflow | 511ea702d5f732582d018dad79754b54d5e53f9d | [
"Apache-2.0"
] | 3,546 | 2016-05-04T20:33:16.000Z | 2019-01-05T05:14:26.000Z | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 38.630137 | 104 | 0.72039 | 727 | 5,640 | 5.198074 | 0.188446 | 0.041281 | 0.030961 | 0.087325 | 0.719767 | 0.719767 | 0.719767 | 0.709182 | 0.709182 | 0.698598 | 0 | 0.004441 | 0.201596 | 5,640 | 145 | 105 | 38.896552 | 0.834777 | 0.133333 | 0 | 0.732673 | 0 | 0 | 0.154209 | 0.119507 | 0 | 0 | 0 | 0 | 0.118812 | 1 | 0.029703 | false | 0 | 0.029703 | 0 | 0.069307 | 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 |
ef3f969bc5009aec15542689595bcb7d826a614a | 31 | py | Python | src/pg_facile/__init__.py | pgrabolosa/pg-facile | 1bb772fec43c21d42df1ba304420c4ba082c999b | [
"MIT"
] | 1 | 2021-08-08T12:25:18.000Z | 2021-08-08T12:25:18.000Z | src/pg_facile/__init__.py | pgrabolosa/pg-facile | 1bb772fec43c21d42df1ba304420c4ba082c999b | [
"MIT"
] | 4 | 2019-01-02T16:22:55.000Z | 2019-01-10T20:15:12.000Z | src/pg_facile/__init__.py | pgrabolosa/pg-facile | 1bb772fec43c21d42df1ba304420c4ba082c999b | [
"MIT"
] | 2 | 2021-03-25T12:48:44.000Z | 2021-08-21T20:12:52.000Z | from .database import Database
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3260cb3210711d0ff5eb0eea826c78ea04cea096 | 278 | py | Python | Py Learning/4. Operators/booleanoperator.py | MahmudX/TestSharp | 62d0edfbc420c808ca50d25daaee8f26258c3c28 | [
"MIT"
] | null | null | null | Py Learning/4. Operators/booleanoperator.py | MahmudX/TestSharp | 62d0edfbc420c808ca50d25daaee8f26258c3c28 | [
"MIT"
] | null | null | null | Py Learning/4. Operators/booleanoperator.py | MahmudX/TestSharp | 62d0edfbc420c808ca50d25daaee8f26258c3c28 | [
"MIT"
] | null | null | null | a = 5
b = 10
L = [1,2,3,4,5]
if b is not a:
print('True')
else:
print('False')
if b not in L:
print('True')
else:
print('False')
if a in L:
print('True')
else:
print('False')
if b is a:
print('True')
else:
print('False') | 12.086957 | 19 | 0.478417 | 48 | 278 | 2.770833 | 0.354167 | 0.270677 | 0.390977 | 0.541353 | 0.81203 | 0.81203 | 0.62406 | 0.421053 | 0 | 0 | 0 | 0.043956 | 0.345324 | 278 | 23 | 20 | 12.086957 | 0.686813 | 0 | 0 | 0.631579 | 0 | 0 | 0.140078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.421053 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3260ee6903419a3f7ddcc731bc0d98e6f9f2f6fd | 118 | py | Python | tests/context.py | jamalmoir/clrs | c7ff96a29a6b0819599e0c8819b1bd66419d4e33 | [
"MIT"
] | null | null | null | tests/context.py | jamalmoir/clrs | c7ff96a29a6b0819599e0c8819b1bd66419d4e33 | [
"MIT"
] | null | null | null | tests/context.py | jamalmoir/clrs | c7ff96a29a6b0819599e0c8819b1bd66419d4e33 | [
"MIT"
] | null | null | null | import os
import sys
sys.path.insert(0, os.path.abspath('..'))
import clrs
import clrs.searching
import clrs.sorting
| 14.75 | 41 | 0.762712 | 19 | 118 | 4.736842 | 0.526316 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.110169 | 118 | 7 | 42 | 16.857143 | 0.847619 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
3271e98f946c283188d8248a505ee2860c2786ed | 119 | py | Python | src/westpa/oldtools/stats/__init__.py | jdrusso/westpa_test | 3383b59a5a6ec5401415e74eb5a7fc61e4b3abbc | [
"MIT"
] | 1 | 2021-03-19T19:58:07.000Z | 2021-03-19T19:58:07.000Z | src/westpa/oldtools/stats/__init__.py | jdrusso/westpa_test | 3383b59a5a6ec5401415e74eb5a7fc61e4b3abbc | [
"MIT"
] | 4 | 2022-01-24T18:13:36.000Z | 2022-02-18T06:19:05.000Z | src/westpa/oldtools/stats/__init__.py | SHZ66/westpa | c91711bf8f1f75359c0d4d28765a6d587dfd6adc | [
"MIT"
] | 1 | 2021-01-09T22:46:25.000Z | 2021-01-09T22:46:25.000Z | from . import accumulator # noqa
from .accumulator import RunningStatsAccumulator # noqa
from . import mcbs # noqa
| 23.8 | 56 | 0.764706 | 13 | 119 | 7 | 0.461538 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184874 | 119 | 4 | 57 | 29.75 | 0.938144 | 0.117647 | 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 |
08b0068e669affff79bcc916df1037b494ebd8cf | 296 | py | Python | chainervr/models/deep_episodic_memory/__init__.py | otsubo/chainervr | 92ab44ea68ed930342698e9da1809eca2ac064f7 | [
"MIT"
] | 7 | 2018-07-31T02:18:52.000Z | 2021-01-22T05:14:35.000Z | chainervr/models/deep_episodic_memory/__init__.py | otsubo/chainervr | 92ab44ea68ed930342698e9da1809eca2ac064f7 | [
"MIT"
] | 1 | 2018-08-20T13:37:17.000Z | 2018-08-20T13:37:17.000Z | chainervr/models/deep_episodic_memory/__init__.py | otsubo/chainervr | 92ab44ea68ed930342698e9da1809eca2ac064f7 | [
"MIT"
] | 1 | 2018-08-20T13:33:04.000Z | 2018-08-20T13:33:04.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: Yuki Furuta <furushchev@jsk.imi.i.u-tokyo.ac.jp>
from .deep_episodic_memory_encoder import DeepEpisodicMemoryEncoder
from .deep_episodic_memory_decoder import DeepEpisodicMemoryDecoder
from .deep_episodic_memory import DeepEpisodicMemory
| 32.888889 | 67 | 0.817568 | 38 | 296 | 6.157895 | 0.736842 | 0.102564 | 0.205128 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003704 | 0.087838 | 296 | 8 | 68 | 37 | 0.862963 | 0.334459 | 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 |
3ec47d4a3838c773c737e67e2985e34cb89e9740 | 175 | py | Python | cgxsh_create_defaultconfig.py | ebob9/cgxsh | 0682922bae4354d2e306147e314dd309da968059 | [
"MIT"
] | null | null | null | cgxsh_create_defaultconfig.py | ebob9/cgxsh | 0682922bae4354d2e306147e314dd309da968059 | [
"MIT"
] | 3 | 2020-02-10T00:01:18.000Z | 2022-03-28T00:26:45.000Z | cgxsh_create_defaultconfig.py | ebob9/cgxsh | 0682922bae4354d2e306147e314dd309da968059 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
from cgxsh_lib.file_crypto import create_config_file
if __name__ == '__main__':
sys.exit(create_config_file())
| 19.444444 | 52 | 0.72 | 26 | 175 | 4.307692 | 0.769231 | 0.214286 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.137143 | 175 | 8 | 53 | 21.875 | 0.728477 | 0.245714 | 0 | 0 | 0 | 0 | 0.061538 | 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 |
f5c2383c9ffdd7512e4c3c8748ebdce9ef29930e | 3,917 | py | Python | zehao_origin/temp.py | extrsun/dusty_plasma | d1653c3a29065688dfe1281d7c3d6f8c9f830f92 | [
"MIT"
] | null | null | null | zehao_origin/temp.py | extrsun/dusty_plasma | d1653c3a29065688dfe1281d7c3d6f8c9f830f92 | [
"MIT"
] | null | null | null | zehao_origin/temp.py | extrsun/dusty_plasma | d1653c3a29065688dfe1281d7c3d6f8c9f830f92 | [
"MIT"
] | null | null | null | import pyatomdb, numpy, pickle,pylab,dust
import matplotlib.pyplot as plt
from constants import *
dat1=pickle.load(open('data_package/ionfrac_95_v3.0.8.pkl','rb'))
taulist=dat1['taulist']
telist=dat1['telist']
dat2=pickle.load(open('data_package/ionfrac_0_v3.0.8.pkl','rb'))
y1=[]
#tau=linspace(1,1e13,1001)
plt.figur... | 19.107317 | 65 | 0.659433 | 732 | 3,917 | 3.512295 | 0.125683 | 0.032672 | 0.054454 | 0.034228 | 0.978219 | 0.973162 | 0.939712 | 0.939712 | 0.929599 | 0.929599 | 0 | 0.071655 | 0.112841 | 3,917 | 204 | 66 | 19.20098 | 0.668201 | 0.015063 | 0 | 0 | 0 | 0 | 0.257396 | 0.14645 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.130435 | 0 | 0.130435 | 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 |
f5e6bb9514f2e7ea3b51a6358536a5f8277c06ac | 201 | py | Python | tests/test_whitelist.py | lodow/disposable-email-domains | f56dc339d1df0d86e465a6e140030efe82f30aa3 | [
"MIT"
] | null | null | null | tests/test_whitelist.py | lodow/disposable-email-domains | f56dc339d1df0d86e465a6e140030efe82f30aa3 | [
"MIT"
] | null | null | null | tests/test_whitelist.py | lodow/disposable-email-domains | f56dc339d1df0d86e465a6e140030efe82f30aa3 | [
"MIT"
] | null | null | null | from disposable_email_domains import whitelist
def test_whitelist_inclusion():
assert 'spamcannon.com' in whitelist
def test_whitelist_exclusion():
assert 'spamcowboy.com' not in whitelist
| 20.1 | 46 | 0.79602 | 25 | 201 | 6.16 | 0.64 | 0.155844 | 0.207792 | 0.324675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144279 | 201 | 9 | 47 | 22.333333 | 0.895349 | 0 | 0 | 0 | 0 | 0 | 0.139303 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f5f1a547888bf9cc46382ebee2cf1f3de034b9ab | 332 | py | Python | PythonReusables/SwapElementSeries.py | limitedeternity/some-gists | c9e3279a0e2c1eef2b10b28f61176ac7a7ffa1fe | [
"MIT"
] | 4 | 2019-12-15T17:17:35.000Z | 2022-01-08T22:28:54.000Z | PythonReusables/SwapElementSeries.py | limitedeternity/some-gists | c9e3279a0e2c1eef2b10b28f61176ac7a7ffa1fe | [
"MIT"
] | null | null | null | PythonReusables/SwapElementSeries.py | limitedeternity/some-gists | c9e3279a0e2c1eef2b10b28f61176ac7a7ffa1fe | [
"MIT"
] | null | null | null | def swap(L, K):
return [L[:a]+[L[b]]*(B-b+1)+L[A+1:b]+[L[a]]*(A-a+1)+L[B+1:] for (a, A), (b, B) in [(lambda g: [g[2*k:2*k+2] for k in sorted(K)])([i for i, x in enumerate(L) if L[max(0,i-1):i+2].count(x) == 2])]][0]
# swap([2, 2, 4, 8, 8, 6, 1, 5, 5, 5, 2, 8, 6, 3, 4], (1, 2)) --> [2, 2, 4, 5, 5, 5, 6, 1, 8, 8, 2,... | 83 | 203 | 0.427711 | 95 | 332 | 1.494737 | 0.273684 | 0.056338 | 0.042254 | 0.056338 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164794 | 0.195783 | 332 | 4 | 204 | 83 | 0.367041 | 0.328313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
de30665a00c24e9136058cc18555e2f312bb11ed | 152 | py | Python | 7KYU/is_same_language.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 4 | 2021-07-17T22:48:03.000Z | 2022-03-25T14:10:58.000Z | 7KYU/is_same_language.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 7KYU/is_same_language.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 3 | 2021-06-14T14:18:16.000Z | 2022-03-16T06:02:02.000Z | from typing import List
def is_same_language(lst: List[dict]) -> bool:
return True if len(set([i['language'] for i in lst])) == 1 else False
| 25.333333 | 73 | 0.657895 | 26 | 152 | 3.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.210526 | 152 | 6 | 74 | 25.333333 | 0.808333 | 0 | 0 | 0 | 0 | 0 | 0.052288 | 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 |
de773868938f7e6469095ffeaa9be1ea86370404 | 339 | py | Python | world-1/3-3-print.py | udanielnogueira/Python.CursoEmVideo | 3783af84813d9fa785eee61180793a15754c79b3 | [
"MIT"
] | null | null | null | world-1/3-3-print.py | udanielnogueira/Python.CursoEmVideo | 3783af84813d9fa785eee61180793a15754c79b3 | [
"MIT"
] | null | null | null | world-1/3-3-print.py | udanielnogueira/Python.CursoEmVideo | 3783af84813d9fa785eee61180793a15754c79b3 | [
"MIT"
] | null | null | null | nome = input('Digite seu nome: ')
print('Olha isso {:20}!' .format(nome)) # 20 espaços
print('Olha isso {:>20}!' .format(nome)) # alinhado à direita
print('Olha isso {:<20}!' .format(nome)) # alinhado à esquerda
print('Olha isso {:^20}!' .format(nome)) # centralizado
print('Olha isso {:=^20}!' .format(nome)) # central... | 42.375 | 69 | 0.660767 | 47 | 339 | 4.765957 | 0.361702 | 0.200893 | 0.290179 | 0.334821 | 0.745536 | 0.745536 | 0.633929 | 0.303571 | 0 | 0 | 0 | 0.040678 | 0.129794 | 339 | 7 | 70 | 48.428571 | 0.718644 | 0.259587 | 0 | 0 | 0 | 0 | 0.416327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.833333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 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 |
defaab053ec76605697b1f234a9e1b2808693985 | 201 | py | Python | template/Url.py | cobranail/dencodefun | 1451441ad8b5340dbad1410bc94b25cb6f80a208 | [
"MIT"
] | null | null | null | template/Url.py | cobranail/dencodefun | 1451441ad8b5340dbad1410bc94b25cb6f80a208 | [
"MIT"
] | null | null | null | template/Url.py | cobranail/dencodefun | 1451441ad8b5340dbad1410bc94b25cb6f80a208 | [
"MIT"
] | null | null | null | import urllib.parse
setting={
}
def encode(content='', setting={}):
return urllib.parse.quote_plus(content)
def decode(content='', setting={}):
return urllib.parse.unquote_plus(content)
| 13.4 | 45 | 0.696517 | 24 | 201 | 5.75 | 0.5 | 0.23913 | 0.289855 | 0.376812 | 0.449275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144279 | 201 | 14 | 46 | 14.357143 | 0.802326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
7219d3421d7af88c565219843f10456426f853f4 | 107 | py | Python | app/api/__init__.py | saury2013/online_book | 53cf56b6a8e088011224559e90be4d23b2f604f9 | [
"MIT"
] | null | null | null | app/api/__init__.py | saury2013/online_book | 53cf56b6a8e088011224559e90be4d23b2f604f9 | [
"MIT"
] | 5 | 2021-03-18T20:34:55.000Z | 2022-03-11T23:24:30.000Z | app/api/__init__.py | saury2013/online_book | 53cf56b6a8e088011224559e90be4d23b2f604f9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import Blueprint
api = Blueprint("api", __name__)
import app.api.views | 17.833333 | 32 | 0.691589 | 15 | 107 | 4.666667 | 0.733333 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.149533 | 107 | 6 | 33 | 17.833333 | 0.758242 | 0.196262 | 0 | 0 | 0 | 0 | 0.035294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
a0d30d1ed5e4aea5a05b5b50fb13b055103f1ebf | 12,758 | py | Python | .c9/metadata/workspace/pset6/mario.py | Caleb-Ellis/CS50 | 469a4f5d85a3f149aef19570b4b968c41147e7fd | [
"MIT"
] | 1 | 2018-08-16T12:37:43.000Z | 2018-08-16T12:37:43.000Z | .c9/metadata/workspace/pset6/mario.py | Caleb-Ellis/CS50x | 469a4f5d85a3f149aef19570b4b968c41147e7fd | [
"MIT"
] | null | null | null | .c9/metadata/workspace/pset6/mario.py | Caleb-Ellis/CS50x | 469a4f5d85a3f149aef19570b4b968c41147e7fd | [
"MIT"
] | 1 | 2017-02-20T20:15:04.000Z | 2017-02-20T20:15:04.000Z | {"filter":false,"title":"mario.py","tooltip":"/pset6/mario.py","undoManager":{"mark":100,"position":100,"stack":[[{"start":{"row":12,"column":0},"end":{"row":12,"column":4},"action":"remove","lines":[" "],"id":514}],[{"start":{"row":8,"column":8},"end":{"row":8,"column":9},"action":"insert","lines":[":"],"id":515}],... | 12,758 | 12,758 | 0.531745 | 1,866 | 12,758 | 3.635584 | 0.107717 | 0.14033 | 0.162883 | 0.059404 | 0.734375 | 0.651975 | 0.590654 | 0.566333 | 0.550855 | 0.46816 | 0 | 0.086843 | 0.013482 | 12,758 | 1 | 12,758 | 12,758 | 0.452169 | 0 | 0 | 0 | 0 | 0 | 0.457011 | 0.003135 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a0e2382e96b9f0577d88489d6b18d87b0a87fca7 | 173 | py | Python | backend/wmg/data/validation.py | chanzuckerberg/dcp-prototype | 24d2323ba5ae1482395da35ea11c42708e3a52ce | [
"MIT"
] | 2 | 2020-02-07T18:12:12.000Z | 2020-02-11T14:59:03.000Z | backend/wmg/data/validation.py | HumanCellAtlas/dcp-prototype | 44ca66a266004124f39d7d3e3dd75e9076012ff0 | [
"MIT"
] | 173 | 2020-01-29T17:48:02.000Z | 2020-03-20T02:52:58.000Z | backend/wmg/data/validation.py | HumanCellAtlas/dcp-prototype | 44ca66a266004124f39d7d3e3dd75e9076012ff0 | [
"MIT"
] | 1 | 2020-03-20T17:06:54.000Z | 2020-03-20T17:06:54.000Z | import anndata
def validate_corpus_load(anndata_object: anndata.AnnData, group_name: str, dataset_id: str):
"""
Validate that the load looks sane
"""
pass
| 19.222222 | 92 | 0.705202 | 23 | 173 | 5.086957 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208092 | 173 | 8 | 93 | 21.625 | 0.854015 | 0.190751 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9d0f84f9935df192f97c22d13b5fb5da79037d3d | 69 | py | Python | esp_debug_adapter/tests/testing_tools/__init__.py | jrroches/vscode-esp-idf-extension | ce552e4e6296f5a5b450d0fd6396f05c513f27b7 | [
"Apache-2.0"
] | 2 | 2020-04-14T04:10:47.000Z | 2020-04-14T04:10:52.000Z | esp_debug_adapter/tests/testing_tools/__init__.py | jrroches/vscode-esp-idf-extension | ce552e4e6296f5a5b450d0fd6396f05c513f27b7 | [
"Apache-2.0"
] | null | null | null | esp_debug_adapter/tests/testing_tools/__init__.py | jrroches/vscode-esp-idf-extension | ce552e4e6296f5a5b450d0fd6396f05c513f27b7 | [
"Apache-2.0"
] | null | null | null | from . import class_json
from . import etc
from . import xmlrunner_c
| 17.25 | 25 | 0.782609 | 11 | 69 | 4.727273 | 0.636364 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 26 | 23 | 0.912281 | 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 |
9d1258c433a29aed1718fc0b93bbc8e297e1e32a | 155 | py | Python | tests/test_parse.py | timgates42/python-registry | c028c7fca99aaed835490ada8d43dfea42811d3c | [
"Apache-2.0"
] | 326 | 2015-01-10T20:48:33.000Z | 2022-03-14T07:59:58.000Z | tests/test_parse.py | timgates42/python-registry | c028c7fca99aaed835490ada8d43dfea42811d3c | [
"Apache-2.0"
] | 70 | 2015-01-02T19:29:31.000Z | 2021-06-17T16:32:03.000Z | tests/test_parse.py | timgates42/python-registry | c028c7fca99aaed835490ada8d43dfea42811d3c | [
"Apache-2.0"
] | 108 | 2015-01-07T18:20:45.000Z | 2022-03-05T15:26:06.000Z | import Registry
from fixtures import *
def test_file_type(hive):
assert hive._regf.file_type() == Registry.RegistryParse.FileType.FILE_TYPE_PRIMARY
| 19.375 | 86 | 0.793548 | 21 | 155 | 5.571429 | 0.666667 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122581 | 155 | 7 | 87 | 22.142857 | 0.860294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d2b4625a6b096d8bf91687d798c4ede44a34b5e | 306 | py | Python | exercises/ja/test_01_03_02.py | YanaPalacheva/spacy-course | 59975f7348a601532303be91474d75d02d0540ef | [
"MIT"
] | 1 | 2021-12-30T06:40:11.000Z | 2021-12-30T06:40:11.000Z | exercises/ja/test_01_03_02.py | YanaPalacheva/spacy-course | 59975f7348a601532303be91474d75d02d0540ef | [
"MIT"
] | null | null | null | exercises/ja/test_01_03_02.py | YanaPalacheva/spacy-course | 59975f7348a601532303be91474d75d02d0540ef | [
"MIT"
] | 1 | 2020-06-08T13:26:06.000Z | 2020-06-08T13:26:06.000Z | def test():
assert doc.text == "I like tree kangaroos and narwhals.", "テキストをちゃんと処理しましたか?"
assert tree_kangaroos == doc[2:4], "tree_kangaroosのスパンを選択しましたか?"
assert (
tree_kangaroos_and_narwhals == doc[2:6]
), "tree_kangaroos_and_narwhalsのスパンをせんたくしましたか?"
__msg__.good("Good job!")
| 38.25 | 81 | 0.696078 | 36 | 306 | 5.583333 | 0.555556 | 0.258706 | 0.238806 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.176471 | 306 | 7 | 82 | 43.714286 | 0.781746 | 0 | 0 | 0 | 0 | 0 | 0.424837 | 0.22549 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.142857 | true | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9d450f574ff1c9729aab6734d98643e9c51b50f2 | 57 | py | Python | scibotpark/mujoco/__init__.py | Shiduo-zh/pybulletSim | a51c71adc328d2071d7faf53e4bc5cd695f03ab2 | [
"MIT"
] | null | null | null | scibotpark/mujoco/__init__.py | Shiduo-zh/pybulletSim | a51c71adc328d2071d7faf53e4bc5cd695f03ab2 | [
"MIT"
] | null | null | null | scibotpark/mujoco/__init__.py | Shiduo-zh/pybulletSim | a51c71adc328d2071d7faf53e4bc5cd695f03ab2 | [
"MIT"
] | null | null | null | print("mujoco imported, but nothing is implemented, yet") | 57 | 57 | 0.789474 | 8 | 57 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 1 | 57 | 57 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
9d5ce7d98ff4a3ad6d4cee79029a5336a10fd42b | 1,335 | py | Python | fastapi_vo/utils.py | rennancockles/fastapi-vo | 5bf99355c68a3f9e57e4347e381767d7d63023f3 | [
"MIT"
] | 2 | 2021-09-03T04:46:10.000Z | 2021-09-27T01:44:42.000Z | fastapi_vo/utils.py | rennancockles/fastapi-vo | 5bf99355c68a3f9e57e4347e381767d7d63023f3 | [
"MIT"
] | null | null | null | fastapi_vo/utils.py | rennancockles/fastapi-vo | 5bf99355c68a3f9e57e4347e381767d7d63023f3 | [
"MIT"
] | null | null | null | from typing import Sequence, Type, Union
from pydantic import BaseModel
def Omit(
model: Type[BaseModel], fields: Union[str, Sequence[str]], *, classname: str = None
) -> Type[BaseModel]:
def _format_fields(fields):
if isinstance(fields, str):
return set((fields,))
else:
... | 24.722222 | 87 | 0.642697 | 156 | 1,335 | 5.115385 | 0.217949 | 0.137845 | 0.106516 | 0.06015 | 0.859649 | 0.859649 | 0.859649 | 0.859649 | 0.859649 | 0.859649 | 0 | 0 | 0.252434 | 1,335 | 53 | 88 | 25.188679 | 0.799599 | 0 | 0 | 0.684211 | 0 | 0 | 0.014981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.315789 | 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 |
19cc93b63ccbef43ad863bcbf9fce765876cf19b | 193 | py | Python | Text Analysis and GCP Deployment/conftest.py | Cedric-Liu/Coding-Journal | 3e2eeb8fc0e907e0012d6e235ddb8f13773b6969 | [
"MIT"
] | 2 | 2019-02-26T11:09:44.000Z | 2019-05-11T23:26:32.000Z | Text Analysis and GCP Deployment/conftest.py | Cedric-Liu/Coding-Journal | 3e2eeb8fc0e907e0012d6e235ddb8f13773b6969 | [
"MIT"
] | null | null | null | Text Analysis and GCP Deployment/conftest.py | Cedric-Liu/Coding-Journal | 3e2eeb8fc0e907e0012d6e235ddb8f13773b6969 | [
"MIT"
] | null | null | null | import os
import pytest
@pytest.fixture
def rootdir():
return os.path.dirname(os.path.abspath(__file__))
@pytest.fixture
def datadir(rootdir):
return os.path.join(rootdir, 'data')
| 13.785714 | 53 | 0.725389 | 27 | 193 | 5.037037 | 0.518519 | 0.132353 | 0.235294 | 0.279412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145078 | 193 | 13 | 54 | 14.846154 | 0.824242 | 0 | 0 | 0.25 | 0 | 0 | 0.020725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 |
c2248eaf645208389b1ed4d2b0cf6906d4152166 | 59 | py | Python | App/Models/comment.py | pyworksasia/pyworks | 01aefa9e7db4c980dc7518f40a84b99d6137f906 | [
"Apache-2.0"
] | 19 | 2015-06-05T23:26:37.000Z | 2022-02-15T14:10:17.000Z | App/Models/comment.py | pyworksasia/pyworks | 01aefa9e7db4c980dc7518f40a84b99d6137f906 | [
"Apache-2.0"
] | 30 | 2015-05-01T03:23:01.000Z | 2021-11-03T17:18:39.000Z | App/Models/comment.py | pyworksasia/pyworks | 01aefa9e7db4c980dc7518f40a84b99d6137f906 | [
"Apache-2.0"
] | 5 | 2016-03-09T19:15:41.000Z | 2018-09-04T12:49:59.000Z | from orator import Model
class Comment(Model):
pass
| 8.428571 | 24 | 0.711864 | 8 | 59 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237288 | 59 | 6 | 25 | 9.833333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5f1a4aff63a8bd7a71f635dba66108ea628c5db5 | 107 | py | Python | tasks/__init__.py | rsumnerz/pip | 77d82801124292193b6155fd00160078fd69014b | [
"MIT"
] | 2 | 2018-12-21T09:11:51.000Z | 2019-10-30T20:57:42.000Z | tasks/__init__.py | rsumnerz/pip | 77d82801124292193b6155fd00160078fd69014b | [
"MIT"
] | 1 | 2019-08-20T03:51:40.000Z | 2019-08-20T03:51:40.000Z | tasks/__init__.py | rsumnerz/pip | 77d82801124292193b6155fd00160078fd69014b | [
"MIT"
] | 1 | 2019-06-28T05:23:31.000Z | 2019-06-28T05:23:31.000Z | import invoke
from . import generate
from . import vendoring
ns = invoke.Collection(generate, vendoring)
| 15.285714 | 43 | 0.785047 | 13 | 107 | 6.461538 | 0.538462 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 6 | 44 | 17.833333 | 0.923077 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f2546d8ea41ed4c431622bf28e63aa6514a8a33 | 29 | py | Python | tetris.py | Cjen1/HC4D | d2ef5cd2eb685fe6e7dfa0ac70c80333e06bf885 | [
"MIT"
] | null | null | null | tetris.py | Cjen1/HC4D | d2ef5cd2eb685fe6e7dfa0ac70c80333e06bf885 | [
"MIT"
] | null | null | null | tetris.py | Cjen1/HC4D | d2ef5cd2eb685fe6e7dfa0ac70c80333e06bf885 | [
"MIT"
] | null | null | null | import json
import getBoard
| 7.25 | 15 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 3 | 16 | 9.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a05474b50dff6c1fefd6f58215d179e390cee942 | 36 | py | Python | app/views/load_views.py | pwgraham91/Cloud-Contact | 5e9115df023ccb757ce8be3dcb79c359852eef15 | [
"MIT"
] | null | null | null | app/views/load_views.py | pwgraham91/Cloud-Contact | 5e9115df023ccb757ce8be3dcb79c359852eef15 | [
"MIT"
] | null | null | null | app/views/load_views.py | pwgraham91/Cloud-Contact | 5e9115df023ccb757ce8be3dcb79c359852eef15 | [
"MIT"
] | null | null | null | import index_view
import login_view
| 12 | 17 | 0.888889 | 6 | 36 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 2 | 18 | 18 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a06bad301a57b15549283017778b0474039ad591 | 16,765 | py | Python | pangea/core/tests/test_api_work_order.py | LongTailBio/pangea-django | 630551dded7f9e38f95eda8c36039e0de46961e7 | [
"MIT"
] | null | null | null | pangea/core/tests/test_api_work_order.py | LongTailBio/pangea-django | 630551dded7f9e38f95eda8c36039e0de46961e7 | [
"MIT"
] | 27 | 2020-03-26T02:55:12.000Z | 2022-03-12T00:55:04.000Z | pangea/core/tests/test_api_work_order.py | LongTailBio/pangea-django | 630551dded7f9e38f95eda8c36039e0de46961e7 | [
"MIT"
] | 1 | 2021-09-14T08:15:54.000Z | 2021-09-14T08:15:54.000Z | import os
import datetime
import requests
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APITestCase
from pangea.core.encrypted_fields import EncryptedString
from pangea.core.models import (
PangeaUser,
Organization,
Sample,
Pipeline,
PipelineModul... | 46.960784 | 105 | 0.673546 | 2,170 | 16,765 | 5.052074 | 0.071889 | 0.083736 | 0.081821 | 0.068959 | 0.866825 | 0.847578 | 0.83645 | 0.813646 | 0.803795 | 0.789291 | 0 | 0.007655 | 0.197435 | 16,765 | 356 | 106 | 47.092697 | 0.807135 | 0.044497 | 0 | 0.671141 | 0 | 0 | 0.117183 | 0.032084 | 0 | 0 | 0 | 0 | 0.194631 | 1 | 0.09396 | false | 0.003356 | 0.030201 | 0 | 0.127517 | 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 |
a08fd0f44ae76258d190d10f7c726ca353c08e50 | 293 | py | Python | src/embers/tile_maps/__init__.py | amanchokshi/mwa-satellites | f9e8de353e7eddf28ed715c01d7d3fb5336f0f18 | [
"MIT"
] | 1 | 2020-08-10T11:42:55.000Z | 2020-08-10T11:42:55.000Z | src/embers/tile_maps/__init__.py | amanchokshi/mwa-satellites | f9e8de353e7eddf28ed715c01d7d3fb5336f0f18 | [
"MIT"
] | 9 | 2020-11-16T03:05:16.000Z | 2020-11-20T23:49:09.000Z | src/embers/tile_maps/__init__.py | amanchokshi/mwa-satellites | f9e8de353e7eddf28ed715c01d7d3fb5336f0f18 | [
"MIT"
] | 1 | 2021-12-27T02:34:30.000Z | 2021-12-27T02:34:30.000Z | """
:mod:`embers.tile_maps` is used to create tile maps by aggregating satellite data
It contains :mod:`~embers.tile_maps.beam_utils`, :mod:`~embers.tile_maps.ref_fee_healpix`, :mod:`~embers.tile_maps.tile_maps`,
:mod:`~embers.tile_maps.null_test`, :mod:`~embers.tile_maps.compare_beams`
"""
| 41.857143 | 126 | 0.757679 | 47 | 293 | 4.468085 | 0.489362 | 0.304762 | 0.371429 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071672 | 293 | 6 | 127 | 48.833333 | 0.772059 | 0.969283 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a09aed4878b239daac0ad4951ca5240dce359614 | 26 | py | Python | src/data_curation/preprocessing/__init__.py | NovaSBE-DSKC/retention-evaluation | 5b68b9282f0b5479a9dc5238faef68067c76b861 | [
"MIT"
] | null | null | null | src/data_curation/preprocessing/__init__.py | NovaSBE-DSKC/retention-evaluation | 5b68b9282f0b5479a9dc5238faef68067c76b861 | [
"MIT"
] | null | null | null | src/data_curation/preprocessing/__init__.py | NovaSBE-DSKC/retention-evaluation | 5b68b9282f0b5479a9dc5238faef68067c76b861 | [
"MIT"
] | null | null | null | from .exploration import * | 26 | 26 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0a1dc1b0a8407739de21e5e8630734d6ee77a40 | 11,000 | py | Python | app/test/integrationtest/test_sensor_type.py | michalkoziara/IoT-RESTful-Webservice | ecb0f3e09cded3190f3646e5cd6c913056d94981 | [
"bzip2-1.0.6"
] | 2 | 2021-09-24T02:45:32.000Z | 2021-11-15T09:44:44.000Z | app/test/integrationtest/test_sensor_type.py | PKramek/IoT-RESTful-Webservice-1 | ecb0f3e09cded3190f3646e5cd6c913056d94981 | [
"bzip2-1.0.6"
] | null | null | null | app/test/integrationtest/test_sensor_type.py | PKramek/IoT-RESTful-Webservice-1 | ecb0f3e09cded3190f3646e5cd6c913056d94981 | [
"bzip2-1.0.6"
] | 1 | 2021-09-11T11:47:32.000Z | 2021-09-11T11:47:32.000Z | import json
from app.main.model.sensor_type import SensorType
from app.main.repository.device_group_repository import DeviceGroupRepository
from app.main.util.auth_utils import Auth
from app.main.util.constants import Constants
def test_get_sensor_type_info_should_return_sensor_info_when_valid_request(
clien... | 30.726257 | 100 | 0.627545 | 1,178 | 11,000 | 5.447368 | 0.093379 | 0.102852 | 0.037089 | 0.041141 | 0.900421 | 0.877201 | 0.84806 | 0.842606 | 0.797725 | 0.788686 | 0 | 0.005098 | 0.286727 | 11,000 | 357 | 101 | 30.812325 | 0.812771 | 0 | 0 | 0.697279 | 0 | 0 | 0.100909 | 0 | 0 | 0 | 0 | 0 | 0.136054 | 1 | 0.027211 | false | 0 | 0.017007 | 0 | 0.044218 | 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 |
267e67d5b0ffe9c7a35ac56b68d4d2e7747b57ab | 137 | py | Python | deniable/__init__.py | victormn/deniable-encryption | 905c4e31e17cc99e904015e8de55b1a525469b95 | [
"MIT"
] | 3 | 2017-10-07T07:18:39.000Z | 2021-06-04T22:15:54.000Z | deniable/__init__.py | victormn/rsa-deniable-encryption | 905c4e31e17cc99e904015e8de55b1a525469b95 | [
"MIT"
] | 3 | 2017-10-24T14:16:05.000Z | 2017-10-29T17:27:28.000Z | deniable/__init__.py | victormn/deniable-encryption | 905c4e31e17cc99e904015e8de55b1a525469b95 | [
"MIT"
] | null | null | null | """deniable module"""
from .collision import collision_finder
from .keys import generate_keypair
from .rsa import decryption, encryption
| 27.4 | 39 | 0.817518 | 17 | 137 | 6.470588 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109489 | 137 | 4 | 40 | 34.25 | 0.901639 | 0.109489 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd062dd3edf2e154599f3464f28be28408c579c1 | 97 | py | Python | Chapter 07/Chap07_Example7.21.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.21.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 07/Chap07_Example7.21.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | myl1 = [10, 20, -30.1, 'Hello']
print(myl1[3])# LI1
print(myl1[-1])# LI2
print(myl1[4])# LI3
| 19.4 | 32 | 0.56701 | 18 | 97 | 3.055556 | 0.666667 | 0.490909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209877 | 0.164948 | 97 | 4 | 33 | 24.25 | 0.469136 | 0.113402 | 0 | 0 | 0 | 0 | 0.064103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 6 |
cd49d2a06c3ef36981fe495d0f623e5ee914646f | 59 | py | Python | event_scheduler/__init__.py | phluentmed/event-scheduler | 28d300df97e5970a546a97759248521d46d436d3 | [
"MIT"
] | 16 | 2021-03-09T13:51:21.000Z | 2022-03-04T23:19:10.000Z | event_scheduler/__init__.py | phluentmed/event-scheduler | 28d300df97e5970a546a97759248521d46d436d3 | [
"MIT"
] | 3 | 2020-11-30T01:17:34.000Z | 2021-02-12T02:42:24.000Z | event_scheduler/__init__.py | phluentmed/event-scheduler | 28d300df97e5970a546a97759248521d46d436d3 | [
"MIT"
] | null | null | null | from event_scheduler.event_scheduler import EventScheduler
| 29.5 | 58 | 0.915254 | 7 | 59 | 7.428571 | 0.714286 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 1 | 59 | 59 | 0.945455 | 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 |
cd546d00fcd5fd34170b3bc74b9899cbea079922 | 8,917 | py | Python | IpTrackerv2.0.py | codassassin/ip-tracker-v2.0 | 4e55d3a9a0bafd001d59bd82c4f3de91af17dec8 | [
"MIT"
] | null | null | null | IpTrackerv2.0.py | codassassin/ip-tracker-v2.0 | 4e55d3a9a0bafd001d59bd82c4f3de91af17dec8 | [
"MIT"
] | null | null | null | IpTrackerv2.0.py | codassassin/ip-tracker-v2.0 | 4e55d3a9a0bafd001d59bd82c4f3de91af17dec8 | [
"MIT"
] | null | null | null | from geolite2 import geolite2
import requests
class bColors:
GREEN = '\033[92m'
YELLOW = '\033[93m'
RED = '\033[91m'
BLUE = '\033[94m'
def banner():
print(bColors.GREEN + '<<< IP-TRACKER v2.0>>>')
print(bColors.RED + r'''
_
| |
| |___
| _ \ _ _
| |_) | | (_) |
... | 43.710784 | 113 | 0.50286 | 800 | 8,917 | 5.37 | 0.15875 | 0.134078 | 0.079143 | 0.052142 | 0.819832 | 0.819832 | 0.819832 | 0.819832 | 0.819832 | 0.819832 | 0 | 0.015676 | 0.341819 | 8,917 | 203 | 114 | 43.926108 | 0.714602 | 0.01043 | 0 | 0.651163 | 0 | 0.034884 | 0.248984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.011628 | 0 | 0.069767 | 0.180233 | 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 |
26bb3b948f34299e55368b229a05a527a0f1a8f4 | 237 | py | Python | project/users/forms.py | manoj75/GitHubToAzure | a90bf44aaaea65fc0d8b75bcaaffae9a654e1891 | [
"MIT"
] | null | null | null | project/users/forms.py | manoj75/GitHubToAzure | a90bf44aaaea65fc0d8b75bcaaffae9a654e1891 | [
"MIT"
] | null | null | null | project/users/forms.py | manoj75/GitHubToAzure | a90bf44aaaea65fc0d8b75bcaaffae9a654e1891 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, validators
class UserForm(FlaskForm):
first_name=StringField('First Name',[validators.DataRequired])
last_name= StringField('First Name',[validators.DataRequired]) | 39.5 | 66 | 0.805907 | 27 | 237 | 6.962963 | 0.518519 | 0.143617 | 0.212766 | 0.255319 | 0.489362 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 237 | 6 | 67 | 39.5 | 0.882629 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26dbb65440d41c8415b0c36bd1fd906102c594f0 | 56 | py | Python | sqlenergy/__init__.py | kjph/sqlenergy | f58c88f74f0f93be128acabb9750d6e6a8178fdb | [
"MIT"
] | null | null | null | sqlenergy/__init__.py | kjph/sqlenergy | f58c88f74f0f93be128acabb9750d6e6a8178fdb | [
"MIT"
] | null | null | null | sqlenergy/__init__.py | kjph/sqlenergy | f58c88f74f0f93be128acabb9750d6e6a8178fdb | [
"MIT"
] | null | null | null | from . import core
from . import app
from . import plot
| 14 | 18 | 0.732143 | 9 | 56 | 4.555556 | 0.555556 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 56 | 3 | 19 | 18.666667 | 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 |
f80e64e5c7c9b4e468a4b664e2791d86abf26502 | 197 | py | Python | dp/models.py | webyneter/dp | c2d01fe1738f8da18c44b0ed5d179d872136f854 | [
"MIT"
] | null | null | null | dp/models.py | webyneter/dp | c2d01fe1738f8da18c44b0ed5d179d872136f854 | [
"MIT"
] | null | null | null | dp/models.py | webyneter/dp | c2d01fe1738f8da18c44b0ed5d179d872136f854 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.db import models
from model_utils.models import TimeStampedModel
class Some(TimeStampedModel):
pass
class Thing(TimeStampedModel):
pass
| 11.588235 | 47 | 0.690355 | 22 | 197 | 6.136364 | 0.681818 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.22335 | 197 | 16 | 48 | 12.3125 | 0.875817 | 0.106599 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f84629b4b98c39b91835bd7aa829de2ec8bd7f3d | 29,020 | py | Python | bind/pypi_2.py | shyamjangid07/Reverse-Engineering | 469efabcd6057f7895d8d891f1fabdf2ffe730b0 | [
"Apache-2.0"
] | 337 | 2020-08-15T12:22:14.000Z | 2022-03-29T06:05:15.000Z | bind/pypi_2.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 3 | 2020-11-12T14:30:48.000Z | 2021-05-18T16:56:22.000Z | bind/pypi_2.py | Wh014M/Reverse-Engineering | f7aae2c43f7ea4a6730964d085c07814b6660a53 | [
"Apache-2.0"
] | 83 | 2020-08-15T00:22:58.000Z | 2022-03-31T08:40:23.000Z |
# Decompiled by HTR-TECH | TAHMID RAYAT
# Github : https://github.com/htr-tech
#---------------------------------------
# Source File : a.py
# Time : Wed Sep 9 04:27:21 2020
#---------------------------------------
# uncompyle6 version 3.7.4
# Python bytecode 2.7
# Decompiled from: Python 2.7.16 (default, Oct 10 2019... | 60.584551 | 770 | 0.489869 | 3,474 | 29,020 | 4.033679 | 0.099597 | 0.059944 | 0.042817 | 0.029259 | 0.804539 | 0.795333 | 0.766859 | 0.691358 | 0.691358 | 0.685934 | 0 | 0.129214 | 0.34583 | 29,020 | 479 | 771 | 60.584551 | 0.608934 | 0.012198 | 0 | 0.465011 | 0 | 0.099323 | 0.39115 | 0.102115 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.367946 | 0.018059 | null | null | 0.139955 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f883b9c22f58aefd9f5915b24375ace78659a6c5 | 27 | py | Python | Model Templates/Classification/Fast First Model.py | shmilyface/Project-Parkinsons-Detection | c36bb1496c3bc58a41e07850cb302794dfe91855 | [
"MIT"
] | 1 | 2020-02-10T06:24:06.000Z | 2020-02-10T06:24:06.000Z | Model Templates/Classification/Fast First Model.py | shmilyface/Project-Parkinsons-Detection | c36bb1496c3bc58a41e07850cb302794dfe91855 | [
"MIT"
] | null | null | null | Model Templates/Classification/Fast First Model.py | shmilyface/Project-Parkinsons-Detection | c36bb1496c3bc58a41e07850cb302794dfe91855 | [
"MIT"
] | 1 | 2020-02-09T00:19:27.000Z | 2020-02-09T00:19:27.000Z | import pandas
import numpy
| 9 | 13 | 0.851852 | 4 | 27 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 2 | 14 | 13.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f88728f9b2855b9a247af75690477d25d81790d2 | 14,272 | py | Python | sdk/python/pulumi_alicloud/ram/role_attachment.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/ram/role_attachment.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/ram/role_attachment.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 42.858859 | 231 | 0.619605 | 1,653 | 14,272 | 5.102843 | 0.144586 | 0.056076 | 0.046473 | 0.03853 | 0.796918 | 0.77783 | 0.761352 | 0.744398 | 0.730528 | 0.721043 | 0 | 0.010687 | 0.278798 | 14,272 | 332 | 232 | 42.987952 | 0.808802 | 0.503714 | 0 | 0.495727 | 1 | 0 | 0.100745 | 0.007449 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145299 | false | 0.008547 | 0.042735 | 0 | 0.273504 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f88da1c5eea41c139c0988b340bd0fdcf5565008 | 47 | py | Python | src/hiton_ezk/test_script.py | mathewtitus/hiton_ezk | 8b9d39efd5419ccec8722ee6e0880298371478c3 | [
"MIT"
] | null | null | null | src/hiton_ezk/test_script.py | mathewtitus/hiton_ezk | 8b9d39efd5419ccec8722ee6e0880298371478c3 | [
"MIT"
] | null | null | null | src/hiton_ezk/test_script.py | mathewtitus/hiton_ezk | 8b9d39efd5419ccec8722ee6e0880298371478c3 | [
"MIT"
] | null | null | null | def tester():
print("Testing... 1 2 3....")
| 9.4 | 30 | 0.510638 | 7 | 47 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.191489 | 47 | 4 | 31 | 11.75 | 0.552632 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f89976146a2df7b984e0c6c79032535c50ff4853 | 161 | py | Python | django.py | Polydelta-ai/zimagi-usa-jobs | a3d148c96b224de927008d0418384d6a15d06169 | [
"Apache-2.0"
] | null | null | null | django.py | Polydelta-ai/zimagi-usa-jobs | a3d148c96b224de927008d0418384d6a15d06169 | [
"Apache-2.0"
] | null | null | null | django.py | Polydelta-ai/zimagi-usa-jobs | a3d148c96b224de927008d0418384d6a15d06169 | [
"Apache-2.0"
] | null | null | null | from settings.config import Config
USA_JOBS_API_EMAIL = Config.string('ZIMAGI_USA_JOBS_API_EMAIL')
USA_JOBS_API_KEY = Config.string('ZIMAGI_USA_JOBS_API_KEY')
| 26.833333 | 63 | 0.84472 | 27 | 161 | 4.518519 | 0.407407 | 0.229508 | 0.327869 | 0.245902 | 0.459016 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074534 | 161 | 5 | 64 | 32.2 | 0.818792 | 0 | 0 | 0 | 0 | 0 | 0.298137 | 0.298137 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3e031271136d92771413ac88d10e1947334fc3cd | 170 | py | Python | bloatedHJs/__init__.py | psarkis/bloatedHJs | 493703c810328ea740562cbdca5fc153eb509b23 | [
"MIT"
] | 1 | 2021-01-29T23:41:00.000Z | 2021-01-29T23:41:00.000Z | bloatedHJs/__init__.py | psarkis/bloatedHJs | 493703c810328ea740562cbdca5fc153eb509b23 | [
"MIT"
] | null | null | null | bloatedHJs/__init__.py | psarkis/bloatedHJs | 493703c810328ea740562cbdca5fc153eb509b23 | [
"MIT"
] | null | null | null | from .physical_params import *
from .single import *
from .population import *
from .utils import *
from .load_data import *
from .plots import *
from .relations import * | 24.285714 | 30 | 0.758824 | 23 | 170 | 5.521739 | 0.478261 | 0.472441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158824 | 170 | 7 | 31 | 24.285714 | 0.888112 | 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 |
3e5535dbe152e42ae907699d38cb117fc4f65d3e | 79 | py | Python | run.py | mzazakeith/pass-safe | ecd63e357568d76b67dd6886f4adb6f125ea1f15 | [
"MIT"
] | null | null | null | run.py | mzazakeith/pass-safe | ecd63e357568d76b67dd6886f4adb6f125ea1f15 | [
"MIT"
] | null | null | null | run.py | mzazakeith/pass-safe | ecd63e357568d76b67dd6886f4adb6f125ea1f15 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.6
from login import User
from login import Credentials
| 15.8 | 29 | 0.78481 | 13 | 79 | 4.769231 | 0.769231 | 0.290323 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.139241 | 79 | 4 | 30 | 19.75 | 0.882353 | 0.291139 | 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 |
3e60a5c707e56d03825e2265ddcfe3713816ded5 | 38,996 | py | Python | src/tasks/dockerDeploy/acs-kubernetes/test_serviceparser.py | Bhaskers-Blu-Org2/vsts-docker | 22755267f1fca6a82297c6fc2f6d8d81acb7c3b7 | [
"MIT"
] | 8 | 2017-02-22T19:41:13.000Z | 2019-02-10T22:34:38.000Z | src/tasks/dockerDeploy/acs-kubernetes/test_serviceparser.py | Bhaskers-Blu-Org2/vsts-docker | 22755267f1fca6a82297c6fc2f6d8d81acb7c3b7 | [
"MIT"
] | 18 | 2017-02-01T16:00:22.000Z | 2019-04-01T14:09:20.000Z | src/tasks/dockerDeploy/acs-kubernetes/test_serviceparser.py | microsoft/vsts-docker | 22755267f1fca6a82297c6fc2f6d8d81acb7c3b7 | [
"MIT"
] | 6 | 2019-11-04T00:13:36.000Z | 2021-11-10T10:11:54.000Z | import unittest
from serviceparser import Parser
import yaml
import copy
import json
from groupinfo import GroupInfo
from registryinfo import RegistryInfo
class ServiceParserTests(unittest.TestCase):
def _get_default_parser(self, service_info=None):
group_info = GroupInfo('group_name', 'group_qualifier',... | 33.762771 | 229 | 0.443763 | 2,895 | 38,996 | 5.649741 | 0.050086 | 0.129555 | 0.054842 | 0.064808 | 0.901687 | 0.882856 | 0.866716 | 0.850208 | 0.817926 | 0.793531 | 0 | 0.025282 | 0.443148 | 38,996 | 1,154 | 230 | 33.792028 | 0.72793 | 0 | 0 | 0.669452 | 0 | 0 | 0.188481 | 0.036978 | 0 | 0 | 0 | 0 | 0.054782 | 1 | 0.050139 | false | 0.000929 | 0.0065 | 0 | 0.058496 | 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 |
3e6229d19c72916742ee1d7451296ad625db5cfc | 6,751 | py | Python | workbooks/option_pricer.py | jingmouren/QuantResearch | 7a17e567b0e95481894ed37524c041b30155b6cb | [
"MIT"
] | 623 | 2020-07-11T04:28:26.000Z | 2022-03-31T03:30:16.000Z | workbooks/option_pricer.py | jingmouren/QuantResearch | 7a17e567b0e95481894ed37524c041b30155b6cb | [
"MIT"
] | 3 | 2020-09-04T14:18:38.000Z | 2021-11-24T17:25:14.000Z | workbooks/option_pricer.py | jingmouren/QuantResearch | 7a17e567b0e95481894ed37524c041b30155b6cb | [
"MIT"
] | 155 | 2020-07-11T21:57:06.000Z | 2022-03-22T12:55:13.000Z | import numpy as np
from scipy.stats import norm
import xlwings as xw
# https://en.wikipedia.org/wiki/Greeks_(finance)
@xw.func
def bsm(S, K, T = 1.0, r = 0.0, q = 0.0, sigma = 0.16, CP='call'):
d1 = (np.log(S / K) + (r - q + 0.5 * sigma ** 2) * T) / (sigma * np.sqrt(T))
d2 = (np.log(S / K) + (r - q - 0.5 * sig... | 35.34555 | 110 | 0.466598 | 1,313 | 6,751 | 2.387662 | 0.04722 | 0.084211 | 0.098246 | 0.130144 | 0.920255 | 0.914833 | 0.890909 | 0.883892 | 0.878469 | 0.817544 | 0 | 0.070562 | 0.279959 | 6,751 | 191 | 111 | 35.34555 | 0.574367 | 0.053622 | 0 | 0.627737 | 0 | 0 | 0.011923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116788 | false | 0 | 0.021898 | 0 | 0.255474 | 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 |
e41ba96a77e4a6672783f60f31f20d6861a507b4 | 1,969 | py | Python | cyhdfs3/tests/test_cli.py | danielfrg/cylibhdfs3 | 1d37fc8db6ef1fd17fba501211faee6e32dcb5c1 | [
"Apache-2.0"
] | 1 | 2016-01-13T23:42:24.000Z | 2016-01-13T23:42:24.000Z | cyhdfs3/tests/test_cli.py | danielfrg/cyhdfs3 | 1d37fc8db6ef1fd17fba501211faee6e32dcb5c1 | [
"Apache-2.0"
] | null | null | null | cyhdfs3/tests/test_cli.py | danielfrg/cyhdfs3 | 1d37fc8db6ef1fd17fba501211faee6e32dcb5c1 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function, absolute_import
import posixpath
from random import randint
from click.testing import CliRunner
from utils import *
from cyhdfs3.cli import cli
def test_head(hdfs, request):
testname = request.node.name
fname = posixpath.join(TEST_DIR, testname)
data = b'a' * ra... | 29.38806 | 75 | 0.605383 | 304 | 1,969 | 3.868421 | 0.190789 | 0.035714 | 0.061224 | 0.05102 | 0.848639 | 0.848639 | 0.841837 | 0.770408 | 0.727891 | 0.727891 | 0 | 0.052799 | 0.201625 | 1,969 | 66 | 76 | 29.833333 | 0.695293 | 0 | 0 | 0.478261 | 0 | 0 | 0.035551 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 1 | 0.043478 | false | 0 | 0.130435 | 0 | 0.173913 | 0.021739 | 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 |
e48dab9ac63db66e426eefb2978418137d51ca4b | 3,988 | py | Python | seizure detection code/Stacked Autoencoders for Seizure Detection/tests/compute_num_samples.py | aimo84/epilepsy-system | de3b26039f76ce2ceac9a74a6bc179b8f7bddb1e | [
"BSD-3-Clause"
] | 13 | 2016-12-14T07:33:21.000Z | 2022-02-05T13:05:22.000Z | seizure detection code/Stacked Autoencoders for Seizure Detection/tests/compute_num_samples.py | aimo84/epilepsy-system | de3b26039f76ce2ceac9a74a6bc179b8f7bddb1e | [
"BSD-3-Clause"
] | null | null | null | seizure detection code/Stacked Autoencoders for Seizure Detection/tests/compute_num_samples.py | aimo84/epilepsy-system | de3b26039f76ce2ceac9a74a6bc179b8f7bddb1e | [
"BSD-3-Clause"
] | 6 | 2016-10-11T05:42:29.000Z | 2022-03-25T08:19:06.000Z | import os
from pylearn2ext.chbmit import CHBMIT
from pylearn2ext.epilepsiae import EpilepsiaeTest
def compute_n_samples_chbmit():
patients = [1, 3, 5, 8, 10, 20]
model_path = '../models'
data_path = '/Users/akara/Workspace/data/chbmit'
with open(os.path.join(model_path, 'sdae_chbmit_train_test_samples... | 41.978947 | 123 | 0.503761 | 429 | 3,988 | 4.291375 | 0.179487 | 0.078218 | 0.0717 | 0.048886 | 0.801738 | 0.801738 | 0.768061 | 0.768061 | 0.705052 | 0.613797 | 0 | 0.024307 | 0.411986 | 3,988 | 95 | 124 | 41.978947 | 0.760768 | 0.00652 | 0 | 0.567568 | 0 | 0 | 0.114365 | 0.08003 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.040541 | 0 | 0.067568 | 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 |
e49cc6c53b75c7214693414e9ca0ec3d1448d2fa | 25 | py | Python | nl4dv/infogenie/__init__.py | bopan3/nl4dv_enhance | c55cffdb862a0ff4eb4c8ab95832a262bb4fafe3 | [
"MIT"
] | 3 | 2022-01-17T09:48:21.000Z | 2022-01-20T02:12:38.000Z | nl4dv/infogenie/__init__.py | bopan3/nl4dv_enhance | c55cffdb862a0ff4eb4c8ab95832a262bb4fafe3 | [
"MIT"
] | null | null | null | nl4dv/infogenie/__init__.py | bopan3/nl4dv_enhance | c55cffdb862a0ff4eb4c8ab95832a262bb4fafe3 | [
"MIT"
] | null | null | null | from .infogenie import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
e4c88bad3885af96ed5949533c108f163b2c6178 | 108 | py | Python | model/__init__.py | himashi92/vizviva_brats_2021 | 7b7c5d157a98bf9d1a96c3ca2633aad6c2132475 | [
"MIT"
] | 2 | 2022-02-14T15:40:49.000Z | 2022-02-27T02:29:39.000Z | model/__init__.py | himashi92/vizviva_brats_2021 | 7b7c5d157a98bf9d1a96c3ca2633aad6c2132475 | [
"MIT"
] | 2 | 2022-03-06T10:54:24.000Z | 2022-03-26T06:45:21.000Z | model/__init__.py | himashi92/vizviva_brats_2021 | 7b7c5d157a98bf9d1a96c3ca2633aad6c2132475 | [
"MIT"
] | null | null | null | from model.layers import get_norm_layer
from model.unet import Unet
from model.critic import Discriminator
| 21.6 | 39 | 0.851852 | 17 | 108 | 5.294118 | 0.588235 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 108 | 4 | 40 | 27 | 0.947368 | 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 |
e4f65f7e89761e5e4f44be921f6bcd08c1bbbede | 202 | py | Python | neuralprocesses/data/__init__.py | tom-andersson/neuralprocesses | 7696dc1c8bbe922fb2a1ba18fe0cdda041fc9cfd | [
"MIT"
] | null | null | null | neuralprocesses/data/__init__.py | tom-andersson/neuralprocesses | 7696dc1c8bbe922fb2a1ba18fe0cdda041fc9cfd | [
"MIT"
] | null | null | null | neuralprocesses/data/__init__.py | tom-andersson/neuralprocesses | 7696dc1c8bbe922fb2a1ba18fe0cdda041fc9cfd | [
"MIT"
] | null | null | null | from .batch import *
from .data import *
from .eeg import *
from .gp import *
from .mixture import *
from .predefined import *
from .predprey import *
from .sawtooth import *
from .temperature import *
| 20.2 | 26 | 0.732673 | 27 | 202 | 5.481481 | 0.407407 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 202 | 9 | 27 | 22.444444 | 0.891566 | 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 |
9003ff07e737fbf75f41f2b6f251a9c15821578c | 22 | py | Python | python.py | altereagle/fallinginlovewithnode | 695603d9edcc1cc0c7a774e360d153a1ec6d8af8 | [
"MIT"
] | null | null | null | python.py | altereagle/fallinginlovewithnode | 695603d9edcc1cc0c7a774e360d153a1ec6d8af8 | [
"MIT"
] | null | null | null | python.py | altereagle/fallinginlovewithnode | 695603d9edcc1cc0c7a774e360d153a1ec6d8af8 | [
"MIT"
] | null | null | null | print "this is python" | 22 | 22 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5f78651b52153e91196a2961027a524c92e80af7 | 41,505 | py | Python | pytorch/pytorch_edgeml/graph/rnn.py | krantikiran/EdgeML | e5c7bd7c56884ca61f6d54cedb0074553cfdc896 | [
"MIT"
] | 4 | 2019-10-14T23:20:14.000Z | 2021-01-20T08:54:37.000Z | pytorch/pytorch_edgeml/graph/rnn.py | krantikiran/EdgeML | e5c7bd7c56884ca61f6d54cedb0074553cfdc896 | [
"MIT"
] | 2 | 2020-03-26T02:59:12.000Z | 2020-04-23T19:09:00.000Z | pytorch/pytorch_edgeml/graph/rnn.py | krantikiran/EdgeML | e5c7bd7c56884ca61f6d54cedb0074553cfdc896 | [
"MIT"
] | 3 | 2020-03-25T18:45:39.000Z | 2020-12-17T19:09:54.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license.
import torch
import torch.nn as nn
import numpy as np
def gen_non_linearity(A, non_linearity):
'''
Returns required activation for a tensor based on the inputs
non_linearity is either a callable or a value in
... | 35.687876 | 104 | 0.595735 | 5,221 | 41,505 | 4.537253 | 0.062823 | 0.069906 | 0.046351 | 0.029634 | 0.7807 | 0.753345 | 0.744987 | 0.723374 | 0.706235 | 0.686563 | 0 | 0.020234 | 0.302229 | 41,505 | 1,162 | 105 | 35.718589 | 0.797728 | 0.154873 | 0 | 0.71965 | 0 | 0 | 0.012077 | 0 | 0 | 0 | 0 | 0 | 0.006258 | 1 | 0.100125 | false | 0 | 0.003755 | 0.067584 | 0.215269 | 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 |
5f81b1b34f664cb86fd5daa71da156daeae3784e | 5,414 | py | Python | test/events/test_maintain_orcid_webhook.py | elifesciences/profiles | 31cc02ec46c29e5c17524f8df2c59e01171e6ca4 | [
"MIT"
] | 2 | 2019-02-12T18:48:09.000Z | 2020-12-28T06:47:09.000Z | test/events/test_maintain_orcid_webhook.py | elifesciences/profiles | 31cc02ec46c29e5c17524f8df2c59e01171e6ca4 | [
"MIT"
] | 110 | 2017-08-30T09:14:21.000Z | 2020-05-28T04:58:42.000Z | test/events/test_maintain_orcid_webhook.py | elifesciences/profiles | 31cc02ec46c29e5c17524f8df2c59e01171e6ca4 | [
"MIT"
] | null | null | null | from typing import Callable, Dict, List
from unittest.mock import MagicMock
from flask_sqlalchemy import models_committed
from itsdangerous import URLSafeSerializer
from sqlalchemy.orm import scoped_session
from profiles.events import maintain_orcid_webhook
from profiles.models import OrcidToken, Profile
def test_i... | 47.078261 | 98 | 0.559106 | 501 | 5,414 | 5.650699 | 0.181637 | 0.06994 | 0.116567 | 0.074179 | 0.794066 | 0.786648 | 0.786648 | 0.786648 | 0.771459 | 0.75521 | 0 | 0.023498 | 0.379017 | 5,414 | 114 | 99 | 47.491228 | 0.81856 | 0 | 0 | 0.741176 | 0 | 0 | 0.037126 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 1 | 0.070588 | false | 0 | 0.082353 | 0 | 0.152941 | 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 |
5fc7422d4ff351c9831df1538a25bfb81e9512d2 | 12,882 | py | Python | code/models/fa_rel.py | bflashcp3f/ProcBERT | 72afe18ac30825e1756672235e1369aa8837e62a | [
"MIT"
] | 8 | 2021-09-19T21:42:03.000Z | 2021-12-17T06:17:13.000Z | code/models/fa_rel.py | bflashcp3f/ProcBERT | 72afe18ac30825e1756672235e1369aa8837e62a | [
"MIT"
] | null | null | null | code/models/fa_rel.py | bflashcp3f/ProcBERT | 72afe18ac30825e1756672235e1369aa8837e62a | [
"MIT"
] | null | null | null |
import torch
from torch import nn
import torch.nn.functional as F
from torch.nn import CrossEntropyLoss, MSELoss
from torch.utils.data import TensorDataset, DataLoader, RandomSampler, SequentialSampler
from transformers import BertTokenizer, BertModel
from transformers import BertForTokenClassification, BertPreTraine... | 46.007143 | 118 | 0.6551 | 1,740 | 12,882 | 4.542529 | 0.08046 | 0.113866 | 0.039474 | 0.034413 | 0.845015 | 0.819205 | 0.786184 | 0.786184 | 0.772014 | 0.768219 | 0 | 0.011455 | 0.227449 | 12,882 | 279 | 119 | 46.172043 | 0.782757 | 0.384179 | 0 | 0.69697 | 0 | 0 | 0.006378 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 1 | 0.060606 | false | 0.015152 | 0.060606 | 0 | 0.181818 | 0.015152 | 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 |
39ab3d5194d9d91adb3943974978f64786a75a42 | 506 | py | Python | apps/activity/activity_type/utils.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 8 | 2019-01-30T13:51:59.000Z | 2022-01-08T03:26:53.000Z | apps/activity/activity_type/utils.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 286 | 2019-01-18T21:35:51.000Z | 2022-03-24T18:53:59.000Z | apps/activity/activity_type/utils.py | PremierLangage/premierlangage | 7134a2aadffee2bf264abee6c4b23ea33f1b390b | [
"CECILL-B"
] | 4 | 2019-02-11T13:38:30.000Z | 2021-03-02T20:59:00.000Z | from activity.activity_type.base import Base
from activity.activity_type.course import Course
from activity.activity_type.pltp import Pltp
from activity.activity_type.section import Section
from activity.activity_type.examen import Examen
type_dict = {
"base": Base,
"course": Course,
"pltp": Pltp,
... | 21.083333 | 50 | 0.749012 | 72 | 506 | 5.013889 | 0.25 | 0.232687 | 0.277008 | 0.33241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16996 | 506 | 23 | 51 | 22 | 0.859524 | 0 | 0 | 0 | 0 | 0 | 0.05336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.3125 | 0.125 | 0.5625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.