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
697f6486b8e21013351bc2c5662ea00e53746a08
15
py
Python
base/secret_code.py
ashutoshpurushottam/wishper-blog
670c409798a88c5a828218221902d8b401dbea77
[ "Apache-2.0" ]
null
null
null
base/secret_code.py
ashutoshpurushottam/wishper-blog
670c409798a88c5a828218221902d8b401dbea77
[ "Apache-2.0" ]
null
null
null
base/secret_code.py
ashutoshpurushottam/wishper-blog
670c409798a88c5a828218221902d8b401dbea77
[ "Apache-2.0" ]
null
null
null
secret = "ashu"
15
15
0.666667
2
15
5
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
15
1
15
15
0.769231
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
3
6990b0a29b50c68d4d28c4ac3eda53cf9dfeeb04
641
py
Python
tests/conftest.py
donalrinho/zfit
9769ef7d56a6be9a5d438e47b80ea5a8f772bc24
[ "BSD-3-Clause" ]
null
null
null
tests/conftest.py
donalrinho/zfit
9769ef7d56a6be9a5d438e47b80ea5a8f772bc24
[ "BSD-3-Clause" ]
null
null
null
tests/conftest.py
donalrinho/zfit
9769ef7d56a6be9a5d438e47b80ea5a8f772bc24
[ "BSD-3-Clause" ]
null
null
null
"""Used to make pytest functions available globally""" # Copyright (c) 2020 zfit # # # def pytest_generate_tests(metafunc): # if metafunc.config.option.all_jit_levels: # # # We're going to duplicate these tests by parametrizing them, # # which requires that each test has a fixture to accept the pa...
35.611111
80
0.648986
87
641
4.689655
0.747126
0.036765
0.078431
0.102941
0
0
0
0
0
0
0
0.010267
0.24025
641
17
81
37.705882
0.827515
0.932917
0
null
1
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6992e5f7fd086eb383e3e2efbd84f3e597529cfe
1,147
py
Python
orchestra/contrib/saas/serializers.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
68
2015-02-09T10:28:44.000Z
2022-03-12T11:08:36.000Z
orchestra/contrib/saas/serializers.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
17
2015-05-01T18:10:03.000Z
2021-03-19T21:52:55.000Z
orchestra/contrib/saas/serializers.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
29
2015-03-31T04:51:03.000Z
2022-02-17T02:58:50.000Z
from django.forms import widgets from django.core.validators import RegexValidator from django.utils.translation import ugettext_lazy as _ from rest_framework import serializers from orchestra.api.serializers import SetPasswordHyperlinkedSerializer from orchestra.contrib.accounts.serializers import AccountSerializerMi...
39.551724
85
0.666957
106
1,147
7.141509
0.603774
0.03963
0
0
0
0
0
0
0
0
0
0
0.231909
1,147
28
86
40.964286
0.859251
0
0
0
0
0
0.130776
0
0
0
0
0
0
1
0
false
0.347826
0.347826
0
0.521739
0
0
0
0
null
0
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
0
1
1
0
1
0
0
3
6994976a52f0273b5abb9242055b6e34f052f618
249
py
Python
lib/util/file_utils.py
overholts/tuner
761a40d152d3c7afc681aaaecf1660bc93d68a97
[ "MIT" ]
1
2020-12-26T21:56:50.000Z
2020-12-26T21:56:50.000Z
lib/util/file_utils.py
overholts/tuner
761a40d152d3c7afc681aaaecf1660bc93d68a97
[ "MIT" ]
3
2019-10-28T18:16:25.000Z
2019-11-23T07:50:28.000Z
lib/util/file_utils.py
overholts/tuner
761a40d152d3c7afc681aaaecf1660bc93d68a97
[ "MIT" ]
null
null
null
import os import shutil from pathlib import Path def copy(source: Path, destination: Path): os.makedirs(destination.parent, 0o755, exist_ok=True) shutil.copy(str(source), str(destination)) def remove(target: Path): os.remove(target)
19.153846
57
0.73494
35
249
5.2
0.542857
0.065934
0
0
0
0
0
0
0
0
0
0.018957
0.15261
249
12
58
20.75
0.843602
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
699a15451c3ddcbb4167810748ccb98dca475d3d
78
py
Python
Python/Fundamentals/Strange Zoo.py
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
Python/Fundamentals/Strange Zoo.py
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
Python/Fundamentals/Strange Zoo.py
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
tail=input(); body=input(); head=input() body=[head,body,tail] print(body)
19.5
41
0.666667
12
78
4.333333
0.416667
0.346154
0
0
0
0
0
0
0
0
0
0
0.102564
78
3
42
26
0.742857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
699ade1a7eeab2bcf96cb57b4bf3d8094aee37e2
188
py
Python
sagas/tests/basic/test_fixtures.py
samlet/stack
47db17fd4fdab264032f224dca31a4bb1d19b754
[ "Apache-2.0" ]
3
2020-01-11T13:55:38.000Z
2020-08-25T22:34:15.000Z
sagas/tests/basic/test_fixtures.py
samlet/stack
47db17fd4fdab264032f224dca31a4bb1d19b754
[ "Apache-2.0" ]
null
null
null
sagas/tests/basic/test_fixtures.py
samlet/stack
47db17fd4fdab264032f224dca31a4bb1d19b754
[ "Apache-2.0" ]
1
2021-01-01T05:21:44.000Z
2021-01-01T05:21:44.000Z
""" $ pytest -q test_fixtures.py """ import pytest @pytest.fixture() def hello(): return "hello" def test_string(hello): assert hello == "hello", "fixture should return hello"
13.428571
58
0.664894
24
188
5.125
0.541667
0.178862
0
0
0
0
0
0
0
0
0
0
0.18617
188
13
59
14.461538
0.803922
0.148936
0
0
0
0
0.245033
0
0
0
0
0
0.166667
1
0.333333
false
0
0.166667
0.166667
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
69b2b6d82ab1ad7e440cde8afce2c3415b6294ed
305
py
Python
django_settings/config.py
aderugin/django-settings
ba4a062eb64a8aa826b02ea6996e4fcab1de454b
[ "MIT" ]
null
null
null
django_settings/config.py
aderugin/django-settings
ba4a062eb64a8aa826b02ea6996e4fcab1de454b
[ "MIT" ]
null
null
null
django_settings/config.py
aderugin/django-settings
ba4a062eb64a8aa826b02ea6996e4fcab1de454b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.conf import settings SETTINGS_TITLE = getattr(settings, 'DJANGO_SETTINGS_TITLE', u'Настройки сайта') MODEL = getattr(settings, 'DJANGO_SETTINGS_MODEL', None) if not MODEL: raise Exception("You have to define DJANGO_SETTINGS_MODEL variable in your settings file")
33.888889
94
0.767213
42
305
5.404762
0.642857
0.185022
0.185022
0.255507
0
0
0
0
0
0
0
0.003774
0.131148
305
8
95
38.125
0.85283
0.068852
0
0
0
0
0.453901
0.223404
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
69c5e8fb6e120abc97f935ab661f0d85156a95fe
256
py
Python
eots/serializers.py
lextoumbourou/eyeofthestorm
bbcb5b535c0a051e63ad1949b7107bc617094279
[ "Unlicense" ]
null
null
null
eots/serializers.py
lextoumbourou/eyeofthestorm
bbcb5b535c0a051e63ad1949b7107bc617094279
[ "Unlicense" ]
null
null
null
eots/serializers.py
lextoumbourou/eyeofthestorm
bbcb5b535c0a051e63ad1949b7107bc617094279
[ "Unlicense" ]
null
null
null
""" Eventually we'll probably want to add some decent serialization support. For now - this is a pass through. Patches accepted :) """ class Serializer(object): def serialize(cls, obj): return obj def is_valid(self): return True
19.692308
72
0.675781
35
256
4.914286
0.885714
0
0
0
0
0
0
0
0
0
0
0
0.238281
256
12
73
21.333333
0.882051
0.496094
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.4
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
69eee8eadab9abbe0ac89fcc874ab36e92b8ac42
2,430
py
Python
tests/mem/test_magic_memset_tlb_miss.py
capt-hb/cheritest
d3b3637a81a0005ee7272eca0f33a9f9911fdb32
[ "Apache-2.0" ]
null
null
null
tests/mem/test_magic_memset_tlb_miss.py
capt-hb/cheritest
d3b3637a81a0005ee7272eca0f33a9f9911fdb32
[ "Apache-2.0" ]
2
2020-06-02T13:44:55.000Z
2020-06-02T14:06:29.000Z
tests/mem/test_magic_memset_tlb_miss.py
capt-hb/cheritest
d3b3637a81a0005ee7272eca0f33a9f9911fdb32
[ "Apache-2.0" ]
null
null
null
#- # Copyright (c) 2018 Alex Richardson # All rights reserved. # # This software was developed by the University of Cambridge Computer # Laboratory as part of the Rigorous Engineering of Mainstream Systems (REMS) # project, funded by EPSRC grant EP/K008528/1. # # @BERI_LICENSE_HEADER_START@ # # Licensed to BERI Open Sy...
41.186441
124
0.743621
343
2,430
5.186589
0.510204
0.062957
0.075885
0.087128
0.183249
0.060708
0.031478
0
0
0
0
0.030617
0.166667
2,430
58
125
41.896552
0.847901
0.513992
0
0
0
0
0.088056
0
0
0
0.041848
0.017241
0.4
1
0.4
false
0
0.05
0
0.55
0
0
0
0
null
0
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
1
0
0
1
0
0
0
0
1
0
0
3
0e07c9e354ebece1a10554ccf30b3c030751ef46
89
py
Python
test.py
rwinslow/cellanalysis
cc933c5e169d1b7baed204208373e84e3f32dde7
[ "Unlicense" ]
1
2020-10-23T09:20:41.000Z
2020-10-23T09:20:41.000Z
test.py
rwinslow/cellanalysis
cc933c5e169d1b7baed204208373e84e3f32dde7
[ "Unlicense" ]
null
null
null
test.py
rwinslow/cellanalysis
cc933c5e169d1b7baed204208373e84e3f32dde7
[ "Unlicense" ]
null
null
null
import ardustat as a test = a.Ardustat('test.dat') test.plot_capacity() test.plot_power()
22.25
29
0.764045
15
89
4.4
0.6
0.242424
0
0
0
0
0
0
0
0
0
0
0.089888
89
4
30
22.25
0.814815
0
0
0
0
0
0.088889
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
0
0
3
386724eb8880a1ca361d93d965e3d83920503a7f
411
py
Python
LeetCode/0812. Largest Triangle Area/solution.py
InnoFang/oh-my-algorithms
f559dba371ce725a926725ad28d5e1c2facd0ab2
[ "Apache-2.0" ]
1
2017-03-31T15:24:01.000Z
2017-03-31T15:24:01.000Z
LeetCode/0812. Largest Triangle Area/solution.py
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
LeetCode/0812. Largest Triangle Area/solution.py
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
""" 57 / 57 test cases passed. Runtime: 104 ms Memory Usage: 14.9 MB """ class Solution: def largestTriangleArea(self, points: List[List[int]]) -> float: def triangleArea(x1, y1, x2, y2, x3, y3): return abs(x1 * y2 + x2 * y3 + x3 * y1 - x1 * y3 - x2 * y1 - x3 * y2) / 2 return max(triangl...
37.363636
116
0.579075
66
411
3.606061
0.545455
0.05042
0.07563
0.10084
0.252101
0.252101
0.201681
0
0
0
0
0.137255
0.255474
411
10
117
41.1
0.640523
0.155718
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3884703674d725ea9a283168def22c677cc0f51d
58
py
Python
credentials.py
Tawfiq-MoonHacker/metis_video
8d63ac458b8b6bfa48a1ec5476dc47be1987f42a
[ "Apache-2.0" ]
null
null
null
credentials.py
Tawfiq-MoonHacker/metis_video
8d63ac458b8b6bfa48a1ec5476dc47be1987f42a
[ "Apache-2.0" ]
null
null
null
credentials.py
Tawfiq-MoonHacker/metis_video
8d63ac458b8b6bfa48a1ec5476dc47be1987f42a
[ "Apache-2.0" ]
null
null
null
email_user = '' email_password = '' address_owner = ''
14.5
20
0.637931
6
58
5.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.206897
58
3
21
19.333333
0.73913
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
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
0
1
0
0
0
0
0
3
3889caf94688acf693a126febe14a32273a0de1d
322
py
Python
catkin_ws/src/simple_robot/src/ros_simple_robot_node.py
delmann/simple_robot_world
e55e95529b48054eedc1edf5c80881ea7947f73c
[ "MIT" ]
null
null
null
catkin_ws/src/simple_robot/src/ros_simple_robot_node.py
delmann/simple_robot_world
e55e95529b48054eedc1edf5c80881ea7947f73c
[ "MIT" ]
null
null
null
catkin_ws/src/simple_robot/src/ros_simple_robot_node.py
delmann/simple_robot_world
e55e95529b48054eedc1edf5c80881ea7947f73c
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy def spam(): rospy.loginfo("spam foo") def eggs(): rospy.loginfo("eggs foo") if __name__ == '__main__': try: rospy.loginfo("do something") except rospy.ROSInterruptException: spam() eggs() rospy.loginfo("something went wrong!") pass finally: rospy.loginfo("finished"...
16.1
40
0.692547
41
322
5.243902
0.585366
0.27907
0.148837
0
0
0
0
0
0
0
0
0
0.152174
322
19
41
16.947368
0.787546
0.062112
0
0
0
0
0.215947
0
0
0
0
0
0
1
0.133333
true
0.066667
0.066667
0
0.2
0
0
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
0
0
0
0
0
3
388c17907e13f1a313ab074390c2c4033910f33e
12,060
py
Python
large-repo-master/test-3/nb24.py
victorsun123/numpy
1fb036758b4035ab2c132d26f420e5bc3ffc917e
[ "BSD-3-Clause" ]
null
null
null
large-repo-master/test-3/nb24.py
victorsun123/numpy
1fb036758b4035ab2c132d26f420e5bc3ffc917e
[ "BSD-3-Clause" ]
null
null
null
large-repo-master/test-3/nb24.py
victorsun123/numpy
1fb036758b4035ab2c132d26f420e5bc3ffc917e
[ "BSD-3-Clause" ]
null
null
null
# Databricks notebook source HLRIOWYITKFDP GOQFOEKSZNF BQRYZYCEYRHRVDKCQSN BELVHHTEWWKFYTNTWJIIYUQTBHUMOCJNDBBIPBOVCDIKTUPVXZRIUC AUVGECGGHDZPJPMFEZWDFYYDXYGEMHXRHYXXGEMXTCZOPGPGSRCIQNPHCUONPPCBOWTFOZEYCXCQKKUNDSXSBAKSMWIPUKICUWX HDCWKJXOZHPPXWBBPLIGLXMBATYPTDTCAACKEEWURDREVIIUPRJXDFNDLSHBZEBMWQOMYFWARMGERQAXVLFREGTYUX...
44.501845
223
0.955721
230
12,060
50.113043
0.917391
0
0
0
0
0
0
0
0
0
0
0
0.025954
12,060
271
224
44.501845
0.981187
0.033665
0
0
0
0
0
0
0
1
0
0
0
1
0
true
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
1
0
0
0
0
0
0
3
3897cdb9f49467dc943611bbcb5a995975d64568
254
py
Python
aula69/main.py
jessicsous/Curso_Python
94c9b70ec03022b21ac23bf85918aa20ce4cfdd1
[ "MIT" ]
1
2021-09-21T01:50:10.000Z
2021-09-21T01:50:10.000Z
aula69/main.py
jessicsous/Curso_Python
94c9b70ec03022b21ac23bf85918aa20ce4cfdd1
[ "MIT" ]
null
null
null
aula69/main.py
jessicsous/Curso_Python
94c9b70ec03022b21ac23bf85918aa20ce4cfdd1
[ "MIT" ]
1
2021-10-04T19:49:04.000Z
2021-10-04T19:49:04.000Z
import uma_linhas import varias_linhas import funçoes import funcoes_2 import typehints import classes #help(uma_linhas) #help(varias_linhas) #help(funçoes) #help(funcoes_2) #help(funcoes_2.multiplica) #print(funcoes_2.multiplica.__doc__) #help(classes)
18.142857
36
0.830709
37
254
5.378378
0.351351
0.160804
0.120603
0
0
0
0
0
0
0
0
0.017021
0.074803
254
14
37
18.142857
0.829787
0.53937
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
38a35c0cb099169eca536a7938acf9b4c0509abf
488
py
Python
SimG4CMS/Calo/python/GeometryAPD_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
SimG4CMS/Calo/python/GeometryAPD_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
SimG4CMS/Calo/python/GeometryAPD_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms # # Geometry master configuration # forStandalone APD # # Ideal geometry, needed for simulation from Geometry.EcalTestBeam.APDXML_cfi import * # Calorimeters from Geometry.CaloEventSetup.CaloTopology_cfi import * from Geometry.CaloEventSetup.CaloGeometry_cff import * from Geo...
30.5
67
0.846311
53
488
7.679245
0.509434
0.176904
0.176904
0.154791
0.157248
0
0
0
0
0
0
0
0.098361
488
15
68
32.533333
0.925
0.202869
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
38b6f93829450fa507ee573e9222533b77f9b80a
150
py
Python
assign_2.3.py
tramontana-software/Python_Coding_Carlos
9bba043e54ebc1604b39b0b81dbc3d4a313f5927
[ "MIT" ]
null
null
null
assign_2.3.py
tramontana-software/Python_Coding_Carlos
9bba043e54ebc1604b39b0b81dbc3d4a313f5927
[ "MIT" ]
6
2021-05-24T23:27:02.000Z
2021-05-26T12:12:13.000Z
assign_2.3.py
tramontana-software/Python_Coding_Carlos
9bba043e54ebc1604b39b0b81dbc3d4a313f5927
[ "MIT" ]
null
null
null
# My Script: hrs=input('Enter Hours: ') hrs=float(hrs) rph=input('Enter your rate per hour: ') rph=float(rph) pay=hrs*rph print('Pay:', pay)
16.666667
40
0.64
25
150
3.84
0.56
0.208333
0
0
0
0
0
0
0
0
0
0
0.173333
150
8
41
18.75
0.774194
0.066667
0
0
0
0
0.330769
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
0
0
0
0
0
3
38b76deeed27bce887a10f8f4d3f7928d80bdec2
5,030
py
Python
src/ast_node.py
ethe/elanus
528ef897f8bad80bcda072206e8e01516532ed75
[ "MIT" ]
4
2016-10-29T10:37:23.000Z
2020-09-22T13:13:10.000Z
src/ast_node.py
ethe/elanus
528ef897f8bad80bcda072206e8e01516532ed75
[ "MIT" ]
null
null
null
src/ast_node.py
ethe/elanus
528ef897f8bad80bcda072206e8e01516532ed75
[ "MIT" ]
1
2020-07-13T03:18:51.000Z
2020-07-13T03:18:51.000Z
# -*- coding: utf-8 -*- from utils.singleton import Singleton class Node(object): def __init__(self, line=0): self.line = line class Expressions(Node): def __init__(self, expressions, line=0): super(Expressions, self).__init__(line) self.expressions = expressions def __eq__(self...
25.532995
114
0.625249
589
5,030
4.972835
0.105263
0.040628
0.063844
0.075452
0.496074
0.451007
0.423011
0.349266
0.216115
0.175145
0
0.00453
0.253877
5,030
196
115
25.663265
0.775913
0.004175
0
0.42963
0
0
0.023966
0
0
0
0
0
0
1
0.311111
false
0
0.007407
0.118519
0.696296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
38bb8b71c3fbc113ab45d267a429ad198c879ced
2,260
py
Python
sdp_2021_03/model/user.py
iproduct/intro-python
8fcf682286dad3fc65f46ccff33aefab9c601306
[ "Apache-2.0" ]
3
2022-01-10T07:56:37.000Z
2022-02-14T16:37:56.000Z
sdp_2021_03/model/user.py
iproduct/intro-python
8fcf682286dad3fc65f46ccff33aefab9c601306
[ "Apache-2.0" ]
null
null
null
sdp_2021_03/model/user.py
iproduct/intro-python
8fcf682286dad3fc65f46ccff33aefab9c601306
[ "Apache-2.0" ]
1
2022-02-14T16:36:46.000Z
2022-02-14T16:36:46.000Z
from functools import total_ordering # from decorators import trace_get_attributes import decorators as dec # @dec.trace_get_attributes @total_ordering class User: next_id = 0 # @staticmethod # def increment_next_id(): # User.next_id += 1 @classmethod def increment_next_id(cls): ...
30.540541
97
0.627876
280
2,260
4.725
0.260714
0.068027
0.068027
0.034014
0.334845
0.220711
0.199546
0.151172
0.074074
0.074074
0
0.038068
0.221239
2,260
73
98
30.958904
0.713636
0.082743
0
0.061224
0
0.040816
0.25303
0.025691
0
0
0
0
0
1
0.22449
false
0.204082
0.040816
0.142857
0.489796
0.061224
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
38c26ce1ae370cab839ce8dd7dc6845e62f0610f
115
py
Python
dashboard/code/dashboard/events/urls.py
thedeo/terraform-aws-trailwatch
c0852d40c4c5d7524d9e61486d2b2c6d936a445b
[ "Apache-2.0" ]
null
null
null
dashboard/code/dashboard/events/urls.py
thedeo/terraform-aws-trailwatch
c0852d40c4c5d7524d9e61486d2b2c6d936a445b
[ "Apache-2.0" ]
null
null
null
dashboard/code/dashboard/events/urls.py
thedeo/terraform-aws-trailwatch
c0852d40c4c5d7524d9e61486d2b2c6d936a445b
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from events import views urlpatterns = [ url('', views.search, name='events'), ]
19.166667
38
0.721739
16
115
5.1875
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.13913
115
6
39
19.166667
0.838384
0
0
0
0
0
0.051724
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
0
0
1
0
0
0
0
3
2a04baa0aa3d9d81fa12d31e345c4566eac2e1dd
964
py
Python
sonia_hardware_states/src/sonia_hardware_states/imu_tare.py
sonia-auv/sonia-behaviors
28519551f954616e83b474e6cab6ba3762d238f2
[ "BSD-3-Clause" ]
null
null
null
sonia_hardware_states/src/sonia_hardware_states/imu_tare.py
sonia-auv/sonia-behaviors
28519551f954616e83b474e6cab6ba3762d238f2
[ "BSD-3-Clause" ]
1
2022-02-16T01:31:51.000Z
2022-02-21T22:30:46.000Z
sonia_hardware_states/src/sonia_hardware_states/imu_tare.py
sonia-auv/sonia-behaviors
28519551f954616e83b474e6cab6ba3762d238f2
[ "BSD-3-Clause" ]
1
2021-11-09T13:34:43.000Z
2021-11-09T13:34:43.000Z
#!/usr/bin/env python #-*- coding: utf-8 -*- import rospy from flexbe_core import EventState, Logger from sonia_common.srv import ImuTareSrv class imu_tare(EventState): ''' State to tare the IMU <= continue Activation successful <= failed ...
26.054054
73
0.595436
107
964
5.196262
0.570093
0.05036
0.039568
0
0
0
0
0
0
0
0
0.001477
0.297718
964
37
74
26.054054
0.819793
0.192946
0
0
0
0
0.149798
0
0
0
0
0
0
1
0.210526
false
0.052632
0.157895
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
2a0df5b7e14464d8d34a7ffff0c0e04638149606
633
py
Python
python/scripts/print_toto_3.py
dzertus/Helpers-Interface
e242fb4b387addc6d34c8e07dea3184eed235002
[ "MIT" ]
null
null
null
python/scripts/print_toto_3.py
dzertus/Helpers-Interface
e242fb4b387addc6d34c8e07dea3184eed235002
[ "MIT" ]
null
null
null
python/scripts/print_toto_3.py
dzertus/Helpers-Interface
e242fb4b387addc6d34c8e07dea3184eed235002
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os from models import model_abstract class Script(model_abstract.ScriptAbstract): def __init__(self, path): super().__init__(path) self.path = path self.name = 'Print Toto 3' self.dcc = ['maya'] self.icon = os.path.join(r"C:\Users\youss\Documen...
24.346154
96
0.592417
84
633
4.297619
0.52381
0.049862
0.055402
0
0
0
0
0
0
0
0
0.010941
0.278041
633
25
97
25.32
0.778993
0.033175
0
0
0
0
0.158756
0.096563
0
0
0
0
0
1
0.277778
false
0
0.111111
0.166667
0.611111
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2a0f751c5788f70289f4d29c7040df8d7f01e1bb
115
py
Python
answers/x_8_1.py
ofl/kuku
76eefc0d3d859051473ee0d5f48b5d42d17d05a6
[ "MIT" ]
null
null
null
answers/x_8_1.py
ofl/kuku
76eefc0d3d859051473ee0d5f48b5d42d17d05a6
[ "MIT" ]
4
2021-09-23T03:19:52.000Z
2021-11-13T10:38:21.000Z
answers/x_8_1.py
ofl/kuku
76eefc0d3d859051473ee0d5f48b5d42d17d05a6
[ "MIT" ]
null
null
null
# x_8_1 # # 実行する度にランダムで「num」の値が変わります。1〜6の数字から選ばれるように修正してください import random num = random.randint(1, 6) print(num)
12.777778
50
0.756522
18
115
4.777778
0.722222
0
0
0
0
0
0
0
0
0
0
0.059406
0.121739
115
8
51
14.375
0.782178
0.469565
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
0
0
1
0
0
0
0
3
2a415878bf55853722c7ad918d5a7a0aab83fd74
977
py
Python
savu/plugins/segmentation/morphological_operations/morph_proc_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
39
2015-03-30T14:03:42.000Z
2022-03-16T16:50:33.000Z
savu/plugins/segmentation/morphological_operations/morph_proc_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
670
2015-02-11T11:08:09.000Z
2022-03-21T09:27:57.000Z
savu/plugins/segmentation/morphological_operations/morph_proc_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
54
2015-02-13T14:09:52.000Z
2022-01-24T13:57:09.000Z
from savu.plugins.plugin_tools import PluginTools class MorphProcTools(PluginTools): """A Plugin to perform morphological operations on grayscale images (use: erosion, dilation, opening, closing) or binary images (use: binary_erosion, binary_dilation, binary_opening, binary_closing) """ def define_paramete...
33.689655
90
0.63869
97
977
6.28866
0.56701
0.063934
0.062295
0.088525
0.17377
0.17377
0.17377
0.17377
0
0
0
0.00146
0.298874
977
29
91
33.689655
0.889051
0.711361
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
2a563032b2110392e8d225778510ff4eae0390b4
16,002
py
Python
jaxbo/mcmc_models.py
PredictiveIntelligenceLab/JAX-BO
0b78cce465f808149c88cb8a49c5702c8449ec84
[ "Apache-2.0" ]
27
2021-05-12T03:34:19.000Z
2022-03-18T16:27:07.000Z
jaxbo/mcmc_models.py
PredictiveIntelligenceLab/JAX-BO
0b78cce465f808149c88cb8a49c5702c8449ec84
[ "Apache-2.0" ]
null
null
null
jaxbo/mcmc_models.py
PredictiveIntelligenceLab/JAX-BO
0b78cce465f808149c88cb8a49c5702c8449ec84
[ "Apache-2.0" ]
null
null
null
import jax.numpy as np import jax.random as random from jax import vmap, jit from jax.scipy.linalg import cholesky, solve_triangular from jax.scipy.special import expit as sigmoid from jaxbo.models import GPmodel import jaxbo.kernels as kernels from numpyro import sample, deterministic, handlers import numpyro.distri...
42.110526
102
0.577928
2,324
16,002
3.813683
0.090361
0.016924
0.021099
0.005416
0.779194
0.760916
0.703825
0.685772
0.627214
0.61108
0
0.015769
0.274778
16,002
379
103
42.221636
0.747953
0.102925
0
0.611684
0
0
0.044291
0
0
0
0
0
0
1
0.072165
false
0
0.037801
0
0.164948
0.003436
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2a5904bad4ef014ffd79ef6c66230986bc0739bf
1,194
py
Python
utils/log.py
skal1ozz/AI-WordOfWarcraft-Bot
1d9659e76d1107909d6ca27b573d0dd83a25fce4
[ "Apache-2.0" ]
null
null
null
utils/log.py
skal1ozz/AI-WordOfWarcraft-Bot
1d9659e76d1107909d6ca27b573d0dd83a25fce4
[ "Apache-2.0" ]
null
null
null
utils/log.py
skal1ozz/AI-WordOfWarcraft-Bot
1d9659e76d1107909d6ca27b573d0dd83a25fce4
[ "Apache-2.0" ]
null
null
null
import logging import traceback class Log(object): loggers = {} @staticmethod def log(level, tag, source, message="", exc_info=None): logger = Log.loggers.get(tag, logging.getLogger(tag)) line = "{source}{message}{ex}" ex = "" if isinstance(exc_info, (list, tuple)): ...
32.27027
77
0.621441
150
1,194
4.826667
0.26
0.197514
0.198895
0.209945
0.524862
0.493094
0.389503
0.190608
0.190608
0.190608
0
0
0.241206
1,194
36
78
33.166667
0.799117
0
0
0.178571
0
0
0.026801
0.017588
0
0
0
0
0
1
0.178571
false
0
0.071429
0.142857
0.464286
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
2a67f05d2d906a0c73f9a73e7830d3055c520156
173
py
Python
src/waldur_pid/apps.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
26
2017-10-18T13:49:58.000Z
2021-09-19T04:44:09.000Z
src/waldur_pid/apps.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
14
2018-12-10T14:14:51.000Z
2021-06-07T10:33:39.000Z
src/waldur_pid/apps.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
32
2017-09-24T03:10:45.000Z
2021-10-16T16:41:09.000Z
from django.apps import AppConfig class PIDConfig(AppConfig): name = 'waldur_pid' verbose_name = 'PID' service_name = 'PID' def ready(self): pass
15.727273
33
0.647399
21
173
5.190476
0.761905
0.12844
0
0
0
0
0
0
0
0
0
0
0.260116
173
10
34
17.3
0.851563
0
0
0
0
0
0.092486
0
0
0
0
0
0
1
0.142857
false
0.142857
0.142857
0
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
2a75d7332e66dd251223ccdf53c0f9dec35541d0
398
py
Python
graviti/__init__.py
Lee-000/graviti-python-sdk
46b19a4a74949a957da3e72261b1403bbeeac01a
[ "MIT" ]
12
2022-01-26T06:51:02.000Z
2022-03-22T21:28:35.000Z
graviti/__init__.py
Lee-000/graviti-python-sdk
46b19a4a74949a957da3e72261b1403bbeeac01a
[ "MIT" ]
51
2022-02-22T07:19:34.000Z
2022-03-31T11:39:51.000Z
graviti/__init__.py
Lee-000/graviti-python-sdk
46b19a4a74949a957da3e72261b1403bbeeac01a
[ "MIT" ]
5
2022-01-26T06:51:49.000Z
2022-03-08T03:41:11.000Z
#!/usr/bin/env python3 # # Copyright 2022 Graviti. Licensed under MIT License. # """Graviti Python SDK.""" from graviti.__version__ import __version__ from graviti.dataframe import ColumnSeriesBase as Series from graviti.dataframe import DataFrame from graviti.utility import engine from graviti.workspace import Works...
26.533333
71
0.78392
47
398
6.297872
0.510638
0.185811
0.135135
0.175676
0
0
0
0
0
0
0
0.014245
0.11809
398
14
72
28.428571
0.82906
0.233668
0
0
0
0
0.138514
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2a7ac6fe891c65d9cce3b235087c8a6511328586
200
py
Python
rwb/kwbrowser/__main__.py
boakley/robotframework-workbench
92f15845d6fa4baedd4f3c4346fb8ff5cf9149a6
[ "Apache-2.0" ]
11
2015-03-09T01:53:21.000Z
2021-03-29T08:33:05.000Z
rwb/kwbrowser/__main__.py
boakley/robotframework-workbench
92f15845d6fa4baedd4f3c4346fb8ff5cf9149a6
[ "Apache-2.0" ]
1
2016-08-24T06:20:11.000Z
2016-08-24T06:20:11.000Z
rwb/kwbrowser/__main__.py
boakley/robotframework-workbench
92f15845d6fa4baedd4f3c4346fb8ff5cf9149a6
[ "Apache-2.0" ]
5
2016-03-03T15:27:09.000Z
2019-03-26T13:05:32.000Z
import sys from app import KwBrowserApp import rwb try: rwb.app = KwBrowserApp() rwb.app.mainloop() except KeyboardInterrupt: print "program quit at request of the user" sys.exit(0)
16.666667
47
0.715
28
200
5.107143
0.714286
0.083916
0
0
0
0
0
0
0
0
0
0.006329
0.21
200
11
48
18.181818
0.898734
0
0
0
0
0
0.175879
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.111111
1
0
0
null
0
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
1
0
0
0
1
0
0
0
0
3
2a8351dfd55d24c60482315c8afa231ac08a7f4f
240
py
Python
grepUrl.py
andrebalen/mineNugget
0399cd666a81bc6136c9bd09e1574fd83885f9ea
[ "Apache-2.0" ]
null
null
null
grepUrl.py
andrebalen/mineNugget
0399cd666a81bc6136c9bd09e1574fd83885f9ea
[ "Apache-2.0" ]
null
null
null
grepUrl.py
andrebalen/mineNugget
0399cd666a81bc6136c9bd09e1574fd83885f9ea
[ "Apache-2.0" ]
null
null
null
import re import urllib2 stuff = urllib2.urlopen('http://python.org').read() # stuff will contain the *entire* page # Replace the string Python with your desired regex results = re.findall('(Python)',stuff) for i in results: print i
24
91
0.725
36
240
4.833333
0.722222
0
0
0
0
0
0
0
0
0
0
0.00995
0.1625
240
9
92
26.666667
0.855721
0.358333
0
0
0
0
0.165563
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.166667
0
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
1
0
0
0
1
0
0
0
0
3
aa68b18b77b5bc5459c4f5ef85ab6a8f377f5920
72
py
Python
calm/dsl/providers/plugins/existing_vm/__init__.py
opywan/calm-dsl
1d89436d039a39265a0ae806022be5b52e757ac0
[ "Apache-2.0" ]
37
2019-12-23T15:23:20.000Z
2022-03-15T11:12:11.000Z
calm/dsl/providers/plugins/existing_vm/__init__.py
opywan/calm-dsl
1d89436d039a39265a0ae806022be5b52e757ac0
[ "Apache-2.0" ]
144
2020-03-09T11:22:09.000Z
2022-03-28T21:34:09.000Z
calm/dsl/providers/plugins/existing_vm/__init__.py
opywan/calm-dsl
1d89436d039a39265a0ae806022be5b52e757ac0
[ "Apache-2.0" ]
46
2020-01-23T14:28:04.000Z
2022-03-09T04:17:10.000Z
from .main import ExistingVmProvider __all__ = ["ExistingVmProvider"]
14.4
36
0.791667
6
72
8.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.125
72
4
37
18
0.84127
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
aa89fe01a87ed3712385d7e934e60a0af15ebe15
32,103
py
Python
test/test_snap_schedule.py
point85/PyShift
46d0e1c23d3c570416633f68d416abd587b8e22f
[ "MIT" ]
null
null
null
test/test_snap_schedule.py
point85/PyShift
46d0e1c23d3c570416633f68d416abd587b8e22f
[ "MIT" ]
null
null
null
test/test_snap_schedule.py
point85/PyShift
46d0e1c23d3c570416633f68d416abd587b8e22f
[ "MIT" ]
null
null
null
from datetime import datetime, time, timedelta from PyShift.test.base_test import BaseTest from PyShift.workschedule.work_schedule import WorkSchedule class TestSnapSchedule(BaseTest): def testLowNight(self): description = "Low night demand" self.workSchedule = WorkSchedule("Low ...
56.321053
180
0.674392
3,635
32,103
5.937276
0.07868
0.119359
0.065054
0.059772
0.81012
0.77472
0.748355
0.699935
0.655871
0.595867
0
0.053527
0.210884
32,103
570
181
56.321053
0.798405
0.047784
0
0.462162
0
0.040541
0.135327
0
0
0
0
0
0.237838
1
0.02973
false
0
0.008108
0
0.040541
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aa97aff8076d9999a2f8046ae42aa369d313d0ed
1,119
py
Python
kArmedBandit/envs/TenArmedBanditGaussianReward_env.py
SasankYadati/kArmedBandit
ed9aacad48b2063661f7281b288ae269d2a8120e
[ "MIT" ]
null
null
null
kArmedBandit/envs/TenArmedBanditGaussianReward_env.py
SasankYadati/kArmedBandit
ed9aacad48b2063661f7281b288ae269d2a8120e
[ "MIT" ]
null
null
null
kArmedBandit/envs/TenArmedBanditGaussianReward_env.py
SasankYadati/kArmedBandit
ed9aacad48b2063661f7281b288ae269d2a8120e
[ "MIT" ]
null
null
null
import gym from gym import error, spaces, utils from gym.utils import seeding import numpy as np import random class TenArmedBanditGaussianRewardEnv(gym.Env): metadata = {'render.modes': ['human']} def __init__(self, seed=42): self._seed(seed) self.num_bandits = 10 # each reward distri...
28.692308
92
0.659517
147
1,119
4.897959
0.442177
0.033333
0.058333
0.05
0
0
0
0
0
0
0
0.015294
0.240393
1,119
38
93
29.447368
0.831765
0.125112
0
0.074074
0
0
0.022541
0
0
0
0
0
0.037037
1
0.222222
false
0.074074
0.185185
0.037037
0.592593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
aa99aad1fdc79542ef3470565bb0f1459823e3f0
94
py
Python
3.3homework/py04.py
beautyShang/learn-python
ee133ba4b81281f5b69a96010c540efc711af289
[ "Apache-2.0" ]
null
null
null
3.3homework/py04.py
beautyShang/learn-python
ee133ba4b81281f5b69a96010c540efc711af289
[ "Apache-2.0" ]
null
null
null
3.3homework/py04.py
beautyShang/learn-python
ee133ba4b81281f5b69a96010c540efc711af289
[ "Apache-2.0" ]
null
null
null
a = "Hello World" b = a[3] c = a[-2] d = a[5::] e = a[:5] print(b) print(c) print(d) print(e)
9.4
17
0.5
23
94
2.043478
0.478261
0.085106
0
0
0
0
0
0
0
0
0
0.054054
0.212766
94
9
18
10.444444
0.581081
0
0
0
0
0
0.117021
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
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
0
0
0
0
0
1
0
3
aac7208cf43e5ab16cbe5f17432b6ef825d613f0
296
py
Python
semseg/models/heads/__init__.py
Genevievekim/semantic-segmentation-1
f28b026e44cff80fe3ca4cac94cea27e4073821b
[ "BSD-3-Clause" ]
196
2021-08-22T10:01:34.000Z
2022-03-29T09:59:51.000Z
semseg/models/heads/__init__.py
Genevievekim/semantic-segmentation-1
f28b026e44cff80fe3ca4cac94cea27e4073821b
[ "BSD-3-Clause" ]
21
2021-08-22T09:59:02.000Z
2022-03-29T15:22:46.000Z
semseg/models/heads/__init__.py
Genevievekim/semantic-segmentation-1
f28b026e44cff80fe3ca4cac94cea27e4073821b
[ "BSD-3-Clause" ]
36
2021-08-22T08:59:40.000Z
2022-03-28T10:13:20.000Z
from .upernet import UPerHead from .segformer import SegFormerHead from .sfnet import SFHead from .fpn import FPNHead from .fapn import FaPNHead from .fcn import FCNHead from .condnet import CondHead __all__ = ['UPerHead', 'SegFormerHead', 'SFHead', 'FPNHead', 'FaPNHead', 'FCNHead', 'CondHead']
32.888889
95
0.773649
36
296
6.25
0.472222
0
0
0
0
0
0
0
0
0
0
0
0.125
296
9
95
32.888889
0.868726
0
0
0
0
0
0.191919
0
0
0
0
0
0
1
0
false
0
0.875
0
0.875
0
0
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
0
0
1
0
1
0
0
3
2a9fd6737b08cddb91b3c59b26c31580c9c4ae56
6,762
py
Python
temboo/core/Library/Utilities/Dates/GetTimestamp.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Utilities/Dates/GetTimestamp.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Utilities/Dates/GetTimestamp.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
# -*- coding: utf-8 -*- ############################################################################### # # GetTimestamp # Returns the current date and time, expressed as seconds or milliseconds since January 1, 1970 (epoch time). # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the...
47.286713
269
0.683673
844
6,762
5.402844
0.223934
0.023026
0.034211
0.042763
0.483333
0.432675
0.432675
0.361404
0.308772
0.288158
0
0.008048
0.209849
6,762
142
270
47.619718
0.845405
0.522626
0
0
0
0
0.058336
0.013925
0
0
0
0
0
1
0.408163
false
0
0.102041
0.102041
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2aa03f33d960179a0bb79d6a45adc86bd9f35336
76
py
Python
finmath/__init__.py
renanamp/FinanceHub
55b06577a431e7e53de17183444456d28a096bc1
[ "MIT" ]
1
2019-09-23T22:00:18.000Z
2019-09-23T22:00:18.000Z
finmath/__init__.py
renanamp/FinanceHub
55b06577a431e7e53de17183444456d28a096bc1
[ "MIT" ]
null
null
null
finmath/__init__.py
renanamp/FinanceHub
55b06577a431e7e53de17183444456d28a096bc1
[ "MIT" ]
null
null
null
__all__ = ['SwapCurve'] from finmath.SwapCurve.SwapCurve import SwapCurve
15.2
49
0.789474
8
76
7
0.625
0
0
0
0
0
0
0
0
0
0
0
0.118421
76
4
50
19
0.835821
0
0
0
0
0
0.12
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2aa1d4e0efc50466a1cc284317c5ad15c071d1fc
89
py
Python
Mathematics/Exponentiation.py
charlie219/CSES-Solutions
e082380cbb3ad74eaa9a55f71a2f9df904477ef2
[ "MIT" ]
null
null
null
Mathematics/Exponentiation.py
charlie219/CSES-Solutions
e082380cbb3ad74eaa9a55f71a2f9df904477ef2
[ "MIT" ]
null
null
null
Mathematics/Exponentiation.py
charlie219/CSES-Solutions
e082380cbb3ad74eaa9a55f71a2f9df904477ef2
[ "MIT" ]
null
null
null
n=int(input()) while n: n-=1 print(pow(*map(int,input().split()),10**9+7))
14.833333
50
0.505618
16
89
2.8125
0.75
0.355556
0
0
0
0
0
0
0
0
0
0.071429
0.213483
89
5
51
17.8
0.571429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
0
0
0
0
0
3
2aa7a1c3c3e3ec2b8d1afbc91b85d7cc5e637af1
301
py
Python
ex036 - analisador triangulos.py
fblaz/Python-ex---curso-em-video
794d1f7b9fa0803b168aaf973007906b66a02e2d
[ "MIT" ]
null
null
null
ex036 - analisador triangulos.py
fblaz/Python-ex---curso-em-video
794d1f7b9fa0803b168aaf973007906b66a02e2d
[ "MIT" ]
null
null
null
ex036 - analisador triangulos.py
fblaz/Python-ex---curso-em-video
794d1f7b9fa0803b168aaf973007906b66a02e2d
[ "MIT" ]
null
null
null
x = float(input('digite o segmento 1: ')) y = float(input('digite o segmento 2: ')) z = float(input('digite o segmento 3: ')) if x < y + z and y < x + z and z < x + y: print(f'os segmentos {x, y, z} formam um Triangulo') else: print(f'os segmentos {x, y, z} NÃO formam um Triangulo')
33.444444
61
0.594684
55
301
3.254545
0.4
0.044693
0.268156
0.284916
0.642458
0.223464
0.223464
0
0
0
0
0.013216
0.245847
301
8
62
37.625
0.77533
0
0
0
0
0
0.515358
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2ab09eabfe924117e3d3a652ef2a8ea813d9dea2
1,115
py
Python
client/channellog.py
heartsoso/Discline
e2cee4322d8e9ff3d269954ebc5ceb812473d79b
[ "WTFPL" ]
535
2017-12-11T12:42:03.000Z
2019-07-27T18:09:26.000Z
client/channellog.py
heartsoso/Discline
e2cee4322d8e9ff3d269954ebc5ceb812473d79b
[ "WTFPL" ]
54
2017-12-11T13:39:39.000Z
2019-07-20T23:14:31.000Z
client/channellog.py
heartsoso/Discline
e2cee4322d8e9ff3d269954ebc5ceb812473d79b
[ "WTFPL" ]
33
2017-12-22T09:07:56.000Z
2019-07-21T16:00:02.000Z
# Wrapper class to make dealing with logs easier class ChannelLog(): __channel = "" __logs = [] unread = False mentioned_in = False # the index of where to start printing the messages __index = 0 def __init__(self, channel, logs): self.__channel = channel self.__logs = list...
22.3
55
0.632287
145
1,115
4.510345
0.268966
0.107034
0.12844
0.12844
0.246177
0.119266
0.082569
0
0
0
0
0.001235
0.273543
1,115
49
56
22.755102
0.806173
0.086099
0
0
0
0
0
0
0
0
0
0
0
1
0.424242
false
0
0
0.242424
0.787879
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2ab99af9bb6c3090ad786980e8ef1ad5ab34acb2
1,093
py
Python
game/opengl/interface.py
cassiersg/elec-2103
f0152c81e8d808a1ab62c78e9324fb99b341638a
[ "Apache-2.0" ]
null
null
null
game/opengl/interface.py
cassiersg/elec-2103
f0152c81e8d808a1ab62c78e9324fb99b341638a
[ "Apache-2.0" ]
null
null
null
game/opengl/interface.py
cassiersg/elec-2103
f0152c81e8d808a1ab62c78e9324fb99b341638a
[ "Apache-2.0" ]
null
null
null
import pygame import cubes import time import font import PIL t0 = time.time() grid = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [3, 3, 0, 0, 0, 3, 3, 0, 3, 3, 0, 0, 0, 3, 3], [3, 3, 0, 0, 0, 3, 3, 3, 3, 4, 0, 0, 0, 3, 3], [3, 3, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], [3, 3, 4, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,...
28.763158
336
0.58097
246
1,093
2.536585
0.256098
0.205128
0.269231
0.326923
0.168269
0.168269
0.165064
0.165064
0.152244
0.113782
0
0.180383
0.188472
1,093
37
337
29.540541
0.523112
0
0
0
0
0
0.050366
0
0
0
0.014652
0
0
1
0
false
0
0.16129
0
0.16129
0.129032
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2af316434f459e01963799b897bd4f6d92aa7dfb
232
py
Python
linguistics/document/Sentence.py
idin/mercurius
48a4ed7843fb5d1946ef8051f23da7b32ab52ca3
[ "MIT" ]
7
2019-02-24T16:56:46.000Z
2022-01-30T03:26:49.000Z
linguistics/document/Sentence.py
idin/mercurius
48a4ed7843fb5d1946ef8051f23da7b32ab52ca3
[ "MIT" ]
1
2020-07-14T21:00:57.000Z
2021-02-25T07:12:11.000Z
linguistics/document/Sentence.py
idin/linguistics
ab9568d81b225928beab353174fd97ccb0fe369c
[ "MIT" ]
null
null
null
from .TokenSpan import TokenSpan class Sentence(TokenSpan): def __init__(self, obj, document): super().__init__(obj=obj, document=document) @property def id(self): return self.document.id, 'sentence', self.start, self.end
21.090909
59
0.741379
31
232
5.290323
0.516129
0.134146
0
0
0
0
0
0
0
0
0
0
0.12931
232
10
60
23.2
0.811881
0
0
0
0
0
0.034483
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2af663664e00135c4ce97ed2eecd5d71b7b19c64
787
py
Python
Section2/strings.py
joranbeasley/Getting-Started-with-Modern-Python
f9ac143fa5f23ea087b8af73f6665b58273b1697
[ "MIT" ]
8
2018-07-09T16:08:19.000Z
2021-11-08T13:10:38.000Z
Section2/strings.py
joranbeasley/Getting-Started-with-Modern-Python
f9ac143fa5f23ea087b8af73f6665b58273b1697
[ "MIT" ]
null
null
null
Section2/strings.py
joranbeasley/Getting-Started-with-Modern-Python
f9ac143fa5f23ea087b8af73f6665b58273b1697
[ "MIT" ]
7
2018-06-16T20:16:13.000Z
2019-03-20T05:05:43.000Z
"{variable_name:format_description}" print('{a:<10}|{a:^10}|{a:>10}'.format(a='test')) print('{a:~<10}|{a:~^10}|{a:~>10}'.format(a='test')) person = {"first":"Joran","last":"Beasley"} print("{p[first]} {p[last]}".format(p=person)) data = range(100) print("{d[0]}...{d[99]}".format(d=data)) print("normal:{num:d}".forma...
26.233333
52
0.620076
140
787
3.471429
0.3
0.222222
0.158436
0.230453
0.44856
0.37037
0.102881
0.102881
0.102881
0.102881
0
0.083665
0.043202
787
29
53
27.137931
0.561753
0.043202
0
0
0
0
0.380892
0.105732
0
0
0
0
0
1
0
false
0
0
0
0
0.809524
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
2af849686285c5c0193e91508af6e0ba66ab21b6
329
py
Python
yt/fake-random-on-to-derived.py
lindsayad/python
4b63a8b02de6a7c0caa7bb770f3f22366e066a7f
[ "MIT" ]
null
null
null
yt/fake-random-on-to-derived.py
lindsayad/python
4b63a8b02de6a7c0caa7bb770f3f22366e066a7f
[ "MIT" ]
null
null
null
yt/fake-random-on-to-derived.py
lindsayad/python
4b63a8b02de6a7c0caa7bb770f3f22366e066a7f
[ "MIT" ]
null
null
null
import yt from yt.testing import fake_random_ds, assert_equal def _test(field, data): return data[('stream', 'velocity_x')] ds = fake_random_ds() ds.add_field(('stream, density'), function=_test, units='cm/s', force_override=True) assert_equal(ds.all_data()[('stream', 'density')], ds.all_data()[('stream', 'veloci...
32.9
91
0.717325
50
329
4.44
0.54
0.135135
0.108108
0.171171
0
0
0
0
0
0
0
0
0.094225
329
9
92
36.555556
0.744966
0
0
0
0
0
0.194529
0
0
0
0
0
0.285714
1
0.142857
false
0
0.285714
0.142857
0.571429
0
0
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
0
0
0
1
0
0
0
3
2af88c30ff1cf39c8df7fd5cec63d28d34537561
267
py
Python
project_template/project_name/rentals/adminx.py
glasslion/django-sakila
4a8b3419b649767e7d215590b2bb9824b6685edb
[ "MIT" ]
5
2017-10-20T06:19:53.000Z
2020-05-30T02:12:18.000Z
project_template/project_name/rentals/adminx.py
glasslion/django-sakila
4a8b3419b649767e7d215590b2bb9824b6685edb
[ "MIT" ]
null
null
null
project_template/project_name/rentals/adminx.py
glasslion/django-sakila
4a8b3419b649767e7d215590b2bb9824b6685edb
[ "MIT" ]
3
2015-09-05T03:11:25.000Z
2020-05-30T02:12:24.000Z
import xadmin from .models import Customer, Inventory, Rental, Payment, Staff, Store xadmin.site.register(Customer) xadmin.site.register(Inventory) xadmin.site.register(Rental) xadmin.site.register(Payment) xadmin.site.register(Staff) xadmin.site.register(Store)
22.25
71
0.808989
35
267
6.171429
0.342857
0.277778
0.5
0
0
0
0
0
0
0
0
0
0.078652
267
11
72
24.272727
0.878049
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
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
0
1
0
0
0
0
0
0
3
6309cb248b1b826e1979d5aeac8da58bb5211bd7
887
py
Python
codemaster/models/actors/npcs/__init__.py
japinol7/the-codemaster
35f1c53a431b2fddf851c7fbf155cae968f1bad7
[ "MIT" ]
null
null
null
codemaster/models/actors/npcs/__init__.py
japinol7/the-codemaster
35f1c53a431b2fddf851c7fbf155cae968f1bad7
[ "MIT" ]
null
null
null
codemaster/models/actors/npcs/__init__.py
japinol7/the-codemaster
35f1c53a431b2fddf851c7fbf155cae968f1bad7
[ "MIT" ]
null
null
null
"""Package npcs.""" from codemaster.models.actors.npcs.bats import ( BatBlue, BatLilac, BatRed, BatBlack, ) from codemaster.models.actors.npcs.skulls import ( SkullGreen, SkullBlue, SkullYellow, SkullRed, ) from codemaster.models.actors.npcs.ghosts import ( GhostGreen, Gh...
21.119048
59
0.692221
83
887
7.385542
0.481928
0.182708
0.261011
0.339315
0.391517
0
0
0
0
0
0
0
0.218715
887
41
60
21.634146
0.88456
0.014656
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
630b8bdc1ca9842989623aa8a26806eb73524765
221
py
Python
healthgen/data_access/preprocessing/base_processor.py
simonbing/HealthGen
d5886a5a41dc36c6a70dece3dba3c60a90bf1fdd
[ "MIT" ]
null
null
null
healthgen/data_access/preprocessing/base_processor.py
simonbing/HealthGen
d5886a5a41dc36c6a70dece3dba3c60a90bf1fdd
[ "MIT" ]
null
null
null
healthgen/data_access/preprocessing/base_processor.py
simonbing/HealthGen
d5886a5a41dc36c6a70dece3dba3c60a90bf1fdd
[ "MIT" ]
null
null
null
""" 2021 Simon Bing, ETHZ, MPI IS """ import numpy as np from absl import flags class BaseProcessor(object): def __init__(self): self.name = None def transform(self, x): raise NotImplementedError
18.416667
33
0.669683
29
221
4.965517
0.862069
0
0
0
0
0
0
0
0
0
0
0.02381
0.239819
221
12
33
18.416667
0.833333
0.131222
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
63232cbcd99d62acdd24af24172c2125ae6ba020
58
py
Python
Types/Enums/Preprocessing_Mode.py
SBCV/PythonUtility
0062e1e60dc151776b963d13bc4c1763eb90d333
[ "MIT" ]
2
2019-02-20T14:56:13.000Z
2020-05-19T12:31:53.000Z
Types/Enums/Preprocessing_Mode.py
SBCV/PythonUtility
0062e1e60dc151776b963d13bc4c1763eb90d333
[ "MIT" ]
null
null
null
Types/Enums/Preprocessing_Mode.py
SBCV/PythonUtility
0062e1e60dc151776b963d13bc4c1763eb90d333
[ "MIT" ]
1
2021-01-07T08:32:07.000Z
2021-01-07T08:32:07.000Z
class PreprocessingMode: VIDEO = 1 FOLDER_LIST = 2
19.333333
24
0.689655
7
58
5.571429
1
0
0
0
0
0
0
0
0
0
0
0.046512
0.258621
58
3
25
19.333333
0.860465
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
63255499e65964a28a12c77f2be3fdd224d73d23
8,565
py
Python
tests/test_all.py
waadnakhleh/pythonformatter
5f622986aa4e2fcdf03e49041a7ddc14e66d1a2f
[ "MIT" ]
null
null
null
tests/test_all.py
waadnakhleh/pythonformatter
5f622986aa4e2fcdf03e49041a7ddc14e66d1a2f
[ "MIT" ]
19
2020-12-28T17:17:12.000Z
2021-12-22T20:44:42.000Z
tests/test_all.py
waadnakhleh/pythonformatter
5f622986aa4e2fcdf03e49041a7ddc14e66d1a2f
[ "MIT" ]
1
2021-03-20T17:41:14.000Z
2021-03-20T17:41:14.000Z
import filecmp import os import pathlib import pytest from lib import _rewrite from _exceptions import NoSolutionError import main def confirm(output): compare_to = "modified_file.py" try: assert filecmp.cmp(output, compare_to) except AssertionError as e: with open(compare_to) as f: ...
28.174342
87
0.709165
1,208
8,565
4.664735
0.105132
0.15173
0.23425
0.296717
0.569654
0.407098
0.377285
0.370009
0.35173
0.337533
0
0.002255
0.171629
8,565
303
88
28.267327
0.791966
0.007706
0
0.245192
0
0
0.267067
0.166314
0
0
0
0.0033
0.019231
1
0.225962
false
0.009615
0.086538
0
0.3125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
6326c7a8a208e98565f72a4a6b233c7a564c35a3
123
py
Python
cride/rides/apps.py
LhernerRemon/Rider
30783cf58513698d23730f5fa477dfeddda8ee6b
[ "MIT" ]
null
null
null
cride/rides/apps.py
LhernerRemon/Rider
30783cf58513698d23730f5fa477dfeddda8ee6b
[ "MIT" ]
null
null
null
cride/rides/apps.py
LhernerRemon/Rider
30783cf58513698d23730f5fa477dfeddda8ee6b
[ "MIT" ]
null
null
null
#Django from django.apps import AppConfig class RidesAppConfig(AppConfig): name="cride.rides" verbose_name="Rides"
20.5
33
0.764228
15
123
6.2
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.138211
123
6
34
20.5
0.877358
0.04878
0
0
0
0
0.136752
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2d5e4f9e64b8f31e4730fca32c36434095cee023
15,971
py
Python
models.py
perSEVERE-5962/SEVEREscout
f2191bdf52a0d7302666ce38fe3cc31f64b0216a
[ "MIT" ]
null
null
null
models.py
perSEVERE-5962/SEVEREscout
f2191bdf52a0d7302666ce38fe3cc31f64b0216a
[ "MIT" ]
2
2021-02-08T20:42:33.000Z
2021-04-30T21:08:27.000Z
models.py
perSEVERE-5962/SEVEREscout
f2191bdf52a0d7302666ce38fe3cc31f64b0216a
[ "MIT" ]
1
2020-02-22T17:25:03.000Z
2020-02-22T17:25:03.000Z
from app import db from sqlalchemy.sql import func from sqlalchemy.dialects.postgresql import ARRAY class PitReport(db.Model): __tablename__ = "pit_report" id = db.Column(db.Integer, primary_key=True, autoincrement=True) # team relationship team_id = db.Column(db.Integer, db.ForeignKey("team.id"), null...
38.391827
94
0.700019
2,180
15,971
4.911009
0.072477
0.177097
0.217635
0.188959
0.79731
0.691575
0.597702
0.516533
0.442462
0.4221
0
0
0.168994
15,971
416
95
38.391827
0.806661
0.012836
0
0.385542
0
0
0.035312
0
0
0
0
0
0
1
0
false
0
0.018072
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2d602eee31f100a10c2cbb071beeed48aa7e25eb
323
py
Python
sources/dashboard/application/dataclasses.py
variasov/classic_demo_low_difficulty
3a07743a8e78ac35aa3f98cfa9c138dbcdef0494
[ "MIT" ]
5
2021-10-08T08:33:02.000Z
2022-03-31T20:11:11.000Z
sources/dashboard/application/dataclasses.py
variasov/classic_demo_low_difficulty
3a07743a8e78ac35aa3f98cfa9c138dbcdef0494
[ "MIT" ]
null
null
null
sources/dashboard/application/dataclasses.py
variasov/classic_demo_low_difficulty
3a07743a8e78ac35aa3f98cfa9c138dbcdef0494
[ "MIT" ]
null
null
null
from dataclasses import dataclass from datetime import date @dataclass class DayOrdersInfo: report_date: date total_orders: int total_lines: int total_cost: float @dataclass class PeriodOrdersInfo: start_date: date end_date: date total_orders: int total_lines: int total_cost: flo...
16.15
33
0.736842
41
323
5.585366
0.439024
0.139738
0.113537
0.165939
0.427948
0.427948
0.427948
0.427948
0.427948
0.427948
0
0
0.22291
323
19
34
17
0.912351
0
0
0.533333
0
0
0
0
0
0
0
0
0
1
0
true
0
0.133333
0
0.866667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
2d7ce3e4150423d1eded4ee73951d019d237148e
62
py
Python
code/learn-AI/pandas/A_Series/create/D_create_from_number.py
lsieun/learn-AI
0a164bc2e6317de3aa03c747c0e6f15d93e7f49a
[ "Apache-2.0" ]
1
2019-03-27T23:22:44.000Z
2019-03-27T23:22:44.000Z
code/learn-AI/pandas/A_Series/create/D_create_from_number.py
lsieun/learn-AI
0a164bc2e6317de3aa03c747c0e6f15d93e7f49a
[ "Apache-2.0" ]
null
null
null
code/learn-AI/pandas/A_Series/create/D_create_from_number.py
lsieun/learn-AI
0a164bc2e6317de3aa03c747c0e6f15d93e7f49a
[ "Apache-2.0" ]
null
null
null
import pandas as pd s = pd.Series(5,index=[0,1,3,3]) print(s)
15.5
32
0.66129
15
62
2.733333
0.8
0
0
0
0
0
0
0
0
0
0
0.092593
0.129032
62
4
33
15.5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
0
0
1
0
0
0
0
3
2d984dc3cb6885ecd9e043074f12f3165a197cba
196
py
Python
pkg/Python27/Lib/site-packages/clint/textui/__init__.py
jkolokotronis/ds_mod_tools
d9fd4def34f6adfd0e2b176d0a9bf2a3dfd43f93
[ "MIT" ]
null
null
null
pkg/Python27/Lib/site-packages/clint/textui/__init__.py
jkolokotronis/ds_mod_tools
d9fd4def34f6adfd0e2b176d0a9bf2a3dfd43f93
[ "MIT" ]
null
null
null
pkg/Python27/Lib/site-packages/clint/textui/__init__.py
jkolokotronis/ds_mod_tools
d9fd4def34f6adfd0e2b176d0a9bf2a3dfd43f93
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ clint.textui ~~~~~~~~~~~~ This module provides the text output helper system. """ from . import colored from . import progress from .core import *
12.25
52
0.576531
22
196
5.136364
0.818182
0.176991
0
0
0
0
0
0
0
0
0
0.006849
0.255102
196
15
53
13.066667
0.767123
0.515306
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
2dc44b4a3b103092ec880c849c7d56eb6ea5bb75
12,499
py
Python
nitrogen/pes/library/h2o2_mk2012_ad.py
bchangala/nitrogen
94f8828a51aa536fe93fe6a8bdd8da04eb6fdce8
[ "MIT" ]
7
2021-02-09T04:09:58.000Z
2022-03-13T20:47:27.000Z
nitrogen/pes/library/h2o2_mk2012_ad.py
bchangala/nitrogen
94f8828a51aa536fe93fe6a8bdd8da04eb6fdce8
[ "MIT" ]
null
null
null
nitrogen/pes/library/h2o2_mk2012_ad.py
bchangala/nitrogen
94f8828a51aa536fe93fe6a8bdd8da04eb6fdce8
[ "MIT" ]
1
2021-10-01T12:42:35.000Z
2021-10-01T12:42:35.000Z
""" h2o2_mk2012_ad.py Hydrogen peroxide, H2O2, ground state surface from Ref [1]_. The coefficients are available from the references supplementary information as the 'adiabatic PES', which corresponds to the "V+C+R+H+D" results. The surface is implemented in internal coordinates. X1 ... O1 -- H1 bond length (Angst...
18.73913
76
0.435075
2,598
12,499
2.090069
0.120477
0.208471
0.163536
0.098711
0.316022
0.301657
0.273112
0.243831
0.210681
0.162063
0
0.491389
0.293864
12,499
667
77
18.73913
0.123839
0.073846
0
0.393388
0
0
0
0
0
0
0
0
0
1
0.003306
false
0
0.004959
0
0.01157
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2de4ad0ebff5992a259f8a6bf7ef93b3acf5182a
102
py
Python
setup.py
1ucky40nc3/medicus
4d72b42abddfde1bded9a2003c11948d6acb390e
[ "MIT" ]
1
2022-03-30T16:58:29.000Z
2022-03-30T16:58:29.000Z
setup.py
1ucky40nc3/medicus
4d72b42abddfde1bded9a2003c11948d6acb390e
[ "MIT" ]
1
2022-03-30T20:43:11.000Z
2022-03-30T20:43:11.000Z
setup.py
1ucky40nc3/medicus
4d72b42abddfde1bded9a2003c11948d6acb390e
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="medicus", version="0.1", packages=["medicus"] )
14.571429
28
0.637255
12
102
5.416667
0.833333
0
0
0
0
0
0
0
0
0
0
0.024691
0.205882
102
7
29
14.571429
0.777778
0
0
0
0
0
0.165049
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
0
0
0
0
0
0
3
2dea313a3efcef6e0fdc5c670edb6b0142da5322
757
py
Python
ddtrace/ext/__init__.py
mykytarudenko/new-project
e06a912382239739dd3f93b54d545b9506102372
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
ddtrace/ext/__init__.py
mykytarudenko/new-project
e06a912382239739dd3f93b54d545b9506102372
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-01-27T04:53:24.000Z
2021-01-27T04:53:24.000Z
ddtrace/ext/__init__.py
mykytarudenko/new-project
e06a912382239739dd3f93b54d545b9506102372
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
from enum import Enum from ..utils import removed_classproperty from ..vendor.debtcollector import removals class SpanTypes(Enum): CACHE = "cache" CASSANDRA = "cassandra" ELASTICSEARCH = "elasticsearch" GRPC = "grpc" HTTP = "http" MONGODB = "mongodb" REDIS = "redis" SQL = "sql" TE...
19.410256
43
0.647292
79
757
6.126582
0.367089
0.206612
0.190083
0
0
0
0
0
0
0
0
0
0.254954
757
38
44
19.921053
0.858156
0
0
0.133333
0
0
0.107001
0
0
0
0
0
0
1
0.133333
false
0
0.1
0.133333
0.833333
0
0
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
0
0
0
0
1
0
0
0
3
2df065629e404af27259676f8e707e341dda1bff
188
py
Python
ex046.py
BrianBeyer/pythonExercicios
062e2c6a9e6e6f513185f1fb1d4269d8ca1d9e89
[ "MIT" ]
null
null
null
ex046.py
BrianBeyer/pythonExercicios
062e2c6a9e6e6f513185f1fb1d4269d8ca1d9e89
[ "MIT" ]
null
null
null
ex046.py
BrianBeyer/pythonExercicios
062e2c6a9e6e6f513185f1fb1d4269d8ca1d9e89
[ "MIT" ]
null
null
null
from time import sleep print('Contagem regressiva','='*20) for a in range(10, 0-1, -1): print(a, end='-') sleep(1) print('Fogos estourando \nBOOM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
26.857143
64
0.531915
25
188
4
0.76
0.12
0
0
0
0
0
0
0
0
0
0.049383
0.138298
188
6
65
31.333333
0.567901
0
0
0
0
0
0.404255
0.202128
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9303b6729128acbb771343c1e9270209cb331506
617
py
Python
ecommerce/api/domain/domain_base.py
MayaraMachado/sns_and_sqs_project
4fcc5bbb5f6841543ea8dda353dd85a43024f683
[ "MIT" ]
5
2020-06-22T21:29:54.000Z
2021-11-01T20:12:04.000Z
ecommerce/api/domain/domain_base.py
MayaraMachado/sns_and_sqs_project
4fcc5bbb5f6841543ea8dda353dd85a43024f683
[ "MIT" ]
5
2021-03-30T13:38:15.000Z
2021-09-22T19:10:27.000Z
ecommerce/api/domain/domain_base.py
MayaraMachado/sns_and_sqs_project
4fcc5bbb5f6841543ea8dda353dd85a43024f683
[ "MIT" ]
null
null
null
class DomainServiceBase: def __init__(self, repository): self.repository = repository def update(self, obj, updated_data={}): self.repository.update(obj, updated_data) def delete(self, obj): self.repository.delete(obj) def create(self, obj): obj = self.repository.creat...
30.85
77
0.67423
74
617
5.405405
0.27027
0.245
0.07
0.12
0.3025
0.18
0
0
0
0
0
0
0.205835
617
19
78
32.473684
0.816327
0
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0
0.142857
0.714286
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
9342af82f1cb2c17d9d428608f08d06906c8cdc8
941
py
Python
labs/7/py/dashpot.py
Sky-Nik/numerical-analysis
97e1ab4ee8737e2eaba91084f8775089f13ec4dd
[ "MIT" ]
1
2019-05-19T08:08:41.000Z
2019-05-19T08:08:41.000Z
labs/7/py/dashpot.py
csc-knu/numerical-analysis
97e1ab4ee8737e2eaba91084f8775089f13ec4dd
[ "MIT" ]
4
2018-09-02T05:48:27.000Z
2018-09-02T06:02:22.000Z
labs/7/py/dashpot.py
Sky-Nik/numerical-analysis
97e1ab4ee8737e2eaba91084f8775089f13ec4dd
[ "MIT" ]
2
2021-05-21T09:12:51.000Z
2021-06-16T01:06:12.000Z
#!/usr/bin/env python from math import sqrt class Dashpot: def __init__(self, k: float, r_0: float, c: float): assert r_0 > 0, "r_0 must be positive" assert k > 0, "k must be positive" self._k, self._r_0, self._c = k, r_0, c @property def k(self): return self._k @...
24.763158
66
0.57067
163
941
3.02454
0.263804
0.040568
0.048682
0.048682
0.296146
0.093306
0.093306
0.093306
0
0
0
0.028274
0.285866
941
37
67
25.432432
0.705357
0.064825
0
0.12
0
0
0.105923
0
0
0
0
0.027027
0.08
1
0.32
false
0.04
0.04
0.28
0.68
0
0
0
0
null
0
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
1
0
0
1
0
0
0
1
0
0
0
3
934dfa4315cb2ff1c9dee478276d4c9eaf722449
643
py
Python
CPAC/nuisance/__init__.py
gkiar/C-PAC
0926b451dd8622b25eb68c7bcc770f0156238b23
[ "BSD-3-Clause" ]
125
2015-03-04T09:14:46.000Z
2022-03-29T07:46:12.000Z
CPAC/nuisance/__init__.py
gkiar/C-PAC
0926b451dd8622b25eb68c7bcc770f0156238b23
[ "BSD-3-Clause" ]
1,018
2015-01-04T16:01:29.000Z
2022-03-31T19:23:09.000Z
CPAC/nuisance/__init__.py
gkiar/C-PAC
0926b451dd8622b25eb68c7bcc770f0156238b23
[ "BSD-3-Clause" ]
117
2015-01-10T08:05:52.000Z
2022-01-18T05:16:51.000Z
from .utils import ( find_offending_time_points, temporal_variance_mask, generate_summarize_tissue_mask, NuisanceRegressor ) from .nuisance import ( create_regressor_workflow, create_nuisance_regression_workflow, filtering_bold_and_regressors ) from .bandpass import ( bandpass_voxels )...
20.741935
42
0.757387
67
643
6.671642
0.432836
0.040268
0.076063
0.102908
0.675615
0.675615
0.675615
0.675615
0.675615
0.675615
0
0
0.174184
643
31
43
20.741935
0.841808
0
0
0
1
0
0.302795
0.259317
0
0
0
0
0
1
0
false
0.111111
0.148148
0
0.148148
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
9358cdc73a349a04ce1de7626c072a050c3ec91a
58
py
Python
test_write.py
esspee39/gtest-demo
844a79d3724e07b72ff1c2dbd049edafd3b392a7
[ "BSD-3-Clause" ]
null
null
null
test_write.py
esspee39/gtest-demo
844a79d3724e07b72ff1c2dbd049edafd3b392a7
[ "BSD-3-Clause" ]
null
null
null
test_write.py
esspee39/gtest-demo
844a79d3724e07b72ff1c2dbd049edafd3b392a7
[ "BSD-3-Clause" ]
1
2021-11-20T18:48:23.000Z
2021-11-20T18:48:23.000Z
with open('test.html',"w+") as f: f.write("test")
19.333333
33
0.517241
10
58
3
0.8
0
0
0
0
0
0
0
0
0
0
0
0.224138
58
2
34
29
0.666667
0
0
0
0
0
0.258621
0
0
0
0
0
0
1
0
true
0
0
0
0
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
0
0
0
0
0
0
3
935f559eeb2f80e02f374b96d7b61a3325ced81a
275
py
Python
pyleecan/Methods/Machine/LamSquirrelCage/__init__.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
95
2019-01-23T04:19:45.000Z
2022-03-17T18:22:10.000Z
pyleecan/Methods/Machine/LamSquirrelCage/__init__.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
366
2019-02-20T07:15:08.000Z
2022-03-31T13:37:23.000Z
pyleecan/Methods/Machine/LamSquirrelCage/__init__.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
74
2019-01-24T01:47:31.000Z
2022-02-25T05:44:42.000Z
from ....Methods.Machine.LamSlotWind import Lam_WindCheckError class SquirrelCageCheckError(Lam_WindCheckError): """ """ pass class SCC_NotARotor(SquirrelCageCheckError): """ """ pass class SCC_WrongCond(SquirrelCageCheckError): """ """ pass
13.75
62
0.690909
22
275
8.454545
0.590909
0.182796
0.129032
0
0
0
0
0
0
0
0
0
0.189091
275
19
63
14.473684
0.834081
0
0
0.428571
0
0
0
0
0
0
0
0
0
1
0
true
0.428571
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
93623fa124e1fe3afa3694fbd7e48b33c4e20604
1,615
py
Python
src/tests/test_calculate_chek.py
Almateyko/learn-duet2s
5004583f629b81bf1eabb5de69f01da202308036
[ "MIT" ]
null
null
null
src/tests/test_calculate_chek.py
Almateyko/learn-duet2s
5004583f629b81bf1eabb5de69f01da202308036
[ "MIT" ]
null
null
null
src/tests/test_calculate_chek.py
Almateyko/learn-duet2s
5004583f629b81bf1eabb5de69f01da202308036
[ "MIT" ]
null
null
null
import unittest from src.main_program import * class TestMainProgram(unittest.TestCase): def test_calculate_chek_1(self): a = dict(gas=0, water=0, electricity=0) self.assertEqual('Verification was successful', calculate_chek('gas', 3, a)) self.assertEqual('Verification was successful', ca...
44.861111
94
0.669969
200
1,615
5.235
0.22
0.223496
0.152818
0.17192
0.795606
0.679083
0.65425
0.447947
0.317096
0.204394
0
0.035365
0.17709
1,615
35
95
46.142857
0.752445
0
0
0.148148
0
0
0.201858
0
0
0
0
0
0.518519
1
0.148148
false
0
0.074074
0
0.259259
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
fa7a17b16277b55311602db31f0a4d9c0e04f12a
11,375
py
Python
ninja/router.py
aprilahijriyan/django-ninja
df2716c7f5fc2ec008163048cc9a41103aeebabe
[ "MIT" ]
null
null
null
ninja/router.py
aprilahijriyan/django-ninja
df2716c7f5fc2ec008163048cc9a41103aeebabe
[ "MIT" ]
1
2021-04-25T07:00:55.000Z
2021-04-25T07:00:55.000Z
ninja/router.py
aprilahijriyan/django-ninja
df2716c7f5fc2ec008163048cc9a41103aeebabe
[ "MIT" ]
null
null
null
from typing import ( TYPE_CHECKING, Any, Callable, Dict, Iterator, List, Optional, Tuple, cast, ) from django.urls import URLPattern, path as django_path from ninja.constants import NOT_SET from ninja.operation import PathView from ninja.types import TCallable from ninja.utils impo...
31.422652
86
0.555165
1,185
11,375
5.098734
0.098734
0.042867
0.069513
0.019364
0.705561
0.702085
0.692817
0.692817
0.681893
0.681893
0
0
0.353055
11,375
361
87
31.509695
0.821035
0.016527
0
0.708709
0
0
0.006171
0
0
0
0
0.00277
0.003003
1
0.039039
false
0
0.021021
0.015015
0.09009
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fa7ef445622742250bd30b58f2eeb1b1ba97d14f
183
py
Python
website/forms.py
ksamuel/smit
a7cf54f2953678804f69182951bbe98214d5c9f6
[ "MIT" ]
null
null
null
website/forms.py
ksamuel/smit
a7cf54f2953678804f69182951bbe98214d5c9f6
[ "MIT" ]
null
null
null
website/forms.py
ksamuel/smit
a7cf54f2953678804f69182951bbe98214d5c9f6
[ "MIT" ]
null
null
null
from django.forms import ModelForm from .models import Settings class SettingsForm(ModelForm): class Meta: model = Settings exclude = ('id', 'active', 'name')
16.636364
42
0.661202
20
183
6.05
0.75
0
0
0
0
0
0
0
0
0
0
0
0.240437
183
10
43
18.3
0.870504
0
0
0
0
0
0.065574
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
fa889b74b7245628083510ed48ce28fb454a0527
292
py
Python
students/k3340/laboratory_works/Nurdinov_Rostislav/laboratory_work_1/conference_engine/conference/admin.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
10
2020-03-20T09:06:12.000Z
2021-07-27T13:06:02.000Z
students/k3340/laboratory_works/Nurdinov_Rostislav/laboratory_work_1/conference_engine/conference/admin.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
134
2020-03-23T09:47:48.000Z
2022-03-12T01:05:19.000Z
students/k3340/laboratory_works/Nurdinov_Rostislav/laboratory_work_1/conference_engine/conference/admin.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
71
2020-03-20T12:45:56.000Z
2021-10-31T19:22:25.000Z
from django.contrib import admin from .models import * admin.site.register(Location) admin.site.register(Conference) admin.site.register(Section) admin.site.register(Speaker) admin.site.register(Lecture) admin.site.register(Speech) admin.site.register(Comment) # Register your models here.
22.461538
32
0.811644
40
292
5.925
0.425
0.265823
0.50211
0
0
0
0
0
0
0
0
0
0.075342
292
12
33
24.333333
0.877778
0.089041
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0
0
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
0
1
0
0
0
0
0
0
3
fab692eddd82765e94d5136049870945eaab87e9
452
py
Python
dpipe/predict/tests/test_functional.py
samokhinv/deep_pipe
9461b02f5f32c3e9f24490619ebccf417979cffc
[ "MIT" ]
38
2017-09-08T04:51:17.000Z
2022-03-29T17:34:22.000Z
dpipe/predict/tests/test_functional.py
samokhinv/deep_pipe
9461b02f5f32c3e9f24490619ebccf417979cffc
[ "MIT" ]
41
2017-09-29T22:06:21.000Z
2021-12-03T09:31:57.000Z
dpipe/predict/tests/test_functional.py
samokhinv/deep_pipe
9461b02f5f32c3e9f24490619ebccf417979cffc
[ "MIT" ]
12
2017-09-08T04:40:39.000Z
2021-01-19T19:19:37.000Z
from dpipe.predict.functional import * def test_chain_decorators(): def append(num): def decorator(func): def wrapper(): return func() + [num] return wrapper return decorator @append(1) @append(2) @append(3) def f(): return [] ...
17.384615
40
0.524336
47
452
4.978723
0.468085
0.128205
0.111111
0.119658
0.179487
0.179487
0
0
0
0
0
0.020478
0.35177
452
25
41
18.08
0.778157
0
0
0
0
0
0
0
0
0
0
0
0.055556
1
0.277778
false
0
0.055556
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fabc83440c421319a5a249333586d96d3ab74d4d
180
py
Python
run.py
yeyintminthuhtut/scoring_engine
679021c00fcab5032078665d17d4b102346347f1
[ "MIT" ]
1
2021-01-11T07:10:42.000Z
2021-01-11T07:10:42.000Z
run.py
yeyintminthuhtut/scoring_engine
679021c00fcab5032078665d17d4b102346347f1
[ "MIT" ]
null
null
null
run.py
yeyintminthuhtut/scoring_engine
679021c00fcab5032078665d17d4b102346347f1
[ "MIT" ]
null
null
null
from scoring_engine.web import app as application if __name__ == '__main__': if application.debug: application.run() else: application.run(host='0.0.0.0')
22.5
49
0.661111
24
180
4.583333
0.666667
0.054545
0.054545
0
0
0
0
0
0
0
0
0.028571
0.222222
180
7
50
25.714286
0.757143
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
0
0
0
0
0
0
3
fad080517ecf09ec4a8c3e425b1088d073fd7d94
319
py
Python
flask_app/tests/test_myapp.py
odysseyhack/pines-and-electronics
82465582fd24bbb249215bdea23ff853fab0b1b4
[ "Apache-2.0" ]
null
null
null
flask_app/tests/test_myapp.py
odysseyhack/pines-and-electronics
82465582fd24bbb249215bdea23ff853fab0b1b4
[ "Apache-2.0" ]
null
null
null
flask_app/tests/test_myapp.py
odysseyhack/pines-and-electronics
82465582fd24bbb249215bdea23ff853fab0b1b4
[ "Apache-2.0" ]
null
null
null
from flask_app.camera.gcp_vision_multi_img import proccess_picture # def test_status(client): # assert client.get('/api/status').data == b"status" # # client.get('/api/snap') # def test_register_in_ocean(client): client.get('/api/register') # def test_process_pictures(): # result = proccess_picture()
29
66
0.717868
44
319
4.931818
0.613636
0.096774
0.165899
0
0
0
0
0
0
0
0
0
0.134796
319
11
67
29
0.786232
0.529781
0
0
0
0
0.090909
0
0
0
0
0
0
1
0.333333
false
0
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
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
fad7cd2725ebf047ccd9dadc546c41e1801922db
190
py
Python
wagtail/documents/tests/utils.py
stevedya/wagtail
52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c
[ "BSD-3-Clause" ]
1
2022-02-09T05:25:30.000Z
2022-02-09T05:25:30.000Z
wagtail/documents/tests/utils.py
stevedya/wagtail
52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c
[ "BSD-3-Clause" ]
null
null
null
wagtail/documents/tests/utils.py
stevedya/wagtail
52e5abfe62547cdfd90ea7dfeb8bf5a52f16324c
[ "BSD-3-Clause" ]
null
null
null
from django.core.files.base import ContentFile def get_test_document_file(): fake_file = ContentFile(b"A boring example document") fake_file.name = "test.txt" return fake_file
23.75
57
0.752632
28
190
4.892857
0.714286
0.175182
0
0
0
0
0
0
0
0
0
0
0.163158
190
7
58
27.142857
0.861635
0
0
0
0
0
0.173684
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
0
0
0
0
1
0
0
3
faee6021777a2f82e738f49da5ca5a5102da766a
718
py
Python
msldap/external/aiocmd/setup.py
zhuby1973/msldap
6ff0566112b965d61c43da1dff61b9b8476dded9
[ "MIT" ]
6
2019-08-20T21:40:28.000Z
2021-05-22T18:45:41.000Z
msldap/external/aiocmd/setup.py
zhuby1973/msldap
6ff0566112b965d61c43da1dff61b9b8476dded9
[ "MIT" ]
3
2020-01-15T17:32:23.000Z
2021-05-22T04:07:42.000Z
msldap/external/aiocmd/setup.py
zhuby1973/msldap
6ff0566112b965d61c43da1dff61b9b8476dded9
[ "MIT" ]
5
2019-08-09T04:03:57.000Z
2020-03-19T10:22:56.000Z
from setuptools import setup, find_packages setup(name='aiocmd', packages=find_packages("."), version='0.1.4', author='Dor Green', author_email='dorgreen1@gmail.com', description='Coroutine-based CLI generator using prompt_toolkit', url='http://github.com/KimiNewt/aiocmd', key...
31.217391
71
0.584958
75
718
5.52
0.666667
0.183575
0.241546
0.251208
0
0
0
0
0
0
0
0.026515
0.264624
718
22
72
32.636364
0.757576
0
0
0
0
0
0.47493
0.029248
0
0
0
0
0
1
0
true
0
0.05
0
0.05
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
faef03dc30912b796e9bba0498ce2118d6cfc21c
2,138
py
Python
home/models.py
dikshaRaj/Diksha
0086d89a39c272670e8e499934d7bea93af438c4
[ "bzip2-1.0.6" ]
null
null
null
home/models.py
dikshaRaj/Diksha
0086d89a39c272670e8e499934d7bea93af438c4
[ "bzip2-1.0.6" ]
8
2019-12-04T23:24:47.000Z
2022-02-10T09:14:21.000Z
home/models.py
dikshaRaj/Diksha
0086d89a39c272670e8e499934d7bea93af438c4
[ "bzip2-1.0.6" ]
null
null
null
from django.db import models import uuid # Create your models here. class Book(models.Model): id = models.UUIDField('Book Id',primary_key=True, default = uuid.uuid4, help_text="generated unique id for book") name = models.CharField(max_length=100, help_text='Book Name',null=True) purchase_date = models.Dat...
44.541667
117
0.703929
291
2,138
4.965636
0.247423
0.0609
0.062284
0.083045
0.576471
0.576471
0.576471
0.576471
0.459516
0.459516
0
0.010567
0.159027
2,138
48
118
44.541667
0.793103
0.108513
0
0.333333
1
0
0.105152
0
0
0
0
0
0
1
0.102564
false
0
0.051282
0.102564
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
faf67d3deadf4abc84d3fd62b8e391e064c99ddf
173
py
Python
Zad_FactoryMethod/BazaDanychOracle.py
Paarzivall/Wzorce-Projektowe
aa4136f140ad02c0fc0de45709b5a01ca42b417f
[ "MIT" ]
null
null
null
Zad_FactoryMethod/BazaDanychOracle.py
Paarzivall/Wzorce-Projektowe
aa4136f140ad02c0fc0de45709b5a01ca42b417f
[ "MIT" ]
null
null
null
Zad_FactoryMethod/BazaDanychOracle.py
Paarzivall/Wzorce-Projektowe
aa4136f140ad02c0fc0de45709b5a01ca42b417f
[ "MIT" ]
null
null
null
from BazaDanych import BazaDanych class BazaDanychOracle(BazaDanych): def WykonajSelect(self, zapytanie): print(f"Oracle\> {zapytanie}\n\tWykonano pomyślnie")
24.714286
60
0.751445
18
173
7.222222
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.150289
173
6
61
28.833333
0.884354
0
0
0
0
0
0.242775
0.132948
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0.25
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
0
0
0
0
0
3
4f08b890e4ed202f05c786143d67462ade8cd06b
40,016
py
Python
MJ_per_SAE_STAT_GRAPH.py
GrantRoss-Tenki/Malawi-CQC-CSC-OSU-Work
a720e0451579945ba10eafdafe2e0d59a86d5cfb
[ "MIT" ]
null
null
null
MJ_per_SAE_STAT_GRAPH.py
GrantRoss-Tenki/Malawi-CQC-CSC-OSU-Work
a720e0451579945ba10eafdafe2e0d59a86d5cfb
[ "MIT" ]
null
null
null
MJ_per_SAE_STAT_GRAPH.py
GrantRoss-Tenki/Malawi-CQC-CSC-OSU-Work
a720e0451579945ba10eafdafe2e0d59a86d5cfb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Mar 17 11:02:24 2022 @author: rossgra """ import numpy as np from numpy.core.fromnumeric import std import pandas as pd import seaborn as sns import matplotlib.pyplot as plt import scipy from scipy.stats import mannwhitneyu import statistics as stat metric = input('SAE or N...
49.159705
230
0.735681
8,082
40,016
3.136105
0.02487
0.055512
0.011047
0.015466
0.920264
0.826915
0.752111
0.659631
0.57228
0.494989
0
0.065897
0.147491
40,016
813
231
49.220172
0.677083
0.041109
0
0.297297
0
0.006757
0.104736
0.008865
0
0
0
0
0
1
0
false
0
0.013514
0
0.013514
0.069257
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
877f631146ad69921013186190b9d5db6822a9f0
1,088
py
Python
build/lib/abp/openai/wrappers/reward_wrapper.py
LinearZoetrope/abp
2459c1b4d77606c1d70715ce8378d738ba102f37
[ "MIT" ]
null
null
null
build/lib/abp/openai/wrappers/reward_wrapper.py
LinearZoetrope/abp
2459c1b4d77606c1d70715ce8378d738ba102f37
[ "MIT" ]
9
2018-11-14T23:35:05.000Z
2019-05-22T18:31:30.000Z
build/lib/abp/openai/wrappers/reward_wrapper.py
Zaerei/abp
2459c1b4d77606c1d70715ce8378d738ba102f37
[ "MIT" ]
1
2018-11-14T22:34:09.000Z
2018-11-14T22:34:09.000Z
from gym import Wrapper import inspect import logging from functools import partial logger = logging.getLogger(__name__) class RewardWrapper(Wrapper): """ Adds support for reward decomposition of the environment. To support reward decompisition the environment has to return reward as a list of dictiona...
29.405405
103
0.67739
133
1,088
5.383459
0.533835
0.104749
0.071229
0
0
0
0
0
0
0
0
0
0.248162
1,088
36
104
30.222222
0.875306
0.448529
0
0
0
0
0.02952
0
0
0
0
0.027778
0
1
0.153846
false
0
0.307692
0
0.615385
0
0
0
0
null
0
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
1
0
0
0
0
0
1
0
1
0
0
3
878d95a107f2258d9e8294a80a09f8cc1dd09451
6,157
py
Python
apps/device/models.py
joewen85/mycmdb
b4855192a92c0a1f28f2af84d4f8cf7b215ff27c
[ "Apache-2.0" ]
2
2019-05-24T03:48:10.000Z
2020-07-01T14:58:31.000Z
apps/device/models.py
joewen85/mycmdb
b4855192a92c0a1f28f2af84d4f8cf7b215ff27c
[ "Apache-2.0" ]
null
null
null
apps/device/models.py
joewen85/mycmdb
b4855192a92c0a1f28f2af84d4f8cf7b215ff27c
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.models import User from django.db import models # Create your models here. class Cloudips(models.Model): """服务器运营商""" cloudipsname = models.CharField(max_length=10, verbose_name="服务器运营商") describe = models.CharField(max_length=10, verbose_name="描述") created_at = models.DateT...
44.615942
118
0.726653
769
6,157
5.572172
0.231469
0.187398
0.126021
0.168028
0.502217
0.392765
0.377363
0.193932
0.144924
0.134656
0
0.017768
0.149911
6,157
137
119
44.941606
0.800917
0.065292
0
0.268041
0
0
0.076587
0
0
0
0
0
0
1
0.061856
false
0.113402
0.020619
0.061856
0.814433
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
87a1011f125122dd3d04b6f8cf1b937e02c1e3dd
171
py
Python
polls/apps.py
lesspointless/Shakal-NG
eee491af94527228735c2bca7644605effd74b37
[ "MIT" ]
null
null
null
polls/apps.py
lesspointless/Shakal-NG
eee491af94527228735c2bca7644605effd74b37
[ "MIT" ]
null
null
null
polls/apps.py
lesspointless/Shakal-NG
eee491af94527228735c2bca7644605effd74b37
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class PollConfig(AppConfig): name = 'polls' verbose_name = 'Ankety'
17.1
39
0.736842
21
171
5.714286
0.809524
0
0
0
0
0
0
0
0
0
0
0.006897
0.152047
171
9
40
19
0.82069
0.122807
0
0
0
0
0.074324
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
87a278be1ccedb0628c9ef1157d19b2e6b3c1e25
293
py
Python
examples/score_info.py
vnpnh/Pyvalo
ca9594ab4eb5620c0c5ef4d0fe0e139353986520
[ "MIT" ]
null
null
null
examples/score_info.py
vnpnh/Pyvalo
ca9594ab4eb5620c0c5ef4d0fe0e139353986520
[ "MIT" ]
null
null
null
examples/score_info.py
vnpnh/Pyvalo
ca9594ab4eb5620c0c5ef4d0fe0e139353986520
[ "MIT" ]
null
null
null
import valorant from valorant.utils.gameplay import enemy_score_info, own_score_info import time custom_config = valorant.config(tesseract=r'D:\Program Files\Tesseract-OCR\tesseract.exe') time.sleep(1) print(enemy_score_info(config=custom_config)) print(own_score_info(config=custom_config))
32.555556
90
0.843003
45
293
5.244444
0.488889
0.152542
0.118644
0.177966
0.228814
0
0
0
0
0
0
0.003623
0.05802
293
9
91
32.555556
0.851449
0
0
0
0
0
0.14966
0.112245
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.285714
0
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
0
0
1
0
0
0
0
3
87c92d8d5da39b66d6ed707eefdf2818509138ec
194
py
Python
mundo1/aula07e.py
dilsonm/CeV
8043be36b2da187065691d23ed5cb40fd65f806f
[ "MIT" ]
null
null
null
mundo1/aula07e.py
dilsonm/CeV
8043be36b2da187065691d23ed5cb40fd65f806f
[ "MIT" ]
null
null
null
mundo1/aula07e.py
dilsonm/CeV
8043be36b2da187065691d23ed5cb40fd65f806f
[ "MIT" ]
null
null
null
#entre com 2 notas e calcule a media n1 = int(input('Entre com a primeira nota : ')) n2 = int(input('Entre com a segun da nota : ')) m = (n1 + n2) / 2 print('A média das notas é: {}'.format(m))
32.333333
47
0.628866
37
194
3.297297
0.594595
0.196721
0.213115
0.262295
0.278689
0
0
0
0
0
0
0.038961
0.206186
194
5
48
38.8
0.753247
0.180412
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
87d94775dfc269bfd5b53a7776fb318972e95d87
413
py
Python
python/code_challenges/insertion_sort/insertion_sort.py
skrambelled/data-structures-and-algorithms
8eb55a75ecedd71433d0994b5128a34a3b1df3d1
[ "MIT" ]
null
null
null
python/code_challenges/insertion_sort/insertion_sort.py
skrambelled/data-structures-and-algorithms
8eb55a75ecedd71433d0994b5128a34a3b1df3d1
[ "MIT" ]
null
null
null
python/code_challenges/insertion_sort/insertion_sort.py
skrambelled/data-structures-and-algorithms
8eb55a75ecedd71433d0994b5128a34a3b1df3d1
[ "MIT" ]
1
2020-11-19T11:01:14.000Z
2020-11-19T11:01:14.000Z
def insertion_sort(the_list): """ In-place list sorting method """ i = 1 while i < len(the_list): elem = the_list[i] sorted_iterator = i-1 while elem < the_list[sorted_iterator] and sorted_iterator >= 0: the_list[sorted_iterator+1] = the_list[sorted_iterator] ...
22.944444
72
0.585956
55
413
4.127273
0.327273
0.215859
0.229075
0.370044
0.352423
0.317181
0.317181
0
0
0
0
0.024823
0.317191
413
17
73
24.294118
0.780142
0.067797
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
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
0
0
0
0
0
0
0
3
87efad2af17b3cd2adfd43bbf0b9f344bb7234ab
1,940
py
Python
notebooks/OtherFiles/test_stats.py
johnnyhchen/EPEtutorials
861910248e0c47619103332897ff2732fc41c5b5
[ "MIT" ]
null
null
null
notebooks/OtherFiles/test_stats.py
johnnyhchen/EPEtutorials
861910248e0c47619103332897ff2732fc41c5b5
[ "MIT" ]
null
null
null
notebooks/OtherFiles/test_stats.py
johnnyhchen/EPEtutorials
861910248e0c47619103332897ff2732fc41c5b5
[ "MIT" ]
null
null
null
from nose.tools import assert_equal, assert_almost_equal, assert_true, \ assert_false, assert_raises, assert_is_instance from stats import mean, median, mode, std, var # mean tests def test_mean1(): obs = mean([0, 0, 0, 0]) exp = 0 assert_equal(obs, exp) obs = mean([0, 200]) exp = 100 ass...
18.130841
72
0.568041
313
1,940
3.386581
0.153355
0.228302
0.277358
0.336792
0.667925
0.658491
0.572642
0.549057
0.521698
0.466981
0
0.088235
0.281443
1,940
106
73
18.301887
0.672166
0.040722
0
0.532468
0
0
0
0
0
0
0
0.009434
0.298701
1
0.142857
false
0
0.025974
0
0.168831
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
87f46acc417d33549fb22fa8d6f6aaf631b6c130
324
py
Python
stellarobservatory/stellarbeat_test.py
andrenarchy/stellar-observatory
0e1f6af4cdacae19248353f902686d8192130436
[ "MIT" ]
14
2019-05-29T09:45:00.000Z
2021-04-22T20:11:15.000Z
stellarobservatory/stellarbeat_test.py
andrenarchy/stellar-observatory
0e1f6af4cdacae19248353f902686d8192130436
[ "MIT" ]
10
2019-05-29T09:47:01.000Z
2020-09-15T20:34:55.000Z
stellarobservatory/stellarbeat_test.py
andrenarchy/stellar-observatory
0e1f6af4cdacae19248353f902686d8192130436
[ "MIT" ]
5
2019-05-29T07:33:02.000Z
2021-11-24T18:46:03.000Z
"""Stellarbeat tests""" from .stellarbeat import get_nodes_from_stellarbeat def test_stellarbeat_nodes(): """Test get_nodes_from_stellarbeat()""" nodes = get_nodes_from_stellarbeat() assert isinstance(nodes, list) for node in nodes: assert isinstance(node, dict) assert 'publicKey' in n...
27
51
0.719136
39
324
5.692308
0.410256
0.27027
0.162162
0.310811
0
0
0
0
0
0
0
0
0.188272
324
11
52
29.454545
0.844106
0.157407
0
0
0
0
0.034351
0
0
0
0
0
0.428571
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
87f61bd36c6c7e6b6a9b160a78c2024ba555ea14
2,125
gyp
Python
binding.gyp
satorumpen/node-pdfium-native
90e5bf8bc69c80620f9f4231ebf8e39ef1178b8c
[ "BSD-2-Clause" ]
69
2015-03-27T14:37:54.000Z
2022-01-05T10:04:01.000Z
binding.gyp
satorumpen/node-pdfium-native
90e5bf8bc69c80620f9f4231ebf8e39ef1178b8c
[ "BSD-2-Clause" ]
15
2015-04-03T02:33:53.000Z
2020-01-28T10:42:29.000Z
binding.gyp
satorumpen/node-pdfium-native
90e5bf8bc69c80620f9f4231ebf8e39ef1178b8c
[ "BSD-2-Clause" ]
21
2015-05-14T12:59:43.000Z
2021-12-11T16:31:21.000Z
{ 'includes': [ './common.gypi' ], 'target_defaults': { 'defines' : [ 'PNG_PREFIX', 'PNGPREFIX_H', 'PNG_USE_READ_MACROS', ], # 'include_dirs': [ # '<(DEPTH)/third_party/pdfium', # '<(DEPTH)/third_party/pdfium/third_party/freetype/include', # ], 'conditions': [ ...
28.333333
79
0.542118
249
2,125
4.285141
0.341365
0.206186
0.179944
0.239925
0.355202
0.308341
0.28866
0
0
0
0
0.021583
0.280471
2,125
74
80
28.716216
0.676259
0.095059
0
0.220588
0
0
0.580763
0.392054
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
35527caa2b6732da28ddfecea002370d0e3ec4b8
287
py
Python
sshserveraudit/controller/abstract.py
zwiazeksyndykalistowpolski/ssh-server-audit
b493f3ea6117d9567310857cdf567c159f848cf8
[ "Apache-2.0" ]
2
2018-11-13T17:05:26.000Z
2019-04-14T08:07:02.000Z
sshserveraudit/controller/abstract.py
zwiazeksyndykalistowpolski/ssh-server-audit
b493f3ea6117d9567310857cdf567c159f848cf8
[ "Apache-2.0" ]
4
2018-11-05T06:31:22.000Z
2019-02-10T16:19:23.000Z
sshserveraudit/controller/abstract.py
zwiazeksyndykalistowpolski/ssh-server-audit
b493f3ea6117d9567310857cdf567c159f848cf8
[ "Apache-2.0" ]
null
null
null
from ..entity.host import Node class AbstractLoopController: configured_nodes = {} # type: dict[Node] def __init__(self, configured_volumes: dict): self.configured_nodes = configured_volumes @staticmethod def perform_check(node: Node) -> bool: pass
20.5
50
0.689895
31
287
6.096774
0.645161
0.15873
0
0
0
0
0
0
0
0
0
0
0.222997
287
13
51
22.076923
0.847534
0.055749
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.125
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
35618eee2c4b532209dc3ab971e134b0988be776
517
py
Python
thinc/neural/__init__.py
EnjoyLifeFund/py36pkgs
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
thinc/neural/__init__.py
EnjoyLifeFund/py36pkgs
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
thinc/neural/__init__.py
EnjoyLifeFund/py36pkgs
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
from ._classes.model import Model from ._classes.affine import Affine from ._classes.relu import ReLu from ._classes.softmax import Softmax from ._classes.elu import ELU from ._classes.maxout import Maxout from ._classes.embed import Embed from ._classes.static_vectors import StaticVectors #from ._classes.embed impor...
30.411765
50
0.829787
69
517
6
0.333333
0.318841
0.077295
0.10628
0
0
0
0
0
0
0
0
0.110251
517
16
51
32.3125
0.9
0.323017
0
0
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
357769ad55f826125a15326f5ebecefb6630c6b4
1,792
py
Python
tests/test_sets.py
r2evans/rediserver
329c24f3f57c99b00c25e89387790038c328ed1b
[ "MIT" ]
28
2018-02-13T12:45:00.000Z
2022-03-16T04:27:07.000Z
tests/test_sets.py
r2evans/rediserver
329c24f3f57c99b00c25e89387790038c328ed1b
[ "MIT" ]
1
2018-02-16T09:56:50.000Z
2018-02-16T09:56:50.000Z
tests/test_sets.py
r2evans/rediserver
329c24f3f57c99b00c25e89387790038c328ed1b
[ "MIT" ]
2
2018-08-12T12:50:23.000Z
2019-05-10T16:16:49.000Z
import pytest from redis.exceptions import ResponseError def test_add(redis): client = redis.ext.client assert client.sadd('test_key1', 10) == 1 assert redis.dict == {b'test_key1': {b'10'}} def test_add_multiple(redis): client = redis.ext.client assert client.sadd('test_key1', 10, 11) == 2 a...
25.239437
66
0.646205
269
1,792
4.167286
0.144981
0.149866
0.128457
0.152542
0.820696
0.772525
0.77074
0.639607
0.603033
0.513827
0
0.051831
0.192522
1,792
71
67
25.239437
0.722875
0
0
0.469388
0
0
0.133296
0
0
0
0
0
0.326531
1
0.183673
false
0
0.040816
0
0.22449
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3580ac82d171260f7ba3546746c7eb16ebc44c94
612
bzl
Python
source/bazel/deps/buildfarm/get.bzl
luxe/unilang
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/bazel/deps/buildfarm/get.bzl
luxe/unilang
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/bazel/deps/buildfarm/get.bzl
luxe/unilang
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
# Do not edit this file directly. # It was auto-generated by: code/programs/reflexivity/reflexive_refresh load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def buildfarm(): http_archive( name="buildfarm" , build_file="//bazel/deps/buildfarm:build.BUILD" , sha256="de2a18...
36
113
0.718954
58
612
7.465517
0.706897
0.050808
0
0
0
0
0
0
0
0
0
0.166994
0.168301
612
16
114
38.25
0.683694
0.165033
0
0
1
0
0.624016
0.389764
0
0
0
0
0
1
0.090909
true
0
0
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
359b88d74a1e486fc0a836a15b483bf67c80bb0d
1,252
py
Python
slash/reporting/reporter_interface.py
omergertel/slash
7dd5710a05822bbbaadc6c6517cefcbaa6397eab
[ "BSD-3-Clause" ]
null
null
null
slash/reporting/reporter_interface.py
omergertel/slash
7dd5710a05822bbbaadc6c6517cefcbaa6397eab
[ "BSD-3-Clause" ]
null
null
null
slash/reporting/reporter_interface.py
omergertel/slash
7dd5710a05822bbbaadc6c6517cefcbaa6397eab
[ "BSD-3-Clause" ]
null
null
null
class ReporterInterface(object): def notify_before_console_output(self): pass def notify_after_console_output(self): pass def report_session_start(self, session): pass def report_session_end(self, session): pass def report_file_start(self, filename): pass...
22.763636
53
0.634185
154
1,252
4.863636
0.207792
0.121495
0.208278
0.136182
0.377837
0.124166
0.124166
0
0
0
0
0
0.28754
1,252
54
54
23.185185
0.839686
0
0
0.358974
0
0
0
0
0
0
0
0
0.025641
1
0.384615
false
0.358974
0
0
0.410256
0
0
0
0
null
0
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
0
0
0
0
0
3
35a6d0f5162090af5143cd194d923e57d1d9678d
3,124
py
Python
autobahn/wamp/gen/wamp/proto/PublisherFeatures.py
rapyuta-robotics/autobahn-python
c08e9e352d526a7fd0885bb94706366a432ada1a
[ "MIT" ]
1,670
2015-10-12T15:46:22.000Z
2022-03-30T22:12:53.000Z
autobahn/wamp/gen/wamp/proto/PublisherFeatures.py
rapyuta-robotics/autobahn-python
c08e9e352d526a7fd0885bb94706366a432ada1a
[ "MIT" ]
852
2015-10-16T22:11:03.000Z
2022-03-27T07:57:01.000Z
autobahn/wamp/gen/wamp/proto/PublisherFeatures.py
rapyuta-robotics/autobahn-python
c08e9e352d526a7fd0885bb94706366a432ada1a
[ "MIT" ]
790
2015-10-15T08:46:12.000Z
2022-03-30T12:22:13.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: proto import flatbuffers class PublisherFeatures(object): __slots__ = ['_tab'] @classmethod def GetRootAsPublisherFeatures(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) ...
44
149
0.736236
319
3,124
7.07837
0.22884
0.058902
0.116918
0.058459
0.405669
0.405669
0.405669
0.405669
0.405669
0.405669
0
0.010819
0.171575
3,124
70
150
44.628571
0.861669
0.066901
0
0.367347
1
0
0.001377
0
0
0
0
0
0
1
0.326531
false
0
0.020408
0.020408
0.653061
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
35ab6bb46d5ea3a3428510a20d49d4e18ba330d8
93
py
Python
setup.py
CerealBoxMedia/chunked_media
324d9b7d76323fa1ca5296d733b82dc5ab5f98c0
[ "BSD-2-Clause" ]
null
null
null
setup.py
CerealBoxMedia/chunked_media
324d9b7d76323fa1ca5296d733b82dc5ab5f98c0
[ "BSD-2-Clause" ]
null
null
null
setup.py
CerealBoxMedia/chunked_media
324d9b7d76323fa1ca5296d733b82dc5ab5f98c0
[ "BSD-2-Clause" ]
null
null
null
from setuptools import setup setup( install_requires = [ 'wagtail>=2.2', ] )
13.285714
28
0.591398
10
93
5.4
0.8
0
0
0
0
0
0
0
0
0
0
0.030303
0.290323
93
7
29
13.285714
0.787879
0
0
0
0
0
0.12766
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
0
0
0
0
0
0
3
35b7a9f37db695d8601da7acb4cafce29b1e1fba
121
py
Python
Modulo 2/Lista06/6.py
BelfortJoao/Programacao-1
2d463744379ad3e4b0f5882ad923aae7ff80197a
[ "MIT" ]
2
2021-08-17T14:02:13.000Z
2021-08-19T02:37:28.000Z
Modulo 2/Lista06/6.py
BelfortJoao/Programacao-1
2d463744379ad3e4b0f5882ad923aae7ff80197a
[ "MIT" ]
null
null
null
Modulo 2/Lista06/6.py
BelfortJoao/Programacao-1
2d463744379ad3e4b0f5882ad923aae7ff80197a
[ "MIT" ]
1
2021-09-05T20:18:45.000Z
2021-09-05T20:18:45.000Z
n = int(input("Qual o tamanho do vetor?")) x = [int(input()) for x in range(n)] for i in range(0, n, 2): print(x[i])
24.2
42
0.578512
26
121
2.692308
0.615385
0.228571
0
0
0
0
0
0
0
0
0
0.020833
0.206612
121
4
43
30.25
0.708333
0
0
0
0
0
0.198347
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
0
0
0
0
0
3
35b83d6804fa9ceddca70f6c9a575d60a1166523
955
py
Python
Examples/AppKit/CocoaBindings/ControlledPreferences/FontNameToDisplayNameTransformer.py
Khan/pyobjc-framework-Cocoa
f8b015ea2a72d8d78be6084fb12925c4785b8f1f
[ "MIT" ]
132
2015-01-01T10:02:42.000Z
2022-03-09T12:51:01.000Z
mac/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/ControlledPreferences/FontNameToDisplayNameTransformer.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
6
2015-01-06T08:23:19.000Z
2019-03-14T12:22:06.000Z
mac/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/ControlledPreferences/FontNameToDisplayNameTransformer.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
27
2015-02-23T11:51:43.000Z
2022-03-07T02:34:18.000Z
# # FontNameToDisplayNameTransformer.py # ControlledPreferences # # Converted by u.fiedler on 04.02.05. # with great help from Bob Ippolito - Thank you Bob! # # The original version was written in Objective-C by Malcolm Crawford # at http://homepage.mac.com/mmalc/CocoaExamples/controllers.html from Foundation im...
31.833333
74
0.748691
104
955
6.846154
0.711538
0.025281
0
0
0
0
0
0
0
0
0
0.010283
0.18534
955
29
75
32.931034
0.904884
0.433508
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.166667
0.916667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
35bf440f5db6992617f0af44c679da91411cdc46
314
py
Python
source/ex12.py
aurelo/lphw
8e1ecddc52a7c91fd0f53d4174c1079c63a10a81
[ "MIT" ]
null
null
null
source/ex12.py
aurelo/lphw
8e1ecddc52a7c91fd0f53d4174c1079c63a10a81
[ "MIT" ]
null
null
null
source/ex12.py
aurelo/lphw
8e1ecddc52a7c91fd0f53d4174c1079c63a10a81
[ "MIT" ]
null
null
null
''' Already did exercise refactoring in file ex11 pydoc => module that automatically generates documentation from Python modules Usage on this file in windows, assuming file is on path, or you're in the same dir: python -m pydoc ex12 ''' def dummy(): """ function documentation """ print "dummy"
22.428571
83
0.713376
44
314
5.090909
0.795455
0
0
0
0
0
0
0
0
0
0
0.016129
0.210191
314
13
84
24.153846
0.887097
0
0
0
1
0
0.131579
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
35ca4b460f265963556c34b0a78ea63661c41efd
759
py
Python
sleap/__init__.py
Tyelab/sleap
67b4b3e762571e70beadf940a64ed62d9481dafe
[ "BSD-3-Clause-Clear" ]
null
null
null
sleap/__init__.py
Tyelab/sleap
67b4b3e762571e70beadf940a64ed62d9481dafe
[ "BSD-3-Clause-Clear" ]
null
null
null
sleap/__init__.py
Tyelab/sleap
67b4b3e762571e70beadf940a64ed62d9481dafe
[ "BSD-3-Clause-Clear" ]
null
null
null
import logging import sys # Setup logging to stdout logging.basicConfig(stream=sys.stdout, level=logging.INFO) # Import submodules we want available at top-level from sleap.version import __version__, versions from sleap.io.dataset import Labels, load_file from sleap.io.video import Video, load_video from sleap.inst...
34.5
75
0.839262
114
759
5.473684
0.421053
0.173077
0.123397
0.054487
0.073718
0
0
0
0
0
0
0
0.108037
759
21
76
36.142857
0.921713
0.094862
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.9375
0
0.9375
0
0
0
0
null
0
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
0
1
0
1
0
0
3
35cc3dd135149af2098bb42e7ac3102a5e2dce14
137
py
Python
Medical-Record-Managment-System/notifications/urls.py
AtluriNikhil/College_Projects
23fa5d05e3c93691faa618a22fca858ba030ee5d
[ "Apache-2.0" ]
null
null
null
Medical-Record-Managment-System/notifications/urls.py
AtluriNikhil/College_Projects
23fa5d05e3c93691faa618a22fca858ba030ee5d
[ "Apache-2.0" ]
null
null
null
Medical-Record-Managment-System/notifications/urls.py
AtluriNikhil/College_Projects
23fa5d05e3c93691faa618a22fca858ba030ee5d
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('remainder/', views.notification,name='blog-notifications'), ]
22.833333
69
0.737226
16
137
6.3125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.131387
137
6
70
22.833333
0.84874
0
0
0
0
0
0.202899
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
0
0
1
0
0
0
0
3
ea23fdc25062e17a9ab20e8fc93b5205665b4662
174
py
Python
tests/step_1_unit/test_app.py
logikal-code/pyorbs
f43d15efd957c9b3fa68fde64ceab3c54f3016e7
[ "MIT" ]
7
2019-07-19T15:14:56.000Z
2019-07-31T01:57:41.000Z
tests/step_1_unit/test_app.py
logikal-code/pyorbs
f43d15efd957c9b3fa68fde64ceab3c54f3016e7
[ "MIT" ]
2
2019-09-16T07:29:42.000Z
2020-05-15T13:19:52.000Z
tests/step_1_unit/test_app.py
wbrp/pyorbs
f43d15efd957c9b3fa68fde64ceab3c54f3016e7
[ "MIT" ]
null
null
null
from pyorbs.app import main def test_keyboard_interrupt(mocker): mocker.patch('pyorbs.orbs.Orbs.list', side_effect=KeyboardInterrupt) assert main(args=['-l']) == 1
24.857143
72
0.735632
24
174
5.208333
0.833333
0
0
0
0
0
0
0
0
0
0
0.006579
0.126437
174
6
73
29
0.815789
0
0
0
0
0
0.132184
0.12069
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
ea468d39aa2592702058269c9e67946975d6af2c
514
py
Python
class_composition.py
nitinkumar0108/oops
73302b6fd230fa90ecb5f0981483c2991f05c4b4
[ "Apache-2.0" ]
1
2021-12-12T18:40:04.000Z
2021-12-12T18:40:04.000Z
class_composition.py
nitinkumar0108/oops
73302b6fd230fa90ecb5f0981483c2991f05c4b4
[ "Apache-2.0" ]
null
null
null
class_composition.py
nitinkumar0108/oops
73302b6fd230fa90ecb5f0981483c2991f05c4b4
[ "Apache-2.0" ]
null
null
null
#counter part of inheritance #inheritance means by this program- a bookself is a book #composition is - class Bookself: def __init__(self, *books): self.books=books def __str__(self): return f"Bookself with {len(self.books)} books." class Book: def __init__(self...
22.347826
57
0.618677
66
514
4.575758
0.454545
0.089404
0.072848
0.10596
0.112583
0
0
0
0
0
0
0.005362
0.274319
514
23
58
22.347826
0.80429
0.190661
0
0.142857
0
0
0.184143
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ea4cd3c26b422f73d8dc31f27b28df537a403e0c
308
py
Python
consensus/apps/user/views.py
OmidFarvid/Application-consensus
546e00991601e5da25ff3f6b4927379f2daec60b
[ "MIT" ]
null
null
null
consensus/apps/user/views.py
OmidFarvid/Application-consensus
546e00991601e5da25ff3f6b4927379f2daec60b
[ "MIT" ]
null
null
null
consensus/apps/user/views.py
OmidFarvid/Application-consensus
546e00991601e5da25ff3f6b4927379f2daec60b
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.views import View class IndexView(View): def get(self, request, *args, **kwargs): return redirect('/static/index.html') class LoginView(View): def get(self, request, *args, **kwargs): return redirect('/static/index.html')
23.692308
45
0.688312
39
308
5.435897
0.538462
0.09434
0.09434
0.132075
0.566038
0.566038
0.566038
0.566038
0.566038
0.566038
0
0
0.178571
308
12
46
25.666667
0.837945
0
0
0.5
0
0
0.116883
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ea7a68e4009501e5937a4720cb48410ff4dcd159
281
py
Python
sphecius/__init__.py
douglasdaly/sphecius
df8fc8dd2add157c6360c2b66cb22ac6f0241051
[ "MIT" ]
1
2019-09-26T01:08:20.000Z
2019-09-26T01:08:20.000Z
sphecius/__init__.py
douglasdaly/sphecius
df8fc8dd2add157c6360c2b66cb22ac6f0241051
[ "MIT" ]
null
null
null
sphecius/__init__.py
douglasdaly/sphecius
df8fc8dd2add157c6360c2b66cb22ac6f0241051
[ "MIT" ]
1
2019-09-26T01:08:19.000Z
2019-09-26T01:08:19.000Z
# # Imports # from . import alphabets from . import ciphers from . import cryptanalysis from . import translators from . import data from .string_helpers import * # # All Setup # __all__ = [ 'alphabets', 'ciphers', 'cryptanalysis', 'translators', 'data' ]
13.380952
29
0.654804
28
281
6.392857
0.428571
0.27933
0
0
0
0
0
0
0
0
0
0
0.238434
281
20
30
14.05
0.836449
0.067616
0
0
0
0
0.173913
0
0
0
0
0
0
1
0
false
0
0.461538
0
0.461538
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
0
0
1
0
0
0
0
3