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
45bbecf4a93d4b628956df5b94fa9f021904c6a3
719
py
Python
examples/memoized_development/memoized_development/repo.py
kstennettlull/dagster
dd6f57e170ff03bf145f1dd1417e0b2c3156b1d6
[ "Apache-2.0" ]
null
null
null
examples/memoized_development/memoized_development/repo.py
kstennettlull/dagster
dd6f57e170ff03bf145f1dd1417e0b2c3156b1d6
[ "Apache-2.0" ]
null
null
null
examples/memoized_development/memoized_development/repo.py
kstennettlull/dagster
dd6f57e170ff03bf145f1dd1417e0b2c3156b1d6
[ "Apache-2.0" ]
null
null
null
# start_mypipeline from memoized_development.solids.dog import emit_dog from memoized_development.solids.sentence import emit_sentence from memoized_development.solids.tree import emit_tree from dagster import ModeDefinition, pipeline, repository from dagster.core.storage.memoizable_io_manager import versioned_filesys...
26.62963
98
0.802503
90
719
6.088889
0.366667
0.138686
0.125912
0.158759
0
0
0
0
0
0
0
0
0.116829
719
26
99
27.653846
0.862992
0.043115
0
0
0
0
0.032117
0
0
0
0
0
0
1
0.117647
true
0
0.352941
0.117647
0.588235
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
1
1
0
0
4
45c22e85874660440ffae5e813f8c5e280c75931
148
py
Python
backend/voting/models/__init__.py
patrick91/pycon
9d7e15f540adcf0eaceb61fdbf67206d6aef73ec
[ "MIT" ]
2
2017-07-18T21:51:25.000Z
2017-12-23T11:08:39.000Z
backend/voting/models/__init__.py
patrick91/pycon
9d7e15f540adcf0eaceb61fdbf67206d6aef73ec
[ "MIT" ]
23
2017-07-18T20:22:38.000Z
2018-01-05T05:45:15.000Z
backend/voting/models/__init__.py
patrick91/pycon
9d7e15f540adcf0eaceb61fdbf67206d6aef73ec
[ "MIT" ]
2
2017-07-18T21:27:33.000Z
2017-07-18T22:07:03.000Z
from .included_event import IncludedEvent # noqa from .ranking import RankRequest, RankStat, RankSubmission # noqa from .vote import Vote # noqa
37
66
0.790541
18
148
6.444444
0.611111
0.137931
0
0
0
0
0
0
0
0
0
0
0.155405
148
3
67
49.333333
0.928
0.094595
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
45d164ae038a7780db89546240a82f855c2711c4
92
py
Python
App_Login/apps.py
mannnD/Myblog
2426a6c59ebc747eb574fa4cf645708adbd78ec8
[ "BSD-3-Clause" ]
1
2021-07-13T04:11:18.000Z
2021-07-13T04:11:18.000Z
App_Login/apps.py
mannnD/Myblog
2426a6c59ebc747eb574fa4cf645708adbd78ec8
[ "BSD-3-Clause" ]
null
null
null
App_Login/apps.py
mannnD/Myblog
2426a6c59ebc747eb574fa4cf645708adbd78ec8
[ "BSD-3-Clause" ]
null
null
null
from django.apps import AppConfig class AppLoginConfig(AppConfig): name = 'App_Login'
15.333333
33
0.76087
11
92
6.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.163043
92
5
34
18.4
0.896104
0
0
0
0
0
0.097826
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
1
0
0
4
afdd639a97d848168bca80ec2d051de1f7789c03
314
py
Python
satsim/kernel/model.py
0saurabh0/p1
af172de29f08e6fe21c810e0e87c06644af16c1f
[ "MIT" ]
null
null
null
satsim/kernel/model.py
0saurabh0/p1
af172de29f08e6fe21c810e0e87c06644af16c1f
[ "MIT" ]
null
null
null
satsim/kernel/model.py
0saurabh0/p1
af172de29f08e6fe21c810e0e87c06644af16c1f
[ "MIT" ]
null
null
null
from satsim import Component # models can be fallible by implementing the fallible model interface # models are added to the sim via the simulator add_model # models can be dynamically added after first startup of the simulator in the building # phase, also in stand-by-started class Model(Component): pass
28.545455
86
0.789809
49
314
5.040816
0.673469
0.072874
0.089069
0
0
0
0
0
0
0
0
0
0.178344
314
10
87
31.4
0.957364
0.764331
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
4
aff70bdf0394b44066ebb4bdac04b1011e3da86b
114
py
Python
run.py
BradyKieffer/progue
d003ca6edb3d407e29bc6675cb156e8715ae0861
[ "MIT" ]
null
null
null
run.py
BradyKieffer/progue
d003ca6edb3d407e29bc6675cb156e8715ae0861
[ "MIT" ]
null
null
null
run.py
BradyKieffer/progue
d003ca6edb3d407e29bc6675cb156e8715ae0861
[ "MIT" ]
null
null
null
import os from progue import client client.set_save_dir(os.path.dirname(os.path.abspath(__file__))) client.run()
22.8
63
0.798246
19
114
4.473684
0.684211
0.141176
0
0
0
0
0
0
0
0
0
0
0.078947
114
5
64
22.8
0.809524
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
aff74f661aedb21c037d6319baa3833d2b57b9c8
13,616
py
Python
habitica/test/test_api.py
clckwrkbdgr/habitica
2fbbdf1da8de5803b8132f2d51817ffc671364b2
[ "MIT" ]
1
2020-05-10T09:20:08.000Z
2020-05-10T09:20:08.000Z
habitica/test/test_api.py
clckwrkbdgr/habitica
2fbbdf1da8de5803b8132f2d51817ffc671364b2
[ "MIT" ]
null
null
null
habitica/test/test_api.py
clckwrkbdgr/habitica
2fbbdf1da8de5803b8132f2d51817ffc671364b2
[ "MIT" ]
null
null
null
import unittest, unittest.mock unittest.defaultTestLoader.testMethodPrefix = 'should' import json import requests from .. import api class TestUtils(unittest.TestCase): def should_access_dotdict_fields_via_dot(self): d = api.dotdict() d['field'] = 'foo' self.assertEqual(d.field, 'foo') self.assertEqual(d['fie...
43.641026
111
0.721063
1,723
13,616
5.520604
0.10621
0.078848
0.047309
0.051934
0.785849
0.763877
0.734756
0.716569
0.69323
0.68114
0
0.01884
0.115085
13,616
311
112
43.78135
0.770603
0
0
0.563333
0
0
0.151954
0
0
0
0
0
0.21
1
0.123333
false
0.05
0.013333
0.02
0.193333
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
affb2f37783ff3c0c063199095ec9c004ed81a3c
6,567
py
Python
testing/steps/test_concatenate_data_container.py
vincent-antaki/Neuraxle
cef1284a261010c655f8ef02b4fca5b8bb45850c
[ "Apache-2.0" ]
519
2019-03-29T19:17:41.000Z
2022-03-31T12:45:42.000Z
testing/steps/test_concatenate_data_container.py
Tubbz-alt/Neuraxle
308f24248cdb242b7e2f6ec7c51daf2ee3e38834
[ "Apache-2.0" ]
401
2019-06-09T19:06:47.000Z
2022-03-31T14:00:12.000Z
testing/steps/test_concatenate_data_container.py
Tubbz-alt/Neuraxle
308f24248cdb242b7e2f6ec7c51daf2ee3e38834
[ "Apache-2.0" ]
55
2019-06-09T19:24:31.000Z
2022-01-22T00:17:42.000Z
import numpy as np from neuraxle.base import ExecutionContext from neuraxle.data_container import DataContainer from neuraxle.pipeline import Pipeline from neuraxle.steps.data import InnerConcatenateDataContainer, ZipBatchDataContainer TIMESTEPS = 10 FEATURES = 5 VALIDATION_SIZE = 0.1 BATCH_SIZE = 32 N_EPOCHS = 10 SH...
45.923077
114
0.755901
891
6,567
5.102132
0.085297
0.183018
0.034316
0.047514
0.844479
0.785966
0.762648
0.719314
0.696436
0.599208
0
0.034909
0.149383
6,567
142
115
46.246479
0.778912
0.01203
0
0.421053
0
0
0.00309
0
0
0
0
0
0.210526
1
0.063158
false
0
0.052632
0
0.126316
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b33bb61d758d08ba353ff03c36f87f04c652a3ae
245
py
Python
4.py
kluge-iitk/Project-Euler
fd14738e2c87e4a1e7588071abe1ad979d856b14
[ "MIT" ]
null
null
null
4.py
kluge-iitk/Project-Euler
fd14738e2c87e4a1e7588071abe1ad979d856b14
[ "MIT" ]
null
null
null
4.py
kluge-iitk/Project-Euler
fd14738e2c87e4a1e7588071abe1ad979d856b14
[ "MIT" ]
null
null
null
'''Find the largest palindrome made from the product of two 3-digit numbers.''' def is_palindrome(n): return str(n) == str(n)[::-1] print(max((i*j, i, j) for i in range(100,1000) for j in range(100,1000) if is_palindrome(i*j)))
30.625
79
0.640816
46
245
3.369565
0.608696
0.03871
0.129032
0.180645
0
0
0
0
0
0
0
0.081218
0.195918
245
7
80
35
0.705584
0.297959
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.25
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
1
0
0
0
1
0
0
0
4
b3525374c279dcef475e7afa73900cee6bfe8342
239
py
Python
admin/management/commands/sync_media.py
adelsonllima/djangoplus
a4ce50bf8231a0d9a4a40751f0d076c2e9931f44
[ "BSD-3-Clause" ]
21
2017-10-08T23:19:47.000Z
2020-01-16T20:02:08.000Z
admin/management/commands/sync_media.py
adelsonllima/djangoplus
a4ce50bf8231a0d9a4a40751f0d076c2e9931f44
[ "BSD-3-Clause" ]
6
2020-06-03T05:30:52.000Z
2022-01-13T00:44:26.000Z
admin/management/commands/sync_media.py
adelsonllima/djangoplus
a4ce50bf8231a0d9a4a40751f0d076c2e9931f44
[ "BSD-3-Clause" ]
9
2017-10-09T22:58:31.000Z
2021-11-20T15:20:18.000Z
# -*- coding: utf-8 -*- from django.core.management.base import BaseCommand from djangoplus.utils.storage.dropbox import DropboxStorage class Command(BaseCommand): def handle(self, *args, **options): DropboxStorage().sync()
23.9
59
0.723849
27
239
6.407407
0.851852
0
0
0
0
0
0
0
0
0
0
0.004902
0.146444
239
9
60
26.555556
0.843137
0.087866
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
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
1
0
1
0
0
4
b357efb0d2fe605b9fd09fcf0e870d904da0ea1f
301
py
Python
tests/test_decorators.py
magnunleno/flask-stronghold
4ec93177df8e862d16265cd1c357c63aff4f012a
[ "MIT" ]
null
null
null
tests/test_decorators.py
magnunleno/flask-stronghold
4ec93177df8e862d16265cd1c357c63aff4f012a
[ "MIT" ]
null
null
null
tests/test_decorators.py
magnunleno/flask-stronghold
4ec93177df8e862d16265cd1c357c63aff4f012a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 from flask_stronghold import stronghold_exempt def test_exempt_decorator_add_exempt_flag(stronghold): @stronghold_exempt def func(): ... assert hasattr(func, '_IS_STRONGHOLD_EXEMPT') is True assert func._IS_STRONGHOLD_EXEMPT is True
21.5
57
0.747508
40
301
5.275
0.55
0.303318
0.180095
0.208531
0.265403
0.265403
0
0
0
0
0
0.004016
0.172757
301
13
58
23.153846
0.843373
0.119601
0
0
0
0
0.079848
0.079848
0
0
0
0
0.285714
1
0.285714
false
0
0.142857
0
0.428571
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
2fa9321a509c34390b8454a8e5d08bb427a93fee
202
py
Python
algorithms/python/125.py
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
3
2016-10-01T10:15:09.000Z
2017-07-09T02:53:36.000Z
algorithms/python/125.py
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
algorithms/python/125.py
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
class Solution(object): def isPalindrome(self, s): """ :type s: str :rtype: bool """ s = [ch.lower() for ch in s if ch.isalnum()] return s == s[::-1]
22.444444
52
0.455446
26
202
3.538462
0.730769
0
0
0
0
0
0
0
0
0
0
0.008
0.381188
202
8
53
25.25
0.728
0.123762
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
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
1
0
0
4
2fef6bc83fa5ad34207e11ca9eddb1203ea88c20
94
py
Python
intelark/_crawl-cpuspecs.py
barbalion/scrapy-intel-ark
7a086561e9d7b0695861374c19c0d663be8e2c09
[ "Apache-2.0" ]
1
2020-04-17T16:38:12.000Z
2020-04-17T16:38:12.000Z
intelark/_crawl-cpuspecs.py
barbalion/scrapy-intel-ark
7a086561e9d7b0695861374c19c0d663be8e2c09
[ "Apache-2.0" ]
null
null
null
intelark/_crawl-cpuspecs.py
barbalion/scrapy-intel-ark
7a086561e9d7b0695861374c19c0d663be8e2c09
[ "Apache-2.0" ]
null
null
null
# Helper for IDE from scrapy import cmdline cmdline.execute("scrapy crawl cpuspecs".split())
18.8
48
0.776596
13
94
5.615385
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.12766
94
4
49
23.5
0.890244
0.148936
0
0
0
0
0.269231
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
64003550480df2ea1d5418d27ea506d1cb2f69f2
227
py
Python
github/exceptions.py
QuicksilverMachine/github_api
77050d9400919da603698d82fda75d8529774585
[ "MIT" ]
null
null
null
github/exceptions.py
QuicksilverMachine/github_api
77050d9400919da603698d82fda75d8529774585
[ "MIT" ]
null
null
null
github/exceptions.py
QuicksilverMachine/github_api
77050d9400919da603698d82fda75d8529774585
[ "MIT" ]
null
null
null
class Error(Exception): """Base class for exceptions.""" pass class ResponseError(Error): """Exception raised for errors in the request response.""" def __init__(self, message): self.message = message
22.7
62
0.669604
26
227
5.692308
0.692308
0.189189
0
0
0
0
0
0
0
0
0
0
0.215859
227
9
63
25.222222
0.831461
0.348018
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0
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
1
0
0
1
0
0
4
6402c9d5c9de9ec8f20e9743e86779091abe1c0f
418
py
Python
unipipeline/utils/uni_util.py
aliaksandr-master/unipipeline
d8eac38534172aee59ab5777321cabe67f3779ef
[ "MIT" ]
null
null
null
unipipeline/utils/uni_util.py
aliaksandr-master/unipipeline
d8eac38534172aee59ab5777321cabe67f3779ef
[ "MIT" ]
1
2021-09-14T13:08:13.000Z
2021-09-14T13:08:13.000Z
unipipeline/utils/uni_util.py
aliaksandr-master/unipipeline
d8eac38534172aee59ab5777321cabe67f3779ef
[ "MIT" ]
null
null
null
from unipipeline.utils.uni_util_color import UniUtilColor from unipipeline.utils.uni_util_template import UniUtilTemplate class UniUtil: def __init__(self) -> None: self._color = UniUtilColor() self._template = UniUtilTemplate() @property def color(self) -> UniUtilColor: return se...
24.588235
63
0.708134
44
418
6.454545
0.409091
0.105634
0.140845
0.161972
0.190141
0
0
0
0
0
0
0
0.215311
418
16
64
26.125
0.865854
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.166667
0.666667
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
1
1
0
0
4
641be7167d9b46f9fed8cf5f62c7b5b1156dbfc8
1,456
py
Python
challenge-2/challenge-2.py
ubtjoe/candidate-coding-challenges
7fae47cd840b8c0c46131efae8a3f935983e5bc5
[ "MIT" ]
2
2019-09-04T22:22:26.000Z
2022-01-10T20:09:45.000Z
challenge-2/challenge-2.py
ubtjoe/candidate-coding-challenges
7fae47cd840b8c0c46131efae8a3f935983e5bc5
[ "MIT" ]
null
null
null
challenge-2/challenge-2.py
ubtjoe/candidate-coding-challenges
7fae47cd840b8c0c46131efae8a3f935983e5bc5
[ "MIT" ]
1
2022-01-10T20:10:41.000Z
2022-01-10T20:10:41.000Z
import unittest # used to test the implementation class SparseMatrix(object): ''' SparseMatrix class constructor''' # TODO: identify and justify approach def __init__(self, n_rows, n_cols, nonzero_values=None): ''' SparseMatrix constructor args: n_rows - number of rows ...
23.483871
109
0.582418
172
1,456
4.738372
0.418605
0.088344
0.044172
0.051534
0.193865
0.171779
0.053988
0
0
0
0
0
0.350275
1,456
61
110
23.868852
0.861522
0.417582
0
0.352941
0
0
0.01487
0
0
0
0
0.065574
0
1
0.352941
false
0.352941
0.058824
0
0.529412
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
1
0
0
1
0
0
4
ff24560b9db9712d8df7ee4ecd7ffda84dc179dd
335
py
Python
NetCatKS/Config/api/implementers/configuration/__init__.py
dimddev/NetCatKS-CP
2d9e72b2422e344569fd4eb154866b98e9707561
[ "BSD-2-Clause" ]
null
null
null
NetCatKS/Config/api/implementers/configuration/__init__.py
dimddev/NetCatKS-CP
2d9e72b2422e344569fd4eb154866b98e9707561
[ "BSD-2-Clause" ]
null
null
null
NetCatKS/Config/api/implementers/configuration/__init__.py
dimddev/NetCatKS-CP
2d9e72b2422e344569fd4eb154866b98e9707561
[ "BSD-2-Clause" ]
null
null
null
__author__ = 'dimd' from NetCatKS.Config.api.implementers.configuration.tcp import TCP from NetCatKS.Config.api.implementers.configuration.web import WEB from NetCatKS.Config.api.implementers.configuration.wamp import WAMP from NetCatKS.Config.api.implementers.configuration.ws import WS __all__ = [ 'TCP', 'WEB', ...
30.454545
68
0.791045
43
335
5.976744
0.325581
0.18677
0.280156
0.326848
0.715953
0.715953
0
0
0
0
0
0
0.098507
335
10
69
33.5
0.850993
0
0
0
0
0
0.047761
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
ff40423b482c7c9ed9798f137ecc9251665aa4dd
500
py
Python
reviews/serializers.py
sh4rpy/yamdb_api
ac463482421732c2bd7187882e340ea8d379be66
[ "BSD-3-Clause" ]
null
null
null
reviews/serializers.py
sh4rpy/yamdb_api
ac463482421732c2bd7187882e340ea8d379be66
[ "BSD-3-Clause" ]
6
2020-07-25T19:53:31.000Z
2021-09-22T19:30:12.000Z
reviews/serializers.py
sh4rpy/yamdb_api
ac463482421732c2bd7187882e340ea8d379be66
[ "BSD-3-Clause" ]
null
null
null
from rest_framework import serializers from .models import * class ReviewSerializer(serializers.ModelSerializer): author = serializers.ReadOnlyField(source='author.username') class Meta: fields = ('id', 'text', 'author', 'score', 'pub_date') model = Review class CommentSerializer(serializer...
26.315789
64
0.688
49
500
6.959184
0.489796
0.152493
0.187683
0.252199
0.604106
0.604106
0.604106
0.604106
0.604106
0.604106
0
0
0.19
500
18
65
27.777778
0.841975
0
0
0.333333
0
0
0.15
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.666667
0
0
0
0
null
0
1
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
0
0
0
0
0
0
0
1
0
0
4
ff44e7ea43682619b7e938d7e3e9f91c3bb321ac
70
py
Python
test/progs/35_intfloat_OK_02.py
LeGmask/MrPython
e4712590c52653d97f512e05133459870c12d7fa
[ "PSF-2.0" ]
26
2018-09-09T17:09:56.000Z
2021-10-01T12:51:15.000Z
test/progs/35_intfloat_OK_02.py
Botsaa/MrPython
264696204860b4e269b98c9ee4f4419b5ab5e039
[ "PSF-2.0" ]
85
2018-02-14T10:28:19.000Z
2021-12-16T17:38:47.000Z
test/progs/35_intfloat_OK_02.py
Botsaa/MrPython
264696204860b4e269b98c9ee4f4419b5ab5e039
[ "PSF-2.0" ]
26
2018-02-08T11:17:51.000Z
2021-12-16T17:43:19.000Z
##!FAIL: CompareConditionWarning[int/float]@3:7 assert 5 // 5 == 1.0
17.5
47
0.671429
11
70
4.272727
0.909091
0
0
0
0
0
0
0
0
0
0
0.098361
0.128571
70
3
48
23.333333
0.672131
0.642857
0
0
0
0
0
0
0
0
0
0
1
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
4
ff7b309ed582bb1148bfa68d36635fe58f1a5da7
287
py
Python
template.py
moink/AoC2017
5b500e792a4e3d518197a2bf4c43f646f9a03083
[ "MIT" ]
null
null
null
template.py
moink/AoC2017
5b500e792a4e3d518197a2bf4c43f646f9a03083
[ "MIT" ]
null
null
null
template.py
moink/AoC2017
5b500e792a4e3d518197a2bf4c43f646f9a03083
[ "MIT" ]
null
null
null
import contextlib import collections import copy import functools import itertools import numpy as np import pandas as pd import re import advent_tools def run_part_1(): pass def run_part_2(): pass if __name__ == '__main__': print(run_part_1()) print(run_part_2())
12.478261
26
0.738676
44
287
4.431818
0.545455
0.14359
0.102564
0
0
0
0
0
0
0
0
0.017316
0.195122
287
23
27
12.478261
0.82684
0
0
0.125
0
0
0.027778
0
0
0
0
0
0
1
0.125
true
0.125
0.5625
0
0.6875
0.125
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
1
0
0
4
ff84729ae8c775b9f82a9756623af921363557d9
1,393
py
Python
src/pycalendar/icalendar/freebusy.py
eventable/PyCalendar
3220b12e27315eca7f49675be47cde4a1074f655
[ "Apache-2.0" ]
2
2016-11-01T20:53:45.000Z
2019-04-29T06:40:19.000Z
src/pycalendar/icalendar/freebusy.py
eventable/PyCalendar
3220b12e27315eca7f49675be47cde4a1074f655
[ "Apache-2.0" ]
null
null
null
src/pycalendar/icalendar/freebusy.py
eventable/PyCalendar
3220b12e27315eca7f49675be47cde4a1074f655
[ "Apache-2.0" ]
null
null
null
## # Copyright (c) 2007-2013 Cyrus Daboo. All rights reserved. # # 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 ...
24.438596
77
0.666188
183
1,393
5.04918
0.535519
0.064935
0.028139
0.034632
0
0
0
0
0
0
0
0.01537
0.252692
1,393
56
78
24.875
0.872238
0.43934
0
0
0
0
0
0
0
0
0
0.017857
0
1
0.363636
false
0.045455
0
0.181818
0.772727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
ffa1248d26351ec214c4a8ca797137dac7261de7
417
py
Python
scrap_tools/facebook/models.py
borismnq/scraping-tools
2d91e7fe8c51a4cf87a50af64e9a4da2d49bfa31
[ "MIT" ]
null
null
null
scrap_tools/facebook/models.py
borismnq/scraping-tools
2d91e7fe8c51a4cf87a50af64e9a4da2d49bfa31
[ "MIT" ]
null
null
null
scrap_tools/facebook/models.py
borismnq/scraping-tools
2d91e7fe8c51a4cf87a50af64e9a4da2d49bfa31
[ "MIT" ]
null
null
null
from django.db import models class Facebook(models.Model): shared = models.CharField(max_length=255) shared_id = models.CharField(max_length=255) original = models.CharField(max_length=255) original_id = models.CharField(max_length=255) created = models.DateTimeField(auto_now_add=True) modifi...
27.8
53
0.743405
55
417
5.381818
0.472727
0.202703
0.243243
0.324324
0.432432
0.341216
0
0
0
0
0
0.034384
0.16307
417
14
54
29.785714
0.813754
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.1
0.1
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
ffa458d0afb5567d6589a1cd8b8c14c725759972
72
py
Python
conf/base_url_conf.py
drishyatm/Codecademy
6a65e405d0eb03380afa6111469753f7077272f1
[ "MIT" ]
null
null
null
conf/base_url_conf.py
drishyatm/Codecademy
6a65e405d0eb03380afa6111469753f7077272f1
[ "MIT" ]
null
null
null
conf/base_url_conf.py
drishyatm/Codecademy
6a65e405d0eb03380afa6111469753f7077272f1
[ "MIT" ]
null
null
null
""" Conf file for base_url """ base_url = "https://www.codecademy.com/"
14.4
40
0.666667
11
72
4.181818
0.818182
0.304348
0
0
0
0
0
0
0
0
0
0
0.125
72
4
41
18
0.730159
0.305556
0
0
0
0
0.642857
0
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
ffb672310c176e9b50723c9bd847ebc69f66e13f
169
py
Python
info/modules/index/__init__.py
rymmx/My_information
70e7b8b294c19328c10d1335cacca8832d86931f
[ "MIT" ]
1
2019-02-03T03:53:30.000Z
2019-02-03T03:53:30.000Z
info/modules/index/__init__.py
rymmx/My_information
70e7b8b294c19328c10d1335cacca8832d86931f
[ "MIT" ]
null
null
null
info/modules/index/__init__.py
rymmx/My_information
70e7b8b294c19328c10d1335cacca8832d86931f
[ "MIT" ]
1
2019-02-03T03:55:10.000Z
2019-02-03T03:55:10.000Z
from flask import Blueprint # 1.创建蓝图对象 index_bp = Blueprint("index", __name__) # 3.将views文件中的视图函数和模块关联 from .views import * # from info.modules.index.views import *
15.363636
40
0.751479
22
169
5.545455
0.636364
0.180328
0
0
0
0
0
0
0
0
0
0.013889
0.147929
169
10
41
16.9
0.833333
0.408284
0
0
0
0
0.053191
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
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
1
0
4
441852c38f9bfb490f73a51f3e6a581469383cc5
139
py
Python
torch/nn/quantized/_reference/modules/__init__.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
60,067
2017-01-18T17:21:31.000Z
2022-03-31T21:37:45.000Z
torch/nn/quantized/_reference/modules/__init__.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
66,955
2017-01-18T17:21:38.000Z
2022-03-31T23:56:11.000Z
torch/nn/quantized/_reference/modules/__init__.py
Hacky-DH/pytorch
80dc4be615854570aa39a7e36495897d8a040ecc
[ "Intel" ]
19,210
2017-01-18T17:45:04.000Z
2022-03-31T23:51:56.000Z
from .linear import Linear from .conv import Conv1d, Conv2d, Conv3d __all__ = [ 'Linear', 'Conv1d', 'Conv2d', 'Conv3d', ]
13.9
40
0.611511
15
139
5.4
0.533333
0.296296
0.444444
0
0
0
0
0
0
0
0
0.057692
0.251799
139
9
41
15.444444
0.721154
0
0
0
0
0
0.172662
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
443e78be4345b69dfa2b9733eb99cb117a8cca8b
396
py
Python
cms/admin/__init__.py
intgr/django-cms
92edf033ccc0938e41f3752935516572c3623695
[ "BSD-3-Clause" ]
1
2015-09-28T10:07:41.000Z
2015-09-28T10:07:41.000Z
cms/admin/__init__.py
intgr/django-cms
92edf033ccc0938e41f3752935516572c3623695
[ "BSD-3-Clause" ]
5
2021-03-19T15:39:27.000Z
2021-09-08T02:47:21.000Z
cms/admin/__init__.py
Acidburn0zzz/django-cms
5a105a1c75eeb4c8a4c1c34301d93855e6724407
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import cms.admin.pageadmin import cms.admin.useradmin import cms.admin.permissionadmin import cms.admin.settingsadmin import cms.admin.static_placeholder # nopyflakes # Piggyback off admin.autodiscover() to discover cms plugins from cms import plugin_pool from cms.apphook_pool import apphook_po...
30.461538
60
0.825758
55
396
5.781818
0.436364
0.141509
0.220126
0
0
0
0
0
0
0
0
0.002786
0.093434
396
12
61
33
0.883008
0.229798
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.777778
0
0.777778
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
1
0
1
0
1
0
0
4
4452126cfb62e03b1f2da18cf3a6e15b9637dc11
1,102
py
Python
tests/unit/test_timeseries.py
equinor/omnia-timeseries-sdk-python
9826963932df763f15e44e495ffbfa7a1bea33e3
[ "MIT" ]
7
2019-11-15T14:42:29.000Z
2021-06-18T10:08:31.000Z
tests/unit/test_timeseries.py
equinor/omnia-timeseries-sdk-python
9826963932df763f15e44e495ffbfa7a1bea33e3
[ "MIT" ]
7
2019-11-25T11:59:24.000Z
2021-11-12T11:14:23.000Z
tests/unit/test_timeseries.py
equinor/omnia-timeseries-sdk-python
9826963932df763f15e44e495ffbfa7a1bea33e3
[ "MIT" ]
null
null
null
""" Test TimeSeries class """ from datetime import datetime from pandas import DataFrame from omnia_timeseries_sdk.resources import TimeSeries, TimeSeriesList def test_types(new_timeseries): assert isinstance(new_timeseries, TimeSeries) assert isinstance(new_timeseries.id, str) assert isinstance(new_times...
29
69
0.774955
140
1,102
5.878571
0.292857
0.26853
0.230863
0.352369
0.486027
0.208991
0.085055
0
0
0
0
0
0.147913
1,102
37
70
29.783784
0.876464
0.019056
0
0.08
0
0
0.01959
0
0
0
0
0
0.6
1
0.16
false
0
0.12
0
0.28
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
44581a7591cd3acda3267f4c9ed451f35616c57c
214
py
Python
src/blog/helper.py
UmangAndrewFrancis/django_fibonacci_test
d8dbd54a8aaa3e8f17af482e3ee83983cccc555b
[ "MIT" ]
null
null
null
src/blog/helper.py
UmangAndrewFrancis/django_fibonacci_test
d8dbd54a8aaa3e8f17af482e3ee83983cccc555b
[ "MIT" ]
null
null
null
src/blog/helper.py
UmangAndrewFrancis/django_fibonacci_test
d8dbd54a8aaa3e8f17af482e3ee83983cccc555b
[ "MIT" ]
null
null
null
def Fibonacci(input_val): if input_val<0: pass elif input_val==1: return 0 elif input_val==2: return 1 else: return Fibonacci(input_val-1)+Fibonacci(input_val-2)
21.4
61
0.593458
31
214
3.903226
0.387097
0.396694
0.421488
0
0
0
0
0
0
0
0
0.047945
0.317757
214
9
62
23.777778
0.780822
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0.111111
0
0
0.444444
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
9246a407a58f2c8ecbf269b7691f218a53b0760b
20,623
py
Python
code/tmp_rtrip/test/test_fstring.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
24
2018-01-23T05:28:40.000Z
2021-04-13T20:52:59.000Z
code/tmp_rtrip/test/test_fstring.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
17
2017-12-21T18:32:31.000Z
2018-12-18T17:09:50.000Z
code/tmp_rtrip/test/test_fstring.py
emilyemorehouse/ast-and-me
3f58117512e125e1ecbe3c72f2f0d26adb80b7b3
[ "MIT" ]
null
null
null
import ast import types import decimal import unittest a_global = 'global variable' class TestCase(unittest.TestCase): def assertAllRaise(self, exception_type, regex, error_strings): for str in error_strings: with self.subTest(str=str): with self.assertRaisesRegex(exception_ty...
36.892665
123
0.494351
2,545
20,623
3.91945
0.114735
0.318797
0.296742
0.044311
0.593383
0.517494
0.436591
0.350977
0.335238
0.269875
0
0.037205
0.271445
20,623
558
124
36.958781
0.626689
0
0
0.255814
0
0.002114
0.249988
0.012553
0
0
0.00073
0
0.528541
0
null
null
0
0.008457
null
null
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
1
1
0
0
0
0
0
0
0
0
4
924f186b57e6bcad4864346873e90cd3676edc63
114
py
Python
python/global_local_var.py
sivasant/python_project
d148a1be177a634b25e571b1fc1b710276f3ef3b
[ "Apache-2.0" ]
null
null
null
python/global_local_var.py
sivasant/python_project
d148a1be177a634b25e571b1fc1b710276f3ef3b
[ "Apache-2.0" ]
null
null
null
python/global_local_var.py
sivasant/python_project
d148a1be177a634b25e571b1fc1b710276f3ef3b
[ "Apache-2.0" ]
null
null
null
x=6 def sant(): print(x) sant() def sant_overwrite(): global x x+=5 print(x) sant_overwrite()
8.142857
21
0.570175
18
114
3.5
0.444444
0.222222
0.31746
0
0
0
0
0
0
0
0
0.02439
0.280702
114
13
22
8.769231
0.743902
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.222222
0.222222
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
92533a6a4f2227bd06424ae3b0128c1c194380ca
80
py
Python
iot/apps.py
spadr/django_iot_core
d71ab74ccc90a20e24cadc0c27bf2c400ea33f91
[ "MIT" ]
null
null
null
iot/apps.py
spadr/django_iot_core
d71ab74ccc90a20e24cadc0c27bf2c400ea33f91
[ "MIT" ]
1
2021-09-27T00:54:58.000Z
2021-09-27T00:54:58.000Z
iot/apps.py
spadr/django_iot_core
d71ab74ccc90a20e24cadc0c27bf2c400ea33f91
[ "MIT" ]
null
null
null
from django.apps import AppConfig class IotConfig(AppConfig): name = 'iot'
16
33
0.7375
10
80
5.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.175
80
5
34
16
0.893939
0
0
0
0
0
0.037037
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
1
0
0
4
9280e7083033f0385f3d061277a5c226dde05be7
68
py
Python
program_graphs/types.py
acheshkov/program-graphs
6832d9689e14f3f2f376dbb8ea796a2cb57c1d75
[ "MIT" ]
5
2021-08-10T08:54:01.000Z
2022-03-10T09:08:58.000Z
program_graphs/types.py
acheshkov/program-graphs
6832d9689e14f3f2f376dbb8ea796a2cb57c1d75
[ "MIT" ]
null
null
null
program_graphs/types.py
acheshkov/program-graphs
6832d9689e14f3f2f376dbb8ea796a2cb57c1d75
[ "MIT" ]
null
null
null
from typing import Tuple NodeID = int Edge = Tuple[NodeID, NodeID]
13.6
28
0.75
10
68
5.1
0.7
0.431373
0
0
0
0
0
0
0
0
0
0
0.176471
68
4
29
17
0.910714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
4
929f143f1f8e0fc01c11bd9db3e59a957f8a4aca
694
py
Python
src/weather_api/models/model.py
0x6f736f646f/nairobi-weather-api
70bef9dbb1b8bd14f0a440651c090eacebf272f3
[ "Apache-2.0" ]
null
null
null
src/weather_api/models/model.py
0x6f736f646f/nairobi-weather-api
70bef9dbb1b8bd14f0a440651c090eacebf272f3
[ "Apache-2.0" ]
1
2020-03-02T19:21:01.000Z
2020-03-02T19:21:01.000Z
src/weather_api/models/model.py
0x6f736f646f/nairobi-weather-api
70bef9dbb1b8bd14f0a440651c090eacebf272f3
[ "Apache-2.0" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy import os from config import app, db class Weather(db.Model): __tablename__ = 'weather' uuid = db.Column(db.Integer, primary_key=True, index=True, unique=True) location = db.Column(db.String(256)) region = db.Column(db.Text) localtime...
28.916667
75
0.68732
104
694
4.432692
0.423077
0.208243
0.260304
0.227766
0.123644
0
0
0
0
0
0
0.005348
0.191643
694
23
76
30.173913
0.816399
0
0
0
0
0
0.024496
0
0
0
0
0
0
1
0.05
false
0
0.2
0.05
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
92a8a5d80ae84b263c8df1dfdd2b7f342d9dd034
10,683
py
Python
Full Stack Foundations from Udacity/Lesson 2 - Making a Web Server/Objective1WebServer.py
rajtheinnovator/Full-Stack-Development
f30d949fdd91bed1c2b6b1245961d5d62fda7e14
[ "Apache-2.0" ]
null
null
null
Full Stack Foundations from Udacity/Lesson 2 - Making a Web Server/Objective1WebServer.py
rajtheinnovator/Full-Stack-Development
f30d949fdd91bed1c2b6b1245961d5d62fda7e14
[ "Apache-2.0" ]
null
null
null
Full Stack Foundations from Udacity/Lesson 2 - Making a Web Server/Objective1WebServer.py
rajtheinnovator/Full-Stack-Development
f30d949fdd91bed1c2b6b1245961d5d62fda7e14
[ "Apache-2.0" ]
null
null
null
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer import cgi from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from database_setup import Base, Restaurant, MenuItem class webServerHandler(BaseHTTPRequestHandler): def do_GET(self): try: if self.path.endswi...
48.780822
216
0.503229
951
10,683
5.584648
0.154574
0.036151
0.034269
0.039541
0.799661
0.773112
0.72604
0.693655
0.693655
0.693655
0
0.010539
0.369372
10,683
219
217
48.780822
0.777794
0
0
0.698925
0
0.032258
0.216067
0.050388
0
0
0
0
0
0
null
null
0.005376
0.026882
null
null
0.026882
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
1
0
0
0
0
0
0
0
0
4
2b81d670d72ff579f13d163450f7e4c5bcb763bb
330
py
Python
src/tracker/peer_id.py
MxHonesty/hornet
60d8366ea15bd3634358be93134abda78fadec54
[ "MIT" ]
1
2021-01-24T12:42:33.000Z
2021-01-24T12:42:33.000Z
src/tracker/peer_id.py
MxHonesty/hornet
60d8366ea15bd3634358be93134abda78fadec54
[ "MIT" ]
null
null
null
src/tracker/peer_id.py
MxHonesty/hornet
60d8366ea15bd3634358be93134abda78fadec54
[ "MIT" ]
null
null
null
""" Created 23/01/2021 by Stelian Stoian. This module implements the peer_id generator. """ import random def generate_peer_id(): """ Generates a Azureus-style peer_id for the client. Format -<ID><version>-<12 digit code> """ return '-HR0001-' + ''.join([str(random.randint(0, 9)) for i in ra...
23.571429
79
0.648485
48
330
4.375
0.8125
0.085714
0
0
0
0
0
0
0
0
0
0.068441
0.20303
330
13
80
25.384615
0.730038
0.521212
0
0
1
0
0.062992
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
1
0
1
0
0
0
0
4
2b829d8651e84f11afc86201701eb18eeb171ab6
127
py
Python
Projects Cousera/PythonDataStructures/Best friends - Strings and Lists.py
teksaulo/My-projects
3f328c81d12bc77f5374c4a73b92184732d9038c
[ "MIT" ]
null
null
null
Projects Cousera/PythonDataStructures/Best friends - Strings and Lists.py
teksaulo/My-projects
3f328c81d12bc77f5374c4a73b92184732d9038c
[ "MIT" ]
null
null
null
Projects Cousera/PythonDataStructures/Best friends - Strings and Lists.py
teksaulo/My-projects
3f328c81d12bc77f5374c4a73b92184732d9038c
[ "MIT" ]
null
null
null
abc = 'with there words' sttuff = abc.split() print(sttuff) print(len(sttuff)) print(sttuff[0]) for w in sttuff: print(w)
14.111111
24
0.677165
21
127
4.095238
0.571429
0.383721
0
0
0
0
0
0
0
0
0
0.009434
0.165354
127
8
25
15.875
0.801887
0
0
0
0
0
0.125984
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
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
1
0
4
2b9f56d9f81fc58575dc6ed9e9d890dfe641f14a
90
py
Python
core/pycopia/OS/Linux/proc/__init__.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
89
2015-03-26T11:25:20.000Z
2022-01-12T06:25:14.000Z
core/pycopia/OS/Linux/proc/__init__.py
kdart/pycopia3
8a7c820f096245411eabbb72345e4f30a35988b6
[ "Apache-2.0" ]
1
2015-07-05T03:27:43.000Z
2015-07-11T06:21:20.000Z
core/pycopia/OS/Linux/proc/__init__.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
30
2015-04-30T01:35:54.000Z
2022-01-12T06:19:49.000Z
""" This module tree mirrors the Linux /proc file system and provides access to it. """
15
79
0.711111
14
90
4.571429
1
0
0
0
0
0
0
0
0
0
0
0
0.2
90
5
80
18
0.888889
0.877778
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2b9f90d8502c5da96ea027bf17f8409844027145
88
py
Python
jogodavelha.py
devgiordane/GioBot
b4f255d4a5abfe6f0c89286968372d97683679a9
[ "MIT" ]
4
2020-05-22T06:41:05.000Z
2020-05-27T00:01:36.000Z
jogodavelha.py
devgiordane/GioBot
b4f255d4a5abfe6f0c89286968372d97683679a9
[ "MIT" ]
null
null
null
jogodavelha.py
devgiordane/GioBot
b4f255d4a5abfe6f0c89286968372d97683679a9
[ "MIT" ]
3
2020-05-22T03:27:34.000Z
2020-06-13T18:39:05.000Z
#Função para o bot jogar jogo da velha atraves de msgs # __|__|__ # __|__|__ # | |
12.571429
54
0.625
11
88
3.909091
1
0
0
0
0
0
0
0
0
0
0
0
0.261364
88
7
55
12.571429
0.661538
0.886364
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2ba97b2d46ed336b578da877d5024a1fb7545cc1
53
py
Python
conftest.py
beda-software/adibox-sdc
0c2da41ac5ddbe0e33657fe51c6ee7d5aeb382ee
[ "MIT" ]
7
2020-05-14T21:00:42.000Z
2021-10-17T09:10:18.000Z
conftest.py
beda-software/adibox-sdc
0c2da41ac5ddbe0e33657fe51c6ee7d5aeb382ee
[ "MIT" ]
27
2020-07-16T06:59:04.000Z
2021-11-18T13:22:35.000Z
conftest.py
beda-software/adibox-sdc
0c2da41ac5ddbe0e33657fe51c6ee7d5aeb382ee
[ "MIT" ]
2
2020-11-06T09:30:09.000Z
2021-03-03T09:48:27.000Z
# Don't remove this file # It is necessary for tests
17.666667
27
0.735849
10
53
3.9
1
0
0
0
0
0
0
0
0
0
0
0
0.207547
53
2
28
26.5
0.928571
0.90566
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
a6074f1145b634f964de71fe0af5afe413149d9f
297
py
Python
sort/timing.py
frog1804vn/algorithm
5e037d25f7f94cba00cdc3602cad8ff3c4a753f8
[ "MIT" ]
2
2020-06-03T07:41:21.000Z
2021-12-01T08:45:01.000Z
sort/timing.py
frog1804vn/algorithm
5e037d25f7f94cba00cdc3602cad8ff3c4a753f8
[ "MIT" ]
1
2020-06-04T21:02:59.000Z
2020-06-04T21:02:59.000Z
sort/timing.py
innovatism/algorithm
5e037d25f7f94cba00cdc3602cad8ff3c4a753f8
[ "MIT" ]
null
null
null
#%% from bubble import * from insertion import * from selection import * import random to_be_sorted = [random.randint(0, 100) for i in range(100)] %timeit bubble_sort(to_be_sorted) %timeit bubble_sort_integer(to_be_sorted) %timeit insertion_sort(to_be_sorted) %timeit selection_sort(to_be_sorted)
27
59
0.804714
48
297
4.666667
0.395833
0.089286
0.223214
0.1875
0.178571
0
0
0
0
0
0
0.026316
0.104377
297
10
60
29.7
0.815789
0.006734
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.444444
null
null
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
1
0
0
0
1
0
0
0
0
4
a6363f70cc7f5586f33a882e5899e33e37f556c8
170
py
Python
venv/lib/python3.7/site-packages/allauth/socialaccount/providers/basecamp/urls.py
vikram0207/django-rest
eafec575999dce6859dc7b99177cff339b2bcbdd
[ "MIT" ]
6,342
2015-01-01T07:40:30.000Z
2022-03-31T04:18:30.000Z
venv/lib/python3.7/site-packages/allauth/socialaccount/providers/basecamp/urls.py
vikram0207/django-rest
eafec575999dce6859dc7b99177cff339b2bcbdd
[ "MIT" ]
2,198
2015-01-02T15:17:45.000Z
2022-03-28T10:20:43.000Z
venv/lib/python3.7/site-packages/allauth/socialaccount/providers/basecamp/urls.py
vikram0207/django-rest
eafec575999dce6859dc7b99177cff339b2bcbdd
[ "MIT" ]
2,928
2015-01-01T10:44:13.000Z
2022-03-31T03:20:16.000Z
from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns from .provider import BasecampProvider urlpatterns = default_urlpatterns(BasecampProvider)
24.285714
75
0.870588
17
170
8.588235
0.647059
0.246575
0
0
0
0
0
0
0
0
0
0.00641
0.082353
170
6
76
28.333333
0.929487
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
a641897ece5700b01e5e6a86fccd5efa2ad4b8bf
143
py
Python
3_task8input.py
code-sourabh/automating-linux-commands
d4e84aade3a362e55d307b51aa4ccdc0c8dfb3e6
[ "Apache-2.0" ]
3
2020-11-04T03:02:50.000Z
2022-03-05T08:24:10.000Z
3_task8input.py
code-sourabh/automating-linux-commands
d4e84aade3a362e55d307b51aa4ccdc0c8dfb3e6
[ "Apache-2.0" ]
null
null
null
3_task8input.py
code-sourabh/automating-linux-commands
d4e84aade3a362e55d307b51aa4ccdc0c8dfb3e6
[ "Apache-2.0" ]
1
2020-11-09T03:44:00.000Z
2020-11-09T03:44:00.000Z
#step 4: take and return input def Keyboard(): keyin = input("Command:") return (keyin) def Voice(): print("Work in progress") return 1
14.3
30
0.671329
21
143
4.571429
0.761905
0
0
0
0
0
0
0
0
0
0
0.017241
0.188811
143
9
31
15.888889
0.810345
0.202797
0
0
0
0
0.212389
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0.166667
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
1
0
0
4
a65058377f50c947e3e5bfbe8c49d91e9c9e5bc8
3,130
py
Python
z2/part2/interactive/jm/random_fuzzy_arrows_1/634331205.py
kozakusek/ipp-2020-testy
09aa008fa53d159672cc7cbf969a6b237e15a7b8
[ "MIT" ]
1
2020-04-16T12:13:47.000Z
2020-04-16T12:13:47.000Z
z2/part2/interactive/jm/random_fuzzy_arrows_1/634331205.py
kozakusek/ipp-2020-testy
09aa008fa53d159672cc7cbf969a6b237e15a7b8
[ "MIT" ]
18
2020-03-06T17:50:15.000Z
2020-05-19T14:58:30.000Z
z2/part2/interactive/jm/random_fuzzy_arrows_1/634331205.py
kozakusek/ipp-2020-testy
09aa008fa53d159672cc7cbf969a6b237e15a7b8
[ "MIT" ]
18
2020-03-06T17:45:13.000Z
2020-06-09T19:18:31.000Z
from part1 import ( gamma_board, gamma_busy_fields, gamma_delete, gamma_free_fields, gamma_golden_move, gamma_golden_possible, gamma_move, gamma_new, ) """ scenario: test_random_actions uuid: 634331205 """ """ random actions, total chaos """ board = gamma_new(4, 4, 5, 4) assert board is...
28.198198
46
0.673802
551
3,130
3.667877
0.076225
0.299357
0.304305
0.40574
0.70955
0.659574
0.548243
0.381
0.304305
0.304305
0
0.150855
0.178275
3,130
110
47
28.454545
0.634914
0
0
0.23913
0
0
0.023669
0
0
0
0
0
0.673913
1
0
false
0
0.01087
0
0.01087
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
a6544015b03937e8cc6d7548980dcae36d6ae4ce
16
py
Python
handshake/version.py
meeb/handshake
aee289afa2244ae1d321d9f1371e8990ed845260
[ "BSD-3-Clause" ]
1
2022-01-11T03:32:33.000Z
2022-01-11T03:32:33.000Z
handshake/version.py
meeb/handshake
aee289afa2244ae1d321d9f1371e8990ed845260
[ "BSD-3-Clause" ]
null
null
null
handshake/version.py
meeb/handshake
aee289afa2244ae1d321d9f1371e8990ed845260
[ "BSD-3-Clause" ]
null
null
null
version='0.2.1'
8
15
0.625
4
16
2.5
1
0
0
0
0
0
0
0
0
0
0
0.2
0.0625
16
1
16
16
0.466667
0
0
0
0
0
0.3125
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a6980ab539c640c9bedf9d26e96a4c4ed046a994
190
py
Python
tratoli/chatapp/urls.py
mushahid54/django-backend-activity
a8dd07e7d2b98415024cfcc14176c8589e47db52
[ "MIT" ]
null
null
null
tratoli/chatapp/urls.py
mushahid54/django-backend-activity
a8dd07e7d2b98415024cfcc14176c8589e47db52
[ "MIT" ]
null
null
null
tratoli/chatapp/urls.py
mushahid54/django-backend-activity
a8dd07e7d2b98415024cfcc14176c8589e47db52
[ "MIT" ]
null
null
null
from django.conf.urls import url from .views import DeleteAllChatMessages urlpatterns = [ url(r'^delete-all-messages/$', DeleteAllChatMessages.as_view(), name='delete-all-messages') ]
23.75
95
0.757895
23
190
6.217391
0.695652
0.125874
0.237762
0
0
0
0
0
0
0
0
0
0.110526
190
7
96
27.142857
0.846154
0
0
0
0
0
0.215789
0.115789
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
a69f0ad6e3b8e57dce7b42fc3ef5480b45a7917c
41
py
Python
packages/hello/__init__.py
Halibot/Halibot
36b8f2b4d7d3c7dbbb63b1eacea6c57accc8b26d
[ "BSD-3-Clause" ]
null
null
null
packages/hello/__init__.py
Halibot/Halibot
36b8f2b4d7d3c7dbbb63b1eacea6c57accc8b26d
[ "BSD-3-Clause" ]
null
null
null
packages/hello/__init__.py
Halibot/Halibot
36b8f2b4d7d3c7dbbb63b1eacea6c57accc8b26d
[ "BSD-3-Clause" ]
null
null
null
from .hello import Hello Default = Hello
13.666667
24
0.780488
6
41
5.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.170732
41
2
25
20.5
0.941176
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
471b662e88cc5f355e20b2bab597f0e085e995fb
127
py
Python
2884.py
pgw00/Beakjoon-python
677bf6ece5be4843a37aace02edaa29c532721fb
[ "MIT" ]
null
null
null
2884.py
pgw00/Beakjoon-python
677bf6ece5be4843a37aace02edaa29c532721fb
[ "MIT" ]
null
null
null
2884.py
pgw00/Beakjoon-python
677bf6ece5be4843a37aace02edaa29c532721fb
[ "MIT" ]
null
null
null
x,y=map(int,input().split()) if(y<45 and x>0): print(x-1,y+15) elif(y>44): print(x,y-45) else: print(23,y+15)
14.111111
28
0.535433
29
127
2.344828
0.586207
0.058824
0
0
0
0
0
0
0
0
0
0.138614
0.204724
127
8
29
15.875
0.534653
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.428571
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
1
0
4
472b30a6eac02adf3b23bf4981a54e229e216ac0
345
py
Python
backend/datasets/api/v1/serializers.py
crowdbotics-apps/an-testing-30152
08d77c907f39735f1f8e2bf539297533783640d4
[ "FTL", "AML", "RSA-MD" ]
null
null
null
backend/datasets/api/v1/serializers.py
crowdbotics-apps/an-testing-30152
08d77c907f39735f1f8e2bf539297533783640d4
[ "FTL", "AML", "RSA-MD" ]
12
2021-09-13T18:37:26.000Z
2021-11-14T17:39:14.000Z
backend/datasets/api/v1/serializers.py
crowdbotics-apps/an-testing-30152
08d77c907f39735f1f8e2bf539297533783640d4
[ "FTL", "AML", "RSA-MD" ]
null
null
null
from rest_framework import serializers from datasets.models import DataSet, DataSetImage class DataSetSerializer(serializers.ModelSerializer): class Meta: model = DataSet fields = "__all__" class DataSetImageSerializer(serializers.ModelSerializer): class Meta: model = DataSetImage ...
23
58
0.730435
31
345
7.83871
0.548387
0.213992
0.255144
0.288066
0.329218
0
0
0
0
0
0
0
0.211594
345
14
59
24.642857
0.893382
0
0
0.4
0
0
0.04058
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
5b2ce6e23d514ee1cebbcf1b960ad3cd94092748
275
py
Python
Chapter06/profile_test.py
ibiscum/Learning-Concurrency-in-Python
d3f0320ad2a80c46b37de331bf335b80df0d3ed9
[ "MIT" ]
null
null
null
Chapter06/profile_test.py
ibiscum/Learning-Concurrency-in-Python
d3f0320ad2a80c46b37de331bf335b80df0d3ed9
[ "MIT" ]
null
null
null
Chapter06/profile_test.py
ibiscum/Learning-Concurrency-in-Python
d3f0320ad2a80c46b37de331bf335b80df0d3ed9
[ "MIT" ]
null
null
null
import random import time def slow_function(): time.sleep(random.randint(1, 5)) print("Slow Function Executed") def fast_function(): print("Fast Function Executed") def main(): slow_function() fast_function() if __name__ == '__main__': main()
13.095238
36
0.665455
34
275
5.029412
0.470588
0.210526
0.222222
0
0
0
0
0
0
0
0
0.009174
0.207273
275
20
37
13.75
0.775229
0
0
0
0
0
0.189091
0
0
0
0
0
0
1
0.25
true
0
0.166667
0
0.416667
0.166667
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
1
1
0
0
0
0
0
0
4
5b5425ea536e34ad31f66260d29aca22a0041749
4,359
py
Python
BCPGDS_decoder/Forward_Backward_augment_decoder.py
Mrmoore98/hedwig
dc8c2f1f5e6886b9ce9999bbd071bce02cfbbaf1
[ "Apache-2.0" ]
null
null
null
BCPGDS_decoder/Forward_Backward_augment_decoder.py
Mrmoore98/hedwig
dc8c2f1f5e6886b9ce9999bbd071bce02cfbbaf1
[ "Apache-2.0" ]
null
null
null
BCPGDS_decoder/Forward_Backward_augment_decoder.py
Mrmoore98/hedwig
dc8c2f1f5e6886b9ce9999bbd071bce02cfbbaf1
[ "Apache-2.0" ]
null
null
null
from .Load_Data import * from .Utils import * from .Config import * from .GPU_Sampler import * from .PGBN_sampler import * import scipy import numpy as np import time import copy def Forward_augment(Setting, SuperParams, Batch_Sparse, A_knt_left, Params, Theta_knt_left, Zeta_nt_left, Delta_nt,c2_nt): ##===========...
55.884615
131
0.539573
606
4,359
3.635314
0.132013
0.019065
0.057195
0.069451
0.836586
0.768044
0.751248
0.685883
0.665456
0.640944
0
0.022237
0.329433
4,359
78
132
55.884615
0.73144
0.27644
0
0.12766
0
0
0.005123
0
0
0
0
0
0
1
0.042553
false
0
0.191489
0
0.276596
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5b6d71900d0dff5311f45e211bd175fe45cc5371
1,086
py
Python
src/main.py
Roberttmoon/brainfry
528de86dff781040d82a308f5ec3bb821c60c52e
[ "Unlicense" ]
null
null
null
src/main.py
Roberttmoon/brainfry
528de86dff781040d82a308f5ec3bb821c60c52e
[ "Unlicense" ]
null
null
null
src/main.py
Roberttmoon/brainfry
528de86dff781040d82a308f5ec3bb821c60c52e
[ "Unlicense" ]
null
null
null
def forward_index(): """ Called when the char '>' is found moves forward one index in the cell list """ pass def back_index(): """ Called when char '<' is found moves back one index in the cell list """ pass def plus_cell(): """ Called when the '+' char is found a...
15.970588
45
0.536832
149
1,086
3.838926
0.315436
0.104895
0.115385
0.148601
0.506993
0.506993
0.465035
0.097902
0
0
0
0
0.36372
1,086
67
46
16.208955
0.827786
0.517495
0
0.375
0
0
0
0
0
0
0
0
0
1
0.625
true
0.375
0
0
0.625
0.0625
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
1
1
0
0
1
0
0
4
5b7ca2dcc9d9f1424022a73ea70a748f94a5a498
378
py
Python
python/greedy/1247_minimum_swaps_to_make_strings_equal.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
6
2019-07-15T13:23:57.000Z
2020-01-22T03:12:01.000Z
python/greedy/1247_minimum_swaps_to_make_strings_equal.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
null
null
null
python/greedy/1247_minimum_swaps_to_make_strings_equal.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
1
2019-07-24T02:15:31.000Z
2019-07-24T02:15:31.000Z
class Solution(object): def minimumSwap(self, s1, s2): """ :type s1: str :type s2: str :rtype: int """ def test_minimum_swap(): s = Solution() assert 1 == s.minimumSwap("xx", "yy") assert 2 == s.minimumSwap("xy", "yx") assert -1 == s.minimumSwap("xx", "xy") ...
23.625
57
0.539683
46
378
4.391304
0.565217
0.237624
0.079208
0.188119
0.207921
0
0
0
0
0
0
0.02952
0.283069
378
15
58
25.2
0.715867
0.103175
0
0
0
0
0.107023
0
0
0
0
0
0.5
1
0.25
false
0
0
0
0.375
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
4
5b8da0db2836680370e40722f85e4ee33975c789
361
py
Python
Python/[6 kyu] IP address finder [Code-golf].py
KonstantinosAng/CodeWars
9ec9da9ed95b47b9656a5ecf77f486230fd15e3a
[ "MIT" ]
null
null
null
Python/[6 kyu] IP address finder [Code-golf].py
KonstantinosAng/CodeWars
9ec9da9ed95b47b9656a5ecf77f486230fd15e3a
[ "MIT" ]
null
null
null
Python/[6 kyu] IP address finder [Code-golf].py
KonstantinosAng/CodeWars
9ec9da9ed95b47b9656a5ecf77f486230fd15e3a
[ "MIT" ]
null
null
null
# see https://www.codewars.com/kata/5b883cdecc7c03c0fa00015a/train/python f=lambda u:[i*sum(map(ord,u))%256 for i in[1,2,3,4]] from TestFunction import Test test = Test(None) test.assert_equals(f('www.codewars.com'), [88, 176, 8, 96]) test.assert_equals(f('www.starwiki.com'), [110, 220, 74, 184]) test.assert_equals(f...
40.111111
73
0.709141
65
361
3.892308
0.692308
0.118577
0.189723
0.201581
0.237154
0
0
0
0
0
0
0.148485
0.085873
361
9
74
40.111111
0.618182
0.196676
0
0
0
0
0.16609
0
0
0
0
0
0.5
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
5bb50f122f185a236e19e5efd41b3fd050ad910d
77
py
Python
pywxclient/contrib/__init__.py
awesome-archive/pywxclient
dbf0f7288655de85a69ad8d3c31ed15115aa6a3c
[ "Apache-2.0" ]
null
null
null
pywxclient/contrib/__init__.py
awesome-archive/pywxclient
dbf0f7288655de85a69ad8d3c31ed15115aa6a3c
[ "Apache-2.0" ]
null
null
null
pywxclient/contrib/__init__.py
awesome-archive/pywxclient
dbf0f7288655de85a69ad8d3c31ed15115aa6a3c
[ "Apache-2.0" ]
null
null
null
from .file import LocalFile, HTTPFile __all__ = ['LocalFile', 'HTTPFile']
12.833333
37
0.714286
8
77
6.375
0.75
0.666667
0
0
0
0
0
0
0
0
0
0
0.155844
77
5
38
15.4
0.784615
0
0
0
0
0
0.223684
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
5bc4ff4b5ddd037ad12f88e211a9c5a2d96310f4
56
py
Python
sympy/codegen/__init__.py
darknight009/sympy
618193720b862a41aa295d474793cc12e4de2927
[ "BSD-3-Clause" ]
4
2018-07-04T17:20:12.000Z
2019-07-14T18:07:25.000Z
sympy/codegen/__init__.py
darknight009/sympy
618193720b862a41aa295d474793cc12e4de2927
[ "BSD-3-Clause" ]
4
2016-11-29T09:10:32.000Z
2016-12-03T21:20:34.000Z
sympy/codegen/__init__.py
darknight009/sympy
618193720b862a41aa295d474793cc12e4de2927
[ "BSD-3-Clause" ]
1
2021-12-31T12:31:28.000Z
2021-12-31T12:31:28.000Z
from .ast import Assignment, aug_assign, CodeBlock, For
28
55
0.803571
8
56
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.125
56
1
56
56
0.897959
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
7546e432904f0d06ef18c5bbacf585cb4882622f
258
py
Python
fastrunner/httprunner/__init__.py
Chankee/AutoTestRunner
5f329b0dfac91ccd3541aabf46cc997cc4f01da3
[ "MIT" ]
null
null
null
fastrunner/httprunner/__init__.py
Chankee/AutoTestRunner
5f329b0dfac91ccd3541aabf46cc997cc4f01da3
[ "MIT" ]
null
null
null
fastrunner/httprunner/__init__.py
Chankee/AutoTestRunner
5f329b0dfac91ccd3541aabf46cc997cc4f01da3
[ "MIT" ]
null
null
null
# encoding: utf-8 from .api import HttpRunner try: # monkey patch at beginning to avoid RecursionError when running locust. # from gevent import monkey;monkey.patch_all() pass except ImportError: pass from httprunner.api import HttpRunner
19.846154
76
0.748062
34
258
5.647059
0.676471
0.09375
0.197917
0
0
0
0
0
0
0
0
0.004831
0.197674
258
12
77
21.5
0.922705
0.507752
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.5
0
0.5
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
1
1
1
0
0
0
0
4
7556f2e03855c6b7a34e2a2e75696c0b5a3d8d0a
180
py
Python
mallenom/employee/apps.py
crowmurk/mallenom
c85bba2e657965879e6fac18bb762ca739ff4d98
[ "MIT" ]
null
null
null
mallenom/employee/apps.py
crowmurk/mallenom
c85bba2e657965879e6fac18bb762ca739ff4d98
[ "MIT" ]
9
2020-02-12T01:04:30.000Z
2022-02-10T09:22:09.000Z
mallenom/employee/apps.py
crowmurk/mallenom
c85bba2e657965879e6fac18bb762ca739ff4d98
[ "MIT" ]
null
null
null
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class EmployeeConfig(AppConfig): name = 'employee' verbose_name = _('Employees')
22.5
54
0.766667
21
180
6.380952
0.761905
0.149254
0
0
0
0
0
0
0
0
0
0
0.155556
180
7
55
25.714286
0.881579
0
0
0
0
0
0.094444
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
755bf55b30a562ae070321e4fdbe0663f4b69503
51
py
Python
src/visualization/visualize.py
visionjo/termproject
6dff216d90afba9a1c1a6cfca352204c7109cbe7
[ "MIT" ]
null
null
null
src/visualization/visualize.py
visionjo/termproject
6dff216d90afba9a1c1a6cfca352204c7109cbe7
[ "MIT" ]
null
null
null
src/visualization/visualize.py
visionjo/termproject
6dff216d90afba9a1c1a6cfca352204c7109cbe7
[ "MIT" ]
1
2018-10-24T11:16:54.000Z
2018-10-24T11:16:54.000Z
def plot_yards_per_position(df, pos='RB'): pass
25.5
42
0.72549
9
51
3.777778
1
0
0
0
0
0
0
0
0
0
0
0
0.137255
51
2
43
25.5
0.772727
0
0
0
0
0
0.038462
0
0
0
0
0
0
1
0.5
false
0.5
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
1
0
0
0
0
0
4
f32aa332e12de71b1d74ab86d72cf9e12df6d86e
384
py
Python
pytemperaturectrl/__init__.py
jenrei/pytemperaturectrl
eabfbf8a6d732cda72c5cd8397a85b0d8960da78
[ "MIT" ]
1
2021-01-08T15:27:25.000Z
2021-01-08T15:27:25.000Z
pytemperaturectrl/__init__.py
jenrei/pytemperaturectrl
eabfbf8a6d732cda72c5cd8397a85b0d8960da78
[ "MIT" ]
1
2020-09-12T14:41:16.000Z
2020-09-12T14:41:16.000Z
pytemperaturectrl/__init__.py
jenrei/pytemperaturectrl
eabfbf8a6d732cda72c5cd8397a85b0d8960da78
[ "MIT" ]
2
2017-04-27T12:36:33.000Z
2019-03-12T14:05:34.000Z
#-*- coding: utf-8 -*- ''' :requieres: pyserial :note: A temperature control library **samples:** Retrieve Julabo version USB connected on COM5 Windows >>> from temperaturectrl import julabo >>> tc = Julabo() >>> tc.open('COM5') >>> print tc.getVersion() # output JULABO CORIO CD - 200F 230V 50Hz Versio...
24
83
0.653646
47
384
5.340426
0.787234
0.063745
0
0
0
0
0
0
0
0
0
0.045307
0.195313
384
15
84
25.6
0.76699
0.942708
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
f34d53d0d01af2ea32b5eef14d4184b7cd8e50a8
499
py
Python
anime_downloader/downloader/__init__.py
Alsira/anime-downloader
d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595
[ "Unlicense" ]
1,077
2020-10-17T15:43:17.000Z
2022-03-31T15:24:29.000Z
anime_downloader/downloader/__init__.py
Alsira/anime-downloader
d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595
[ "Unlicense" ]
509
2018-06-01T13:07:56.000Z
2020-10-17T13:34:39.000Z
anime_downloader/downloader/__init__.py
Alsira/anime-downloader
d82b4cfd5c7c6c358d0d8ffd36ce2d5c4a285595
[ "Unlicense" ]
255
2018-05-27T03:52:11.000Z
2020-10-12T17:27:38.000Z
from anime_downloader.downloader.http_downloader import HTTPDownloader from anime_downloader.downloader.external_downloader import ExternalDownloader from anime_downloader.downloader.SmartDL import pySmartDL def get_downloader(downloader): """get_downloader returns the proper downloader class TODO: Lazy load...
27.722222
78
0.777555
51
499
7.470588
0.470588
0.209974
0.149606
0.228346
0
0
0
0
0
0
0
0
0.170341
499
17
79
29.352941
0.92029
0.170341
0
0
0
0
0.032581
0
0
0
0
0.058824
0
1
0.111111
false
0
0.333333
0
0.777778
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
1
0
0
0
0
0
1
0
0
0
0
4
f353cf4404b91c517330d9d650c90f0b675d68f8
3,461
py
Python
labvision/images/morphological.py
Pollynm/labvision
3df6c32b155bf593750138ab2f7a3d9ad42539e2
[ "MIT" ]
null
null
null
labvision/images/morphological.py
Pollynm/labvision
3df6c32b155bf593750138ab2f7a3d9ad42539e2
[ "MIT" ]
12
2020-10-07T08:52:53.000Z
2022-01-18T09:51:14.000Z
labvision/images/morphological.py
Pollynm/labvision
3df6c32b155bf593750138ab2f7a3d9ad42539e2
[ "MIT" ]
1
2021-07-06T13:07:47.000Z
2021-07-06T13:07:47.000Z
import cv2 import numpy as np __all__ = ['dilate', 'erode', 'closing', 'opening'] def dilate(img, kernel=(3, 3), kernel_type=None, iterations=1): """ Dilates an image by using a specific structuring element. The function dilates the source image using the specified structuring element that determine...
26.022556
79
0.655591
468
3,461
4.811966
0.235043
0.044405
0.017762
0.019538
0.801954
0.786412
0.729574
0.687389
0.687389
0.639432
0
0.012186
0.264952
3,461
132
80
26.219697
0.873035
0.597226
0
0.592593
0
0
0.022978
0
0
0
0
0
0
1
0.148148
false
0
0.074074
0
0.37037
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f37ace8be896a9b47b3b70023f6bbec92570bf81
2,109
py
Python
pyrfc/rfc3079.py
meisanggou/rfc
23b8800aa52f4b24fc17bcbd572d5f110a0ba432
[ "MIT" ]
null
null
null
pyrfc/rfc3079.py
meisanggou/rfc
23b8800aa52f4b24fc17bcbd572d5f110a0ba432
[ "MIT" ]
2
2018-07-19T10:46:35.000Z
2020-03-11T15:30:38.000Z
pyrfc/rfc3079.py
meisanggou/rfc
23b8800aa52f4b24fc17bcbd572d5f110a0ba432
[ "MIT" ]
null
null
null
#! /usr/bin/env python # coding: utf-8 from _tools import * __author__ = 'meisanggou' """ RFC 3079 https://tools.ietf.org/html/rfc3079 """ def mppe_key_derivation_master_key(password_hash_hash, nt_response): """ RFC 3079 MPPE Key Derivation 3.4. Key Derivation Functions GetMasterKey :...
31.477612
117
0.632527
347
2,109
3.711816
0.239193
0.051242
0.076863
0.083851
0.531832
0.486801
0.486801
0.486801
0.486801
0.486801
0
0.242788
0.211
2,109
66
118
31.954545
0.53125
0.163585
0
0.3
0
0.233333
0.491379
0.480296
0
0
0
0
0
1
0.066667
false
0.066667
0.033333
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
f38efe2f44610315f3d630eff68bb3fbe8bdddda
181
py
Python
teste.py
hpoyatos/python_anima_curso_extensao
17147efe049196e0d97ceafef98c17f9e89eba5e
[ "Apache-2.0" ]
null
null
null
teste.py
hpoyatos/python_anima_curso_extensao
17147efe049196e0d97ceafef98c17f9e89eba5e
[ "Apache-2.0" ]
null
null
null
teste.py
hpoyatos/python_anima_curso_extensao
17147efe049196e0d97ceafef98c17f9e89eba5e
[ "Apache-2.0" ]
null
null
null
# Exibir a mensagem "Alô mundo" na tela print("Alô Mundo") print("Linha 2") print("Linha 3") print("Linha 4") print("Nova linha") print("mais uma") print("linha 7") print("linha 8")
20.111111
39
0.679558
31
181
3.967742
0.548387
0.406504
0
0
0
0
0
0
0
0
0
0.031646
0.127072
181
9
40
20.111111
0.746835
0.20442
0
0
0
0
0.433566
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
f3c3b467ebab79a932def723cf0971226785a9f9
982
py
Python
tests/mog_commons/test_functional.py
mogproject/mog-commons-python
951cf0fa9a56248b4d45be720be25f1d4b7e1bff
[ "Apache-2.0" ]
4
2015-12-18T18:35:18.000Z
2020-02-11T02:34:47.000Z
tests/mog_commons/test_functional.py
mogproject/mog-commons-python
951cf0fa9a56248b4d45be720be25f1d4b7e1bff
[ "Apache-2.0" ]
11
2015-10-18T17:12:37.000Z
2017-09-21T15:28:19.000Z
tests/mog_commons/test_functional.py
mogproject/mog-commons-python
951cf0fa9a56248b4d45be720be25f1d4b7e1bff
[ "Apache-2.0" ]
2
2017-05-13T09:26:01.000Z
2018-09-18T14:47:15.000Z
from __future__ import division, print_function, absolute_import, unicode_literals from mog_commons.functional import omap, oget, ozip from mog_commons import unittest class TestFunctional(unittest.TestCase): def test_omap(self): self.assertEqual(omap(lambda x: x + 1, 123), 124) self.assertEqual(...
33.862069
82
0.654786
130
982
4.853846
0.238462
0.332805
0.240887
0.18225
0.497623
0.380349
0.313788
0.129952
0.129952
0
0
0.073739
0.212831
982
28
83
35.071429
0.742561
0
0
0
0
0
0
0
0
0
0
0
0.666667
1
0.142857
false
0
0.142857
0
0.333333
0.047619
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
1
0
0
0
0
0
0
0
0
0
4
45e7ff6920127c4e819acf0a4b9559fb39d7f357
23
py
Python
scripts.py
Jerobeam/Mobile-Apps-Project
1bae1b9ce9fd57442053e93695abcd2b85983673
[ "Apache-2.0" ]
null
null
null
scripts.py
Jerobeam/Mobile-Apps-Project
1bae1b9ce9fd57442053e93695abcd2b85983673
[ "Apache-2.0" ]
null
null
null
scripts.py
Jerobeam/Mobile-Apps-Project
1bae1b9ce9fd57442053e93695abcd2b85983673
[ "Apache-2.0" ]
null
null
null
def int = 1 return int
7.666667
11
0.695652
5
23
3.2
0.8
0
0
0
0
0
0
0
0
0
0
0.058824
0.26087
23
3
12
7.666667
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
45efe7920282fc9f994d152f66ec78acce2789bb
5,959
py
Python
mlens/model_selection/tests/test_ensemble_as_transformer.py
nukui-s/mlens
91d89c8daff6da508d5d5577349fba051b1c8eb9
[ "MIT" ]
null
null
null
mlens/model_selection/tests/test_ensemble_as_transformer.py
nukui-s/mlens
91d89c8daff6da508d5d5577349fba051b1c8eb9
[ "MIT" ]
null
null
null
mlens/model_selection/tests/test_ensemble_as_transformer.py
nukui-s/mlens
91d89c8daff6da508d5d5577349fba051b1c8eb9
[ "MIT" ]
null
null
null
"""ML-ENSEMBLE Test ensemble transformer. """ import os import numpy as np from mlens.testing.dummy import Data, PREPROCESSING from mlens.testing.dummy import ESTIMATORS, ESTIMATORS_PROBA,ECM, ECM_PROBA from mlens.model_selection import EnsembleTransformer from mlens.ensemble import SequentialEnsemble try: from c...
33.290503
99
0.711864
728
5,959
5.638736
0.123626
0.040926
0.093544
0.157856
0.76687
0.738124
0.732034
0.714007
0.659683
0.405116
0
0.00959
0.160094
5,959
178
100
33.477528
0.810589
0.276221
0
0
0
0
0.044726
0
0
0
0
0
0.011628
1
0.290698
false
0
0.104651
0
0.395349
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
3458e04a1acc30bbccf746b5d1bfc57904d6a9d2
1,929
py
Python
core/models.py
ruizdiazever/inter-webapp
dc79c9e1d7bfb296d6c5326d2e52d83e14f3a5a7
[ "MIT" ]
null
null
null
core/models.py
ruizdiazever/inter-webapp
dc79c9e1d7bfb296d6c5326d2e52d83e14f3a5a7
[ "MIT" ]
null
null
null
core/models.py
ruizdiazever/inter-webapp
dc79c9e1d7bfb296d6c5326d2e52d83e14f3a5a7
[ "MIT" ]
null
null
null
from sqlalchemy.sql.schema import ForeignKey from datetime import datetime from core.database import db class Unit(db.Model): __tablename__ = 'unit' id = db.Column(db.Integer, primary_key=True) public_id = db.Column(db.Integer) name = db.Column(db.String(50), unique=True) password = db.Column(db.S...
34.446429
67
0.679627
285
1,929
4.477193
0.196491
0.206897
0.258621
0.200627
0.597962
0.52116
0.401254
0.401254
0.297806
0.297806
0
0.021793
0.167444
1,929
55
68
35.072727
0.772727
0
0
0.319149
0
0
0.042509
0
0
0
0
0
0
1
0
false
0.021277
0.085106
0
1.021277
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
34640c1739b3031face5567c1425a4d81744936d
247
py
Python
src/unicon/plugins/iosxe/sdwan/service_implementation.py
nielsvanhooy/unicon.plugins
3416fd8223f070cbb67a2cbe604e3c5d13584318
[ "Apache-2.0" ]
18
2019-11-23T23:14:53.000Z
2022-01-10T01:17:08.000Z
src/unicon/plugins/iosxe/sdwan/service_implementation.py
nielsvanhooy/unicon.plugins
3416fd8223f070cbb67a2cbe604e3c5d13584318
[ "Apache-2.0" ]
12
2020-11-09T20:39:25.000Z
2022-03-22T12:46:59.000Z
src/unicon/plugins/iosxe/sdwan/service_implementation.py
nielsvanhooy/unicon.plugins
3416fd8223f070cbb67a2cbe604e3c5d13584318
[ "Apache-2.0" ]
32
2020-02-12T15:42:22.000Z
2022-03-15T16:42:10.000Z
from unicon.plugins.iosxe.service_implementation import Configure class SDWANConfigure(Configure): def __init__(self, connection, context, **kwargs): super().__init__(connection, context, **kwargs) self.commit_cmd = "commit"
30.875
65
0.732794
26
247
6.576923
0.730769
0.19883
0.269006
0
0
0
0
0
0
0
0
0
0.157895
247
7
66
35.285714
0.822115
0
0
0
0
0
0.02439
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
34694b0d718d1cc2a4e86a14db3e2ee11b514926
51
py
Python
vyxal/__main__.py
PyGamer0/Vyxal
8b402b055e5c0d0a036b0bcdbce570ef57ad0992
[ "MIT" ]
1
2021-11-11T07:15:32.000Z
2021-11-11T07:15:32.000Z
vyxal/__main__.py
PyGamer0/Vyxal
8b402b055e5c0d0a036b0bcdbce570ef57ad0992
[ "MIT" ]
null
null
null
vyxal/__main__.py
PyGamer0/Vyxal
8b402b055e5c0d0a036b0bcdbce570ef57ad0992
[ "MIT" ]
null
null
null
from vyxal import interpreter interpreter.main()
10.2
29
0.803922
6
51
6.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.137255
51
4
30
12.75
0.931818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
caab79efd9e5e3160b5c6e354802449e1651b17d
199
py
Python
Exercicios em Python/ex011.py
Raphael-Azevedo/Exercicios_Python
dece138f38edd02b0731aed78e44acccb021b3cb
[ "MIT" ]
null
null
null
Exercicios em Python/ex011.py
Raphael-Azevedo/Exercicios_Python
dece138f38edd02b0731aed78e44acccb021b3cb
[ "MIT" ]
null
null
null
Exercicios em Python/ex011.py
Raphael-Azevedo/Exercicios_Python
dece138f38edd02b0731aed78e44acccb021b3cb
[ "MIT" ]
null
null
null
n1 = float(input('Qual a largura da parede: ')) n2 = float(input('Qual a altura da parede: ')) print('A area da parede é de {} e precisa de {} Litros de tinta para pintar!'.format(n1*n2, (n1*n2)/2))
49.75
103
0.663317
37
199
3.567568
0.594595
0.181818
0.212121
0.227273
0
0
0
0
0
0
0
0.042169
0.165829
199
3
104
66.333333
0.753012
0
0
0
0
0
0.603015
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
cac6f35d2fcadfc930336bf7d926f61cca9fedef
603
py
Python
esdlvalidator/validation/abstract_repository.py
ESDLMapEditorESSIM/ESDLValidator
4573deec9b8206179ff6e61f37b4ba1847b3dbfb
[ "MIT" ]
null
null
null
esdlvalidator/validation/abstract_repository.py
ESDLMapEditorESSIM/ESDLValidator
4573deec9b8206179ff6e61f37b4ba1847b3dbfb
[ "MIT" ]
null
null
null
esdlvalidator/validation/abstract_repository.py
ESDLMapEditorESSIM/ESDLValidator
4573deec9b8206179ff6e61f37b4ba1847b3dbfb
[ "MIT" ]
1
2021-02-25T09:25:35.000Z
2021-02-25T09:25:35.000Z
from abc import ABC class SchemaRepository(ABC): def get_all(self): # return list([dict]) pass def get_by_id(self, id: int): # return dict pass def get_by_ids(self, ids: list): # return list([dict]) pass def get_by_name(self, name: s...
18.272727
48
0.509121
74
603
4.027027
0.310811
0.14094
0.184564
0.14094
0.553691
0.369128
0.369128
0.201342
0.201342
0
0
0
0.402985
603
32
49
18.84375
0.827778
0.157546
0
0.4375
0
0
0
0
0
0
0
0
0
1
0.4375
false
0.4375
0.0625
0
0.5625
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
caca15991428344e33a90ba1b80de97c4257c581
2,060
py
Python
gs_api_client/swagger/api/__init__.py
gridscale/gridscale_api_client_python
755b8e8a017784a4f5c6b3a577338ff988c41a9a
[ "MIT" ]
7
2019-07-12T13:59:45.000Z
2021-03-16T08:46:20.000Z
gs_api_client/swagger/api/__init__.py
gridscale/gridscale_api_client_python
755b8e8a017784a4f5c6b3a577338ff988c41a9a
[ "MIT" ]
13
2020-01-23T07:50:29.000Z
2022-03-21T14:32:40.000Z
gs_api_client/swagger/api/__init__.py
gridscale/gridscale_api_client_python
755b8e8a017784a4f5c6b3a577338ff988c41a9a
[ "MIT" ]
null
null
null
from __future__ import absolute_import # flake8: noqa # import apis into api package from gs_api_client.swagger.api.location_api import LocationApi from gs_api_client.swagger.api.ssh_key_api import SSHKeyApi from gs_api_client.swagger.api.certificate_api import CertificateApi from gs_api_client.swagger.api.deleted_ap...
58.857143
94
0.892718
318
2,060
5.443396
0.226415
0.10052
0.15078
0.2513
0.469093
0.469093
0.209128
0.046216
0
0
0
0.000518
0.063592
2,060
34
95
60.588235
0.896838
0.019903
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
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
cae03e80b421d54ae07dbf14918ea68d6081428d
219
py
Python
CodeWars/PythonKata/Digital_root.py
marshallhumble/Project_Euler
90101d308a3342a0eab33c1f4580df549bfc8896
[ "MIT" ]
3
2015-12-16T18:38:34.000Z
2015-12-22T15:21:17.000Z
CodeWars/PythonKata/Digital_root.py
marshallhumble/Project_Euler
90101d308a3342a0eab33c1f4580df549bfc8896
[ "MIT" ]
null
null
null
CodeWars/PythonKata/Digital_root.py
marshallhumble/Project_Euler
90101d308a3342a0eab33c1f4580df549bfc8896
[ "MIT" ]
null
null
null
# CodeWars Kata/Digital Root def digital_root(n): if len(str(n)) == 1: return n else: return digital_root(digit_sum(n)) def digit_sum(num): return sum([int(char) for char in str(num)])
14.6
48
0.611872
35
219
3.714286
0.542857
0.253846
0
0
0
0
0
0
0
0
0
0.006173
0.260274
219
14
49
15.642857
0.796296
0.118721
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.714286
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
1b0707d2689e7fa86dc09a33978c0095ca1d3b99
1,230
py
Python
qiskit/transpiler/passes/routing/commuting_2q_gate_routing/__init__.py
t-imamichi/qiskit-core
8d2eeeac44f97af1e10514cdae4157e5923ff2e5
[ "Apache-2.0" ]
1,456
2017-08-05T16:33:05.000Z
2018-06-05T04:15:35.000Z
qiskit/transpiler/passes/routing/commuting_2q_gate_routing/__init__.py
t-imamichi/qiskit-core
8d2eeeac44f97af1e10514cdae4157e5923ff2e5
[ "Apache-2.0" ]
365
2017-08-04T06:09:16.000Z
2018-06-05T08:33:37.000Z
qiskit/transpiler/passes/routing/commuting_2q_gate_routing/__init__.py
declanmillar/qiskit-terra
43e4a72c9c1537dd3d220a52f7e56423dfdd926c
[ "Apache-2.0" ]
463
2017-08-05T04:10:01.000Z
2018-06-05T06:43:21.000Z
# This code is part of Qiskit. # # (C) Copyright IBM 2022. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
47.307692
87
0.801626
192
1,230
5.098958
0.640625
0.024515
0.052094
0.067416
0
0
0
0
0
0
0
0.019157
0.15122
1,230
25
88
49.2
0.918582
0.834146
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
1b146e7217dd8992dbf9c66e46b65d9f1f73e93a
201,973
py
Python
vrequest/pyjsdefusion.py
cilame/vrequest
01d98cbd384e9dcd11dfe76a094e8d34427b4c36
[ "MIT" ]
40
2019-04-09T08:09:16.000Z
2022-03-16T07:44:30.000Z
vrequest/pyjsdefusion.py
cilame/vrequest
01d98cbd384e9dcd11dfe76a094e8d34427b4c36
[ "MIT" ]
1
2019-10-08T15:04:02.000Z
2021-04-15T06:01:21.000Z
vrequest/pyjsdefusion.py
cilame/vrequest
01d98cbd384e9dcd11dfe76a094e8d34427b4c36
[ "MIT" ]
13
2019-10-25T01:10:59.000Z
2021-12-22T05:43:17.000Z
zstring = ( '{Wp48S^xk9=GL@E0stWa761SMbT8$j=VlS`09^nV;C#?@zy~=TyewYAl?QX@?W$rVXlN6=cnpySErZEi(2r*J#EHcGh-k1Hhn>n4`Hrx8N8KejHm^zfE0`+ebd<GZ9D*K{*E}eLzE*bI*gnLM&YUF>uO1QCLA@zcU%m}!c-oK__w4Bv5QmBD4`Ph@VhBPTICk!*UY&*b' 'h&tBQtfokAC9YzdtT8p;neW*x@RCCh$;`AJuC{j_611;&-}fU2#;B$2QJ}-1A@qfN^+<Xi)k)y$Ub4u)AjW*=a~n4{Xm3G$m9z^(Sj4M...
187.185357
202
0.734375
39,069
201,973
3.735238
0.553431
0.000137
0.000576
0.000658
0.005153
0.004954
0.00453
0.004159
0.003783
0.003783
0
0.116271
0.008546
201,973
1,078
203
187.358998
0.612489
0.001015
0
0.016933
0
0.920978
0.972095
0.970544
0
0
0.00005
0
0
1
0.006585
false
0.003763
0.008467
0
0.020696
0.001881
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1b1fc3c1903a9a9c7d753413477a04b1e4359a42
350
py
Python
ejercicios/E3.py
mariajosearias/Esctructura-de-control-selectivas
323d3a2c3f9a65cccef64799bd002064dbc817ba
[ "MIT" ]
null
null
null
ejercicios/E3.py
mariajosearias/Esctructura-de-control-selectivas
323d3a2c3f9a65cccef64799bd002064dbc817ba
[ "MIT" ]
null
null
null
ejercicios/E3.py
mariajosearias/Esctructura-de-control-selectivas
323d3a2c3f9a65cccef64799bd002064dbc817ba
[ "MIT" ]
null
null
null
""" Entradas d-->int Salidas a-->int b-->int c-->int """ a=int(input("Digite el valor de a: ")) b=int(input("Digite el valor de b: ")) c=int(input("Digite el valor de c: ")) d=int(input("Digite el valor de d: ")) if (d==0) : e=(a-c)**2 print("el valor de b sera de :" +str(e)) elif (d>0): e=(a-b)**2/d print("el v...
16.666667
41
0.571429
75
350
2.666667
0.266667
0.21
0.27
0.32
0.71
0.71
0.25
0.25
0.25
0
0
0.013889
0.177143
350
20
42
17.5
0.680556
0.137143
0
0.2
0
0
0.455782
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1b242dca945b6cf3adf48f91b3a1e2606efd9004
18,319
py
Python
channels/altadefinizionezone.py
sodicarus/channels
d77402f4f460ea6daa66959aa5384aaffbff70b5
[ "MIT" ]
null
null
null
channels/altadefinizionezone.py
sodicarus/channels
d77402f4f460ea6daa66959aa5384aaffbff70b5
[ "MIT" ]
null
null
null
channels/altadefinizionezone.py
sodicarus/channels
d77402f4f460ea6daa66959aa5384aaffbff70b5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # ------------------------------------------------------------ # Thegroove360 - XBMC Plugin # Canale altadefinizione01casa # ------------------------------------------------------------ import re import urlparse from core import config from core import httptools from core import logger from c...
41.634091
149
0.521426
1,662
18,319
5.658845
0.128761
0.022329
0.03445
0.057416
0.782562
0.743753
0.720043
0.687613
0.677299
0.656353
0
0.008993
0.247339
18,319
439
150
41.728929
0.673122
0.118675
0
0.647416
0
0.045593
0.283275
0.089831
0
0
0
0
0
0
null
null
0
0.030395
null
null
0.00304
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
1
0
0
0
0
0
0
0
0
4
1b588029f5acffd72859c103ae6bf5cc435c89b2
590
py
Python
tutorial/thirdapp/router.py
ekjongh/django
fcb91877b6aeb4b24e32a115e073b5f3bd361590
[ "MIT" ]
null
null
null
tutorial/thirdapp/router.py
ekjongh/django
fcb91877b6aeb4b24e32a115e073b5f3bd361590
[ "MIT" ]
null
null
null
tutorial/thirdapp/router.py
ekjongh/django
fcb91877b6aeb4b24e32a115e073b5f3bd361590
[ "MIT" ]
null
null
null
class DBRouter: def db_for_read(self, model, **hints): if model._meta.app_label == 'thirdapp': return 'custom' return None def db_for_write(self, model, **hints): if model._meta.app_label == 'thirdapp': return 'custom' return None def allow_relation(self, obj1, obj2, **...
28.095238
80
0.635593
79
590
4.531646
0.329114
0.134078
0.223464
0.223464
0.441341
0.368715
0.368715
0.368715
0.368715
0.368715
0
0.008929
0.240678
590
20
81
29.5
0.790179
0
0
0.470588
0
0
0.098305
0
0
0
0
0
0
1
0.235294
false
0
0
0
0.764706
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
1b66347975c1b4fc92dffa20b2a13614de861258
34
py
Python
build/lib/vislparser/__init__.py
lplnufpi/onlinemorphoparsing
2b610ca5cd0c699b3ef8beed43b70dc5dce5a303
[ "MIT" ]
null
null
null
build/lib/vislparser/__init__.py
lplnufpi/onlinemorphoparsing
2b610ca5cd0c699b3ef8beed43b70dc5dce5a303
[ "MIT" ]
2
2021-03-31T19:04:59.000Z
2021-12-13T19:53:14.000Z
build/lib/vislparser/__init__.py
lplnufpi/vislparser
2b610ca5cd0c699b3ef8beed43b70dc5dce5a303
[ "MIT" ]
null
null
null
import parser name = "vislparser"
11.333333
19
0.764706
4
34
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.147059
34
2
20
17
0.896552
0
0
0
0
0
0.294118
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
1b77db87b5afb78f0ff3e2383105279aefcf965c
111
py
Python
Helloworld.py
bunny-sudo/HelloWorld
2657bd934da83d0842cfc36592816165e26ac036
[ "Unlicense" ]
null
null
null
Helloworld.py
bunny-sudo/HelloWorld
2657bd934da83d0842cfc36592816165e26ac036
[ "Unlicense" ]
1
2020-10-02T01:45:50.000Z
2020-10-02T01:45:50.000Z
Helloworld.py
bunny-sudo/HelloWorld
2657bd934da83d0842cfc36592816165e26ac036
[ "Unlicense" ]
3
2020-10-02T04:34:37.000Z
2020-10-17T15:29:36.000Z
public static void main(String hello[]){ print('Hello World!!!!!!!'); print('Ayubowan'); print ('WANAKKAM'); }
18.5
40
0.648649
13
111
5.538462
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.099099
111
5
41
22.2
0.72
0
0
0
0
0
0.306306
0
0
0
0
0
0
0
null
null
0
0
null
null
0.6
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
1
0
4
1b99de73e35da19af1faf671a8c5ccea3ee78769
94
py
Python
dkist/data/test/__init__.py
A-Derks/dkist
795f919437fa8535c7ce509194f394a61c047777
[ "BSD-3-Clause" ]
21
2018-05-18T13:43:59.000Z
2022-03-16T21:17:39.000Z
dkist/data/test/__init__.py
A-Derks/dkist
795f919437fa8535c7ce509194f394a61c047777
[ "BSD-3-Clause" ]
134
2017-12-07T16:09:24.000Z
2022-03-17T16:13:55.000Z
dkist/data/test/__init__.py
A-Derks/dkist
795f919437fa8535c7ce509194f394a61c047777
[ "BSD-3-Clause" ]
4
2017-12-04T10:49:49.000Z
2022-01-10T12:20:46.000Z
import pathlib import dkist rootdir = pathlib.Path(dkist.__file__).parent / "data" / "test"
15.666667
63
0.734043
12
94
5.416667
0.75
0
0
0
0
0
0
0
0
0
0
0
0.138298
94
5
64
18.8
0.802469
0
0
0
0
0
0.085106
0
0
0
0
0
0
1
0
false
0
0.666667
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
1
0
0
4
1b9aca0ab737072cc2c25c6d28be9671db7fbc8f
34
py
Python
test/examples/exceptions/raise2.py
pmp-p/x-python
e5bdc15af1bf9cf696b2d9a8e1a02a4863b1fb8a
[ "MIT" ]
47
2020-05-05T08:23:55.000Z
2022-03-19T19:48:37.000Z
test/examples/exceptions/raise2.py
rocky/xbyterun
fde8f8a31ffd3e3c4545d76b4b1edf4b7e0191d9
[ "MIT" ]
null
null
null
test/examples/exceptions/raise2.py
rocky/xbyterun
fde8f8a31ffd3e3c4545d76b4b1edf4b7e0191d9
[ "MIT" ]
3
2020-08-30T09:05:17.000Z
2022-01-07T08:11:28.000Z
# This is a top-level raise 1 / 0
11.333333
27
0.647059
8
34
2.75
1
0
0
0
0
0
0
0
0
0
0
0.08
0.264706
34
2
28
17
0.8
0.735294
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
4
1ba24c3b16353e9bba37b0cbbfd57bd356caaded
44
py
Python
app/__init__.py
tclh123/micolog
9b6fcddb9f147fe20a0cbfe0e89eda07f69d0f68
[ "MIT" ]
null
null
null
app/__init__.py
tclh123/micolog
9b6fcddb9f147fe20a0cbfe0e89eda07f69d0f68
[ "MIT" ]
null
null
null
app/__init__.py
tclh123/micolog
9b6fcddb9f147fe20a0cbfe0e89eda07f69d0f68
[ "MIT" ]
null
null
null
""" Third python module used by micolog """
11
35
0.681818
6
44
5
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
44
3
36
14.666667
0.833333
0.795455
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1bdafdd3e442b01c260bca8209512b3ded96f3c5
85
py
Python
src/aux.py
lijunzh/OK_CNN
75885458418501cdb6628490d4ae9ee3e7bd74a7
[ "MIT" ]
1
2020-08-12T21:01:09.000Z
2020-08-12T21:01:09.000Z
src/aux.py
lijunzh/OK_CNN
75885458418501cdb6628490d4ae9ee3e7bd74a7
[ "MIT" ]
null
null
null
src/aux.py
lijunzh/OK_CNN
75885458418501cdb6628490d4ae9ee3e7bd74a7
[ "MIT" ]
null
null
null
from os.path import dirname, abspath ROOT_DIR = dirname(dirname(abspath(__file__)))
21.25
46
0.788235
12
85
5.166667
0.75
0.451613
0
0
0
0
0
0
0
0
0
0
0.105882
85
3
47
28.333333
0.815789
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
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
4
59f991351af81977873f0ab35160aa1de69019f1
142
py
Python
Python/Built-Ins/python-eval.py
ekant1999/HackerRank
084d4550b4eaf130837ab26a4efdbcaf8b667cdc
[ "MIT" ]
9
2017-03-19T16:27:31.000Z
2022-02-17T11:42:21.000Z
Python/Built-Ins/python-eval.py
ekant1999/HackerRank
084d4550b4eaf130837ab26a4efdbcaf8b667cdc
[ "MIT" ]
null
null
null
Python/Built-Ins/python-eval.py
ekant1999/HackerRank
084d4550b4eaf130837ab26a4efdbcaf8b667cdc
[ "MIT" ]
6
2019-02-18T11:26:24.000Z
2022-03-21T14:13:15.000Z
# Enter your code here. Read input from STDIN. Print output to STDOUT from __future__ import print_function var = raw_input() eval(var)
23.666667
70
0.753521
22
142
4.590909
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.190141
142
6
71
23.666667
0.878261
0.471831
0
0
0
0
0
0
0
0
0
0.166667
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
1
0
0
0
0
0
1
0
0
0
0
4
941e2866159789d7f904c13aaf0f126cd67574ea
205
py
Python
Backend/DAOs/ArtsDAO.py
Harshita248/ARTS-and-Craps
cd1cefb86e64ab91f982495fab3058e556985def
[ "MIT" ]
1
2021-07-07T12:17:43.000Z
2021-07-07T12:17:43.000Z
Backend/DAOs/ArtsDAO.py
Harshita248/ARTS-and-Craps
cd1cefb86e64ab91f982495fab3058e556985def
[ "MIT" ]
null
null
null
Backend/DAOs/ArtsDAO.py
Harshita248/ARTS-and-Craps
cd1cefb86e64ab91f982495fab3058e556985def
[ "MIT" ]
null
null
null
from DAOs.db import db import csv class ArtsDAO(db): def __init__(self): super().__init__() self.table = "Arts" def selectAll(self): return self.query("Name", "",[])
12.8125
40
0.570732
25
205
4.36
0.68
0.146789
0
0
0
0
0
0
0
0
0
0
0.282927
205
15
41
13.666667
0.741497
0
0
0
0
0
0.040201
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
945155a9d35030f1023d1b474212739453d60138
328
py
Python
schedules/views.py
pystudent1913/calendartask
ea0a22da658d3f4b553e49144bef3954af26054c
[ "MIT" ]
null
null
null
schedules/views.py
pystudent1913/calendartask
ea0a22da658d3f4b553e49144bef3954af26054c
[ "MIT" ]
null
null
null
schedules/views.py
pystudent1913/calendartask
ea0a22da658d3f4b553e49144bef3954af26054c
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic import TemplateView # Create your views here. class CalendarView (TemplateView): template_name = "schedules/calendar.html" class DayView (TemplateView): template_name = "tasks/day.html" class MonthView (TemplateView): template_name = "tasks/month...
19.294118
45
0.777439
39
328
6.461538
0.589744
0.238095
0.285714
0.230159
0
0
0
0
0
0
0
0
0.134146
328
16
46
20.5
0.887324
0.070122
0
0
0
0
0.175497
0.076159
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
946985ca6e4a56b91e4fe138f8523e8a948a005e
110
py
Python
modules/modules.py
efrenbg1/rmote.app
a0da99600eef1cc3d9a67b3276b62e46d1da28fd
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
modules/modules.py
efrenbg1/rmote.app
a0da99600eef1cc3d9a67b3276b62e46d1da28fd
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
modules/modules.py
efrenbg1/rmote.app
a0da99600eef1cc3d9a67b3276b62e46d1da28fd
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
from flask import Flask, request, Blueprint hub = Blueprint('modules', __name__, template_folder='templates')
36.666667
65
0.790909
13
110
6.307692
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.1
110
3
65
36.666667
0.828283
0
0
0
0
0
0.144144
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
4
9469b1d3a47322c099bfa6a0d08215fa0fe701b6
1,892
py
Python
snpy/__init__.py
emirkmo/snpy
2a0153c84477ba8a30310d7dbca3d5a8f24de3c6
[ "MIT" ]
6
2019-01-14T19:40:45.000Z
2021-06-05T12:19:39.000Z
snpy/__init__.py
emirkmo/snpy
2a0153c84477ba8a30310d7dbca3d5a8f24de3c6
[ "MIT" ]
3
2017-04-25T20:06:22.000Z
2021-06-09T20:46:41.000Z
snpy/__init__.py
emirkmo/snpy
2a0153c84477ba8a30310d7dbca3d5a8f24de3c6
[ "MIT" ]
8
2017-04-25T19:57:57.000Z
2021-11-12T11:54:19.000Z
''' SNPY 2.0 Author: Chris Burns (cburns@carnegiescience.edu) SNPY (or SNooPy) is a Python package for fitting the light-curves of TypeIa supernovae. It is NOT an off-the-shelf program that will do all the work for you from the command line. It is meant to be run interactively. It provides many tools, but does not...
43
79
0.736786
301
1,892
4.61794
0.578073
0.014388
0.017266
0.025899
0
0
0
0
0
0
0
0.017299
0.205603
1,892
43
80
44
0.907518
0.97093
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
8470d8905b39288e6f1938c7285c468464c4d7ea
8,319
py
Python
aleph/migrate/versions/cc03d89e76c8_entity_recreate.py
gazeti/aleph
f6714c4be038471cfdc6408bfe88dc9e2ed28452
[ "MIT" ]
1
2017-07-28T12:54:09.000Z
2017-07-28T12:54:09.000Z
aleph/migrate/versions/cc03d89e76c8_entity_recreate.py
gazeti/aleph
f6714c4be038471cfdc6408bfe88dc9e2ed28452
[ "MIT" ]
7
2017-08-16T12:49:23.000Z
2018-02-16T10:22:11.000Z
aleph/migrate/versions/cc03d89e76c8_entity_recreate.py
gazeti/aleph
f6714c4be038471cfdc6408bfe88dc9e2ed28452
[ "MIT" ]
6
2017-07-26T12:29:53.000Z
2017-08-18T09:35:50.000Z
"""entity recreate. Revision ID: cc03d89e76c8 Revises: 4f5eb9113692 Create Date: 2016-04-14 14:24:08.804039 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'cc03d89e76c8' down_revision = '4f5eb9113692' def upgrade(): op.create_table('entity_address', ...
56.591837
117
0.670032
1,063
8,319
5.044214
0.118532
0.12085
0.195822
0.261097
0.80567
0.725849
0.591943
0.411227
0.364043
0.325625
0
0.012199
0.152542
8,319
146
118
56.979452
0.748369
0.01743
0
0.263158
0
0
0.250429
0.069802
0
0
0
0
0
1
0.015038
false
0
0.015038
0
0.030075
0
0
0
0
null
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
847cae17005f95211986c1fd01f17eb85108f768
56
py
Python
frontend/frontend_config.py
hanxiao/jina-app-store-example
d32baeb4a68fe454c13291ceb2fe46705b0b4f11
[ "Apache-2.0" ]
2
2021-06-24T13:27:23.000Z
2021-06-24T13:29:24.000Z
frontend/frontend_config.py
hanxiao/jina-app-store-example
d32baeb4a68fe454c13291ceb2fe46705b0b4f11
[ "Apache-2.0" ]
null
null
null
frontend/frontend_config.py
hanxiao/jina-app-store-example
d32baeb4a68fe454c13291ceb2fe46705b0b4f11
[ "Apache-2.0" ]
1
2021-12-14T15:40:05.000Z
2021-12-14T15:40:05.000Z
frontend_endpoint = "http://3.138.155.170:45678/search"
28
55
0.75
9
56
4.555556
1
0
0
0
0
0
0
0
0
0
0
0.283019
0.053571
56
1
56
56
0.490566
0
0
0
0
0
0.589286
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
848588b079d0d0e8a2a8621094e7694e4e8df41a
1,037
py
Python
src/algorithms/cakethief/tests.py
rfkrocktk/python-algorithms
7e16b3d291c7f1daf656a7c0bf510af6425baf7d
[ "MIT" ]
1
2021-07-13T03:58:40.000Z
2021-07-13T03:58:40.000Z
src/algorithms/cakethief/tests.py
rfkrocktk/python-algorithms
7e16b3d291c7f1daf656a7c0bf510af6425baf7d
[ "MIT" ]
null
null
null
src/algorithms/cakethief/tests.py
rfkrocktk/python-algorithms
7e16b3d291c7f1daf656a7c0bf510af6425baf7d
[ "MIT" ]
1
2018-10-10T21:44:52.000Z
2018-10-10T21:44:52.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from algorithms.cakethief import cakethief import unittest class CakeThiefTestCase(unittest.TestCase): """Tests for the cake thief interview problem.""" def test_one_cake(self): self.assertEqual(4, cakethief([(2, 1)], 9)) def test_two_cakes(self): ...
29.628571
92
0.626808
151
1,037
4.125828
0.403974
0.089888
0.243981
0.11557
0.123596
0
0
0
0
0
0
0.072879
0.192864
1,037
34
93
30.5
0.671446
0.082932
0
0
0
0
0.003178
0
0
0
0
0
0.421053
1
0.421053
false
0
0.105263
0
0.578947
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
1
0
1
0
0
0
0
1
0
0
4
84a31c65db56f7d1fc43b0e9ad3c3468a9fd8303
108
py
Python
ErrorHandle.py
jbob0/Uniwards-Backend
bf58983a8a7885cd14c5c3199219dc67695e5220
[ "MIT" ]
null
null
null
ErrorHandle.py
jbob0/Uniwards-Backend
bf58983a8a7885cd14c5c3199219dc67695e5220
[ "MIT" ]
null
null
null
ErrorHandle.py
jbob0/Uniwards-Backend
bf58983a8a7885cd14c5c3199219dc67695e5220
[ "MIT" ]
null
null
null
""" * Module Name: ErrorHandle * Module Purpose: Define and handle all error messages for requests """
18
69
0.703704
13
108
5.846154
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.203704
108
5
70
21.6
0.883721
0.907407
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
84b0912bd396880c7f6c74a0f2e9f18058a8abc3
89
py
Python
jsonclasses/objref.py
forever9717/jsonclasses
cc9bde67ceab220425b4855ebb59d432e6fd6ddc
[ "MIT" ]
50
2021-08-18T08:08:04.000Z
2022-03-20T07:23:26.000Z
jsonclasses/objref.py
zhichao-github/jsonclasses
6ee8545683b446939c9c68414fc351cbc917ad41
[ "MIT" ]
1
2021-11-23T02:12:29.000Z
2021-11-23T13:35:26.000Z
jsonclasses/objref.py
zhichao-github/jsonclasses
6ee8545683b446939c9c68414fc351cbc917ad41
[ "MIT" ]
8
2021-07-01T02:39:15.000Z
2021-12-10T02:20:18.000Z
from typing import NamedTuple class ObjRef(NamedTuple): cls: str id: str | int
12.714286
29
0.685393
12
89
5.083333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.247191
89
6
30
14.833333
0.910448
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
84bd0af60c433faaa4529683c3ffd30d4c29d3ba
702
py
Python
app/core/hashing.py
abuchi247/money-transfer-api-service
fa8ae69020a932db396ea340c8e1606c86f1979f
[ "MIT" ]
null
null
null
app/core/hashing.py
abuchi247/money-transfer-api-service
fa8ae69020a932db396ea340c8e1606c86f1979f
[ "MIT" ]
null
null
null
app/core/hashing.py
abuchi247/money-transfer-api-service
fa8ae69020a932db396ea340c8e1606c86f1979f
[ "MIT" ]
null
null
null
from passlib.context import CryptContext pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") class Hasher(): @staticmethod def verify_password(plain_password, hashed_password): """ Verify if plain_password matches hashed_password :param plain_password: :param has...
29.25
66
0.673789
75
702
6.066667
0.44
0.228571
0.083516
0.118681
0
0
0
0
0
0
0
0
0.249288
702
24
67
29.25
0.863378
0.311966
0
0.222222
0
0
0.025189
0
0
0
0
0
0
1
0.222222
false
0.555556
0.111111
0
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
84bee0e6c728d99f1b275687cf75a4c2709401bc
181
py
Python
tests/__init__.py
gsnext/can-we-talk
53fbdc3233c288066237a10e322797d91c95b4c7
[ "MIT" ]
null
null
null
tests/__init__.py
gsnext/can-we-talk
53fbdc3233c288066237a10e322797d91c95b4c7
[ "MIT" ]
null
null
null
tests/__init__.py
gsnext/can-we-talk
53fbdc3233c288066237a10e322797d91c95b4c7
[ "MIT" ]
null
null
null
import importlib spec = importlib.util.spec_from_file_location( "*", "can_we_talk.py") oscc_check = importlib.util.module_from_spec(spec) spec.loader.exec_module(oscc_check)
20.111111
50
0.78453
27
181
4.888889
0.592593
0.19697
0
0
0
0
0
0
0
0
0
0
0.099448
181
8
51
22.625
0.809816
0
0
0
0
0
0.082873
0
0
0
0
0
0
1
0
false
0
0.6
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
1
0
1
0
0
4
84d4e773bbc4d200d6a659d4b3596d6497f619f5
22,215
py
Python
stix_shifter_modules/aws_athena/tests/stix_transmission/test_aws_athena.py
pyromaneact/stix-shifter
431c6f66513cd0db8e338a4e2952a40666bc294b
[ "Apache-2.0" ]
129
2019-10-09T17:13:03.000Z
2022-03-03T08:25:46.000Z
stix_shifter_modules/aws_athena/tests/stix_transmission/test_aws_athena.py
pyromaneact/stix-shifter
431c6f66513cd0db8e338a4e2952a40666bc294b
[ "Apache-2.0" ]
415
2019-10-03T14:29:20.000Z
2022-03-31T18:23:41.000Z
stix_shifter_modules/aws_athena/tests/stix_transmission/test_aws_athena.py
pyromaneact/stix-shifter
431c6f66513cd0db8e338a4e2952a40666bc294b
[ "Apache-2.0" ]
178
2019-10-08T22:18:48.000Z
2022-03-21T11:04:05.000Z
from stix_shifter_modules.aws_athena.entry_point import EntryPoint from unittest.mock import patch import json import unittest from stix_shifter.stix_transmission import stix_transmission from botocore.exceptions import ClientError from botocore.exceptions import ParamValidationError import datetime from dateutil.tz im...
40.538321
119
0.578258
1,951
22,215
6.384931
0.169657
0.033395
0.018785
0.021915
0.798186
0.781569
0.738059
0.708517
0.696556
0.696556
0
0.078091
0.318073
22,215
547
120
40.612431
0.744208
0.001305
0
0.63299
0
0.006186
0.319363
0.141343
0
0
0
0
0.113402
1
0.068041
false
0
0.018557
0.004124
0.134021
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
84dfc89e325362bb9e86c41207ad7f89cf957868
19
py
Python
data/studio21_generated/introductory/4329/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/4329/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/4329/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def pig_latin(s):
9.5
17
0.684211
4
19
3
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
2
18
9.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
1700bfd192cdba984b6d5cf300180b3381539d26
179
py
Python
contrib/data-share/client_example/bwscointxn/__init__.py
bwsnetwork/bwscoin
3e71428f47a9923a024ea7b63dbdc9fd84afa266
[ "MIT" ]
null
null
null
contrib/data-share/client_example/bwscointxn/__init__.py
bwsnetwork/bwscoin
3e71428f47a9923a024ea7b63dbdc9fd84afa266
[ "MIT" ]
null
null
null
contrib/data-share/client_example/bwscointxn/__init__.py
bwsnetwork/bwscoin
3e71428f47a9923a024ea7b63dbdc9fd84afa266
[ "MIT" ]
null
null
null
""" Python module for generating and retrieving OP_RETURN BWS Coin transactions """ from transaction import Transaction from unpacker import hex2bin, bin2hex from bws import BWS
22.375
75
0.815642
24
179
6.041667
0.708333
0
0
0
0
0
0
0
0
0
0
0.013072
0.145251
179
7
76
25.571429
0.934641
0.418994
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
170292504ccc420c4ccf6fc58f6b670a80a3aef4
282
py
Python
binder/plugins/views/__init__.py
Bilonan/django-binder
d2d9b504a92029a0afc616be81a08f0deddd5b64
[ "MIT" ]
14
2016-08-15T13:08:55.000Z
2021-11-17T11:43:20.000Z
binder/plugins/views/__init__.py
Bilonan/django-binder
d2d9b504a92029a0afc616be81a08f0deddd5b64
[ "MIT" ]
141
2016-08-14T15:36:35.000Z
2022-02-17T08:53:52.000Z
binder/plugins/views/__init__.py
Bilonan/django-binder
d2d9b504a92029a0afc616be81a08f0deddd5b64
[ "MIT" ]
18
2016-10-01T21:30:22.000Z
2022-03-28T10:51:41.000Z
# Of course these are not used, we provide them as an interface. from .csvexport import CsvExportView # noqa: F401 from .image import ImageView # noqa: F401 from .userview import UserViewMixIn, MasqueradeMixin # noqa: F401 from .file_hash_view import FileHashView # noqa: F401
40.285714
66
0.776596
39
282
5.564103
0.692308
0.147465
0.165899
0
0
0
0
0
0
0
0
0.051064
0.166667
282
6
67
47
0.87234
0.375887
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
1
0
0
4
ca05af7dbacfeec42ca19c462fa6cda8ae358634
64
py
Python
Topics/List comprehension/Threefold/main.py
soukalli/jetbrain-accademy
fc486d439b4b54a58956e1186eb69c56b85f85f1
[ "MIT" ]
null
null
null
Topics/List comprehension/Threefold/main.py
soukalli/jetbrain-accademy
fc486d439b4b54a58956e1186eb69c56b85f85f1
[ "MIT" ]
null
null
null
Topics/List comprehension/Threefold/main.py
soukalli/jetbrain-accademy
fc486d439b4b54a58956e1186eb69c56b85f85f1
[ "MIT" ]
null
null
null
print([number for number in range(1, 1001) if number % 3 == 0])
32
63
0.65625
12
64
3.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.134615
0.1875
64
1
64
64
0.673077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4