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
eb17db18c86e7c4482e8f7884c401e5493fe78c7
804
py
Python
wtss_plugin/controller/config.py
AbnerErnaniADSFatec/wtss-qgis
358d2d796b9a4f7b0a7991c73d76defef93d7e1e
[ "MIT" ]
1
2020-09-21T14:52:36.000Z
2020-09-21T14:52:36.000Z
wtss_plugin/controller/config.py
AbnerErnaniADSFatec/wtss-qgis
358d2d796b9a4f7b0a7991c73d76defef93d7e1e
[ "MIT" ]
28
2020-07-02T20:52:48.000Z
2021-04-13T21:09:39.000Z
wtss_plugin/controller/config.py
AbnerErnaniADSFatec/wtss-qgis
358d2d796b9a4f7b0a7991c73d76defef93d7e1e
[ "MIT" ]
3
2020-04-22T19:49:17.000Z
2020-09-04T20:33:03.000Z
""" WTSS QGIS Plugin. Python Client Library for Web Time Series Service. Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/. ------------------- begin : 2019-05-04 git sha : $Format:%H$ copyright : (C) 2020 by INPE email ...
27.724138
106
0.643035
109
804
4.688073
0.770642
0.039139
0
0
0
0
0
0
0
0
0
0.021667
0.253731
804
28
107
28.714286
0.83
0.856965
0
0
1
0
0
0
0
0
0
0
0
1
0
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
1
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
eb2114e4248154a92a9a75dc63329d27d402531f
229
py
Python
comprobo_final_project/scripts/simulator/twist.py
comprobo-final-project/genetic_racer
edf5d3a6f2a99aa8138962dc880341285f73530e
[ "MIT" ]
null
null
null
comprobo_final_project/scripts/simulator/twist.py
comprobo-final-project/genetic_racer
edf5d3a6f2a99aa8138962dc880341285f73530e
[ "MIT" ]
null
null
null
comprobo_final_project/scripts/simulator/twist.py
comprobo-final-project/genetic_racer
edf5d3a6f2a99aa8138962dc880341285f73530e
[ "MIT" ]
null
null
null
""" Custom made Twist message attribute for simulation """ from vector_3 import Vector3 from quaternion import Quaternion class Twist: def __init__(self): self.linear = Vector3() self.angular = Vector3()
15.266667
50
0.694323
27
229
5.703704
0.703704
0
0
0
0
0
0
0
0
0
0
0.022599
0.227074
229
14
51
16.357143
0.847458
0.218341
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
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
eb2b5344689752397814630421a510d290e7465d
2,537
py
Python
wepy/walker.py
fabian-paul/wepy
3a470f364a5ffbefcdb5d17a12cd08d90f4944e4
[ "MIT" ]
null
null
null
wepy/walker.py
fabian-paul/wepy
3a470f364a5ffbefcdb5d17a12cd08d90f4944e4
[ "MIT" ]
null
null
null
wepy/walker.py
fabian-paul/wepy
3a470f364a5ffbefcdb5d17a12cd08d90f4944e4
[ "MIT" ]
null
null
null
import random as rand def split(walker, number=2): # calculate the weight of all child walkers split uniformly split_prob = walker.weight / (number) # make the clones clones = [] for i in range(number): clones.append(type(walker)(walker.state, split_prob)) return clones def keep_merge...
29.5
75
0.671659
358
2,537
4.631285
0.25419
0.043426
0.027141
0.032569
0.361882
0.361882
0.291918
0.247286
0.247286
0.20386
0
0.006299
0.249113
2,537
85
76
29.847059
0.864042
0.348049
0
0.195122
0
0
0
0
0
0
0
0.011765
0
1
0.243902
false
0
0.02439
0.073171
0.512195
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
de1c9da007a976102a8009f6fa0d967c89f28b6b
233
py
Python
Chapter3/lesson20/eto_remove2.py
beproud/yasashiipython2e
00afb264ec8428b0149ac12854c8e11c30bee338
[ "MIT" ]
null
null
null
Chapter3/lesson20/eto_remove2.py
beproud/yasashiipython2e
00afb264ec8428b0149ac12854c8e11c30bee338
[ "MIT" ]
2
2020-08-03T02:31:35.000Z
2020-08-03T03:02:25.000Z
Chapter3/lesson20/eto_remove2.py
beproud/yasashiipython2e
00afb264ec8428b0149ac12854c8e11c30bee338
[ "MIT" ]
null
null
null
eto_list = ['子', '丑', '寅', '卯', '辰', '巳', '午', '未', '申', '酉', '戌', '亥'] eto_name = eto_list[1] print('remove()実行前の干支リスト1番は', eto_name, 'です。') eto_list.remove('丑') eto_name = eto_list[1] print('remove()実行後の干支リスト1番は', eto_name, 'です。')
33.285714
71
0.579399
40
233
3.175
0.525
0.220472
0.15748
0.220472
0.409449
0.409449
0.409449
0
0
0
0
0.019417
0.11588
233
6
72
38.833333
0.597087
0
0
0.333333
0
0
0.253219
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
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
0
0
0
0
3
de1e8537af02b2049a1cd2d12a27404c8514fbff
232
py
Python
init.py
buckket/kc_stats
11220460f9b3a5ee6ade7f2b7285699fd8734c0d
[ "WTFPL" ]
null
null
null
init.py
buckket/kc_stats
11220460f9b3a5ee6ade7f2b7285699fd8734c0d
[ "WTFPL" ]
null
null
null
init.py
buckket/kc_stats
11220460f9b3a5ee6ade7f2b7285699fd8734c0d
[ "WTFPL" ]
null
null
null
#!/usr/bin/env python3 from database import create_tables, add_imageboards data = { 'krautchan': [ 'b', 'int', 'vip' ] } if __name__ == '__main__': create_tables() add_imageboards(data)
12.210526
51
0.568966
24
232
5
0.791667
0.2
0.25
0.433333
0.5
0
0
0
0
0
0
0.006135
0.297414
232
18
52
12.888889
0.730061
0.090517
0
0
0
0
0.114286
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
de43d95fb8f1d98dbc435ffba5ec555f054721fe
612
py
Python
tictactoepy/player_class.py
clausserg/tictactoepy
f4a0ac217f398d724f70670f94f4f81b0f814b94
[ "BSD-3-Clause" ]
null
null
null
tictactoepy/player_class.py
clausserg/tictactoepy
f4a0ac217f398d724f70670f94f4f81b0f814b94
[ "BSD-3-Clause" ]
null
null
null
tictactoepy/player_class.py
clausserg/tictactoepy
f4a0ac217f398d724f70670f94f4f81b0f814b94
[ "BSD-3-Clause" ]
null
null
null
""" Module: player_class.py This module contains the Player class implementation for the tictactoe game! """ class Player: def __init__(self, name, xorzero): self.name = name self.xorzero = xorzero self.rounds_won = 0 # a dunder to print name of this player def __str__(self): ...
23.538462
76
0.607843
82
612
4.365854
0.402439
0.150838
0.181564
0.078212
0.111732
0
0
0
0
0
0
0.009195
0.289216
612
25
77
24.48
0.813793
0.276144
0
0
0
0
0.076037
0
0
0
0
0
0
1
0.230769
false
0
0
0
0.538462
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
0
0
0
1
0
0
3
de601beed3b92b2a4d32bcbdd3c6aedffef3c630
361
py
Python
nagare/services/gcloud/gevent_patch.py
nagareproject/services-gcloud-pubsub
51b317439e57b9cd94c67e87fecd1cd252eaf4fd
[ "BSD-3-Clause" ]
null
null
null
nagare/services/gcloud/gevent_patch.py
nagareproject/services-gcloud-pubsub
51b317439e57b9cd94c67e87fecd1cd252eaf4fd
[ "BSD-3-Clause" ]
null
null
null
nagare/services/gcloud/gevent_patch.py
nagareproject/services-gcloud-pubsub
51b317439e57b9cd94c67e87fecd1cd252eaf4fd
[ "BSD-3-Clause" ]
null
null
null
# Encoding: utf-8 # -- # Copyright (c) 2008-2021 Net-ng. # All rights reserved. # # This software is licensed under the BSD License, as described in # the file LICENSE.txt, which you should have received as part of # this distribution. # -- from nagare import gevent_patch # noqa: F401 import grpc.experimental.geven...
22.5625
66
0.745152
53
361
5.037736
0.811321
0.11985
0.164794
0
0
0
0
0
0
0
0
0.039604
0.160665
361
15
67
24.066667
0.841584
0.645429
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
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
0
1
0
1
0
1
0
0
3
de93c0f5fca890c3672cd5f338aa5003f80a3d6c
19
py
Python
__init__.py
wholewheattoast/quickshot
ef8d494f2ff2e486a270232e66fb96b48b3ee102
[ "Apache-2.0" ]
null
null
null
__init__.py
wholewheattoast/quickshot
ef8d494f2ff2e486a270232e66fb96b48b3ee102
[ "Apache-2.0" ]
3
2021-02-04T01:26:00.000Z
2021-02-04T23:01:56.000Z
__init__.py
wholewheattoast/quickshot
ef8d494f2ff2e486a270232e66fb96b48b3ee102
[ "Apache-2.0" ]
null
null
null
name = "quickshot"
9.5
18
0.684211
2
19
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.8125
0
0
0
0
0
0.473684
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
dea72a2415ebde3131fdf5474de0ebd8b29a1b4f
3,857
py
Python
test/unit/agent/data/configd.py
dp92987/nginx-amplify-agent
1b2eed6eab52a82f35974928d75044451b4bedaf
[ "BSD-2-Clause" ]
308
2015-11-17T13:15:33.000Z
2022-03-24T12:03:40.000Z
test/unit/agent/data/configd.py
dp92987/nginx-amplify-agent
1b2eed6eab52a82f35974928d75044451b4bedaf
[ "BSD-2-Clause" ]
211
2015-11-16T15:27:41.000Z
2022-03-28T16:20:15.000Z
test/unit/agent/data/configd.py
dp92987/nginx-amplify-agent
1b2eed6eab52a82f35974928d75044451b4bedaf
[ "BSD-2-Clause" ]
80
2015-11-16T18:20:30.000Z
2022-03-02T12:47:56.000Z
# -*-# -*- coding: utf-8 -*- import time from hamcrest import * from amplify.agent.objects.system.object import SystemObject from test.base import BaseTestCase __author__ = 'Arie van Luttikhuizen' __copyright__ = 'Copyright (C) Nginx, Inc. All rights reserved.' __license__ = '' __maintainer__ = 'Arie van Luttikhuize...
54.323944
116
0.693026
565
3,857
4.477876
0.219469
0.126482
0.171542
0.166008
0.685771
0.667589
0.667589
0.667589
0.667589
0.667589
0
0.028885
0.174229
3,857
70
117
55.1
0.765463
0.196785
0
0.666667
0
0
0.112987
0
0
0
0
0
0.411765
1
0.019608
false
0
0.078431
0
0.117647
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
dea7d457ff27aee720f5f9e2e1a96e8d31207791
195
py
Python
08_classesI/Example.py
felipemlrt/begginer-python-exercises
2a4627bb59f0834c2ea2d33b8ce18cb0f22709dc
[ "MIT" ]
null
null
null
08_classesI/Example.py
felipemlrt/begginer-python-exercises
2a4627bb59f0834c2ea2d33b8ce18cb0f22709dc
[ "MIT" ]
null
null
null
08_classesI/Example.py
felipemlrt/begginer-python-exercises
2a4627bb59f0834c2ea2d33b8ce18cb0f22709dc
[ "MIT" ]
1
2020-10-01T06:55:59.000Z
2020-10-01T06:55:59.000Z
class basic_math: def sum(x, y): return x + y def subtract(x,y): return x - y def multiply(x, y): return x * y if __name__ == "__main"": bm = basic_math() print(bm.sum(5,5))
13.928571
26
0.579487
35
195
3
0.457143
0.114286
0.228571
0.257143
0.342857
0.247619
0
0
0
0
0
0.013889
0.261538
195
13
27
15
0.715278
0
0
0
0
0
0.030769
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1
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
1
0
0
0
0
0
0
0
0
3
dedec19f6bdad8e97a2f3e238cf1ea884854a1a4
350
py
Python
app/app/tests.py
yunishimura0716/recipe
4f1b3f5e7f8c3b6cb3b84146ea67d63698fddc5f
[ "MIT" ]
null
null
null
app/app/tests.py
yunishimura0716/recipe
4f1b3f5e7f8c3b6cb3b84146ea67d63698fddc5f
[ "MIT" ]
null
null
null
app/app/tests.py
yunishimura0716/recipe
4f1b3f5e7f8c3b6cb3b84146ea67d63698fddc5f
[ "MIT" ]
null
null
null
from django.test import TestCase from app.calc import add, sub class CalcTests(TestCase): def test_add_numbers(self): """Test that two nubmers are added together""" self.assertEqual(add(3, 8), 11) def test_sub_nubmer(self): """Subtract that two numbers are added together""" se...
26.923077
58
0.668571
50
350
4.6
0.56
0.06087
0.13913
0.173913
0.269565
0
0
0
0
0
0
0.029412
0.222857
350
12
59
29.166667
0.816176
0.242857
0
0
0
0
0
0
0
0
0
0
0.285714
1
0.285714
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
def2748c0e7bba7d2df4b5323c8f8e7f031aad9c
177
py
Python
gateway/config.py
harsha-bhat/docker-gateway
bf1dde9937ba2f3dbe13d4c985b113655d332437
[ "MIT" ]
null
null
null
gateway/config.py
harsha-bhat/docker-gateway
bf1dde9937ba2f3dbe13d4c985b113655d332437
[ "MIT" ]
null
null
null
gateway/config.py
harsha-bhat/docker-gateway
bf1dde9937ba2f3dbe13d4c985b113655d332437
[ "MIT" ]
null
null
null
import yaml def load_config(path): """Parse YAML config file""" with open(path, "r") as f: config = yaml.load(f, Loader=yaml.FullLoader) return config
19.666667
53
0.621469
25
177
4.36
0.64
0
0
0
0
0
0
0
0
0
0
0
0.254237
177
8
54
22.125
0.825758
0.124294
0
0
0
0
0.006711
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
defbc76a7934ea5683677db2b4c5b2afd5f2f40a
476
py
Python
cart/cart_exceptions.py
cyrildzumts/django-cart
5ad438e8f3592e7ea1e605c70a18ee8fdd6e1853
[ "BSD-3-Clause" ]
null
null
null
cart/cart_exceptions.py
cyrildzumts/django-cart
5ad438e8f3592e7ea1e605c70a18ee8fdd6e1853
[ "BSD-3-Clause" ]
null
null
null
cart/cart_exceptions.py
cyrildzumts/django-cart
5ad438e8f3592e7ea1e605c70a18ee8fdd6e1853
[ "BSD-3-Clause" ]
null
null
null
class QuantityError(Exception): def __init__(self, available, value): self.message = "Quantity Error.\n\ Quantity Available = %d\n\ Quantity Requested %d\n" % (available, value) def __str__(self): return self.message class ProductNotAvailableError(Exception): def ...
26.444444
73
0.647059
53
476
5.471698
0.433962
0.151724
0.110345
0.137931
0.186207
0.186207
0
0
0
0
0
0
0.252101
476
17
74
28
0.814607
0
0
0.333333
0
0
0.065263
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
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
0
1
1
0
0
3
720a58d0cb3fbb8ff4169baa38cb4eaebf9cdd3d
93
py
Python
project/posts/apps.py
rchdlps/django-docker
2c12732264c1f17cd62e20927b5956db498c30b7
[ "MIT" ]
null
null
null
project/posts/apps.py
rchdlps/django-docker
2c12732264c1f17cd62e20927b5956db498c30b7
[ "MIT" ]
null
null
null
project/posts/apps.py
rchdlps/django-docker
2c12732264c1f17cd62e20927b5956db498c30b7
[ "MIT" ]
null
null
null
from django.apps import AppConfig class PostsConfig(AppConfig): name = 'project.posts'
15.5
33
0.752688
11
93
6.363636
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.897436
0
0
0
0
0
0.139785
0
0
0
0
0
0
1
0
false
0
0.333333
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
7251949db9af2745377c120c5bde6ab816ab55c3
135
py
Python
src/ticker_tape/util/timer.py
MingWood/ticker_tape
0faa03aee7fdbdbcc15318578e37ab61fbcec1c8
[ "MIT" ]
null
null
null
src/ticker_tape/util/timer.py
MingWood/ticker_tape
0faa03aee7fdbdbcc15318578e37ab61fbcec1c8
[ "MIT" ]
null
null
null
src/ticker_tape/util/timer.py
MingWood/ticker_tape
0faa03aee7fdbdbcc15318578e37ab61fbcec1c8
[ "MIT" ]
null
null
null
import time class Timer(object): @classmethod def get_current_epoch_ms(cls, tz=None): return int(time.time()) * 1000
16.875
43
0.666667
19
135
4.578947
0.894737
0
0
0
0
0
0
0
0
0
0
0.038095
0.222222
135
7
44
19.285714
0.790476
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.8
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
1
0
0
0
3
a0da129b43b1fa1dc48ed4807a7fab9505158b51
187
py
Python
mysite/mysite/blogPageView.py
urmyfaith/NotesOfDjangoBook
0c191d17135be66b3a06cb9c36d802d04835c267
[ "Apache-2.0" ]
8
2015-08-27T07:51:40.000Z
2019-01-20T16:15:20.000Z
mysite/mysite/blogPageView.py
urmyfaith/NotesOfDjangoBook
0c191d17135be66b3a06cb9c36d802d04835c267
[ "Apache-2.0" ]
null
null
null
mysite/mysite/blogPageView.py
urmyfaith/NotesOfDjangoBook
0c191d17135be66b3a06cb9c36d802d04835c267
[ "Apache-2.0" ]
6
2015-04-12T14:40:43.000Z
2018-08-09T01:56:21.000Z
from django.http import HttpResponse def show_blog_page(request,num='1'): rawHtml='<html><head></head><body>you are at page:%s.</body></html>'% num return HttpResponse(rawHtml)
26.714286
77
0.705882
28
187
4.642857
0.75
0
0
0
0
0
0
0
0
0
0
0.006098
0.122995
187
6
78
31.166667
0.786585
0
0
0
0
0
0.317204
0.268817
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
a0e02deff6bd6c10475d7967f5094d8cca617ccc
153
py
Python
australia.py/fatoriamento.py
Godofcoffe/Australia
9d33e5f96dac99e670887d51411476a1220e43af
[ "MIT" ]
null
null
null
australia.py/fatoriamento.py
Godofcoffe/Australia
9d33e5f96dac99e670887d51411476a1220e43af
[ "MIT" ]
null
null
null
australia.py/fatoriamento.py
Godofcoffe/Australia
9d33e5f96dac99e670887d51411476a1220e43af
[ "MIT" ]
null
null
null
f = n = int(input('Numero:')) produto = 1 while f > 1: print(f'{n}x{f}') produto = f * produto f -= 1 print(f'O fatorial foi de: {produto}')
19.125
38
0.54902
27
153
3.111111
0.518519
0.047619
0.166667
0.190476
0
0
0
0
0
0
0
0.026087
0.248366
153
7
39
21.857143
0.704348
0
0
0
0
0
0.27451
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9d3db0c8686dab92d5f9cb55ea55c66693902ad1
121
py
Python
tests/examplefiles/unicodedoc.py
btashton/pygments
ceaad0372055ed0064121020fea032fdda429779
[ "BSD-2-Clause" ]
940
2019-08-23T13:08:46.000Z
2022-03-31T06:40:44.000Z
tests/examplefiles/unicodedoc.py
btashton/pygments
ceaad0372055ed0064121020fea032fdda429779
[ "BSD-2-Clause" ]
1,242
2019-08-31T16:03:19.000Z
2019-08-31T18:00:46.000Z
tests/examplefiles/unicodedoc.py
btashton/pygments
ceaad0372055ed0064121020fea032fdda429779
[ "BSD-2-Clause" ]
488
2019-09-19T14:27:19.000Z
2022-03-31T17:02:44.000Z
def foo(): ur"""unicode-raw""" def bar(): u"""unicode""" def baz(): r'raw' def zap(): """docstring"""
10.083333
23
0.471074
16
121
3.5625
0.6875
0.210526
0
0
0
0
0
0
0
0
0
0
0.256198
121
11
24
11
0.633333
0
0
0
0
0
0.039474
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
9d3f8e920d4f4f4c809ae805b1a39766d5a75df6
334
py
Python
operadores-aritmeticos/ex006_converter_dolar.py
BEp0/Estudos_de_Python
da32a01d3f4462b3e6b1b6035106895afe9c7627
[ "MIT" ]
1
2021-02-15T19:14:44.000Z
2021-02-15T19:14:44.000Z
operadores-aritmeticos/ex006_converter_dolar.py
BEp0/Estudos_de_Python
da32a01d3f4462b3e6b1b6035106895afe9c7627
[ "MIT" ]
null
null
null
operadores-aritmeticos/ex006_converter_dolar.py
BEp0/Estudos_de_Python
da32a01d3f4462b3e6b1b6035106895afe9c7627
[ "MIT" ]
null
null
null
# Converter real para dolar # Valor do dolar -> 5,44 print('\033[33mVamos converter seu dinheiro?\033[m') din_real = float(input('Quanto queres converter para dolar? R$')) din_dolar = din_real / 5.44 # Converte R$ para US$ print('Você, com \033[33mR${:.2f}\033[m é equivalente à \033[33mUS${:.2f}\033[m.'.format(din_real...
47.714286
110
0.706587
58
334
3.982759
0.534483
0.051948
0.051948
0
0
0
0
0
0
0
0
0.109215
0.122754
334
6
111
55.666667
0.679181
0.206587
0
0
0
0.25
0.590038
0.176245
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9d40dfb794b1827ec3d0caf2fa03312b4a64da2f
235
py
Python
server/src/anuncios/api/urls.py
DieOso/vm
c4d74fd048ca94c714e2d69f13bb8c601c20f2d8
[ "MIT" ]
null
null
null
server/src/anuncios/api/urls.py
DieOso/vm
c4d74fd048ca94c714e2d69f13bb8c601c20f2d8
[ "MIT" ]
null
null
null
server/src/anuncios/api/urls.py
DieOso/vm
c4d74fd048ca94c714e2d69f13bb8c601c20f2d8
[ "MIT" ]
null
null
null
from django.urls import path from anuncios.api.views import ArticleViewSet from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register(r'', ArticleViewSet, basename='articles') urlpatterns = router.urls
26.111111
57
0.821277
28
235
6.857143
0.678571
0.197917
0
0
0
0
0
0
0
0
0
0
0.097872
235
8
58
29.375
0.90566
0
0
0
0
0
0.034043
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
c221255cb3eb795699f609b5e2a65068dd29c834
1,329
py
Python
spatial/intersection.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
1
2022-01-02T22:03:09.000Z
2022-01-02T22:03:09.000Z
spatial/intersection.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
null
null
null
spatial/intersection.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
null
null
null
from collections import namedtuple from typing import Any, Optional class Intersection(namedtuple("Intersection", "t obj")): """An intersection between a ray and an object.""" __slots__ = () # TODO: It may be necessary to include the chain of intersections that occur to the caller. # e.g. Facet -> M...
36.916667
97
0.651618
176
1,329
4.823864
0.482955
0.014134
0.01649
0.058893
0
0
0
0
0
0
0
0.001001
0.248307
1,329
35
98
37.971429
0.848849
0.419112
0
0
0
0
0.100942
0
0
0
0
0.028571
0
1
0.222222
false
0
0.111111
0
0.722222
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
c22be369fe447a517e049cfe4da42550fdc7aa97
360
py
Python
VENV/entorno_virtual/Lib/site-packages/pylint/test/functional/abstract_class_instantiated_py34.py
jsaavedra132/Proyecto-Analisis-de-algoritmos
b06b82091337989989b1123641ce94867c5b2283
[ "MIT" ]
35
2016-09-22T22:53:14.000Z
2020-02-13T15:12:21.000Z
VENV/entorno_virtual/Lib/site-packages/pylint/test/functional/abstract_class_instantiated_py34.py
jsaavedra132/Proyecto-Analisis-de-algoritmos
b06b82091337989989b1123641ce94867c5b2283
[ "MIT" ]
32
2018-05-01T05:24:43.000Z
2022-03-11T23:20:39.000Z
VENV/entorno_virtual/Lib/site-packages/pylint/test/functional/abstract_class_instantiated_py34.py
jsaavedra132/Proyecto-Analisis-de-algoritmos
b06b82091337989989b1123641ce94867c5b2283
[ "MIT" ]
88
2016-11-27T02:16:11.000Z
2020-02-28T05:10:26.000Z
""" Check that instantiating a class with `abc.ABCMeta` as ancestor fails if it defines abstract methods. """ # pylint: disable=too-few-public-methods, missing-docstring, no-init import abc class BadClass(abc.ABC): @abc.abstractmethod def test(self): pass def main(): """ do nothing """ Bad...
18
75
0.683333
46
360
5.347826
0.782609
0.04878
0
0
0
0
0
0
0
0
0
0
0.191667
360
19
76
18.947368
0.845361
0.586111
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.142857
0.142857
0
0.571429
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
c22d9112d002e247e5b4c59463667e583fd0f925
7,822
py
Python
tests/test_operators.py
interpretml/ebm2onnx
e484814e93bb0a479c412e413a63a17935e9d15e
[ "MIT" ]
7
2021-05-20T19:51:32.000Z
2021-12-14T04:21:41.000Z
tests/test_operators.py
SoftAtHome/ebm2onnx
e484814e93bb0a479c412e413a63a17935e9d15e
[ "MIT" ]
2
2021-10-06T13:59:33.000Z
2021-10-08T09:13:38.000Z
tests/test_operators.py
SoftAtHome/ebm2onnx
e484814e93bb0a479c412e413a63a17935e9d15e
[ "MIT" ]
2
2021-05-24T21:45:36.000Z
2021-09-29T17:23:51.000Z
import ebm2onnx.graph as graph import ebm2onnx.operators as ops import numpy as np import onnx from .utils import assert_model_result def test_add(): g = graph.create_graph() a = graph.create_initializer(g, "a", onnx.TensorProto.FLOAT, [1], [0.3]) i = graph.create_input(g, "i", onnx.TensorProto.FLOAT, ...
24.675079
91
0.461391
1,031
7,822
3.395732
0.073715
0.154242
0.159954
0.137104
0.733219
0.723793
0.708369
0.673522
0.662668
0.630677
0
0.081909
0.356942
7,822
316
92
24.753165
0.614115
0
0
0.473896
0
0
0.006009
0
0
0
0
0
0.056225
1
0.052209
false
0
0.02008
0
0.072289
0
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
c2365c24e413a1487ad81d2393d5c2435ee89070
31
py
Python
setting.py
mrbeans/get_proxys
d113ab6067decf35219562f26be76eb9b183a5cb
[ "MIT" ]
1
2019-07-04T12:27:47.000Z
2019-07-04T12:27:47.000Z
setting.py
mrbeans/get_proxys
d113ab6067decf35219562f26be76eb9b183a5cb
[ "MIT" ]
5
2019-10-27T16:07:51.000Z
2021-06-01T23:58:02.000Z
setting.py
mrbeans/get_proxys
d113ab6067decf35219562f26be76eb9b183a5cb
[ "MIT" ]
1
2019-10-25T13:21:21.000Z
2019-10-25T13:21:21.000Z
PAGE_SIZE=11 USE_HEADLESS=True
15.5
17
0.870968
6
31
4.166667
1
0
0
0
0
0
0
0
0
0
0
0.068966
0.064516
31
2
17
15.5
0.793103
0
0
0
0
0
0
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
dfa0ffbe7defd8f1f2ab0802a3603f156d3bc6d2
173
py
Python
Ar_Script/ar_020_序列_max的实现原理.py
archerckk/PyTest
610dd89df8d70c096f4670ca11ed2f0ca3196ca5
[ "MIT" ]
null
null
null
Ar_Script/ar_020_序列_max的实现原理.py
archerckk/PyTest
610dd89df8d70c096f4670ca11ed2f0ca3196ca5
[ "MIT" ]
1
2020-01-19T01:19:57.000Z
2020-01-19T01:19:57.000Z
Ar_Script/ar_020_序列_max的实现原理.py
archerckk/PyTest
610dd89df8d70c096f4670ca11ed2f0ca3196ca5
[ "MIT" ]
null
null
null
test=[123,456,2,78,9] def max(test): max=test[0] for i in test: if i>max: max=i return max target=max(test) print('%d当中的最大值为'%target)
19.222222
25
0.537572
29
173
3.206897
0.586207
0.225806
0
0
0
0
0
0
0
0
0
0.092437
0.312139
173
9
25
19.222222
0.689076
0
0
0
0
0
0.054217
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0.111111
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
dfab21831bdef73ccf67ed73f708db8488c37863
125
py
Python
kattis/chanukahchallenge.py
terror/Solutions
1ad33daec95b565a38ac4730261593bcf249ac86
[ "CC0-1.0" ]
2
2021-04-05T14:26:37.000Z
2021-06-10T04:22:01.000Z
kattis/chanukahchallenge.py
terror/Solutions
1ad33daec95b565a38ac4730261593bcf249ac86
[ "CC0-1.0" ]
null
null
null
kattis/chanukahchallenge.py
terror/Solutions
1ad33daec95b565a38ac4730261593bcf249ac86
[ "CC0-1.0" ]
null
null
null
for i in range(int(input())): k, n = list(map(int, input().split())) print("{0} {1}".format(k, sum(range(n)) + (n * 2)))
31.25
53
0.528
23
125
2.869565
0.73913
0.242424
0
0
0
0
0
0
0
0
0
0.028571
0.16
125
3
54
41.666667
0.6
0
0
0
0
0
0.056
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
dfe56b0d0b5b3ca111fcc908156896831498fccd
595
py
Python
bfgame/factories/recipes/monsters/undeads/base.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
3
2017-10-28T11:28:38.000Z
2018-09-12T09:47:00.000Z
bfgame/factories/recipes/monsters/undeads/base.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
null
null
null
bfgame/factories/recipes/monsters/undeads/base.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
null
null
null
from bflib.keywords.items import WearLocation, WieldLocation from bflib.monsters.undeads.base import Undead from bfgame import components from bfgame.factories.recipes import listing, Recipe from bfgame.factories.recipes.monsters import MonsterRecipe @listing.register class UndeadRecipe(Recipe): name = "Undead Re...
28.333333
62
0.757983
70
595
6.342857
0.628571
0.067568
0.085586
0.117117
0
0
0
0
0
0
0
0
0.183193
595
20
63
29.75
0.91358
0.087395
0
0
0
0
0.02403
0
0
0
0
0.05
0
1
0.066667
false
0
0.333333
0
0.8
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
dfee08d4c9cb3f4e2809c8d701fa8d28105c7ad5
962
py
Python
benwaonline/mappers.py
goosechooser/benwaonline
e2879412aa6c3c230d25cd60072445165517b6b6
[ "MIT" ]
null
null
null
benwaonline/mappers.py
goosechooser/benwaonline
e2879412aa6c3c230d25cd60072445165517b6b6
[ "MIT" ]
16
2017-09-13T10:21:40.000Z
2020-06-01T04:32:22.000Z
benwaonline/mappers.py
goosechooser/benwaonline
e2879412aa6c3c230d25cd60072445165517b6b6
[ "MIT" ]
null
null
null
''' ''' from typing import List from marshmallow_jsonapi.fields import Relationship Entity = 'Entity' def nonempty_fields(e: Entity) -> List[str]: return [v for v in e.schema._declared_fields.keys() if getattr(e, v)] def relationships(e: Entity) -> List[str]: return [k for k, v in e.schema._declared_fields.i...
33.172414
91
0.715177
148
962
4.47973
0.256757
0.073906
0.113122
0.158371
0.553544
0.449472
0.208145
0.176471
0.111614
0.111614
0
0
0.140333
962
29
92
33.172414
0.801693
0
0
0
0
0
0.018828
0
0
0
0
0
0
1
0.368421
false
0
0.105263
0.263158
0.842105
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
dff1dda5199d25067a4f13ea7afbae548ce0d445
69
py
Python
hello.py
jurbanek756/cs3240-labdemo
a9469ed4a842b4b2f4a3d01da0c7e8cd3ae66f1b
[ "MIT" ]
null
null
null
hello.py
jurbanek756/cs3240-labdemo
a9469ed4a842b4b2f4a3d01da0c7e8cd3ae66f1b
[ "MIT" ]
null
null
null
hello.py
jurbanek756/cs3240-labdemo
a9469ed4a842b4b2f4a3d01da0c7e8cd3ae66f1b
[ "MIT" ]
null
null
null
__author__ = 'Joe' import helper helper.greeting("This is a Test")
11.5
33
0.724638
10
69
4.6
0.9
0
0
0
0
0
0
0
0
0
0
0
0.15942
69
5
34
13.8
0.793103
0
0
0
0
0
0.246377
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
dff552b3881dc4e4f37f2e9a4895f969a2a66662
16
py
Python
tf_verify/config.py
jiangchaoliu/eran
b1da9dcf4b5302b0892b6e7a0d7aad0e5a569506
[ "Apache-2.0" ]
1
2020-10-26T02:27:47.000Z
2020-10-26T02:27:47.000Z
tf_verify/config.py
jiangchaoliu/eran
b1da9dcf4b5302b0892b6e7a0d7aad0e5a569506
[ "Apache-2.0" ]
null
null
null
tf_verify/config.py
jiangchaoliu/eran
b1da9dcf4b5302b0892b6e7a0d7aad0e5a569506
[ "Apache-2.0" ]
null
null
null
use_milp = True
8
15
0.75
3
16
3.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.1875
16
1
16
16
0.846154
0
0
0
0
0
0
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
dff9892a6a9c9d9362b796ab9dc0ea54f51f1133
1,137
py
Python
model/CGNNConv.py
GeoX-Lab/CurvatureGNN
44558d2f5980c60dc20814b690c11a3f4a45f171
[ "MIT" ]
7
2021-12-18T14:56:01.000Z
2022-01-04T07:13:02.000Z
model/CGNNConv.py
GeoX-Lab/CurvatureGNN
44558d2f5980c60dc20814b690c11a3f4a45f171
[ "MIT" ]
null
null
null
model/CGNNConv.py
GeoX-Lab/CurvatureGNN
44558d2f5980c60dc20814b690c11a3f4a45f171
[ "MIT" ]
1
2022-01-09T11:12:10.000Z
2022-01-09T11:12:10.000Z
import torch import torch.nn.functional as F import torch_geometric.transforms as T from torch.nn import Sequential as seq, Parameter, LeakyReLU, init, Linear from torch_geometric.nn import MessagePassing, GCNConv from torch_geometric.utils import softmax, degree import os import numpy as np class CGNNConv(MessagePas...
33.441176
90
0.69657
163
1,137
4.656442
0.411043
0.071146
0.075099
0.055336
0
0
0
0
0
0
0
0.005568
0.210202
1,137
33
91
34.454545
0.839644
0.080035
0
0
0
0
0.002879
0
0
0
0
0
0
1
0.2
false
0.08
0.32
0.04
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
0
0
0
0
0
1
1
0
1
0
0
3
5f0a3532df6fa3e7abab4ce30da7d02b15957047
20
py
Python
conf_locale.py
VoidArray/hellomastermindbot
9adfb60574ac9f27175b9b70cc70996705c8485e
[ "MIT" ]
null
null
null
conf_locale.py
VoidArray/hellomastermindbot
9adfb60574ac9f27175b9b70cc70996705c8485e
[ "MIT" ]
null
null
null
conf_locale.py
VoidArray/hellomastermindbot
9adfb60574ac9f27175b9b70cc70996705c8485e
[ "MIT" ]
null
null
null
TG_API_TOKEN = ''
5
17
0.6
3
20
3.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.25
20
3
18
6.666667
0.666667
0
0
0
0
0
0
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
5f0a759ef01f5123b8ad50fd2acd826c9698947b
573
py
Python
Creational/Singleton/02_Monostate_Borg.py
drbuche/python-design-patterns
0df831dfd26a13537e8c8d7952c34814dabbaf9a
[ "MIT" ]
10
2020-09-16T11:19:07.000Z
2022-02-21T17:37:07.000Z
Creational/Singleton/02_Monostate_Borg.py
drbuche/python-design-patterns
0df831dfd26a13537e8c8d7952c34814dabbaf9a
[ "MIT" ]
null
null
null
Creational/Singleton/02_Monostate_Borg.py
drbuche/python-design-patterns
0df831dfd26a13537e8c8d7952c34814dabbaf9a
[ "MIT" ]
null
null
null
class MonostateBorg: __compartilhado = {"1": "2"} def __init__(self): self.__dict__ = self.__compartilhado pass obj1 = MonostateBorg() print(obj1) # <__main__.MonostateBorg object at 0x7f43aea40590> obj2 = MonostateBorg() print(obj1) # <__main__.MonostateBorg object at 0x7f43aea40590> prin...
27.285714
64
0.671902
68
573
5.029412
0.308824
0.02924
0.070175
0.219298
0.584795
0.444444
0.356725
0.356725
0
0
0
0.10251
0.165794
573
20
65
28.65
0.612971
0.39267
0
0.4
0
0
0.0059
0
0
0
0
0
0
1
0.066667
false
0.066667
0
0
0.2
0.466667
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
0
1
0
3
5f2cc5606805484d26f7d29bacb06561b7d9ddd7
1,615
py
Python
src/categories.py
Rafiatu/eBay-scraper
f7bd2697c4b01c77ec96ec6f4a1c743626d36596
[ "MIT" ]
null
null
null
src/categories.py
Rafiatu/eBay-scraper
f7bd2697c4b01c77ec96ec6f4a1c743626d36596
[ "MIT" ]
null
null
null
src/categories.py
Rafiatu/eBay-scraper
f7bd2697c4b01c77ec96ec6f4a1c743626d36596
[ "MIT" ]
2
2021-07-12T13:33:42.000Z
2021-08-13T09:52:35.000Z
from db import DB class CategoryError(Exception): """ Error handling class for all things related to Category """ pass class Category: """ Handles all database communication to the Categories table. :param cursor: the connection cursor of the relevant database. Contains functions add...
33.645833
116
0.640867
192
1,615
5.286458
0.385417
0.068966
0.050246
0.041379
0
0
0
0
0
0
0
0
0.271827
1,615
47
117
34.361702
0.863095
0.391331
0
0
0
0
0.306587
0
0
0
0
0
0
1
0.222222
false
0.055556
0.055556
0
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
1
0
0
1
0
0
3
5f3943f44e8187de1a0f96c8a44c291f9d43f4cf
172
py
Python
speakeasyApp/form.py
bertoko/speakeasyandpurge
fbe6dcb2070922df84888c6fe45e7a1f9e8564b6
[ "MIT" ]
null
null
null
speakeasyApp/form.py
bertoko/speakeasyandpurge
fbe6dcb2070922df84888c6fe45e7a1f9e8564b6
[ "MIT" ]
null
null
null
speakeasyApp/form.py
bertoko/speakeasyandpurge
fbe6dcb2070922df84888c6fe45e7a1f9e8564b6
[ "MIT" ]
null
null
null
from django import forms from .models import Video class VideoForm(forms.ModelForm): class Meta: model = Video fields = ["title", "video"]
17.2
36
0.610465
19
172
5.526316
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.302326
172
9
37
19.111111
0.875
0
0
0
0
0
0.06135
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
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
a03efaefe8f50d696ba63f4ec7a7e3ecfe773cba
362
py
Python
tidy_puj.py
learn-teochew/tc-bibles
f05f1d585bfd4d6de6508fddc6f6230d1c75f235
[ "CC-BY-4.0" ]
null
null
null
tidy_puj.py
learn-teochew/tc-bibles
f05f1d585bfd4d6de6508fddc6f6230d1c75f235
[ "CC-BY-4.0" ]
null
null
null
tidy_puj.py
learn-teochew/tc-bibles
f05f1d585bfd4d6de6508fddc6f6230d1c75f235
[ "CC-BY-4.0" ]
null
null
null
#!/usr/bin/env python3 import sys import re for line in sys.stdin: line = re.sub(r'\^', 'ⁿ', line.rstrip()) line = re.sub(r'\|', '\u030d', line.rstrip()) line = re.sub(r'w', 'ṳ', line) line = re.sub(r'ẃ', 'ṳ́', line) line = re.sub(r'ẁ', 'ṳ̀', line) line = re.sub(r'w̄', 'ṳ̄', line) line = r...
22.625
49
0.51105
70
362
2.728571
0.357143
0.219895
0.329843
0.366492
0.518325
0.366492
0
0
0
0
0
0.014235
0.223757
362
15
50
24.133333
0.644128
0.058011
0
0
0
0
0.079646
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.090909
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
a04ea537ed58940908ac680b07f66607a02fc02f
694
py
Python
Python/Coursera_Python_4_everybody/Using_Python_to_Acess_Web_Data/Week_2/Extract_data.py
igorfyago/Andrew-Ng-Machine-Learning
e6f947c93f9a4b1c9cfdaab4333525c504fd9233
[ "MIT" ]
null
null
null
Python/Coursera_Python_4_everybody/Using_Python_to_Acess_Web_Data/Week_2/Extract_data.py
igorfyago/Andrew-Ng-Machine-Learning
e6f947c93f9a4b1c9cfdaab4333525c504fd9233
[ "MIT" ]
null
null
null
Python/Coursera_Python_4_everybody/Using_Python_to_Acess_Web_Data/Week_2/Extract_data.py
igorfyago/Andrew-Ng-Machine-Learning
e6f947c93f9a4b1c9cfdaab4333525c504fd9233
[ "MIT" ]
null
null
null
#cd Desktop/Aitor/Coursera/Python/Using_Python_to_Acess_Web_Data/Week_2 #python3 Extract_data.py #import re #x = 'My 2 favourite numbers are 19 and 42' #y = re.findall('[0-9]+',x) #print(y) #import re #fhand = open('mbox-short.txt') #for line in fhand: # if re.search('^From ',line): # print(line) #import re...
24.785714
88
0.634006
117
694
3.666667
0.478632
0.074592
0.06993
0.076923
0.097902
0
0
0
0
0
0
0.04947
0.184438
694
27
89
25.703704
0.708481
0.789625
0
0
0
0
0.209677
0
0
0
0
0
0
0
null
null
0
0.5
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
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
1
0
3
a0576f2c4b5cf1d3f6bcfa7ae04c92cea6b1e8f9
146
py
Python
contest/abc060/C.py
mola1129/atcoder
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
[ "MIT" ]
null
null
null
contest/abc060/C.py
mola1129/atcoder
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
[ "MIT" ]
null
null
null
contest/abc060/C.py
mola1129/atcoder
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
[ "MIT" ]
null
null
null
N, T = map(int, input().split()) t = list(map(int, input().split())) ans = T for i in range(N - 1): ans += min(T, t[i + 1] - t[i]) print(ans)
20.857143
35
0.520548
30
146
2.533333
0.5
0.157895
0.289474
0.421053
0
0
0
0
0
0
0
0.017391
0.212329
146
6
36
24.333333
0.643478
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
a05bac62068d9398833c20f73a08d4c8d5d869bc
323
py
Python
operators/addition_01.py
barbosacisco/python-portfolio
77fe83ee8c965bb8789c66eb236e035c08331525
[ "MIT" ]
1
2018-09-01T07:08:33.000Z
2018-09-01T07:08:33.000Z
operators/addition_01.py
barbosacisco/python-scripts
77fe83ee8c965bb8789c66eb236e035c08331525
[ "MIT" ]
null
null
null
operators/addition_01.py
barbosacisco/python-scripts
77fe83ee8c965bb8789c66eb236e035c08331525
[ "MIT" ]
null
null
null
#!/usr/bin/python3 nota1 = input("Digite a primeira nota: ") nota2 = input("Digite a primeira nota: ") nota3 = input("Digite a primeira nota: ") nota4 = input("Digite a primeira nota: ") a = float(nota1) b = float(nota2) c = float(nota3) d = float(nota4) soma = a + b + c + d print("A média aritmética é: ", soma / ...
19
41
0.643963
51
323
4.078431
0.431373
0.211538
0.230769
0.384615
0.461538
0
0
0
0
0
0
0.038462
0.195046
323
16
42
20.1875
0.761538
0.052632
0
0
0
0
0.386885
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
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
a07e0182b0eae9650f78948dfd59642376961d99
428
py
Python
easy-automation-py/tests/examples/c_pagemodules_approach/todomvc_test.py
yashaka/talks
9c1c9e9c81d49af2a26d0e69f11cec84deff7e7a
[ "MIT" ]
19
2016-12-24T20:55:44.000Z
2021-06-24T12:00:51.000Z
easy-automation-py/tests/examples/c_pagemodules_approach/todomvc_test.py
deingvard/talks
9c1c9e9c81d49af2a26d0e69f11cec84deff7e7a
[ "MIT" ]
null
null
null
easy-automation-py/tests/examples/c_pagemodules_approach/todomvc_test.py
deingvard/talks
9c1c9e9c81d49af2a26d0e69f11cec84deff7e7a
[ "MIT" ]
21
2016-11-18T06:15:56.000Z
2022-01-31T15:49:53.000Z
from selene import config from tests.examples.c_pagemodules_approach.pages import tasks def test_filter_tasks(): config.browser_name = 'chrome' tasks.visit() tasks.add('a', 'b', 'c') tasks.should_be('a', 'b', 'c') tasks.toogle('b') tasks.filter_active() tasks.should_be('a', 'c') ta...
18.608696
61
0.63785
61
428
4.278689
0.442623
0.168582
0.199234
0.16092
0.122605
0.122605
0
0
0
0
0
0
0.191589
428
22
62
19.454545
0.754335
0
0
0.142857
0
0
0.044496
0
0
0
0
0
0
1
0.071429
true
0
0.142857
0
0.214286
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
a082a0f6f0b87160f844a05e9acb4365591f9214
2,105
py
Python
BookClub/tests/evaluation/test_evaluator.py
amir-rahim/BookClubSocialNetwork
b69a07cd33592f700214252a64c7c1c53845625d
[ "MIT" ]
4
2022-02-04T02:11:48.000Z
2022-03-12T21:38:01.000Z
BookClub/tests/evaluation/test_evaluator.py
amir-rahim/BookClubSocialNetwork
b69a07cd33592f700214252a64c7c1c53845625d
[ "MIT" ]
51
2022-02-01T18:56:23.000Z
2022-03-31T15:35:37.000Z
BookClub/tests/evaluation/test_evaluator.py
amir-rahim/BookClubSocialNetwork
b69a07cd33592f700214252a64c7c1c53845625d
[ "MIT" ]
null
null
null
"""Unit testing for Evaluator""" from django.test import TestCase, tag from RecommenderModule.evaluation.evaluator import Evaluator @tag('recommenders', 'evaluation') class EvaluatorTestCase(TestCase): """Evaluator Tests""" def setUp(self): self.evaluator = Evaluator(print_status=False) def test_...
46.777778
86
0.570071
257
2,105
4.564202
0.143969
0.144928
0.12191
0.187553
0.745951
0.736573
0.683717
0.632566
0.632566
0.622336
0
0.076873
0.270784
2,105
44
87
47.840909
0.687296
0.019952
0
0.210526
0
0
0.310916
0
0
0
0
0
0.052632
1
0.078947
false
0
0.052632
0
0.157895
0.026316
0
0
0
null
0
0
1
0
1
0
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
a08a58f5531a05cd41beb88bfa3c12ff3850577e
404
py
Python
IVTa/2014/EGOROV_V_I/task_1_8.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
IVTa/2014/EGOROV_V_I/task_1_8.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
IVTa/2014/EGOROV_V_I/task_1_8.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
# Задача 1. Вариант 8 # Напишите программу, которая будет сообщать род деятельности и псевдоним под которым # скрывается Ефим Алексеевич Придворов. После вывода информации программа # должна дожидаться пока пользователь нажмет Enter для выхода. # Egorov V. I. # 23.02.2016 print("Ефим Алексеевич Придворов, более извес...
36.727273
93
0.792079
55
404
5.818182
0.872727
0.0875
0.14375
0
0
0
0
0
0
0
0
0.028818
0.141089
404
10
94
40.4
0.893372
0.643564
0
0
0
0
0.79562
0
0
0
0
0
0
1
0
true
0
0
0
0
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
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
a0980d4b65d33dfabf07a401766c1f27dbb17975
267
py
Python
minitorneio2/ZeroOrOne/main.py
LucasHenrique-dev/treino_torneio
aa1fc5e9ad5c29bf96f43e09cd2313d3b3f969ea
[ "MIT" ]
null
null
null
minitorneio2/ZeroOrOne/main.py
LucasHenrique-dev/treino_torneio
aa1fc5e9ad5c29bf96f43e09cd2313d3b3f969ea
[ "MIT" ]
null
null
null
minitorneio2/ZeroOrOne/main.py
LucasHenrique-dev/treino_torneio
aa1fc5e9ad5c29bf96f43e09cd2313d3b3f969ea
[ "MIT" ]
null
null
null
while True: try: [A, B, C] = input().split(" ") if A == B == C: print("*") elif A == B: print("C") elif B == C: print("A") else: print("B") except EOFError: break
19.071429
38
0.329588
29
267
3.034483
0.517241
0.068182
0.068182
0
0
0
0
0
0
0
0
0
0.505618
267
13
39
20.538462
0.666667
0
0
0
0
0
0.018727
0
0
0
0
0
0
1
0
true
0
0
0
0
0.307692
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
a09e4f8b51b9d78ec6742ea79da164beba62035f
216
py
Python
backend/app/database/Port.py
henriqueup/Photonic-Circuit-Simulator
4e08174c2644a59769c54c8f36c9e835e25a9dd6
[ "MIT" ]
1
2021-07-10T13:10:23.000Z
2021-07-10T13:10:23.000Z
backend/app/database/Port.py
Arthur-agl/Photonic-Circuit-Simulator
6c6acdf1ba4d0a7d616f07395323e8e3cf8d127d
[ "MIT" ]
null
null
null
backend/app/database/Port.py
Arthur-agl/Photonic-Circuit-Simulator
6c6acdf1ba4d0a7d616f07395323e8e3cf8d127d
[ "MIT" ]
1
2021-06-11T03:34:01.000Z
2021-06-11T03:34:01.000Z
from app.database.db import db import mongoengine_goodjson as gj class Port(gj.Document): id = db.ObjectIdField(primary_key=True) target = db.LazyReferenceField('self') power = db.DecimalField(default=0)
30.857143
42
0.75463
30
216
5.366667
0.8
0.099379
0
0
0
0
0
0
0
0
0
0.005405
0.143519
216
7
43
30.857143
0.864865
0
0
0
0
0
0.018957
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
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
a0a613fc2dff46017f55e901ebf674bbe5b09576
1,649
py
Python
src/cutejoe/helpers/configurations/base.py
MatheusBrochi/CuteJoe
10be5ac3655a691d682d4394775f9b309eca49f9
[ "MIT" ]
null
null
null
src/cutejoe/helpers/configurations/base.py
MatheusBrochi/CuteJoe
10be5ac3655a691d682d4394775f9b309eca49f9
[ "MIT" ]
null
null
null
src/cutejoe/helpers/configurations/base.py
MatheusBrochi/CuteJoe
10be5ac3655a691d682d4394775f9b309eca49f9
[ "MIT" ]
null
null
null
import os class Singleton(type): _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: cls._instances[cls] = super().__call__(*args, **kwargs) return cls._instances[cls] class BaseConfigFactory(metaclass=Singleton): def __init__(self): s...
23.557143
84
0.654942
178
1,649
5.831461
0.331461
0.042389
0.043353
0.032755
0.080925
0.080925
0.080925
0
0
0
0
0.000803
0.244391
1,649
69
85
23.898551
0.832263
0.054579
0
0.071429
0
0
0.022508
0
0
0
0
0.014493
0
1
0.261905
false
0.02381
0.02381
0.02381
0.52381
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
a0aaef617f30a35c889fa05518a6f8a3ac4df7c5
14,116
py
Python
preoject_five_facenet/my_test/good_utils.py
shuyuandeqipa/mycaptcha
dd2e36d53f2fb97e820eddead24a163af00191d0
[ "MIT" ]
1
2019-04-17T08:00:33.000Z
2019-04-17T08:00:33.000Z
preoject_five_facenet/my_test/good_utils.py
shuyuandeqipa/mycaptcha
dd2e36d53f2fb97e820eddead24a163af00191d0
[ "MIT" ]
null
null
null
preoject_five_facenet/my_test/good_utils.py
shuyuandeqipa/mycaptcha
dd2e36d53f2fb97e820eddead24a163af00191d0
[ "MIT" ]
null
null
null
import os import numpy as np # 从一个文件夹中将所有的图片的路径保存下来 # ['E:\\MyPythonProjects\\facenet-master\\data\\images\\Anthony_Hopkins_0001.jpg', # 'E:\\MyPythonProjects\\facenet-master\\data\\images\\Anthony_Hopkins_0002.jpg'] def get_image_paths(facedir): image_paths = [] if os.path.isdir(facedir): images = os...
47.52862
139
0.704024
1,858
14,116
4.977395
0.119483
0.080882
0.103806
0.129758
0.776276
0.741133
0.71356
0.686311
0.674632
0.670091
0
0.024843
0.133111
14,116
296
140
47.689189
0.730898
0.302706
0
0.215686
0
0
0.139831
0.12661
0
0
0
0
0
1
0.088235
false
0
0.019608
0.019608
0.176471
0.107843
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
a0b1c1aec6e0124654b8cf0221e07f06b3261801
1,262
py
Python
_deprecated/test_column.py
m3d/osgar_archive_2020
556b534e59f8aa9b6c8055e2785c8ae75a1a0a0e
[ "MIT" ]
12
2017-02-16T10:22:59.000Z
2022-03-20T05:48:06.000Z
_deprecated/test_column.py
m3d/osgar_archive_2020
556b534e59f8aa9b6c8055e2785c8ae75a1a0a0e
[ "MIT" ]
618
2016-08-30T04:46:12.000Z
2022-03-25T16:03:10.000Z
_deprecated/test_column.py
robotika/osgar
6f4f584d5553ab62c08a1c7bb493fefdc9033173
[ "MIT" ]
11
2016-08-27T20:02:55.000Z
2022-03-07T08:53:53.000Z
import unittest from column import * class ColumnTest(unittest.TestCase): def test_polar2coord(self): # test55 self.assertEqual(polar2coord( (46, 2.808) ), (1.9506007042488642, -2.019906159350932) ) self.assertEqual(polar2coord( (196, 1.194) ), (-1.1477464649503528, 0.32911100284549705) ) ...
39.4375
103
0.657686
155
1,262
5.232258
0.458065
0.110974
0.128237
0.069051
0.029593
0.029593
0
0
0
0
0
0.364878
0.187797
1,262
31
104
40.709677
0.426341
0.061807
0
0
0
0
0.006797
0
0
0
0
0
0.444444
1
0.166667
false
0
0.111111
0
0.333333
0
0
0
0
null
0
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
1
0
0
0
0
0
0
0
0
0
3
39fefe3587ab4249f57820e194a25310c5353667
737
py
Python
Bio/MEME/__init__.py
barendt/biopython
391bcdbee7f821bff3e12b75c635a06bc1b2dcea
[ "PostgreSQL" ]
1
2016-05-09T08:14:49.000Z
2016-05-09T08:14:49.000Z
Bio/MEME/__init__.py
cymon/biopython-github-master
7be9697599296401b0a7126d23b5eda391a94116
[ "PostgreSQL" ]
null
null
null
Bio/MEME/__init__.py
cymon/biopython-github-master
7be9697599296401b0a7126d23b5eda391a94116
[ "PostgreSQL" ]
6
2020-02-26T16:34:20.000Z
2020-03-04T15:34:00.000Z
# Copyright 2005 by Jason A. Hackney. All rights reserved. # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. """ Parser for dealing with text output from the MEME motif search program (DEPRECATED). No...
32.043478
84
0.763908
109
737
5.165138
0.577982
0.085258
0.069272
0.081705
0
0
0
0
0
0
0
0.00639
0.150611
737
22
85
33.5
0.892971
0.811398
0
0
0
0
0.417323
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
261304b4e6bfe05fb14e745ab1409e1cc27aa420
66
py
Python
gwdc_python/__init__.py
gravitationalwavedc/gwdc_python
800fa943618bbcf7278b31018ca315e1f2d083fb
[ "MIT" ]
null
null
null
gwdc_python/__init__.py
gravitationalwavedc/gwdc_python
800fa943618bbcf7278b31018ca315e1f2d083fb
[ "MIT" ]
null
null
null
gwdc_python/__init__.py
gravitationalwavedc/gwdc_python
800fa943618bbcf7278b31018ca315e1f2d083fb
[ "MIT" ]
null
null
null
__version__ = '0.1.0' from .gwdc import GWDC, split_variables_dict
33
44
0.787879
11
66
4.181818
0.818182
0
0
0
0
0
0
0
0
0
0
0.050847
0.106061
66
2
44
33
0.728814
0
0
0
0
0
0.074627
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
2622d7217344490defa30d22670085de89c05c96
97
py
Python
lib/JSONParser/JSONLexer/predefinedStates.py
quangloc99/simple-json-parser
d7a994e79002ecc40bb397888c27c822f9f63988
[ "MIT" ]
null
null
null
lib/JSONParser/JSONLexer/predefinedStates.py
quangloc99/simple-json-parser
d7a994e79002ecc40bb397888c27c822f9f63988
[ "MIT" ]
null
null
null
lib/JSONParser/JSONLexer/predefinedStates.py
quangloc99/simple-json-parser
d7a994e79002ecc40bb397888c27c822f9f63988
[ "MIT" ]
null
null
null
def endParsing(ch, data): raise RuntimeError("Cannot continue parsing at endParsing state")
24.25
69
0.762887
12
97
6.166667
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.154639
97
3
70
32.333333
0.902439
0
0
0
0
0
0.447917
0
0
0
0
0
0
1
0.5
false
0
0
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
26492a6b5f046f94b49a52664ae8115c23e244a5
1,239
py
Python
clai/tools/file_util.py
emishulovin/clai
9121241ef036e8482e6883ae7a337ff16397c54e
[ "MIT" ]
1
2020-04-30T15:16:52.000Z
2020-04-30T15:16:52.000Z
clai/tools/file_util.py
Pycomet/clai
4d8e661f1335ce35fd077ad812b56da361565d57
[ "MIT" ]
3
2021-09-08T03:29:44.000Z
2022-03-12T00:59:19.000Z
clai/tools/file_util.py
Pycomet/clai
4d8e661f1335ce35fd077ad812b56da361565d57
[ "MIT" ]
1
2020-06-10T04:33:27.000Z
2020-06-10T04:33:27.000Z
# # Copyright (C) 2020 IBM. All Rights Reserved. # # See LICENSE.txt file in the root directory # of this source tree for licensing information. # import io import os import platform def is_windows(): return platform.system() == 'Windows' def is_mac(): return platform.system() == 'Darwin' def get_rc_file...
21.736842
68
0.646489
163
1,239
4.687117
0.429448
0.052356
0.098168
0.049738
0.170157
0.10733
0.10733
0.10733
0
0
0
0.005219
0.226796
1,239
56
69
22.125
0.792276
0.108152
0
0.0625
0
0
0.121129
0
0
0
0
0
0
1
0.25
false
0
0.09375
0.125
0.65625
0.03125
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
26538fd0a4addce2c06f1221e7723c339bf92c3b
273
py
Python
ele_admin/ele_admin_interface/types.py
Freen247/dj_blog
f7df1a7b101d41835a334b78cddf3570968799e4
[ "Apache-2.0" ]
51
2020-09-28T09:41:03.000Z
2022-03-19T08:25:19.000Z
ele_admin/ele_admin_interface/types.py
Freen247/dj_blog
f7df1a7b101d41835a334b78cddf3570968799e4
[ "Apache-2.0" ]
17
2020-09-24T10:26:40.000Z
2022-03-12T00:49:05.000Z
ele_admin/ele_admin_interface/types.py
Freen247/django_blogback
f7df1a7b101d41835a334b78cddf3570968799e4
[ "Apache-2.0" ]
11
2020-10-10T01:23:09.000Z
2022-02-08T17:06:09.000Z
import wsme from wsme import types as wtypes from apps import types as _types from django.utils.translation import gettext_lazy as _ from apps.api_exception import ParameterException from .handler import KpiFactory class InterfaceResult(_types.SuccessResult): pass
21
54
0.827839
37
273
5.972973
0.567568
0.099548
0.117647
0
0
0
0
0
0
0
0
0
0.142857
273
12
55
22.75
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.125
0.75
0
0.875
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
1
1
0
0
0
0
3
26617d2d940a6fde3697f301cb919508dd2a50dc
309
py
Python
nujo/optim/__init__.py
VIVelev/nujo
56c3058b14c4e0b7ae86d0f22dbe4c4dc81e8e71
[ "MIT" ]
5
2020-03-02T22:14:38.000Z
2022-03-09T11:13:13.000Z
nujo/optim/__init__.py
VIVelev/nujo
56c3058b14c4e0b7ae86d0f22dbe4c4dc81e8e71
[ "MIT" ]
30
2020-03-09T10:43:54.000Z
2020-06-09T20:05:45.000Z
nujo/optim/__init__.py
VIVelev/nujo
56c3058b14c4e0b7ae86d0f22dbe4c4dc81e8e71
[ "MIT" ]
3
2020-03-20T13:54:23.000Z
2020-10-17T01:03:17.000Z
''' nujo's optimization module Various optimizers used in machine learning problems are defined here. Check out the following link for more info about the optimizers: http://ruder.io/optimizing-gradient-descent/index.html ''' from nujo.optim.optimizer import Optimizer from nujo.optim.optimizers import *
25.75
70
0.799353
44
309
5.613636
0.795455
0.064777
0.105263
0
0
0
0
0
0
0
0
0
0.126214
309
11
71
28.090909
0.914815
0.708738
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
26718224ae3f7e5897d990802203e1980450ffeb
1,414
py
Python
api/migrations/0001_initial.py
hossshakiba/CoronaVirusApi
c1471702fc36bb3de7767e689016d1f80fd285d1
[ "MIT" ]
2
2020-12-29T07:18:46.000Z
2021-07-07T21:22:02.000Z
api/migrations/0001_initial.py
hossshakiba/CoronaVirusApi
c1471702fc36bb3de7767e689016d1f80fd285d1
[ "MIT" ]
null
null
null
api/migrations/0001_initial.py
hossshakiba/CoronaVirusApi
c1471702fc36bb3de7767e689016d1f80fd285d1
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2020-12-27 21:15 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='CoronaVirus', fields=[ ('id', models.AutoFi...
39.277778
114
0.562942
137
1,414
5.642336
0.416058
0.194049
0.284605
0.323415
0.495472
0.495472
0.324709
0.111255
0
0
0
0.034551
0.283593
1,414
35
115
40.4
0.728529
0.031825
0
0
1
0
0.130212
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.178571
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
268d493d3c8d0a577eea965e965c3ddf180ccbeb
80
py
Python
finorch/sessions/local/__init__.py
ADACS-Australia/SS2021B-DBrown
67b93b316e6f9ab09e3bd5105edbbc71108e0723
[ "MIT" ]
null
null
null
finorch/sessions/local/__init__.py
ADACS-Australia/SS2021B-DBrown
67b93b316e6f9ab09e3bd5105edbbc71108e0723
[ "MIT" ]
null
null
null
finorch/sessions/local/__init__.py
ADACS-Australia/SS2021B-DBrown
67b93b316e6f9ab09e3bd5105edbbc71108e0723
[ "MIT" ]
null
null
null
from finorch.sessions.local.session import LocalSession Session = LocalSession
20
55
0.85
9
80
7.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.1
80
3
56
26.666667
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
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
cd2464c2b3a5987f8d92aa9fb6ff68c5a184628f
10,817
py
Python
heat/tests/autoscaling/test_rolling_update.py
noironetworks/heat
7cdadf1155f4d94cf8f967635b98e4012a7acfb7
[ "Apache-2.0" ]
265
2015-01-02T09:33:22.000Z
2022-03-26T23:19:54.000Z
heat/tests/autoscaling/test_rolling_update.py
noironetworks/heat
7cdadf1155f4d94cf8f967635b98e4012a7acfb7
[ "Apache-2.0" ]
8
2015-09-01T15:43:19.000Z
2021-12-14T05:18:23.000Z
heat/tests/autoscaling/test_rolling_update.py
noironetworks/heat
7cdadf1155f4d94cf8f967635b98e4012a7acfb7
[ "Apache-2.0" ]
295
2015-01-06T07:00:40.000Z
2021-09-06T08:05:06.000Z
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # ...
54.908629
78
0.48886
1,828
10,817
2.636214
0.054158
0.142768
0.07844
0.113302
0.825897
0.801619
0.7348
0.65304
0.580826
0.529363
0
0.13217
0.337617
10,817
196
79
55.188776
0.540405
0.050476
0
0.377143
0
0
0.069625
0
0
0
0
0
0.011429
1
0.011429
false
0
0.011429
0
0.045714
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
cd7f7f82ed05c863b75d2889e723ba98ee80d52c
320
py
Python
project/project/views.py
jprsurendra/assignment
136be6da1da346dc9fdf5e6c1a5c5cb071f441be
[ "Apache-2.0" ]
null
null
null
project/project/views.py
jprsurendra/assignment
136be6da1da346dc9fdf5e6c1a5c5cb071f441be
[ "Apache-2.0" ]
null
null
null
project/project/views.py
jprsurendra/assignment
136be6da1da346dc9fdf5e6c1a5c5cb071f441be
[ "Apache-2.0" ]
null
null
null
import traceback import logging from django.shortcuts import render # Create your views here. def error_404(request): ''' It is 404 customize page. Use this method with handler if we need to customize page from backend. ''' data = {} return render(request,'common/404.html', data) def load_on_startup(): pass
17.777778
72
0.740625
48
320
4.875
0.770833
0.111111
0
0
0
0
0
0
0
0
0
0.033962
0.171875
320
17
73
18.823529
0.849057
0.38125
0
0
0
0
0.080214
0
0
0
0
0
0
1
0.25
false
0.125
0.375
0
0.75
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
1
0
0
0
0
3
cd89f3d988e66b9fb6c3146960767001375d0d28
631
py
Python
Lecture-9/Code/DivideAndConquer/MaxSubTotal_Runtime.py
TobiOnline/AlgoDat
565a9f03a9ed7ef354cb4f143959df77df89b726
[ "MIT" ]
17
2016-12-16T17:42:34.000Z
2020-08-26T11:07:16.000Z
Lecture-9/Code/DivideAndConquer/MaxSubTotal_Runtime.py
TobiOnline/AlgoDat
565a9f03a9ed7ef354cb4f143959df77df89b726
[ "MIT" ]
23
2016-10-08T09:27:41.000Z
2019-10-20T15:40:10.000Z
Lecture-9/Code/DivideAndConquer/MaxSubTotal_Runtime.py
TobiOnline/AlgoDat
565a9f03a9ed7ef354cb4f143959df77df89b726
[ "MIT" ]
8
2016-10-07T11:55:23.000Z
2021-04-05T08:36:38.000Z
def maxSubArray(X, i, j): if i == j: @\onslide<3->@# O(1)@\onslide<1->@ return (X[i], i, i) @\onslide<4->@# O(1)@\onslide<1->@ m = (i + j) // 2 @\onslide<5->@# O(1)@\onslide<1->@ A = maxSubArray(X, i, m) @\onslide<6->@# T(n/2)@\onslide<1->@ B = maxSubArray(X, m + 1, j) @\onslide<7->@# T(n/...
42.066667
71
0.465927
114
631
2.578947
0.307018
0.244898
0.153061
0.170068
0.258503
0
0
0
0
0
0
0.082164
0.209192
631
14
72
45.071429
0.507014
0.275753
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
cd8d2ac58897889ff7c64c03ee9ee5e4e4aff8bb
2,815
py
Python
app/models.py
feysal-Ibrahim/Baddas-pitch
c9319b2f66b3e1e6c7cba1cce6b804bd878510d6
[ "Unlicense" ]
null
null
null
app/models.py
feysal-Ibrahim/Baddas-pitch
c9319b2f66b3e1e6c7cba1cce6b804bd878510d6
[ "Unlicense" ]
null
null
null
app/models.py
feysal-Ibrahim/Baddas-pitch
c9319b2f66b3e1e6c7cba1cce6b804bd878510d6
[ "Unlicense" ]
null
null
null
from . import db from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin from . import login_manager @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class User(UserMixin,db.Model): __tablename__ = 'users' id = db.Col...
36.558442
115
0.68881
387
2,815
4.847545
0.219638
0.076759
0.095949
0.085288
0.536247
0.476013
0.446695
0.336887
0.183369
0.183369
0
0.009367
0.203552
2,815
77
116
36.558442
0.827386
0.17833
0
0.192308
1
0
0.117953
0
0
0
0
0
0
1
0.153846
false
0.173077
0.076923
0.115385
0.903846
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
1
0
1
0
0
0
3
cd8ed499db4a45c7f08354b5e433ed4ea45ebe7a
43
py
Python
thinc/about.py
justindujardin/thinc
b3d641c4d42e430fe9917ded7cb2892256f9b7e1
[ "MIT" ]
null
null
null
thinc/about.py
justindujardin/thinc
b3d641c4d42e430fe9917ded7cb2892256f9b7e1
[ "MIT" ]
null
null
null
thinc/about.py
justindujardin/thinc
b3d641c4d42e430fe9917ded7cb2892256f9b7e1
[ "MIT" ]
null
null
null
__version__ = "8.0.0a6" __release__ = True
14.333333
23
0.72093
6
43
3.833333
1
0
0
0
0
0
0
0
0
0
0
0.108108
0.139535
43
2
24
21.5
0.513514
0
0
0
0
0
0.162791
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
269db94887ac0d942e35ae4ca863eed2075218fd
592
py
Python
tests/functional/pygameweb/dashboard/test_dashboard_views.py
leereilly/pygameweb
c4df39770716bf737f3379da987538fa32f9f3d8
[ "BSD-2-Clause" ]
2
2021-05-11T19:29:03.000Z
2021-05-12T06:08:00.000Z
tests/functional/pygameweb/dashboard/test_dashboard_views.py
leereilly/pygameweb
c4df39770716bf737f3379da987538fa32f9f3d8
[ "BSD-2-Clause" ]
null
null
null
tests/functional/pygameweb/dashboard/test_dashboard_views.py
leereilly/pygameweb
c4df39770716bf737f3379da987538fa32f9f3d8
[ "BSD-2-Clause" ]
null
null
null
""" """ import pytest @pytest.fixture def dashboard_client(app, session, client): """Fixture for wiki tests. """ from pygameweb.dashboard.views import add_dashboard add_dashboard(app) return client def test_dashboard_view(dashboard_client, session): """ is shown as the default. """ ...
21.925926
58
0.677365
75
592
5.186667
0.466667
0.192802
0.14653
0.169666
0.326478
0.326478
0.326478
0.326478
0.231362
0
0
0.035639
0.194257
592
26
59
22.769231
0.779874
0.378378
0
0
0
0
0.040462
0
0
0
0
0
0.111111
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
269fb8d3e11171c05a92b1ac8ce9f377270a668a
578
py
Python
supersaver/util/log.py
ftkghost/SuperSaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
null
null
null
supersaver/util/log.py
ftkghost/SuperSaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
1
2018-08-12T12:50:17.000Z
2018-08-12T12:50:17.000Z
supersaver/util/log.py
ftkghost/supersaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
null
null
null
import logging import logging.handlers from sca.sca_settings import SCA_SERVICE_LOGGER_NAME def _get_socket_logger(source): logger = logging.getLogger(SERVICE_LOGGER_NAME) for handler in logger.handlers: if isinstance(handler, logging.handlers.SocketHandler): handler.closeOnError = True ...
24.083333
63
0.757785
72
578
5.75
0.375
0.057971
0.144928
0.152174
0.195652
0
0
0
0
0
0
0
0.157439
578
23
64
25.130435
0.850103
0
0
0
0
0
0.036332
0
0
0
0
0
0
1
0.266667
false
0
0.2
0.2
0.733333
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
26ad4f412f047ae9b3455c6aa8f35474095e14d6
629
py
Python
ejercicios_basicos/tipo_datos_avanzado/tipos_float.py
JuanDuran85/ejemplos_python
47aa49c65384ab89654f362f3da6cd2b0ef386e5
[ "Apache-2.0" ]
null
null
null
ejercicios_basicos/tipo_datos_avanzado/tipos_float.py
JuanDuran85/ejemplos_python
47aa49c65384ab89654f362f3da6cd2b0ef386e5
[ "Apache-2.0" ]
null
null
null
ejercicios_basicos/tipo_datos_avanzado/tipos_float.py
JuanDuran85/ejemplos_python
47aa49c65384ab89654f362f3da6cd2b0ef386e5
[ "Apache-2.0" ]
null
null
null
# numeros del tipo float numero = 4.74656 print(numero) print(type(numero)) print(f"numero: {numero:.2f}") # trabajando con el constructor float numero = float(4.74656) print(f"numero: {numero:.2f}") numero = float(345) print(f"numero: {numero}") print(f"numero: {numero:.2f}") numero = float('97') print(f"numero: {num...
24.192308
61
0.702703
95
629
4.652632
0.368421
0.135747
0.271493
0.40724
0.40724
0.40724
0.348416
0.253394
0.171946
0
0
0.078995
0.114467
629
25
62
25.16
0.714542
0.252782
0
0.444444
0
0
0.4
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
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
0
1
0
3
26b2c9f6df877e0810dae2727741f4fd6c65cfa1
1,102
py
Python
ivy_vision_tests/test_demos.py
kavindrakimt/vision
3b82ee226dde238d93ac4e6a5e73eccbbabb4813
[ "Apache-2.0" ]
null
null
null
ivy_vision_tests/test_demos.py
kavindrakimt/vision
3b82ee226dde238d93ac4e6a5e73eccbbabb4813
[ "Apache-2.0" ]
null
null
null
ivy_vision_tests/test_demos.py
kavindrakimt/vision
3b82ee226dde238d93ac4e6a5e73eccbbabb4813
[ "Apache-2.0" ]
null
null
null
""" Collection of tests for ivy vision demos """ # global import ivy_vision_tests.helpers as helpers def test_demo_run_through(): from demos.run_through import main for lib, call in helpers.calls: if call in [helpers.tf_graph_call, helpers.mx_graph_call]: # these particular demos are only...
32.411765
92
0.700544
155
1,102
4.787097
0.290323
0.048518
0.105121
0.06469
0.714286
0.714286
0.679245
0.679245
0.679245
0.679245
0
0
0.236842
1,102
33
93
33.393939
0.882283
0.258621
0
0.578947
0
0
0
0
0
0
0
0
0
1
0.157895
true
0
0.210526
0
0.368421
0
0
0
0
null
0
0
0
0
1
0
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
1
0
0
0
0
0
0
3
26d86561dab79c0b5ae1459e3df30eb5d6341439
42
py
Python
lib/osm/__init__.py
TCSOSM-20/LW-UI
70c3331278f71d3b22fc3a090d526b4b8106d155
[ "Apache-2.0" ]
8
2017-03-13T16:34:28.000Z
2021-11-16T11:35:56.000Z
code/lib/osm/__init__.py
superfluidity/osm-light-ui
d3189687009f23f32e877c36db1ebd206fca972f
[ "Apache-2.0" ]
1
2020-02-12T03:23:39.000Z
2020-02-12T03:23:39.000Z
code/lib/osm/__init__.py
superfluidity/osm-light-ui
d3189687009f23f32e877c36db1ebd206fca972f
[ "Apache-2.0" ]
3
2017-03-28T09:26:40.000Z
2020-12-08T14:16:12.000Z
__all__ = ["osm_parser", "osm_rdcl_graph"]
42
42
0.738095
6
42
4
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.071429
42
1
42
42
0.615385
0
0
0
0
0
0.55814
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
f80ebd69439d2d6606d79a7a0c3dc5b0e3ba6066
772
py
Python
upcloud_api/__init__.py
t-tran/upcloud-python-api
806fc85516e26067ead16daf31238297d77e4d2d
[ "MIT" ]
null
null
null
upcloud_api/__init__.py
t-tran/upcloud-python-api
806fc85516e26067ead16daf31238297d77e4d2d
[ "MIT" ]
null
null
null
upcloud_api/__init__.py
t-tran/upcloud-python-api
806fc85516e26067ead16daf31238297d77e4d2d
[ "MIT" ]
null
null
null
""" Python Interface to UpCloud's API. """ # flake8: noqa from __future__ import unicode_literals from __future__ import absolute_import __version__ = '0.3.9' __author__ = 'Elias Nygren' __author_email__ = 'elias.nygren@upcloud.com' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2015 Elias Nygren' from upcloud_...
30.88
66
0.836788
103
772
5.825243
0.485437
0.165
0.21
0
0
0
0
0
0
0
0
0.011577
0.104922
772
24
67
32.166667
0.856729
0.062176
0
0
0
0
0.104749
0.03352
0
0
0
0
0
1
0
false
0
0.6875
0
0.6875
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
0
0
0
1
0
1
0
0
3
f845ae8378855a76f3fdcbef030a0c4b69b4a081
90
py
Python
05. Library/standard_library.py
henrique-souza/python_exercises
a564de9f8f2481e8934312af960a6e3c272fa26f
[ "Apache-2.0" ]
1
2022-03-08T13:26:19.000Z
2022-03-08T13:26:19.000Z
05. Library/standard_library.py
henrique-souza/python_exercises
a564de9f8f2481e8934312af960a6e3c272fa26f
[ "Apache-2.0" ]
null
null
null
05. Library/standard_library.py
henrique-souza/python_exercises
a564de9f8f2481e8934312af960a6e3c272fa26f
[ "Apache-2.0" ]
null
null
null
import random as dice roll = dice.randint(1, 20) print(f'Rolando um dado de RPG: {roll}')
22.5
40
0.711111
17
90
3.764706
0.882353
0
0
0
0
0
0
0
0
0
0
0.039474
0.155556
90
3
41
30
0.802632
0
0
0
0
0
0.333333
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
f84ab84f4742e8502a0992605bb7bf25bc0bf900
282
py
Python
2. Implementation/18. Climbing the Leaderboard.py
trentandraka/Hackerrank-Algorithm-Solutions
a352070b39589931d9ece35bac6b7680bdfee9eb
[ "MIT" ]
null
null
null
2. Implementation/18. Climbing the Leaderboard.py
trentandraka/Hackerrank-Algorithm-Solutions
a352070b39589931d9ece35bac6b7680bdfee9eb
[ "MIT" ]
5
2018-10-19T05:43:42.000Z
2018-10-24T09:05:55.000Z
2. Implementation/18. Climbing the Leaderboard.py
trentandraka/Hackerrank-Algorithm-Solutions
a352070b39589931d9ece35bac6b7680bdfee9eb
[ "MIT" ]
22
2018-10-19T06:06:28.000Z
2021-04-15T00:28:11.000Z
n = int(input().strip()) scores = list(set(map(int, input().strip().split(' ')))) m = int(input().strip()) alice = list(map(int, input().strip().split(' '))) scores.append(0) l = len(scores) for a in alice: while (l > 0) and (a >= scores[l-1]): l -= 1 print(l+1)
20.142857
56
0.546099
46
282
3.347826
0.478261
0.207792
0.337662
0.207792
0.272727
0
0
0
0
0
0
0.022026
0.195035
282
13
57
21.692308
0.656388
0
0
0
0
0
0.007092
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
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
f851933c313ab87cb9de0511aa9fad4f7b14aa90
739
py
Python
src/z3c/relationfield/schema.py
zopefoundation/z3c.relationfield
18ffe3f7ed7978d7fb3ebec119161d68d4f17805
[ "ZPL-2.1" ]
2
2016-02-07T11:46:54.000Z
2016-04-27T11:40:59.000Z
src/z3c/relationfield/schema.py
zopefoundation/z3c.relationfield
18ffe3f7ed7978d7fb3ebec119161d68d4f17805
[ "ZPL-2.1" ]
19
2015-09-09T01:16:32.000Z
2021-12-21T16:41:08.000Z
src/z3c/relationfield/schema.py
zopefoundation/z3c.relationfield
18ffe3f7ed7978d7fb3ebec119161d68d4f17805
[ "ZPL-2.1" ]
6
2015-09-09T01:13:32.000Z
2018-02-20T23:15:44.000Z
from z3c.relationfield.interfaces import IRelation from z3c.relationfield.interfaces import IRelationChoice from z3c.relationfield.interfaces import IRelationList from zope.interface import implementer from zope.schema import Choice from zope.schema import Field from zope.schema import List @implementer(IRelation) cl...
23.83871
60
0.726658
83
739
6.313253
0.385542
0.085878
0.114504
0.171756
0.206107
0
0
0
0
0
0
0.005076
0.200271
739
30
61
24.633333
0.881557
0
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.043478
false
0.086957
0.304348
0
0.478261
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
1
0
0
0
0
3
f85b4a59cbb4e5bfca8790f305c374077bd3126a
170
py
Python
load.py
junwen0301/bash
ade08461f3d52a2dd1b3c56aefbfc9dd540acaf0
[ "MIT" ]
null
null
null
load.py
junwen0301/bash
ade08461f3d52a2dd1b3c56aefbfc9dd540acaf0
[ "MIT" ]
null
null
null
load.py
junwen0301/bash
ade08461f3d52a2dd1b3c56aefbfc9dd540acaf0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os from multiprocessing import cpu_count load_15 = int(os.getloadavg()[2]*100) if load_15 > 300*cpu_count(): os.system('/sbin/reboot')
24.285714
37
0.688235
27
170
4.185185
0.740741
0.141593
0
0
0
0
0
0
0
0
0
0.081633
0.135294
170
6
38
28.333333
0.687075
0.123529
0
0
0
0
0.081633
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
f85c9a11ddbcaaf7e7138785c00c276d6731d4cc
159
py
Python
Hackerrank-Solutions/Hackerrank-Python-Solutions/Basic Data Types/Find the Runner-Up Score!.py
HetDaftary/Competitive-Coding-Solutions
a683fa11895410c6eef07b1a68054f3e90aa596b
[ "MIT" ]
null
null
null
Hackerrank-Solutions/Hackerrank-Python-Solutions/Basic Data Types/Find the Runner-Up Score!.py
HetDaftary/Competitive-Coding-Solutions
a683fa11895410c6eef07b1a68054f3e90aa596b
[ "MIT" ]
null
null
null
Hackerrank-Solutions/Hackerrank-Python-Solutions/Basic Data Types/Find the Runner-Up Score!.py
HetDaftary/Competitive-Coding-Solutions
a683fa11895410c6eef07b1a68054f3e90aa596b
[ "MIT" ]
null
null
null
if __name__ == '__main__': n = int(input()) ar = list(map(int, input().split())) m = max(ar) ar = [x for x in ar if x != m] print(max(ar))
22.714286
40
0.503145
27
159
2.666667
0.592593
0.222222
0
0
0
0
0
0
0
0
0
0
0.289308
159
6
41
26.5
0.637168
0
0
0
0
0
0.050314
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
f86851aa621c267af7e645492e51dc7659b1ac55
114
py
Python
src/C/libpqcrypto/python/test-random1.py
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
34
2015-02-04T18:03:14.000Z
2020-11-10T06:45:28.000Z
src/C/libpqcrypto/python/test-random1.py
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
5
2015-06-30T21:17:00.000Z
2016-06-14T22:31:51.000Z
src/C/libpqcrypto/python/test-random1.py
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
15
2015-10-29T14:21:58.000Z
2022-01-19T07:33:14.000Z
import pqcrypto kem = pqcrypto.kem.newhope1024cca n = 10000 assert len(set(kem.keypair() for i in range(n))) == n
22.8
53
0.72807
19
114
4.368421
0.736842
0.26506
0
0
0
0
0
0
0
0
0
0.091837
0.140351
114
4
54
28.5
0.755102
0
0
0
0
0
0
0
0
0
0
0
0.25
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
f88d6f626dac1801aa139226ebc181592cf65c96
51
py
Python
ncadquery/types.py
Jojain/ncadquery
736369e4f73cb69c7a1efd631d96c7da5acab985
[ "Apache-2.0" ]
1,423
2018-10-28T18:01:04.000Z
2022-03-30T20:22:28.000Z
ncadquery/types.py
Jojain/ncadquery
736369e4f73cb69c7a1efd631d96c7da5acab985
[ "Apache-2.0" ]
1,017
2018-11-18T20:50:34.000Z
2022-03-31T22:56:39.000Z
ncadquery/types.py
Jojain/ncadquery
736369e4f73cb69c7a1efd631d96c7da5acab985
[ "Apache-2.0" ]
175
2018-11-18T06:07:54.000Z
2022-03-31T16:21:18.000Z
from typing import Union Real = Union[int, float]
12.75
24
0.745098
8
51
4.75
0.875
0
0
0
0
0
0
0
0
0
0
0
0.176471
51
3
25
17
0.904762
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
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
f8ac0304d12ce02103129fce0e33180094bc25c5
23,122
py
Python
ganimides_server/_ganimides_mix_api.py
leandrou-technology-forward/ganimides_api_server
8787927e2cf7568a070c1c65294ee76d89177908
[ "MIT" ]
null
null
null
ganimides_server/_ganimides_mix_api.py
leandrou-technology-forward/ganimides_api_server
8787927e2cf7568a070c1c65294ee76d89177908
[ "MIT" ]
1
2021-06-02T00:36:03.000Z
2021-06-02T00:36:03.000Z
ganimides_server/_ganimides_mix_api.py
leandrou-technology-forward/ganimides_api_server
8787927e2cf7568a070c1c65294ee76d89177908
[ "MIT" ]
null
null
null
import os import sys if not (os.path.dirname(os.path.dirname(__file__)) in sys.path): sys.path.append(os.path.dirname(os.path.dirname(__file__))) if not (os.path.dirname(__file__) in sys.path): sys.path.append(os.path.dirname(__file__)) import datetime import decimal # # from _serverApp import thisApp from _serverApp...
65.874644
200
0.555402
2,095
23,122
5.612411
0.08401
0.05239
0.071441
0.033679
0.758122
0.733968
0.717724
0.670607
0.667801
0.664144
0
0.002402
0.099602
23,122
350
201
66.062857
0.562371
0.278652
0
0.594488
0
0.011811
0.186175
0.035826
0
0
0
0
0
1
0.019685
false
0
0.047244
0
0.133858
0.023622
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
f8d333879467780adc61f01e4e007a60383e49ab
72
py
Python
src/examples/a_example/main.py
MSGP117/acc-cosc-1336-spring-2022-MSGP117
46fdfa5da8f8eb887d2c79fe205b8a0064d6903d
[ "MIT" ]
null
null
null
src/examples/a_example/main.py
MSGP117/acc-cosc-1336-spring-2022-MSGP117
46fdfa5da8f8eb887d2c79fe205b8a0064d6903d
[ "MIT" ]
null
null
null
src/examples/a_example/main.py
MSGP117/acc-cosc-1336-spring-2022-MSGP117
46fdfa5da8f8eb887d2c79fe205b8a0064d6903d
[ "MIT" ]
1
2022-02-11T04:27:12.000Z
2022-02-11T04:27:12.000Z
import devprocess result = devprocess.add_numbers(5, 5) print(result)
12
37
0.777778
10
72
5.5
0.7
0
0
0
0
0
0
0
0
0
0
0.031746
0.125
72
5
38
14.4
0.84127
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
6ef20fdb1baf41b2f9f66e3404922de8fe292af6
31,758
py
Python
pkgs/conf-pkg/src/genie/libs/conf/rsvp/iosxr/rsvp.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
94
2018-04-30T20:29:15.000Z
2022-03-29T13:40:31.000Z
pkgs/conf-pkg/src/genie/libs/conf/rsvp/iosxr/rsvp.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
67
2018-12-06T21:08:09.000Z
2022-03-29T18:00:46.000Z
pkgs/conf-pkg/src/genie/libs/conf/rsvp/iosxr/rsvp.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
49
2018-06-29T18:59:03.000Z
2022-03-10T02:07:59.000Z
from abc import ABC import warnings from genie.conf.base.attributes import UnsupportedAttributeWarning,\ AttributesHelper from genie.conf.base.cli import CliConfigBuilder from genie.conf.base.config import CliConfig from ..rsvp import Rsvp as _Rsvp def format_bw_unit_percent(bw, unit, percent): if bw is No...
66.024948
223
0.595315
3,535
31,758
5.252051
0.061103
0.093558
0.103415
0.144781
0.860444
0.79888
0.719595
0.676667
0.613595
0.525531
0
0.025537
0.323068
31,758
480
224
66.1625
0.838078
0.405788
0
0.341709
0
0
0.156362
0.04145
0
0
0
0
0.020101
1
0.045226
false
0.01005
0.030151
0.020101
0.150754
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
3e33b630214859502091be4d0d4b797aaa366e7c
143
py
Python
app/job/urls.py
LeandroMelloo/docker_for_python_django_developer
85a68e4bd6ede3894e518ce7d73db18f7e2cc436
[ "Apache-2.0" ]
null
null
null
app/job/urls.py
LeandroMelloo/docker_for_python_django_developer
85a68e4bd6ede3894e518ce7d73db18f7e2cc436
[ "Apache-2.0" ]
null
null
null
app/job/urls.py
LeandroMelloo/docker_for_python_django_developer
85a68e4bd6ede3894e518ce7d73db18f7e2cc436
[ "Apache-2.0" ]
null
null
null
from django.urls import path from .views import JobAPIView # endpoints urlpatterns = [ path('job/', JobAPIView.as_view(), name='job'), ]
15.888889
51
0.699301
18
143
5.5
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.160839
143
8
52
17.875
0.825
0.062937
0
0
0
0
0.05303
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
3e385d8b0c86ba1f6c548700637c3e7c1436a7ad
80
py
Python
seizurecast/postgresql.py
kusumikakd/Real_time_seizurecast
e7c186d8116d16d6a03bb42e943c3af86b489d81
[ "MIT" ]
null
null
null
seizurecast/postgresql.py
kusumikakd/Real_time_seizurecast
e7c186d8116d16d6a03bb42e943c3af86b489d81
[ "MIT" ]
null
null
null
seizurecast/postgresql.py
kusumikakd/Real_time_seizurecast
e7c186d8116d16d6a03bb42e943c3af86b489d81
[ "MIT" ]
null
null
null
PGHOST='localhost' PGDATABASE='tuh_sez' PGUSER='yanxlin' PGPASSWORD='password'
13.333333
21
0.7875
9
80
6.888889
1
0
0
0
0
0
0
0
0
0
0
0
0.0625
80
5
22
16
0.826667
0
0
0
0
0
0.392405
0
0
0
0
0
0
1
0
false
0.25
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
3e553023147cf8cba772936344a11f152b931496
217
py
Python
Operator and String/3.5.8 Rectangle part3.py
ferrerinicolas/python_samples
107cead4fbee30b275a5e2be1257833129ce5e46
[ "MIT" ]
null
null
null
Operator and String/3.5.8 Rectangle part3.py
ferrerinicolas/python_samples
107cead4fbee30b275a5e2be1257833129ce5e46
[ "MIT" ]
null
null
null
Operator and String/3.5.8 Rectangle part3.py
ferrerinicolas/python_samples
107cead4fbee30b275a5e2be1257833129ce5e46
[ "MIT" ]
null
null
null
length = int(input("What is the length?: ")) width = int(input ("What is the width?: ")) area = length * width perimeter = 2 * (length + width) print ("Area: " + str(area)) print ("Perimeter: " + str(perimeter))
18.083333
44
0.617512
29
217
4.62069
0.413793
0.246269
0.179104
0.208955
0.253731
0
0
0
0
0
0
0.005714
0.193548
217
11
45
19.727273
0.76
0
0
0
0
0
0.269767
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
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
0
0
3
3e5be821c486c5b0bb7c558ef842b5ee3cd2b093
63
py
Python
hello.py
noahgift/hello-github
e5d9a20704835bfda4ff5ef60baec6657a6c058a
[ "MIT" ]
null
null
null
hello.py
noahgift/hello-github
e5d9a20704835bfda4ff5ef60baec6657a6c058a
[ "MIT" ]
null
null
null
hello.py
noahgift/hello-github
e5d9a20704835bfda4ff5ef60baec6657a6c058a
[ "MIT" ]
1
2021-08-29T13:07:44.000Z
2021-08-29T13:07:44.000Z
def say(): return "hello" print(say()) this_is_bad_code===
12.6
19
0.650794
10
63
3.8
0.9
0
0
0
0
0
0
0
0
0
0
0
0.15873
63
5
19
12.6
0.716981
0
0
0
0
0
0.078125
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
3e7e8a30d722c094a26368a3cc90c68358d301ff
225
py
Python
boundio/__init__.py
A1Liu/boundio
285587e58177624980f29925e408ff1c3cb33083
[ "Apache-2.0" ]
null
null
null
boundio/__init__.py
A1Liu/boundio
285587e58177624980f29925e408ff1c3cb33083
[ "Apache-2.0" ]
null
null
null
boundio/__init__.py
A1Liu/boundio
285587e58177624980f29925e408ff1c3cb33083
[ "Apache-2.0" ]
null
null
null
import boundio.asynchronous.raw_io.stdin as stdin from boundio.asynchronous import task, run_tasks, clear_tasks, execute_async import boundio.sockets as sockets # __all__ = ['stdin','task','run_task','websockets','examples']
45
76
0.8
31
225
5.516129
0.580645
0.152047
0
0
0
0
0
0
0
0
0
0
0.084444
225
4
77
56.25
0.830097
0.271111
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
3e88d5ff7107d3c1afdca66d890dd3397bede807
831
py
Python
pyalp/pyalp/contexts.py
Mause/pyalp
fb0f723070e11f8c9ed57e2475eb963599f442a6
[ "MIT" ]
null
null
null
pyalp/pyalp/contexts.py
Mause/pyalp
fb0f723070e11f8c9ed57e2475eb963599f442a6
[ "MIT" ]
2
2021-06-08T19:32:48.000Z
2022-03-11T23:17:45.000Z
pyalp/pyalp/contexts.py
Mause/pyalp
fb0f723070e11f8c9ed57e2475eb963599f442a6
[ "MIT" ]
null
null
null
#main/contexts.py from os.path import join import json from django.core.urlresolvers import resolve from django.conf import settings from cl_module.cl_module import ModuleManager from flags.registry import get_flag_registry from skins import get_skin def app_name(request): return {'app_name': resolve(request.pa...
20.268293
60
0.752106
116
831
5.198276
0.353448
0.129353
0.099502
0.072968
0
0
0
0
0
0
0
0
0.140794
831
40
61
20.775
0.844538
0.019254
0
0
0
0
0.070025
0.027027
0
0
0
0
0
1
0.318182
false
0
0.363636
0.272727
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
1
0
0
0
3
3e8d74e3f62836e8f28a0739a75109343b827641
219
py
Python
Bronze/Bronze_V/16170.py
masterTyper/baekjoon_solved_ac
b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c
[ "MIT" ]
null
null
null
Bronze/Bronze_V/16170.py
masterTyper/baekjoon_solved_ac
b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c
[ "MIT" ]
null
null
null
Bronze/Bronze_V/16170.py
masterTyper/baekjoon_solved_ac
b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c
[ "MIT" ]
null
null
null
import datetime time = datetime.datetime.now() print(time.year) print('0' + str(time.month)) if len(str(time.month)) == 1 else print(time.day) print('0' + str(time.day)) if len(str(time.day)) == 1 else print(time.day)
31.285714
78
0.684932
39
219
3.846154
0.358974
0.186667
0.12
0.173333
0.226667
0
0
0
0
0
0
0.020619
0.114155
219
6
79
36.5
0.752577
0
0
0
0
0
0.009132
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.6
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
0
0
1
0
3
e42376a79965321d6125cefd96a28beb1a683fbe
237
py
Python
quizapp/admin.py
Cdingram/QuizApp
eaab828102ff17456ee8ee18a7aa0622cd8418dc
[ "Apache-2.0" ]
null
null
null
quizapp/admin.py
Cdingram/QuizApp
eaab828102ff17456ee8ee18a7aa0622cd8418dc
[ "Apache-2.0" ]
null
null
null
quizapp/admin.py
Cdingram/QuizApp
eaab828102ff17456ee8ee18a7aa0622cd8418dc
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin # Register your models here. from .models import * admin.site.register(Question) admin.site.register(Answer) admin.site.register(Quiz) admin.site.register(QuizAttempt) admin.site.register(AnswerAttempt)
23.7
34
0.814346
32
237
6.03125
0.46875
0.233161
0.440415
0
0
0
0
0
0
0
0
0
0.080169
237
10
34
23.7
0.885321
0.109705
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
e44b0d7d329f56a50fa32270c68337a2f9818286
611
py
Python
MIO/02-LISTAS Y DATOS/recursion_exponencial.py
cerebriko/CursoTecnara
4368d4a0e61928009a2769f4151eee954c5b890d
[ "MIT" ]
null
null
null
MIO/02-LISTAS Y DATOS/recursion_exponencial.py
cerebriko/CursoTecnara
4368d4a0e61928009a2769f4151eee954c5b890d
[ "MIT" ]
null
null
null
MIO/02-LISTAS Y DATOS/recursion_exponencial.py
cerebriko/CursoTecnara
4368d4a0e61928009a2769f4151eee954c5b890d
[ "MIT" ]
null
null
null
def exponencial(base,n): if n < 0 : return None elif n==0: return 1 else: a= base * exponencial(base, n-1) return a x=exponencial(2,3) y = print(x) print(y) # ##################################################################### def exponencial(base,n): a = 1 whil...
16.513514
71
0.400982
76
611
3.223684
0.236842
0.306122
0.326531
0.232653
0.485714
0.485714
0.485714
0.485714
0.35102
0.35102
0
0.03386
0.274959
611
37
72
16.513514
0.519187
0
0
0.6
0
0
0
0
0
0
0
0
0
1
0.12
false
0
0
0
0.32
0.16
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
e47629ddd6e29c97a6701ea6e7d8e73440f21fc4
269
py
Python
crud/models.py
walee590/Django-CRUD
a9aba814d007f832bd4dede33ecc3b7595291377
[ "Apache-2.0" ]
1
2021-08-01T14:01:32.000Z
2021-08-01T14:01:32.000Z
crud/models.py
walee590/Django-CRUD
a9aba814d007f832bd4dede33ecc3b7595291377
[ "Apache-2.0" ]
null
null
null
crud/models.py
walee590/Django-CRUD
a9aba814d007f832bd4dede33ecc3b7595291377
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class crud(models.Model): id = models.BigAutoField(primary_key=True) first = models.CharField(max_length=40) last = models.CharField(max_length=40) class Meta: db_table = "crud"
24.454545
46
0.680297
36
269
4.972222
0.666667
0.167598
0.201117
0.268156
0.290503
0
0
0
0
0
0
0.019139
0.223048
269
11
47
24.454545
0.837321
0.089219
0
0
0
0
0.016393
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.857143
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
e47aa642d5bde13cac375889e02117d2dd29e3cf
214
py
Python
tests/test_database_config.py
xiaolingzi/python-orm-lingorm
4b614bac1d6427010d7b355e1f67b0bbff52edbc
[ "MIT" ]
2
2020-10-12T02:42:41.000Z
2020-11-29T07:41:40.000Z
tests/test_database_config.py
xiaolingzi/lingorm-python
4b614bac1d6427010d7b355e1f67b0bbff52edbc
[ "MIT" ]
null
null
null
tests/test_database_config.py
xiaolingzi/lingorm-python
4b614bac1d6427010d7b355e1f67b0bbff52edbc
[ "MIT" ]
null
null
null
import os from lingorm.drivers.database_config import DatabaseConfig def test_get_config_by_key(): config = DatabaseConfig.get_config_by_key("test") assert config is not None assert "driver" in config
26.75
58
0.785047
31
214
5.16129
0.612903
0.1125
0.1375
0.175
0
0
0
0
0
0
0
0
0.154206
214
7
59
30.571429
0.883978
0
0
0
0
0
0.046729
0
0
0
0
0
0.333333
1
0.166667
false
0
0.333333
0
0.5
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
1
0
0
0
0
3
e4954666afbfee001447531a87f9881119bed0da
1,404
py
Python
aiopening/algorithms/base.py
ducandu/aiopening
214d8d6dfc928ab4f8db634018092dc43eaf0e3c
[ "MIT" ]
null
null
null
aiopening/algorithms/base.py
ducandu/aiopening
214d8d6dfc928ab4f8db634018092dc43eaf0e3c
[ "MIT" ]
null
null
null
aiopening/algorithms/base.py
ducandu/aiopening
214d8d6dfc928ab4f8db634018092dc43eaf0e3c
[ "MIT" ]
null
null
null
""" ------------------------------------------------------------------------- AIOpening - algorithms/base.py Base class for AI algorithms. created: 2017/09/01 in PyCharm (c) 2017 Sven - ducandu GmbH ------------------------------------------------------------------------- """ class Algorithm(object): "...
45.290323
149
0.643875
193
1,404
4.658031
0.580311
0.031146
0.03337
0
0
0
0
0
0
0
0
0.010811
0.209402
1,404
30
150
46.8
0.799099
0.82906
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e49f4e53d45eee91da5cd60c73ceb15df40e18bd
136
py
Python
mundo1/Desafios/d008.py
diegoarauj0/Python
e23133d23133a4bdd5b9a61e4787be1f1c5a06ae
[ "MIT" ]
null
null
null
mundo1/Desafios/d008.py
diegoarauj0/Python
e23133d23133a4bdd5b9a61e4787be1f1c5a06ae
[ "MIT" ]
null
null
null
mundo1/Desafios/d008.py
diegoarauj0/Python
e23133d23133a4bdd5b9a61e4787be1f1c5a06ae
[ "MIT" ]
null
null
null
n1 = int(input('Digite um Valor em Metros')) print('{} Metros e Igual a {} Centimetros e {} Menimetros'.format(n1, n1 * 100, n1 * 1000))
68
91
0.661765
22
136
4.090909
0.772727
0
0
0
0
0
0
0
0
0
0
0.096491
0.161765
136
2
91
68
0.692982
0
0
0
0
0
0.547445
0
0
0
0
0
0
1
0
false
0
0
0
0
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
e4a0f62ac93ad2b09d9a09cbd1571e70231d8e8f
149
py
Python
examples/exceptions/server.py
gst/Pyro5
032f635e771b2770f751f133274f0c6d1132d6d8
[ "MIT" ]
null
null
null
examples/exceptions/server.py
gst/Pyro5
032f635e771b2770f751f133274f0c6d1132d6d8
[ "MIT" ]
null
null
null
examples/exceptions/server.py
gst/Pyro5
032f635e771b2770f751f133274f0c6d1132d6d8
[ "MIT" ]
null
null
null
from Pyro5.api import Daemon import excep Daemon.serveSimple( { excep.TestClass: "example.exceptions" }, ns=True, verbose=True)
16.555556
45
0.671141
17
149
5.882353
0.764706
0
0
0
0
0
0
0
0
0
0
0.008696
0.228188
149
8
46
18.625
0.86087
0
0
0
0
0
0.120805
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
e4a4129a1c72ccc5a21638c5bda038732f5844f9
482
py
Python
ABC_D/ABC089_C.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_D/ABC089_C.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_D/ABC089_C.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
N = int(input()) S = [0]*5 for _ in range(N): s = input() if s[0] == 'M': S[0] += 1 elif s[0] == 'A': S[1] += 1 elif s[0] == 'R': S[2] += 1 elif s[0] == 'C': S[3] += 1 elif s[0] == 'H': S[4] += 1 if sum(S) == 0: print(0) exit(0) I = [0, 0, 0, 0, ...
17.851852
34
0.344398
107
482
1.542056
0.261682
0.09697
0.145455
0.169697
0.036364
0
0
0
0
0
0
0.174917
0.371369
482
26
35
18.538462
0.369637
0
0
0
0
0
0.010373
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
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
e4d14649d5d16d88bf40501b9c78fbd098c19644
8,349
py
Python
Python/Output/BaseDatos.py
luciatomainodelacr/TFM
dd989ba18e22d71f6c9c03e16b71110c7c23a9a8
[ "MIT" ]
1
2021-05-26T15:45:06.000Z
2021-05-26T15:45:06.000Z
Python/Output/BaseDatos.py
luciatomainodelacr/TFM
dd989ba18e22d71f6c9c03e16b71110c7c23a9a8
[ "MIT" ]
null
null
null
Python/Output/BaseDatos.py
luciatomainodelacr/TFM
dd989ba18e22d71f6c9c03e16b71110c7c23a9a8
[ "MIT" ]
5
2021-03-07T19:20:26.000Z
2021-04-11T18:26:12.000Z
# -*- coding: utf-8 -*- import mysql.connector import pandas as pd class BaseDatos(object): """ Atributos: ------------ host: string puerto: int usuario: string password: string basedatos: string Metodos: ------------ constructor: ...
33.53012
137
0.454545
700
8,349
5.31
0.181429
0.032284
0.015066
0.024482
0.679311
0.679311
0.638418
0.638418
0.638418
0.634652
0
0.00822
0.460894
8,349
249
138
33.53012
0.817596
0.646784
0
0.121212
0
0
0.012987
0
0
0
0
0.016064
0
1
0.151515
false
0.121212
0.060606
0
0.363636
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
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
3
e4da4e0cd78d34ea281e6b72c6dc56fd8f6dfc90
470
py
Python
tally_ho/libs/tests/permissions/test_groups.py
onaio/tally-ho
f7a81909755924370653051bfc8315588dc75356
[ "Apache-2.0" ]
12
2015-09-07T17:12:42.000Z
2021-12-29T07:51:18.000Z
tally_ho/libs/tests/permissions/test_groups.py
onaio/tally-ho
f7a81909755924370653051bfc8315588dc75356
[ "Apache-2.0" ]
122
2018-09-18T04:05:39.000Z
2022-01-17T10:12:48.000Z
tally_ho/libs/tests/permissions/test_groups.py
onaio/tally-ho
f7a81909755924370653051bfc8315588dc75356
[ "Apache-2.0" ]
13
2015-06-06T17:32:34.000Z
2020-09-10T12:58:07.000Z
from django.contrib.auth.models import Group from django.test import TestCase from tally_ho.libs.permissions.groups import create_permission_groups class TestGroups(TestCase): number_of_groups = 13 def setUp(self): pass def test_create_permission_groups(self): count = Group.objects.coun...
26.111111
69
0.734043
60
470
5.516667
0.483333
0.145015
0.199396
0.132931
0
0
0
0
0
0
0
0.005263
0.191489
470
17
70
27.647059
0.865789
0
0
0
0
0
0
0
0
0
0
0
0.083333
1
0.166667
false
0.083333
0.25
0
0.583333
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
0
0
1
0
0
1
0
0
3
e4dd52107ac0dc81baf55df8f39f90d0cbb908ec
137
py
Python
1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E6.py
codeclubbentleigh/Python
94d6a937aa3520b201ee1641c2009bd90566d52a
[ "MIT" ]
12
2018-11-14T03:55:58.000Z
2021-12-12T01:13:05.000Z
1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E6.py
codeclubbentleigh/Python
94d6a937aa3520b201ee1641c2009bd90566d52a
[ "MIT" ]
null
null
null
1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E6.py
codeclubbentleigh/Python
94d6a937aa3520b201ee1641c2009bd90566d52a
[ "MIT" ]
7
2019-10-10T06:28:58.000Z
2022-02-15T07:18:12.000Z
def scalar_mult(s, v): resul = [] for item in v: resul.append(item * s) return resul print(scalar_mult(5, [1, 2]))
15.222222
30
0.562044
22
137
3.409091
0.681818
0.266667
0
0
0
0
0
0
0
0
0
0.030928
0.291971
137
8
31
17.125
0.742268
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
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
e4e6bec7306b793725d5517566671b61621d5040
89,922
py
Python
tests/procon.py
kagemeka/competitive-programming
c70fe481bcd518f507b885fc9234691d8ce63171
[ "MIT" ]
1
2021-07-11T03:20:10.000Z
2021-07-11T03:20:10.000Z
tests/procon.py
kagemeka/competitive-programming
c70fe481bcd518f507b885fc9234691d8ce63171
[ "MIT" ]
39
2021-07-10T05:21:09.000Z
2021-12-15T06:10:12.000Z
tests/procon.py
kagemeka/competitive-programming
c70fe481bcd518f507b885fc9234691d8ce63171
[ "MIT" ]
null
null
null
from scipy.spatial import ConvexHull class ABC031: @staticmethod def a(): a, d = map(int, sys.stdin.readline().split()) if a > d: a,d = d,a print((a+1)*d) @staticmethod def b(): l, h, n, *a = map(int, sys.stdin.read().split()) a = np.array(a) res = np.maximum(...
28.197554
1,212
0.472977
15,288
89,922
2.767792
0.045591
0.057097
0.061611
0.065841
0.494824
0.40743
0.348513
0.307912
0.262419
0.199768
0
0.070369
0.318865
89,922
3,189
1,213
28.197554
0.620484
0.006539
0
0.412564
0
0.000367
0.031351
0.011197
0
1
0
0
0
0
null
null
0.00845
0.000367
null
null
0.122704
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
3
e4f97e4b2790b6685d89814b08779c173fb604c3
816
py
Python
obb/models/train_station.py
marcmelchor/OBB-Train-Station
6371f2a27205f20289afd1842ad055106d732158
[ "MIT" ]
null
null
null
obb/models/train_station.py
marcmelchor/OBB-Train-Station
6371f2a27205f20289afd1842ad055106d732158
[ "MIT" ]
3
2019-12-04T23:14:40.000Z
2021-03-01T19:02:22.000Z
obb/models/train_station.py
marcmelchor/OBB-Train-Station
6371f2a27205f20289afd1842ad055106d732158
[ "MIT" ]
null
null
null
from django.db import models from .platform import Platform class TrainStation(models.Model): _name = models.CharField(max_length=100) _platform = models.ManyToManyField(Platform, blank=True) def __str__(self): return self._name def __unicode__(self): return '/%s/' % self._name ...
22.054054
60
0.623775
95
816
5.157895
0.347368
0.122449
0.085714
0.073469
0.102041
0
0
0
0
0
0
0.010169
0.276961
816
36
61
22.666667
0.820339
0
0
0.148148
0
0
0.017157
0
0
0
0
0
0
1
0.259259
false
0
0.074074
0.148148
0.592593
0.037037
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
900921ed94173f01883366843f1919624a8b5ea5
176
py
Python
numpy_property.py
sunweiconfidence/numpydemo
86dbf7d4cfb572e2e68fd6fb44a1ddbdc63cd847
[ "MIT" ]
null
null
null
numpy_property.py
sunweiconfidence/numpydemo
86dbf7d4cfb572e2e68fd6fb44a1ddbdc63cd847
[ "MIT" ]
null
null
null
numpy_property.py
sunweiconfidence/numpydemo
86dbf7d4cfb572e2e68fd6fb44a1ddbdc63cd847
[ "MIT" ]
null
null
null
import numpy as np array = np.array([[1,2,3], [2,3,4]]) print(array) print('number of dim:',array.ndim) print('shape:',array.shape) print('size:',array.size)
22
34
0.602273
29
176
3.655172
0.551724
0.132075
0
0
0
0
0
0
0
0
0
0.041667
0.181818
176
8
35
22
0.694444
0
0
0
0
0
0.141243
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.571429
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
901115919fe589c66f68b731359e6bcc57ea1647
556
py
Python
test/generate_tests.py
huichen/juzhen
5af4308e683f79ab98081739c4a7a567757532b8
[ "Apache-2.0" ]
3
2015-09-09T10:00:27.000Z
2019-01-30T20:17:59.000Z
test/generate_tests.py
huichen/juzhen
5af4308e683f79ab98081739c4a7a567757532b8
[ "Apache-2.0" ]
null
null
null
test/generate_tests.py
huichen/juzhen
5af4308e683f79ab98081739c4a7a567757532b8
[ "Apache-2.0" ]
2
2018-04-07T10:42:06.000Z
2019-01-30T20:18:02.000Z
#! /usr/bin/env python import os output_file = open("test_inc.h", "w") output_file.write('''/** * This file is automatically generated by a script. * DON'T MANUALLY CHANGE IT! */ ''') for root, dirs, files in os.walk('tests'): for file in files: if file[-2:] == ".h": test_name = file[:-2] outpu...
24.173913
76
0.609712
86
556
3.77907
0.488372
0.215385
0.230769
0.061538
0.141538
0
0
0
0
0
0
0.004405
0.183453
556
22
77
25.272727
0.711454
0.03777
0
0
1
0
0.292683
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9011cae74958918784df9c92ccda98293baa6a3c
208
py
Python
python/bubbleSort.py
Jung-Juhwan/SimpleAlgorithm
42c6852bc0f7f264c640aabcbb15159b153f74fc
[ "MIT" ]
null
null
null
python/bubbleSort.py
Jung-Juhwan/SimpleAlgorithm
42c6852bc0f7f264c640aabcbb15159b153f74fc
[ "MIT" ]
null
null
null
python/bubbleSort.py
Jung-Juhwan/SimpleAlgorithm
42c6852bc0f7f264c640aabcbb15159b153f74fc
[ "MIT" ]
null
null
null
def bubble_sort(arr): length = len(arr) - 1 for i in range(length): for j in range(length - i): if arr[j] > arr[j + 1]: arr[j], arr[j + 1] = arr[j + 1], arr[j]
34.666667
55
0.451923
35
208
2.657143
0.371429
0.258065
0.16129
0.258065
0.290323
0.236559
0.236559
0
0
0
0
0.03125
0.384615
208
6
55
34.666667
0.695313
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0
0
0
0
null
1
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
0
0
0
0
3
901ccd36d387db77cacc068f7031f53fc85cf2c7
408
py
Python
mmdet/utils/__init__.py
Togal-ai-Team/mmdetection
760eed815c9c198d98a5934248ade46d618ac42a
[ "Apache-2.0" ]
null
null
null
mmdet/utils/__init__.py
Togal-ai-Team/mmdetection
760eed815c9c198d98a5934248ade46d618ac42a
[ "Apache-2.0" ]
null
null
null
mmdet/utils/__init__.py
Togal-ai-Team/mmdetection
760eed815c9c198d98a5934248ade46d618ac42a
[ "Apache-2.0" ]
null
null
null
# Copyright (c) OpenMMLab. All rights reserved. from .collect_env import collect_env from .logger import get_root_logger from .misc import find_latest_checkpoint from .setup_env import setup_multi_processes from .inference_utils import nms, delete_border_detections __all__ = [ 'get_root_logger', 'collect_env', 'fi...
34
63
0.808824
55
408
5.545455
0.472727
0.098361
0.085246
0.163934
0
0
0
0
0
0
0
0
0.115196
408
11
64
37.090909
0.844875
0.110294
0
0
0
0
0.265928
0.185596
0
0
0
0
0
1
0
false
0
0.555556
0
0.555556
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