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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
034dda544951f3057979554df12732cf18026cbe | 198 | py | Python | hijack/signals.py | mgaitan/django-hijack | 2b8f2e179d699b5017d1c6a95a6c73db468adcf9 | [
"MIT"
] | 1 | 2021-03-19T06:47:57.000Z | 2021-03-19T06:47:57.000Z | hijack/signals.py | sudoguy/django-hijack | d9b3dc24623a8d65e8b7e76f1b31c4b79ce10036 | [
"MIT"
] | null | null | null | hijack/signals.py | sudoguy/django-hijack | d9b3dc24623a8d65e8b7e76f1b31c4b79ce10036 | [
"MIT"
] | 1 | 2018-10-20T18:44:29.000Z | 2018-10-20T18:44:29.000Z | from django.dispatch import Signal
hijack_started = Signal(providing_args=['hijacker_id', 'hijacked_id', 'request'])
hijack_ended = Signal(providing_args=['hijacker_id', 'hijacked_id', 'request'])
| 39.6 | 81 | 0.777778 | 25 | 198 | 5.84 | 0.56 | 0.205479 | 0.260274 | 0.369863 | 0.630137 | 0.630137 | 0.630137 | 0.630137 | 0 | 0 | 0 | 0 | 0.075758 | 198 | 4 | 82 | 49.5 | 0.797814 | 0 | 0 | 0 | 0 | 0 | 0.292929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cee32dbb7dd53d84e602addf63b00899014154a7 | 111 | py | Python | proglearn/__init__.py | mkusman1/progressive-learning | af26fc89a14d6d41505d10d0d30a949ef8aa69d9 | [
"Apache-2.0"
] | null | null | null | proglearn/__init__.py | mkusman1/progressive-learning | af26fc89a14d6d41505d10d0d30a949ef8aa69d9 | [
"Apache-2.0"
] | null | null | null | proglearn/__init__.py | mkusman1/progressive-learning | af26fc89a14d6d41505d10d0d30a949ef8aa69d9 | [
"Apache-2.0"
] | null | null | null | from .progressive_learner import *
from .transformers import *
from .voters import *
from .deciders import * | 27.75 | 35 | 0.765766 | 13 | 111 | 6.461538 | 0.538462 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 111 | 4 | 36 | 27.75 | 0.903226 | 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 |
ceef7bb6e52203b117a443ca6f90f654acaabbce | 46 | py | Python | Level2/jump_teleportation.py | chae-heechan/Programmers_Python_Algorithm_Study | c61af0b1b97d790e2332581eb0b7da42c3e510fa | [
"MIT"
] | null | null | null | Level2/jump_teleportation.py | chae-heechan/Programmers_Python_Algorithm_Study | c61af0b1b97d790e2332581eb0b7da42c3e510fa | [
"MIT"
] | null | null | null | Level2/jump_teleportation.py | chae-heechan/Programmers_Python_Algorithm_Study | c61af0b1b97d790e2332581eb0b7da42c3e510fa | [
"MIT"
] | null | null | null | def solution(n):
return bin(n).count("1")
| 15.333333 | 28 | 0.608696 | 8 | 46 | 3.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.173913 | 46 | 2 | 29 | 23 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
30224d82dccefac8e659352ecfdefacd9bce838c | 259 | py | Python | subsurface/__init__.py | andieie/subsurface | 96d3cc4a0ef6eb549d1ea9d32b71a1380a1383e7 | [
"Apache-2.0"
] | null | null | null | subsurface/__init__.py | andieie/subsurface | 96d3cc4a0ef6eb549d1ea9d32b71a1380a1383e7 | [
"Apache-2.0"
] | null | null | null | subsurface/__init__.py | andieie/subsurface | 96d3cc4a0ef6eb549d1ea9d32b71a1380a1383e7 | [
"Apache-2.0"
] | null | null | null | import subsurface.reader
import subsurface.interfaces
import subsurface.writer
from subsurface.structs import *
from ._version import __version__
try:
from subsurface import visualization
except ImportError:
pass
if __name__ == '__main__':
pass
| 18.5 | 40 | 0.791506 | 29 | 259 | 6.62069 | 0.551724 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158301 | 259 | 13 | 41 | 19.923077 | 0.880734 | 0 | 0 | 0.181818 | 0 | 0 | 0.030888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.181818 | 0.636364 | 0 | 0.636364 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0669003b92635e56e7f440ba39daf0ff3f24059a | 1,081 | py | Python | ftruck/tests.py | sunlightlabs/foodtrucks | f6531a3e47c3d5975d5230e946e636d082dbc24a | [
"BSD-3-Clause"
] | null | null | null | ftruck/tests.py | sunlightlabs/foodtrucks | f6531a3e47c3d5975d5230e946e636d082dbc24a | [
"BSD-3-Clause"
] | null | null | null | ftruck/tests.py | sunlightlabs/foodtrucks | f6531a3e47c3d5975d5230e946e636d082dbc24a | [
"BSD-3-Clause"
] | null | null | null | from ftruck.address import extract
def extraction():
"""
>>> extract("Mojo chicken is brand new today at 14th and New York! Free sample! Check out the photos")
'14th and New York'
>>> extract("The especial is gone!! Sold out amigos!!") is None
True
>>> extract("L'Enfant, here we come! ETA 5 m... | 37.275862 | 155 | 0.638298 | 174 | 1,081 | 3.965517 | 0.603448 | 0.030435 | 0.03913 | 0.04058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021845 | 0.237743 | 1,081 | 29 | 156 | 37.275862 | 0.815534 | 0.855689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2350673cf0d0a3cb63e350d5098106fe97ade043 | 6,001 | py | Python | ss6/game-soloban.py | DuongVu39/C4E10_Duong | 60ec59bddbb3397b5a1804930d5bdfd81107dcae | [
"MIT"
] | null | null | null | ss6/game-soloban.py | DuongVu39/C4E10_Duong | 60ec59bddbb3397b5a1804930d5bdfd81107dcae | [
"MIT"
] | null | null | null | ss6/game-soloban.py | DuongVu39/C4E10_Duong | 60ec59bddbb3397b5a1804930d5bdfd81107dcae | [
"MIT"
] | null | null | null | <<<<<<< HEAD
#pusher
#map
#box
#destination
import time
#set pusher coordinate
#rep: P
pusher ={
"x":1,
"y":0
}
#set box coordinate
#rep: B
boxes = [
{
"x": 3,
"y": 2
},
{
"x": 1,
"y": 3
}]
#set destination coordinate
#rep: D
... | 21.586331 | 75 | 0.453091 | 793 | 6,001 | 3.330391 | 0.114754 | 0.042408 | 0.020447 | 0.026505 | 0.825824 | 0.786445 | 0.756153 | 0.709958 | 0.672851 | 0.635744 | 0 | 0.02149 | 0.402933 | 6,001 | 277 | 76 | 21.66426 | 0.715601 | 0.07932 | 0 | 0.631841 | 0 | 0 | 0.060164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00995 | null | null | 0.094527 | 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 |
2381a8b7269a15c8e5ba46f51399d4e67c2e294d | 206 | py | Python | src/compas_rcf/utils/database.py | FatimAmiri/compas_rcf | 6922036dbb033a83b9ff1cc8c016f865f6ee8e34 | [
"MIT"
] | null | null | null | src/compas_rcf/utils/database.py | FatimAmiri/compas_rcf | 6922036dbb033a83b9ff1cc8c016f865f6ee8e34 | [
"MIT"
] | null | null | null | src/compas_rcf/utils/database.py | FatimAmiri/compas_rcf | 6922036dbb033a83b9ff1cc8c016f865f6ee8e34 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
def get_bullets(database_id):
pass
def write_bullet(database_id, id, **kwargs):
pass
| 17.166667 | 44 | 0.796117 | 28 | 206 | 5.214286 | 0.571429 | 0.205479 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 206 | 11 | 45 | 18.727273 | 0.83908 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.428571 | 0 | 0.714286 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
88db50ff0de58b22358236f48615a349387464ed | 270 | py | Python | 2.5/text_graphs/graph_config.py | DayByDayCoding/Exercises | 49fe1cb144dad0a86c5d282ca6f2d4445b7dd740 | [
"Apache-2.0"
] | null | null | null | 2.5/text_graphs/graph_config.py | DayByDayCoding/Exercises | 49fe1cb144dad0a86c5d282ca6f2d4445b7dd740 | [
"Apache-2.0"
] | null | null | null | 2.5/text_graphs/graph_config.py | DayByDayCoding/Exercises | 49fe1cb144dad0a86c5d282ca6f2d4445b7dd740 | [
"Apache-2.0"
] | null | null | null | class GraphConfig:
def __init__(self, point_symbol, width_spacing):
self.point_symbol = point_symbol
self.width_spacing = width_spacing
def get_width_spacing(self):
return self.width_spacing
def get_point_symbol(self):
return self.point_symbol
| 20.769231 | 50 | 0.762963 | 37 | 270 | 5.135135 | 0.297297 | 0.289474 | 0.236842 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17037 | 270 | 12 | 51 | 22.5 | 0.848214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 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 |
00011d211392f530b991b662f64a565ea97a11f4 | 460 | py | Python | nurbspy/__init__.py | dragonbook/nurbspy | 08640cdb243f4cf72ae66f37e715afa14e70f455 | [
"MIT"
] | 25 | 2020-03-11T19:21:40.000Z | 2022-03-24T02:21:11.000Z | nurbspy/__init__.py | dragonbook/nurbspy | 08640cdb243f4cf72ae66f37e715afa14e70f455 | [
"MIT"
] | 2 | 2021-08-12T10:56:16.000Z | 2022-03-22T17:26:57.000Z | nurbspy/__init__.py | dragonbook/nurbspy | 08640cdb243f4cf72ae66f37e715afa14e70f455 | [
"MIT"
] | 8 | 2021-03-27T07:01:20.000Z | 2022-03-29T01:19:01.000Z | # Import geometry modules
from .nurbs_basis_functions import *
from .nurbs_curve import *
from .nurbs_curve_circular_arc import *
from .nurbs_surface import *
from .nurbs_surface_bilinear import *
from .nurbs_surface_ruled import *
from .nurbs_surface_extruded import *
from .nurbs_su... | 32.857143 | 39 | 0.734783 | 55 | 460 | 5.818182 | 0.363636 | 0.253125 | 0.375 | 0.4125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 460 | 13 | 40 | 35.384615 | 0.888889 | 0.117391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
003a046148b060349dd0e2a1677771e1f7878f9d | 27 | py | Python | aasi/temporal.py | msaharia/aasi | fcaa105e3300a8da8cf92d9e0ef96d33c6feb996 | [
"MIT"
] | null | null | null | aasi/temporal.py | msaharia/aasi | fcaa105e3300a8da8cf92d9e0ef96d33c6feb996 | [
"MIT"
] | null | null | null | aasi/temporal.py | msaharia/aasi | fcaa105e3300a8da8cf92d9e0ef96d33c6feb996 | [
"MIT"
] | null | null | null | def test():
print('s')
| 9 | 14 | 0.481481 | 4 | 27 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 27 | 2 | 15 | 13.5 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
cc4602fa56a51c32ecef0ae35b970d5af9e82edb | 174 | py | Python | src/apps/reservation/admin.py | lizaveta-stasevich/booking | acebd0d9d3035e802cdf6e719a142fe5f74ec2c1 | [
"Apache-2.0"
] | null | null | null | src/apps/reservation/admin.py | lizaveta-stasevich/booking | acebd0d9d3035e802cdf6e719a142fe5f74ec2c1 | [
"Apache-2.0"
] | 6 | 2020-06-06T00:11:43.000Z | 2022-02-10T09:33:51.000Z | src/apps/reservation/admin.py | lizaveta-stasevich/booking | acebd0d9d3035e802cdf6e719a142fe5f74ec2c1 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from apps.reservation import models
admin.site.register(models.City)
admin.site.register(models.Train)
admin.site.register(models.Comfort)
| 21.75 | 35 | 0.827586 | 25 | 174 | 5.76 | 0.52 | 0.1875 | 0.354167 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074713 | 174 | 7 | 36 | 24.857143 | 0.89441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 |
cc7e346e0cc29fa558b936c0b66697ce272cd884 | 19,061 | py | Python | fhir/resources/STU3/tests/test_contract.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 144 | 2019-05-08T14:24:43.000Z | 2022-03-30T02:37:11.000Z | fhir/resources/STU3/tests/test_contract.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 82 | 2019-05-13T17:43:13.000Z | 2022-03-30T16:45:17.000Z | fhir/resources/STU3/tests/test_contract.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 48 | 2019-04-04T14:14:53.000Z | 2022-03-30T06:07:31.000Z | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/Contract
Release: STU3
Version: 3.0.2
Revision: 11917
Last updated: 2019-10-24T11:53:00+11:00
"""
from pydantic.validators import bytes_validator # noqa: F401
from .. import fhirtypes # noqa: F401
from .. import contract
def impl_contract... | 40.383475 | 88 | 0.670794 | 2,511 | 19,061 | 5.049781 | 0.117085 | 0.148265 | 0.036435 | 0.033123 | 0.804811 | 0.77918 | 0.746136 | 0.712618 | 0.670584 | 0.632256 | 0 | 0.042075 | 0.180788 | 19,061 | 471 | 89 | 40.469214 | 0.769965 | 0.060857 | 0 | 0.511688 | 0 | 0 | 0.297088 | 0.030024 | 0 | 0 | 0 | 0 | 0.524675 | 1 | 0.036364 | false | 0 | 0.007792 | 0 | 0.044156 | 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 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cc8bab69abf27ec5e4f30a9b4b2b9443bb449acf | 156 | py | Python | mayan/apps/cabinets/tests/literals.py | eshbeata/open-paperless | 6b9ed1f21908116ad2795b3785b2dbd66713d66e | [
"Apache-2.0"
] | 2,743 | 2017-12-18T07:12:30.000Z | 2022-03-27T17:21:25.000Z | mayan/apps/cabinets/tests/literals.py | eshbeata/open-paperless | 6b9ed1f21908116ad2795b3785b2dbd66713d66e | [
"Apache-2.0"
] | 15 | 2017-12-18T14:58:07.000Z | 2021-03-01T20:05:05.000Z | mayan/apps/cabinets/tests/literals.py | eshbeata/open-paperless | 6b9ed1f21908116ad2795b3785b2dbd66713d66e | [
"Apache-2.0"
] | 257 | 2017-12-18T03:12:58.000Z | 2022-03-25T08:59:10.000Z | from __future__ import absolute_import, unicode_literals
TEST_CABINET_LABEL = 'test cabinet label'
TEST_CABINET_EDITED_LABEL = 'test cabinet edited label'
| 31.2 | 56 | 0.846154 | 21 | 156 | 5.761905 | 0.47619 | 0.363636 | 0.396694 | 0.330579 | 0.628099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 156 | 4 | 57 | 39 | 0.870504 | 0 | 0 | 0 | 0 | 0 | 0.275641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ccb0d34cd7e7c838850e9cd0033321ce74b1506e | 1,183 | py | Python | tests/test_update_order.py | Gfreedoms/Fast-Food-Fast | f88dc71bc67d21599bf2d88b28d1fc1b298c3ec4 | [
"MIT"
] | 1 | 2018-09-29T10:59:00.000Z | 2018-09-29T10:59:00.000Z | tests/test_update_order.py | Gfreedoms/Fast-Food-Fast | f88dc71bc67d21599bf2d88b28d1fc1b298c3ec4 | [
"MIT"
] | 1 | 2019-10-21T17:21:12.000Z | 2019-10-21T17:21:12.000Z | tests/test_update_order.py | Gfreedoms/Fast-Food-Fast | f88dc71bc67d21599bf2d88b28d1fc1b298c3ec4 | [
"MIT"
] | null | null | null | import unittest
from app import Order, CustomerOrders, app
import json
class TestUpdateOrderStatus(unittest.TestCase):
def test_sending_empty_order_status(self):
test_client = app.test_client()
response = test_client.put('/api/v1/orders/0', data=json.dumps(dict(
order_status="")), con... | 38.16129 | 77 | 0.653423 | 138 | 1,183 | 5.413043 | 0.282609 | 0.120482 | 0.056225 | 0.068273 | 0.817938 | 0.817938 | 0.817938 | 0.817938 | 0.817938 | 0.817938 | 0 | 0.007634 | 0.224852 | 1,183 | 30 | 78 | 39.433333 | 0.806979 | 0 | 0 | 0.590909 | 0 | 0 | 0.179205 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.136364 | false | 0 | 0.136364 | 0 | 0.318182 | 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 |
aef0e6971f1fef7a72c20adbbc7ce27380c58af3 | 214 | py | Python | django_soft_delete/utils.py | yucealiosman/soft-delete | 43e437c7fb7428c086721d42a907889f22fc8943 | [
"MIT"
] | null | null | null | django_soft_delete/utils.py | yucealiosman/soft-delete | 43e437c7fb7428c086721d42a907889f22fc8943 | [
"MIT"
] | null | null | null | django_soft_delete/utils.py | yucealiosman/soft-delete | 43e437c7fb7428c086721d42a907889f22fc8943 | [
"MIT"
] | null | null | null | def check_local_deleted_at(model):
return any([f.name == "deleted_at" for f in model._meta.local_fields])
def is_soft_delete_model(model):
return any([f.name == "deleted_at" for f in model._meta.fields])
| 30.571429 | 74 | 0.728972 | 37 | 214 | 3.918919 | 0.459459 | 0.186207 | 0.193103 | 0.206897 | 0.593103 | 0.593103 | 0.593103 | 0.593103 | 0.593103 | 0.593103 | 0 | 0 | 0.140187 | 214 | 6 | 75 | 35.666667 | 0.788043 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4e0880a491b2735a74347aad4d7ea610cf43727f | 9,722 | py | Python | tests/test_actions.py | andrewtholt/python-sonoffdiy | 350ae275fefadd92355741eed0667a5422ea7ac5 | [
"MIT"
] | 3 | 2019-11-09T14:46:52.000Z | 2022-02-11T00:34:29.000Z | tests/test_actions.py | andrewtholt/python-sonoffdiy | 350ae275fefadd92355741eed0667a5422ea7ac5 | [
"MIT"
] | 3 | 2020-01-12T12:48:42.000Z | 2021-11-15T17:51:54.000Z | tests/test_actions.py | andrewtholt/python-sonoffdiy | 350ae275fefadd92355741eed0667a5422ea7ac5 | [
"MIT"
] | 4 | 2020-04-26T11:38:08.000Z | 2022-02-11T00:34:31.000Z | """Tests for action performed against a Sonoff DIY device."""
import aiohttp
import pytest
from sonoffdiy import SonoffDIY
from sonoffdiy.const import STATE_OFF, STATE_ON, STATE_RESTORE, STATE_STAY
from sonoffdiy.exceptions import SonoffDIYError
@pytest.mark.asyncio
async def test_switch_on(event_loop, aresponses):
... | 33.524138 | 88 | 0.609854 | 1,082 | 9,722 | 5.368762 | 0.095194 | 0.051128 | 0.049234 | 0.055776 | 0.884662 | 0.868136 | 0.862111 | 0.837838 | 0.795662 | 0.767602 | 0 | 0.041534 | 0.257046 | 9,722 | 289 | 89 | 33.640138 | 0.762702 | 0.04279 | 0 | 0.638498 | 0 | 0 | 0.200755 | 0.00286 | 0 | 0 | 0 | 0 | 0.046948 | 1 | 0 | false | 0.004695 | 0.023474 | 0 | 0.070423 | 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 |
9d77be7310f248b7a71dd662711b539569f4e28a | 75 | py | Python | team_9/cocos/utest/pyglet_mockup1/pyglet/image/__init__.py | Donnyvdm/dojo19 | 3cf043a84e3ad6d3c4d59cd9c50b160e1ff03400 | [
"BSD-3-Clause"
] | 1 | 2019-09-15T18:59:49.000Z | 2019-09-15T18:59:49.000Z | team_9/cocos/utest/pyglet_mockup1/pyglet/image/__init__.py | Donnyvdm/dojo19 | 3cf043a84e3ad6d3c4d59cd9c50b160e1ff03400 | [
"BSD-3-Clause"
] | null | null | null | team_9/cocos/utest/pyglet_mockup1/pyglet/image/__init__.py | Donnyvdm/dojo19 | 3cf043a84e3ad6d3c4d59cd9c50b160e1ff03400 | [
"BSD-3-Clause"
] | null | null | null | # image
from __future__ import division, print_function, unicode_literals
| 18.75 | 65 | 0.84 | 9 | 75 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 75 | 3 | 66 | 25 | 0.863636 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
9d84c15ef731fb9a27d2c99ded64fb880de50e3f | 4,158 | py | Python | shasta/default_actions/default_actions.py | aditya8119/shasta | d917231e7e8d495d3ea7ddf28da18dcb114d081a | [
"MIT"
] | 1 | 2021-09-07T16:38:59.000Z | 2021-09-07T16:38:59.000Z | shasta/default_actions/default_actions.py | aditya8119/shasta | d917231e7e8d495d3ea7ddf28da18dcb114d081a | [
"MIT"
] | null | null | null | shasta/default_actions/default_actions.py | aditya8119/shasta | d917231e7e8d495d3ea7ddf28da18dcb114d081a | [
"MIT"
] | 1 | 2021-02-08T21:12:09.000Z | 2021-02-08T21:12:09.000Z | import yaml
from pathlib import Path
import collections
from numpy import genfromtxt
def initial_nodes_setup(config):
"""Performs initial nodes setup
"""
# Nodes setup
nodes = []
path = config['urdf_data_path'] + 'nodes.csv'
position_data = genfromtxt(path, delimiter=',')
for i in range(c... | 32.740157 | 72 | 0.611352 | 536 | 4,158 | 4.466418 | 0.147388 | 0.097744 | 0.06015 | 0.063492 | 0.803258 | 0.798246 | 0.792398 | 0.76817 | 0.731412 | 0.731412 | 0 | 0.009443 | 0.261424 | 4,158 | 126 | 73 | 33 | 0.770107 | 0.094276 | 0 | 0.658824 | 0 | 0 | 0.189687 | 0.036869 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035294 | false | 0 | 0.058824 | 0 | 0.129412 | 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 |
9d942457b482b3ff0ec82bca8d02d23cad71ba64 | 294 | py | Python | lib/python2.7/site-packages/django/middleware/doc.py | Shailendre/simpleproject | cd7319636d0569be06bb9dab4c5546c1e9542b07 | [
"BSD-2-Clause"
] | 2 | 2016-09-27T09:30:19.000Z | 2016-10-17T01:47:43.000Z | env/lib/python2.7/site-packages/django/middleware/doc.py | luiscarlosgph/nas | e5acee61e8bbf12c34785fe971ce7df8dee775d4 | [
"MIT"
] | 10 | 2019-12-26T17:31:31.000Z | 2022-03-21T22:17:33.000Z | env/lib/python2.7/site-packages/django/middleware/doc.py | luiscarlosgph/nas | e5acee61e8bbf12c34785fe971ce7df8dee775d4 | [
"MIT"
] | 1 | 2015-02-21T07:59:08.000Z | 2015-02-21T07:59:08.000Z | """XViewMiddleware has been moved to django.contrib.admindocs.middleware."""
import warnings
from django.utils.deprecation import RemovedInDjango18Warning
warnings.warn(__doc__, RemovedInDjango18Warning, stacklevel=2)
from django.contrib.admindocs.middleware import XViewMiddleware # NOQA
| 29.4 | 76 | 0.836735 | 31 | 294 | 7.806452 | 0.645161 | 0.107438 | 0.181818 | 0.264463 | 0.31405 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018657 | 0.088435 | 294 | 9 | 77 | 32.666667 | 0.884328 | 0.258503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
9dc620e80ffef157a7480f95e2d3bd6386812bcc | 25 | py | Python | mayan/settings/development/docker/base.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | null | null | null | mayan/settings/development/docker/base.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 10 | 2021-03-19T23:48:12.000Z | 2022-03-12T00:41:49.000Z | mayan/settings/development/docker/base.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2020-12-17T02:35:09.000Z | 2020-12-17T02:35:09.000Z | from .. import * # NOQA
| 12.5 | 24 | 0.56 | 3 | 25 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 25 | 1 | 25 | 25 | 0.777778 | 0.16 | 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 |
d1799558cab70e413078ac1ccbd13103bf60e410 | 20,692 | py | Python | netfpga_src/NetFPGA-SUME/project/reference_emu/test/both_dns_debug/run.py | NaaS/emu-live | 1de49d99f159642127cce9152a81335f97255069 | [
"Apache-2.0"
] | 3 | 2018-03-08T22:11:31.000Z | 2021-06-29T08:16:07.000Z | netfpga_src/NetFPGA-SUME/project/reference_emu/test/both_dns_debug/run.py | NaaS/emu-live | 1de49d99f159642127cce9152a81335f97255069 | [
"Apache-2.0"
] | null | null | null | netfpga_src/NetFPGA-SUME/project/reference_emu/test/both_dns_debug/run.py | NaaS/emu-live | 1de49d99f159642127cce9152a81335f97255069 | [
"Apache-2.0"
] | 1 | 2018-04-06T14:53:01.000Z | 2018-04-06T14:53:01.000Z | #!/usr/bin/env python
#
#
# Copyright (C) 2017 Salvator Galea <salvator.galea@cl.cam.ac.uk>
# All rights reserved.
#
# This software was developed by Stanford University and the University of Cambridge Computer Laboratory
# under National Science Foundation under Grant No. CNS-0855268,
# the University of Cambridge Co... | 34.54424 | 376 | 0.612314 | 3,065 | 20,692 | 3.883197 | 0.108972 | 0.172744 | 0.178962 | 0.102336 | 0.758024 | 0.735927 | 0.721055 | 0.702571 | 0.693917 | 0.675265 | 0 | 0.035659 | 0.124493 | 20,692 | 598 | 377 | 34.602007 | 0.621329 | 0.194181 | 0 | 0.746898 | 0 | 0 | 0.284986 | 0.015483 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.019851 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d1d84f37fe5bbc0a936a13272032db137cae9251 | 84 | py | Python | tests/fixtures/__init__.py | danizord/pynubank | 66633a6abcc338ac026def2ce3011a401d6d9c2e | [
"MIT"
] | 744 | 2017-06-20T23:14:59.000Z | 2022-03-28T05:48:38.000Z | tests/fixtures/__init__.py | danizord/pynubank | 66633a6abcc338ac026def2ce3011a401d6d9c2e | [
"MIT"
] | 283 | 2017-06-22T18:10:53.000Z | 2022-03-24T18:14:30.000Z | tests/fixtures/__init__.py | danizord/pynubank | 66633a6abcc338ac026def2ce3011a401d6d9c2e | [
"MIT"
] | 165 | 2017-06-21T05:13:26.000Z | 2022-03-24T17:04:37.000Z | from .gen_certificate import gen_certificate_return
from .proxy import proxy_return
| 28 | 51 | 0.880952 | 12 | 84 | 5.833333 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 2 | 52 | 42 | 0.921053 | 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 |
ae733aacec8c77fd9103f0d05b80db2e24fbce22 | 246 | py | Python | scripts/advanced_collectible/fund_collectible.py | jose-Abel/Ethereum-NFT | 2ab765de3b439544ce1e7b2a9774f3c34d967b14 | [
"MIT"
] | 1 | 2021-12-05T22:50:25.000Z | 2021-12-05T22:50:25.000Z | scripts/advanced_collectible/fund_collectible.py | jose-Abel/Ethereum-NFT | 2ab765de3b439544ce1e7b2a9774f3c34d967b14 | [
"MIT"
] | null | null | null | scripts/advanced_collectible/fund_collectible.py | jose-Abel/Ethereum-NFT | 2ab765de3b439544ce1e7b2a9774f3c34d967b14 | [
"MIT"
] | null | null | null | from brownie import AdvancedCollectible
from scripts.helpful_scripts import fund_advanced_collectible
def main():
advanced_collectible = AdvancedCollectible[len(AdvancedCollectible) - 1]
fund_advanced_collectible(advanced_collectible) | 30.75 | 76 | 0.841463 | 25 | 246 | 8 | 0.52 | 0.38 | 0.23 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004566 | 0.109756 | 246 | 8 | 77 | 30.75 | 0.908676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 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 |
ee136f999d202afe7da8e8d60c8a8f31f908c2ac | 92 | py | Python | poker_ai/terminal/__init__.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | 2 | 2020-01-12T07:59:56.000Z | 2020-01-13T10:04:26.000Z | poker_ai/terminal/__init__.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | null | null | null | poker_ai/terminal/__init__.py | fedden/pluribus | 73fb394b26623c897459ffa3e66d7a5cb47e9962 | [
"MIT"
] | null | null | null | from . import ascii_objects
from . import render
from . import results
from . import runner
| 18.4 | 27 | 0.782609 | 13 | 92 | 5.461538 | 0.538462 | 0.56338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 4 | 28 | 23 | 0.934211 | 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 |
ee29b7e693d23e5087cf360e592f4b2934a88a62 | 144 | py | Python | flavio/physics/kdecays/__init__.py | jackypheno/flavio | 2fe4e8af49b7449bd12bd352c39326e9bbcd9cc6 | [
"MIT"
] | null | null | null | flavio/physics/kdecays/__init__.py | jackypheno/flavio | 2fe4e8af49b7449bd12bd352c39326e9bbcd9cc6 | [
"MIT"
] | null | null | null | flavio/physics/kdecays/__init__.py | jackypheno/flavio | 2fe4e8af49b7449bd12bd352c39326e9bbcd9cc6 | [
"MIT"
] | null | null | null | r"""Observables in kaon decays."""
from . import formfactors
from . import kpinunu
from . import kpilnu
from . import klnu
from . import kpipi
| 18 | 34 | 0.743056 | 20 | 144 | 5.35 | 0.6 | 0.46729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173611 | 144 | 7 | 35 | 20.571429 | 0.89916 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee6b80413537425903c5e3a2713138b480f5f494 | 131 | py | Python | bitcoin/__init__.py | samadobrota/bitcoin-sweep-privkey | 833d36b196b609776c35bdc2c45b9dd61d91b515 | [
"MIT"
] | 13 | 2015-03-06T15:19:56.000Z | 2021-02-21T20:15:54.000Z | bitcoin/__init__.py | mierea/bitcoin-sweep-privkey | 833d36b196b609776c35bdc2c45b9dd61d91b515 | [
"MIT"
] | 2 | 2016-02-08T03:49:06.000Z | 2020-05-30T12:00:43.000Z | bitcoin/__init__.py | mierea/bitcoin-sweep-privkey | 833d36b196b609776c35bdc2c45b9dd61d91b515 | [
"MIT"
] | 11 | 2015-09-07T21:51:17.000Z | 2021-11-15T07:30:58.000Z | from bitcoin.main import *
from bitcoin.transaction import *
from bitcoin.deterministic import *
from bitcoin.stealth import *
| 26.2 | 36 | 0.78626 | 16 | 131 | 6.4375 | 0.4375 | 0.427184 | 0.495146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 131 | 4 | 37 | 32.75 | 0.927928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c9a35225fbf6acaa5e50271d8492a830b16825dc | 46 | py | Python | app/cli/db/__init__.py | lonless0/flask_project | f5d6c5c7655e54d95069b469e3d470eda7a05cb7 | [
"MIT"
] | 786 | 2019-01-15T14:30:37.000Z | 2022-03-28T08:53:39.000Z | app/cli/db/__init__.py | lonless0/flask_project | f5d6c5c7655e54d95069b469e3d470eda7a05cb7 | [
"MIT"
] | 107 | 2019-01-18T05:15:16.000Z | 2022-03-16T07:13:05.000Z | app/cli/db/__init__.py | lonless0/flask_project | f5d6c5c7655e54d95069b469e3d470eda7a05cb7 | [
"MIT"
] | 222 | 2019-01-16T14:44:23.000Z | 2022-03-23T11:33:00.000Z | from .fake import fake
from .init import init
| 15.333333 | 22 | 0.782609 | 8 | 46 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c9bc78fd6ab79bb79809faef3bd8410b3b698b64 | 21,142 | py | Python | src/models.py | EgonFerri/Final_project_Aml_ARC | d5290a0bfef5e1aa0feb5988cdfe6de704180485 | [
"MIT"
] | null | null | null | src/models.py | EgonFerri/Final_project_Aml_ARC | d5290a0bfef5e1aa0feb5988cdfe6de704180485 | [
"MIT"
] | null | null | null | src/models.py | EgonFerri/Final_project_Aml_ARC | d5290a0bfef5e1aa0feb5988cdfe6de704180485 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
from utils import pad_crop
#----------------------------------_____________________ATTENTION___________________-----------------------------------
class Attention(nn.Module):
def __init__(self, input_dim, attention_dim):
... | 37.156415 | 127 | 0.575726 | 3,168 | 21,142 | 3.580177 | 0.044508 | 0.093105 | 0.056427 | 0.055017 | 0.829395 | 0.804355 | 0.791747 | 0.784077 | 0.780021 | 0.763181 | 0 | 0.036291 | 0.258396 | 21,142 | 568 | 128 | 37.221831 | 0.687097 | 0.065982 | 0 | 0.69898 | 0 | 0 | 0.014922 | 0.003808 | 0 | 0 | 0 | 0 | 0 | 1 | 0.112245 | false | 0 | 0.012755 | 0 | 0.239796 | 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 |
4e425753444861cbc31d7d5986c7722c608c1120 | 35,108 | py | Python | pkgs/ops-pkg/src/genie/libs/ops/rip/iosxr/tests/rip_output.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/ops-pkg/src/genie/libs/ops/rip/iosxr/tests/rip_output.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/ops-pkg/src/genie/libs/ops/rip/iosxr/tests/rip_output.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | """
Rip Genie Ops Object Outputs for IOSXE.
"""
class RipOutput(object):
show_vrf_all_detail = {
"VRF1": {
"description": "not set",
"vrf_mode": "regular",
"address_family": {
"ipv6 unicast": {
"route_target": {
... | 61.057391 | 168 | 0.185884 | 1,574 | 35,108 | 4.076874 | 0.132147 | 0.016519 | 0.070126 | 0.014025 | 0.880162 | 0.810503 | 0.770298 | 0.730248 | 0.681159 | 0.643447 | 0 | 0.12632 | 0.762561 | 35,108 | 575 | 169 | 61.057391 | 0.643474 | 0.001111 | 0 | 0.574312 | 0 | 0.007339 | 0.592493 | 0.024328 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.009174 | 0.011009 | 0 | 0.031193 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 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 |
4ea0602bbbf54f5b77a95983bae3a36a180a293d | 119 | py | Python | test/unit/sconstool/util/pkg/tgt1/__init__.py | ptomulik/scons-tool-util | daab1c7db087feb988a721bf10e6b5c29c0e02b2 | [
"Unlicense"
] | 1 | 2021-03-13T07:18:31.000Z | 2021-03-13T07:18:31.000Z | test/unit/sconstool/util/pkg/tgt1/__init__.py | ptomulik/scons-tool-util | daab1c7db087feb988a721bf10e6b5c29c0e02b2 | [
"Unlicense"
] | 5 | 2020-02-24T18:32:31.000Z | 2020-04-15T18:49:14.000Z | test/unit/sconstool/util/pkg/tgt1/__init__.py | ptomulik/scons-tool-util | daab1c7db087feb988a721bf10e6b5c29c0e02b2 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
from sconstool.util import import_all_from
import_all_from(__package__, ('..src3', '..src4'))
| 23.8 | 50 | 0.689076 | 16 | 119 | 4.625 | 0.6875 | 0.243243 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0.109244 | 119 | 4 | 51 | 29.75 | 0.669811 | 0.176471 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4eae19176bd56407b2e046f36b30d731cdb4bcdd | 132 | py | Python | dtk/nn/__init__.py | DinoMan/dino-tk | b3937b816667f8c2d7bb0751a7107a6d78a222e1 | [
"MIT"
] | 1 | 2021-09-24T14:55:36.000Z | 2021-09-24T14:55:36.000Z | dtk/nn/__init__.py | DinoMan/dino-tk | b3937b816667f8c2d7bb0751a7107a6d78a222e1 | [
"MIT"
] | null | null | null | dtk/nn/__init__.py | DinoMan/dino-tk | b3937b816667f8c2d7bb0751a7107a6d78a222e1 | [
"MIT"
] | null | null | null | from .utils import *
from .loss import *
from .modules import *
from .activations import *
from .temporal.conformer import Conformer | 26.4 | 41 | 0.780303 | 17 | 132 | 6.058824 | 0.470588 | 0.38835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 132 | 5 | 41 | 26.4 | 0.911504 | 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 |
4eb887979949c576db9db8fb816bc9c928feb932 | 48 | py | Python | cloudbutton/engine/storage/backends/aws_s3/__init__.py | Dahk/cloudbutton | 61d77123d15d9c2da99e8989220c6271ca737245 | [
"Apache-2.0"
] | 1 | 2020-04-23T09:47:44.000Z | 2020-04-23T09:47:44.000Z | aws_s3/__init__.py | cloudbutton/ibm-pywren-aws-plugin | a25d8cc014352c034b4c1f99521df10bd295b376 | [
"Apache-2.0"
] | null | null | null | aws_s3/__init__.py | cloudbutton/ibm-pywren-aws-plugin | a25d8cc014352c034b4c1f99521df10bd295b376 | [
"Apache-2.0"
] | 1 | 2019-09-02T07:58:37.000Z | 2019-09-02T07:58:37.000Z | from .aws_s3 import S3Backend as StorageBackend
| 24 | 47 | 0.854167 | 7 | 48 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.125 | 48 | 1 | 48 | 48 | 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 |
4ed155fc6509b77c9a49b50d4c8f42a962ac3a11 | 45 | py | Python | test_colorspace.py | FGiuliari/visual_data | 8599da6b5333a0995cdb1cdafd51d2eb8ea0e8cf | [
"MIT"
] | null | null | null | test_colorspace.py | FGiuliari/visual_data | 8599da6b5333a0995cdb1cdafd51d2eb8ea0e8cf | [
"MIT"
] | null | null | null | test_colorspace.py | FGiuliari/visual_data | 8599da6b5333a0995cdb1cdafd51d2eb8ea0e8cf | [
"MIT"
] | null | null | null | import numpy as np
import random
import scipy | 15 | 18 | 0.844444 | 8 | 45 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 3 | 19 | 15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14c8913b48de8ddb0b50cc12850405b84c261cf4 | 200 | py | Python | bite-sized-bears/Website/syndication_app/admin.py | Vthechamp22/summer-code-jam-2021 | 0a8bf1f22f6c73300891fd779da36efd8e1304c1 | [
"MIT"
] | 40 | 2020-08-02T07:38:22.000Z | 2021-07-26T01:46:50.000Z | bite-sized-bears/Website/syndication_app/admin.py | Vthechamp22/summer-code-jam-2021 | 0a8bf1f22f6c73300891fd779da36efd8e1304c1 | [
"MIT"
] | 134 | 2020-07-31T12:15:45.000Z | 2020-12-13T04:42:19.000Z | bite-sized-bears/Website/syndication_app/admin.py | Vthechamp22/summer-code-jam-2021 | 0a8bf1f22f6c73300891fd779da36efd8e1304c1 | [
"MIT"
] | 101 | 2020-07-31T12:00:47.000Z | 2021-11-01T09:06:58.000Z | from django.contrib import admin
from .models import User, Community, Post, Comments
admin.site.register(User)
admin.site.register(Community)
admin.site.register(Post)
admin.site.register(Comments)
| 22.222222 | 51 | 0.81 | 28 | 200 | 5.785714 | 0.428571 | 0.222222 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085 | 200 | 8 | 52 | 25 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
eeac721c0d13ced1226f6d659f47115046594084 | 38 | py | Python | backend/callbacks/viewsets/__init__.py | Stonedch/web-privollesru | 44f5656c57457ba00cc33f770d57823edacc1ce2 | [
"MIT"
] | null | null | null | backend/callbacks/viewsets/__init__.py | Stonedch/web-privollesru | 44f5656c57457ba00cc33f770d57823edacc1ce2 | [
"MIT"
] | null | null | null | backend/callbacks/viewsets/__init__.py | Stonedch/web-privollesru | 44f5656c57457ba00cc33f770d57823edacc1ce2 | [
"MIT"
] | null | null | null | from .callback import CallbackViewSet
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 |
eeed8e7a1efbd2dd74044a834f569a1c523318a1 | 132 | py | Python | app/munkres_api/__init__.py | jonodrew/graduate-rotator | 0039033257a53ffa67edae288c9b7c37b50086a3 | [
"MIT"
] | 1 | 2021-09-10T13:55:25.000Z | 2021-09-10T13:55:25.000Z | app/munkres_api/__init__.py | jonodrew/graduate-rotator | 0039033257a53ffa67edae288c9b7c37b50086a3 | [
"MIT"
] | 59 | 2020-06-29T21:50:14.000Z | 2022-03-31T13:11:15.000Z | app/munkres_api/__init__.py | jonodrew/graduate-rotator | 0039033257a53ffa67edae288c9b7c37b50086a3 | [
"MIT"
] | null | null | null | from flask import Blueprint
munkres_bp = Blueprint("munkres_api", __name__)
from app.munkres_api import routes # noqa: E402,F401
| 22 | 53 | 0.787879 | 19 | 132 | 5.105263 | 0.684211 | 0.329897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.136364 | 132 | 5 | 54 | 26.4 | 0.798246 | 0.113636 | 0 | 0 | 0 | 0 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
eef4c6a7e1e1aad72777a974bba26ed52f210953 | 2,692 | py | Python | boa3_test/tests/test_types.py | jplippi/neo3-boa | 052be4adebb665113715bb80067d954f7ad85ad5 | [
"Apache-2.0"
] | null | null | null | boa3_test/tests/test_types.py | jplippi/neo3-boa | 052be4adebb665113715bb80067d954f7ad85ad5 | [
"Apache-2.0"
] | null | null | null | boa3_test/tests/test_types.py | jplippi/neo3-boa | 052be4adebb665113715bb80067d954f7ad85ad5 | [
"Apache-2.0"
] | null | null | null | import ast
from boa3.analyser.typeanalyser import TypeAnalyser
from boa3.model.type.tupletype import TupleType
from boa3.model.type.type import Type
from boa3_test.tests.boa_test import BoaTest
class TestConstant(BoaTest):
def test_small_integer_constant(self):
input = 42
node = ast.parse(str(in... | 29.911111 | 86 | 0.657875 | 313 | 2,692 | 5.501597 | 0.166134 | 0.130081 | 0.078978 | 0.069686 | 0.779907 | 0.779907 | 0.76597 | 0.76597 | 0.76597 | 0.76597 | 0 | 0.011685 | 0.236999 | 2,692 | 89 | 87 | 30.247191 | 0.82668 | 0.013373 | 0 | 0.612903 | 0 | 0 | 0.003768 | 0 | 0 | 0 | 0 | 0.011236 | 0.129032 | 1 | 0.129032 | false | 0 | 0.080645 | 0 | 0.225806 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0129bfac0e76923dd06e13690dec40ec8837511a | 21 | py | Python | aether/ontology/family/__init__.py | DennisMerkus/Aether | 25ba2bb332ec5aa79b6d263b3c30091e4a8a7888 | [
"MIT"
] | null | null | null | aether/ontology/family/__init__.py | DennisMerkus/Aether | 25ba2bb332ec5aa79b6d263b3c30091e4a8a7888 | [
"MIT"
] | null | null | null | aether/ontology/family/__init__.py | DennisMerkus/Aether | 25ba2bb332ec5aa79b6d263b3c30091e4a8a7888 | [
"MIT"
] | null | null | null | from .son import Son
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0135a6c882a9d5dfd218c97d3ab008d62891bcd0 | 5,966 | py | Python | test/cuberead/lowres/test_spatially_chunked_low_res.py | CAB-LAB/cube-performance-test | 0ca7dbb56b2937004fb63f8aafdff21fb76263d4 | [
"MIT"
] | null | null | null | test/cuberead/lowres/test_spatially_chunked_low_res.py | CAB-LAB/cube-performance-test | 0ca7dbb56b2937004fb63f8aafdff21fb76263d4 | [
"MIT"
] | null | null | null | test/cuberead/lowres/test_spatially_chunked_low_res.py | CAB-LAB/cube-performance-test | 0ca7dbb56b2937004fb63f8aafdff21fb76263d4 | [
"MIT"
] | null | null | null | import time
import pytest
from test import config
from test.cube_utils import CubeUtils
ITERATIONS_NUM = getattr(config, 'iterations_num', 1)
ROUNDS_NUM = getattr(config, 'rounds_num', 10)
class TestSpatiallyChunkedLowRes:
# =======================
# Chunksizes 1 x 45 x 45
# =======================
... | 34.091429 | 115 | 0.651861 | 681 | 5,966 | 5.456681 | 0.098385 | 0.02422 | 0.061356 | 0.077503 | 0.92761 | 0.92761 | 0.879171 | 0.879171 | 0.817815 | 0.817815 | 0 | 0.091524 | 0.207006 | 5,966 | 174 | 116 | 34.287356 | 0.693934 | 0.084646 | 0 | 0.584746 | 0 | 0 | 0.113402 | 0.012334 | 0 | 0 | 0 | 0 | 0 | 1 | 0.127119 | false | 0 | 0.033898 | 0 | 0.169492 | 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 |
0157657473c416107b502ccd5ae26e10c4ba7bd4 | 102 | py | Python | appswag/primitives/_bool.py | atchoum31/appswag | 7279ccde73e2a27495228a9342c88e8526b0534a | [
"MIT"
] | null | null | null | appswag/primitives/_bool.py | atchoum31/appswag | 7279ccde73e2a27495228a9342c88e8526b0534a | [
"MIT"
] | null | null | null | appswag/primitives/_bool.py | atchoum31/appswag | 7279ccde73e2a27495228a9342c88e8526b0534a | [
"MIT"
] | null | null | null | from __future__ import absolute_import
def create_bool(_, v, ctx=None):
return bool(v)
| 12.75 | 39 | 0.676471 | 14 | 102 | 4.428571 | 0.785714 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245098 | 102 | 7 | 40 | 14.571429 | 0.805195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6d9eb786df57fe084a7bc46c41f9ae64fdd7de07 | 7 | py | Python | python/testData/psi/UnterminatedFStringWithTrailingBackslashInLiteralPart.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/psi/UnterminatedFStringWithTrailingBackslashInLiteralPart.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/UnterminatedFStringWithTrailingBackslashInLiteralPart.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | s = f'\ | 7 | 7 | 0.285714 | 2 | 7 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 7 | 1 | 7 | 7 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6da375a2425b81c64ace8e1f413d31cc0c7d1e24 | 1,728 | py | Python | tests/pypandas_sql/dbconnector/db_connector_test.py | saurabhdhupar/pypandas-sql | 4b5d3bd2ffb5e1e566b2cd8aa9ecaba29237a995 | [
"Apache-2.0"
] | null | null | null | tests/pypandas_sql/dbconnector/db_connector_test.py | saurabhdhupar/pypandas-sql | 4b5d3bd2ffb5e1e566b2cd8aa9ecaba29237a995 | [
"Apache-2.0"
] | 23 | 2020-01-23T06:43:39.000Z | 2020-02-08T08:43:50.000Z | tests/pypandas_sql/dbconnector/db_connector_test.py | saurabhdhupar/pypandas-sql | 4b5d3bd2ffb5e1e566b2cd8aa9ecaba29237a995 | [
"Apache-2.0"
] | null | null | null | import unittest
from mock import patch
from pypandas_sql.dbconnector.db_connector import DBConnector
class DBConnectorTest(unittest.TestCase):
@patch.multiple(DBConnector, __abstractmethods__=set())
def test_db_connector_object_creation(self) -> None:
connection = {'host': 'test-host', 'port': 123,... | 44.307692 | 89 | 0.725694 | 187 | 1,728 | 6.352941 | 0.197861 | 0.092593 | 0.10101 | 0.164141 | 0.774411 | 0.774411 | 0.774411 | 0.736532 | 0.736532 | 0.686027 | 0 | 0.006198 | 0.159722 | 1,728 | 38 | 90 | 45.473684 | 0.811983 | 0 | 0 | 0.413793 | 0 | 0 | 0.077546 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 1 | 0.172414 | false | 0 | 0.103448 | 0 | 0.310345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 6 |
6ddc3e4d42acd212d156571d05a8af7e04b1ca35 | 2,086 | py | Python | chromatic/tests/test_rainbow_operations.py | zkbt/chromatic | e7d66c5060d6ec02db7d5d512bd066accf8229b6 | [
"MIT"
] | null | null | null | chromatic/tests/test_rainbow_operations.py | zkbt/chromatic | e7d66c5060d6ec02db7d5d512bd066accf8229b6 | [
"MIT"
] | 39 | 2021-06-22T01:41:52.000Z | 2022-03-24T23:22:40.000Z | chromatic/tests/test_rainbow_operations.py | zkbt/chromatic | e7d66c5060d6ec02db7d5d512bd066accf8229b6 | [
"MIT"
] | 1 | 2022-03-11T22:53:46.000Z | 2022-03-11T22:53:46.000Z | from ..rainbows import *
from .setup_tests import *
import pytest
def test_rainbow_operations():
nw, nt = 20, 40
a = Rainbow(
wavelength=np.linspace(0.5, 5, nw) * u.micron,
time=np.linspace(-1, 1, nt) * u.hour,
flux=np.ones((nw, nt)),
)
b = Rainbow(
wavelength=np.linsp... | 33.645161 | 92 | 0.546021 | 348 | 2,086 | 3.20977 | 0.16954 | 0.050134 | 0.232766 | 0.250671 | 0.823635 | 0.823635 | 0.803044 | 0.724261 | 0.624888 | 0.539839 | 0 | 0.075472 | 0.237776 | 2,086 | 61 | 93 | 34.196721 | 0.627044 | 0.041227 | 0 | 0.176471 | 0 | 0 | 0.04004 | 0 | 0 | 0 | 0 | 0 | 0.392157 | 1 | 0.019608 | false | 0 | 0.058824 | 0 | 0.078431 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6df06b16aa0067c6ec0e7773bb6b3eb738be5222 | 46 | py | Python | mme/algos/__init__.py | seungyulhan/mme | f9f8bd9d6a3346c3b71faf9c6f78e3402c2924a0 | [
"MIT"
] | null | null | null | mme/algos/__init__.py | seungyulhan/mme | f9f8bd9d6a3346c3b71faf9c6f78e3402c2924a0 | [
"MIT"
] | null | null | null | mme/algos/__init__.py | seungyulhan/mme | f9f8bd9d6a3346c3b71faf9c6f78e3402c2924a0 | [
"MIT"
] | 1 | 2022-01-13T03:53:31.000Z | 2022-01-13T03:53:31.000Z | from .mme import MME
from .demme import DE_MME | 23 | 25 | 0.804348 | 9 | 46 | 4 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 25 | 23 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
09f75dc9ccf790a4d16d840b9f5417ebc9dfd866 | 15,475 | py | Python | pdpipe/df/series_from_df.py | yarkhinephyo/pdpipe | e935b20a02e1117750ccc72d7d55eb92cdb8cba2 | [
"MIT"
] | 438 | 2017-03-02T16:55:34.000Z | 2019-12-20T03:29:36.000Z | pdpipe/df/series_from_df.py | yarkhinephyo/pdpipe | e935b20a02e1117750ccc72d7d55eb92cdb8cba2 | [
"MIT"
] | 11 | 2017-05-08T03:36:47.000Z | 2019-12-17T02:51:45.000Z | pdpipe/df/series_from_df.py | yarkhinephyo/pdpipe | e935b20a02e1117750ccc72d7d55eb92cdb8cba2 | [
"MIT"
] | 20 | 2017-05-08T02:19:17.000Z | 2019-12-16T10:35:42.000Z | """Define callables that generate pandas.Series from pandas.DataFrame."""
import abc
from typing import Union, Tuple
import numpy
from pandas import DataFrame, Series
# === Series from DataFrame objects ======
class _SeriesFromDf(abc.ABC):
"""A serializable callable that returns a pandas.Series from input
... | 26.052189 | 74 | 0.578675 | 1,633 | 15,475 | 5.18616 | 0.088794 | 0.126461 | 0.090329 | 0.070256 | 0.777778 | 0.767387 | 0.752627 | 0.741764 | 0.741764 | 0.737986 | 0 | 0.006008 | 0.311599 | 15,475 | 593 | 75 | 26.096121 | 0.78898 | 0.070824 | 0 | 0.654462 | 1 | 0 | 0.069178 | 0.063566 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15103 | false | 0 | 0.009153 | 0.05492 | 0.386728 | 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 |
fee951e17f89c57eca3d041c5133bbb77e1000ec | 8,126 | py | Python | LeetCode/longestDupString.py | johanaluna/DataScience_summary | a365728b81a38f31a28e97666252910a23732936 | [
"MIT"
] | null | null | null | LeetCode/longestDupString.py | johanaluna/DataScience_summary | a365728b81a38f31a28e97666252910a23732936 | [
"MIT"
] | null | null | null | LeetCode/longestDupString.py | johanaluna/DataScience_summary | a365728b81a38f31a28e97666252910a23732936 | [
"MIT"
] | null | null | null | class Solution:
def longestDupSubstring(self, S):
prime = 2**63 - 1
def valid(L):
rolling_hash = 0
power_last = pow(26, L, prime)
for i in range(L):
rolling_hash = (rolling_hash * 26 + ord(S[i])) % prime
... | 198.195122 | 5,410 | 0.916687 | 125 | 8,126 | 59.488 | 0.328 | 0.011834 | 0.002017 | 0.002959 | 0.011027 | 0.0078 | 0.0078 | 0.0078 | 0 | 0 | 0 | 0.002644 | 0.069284 | 8,126 | 41 | 5,411 | 198.195122 | 0.980563 | 0 | 0 | 0.0625 | 0 | 0 | 0.861326 | 0.861326 | 0 | 1 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0 | 0 | 0.1875 | 0.03125 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3a223ac91dd3c841b9db33de92c1ec9ab735019d | 103 | py | Python | type_cast/type_cast_1.py | avkorablev/code_4_blog | fcda82f018d1de7c7b2a6d87f5f83f10a4477878 | [
"CC0-1.0"
] | null | null | null | type_cast/type_cast_1.py | avkorablev/code_4_blog | fcda82f018d1de7c7b2a6d87f5f83f10a4477878 | [
"CC0-1.0"
] | null | null | null | type_cast/type_cast_1.py | avkorablev/code_4_blog | fcda82f018d1de7c7b2a6d87f5f83f10a4477878 | [
"CC0-1.0"
] | null | null | null | # file name: type_cast_1.py
from type_cast_0 import DoSomethingWithB
print(DoSomethingWithB().do().b)
| 20.6 | 40 | 0.796117 | 16 | 103 | 4.875 | 0.8125 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.097087 | 103 | 4 | 41 | 25.75 | 0.817204 | 0.242718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e909bebe5e4b09dfb674404dcee48c96a1eaa174 | 105 | py | Python | Site/NOVOSITE/NOVOSITE/view.py | pedenrique/NovoProjeto | 73fd2216b10be9201253dd44dcb3979c5422494c | [
"Apache-2.0"
] | null | null | null | Site/NOVOSITE/NOVOSITE/view.py | pedenrique/NovoProjeto | 73fd2216b10be9201253dd44dcb3979c5422494c | [
"Apache-2.0"
] | null | null | null | Site/NOVOSITE/NOVOSITE/view.py | pedenrique/NovoProjeto | 73fd2216b10be9201253dd44dcb3979c5422494c | [
"Apache-2.0"
] | null | null | null | from django.http import HttpResponse
def BoasVindas (resquest):
return HttpResponse('Boas Vindas')
| 17.5 | 38 | 0.771429 | 12 | 105 | 6.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 105 | 5 | 39 | 21 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0.104762 | 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 |
e92237893f3e86574b77e2a3227416e7f9a3c070 | 32 | py | Python | my_classes/.history/ModulesPackages_PackageNamespaces/example3b/module1_source_20210726185720.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/example3b/module1_source_20210726185720.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/example3b/module1_source_20210726185720.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null |
print('Running module1.py')
| 5.333333 | 27 | 0.65625 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.1875 | 32 | 5 | 28 | 6.4 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 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 |
3ab72830e7678c7c95c0915d2df600ab28cf075c | 9,297 | py | Python | tests/test_rsync_s.py | ivanpierre/jc | 961968a0fcaf37b64bc850c4945ba4b805a1fe54 | [
"MIT"
] | null | null | null | tests/test_rsync_s.py | ivanpierre/jc | 961968a0fcaf37b64bc850c4945ba4b805a1fe54 | [
"MIT"
] | null | null | null | tests/test_rsync_s.py | ivanpierre/jc | 961968a0fcaf37b64bc850c4945ba4b805a1fe54 | [
"MIT"
] | null | null | null | import os
import sys
import time
import json
import unittest
import jc.parsers.rsync_s
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
# Set the timezone on POSIX systems. Need to manually set for Windows tests
if not sys.platform.startswith('win32'):
os.environ['TZ'] = 'America/Los_Angeles'
time.tzset(... | 51.65 | 190 | 0.689362 | 1,542 | 9,297 | 3.866407 | 0.063554 | 0.075143 | 0.085877 | 0.104663 | 0.921167 | 0.918819 | 0.912781 | 0.891479 | 0.86783 | 0.811473 | 0 | 0.035382 | 0.167043 | 9,297 | 179 | 191 | 51.938547 | 0.734504 | 0.080779 | 0 | 0 | 0 | 0.11236 | 0.173259 | 0.151662 | 0 | 0 | 0 | 0 | 0.146067 | 1 | 0.157303 | false | 0.011236 | 0.067416 | 0 | 0.235955 | 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 |
3aba91fe5b0d50dad03cc860cb8700c90db44b1d | 63 | py | Python | olpy/simulate/__init__.py | openlattice/olpy | 4e89b6f3561bd8de09f98cabeac31f7f4ee10977 | [
"Apache-2.0"
] | null | null | null | olpy/simulate/__init__.py | openlattice/olpy | 4e89b6f3561bd8de09f98cabeac31f7f4ee10977 | [
"Apache-2.0"
] | null | null | null | olpy/simulate/__init__.py | openlattice/olpy | 4e89b6f3561bd8de09f98cabeac31f7f4ee10977 | [
"Apache-2.0"
] | null | null | null | from . import fieldgenerator, subjectgenerator, tablegenerator
| 31.5 | 62 | 0.857143 | 5 | 63 | 10.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 63 | 1 | 63 | 63 | 0.947368 | 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 |
3ae8f33f00822618f7a1d8fb5078c0349f0a68c5 | 123,345 | py | Python | o/soft_robot/derivation_of_dynamics/derived/ikko_dake/eqs/numpy_style/C1_1.py | YoshimitsuMatsutaIe/ctrlab2021_soudan | 7841c981e6804cc92d34715a00e7c3efce41d1d0 | [
"MIT"
] | null | null | null | o/soft_robot/derivation_of_dynamics/derived/ikko_dake/eqs/numpy_style/C1_1.py | YoshimitsuMatsutaIe/ctrlab2021_soudan | 7841c981e6804cc92d34715a00e7c3efce41d1d0 | [
"MIT"
] | null | null | null | o/soft_robot/derivation_of_dynamics/derived/ikko_dake/eqs/numpy_style/C1_1.py | YoshimitsuMatsutaIe/ctrlab2021_soudan | 7841c981e6804cc92d34715a00e7c3efce41d1d0 | [
"MIT"
] | null | null | null | import numpy
def f(q, q_dot, xi):
l1, l2, l3 = q[0,0], q[1,0], q[2,0]
l1_dot, l2_dot, l3_dot = q_dot[0,0], q_dot[1,0], q_dot[2,0]
return l1_dot*(1.49133953107333e+18*l1**17 - 1.54809859125595e+19*l1**16*l2 - 9.15550235076269e+18*l1**16*l3 + 1.07442564738657e+17*l1**16 + 8.31788378931019e+19*l1**15*l2**2 + ... | 20,557.5 | 123,206 | 0.680417 | 25,210 | 123,345 | 3.328679 | 0.151607 | 0.016159 | 0.02145 | 0.003218 | 0.336241 | 0.242481 | 0.117236 | 0.022785 | 0 | 0 | 0 | 0.625551 | 0.055697 | 123,345 | 6 | 123,206 | 20,557.5 | 0.094913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3aee9a2fa805ddff517642232a9afdc5ac05ed0f | 8,821 | py | Python | PawnMowerSolver.py | RichardLuc/Pawn-Mower-Puzzle-Solver | 878f8dadd13d4101249ea86a7b1712e9f8d53dd4 | [
"MIT"
] | null | null | null | PawnMowerSolver.py | RichardLuc/Pawn-Mower-Puzzle-Solver | 878f8dadd13d4101249ea86a7b1712e9f8d53dd4 | [
"MIT"
] | null | null | null | PawnMowerSolver.py | RichardLuc/Pawn-Mower-Puzzle-Solver | 878f8dadd13d4101249ea86a7b1712e9f8d53dd4 | [
"MIT"
] | null | null | null | import copy
def print_board(board):
for i in range(0, 8):
print (8 - i, end = " ")
for j in range(0,8):
print (board[i][j], end = "|")
print ("") #new line
print ("", end = " a|b|c|d|e|f|g|h")
print ("")
return None
def move_piece(board, piece, dir):
newBoard = copy.deepcopy(board)
for i in range(0, 8... | 27.309598 | 75 | 0.548464 | 1,360 | 8,821 | 3.554412 | 0.079412 | 0.046545 | 0.082747 | 0.094332 | 0.768722 | 0.740588 | 0.731692 | 0.708109 | 0.708109 | 0.692387 | 0 | 0.040852 | 0.29237 | 8,821 | 323 | 76 | 27.309598 | 0.733579 | 0.018479 | 0 | 0.724919 | 0 | 0 | 0.041248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012945 | false | 0 | 0.003236 | 0 | 0.184466 | 0.029126 | 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 |
c92697e7111f1e09f15873d0203d75be7c5aadce | 179 | py | Python | leaderboard_entries/likelihood.py | Soft953/reco-gym | 97226b3d00d81200a45eed2e73c0481e1e9308ce | [
"Apache-2.0"
] | null | null | null | leaderboard_entries/likelihood.py | Soft953/reco-gym | 97226b3d00d81200a45eed2e73c0481e1e9308ce | [
"Apache-2.0"
] | null | null | null | leaderboard_entries/likelihood.py | Soft953/reco-gym | 97226b3d00d81200a45eed2e73c0481e1e9308ce | [
"Apache-2.0"
] | null | null | null | from recogym import build_agent_init
from recogym.agents import LogregPolyAgent, logreg_poly_args
agent = build_agent_init('likelihood', LogregPolyAgent, {**logreg_poly_args, })
| 35.8 | 79 | 0.832402 | 23 | 179 | 6.130435 | 0.521739 | 0.156028 | 0.198582 | 0.411348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089385 | 179 | 4 | 80 | 44.75 | 0.865031 | 0 | 0 | 0 | 0 | 0 | 0.055866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c92962d6c2c8bb211743f46562782e5f27be7c61 | 159 | py | Python | bark_ml/library_wrappers/lib_tf_agents/runners/__init__.py | mansoorcheema/bark-ml | 349c0039a5f54778d6b7aea7fd18e3e979efc3a3 | [
"MIT"
] | 3 | 2020-04-25T12:38:55.000Z | 2020-04-29T11:55:45.000Z | bark_ml/library_wrappers/lib_tf_agents/runners/__init__.py | mansoorcheema/bark-ml | 349c0039a5f54778d6b7aea7fd18e3e979efc3a3 | [
"MIT"
] | 1 | 2020-07-19T06:58:21.000Z | 2020-07-19T06:58:21.000Z | bark_ml/library_wrappers/lib_tf_agents/runners/__init__.py | mansoorcheema/bark-ml | 349c0039a5f54778d6b7aea7fd18e3e979efc3a3 | [
"MIT"
] | 1 | 2022-01-27T13:08:46.000Z | 2022-01-27T13:08:46.000Z | from bark_ml.library_wrappers.lib_tf_agents.runners.sac_runner import SACRunner
from bark_ml.library_wrappers.lib_tf_agents.runners.ppo_runner import PPORunner | 79.5 | 79 | 0.90566 | 26 | 159 | 5.153846 | 0.576923 | 0.119403 | 0.149254 | 0.253731 | 0.641791 | 0.641791 | 0.641791 | 0.641791 | 0.641791 | 0 | 0 | 0 | 0.044025 | 159 | 2 | 80 | 79.5 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c95da9eaaa3f391c95c6d8bdae67007fa4e3026c | 12,560 | py | Python | xmas_day9.py | Agnes-Lain/xmas_challenges | 947c4342631424846cce703db1511f21f226b2bd | [
"MIT"
] | null | null | null | xmas_day9.py | Agnes-Lain/xmas_challenges | 947c4342631424846cce703db1511f21f226b2bd | [
"MIT"
] | null | null | null | xmas_day9.py | Agnes-Lain/xmas_challenges | 947c4342631424846cce703db1511f21f226b2bd | [
"MIT"
] | null | null | null | locations = """9876567896542101249889965434567898765698785435678989898897654789424901245699887678932398943999888667
5995456976543294398767896223456789654988654523599976677789765678919893456989776587891987899898765456
6976577897664989985458989012345678969876543212388965435678996789909789579876543456789996789789894347
79... | 57.351598 | 115 | 0.907803 | 458 | 12,560 | 24.759825 | 0.360262 | 0.01164 | 0.010582 | 0.010053 | 0.039506 | 0.026455 | 0.022928 | 0.014109 | 0.014109 | 0.014109 | 0 | 0.859151 | 0.065605 | 12,560 | 218 | 116 | 57.614679 | 0.107106 | 0.020303 | 0 | 0.037267 | 0 | 0 | 0.826349 | 0.813736 | 0 | 1 | 0 | 0 | 0 | 1 | 0.012422 | false | 0 | 0 | 0 | 0.012422 | 0.055901 | 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 |
a3242e34fcb3fe2855ce50cf13f4457a01dcc50d | 81 | py | Python | quipclient/__init__.py | dvwright/quipclient | 01f30f277797c1995edfc7dfb87e3898c2ffb459 | [
"Apache-2.0"
] | null | null | null | quipclient/__init__.py | dvwright/quipclient | 01f30f277797c1995edfc7dfb87e3898c2ffb459 | [
"Apache-2.0"
] | null | null | null | quipclient/__init__.py | dvwright/quipclient | 01f30f277797c1995edfc7dfb87e3898c2ffb459 | [
"Apache-2.0"
] | null | null | null | # quipclient/quip/__init__.py
from quipclient.quip import QuipClient, QuipError
| 20.25 | 49 | 0.82716 | 10 | 81 | 6.3 | 0.7 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 81 | 3 | 50 | 27 | 0.863014 | 0.333333 | 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 |
a340e22f85843b7834ebc7a0fc83dd287ee76b9a | 183 | py | Python | Python/8 kyu/Find the Integral/solution.py | Hsins/CodeWars | 7e7b912fdd0647c0af381d8b566408e383ea5df8 | [
"MIT"
] | 1 | 2020-01-09T21:47:56.000Z | 2020-01-09T21:47:56.000Z | Python/8 kyu/Find the Integral/solution.py | Hsins/CodeWars | 7e7b912fdd0647c0af381d8b566408e383ea5df8 | [
"MIT"
] | 1 | 2020-01-20T12:39:03.000Z | 2020-01-20T12:39:03.000Z | Python/8 kyu/Find the Integral/solution.py | Hsins/CodeWars | 7e7b912fdd0647c0af381d8b566408e383ea5df8 | [
"MIT"
] | null | null | null | # [8 kyu] Find the Integral
#
# Author: Hsins
# Date: 2019/12/12
def integrate(coefficient, exponent):
return "{}x^{}".format(coefficient // (exponent + 1), exponent + 1)
| 20.333333 | 71 | 0.628415 | 23 | 183 | 5 | 0.782609 | 0.330435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 0.202186 | 183 | 8 | 72 | 22.875 | 0.712329 | 0.338798 | 0 | 0 | 0 | 0 | 0.051724 | 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 |
a36f1ecfe11165680ce1a8e96ab758472012da8e | 34 | py | Python | geneview/karyotype/__init__.py | ShujiaHuang/geneview | c204fa7e9f30838ba1d9647e35a8ef0757aa9ffa | [
"BSD-3-Clause"
] | 39 | 2016-02-01T21:45:26.000Z | 2022-02-08T01:33:21.000Z | geneview/karyotype/__init__.py | ShujiaHuang/geneview | c204fa7e9f30838ba1d9647e35a8ef0757aa9ffa | [
"BSD-3-Clause"
] | 2 | 2016-05-01T12:44:17.000Z | 2021-06-18T15:18:56.000Z | geneview/karyotype/__init__.py | ShujiaHuang/geneview | c204fa7e9f30838ba1d9647e35a8ef0757aa9ffa | [
"BSD-3-Clause"
] | 8 | 2016-05-04T14:33:27.000Z | 2019-10-10T08:21:10.000Z | from ._karyotype import karyoplot
| 17 | 33 | 0.852941 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
6e6b034cd5878ee26fb9c13486cbbcf1409fa614 | 342 | py | Python | src/worldwide/tests/__init__.py | un33k/django-worldwide | ff0df1d4727ac4c12e93797963b09eae114f9664 | [
"BSD-3-Clause"
] | 1 | 2021-07-02T23:40:09.000Z | 2021-07-02T23:40:09.000Z | src/worldwide/tests/__init__.py | un33k/django-worldwide | ff0df1d4727ac4c12e93797963b09eae114f9664 | [
"BSD-3-Clause"
] | null | null | null | src/worldwide/tests/__init__.py | un33k/django-worldwide | ff0df1d4727ac4c12e93797963b09eae114f9664 | [
"BSD-3-Clause"
] | null | null | null | from worldwide.tests.test_language import *
from worldwide.tests.test_currency import *
from worldwide.tests.test_city import *
from worldwide.tests.test_continent import *
from worldwide.tests.test_country import *
from worldwide.tests.test_county import *
from worldwide.tests.test_ocean import *
from worldwide.tests.... | 31.090909 | 44 | 0.830409 | 48 | 342 | 5.75 | 0.270833 | 0.376812 | 0.521739 | 0.637681 | 0.710145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099415 | 342 | 10 | 45 | 34.2 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ec65b76cefdf73dd7d58260f6b2f327ab588105 | 5,191 | py | Python | prepare.py | humble-goat/debtbot | f709dab2c743ccef268c3ed551d479f42670251f | [
"MIT"
] | null | null | null | prepare.py | humble-goat/debtbot | f709dab2c743ccef268c3ed551d479f42670251f | [
"MIT"
] | null | null | null | prepare.py | humble-goat/debtbot | f709dab2c743ccef268c3ed551d479f42670251f | [
"MIT"
] | null | null | null | import os
import re
import time
import pandas as pd
db = pd.read_csv(os.environ['DB'], encoding='1253', sep=',', dtype=str)
def made_debts(path, name):
my_path = os.path.abspath('./mixed_data/' + name)
no_date = os.path.abspath('./mixed_data/no_date/debt/')
for count, i in enumerate(os.listdir(path)):
... | 47.190909 | 120 | 0.417453 | 598 | 5,191 | 3.556856 | 0.162207 | 0.131171 | 0.117536 | 0.075223 | 0.816643 | 0.779502 | 0.779502 | 0.779502 | 0.756935 | 0.756935 | 0 | 0.032497 | 0.401271 | 5,191 | 109 | 121 | 47.623853 | 0.651866 | 0 | 0 | 0.649485 | 0 | 0.041237 | 0.152379 | 0.052976 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020619 | false | 0.020619 | 0.041237 | 0 | 0.061856 | 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 |
42c0239fa7135dc60e8c7eeea406a53ee9020dcb | 52 | py | Python | spikeextractors/extractors/jrcsortingextractor/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 145 | 2018-12-06T23:12:54.000Z | 2022-02-10T22:57:35.000Z | spikeextractors/extractors/jrcsortingextractor/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 396 | 2018-11-26T11:46:30.000Z | 2022-01-04T07:27:47.000Z | spikeextractors/extractors/jrcsortingextractor/__init__.py | zekearneodo/spikeextractors | d30aa85e69d0331fffdb58a03a2bb628f93b405e | [
"MIT"
] | 67 | 2018-11-19T12:38:01.000Z | 2021-09-25T03:18:22.000Z | from .jrcsortingextractor import JRCSortingExtractor | 52 | 52 | 0.923077 | 4 | 52 | 12 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.979592 | 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 |
42f4a3f662342c9c2bdd68827b27a0cd4a5b0562 | 22 | py | Python | python/prrng/__init__.py | tdegeus/prrng | c1661d93b7de1d0aa6884142cac43af052aa4aee | [
"MIT"
] | null | null | null | python/prrng/__init__.py | tdegeus/prrng | c1661d93b7de1d0aa6884142cac43af052aa4aee | [
"MIT"
] | 8 | 2021-05-03T11:59:37.000Z | 2022-03-22T10:58:44.000Z | python/prrng/__init__.py | tdegeus/prrng | c1661d93b7de1d0aa6884142cac43af052aa4aee | [
"MIT"
] | null | null | null | from ._prrng import *
| 11 | 21 | 0.727273 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.833333 | 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 |
6e1ddad463ea1d347b44cc2565160f6dc8bbf7e2 | 26 | py | Python | scanning_doppler_interferometer/__init__.py | space-physics/scanning-doppler-interferometer | bdd9b05ab77528f281f854b5c7c38f2b18c8b348 | [
"BSD-2-Clause"
] | null | null | null | scanning_doppler_interferometer/__init__.py | space-physics/scanning-doppler-interferometer | bdd9b05ab77528f281f854b5c7c38f2b18c8b348 | [
"BSD-2-Clause"
] | null | null | null | scanning_doppler_interferometer/__init__.py | space-physics/scanning-doppler-interferometer | bdd9b05ab77528f281f854b5c7c38f2b18c8b348 | [
"BSD-2-Clause"
] | null | null | null | from .base import txt2dat
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
6e305e3e1c10cc1281e0ae65ca1e43197496b5de | 92 | py | Python | TaichiGAME/dynamics/__init__.py | erizmr/TaichiGAME | db6258d5fd89b4afef9f3944337ed010eb75e246 | [
"MIT"
] | 37 | 2021-12-30T02:03:11.000Z | 2022-03-21T11:37:52.000Z | TaichiGAME/dynamics/__init__.py | maksyuki/TaichiGame | 647d08d3d31b209314ec0dfec5270c565b2f6a61 | [
"MIT"
] | 2 | 2022-01-09T13:04:04.000Z | 2022-01-11T06:47:43.000Z | TaichiGAME/dynamics/__init__.py | maksyuki/TaichiGame | 647d08d3d31b209314ec0dfec5270c565b2f6a61 | [
"MIT"
] | 2 | 2022-01-03T06:52:23.000Z | 2022-01-11T06:31:30.000Z | from .body import *
from .constraint import *
from .joint import *
from .phy_world import *
| 18.4 | 25 | 0.73913 | 13 | 92 | 5.153846 | 0.538462 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 4 | 26 | 23 | 0.881579 | 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 |
6e34a5811f08fecd1ab41dad2b122931fe10b35d | 249 | py | Python | kubesplit/helpers.py | looztra/kubespl | 44f336614af806b2ca6e8f0ce2482995fa017f86 | [
"Apache-2.0"
] | 21 | 2019-07-17T06:50:30.000Z | 2021-08-31T11:30:37.000Z | kubesplit/helpers.py | looztra/kubespl | 44f336614af806b2ca6e8f0ce2482995fa017f86 | [
"Apache-2.0"
] | 16 | 2019-11-13T19:09:33.000Z | 2021-05-23T17:05:43.000Z | kubesplit/helpers.py | looztra/kubesplit | 44f336614af806b2ca6e8f0ce2482995fa017f86 | [
"Apache-2.0"
] | null | null | null | """Provide generic helpers."""
from kubesplit import __version__
def get_version_string():
"""Return the version string."""
return "kubesplit v" + __version__
def print_version():
"""Print version."""
print(get_version_string())
| 19.153846 | 38 | 0.690763 | 28 | 249 | 5.678571 | 0.5 | 0.245283 | 0.201258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172691 | 249 | 12 | 39 | 20.75 | 0.771845 | 0.26506 | 0 | 0 | 0 | 0 | 0.065868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.8 | 0.4 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
2866c8f52272877516cc5e674981e068b486c374 | 43 | py | Python | datatree/render/__init__.py | bigjason/datatree | 7e7b0821491f1c2ca19eb4ad38827265acac1134 | [
"Apache-2.0"
] | 7 | 2015-11-05T08:55:40.000Z | 2017-04-08T17:24:40.000Z | datatree/render/__init__.py | bigjason/datatree | 7e7b0821491f1c2ca19eb4ad38827265acac1134 | [
"Apache-2.0"
] | null | null | null | datatree/render/__init__.py | bigjason/datatree | 7e7b0821491f1c2ca19eb4ad38827265acac1134 | [
"Apache-2.0"
] | 3 | 2016-01-31T17:26:36.000Z | 2021-02-22T03:59:44.000Z |
from datatree.render.base import Renderer | 21.5 | 42 | 0.837209 | 6 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 42 | 21.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
287d58edd61e14270ee3fa697738344e9f1e7568 | 99 | py | Python | usage_examples/test.py | KaguraTart/pytorch-grad-cam | e16c92179d271603d5169750d78c6ddd327e87d2 | [
"MIT"
] | null | null | null | usage_examples/test.py | KaguraTart/pytorch-grad-cam | e16c92179d271603d5169750d78c6ddd327e87d2 | [
"MIT"
] | null | null | null | usage_examples/test.py | KaguraTart/pytorch-grad-cam | e16c92179d271603d5169750d78c6ddd327e87d2 | [
"MIT"
] | null | null | null | a = ["a3","a2","a1"]
# print(f"{a[0]}")
a = range(1,9)
for i in range(1,9):
print(f"{a[i-1]}") | 16.5 | 22 | 0.454545 | 23 | 99 | 1.956522 | 0.565217 | 0.266667 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 0.171717 | 99 | 6 | 22 | 16.5 | 0.439024 | 0.161616 | 0 | 0 | 0 | 0 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2887fb09abc3b402cbb87414cd99007ada84227d | 26 | py | Python | terrascript/cobbler/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/cobbler/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/cobbler/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | """2019-05-28 10:49:15"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
959bd1c489ab1e1bdce70184768f66ab103364c6 | 20 | py | Python | gale/classification/model/meta_arch/__init__.py | benihime91/litcv | 1da107e1dcf1f20d6da4ac3f126e22d409a7f92e | [
"Apache-2.0"
] | 120 | 2020-07-20T02:23:02.000Z | 2022-03-31T02:21:31.000Z | gale/classification/model/meta_arch/__init__.py | benihime91/litcv | 1da107e1dcf1f20d6da4ac3f126e22d409a7f92e | [
"Apache-2.0"
] | 27 | 2020-07-29T02:55:52.000Z | 2022-03-12T08:03:42.000Z | solver/__init__.py | AceCoooool/RetinaNet | 5fbcff38c0a18075fa0a3b04caf5383ad357b294 | [
"MIT"
] | 25 | 2020-08-01T06:11:08.000Z | 2022-02-19T07:26:57.000Z | from .build import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 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 |
95c1975516126b2077fcf756936bff363915da3c | 93 | py | Python | ROOT/zums/zumsd_users/views.py | amitu/zums | 4774db59b38970057a1618ac73c01e1377dd0db4 | [
"BSD-3-Clause"
] | 1 | 2022-02-22T16:23:26.000Z | 2022-02-22T16:23:26.000Z | ROOT/zums/zumsd_users/views.py | amitu/zums | 4774db59b38970057a1618ac73c01e1377dd0db4 | [
"BSD-3-Clause"
] | null | null | null | ROOT/zums/zumsd_users/views.py | amitu/zums | 4774db59b38970057a1618ac73c01e1377dd0db4 | [
"BSD-3-Clause"
] | null | null | null | from django.http import HttpResponse
def whoami(request): return HttpResponse(request.user)
| 23.25 | 54 | 0.827957 | 12 | 93 | 6.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 93 | 3 | 55 | 31 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.5 | 0.5 | 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 |
251e6847acd390cf3d42a320052b60c96e0dd74d | 4,156 | py | Python | tracehelper/special_mean_std.py | HenrikEilers/ASCAD_Data_Augmentation | d67386af1969838d857de2d51d4b72258ec8cc37 | [
"BSD-2-Clause"
] | null | null | null | tracehelper/special_mean_std.py | HenrikEilers/ASCAD_Data_Augmentation | d67386af1969838d857de2d51d4b72258ec8cc37 | [
"BSD-2-Clause"
] | null | null | null | tracehelper/special_mean_std.py | HenrikEilers/ASCAD_Data_Augmentation | d67386af1969838d857de2d51d4b72258ec8cc37 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
from ASCAD_train_models import load_ascad
import matplotlib.pyplot as plt
import matplotlib
import tkinter
class mean_std_special:
def __init__(self, ascad):
self.testX = np.arange(700)
self.ident_mean(ascad)
self.hamming_mean(ascad)
self.ident_std(ascad)
... | 38.12844 | 77 | 0.571944 | 477 | 4,156 | 4.784067 | 0.150943 | 0.131025 | 0.148992 | 0.178791 | 0.83085 | 0.757669 | 0.717791 | 0.717791 | 0.700701 | 0.586766 | 0 | 0.015237 | 0.320982 | 4,156 | 108 | 78 | 38.481481 | 0.793409 | 0.104668 | 0 | 0.630952 | 0 | 0 | 0.042611 | 0.012136 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059524 | false | 0 | 0.059524 | 0 | 0.130952 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2571edac285c4cfffeb1ece9ebf961b05534acaa | 83 | py | Python | models/__init__.py | dayna-k/FlowNetPytorch | 447a7a93bca4c7d1f25d8f02ccb34b345eede4b8 | [
"MIT"
] | null | null | null | models/__init__.py | dayna-k/FlowNetPytorch | 447a7a93bca4c7d1f25d8f02ccb34b345eede4b8 | [
"MIT"
] | null | null | null | models/__init__.py | dayna-k/FlowNetPytorch | 447a7a93bca4c7d1f25d8f02ccb34b345eede4b8 | [
"MIT"
] | null | null | null | from .FlowNetS import *
#from .FlowNetC import *
# from .FlowNetS_modified import * | 27.666667 | 34 | 0.759036 | 10 | 83 | 6.2 | 0.5 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 34 | 27.666667 | 0.873239 | 0.674699 | 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 |
c267f071482f45a28f6c5dfd674ee7b563fc5868 | 64 | py | Python | det3d/ops/iou3d_nms/__init__.py | alsun-oven/CenterPoint | cafd89c4008270e648e97202bc256aff968e8109 | [
"MIT"
] | 1,124 | 2020-06-22T00:48:18.000Z | 2022-03-31T22:03:35.000Z | det3d/ops/iou3d_nms/__init__.py | alsun-oven/CenterPoint | cafd89c4008270e648e97202bc256aff968e8109 | [
"MIT"
] | 290 | 2020-06-23T01:29:04.000Z | 2022-03-29T16:27:32.000Z | det3d/ops/iou3d_nms/__init__.py | alsun-oven/CenterPoint | cafd89c4008270e648e97202bc256aff968e8109 | [
"MIT"
] | 326 | 2020-06-22T01:48:10.000Z | 2022-03-31T08:15:08.000Z | from det3d.ops.iou3d_nms import iou3d_nms_cuda, iou3d_nms_utils
| 32 | 63 | 0.875 | 12 | 64 | 4.25 | 0.666667 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.078125 | 64 | 1 | 64 | 64 | 0.79661 | 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 |
c2ce373350778975011604767115185f004916b9 | 142 | py | Python | portapp/admin.py | ezekielkibiego/portfolio2 | b0375937e6293397b411f1c920cfe85b867d246f | [
"MIT"
] | null | null | null | portapp/admin.py | ezekielkibiego/portfolio2 | b0375937e6293397b411f1c920cfe85b867d246f | [
"MIT"
] | null | null | null | portapp/admin.py | ezekielkibiego/portfolio2 | b0375937e6293397b411f1c920cfe85b867d246f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Project)
admin.site.register(Comment)
admin.site.register(About)
| 17.75 | 32 | 0.802817 | 20 | 142 | 5.7 | 0.55 | 0.236842 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 142 | 7 | 33 | 20.285714 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
665fcde1c7ce0e38d2519df350ff90638bda93a1 | 138 | py | Python | code/palmnet/core/layer_replacer_palm.py | lucgiffon/psm-nets | dec43c26281febf6e5c8b8f42bfb78098ae7101d | [
"MIT"
] | 1 | 2021-07-15T07:05:18.000Z | 2021-07-15T07:05:18.000Z | code/palmnet/core/layer_replacer_palm.py | lucgiffon/psm-nets | dec43c26281febf6e5c8b8f42bfb78098ae7101d | [
"MIT"
] | 2 | 2021-07-15T06:12:47.000Z | 2021-07-16T10:05:36.000Z | code/palmnet/core/layer_replacer_palm.py | lucgiffon/psm-nets | dec43c26281febf6e5c8b8f42bfb78098ae7101d | [
"MIT"
] | null | null | null | from palmnet.core.layer_replacer_sparse_facto import LayerReplacerSparseFacto
class LayerReplacerPalm(LayerReplacerSparseFacto):
pass | 34.5 | 77 | 0.884058 | 13 | 138 | 9.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07971 | 138 | 4 | 78 | 34.5 | 0.937008 | 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 |
66ccaa5446ebe3ad0b07d38cfe18765626688b63 | 149 | py | Python | ssdb_manager/__init__.py | tsdatateam/ssdb_manager | 484f960bfab5627e4de74f9a95b1402a6fa2d659 | [
"MIT"
] | null | null | null | ssdb_manager/__init__.py | tsdatateam/ssdb_manager | 484f960bfab5627e4de74f9a95b1402a6fa2d659 | [
"MIT"
] | null | null | null | ssdb_manager/__init__.py | tsdatateam/ssdb_manager | 484f960bfab5627e4de74f9a95b1402a6fa2d659 | [
"MIT"
] | null | null | null | from ssdb_manager.ssdb_manager import make_connection, import_table, create_table, populate_table, drop_table, trunc_table, delete_rows, custom_query | 149 | 149 | 0.879195 | 22 | 149 | 5.5 | 0.681818 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067114 | 149 | 1 | 149 | 149 | 0.870504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
66d33b7efe721f471823031d87cc96f80fa0036d | 236 | py | Python | normalize_sentences/normalize_sentences.py | alehpineda/python_morsels | bdcb1c90ec40403f107e7197e0b31b73c54ea818 | [
"MIT"
] | null | null | null | normalize_sentences/normalize_sentences.py | alehpineda/python_morsels | bdcb1c90ec40403f107e7197e0b31b73c54ea818 | [
"MIT"
] | 1 | 2020-09-24T11:25:45.000Z | 2020-09-28T11:21:30.000Z | normalize_sentences/normalize_sentences.py | alehpineda/python_morsels | bdcb1c90ec40403f107e7197e0b31b73c54ea818 | [
"MIT"
] | null | null | null | import re
# mut.py --target normalize_sentences --unit-test test_normalize_sentences
# --runner pytest --show-mutant --coverage --colored-output
def normalize_sentences(text):
return re.sub(r"([\S][^\.]\S[?.!]) +", r"\1 ", text)
| 29.5 | 74 | 0.673729 | 32 | 236 | 4.84375 | 0.71875 | 0.348387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004831 | 0.122881 | 236 | 7 | 75 | 33.714286 | 0.743961 | 0.550847 | 0 | 0 | 0 | 0 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
dd17db50eb36a00efe3b06a965fabf84f13527f1 | 133 | py | Python | polysum.py | ay1011/MITx-6.00.1x-Introduction-to-Computer-Science-and-Programming-Using-Python | 7c55465ac788fde2a9210d3806a6989b8337a005 | [
"MIT"
] | null | null | null | polysum.py | ay1011/MITx-6.00.1x-Introduction-to-Computer-Science-and-Programming-Using-Python | 7c55465ac788fde2a9210d3806a6989b8337a005 | [
"MIT"
] | null | null | null | polysum.py | ay1011/MITx-6.00.1x-Introduction-to-Computer-Science-and-Programming-Using-Python | 7c55465ac788fde2a9210d3806a6989b8337a005 | [
"MIT"
] | null | null | null | from math import tan, atan
def polysum(n,s):
return round(0.25 * n * s * s / tan(4 * atan(1) / n) + (n * s) * (n * s),4);
| 22.166667 | 81 | 0.488722 | 26 | 133 | 2.5 | 0.576923 | 0.123077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.300752 | 133 | 5 | 82 | 26.6 | 0.634409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
06bd6445463fb55995c7f8c626b4ee29baf64d77 | 141 | py | Python | controllers/__init__.py | vincekurtz/valkyrie_drake | 253cf809db7b00f24a901ac1e4ee8aed0df1d6b2 | [
"MIT"
] | 5 | 2020-09-12T15:43:24.000Z | 2022-03-23T01:15:49.000Z | controllers/__init__.py | vincekurtz/valkyrie_drake | 253cf809db7b00f24a901ac1e4ee8aed0df1d6b2 | [
"MIT"
] | null | null | null | controllers/__init__.py | vincekurtz/valkyrie_drake | 253cf809db7b00f24a901ac1e4ee8aed0df1d6b2 | [
"MIT"
] | 2 | 2020-09-14T16:00:38.000Z | 2020-12-17T10:48:13.000Z | from pd_controller import ValkyriePDController
from qp_controller import ValkyrieQPController
from as_controller import ValkyrieASController
| 35.25 | 46 | 0.914894 | 15 | 141 | 8.4 | 0.6 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 141 | 3 | 47 | 47 | 0.976744 | 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 |
06d25ee0b45ba36e1c098bb489690a17cd39d98a | 86 | py | Python | book-code/numpy-ml/numpy_ml/rl_models/__init__.py | yangninghua/code_library | b769abecb4e0cbdbbb5762949c91847a0f0b3c5a | [
"MIT"
] | null | null | null | book-code/numpy-ml/numpy_ml/rl_models/__init__.py | yangninghua/code_library | b769abecb4e0cbdbbb5762949c91847a0f0b3c5a | [
"MIT"
] | null | null | null | book-code/numpy-ml/numpy_ml/rl_models/__init__.py | yangninghua/code_library | b769abecb4e0cbdbbb5762949c91847a0f0b3c5a | [
"MIT"
] | null | null | null | from . import rl_utils
from . import agents
from . import trainer
from . import tiles
| 17.2 | 22 | 0.767442 | 13 | 86 | 5 | 0.538462 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 4 | 23 | 21.5 | 0.928571 | 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 |
6612613fd9dfab2f1a4d98de105930f9e4f7eaab | 42 | py | Python | asterion/gp/__init__.py | alexlyttle/helium-glitch-fitter | 22575f0126e3c7c4e124a0acc740b8e71ce5294e | [
"MIT"
] | null | null | null | asterion/gp/__init__.py | alexlyttle/helium-glitch-fitter | 22575f0126e3c7c4e124a0acc740b8e71ce5294e | [
"MIT"
] | null | null | null | asterion/gp/__init__.py | alexlyttle/helium-glitch-fitter | 22575f0126e3c7c4e124a0acc740b8e71ce5294e | [
"MIT"
] | null | null | null | from .gp import GP
from .kernels import *
| 14 | 22 | 0.738095 | 7 | 42 | 4.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 23 | 21 | 0.911765 | 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 |
b0812d8eb618e2572706a72b9ca5193ec2e72289 | 265 | py | Python | store/admin.py | sahin88/DJango_Html_JS_Css_BootStrap_Ecommerce_FullStack | 9ba5ff3d92f8f853b9ff3614300082b7ced48039 | [
"Unlicense"
] | 2 | 2021-03-14T14:08:32.000Z | 2021-06-04T12:28:41.000Z | store/admin.py | sahin88/Django_Html_JS_Css_BootStrap_Ecommerce_FullStack | 9ba5ff3d92f8f853b9ff3614300082b7ced48039 | [
"Unlicense"
] | null | null | null | store/admin.py | sahin88/Django_Html_JS_Css_BootStrap_Ecommerce_FullStack | 9ba5ff3d92f8f853b9ff3614300082b7ced48039 | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import Product, Order, OrderItem, ShippingAdress # Customer,
# admin.site.register(Customer)
admin.site.register(Product)
admin.site.register(Order)
admin.site.register(OrderItem)
admin.site.register(ShippingAdress)
| 26.5 | 74 | 0.811321 | 33 | 265 | 6.515152 | 0.393939 | 0.209302 | 0.395349 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083019 | 265 | 9 | 75 | 29.444444 | 0.884774 | 0.14717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b0a34c67516172a9409966d0b5d261155e40e341 | 11,292 | py | Python | multimerchant/network.py | BitCashCF/multimerchant-python | 9dcf40c1542f38ffa2b39a21d8dba8fb7fb2b027 | [
"MIT"
] | 2 | 2020-07-11T07:24:12.000Z | 2020-09-07T16:02:10.000Z | multimerchant/network.py | BitCashCF/multimerchant-python | 9dcf40c1542f38ffa2b39a21d8dba8fb7fb2b027 | [
"MIT"
] | null | null | null | multimerchant/network.py | BitCashCF/multimerchant-python | 9dcf40c1542f38ffa2b39a21d8dba8fb7fb2b027 | [
"MIT"
] | 3 | 2020-07-11T07:24:19.000Z | 2022-03-06T09:45:43.000Z | class BitcoinMainNet(object):
"""Bitcoin MainNet version bytes.
From https://github.com/bitcoin/bitcoin/blob/v0.9.0rc1/src/chainparams.cpp
"""
NAME = "Bitcoin Main Net"
SCRIPT_ADDRESS = 0x05 # int(0x05) = 5
PUBKEY_ADDRESS = 0x00 # int(0x00) = 0 # Used to create payment addresses
SECRET_K... | 41.514706 | 87 | 0.696776 | 1,482 | 11,292 | 5.207153 | 0.129555 | 0.03732 | 0.0622 | 0.059868 | 0.792018 | 0.792018 | 0.775301 | 0.774394 | 0.774394 | 0.774394 | 0 | 0.105547 | 0.212983 | 11,292 | 272 | 88 | 41.514706 | 0.7628 | 0.545165 | 0 | 0.462585 | 0 | 0 | 0.073624 | 0 | 0 | 0 | 0.141699 | 0.003676 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 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 |
b0b3dc671faa48d23ced668f6c3bcebbf4a857bb | 360 | py | Python | plugins/threatq/komand_threatq/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/threatq/komand_threatq/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/threatq/komand_threatq/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .create_event.action import CreateEvent
from .create_indicator.action import CreateIndicator
from .get_event.action import GetEvent
from .get_indicator.action import GetIndicator
from .search.action import Search
from .search_events.action import SearchEvents
from .search_in... | 40 | 54 | 0.852778 | 48 | 360 | 6.270833 | 0.479167 | 0.27907 | 0.112957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102778 | 360 | 8 | 55 | 45 | 0.931889 | 0.102778 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0c0fc097fd917eab6a6859b8546ea49ea17a333 | 37 | py | Python | image_vision/extensions/walkers/__init__.py | IvanKosik/ImageVision | 038b2b3948a16adc4c2abb3bc8c1c32f62aa4319 | [
"BSD-3-Clause"
] | null | null | null | image_vision/extensions/walkers/__init__.py | IvanKosik/ImageVision | 038b2b3948a16adc4c2abb3bc8c1c32f62aa4319 | [
"BSD-3-Clause"
] | null | null | null | image_vision/extensions/walkers/__init__.py | IvanKosik/ImageVision | 038b2b3948a16adc4c2abb3bc8c1c32f62aa4319 | [
"BSD-3-Clause"
] | null | null | null | from .dir import ViewerDirDataWalker
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
7c01c4c605fd11c522b6f1193a11ef2345edbdda | 33 | py | Python | __init__.py | SAH-UJA/topsis | e83b0862768118f1298fbc122c6c057a53ed291f | [
"MIT"
] | null | null | null | __init__.py | SAH-UJA/topsis | e83b0862768118f1298fbc122c6c057a53ed291f | [
"MIT"
] | 2 | 2020-01-15T19:11:00.000Z | 2020-01-19T15:36:10.000Z | __init__.py | SAH-UJA/topsis | e83b0862768118f1298fbc122c6c057a53ed291f | [
"MIT"
] | null | null | null | from topsis.topsis import Topsis
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 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 |
b026cc31654182f740dae734028a64e38c38d98d | 3,962 | py | Python | fod_requests.py | DarthDobber/FOD-API-Wrapper | 36f35328ea78c8d39d96087168624c9e39b801b1 | [
"MIT"
] | null | null | null | fod_requests.py | DarthDobber/FOD-API-Wrapper | 36f35328ea78c8d39d96087168624c9e39b801b1 | [
"MIT"
] | null | null | null | fod_requests.py | DarthDobber/FOD-API-Wrapper | 36f35328ea78c8d39d96087168624c9e39b801b1 | [
"MIT"
] | null | null | null | import requests
import amsfodconfig as cfg
import json
from fod_token import getHeader
headerValue = getHeader()
class fodRequest:
proxyDict = {}
headers = {'Content-Type': 'application/json','Accept': 'application/json', 'Authorization': headerValue}
params = {}
data = {}
c_header = F... | 39.227723 | 120 | 0.557294 | 487 | 3,962 | 4.451745 | 0.131417 | 0.050738 | 0.103321 | 0.154982 | 0.815037 | 0.785978 | 0.785978 | 0.785978 | 0.759225 | 0.759225 | 0 | 0 | 0.341999 | 3,962 | 100 | 121 | 39.62 | 0.831607 | 0.065876 | 0 | 0.542169 | 0 | 0 | 0.043139 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060241 | false | 0.024096 | 0.048193 | 0 | 0.228916 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b04134c8e22ade97b0a21c34c2bbfdddc944c268 | 19 | py | Python | contrib/tools/python/src/Lib/plat-mac/Carbon/Icn.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | python/src/Lib/plat-mac/Carbon/Icn.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | python/src/Lib/plat-mac/Carbon/Icn.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | from _Icn import *
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 |
b0663a96aeb6e94185f0a392d720e40e82ab56f7 | 6,130 | py | Python | test/color/test_rgb.py | jiangwei221/kornia | a211d4952355e440b944b1bda8eed4c2a7457c2d | [
"Apache-2.0"
] | null | null | null | test/color/test_rgb.py | jiangwei221/kornia | a211d4952355e440b944b1bda8eed4c2a7457c2d | [
"Apache-2.0"
] | null | null | null | test/color/test_rgb.py | jiangwei221/kornia | a211d4952355e440b944b1bda8eed4c2a7457c2d | [
"Apache-2.0"
] | null | null | null | import pytest
import torch
from torch.autograd import gradcheck
from torch.testing import assert_allclose
from common import device_type
import kornia.color as color
import utils
class TestBgrToRgb:
def test_bgr_to_rgb(self):
# prepare input data
data = torch.tensor([[[1., 1.],
... | 27.737557 | 60 | 0.257749 | 463 | 6,130 | 3.313175 | 0.105832 | 0.062581 | 0.062581 | 0.041721 | 0.827249 | 0.764668 | 0.764668 | 0.692308 | 0.692308 | 0.692308 | 0 | 0.093061 | 0.593312 | 6,130 | 220 | 61 | 27.863636 | 0.522262 | 0.033768 | 0 | 0.865248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 1 | 0.070922 | false | 0 | 0.049645 | 0 | 0.148936 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 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 |
c689c25cd90393995790fb112703a3459371a172 | 143 | py | Python | adder/adder.py | AlessioM/simple-cli-template | 3f34b82556618d1abdec32cc076011fcdc8ce57e | [
"MIT"
] | 2 | 2021-05-25T09:43:45.000Z | 2022-01-27T09:46:59.000Z | adder/adder.py | AlessioM/simple-cli-template | 3f34b82556618d1abdec32cc076011fcdc8ce57e | [
"MIT"
] | null | null | null | adder/adder.py | AlessioM/simple-cli-template | 3f34b82556618d1abdec32cc076011fcdc8ce57e | [
"MIT"
] | null | null | null | from pydantic import validate_arguments
@validate_arguments
def add_all(*numbers: int) -> int:
"""add numbers"""
return sum(numbers)
| 17.875 | 39 | 0.72028 | 18 | 143 | 5.555556 | 0.666667 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167832 | 143 | 7 | 40 | 20.428571 | 0.840336 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c6bcb780f95fe8ae4a95bc9a59ae2ad9f8b29924 | 8,244 | py | Python | eval/cls_eval.py | EthanZhangYC/invariance-equivariance | 6e369fd6f43c6b217740f7acd9533c298c43d360 | [
"MIT"
] | 24 | 2021-04-21T09:35:23.000Z | 2022-02-28T12:44:39.000Z | eval/cls_eval.py | wct5217488/invariance-equivariance | 6dfadb39a485d0e55c1cd0c8ce0e0f6dfc602dd3 | [
"MIT"
] | 3 | 2021-05-12T19:09:13.000Z | 2021-08-23T17:17:10.000Z | eval/cls_eval.py | wct5217488/invariance-equivariance | 6dfadb39a485d0e55c1cd0c8ce0e0f6dfc602dd3 | [
"MIT"
] | 8 | 2021-06-09T02:41:37.000Z | 2022-02-27T02:14:17.000Z | from __future__ import print_function
import torch
import time
from tqdm import tqdm
from .util import AverageMeter, accuracy
import numpy as np
def validate(val_loader, model, criterion, opt):
"""One epoch validation"""
batch_time = AverageMeter()
losses = AverageMeter()
top1 = AverageMeter()
top... | 40.610837 | 88 | 0.434983 | 854 | 8,244 | 4.107728 | 0.125293 | 0.043615 | 0.028506 | 0.018814 | 0.890821 | 0.882554 | 0.869441 | 0.852908 | 0.852908 | 0.852908 | 0 | 0.043988 | 0.420912 | 8,244 | 202 | 89 | 40.811881 | 0.690825 | 0.461912 | 0 | 0.607143 | 0 | 0 | 0.041945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.071429 | 0 | 0.119048 | 0.059524 | 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 |
05a5ddf0d5d86a179e64b47c43c46931331d233a | 200 | py | Python | crossbox/exceptions.py | acascarla/crossbox | 89aa3b7db60fc9c1a391cdff38186c8798f94bdd | [
"MIT"
] | null | null | null | crossbox/exceptions.py | acascarla/crossbox | 89aa3b7db60fc9c1a391cdff38186c8798f94bdd | [
"MIT"
] | 4 | 2020-06-05T20:59:05.000Z | 2021-09-22T17:53:37.000Z | crossbox/exceptions.py | oalfonso-o/crossbox | 0c14b10662ca1b34d1e9847de38a10f058175db6 | [
"MIT"
] | null | null | null | from django.core.exceptions import PermissionDenied
class LimitExceed(PermissionDenied):
""" Raised when a record that is going to be created will exceed
the limit permited
"""
pass
| 22.222222 | 68 | 0.735 | 25 | 200 | 5.88 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21 | 200 | 8 | 69 | 25 | 0.93038 | 0.395 | 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 |
af8b6c9c6b8ef170b9e454fba244bbe0db1dda58 | 59 | py | Python | bedrock/config/__init__.py | ronbeltran/webapp2-bedrock | 42909fd6eb99ffe19ff941f9c66c9c84548139c6 | [
"MIT"
] | 1 | 2019-01-09T10:14:38.000Z | 2019-01-09T10:14:38.000Z | bedrock/config/__init__.py | ronbeltran/webapp2-bedrock | 42909fd6eb99ffe19ff941f9c66c9c84548139c6 | [
"MIT"
] | null | null | null | bedrock/config/__init__.py | ronbeltran/webapp2-bedrock | 42909fd6eb99ffe19ff941f9c66c9c84548139c6 | [
"MIT"
] | null | null | null | from . dev import * # NOQA
from . common import * # NOQA
| 19.666667 | 30 | 0.627119 | 8 | 59 | 4.625 | 0.625 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271186 | 59 | 2 | 31 | 29.5 | 0.860465 | 0.152542 | 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 |
bb7351824e854cb73572f84e1368d818407318ac | 406 | py | Python | takaggle/training/__init__.py | takapy0210/takaggle | fcaa6ef23f3fd2a5a8ebe15e66b66c99d684d8d0 | [
"MIT"
] | 3 | 2021-03-21T02:28:25.000Z | 2022-02-12T07:28:56.000Z | takaggle/training/__init__.py | takapy0210/takaggle | fcaa6ef23f3fd2a5a8ebe15e66b66c99d684d8d0 | [
"MIT"
] | null | null | null | takaggle/training/__init__.py | takapy0210/takaggle | fcaa6ef23f3fd2a5a8ebe15e66b66c99d684d8d0 | [
"MIT"
] | null | null | null | from takaggle.training.util import *
from takaggle.training.model import *
from takaggle.training.model_cb import *
from takaggle.training.model_lgb import *
from takaggle.training.model_nn import *
from takaggle.training.model_xgb import *
from takaggle.training.qwk import *
from takaggle.training.runner import *
from... | 36.909091 | 50 | 0.827586 | 54 | 406 | 6.148148 | 0.259259 | 0.361446 | 0.60241 | 0.704819 | 0.466867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098522 | 406 | 10 | 51 | 40.6 | 0.907104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb9c2a9a2ec27d0fa9e16dc8b9082313c951c11e | 269 | py | Python | satef/evaluation/impl/BleuMetricFactory.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | satef/evaluation/impl/BleuMetricFactory.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | satef/evaluation/impl/BleuMetricFactory.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | from evaluation import AbstractEvaluationFactory
from evaluation import AbstractEvaluation
from evaluation.impl import BleuMetric
class BleuMetricFactory(AbstractEvaluationFactory):
def getEvaluationMetric(self) -> AbstractEvaluation:
return BleuMetric() | 33.625 | 56 | 0.832714 | 22 | 269 | 10.181818 | 0.590909 | 0.1875 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126394 | 269 | 8 | 57 | 33.625 | 0.953191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 1 | 0 | 1 | 0 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
bbb709553c80e125db5d3e61679cda8fef577dad | 7,778 | py | Python | backend/app/app/api/api_v1/endpoints/statistic.py | dromakin/db_api_protection | dfa0c49a79076018e82e216602cee9d1ef905163 | [
"Apache-2.0"
] | null | null | null | backend/app/app/api/api_v1/endpoints/statistic.py | dromakin/db_api_protection | dfa0c49a79076018e82e216602cee9d1ef905163 | [
"Apache-2.0"
] | null | null | null | backend/app/app/api/api_v1/endpoints/statistic.py | dromakin/db_api_protection | dfa0c49a79076018e82e216602cee9d1ef905163 | [
"Apache-2.0"
] | null | null | null | """
statistic.py
created by dromakin as 12.05.2021
Project app
"""
__author__ = 'dromakin'
__maintainer__ = 'dromakin'
__credits__ = ['dromakin', ]
__status__ = 'Development'
__version__ = '20210512'
from typing import Any, List
from fastapi import APIRouter, Depends, HTTPException
from sqlalchemy.orm import Sessio... | 33.381974 | 95 | 0.699794 | 999 | 7,778 | 5.219219 | 0.091091 | 0.07384 | 0.048331 | 0.040276 | 0.82125 | 0.798619 | 0.753932 | 0.711162 | 0.711162 | 0.662831 | 0 | 0.009821 | 0.188352 | 7,778 | 232 | 96 | 33.525862 | 0.816094 | 0.033299 | 0 | 0.582353 | 0 | 0 | 0.059932 | 0.012881 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052941 | false | 0 | 0.029412 | 0 | 0.135294 | 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 |
bbb7a9a9b7f3af633abe99097a379352f022352d | 204 | py | Python | src/cogs/api/data.py | infolycal/minehut-stats | babcfb5b9153bf043119f00a3f22989653c29861 | [
"MIT"
] | 2 | 2021-04-12T02:40:11.000Z | 2021-05-02T01:55:23.000Z | src/cogs/api/data.py | infolycal/minehut-stats | babcfb5b9153bf043119f00a3f22989653c29861 | [
"MIT"
] | null | null | null | src/cogs/api/data.py | infolycal/minehut-stats | babcfb5b9153bf043119f00a3f22989653c29861 | [
"MIT"
] | null | null | null | from discord.ext.commands import when_mentioned_or
from replit import db
def getPrefix(bot, message) -> str:
return when_mentioned_or(db['prefixes'].get(str(message.guild.id), 'mh!'))(bot, message)
| 29.142857 | 92 | 0.75 | 31 | 204 | 4.806452 | 0.677419 | 0.174497 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112745 | 204 | 6 | 93 | 34 | 0.823204 | 0 | 0 | 0 | 0 | 0 | 0.053922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 6 |
bbfb5a2a59ff5abbf97869c9bfdc1b2ed20d8682 | 55 | py | Python | core/models/utils/__init__.py | JiahuiLei/Pix2Surf | ac56ce5a20adab8cb563d96c915e1cc253631bf8 | [
"MIT"
] | 26 | 2020-09-01T05:31:59.000Z | 2022-01-19T02:37:51.000Z | core/models/utils/__init__.py | JiahuiLei/Pix2Surf | ac56ce5a20adab8cb563d96c915e1cc253631bf8 | [
"MIT"
] | null | null | null | core/models/utils/__init__.py | JiahuiLei/Pix2Surf | ac56ce5a20adab8cb563d96c915e1cc253631bf8 | [
"MIT"
] | 5 | 2020-11-23T06:59:48.000Z | 2021-11-14T01:35:57.000Z | from .model_utils import *
from .render_utils import *
| 18.333333 | 27 | 0.781818 | 8 | 55 | 5.125 | 0.625 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 28 | 27.5 | 0.87234 | 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 |
a5949b1f24e47fca3478a0ed10f03b4ed491100e | 57 | py | Python | conf.py | blakvnm/cicada | effbbdd2278f6a0c5dfff99803e3233dd927f1c3 | [
"MIT"
] | null | null | null | conf.py | blakvnm/cicada | effbbdd2278f6a0c5dfff99803e3233dd927f1c3 | [
"MIT"
] | null | null | null | conf.py | blakvnm/cicada | effbbdd2278f6a0c5dfff99803e3233dd927f1c3 | [
"MIT"
] | null | null | null | apiKey="1100817836:AAFHCJy2kZqbwAHZtrtHd4h1zQdmT3ta_8c"
| 28.5 | 56 | 0.894737 | 4 | 57 | 12.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0.035088 | 57 | 1 | 57 | 57 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.807018 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.