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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c7eeb6ad96b62ee9ed39e894eafdc5891f6f7f42 | 28 | py | Python | mozumder/management/writers/__init__.py | mozumder/django-mozumder | 887ce303249eac2d77de062fd57023dbc4b782dd | [
"MIT"
] | 1 | 2020-06-13T06:12:16.000Z | 2020-06-13T06:12:16.000Z | mozumder/management/writers/__init__.py | mozumder/django-mozumder | 887ce303249eac2d77de062fd57023dbc4b782dd | [
"MIT"
] | 4 | 2020-06-18T03:53:29.000Z | 2021-06-09T17:56:12.000Z | mozumder/management/writers/__init__.py | mozumder/django-mozumder | 887ce303249eac2d77de062fd57023dbc4b782dd | [
"MIT"
] | null | null | null | from .app import write_app
| 9.333333 | 26 | 0.785714 | 5 | 28 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 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 |
1bf3c26f75d5263e015cbfa1925edca979266e2f | 106 | py | Python | globals.py | srdjanko/CarND-LaneLines-P1 | ea09c92b81b983d73317b334b19995d641ad314a | [
"MIT"
] | null | null | null | globals.py | srdjanko/CarND-LaneLines-P1 | ea09c92b81b983d73317b334b19995d641ad314a | [
"MIT"
] | null | null | null | globals.py | srdjanko/CarND-LaneLines-P1 | ea09c92b81b983d73317b334b19995d641ad314a | [
"MIT"
] | null | null | null | import numpy as np
glob_previous_lanes = [np.array([0.0, 0.0, 0.0, 0.0]), np.array([0.0, 0.0, 0.0, 0.0])] | 35.333333 | 86 | 0.603774 | 27 | 106 | 2.296296 | 0.333333 | 0.451613 | 0.580645 | 0.645161 | 0.483871 | 0.483871 | 0.483871 | 0.483871 | 0.483871 | 0.483871 | 0 | 0.173913 | 0.132075 | 106 | 3 | 86 | 35.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 |
402f4cae91ca4424dffbefe5b89485e22f37a984 | 13,339 | py | Python | LearningAlgorithm/pain/ANN (New).py | Mirotivo/biovid | 4cc4b1d2afd3f37224c74fe982d67aee99b81dc0 | [
"BSD-2-Clause"
] | null | null | null | LearningAlgorithm/pain/ANN (New).py | Mirotivo/biovid | 4cc4b1d2afd3f37224c74fe982d67aee99b81dc0 | [
"BSD-2-Clause"
] | null | null | null | LearningAlgorithm/pain/ANN (New).py | Mirotivo/biovid | 4cc4b1d2afd3f37224c74fe982d67aee99b81dc0 | [
"BSD-2-Clause"
] | null | null | null | import ClassifierModel
import pandas as pd
import numpy as np
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import confusion_matrix
# Importing the dataset
dataset = pd.read_csv('features/Table_Step2_159Features-85Subs-5Levels-z.csv')
Comb... | 36.746556 | 102 | 0.770223 | 1,830 | 13,339 | 5.476503 | 0.098907 | 0.027939 | 0.055678 | 0.052784 | 0.843644 | 0.841648 | 0.841648 | 0.833167 | 0.833167 | 0.829276 | 0 | 0.020817 | 0.114102 | 13,339 | 362 | 103 | 36.848066 | 0.827283 | 0.325512 | 0 | 0.651899 | 0 | 0 | 0.118997 | 0.005961 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.170886 | 0 | 0.170886 | 0.189873 | 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 |
404f31179de619313ef31f7c965ce5b6e1d50d1a | 4,472 | py | Python | d3rlpy_addons/models/torch/q_functions.py | jamartinh/d3rlpy-addons | 9561432062cfe83150d17c0908b2013d15d71ee3 | [
"MIT"
] | 1 | 2021-08-28T14:32:15.000Z | 2021-08-28T14:32:15.000Z | d3rlpy_addons/models/torch/q_functions.py | jamartinh/d3rlpy-addons | 9561432062cfe83150d17c0908b2013d15d71ee3 | [
"MIT"
] | null | null | null | d3rlpy_addons/models/torch/q_functions.py | jamartinh/d3rlpy-addons | 9561432062cfe83150d17c0908b2013d15d71ee3 | [
"MIT"
] | null | null | null | from typing import cast
import torch
from torch import nn
from d3rlpy.models.torch import Encoder, EncoderWithAction
from d3rlpy.models.torch.q_functions.mean_q_function import (
ContinuousMeanQFunction,
DiscreteMeanQFunction,
)
from d3rlpy.models.torch.q_functions.qr_q_function import (
ContinuousQRQFunc... | 28.484076 | 80 | 0.63797 | 555 | 4,472 | 4.81982 | 0.14955 | 0.04486 | 0.08972 | 0.050841 | 0.815327 | 0.785421 | 0.762243 | 0.762243 | 0.762243 | 0.762243 | 0 | 0.012947 | 0.274598 | 4,472 | 156 | 81 | 28.666667 | 0.811652 | 0.144678 | 0 | 0.581633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081633 | false | 0 | 0.061224 | 0.030612 | 0.306122 | 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 |
40da05e490dbf132220e957af8ed43eb31d58264 | 9,671 | py | Python | modules/routing.py | ZikeYan/RoutedFusion | 866699ff1eba48cdad20bbde9cc498c17848ac50 | [
"BSD-3-Clause"
] | 100 | 2020-07-10T11:54:46.000Z | 2022-03-16T08:22:22.000Z | modules/routing.py | ZikeYan/RoutedFusion | 866699ff1eba48cdad20bbde9cc498c17848ac50 | [
"BSD-3-Clause"
] | 19 | 2020-09-20T14:32:23.000Z | 2022-01-17T00:39:24.000Z | modules/routing.py | ZikeYan/RoutedFusion | 866699ff1eba48cdad20bbde9cc498c17848ac50 | [
"BSD-3-Clause"
] | 15 | 2020-09-21T14:15:23.000Z | 2022-01-12T23:09:41.000Z | import torch
class UNet(torch.nn.Module):
"""
Basic UNet building block, calling itself recursively.
Note that the final output does not have a ReLU applied.
"""
def __init__(self, Cin, F, Cout, depth, batchnorms=True):
super().__init__()
self.F = F
self.depth = depth
... | 41.865801 | 135 | 0.518044 | 1,137 | 9,671 | 4.350923 | 0.121372 | 0.15282 | 0.06226 | 0.09622 | 0.769759 | 0.755205 | 0.746311 | 0.738023 | 0.738023 | 0.708914 | 0 | 0.045872 | 0.357564 | 9,671 | 230 | 136 | 42.047826 | 0.750362 | 0.052528 | 0 | 0.760638 | 0 | 0 | 0.007825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026596 | false | 0 | 0.005319 | 0 | 0.069149 | 0.005319 | 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 |
dc0c08243e4a84c07bf42df1f008b3d55ddce1d3 | 11,599 | py | Python | source/tests/py_tests/unsafe_test.py | Panzerschrek/U-00DC-Sprache | eb677a66d178985433a62eb6b8a50ce2cdb14b1a | [
"BSD-3-Clause"
] | 45 | 2016-06-21T22:28:43.000Z | 2022-03-26T12:21:46.000Z | source/tests/py_tests/unsafe_test.py | Panzerschrek/U-00DC-Sprache | eb677a66d178985433a62eb6b8a50ce2cdb14b1a | [
"BSD-3-Clause"
] | 6 | 2020-07-12T18:00:10.000Z | 2021-11-30T11:20:14.000Z | source/tests/py_tests/unsafe_test.py | Panzerschrek/U-00DC-Sprache | eb677a66d178985433a62eb6b8a50ce2cdb14b1a | [
"BSD-3-Clause"
] | 5 | 2019-09-03T17:20:34.000Z | 2022-01-30T15:10:21.000Z | from py_tests_common import *
def UnsafeBlockDeclaration_Test0():
c_program_text= """
fn Foo()
{
unsafe{}
}
"""
tests_lib.build_program( c_program_text )
def UnsafeFunctionDeclaration_Test0():
c_program_text= """
fn Foo() unsafe;
"""
tests_lib.build_program( c_program_text )
def UnsafeFunctionDec... | 23.338028 | 137 | 0.693853 | 1,431 | 11,599 | 5.344514 | 0.088749 | 0.107218 | 0.103556 | 0.088912 | 0.860879 | 0.850157 | 0.83329 | 0.809493 | 0.782296 | 0.72228 | 0 | 0.016138 | 0.182602 | 11,599 | 496 | 138 | 23.385081 | 0.790528 | 0 | 0 | 0.559441 | 0 | 0.002331 | 0.380981 | 0.058195 | 0 | 0 | 0 | 0 | 0.13986 | 1 | 0.076923 | false | 0 | 0.002331 | 0 | 0.079254 | 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 |
dc13f3dc88fc46000cab8adaba79cc069ecf9805 | 28,659 | py | Python | data_preprocess/data_pretreat.py | TAN-OpenLab/TCSE-net | fc6ecf704a9c128a9b5b6853cffa8486ee0f54e8 | [
"Apache-2.0"
] | null | null | null | data_preprocess/data_pretreat.py | TAN-OpenLab/TCSE-net | fc6ecf704a9c128a9b5b6853cffa8486ee0f54e8 | [
"Apache-2.0"
] | null | null | null | data_preprocess/data_pretreat.py | TAN-OpenLab/TCSE-net | fc6ecf704a9c128a9b5b6853cffa8486ee0f54e8 | [
"Apache-2.0"
] | null | null | null | # import numpy as np
# import six.moves.cPickle as pickle
# from data_preprocess import config
# import networkx as nx
# from data_preprocess import Laplacian
# import scipy.sparse
# from collections import Counter
# import gc
# LABEL_NUM = 0
# import math
#
# # trans the original ids to 1~n
# class IndexDi... | 39.258904 | 145 | 0.565616 | 3,958 | 28,659 | 3.845124 | 0.064174 | 0.01807 | 0.013404 | 0.009659 | 0.988173 | 0.988173 | 0.988173 | 0.988107 | 0.988107 | 0.988107 | 0 | 0.019883 | 0.306815 | 28,659 | 730 | 146 | 39.258904 | 0.746099 | 0.529188 | 0 | 0.177852 | 0 | 0 | 0.009058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050336 | false | 0 | 0.030201 | 0.003356 | 0.14094 | 0.04698 | 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 |
90742a5e4260d68b0d437394227e4d4a691cb2be | 12,635 | py | Python | tests/quick/engine/test_project_q_engine.py | WrathfulSpatula/SimulaQron | eaa5548df2f992e187ee70ccd81f192a1ce93e14 | [
"BSD-3-Clause"
] | 25 | 2017-11-20T08:50:12.000Z | 2018-07-31T19:02:19.000Z | tests/quick/engine/test_project_q_engine.py | WrathfulSpatula/SimulaQron | eaa5548df2f992e187ee70ccd81f192a1ce93e14 | [
"BSD-3-Clause"
] | 23 | 2017-11-21T21:47:28.000Z | 2018-10-03T08:28:41.000Z | tests/quick/engine/test_project_q_engine.py | WrathfulSpatula/SimulaQron | eaa5548df2f992e187ee70ccd81f192a1ce93e14 | [
"BSD-3-Clause"
] | 13 | 2017-11-20T08:50:14.000Z | 2018-09-01T21:44:00.000Z | import unittest
import numpy as np
from simulaqron.toolbox import has_module
from simulaqron.settings import SimBackend
if has_module.main(SimBackend.PROJECTQ.value):
from simulaqron.virtual_node.project_q_simulator import projectQEngine
from simulaqron.virtual_node.basics import noQubitError, quantumError
... | 34.711538 | 99 | 0.630233 | 1,788 | 12,635 | 4.231544 | 0.068233 | 0.112873 | 0.056701 | 0.064763 | 0.861882 | 0.823949 | 0.784034 | 0.737113 | 0.732355 | 0.70341 | 0 | 0.030604 | 0.242264 | 12,635 | 363 | 100 | 34.807163 | 0.759662 | 0 | 0 | 0.650641 | 0 | 0 | 0.006569 | 0 | 0 | 0 | 0 | 0 | 0.224359 | 1 | 0.121795 | false | 0 | 0.022436 | 0 | 0.157051 | 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 |
907eef92babb79ecb7a048beb308da9513218409 | 99 | py | Python | heron/bots/helpers/utils.py | thetomcraig/HERON | 11dc5e3c4bcffde200866c108574a950cef7f944 | [
"MIT"
] | 3 | 2018-02-24T22:17:40.000Z | 2021-05-18T21:29:17.000Z | heron/bots/helpers/utils.py | thetomcraig/HERON | 11dc5e3c4bcffde200866c108574a950cef7f944 | [
"MIT"
] | 16 | 2020-06-05T17:29:38.000Z | 2021-09-19T19:54:54.000Z | heron/bots/helpers/utils.py | thetomcraig/HERON | 11dc5e3c4bcffde200866c108574a950cef7f944 | [
"MIT"
] | null | null | null | import random
import logging
def clear_set(set_to_clear):
[x.delete() for x in set_to_clear]
| 14.142857 | 38 | 0.747475 | 18 | 99 | 3.833333 | 0.611111 | 0.144928 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171717 | 99 | 6 | 39 | 16.5 | 0.841463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90a4cdeb9a0d87cb839c802b110d0222d779c222 | 1,860 | py | Python | Microsoft/unit_aera.py | jsourabh1/6Days6Company | 65899c7c9d4734bd2151a9b54de633b1709ce583 | [
"MIT"
] | 1 | 2022-01-11T02:04:57.000Z | 2022-01-11T02:04:57.000Z | Microsoft/unit_aera.py | jsourabh1/6Days6Company | 65899c7c9d4734bd2151a9b54de633b1709ce583 | [
"MIT"
] | null | null | null | Microsoft/unit_aera.py | jsourabh1/6Days6Company | 65899c7c9d4734bd2151a9b54de633b1709ce583 | [
"MIT"
] | null | null | null | class Solution:
#Function to find unit area of the largest region of 1s.
def findMaxArea(self, grid):
#Code here
def dfs(i,j,grid):
if i >=0 and j >=0 and i < len(grid) and j <len(grid[i]) and grid[i][j] == 1:
# return 0
... | 33.818182 | 234 | 0.372043 | 370 | 1,860 | 1.87027 | 0.124324 | 0.367052 | 0.429191 | 0.462428 | 0.42341 | 0.365607 | 0.302023 | 0.302023 | 0.300578 | 0.300578 | 0 | 0.211293 | 0.409677 | 1,860 | 55 | 235 | 33.818182 | 0.418944 | 0.293011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0 | 0 | 0.222222 | 0.037037 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90ac0e0abccb1e62d904481e9a2d6d2945871409 | 99 | py | Python | tests/app/models.py | Stranger6667/djoffers | 3aff8953f56dea88326ffc294c9551b5ef7458ab | [
"MIT"
] | 1 | 2018-05-19T15:58:29.000Z | 2018-05-19T15:58:29.000Z | tests/app/models.py | Stranger6667/djoffers | 3aff8953f56dea88326ffc294c9551b5ef7458ab | [
"MIT"
] | 5 | 2016-09-14T09:00:30.000Z | 2018-05-12T09:54:35.000Z | tests/app/models.py | Stranger6667/djoffers | 3aff8953f56dea88326ffc294c9551b5ef7458ab | [
"MIT"
] | 1 | 2018-02-21T12:54:18.000Z | 2018-02-21T12:54:18.000Z | # coding: utf-8
from djoffers.models import HasOffersModel
class Offer(HasOffersModel):
pass
| 14.142857 | 42 | 0.767677 | 12 | 99 | 6.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.161616 | 99 | 6 | 43 | 16.5 | 0.903614 | 0.131313 | 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 |
90b9be0376bda238c41829e6eb19e8065f66b34c | 7,046 | py | Python | tests/unit-tests/test_rst_footnotes.py | bob-schumaker/confluencebuilder | 4e767395e4abbedb1955c7b1b1449244886ecb24 | [
"BSD-2-Clause"
] | 158 | 2019-03-18T13:42:40.000Z | 2022-03-25T09:46:59.000Z | tests/unit-tests/test_rst_footnotes.py | bob-schumaker/confluencebuilder | 4e767395e4abbedb1955c7b1b1449244886ecb24 | [
"BSD-2-Clause"
] | 192 | 2019-03-15T14:12:25.000Z | 2022-03-27T18:35:48.000Z | tests/unit-tests/test_rst_footnotes.py | bob-schumaker/confluencebuilder | 4e767395e4abbedb1955c7b1b1449244886ecb24 | [
"BSD-2-Clause"
] | 54 | 2019-03-22T14:14:31.000Z | 2022-03-08T06:54:28.000Z | # -*- coding: utf-8 -*-
"""
:copyright: Copyright 2020 Sphinx Confluence Builder Contributors (AUTHORS)
:license: BSD-2-Clause (LICENSE)
"""
from tests.lib import build_sphinx
from tests.lib import parse
from tests.lib import prepare_conf
import os
import unittest
class TestConfluenceRstFootnotes(unittest.TestCase):
... | 40.034091 | 80 | 0.582458 | 782 | 7,046 | 5.061381 | 0.13555 | 0.054573 | 0.030318 | 0.021223 | 0.767812 | 0.767812 | 0.745073 | 0.717787 | 0.717787 | 0.717787 | 0 | 0.00891 | 0.267244 | 7,046 | 175 | 81 | 40.262857 | 0.757699 | 0.052086 | 0 | 0.6 | 0 | 0 | 0.109917 | 0.021485 | 0 | 0 | 0 | 0 | 0.55 | 1 | 0.016667 | false | 0 | 0.041667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90e51b7ae376b3f11ca35636ff6cdbbd5e076d2b | 40 | py | Python | tools/targets/models_list.py | JeremyRubin/tornado-trails | 68b58e0b8dd455df016cf4b9f62d0f50b692c69c | [
"MIT"
] | 1 | 2017-01-28T14:15:55.000Z | 2017-01-28T14:15:55.000Z | tools/targets/models_list.py | JeremyRubin/tornado-trails | 68b58e0b8dd455df016cf4b9f62d0f50b692c69c | [
"MIT"
] | null | null | null | tools/targets/models_list.py | JeremyRubin/tornado-trails | 68b58e0b8dd455df016cf4b9f62d0f50b692c69c | [
"MIT"
] | null | null | null | from models.BaseHandler import BaseModel | 40 | 40 | 0.9 | 5 | 40 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
291652a616932e7684d3cae54ad5b82cb4350b00 | 77 | py | Python | freight/api/exceptions.py | rob-opsi/freight | 9b8e58ce80f6a2ad21769806bdb7f32e68713ce2 | [
"Apache-2.0"
] | null | null | null | freight/api/exceptions.py | rob-opsi/freight | 9b8e58ce80f6a2ad21769806bdb7f32e68713ce2 | [
"Apache-2.0"
] | null | null | null | freight/api/exceptions.py | rob-opsi/freight | 9b8e58ce80f6a2ad21769806bdb7f32e68713ce2 | [
"Apache-2.0"
] | 1 | 2020-07-03T00:52:08.000Z | 2020-07-03T00:52:08.000Z | from __future__ import absolute_import
class ApiError(Exception):
pass
| 12.833333 | 38 | 0.792208 | 9 | 77 | 6.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 39 | 15.4 | 0.875 | 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 |
2920efb9463a60d493a1eb855b7178e5b1125b30 | 40 | py | Python | helloGoogle.py | simonczhang/google-cloud | d3dfc2e959a8aa97feb21fc6f4902fc8b50e4857 | [
"MIT"
] | null | null | null | helloGoogle.py | simonczhang/google-cloud | d3dfc2e959a8aa97feb21fc6f4902fc8b50e4857 | [
"MIT"
] | null | null | null | helloGoogle.py | simonczhang/google-cloud | d3dfc2e959a8aa97feb21fc6f4902fc8b50e4857 | [
"MIT"
] | null | null | null | print('Hello World Google Cloud!!!!!')
| 20 | 39 | 0.65 | 5 | 40 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
292ac6eab5d45da8aa42c146f26a367e0d811af2 | 85 | py | Python | test/test_pytest_direnv.py | brent-moffit/pytest-direnv | cdd44a19386c25d5b464d517f39f692b6fee46ae | [
"MIT"
] | null | null | null | test/test_pytest_direnv.py | brent-moffit/pytest-direnv | cdd44a19386c25d5b464d517f39f692b6fee46ae | [
"MIT"
] | null | null | null | test/test_pytest_direnv.py | brent-moffit/pytest-direnv | cdd44a19386c25d5b464d517f39f692b6fee46ae | [
"MIT"
] | null | null | null | import os
def test_direnv_load():
assert os.getenv("TEST_VAR") == "test value"
| 14.166667 | 48 | 0.682353 | 13 | 85 | 4.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 49 | 17 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29300de506112f0c4d5bb4761fc0f023f2ebf6bc | 8,260 | py | Python | src/garage/tf/models/cnn.py | bainro/garage | c5afbb19524792d9bbad9b9741f45e1d48ddca3d | [
"MIT"
] | null | null | null | src/garage/tf/models/cnn.py | bainro/garage | c5afbb19524792d9bbad9b9741f45e1d48ddca3d | [
"MIT"
] | null | null | null | src/garage/tf/models/cnn.py | bainro/garage | c5afbb19524792d9bbad9b9741f45e1d48ddca3d | [
"MIT"
] | null | null | null | """CNN in TensorFlow."""
import tensorflow as tf
def cnn(input_var,
filter_dims,
num_filters,
strides,
name,
padding,
hidden_nonlinearity=tf.nn.relu,
hidden_w_init=tf.initializers.glorot_uniform(),
hidden_b_init=tf.zeros_initializer()):
"""Convoluti... | 44.648649 | 79 | 0.589588 | 1,068 | 8,260 | 4.437266 | 0.13015 | 0.032074 | 0.02089 | 0.030386 | 0.84406 | 0.816628 | 0.816628 | 0.803967 | 0.787508 | 0.787508 | 0 | 0.015074 | 0.333414 | 8,260 | 184 | 80 | 44.891304 | 0.845623 | 0.579661 | 0 | 0.630769 | 0 | 0 | 0.005178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046154 | false | 0 | 0.015385 | 0 | 0.107692 | 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 |
2947c0a21e039c13a52c661a597ac229fed41e01 | 71 | py | Python | katas/kyu_7/find_the_stray_number.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/find_the_stray_number.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/find_the_stray_number.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def stray(arr):
return reduce(lambda prev, curr: prev ^ curr, arr)
| 23.666667 | 54 | 0.676056 | 11 | 71 | 4.363636 | 0.727273 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 71 | 2 | 55 | 35.5 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
29561621ce033f62365a6725cd790753eb96befe | 11,413 | py | Python | awesome_panel_extensions/assets/svg_icons.py | Jhsmit/awesome-panel-extensions | 41eba7cf84caa911be4ed0df2a96e16fc1e70263 | [
"CC-BY-4.0"
] | 3 | 2020-07-16T07:28:45.000Z | 2020-07-17T12:53:56.000Z | awesome_panel_extensions/assets/svg_icons.py | MarcSkovMadsen/panel-extensions-template | f41ad8d8fb8502f87de3a4992917cbffb6299012 | [
"CC-BY-4.0"
] | null | null | null | awesome_panel_extensions/assets/svg_icons.py | MarcSkovMadsen/panel-extensions-template | f41ad8d8fb8502f87de3a4992917cbffb6299012 | [
"CC-BY-4.0"
] | null | null | null | """This module provides a collection of SVG Icons"""
# pylint: disable=line-too-long
GIF_SVG = """ <svg class="pnx-icon" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M12.002 4h-10a1 1 0 0 0-1 1v8l2.256-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094l1.777 1... | 113 | 1,027 | 0.661439 | 2,792 | 11,413 | 2.694842 | 0.277579 | 0.025253 | 0.013158 | 0.009569 | 0.367757 | 0.329612 | 0.309676 | 0.293993 | 0.284423 | 0.280968 | 0 | 0.47446 | 0.108035 | 11,413 | 100 | 1,028 | 114.13 | 0.264637 | 0.011653 | 0 | 0.263736 | 0 | 0.527473 | 0.949074 | 0.350488 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
462be090cc5a7e40770e0321bc8bd623feadf8bb | 8,867 | py | Python | Ago-Dic-2019/Ricardo_Romero_Medina/Ordinario/database.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 41 | 2017-09-26T09:36:32.000Z | 2022-03-19T18:05:25.000Z | Ago-Dic-2019/Ricardo_Romero_Medina/Ordinario/database.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 67 | 2017-09-11T05:06:12.000Z | 2022-02-14T04:44:04.000Z | Ago-Dic-2019/Ricardo_Romero_Medina/Ordinario/database.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 210 | 2017-09-01T00:10:08.000Z | 2022-03-19T18:05:12.000Z | import sqlite3
class basedatos():
def __init__(self):
self.crear_tabla_personajes()
self.crear_tabla_locaciones()
self.crear_tabla_Episodios()
def crear_tabla_personajes(self):
try:
conexion = sqlite3.connect('Ordinario/BaseDatos/rickandmorty.db')
... | 34.501946 | 234 | 0.512687 | 802 | 8,867 | 5.578554 | 0.137157 | 0.018775 | 0.036209 | 0.050291 | 0.798391 | 0.798391 | 0.775816 | 0.775816 | 0.775816 | 0.775816 | 0 | 0.003355 | 0.361227 | 8,867 | 257 | 235 | 34.501946 | 0.786547 | 0.006316 | 0 | 0.781553 | 0 | 0.019417 | 0.384153 | 0.061869 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048544 | false | 0 | 0.004854 | 0 | 0.063107 | 0.218447 | 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 |
465443438003613058727e8573e00546439040db | 165 | py | Python | classified/probe/all.py | tehmaze/classified | 479768675cdff0156510741d0c0ea37b9b10c099 | [
"MIT"
] | 6 | 2015-03-17T21:37:58.000Z | 2020-05-20T12:45:57.000Z | classified/probe/all.py | tehmaze/classified | 479768675cdff0156510741d0c0ea37b9b10c099 | [
"MIT"
] | 2 | 2016-01-14T12:42:17.000Z | 2020-05-19T09:38:31.000Z | classified/probe/all.py | tehmaze/classified | 479768675cdff0156510741d0c0ea37b9b10c099 | [
"MIT"
] | 1 | 2016-06-10T12:23:03.000Z | 2016-06-10T12:23:03.000Z | # Project imports
from classified.probe.pan import PAN
from classified.probe.pcap import PCAP
from classified.probe.ssl import SSL
__all__ = ['PAN', 'PCAP', 'SSL']
| 23.571429 | 38 | 0.763636 | 24 | 165 | 5.083333 | 0.416667 | 0.344262 | 0.467213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 165 | 6 | 39 | 27.5 | 0.847222 | 0.090909 | 0 | 0 | 0 | 0 | 0.067568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4655246d86fd27b7f96852b412c0d2094dbac383 | 44 | py | Python | scorebot/__init__.py | bombsimon/hltv-python | 6b882fea88245c239fc034892f75898d65adcb0c | [
"MIT"
] | 10 | 2019-10-14T00:40:50.000Z | 2022-03-30T21:46:35.000Z | scorebot/__init__.py | bombsimon/hltv-python | 6b882fea88245c239fc034892f75898d65adcb0c | [
"MIT"
] | 6 | 2020-07-24T14:21:05.000Z | 2022-03-10T07:32:52.000Z | scorebot/__init__.py | bombsimon/hltv-python | 6b882fea88245c239fc034892f75898d65adcb0c | [
"MIT"
] | 4 | 2020-04-25T08:47:12.000Z | 2022-03-20T14:38:13.000Z | from .game import *
from .scorebot import *
| 14.666667 | 23 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 24 | 22 | 0.888889 | 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 |
d3f0197e49bc897998f568d9536fdaec3fa92f54 | 129 | py | Python | siesta_utils/__init__.py | semodi/siesta_utils | 3bca36440e31cdda7784a16a50b93f2b88e1550f | [
"BSD-3-Clause"
] | null | null | null | siesta_utils/__init__.py | semodi/siesta_utils | 3bca36440e31cdda7784a16a50b93f2b88e1550f | [
"BSD-3-Clause"
] | null | null | null | siesta_utils/__init__.py | semodi/siesta_utils | 3bca36440e31cdda7784a16a50b93f2b88e1550f | [
"BSD-3-Clause"
] | null | null | null | """
This is the base file of siesta_utils
"""
from . import grid
from . import mat
from . import conversions
from . import xyz
| 14.333333 | 37 | 0.713178 | 20 | 129 | 4.55 | 0.7 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 129 | 8 | 38 | 16.125 | 0.892157 | 0.286822 | 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 |
310202927a7c280ed1e91bd9898e32f149ac0a57 | 1,726 | py | Python | exercisemodule1.py | shyed2001/Python_Programming | 93ef958e3d8aa77f9191b550972235ce4fe4a6cb | [
"bzip2-1.0.6"
] | 2 | 2019-05-01T04:32:14.000Z | 2019-05-04T11:28:18.000Z | exercisemodule1.py | shyed2001/python-learning-basics | 93ef958e3d8aa77f9191b550972235ce4fe4a6cb | [
"bzip2-1.0.6"
] | null | null | null | exercisemodule1.py | shyed2001/python-learning-basics | 93ef958e3d8aa77f9191b550972235ce4fe4a6cb | [
"bzip2-1.0.6"
] | null | null | null | #-------------------------------------------------------------------------------
# Name: Return Function
# Purpose: Exercise
#
# Author: Shyed Shahriar Housaini
#
# Created: 01/05/2019
# Copyright: (c) User 2019
# Licence: <your licence>
#----------------------------------------------... | 18.76087 | 81 | 0.524913 | 193 | 1,726 | 4.694301 | 0.326425 | 0.182119 | 0.15894 | 0.05298 | 0.807947 | 0.783664 | 0.745033 | 0.745033 | 0.695364 | 0.695364 | 0 | 0.030324 | 0.159328 | 1,726 | 91 | 82 | 18.967033 | 0.594073 | 0.188297 | 0 | 0.864865 | 0 | 0 | 0.583655 | 0.114109 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.324324 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3170c00771eea27b977e07210808ea67511be341 | 599 | py | Python | app/dao/db.py | rbarbioni/python-flask-api | b245e167eae6482e80b8b69b33e418eea2b31aff | [
"Apache-2.0"
] | 3 | 2020-07-01T19:42:42.000Z | 2021-06-06T00:47:48.000Z | app/dao/db.py | rbarbioni/python-flask-api | b245e167eae6482e80b8b69b33e418eea2b31aff | [
"Apache-2.0"
] | 1 | 2021-04-04T23:45:29.000Z | 2021-04-04T23:45:29.000Z | app/dao/db.py | rbarbioni/python-flask-api | b245e167eae6482e80b8b69b33e418eea2b31aff | [
"Apache-2.0"
] | null | null | null | def all(session, Model):
return session.query(Model).all()
def query(session, Model, filter):
return session.query(Model).filter(filter)
def query_first(session, Model, filter):
return session.query(Model).filter(filter).first()
def query_all(session, Model, filter):
return session.query(Model).fi... | 22.185185 | 60 | 0.722871 | 80 | 599 | 5.3875 | 0.15 | 0.25522 | 0.25058 | 0.320186 | 0.649652 | 0.573086 | 0.491879 | 0.491879 | 0.491879 | 0 | 0 | 0 | 0.135225 | 599 | 26 | 61 | 23.038462 | 0.832046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
31a03ed1a0689adc286790c1a7f849019c090a84 | 107 | py | Python | agpy/__init__.py | bhanuponguru/ag_py | e43103ad2776505aa307abe2299a29c6ce5d9277 | [
"MIT"
] | null | null | null | agpy/__init__.py | bhanuponguru/ag_py | e43103ad2776505aa307abe2299a29c6ce5d9277 | [
"MIT"
] | null | null | null | agpy/__init__.py | bhanuponguru/ag_py | e43103ad2776505aa307abe2299a29c6ce5d9277 | [
"MIT"
] | null | null | null | from . import *
from .window import *
from .keycodes import *
from .keyboard import *
from .timer import *
| 17.833333 | 23 | 0.719626 | 14 | 107 | 5.5 | 0.428571 | 0.519481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186916 | 107 | 5 | 24 | 21.4 | 0.885057 | 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 |
31af26efaf31e4646621c77194c27461260cc893 | 42 | py | Python | __init__.py | PVSemk/segmentation_models.pytorch | 8d9b033be918dfc1e6186d9ef404cc7d2c171e8d | [
"MIT"
] | null | null | null | __init__.py | PVSemk/segmentation_models.pytorch | 8d9b033be918dfc1e6186d9ef404cc7d2c171e8d | [
"MIT"
] | null | null | null | __init__.py | PVSemk/segmentation_models.pytorch | 8d9b033be918dfc1e6186d9ef404cc7d2c171e8d | [
"MIT"
] | null | null | null | from segmentation_models_pytorch import *
| 21 | 41 | 0.880952 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.921053 | 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 |
9ee4406dc9bf92cfadac96d5e4789ff203d741d6 | 2,586 | py | Python | tools/ci/test_autocomplete.py | iPlon-org/esp-idf | a5227db2a75102ca1a17860188c3c352a529a01b | [
"Apache-2.0"
] | 8,747 | 2016-08-18T14:58:24.000Z | 2022-03-31T20:58:55.000Z | tools/ci/test_autocomplete.py | iPlon-org/esp-idf | a5227db2a75102ca1a17860188c3c352a529a01b | [
"Apache-2.0"
] | 8,603 | 2016-08-20T08:55:56.000Z | 2022-03-31T23:04:01.000Z | tools/ci/test_autocomplete.py | iPlon-org/esp-idf | a5227db2a75102ca1a17860188c3c352a529a01b | [
"Apache-2.0"
] | 6,380 | 2016-08-18T18:17:00.000Z | 2022-03-31T22:25:57.000Z | #!/usr/bin/env python
import os
import sys
import unittest
import pexpect
class Test(unittest.TestCase):
def test_fish(self):
os.environ['TERM'] = 'vt100'
child = pexpect.spawn('fish -i')
with open(os.environ['IDF_PATH'] + '/fish' + str(sys.version_info.major) + '.out', 'wb') as output:
... | 44.586207 | 114 | 0.578113 | 312 | 2,586 | 4.737179 | 0.24359 | 0.030447 | 0.069012 | 0.097429 | 0.809202 | 0.809202 | 0.809202 | 0.758457 | 0.758457 | 0.747632 | 0 | 0.012746 | 0.271848 | 2,586 | 57 | 115 | 45.368421 | 0.772172 | 0.007734 | 0 | 0.530612 | 0 | 0.040816 | 0.28499 | 0.075244 | 0 | 0 | 0 | 0 | 0.122449 | 1 | 0.061224 | false | 0 | 0.081633 | 0 | 0.163265 | 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 |
9eeb15541b84931e72cdfc3031e7c3ea73a14774 | 331 | py | Python | templates/python.flask/{{cookiecutter.project_safe_name}}/app/main/views/misc.py | by46/recipe | 203abd2141a536b66b4e57d073169a49395be1f0 | [
"MIT"
] | null | null | null | templates/python.flask/{{cookiecutter.project_safe_name}}/app/main/views/misc.py | by46/recipe | 203abd2141a536b66b4e57d073169a49395be1f0 | [
"MIT"
] | null | null | null | templates/python.flask/{{cookiecutter.project_safe_name}}/app/main/views/misc.py | by46/recipe | 203abd2141a536b66b4e57d073169a49395be1f0 | [
"MIT"
] | null | null | null | from flask import current_app
from flask import render_template
from app.main import main
@main.route("/version", methods=['GET'])
def version():
return render_template('main/version.html', version=current_app.config['VERSION'])
@main.route("/faq.htm")
def faq():
return render_template('main/f... | 22.066667 | 87 | 0.703927 | 45 | 331 | 5.066667 | 0.4 | 0.184211 | 0.131579 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154079 | 331 | 14 | 88 | 23.642857 | 0.814286 | 0 | 0 | 0 | 0 | 0 | 0.176656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
730092245bc786f464d599057fcb22425131b790 | 2,735 | py | Python | transactions/models.py | Guilehm/expense-control-system | c0f8393497f54076cb15008f1bda9efc5081025b | [
"MIT"
] | 1 | 2022-02-16T23:23:02.000Z | 2022-02-16T23:23:02.000Z | transactions/models.py | guilehm/expense-control-system | c0f8393497f54076cb15008f1bda9efc5081025b | [
"MIT"
] | 40 | 2018-07-01T15:49:05.000Z | 2018-09-06T02:37:24.000Z | transactions/models.py | Guilehm/Expense-Control-System | c0f8393497f54076cb15008f1bda9efc5081025b | [
"MIT"
] | 1 | 2019-05-05T13:43:55.000Z | 2019-05-05T13:43:55.000Z | from django.contrib.auth.models import User
from django.core.validators import MinValueValidator
from django.db import models
from django.db.models import Sum
class ExpenseQuerySet(models.QuerySet):
def total(self):
return self.aggregate(Sum('total'))['total__sum'] or 0
class RevenueQuerySet(models.Quer... | 32.176471 | 102 | 0.695795 | 328 | 2,735 | 5.631098 | 0.25 | 0.038982 | 0.047645 | 0.068219 | 0.788305 | 0.788305 | 0.788305 | 0.741743 | 0.741743 | 0.741743 | 0 | 0.005437 | 0.193053 | 2,735 | 84 | 103 | 32.559524 | 0.831445 | 0.008775 | 0 | 0.695652 | 0 | 0 | 0.056109 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057971 | false | 0 | 0.057971 | 0.057971 | 0.637681 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
73292cd965a33861268b4a580907fd3b067bff62 | 17,113 | py | Python | insights/parsers/tests/test_multipath_v4_ll.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 121 | 2017-05-30T20:23:25.000Z | 2022-03-23T12:52:15.000Z | insights/parsers/tests/test_multipath_v4_ll.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 1,977 | 2017-05-26T14:36:03.000Z | 2022-03-31T10:38:53.000Z | insights/parsers/tests/test_multipath_v4_ll.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 244 | 2017-05-30T20:22:57.000Z | 2022-03-26T10:09:39.000Z | from insights.parsers import multipath_v4_ll
from insights.tests import context_wrap
import doctest
MULTIPATH_V4_LL_INFO = """
===== paths list =====
uuid hcil dev dev_t pri dm_st chk_st vend/prod/rev dev_st
0:0:0:0 sda 8:0 -1 undef ready VMware,Virtual disk running
3:0:0:1 sdb 8:16 -1 undef r... | 43.105793 | 116 | 0.591188 | 2,897 | 17,113 | 3.412151 | 0.090784 | 0.02347 | 0.123824 | 0.045321 | 0.807284 | 0.768943 | 0.731715 | 0.704299 | 0.689327 | 0.603541 | 0 | 0.161491 | 0.230351 | 17,113 | 396 | 117 | 43.214646 | 0.589021 | 0.022907 | 0 | 0.51532 | 0 | 0.114206 | 0.677723 | 0.031273 | 0 | 0 | 0.001102 | 0 | 0.13649 | 1 | 0.011142 | false | 0 | 0.008357 | 0 | 0.019499 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
733c5c6ca77da668bc1c3e90e95aa23118657e58 | 25 | py | Python | crabs/api_caller/__init__.py | jonathanshuai/crabs | 2177f9d829a35a670619e1141d10a0442df25aa8 | [
"BSD-3-Clause"
] | null | null | null | crabs/api_caller/__init__.py | jonathanshuai/crabs | 2177f9d829a35a670619e1141d10a0442df25aa8 | [
"BSD-3-Clause"
] | 6 | 2021-03-18T20:50:52.000Z | 2022-03-11T23:28:02.000Z | crabs/api_caller/__init__.py | jonathanshuai/crabs | 2177f9d829a35a670619e1141d10a0442df25aa8 | [
"BSD-3-Clause"
] | null | null | null | from .crabcaller import * | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
734216486f12fde78fd5abd1f947568c07390014 | 13,843 | py | Python | bot.py | Shikib/reddit_chat | db3effbd8b74835d6ee824d90884f47c2efcf589 | [
"MIT"
] | null | null | null | bot.py | Shikib/reddit_chat | db3effbd8b74835d6ee824d90884f47c2efcf589 | [
"MIT"
] | null | null | null | bot.py | Shikib/reddit_chat | db3effbd8b74835d6ee824d90884f47c2efcf589 | [
"MIT"
] | null | null | null | import string
import json
import random
from nltk import word_tokenize
from nltk import pos_tag
class ContextAwareMarkovBot():
def __init__(self,
ngram_len=5,
size_reweight=True,
punctuation_dataset=None,
style_dataset=None,
subr... | 37.926027 | 82 | 0.537311 | 1,642 | 13,843 | 4.32095 | 0.098051 | 0.047639 | 0.065962 | 0.014094 | 0.834249 | 0.812403 | 0.791825 | 0.745032 | 0.732629 | 0.723326 | 0 | 0.011109 | 0.382215 | 13,843 | 364 | 83 | 38.03022 | 0.818522 | 0.131836 | 0 | 0.651064 | 0 | 0 | 0.00618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055319 | false | 0 | 0.025532 | 0 | 0.110638 | 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 |
b402b6c30bd40cf69e25b007c5d9719fdf7d4842 | 183 | py | Python | apps/employee/views/its_alive.py | victtorvpb/employee-manager | fa0ea41a80e38378feef1fcbc071d9615f1d5b54 | [
"Apache-2.0"
] | null | null | null | apps/employee/views/its_alive.py | victtorvpb/employee-manager | fa0ea41a80e38378feef1fcbc071d9615f1d5b54 | [
"Apache-2.0"
] | 15 | 2019-08-18T17:20:23.000Z | 2021-06-09T18:15:40.000Z | apps/employee/views/its_alive.py | victtorvpb/employee-manager | fa0ea41a80e38378feef1fcbc071d9615f1d5b54 | [
"Apache-2.0"
] | 1 | 2019-08-20T00:47:04.000Z | 2019-08-20T00:47:04.000Z | from rest_framework.decorators import api_view
from rest_framework.response import Response
@api_view(['GET'])
def its_alive(request):
return Response({'message': 'its_alive'})
| 22.875 | 46 | 0.775956 | 25 | 183 | 5.44 | 0.6 | 0.117647 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10929 | 183 | 7 | 47 | 26.142857 | 0.834356 | 0 | 0 | 0 | 0 | 0 | 0.103825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b40b1558a9aa57bad311c7e28bca41b05079ec96 | 27,782 | py | Python | azure-mgmt-batchai/tests/test_mgmt_batchai_jobs.py | Christina-Kang/azure-sdk-for-python | bbf982eb06aab04b8151f69f1d230b7f5fb96ebf | [
"MIT"
] | 1 | 2022-03-30T22:39:15.000Z | 2022-03-30T22:39:15.000Z | azure-mgmt-batchai/tests/test_mgmt_batchai_jobs.py | Christina-Kang/azure-sdk-for-python | bbf982eb06aab04b8151f69f1d230b7f5fb96ebf | [
"MIT"
] | 54 | 2016-03-25T17:25:01.000Z | 2018-10-22T17:27:54.000Z | azure-mgmt-batchai/tests/test_mgmt_batchai_jobs.py | Christina-Kang/azure-sdk-for-python | bbf982eb06aab04b8151f69f1d230b7f5fb96ebf | [
"MIT"
] | 2 | 2017-01-20T18:25:46.000Z | 2017-05-12T21:31:47.000Z | # coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------... | 61.737778 | 119 | 0.626485 | 3,059 | 27,782 | 5.487414 | 0.097091 | 0.069701 | 0.076969 | 0.07268 | 0.831586 | 0.821518 | 0.801859 | 0.767544 | 0.721494 | 0.715596 | 0 | 0.004068 | 0.274458 | 27,782 | 449 | 120 | 61.875278 | 0.828695 | 0.106688 | 0 | 0.692308 | 0 | 0.005495 | 0.083893 | 0.02501 | 0 | 0 | 0 | 0 | 0.162088 | 1 | 0.041209 | false | 0.005495 | 0.024725 | 0 | 0.068681 | 0.002747 | 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 |
b4242c170c7c228d8ac1f21e05664f506fce7d75 | 4,395 | py | Python | python/data-visualization/bar-plot/bar-weights/bar.py | lijiansong/lang | e255709da2b12e09dea45f86d54f77a19b96f13b | [
"WTFPL"
] | 1 | 2020-01-09T03:22:09.000Z | 2020-01-09T03:22:09.000Z | python/data-visualization/bar-plot/bar-weights/bar.py | lijiansong/lang | e255709da2b12e09dea45f86d54f77a19b96f13b | [
"WTFPL"
] | null | null | null | python/data-visualization/bar-plot/bar-weights/bar.py | lijiansong/lang | e255709da2b12e09dea45f86d54f77a19b96f13b | [
"WTFPL"
] | null | null | null | import matplotlib
import matplotlib.pyplot as plt
import numpy as np
def autolabel(ax, rects):
"""Attach a text label above each bar in *rects*, displaying its height."""
for rect in rects:
height = rect.get_height()
if height > 0.0:
ax.annotate('{}'.format(height),
... | 39.241071 | 86 | 0.615472 | 695 | 4,395 | 3.729496 | 0.184173 | 0.032407 | 0.080247 | 0.037037 | 0.810957 | 0.810957 | 0.810957 | 0.810957 | 0.790123 | 0.790123 | 0 | 0.079695 | 0.223436 | 4,395 | 111 | 87 | 39.594595 | 0.679754 | 0.058476 | 0 | 0.688172 | 0 | 0 | 0.082344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.032258 | 0 | 0.064516 | 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 |
b4302d63e4350509e38eb74a1aa6b86644bafefb | 6,379 | py | Python | fireant/tests/dataset/operations/test_cumulative.py | mikeengland/fireant | 63c12728c11f1fb252265459f8b8f384d20414b9 | [
"Apache-2.0"
] | 122 | 2016-08-05T13:34:52.000Z | 2022-03-15T13:21:13.000Z | fireant/tests/dataset/operations/test_cumulative.py | mikeengland/fireant | 63c12728c11f1fb252265459f8b8f384d20414b9 | [
"Apache-2.0"
] | 321 | 2016-08-10T08:48:15.000Z | 2021-07-28T13:08:18.000Z | fireant/tests/dataset/operations/test_cumulative.py | mikeengland/fireant | 63c12728c11f1fb252265459f8b8f384d20414b9 | [
"Apache-2.0"
] | 27 | 2016-08-10T08:11:08.000Z | 2021-08-23T08:14:37.000Z | from unittest import TestCase
from unittest.mock import MagicMock
import pandas as pd
import pandas.testing
from fireant import CumMean, CumProd, CumSum, Field
from fireant.dataset.references import Reference, WeekOverWeek
from fireant.tests.dataset.mocks import (
ElectionOverElection,
dimx1_date_df,
dimx... | 35.837079 | 120 | 0.604797 | 780 | 6,379 | 4.696154 | 0.158974 | 0.034398 | 0.045864 | 0.0819 | 0.801256 | 0.796615 | 0.790063 | 0.755119 | 0.755119 | 0.749113 | 0 | 0.091108 | 0.282489 | 6,379 | 177 | 121 | 36.039548 | 0.709198 | 0 | 0 | 0.468966 | 0 | 0 | 0.039818 | 0.011287 | 0 | 0 | 0 | 0 | 0.082759 | 1 | 0.082759 | false | 0 | 0.048276 | 0 | 0.151724 | 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 |
b444d45303e82e585a54f1edfd58ec87812630e1 | 91 | py | Python | h5Nastran/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | 3 | 2017-12-02T05:13:05.000Z | 2017-12-07T04:34:13.000Z | h5Nastran/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | null | null | null | h5Nastran/__init__.py | mjredmond/mrNastran | 4fa57c16e93622ad8be3fb2ed221415ed25c5635 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function, absolute_import
from .h5_nastran import H5Nastran | 30.333333 | 55 | 0.857143 | 12 | 91 | 5.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.120879 | 91 | 3 | 56 | 30.333333 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
b4656df643fc1944f75c2bfa06a3b14a366eacd2 | 297 | py | Python | problems/303_range-sum-query-immutable.py | okuda-seminar/review_leetcode | 9774dbb85b836c3ebab4b24d77774ed05abb7a32 | [
"MIT"
] | null | null | null | problems/303_range-sum-query-immutable.py | okuda-seminar/review_leetcode | 9774dbb85b836c3ebab4b24d77774ed05abb7a32 | [
"MIT"
] | 170 | 2021-05-11T14:03:05.000Z | 2021-11-30T14:22:52.000Z | problems/303_range-sum-query-immutable.py | ryuji0123/review_leetcode | 9774dbb85b836c3ebab4b24d77774ed05abb7a32 | [
"MIT"
] | null | null | null | # n = nums.length
# time = O(n)
# space = O(1)
class NumArray:
def __init__(self, nums: List[int]):
self.cumlative_sum = list(accumulate([0] + nums))
def sumRange(self, left: int, right: int) -> int:
return self.cumlative_sum[right + 1] - self.cumlative_sum[left]
| 29.7 | 71 | 0.612795 | 42 | 297 | 4.166667 | 0.52381 | 0.222857 | 0.274286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013216 | 0.23569 | 297 | 9 | 72 | 33 | 0.757709 | 0.13468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b4658d9f43c54ae2ea2fc56353419388cc31bb9d | 124 | py | Python | grayscale/clang/math/max.py | KennethanCeyer/grayscale | 646a11ea47f2120f317e554c736d8054aa55c4c4 | [
"MIT"
] | null | null | null | grayscale/clang/math/max.py | KennethanCeyer/grayscale | 646a11ea47f2120f317e554c736d8054aa55c4c4 | [
"MIT"
] | null | null | null | grayscale/clang/math/max.py | KennethanCeyer/grayscale | 646a11ea47f2120f317e554c736d8054aa55c4c4 | [
"MIT"
] | null | null | null | from typing import List
from grayscale.clang import dll
def max(nums: List[float]) -> float:
return dll.gs_max(nums)
| 15.5 | 36 | 0.725806 | 20 | 124 | 4.45 | 0.65 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 124 | 7 | 37 | 17.714286 | 0.872549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 |
81eca17d648d69799b04a6eb883103a30bb9582e | 552 | py | Python | qlearning4k/games/game.py | AlexGreason/DeepQLearning | bc554946bf84644b3430aeab9ad27c2c1f08f689 | [
"MIT"
] | null | null | null | qlearning4k/games/game.py | AlexGreason/DeepQLearning | bc554946bf84644b3430aeab9ad27c2c1f08f689 | [
"MIT"
] | null | null | null | qlearning4k/games/game.py | AlexGreason/DeepQLearning | bc554946bf84644b3430aeab9ad27c2c1f08f689 | [
"MIT"
] | null | null | null | class Game:
def __init__(self):
self.reset()
@property
def name(self):
return "Game"
@property
def nb_actions(self):
return 0
def reset(self):
pass
def play(self, action):
pass
def get_state(self):
return None
def get_score(self):
return 0
def is_over(self):
... | 13.8 | 35 | 0.628623 | 80 | 552 | 4.175 | 0.35 | 0.209581 | 0.116766 | 0.161677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.271739 | 552 | 39 | 36 | 14.153846 | 0.825871 | 0 | 0 | 0.357143 | 0 | 0 | 0.007797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.392857 | false | 0.071429 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
81f37e5d92a3cb9be77ba832f0b779004ed5796a | 110 | py | Python | mediafeed/core/views.py | rennerocha/youtube-organizer | a267b3281f183cc4bcf37b3543324084540bfc25 | [
"MIT"
] | 11 | 2020-06-17T18:00:04.000Z | 2020-07-15T13:11:36.000Z | mediafeed/core/views.py | rennerocha/youtube-organizer | a267b3281f183cc4bcf37b3543324084540bfc25 | [
"MIT"
] | 12 | 2020-06-24T19:16:07.000Z | 2020-07-21T13:33:14.000Z | mediafeed/core/views.py | rennerocha/youtube-organizer | a267b3281f183cc4bcf37b3543324084540bfc25 | [
"MIT"
] | null | null | null | from django.shortcuts import redirect
def user_profile(request):
return redirect("/c/renne/computacao")
| 18.333333 | 42 | 0.772727 | 14 | 110 | 6 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 110 | 5 | 43 | 22 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 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 |
81f6ef5dc045d6a8046b8d32045bc73e02891351 | 70 | py | Python | package1/package2/__init__.py | leowindwave/YAPT | ee5ec568ed746f90a18dc514836624d435a7ccdb | [
"CC0-1.0"
] | 4 | 2017-03-06T09:49:11.000Z | 2019-10-16T00:09:38.000Z | package1/package2/__init__.py | leowindwave/YAPT | ee5ec568ed746f90a18dc514836624d435a7ccdb | [
"CC0-1.0"
] | null | null | null | package1/package2/__init__.py | leowindwave/YAPT | ee5ec568ed746f90a18dc514836624d435a7ccdb | [
"CC0-1.0"
] | 7 | 2017-11-02T11:00:30.000Z | 2020-01-31T22:41:27.000Z | print("package1/package2/__init__.py excuted")
from . import module2
| 17.5 | 46 | 0.785714 | 9 | 70 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.1 | 70 | 3 | 47 | 23.333333 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.536232 | 0.42029 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c31858a31f560a11e9505ccb53e5f4bff21e18ae | 14,558 | py | Python | python-impl/serdesZ.py | Byeongjee/bls_sigs_ref-fork | ae912b8f701fa93d26886eadef02d5d9c76e99ed | [
"Apache-2.0"
] | 2 | 2020-09-14T20:52:56.000Z | 2021-07-11T14:58:14.000Z | python-impl/serdesZ.py | Byeongjee/bls_sigs_ref-fork | ae912b8f701fa93d26886eadef02d5d9c76e99ed | [
"Apache-2.0"
] | 1 | 2019-10-23T15:06:57.000Z | 2019-10-23T15:06:57.000Z | python-impl/serdesZ.py | Byeongjee/bls_sigs_ref-fork | ae912b8f701fa93d26886eadef02d5d9c76e99ed | [
"Apache-2.0"
] | 1 | 2020-02-10T01:00:33.000Z | 2020-02-10T01:00:33.000Z | #!/usr/bin/python
# vim: syntax=python
#
# point serialization / deserialization
# using the ZCash format
# https://github.com/zkcrypto/pairing/blob/master/src/bls12_381/README.md
# https://github.com/zcash/zcash/issues/2517
# (C) 2019 Riad S. Wahby <rsw@cs.stanford.edu>
#
# see the comment at the top of ../sage-im... | 73.898477 | 397 | 0.812199 | 828 | 14,558 | 14.129227 | 0.289855 | 0.011539 | 0.013164 | 0.002821 | 0.071203 | 0.046671 | 0.023592 | 0.006838 | 0.006838 | 0.006838 | 0 | 0.535805 | 0.134771 | 14,558 | 196 | 398 | 74.27551 | 0.392982 | 0.060791 | 0 | 0.064748 | 0 | 0 | 0.661169 | 0.625761 | 0 | 1 | 0.00088 | 0 | 0.014388 | 1 | 0.043165 | false | 0 | 0.071942 | 0 | 0.194245 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c34243eb18839812cd504a19a6e986c5e0497445 | 124 | py | Python | main.py | diazcal/data-analytics-spanish-parliament-seat-allocation | 9131302c76edeb8b35ffa3b078232f9f6919ecd8 | [
"MIT"
] | null | null | null | main.py | diazcal/data-analytics-spanish-parliament-seat-allocation | 9131302c76edeb8b35ffa3b078232f9f6919ecd8 | [
"MIT"
] | null | null | null | main.py | diazcal/data-analytics-spanish-parliament-seat-allocation | 9131302c76edeb8b35ffa3b078232f9f6919ecd8 | [
"MIT"
] | null | null | null | from datasets.parties.all import df_regions_votes_and_parties
from datasets.regions.province import df_community_and_provice | 62 | 62 | 0.91129 | 19 | 124 | 5.578947 | 0.631579 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 124 | 2 | 62 | 62 | 0.905983 | 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 |
c37628f0ba44b8d21af74a0700b20d8e4066269d | 4,292 | py | Python | cmd/trainer/model/model.py | andrewcopp/coup | 184629e546e0f190b6c16ca8b1d8c6a8c94ac578 | [
"MIT"
] | 1 | 2020-02-16T22:10:53.000Z | 2020-02-16T22:10:53.000Z | cmd/trainer/model/model.py | andrewcopp/coup | 184629e546e0f190b6c16ca8b1d8c6a8c94ac578 | [
"MIT"
] | null | null | null | cmd/trainer/model/model.py | andrewcopp/coup | 184629e546e0f190b6c16ca8b1d8c6a8c94ac578 | [
"MIT"
] | null | null | null | import tensorflow as tf
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
# The model is responsible for all of the TensorFlow logic.
class Model:
def __init__(self):
self.epsilon = 0.01
def initialize(self, outfile):
tf.reset_default_graph()
n_inputs = 301
n_outputs = 1
... | 30.013986 | 101 | 0.561976 | 513 | 4,292 | 4.495127 | 0.179337 | 0.133565 | 0.083261 | 0.072853 | 0.747181 | 0.717259 | 0.717259 | 0.717259 | 0.717259 | 0.701648 | 0 | 0.019595 | 0.310345 | 4,292 | 142 | 102 | 30.225352 | 0.759459 | 0.026095 | 0 | 0.726316 | 0 | 0 | 0.053918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.021053 | 0 | 0.094737 | 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 |
c382b8dfb0cfea4ff39a3c7b2f9370c0d9694512 | 66 | py | Python | nntoolbox/vision/losses/__init__.py | nhatsmrt/nn-toolbox | 689b9924d3c88a433f8f350b89c13a878ac7d7c3 | [
"Apache-2.0"
] | 16 | 2019-07-11T15:57:41.000Z | 2020-09-08T13:52:45.000Z | nntoolbox/vision/losses/__init__.py | nhatsmrt/nn-toolbox | 689b9924d3c88a433f8f350b89c13a878ac7d7c3 | [
"Apache-2.0"
] | 1 | 2022-01-18T22:21:57.000Z | 2022-01-18T22:21:57.000Z | nntoolbox/vision/losses/__init__.py | nhatsmrt/nn-toolbox | 689b9924d3c88a433f8f350b89c13a878ac7d7c3 | [
"Apache-2.0"
] | 1 | 2019-08-07T10:07:09.000Z | 2019-08-07T10:07:09.000Z | from .style import *
from .metrics import *
from .robust import *
| 16.5 | 22 | 0.727273 | 9 | 66 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 23 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5edbd958ecb52bbb780dc5061856b9864bad8b26 | 8,526 | py | Python | lino_book/projects/lydia/tests/dumps/18.12.0/finan_bankstatementitem.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 3 | 2016-08-25T05:58:09.000Z | 2019-12-05T11:13:45.000Z | lino_book/projects/lydia/tests/dumps/18.12.0/finan_bankstatementitem.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 18 | 2016-11-12T21:38:58.000Z | 2019-12-03T17:54:38.000Z | lino_book/projects/lydia/tests/dumps/18.12.0/finan_bankstatementitem.py | lino-framework/lino_book | 4eab916832cd8f48ff1b9fc8c2789f0b437da0f8 | [
"BSD-2-Clause"
] | 9 | 2016-10-15T11:12:33.000Z | 2021-09-22T04:37:37.000Z | # -*- coding: UTF-8 -*-
logger.info("Loading 85 objects to table finan_bankstatementitem...")
# fields: id, seqno, match, amount, dc, remark, account, partner, date, voucher
loader.save(create_finan_bankstatementitem(1,1,u'SLS 25/2015','405.00',True,u'',2,113,None,129))
loader.save(create_finan_bankstatementitem(2,2,u'... | 93.692308 | 99 | 0.754164 | 1,642 | 8,526 | 3.810597 | 0.101705 | 0.302381 | 0.217357 | 0.28528 | 0.798306 | 0.778968 | 0.691705 | 0.320121 | 0.266262 | 0.266262 | 0 | 0.21258 | 0.022871 | 8,526 | 90 | 100 | 94.733333 | 0.538471 | 0.011612 | 0 | 0 | 0 | 0 | 0.170703 | 0.003086 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ee9d3ad979c4e3739b43f8dfb84a47d62152a0d | 5,417 | py | Python | frontend/amundsen_application/api/preview/v0.py | defendercrypt/amundsen | 83c728b646020f60cf2270c12e766fe4af8c9948 | [
"Apache-2.0"
] | 2,072 | 2020-08-11T20:16:48.000Z | 2022-03-31T07:04:05.000Z | frontend/amundsen_application/api/preview/v0.py | defendercrypt/amundsen | 83c728b646020f60cf2270c12e766fe4af8c9948 | [
"Apache-2.0"
] | 795 | 2020-08-11T15:24:39.000Z | 2022-03-31T18:56:13.000Z | frontend/amundsen_application/api/preview/v0.py | defendercrypt/amundsen | 83c728b646020f60cf2270c12e766fe4af8c9948 | [
"Apache-2.0"
] | 671 | 2020-08-11T20:39:56.000Z | 2022-03-31T08:39:07.000Z | # Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import json
import logging
from pkg_resources import iter_entry_points
from http import HTTPStatus
from flask import Response, jsonify, make_response, request, current_app as app
from flask.blueprints import Blueprint
from marshm... | 47.938053 | 116 | 0.669559 | 615 | 5,417 | 5.669919 | 0.203252 | 0.149125 | 0.082592 | 0.037855 | 0.79696 | 0.79696 | 0.78004 | 0.78004 | 0.78004 | 0.767995 | 0 | 0.000733 | 0.2446 | 5,417 | 112 | 117 | 48.366071 | 0.851417 | 0.044859 | 0 | 0.747253 | 0 | 0 | 0.199923 | 0.013548 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021978 | false | 0 | 0.120879 | 0 | 0.208791 | 0.043956 | 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 |
6f43cd5b0453abbd73fe68134a618d48c431ddc6 | 95 | py | Python | mineapy/__init__.py | vpandey-om/mineapy | a533196244d17aa69a5846eb6e197bd4899797b0 | [
"Apache-2.0"
] | null | null | null | mineapy/__init__.py | vpandey-om/mineapy | a533196244d17aa69a5846eb6e197bd4899797b0 | [
"Apache-2.0"
] | null | null | null | mineapy/__init__.py | vpandey-om/mineapy | a533196244d17aa69a5846eb6e197bd4899797b0 | [
"Apache-2.0"
] | null | null | null | # __init__.py
from .core.taskEnrich import TaskEnrichment
from .core.rxnExp import ReactionExp
| 23.75 | 43 | 0.831579 | 12 | 95 | 6.25 | 0.75 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 95 | 3 | 44 | 31.666667 | 0.882353 | 0.115789 | 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 |
6f7774960f769e54c568bdc74840f7065f2feedc | 54 | py | Python | conceptnet_rocks/__init__.py | ldtoolkit/conceptnet-rocks | 4dda14c6a2a0fdd036a49ad20927a46bd8121848 | [
"Apache-2.0"
] | 9 | 2020-11-17T22:01:21.000Z | 2022-02-06T14:38:59.000Z | conceptnet_rocks/__init__.py | ldtoolkit/conceptnet-rocks | 4dda14c6a2a0fdd036a49ad20927a46bd8121848 | [
"Apache-2.0"
] | null | null | null | conceptnet_rocks/__init__.py | ldtoolkit/conceptnet-rocks | 4dda14c6a2a0fdd036a49ad20927a46bd8121848 | [
"Apache-2.0"
] | null | null | null | from conceptnet_rocks.database import AssertionFinder
| 27 | 53 | 0.907407 | 6 | 54 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
488f5d67b7ac2fe657a5d2907e565b05c480e805 | 272 | py | Python | src/facet/data/partition/__init__.py | skandupmanyu/facet | 545ade531ecfa617bad346ebef12955afa876cca | [
"Apache-2.0"
] | null | null | null | src/facet/data/partition/__init__.py | skandupmanyu/facet | 545ade531ecfa617bad346ebef12955afa876cca | [
"Apache-2.0"
] | null | null | null | src/facet/data/partition/__init__.py | skandupmanyu/facet | 545ade531ecfa617bad346ebef12955afa876cca | [
"Apache-2.0"
] | null | null | null | """
Partitioners to generate series of numerical and categorical values to be used
as inputs for simulations.
- Numerical partitions are intervals, represented by their central value.
- Categorical partitions are the categories themselves.
"""
from ._partition import *
| 27.2 | 78 | 0.797794 | 34 | 272 | 6.352941 | 0.852941 | 0.12037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150735 | 272 | 9 | 79 | 30.222222 | 0.935065 | 0.867647 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
489e63234b22c8d38c2ca2b00af9632517b032e1 | 132 | py | Python | test/run/t302.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t302.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t302.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | # Test that re-setting the value in a dict doesn't mess with its length
d = {'foo':2}
print len(d), d
d['foo'] = 13
print len(d), d
| 22 | 71 | 0.651515 | 29 | 132 | 2.965517 | 0.724138 | 0.069767 | 0.209302 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0.19697 | 132 | 5 | 72 | 26.4 | 0.783019 | 0.522727 | 0 | 0.5 | 0 | 0 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
489f5606bf73e9310f93bc1a1bc449ed57c1169d | 259 | py | Python | Demo/Demo_gym/envs/unittest/__init__.py | Remosy/iceHocekeyIRL | 1ffeaf8a9bd9585038629be41a2da552e0a4473b | [
"MIT"
] | null | null | null | Demo/Demo_gym/envs/unittest/__init__.py | Remosy/iceHocekeyIRL | 1ffeaf8a9bd9585038629be41a2da552e0a4473b | [
"MIT"
] | 3 | 2019-03-09T02:35:24.000Z | 2019-09-27T11:05:01.000Z | Demo/Demo_gym/envs/unittest/__init__.py | Remosy/iceHocekeyIRL | 1ffeaf8a9bd9585038629be41a2da552e0a4473b | [
"MIT"
] | null | null | null | from Demo_gym.envs.unittest.cube_crash import CubeCrash
from Demo_gym.envs.unittest.cube_crash import CubeCrashSparse
from Demo_gym.envs.unittest.cube_crash import CubeCrashScreenBecomesBlack
from Demo_gym.envs.unittest.memorize_digits import MemorizeDigits
| 43.166667 | 73 | 0.888031 | 36 | 259 | 6.166667 | 0.388889 | 0.144144 | 0.198198 | 0.27027 | 0.617117 | 0.513514 | 0.513514 | 0.513514 | 0 | 0 | 0 | 0 | 0.065637 | 259 | 5 | 74 | 51.8 | 0.917355 | 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 |
48a43db6c315d7eabb9426087b90c38a51818939 | 60 | py | Python | analogue_algorithm/__init__.py | tjwixtrom/analogue_algorithm | 2627556b9c8282fa0872f66daecc35b28362fd82 | [
"BSD-3-Clause"
] | 2 | 2019-08-05T13:44:18.000Z | 2022-02-16T14:06:54.000Z | analogue_algorithm/__init__.py | tjwixtrom/adaptive_WRF | 2627556b9c8282fa0872f66daecc35b28362fd82 | [
"BSD-3-Clause"
] | 3 | 2018-07-25T16:33:09.000Z | 2018-08-23T14:57:08.000Z | analogue_algorithm/__init__.py | tjwixtrom/analogue_algorithm | 2627556b9c8282fa0872f66daecc35b28362fd82 | [
"BSD-3-Clause"
] | null | null | null | from .calc import *
from .plots import *
from .wrf import *
| 15 | 20 | 0.7 | 9 | 60 | 4.666667 | 0.555556 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 3 | 21 | 20 | 0.875 | 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 |
48e54faa7e5016db1ebd55ddd6a9f5cbbc0d77e4 | 190 | py | Python | tests/utils.py | yuezheng/Kado | ad26a7c3b90a6a956a799471dac1cbfd457cfab5 | [
"MIT"
] | null | null | null | tests/utils.py | yuezheng/Kado | ad26a7c3b90a6a956a799471dac1cbfd457cfab5 | [
"MIT"
] | null | null | null | tests/utils.py | yuezheng/Kado | ad26a7c3b90a6a956a799471dac1cbfd457cfab5 | [
"MIT"
] | null | null | null | import asyncio
loop = asyncio.get_event_loop()
def async_testcase(coro):
def wrapper(*args, **kwargs):
return loop.run_until_complete(coro(*args, **kwargs))
return wrapper | 21.111111 | 61 | 0.705263 | 25 | 190 | 5.16 | 0.64 | 0.155039 | 0.248062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173684 | 190 | 9 | 62 | 21.111111 | 0.821656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5b10b3e85cfd54e39036714308d61eb420624c0e | 353 | py | Python | py_ms_cognitive/__init__.py | mfridson/msf-image-capstone | c338eaf6ef401a8c70000775d0bfafdc5ce3f79c | [
"MIT"
] | null | null | null | py_ms_cognitive/__init__.py | mfridson/msf-image-capstone | c338eaf6ef401a8c70000775d0bfafdc5ce3f79c | [
"MIT"
] | null | null | null | py_ms_cognitive/__init__.py | mfridson/msf-image-capstone | c338eaf6ef401a8c70000775d0bfafdc5ce3f79c | [
"MIT"
] | null | null | null | from .py_ms_cognitive_search.py_ms_cognitive_web_search import PyMsCognitiveWebSearch
from .py_ms_cognitive_search.py_ms_cognitive_news_search import PyMsCognitiveNewsSearch
from .py_ms_cognitive_search.py_ms_cognitive_video_search import PyMsCognitiveVideoSearch
from .py_ms_cognitive_search.py_ms_cognitive_image_searc... | 88.25 | 89 | 0.934844 | 48 | 353 | 6.291667 | 0.291667 | 0.10596 | 0.344371 | 0.225166 | 0.476821 | 0.476821 | 0.476821 | 0.476821 | 0 | 0 | 0 | 0 | 0.042493 | 353 | 4 | 90 | 88.25 | 0.893491 | 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 |
d2933015b557671510b72c295744f7e47ebfdf34 | 77 | py | Python | FuzzyTree/__init__.py | juanmabelda/FuzzyClassifier | 8020756e062ab4d2a36d2a6cb40640fbab69f801 | [
"MIT"
] | 1 | 2021-09-30T08:54:58.000Z | 2021-09-30T08:54:58.000Z | FuzzyTree/__init__.py | juanmabelda/FuzzyClassifier | 8020756e062ab4d2a36d2a6cb40640fbab69f801 | [
"MIT"
] | null | null | null | FuzzyTree/__init__.py | juanmabelda/FuzzyClassifier | 8020756e062ab4d2a36d2a6cb40640fbab69f801 | [
"MIT"
] | 2 | 2018-07-17T03:05:42.000Z | 2021-10-14T08:25:31.000Z | from .FT_optimize import *
from .FuzzyVars import *
from .FuzzyTree import *
| 19.25 | 26 | 0.766234 | 10 | 77 | 5.8 | 0.6 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 3 | 27 | 25.666667 | 0.892308 | 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 |
d2c61c5ee326af97cd94908abb0c0eb301f2d7ff | 45 | py | Python | gwrappy/gmail/__init__.py | hairizuanbinnoorazman/gwrappy | aae569eb87d0aeac6126ccceac8a208b8dfdcf51 | [
"Apache-2.0"
] | 5 | 2016-09-21T10:27:05.000Z | 2017-03-13T11:37:16.000Z | gwrappy/gmail/__init__.py | hairizuanbinnoorazman/gwrappy | aae569eb87d0aeac6126ccceac8a208b8dfdcf51 | [
"Apache-2.0"
] | 1 | 2021-11-15T17:46:52.000Z | 2021-11-15T17:46:52.000Z | gwrappy/gmail/__init__.py | hairizuanbinnoorazman/gwrappy | aae569eb87d0aeac6126ccceac8a208b8dfdcf51 | [
"Apache-2.0"
] | 2 | 2016-09-21T10:34:59.000Z | 2017-04-05T10:38:10.000Z | from gwrappy.gmail.gmail import GmailUtility
| 22.5 | 44 | 0.866667 | 6 | 45 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2ca3de2589fd5ff18ebd273e770335616f66368 | 2,620 | py | Python | crowdgezwitscher/twitter/migrations/0006_auto_20170408_2226.py | Strassengezwitscher/Crowdgezwitscher | afdd433acb35c1a554ba79464b744975de065151 | [
"MIT"
] | 4 | 2016-07-22T07:20:31.000Z | 2016-11-13T18:13:34.000Z | crowdgezwitscher/twitter/migrations/0006_auto_20170408_2226.py | Strassengezwitscher/Strassengezwitscher | afdd433acb35c1a554ba79464b744975de065151 | [
"MIT"
] | 402 | 2016-04-26T08:38:17.000Z | 2022-03-11T23:26:49.000Z | crowdgezwitscher/twitter/migrations/0006_auto_20170408_2226.py | Strassengezwitscher/Crowdgezwitscher | afdd433acb35c1a554ba79464b744975de065151 | [
"MIT"
] | 1 | 2018-01-14T16:58:57.000Z | 2018-01-14T16:58:57.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2017-04-08 22:26
from django.db import migrations
import base
def forwards_func(apps, schema_editor):
"""
Convert Tweet's and TwitterAccount's fields storing ID values to fit UnsignedBigIntegerField.
This applies to Tweet's tweet_id and TwitterAccoun... | 33.164557 | 101 | 0.659924 | 334 | 2,620 | 4.982036 | 0.260479 | 0.067308 | 0.075721 | 0.086538 | 0.759615 | 0.731971 | 0.701923 | 0.701923 | 0.701923 | 0.701923 | 0 | 0.032371 | 0.233588 | 2,620 | 78 | 102 | 33.589744 | 0.796315 | 0.199618 | 0 | 0.489796 | 1 | 0 | 0.081015 | 0.011225 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.040816 | 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 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2e9df7f3bac1ad8904f4c3a13db92bd82b17e98 | 11,330 | py | Python | Brevet_US_4661747_Edwin_Gray_Power_Tube/Version_3/assembly_v1.py | Jay4C/Python-Macros-For_FreeCAD | 12ce5441a26731377fa43e86ccd2be675740d3a0 | [
"MIT"
] | null | null | null | Brevet_US_4661747_Edwin_Gray_Power_Tube/Version_3/assembly_v1.py | Jay4C/Python-Macros-For_FreeCAD | 12ce5441a26731377fa43e86ccd2be675740d3a0 | [
"MIT"
] | null | null | null | Brevet_US_4661747_Edwin_Gray_Power_Tube/Version_3/assembly_v1.py | Jay4C/Python-Macros-For_FreeCAD | 12ce5441a26731377fa43e86ccd2be675740d3a0 | [
"MIT"
] | null | null | null | import FreeCAD, Part, Drawing, math, Mesh
DOC = FreeCAD.activeDocument()
DOC_NAME = "assembly_v1"
def clear_doc():
# Clear the active document deleting all the objects
for obj in DOC.Objects:
DOC.removeObject(obj.Name)
def setview():
# Rearrange View
FreeCAD.Gui.SendMsgToActiveView("ViewFi... | 53.696682 | 215 | 0.744837 | 1,697 | 11,330 | 4.769004 | 0.078963 | 0.081552 | 0.111578 | 0.159397 | 0.903497 | 0.890523 | 0.884097 | 0.870011 | 0.849623 | 0.804522 | 0.000088 | 0.078184 | 0.084466 | 11,330 | 210 | 216 | 53.952381 | 0.701918 | 0.074404 | 0 | 0.471831 | 0 | 0 | 0.242473 | 0.111249 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0.007042 | 0 | 0.021127 | 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 |
d2f05b8491060776946784bb978aea415af8a3b0 | 267 | py | Python | commons/helm/exceptions.py | unikubehq/commons | d4e64ca400d4ffe388cb9470bfce004a301e4be1 | [
"Apache-2.0"
] | 2 | 2021-06-17T07:50:57.000Z | 2021-08-08T11:53:40.000Z | commons/helm/exceptions.py | unikubehq/commons | d4e64ca400d4ffe388cb9470bfce004a301e4be1 | [
"Apache-2.0"
] | 34 | 2021-06-10T14:30:36.000Z | 2022-02-21T08:23:51.000Z | commons/helm/exceptions.py | unikubehq/commons | d4e64ca400d4ffe388cb9470bfce004a301e4be1 | [
"Apache-2.0"
] | null | null | null | class RepositoryBranchUnavailable(Exception):
pass
class RepositoryAuthenticationFailed(Exception):
pass
class RepositoryCloningFailed(Exception):
pass
class HelmDependencyError(Exception):
pass
class HelmChartRenderError(Exception):
pass
| 14.052632 | 48 | 0.782772 | 20 | 267 | 10.45 | 0.4 | 0.311005 | 0.344498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161049 | 267 | 18 | 49 | 14.833333 | 0.933036 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d2fd6f259b01f9da4b448b00fd8cb8c764c72a79 | 137 | py | Python | backend/app/translation/components/__init__.py | griviala/garpix_page | 55f1d9bc6d1de29d18e15369bebcbef18811b5a4 | [
"MIT"
] | null | null | null | backend/app/translation/components/__init__.py | griviala/garpix_page | 55f1d9bc6d1de29d18e15369bebcbef18811b5a4 | [
"MIT"
] | null | null | null | backend/app/translation/components/__init__.py | griviala/garpix_page | 55f1d9bc6d1de29d18e15369bebcbef18811b5a4 | [
"MIT"
] | null | null | null | from .text import TextComponentTranslationOptions # noqa
from .text_description import TextDescriptionComponentTranslationOptions # noqa
| 45.666667 | 79 | 0.883212 | 11 | 137 | 10.909091 | 0.636364 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087591 | 137 | 2 | 80 | 68.5 | 0.96 | 0.065693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
96212ff19d59c1a6d97c48690333d22c2deef703 | 5,456 | py | Python | numerik061.py | matzegltg/miau | 89b580baccbd258fbfd81bc19b46603a07873f14 | [
"MIT"
] | null | null | null | numerik061.py | matzegltg/miau | 89b580baccbd258fbfd81bc19b46603a07873f14 | [
"MIT"
] | 1 | 2021-05-07T15:50:51.000Z | 2021-05-07T15:50:51.000Z | numerik061.py | matzegltg/miau | 89b580baccbd258fbfd81bc19b46603a07873f14 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
import math as mth
def explizitEuler(a, b, p0, h, n):
t = [0]
y = [p0]
for i in range(0, n):
t.append(t[i]+h)
y.append(y[i]+h*(a*y[i]-b*y[i]**2))
return t,y
def heun(a,b,p0,h,n):
t = [0]
y = [p0]
for i in range(0,... | 25.615023 | 78 | 0.506048 | 1,000 | 5,456 | 2.761 | 0.097 | 0.055415 | 0.030424 | 0.026078 | 0.886273 | 0.859109 | 0.851503 | 0.842811 | 0.842811 | 0.818182 | 0 | 0.167005 | 0.277859 | 5,456 | 213 | 79 | 25.615023 | 0.533756 | 0.095491 | 0 | 0.671233 | 0 | 0 | 0.091316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.020548 | 0 | 0.089041 | 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 |
824d5ddea51829f38ce291a0eb96fd3507c38844 | 48 | py | Python | torchtracer/utils/__init__.py | OIdiotLin/torchtracer | ca85c414b27e3edabaa2fea17ab9943fa668f952 | [
"MIT"
] | 52 | 2018-11-14T22:14:53.000Z | 2022-03-24T13:03:21.000Z | torchtracer/utils/__init__.py | OIdiotLin/torchtracer | ca85c414b27e3edabaa2fea17ab9943fa668f952 | [
"MIT"
] | 4 | 2018-11-14T08:46:45.000Z | 2020-12-14T11:28:54.000Z | torchtracer/utils/__init__.py | OIdiotLin/torchtracer | ca85c414b27e3edabaa2fea17ab9943fa668f952 | [
"MIT"
] | 6 | 2019-06-05T07:17:06.000Z | 2021-08-31T03:10:35.000Z | from torchtracer.utils.storeman import StoreMan
| 24 | 47 | 0.875 | 6 | 48 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82757b7f062a9d40e5d11f521661bd62ca0a2744 | 50,604 | py | Python | pytracking-master/ltr/data/processing.py | wsumel/AMMC | ef101878b4a97f07984186ea09146348c0526fa6 | [
"Apache-2.0"
] | 3 | 2021-12-02T11:34:37.000Z | 2021-12-19T09:30:10.000Z | pytracking-master/ltr/data/processing.py | wsumel/AMMC | ef101878b4a97f07984186ea09146348c0526fa6 | [
"Apache-2.0"
] | null | null | null | pytracking-master/ltr/data/processing.py | wsumel/AMMC | ef101878b4a97f07984186ea09146348c0526fa6 | [
"Apache-2.0"
] | null | null | null | import torch
import math
import numpy as np
import torchvision.transforms as transforms
from pytracking import TensorDict
import ltr.data.processing_utils as prutils
def stack_tensors(x):
if isinstance(x, (list, tuple)) and isinstance(x[0], torch.Tensor):
return torch.stack(x)
return x
class BasePro... | 54.006403 | 145 | 0.61424 | 6,361 | 50,604 | 4.664833 | 0.06304 | 0.025882 | 0.026792 | 0.014828 | 0.845247 | 0.820847 | 0.812051 | 0.789742 | 0.781249 | 0.775688 | 0 | 0.009156 | 0.298553 | 50,604 | 936 | 146 | 54.064103 | 0.826797 | 0.357146 | 0 | 0.656818 | 0 | 0 | 0.087401 | 0.000723 | 0 | 0 | 0 | 0 | 0.013636 | 1 | 0.079545 | false | 0 | 0.013636 | 0 | 0.177273 | 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 |
82767a9d9793c1b713066c9b3c5518ba6c69dd27 | 63 | py | Python | external/__init__.py | personalOS1234/Core-OS-2.0 | 12a933776fce246f5425faf479d7811af222f2af | [
"MIT"
] | null | null | null | external/__init__.py | personalOS1234/Core-OS-2.0 | 12a933776fce246f5425faf479d7811af222f2af | [
"MIT"
] | null | null | null | external/__init__.py | personalOS1234/Core-OS-2.0 | 12a933776fce246f5425faf479d7811af222f2af | [
"MIT"
] | null | null | null | #TODO replace all this libraries with ours
from .pyaes import * | 31.5 | 42 | 0.793651 | 10 | 63 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 63 | 2 | 43 | 31.5 | 0.943396 | 0.650794 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
828ac2174a6739c989e8e1ea209b6e2ac2458536 | 82 | py | Python | odp/job/publish/saeon.py | SAEON/Open-Data-Platform | 8509c39c6f65ba18518e825e2359213ec4c67af5 | [
"MIT"
] | null | null | null | odp/job/publish/saeon.py | SAEON/Open-Data-Platform | 8509c39c6f65ba18518e825e2359213ec4c67af5 | [
"MIT"
] | null | null | null | odp/job/publish/saeon.py | SAEON/Open-Data-Platform | 8509c39c6f65ba18518e825e2359213ec4c67af5 | [
"MIT"
] | null | null | null | from odp.job.publish import Publisher
class SAEONPublisher(Publisher):
pass
| 13.666667 | 37 | 0.780488 | 10 | 82 | 6.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 82 | 5 | 38 | 16.4 | 0.927536 | 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 |
7d994a3e0c083b02d29cc8b8b8f7c78301de92bc | 4,372 | py | Python | whython/values/value_number.py | NexInfinite/whython | 0c4099ed27151e99ba63465acd0abb2e38bba8ad | [
"MIT"
] | 44 | 2021-08-12T00:23:24.000Z | 2022-02-22T08:33:02.000Z | whython/values/value_number.py | NexInfinite/whython | 0c4099ed27151e99ba63465acd0abb2e38bba8ad | [
"MIT"
] | null | null | null | whython/values/value_number.py | NexInfinite/whython | 0c4099ed27151e99ba63465acd0abb2e38bba8ad | [
"MIT"
] | 4 | 2021-08-12T04:02:43.000Z | 2021-08-25T08:58:19.000Z | # *###################
# * IMPORTS
# *###################
from values.value_values import Value
from errors import RTError
import math
# *###################
# * NUMBER
# *###################
class Number(Value):
def __init__(self, value):
super().__init__()
self.value = value
def added_to(... | 35.544715 | 90 | 0.627173 | 552 | 4,372 | 4.800725 | 0.110507 | 0.064528 | 0.079245 | 0.118868 | 0.790566 | 0.773962 | 0.773962 | 0.761132 | 0.761132 | 0.761132 | 0 | 0.002438 | 0.249543 | 4,372 | 123 | 91 | 35.544715 | 0.805242 | 0.005947 | 0 | 0.414894 | 0 | 0 | 0.003987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.191489 | false | 0 | 0.031915 | 0.031915 | 0.56383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7dea385a46f18cb818a8c7e337ce410ee1b8020e | 22 | py | Python | my_module/my_module/__init__.py | Hekstra-Lab/nesm-python | 5b13cebe0019a589ea234d1191148e120aa75114 | [
"BSD-3-Clause"
] | 1 | 2021-05-07T18:03:30.000Z | 2021-05-07T18:03:30.000Z | my_module/my_module/__init__.py | Hekstra-Lab/nesm-python | 5b13cebe0019a589ea234d1191148e120aa75114 | [
"BSD-3-Clause"
] | 1 | 2021-05-13T14:54:27.000Z | 2021-05-13T14:54:27.000Z | my_module/my_module/__init__.py | Hekstra-Lab/nesm-python | 5b13cebe0019a589ea234d1191148e120aa75114 | [
"BSD-3-Clause"
] | null | null | null | from myfuncs import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
818ea9ab02a5c39743786bfc6ceccb71b87ebacb | 49 | py | Python | social/backends/email.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 1,987 | 2015-01-01T16:12:45.000Z | 2022-03-29T14:24:25.000Z | social/backends/email.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 731 | 2015-01-01T22:55:25.000Z | 2022-03-10T15:07:51.000Z | virtual/lib/python3.6/site-packages/social/backends/email.py | dennismwaniki67/awards | 80ed10541f5f751aee5f8285ab1ad54cfecba95f | [
"MIT"
] | 1,082 | 2015-01-01T16:27:26.000Z | 2022-03-22T21:18:33.000Z | from social_core.backends.email import EmailAuth
| 24.5 | 48 | 0.877551 | 7 | 49 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
818f86c3e551dc02afd9f458a08b02841b948e64 | 2,512 | py | Python | alpaca/resources/tutorials/ALPACA_atlas_to_ROI.py | C0C0AN/ALPACA | bfe6012ebc7f7df92ddda2eede3b1b41eb39db90 | [
"BSD-3-Clause"
] | 5 | 2018-12-14T14:17:44.000Z | 2020-11-03T03:15:04.000Z | alpaca/resources/tutorials/ALPACA_atlas_to_ROI.py | PeerHerholz/ALPACA | 39b037c38a122d4e8c3cf2cfe465d38a7c31fa99 | [
"BSD-3-Clause"
] | 9 | 2018-06-01T16:11:39.000Z | 2020-03-21T01:37:35.000Z | alpaca/resources/tutorials/ALPACA_atlas_to_ROI.py | C0C0AN/ALPACA | bfe6012ebc7f7df92ddda2eede3b1b41eb39db90 | [
"BSD-3-Clause"
] | 5 | 2018-01-26T15:16:40.000Z | 2020-11-03T03:15:05.000Z | # ---
# jupyter:
# jupytext:
# formats: py,ipynb
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.3.3
# kernelspec:
# display_name: Python 3
# language: python
# name: python3
# ---
# # &nb... | 96.615385 | 802 | 0.716959 | 394 | 2,512 | 4.545685 | 0.36802 | 0.585148 | 0.850921 | 1.098827 | 0.400335 | 0.294807 | 0.294807 | 0.294807 | 0.294807 | 0.274707 | 0 | 0.009477 | 0.117834 | 2,512 | 25 | 803 | 100.48 | 0.798736 | 0.976911 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
819ccf03ef12dc81905b777b7e6c0142e0e730bf | 28 | py | Python | sample_app/__init__.py | gutoxp/flask-vuejs | 86f3eb196d174ccfa3fb62174de83f6101bf91ff | [
"BSD-3-Clause"
] | 122 | 2021-06-21T17:30:29.000Z | 2022-03-25T06:21:38.000Z | sample_app/__init__.py | gutoxp/flask-vuejs | 86f3eb196d174ccfa3fb62174de83f6101bf91ff | [
"BSD-3-Clause"
] | 125 | 2021-09-01T12:06:48.000Z | 2022-03-30T11:32:57.000Z | app/frontend/__init__.py | openstate/coronalert | 9aa24cc0ea75b85e9bda0cfcd6ff592a2c61c95e | [
"CC-BY-4.0"
] | 21 | 2021-06-22T10:08:15.000Z | 2022-03-18T08:57:02.000Z | from .app import create_app
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81a73f999345b2e78f6d1435100ac35570598cf2 | 160 | py | Python | CodingBat/Warmup-1/near_hundred.py | N-l1/dmoj | bbd55ab45731774385805eb31ea790454a3a6819 | [
"MIT"
] | null | null | null | CodingBat/Warmup-1/near_hundred.py | N-l1/dmoj | bbd55ab45731774385805eb31ea790454a3a6819 | [
"MIT"
] | null | null | null | CodingBat/Warmup-1/near_hundred.py | N-l1/dmoj | bbd55ab45731774385805eb31ea790454a3a6819 | [
"MIT"
] | null | null | null | """
Warmup-1 > near_hundred
Find this problem at:
https://codingbat.com/prob/p124676
"""
def near_hundred(n):
return abs(100-n) <= 10 or abs(200-n) <= 10
| 16 | 47 | 0.6625 | 27 | 160 | 3.851852 | 0.777778 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126866 | 0.1625 | 160 | 9 | 48 | 17.777778 | 0.649254 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
81ccae0065c891a162b04752f381d4d01a04d59f | 45,771 | py | Python | Experiment.py | pitcheverlasting/wrr-AED-drivers | d6803bfd80756c8d5f899952940033d45fcf57c4 | [
"Unlicense"
] | null | null | null | Experiment.py | pitcheverlasting/wrr-AED-drivers | d6803bfd80756c8d5f899952940033d45fcf57c4 | [
"Unlicense"
] | null | null | null | Experiment.py | pitcheverlasting/wrr-AED-drivers | d6803bfd80756c8d5f899952940033d45fcf57c4 | [
"Unlicense"
] | null | null | null | __author__ = 'lpeng'
from pylab import *
import pickle, itertools
import scipy.io
import scipy.stats
from scipy.optimize import minimize
from scipy import signal
import statsmodels.tools.eval_measures as evaluate
import pandas as pd
import IO, FFT, Plotting
from PET_Library import Data
import gc
from scipy.interpolate... | 34.362613 | 146 | 0.689345 | 6,877 | 45,771 | 4.404101 | 0.084194 | 0.039225 | 0.056856 | 0.027074 | 0.833757 | 0.789547 | 0.761185 | 0.732492 | 0.699607 | 0.643642 | 0 | 0.031975 | 0.141793 | 45,771 | 1,331 | 147 | 34.38843 | 0.73906 | 0.266129 | 0 | 0.660526 | 0 | 0 | 0.139728 | 0.074809 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.018421 | null | null | 0.021053 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4b976326693bd6b5616d027c084ce393d9a07aa | 33 | py | Python | lib/hachoir/wx/resource/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 320 | 2017-03-28T23:33:45.000Z | 2022-02-17T08:45:01.000Z | lib/hachoir/wx/resource/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 300 | 2017-03-28T19:22:54.000Z | 2021-12-01T01:11:55.000Z | lib/hachoir/wx/resource/__init__.py | 0x20Man/Watcher3 | 4656b42bc5879a3741bb95f534b7c6612a25264d | [
"Apache-2.0"
] | 90 | 2017-03-29T16:12:43.000Z | 2022-03-01T06:23:48.000Z | from .resource import * # noqa
| 16.5 | 32 | 0.666667 | 4 | 33 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 33 | 1 | 33 | 33 | 0.88 | 0.121212 | 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 |
480a9cfe196c5b11bae0bfcd5a756e5a236997fa | 32,966 | py | Python | tests/api/v1/endpoints/test_privacy_request_endpoints.py | nathanawmk/fidesops | 1ab840206a78e60673aebd5838ba567095512a58 | [
"Apache-2.0"
] | null | null | null | tests/api/v1/endpoints/test_privacy_request_endpoints.py | nathanawmk/fidesops | 1ab840206a78e60673aebd5838ba567095512a58 | [
"Apache-2.0"
] | null | null | null | tests/api/v1/endpoints/test_privacy_request_endpoints.py | nathanawmk/fidesops | 1ab840206a78e60673aebd5838ba567095512a58 | [
"Apache-2.0"
] | null | null | null | import json
from datetime import datetime
from typing import List
from unittest import mock
from sqlalchemy import (
column,
table,
select,
)
from fastapi_pagination import Params
import pytest
from starlette.testclient import TestClient
from fidesops.api.v1.urn_registry import (
PRIVACY_REQUESTS,
... | 36.226374 | 92 | 0.544895 | 3,262 | 32,966 | 5.216125 | 0.087983 | 0.064649 | 0.05501 | 0.040552 | 0.834793 | 0.795592 | 0.769556 | 0.757214 | 0.739289 | 0.721481 | 0 | 0.021366 | 0.358278 | 32,966 | 909 | 93 | 36.266227 | 0.782935 | 0.016987 | 0 | 0.678788 | 0 | 0 | 0.12571 | 0.053655 | 0 | 0 | 0 | 0 | 0.115152 | 1 | 0.041212 | false | 0 | 0.019394 | 0.006061 | 0.071515 | 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 |
480ec3917010a1744d09ab7f53ce32a734f03500 | 118 | py | Python | rl/spaces/__init__.py | taylor1355/gym-agents | 3ef5aa0d09b82a7ad63358222f5dae3839d6ca04 | [
"MIT"
] | null | null | null | rl/spaces/__init__.py | taylor1355/gym-agents | 3ef5aa0d09b82a7ad63358222f5dae3839d6ca04 | [
"MIT"
] | null | null | null | rl/spaces/__init__.py | taylor1355/gym-agents | 3ef5aa0d09b82a7ad63358222f5dae3839d6ca04 | [
"MIT"
] | null | null | null | from rl.spaces.utils import is_discrete
from rl.spaces.utils import cardinality
from rl.spaces.utils import enumerate
| 29.5 | 39 | 0.847458 | 19 | 118 | 5.210526 | 0.473684 | 0.181818 | 0.363636 | 0.515152 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 3 | 40 | 39.333333 | 0.933962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
483a43ee05fa7b94bdda74e47cb328c7dc35876e | 41 | py | Python | arcpyext/toolbox/__init__.py | PeterReyne/arcpyext | 9307115da8f0b6a30e2ca741fb6a7d09e54fd0f3 | [
"BSD-3-Clause"
] | 11 | 2015-05-01T04:08:30.000Z | 2019-09-21T05:00:58.000Z | arcpyext/toolbox/__init__.py | PeterReyne/arcpyext | 9307115da8f0b6a30e2ca741fb6a7d09e54fd0f3 | [
"BSD-3-Clause"
] | 14 | 2015-06-23T02:46:44.000Z | 2019-10-11T00:46:11.000Z | arcpyext/toolbox/__init__.py | PeterReyne/arcpyext | 9307115da8f0b6a30e2ca741fb6a7d09e54fd0f3 | [
"BSD-3-Clause"
] | 9 | 2015-02-27T05:25:42.000Z | 2020-01-19T05:43:14.000Z | from .PythonToolbox import PythonToolbox
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4858e5e86d172f70574af5e603520489269b24e6 | 58,042 | py | Python | remodet_repository_LEE/Projects/Det_CATDOG/DetRelease_Net.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_LEE/Projects/Det_CATDOG/DetRelease_Net.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_LEE/Projects/Det_CATDOG/DetRelease_Net.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
import math
sys.dont_write_bytecode = True
import caffe
from caffe import layers as L
from caffe import params as P
from caffe.proto import caffe_pb2
sys.path.append('../')
from PyLib.LayerParam.MultiBoxLossLayerParam import *
from PyLib.NetLib.ConvBNLayer import *
from PyLi... | 58.687563 | 172 | 0.60675 | 7,577 | 58,042 | 4.276363 | 0.046324 | 0.053824 | 0.035553 | 0.046664 | 0.866829 | 0.846244 | 0.832603 | 0.802728 | 0.780137 | 0.748164 | 0 | 0.037921 | 0.275335 | 58,042 | 988 | 173 | 58.746964 | 0.732436 | 0.056304 | 0 | 0.604167 | 0 | 0 | 0.164005 | 0.050723 | 0 | 0 | 0 | 0 | 0.003472 | 1 | 0.006944 | false | 0 | 0.021991 | 0 | 0.037037 | 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 |
6fab30be8d757ba1e34ae8f3aed2c0679f0092cf | 12,054 | py | Python | agents/models.py | anindex/deepRL-projects | bed03d1f985c8340fc75f715028b632bdce40641 | [
"MIT"
] | null | null | null | agents/models.py | anindex/deepRL-projects | bed03d1f985c8340fc75f715028b632bdce40641 | [
"MIT"
] | null | null | null | agents/models.py | anindex/deepRL-projects | bed03d1f985c8340fc75f715028b632bdce40641 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
def hidden_init(layer):
fan_in = layer.weight.data.size()[0]
lim = 1. / np.sqrt(fan_in)
return (-lim, lim)
class FCQNetwork(nn.Module):
"""Fully connected DNN Q function which outputs array of action values"""
... | 38.883871 | 138 | 0.617969 | 1,716 | 12,054 | 4.178322 | 0.095571 | 0.038912 | 0.027615 | 0.025105 | 0.813389 | 0.775732 | 0.755788 | 0.755788 | 0.755788 | 0.739749 | 0 | 0.04 | 0.26373 | 12,054 | 310 | 139 | 38.883871 | 0.767887 | 0.325867 | 0 | 0.557692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134615 | false | 0 | 0.025641 | 0 | 0.269231 | 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 |
6fc3e5508b4f0802cc3a81044d7f2b7c9afff5d9 | 2,613 | py | Python | forge_api_client/projects.py | dmh126/forge-python-data-management-api | 9c33f220021251a0340346065e3dd1998fc49a12 | [
"MIT"
] | 1 | 2019-07-02T08:32:22.000Z | 2019-07-02T08:32:22.000Z | forge_api_client/projects.py | dmh126/forge-python-data-management-api | 9c33f220021251a0340346065e3dd1998fc49a12 | [
"MIT"
] | null | null | null | forge_api_client/projects.py | dmh126/forge-python-data-management-api | 9c33f220021251a0340346065e3dd1998fc49a12 | [
"MIT"
] | 2 | 2019-07-04T05:13:42.000Z | 2020-05-09T22:15:05.000Z | from .utils import get_request, post_request, authorized
class Projects:
@authorized
def getProjects(self, hub_id):
url = self.api_url + '/project/v1/hubs/%s/projects' % hub_id
headers = {
'Authorization': '%s %s' % (self.token_type, self.access_token)
}
return g... | 26.663265 | 96 | 0.590892 | 313 | 2,613 | 4.741214 | 0.14377 | 0.084906 | 0.053908 | 0.070081 | 0.816712 | 0.816712 | 0.816712 | 0.816712 | 0.816712 | 0.764151 | 0 | 0.004215 | 0.273632 | 2,613 | 97 | 97 | 26.938144 | 0.777661 | 0 | 0 | 0.580645 | 0 | 0 | 0.180253 | 0.115959 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0 | 0.016129 | 0 | 0.290323 | 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 |
6fcf9642fc5fe4ee0c1be8619cab8c162f326921 | 32 | py | Python | src/devstacks_devops_terraform/__init__.py | devstacks-dev/devops-terraform | 440527c9b54a7709d57275983445efcbfa2f287f | [
"MIT"
] | null | null | null | src/devstacks_devops_terraform/__init__.py | devstacks-dev/devops-terraform | 440527c9b54a7709d57275983445efcbfa2f287f | [
"MIT"
] | null | null | null | src/devstacks_devops_terraform/__init__.py | devstacks-dev/devops-terraform | 440527c9b54a7709d57275983445efcbfa2f287f | [
"MIT"
] | null | null | null | from .generator import greetings | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d22d20c963b14b58d56a550692f47d82d0155e65 | 85 | py | Python | myapi/tasks/example.py | trinanda/cookiecutter-flask-restful | 126ebe8168c4a4c95eaf2bad81e6027ba2fe6b72 | [
"MIT"
] | null | null | null | myapi/tasks/example.py | trinanda/cookiecutter-flask-restful | 126ebe8168c4a4c95eaf2bad81e6027ba2fe6b72 | [
"MIT"
] | 1 | 2019-03-09T00:17:04.000Z | 2019-03-09T00:17:04.000Z | myapi/tasks/example.py | trinanda/cookiecutter-flask-restful | 126ebe8168c4a4c95eaf2bad81e6027ba2fe6b72 | [
"MIT"
] | null | null | null | from myapi.extensions import celery
@celery.task
def dummy_task():
return "OK"
| 12.142857 | 35 | 0.729412 | 12 | 85 | 5.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 6 | 36 | 14.166667 | 0.871429 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d233dec1b30f4a8e85e6d54ea505355d0cdde812 | 35 | py | Python | rankedlist/__init__.py | xingrongtech/RankedList | f2ffa427f689a2095752238feda49336c4b9fe2c | [
"MIT"
] | null | null | null | rankedlist/__init__.py | xingrongtech/RankedList | f2ffa427f689a2095752238feda49336c4b9fe2c | [
"MIT"
] | null | null | null | rankedlist/__init__.py | xingrongtech/RankedList | f2ffa427f689a2095752238feda49336c4b9fe2c | [
"MIT"
] | null | null | null | from .rankedlist import RankedList
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2587a986995ed912f1eed154d44a6518d16042d | 44 | py | Python | apps/oozie/src/oozie/views/__init__.py | digideskio/hortonworks-sandbox | dd8e95c91faee3daa094707baeb94c3953b41efa | [
"Apache-2.0"
] | 19 | 2015-05-01T19:59:03.000Z | 2021-12-09T08:03:16.000Z | apps/oozie/src/oozie/views/__init__.py | digideskio/hortonworks-sandbox | dd8e95c91faee3daa094707baeb94c3953b41efa | [
"Apache-2.0"
] | 1 | 2018-01-03T15:26:49.000Z | 2018-01-03T15:26:49.000Z | apps/oozie/src/oozie/views/__init__.py | hortonworks/hortonworks-sandbox | dd8e95c91faee3daa094707baeb94c3953b41efa | [
"Apache-2.0"
] | 30 | 2015-03-25T19:40:07.000Z | 2021-05-28T22:59:26.000Z | from dashboard import *
from editor import * | 22 | 23 | 0.795455 | 6 | 44 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 24 | 22 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
d25dc18cacc12af632c66ef562099866d2949cba | 44 | py | Python | src/erwin/t1_map/__init__.py | lamyj/erwin | a2a7c945827a54c1e89dbedb31c82e34363bf7d1 | [
"MIT"
] | 2 | 2021-11-09T10:57:52.000Z | 2022-02-18T09:55:42.000Z | src/erwin/t1_map/__init__.py | lamyj/erwin | a2a7c945827a54c1e89dbedb31c82e34363bf7d1 | [
"MIT"
] | null | null | null | src/erwin/t1_map/__init__.py | lamyj/erwin | a2a7c945827a54c1e89dbedb31c82e34363bf7d1 | [
"MIT"
] | null | null | null | """ T₁/R₁ mapping
"""
from .vfa import VFA
| 8.8 | 20 | 0.613636 | 7 | 44 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.204545 | 44 | 4 | 21 | 11 | 0.714286 | 0.295455 | 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 |
d27af1dbe5a3ae87ff10c25d86fd49e8563d8e45 | 77 | py | Python | deliravision/torch/models/gans/pixel_da/__init__.py | delira-dev/vision_torch | d944aa67d319bd63a2add5cb89e8308413943de6 | [
"BSD-2-Clause"
] | 4 | 2019-08-03T09:56:50.000Z | 2019-09-05T09:32:06.000Z | deliravision/torch/models/gans/pixel_da/__init__.py | delira-dev/vision_torch | d944aa67d319bd63a2add5cb89e8308413943de6 | [
"BSD-2-Clause"
] | 23 | 2019-08-03T14:16:47.000Z | 2019-10-22T10:15:10.000Z | deliravision/torch/models/gans/pixel_da/__init__.py | delira-dev/vision_torch | d944aa67d319bd63a2add5cb89e8308413943de6 | [
"BSD-2-Clause"
] | null | null | null | from deliravision.models.gans.pixel_da.pixel_da import PixelDomainAdaptation
| 38.5 | 76 | 0.896104 | 10 | 77 | 6.7 | 0.8 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 77 | 1 | 77 | 77 | 0.917808 | 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 |
96351faa75c583ab0a7fda7f037b07c89953a0ab | 48 | py | Python | LibSerial7/__init__.py | jaemilton/LibSerial7 | f483cd7474cd494281e384d2e74d65652ca581d6 | [
"MIT"
] | null | null | null | LibSerial7/__init__.py | jaemilton/LibSerial7 | f483cd7474cd494281e384d2e74d65652ca581d6 | [
"MIT"
] | null | null | null | LibSerial7/__init__.py | jaemilton/LibSerial7 | f483cd7474cd494281e384d2e74d65652ca581d6 | [
"MIT"
] | null | null | null | from LibSerial7.LibSerial7 import Serial, Uart
| 16 | 46 | 0.833333 | 6 | 48 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.125 | 48 | 2 | 47 | 24 | 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 |
9653cf8a45a231964f80b1ed559a8192aeae2d9c | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_vars.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/22/40/84/e3c3548f23bbe01f30ab9e9cf756b205c886a9ecd1ffe0b6d8d16f3412 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
968d4f71dbcb3a79e231f5cb9f7d498d449d09d8 | 124 | py | Python | python/testData/deprecation/deprecatedImport.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/deprecation/deprecatedImport.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/deprecation/deprecatedImport.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import <warning descr="the deprecated module is deprecated; use a non-deprecated module instead">deprecatedModule</warning>
| 62 | 123 | 0.822581 | 16 | 124 | 6.375 | 0.75 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 124 | 1 | 124 | 124 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
969d634b194cdf37c7a28cd729f819bd809a449d | 81,940 | py | Python | sdk/python/pulumi_alicloud/cms/outputs.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/cms/outputs.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/cms/outputs.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... | 38.505639 | 456 | 0.640896 | 8,421 | 81,940 | 6.045719 | 0.045482 | 0.022412 | 0.038813 | 0.056726 | 0.801418 | 0.766239 | 0.743513 | 0.69374 | 0.67235 | 0.654004 | 0 | 0.000443 | 0.256322 | 81,940 | 2,127 | 457 | 38.523742 | 0.835026 | 0.318123 | 0 | 0.733982 | 1 | 0.008921 | 0.173375 | 0.0723 | 0 | 0 | 0 | 0 | 0 | 1 | 0.174371 | false | 0 | 0.004866 | 0.007299 | 0.344688 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7383605c0462c57365d6f53de4e69dc1d56d2a98 | 3,669 | py | Python | scivision_plankton_models/model.py | acocac/scivision-plankton-torch | 9d382b7ed95bd051fcf1cd90d82966202b26d659 | [
"BSD-3-Clause"
] | null | null | null | scivision_plankton_models/model.py | acocac/scivision-plankton-torch | 9d382b7ed95bd051fcf1cd90d82966202b26d659 | [
"BSD-3-Clause"
] | null | null | null | scivision_plankton_models/model.py | acocac/scivision-plankton-torch | 9d382b7ed95bd051fcf1cd90d82966202b26d659 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import torch
import torchvision
import pickle
class resnet50_label1:
def __init__(self):
# preload the pretrained model
model = torchvision.models.resnet50(pretrained=True)
num_ftrs = model.fc.in_features
target_classes = 2
model.fc = torch.nn.Linear(num_f... | 34.613208 | 151 | 0.663123 | 476 | 3,669 | 4.918067 | 0.159664 | 0.115335 | 0.121743 | 0.069201 | 0.927381 | 0.927381 | 0.927381 | 0.927381 | 0.927381 | 0.927381 | 0 | 0.017475 | 0.235759 | 3,669 | 106 | 152 | 34.613208 | 0.817404 | 0.179613 | 0 | 0.695652 | 0 | 0 | 0.095922 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0.014493 | 0.057971 | 0 | 0.405797 | 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 |
7387850975897cf1ca8c2626ab811840531d9e95 | 37 | py | Python | GmailWrapper_JE/je_gmail/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 2 | 2020-12-30T06:37:10.000Z | 2020-12-30T07:27:45.000Z | GmailWrapper_JE/je_gmail/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | GmailWrapper_JE/je_gmail/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | from je_gmail.core import GmailCore
| 18.5 | 36 | 0.837838 | 6 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 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 |
73986838dc338f097b909f6c861e928a3573dbd4 | 229 | py | Python | Daraja/mpesa_integration/keys.py | DelivceNdegwa/Daraja- | 6d46ae3b57c3fe3e91877578db7b975d2b0fd1a3 | [
"MIT"
] | null | null | null | Daraja/mpesa_integration/keys.py | DelivceNdegwa/Daraja- | 6d46ae3b57c3fe3e91877578db7b975d2b0fd1a3 | [
"MIT"
] | null | null | null | Daraja/mpesa_integration/keys.py | DelivceNdegwa/Daraja- | 6d46ae3b57c3fe3e91877578db7b975d2b0fd1a3 | [
"MIT"
] | null | null | null | shortcode = "174379"
lipa_na_mpesa_pass_key = "bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c91"
phone_number = "254711994966"
consumer_key = "aGd3WKTtLpL9AsvGkfi6MaLNqE5H1mCA"
consumer_secret = "JBqhnOTuxftnTe2E"
| 38.166667 | 90 | 0.868996 | 17 | 229 | 11.294118 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271028 | 0.065502 | 229 | 5 | 91 | 45.8 | 0.626168 | 0 | 0 | 0 | 0 | 0 | 0.563319 | 0.414847 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
73b5506c8d4f24e33676da44a510e9e0c0a8215c | 8,947 | py | Python | testsuite/test_resolver.py | ronaldoussoren/objc_asyncio | 89e573fd4c95592515ea8c8a4abfeebdd261fde2 | [
"MIT-0"
] | 2 | 2021-02-20T22:10:54.000Z | 2021-03-26T21:45:06.000Z | testsuite/test_resolver.py | ronaldoussoren/objc_asyncio | 89e573fd4c95592515ea8c8a4abfeebdd261fde2 | [
"MIT-0"
] | null | null | null | testsuite/test_resolver.py | ronaldoussoren/objc_asyncio | 89e573fd4c95592515ea8c8a4abfeebdd261fde2 | [
"MIT-0"
] | null | null | null | import socket
import unittest
import unittest.mock
from . import utils
class TestResolver(utils.TestCase):
def test_getaddrinfo(self):
for dom, port in (("blog.ronaldoussoren.net", 80), ("www.python.org", "https")):
with self.subTest(dom=dom, family="*"):
infos = self.loop.run... | 41.613953 | 88 | 0.483067 | 791 | 8,947 | 5.388116 | 0.128951 | 0.056312 | 0.067574 | 0.052557 | 0.86321 | 0.813937 | 0.813937 | 0.77405 | 0.768888 | 0.757156 | 0 | 0.010221 | 0.409523 | 8,947 | 214 | 89 | 41.808411 | 0.796517 | 0.009277 | 0 | 0.659459 | 0 | 0 | 0.090735 | 0.040289 | 0 | 0 | 0 | 0 | 0.227027 | 1 | 0.021622 | false | 0 | 0.021622 | 0 | 0.048649 | 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 |
fb50de40d27619dedc16d39d5566afd759239db8 | 26,107 | py | Python | morepath/tests/test_directive.py | hugovk/morepath | 5596f9ce43ee4e5cd73eaa2ab9ef37825f88ae28 | [
"BSD-3-Clause"
] | null | null | null | morepath/tests/test_directive.py | hugovk/morepath | 5596f9ce43ee4e5cd73eaa2ab9ef37825f88ae28 | [
"BSD-3-Clause"
] | null | null | null | morepath/tests/test_directive.py | hugovk/morepath | 5596f9ce43ee4e5cd73eaa2ab9ef37825f88ae28 | [
"BSD-3-Clause"
] | null | null | null | import dectate
from .fixtures import (
basic,
nested,
abbr,
mapply_bug,
method,
conflict,
noconverter,
)
from dectate import ConflictError, DirectiveReportError
from morepath.error import LinkError
from morepath.view import render_html
from morepath.converter import Converter
import morepath... | 21.105093 | 79 | 0.587084 | 3,385 | 26,107 | 4.423338 | 0.060857 | 0.02805 | 0.067321 | 0.071061 | 0.788419 | 0.749549 | 0.734389 | 0.721766 | 0.680825 | 0.647432 | 0 | 0.001901 | 0.274524 | 26,107 | 1,236 | 80 | 21.122168 | 0.788648 | 0.023174 | 0 | 0.71816 | 0 | 0 | 0.088509 | 0 | 0 | 0 | 0 | 0 | 0.086085 | 1 | 0.194575 | false | 0.127358 | 0.011792 | 0.079009 | 0.431604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fb7810c86a4c1abe39e465a8de48615bc8895b39 | 147 | py | Python | order.py | saykent/gitwork | 5dc0734137b617428f5a8ee25ceb826b9c5cd2b4 | [
"Apache-2.0"
] | null | null | null | order.py | saykent/gitwork | 5dc0734137b617428f5a8ee25ceb826b9c5cd2b4 | [
"Apache-2.0"
] | null | null | null | order.py | saykent/gitwork | 5dc0734137b617428f5a8ee25ceb826b9c5cd2b4 | [
"Apache-2.0"
] | null | null | null | def order_list():
pass
def order_details():
pass
def add_order():
pass
def update_order():
pass
def delete_order():
pass
| 8.647059 | 20 | 0.619048 | 20 | 147 | 4.3 | 0.4 | 0.325581 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278912 | 147 | 16 | 21 | 9.1875 | 0.811321 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
fb9640883de6f5ac8c553518167ea8c4e733e172 | 376 | py | Python | Week 1 In-out, int and bool/Task08-09.py | retverd/python_hse | cb9bfb092c1cf68ae0c53b9919ca24a71a8cbf88 | [
"MIT"
] | null | null | null | Week 1 In-out, int and bool/Task08-09.py | retverd/python_hse | cb9bfb092c1cf68ae0c53b9919ca24a71a8cbf88 | [
"MIT"
] | null | null | null | Week 1 In-out, int and bool/Task08-09.py | retverd/python_hse | cb9bfb092c1cf68ae0c53b9919ca24a71a8cbf88 | [
"MIT"
] | null | null | null | # #8 У 60 белочек было 38746298762973632324233242 орешков. Они решили разделить их поровну. Сколько орешков досталось
# каждой белочке? В качестве ответа необходимо сдать целое число.
# #9 Часы показывали полночь. Прошло 38746298762973632324233242 минут. Сколько полных часов прошло? В качестве ответа
# необходимо сдат... | 47 | 117 | 0.816489 | 45 | 376 | 6.822222 | 0.711111 | 0.058632 | 0.09772 | 0.162866 | 0.260586 | 0.260586 | 0.260586 | 0 | 0 | 0 | 0 | 0.258462 | 0.135638 | 376 | 7 | 118 | 53.714286 | 0.686154 | 0.859043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fba1a8f2931bbbd48e8964dee3d1819709bf50ec | 85 | py | Python | sympycore/algebras/__init__.py | radovankavicky/pymaclab | 21da758f64ed0b62969c9289576f677e977cfd98 | [
"Apache-2.0"
] | 96 | 2015-01-25T05:59:56.000Z | 2021-12-29T14:05:22.000Z | sympycore/algebras/__init__.py | 1zinnur9/pymaclab | 21da758f64ed0b62969c9289576f677e977cfd98 | [
"Apache-2.0"
] | 3 | 2015-12-17T19:25:46.000Z | 2018-06-19T07:05:20.000Z | sympycore/algebras/__init__.py | 1zinnur9/pymaclab | 21da758f64ed0b62969c9289576f677e977cfd98 | [
"Apache-2.0"
] | 36 | 2016-01-31T15:22:01.000Z | 2021-03-29T07:03:07.000Z |
from .groups import Group, AdditiveGroup, AdditiveAbelianGroup, MultiplicativeGroup
| 28.333333 | 83 | 0.858824 | 7 | 85 | 10.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 2 | 84 | 42.5 | 0.948052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.