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
fda14a693742eb4f2ed15a8a28ecc9bff2d835b7
338
py
Python
timer/ds.py
KingsleyXie/Yatpd
26f7aa779124fb96a0f8c146108ca1e77c4fa791
[ "MIT" ]
1
2020-04-26T06:07:53.000Z
2020-04-26T06:07:53.000Z
timer/ds.py
KingsleyXie/Yatpd
26f7aa779124fb96a0f8c146108ca1e77c4fa791
[ "MIT" ]
null
null
null
timer/ds.py
KingsleyXie/Yatpd
26f7aa779124fb96a0f8c146108ca1e77c4fa791
[ "MIT" ]
null
null
null
# Data Structure Base Class class DS: def __init__(self, cmp): raise NotImplementedError def gettop(self): raise NotImplementedError def extracttop(self): raise NotImplementedError def insert(self, val): raise NotImplementedError def print(self): raise No...
18.777778
33
0.66568
33
338
6.69697
0.484848
0.542986
0.488688
0.280543
0
0
0
0
0
0
0
0
0.278107
338
17
34
19.882353
0.905738
0.073965
0
0.454545
0
0
0
0
0
0
0
0
0
1
0.454545
false
0
0
0
0.545455
0.090909
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
5
fdaa031bb6050828f9bcbb223110a1bd6ec1bbe6
82
py
Python
project/map/__init__.py
ayr-ton/Emberblast
9ba53a983489d7ae732debe0f1958587fe43a8ff
[ "MIT" ]
9
2021-05-19T18:54:20.000Z
2022-03-13T10:57:09.000Z
project/map/__init__.py
ayr-ton/Emberblast
9ba53a983489d7ae732debe0f1958587fe43a8ff
[ "MIT" ]
1
2021-12-15T20:03:48.000Z
2021-12-15T20:03:48.000Z
project/map/__init__.py
ayr-ton/Emberblast
9ba53a983489d7ae732debe0f1958587fe43a8ff
[ "MIT" ]
3
2021-06-17T21:12:18.000Z
2021-12-28T02:07:35.000Z
from .map import MapFactory, Map, Graph __all__ = ['MapFactory', 'Map', 'Graph']
20.5
40
0.682927
10
82
5.2
0.6
0.5
0.692308
0
0
0
0
0
0
0
0
0
0.146341
82
3
41
27.333333
0.742857
0
0
0
0
0
0.219512
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
fdcad9ed469b058209ef13105708ae46eef41798
264
py
Python
example/apps/buttons/views.py
NinjaDero/Directly
bb241b49c54c8a1510438f955b39d1785594cc64
[ "MIT" ]
4
2015-03-09T10:50:05.000Z
2020-07-02T17:22:37.000Z
example/apps/buttons/views.py
NinjaDero/Directly
bb241b49c54c8a1510438f955b39d1785594cc64
[ "MIT" ]
null
null
null
example/apps/buttons/views.py
NinjaDero/Directly
bb241b49c54c8a1510438f955b39d1785594cc64
[ "MIT" ]
null
null
null
from django.shortcuts import render_to_response from django.template import RequestContext def index(request): # Somehow get the html delivered, everything else is usually JavaScript in Ext return render_to_response('index.html', RequestContext(request))
37.714286
82
0.810606
35
264
6
0.714286
0.095238
0.152381
0
0
0
0
0
0
0
0
0
0.132576
264
7
83
37.714286
0.917031
0.287879
0
0
0
0
0.053476
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
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
1
0
0
1
1
1
0
0
5
fde2c294d1b04a55991d10d40c2602f45689c2b5
986
py
Python
client.py
felix2072/pytorch-CycleGAN-and-pix2pix
4980106ceab5e1eb7bb20c2b492d007b6310d9e1
[ "BSD-3-Clause" ]
null
null
null
client.py
felix2072/pytorch-CycleGAN-and-pix2pix
4980106ceab5e1eb7bb20c2b492d007b6310d9e1
[ "BSD-3-Clause" ]
null
null
null
client.py
felix2072/pytorch-CycleGAN-and-pix2pix
4980106ceab5e1eb7bb20c2b492d007b6310d9e1
[ "BSD-3-Clause" ]
null
null
null
import socket import time UDP_IP = "127.0.0.1" OUT_PORT = 5004 IN_PORT = 5005 buf = 1024 timeout = 3 sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) info = "need file" sock.sendto(info.encode(), (UDP_IP, OUT_PORT)) time.sleep(0.01) info = "end" sock.sendto(info.encode(), (UDP_IP, OUT_PORT)) sock.close() so...
22.409091
55
0.672414
159
986
4.037736
0.333333
0.054517
0.087227
0.124611
0.758567
0.758567
0.758567
0.758567
0.758567
0.691589
0
0.042579
0.166329
986
44
56
22.409091
0.738443
0
0
0.638889
0
0
0.12462
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0.111111
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
e313621727e5306d46ae550aa5853927cb3566a4
253
py
Python
webapp/app/forms.py
Jinchu/covid-plotter
17fd3fc4f7a4e135cc79204ec3b7cdff90b9ff8f
[ "MIT" ]
null
null
null
webapp/app/forms.py
Jinchu/covid-plotter
17fd3fc4f7a4e135cc79204ec3b7cdff90b9ff8f
[ "MIT" ]
null
null
null
webapp/app/forms.py
Jinchu/covid-plotter
17fd3fc4f7a4e135cc79204ec3b7cdff90b9ff8f
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField from wtforms.validators import DataRequired class CountryForm(FlaskForm): country = StringField('Country') submit = SubmitField('Search')
31.625
73
0.806324
26
253
7.807692
0.653846
0.108374
0
0
0
0
0
0
0
0
0
0
0.126482
253
7
74
36.142857
0.918552
0
0
0
0
0
0.051383
0
0
0
0
0
0
1
0
false
0.166667
0.5
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
1
1
0
1
0
0
5
e340deee2b5fafc854f27174f6c913990f8b965e
19
py
Python
print.py
nightlxight/improvedly
7633cab0a8c4c0c95360e52f28f583c71153228e
[ "MIT" ]
null
null
null
print.py
nightlxight/improvedly
7633cab0a8c4c0c95360e52f28f583c71153228e
[ "MIT" ]
null
null
null
print.py
nightlxight/improvedly
7633cab0a8c4c0c95360e52f28f583c71153228e
[ "MIT" ]
null
null
null
print("Hey world!")
19
19
0.684211
3
19
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.052632
19
1
19
19
0.722222
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
8ba79e391f01bd4eb2c0c2b4f1d1d9a4e5cb6310
39,197
py
Python
pyslate/locales.py
GreeKpl/pystlate
57b62d8e3f2f51770eeaa3bd7bfde4df9f574690
[ "MIT" ]
4
2016-03-12T05:47:52.000Z
2020-06-02T00:41:16.000Z
pyslate/locales.py
alchrabas/pyslate
57b62d8e3f2f51770eeaa3bd7bfde4df9f574690
[ "MIT" ]
null
null
null
pyslate/locales.py
alchrabas/pyslate
57b62d8e3f2f51770eeaa3bd7bfde4df9f574690
[ "MIT" ]
1
2015-03-16T21:22:13.000Z
2015-03-16T21:22:13.000Z
def is_integral(n): return int(n) == n LOCALES = { "af": { "format": { "date": "%Y-%m-%-d", "datetime": "%Y-%m-%-d %-I:%M:%S %p", "datetime_short": "%Y-%m-%-d %-I:%M %p", "decimal_point": ",", "time": "%-I:%M:%S %p", "time_short": ...
35.312613
194
0.382274
4,835
39,197
2.996691
0.093278
0.031472
0.039133
0.025399
0.753399
0.745186
0.741528
0.736214
0.73228
0.72524
0
0.048832
0.354772
39,197
1,110
195
35.312613
0.52406
0
0
0.568981
0
0.003607
0.406934
0.041635
0
0
0
0
0
1
0.000902
false
0
0
0.000902
0.001803
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
474407d055e395ba35b61981f878cdfbd9b1a9c5
23
py
Python
__init__.py
grzeimann/Panacea
e0e9b5c64fa612659572343a47d518d8db63f2b8
[ "BSD-3-Clause" ]
8
2017-01-12T16:18:52.000Z
2020-02-19T20:01:44.000Z
__init__.py
grzeimann/Panacea
e0e9b5c64fa612659572343a47d518d8db63f2b8
[ "BSD-3-Clause" ]
null
null
null
__init__.py
grzeimann/Panacea
e0e9b5c64fa612659572343a47d518d8db63f2b8
[ "BSD-3-Clause" ]
1
2017-02-16T19:14:47.000Z
2017-02-16T19:14:47.000Z
# blank initialization
11.5
22
0.826087
2
23
9.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.95
0.869565
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
479925cfedc97707b5ac74561376ac44deba2019
141
py
Python
Python/ex021.py
Bijitakc/Hacktoberfest2021-2
167e7c81dc9c5cc83fd604ea1d4bce52aa882605
[ "MIT" ]
20
2021-10-06T13:51:46.000Z
2021-11-11T16:12:17.000Z
Python/ex021.py
Bijitakc/Hacktoberfest2021-2
167e7c81dc9c5cc83fd604ea1d4bce52aa882605
[ "MIT" ]
42
2021-10-08T09:49:17.000Z
2021-10-21T23:18:39.000Z
Python/ex021.py
Bijitakc/Hacktoberfest2021-2
167e7c81dc9c5cc83fd604ea1d4bce52aa882605
[ "MIT" ]
97
2021-10-06T13:04:34.000Z
2021-11-11T16:12:21.000Z
import pygame pygame.init() pygame.mixer.init() pygame.mixer.music.load("recairei.mp3") pygame.mixer.music.play() import time time.sleep(300)
20.142857
39
0.780142
22
141
5
0.545455
0.3
0.272727
0
0
0
0
0
0
0
0
0.030075
0.056738
141
7
40
20.142857
0.796992
0
0
0
0
0
0.084507
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
47bae7b537b515003be9ea90efab273f87d59a26
54,059
py
Python
207-Course-Schedule/solution01.py
Eroica-cpp/LeetCode
07276bd11558f3d0e32bec768b09e886de145f9e
[ "CC-BY-3.0", "MIT" ]
7
2015-05-05T22:21:30.000Z
2021-03-13T04:04:15.000Z
207-Course-Schedule/solution01.py
Eroica-cpp/LeetCode
07276bd11558f3d0e32bec768b09e886de145f9e
[ "CC-BY-3.0", "MIT" ]
null
null
null
207-Course-Schedule/solution01.py
Eroica-cpp/LeetCode
07276bd11558f3d0e32bec768b09e886de145f9e
[ "CC-BY-3.0", "MIT" ]
2
2018-12-26T08:13:25.000Z
2020-07-18T20:18:24.000Z
#!/usr/bin/python # ============================================================================== # Author: Tao Li (taoli@ucsd.edu) # Date: Jun 12, 2015 # Question: 207-Course-Schedule # Link: https://leetcode.com/problems/course-schedule/ # ===================================================================...
720.786667
29,410
0.607392
10,348
54,059
3.172207
0.203711
0.006306
0.001462
0.001279
0.009048
0.004326
0.004326
0.004326
0.004326
0.004326
0
0.584344
0.011524
54,059
75
29,411
720.786667
0.029961
0.026971
0
0.16129
0
0
0.000152
0
0
0
0
0
0
0
null
null
0
0
null
null
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
5
47cf4a3ffcadd9cfc6fd7b0066777fb1e80590d8
107
py
Python
discord_api/__init__.py
tuna2134sub/discord-api.py
471fc9dc26d28e80eac309e5d68c7cd6be4021ed
[ "MIT" ]
1
2021-12-15T08:10:41.000Z
2021-12-15T08:10:41.000Z
discord_api/__init__.py
tasuren/discord-api.py
ead9c2d4bab1251cf781a776d314348405f03c3c
[ "MIT" ]
null
null
null
discord_api/__init__.py
tasuren/discord-api.py
ead9c2d4bab1251cf781a776d314348405f03c3c
[ "MIT" ]
null
null
null
from .client import Client from .command import Command from .embed import Embed from .interaction import *
26.75
28
0.813084
15
107
5.8
0.4
0
0
0
0
0
0
0
0
0
0
0
0.140187
107
4
29
26.75
0.945652
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
1
0
0
5
47d108d7bc2c0092383f27936bc1d943064dd29f
74
py
Python
Basics/test.py
Jatin-8898/WebScraping
80c576e6611d6d7549ba622133063f0dad780685
[ "MIT" ]
2
2018-10-03T12:58:51.000Z
2019-02-07T13:40:20.000Z
Basics/test.py
Jatin-8898/WebScraping
80c576e6611d6d7549ba622133063f0dad780685
[ "MIT" ]
null
null
null
Basics/test.py
Jatin-8898/WebScraping
80c576e6611d6d7549ba622133063f0dad780685
[ "MIT" ]
1
2021-02-04T19:30:08.000Z
2021-02-04T19:30:08.000Z
print 'Hello World' from selenium import webdriver #webdriver.PhantomJS
14.8
30
0.810811
9
74
6.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.135135
74
5
31
14.8
0.9375
0.256757
0
0
0
0
0.2
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
1
0
5
9a20b9228dd0dcb7d7862e8543855f0b710883b3
173
py
Python
flask_admin/contrib/humbledb/__init__.py
laiyonghao/flask-admin
3d677674bad7298e7e1b668c229a332b22108eed
[ "BSD-3-Clause" ]
null
null
null
flask_admin/contrib/humbledb/__init__.py
laiyonghao/flask-admin
3d677674bad7298e7e1b668c229a332b22108eed
[ "BSD-3-Clause" ]
null
null
null
flask_admin/contrib/humbledb/__init__.py
laiyonghao/flask-admin
3d677674bad7298e7e1b668c229a332b22108eed
[ "BSD-3-Clause" ]
null
null
null
# flake8: noqa try: import humbledb except ImportError: raise Exception('Please install humbledb in order to use humbledb integration') from .view import ModelView
21.625
83
0.768786
22
173
6.045455
0.863636
0
0
0
0
0
0
0
0
0
0
0.007042
0.179191
173
7
84
24.714286
0.929577
0.069364
0
0
0
0
0.377358
0
0
0
0
0
0
1
0
true
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
1
0
1
0
1
0
0
5
9a49290f87f7b3470bb4c368379492c9c69e4224
217
py
Python
uv_worker/note_app_2.py
k0imet/2020
f4c9de230095dc1460ffdce84a44f8c98468156a
[ "MIT" ]
23
2020-06-14T17:01:16.000Z
2020-07-18T05:45:20.000Z
uv_worker/note_app_2.py
k0imet/2020
f4c9de230095dc1460ffdce84a44f8c98468156a
[ "MIT" ]
null
null
null
uv_worker/note_app_2.py
k0imet/2020
f4c9de230095dc1460ffdce84a44f8c98468156a
[ "MIT" ]
7
2020-06-14T17:01:19.000Z
2020-07-18T05:45:21.000Z
PASSWORD = "Lq#QHMnpyk6Y+.]" def check(selenium_obj, host): current_host = f"http://na2.{host}/" selenium_obj.get(current_host) selenium_obj.add_cookie({'name': 'token', 'value': PASSWORD, 'path': '/'})
27.125
78
0.654378
28
217
4.857143
0.678571
0.242647
0.220588
0
0
0
0
0
0
0
0
0.010695
0.138249
217
7
79
31
0.716578
0
0
0
0
0
0.239631
0
0
0
0
0
0
1
0.2
false
0.4
0
0
0.2
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
1
0
0
0
0
0
5
7be97e68125e85b76ae160c120c5a4c0d8fb56b8
149
py
Python
hello.py
O-Seok/branch-practice
077cd37d36696bcc760a0bac382f286b37324d32
[ "MIT" ]
null
null
null
hello.py
O-Seok/branch-practice
077cd37d36696bcc760a0bac382f286b37324d32
[ "MIT" ]
null
null
null
hello.py
O-Seok/branch-practice
077cd37d36696bcc760a0bac382f286b37324d32
[ "MIT" ]
null
null
null
print('hello, world !') print('---------------') for v in range(0, 5+1): if v % 2 == 0: print('hello, world !') else: print(v, " is odd")
21.285714
27
0.463087
23
149
3
0.652174
0.289855
0.434783
0
0
0
0
0
0
0
0
0.043478
0.228188
149
7
28
21.285714
0.556522
0
0
0.285714
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
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
1
0
5
7bebf44976b43d89da0dd40c2d1f602b66e7bb77
1,203
py
Python
tests/cli/test_site_delete.py
dnimtheory/WordOps
82fc71f5f563df0e4249cc178f768f6cf6c005f6
[ "MIT" ]
2
2019-09-03T03:39:40.000Z
2021-04-22T12:09:50.000Z
tests/cli/test_site_delete.py
BreezeRo/WordOps
3c5cb8ba0ed8d619cddb170386a07102cb385727
[ "MIT" ]
null
null
null
tests/cli/test_site_delete.py
BreezeRo/WordOps
3c5cb8ba0ed8d619cddb170386a07102cb385727
[ "MIT" ]
2
2021-01-02T07:49:51.000Z
2022-03-26T15:58:50.000Z
from wo.utils import test from wo.cli.main import get_test_app class CliTestCaseSite(test.WOTestCase): def test_wo_cli(self): self.app.setup() self.app.run() self.app.close() def test_wo_cli_site_detele(self): self.app = get_test_app(argv=['site', 'delete', 'example1.com', ...
30.846154
71
0.519534
149
1,203
3.986577
0.208054
0.223906
0.084175
0.10101
0.723906
0.723906
0.723906
0.723906
0.723906
0.488215
0
0.004938
0.326683
1,203
38
72
31.657895
0.728395
0
0
0.483871
0
0
0.123026
0
0
0
0
0
0
1
0.16129
false
0
0.064516
0
0.258065
0
0
0
0
null
1
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d0108728e1cc7871b95f9ba9621018f017b55f2e
53
py
Python
python/Rose/BinaryAnalysis/Unparser/__init__.py
ouankou/rose
76f2a004bd6d8036bc24be2c566a14e33ba4f825
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
python/Rose/BinaryAnalysis/Unparser/__init__.py
WildeGeist/rose
17db6454e8baba0014e30a8ec23df1a11ac55a0c
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
python/Rose/BinaryAnalysis/Unparser/__init__.py
WildeGeist/rose
17db6454e8baba0014e30a8ec23df1a11ac55a0c
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
from Rose.BinaryAnalysis.Unparser._Unparser import *
26.5
52
0.849057
6
53
7.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.075472
53
1
53
53
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
1
0
0
5
d05e22d16bfb06a4c8a857f97e22ede8ac3e0967
318
py
Python
python/20190102/Code/c2.py
Realize0917/career
b5d02ac53cfc3ce3a2ca38d11480c51560283e67
[ "MIT" ]
3
2019-01-17T05:50:51.000Z
2019-03-15T10:10:07.000Z
python/20190102/Code/c2.py
Realize0917/career
b5d02ac53cfc3ce3a2ca38d11480c51560283e67
[ "MIT" ]
10
2019-01-17T06:07:03.000Z
2019-02-19T05:55:25.000Z
python/20190102/Code/c2.py
Realize0917/career
b5d02ac53cfc3ce3a2ca38d11480c51560283e67
[ "MIT" ]
4
2018-12-22T07:32:55.000Z
2019-03-06T09:13:48.000Z
def func(a, word='hello', *para, **kwords): print(type(para)) print(para) for i in para: print(i) def func1(**kwords): print(type(kwords)) print(kwords) for k,v in kwords.items(): print(k,':', v) # 任意函数(装饰器会用到) def func3(*params, **kwords): pass
15.9
43
0.515723
42
318
3.904762
0.5
0.20122
0.182927
0
0
0
0
0
0
0
0
0.009174
0.314465
318
19
44
16.736842
0.743119
0.037736
0
0
0
0
0.019737
0
0
0
0
0
0
1
0.25
false
0.083333
0
0
0.25
0.5
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
0
1
0
0
0
1
0
5
d065f7892fa0935102d48f11ea566b9c4d0b965e
3,778
py
Python
maskrcnn_benchmark/data/transforms/build.py
YanhuaCheng/maskrcnn-benchmark
4bdea73f9c12ba11b82be0d51c32a5b2ab3317b9
[ "MIT" ]
null
null
null
maskrcnn_benchmark/data/transforms/build.py
YanhuaCheng/maskrcnn-benchmark
4bdea73f9c12ba11b82be0d51c32a5b2ab3317b9
[ "MIT" ]
null
null
null
maskrcnn_benchmark/data/transforms/build.py
YanhuaCheng/maskrcnn-benchmark
4bdea73f9c12ba11b82be0d51c32a5b2ab3317b9
[ "MIT" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from . import transforms as T def build_transforms(cfg, is_train=True): if is_train: keep_aspect_ratio = cfg.INPUT.KEEP_ASPECT_RATIO min_size = cfg.INPUT.MIN_SIZE_TRAIN max_size = cfg.INPUT.MAX_SIZE_TRAIN flip_...
34.036036
79
0.652991
497
3,778
4.577465
0.136821
0.133626
0.084396
0.031648
0.806154
0.806154
0.806154
0.774066
0.67956
0.643516
0
0.021898
0.274749
3,778
110
80
34.345455
0.808394
0.018264
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.020202
false
0
0.010101
0
0.050505
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d07b4c731c63ee6a5a0a48fcc3dac83d0ef08b05
126
py
Python
dps/hyper/__init__.py
alcinos/dps
5467db1216e9f9089376d2c71f524ced2382e4f6
[ "Apache-2.0" ]
2
2019-12-18T15:32:57.000Z
2020-11-10T00:23:17.000Z
dps/hyper/__init__.py
alcinos/dps
5467db1216e9f9089376d2c71f524ced2382e4f6
[ "Apache-2.0" ]
1
2020-05-02T16:40:59.000Z
2020-05-02T16:40:59.000Z
dps/hyper/__init__.py
alcinos/dps
5467db1216e9f9089376d2c71f524ced2382e4f6
[ "Apache-2.0" ]
3
2019-05-02T15:09:36.000Z
2020-11-15T10:33:19.000Z
from .base import HyperSearch, build_search, build_and_submit, run_experiment from .parallel_session import DEFAULT_HOST_POOL
42
77
0.873016
18
126
5.722222
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.087302
126
2
78
63
0.895652
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
1
0
0
5
d0f4ccff5bd4165e3f07b8b03f7cdf44ef1dd618
111
py
Python
waypy/settings/__init__.py
Waypy/waypy
0e8ae05563f7cd75a84b40577c6dee08802a5ce6
[ "MIT" ]
1
2017-11-20T07:43:05.000Z
2017-11-20T07:43:05.000Z
waypy/settings/__init__.py
Waypy/waypy
0e8ae05563f7cd75a84b40577c6dee08802a5ce6
[ "MIT" ]
1
2021-08-25T16:14:17.000Z
2021-08-25T16:14:17.000Z
waypy/settings/__init__.py
Waypy/waypy
0e8ae05563f7cd75a84b40577c6dee08802a5ce6
[ "MIT" ]
2
2017-09-12T13:00:33.000Z
2017-09-29T07:18:39.000Z
from .base import * from .module import * try: from .unique import * except ModuleNotFoundError: pass
13.875
27
0.702703
13
111
6
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.225225
111
7
28
15.857143
0.906977
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.166667
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
1
1
0
0
0
0
5
ef8370cda4fdd12c896899db07d353fecb89d107
17
py
Python
tests/test1.py
apascoa/Python_Code_Runner
3ccafa73917af595adace354e02e324a6b744d7e
[ "MIT" ]
null
null
null
tests/test1.py
apascoa/Python_Code_Runner
3ccafa73917af595adace354e02e324a6b744d7e
[ "MIT" ]
null
null
null
tests/test1.py
apascoa/Python_Code_Runner
3ccafa73917af595adace354e02e324a6b744d7e
[ "MIT" ]
null
null
null
print("Working1")
17
17
0.764706
2
17
6.5
1
0
0
0
0
0
0
0
0
0
0
0.058824
0
17
1
17
17
0.705882
0
0
0
0
0
0.444444
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
ef843635c116fe57c9ffa3ade8e8236f51d75e2f
45
py
Python
point/__init__.py
bgottula/point
8fa3be51e3e13973555a862c5f9e5b193a796346
[ "MIT" ]
10
2017-03-08T00:49:30.000Z
2019-01-20T23:03:11.000Z
point/__init__.py
bgottula/point
8fa3be51e3e13973555a862c5f9e5b193a796346
[ "MIT" ]
18
2017-08-12T18:34:53.000Z
2019-01-19T03:43:17.000Z
point/__init__.py
bgottula/point
8fa3be51e3e13973555a862c5f9e5b193a796346
[ "MIT" ]
8
2015-01-03T06:08:41.000Z
2018-10-23T18:01:59.000Z
from .nexstar import * from .gemini import *
15
22
0.733333
6
45
5.5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.177778
45
2
23
22.5
0.891892
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
ef969bfc0220df907f44029910868da176f0ff7d
130
py
Python
output/models/ms_data/regex/arabic_presentation_forms_a_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/regex/arabic_presentation_forms_a_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/regex/arabic_presentation_forms_a_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.regex.arabic_presentation_forms_a_xsd.arabic_presentation_forms_a import Doc __all__ = [ "Doc", ]
21.666667
103
0.807692
19
130
4.894737
0.736842
0.387097
0.494624
0.516129
0
0
0
0
0
0
0
0
0.107692
130
5
104
26
0.801724
0
0
0
0
0
0.023077
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
efd783a1169660bb2cb805e362460431f37de866
202
py
Python
funboost/utils/develop_log.py
DJMIN/funboost
7570ca2909bb0b44a1080f5f98aa96c86d3da9d4
[ "Apache-2.0" ]
120
2021-12-26T03:27:12.000Z
2022-03-31T16:20:44.000Z
funboost/utils/develop_log.py
mooti-barry/funboost
2cd9530e2c4e5a52fc921070d243d402adbc3a0e
[ "Apache-2.0" ]
18
2021-12-31T06:26:37.000Z
2022-03-31T16:16:33.000Z
funboost/utils/develop_log.py
mooti-barry/funboost
2cd9530e2c4e5a52fc921070d243d402adbc3a0e
[ "Apache-2.0" ]
27
2021-12-26T16:12:31.000Z
2022-03-26T17:43:08.000Z
import nb_log from funboost import funboost_config_deafult #开发时候的调试日志,比print方便通过级别一键屏蔽。 develop_logger = nb_log.get_logger('fsdf_develop', log_level_int=funboost_config_deafult.FSDF_DEVELOP_LOG_LEVEL)
33.666667
112
0.881188
29
202
5.655172
0.517241
0.060976
0.256098
0.231707
0
0
0
0
0
0
0
0
0.059406
202
5
113
40.4
0.863158
0.133663
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
4bc8fe016f3eacb0f55d72ff66a1a118492fece4
784
py
Python
resource_managers/common/resource_manager_api.py
uhbuhb/habertest-backend
b6306c629e7755121e23b8cdc70846b573eca160
[ "MIT" ]
4
2021-03-10T14:03:31.000Z
2021-11-24T15:29:35.000Z
resource_managers/common/resource_manager_api.py
solganik/habertest-backend
82f16ad441171fd937853ad6200513585904c74c
[ "MIT" ]
null
null
null
resource_managers/common/resource_manager_api.py
solganik/habertest-backend
82f16ad441171fd937853ad6200513585904c74c
[ "MIT" ]
3
2021-03-10T14:02:24.000Z
2021-07-16T20:59:11.000Z
import requests def create(resource_manager, data): return requests.post("http://%s/vms" % resource_manager, json=data) def delete(resource_manager, vm_name): return requests.delete(f"http://{resource_manager}/vms/{vm_name}") def list_images(resource_manager): return requests.get(f"http://{resource_ma...
26.133333
88
0.741071
110
784
5.063636
0.218182
0.37702
0.116697
0.179533
0.51526
0.509874
0.384201
0.280072
0.280072
0
0
0
0.107143
784
29
89
27.034483
0.795714
0
0
0
0
0
0.267857
0
0
0
0
0
0
1
0.466667
false
0
0.066667
0.466667
1
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
ef403f872f7e61622ae50b9c94a63b64fe220bee
24
py
Python
source/model/__init__.py
tailerr/R-NET-pytorch
a6ed4a02b0cf68bade9e9a43a93ec290a3b6fabd
[ "MIT" ]
null
null
null
source/model/__init__.py
tailerr/R-NET-pytorch
a6ed4a02b0cf68bade9e9a43a93ec290a3b6fabd
[ "MIT" ]
null
null
null
source/model/__init__.py
tailerr/R-NET-pytorch
a6ed4a02b0cf68bade9e9a43a93ec290a3b6fabd
[ "MIT" ]
2
2020-03-04T05:48:48.000Z
2020-03-04T06:37:27.000Z
from .model import RNet
12
23
0.791667
4
24
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
24
1
24
24
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
32389cd9f9bb0dd03163620e0308366be8207c70
113
py
Python
swagger_client/apis/__init__.py
jakubzeman/swagger-poc-python-cli
8a3d5a7f9f79bb4a72920bbbecdef7bb410efc59
[ "Apache-2.0" ]
null
null
null
swagger_client/apis/__init__.py
jakubzeman/swagger-poc-python-cli
8a3d5a7f9f79bb4a72920bbbecdef7bb410efc59
[ "Apache-2.0" ]
null
null
null
swagger_client/apis/__init__.py
jakubzeman/swagger-poc-python-cli
8a3d5a7f9f79bb4a72920bbbecdef7bb410efc59
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import # import apis into api package from .entrypoint_api import EntrypointApi
22.6
41
0.849558
15
113
6
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.132743
113
4
42
28.25
0.918367
0.247788
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
1
0
0
5
323c50db80808fb947456822b28a1116d4703a59
80
py
Python
lib/matplotlib/python/matplotlib_rb/backend_inline.py
zheng-yongping/matplotlib.rb
ee39f0c5b87a774925e5038a241adb05e3bf9d28
[ "MIT" ]
74
2016-10-06T02:04:33.000Z
2022-03-18T13:29:45.000Z
lib/matplotlib/python/matplotlib_rb/backend_inline.py
zheng-yongping/matplotlib.rb
ee39f0c5b87a774925e5038a241adb05e3bf9d28
[ "MIT" ]
12
2017-03-09T13:13:19.000Z
2022-02-04T11:02:02.000Z
lib/matplotlib/python/matplotlib_rb/backend_inline.py
zheng-yongping/matplotlib.rb
ee39f0c5b87a774925e5038a241adb05e3bf9d28
[ "MIT" ]
10
2017-05-13T07:02:45.000Z
2022-03-27T21:13:16.000Z
from matplotlib.backends.backend_agg import new_figure_manager, FigureCanvasAgg
40
79
0.9
10
80
6.9
1
0
0
0
0
0
0
0
0
0
0
0
0.0625
80
1
80
80
0.92
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
1
0
0
5
32595eb410e3a58ac6823639eaef06aec2ab6593
712
py
Python
podcaststore_api/models/user.py
viniarck/podcaststore-django
90316ffb18793b089291a0e28ac3ee2bb5e458cb
[ "Apache-2.0" ]
null
null
null
podcaststore_api/models/user.py
viniarck/podcaststore-django
90316ffb18793b089291a0e28ac3ee2bb5e458cb
[ "Apache-2.0" ]
3
2019-09-22T17:58:27.000Z
2019-09-22T18:20:20.000Z
podcaststore_api/models/user.py
viniarck/podcaststore-django
90316ffb18793b089291a0e28ac3ee2bb5e458cb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import rest_framework.serializers as serializers class UserSerializer(serializers.Serializer): """UserSerializer.""" username = serializers.CharField(max_length=128, required=True) email = serializers.EmailField(required=True) password = serializers.Char...
30.956522
70
0.758427
78
712
6.807692
0.384615
0.225989
0.259887
0.327684
0.59887
0.59887
0.59887
0.59887
0.241055
0.241055
0
0.030449
0.123596
712
22
71
32.363636
0.820513
0.105337
0
0.4
0
0
0
0
0
0
0
0
0
1
0
false
0.2
0.1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
5
325e1134bcf511429a6a26fd5d1a83b232f76128
42
py
Python
igmov/__init__.py
ngupuk/igmov
dcace345bfd5d21dd62d05bdc6fd623a92bafe5e
[ "MIT" ]
2
2020-06-14T05:41:54.000Z
2020-06-14T05:41:56.000Z
igmov/__init__.py
ngupuk/igmov
dcace345bfd5d21dd62d05bdc6fd623a92bafe5e
[ "MIT" ]
2
2020-06-12T03:03:09.000Z
2020-06-18T13:23:29.000Z
igmov/__init__.py
ngupuk/igmov
dcace345bfd5d21dd62d05bdc6fd623a92bafe5e
[ "MIT" ]
null
null
null
from . import template, dl, analyzer, draw
42
42
0.761905
6
42
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
42
1
42
42
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
325f329dcd0d52ff9e378ba91ec33a96a20db99d
1,331
py
Python
back-end/www/application.py
TUD-KInD/COCTEAU
8ea4f546397feaaf22b4e9958b509324b5b332aa
[ "MIT" ]
null
null
null
back-end/www/application.py
TUD-KInD/COCTEAU
8ea4f546397feaaf22b4e9958b509324b5b332aa
[ "MIT" ]
1
2021-11-15T11:40:04.000Z
2021-11-15T11:40:04.000Z
back-end/www/application.py
TUD-KInD/COCTEAU
8ea4f546397feaaf22b4e9958b509324b5b332aa
[ "MIT" ]
2
2021-07-14T13:07:22.000Z
2022-01-25T23:58:06.000Z
from flask_migrate import Migrate from app.app import app from models.model import db from controllers import root from controllers import template_controller from controllers import photos_controller from controllers import login_controller from controllers import topic_controller from controllers import scenario_cont...
41.59375
70
0.851991
177
1,331
6.169492
0.186441
0.151099
0.211538
0.192308
0
0
0
0
0
0
0
0
0.071375
1,331
31
71
42.935484
0.883495
0.044328
0
0
0
0
0.055162
0
0
0
0
0
0
1
0
false
0
0.538462
0
0.538462
0.423077
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
5
329d84ab9b244a97140c25521b60d4b094698a29
46
py
Python
tests/__init__.py
oli-chipperfield/bayestestimation
aace7949fff01af2b574334a1a1fd2ce93fe10f4
[ "MIT" ]
1
2021-01-29T01:33:52.000Z
2021-01-29T01:33:52.000Z
tests/__init__.py
oli-chipperfield/bayestestimation
aace7949fff01af2b574334a1a1fd2ce93fe10f4
[ "MIT" ]
null
null
null
tests/__init__.py
oli-chipperfield/bayestestimation
aace7949fff01af2b574334a1a1fd2ce93fe10f4
[ "MIT" ]
null
null
null
"""Unit test package for bayestestimation."""
23
45
0.73913
5
46
6.8
1
0
0
0
0
0
0
0
0
0
0
0
0.108696
46
1
46
46
0.829268
0.847826
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
089048d624620112c8be0bc3f48a910032e4fadd
163
py
Python
visualization.py
Cherine0205/image_processing_project
b7ee6d41aced7a28674e285ffa48984e1813e4f7
[ "MIT" ]
null
null
null
visualization.py
Cherine0205/image_processing_project
b7ee6d41aced7a28674e285ffa48984e1813e4f7
[ "MIT" ]
null
null
null
visualization.py
Cherine0205/image_processing_project
b7ee6d41aced7a28674e285ffa48984e1813e4f7
[ "MIT" ]
null
null
null
from keras.utils import plot_model #from unet import * def model_structure(model,output_name): plot_model(model, to_file=output_name+'.png',show_shapes=True)
27.166667
66
0.791411
26
163
4.692308
0.653846
0.147541
0
0
0
0
0
0
0
0
0
0
0.104294
163
5
67
32.6
0.835616
0.110429
0
0
0
0
0.027778
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
5
08abd6df16c25a0ec084d61cb8a12c63bbdd1253
132
py
Python
utils/config.py
DiscordHackers/BetterBot
5b21c9b1280d205fa0b81c99f87626c1c8a24b81
[ "Apache-2.0" ]
null
null
null
utils/config.py
DiscordHackers/BetterBot
5b21c9b1280d205fa0b81c99f87626c1c8a24b81
[ "Apache-2.0" ]
null
null
null
utils/config.py
DiscordHackers/BetterBot
5b21c9b1280d205fa0b81c99f87626c1c8a24b81
[ "Apache-2.0" ]
null
null
null
TOKEN = 'OTQxNzg1OTA0MDg1ODY4NjA0.YgbAeQ.YdmB4Sfx8zHYNj_xJettDL3Pzrc' # Файл можешь удалить. Тут типа ТВОЙ конфиг вайл и ТВОЙ токен.
132
132
0.833333
16
132
6.8125
0.9375
0
0
0
0
0
0
0
0
0
0
0.067797
0.106061
132
1
132
132
0.855932
0.454545
0
0
0
0
0.830986
0.830986
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
0
0
0
1
0
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
08ac93235fe89ce7ca9065167f6e9e7641e908b6
170
py
Python
boards/admin.py
jakariapervez/cmis6
de279e5c586a77745ddd3d471599784606d50d15
[ "MIT" ]
null
null
null
boards/admin.py
jakariapervez/cmis6
de279e5c586a77745ddd3d471599784606d50d15
[ "MIT" ]
7
2021-06-04T23:45:15.000Z
2022-03-12T00:44:14.000Z
boards/admin.py
jakariapervez/cmis6
de279e5c586a77745ddd3d471599784606d50d15
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Board from import_export.admin import ImportExportModelAdmin # Register your models here. admin.site.register(Board)
28.333333
54
0.841176
23
170
6.173913
0.565217
0
0
0
0
0
0
0
0
0
0
0
0.105882
170
5
55
34
0.934211
0.152941
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
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
0
1
0
1
0
1
0
0
5
08f4edba3ed3df2859b8832f76cbd2b8ecfb3445
354
py
Python
ray/ray-autopilot.py
xzrderek/RayCarla
40872e015cba9e32228061e66e56a42b3aef74c6
[ "Apache-2.0" ]
2
2022-01-18T23:41:27.000Z
2022-02-10T21:58:49.000Z
ray/ray-autopilot.py
xzrderek/RayCarla
40872e015cba9e32228061e66e56a42b3aef74c6
[ "Apache-2.0" ]
null
null
null
ray/ray-autopilot.py
xzrderek/RayCarla
40872e015cba9e32228061e66e56a42b3aef74c6
[ "Apache-2.0" ]
null
null
null
# Ray-autopilot def autopilot_on_ray(): """ Speed up the dataset collection by running simulation and autopilot in Ray. 1. Port oatomobile on Carla latest (0.9.12+) version and Python 3.7. 2. Solve the problem of Ray supporting ABC. 3. Use Ray actor and task to make autopilot simulation parrallel an...
35.4
87
0.706215
54
354
4.592593
0.740741
0
0
0
0
0
0
0
0
0
0
0.032847
0.225989
354
9
88
39.333333
0.872263
0.810734
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
5
3e9a37fb682ea8d7d41339aefeead99aebddb8bd
2,317
py
Python
python/nbdb/anomaly/tests/test_static.py
rubrikinc/nbdb2
359db63a39e016e3eb197b8ea511d6e8cffa1853
[ "Apache-2.0" ]
2
2022-03-21T15:48:33.000Z
2022-03-27T00:43:12.000Z
python/nbdb/anomaly/tests/test_static.py
rubrikinc/nbdb2
359db63a39e016e3eb197b8ea511d6e8cffa1853
[ "Apache-2.0" ]
null
null
null
python/nbdb/anomaly/tests/test_static.py
rubrikinc/nbdb2
359db63a39e016e3eb197b8ea511d6e8cffa1853
[ "Apache-2.0" ]
1
2022-03-27T00:43:31.000Z
2022-03-27T00:43:31.000Z
""" Unit tests for static.py """ import unittest import numpy as np import pandas as pd from nbdb.anomaly.static import Static class TestStatic(unittest.TestCase): """ Unit tests for static threshold based anomaly detection. """ def setUp(self): np.random.seed(1) def test_check_no_ano...
39.948276
77
0.69098
291
2,317
5.319588
0.243986
0.067183
0.04199
0.05168
0.806848
0.76938
0.76938
0.73708
0.690568
0.623385
0
0.032743
0.195943
2,317
57
78
40.649123
0.798175
0.136815
0
0.567568
0
0
0.02606
0
0
0
0
0
0.216216
1
0.135135
false
0
0.108108
0
0.27027
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
3ee0b6c43c8b30e60dfec510acb38d2305424a29
64
py
Python
ferris/core/oauth2/__init__.py
markEarvin/sl-contest-tracker
dd24b6fb5913b7d1f4c6648ed6c25f4738867485
[ "MIT" ]
null
null
null
ferris/core/oauth2/__init__.py
markEarvin/sl-contest-tracker
dd24b6fb5913b7d1f4c6648ed6c25f4738867485
[ "MIT" ]
null
null
null
ferris/core/oauth2/__init__.py
markEarvin/sl-contest-tracker
dd24b6fb5913b7d1f4c6648ed6c25f4738867485
[ "MIT" ]
null
null
null
from .user_credentials import UserCredentials, find_credentials
32
63
0.890625
7
64
7.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.078125
64
1
64
64
0.932203
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
1
0
0
5
f5cfd80726c68941b4d23aa74c0b4dca27b9827b
2,570
py
Python
src/data.py
fabioo29/csp-sudoku-solver
679ee101572086be84983d0e8868201db823a175
[ "MIT" ]
null
null
null
src/data.py
fabioo29/csp-sudoku-solver
679ee101572086be84983d0e8868201db823a175
[ "MIT" ]
null
null
null
src/data.py
fabioo29/csp-sudoku-solver
679ee101572086be84983d0e8868201db823a175
[ "MIT" ]
null
null
null
CLEAN_BOARD = [ ['0', '0', '0'] + ['0', '0', '0'] + ['0', '0', '0'], ['0', '0', '0'] + ['0', '0', '0'] + ['0', '0', '0'], ['0', '0', '0'] + ['0', '0', '0'] + ['0', '0', '0'], # ------------------------------------------------- ['0', '0', '0'] + ['0', '0', '0'] + ['0', '0', '0'], ['0', '0', '0'] ...
45.892857
56
0.142802
332
2,570
1.093373
0.045181
1.046832
1.214876
1.267218
0.77686
0.683196
0.520661
0.366391
0.322314
0.223141
0
0.165053
0.236187
2,570
55
57
46.727273
0.019868
0.155253
0
0.181818
0
0
0.149861
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
f5d35c635dce295138b95811eec41b86b8491ddf
75
py
Python
MatrixTest/__init__.py
DavyVan/MatrixTest
3007e826a51b497c88e60eb71f4c5fdc58d252df
[ "MIT" ]
null
null
null
MatrixTest/__init__.py
DavyVan/MatrixTest
3007e826a51b497c88e60eb71f4c5fdc58d252df
[ "MIT" ]
null
null
null
MatrixTest/__init__.py
DavyVan/MatrixTest
3007e826a51b497c88e60eb71f4c5fdc58d252df
[ "MIT" ]
null
null
null
from .MatrixTestRunner import MatrixTestRunner from .EmailService import *
25
46
0.853333
7
75
9.142857
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.106667
75
2
47
37.5
0.955224
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
1
0
0
5
eb052b830f5b3d573e3d79fb2ca506ff4e75df1b
41
py
Python
scrapli/transport/plugins/paramiko/__init__.py
verbosemode/scrapli
b3885169dccf24ac65d0d433eae16bcab8288002
[ "MIT" ]
404
2020-02-11T09:05:40.000Z
2022-03-31T05:10:03.000Z
scrapli/transport/plugins/paramiko/__init__.py
verbosemode/scrapli
b3885169dccf24ac65d0d433eae16bcab8288002
[ "MIT" ]
155
2020-02-18T00:21:43.000Z
2022-03-06T16:34:47.000Z
scrapli/transport/plugins/paramiko/__init__.py
verbosemode/scrapli
b3885169dccf24ac65d0d433eae16bcab8288002
[ "MIT" ]
48
2020-04-02T00:24:44.000Z
2022-03-07T18:24:53.000Z
"""scrapli.transport.plugins.paramiko"""
20.5
40
0.756098
4
41
7.75
1
0
0
0
0
0
0
0
0
0
0
0
0.02439
41
1
41
41
0.775
0.829268
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
eb053a3ff37cb8293785c91671c3ce7574518f5a
219
py
Python
core/src/zeit/cms/generation/evolve14.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
5
2019-05-16T09:51:29.000Z
2021-05-31T09:30:03.000Z
core/src/zeit/cms/generation/evolve14.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
107
2019-05-24T12:19:02.000Z
2022-03-23T15:05:56.000Z
core/src/zeit/cms/generation/evolve14.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
3
2020-08-14T11:01:17.000Z
2022-01-08T17:32:19.000Z
import zeit.cms.generation import zeit.cms.generation.install def update(root): zeit.cms.generation.install.installBrightcoveTaskService() def evolve(context): zeit.cms.generation.do_evolve(context, update)
19.909091
62
0.789954
27
219
6.37037
0.444444
0.162791
0.395349
0.267442
0
0
0
0
0
0
0
0
0.105023
219
10
63
21.9
0.877551
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
5
eb23a842e54e5bb535040623d3748f379bad1cf7
59
py
Python
back/models/layers/__init__.py
nizhib/portrait-demo
b4dc80187824a07c3562c1580a1a7c4f2f4ecc93
[ "MIT" ]
47
2019-04-10T07:27:58.000Z
2022-02-03T10:13:23.000Z
back/models/layers/__init__.py
nizhib/portrait-demo
b4dc80187824a07c3562c1580a1a7c4f2f4ecc93
[ "MIT" ]
3
2021-09-08T01:46:13.000Z
2022-03-12T00:19:09.000Z
back/models/layers/__init__.py
nizhib/portrait-demo
b4dc80187824a07c3562c1580a1a7c4f2f4ecc93
[ "MIT" ]
17
2019-04-01T23:01:57.000Z
2021-06-29T13:23:05.000Z
from .common import conv3x3 from .upsample import Upsample
19.666667
30
0.830508
8
59
6.125
0.625
0
0
0
0
0
0
0
0
0
0
0.039216
0.135593
59
2
31
29.5
0.921569
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
1
0
0
5
eb27318a54bfbef5e0b56baaeb55e58cb6af19c8
214
py
Python
Python Basics/Conditional Statements Advanced/Lab/Task03.py
DonikaChervenkova/SoftUni
bff579c037ec48f39ed193b34bc3502a32e90732
[ "MIT" ]
1
2022-03-16T10:23:04.000Z
2022-03-16T10:23:04.000Z
Python Basics/Conditional Statements Advance/Lab/Task03.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
null
null
null
Python Basics/Conditional Statements Advance/Lab/Task03.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
1
2021-12-04T12:30:57.000Z
2021-12-04T12:30:57.000Z
animal_class = str(input()) if animal_class == "dog": print("mammal") elif animal_class == "crocodile" or animal_class == "tortoise" or animal_class == "snake": print("reptile") else: print("unknown")
23.777778
90
0.663551
27
214
5.074074
0.592593
0.40146
0.189781
0
0
0
0
0
0
0
0
0
0.168224
214
8
91
26.75
0.769663
0
0
0
0
0
0.21028
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
1
0
5
de60e64981cffe4fc69a55537c319a44414c9455
103
py
Python
srl_zoo/preprocessing/__init__.py
anonymous-authors-2018/robotics-repo
385d1f3b49f8d414ab90f53c6f06b56614ae83ba
[ "MIT" ]
134
2018-09-26T04:27:20.000Z
2022-03-24T09:39:38.000Z
srl_zoo/preprocessing/__init__.py
BillChan226/POAR-SRL-4-Robot
a6a8052e105369656d34fffc4f7ca4475dcc38df
[ "MIT" ]
3
2018-11-02T19:01:26.000Z
2019-08-09T09:22:19.000Z
srl_zoo/preprocessing/__init__.py
BillChan226/POAR-SRL-4-Robot
a6a8052e105369656d34fffc4f7ca4475dcc38df
[ "MIT" ]
23
2018-10-12T15:51:28.000Z
2021-12-09T02:44:23.000Z
from .data_loader import preprocessImage from .preprocess import getNChannels, getInputDim, N_CHANNELS
34.333333
61
0.864078
12
103
7.25
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.097087
103
2
62
51.5
0.935484
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
1
0
0
5
de9022c0267d49845036af8f76d286637e5656ef
297
py
Python
Smaug/models/__init__.py
luviiv/Smaug
d26d837bb97ef583e05c43d16aed265356b7cf74
[ "Apache-2.0" ]
null
null
null
Smaug/models/__init__.py
luviiv/Smaug
d26d837bb97ef583e05c43d16aed265356b7cf74
[ "Apache-2.0" ]
null
null
null
Smaug/models/__init__.py
luviiv/Smaug
d26d837bb97ef583e05c43d16aed265356b7cf74
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ __init__.py ~~~~~~~~~~~ :copyright: (c) 2015 by Lu Tianchao. :license: Apache, see LICENSE for more details. """ from .stock_info import StockIdentity from .stock_info import SeasonlySummary from .stock_info import SummaryRatios from .users import User
24.75
51
0.683502
37
297
5.297297
0.702703
0.137755
0.19898
0.290816
0
0
0
0
0
0
0
0.020576
0.181818
297
12
52
24.75
0.786008
0.441077
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
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
5
de9ff3b46693ad66bb87b1fac464b8fb3c4ab8d2
1,042
py
Python
mServer/band/models.py
returnToZ/BandHelper
ce8ca3094c6cc4b05b213766710ba6263f41705d
[ "Apache-2.0" ]
null
null
null
mServer/band/models.py
returnToZ/BandHelper
ce8ca3094c6cc4b05b213766710ba6263f41705d
[ "Apache-2.0" ]
null
null
null
mServer/band/models.py
returnToZ/BandHelper
ce8ca3094c6cc4b05b213766710ba6263f41705d
[ "Apache-2.0" ]
1
2021-12-15T02:31:09.000Z
2021-12-15T02:31:09.000Z
#!/usr/bin/env python # coding=utf-8 from __future__ import unicode_literals from django.db import models # Create your models here. ''' 学院派会告诉你在设计的时候把应该有的约束都加上 而实践派得出的结论是主键一定加,非空约束尽量加,外键最好依赖于程序逻辑,而不是数据库,从而更好的拥抱变化,快速响应,数据库也会有相对较好的性能 ''' class Account(models.Model): username = models.CharField(max_length = 20,un...
16.806452
72
0.716891
126
1,042
5.793651
0.436508
0.164384
0.19726
0.263014
0.293151
0.150685
0.150685
0.150685
0.150685
0.150685
0
0.020071
0.18714
1,042
62
73
16.806452
0.841795
0.067179
0
0.083333
0
0
0
0
0
0
0
0
0
1
0.25
false
0.083333
0.083333
0.25
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
5
deac5a36320db88cf3d13e711072ce903798b18e
166
py
Python
pythonteste/desafio27.py
dangiotto/Python
29a9d18d7595a5c21e65dafc39f7fd4c55d8971c
[ "MIT" ]
1
2020-10-17T03:23:59.000Z
2020-10-17T03:23:59.000Z
pythonteste/desafio27.py
dangiotto/Python
29a9d18d7595a5c21e65dafc39f7fd4c55d8971c
[ "MIT" ]
null
null
null
pythonteste/desafio27.py
dangiotto/Python
29a9d18d7595a5c21e65dafc39f7fd4c55d8971c
[ "MIT" ]
null
null
null
nome = str(input('Informe o nome :\n')).strip().split(' ') print('Primeiro nome é {}'.format(nome[0])) print('Último nome é {}'.format(nome[-1])) #(nome[len(nome)-1])
55.333333
63
0.620482
27
166
3.814815
0.592593
0.097087
0.213592
0.291262
0
0
0
0
0
0
0
0.019868
0.090361
166
3
63
55.333333
0.662252
0.114458
0
0
0
0
0.360544
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
5
dee64ac77044088f97692d25788e8a6fdb0cb5d8
1,738
py
Python
tests/unit/executors/crafters/numeric/test_io.py
YueLiu-jina/jina
f3e860313f26edc6d9f6e6ecc74cf6c2a3c65bff
[ "Apache-2.0" ]
null
null
null
tests/unit/executors/crafters/numeric/test_io.py
YueLiu-jina/jina
f3e860313f26edc6d9f6e6ecc74cf6c2a3c65bff
[ "Apache-2.0" ]
null
null
null
tests/unit/executors/crafters/numeric/test_io.py
YueLiu-jina/jina
f3e860313f26edc6d9f6e6ecc74cf6c2a3c65bff
[ "Apache-2.0" ]
null
null
null
import unittest import numpy as np from jina.executors.crafters.numeric.io import ArrayStringReader, ArrayBytesReader from tests import JinaTestCase class MyTestCase(JinaTestCase): def test_array_reader(self): size = 8 sample_array = np.random.rand(size).astype('float32') text = ','.join(...
31.6
82
0.671461
219
1,738
5.073059
0.251142
0.108911
0.088209
0.054005
0.739874
0.739874
0.739874
0.739874
0.739874
0.684068
0
0.015306
0.210587
1,738
54
83
32.185185
0.794461
0
0
0.5
0
0
0.040852
0
0
0
0
0
0.184211
1
0.105263
false
0
0.105263
0
0.236842
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
723554a714b7cf2225d26c6e1c526809dbce87e8
168
py
Python
pro6/playlist/__init__.py
anthonyeden/Pro6-Utils
b31dfbf5bd94f987b33705992da9948fcf01eeb4
[ "MIT" ]
1
2021-04-28T03:43:38.000Z
2021-04-28T03:43:38.000Z
pro6/playlist/__init__.py
anthonyeden/Pro6-Utils
b31dfbf5bd94f987b33705992da9948fcf01eeb4
[ "MIT" ]
null
null
null
pro6/playlist/__init__.py
anthonyeden/Pro6-Utils
b31dfbf5bd94f987b33705992da9948fcf01eeb4
[ "MIT" ]
1
2020-01-21T07:28:31.000Z
2020-01-21T07:28:31.000Z
from .cues import DocumentCue, HeaderCue from .document import PlaylistDocument from .node import PlaylistNode from .node import NODE_ROOT, NODE_FOLDER, NODE_PLAYLIST
28
55
0.839286
22
168
6.272727
0.545455
0.115942
0.202899
0
0
0
0
0
0
0
0
0
0.119048
168
5
56
33.6
0.932432
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
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
5
72365766a38d71010bd9fbc7c1e37504f484d936
39
py
Python
analysis/Python_Scripts/getGeoQueries.py
J-Wengler/NLP_Paper
b5f1952e04172289adfe935297a1fcfd42e2bf70
[ "CC-BY-4.0", "CC0-1.0" ]
1
2021-11-04T11:03:35.000Z
2021-11-04T11:03:35.000Z
analysis/Python_Scripts/getGeoQueries.py
J-Wengler/NLP_Paper
b5f1952e04172289adfe935297a1fcfd42e2bf70
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
analysis/Python_Scripts/getGeoQueries.py
J-Wengler/NLP_Paper
b5f1952e04172289adfe935297a1fcfd42e2bf70
[ "CC-BY-4.0", "CC0-1.0" ]
null
null
null
from helper import * evaluateGEO()
13
20
0.692308
4
39
6.75
1
0
0
0
0
0
0
0
0
0
0
0
0.230769
39
2
21
19.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
5
724636f8fdbcb45ccdf34b7eaa1daf1115cecd72
121
py
Python
pokeapi/api/repositories/__init__.py
QU3B1M/Go-and-Python-MicroMonsters
82343456a619893fe395ba46e8dd06f1ad13b7be
[ "MIT" ]
null
null
null
pokeapi/api/repositories/__init__.py
QU3B1M/Go-and-Python-MicroMonsters
82343456a619893fe395ba46e8dd06f1ad13b7be
[ "MIT" ]
null
null
null
pokeapi/api/repositories/__init__.py
QU3B1M/Go-and-Python-MicroMonsters
82343456a619893fe395ba46e8dd06f1ad13b7be
[ "MIT" ]
null
null
null
from .pokemon import PokemonRepository from .poketype import PokeTypeRepository from .pokemove import PokeMoveRepository
30.25
40
0.876033
12
121
8.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.099174
121
3
41
40.333333
0.972477
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
1
0
0
5
724d0c344412bff808934183102e000ef0dead04
84,704
py
Python
parsetab.py
ChinaNuke/bwcc
a69e45cb4543ce25b763df658b38bd19a27914bb
[ "MIT" ]
1
2020-12-04T11:07:18.000Z
2020-12-04T11:07:18.000Z
parsetab.py
mengyu-cmd/bwcc
a69e45cb4543ce25b763df658b38bd19a27914bb
[ "MIT" ]
null
null
null
parsetab.py
mengyu-cmd/bwcc
a69e45cb4543ce25b763df658b38bd19a27914bb
[ "MIT" ]
1
2020-12-04T11:07:30.000Z
2020-12-04T11:07:30.000Z
# parsetab.py # This file is automatically generated. Do not edit. # pylint: disable=W,C,R _tabversion = '3.10' _lr_method = 'LALR' _lr_signature = 'translation_unit_or_emptyleftLORleftLANDleftORleftXORleftANDleftEQNEleftGTGELTLEleftRSHIFTLSHIFTleftPLUSMINUSleftTIMESDIVIDEMODAND ANDEQUAL ARROW AUTO BREAK CHAR CHAR_C...
381.54955
43,002
0.680499
16,756
84,704
3.332478
0.038553
0.021687
0.027884
0.013969
0.746038
0.670374
0.614517
0.585899
0.558284
0.51387
0
0.407748
0.06106
84,704
221
43,003
383.276018
0.294347
0.000992
0
0.009479
1
0.004739
0.357632
0.084063
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
a0d07493d2ab9895cf8b97e0481b8415e4105e9c
75
py
Python
get_results.py
UCL/scikit-surgeryfredwebapp
3e22fc8b9d0898502a5f8a6c8cc813dc62fc3fd5
[ "BSD-3-Clause" ]
5
2020-10-22T01:41:33.000Z
2022-01-07T08:55:39.000Z
get_results.py
UCL/scikit-surgeryfred
3e60a67fced1ca38f54920ccf37043588bdb1401
[ "BSD-3-Clause" ]
62
2020-06-05T10:54:04.000Z
2021-05-18T19:31:27.000Z
get_results.py
UCL/scikit-surgeryfredwebapp
3e22fc8b9d0898502a5f8a6c8cc813dc62fc3fd5
[ "BSD-3-Clause" ]
1
2020-06-25T09:59:53.000Z
2020-06-25T09:59:53.000Z
from sksurgeryfred.utilities.get_results import get_results get_results()
18.75
59
0.866667
10
75
6.2
0.6
0.483871
0
0
0
0
0
0
0
0
0
0
0.08
75
3
60
25
0.898551
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
a0e51268ddacbe09599241b6b8faeaf6fc5aee65
196
py
Python
install.py
priestc/MultiExplorer
5c991cc55fc50155212cda6208dae744e9777d77
[ "MIT" ]
18
2016-07-12T01:22:40.000Z
2022-03-01T08:36:04.000Z
install.py
priestc/MultiExplorer
5c991cc55fc50155212cda6208dae744e9777d77
[ "MIT" ]
14
2016-07-12T01:46:23.000Z
2021-09-22T17:37:41.000Z
install.py
priestc/MultiExplorer
5c991cc55fc50155212cda6208dae744e9777d77
[ "MIT" ]
15
2016-07-12T20:55:14.000Z
2019-10-11T04:25:33.000Z
import os os.system("pip install -r requirements.txt") os.system("cp local_settings_default.py multiexplorer/multiexplorer/local_settings.py") os.system("python multiexplorer/manage.py migrate")
32.666667
87
0.816327
28
196
5.607143
0.607143
0.152866
0
0
0
0
0
0
0
0
0
0
0.066327
196
5
88
39.2
0.857924
0
0
0
0
0
0.729592
0.47449
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
a0eb50b6123e301247880f505c8034a0b816358a
116,241
py
Python
swiftcmdbench/run.py
huaweicloud-obs/swiftcmdbench
68002e49887387a4ed86c12b1341bb38a104d255
[ "Apache-2.0" ]
null
null
null
swiftcmdbench/run.py
huaweicloud-obs/swiftcmdbench
68002e49887387a4ed86c12b1341bb38a104d255
[ "Apache-2.0" ]
null
null
null
swiftcmdbench/run.py
huaweicloud-obs/swiftcmdbench
68002e49887387a4ed86c12b1341bb38a104d255
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding:utf-8 -*- import sys import os import time import math import random import logging import logging.config import datetime import hashlib import base64 import multiprocessing import results import Util import s3PyCmd import myLib.cloghandler class User: doc = """ This is use...
50.804633
191
0.591624
12,574
116,241
5.327501
0.066089
0.027542
0.020571
0.016794
0.744984
0.724309
0.715561
0.701499
0.686123
0.669389
0
0.018807
0.274507
116,241
2,287
192
50.826847
0.775518
0.037259
0
0.665015
0
0.004955
0.223095
0.068328
0
0
0
0
0
0
null
null
0.003964
0.012884
null
null
0.014371
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
1
0
0
0
0
0
0
0
0
5
a0fe082128aa46ade07614206f92ae225093a300
36
py
Python
PythonStuff/Assignment3/inputs3.py
edhackney/mega12June2021
02909f9853edba4940b8d99a3c300844ce68ed1c
[ "BSL-1.0" ]
null
null
null
PythonStuff/Assignment3/inputs3.py
edhackney/mega12June2021
02909f9853edba4940b8d99a3c300844ce68ed1c
[ "BSL-1.0" ]
null
null
null
PythonStuff/Assignment3/inputs3.py
edhackney/mega12June2021
02909f9853edba4940b8d99a3c300844ce68ed1c
[ "BSL-1.0" ]
null
null
null
if True: print("this is true")
12
25
0.583333
6
36
3.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.277778
36
2
26
18
0.807692
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
9d0e0e6ff9d82249eb425fe0b48fb10e3930edcc
275
py
Python
chatbot_tutorial/models.py
chrisjos007/django-bot-server-tutorial
17bff457633b8ad96f56270e3d9e3265827550ba
[ "MIT" ]
null
null
null
chatbot_tutorial/models.py
chrisjos007/django-bot-server-tutorial
17bff457633b8ad96f56270e3d9e3265827550ba
[ "MIT" ]
null
null
null
chatbot_tutorial/models.py
chrisjos007/django-bot-server-tutorial
17bff457633b8ad96f56270e3d9e3265827550ba
[ "MIT" ]
null
null
null
from django.db import models class CallCount(models.Model): email = models.EmailField() fat = models.IntegerField(default=0) stupid = models.IntegerField(default=0) dumb = models.IntegerField(default=0) def __str__(self): return f"{self.email}"
25
43
0.694545
34
275
5.5
0.617647
0.28877
0.40107
0.417112
0
0
0
0
0
0
0
0.013453
0.189091
275
11
44
25
0.825112
0
0
0
0
0
0.043478
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
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
1
1
0
0
5
c22e3f7b734146504dfb1add8239fc2601b9bc66
100
py
Python
sameproject/ops/functions/__init__.py
SAME-Project/same-project
6fb6fdab73d98e1ba8f622c4033dbd8cd351b0f6
[ "Apache-2.0" ]
8
2021-12-17T18:26:24.000Z
2022-03-16T18:21:04.000Z
sameproject/ops/functions/__init__.py
SAME-Project/same-project
6fb6fdab73d98e1ba8f622c4033dbd8cd351b0f6
[ "Apache-2.0" ]
45
2021-12-18T08:28:56.000Z
2022-03-31T21:24:45.000Z
sameproject/ops/functions/__init__.py
SAME-Project/same-project
6fb6fdab73d98e1ba8f622c4033dbd8cd351b0f6
[ "Apache-2.0" ]
5
2021-12-17T20:08:38.000Z
2022-03-21T13:51:06.000Z
from .provision import provision_orchestrator from .render import render from .deploy import deploy
25
45
0.85
13
100
6.461538
0.461538
0
0
0
0
0
0
0
0
0
0
0
0.12
100
3
46
33.333333
0.954545
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
1
0
0
5
c22f428cfedf18bb0438f5ecb2b23431bf7c2e3b
3,999
py
Python
test.py
CDB-2000/mhfp
1c281cf77c7129829cae7648cc83673b4f8315e8
[ "MIT" ]
56
2018-10-07T17:35:02.000Z
2022-03-17T11:30:27.000Z
test.py
CDB-2000/mhfp
1c281cf77c7129829cae7648cc83673b4f8315e8
[ "MIT" ]
5
2018-10-18T00:59:14.000Z
2021-07-19T18:14:07.000Z
test.py
CDB-2000/mhfp
1c281cf77c7129829cae7648cc83673b4f8315e8
[ "MIT" ]
14
2018-10-18T20:32:50.000Z
2022-02-17T08:08:58.000Z
import os import sys import random import pickle import numpy as np from timeit import default_timer as timer from mhfp.encoder import MHFPEncoder from mhfp.lsh_forest import LSHForest from rdkit.Chem import AllChem # config = mstmap.LayoutConfiguration() # # config.merger = mstmap.Merger.Solar # # print(config) # # ...
26.137255
372
0.583896
747
3,999
3.104418
0.174029
0.032773
0.031048
0.039672
0.773609
0.769297
0.761104
0.705908
0.64295
0.613627
0
0.036303
0.180295
3,999
153
373
26.137255
0.671141
0.492123
0
0
0
0.081081
0.475283
0.451081
0
0
0
0.006536
0
1
0
false
0
0.243243
0
0.243243
0.054054
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
dfa1a0265834e1356056ff8ccde57638d3090c89
163
py
Python
n_day_python/scrape__automate_behind_password_protected_apps_with_selenium__python/example_getpass_auto.py
macknilan/python-examples-and-exercises
be3d60b8c6a4c6a570a7acff4a0f2b358e794e75
[ "MIT" ]
null
null
null
n_day_python/scrape__automate_behind_password_protected_apps_with_selenium__python/example_getpass_auto.py
macknilan/python-examples-and-exercises
be3d60b8c6a4c6a570a7acff4a0f2b358e794e75
[ "MIT" ]
null
null
null
n_day_python/scrape__automate_behind_password_protected_apps_with_selenium__python/example_getpass_auto.py
macknilan/python-examples-and-exercises
be3d60b8c6a4c6a570a7acff4a0f2b358e794e75
[ "MIT" ]
null
null
null
import getpass # https://docs.python.org/3/library/getpass.html the_password = getpass.getpass("Type the password: ") print(f"the_password -> {the_password}")
18.111111
53
0.742331
23
163
5.130435
0.608696
0.372881
0
0
0
0
0
0
0
0
0
0.006849
0.104294
163
8
54
20.375
0.80137
0.282209
0
0
0
0
0.426087
0
0
0
0
0
0
1
0
false
1
0.333333
0
0.333333
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
5
dfcb81be881dbd129daf684e7adbed41df81c312
60,467
py
Python
github/api.py
alextbok/py-github
56e11e9694c0e99a9814382249061c83afe09000
[ "MIT" ]
2
2017-06-14T15:39:13.000Z
2022-02-06T18:43:58.000Z
github/api.py
alextbok/py-github
56e11e9694c0e99a9814382249061c83afe09000
[ "MIT" ]
null
null
null
github/api.py
alextbok/py-github
56e11e9694c0e99a9814382249061c83afe09000
[ "MIT" ]
null
null
null
#!/usr/bin/python import request as r ''' GitHub API object ''' class Api(object): ''' Instantiate with github authentication info. If the authenticated user has signed up for the github developer program, then the rate-limit for api calls is 5000/hour. Otherwise, for an unauthenticated user, it is 60/hour. ''...
36.491853
173
0.667157
8,913
60,467
4.4471
0.033322
0.038903
0.10142
0.116633
0.837122
0.799203
0.773696
0.721447
0.665489
0.5978
0
0.00545
0.156399
60,467
1,656
174
36.513889
0.771594
0.002663
0
0.621315
0
0
0.173965
0.003126
0
0
0
0
0
0
null
null
0.003401
0.001134
null
null
0.119048
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
1
0
0
0
0
0
0
0
0
5
5f160dc49c8eb11040f93239293776631288eeff
393
py
Python
computational_block/two/exceptions.py
spectrum-dev/django-block-monolith
c17a1ef98ae813a4e94581e2e52a4a03f0e65769
[ "MIT" ]
null
null
null
computational_block/two/exceptions.py
spectrum-dev/django-block-monolith
c17a1ef98ae813a4e94581e2e52a4a03f0e65769
[ "MIT" ]
null
null
null
computational_block/two/exceptions.py
spectrum-dev/django-block-monolith
c17a1ef98ae813a4e94581e2e52a4a03f0e65769
[ "MIT" ]
null
null
null
class ComputationalBlockTwoInvalidOperationTypeException(Exception): pass class ComputationalBlockTwoFieldDoesNotExistException(Exception): pass class ComputationalBlockTwoOperationValueNotFloatException(Exception): pass class ComputationalBlockTwoDataValueNotFloatException(Exception): pass clas...
20.684211
70
0.852417
20
393
16.75
0.4
0.19403
0.214925
0
0
0
0
0
0
0
0
0
0.109415
393
18
71
21.833333
0.957143
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
1
null
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
0
0
0
0
0
5
a031782c3688b645bdde44084f7614ced3fe5e6d
670
py
Python
networkx/algorithms/community/tests/test_utils.py
jebogaert/networkx
8563c3313223a53c548530f39c8cfb6e433539d3
[ "BSD-3-Clause" ]
10,024
2015-01-01T13:06:43.000Z
2022-03-31T12:45:25.000Z
networkx/algorithms/community/tests/test_utils.py
jebogaert/networkx
8563c3313223a53c548530f39c8cfb6e433539d3
[ "BSD-3-Clause" ]
3,191
2015-01-01T18:13:11.000Z
2022-03-31T22:06:00.000Z
networkx/algorithms/community/tests/test_utils.py
jebogaert/networkx
8563c3313223a53c548530f39c8cfb6e433539d3
[ "BSD-3-Clause" ]
3,272
2015-01-01T05:04:53.000Z
2022-03-31T17:46:35.000Z
"""Unit tests for the :mod:`networkx.algorithms.community.utils` module. """ import networkx as nx from networkx.algorithms.community import is_partition def test_is_partition(): G = nx.empty_graph(3) assert is_partition(G, [{0, 1}, {2}]) assert is_partition(G, ({0, 1}, {2})) assert is_partition(G, ...
22.333333
72
0.629851
109
670
3.688073
0.275229
0.246269
0.238806
0.226368
0.574627
0.519901
0.485075
0.485075
0.485075
0.485075
0
0.046041
0.189552
670
29
73
23.103448
0.694291
0.102985
0
0.235294
0
0
0
0
0
0
0
0
0.411765
1
0.235294
false
0
0.117647
0
0.352941
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
1
0
0
0
0
0
0
0
5
a04ff3cde467e4c7f61e99d6319e26a99e83ca02
50
py
Python
custom/__init__.py
egyptdj/GANs
07c33a6e3978b599d002bc562472040cb6e74e16
[ "MIT" ]
2
2019-03-14T05:43:19.000Z
2020-11-04T19:43:34.000Z
custom/__init__.py
egyptdj/GANs
07c33a6e3978b599d002bc562472040cb6e74e16
[ "MIT" ]
null
null
null
custom/__init__.py
egyptdj/GANs
07c33a6e3978b599d002bc562472040cb6e74e16
[ "MIT" ]
null
null
null
from .layers import * from .regularizers import *
16.666667
27
0.76
6
50
6.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.16
50
2
28
25
0.904762
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
1
0
0
5
a06076e7068a2bfe75d0f2fe8838cc2e8f508fed
124
py
Python
scrappy/util/tmpFile.py
V-in/scrappy
d083614e5c6b0821ebffd68dacab7b9301b3f579
[ "MIT" ]
6
2019-04-26T00:32:10.000Z
2020-06-20T12:57:37.000Z
scrappy/util/tmpFile.py
V-in/scrappy
d083614e5c6b0821ebffd68dacab7b9301b3f579
[ "MIT" ]
null
null
null
scrappy/util/tmpFile.py
V-in/scrappy
d083614e5c6b0821ebffd68dacab7b9301b3f579
[ "MIT" ]
null
null
null
from tempfile import gettempdir from os import path def tmpFile(file_path): return path.join(gettempdir(), file_path)
17.714286
45
0.774194
18
124
5.222222
0.611111
0.170213
0
0
0
0
0
0
0
0
0
0
0.153226
124
6
46
20.666667
0.895238
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
5
263a95281fb528324ffb4e6bdcae4d2f4729a342
52
py
Python
backend/products/serializers/__init__.py
MaCkRage/optimize_sql
346011fbda5ddf96a3c34357820452e165b7767c
[ "MIT" ]
null
null
null
backend/products/serializers/__init__.py
MaCkRage/optimize_sql
346011fbda5ddf96a3c34357820452e165b7767c
[ "MIT" ]
null
null
null
backend/products/serializers/__init__.py
MaCkRage/optimize_sql
346011fbda5ddf96a3c34357820452e165b7767c
[ "MIT" ]
null
null
null
from .update_product import UpdateProductSerializer
26
51
0.903846
5
52
9.2
1
0
0
0
0
0
0
0
0
0
0
0
0.076923
52
1
52
52
0.958333
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
1
0
0
5
267cc1c9f84bd68776d318814392d637bcdc5efe
267
py
Python
__init__.py
PapaDoraemon/marina-AI
9f9281b5decf889a55d6c1bdbfe3a62adadd47f9
[ "Apache-2.0" ]
1
2020-09-04T12:42:54.000Z
2020-09-04T12:42:54.000Z
__init__.py
PapaDoraemon/marina-AI
9f9281b5decf889a55d6c1bdbfe3a62adadd47f9
[ "Apache-2.0" ]
null
null
null
__init__.py
PapaDoraemon/marina-AI
9f9281b5decf889a55d6c1bdbfe3a62adadd47f9
[ "Apache-2.0" ]
null
null
null
from .exceptions import * from .MultiChoiceQuestion import * from .Question import * from .ScoreQuestion import * from .ScoringSystem import * from .YesNoQuestion import * from .RankingSystem import * from .StandardInputSingleCandidateRankingSystem import *
26.7
57
0.786517
24
267
8.75
0.416667
0.333333
0
0
0
0
0
0
0
0
0
0
0.153558
267
9
58
29.666667
0.929204
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
26858c56300be395474b8932c2b128d6decdb7e0
139
py
Python
app/core/admin.py
veekthor04/lord-of-the-rings
07d55688d19205f1c8416cf5c6daa6bb8f0e8c9d
[ "MIT" ]
null
null
null
app/core/admin.py
veekthor04/lord-of-the-rings
07d55688d19205f1c8416cf5c6daa6bb8f0e8c9d
[ "MIT" ]
null
null
null
app/core/admin.py
veekthor04/lord-of-the-rings
07d55688d19205f1c8416cf5c6daa6bb8f0e8c9d
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import CustomUser, Favorite admin.site.register(CustomUser) admin.site.register(Favorite)
17.375
40
0.820144
18
139
6.333333
0.555556
0.157895
0.298246
0
0
0
0
0
0
0
0
0
0.100719
139
7
41
19.857143
0.912
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
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
cd125149dd3759e95eb0d362ac2e36bb948e672e
79
py
Python
checkov/common/util/file_utils.py
pmalkki/checkov
b6cdf386dd976fe27c16fed6d550756a678a5d7b
[ "Apache-2.0" ]
4,013
2019-12-09T13:16:54.000Z
2022-03-31T14:31:01.000Z
checkov/common/util/file_utils.py
pmalkki/checkov
b6cdf386dd976fe27c16fed6d550756a678a5d7b
[ "Apache-2.0" ]
1,258
2019-12-17T09:55:51.000Z
2022-03-31T19:17:17.000Z
checkov/common/util/file_utils.py
pmalkki/checkov
b6cdf386dd976fe27c16fed6d550756a678a5d7b
[ "Apache-2.0" ]
638
2019-12-19T08:57:38.000Z
2022-03-30T21:38:37.000Z
def convert_to_unix_path(path: str) -> str: return path.replace('\\', '/')
26.333333
43
0.632911
11
79
4.272727
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.151899
79
3
44
26.333333
0.701493
0
0
0
0
0
0.037975
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
cd13a9b0f8224975ecd561c3a32a46262c0a4c8f
39
py
Python
ethronsoft/gcspypi/exceptions/state_errors.py
JuergenSimon/gcspypi
80ac843e6702161915db45949c470d749aaabfda
[ "BSD-2-Clause" ]
8
2018-01-06T21:11:36.000Z
2021-07-25T13:19:30.000Z
ethronsoft/gcspypi/exceptions/state_errors.py
JuergenSimon/gcspypi
80ac843e6702161915db45949c470d749aaabfda
[ "BSD-2-Clause" ]
8
2017-05-24T17:14:07.000Z
2021-03-12T22:58:49.000Z
ethronsoft/gcspypi/exceptions/state_errors.py
JuergenSimon/gcspypi
80ac843e6702161915db45949c470d749aaabfda
[ "BSD-2-Clause" ]
7
2018-01-06T21:11:42.000Z
2020-12-06T17:43:53.000Z
class InvalidState(Exception): pass
19.5
30
0.769231
4
39
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.153846
39
2
31
19.5
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
1
1
0
0
0
0
0
5
cd19a3daf7958c1fe9cf8e4becf9b1c665760ea2
148
py
Python
update/__main__.py
aphrim/platform-documentation
66f3f6964e299f35a5eff359276d78d9cc3c4361
[ "MIT" ]
36
2020-04-28T18:42:02.000Z
2022-02-18T20:13:19.000Z
update/__main__.py
aphrim/platform-documentation
66f3f6964e299f35a5eff359276d78d9cc3c4361
[ "MIT" ]
490
2020-03-14T20:42:27.000Z
2022-03-28T16:03:10.000Z
update/__main__.py
aphrim/platform-documentation
66f3f6964e299f35a5eff359276d78d9cc3c4361
[ "MIT" ]
87
2020-03-17T13:21:39.000Z
2022-03-27T10:16:37.000Z
from update import update_dump, update_environment def main(): update_dump() update_environment() if __name__ == '__main__': main()
13.454545
50
0.695946
17
148
5.352941
0.529412
0.21978
0.351648
0.593407
0
0
0
0
0
0
0
0
0.202703
148
10
51
14.8
0.771186
0
0
0
0
0
0.054054
0
0
0
0
0
0
1
0.166667
true
0
0.166667
0
0.333333
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
cd470cf1f1b6d10b8f70ca692b3b5a8c6b47610e
435
py
Python
plynx/web/__init__.py
live-wire/plynx
ed29db2b7880ed512974cd98993587886763a5f5
[ "Apache-2.0" ]
null
null
null
plynx/web/__init__.py
live-wire/plynx
ed29db2b7880ed512974cd98993587886763a5f5
[ "Apache-2.0" ]
null
null
null
plynx/web/__init__.py
live-wire/plynx
ed29db2b7880ed512974cd98993587886763a5f5
[ "Apache-2.0" ]
null
null
null
# flake8: noqa from plynx.web.common import app, verify_password, authenticate, requires_auth, register_user, make_fail_response, run_backend from plynx.web.node import get_nodes, post_node from plynx.web.graph import get_graph, post_graph from plynx.web.resource import get_resource, post_resource from plynx.web.user i...
48.333333
126
0.848276
70
435
5.028571
0.471429
0.153409
0.204545
0
0
0
0
0
0
0
0
0.002538
0.094253
435
8
127
54.375
0.890863
0.027586
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.142857
1
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
5
cd4a77d45c35fc620abccc875e9b3e0559589595
83
py
Python
learn2learn/text/datasets/__init__.py
toughhou/learn2learn
55ba14b02374bbe3bb892977f2b09d17c1e490bb
[ "MIT" ]
null
null
null
learn2learn/text/datasets/__init__.py
toughhou/learn2learn
55ba14b02374bbe3bb892977f2b09d17c1e490bb
[ "MIT" ]
null
null
null
learn2learn/text/datasets/__init__.py
toughhou/learn2learn
55ba14b02374bbe3bb892977f2b09d17c1e490bb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from .news_classification import NewsClassificationDataset
20.75
58
0.843373
9
83
7.666667
1
0
0
0
0
0
0
0
0
0
0
0.013158
0.084337
83
3
59
27.666667
0.894737
0.253012
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
1
0
0
5
cd89c121d0e0304a1c010e62ddc35c0062075ea6
67
py
Python
tests/__init__.py
afranck64/ultimatum
313b840e6f0942c1c937aa8b3f2d26e5059c7a7f
[ "MIT" ]
null
null
null
tests/__init__.py
afranck64/ultimatum
313b840e6f0942c1c937aa8b3f2d26e5059c7a7f
[ "MIT" ]
7
2020-01-28T22:41:06.000Z
2021-04-29T22:23:23.000Z
tests/__init__.py
afranck64/ultimatum
313b840e6f0942c1c937aa8b3f2d26e5059c7a7f
[ "MIT" ]
null
null
null
import os TEST_DIR = os.path.split(os.path.split(__file__)[0])[0]
16.75
55
0.716418
13
67
3.307692
0.615385
0.27907
0.511628
0
0
0
0
0
0
0
0
0.032787
0.089552
67
3
56
22.333333
0.672131
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
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
5
26a488196047b6ab522f0f8f3b29d99f3364cc0b
1,258
py
Python
tests/test_admin_views.py
danyentezari/synbiohub
09317e3eb3820c596502efad441031835698ad54
[ "BSD-2-Clause" ]
1
2020-04-02T11:33:14.000Z
2020-04-02T11:33:14.000Z
tests/test_admin_views.py
danyentezari/synbiohub
09317e3eb3820c596502efad441031835698ad54
[ "BSD-2-Clause" ]
null
null
null
tests/test_admin_views.py
danyentezari/synbiohub
09317e3eb3820c596502efad441031835698ad54
[ "BSD-2-Clause" ]
null
null
null
import requests from unittest import TestCase from test_functions import compare_get_request, compare_post_request class TestAdminViews(TestCase): def test_admin_status(self): compare_get_request("/admin") def test_admin_explorer(self): compare_get_request("/admin/explorer") def test_ad...
26.208333
79
0.701113
158
1,258
5.221519
0.240506
0.169697
0.288485
0.330909
0.409697
0
0
0
0
0
0
0
0.193164
1,258
47
80
26.765957
0.812808
0.131161
0
0
0
0
0.142594
0
0
0
0
0.021277
0
1
0.423077
false
0
0.115385
0
0.576923
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
1
0
0
1
0
0
0
0
1
0
0
5
26e40e4f25bce9e4dc2ee05d33f8fc21f82a2f36
37
wsgi
Python
flask website/app.wsgi
silas-hw/silaschat
86668c444b2b546cb5d62243a024f0b843c72db6
[ "MIT" ]
1
2020-11-03T15:53:15.000Z
2020-11-03T15:53:15.000Z
flask website/app.wsgi
silas-hw/silaschat
86668c444b2b546cb5d62243a024f0b843c72db6
[ "MIT" ]
null
null
null
flask website/app.wsgi
silas-hw/silaschat
86668c444b2b546cb5d62243a024f0b843c72db6
[ "MIT" ]
null
null
null
from app.py import app as application
37
37
0.837838
7
37
4.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.135135
37
1
37
37
0.96875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
26ee7ec8337c65d594b16b6a6384b10721f3fc6b
39
py
Python
BrainFuck/__init__.py
uesleibros/BigBrain-a-BrainFuck-Interpreter
a96af04f5a5e91f57ff395e960686e86e6c8436d
[ "MIT" ]
1
2022-03-31T23:50:46.000Z
2022-03-31T23:50:46.000Z
BrainFuck/__init__.py
uesleibros/BigBrain-a-BrainFuck-Interpreter
a96af04f5a5e91f57ff395e960686e86e6c8436d
[ "MIT" ]
null
null
null
BrainFuck/__init__.py
uesleibros/BigBrain-a-BrainFuck-Interpreter
a96af04f5a5e91f57ff395e960686e86e6c8436d
[ "MIT" ]
null
null
null
from .Interpreter.interpreter import *
19.5
38
0.820513
4
39
8
0.75
0
0
0
0
0
0
0
0
0
0
0
0.102564
39
1
39
39
0.914286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
26eefe369ac8e4cf3f8aa64c9035dfbdc9b4b8bc
9
py
Python
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_package_5/random_module/in1/file.py
Vladpetr/NewsPortal
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
[ "Apache-2.0" ]
null
null
null
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_package_5/random_module/in1/file.py
Vladpetr/NewsPortal
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
[ "Apache-2.0" ]
5
2021-04-08T22:02:15.000Z
2022-02-10T14:53:45.000Z
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_package_5/random_module/in1/file.py
Vladpetr/NewsPortal
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
[ "Apache-2.0" ]
null
null
null
y = 2030
4.5
8
0.555556
2
9
2.5
1
0
0
0
0
0
0
0
0
0
0
0.666667
0.333333
9
1
9
9
0.166667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
5
f80725f3eb8037e78816d210bb369750024a8401
109
py
Python
gfdata/args/basic/__init__.py
gfquant/gfdata
651f5fca4d8bda6218f2b5ad52c18ac972ec7542
[ "MIT" ]
null
null
null
gfdata/args/basic/__init__.py
gfquant/gfdata
651f5fca4d8bda6218f2b5ad52c18ac972ec7542
[ "MIT" ]
null
null
null
gfdata/args/basic/__init__.py
gfquant/gfdata
651f5fca4d8bda6218f2b5ad52c18ac972ec7542
[ "MIT" ]
1
2022-01-22T15:17:19.000Z
2022-01-22T15:17:19.000Z
# -*- coding: utf-8 -*- # @time: 2022/1/20 1:03 # @Author:lhf # ---------------------- from ._basic import *
18.166667
24
0.449541
14
109
3.428571
0.928571
0
0
0
0
0
0
0
0
0
0
0.119565
0.155963
109
5
25
21.8
0.402174
0.715596
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
f81bd238bbc7e83087e86317f229e8c27680670c
443
py
Python
10- Pagination/blog/errors.py
alok-sriv/Flask-Blog
27ac2c63a289ef448ffa9a2321b3c51a3d8c7c64
[ "MIT" ]
null
null
null
10- Pagination/blog/errors.py
alok-sriv/Flask-Blog
27ac2c63a289ef448ffa9a2321b3c51a3d8c7c64
[ "MIT" ]
null
null
null
10- Pagination/blog/errors.py
alok-sriv/Flask-Blog
27ac2c63a289ef448ffa9a2321b3c51a3d8c7c64
[ "MIT" ]
null
null
null
# FileName: Flask-Blog > blog > errors.py from flask import render_template from blog import app, db @app.errorhandler(403) def error_403(error): return render_template('errors/403.html'), 403 @app.errorhandler(404) def not_found_error(error): return render_template('errors/404.html'), 404 @app.e...
27.6875
51
0.726862
62
443
5.064516
0.387097
0.178344
0.191083
0.248408
0.197452
0
0
0
0
0
0
0.08
0.153499
443
16
52
27.6875
0.757333
0.088036
0
0
0
0
0.115979
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.166667
0.666667
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
1
1
0
0
5
f83875509fd911967d51e5c9969fafff8d3672d3
29
py
Python
bayesian_irl/src/env/__init__.py
clear-nus/BOIRL
cc872111fda3c7b8118e1a864831013c30f63948
[ "MIT" ]
1
2021-02-26T10:09:15.000Z
2021-02-26T10:09:15.000Z
bayesian_irl/src/env/__init__.py
clear-nus/BOIRL
cc872111fda3c7b8118e1a864831013c30f63948
[ "MIT" ]
null
null
null
bayesian_irl/src/env/__init__.py
clear-nus/BOIRL
cc872111fda3c7b8118e1a864831013c30f63948
[ "MIT" ]
null
null
null
from .loop_env import LoopEnv
29
29
0.862069
5
29
4.8
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
f84383f3e505c865afb6f84bd8f190661884c4a6
39
py
Python
api/v1/__init__.py
Kadantte/MangAdventure
0646617cb6376eaeb3142cbd1f266267518a149f
[ "MIT" ]
58
2019-03-04T09:22:42.000Z
2022-02-18T09:11:57.000Z
api/v1/__init__.py
Kadantte/MangAdventure
0646617cb6376eaeb3142cbd1f266267518a149f
[ "MIT" ]
21
2019-03-07T19:34:53.000Z
2021-12-19T12:46:40.000Z
api/v1/__init__.py
Kadantte/MangAdventure
0646617cb6376eaeb3142cbd1f266267518a149f
[ "MIT" ]
14
2019-06-06T09:53:13.000Z
2021-12-17T14:34:13.000Z
"""The original version of the API."""
19.5
38
0.666667
6
39
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.153846
39
1
39
39
0.787879
0.820513
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
f85f5c0e4f990dd6ce01a751b6873614badb2437
986
py
Python
day02/test_day02.py
patkub/advent-of-code-2021
d1a5b34b2c61655dd52f8379dfd310f16353f981
[ "BSD-3-Clause" ]
null
null
null
day02/test_day02.py
patkub/advent-of-code-2021
d1a5b34b2c61655dd52f8379dfd310f16353f981
[ "BSD-3-Clause" ]
null
null
null
day02/test_day02.py
patkub/advent-of-code-2021
d1a5b34b2c61655dd52f8379dfd310f16353f981
[ "BSD-3-Clause" ]
null
null
null
import pytest from day02 import calc_horizontal_depth, calc_horizontal_depth_part2 def test_example_horizontal_depth(): with open("./day02/example-input") as f: lines = [tuple(line.strip().split()) for line in f.readlines()] res = calc_horizontal_depth(lines) assert res == 150 def test_e...
31.806452
71
0.665314
132
986
4.765152
0.227273
0.238474
0.18124
0.082671
0.829889
0.737679
0.674086
0.674086
0.674086
0.674086
0
0.04878
0.209939
986
30
72
32.866667
0.758665
0
0
0.545455
0
0
0.068966
0.042596
0
0
0
0
0.181818
1
0.181818
false
0
0.090909
0
0.272727
0
0
0
0
null
1
1
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
f8694b50a382ec56fcfb495d5f38b048bc2de139
47
py
Python
example_snippets/multimenus_snippets/Snippets/NumPy/Reshaping and viewing arrays/Exchange two axes in an array.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/NumPy/Reshaping and viewing arrays/Exchange two axes in an array.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/NumPy/Reshaping and viewing arrays/Exchange two axes in an array.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
np.arange(210).reshape((2,3,5,7)).swapaxes(1,3)
47
47
0.680851
11
47
2.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0.191489
0
47
1
47
47
0.489362
0
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
f876af8fe737c9622c80c718cabb7a308793d27b
5,889
py
Python
AI_Engine_Development/Design_Tutorials/07-firFilter_AIEvsHLS/HLS/design/python_scripts/fir_plot.py
themkots/Vitis-Tutorials
1f26cb39917da856b13533ffd41934973f20e0ca
[ "Apache-2.0" ]
1
2022-03-09T06:15:43.000Z
2022-03-09T06:15:43.000Z
AI_Engine_Development/Design_Tutorials/07-firFilter_AIEvsHLS/HLS/design/python_scripts/fir_plot.py
Act862/Vitis-Tutorials
6ced6e695245494089911b840a1808ff1c270a4d
[ "Apache-2.0" ]
null
null
null
AI_Engine_Development/Design_Tutorials/07-firFilter_AIEvsHLS/HLS/design/python_scripts/fir_plot.py
Act862/Vitis-Tutorials
6ced6e695245494089911b840a1808ff1c270a4d
[ "Apache-2.0" ]
null
null
null
#------------------------------------------------------------------------------- # (c) Copyright 2021 Xilinx, Inc. # # 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.or...
32.899441
105
0.659195
928
5,889
4.161638
0.188578
0.030813
0.031072
0.039617
0.792336
0.781978
0.774728
0.763594
0.709736
0.660798
0
0.067665
0.149261
5,889
178
106
33.08427
0.703194
0.555273
0
0.6
0
0
0.256209
0
0
0
0
0
0
1
0
false
0
0.015385
0
0.015385
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
3e42f301e65dab417ed55f064fe7e7fbf20ca03a
61
py
Python
drake/__init__.py
MrinalJain17/drake
3bf23c1604952f9a62bd304b148665383ac4de9c
[ "MIT" ]
null
null
null
drake/__init__.py
MrinalJain17/drake
3bf23c1604952f9a62bd304b148665383ac4de9c
[ "MIT" ]
3
2020-06-15T05:08:07.000Z
2020-06-16T18:01:15.000Z
drake/__init__.py
MrinalJain17/drake
3bf23c1604952f9a62bd304b148665383ac4de9c
[ "MIT" ]
null
null
null
from . import utils from .cluster import ConsensusClustering
20.333333
40
0.836066
7
61
7.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.131148
61
2
41
30.5
0.962264
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
1
0
0
5
e41bdd70019d3aa053b4bad38cdff57696d78928
224
py
Python
KlimaKar/templatetags/contenttypes.py
karpiq24/django-klima-kar
e62e79c66053749e249f55e1ab47f810f449f0aa
[ "MIT" ]
2
2018-01-23T22:38:57.000Z
2019-07-14T08:59:19.000Z
KlimaKar/templatetags/contenttypes.py
karpiq24/django-klima-kar
e62e79c66053749e249f55e1ab47f810f449f0aa
[ "MIT" ]
237
2018-08-15T23:13:52.000Z
2022-01-13T13:08:50.000Z
KlimaKar/templatetags/contenttypes.py
karpiq24/django-klima-kar
e62e79c66053749e249f55e1ab47f810f449f0aa
[ "MIT" ]
null
null
null
from django.template import Library from django.contrib.contenttypes.models import ContentType register = Library() @register.filter() def content_type(instance): return ContentType.objects.get_for_model(instance).pk
22.4
58
0.8125
28
224
6.392857
0.75
0.111732
0
0
0
0
0
0
0
0
0
0
0.102679
224
9
59
24.888889
0.890547
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
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
1
1
0
0
5
e43760c6ca03d5c848b8174aa709e85cb47c55d2
197
py
Python
reviewboard/accounts/errors.py
znick/reviewboard
f32320b267efcdf2feff1661eabe57f99ef490a7
[ "MIT" ]
1
2018-08-23T09:19:02.000Z
2018-08-23T09:19:02.000Z
reviewboard/accounts/errors.py
klpyang/reviewboard
d7dabf36e5b492f18048dd7084026bf99d6933c5
[ "MIT" ]
null
null
null
reviewboard/accounts/errors.py
klpyang/reviewboard
d7dabf36e5b492f18048dd7084026bf99d6933c5
[ "MIT" ]
1
2021-11-23T15:25:44.000Z
2021-11-23T15:25:44.000Z
class UserQueryError(Exception): def __init__(self, msg): Exception.__init__(self, None) self.msg = msg def __str__(self): return 'User query error: %s' % self.msg
24.625
48
0.624365
24
197
4.625
0.583333
0.189189
0
0
0
0
0
0
0
0
0
0
0.263959
197
7
49
28.142857
0.765517
0
0
0
0
0
0.101523
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
e43f51c4667d733ce1ea947ae4a9b44ead9a0227
5,874
py
Python
src/kuas_api/kuas/kalendar.py
JohnSounder/AP-API
9e1fa4d7de1d844b453cd6b86faefba8bf051c3c
[ "MIT" ]
1
2015-07-19T04:18:37.000Z
2015-07-19T04:18:37.000Z
src/kuas_api/kuas/kalendar.py
JohnSounder/AP-API
9e1fa4d7de1d844b453cd6b86faefba8bf051c3c
[ "MIT" ]
18
2015-09-05T11:14:17.000Z
2015-10-18T08:09:33.000Z
src/kuas_api/kuas/kalendar.py
JohnSounder/AP-API
9e1fa4d7de1d844b453cd6b86faefba8bf051c3c
[ "MIT" ]
null
null
null
# -*- coding: utf -*- import requests from lxml import etree def get_wtf_data(): r = requests.post('http://active.kuas.edu.tw/EPortfolio/Activity/UnitBsCalendar.aspx') root = etree.HTML(r.text) result = {} for i in root.xpath("//input[@type='hidden']"): result[i.values()[-2]] = i.values()[-...
76.285714
2,286
0.8238
383
5,874
12.516971
0.535248
0.073425
0.061744
0.012516
0.096996
0.089487
0.066959
0.039841
0.039841
0.028369
0
0.095415
0.082908
5,874
76
2,287
77.289474
0.794505
0.038304
0
0.037736
0
0.132075
0.791069
0.708843
0
1
0
0
0
1
0.037736
false
0
0.037736
0
0.09434
0.056604
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
5
e46cb3b998f9aebb6c3a4d148b0985ceba67b78e
100
py
Python
transactions/accounts/admin.py
akash-dev-github/Transactions
7f1b8897d914a1cf297aeff750c197d21ce98ca8
[ "MIT" ]
null
null
null
transactions/accounts/admin.py
akash-dev-github/Transactions
7f1b8897d914a1cf297aeff750c197d21ce98ca8
[ "MIT" ]
null
null
null
transactions/accounts/admin.py
akash-dev-github/Transactions
7f1b8897d914a1cf297aeff750c197d21ce98ca8
[ "MIT" ]
null
null
null
from django.contrib import admin from accounts.models import Account admin.site.register(Account)
16.666667
35
0.83
14
100
5.928571
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.11
100
5
36
20
0.932584
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
1
0
0
5
e47875ae57fea042d12cf3ab74b8cfb9b46f2748
19,065
py
Python
tests/test_papernetwork.py
EvdH0/papernetwork
b7e5ee3480c0f80c7426af3c37be204464df4043
[ "MIT" ]
null
null
null
tests/test_papernetwork.py
EvdH0/papernetwork
b7e5ee3480c0f80c7426af3c37be204464df4043
[ "MIT" ]
null
null
null
tests/test_papernetwork.py
EvdH0/papernetwork
b7e5ee3480c0f80c7426af3c37be204464df4043
[ "MIT" ]
null
null
null
# Sample Test passing with nose and pytest # Run with ```python -m pytest tests``` import pytest import json from papernetwork.core import PaperNetwork, Paper, PaperList import copy def test_pass(): assert True, "dummy sample test" def test_load_from_file(): assert Paper(filename='tests/test_files/10.103...
69.835165
1,483
0.625439
2,609
19,065
4.415102
0.099655
0.046098
0.046879
0.068756
0.807101
0.760396
0.719507
0.690772
0.681743
0.656828
0
0.030238
0.150013
19,065
273
1,484
69.835165
0.680592
0.056124
0
0.367232
0
0
0.386777
0.05042
0
0
0
0
0.305085
1
0.152542
false
0.00565
0.022599
0
0.175141
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
e48450d72d623926d88e2d9bd423a373ae3c2a97
213
py
Python
HackerRank/CircularArrayRotation.py
kokuraxc/play-ground
48b5291f3cca117e0cd0a17bf9255ec4dc1a5cdd
[ "MIT" ]
null
null
null
HackerRank/CircularArrayRotation.py
kokuraxc/play-ground
48b5291f3cca117e0cd0a17bf9255ec4dc1a5cdd
[ "MIT" ]
null
null
null
HackerRank/CircularArrayRotation.py
kokuraxc/play-ground
48b5291f3cca117e0cd0a17bf9255ec4dc1a5cdd
[ "MIT" ]
null
null
null
# https://www.hackerrank.com/challenges/circular-array-rotation/problem # Complete the circularArrayRotation function below. def circularArrayRotation(a, k, queries): return [a[(q-k)%len(a)] for q in queries]
42.6
71
0.765258
29
213
5.62069
0.793103
0
0
0
0
0
0
0
0
0
0
0
0.103286
213
4
72
53.25
0.853403
0.56338
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
e4c30d20a3be14675ba485c58a7cfed30206ce14
54
py
Python
vmodel/util/__init__.py
lis-epfl/vmodel
d8860087b94ffc3582f187523864550ecf135b24
[ "MIT" ]
null
null
null
vmodel/util/__init__.py
lis-epfl/vmodel
d8860087b94ffc3582f187523864550ecf135b24
[ "MIT" ]
null
null
null
vmodel/util/__init__.py
lis-epfl/vmodel
d8860087b94ffc3582f187523864550ecf135b24
[ "MIT" ]
null
null
null
def sort_dict(d): return dict(sorted(d.items()))
13.5
34
0.648148
9
54
3.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.166667
54
3
35
18
0.755556
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
e4df692b7ebdf3fb58620fbf5df928d76c9f4998
98
py
Python
app/api/v1/__init__.py
kelvinbunei/Politico
d7ad9355fe6375ba5d87da56eed100eb31cfd9a0
[ "MIT" ]
null
null
null
app/api/v1/__init__.py
kelvinbunei/Politico
d7ad9355fe6375ba5d87da56eed100eb31cfd9a0
[ "MIT" ]
null
null
null
app/api/v1/__init__.py
kelvinbunei/Politico
d7ad9355fe6375ba5d87da56eed100eb31cfd9a0
[ "MIT" ]
null
null
null
from flask import Blueprint version_1 = Blueprint('version_one', __name__, url_prefix='/api/v1')
24.5
68
0.77551
14
98
4.928571
0.857143
0.463768
0
0
0
0
0
0
0
0
0
0.022727
0.102041
98
3
69
32.666667
0.761364
0
0
0
0
0
0.183673
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
1
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
1
0
5
e4fa27a7ceff832fc44cfc211843ec2593ae5fbf
41
py
Python
src/videoanalizer/__init__.py
thomasreolon/DeepfakeDetection
5bbeefdeeb05b2abd45336ad3382da6ce90c2fef
[ "MIT" ]
2
2021-04-21T03:02:59.000Z
2021-07-31T23:35:58.000Z
src/videoanalizer/__init__.py
thomasreolon/DeepfakeDetection
5bbeefdeeb05b2abd45336ad3382da6ce90c2fef
[ "MIT" ]
null
null
null
src/videoanalizer/__init__.py
thomasreolon/DeepfakeDetection
5bbeefdeeb05b2abd45336ad3382da6ce90c2fef
[ "MIT" ]
null
null
null
from .videoanalizer import VideoAnalizer
20.5
40
0.878049
4
41
9
0.75
0
0
0
0
0
0
0
0
0
0
0
0.097561
41
1
41
41
0.972973
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
5f76d88bc14663072fa9797cb4d9ad901ac9d048
2,281
py
Python
PyFiles/Lists.py
JMax45/R6S-App
2d68900535b495a6675f35f492e63bcbf49517d7
[ "MIT" ]
null
null
null
PyFiles/Lists.py
JMax45/R6S-App
2d68900535b495a6675f35f492e63bcbf49517d7
[ "MIT" ]
null
null
null
PyFiles/Lists.py
JMax45/R6S-App
2d68900535b495a6675f35f492e63bcbf49517d7
[ "MIT" ]
null
null
null
import random code_list3 = [("Si"),("No")] code_list4 = [("1°"),("2°"),("3°"),("4°")] code_list5 = [("SWAT"),("SAS"),("GIGN"),("GSG 9"),("JTF2"),("NAVY SEAL"), ("BOPE"),("G.E.O"),("SAT"),("S.D.U"),("GROM"),("707th")] code_list6 = [("Images/RandOperators/Attackers/Ash.png"),("Images/RandOperat...
71.28125
111
0.65936
230
2,281
6.534783
0.330435
0.480373
0.526946
0.391883
0
0
0
0
0
0
0
0.007165
0.143358
2,281
31
112
73.580645
0.75998
0
0
0
0
0
0.713523
0.683719
0
0
0
0
0
1
0
false
0
0.041667
0
0.041667
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
5f7a52ac7423e645df15aeb975b7db89d8d6652a
602
py
Python
src/nonogram_solver/error.py
MikeJongen/nonogram-solver
b174fe6c693c1ace3918bf19a9110165a5b42db9
[ "MIT" ]
null
null
null
src/nonogram_solver/error.py
MikeJongen/nonogram-solver
b174fe6c693c1ace3918bf19a9110165a5b42db9
[ "MIT" ]
null
null
null
src/nonogram_solver/error.py
MikeJongen/nonogram-solver
b174fe6c693c1ace3918bf19a9110165a5b42db9
[ "MIT" ]
null
null
null
class NonogramError(Exception): """Base class for exceptions in this module.""" pass class LengthError(NonogramError): """Exception raised for unexpected list lengths.""" pass class AxisError(NonogramError): """Exception raised for unexpected axis.""" pass class ClueError(NonogramError): ...
20.758621
68
0.70598
65
602
6.538462
0.507692
0.310588
0.329412
0.364706
0.192941
0
0
0
0
0
0
0
0.194352
602
28
69
21.5
0.876289
0.456811
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
5f87f1d49ae0d81009faa5974fea9c09119076f7
239
py
Python
tests/conftest.py
erickrawczyk/pyzerproc
9e98a18c94673ee7046b59ae0a305e02338dc969
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
erickrawczyk/pyzerproc
9e98a18c94673ee7046b59ae0a305e02338dc969
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
erickrawczyk/pyzerproc
9e98a18c94673ee7046b59ae0a305e02338dc969
[ "Apache-2.0" ]
null
null
null
import pytest @pytest.fixture def adapter(mocker): return mocker.patch('pygatt.GATTToolBackend')() @pytest.fixture def device(mocker, adapter): device = mocker.Mock() adapter.connect.return_value = device return device
17.071429
51
0.728033
28
239
6.178571
0.5
0.150289
0.184971
0
0
0
0
0
0
0
0
0
0.16318
239
13
52
18.384615
0.865
0
0
0.222222
0
0
0.09205
0.09205
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5