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
902ff7047b8a87f9b7ada3643573ab8c6b0bdde3
788
py
Python
project1/module2/astarmod2.py
pmitche/it3105-aiprogramming
79f3b4a5f624d473b461548b263bcf7ecc0846dc
[ "MIT" ]
3
2015-12-12T15:33:39.000Z
2019-01-17T13:44:09.000Z
project1/module2/astarmod2.py
pmitche/it3105-aiprogramming
79f3b4a5f624d473b461548b263bcf7ecc0846dc
[ "MIT" ]
null
null
null
project1/module2/astarmod2.py
pmitche/it3105-aiprogramming
79f3b4a5f624d473b461548b263bcf7ecc0846dc
[ "MIT" ]
null
null
null
__author__ = 'sondredyvik' from heapq import heappush, heappop from common import astar class Astarmod2(astar.Astar): def __init__(self, csp): self.csp = csp super(Astarmod2, self).__init__() def generate_initial_searchstate(self): return self.csp.generate_initial_searchstate() ...
23.878788
62
0.652284
91
788
5.428571
0.461538
0.05668
0.105263
0
0
0
0
0
0
0
0
0.00678
0.251269
788
32
63
24.625
0.830508
0
0
0
0
0
0.017767
0
0
0
0
0
0
1
0.318182
false
0
0.090909
0.181818
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9035008c468fe49bfc552d873122ef9f524e85d7
205
py
Python
IA/Python/6/6.1/1.py
worthl3ss/random-small
ffb60781f57eb865acbd81aaa07056046bad32fe
[ "MIT" ]
1
2022-02-23T12:47:00.000Z
2022-02-23T12:47:00.000Z
IA/Python/6/6.1/1.py
worthl3ss/random-small
ffb60781f57eb865acbd81aaa07056046bad32fe
[ "MIT" ]
null
null
null
IA/Python/6/6.1/1.py
worthl3ss/random-small
ffb60781f57eb865acbd81aaa07056046bad32fe
[ "MIT" ]
null
null
null
def pow(a, n): p = 1 for i in range(n): p = p * a return p assert pow(2,0) == 1 assert pow(2,3) == 8, "2 at power 3 must be 8" assert pow(2, -2) == 0.25, "2 at power -2 must be 0.25 "
20.5
56
0.507317
47
205
2.212766
0.446809
0.259615
0.288462
0
0
0
0
0
0
0
0
0.143885
0.321951
205
9
57
22.777778
0.604317
0
0
0
0
0
0.239024
0
0
0
0
0
0.375
1
0.125
false
0
0
0
0.25
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f6593e8b1a0f0c708be7cd5d709ad621d6f5baf
483
py
Python
solve.py
soolidsnake/flareon5-12
95af2fbaaedd10b805d65b0b700863e3e8ba1d4d
[ "MIT" ]
3
2018-11-15T08:20:01.000Z
2018-12-11T16:35:28.000Z
solve.py
dp1/flareon5-12
95af2fbaaedd10b805d65b0b700863e3e8ba1d4d
[ "MIT" ]
null
null
null
solve.py
dp1/flareon5-12
95af2fbaaedd10b805d65b0b700863e3e8ba1d4d
[ "MIT" ]
null
null
null
def int16(x): while x > 0x7fff: x -= 0x10000 while x < -0x8000: x += 0x10000 return x res = [64639, 62223, 62305, 61777, 63622, 62417, 56151, 55765, 57966, 63693, 63849, 55564, 63521, 61825, 63583, 63619, 58017, 62588, 59995, 65019] for hash in range(0, 2**16): out = '' for i in range(15): x = in...
25.421053
78
0.565217
77
483
3.545455
0.649351
0.043956
0.07326
0
0
0
0
0
0
0
0
0.393258
0.26294
483
18
79
26.833333
0.373596
0
0
0
0
0
0.027957
0
0
0
0.073118
0
0
0
null
null
0
0
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
5f6ca48cf2b17194e5c336bf0439e1afce903e7e
2,473
py
Python
Encoding/base64.py
abdelrhman-adel-ahmed/Cryptography
dc99bf3fe08eb4a6e6d04535c727c292738344da
[ "MIT" ]
null
null
null
Encoding/base64.py
abdelrhman-adel-ahmed/Cryptography
dc99bf3fe08eb4a6e6d04535c727c292738344da
[ "MIT" ]
null
null
null
Encoding/base64.py
abdelrhman-adel-ahmed/Cryptography
dc99bf3fe08eb4a6e6d04535c727c292738344da
[ "MIT" ]
null
null
null
def base64Encode(data): alphabet = [ "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", ...
15.651899
70
0.235342
241
2,473
2.340249
0.257261
0.014184
0.021277
0.028369
0.407801
0.407801
0.35461
0.35461
0.262411
0.262411
0
0.041551
0.56207
2,473
157
71
15.751592
0.479224
0
0
0.87013
0
0
0.053781
0
0
0
0
0
0
1
0.012987
false
0
0
0
0.025974
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f92e0ff130d19108cd793c5c70395ccce0e96cd
467
py
Python
if else/percentage_garde.py
shashikant-sk/python_learning
91059fe50c8f6a321d393680dc865c24c39a2a33
[ "MIT" ]
null
null
null
if else/percentage_garde.py
shashikant-sk/python_learning
91059fe50c8f6a321d393680dc865c24c39a2a33
[ "MIT" ]
null
null
null
if else/percentage_garde.py
shashikant-sk/python_learning
91059fe50c8f6a321d393680dc865c24c39a2a33
[ "MIT" ]
null
null
null
marks=int(input("Enter the number")) if marks > 90: print("your grade is: A") elif marks > 80 and marks <=89: print("your grade is: B+") elif marks > 70 and marks <=79: print("your grade is: B") elif marks > 60 and marks <=69: print("your grade is: c+") elif marks > 50 and marks <=59: print("your gr...
20.304348
36
0.561028
75
467
3.493333
0.453333
0.171756
0.267176
0.305344
0.396947
0.396947
0.396947
0
0
0
0
0.067073
0.297645
467
23
37
20.304348
0.731707
0
0
0
0
0
0.275641
0
0
0
0
0
0
1
0
false
0
0
0
0
0.466667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5f97eb3a1b49dce0d58b51b9d9be462370fd8a83
454
py
Python
travelly/api/serializers.py
UPstartDeveloper/fiercely-souvenir
65d933c64a3bf830f51ac237f5781ddfb69f342c
[ "MIT" ]
null
null
null
travelly/api/serializers.py
UPstartDeveloper/fiercely-souvenir
65d933c64a3bf830f51ac237f5781ddfb69f342c
[ "MIT" ]
6
2021-06-09T17:37:50.000Z
2022-03-12T00:10:12.000Z
travelly/api/serializers.py
UPstartDeveloper/fiercely-souvenir
65d933c64a3bf830f51ac237f5781ddfb69f342c
[ "MIT" ]
null
null
null
from rest_framework.serializers import ModelSerializer from trips.models import Trip from airlines.models import Airline, Review class TripSerializer(ModelSerializer): class Meta: model = Trip fields = '__all__' class AirlineSerializer(ModelSerializer): class Meta: model = Airline ...
20.636364
54
0.698238
44
454
6.909091
0.454545
0.197368
0.236842
0.286184
0
0
0
0
0
0
0
0
0.240088
454
21
55
21.619048
0.881159
0
0
0.4
0
0
0.046256
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5fa06359134f6f91b1201677b1f1076560dd38a7
85,049
py
Python
pysnmp/Nortel-MsCarrier-MscPassport-DpnRoutingMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/Nortel-MsCarrier-MscPassport-DpnRoutingMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/Nortel-MsCarrier-MscPassport-DpnRoutingMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Nortel-MsCarrier-MscPassport-DpnRoutingMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-DpnRoutingMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:20:25 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user ...
166.111328
15,344
0.789039
8,546
85,049
7.852446
0.053124
0.008136
0.011444
0.015259
0.447509
0.426707
0.420195
0.415188
0.391941
0.381316
0
0.077387
0.075157
85,049
511
15,345
166.436399
0.775773
0.004445
0
0
0
0
0.174128
0.107285
0
0
0
0
0
1
0
false
0.140873
0.037698
0
0.037698
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
5fb5e05abc19f5ff629751cf02bebf1f9b08e80a
482
py
Python
MeshToolkit/Tool/Primitive.py
microy/MeshToolkit
df239e73fcd78c726e14c6b92eef7318da5e4297
[ "MIT" ]
4
2017-03-03T15:18:02.000Z
2020-01-26T23:23:34.000Z
MeshToolkit/Tool/Primitive.py
microy/PyMeshToolkit
df239e73fcd78c726e14c6b92eef7318da5e4297
[ "MIT" ]
null
null
null
MeshToolkit/Tool/Primitive.py
microy/PyMeshToolkit
df239e73fcd78c726e14c6b92eef7318da5e4297
[ "MIT" ]
2
2017-07-16T08:59:30.000Z
2018-10-19T15:54:35.000Z
# -*- coding:utf-8 -*- # # Test playground # # External dependencies import numpy as np import MeshToolkit as mtk # Generate a "saddle" surface def GenerateSaddleSurface( xsize = 200, ysize = 200 ) : # Compute vertex X-Y coordinates X, Y = np.meshgrid( np.linspace( -2, 2, xsize ), np.linspace( -2, 2, ysize ) ) # ...
25.368421
79
0.661826
71
482
4.492958
0.577465
0.018809
0.068966
0.075235
0
0
0
0
0
0
0
0.039164
0.205394
482
18
80
26.777778
0.793734
0.394191
0
0
1
0
0.021277
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5fc2f1a25ad1686197ffeb604852df7e6b1fbc19
128
py
Python
app/electron/git/flaff/example-temperature-analysis.model/model.py
flaff/bdp-app
8cbac252340bbf0f216c68ae31a9730de4ef22c1
[ "MIT" ]
null
null
null
app/electron/git/flaff/example-temperature-analysis.model/model.py
flaff/bdp-app
8cbac252340bbf0f216c68ae31a9730de4ef22c1
[ "MIT" ]
null
null
null
app/electron/git/flaff/example-temperature-analysis.model/model.py
flaff/bdp-app
8cbac252340bbf0f216c68ae31a9730de4ef22c1
[ "MIT" ]
null
null
null
# model created 11:33 19.07.2018 import pandas as pd from view import view mask = view['date'] < '1981-1-1' model = view[mask]
18.285714
32
0.695313
24
128
3.708333
0.708333
0.179775
0
0
0
0
0
0
0
0
0
0.169811
0.171875
128
6
33
21.333333
0.669811
0.234375
0
0
0
0
0.125
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5fce1e7264c47a6b9e29681288516ce270cbe497
96
py
Python
boj/2739.py
pparkddo/ps
7164c694403c2087a7b4b16a64f521ae327e328f
[ "MIT" ]
1
2021-04-02T09:37:11.000Z
2021-04-02T09:37:11.000Z
boj/2739.py
pparkddo/ps
7164c694403c2087a7b4b16a64f521ae327e328f
[ "MIT" ]
null
null
null
boj/2739.py
pparkddo/ps
7164c694403c2087a7b4b16a64f521ae327e328f
[ "MIT" ]
null
null
null
number = int(input()) for each in range(1, 10): print(f"{number} * {each} = {number*each}")
24
47
0.59375
15
96
3.8
0.733333
0.350877
0
0
0
0
0
0
0
0
0
0.037975
0.177083
96
3
48
32
0.683544
0
0
0
0
0
0.34375
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
395f42f8a3e700d5c128d23e4402770c32d7ed64
285
py
Python
gallery/photos/translation.py
pmaigutyak/mp-gallery
cb69dbfbce20d6522ce640ed70c8182d37b90371
[ "0BSD" ]
null
null
null
gallery/photos/translation.py
pmaigutyak/mp-gallery
cb69dbfbce20d6522ce640ed70c8182d37b90371
[ "0BSD" ]
null
null
null
gallery/photos/translation.py
pmaigutyak/mp-gallery
cb69dbfbce20d6522ce640ed70c8182d37b90371
[ "0BSD" ]
1
2021-04-10T18:52:13.000Z
2021-04-10T18:52:13.000Z
from modeltranslation.translator import translator, TranslationOptions from gallery.photos.models import Album class AlbumTranslationOptions(TranslationOptions): fields = ('name', 'short_description', 'full_description', ) translator.register(Album, AlbumTranslationOptions)
23.75
70
0.817544
25
285
9.24
0.68
0
0
0
0
0
0
0
0
0
0
0
0.101754
285
11
71
25.909091
0.902344
0
0
0
0
0
0.130282
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
396cce75ab02cf244dd2d91826b3ac43a7ed9e1c
127
py
Python
1stSemester_PythonCourse/work6/E01_1827406005.py
chenyz2000/schoolCourses
cca7f25b0f44186e0c248b26b5d7ed2bcb23c630
[ "MIT" ]
null
null
null
1stSemester_PythonCourse/work6/E01_1827406005.py
chenyz2000/schoolCourses
cca7f25b0f44186e0c248b26b5d7ed2bcb23c630
[ "MIT" ]
null
null
null
1stSemester_PythonCourse/work6/E01_1827406005.py
chenyz2000/schoolCourses
cca7f25b0f44186e0c248b26b5d7ed2bcb23c630
[ "MIT" ]
null
null
null
def sumFactor(x): s = sum([i for i in range(1, x) if x % i == 0]) return s def main(): print(sumFactor(8)) main()
15.875
51
0.543307
24
127
2.875
0.666667
0
0
0
0
0
0
0
0
0
0
0.032609
0.275591
127
8
52
15.875
0.717391
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
397427422b913dcc1ccf62874eafd1ce48b34a94
107
py
Python
PyRwu/effects/__init__.py
delta-kimigatame/PyRwu
6ea00d8d6a61de34d389a741b1b656f0987da998
[ "MIT" ]
2
2022-02-28T11:09:59.000Z
2022-03-01T12:02:40.000Z
PyRwu/effects/__init__.py
delta-kimigatame/PyRwu
6ea00d8d6a61de34d389a741b1b656f0987da998
[ "MIT" ]
null
null
null
PyRwu/effects/__init__.py
delta-kimigatame/PyRwu
6ea00d8d6a61de34d389a741b1b656f0987da998
[ "MIT" ]
null
null
null
import os __all__ = [k[0:-3] for k in filter(lambda x: x[0] != "_", os.listdir(os.path.dirname(__file__)))]
53.5
97
0.654206
20
107
3.05
0.75
0
0
0
0
0
0
0
0
0
0
0.031915
0.121495
107
2
97
53.5
0.617021
0
0
0
0
0
0.009259
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
398988d19257832b43e68d5f482b8749ad66eef5
1,514
py
Python
app/model/TemporaryOvertime.py
kk456852/Staff-attendance-system
9a60b9a0f490852d42e2c404a9933aba181ed2be
[ "Apache-2.0" ]
2
2019-05-13T09:11:30.000Z
2019-06-14T00:11:10.000Z
app/model/TemporaryOvertime.py
kk456852/Staff-attendance-system
9a60b9a0f490852d42e2c404a9933aba181ed2be
[ "Apache-2.0" ]
null
null
null
app/model/TemporaryOvertime.py
kk456852/Staff-attendance-system
9a60b9a0f490852d42e2c404a9933aba181ed2be
[ "Apache-2.0" ]
4
2019-04-25T00:54:04.000Z
2019-04-25T01:09:14.000Z
from datetime import datetime from .. import db from .User import User from .Role import Role from ..util.mail import send_mail class TemporaryOvertime(db.Model): """ 经理发起的临时加班类。 员工可以看到当前所有没有开始的临时加班。并且可以在加班结束前将其加入到自己的加班申请中。 """ ID = db.Column(db.Integer, primary_key=True) beginDateTime = db....
28.037037
134
0.633421
175
1,514
5.342857
0.4
0.042781
0.053476
0.057754
0.098396
0.06631
0
0
0
0
0
0.002655
0.253633
1,514
53
135
28.566038
0.824779
0.229194
0
0.074074
0
0
0.028829
0.024324
0
0
0
0.018868
0
1
0.148148
false
0.074074
0.185185
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
1
0
0
3
39914caf0eb6e30d5a0c86f70b41db993766384a
1,017
py
Python
api/models.py
manisharmagarg/qymatix
0dc240970359429ae5105db79f9aebf1a99ba6fd
[ "Apache-2.0" ]
null
null
null
api/models.py
manisharmagarg/qymatix
0dc240970359429ae5105db79f9aebf1a99ba6fd
[ "Apache-2.0" ]
null
null
null
api/models.py
manisharmagarg/qymatix
0dc240970359429ae5105db79f9aebf1a99ba6fd
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.models import User from django.db import models # Create your models here. class Reports(models.Model): industory1 = models.TextField(null= True, blank= True) year1 = models.TextField(null= True, blank= True) month1 = models.TextField(null= True, blank= True) kam1 = models.TextField(null...
36.321429
78
0.749263
142
1,017
5.274648
0.359155
0.149533
0.242991
0.317757
0.531375
0.531375
0.104139
0
0
0
0
0.016968
0.130777
1,017
27
79
37.666667
0.830317
0.023599
0
0
0
0
0.007064
0
0
0
0
0
0
1
0.047619
false
0
0.095238
0.047619
0.952381
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
39a4df110a9e70409192639bc9ba35d9614559fa
234
py
Python
miner/utils/repositories.py
HeavenDuke/GithubMiner
3d14c40c9cbdee6f22e7ade3493888aff708ad5b
[ "MIT" ]
2
2017-05-22T10:31:15.000Z
2017-05-23T06:52:58.000Z
miner/utils/repositories.py
HeavenDuke/GithubMiner
3d14c40c9cbdee6f22e7ade3493888aff708ad5b
[ "MIT" ]
null
null
null
miner/utils/repositories.py
HeavenDuke/GithubMiner
3d14c40c9cbdee6f22e7ade3493888aff708ad5b
[ "MIT" ]
null
null
null
def fetch_accepted_repository_list(graph): query = "MATCH (r:Repository) return r.repository_id as repository_id" repositories = graph.run(query).data() return [repository[u"repository_id"] for repository in repositories]
46.8
74
0.769231
31
234
5.612903
0.580645
0.206897
0
0
0
0
0
0
0
0
0
0
0.132479
234
5
75
46.8
0.857143
0
0
0
0
0
0.311966
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f2d39d588b58fdd31ef1e43d0c5604a1c53f0bee
1,041
py
Python
models/source_graph/source_graph_input.py
MorMundHS-MA/predicting-bugs-gnn
139c7a41b48f2d62c7ded44bb5e6ad56d2584a95
[ "MIT" ]
null
null
null
models/source_graph/source_graph_input.py
MorMundHS-MA/predicting-bugs-gnn
139c7a41b48f2d62c7ded44bb5e6ad56d2584a95
[ "MIT" ]
null
null
null
models/source_graph/source_graph_input.py
MorMundHS-MA/predicting-bugs-gnn
139c7a41b48f2d62c7ded44bb5e6ad56d2584a95
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import List, Tuple import tensorflow as tf from models.source_graph.string2tensor import String2Tensor class SourceGraphInput(ABC): @classmethod def _node_labels_to_unique_indexed( cls, string2tensor: String2Tensor, node_labels: List[Tup...
26.025
115
0.676273
116
1,041
5.844828
0.387931
0.184366
0.20649
0.228614
0.20649
0
0
0
0
0
0
0.007643
0.245917
1,041
39
116
26.692308
0.856051
0
0
0.533333
0
0
0
0
0
0
0
0
0
1
0.2
false
0.166667
0.133333
0
0.4
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
f2e6e8f3b257831a4d32682048bf53cb64755908
559
py
Python
package/tests/test_data_access/test_repositories/test_runs.py
deepyaman/kedro-viz
3aef612b6dd405baac0bde68ef37c1f39eb6fa34
[ "BSD-3-Clause-Clear", "Apache-2.0" ]
125
2022-01-10T14:18:32.000Z
2022-03-31T16:08:29.000Z
package/tests/test_data_access/test_repositories/test_runs.py
deepyaman/kedro-viz
3aef612b6dd405baac0bde68ef37c1f39eb6fa34
[ "BSD-3-Clause-Clear", "Apache-2.0" ]
81
2022-01-10T15:14:24.000Z
2022-03-31T16:20:59.000Z
package/tests/test_data_access/test_repositories/test_runs.py
admariner/kedro-viz
371f7f943ee1c9a69545ed6aa1cd468deafed7f0
[ "BSD-3-Clause-Clear", "Apache-2.0" ]
11
2022-01-12T14:57:54.000Z
2022-03-07T06:48:30.000Z
from kedro_viz.data_access.repositories import RunsRepository class TestRunsRepository: def test_runs_repository_should_return_None_without_db_session(self): runs_repository = RunsRepository() assert runs_repository.get_all_runs() is None assert runs_repository.get_runs_by_ids(["id"]) is N...
34.9375
73
0.681574
67
559
5.268657
0.567164
0.23796
0.226629
0.195467
0.249292
0.249292
0
0
0
0
0
0.002387
0.250447
559
15
74
37.266667
0.840095
0
0
0
0
0
0.025045
0
0
0
0
0
0.307692
1
0.076923
false
0
0.076923
0
0.230769
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f2f15abe931fa3216ddc4fa20566b61d0b402a62
184
py
Python
pycovid/__init__.py
karbassi/pycovid
ec99ed3302b155588960b3df006775f3daa4d3f5
[ "MIT" ]
69
2020-03-10T03:57:18.000Z
2020-10-24T16:56:55.000Z
pycovid/__init__.py
karbassi/pycovid
ec99ed3302b155588960b3df006775f3daa4d3f5
[ "MIT" ]
7
2020-03-14T02:14:35.000Z
2020-04-03T20:38:23.000Z
pycovid/__init__.py
karbassi/pycovid
ec99ed3302b155588960b3df006775f3daa4d3f5
[ "MIT" ]
11
2020-03-11T00:55:12.000Z
2020-04-07T01:20:43.000Z
"PyCOVID - Access the Rami Krispin Coronavirus Dataset in Python PIP" from pycovid import * __version__ = '0.1' __author__ = 'Sudharshan Ashok <sudharshan93@gmail.com>' __all__ = []
23
69
0.75
23
184
5.478261
0.956522
0
0
0
0
0
0
0
0
0
0
0.025641
0.152174
184
7
70
26.285714
0.782051
0.36413
0
0
0
0
0.606557
0.131148
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8402c430a6647ae9e52518a01119b9fad3271aea
183
py
Python
bulk_signals/signals.py
awmath/django-bulk-signals
b365715c586b22f47d884883f73122d1a3bd855b
[ "MIT" ]
1
2022-02-25T08:44:57.000Z
2022-02-25T08:44:57.000Z
bulk_signals/signals.py
awmath/django-bulk-signals
b365715c586b22f47d884883f73122d1a3bd855b
[ "MIT" ]
2
2021-12-09T10:00:31.000Z
2021-12-09T12:40:52.000Z
bulk_signals/signals.py
awmath/django-bulk-signals
b365715c586b22f47d884883f73122d1a3bd855b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django import dispatch from django.dispatch import Signal, receiver post_bulk_create = Signal() post_bulk_update = Signal() post_query_update = Signal()
22.875
44
0.759563
25
183
5.32
0.56
0.150376
0
0
0
0
0
0
0
0
0
0.006289
0.131148
183
7
45
26.142857
0.830189
0.114754
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
844a48fe86b67121a88b89442f3339df9bb04f7b
425
py
Python
ISRpy/readpack/__init__.py
radars-eceillinois/ISRpy
2c5f042b2a47bcbfe03fbc3c0efb2b8716d368cb
[ "MIT" ]
1
2021-12-16T01:35:09.000Z
2021-12-16T01:35:09.000Z
ISRpy/readpack/__init__.py
radars-eceillinois/ISRpy
2c5f042b2a47bcbfe03fbc3c0efb2b8716d368cb
[ "MIT" ]
3
2021-01-30T18:48:36.000Z
2021-02-03T00:39:45.000Z
ISRpy/readpack/__init__.py
radars-eceillinois/ISRpy
2c5f042b2a47bcbfe03fbc3c0efb2b8716d368cb
[ "MIT" ]
1
2021-01-28T23:15:12.000Z
2021-01-28T23:15:12.000Z
""" data read modules for ISR's jroread.py --- jro data file and header reading utilities irisread.py --- IRIS data file and header reading utilities rdvme --- Arecibo Observatory data file and header reading utilities digital_rf_hdf5 --- Arecibo plasmaline (PL) data files from Juha's USRP receiver readpack. TAB in i...
32.692308
80
0.76
61
425
5.163934
0.606557
0.07619
0.104762
0.161905
0.314286
0.314286
0
0
0
0
0
0.005435
0.134118
425
12
81
35.416667
0.850543
0.830588
0
0
0
0
0.630137
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
844bcd83071046ce7ecb0ab5a123baeba45fbf1c
202
py
Python
homepage/urls.py
FatliTalk/learnenglish
f0393346f2e696b2af542c05e5005d2495f00e37
[ "MIT" ]
1
2021-10-06T12:40:28.000Z
2021-10-06T12:40:28.000Z
homepage/urls.py
FatliTalk/learnenglish
f0393346f2e696b2af542c05e5005d2495f00e37
[ "MIT" ]
null
null
null
homepage/urls.py
FatliTalk/learnenglish
f0393346f2e696b2af542c05e5005d2495f00e37
[ "MIT" ]
null
null
null
from django.urls import path from . import views # docs.djangoproject.com/en/3.2/intro/tutorial03/#namespacing-url-names app_name = 'homepage' urlpatterns = [ path('', views.home, name="home"), ]
20.2
71
0.717822
28
202
5.142857
0.785714
0
0
0
0
0
0
0
0
0
0
0.022727
0.128713
202
9
72
22.444444
0.795455
0.336634
0
0
0
0
0.091603
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
845a26f92fa518481077895dadeb112b949f4421
2,852
py
Python
thermof/mof.py
pzarabadip/thermof
44c33e37aeadce31241a878135b1531757a2b1c4
[ "MIT" ]
null
null
null
thermof/mof.py
pzarabadip/thermof
44c33e37aeadce31241a878135b1531757a2b1c4
[ "MIT" ]
11
2017-08-15T22:11:32.000Z
2017-08-22T23:32:17.000Z
thermof/mof.py
pzarabadip/thermof
44c33e37aeadce31241a878135b1531757a2b1c4
[ "MIT" ]
1
2017-01-31T19:44:02.000Z
2017-01-31T19:44:02.000Z
# Date: September 2017 # Author: Kutay B. Sezginel """ MOF class for file I/O and molecular operations. """ import os import numpy as np from . import ase class MOF: """ Metal Organic Framework class. """ def __init__(self, read=None): """ Initialize MOF object by reading a molecule fi...
32.044944
127
0.609397
376
2,852
4.428191
0.281915
0.072072
0.028829
0.027628
0.104505
0.104505
0.104505
0.104505
0.062462
0.062462
0
0.006813
0.279453
2,852
88
128
32.409091
0.803406
0.304698
0
0
0
0
0.038155
0
0
0
0
0
0
1
0.263158
false
0
0.078947
0.131579
0.552632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
845f468d13e0e1091d221dcffca08460b0e98acb
689
py
Python
utils.py
413612/PL-0.5
8282116da6bbff59b6ebd7c6502ffbfb46a95a39
[ "MIT" ]
1
2020-06-13T06:59:06.000Z
2020-06-13T06:59:06.000Z
utils.py
413612/PL-0.5
8282116da6bbff59b6ebd7c6502ffbfb46a95a39
[ "MIT" ]
null
null
null
utils.py
413612/PL-0.5
8282116da6bbff59b6ebd7c6502ffbfb46a95a39
[ "MIT" ]
null
null
null
def op_priority(t): if t in ['MUL', 'DIV']: return 1 elif t in ['ADD', 'SUB']: return 2 elif t in ['GT', 'GE', 'LT', 'LE']: return 3 elif t in ['NE', 'EQ']: return 4 elif t in ['AND', 'OR', 'NOT']: return 5 def is_number(t): return t in ['INT_LIT', 'FLOA...
21.53125
100
0.490566
112
689
2.928571
0.321429
0.091463
0.121951
0.152439
0.472561
0.347561
0.304878
0.304878
0.304878
0
0
0.00994
0.269956
689
31
101
22.225806
0.642147
0
0
0
0
0
0.179971
0
0
0
0
0
0
1
0.285714
false
0
0
0.238095
0.761905
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ffcb6287a29fdee976905020469a0ea932b4a6c4
4,869
py
Python
stubs.min/System/Windows/Documents/__init__.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/Windows/Documents/__init__.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Windows/Documents/__init__.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
# encoding: utf-8 # module System.Windows.Documents calls itself Documents # from PresentationFramework,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35,PresentationCore,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35 # by generator 1.145 # no doc # no imports # no functions # cl...
57.964286
174
0.89464
486
4,869
8.201646
0.216049
0.14852
0.241345
0.005018
0.027597
0.027597
0.027597
0.027597
0.027597
0
0
0.007844
0.08359
4,869
83
175
58.662651
0.885477
0.061614
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
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ffcf5d42e1a8b672f172eee0a3bb5b70ada88fe1
981
py
Python
base/interfaces/contextual_interface.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
null
null
null
base/interfaces/contextual_interface.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
null
null
null
base/interfaces/contextual_interface.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
2
2021-04-10T19:22:15.000Z
2022-03-08T19:37:56.000Z
from abc import ABC, abstractmethod from typing import Optional, NoReturn try: # Assume we're a sub-module in a package. from base.interfaces.base_interface import BaseInterface from base.interfaces.sourced_interface import SourcedInterface from base.interfaces.context_interface import ContextInterface ex...
30.65625
105
0.753313
110
981
6.618182
0.427273
0.123626
0.074176
0.087912
0.214286
0
0
0
0
0
0
0
0.191641
981
31
106
31.645161
0.918033
0.124363
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.375
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
fff87d6455ef68a44a00c6ae0b7f310e18d54fb1
452
py
Python
scapy_tutorial.py
rocketpy/ports
9dfedce47de96c6df95ec6434b7c58cd4adac898
[ "MIT" ]
null
null
null
scapy_tutorial.py
rocketpy/ports
9dfedce47de96c6df95ec6434b7c58cd4adac898
[ "MIT" ]
null
null
null
scapy_tutorial.py
rocketpy/ports
9dfedce47de96c6df95ec6434b7c58cd4adac898
[ "MIT" ]
null
null
null
# Scapy is a Python program that enables the user to send, sniff and dissect and forge network packets. # This capability allows construction of tools that can probe, scan or attack networks. # DOCS: https://scapy.readthedocs.io/en/latest/introduction.html#about-scapy # pypi: https://pypi.org/project/scapy/ # Sca...
45.2
114
0.767699
69
452
5.028986
0.826087
0
0
0
0
0
0
0
0
0
0
0.025445
0.130531
452
9
115
50.222222
0.857506
0.960177
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
0827e04840a4a5bd14572252d1b5f63caa59590b
659
py
Python
lab3/zad2/test.py
R3zn0w/blue-rapier
84cdc33e1e327c0a402a4d2e29a8d6f5cda95e9b
[ "MIT" ]
null
null
null
lab3/zad2/test.py
R3zn0w/blue-rapier
84cdc33e1e327c0a402a4d2e29a8d6f5cda95e9b
[ "MIT" ]
null
null
null
lab3/zad2/test.py
R3zn0w/blue-rapier
84cdc33e1e327c0a402a4d2e29a8d6f5cda95e9b
[ "MIT" ]
null
null
null
import unittest from day import Day, nthDayFrom class Test_TestDay(unittest.TestCase): def test_nth(self): self.assertEqual(nthDayFrom(1, Day.SAT), Day.SUN) self.assertEqual(nthDayFrom(2, Day.SAT), Day.MON) self.assertEqual(nthDayFrom(-1, Day.TUE), Day.MON) self.assertEqual(nthDay...
29.954545
58
0.673748
89
659
4.865169
0.258427
0.277136
0.230947
0.13164
0.614319
0.318707
0.161663
0
0
0
0
0.014842
0.182094
659
21
59
31.380952
0.788497
0
0
0
0
0
0.01214
0
0
0
0
0
0.533333
1
0.133333
false
0
0.133333
0
0.333333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
08558d7320152af767c1b08ce3733fe04ea93202
1,016
py
Python
practices/ch08_problem_solving/Connect_4.py
Nietsrot78/python-for-absolute-beginners-course
3188046b1b1361f9e27a01fced38601c58f00690
[ "MIT" ]
1
2021-08-05T21:47:11.000Z
2021-08-05T21:47:11.000Z
practices/ch08_problem_solving/Connect_4.py
Nietsrot78/python-for-absolute-beginners-course
3188046b1b1361f9e27a01fced38601c58f00690
[ "MIT" ]
null
null
null
practices/ch08_problem_solving/Connect_4.py
Nietsrot78/python-for-absolute-beginners-course
3188046b1b1361f9e27a01fced38601c58f00690
[ "MIT" ]
null
null
null
# Rules of the game # Set symbols --> assign to player? # Find winner # Announce winner def main(): welcome_screen() create_board() set_players() def welcome_screen(): print() print('Velkommen til "4-på-rad"') print('Laget av Torstein') print() def create_board(): # Create the board ...
23.090909
53
0.602362
129
1,016
4.55814
0.333333
0.557823
0.816327
1.061224
0.387755
0.285714
0.285714
0.285714
0.285714
0.285714
0
0.002649
0.25689
1,016
44
54
23.090909
0.776159
0.126969
0
0.25
0
0
0.088636
0
0
0
0
0
0
1
0.178571
false
0
0
0
0.178571
0.142857
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f2396a1eb873c8e3aa0dbda7da2bf4931fe0cbdd
100
py
Python
unzip.py
windymelt/autowot
478f4a2048baea5a819901c75bd2d1b15a74ef17
[ "BSD-3-Clause" ]
null
null
null
unzip.py
windymelt/autowot
478f4a2048baea5a819901c75bd2d1b15a74ef17
[ "BSD-3-Clause" ]
null
null
null
unzip.py
windymelt/autowot
478f4a2048baea5a819901c75bd2d1b15a74ef17
[ "BSD-3-Clause" ]
null
null
null
import zipfile def unzip(filename): zf = zipfile.ZipFile(filename, 'r') zf.extractall('.')
16.666667
39
0.66
12
100
5.5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.18
100
5
40
20
0.804878
0
0
0
0
0
0.02
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f25047d1dde46b37791f1eaa2b74aee780b04ee8
473
py
Python
multiml/agent/pytorch/pytorch_connection_random_search.py
UTokyo-ICEPP/multiml
3dce96492c90bb2bc9c2d4ccfd66eb13d652a520
[ "Apache-2.0" ]
7
2021-04-16T03:05:25.000Z
2021-12-17T06:04:13.000Z
multiml/agent/pytorch/pytorch_connection_random_search.py
UTokyo-ICEPP/multiml
3dce96492c90bb2bc9c2d4ccfd66eb13d652a520
[ "Apache-2.0" ]
6
2021-04-21T10:17:14.000Z
2021-06-30T06:18:41.000Z
multiml/agent/pytorch/pytorch_connection_random_search.py
UTokyo-ICEPP/multiml
3dce96492c90bb2bc9c2d4ccfd66eb13d652a520
[ "Apache-2.0" ]
5
2021-04-15T06:38:04.000Z
2021-09-05T14:30:05.000Z
from ..basic import ConnectionRandomSearchAgent class PytorchConnectionRandomSearchAgent(ConnectionRandomSearchAgent): """Pytorch implementation for ConnectionRandomSearchAgent.""" from multiml.task.pytorch import ModelConnectionTask _ModelConnectionTask = ModelConnectionTask @staticmethod def _...
31.533333
70
0.765328
39
473
9.102564
0.666667
0.214085
0
0
0
0
0
0
0
0
0
0
0.175476
473
14
71
33.785714
0.910256
0.143763
0
0
0
0
0
0
0
0
0
0.071429
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
f273f897711287145ca4840f3cab6f3331dbf66e
146
py
Python
All Exponent Integer Series/pow(x,y).py
philippossfrn/Integer-Sequences
ba803320ab6e1abd921db402c60fb8c48a5877d5
[ "Unlicense" ]
48
2021-06-28T05:53:43.000Z
2022-03-17T10:37:26.000Z
All Exponent Integer Series/pow(x,y).py
PremApk/Integer-Sequences
89a409006d5718c5e9cd9d95748c312337600209
[ "Unlicense" ]
99
2021-06-28T03:16:51.000Z
2022-03-17T00:18:50.000Z
All Exponent Integer Series/pow(x,y).py
PremApk/Integer-Sequences
89a409006d5718c5e9cd9d95748c312337600209
[ "Unlicense" ]
140
2021-06-28T06:29:19.000Z
2022-03-30T11:15:45.000Z
# /usr/bin/python3 x = int(input("Enter x in x^y: ")) y = int(input("Enter y in x^y: ")) print(str(x) + "^" + str(y) + " is: " + str(pow(x, y)))
24.333333
55
0.506849
29
146
2.551724
0.448276
0.081081
0.351351
0
0
0
0
0
0
0
0
0.008547
0.19863
146
5
56
29.2
0.623932
0.109589
0
0
0
0
0.296875
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f274937a87bef7809b214a637951d83c7d9f06be
363
py
Python
tests/test_event.py
bcurnow/magicband-reader
d8afa80648abc8954abd9c3cab8f6f6b9cb260ec
[ "Apache-2.0" ]
5
2021-01-12T02:53:07.000Z
2022-03-02T17:58:18.000Z
tests/test_event.py
bcurnow/magicband-reader
d8afa80648abc8954abd9c3cab8f6f6b9cb260ec
[ "Apache-2.0" ]
null
null
null
tests/test_event.py
bcurnow/magicband-reader
d8afa80648abc8954abd9c3cab8f6f6b9cb260ec
[ "Apache-2.0" ]
null
null
null
from magicbandreader.event import Event, EventType def test_Event__init__(): e = Event('rfid_id', {'context': True}, EventType.NONE) assert e.id == 'rfid_id' assert e.ctx == {'context': True} assert e.type == EventType.NONE assert e.__repr__() == "Event('rfid_id', {'context': True}, EventType.NON...
30.25
80
0.652893
48
363
4.520833
0.395833
0.16129
0.262673
0.276498
0.387097
0.387097
0.387097
0.387097
0.387097
0
0
0
0.176309
363
11
81
33
0.725753
0
0
0
0
0
0.217631
0
0
0
0
0
0.625
1
0.125
false
0
0.125
0
0.25
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
1
0
0
0
0
0
0
0
0
0
3
f275fb459714448cf021b54ee520a4cb1eae4878
220
py
Python
mockpay/settings/dev.py
18F/mock-pay
4ae56fdcc3f3419168e9d74ee8e34b18b721bdbe
[ "CC0-1.0" ]
1
2016-06-09T22:58:26.000Z
2016-06-09T22:58:26.000Z
mockpay/settings/dev.py
18F/mock-pay
4ae56fdcc3f3419168e9d74ee8e34b18b721bdbe
[ "CC0-1.0" ]
null
null
null
mockpay/settings/dev.py
18F/mock-pay
4ae56fdcc3f3419168e9d74ee8e34b18b721bdbe
[ "CC0-1.0" ]
3
2016-06-09T22:58:28.000Z
2021-02-18T10:59:41.000Z
from .base import * DEBUG = True try: from .local_settings import * except ImportError: # Create a random secret key from django.utils.crypto import get_random_string SECRET_KEY = get_random_string(50)
20
53
0.736364
31
220
5.032258
0.677419
0.115385
0.192308
0
0
0
0
0
0
0
0
0.011429
0.204545
220
10
54
22
0.88
0.118182
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f2ab9b11291c1730077348218dd6686a9e11edd9
454
py
Python
ADWorld/game.py
Don2025/CTFwriteUp
41e0a5bf87a1a02dd1548e621853c145ff64cedb
[ "MIT" ]
2
2022-03-20T02:27:59.000Z
2022-03-20T02:28:02.000Z
ADWorld/game.py
Don2025/CTFwriteUp
41e0a5bf87a1a02dd1548e621853c145ff64cedb
[ "MIT" ]
null
null
null
ADWorld/game.py
Don2025/CTFwriteUp
41e0a5bf87a1a02dd1548e621853c145ff64cedb
[ "MIT" ]
null
null
null
a = [123,32,18,98,119,108,65,41,124,80,125,38,124,111,74,49,83,108,94,108,84,6,96,83,44,121,104,110,32,95,117,101,99,123,127,119,96,48,107,71,92,29,81,107,90,85,64,12,43,76,86,13,114,1,117,126] b = [18,64,98,5,2,4,6,3,6,48,49,65,32,12,48,65,31,78,62,32,49,32,1,57,96,3,21,9,4,62,3,5,4,1,2,3,44,65,78,32,16,97,54,16,44,52...
64.857143
193
0.621145
137
454
2.058394
0.562044
0.028369
0.042553
0
0
0
0
0
0
0
0
0.554502
0.070485
454
7
194
64.857143
0.113744
0
0
0
0
0
0
0
0
0
0.008791
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4b7184f1fafe839c228ea3f62dfe72052d56fce1
1,755
py
Python
python/resq/cpu/__init__.py
NetSys/resq
6bfa19ee3d39b4a9e75c98c91435f270289d0955
[ "MIT" ]
13
2018-03-30T04:56:34.000Z
2022-03-17T02:09:06.000Z
python/resq/cpu/__init__.py
NetSys/resq
6bfa19ee3d39b4a9e75c98c91435f270289d0955
[ "MIT" ]
1
2018-10-16T16:07:04.000Z
2019-05-30T11:15:17.000Z
python/resq/cpu/__init__.py
NetSys/resq
6bfa19ee3d39b4a9e75c98c91435f270289d0955
[ "MIT" ]
4
2019-01-25T02:18:47.000Z
2022-03-21T08:47:46.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from resq.util import Singleton from resq.util import list_cores class Core(object, metaclass=Singleton): def __init__(self, name): self.name = name with open('/sys/devices/system/cpu/cpu%d/topology/physical_package_id' % name, 'r')...
28.306452
78
0.601709
227
1,755
4.497797
0.330396
0.070519
0.044074
0.03526
0.180215
0.152791
0.084231
0.084231
0.084231
0
0
0.001589
0.282621
1,755
61
79
28.770492
0.809373
0.024501
0
0
0
0
0.068421
0.033918
0
0
0
0
0
1
0.272727
false
0
0.045455
0.159091
0.522727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4b80c2634a106cf58f39692f3c3c3f20ba87a2d7
15,155
py
Python
tests/api/helpers/test_filtering.py
la-mar/sunstruck-api
90074a55d3b243f7f0eee6e897a98699d2cebc43
[ "MIT" ]
3
2021-04-04T07:48:48.000Z
2022-02-19T17:42:12.000Z
tests/api/helpers/test_filtering.py
la-mar/sunstruck-api
90074a55d3b243f7f0eee6e897a98699d2cebc43
[ "MIT" ]
null
null
null
tests/api/helpers/test_filtering.py
la-mar/sunstruck-api
90074a55d3b243f7f0eee6e897a98699d2cebc43
[ "MIT" ]
null
null
null
""" DataFrame output of parsing multiple queries: conjunctive field_name sep inverter operator value quoted unquoted 0 field : gte ...
99.052288
192
0.204223
903
15,155
3.376523
0.169435
0.025582
0.038373
0.076746
0.577894
0.491637
0.41325
0.402755
0.312562
0.268941
0
0.144737
0.719169
15,155
152
193
99.703947
0.571664
0.989574
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4b8f0d0e92f35b126c7122510e31fee2b19d667e
202
py
Python
build/plugins/lib/nots/package_manager/pnpm/__init__.py
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
build/plugins/lib/nots/package_manager/pnpm/__init__.py
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
build/plugins/lib/nots/package_manager/pnpm/__init__.py
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
from .lockfile import PnpmLockfile from .package_manager import PnpmPackageManager from .workspace import PnpmWorkspace __all__ = [ "PnpmLockfile", "PnpmPackageManager", "PnpmWorkspace", ]
20.2
47
0.767327
17
202
8.823529
0.588235
0
0
0
0
0
0
0
0
0
0
0
0.158416
202
9
48
22.444444
0.882353
0
0
0
0
0
0.212871
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4b9eabacf71a56e1a7ad5fd4df1bb901c42c01f3
208
py
Python
zvt/api/__init__.py
stone64/zvt
19360b3f29992bc759709adfa90e32843147a807
[ "MIT" ]
6
2020-09-03T10:02:00.000Z
2021-02-04T02:51:47.000Z
zvt/api/__init__.py
stone64/zvt
19360b3f29992bc759709adfa90e32843147a807
[ "MIT" ]
null
null
null
zvt/api/__init__.py
stone64/zvt
19360b3f29992bc759709adfa90e32843147a807
[ "MIT" ]
2
2020-07-08T04:15:40.000Z
2021-06-08T08:51:31.000Z
# -*- coding: utf-8 -*- import enum class AdjustType(enum.Enum): # 这里用拼音,因为英文不直观 split-adjusted?wtf? # 不复权 bfq = 'bfq' # 前复权 qfq = 'qfq' # 后复权 hfq = 'hfq' from .quote import *
13
39
0.543269
26
208
4.346154
0.769231
0
0
0
0
0
0
0
0
0
0
0.006897
0.302885
208
15
40
13.866667
0.772414
0.322115
0
0
0
0
0.066667
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4bac0fc0484954c8e47af40a59571c877a9197f4
2,010
py
Python
grAdapt/space/datatype/Float.py
mkduong-ai/grAdapt
94c2659b0f6ff9a2984a9dc58e3c83213313bf90
[ "Apache-2.0" ]
25
2020-11-13T05:57:01.000Z
2021-06-18T11:16:03.000Z
grAdapt/space/datatype/Float.py
mkduong-ai/grAdapt
94c2659b0f6ff9a2984a9dc58e3c83213313bf90
[ "Apache-2.0" ]
null
null
null
grAdapt/space/datatype/Float.py
mkduong-ai/grAdapt
94c2659b0f6ff9a2984a9dc58e3c83213313bf90
[ "Apache-2.0" ]
null
null
null
# Python Standard Libraries import numpy as np # grAdapt from .base import Datatype class Float(Datatype): """Float Datatype Only the low and upper bound are required to define a Float Datatype. >>> from grAdapt.space.datatype import Float >>> first_dim = Float(low=10.5, high=20) >>> bounds = [f...
24.216867
108
0.555224
239
2,010
4.531381
0.34728
0.041551
0.036011
0.029548
0.055402
0.055402
0.055402
0
0
0
0
0.007452
0.332338
2,010
82
109
24.512195
0.799553
0.280597
0
0.057143
0
0
0.107897
0
0
0
0
0
0
1
0.257143
false
0
0.057143
0.171429
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4bb47e9fd97127a4d3cd8ecb48cf14c1631b17c8
541
py
Python
creme/optim/losses/cauchy.py
Raul9595/creme
39cec7ac27ccd40ff0a7bdd6bceaf7ce25c1a8da
[ "BSD-3-Clause" ]
1
2020-07-27T03:06:46.000Z
2020-07-27T03:06:46.000Z
creme/optim/losses/cauchy.py
2torus/creme
bcc5e2a0155663a1f0ba779c68f23456695bcb54
[ "BSD-3-Clause" ]
null
null
null
creme/optim/losses/cauchy.py
2torus/creme
bcc5e2a0155663a1f0ba779c68f23456695bcb54
[ "BSD-3-Clause" ]
null
null
null
from . import base class CauchyLoss(base.RegressionLoss): """Cauchy loss function. References: 1. `Effect of MAE <https://www.kaggle.com/c/allstate-claims-severity/discussion/24520#140163>`_ 2. `Paris Madness <https://www.kaggle.com/raddar/paris-madness>`_ """ def __init__(self, C=8...
24.590909
103
0.617375
76
541
4.157895
0.539474
0.063291
0.088608
0.107595
0.088608
0
0
0
0
0
0
0.041565
0.243993
541
21
104
25.761905
0.731051
0.377079
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
29929f31776f1d6887d1799f42463633eabbe58a
93
py
Python
pycmp/grammar/__init__.py
aeroshev/CMP
f4366972dfd752833094920728e4ce11ee58feae
[ "MIT" ]
null
null
null
pycmp/grammar/__init__.py
aeroshev/CMP
f4366972dfd752833094920728e4ce11ee58feae
[ "MIT" ]
null
null
null
pycmp/grammar/__init__.py
aeroshev/CMP
f4366972dfd752833094920728e4ce11ee58feae
[ "MIT" ]
null
null
null
from .lexer import Lexer from .parser import Parser __all__ = ( "Lexer", "Parser" )
11.625
26
0.645161
11
93
5.090909
0.454545
0
0
0
0
0
0
0
0
0
0
0
0.247312
93
7
27
13.285714
0.8
0
0
0
0
0
0.11828
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
29adae5218c17e7f72cbda493451a0a61938dfb5
10,138
py
Python
unittests/testcmdline.py
hideki1234/pyhdemu
cfae5ad21a27a7b8c0f5b5b8aae045f4638ff4b7
[ "Apache-2.0" ]
3
2015-08-03T14:37:56.000Z
2020-09-16T06:21:32.000Z
unittests/testcmdline.py
hideki1234/pyhdemu
cfae5ad21a27a7b8c0f5b5b8aae045f4638ff4b7
[ "Apache-2.0" ]
null
null
null
unittests/testcmdline.py
hideki1234/pyhdemu
cfae5ad21a27a7b8c0f5b5b8aae045f4638ff4b7
[ "Apache-2.0" ]
2
2020-09-17T03:40:40.000Z
2020-09-17T03:40:54.000Z
''' Created on Oct 20, 2014 @author: Hideki Ikeda ''' import os import sys import random import unittest sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)), '..')) import hdemu as emu import hseexceptions as emuex def make_opt_list(list_of_list): opt_list = [ x for sublist in list_of_list f...
44.270742
116
0.648353
1,287
10,138
4.870241
0.115773
0.065093
0.087907
0.075941
0.761487
0.741385
0.707403
0.698468
0.698468
0.685386
0
0.003639
0.241073
10,138
228
117
44.464912
0.811022
0.059183
0
0.601227
0
0
0.14912
0
0
0
0
0.004386
0.325153
1
0.04908
false
0
0.03681
0
0.09816
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
29b254a6b11ac46659f53bcfff2a1ab5b5befd4f
581
py
Python
realism/metrics/volume_volatility_correlation.py
arinachison/abides
39356709ef5ee18be5f76b47ed90490865278a8b
[ "BSD-3-Clause" ]
196
2019-04-30T02:43:57.000Z
2022-03-29T04:40:47.000Z
realism/metrics/volume_volatility_correlation.py
arinachison/abides
39356709ef5ee18be5f76b47ed90490865278a8b
[ "BSD-3-Clause" ]
8
2020-04-23T14:54:57.000Z
2020-11-18T18:51:17.000Z
realism/metrics/volume_volatility_correlation.py
arinachison/abides
39356709ef5ee18be5f76b47ed90490865278a8b
[ "BSD-3-Clause" ]
103
2019-05-02T06:08:46.000Z
2022-03-23T19:39:13.000Z
from metrics.metric import Metric from metrics.minutely_returns import MinutelyReturns from scipy.stats import kurtosis import numpy as np class VolumeVolatilityCorrelation(Metric): def __init__(self, intervals=4): self.mr = MinutelyReturns() def compute(self, df): volatility = abs(np.array(...
30.578947
101
0.716007
70
581
5.871429
0.571429
0.053528
0
0
0
0
0
0
0
0
0
0.008333
0.173838
581
18
102
32.277778
0.847917
0
0
0
0
0
0.099828
0
0
0
0
0
0
1
0.230769
false
0
0.307692
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
29d21e5b57550f1be0975a862c0bbc96667d802c
7,960
py
Python
ci-scripts/dlrnapi_promoter/test_unit_fixtures.py
rdo-infra/ci-conf
619de7cfce62cd3f98c771ad3dd790765cb7a791
[ "Apache-2.0" ]
8
2016-10-06T13:24:04.000Z
2021-11-04T20:51:23.000Z
ci-scripts/dlrnapi_promoter/test_unit_fixtures.py
rdo-infra/ci-conf
619de7cfce62cd3f98c771ad3dd790765cb7a791
[ "Apache-2.0" ]
8
2020-02-26T20:11:29.000Z
2021-09-23T23:23:47.000Z
ci-scripts/dlrnapi_promoter/test_unit_fixtures.py
rdo-infra/ci-conf
619de7cfce62cd3f98c771ad3dd790765cb7a791
[ "Apache-2.0" ]
9
2016-04-08T14:38:06.000Z
2021-11-01T18:43:30.000Z
import os import shutil import unittest from config import PromoterConfigFactory from logic import Promoter try: # Python3 imports from unittest.mock import Mock except ImportError: # Python2 imports from mock import Mock # Passwordles ssh key SSH_CONTENT = """-----BEGIN RSA PRIVATE KEY----- MIIG5QIB...
46.27907
78
0.765578
576
7,960
10.329861
0.397569
0.034286
0.020168
0.016807
0.238151
0.153613
0.13042
0.078319
0.063193
0.063193
0
0.147121
0.166583
7,960
171
79
46.549708
0.749774
0.037437
0
0.16129
0
0
0.503266
0.452574
0
1
0
0
0
1
0.012903
false
0.006452
0.051613
0
0.070968
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
29dba4c83f391fa411b6b2b2c187e54249581fc8
23
py
Python
config.py
dung-n-tran/speech-enhancement-beamforming
b0db5e1bc88dfbec33a22abe96c911d6f6c77574
[ "MIT" ]
2
2019-04-14T06:13:55.000Z
2020-06-08T03:53:34.000Z
config.py
dung-n-tran/speech-enhancement-beamforming
b0db5e1bc88dfbec33a22abe96c911d6f6c77574
[ "MIT" ]
null
null
null
config.py
dung-n-tran/speech-enhancement-beamforming
b0db5e1bc88dfbec33a22abe96c911d6f6c77574
[ "MIT" ]
null
null
null
sound_speed = 340 # m/s
23
23
0.695652
5
23
3
1
0
0
0
0
0
0
0
0
0
0
0.157895
0.173913
23
1
23
23
0.631579
0.130435
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
29ed5f5c459bf462def776c0e62a90436f539edd
7,018
py
Python
jsondler/data_structures.py
loven-doo/jsondler
1466f022fc059a5a58e34dcc3ebddb76b5f82c5c
[ "BSD-3-Clause" ]
null
null
null
jsondler/data_structures.py
loven-doo/jsondler
1466f022fc059a5a58e34dcc3ebddb76b5f82c5c
[ "BSD-3-Clause" ]
null
null
null
jsondler/data_structures.py
loven-doo/jsondler
1466f022fc059a5a58e34dcc3ebddb76b5f82c5c
[ "BSD-3-Clause" ]
null
null
null
import os from collections import OrderedDict, Iterable import numpy as np import psutil from jsondler._lib.general_utils import generate_random_string from jsondler._lib.abstract_structures import AbstractDict, AbstractList class DataStructure(object): def __init__(self, seq, item_struct, item_block_s=100, lo...
28.528455
116
0.567113
854
7,018
4.310304
0.174473
0.078783
0.049443
0.027167
0.405325
0.345287
0.318663
0.318663
0.318663
0.295844
0
0.006104
0.346395
7,018
245
117
28.644898
0.796381
0.017954
0
0.425532
1
0
0.013645
0
0
0
0
0
0
1
0.212766
false
0.085106
0.031915
0.079787
0.393617
0.005319
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
4b114cc7c91876df622738687ab6e5367aa51628
603
py
Python
benchmarks/Evolution/both/executefeed1/one_choice.py
nuprl/retic_performance
621211c2f40251ce5364c33e72e4067e34a32013
[ "MIT" ]
3
2018-08-03T02:41:29.000Z
2021-03-19T03:18:47.000Z
benchmarks/Evolution/both/executefeed1/one_choice.py
nuprl/retic_performance
621211c2f40251ce5364c33e72e4067e34a32013
[ "MIT" ]
3
2018-02-04T17:53:56.000Z
2018-11-10T17:06:57.000Z
benchmarks/Evolution/both/executefeed1/one_choice.py
nuprl/retic_performance
621211c2f40251ce5364c33e72e4067e34a32013
[ "MIT" ]
1
2018-08-04T00:14:12.000Z
2018-08-04T00:14:12.000Z
from executefeed1.feed1result import Feed1Result class OneChoice(Feed1Result): def __init__(self, feeding_choice): """ :param feeding_choice: The evolution choice to be made :type feeding_choice: PlayerFeedingChoice :return: None """ self.feeding_choice = feeding_ch...
31.736842
81
0.693201
69
603
5.724638
0.492754
0.263291
0.172152
0.091139
0.116456
0
0
0
0
0
0
0.010753
0.228856
603
18
82
33.5
0.83871
0.182421
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
d9a1acda262c2c7f1331060020c3053b3bda0f90
345
py
Python
mundo3/D107.py
KayanOkagawa/Cursoemvideo-Python3-Exercicios
10c8386102cc0928f8f090070eb3218deb3d60fe
[ "MIT" ]
null
null
null
mundo3/D107.py
KayanOkagawa/Cursoemvideo-Python3-Exercicios
10c8386102cc0928f8f090070eb3218deb3d60fe
[ "MIT" ]
null
null
null
mundo3/D107.py
KayanOkagawa/Cursoemvideo-Python3-Exercicios
10c8386102cc0928f8f090070eb3218deb3d60fe
[ "MIT" ]
null
null
null
from utilidadecv.moeda import moeda print('MODULARIZAÇÃO') print('-=' * 30) preco = float(input('\nDigite o Valor: R$')) print(f'A Metade de {preco} é {moeda.metade(preco)}') print(f'O Dobro de {preco} é {moeda.dobro(preco)}') print(f'O Aumento de 10%, temos {moeda.aumentar(500, 10)}') print(f'Reduzindo 13%, temos {mo...
34.5
59
0.689855
56
345
4.25
0.5
0.10084
0.067227
0.109244
0
0
0
0
0
0
0
0.052288
0.113043
345
9
60
38.333333
0.72549
0
0
0
0
0
0.62029
0.06087
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.75
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d9acf7111bf2b98fff0b514ca8e01d15ac365467
30,894
py
Python
sparse_neighbors_search/neighbors/wtaHash.py
joachimwolff/sparse-neighbors-search
0a827108f975e6dcda55bcd2d68beb3b86f23bee
[ "MIT" ]
10
2015-07-28T07:17:02.000Z
2020-05-11T08:14:44.000Z
sparse_neighbors_search/neighbors/wtaHash.py
joachimwolff/minHashNearestNeighbors
0a827108f975e6dcda55bcd2d68beb3b86f23bee
[ "MIT" ]
null
null
null
sparse_neighbors_search/neighbors/wtaHash.py
joachimwolff/minHashNearestNeighbors
0a827108f975e6dcda55bcd2d68beb3b86f23bee
[ "MIT" ]
2
2016-08-11T14:00:05.000Z
2017-03-23T19:06:29.000Z
# Copyright 2016, 2017, 2018, 2019, 2020 Joachim Wolff # PhD Thesis # # Copyright 2015, 2016 Joachim Wolff # Master Thesis # Tutor: Fabrizio Costa # Winter semester 2015/2016 # # Chair of Bioinformatics # Department of Computer Science # Faculty of Engineering # Albert-Ludwigs-University Freiburg im Breisgau __author_...
59.872093
194
0.605652
3,685
30,894
4.968792
0.120217
0.031131
0.013763
0.014746
0.753086
0.722611
0.705298
0.686128
0.671109
0.658984
0
0.008285
0.335858
30,894
515
195
59.98835
0.884102
0.639186
0
0.255319
0
0
0.017533
0
0
0
0
0
0
1
0.159574
false
0
0.021277
0.021277
0.319149
0.010638
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d9afcb7dc8deedb61c96a68188a857c63c46cf93
4,623
py
Python
tests/treepath/test_pop.py
monkeydevtools/treepath-python
56f6cbf662f8a4c13f0c9e753a839fc9f6323dba
[ "Apache-2.0" ]
2
2021-05-26T08:26:25.000Z
2021-09-24T21:26:01.000Z
tests/treepath/test_pop.py
monkeydevtools/treepath-python
56f6cbf662f8a4c13f0c9e753a839fc9f6323dba
[ "Apache-2.0" ]
null
null
null
tests/treepath/test_pop.py
monkeydevtools/treepath-python
56f6cbf662f8a4c13f0c9e753a839fc9f6323dba
[ "Apache-2.0" ]
null
null
null
import pytest from treepath import path, pop, PopError, wc, has, MatchNotFoundError, pop_match, get_match from treepath.path.builder.path_builder import get_vertex_from_path_builder from treepath.path.traverser.match_traverser import MatchTraverser def test_set_a_to_1_invalid_type(): expected = "PopError(Invalid...
30.82
107
0.643738
646
4,623
4.386997
0.105263
0.093155
0.0988
0.110092
0.844742
0.774171
0.731828
0.677841
0.623853
0.568807
0
0.023526
0.218473
4,623
149
108
31.026846
0.760864
0
0
0.576271
0
0.008475
0.108371
0.009085
0
0
0
0
0.228814
1
0.127119
false
0
0.033898
0
0.161017
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d9ba0311089506997ebf3ae94dffcced9ff8f57e
161
py
Python
bank/debtor/api/urls.py
duahimanshu100/bank
1c70a473f3b7041a2178fc5c20a7b95233d28818
[ "MIT" ]
null
null
null
bank/debtor/api/urls.py
duahimanshu100/bank
1c70a473f3b7041a2178fc5c20a7b95233d28818
[ "MIT" ]
null
null
null
bank/debtor/api/urls.py
duahimanshu100/bank
1c70a473f3b7041a2178fc5c20a7b95233d28818
[ "MIT" ]
null
null
null
from django.urls import path from bank.debtor.api.views import DebtorListApi urlpatterns = [ path('', DebtorListApi.as_view(), name='api-debtor-list'), ]
17.888889
62
0.726708
21
161
5.52381
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.136646
161
8
63
20.125
0.834532
0
0
0
0
0
0.093168
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d9c95f033280957ced6357b77034c52367d36ae5
99
py
Python
login/apps/verifications/constants.py
LHW6688/login
03eda69cd6978077a221eb4755c07651c3b74305
[ "MIT" ]
1
2020-01-16T06:38:21.000Z
2020-01-16T06:38:21.000Z
login/apps/verifications/constants.py
LHW6688/login
03eda69cd6978077a221eb4755c07651c3b74305
[ "MIT" ]
null
null
null
login/apps/verifications/constants.py
LHW6688/login
03eda69cd6978077a221eb4755c07651c3b74305
[ "MIT" ]
null
null
null
# 图片验证码的有效时间: s IMAGE_CODE_REDIS_EXPIRES = 60 # 邮件验证码有效时间是2分钟 VERIFY_EMAIL_TOKEN_EXPIRES = 60 * 2
16.5
35
0.79798
14
99
5.214286
0.857143
0.246575
0
0
0
0
0
0
0
0
0
0.070588
0.141414
99
5
36
19.8
0.788235
0.272727
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d9d23fce879abd728ce02386395347416e09cf05
2,205
py
Python
server/venv/Lib/site-packages/jinja2/__init__.py
simpleSketche/Synchronization
7bd9ac795ace388d2456b19d4184c0439ae674bd
[ "MIT" ]
4
2021-10-19T10:26:47.000Z
2021-11-08T07:26:20.000Z
server/venv/Lib/site-packages/jinja2/__init__.py
simpleSketche/Synchronization
7bd9ac795ace388d2456b19d4184c0439ae674bd
[ "MIT" ]
31
2021-10-11T22:01:11.000Z
2021-12-06T22:40:12.000Z
server/venv/Lib/site-packages/jinja2/__init__.py
simpleSketche/Synchronization
7bd9ac795ace388d2456b19d4184c0439ae674bd
[ "MIT" ]
20
2021-11-07T13:55:56.000Z
2021-12-02T10:54:01.000Z
"""Jinja is a template engine written in pure Python. It provides a non-XML syntax that supports inline expressions and an optional sandboxed environment. """ from .bccache import BytecodeCache as BytecodeCache from .bccache import FileSystemBytecodeCache as FileSystemBytecodeCache from .bccache import MemcachedBytecod...
47.934783
72
0.864399
264
2,205
7.136364
0.284091
0.052548
0.08758
0.030255
0
0
0
0
0
0
0
0.001531
0.111565
2,205
45
73
49
0.960184
0.068481
0
0
0
0
0.002443
0
0
0
0
0
0.025
1
0
false
0.075
0.975
0
0.975
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
d9e1f6edb8aa93566ee945fd5009f308c12f0223
44,261
py
Python
gensrc/script/doris_builtins_functions.py
sdgshawn/incubator-doris
43be6b6dbc05f95f100dcdc3c93dc5ec54baea18
[ "Apache-2.0" ]
2
2020-06-30T04:17:07.000Z
2020-06-30T04:18:17.000Z
gensrc/script/doris_builtins_functions.py
ITzhangqiang/incubator-doris
d82d48da877f63a951cef83ddb44ec8adde9fe22
[ "Apache-2.0" ]
null
null
null
gensrc/script/doris_builtins_functions.py
ITzhangqiang/incubator-doris
d82d48da877f63a951cef83ddb44ec8adde9fe22
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Ver...
59.410738
134
0.711123
2,757
44,261
10.944505
0.234675
0.07238
0.034003
0.03397
0.205972
0.143004
0.138894
0.12471
0.117021
0.079638
0
0.070069
0.147466
44,261
744
135
59.490591
0.729581
0.056257
0
0.173502
0
0
0.707159
0.539006
0
0
0
0.001344
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d9f7ec06df2e0328f48a998397709710c409c348
3,196
py
Python
federatedml/framework/homo/procedure/paillier_cipher.py
bukexiusi/FATE
5c7e0dc4c108707872d37b871de86c911daaf793
[ "Apache-2.0" ]
32
2020-06-12T08:39:58.000Z
2022-03-20T06:57:08.000Z
federatedml/framework/homo/procedure/paillier_cipher.py
ErikSun2020/FATE
bdda535c7d8a974fc2c43102837964b7da199730
[ "Apache-2.0" ]
10
2020-11-13T18:55:48.000Z
2022-02-10T02:00:12.000Z
federatedml/framework/homo/procedure/paillier_cipher.py
ErikSun2020/FATE
bdda535c7d8a974fc2c43102837964b7da199730
[ "Apache-2.0" ]
16
2020-06-12T06:51:46.000Z
2022-03-29T10:23:42.000Z
# # Copyright 2019 The FATE Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
46.318841
118
0.753755
437
3,196
5.237986
0.30206
0.035387
0.042813
0.026212
0.381389
0.287025
0.222368
0.154216
0.154216
0.109218
0
0.00297
0.157071
3,196
68
119
47
0.846696
0.182728
0
0.162162
0
0
0
0
0
0
0
0
0
1
0.27027
false
0.054054
0.162162
0.081081
0.648649
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
8a196a274f02884bbaee4d42a08fe563beaa8a72
1,303
py
Python
kkanbu/notification/views.py
coding-kkanbu/teameet_backend
2af1c5fb3ed7f0c2d374afbdf53f318ecc6ae69d
[ "MIT" ]
1
2022-01-09T13:40:41.000Z
2022-01-09T13:40:41.000Z
kkanbu/notification/views.py
coding-kkanbu/teameet_backend
2af1c5fb3ed7f0c2d374afbdf53f318ecc6ae69d
[ "MIT" ]
33
2022-01-04T10:27:55.000Z
2022-03-31T10:32:53.000Z
kkanbu/notification/views.py
coding-kkanbu/teameet_backend
2af1c5fb3ed7f0c2d374afbdf53f318ecc6ae69d
[ "MIT" ]
null
null
null
from django.http import HttpResponseRedirect from rest_framework.decorators import action from rest_framework.mixins import ListModelMixin from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response from rest_framework.viewsets import GenericViewSet from .models import Notificat...
34.289474
81
0.739064
140
1,303
6.735714
0.507143
0.042418
0.090138
0
0
0
0
0
0
0
0
0.011364
0.189563
1,303
37
82
35.216216
0.881629
0.039908
0
0
0
0
0.022436
0
0
0
0
0.027027
0
1
0.103448
false
0
0.310345
0.034483
0.655172
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
8a1a915ee07a878a7b28d388af9e7c738f80c2c6
183
py
Python
tests/ui/test_config.py
UWNetworksLab/ufo-management-server-flask
a9efb83cfa3a5aa26bf3c4012ca0ef99b6e67829
[ "Apache-2.0" ]
null
null
null
tests/ui/test_config.py
UWNetworksLab/ufo-management-server-flask
a9efb83cfa3a5aa26bf3c4012ca0ef99b6e67829
[ "Apache-2.0" ]
null
null
null
tests/ui/test_config.py
UWNetworksLab/ufo-management-server-flask
a9efb83cfa3a5aa26bf3c4012ca0ef99b6e67829
[ "Apache-2.0" ]
null
null
null
"""Configs for the ui tests.""" # Hack to make the app directory to be visible here. import sys sys.path.append('../..') CHROME_DRIVER_LOCATION = '../../chrome_driver/chromedriver'
22.875
59
0.704918
26
183
4.846154
0.807692
0.190476
0
0
0
0
0
0
0
0
0
0
0.131148
183
7
60
26.142857
0.792453
0.420765
0
0
0
0
0.37
0.32
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8a26b56190cc04f45b5238fc7278cc51734d5b71
271
py
Python
atlas/foundations_rest_api/src/foundations_rest_api/global_state.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
296
2020-03-16T19:55:00.000Z
2022-01-10T19:46:05.000Z
atlas/foundations_rest_api/src/foundations_rest_api/global_state.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
57
2020-03-17T11:15:57.000Z
2021-07-10T14:42:27.000Z
atlas/foundations_rest_api/src/foundations_rest_api/global_state.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
38
2020-03-17T21:06:05.000Z
2022-02-08T03:19:34.000Z
from foundations_core_rest_api_components.global_state import app_manager from foundations_contrib.job_data_redis import JobDataRedis import redis import os redis_url = os.getenv('REDIS_URL', 'redis://localhost:6379') redis_connection = redis.Redis.from_url(redis_url)
30.111111
73
0.848708
40
271
5.4
0.55
0.111111
0
0
0
0
0
0
0
0
0
0.016
0.077491
271
9
74
30.111111
0.848
0
0
0
0
0
0.114391
0.081181
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8a3307a70b008332dc47e1271950c269ad6d5f3a
1,247
py
Python
setup.py
nrollet/qpaieexport
04ac19b1f874edf1e8ede51bb376656139e83f55
[ "MIT" ]
null
null
null
setup.py
nrollet/qpaieexport
04ac19b1f874edf1e8ede51bb376656139e83f55
[ "MIT" ]
null
null
null
setup.py
nrollet/qpaieexport
04ac19b1f874edf1e8ede51bb376656139e83f55
[ "MIT" ]
null
null
null
import io import os import re from setuptools import find_packages from setuptools import setup def read(filename): filename = os.path.join(os.path.dirname(__file__), filename) text_type = type(u"") with io.open(filename, mode="r", encoding='utf-8') as fd: return re.sub(text_type(r':[a-z]+:`~?(.*...
27.711111
87
0.617482
146
1,247
5.191781
0.541096
0.200528
0.263852
0.171504
0
0
0
0
0
0
0
0.018462
0.218124
1,247
44
88
28.340909
0.758974
0
0
0
0
0
0.435445
0
0
0
0
0
0
1
0.029412
false
0
0.147059
0
0.205882
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8a439e10ffb16afc40f05c80fc528caf31783f11
1,657
py
Python
pypy/rlib/unroll.py
camillobruni/pygirl
ddbd442d53061d6ff4af831c1eab153bcc771b5a
[ "MIT" ]
12
2016-01-06T07:10:28.000Z
2021-05-13T23:02:02.000Z
pypy/rlib/unroll.py
woodrow/pyoac
b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7
[ "MIT" ]
null
null
null
pypy/rlib/unroll.py
woodrow/pyoac
b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7
[ "MIT" ]
2
2016-07-29T07:09:50.000Z
2016-10-16T08:50:26.000Z
from pypy.tool.uid import uid # Support for explicit specialization: in code using global constants # that are instances of SpecTag, code paths are not merged when # the same variable holds a different SpecTag instance. class SpecTag(object): __slots__ = () def __repr__(self): return '%s(0x%x)' %...
24.731343
69
0.656608
211
1,657
4.445498
0.402844
0.067164
0.063966
0.076759
0.095949
0.095949
0
0
0
0
0
0.003987
0.243211
1,657
66
70
25.106061
0.744019
0.293301
0
0
0
0
0.006903
0
0
0
0
0
0
1
0.294118
false
0
0.029412
0.205882
0.735294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8a487399b73a0b78fc49eb4887b00a0ef6dc873c
295
py
Python
mbed_targets/mbed_tools.py
ARMmbed/mbed-targets
47493250ede6f10be975ab500f78d5806004c59c
[ "Apache-2.0" ]
3
2019-12-20T16:17:46.000Z
2020-02-06T17:34:25.000Z
mbed_targets/mbed_tools.py
ARMmbed/mbed-targets
47493250ede6f10be975ab500f78d5806004c59c
[ "Apache-2.0" ]
140
2020-01-10T19:01:06.000Z
2020-07-16T14:34:42.000Z
mbed_targets/mbed_tools.py
ARMmbed/mbed-targets
47493250ede6f10be975ab500f78d5806004c59c
[ "Apache-2.0" ]
2
2020-01-23T15:59:42.000Z
2020-01-24T12:08:02.000Z
# # Copyright (C) 2020 Arm Mbed. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # """Integration with https://github.com/ARMmbed/mbed-tools.""" import pdoc from mbed_targets.env import Env env_variables = pdoc.Class("Env", pdoc.Module("mbed_targets.env"), Env).instance_variables()
29.5
92
0.749153
43
295
5.046512
0.697674
0.101382
0.129032
0
0
0
0
0
0
0
0
0.022556
0.098305
295
9
93
32.777778
0.793233
0.481356
0
0
0
0
0.131944
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8a6e59d04a9175a9a834877577c011db2466247b
1,476
py
Python
setup.py
imankarimi/django-log-reader
9845b53c998f0264c0c1422ef638398f4e465e49
[ "MIT" ]
12
2021-11-02T10:21:49.000Z
2021-12-16T07:07:59.000Z
setup.py
imankarimi/django-log-reader
9845b53c998f0264c0c1422ef638398f4e465e49
[ "MIT" ]
null
null
null
setup.py
imankarimi/django-log-reader
9845b53c998f0264c0c1422ef638398f4e465e49
[ "MIT" ]
null
null
null
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-log-reader', version='1.1.5', zip_safe=False, ...
34.325581
78
0.626694
167
1,476
5.431138
0.48503
0.209482
0.275634
0.200662
0.094818
0
0
0
0
0
0
0.020105
0.224932
1,476
42
79
35.142857
0.772727
0
0
0.052632
0
0
0.506098
0.016938
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8a7b1f8a5263ddfe9a0ea42cfcc3a8928b394d21
592
py
Python
tests/source_helper.py
kiddinn/l2tdevtools
0e55b449a5fc19dbab68980df47d9073b7f0618c
[ "Apache-2.0" ]
null
null
null
tests/source_helper.py
kiddinn/l2tdevtools
0e55b449a5fc19dbab68980df47d9073b7f0618c
[ "Apache-2.0" ]
null
null
null
tests/source_helper.py
kiddinn/l2tdevtools
0e55b449a5fc19dbab68980df47d9073b7f0618c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for the elper for managing project source code.""" from __future__ import unicode_literals import unittest from l2tdevtools import source_helper from tests import test_lib class SourceHelperTest(test_lib.BaseTestCase): """Tests for the helper to manager pro...
21.142857
67
0.741554
75
592
5.52
0.586667
0.115942
0.05314
0
0
0
0
0
0
0
0
0.003984
0.152027
592
27
68
21.925926
0.820717
0.329392
0
0
0
0
0.031662
0
0
0
0
0.037037
0.1
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
8a833ef738f7a490b829db5a679df02912066aee
33,625
py
Python
pytests/tuqquery/tuq_advancedcbqshell.py
couchbaselabs/testrunner-bharath
96af90070da2140cc11c549db7403f5ea3b76d34
[ "Apache-2.0" ]
null
null
null
pytests/tuqquery/tuq_advancedcbqshell.py
couchbaselabs/testrunner-bharath
96af90070da2140cc11c549db7403f5ea3b76d34
[ "Apache-2.0" ]
null
null
null
pytests/tuqquery/tuq_advancedcbqshell.py
couchbaselabs/testrunner-bharath
96af90070da2140cc11c549db7403f5ea3b76d34
[ "Apache-2.0" ]
null
null
null
import paramiko from membase.api.rest_client import RestConnection import testconstants import time import json import logger import os from subprocess import Popen, PIPE from remote.remote_util import RemoteMachineShellConnection from .tuq import QueryTests import re log = logger.Logger.get_logger() class AdvancedQ...
61.247723
354
0.54171
3,555
33,625
5.04135
0.100422
0.061098
0.085537
0.056467
0.768608
0.725756
0.690939
0.664379
0.641781
0.604397
0
0.019485
0.30858
33,625
548
355
61.359489
0.751387
0.032297
0
0.533333
0
0.024444
0.28615
0.014824
0
0
0
0
0.137778
1
0.048889
false
0.135556
0.024444
0
0.075556
0.008889
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
8a98534050e1b5e3f59d95bb3121c80221cdddee
4,880
py
Python
riko/modules/geolocate.py
SpyHello/riko-py-stream
b52e35f3883596a8eac5b2d5be86dcc766dd0a88
[ "MIT" ]
null
null
null
riko/modules/geolocate.py
SpyHello/riko-py-stream
b52e35f3883596a8eac5b2d5be86dcc766dd0a88
[ "MIT" ]
null
null
null
riko/modules/geolocate.py
SpyHello/riko-py-stream
b52e35f3883596a8eac5b2d5be86dcc766dd0a88
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # vim: sw=4:ts=4:expandtab """ riko.modules.geolocate ~~~~~~~~~~~~~~~~~~~~~~ Provides functions for obtaining the geo location of an ip address, street address, currency code, or lat/lon coordinates. Examples: basic usage:: >>> from riko.modules.geolocate import pipe >>> ...
32.105263
80
0.591189
527
4,880
5.43074
0.326376
0.022013
0.01782
0.020964
0.383648
0.34102
0.34102
0.317261
0.301188
0.301188
0
0.002525
0.269672
4,880
151
81
32.317881
0.800505
0.81168
0
0
0
0
0.078287
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8ab4bea2ff78dd0e2d83bc40cb84fc7cb95da3b5
151
py
Python
Python/100Excersises/.history/51 to 75/73/73_20201119125639.py
magusikrak/NAMI-TERM-I-GroupWork
f0a9a5f219ccbec024eb5316361db3fca46e171c
[ "MIT" ]
null
null
null
Python/100Excersises/.history/51 to 75/73/73_20201119125639.py
magusikrak/NAMI-TERM-I-GroupWork
f0a9a5f219ccbec024eb5316361db3fca46e171c
[ "MIT" ]
1
2021-07-24T03:18:30.000Z
2021-07-24T12:45:07.000Z
Python/100Excersises/.history/51 to 75/73/73_20201119125639.py
sugamkarki/NAMI-Year-II-TERM-I-Group_Project
f0a9a5f219ccbec024eb5316361db3fca46e171c
[ "MIT" ]
null
null
null
import pandas data = pandas.read_csv("http://www.pythonhow.com/data/sampledata.txt") data_2 = data * 2 data_2.to_csv("sampledata_x_2.txt", index=None)
30.2
70
0.761589
27
151
4.037037
0.592593
0.137615
0.165138
0.183486
0
0
0
0
0
0
0
0.028777
0.07947
151
5
71
30.2
0.755396
0
0
0
0
0
0.407895
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8ab979333e41a5b25972c9c9b1964b03f47eb3f6
5,691
py
Python
python/pyspark/pandas/tests/data_type_ops/test_null_ops.py
asranasinghe/spark
6eee25b2d587016acdc49966510b50edc42053f5
[ "BSD-2-Clause", "Apache-2.0", "CC0-1.0", "MIT", "MIT-0", "ECL-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-04-29T01:14:15.000Z
2021-12-04T07:08:38.000Z
python/pyspark/pandas/tests/data_type_ops/test_null_ops.py
asranasinghe/spark
6eee25b2d587016acdc49966510b50edc42053f5
[ "BSD-2-Clause", "Apache-2.0", "CC0-1.0", "MIT", "MIT-0", "ECL-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
7
2016-02-18T20:17:59.000Z
2021-12-20T04:02:50.000Z
python/pyspark/pandas/tests/data_type_ops/test_null_ops.py
asranasinghe/spark
6eee25b2d587016acdc49966510b50edc42053f5
[ "BSD-2-Clause", "Apache-2.0", "CC0-1.0", "MIT", "MIT-0", "ECL-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2017-03-04T15:26:52.000Z
2021-12-17T17:42:52.000Z
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
37.94
87
0.676858
719
5,691
5.251739
0.215577
0.085805
0.225106
0.279131
0.570445
0.546081
0.546081
0.528602
0.528602
0.51589
0
0.005844
0.218239
5,691
149
88
38.194631
0.842886
0.137586
0
0.16
0
0
0.048681
0.037226
0
0
0
0
0.41
1
0.19
false
0
0.1
0.02
0.32
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
1
0
0
0
0
0
0
0
0
0
3
76e2fb60be82956f796bc118b8fcce2f11187e2b
2,488
py
Python
aliyun-python-sdk-cloudwf/aliyunsdkcloudwf/request/v20170328/SaveApPortalConfigRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
1,001
2015-07-24T01:32:41.000Z
2022-03-25T01:28:18.000Z
aliyun-python-sdk-cloudwf/aliyunsdkcloudwf/request/v20170328/SaveApPortalConfigRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
363
2015-10-20T03:15:00.000Z
2022-03-08T12:26:19.000Z
aliyun-python-sdk-cloudwf/aliyunsdkcloudwf/request/v20170328/SaveApPortalConfigRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
682
2015-09-22T07:19:02.000Z
2022-03-22T09:51:46.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
31.897436
85
0.758039
338
2,488
5.39645
0.304734
0.029605
0.069079
0.083882
0.152961
0.152961
0.152961
0
0
0
0
0.005594
0.137862
2,488
78
86
31.897436
0.844755
0.303055
0
0
0
0
0.123947
0
0
0
0
0
0
1
0.475
false
0
0.025
0.225
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
76f3369e0f331ffb7423e13f229b6aaef6d2d365
2,914
py
Python
mcl/g1.py
Fadion96/mcl-python
6074a2173201f5feb9e010709bac2e50333058fd
[ "MIT" ]
null
null
null
mcl/g1.py
Fadion96/mcl-python
6074a2173201f5feb9e010709bac2e50333058fd
[ "MIT" ]
null
null
null
mcl/g1.py
Fadion96/mcl-python
6074a2173201f5feb9e010709bac2e50333058fd
[ "MIT" ]
1
2020-10-16T08:00:00.000Z
2020-10-16T08:00:00.000Z
from __future__ import annotations from .lib import mcl from .consts import G1_SIZE from .fr import Fr from typing import Optional import ctypes class G1(ctypes.Structure): _fields_ = [("v", ctypes.c_ulonglong * G1_SIZE)] def __init__(self, s: Optional[str]=None) -> None: if isinstance(s, str): ...
29.434343
129
0.617021
385
2,914
4.45974
0.187013
0.140944
0.096098
0.102504
0.414677
0.361677
0.278975
0.252766
0.222481
0.222481
0
0.134801
0.251544
2,914
99
130
29.434343
0.652453
0
0
0.202703
0
0
0.000343
0
0
0
0
0
0
1
0.283784
false
0
0.081081
0.135135
0.662162
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
76f7cb617cfddba8fa3eeea834aeb29a1f21e911
327
py
Python
optimizer.py
AliRzvn/HW1
d6420c1656800372aae78e18327612df540b674e
[ "MIT" ]
null
null
null
optimizer.py
AliRzvn/HW1
d6420c1656800372aae78e18327612df540b674e
[ "MIT" ]
null
null
null
optimizer.py
AliRzvn/HW1
d6420c1656800372aae78e18327612df540b674e
[ "MIT" ]
null
null
null
""" this class is implemented for you. you don't need to change anything! """ class Optimizer: def __init__(self, learning_rate=1e-3): self.learning_rate = learning_rate self.iteration_number = 1 def update(self, layer): pass def next_iteration(self): self.iteration_numbe...
20.4375
69
0.657492
44
327
4.659091
0.613636
0.17561
0.156098
0.195122
0
0
0
0
0
0
0
0.016327
0.250765
327
15
70
21.8
0.820408
0.211009
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0.125
0
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
0a0206fb742e20f441f83733602ed578812b22ca
325
py
Python
src/shortener/management/commands/refreshcodes.py
AnmolMoza/Project-Engage
41d35c215f3a92cc8952a8fe0b5ba7dee44f3d4e
[ "bzip2-1.0.6" ]
null
null
null
src/shortener/management/commands/refreshcodes.py
AnmolMoza/Project-Engage
41d35c215f3a92cc8952a8fe0b5ba7dee44f3d4e
[ "bzip2-1.0.6" ]
null
null
null
src/shortener/management/commands/refreshcodes.py
AnmolMoza/Project-Engage
41d35c215f3a92cc8952a8fe0b5ba7dee44f3d4e
[ "bzip2-1.0.6" ]
null
null
null
from django.core.management.base import BaseCommand, CommandError #This file has custom Management commands from shortener.models import ShorURL class Command(BaseCommand): help = 'Refreshes all ShorURL shortcodes' def handle(self, *args, **options): return ShorURL.objects.refresh_shortcode() ...
27.083333
65
0.741538
37
325
6.486486
0.837838
0
0
0
0
0
0
0
0
0
0
0
0.184615
325
12
66
27.083333
0.90566
0.123077
0
0
0
0
0.112281
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
0a2e0e5fce3760010649af180ec365b7d4bab305
1,660
py
Python
appCore/apps/replica/contrib/micro/feeds.py
jadedgamer/alifewellplayed.com
b7b3dee8d3b9526c7cfe77078570a29394ef7e76
[ "MIT" ]
4
2017-04-22T11:03:01.000Z
2018-01-16T22:28:15.000Z
appCore/apps/replica/contrib/micro/feeds.py
alifewellplayed/alifewellplayed.com
b7b3dee8d3b9526c7cfe77078570a29394ef7e76
[ "MIT" ]
10
2017-04-06T19:54:42.000Z
2017-11-07T06:53:10.000Z
appCore/apps/replica/contrib/micro/feeds.py
alifewellplayed/alifewellplayed.com
b7b3dee8d3b9526c7cfe77078570a29394ef7e76
[ "MIT" ]
1
2017-12-14T12:49:40.000Z
2017-12-14T12:49:40.000Z
from __future__ import absolute_import from django.contrib.syndication.views import Feed from django.shortcuts import get_object_or_404 from django.conf import settings from .models import Timeline, Note class PublicFeed(Feed): title = 'Notes' link = '/feeds/public/' description = 'All public updates.' ...
30.740741
90
0.674096
219
1,660
4.940639
0.287671
0.099815
0.050832
0.064695
0.504621
0.504621
0.462107
0.419593
0.419593
0.383549
0
0.017477
0.207229
1,660
53
91
31.320755
0.804711
0
0
0.325
0
0
0.106024
0
0
0
0
0
0
1
0.225
false
0
0.125
0.125
0.825
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0a6762c2eb71986b0b0cd2d7dd7dafdcf54c2d38
839
py
Python
app/models.py
pujanm/Investo.AI
9524bd9bfb1f7ce5129473a8d7f7b129174a673d
[ "MIT" ]
1
2019-03-04T09:09:40.000Z
2019-03-04T09:09:40.000Z
app/models.py
pujanm/Investo.AI
9524bd9bfb1f7ce5129473a8d7f7b129174a673d
[ "MIT" ]
8
2021-03-31T20:17:41.000Z
2022-03-12T00:53:29.000Z
app/models.py
pujanm/Investo.AI
9524bd9bfb1f7ce5129473a8d7f7b129174a673d
[ "MIT" ]
2
2020-04-15T14:57:03.000Z
2021-07-04T15:50:21.000Z
from django.db import models # Create your models here. class Client(models.Model): name = models.CharField(max_length=100) monthly_budget = models.CharField(max_length=10) monthly_income = models.CharField(max_length=10) # Risk Facts r1 = models.IntegerField(default=1) r2 = models.IntegerFie...
29.964286
67
0.721097
110
839
5.363636
0.409091
0.213559
0.183051
0.244068
0.301695
0.122034
0.122034
0
0
0
0
0.04329
0.174017
839
27
68
31.074074
0.808081
0.085816
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0.058824
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0a6c081ede96105954301518306fcfd2890c2fc3
145
py
Python
slim/base/types/inner_interface_name.py
fy0/mapi
cfdb16ea2365b229b6d0aceb6cb83f45cdb78094
[ "Zlib" ]
50
2017-09-18T07:56:14.000Z
2022-02-02T18:47:02.000Z
slim/base/types/inner_interface_name.py
fy0/mapi
cfdb16ea2365b229b6d0aceb6cb83f45cdb78094
[ "Zlib" ]
12
2018-12-19T10:44:18.000Z
2020-09-10T06:53:24.000Z
slim/base/types/inner_interface_name.py
fy0/mapi
cfdb16ea2365b229b6d0aceb6cb83f45cdb78094
[ "Zlib" ]
19
2017-09-18T07:56:16.000Z
2020-11-27T07:11:12.000Z
class BuiltinInterface: GET = 'get' LIST = 'list' SET = 'set' NEW = 'new' BULK_INSERT = 'bulk_insert' DELETE = 'delete'
16.111111
31
0.558621
16
145
4.9375
0.5625
0.253165
0
0
0
0
0
0
0
0
0
0
0.310345
145
8
32
18.125
0.79
0
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0
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
0
0
0
0
0
0
0
3
0a6e3355d40eada2603b40d6e581aa3dfaaf6886
5,333
py
Python
csrank/objectranking/fate_object_ranker.py
helegraf/cs-ranking
a635d59a254e7d4cad06c3e04f7593392e0b9cec
[ "Apache-2.0" ]
null
null
null
csrank/objectranking/fate_object_ranker.py
helegraf/cs-ranking
a635d59a254e7d4cad06c3e04f7593392e0b9cec
[ "Apache-2.0" ]
null
null
null
csrank/objectranking/fate_object_ranker.py
helegraf/cs-ranking
a635d59a254e7d4cad06c3e04f7593392e0b9cec
[ "Apache-2.0" ]
null
null
null
import logging from keras.optimizers import SGD from keras.regularizers import l2 from csrank.core.fate_network import FATENetwork from csrank.losses import hinged_rank_loss from csrank.metrics import zero_one_rank_loss_for_scores_ties from csrank.objectranking.object_ranker import ObjectRanker class FATEObjectRank...
50.790476
120
0.638852
669
5,333
4.820628
0.278027
0.060775
0.043411
0.034729
0.226357
0.213023
0.155039
0.08186
0.08186
0.042791
0
0.008303
0.27733
5,333
104
121
51.278846
0.82849
0.362085
0
0
0
0
0.010927
0
0
0
0
0
0
1
0.214286
false
0
0.166667
0.119048
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0a70c264c6b8a83e144e25c6392d5f584a603cf7
648
py
Python
conduit/profile/serializers.py
jacksono/flask-realworld-example-app
b49f3014f98c8a62ab2ba079b8e8dd11e96180a2
[ "MIT" ]
2
2019-07-06T08:08:03.000Z
2019-07-06T08:08:27.000Z
conduit/profile/serializers.py
jacksono/flask-realworld-example-app
b49f3014f98c8a62ab2ba079b8e8dd11e96180a2
[ "MIT" ]
4
2019-02-26T23:13:12.000Z
2020-10-14T18:53:52.000Z
conduit/profile/serializers.py
jacksono/flask-realworld-example-app
b49f3014f98c8a62ab2ba079b8e8dd11e96180a2
[ "MIT" ]
3
2019-02-26T23:20:56.000Z
2020-10-08T08:46:03.000Z
from marshmallow import Schema, fields, pre_load, post_dump class ProfileSchema(Schema): username = fields.Str() email = fields.Email() password = fields.Str(load_only=True) bio = fields.Str() image = fields.Url() following = fields.Boolean() # ugly hack. profile = fields.Nested('self'...
23.142857
87
0.658951
78
648
5.346154
0.487179
0.064748
0.057554
0.086331
0
0
0
0
0
0
0
0
0.220679
648
27
88
24
0.825743
0.015432
0
0
0
0
0.039308
0
0
0
0
0
0
1
0.105263
false
0.052632
0.052632
0.105263
0.736842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
6a55932dc579004d7e0ff8919df916c79f15b0a4
356
py
Python
sqldoc/parser/parser.py
korhner/sqldoc
74cc10c027fab9142a9db12cec9ec5f1fc93be9e
[ "MIT" ]
null
null
null
sqldoc/parser/parser.py
korhner/sqldoc
74cc10c027fab9142a9db12cec9ec5f1fc93be9e
[ "MIT" ]
null
null
null
sqldoc/parser/parser.py
korhner/sqldoc
74cc10c027fab9142a9db12cec9ec5f1fc93be9e
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod class Parser(metaclass=ABCMeta): def __init__(self, configuration): self.configuration = configuration self.validate_configuration() @abstractmethod def validate_configuration(self): pass @abstractmethod def build_database_metadata...
20.941176
53
0.710674
34
356
7.176471
0.529412
0.209016
0
0
0
0
0
0
0
0
0
0
0.224719
356
16
54
22.25
0.884058
0
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.181818
0.090909
0
0.454545
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
6a800fe9f4a127de41798818e36699e79cd746f8
480
py
Python
constel/admin.py
mequetrefe-do-subtroco/web_constel
57b5626fb17b4fefc740cbe1ac95fd4ab90147bc
[ "MIT" ]
1
2020-06-18T09:03:53.000Z
2020-06-18T09:03:53.000Z
constel/admin.py
gabrielhjs/web_constel
57b5626fb17b4fefc740cbe1ac95fd4ab90147bc
[ "MIT" ]
33
2020-06-16T18:59:33.000Z
2021-08-12T21:33:17.000Z
constel/admin.py
gabrielhjs/web_constel
57b5626fb17b4fefc740cbe1ac95fd4ab90147bc
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import UserType, Veiculo class AdminVeiculo(admin.ModelAdmin): search_fields = ('modelo', 'placa', 'user__username', 'user__first_name',) list_display = ('user', 'modelo', 'placa', 'cor',) class AdminUserType(admin.ModelAdmin): search_fields = ('user__usern...
26.666667
78
0.73125
55
480
6.109091
0.490909
0.089286
0.125
0.160714
0.238095
0.238095
0.238095
0.238095
0
0
0
0
0.125
480
17
79
28.235294
0.8
0
0
0
0
0
0.214583
0
0
0
0
0
0
1
0
false
0.1
0.2
0
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
6a8b1c8bc5c71c0400e45f6ddfefc63b3fbbef02
4,566
py
Python
test/test_hist.py
pymonger/asciiplotlib
9323cf2f8cebd4204adeee4a8e26f2a6fd7c3956
[ "MIT" ]
null
null
null
test/test_hist.py
pymonger/asciiplotlib
9323cf2f8cebd4204adeee4a8e26f2a6fd7c3956
[ "MIT" ]
null
null
null
test/test_hist.py
pymonger/asciiplotlib
9323cf2f8cebd4204adeee4a8e26f2a6fd7c3956
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # import sys import numpy import pytest import asciiplotlib as apl @pytest.mark.skipif( sys.stdout.encoding not in ["UTF-8", "UTF8"], reason="Need UTF-8 terminal (not {})".format(sys.stdout.encoding), ) def test_horizontal(): numpy.random.seed(123) sample = numpy.random.norma...
23.78125
75
0.432326
534
4,566
4.516854
0.224719
0.054726
0.069652
0.057214
0.721393
0.710199
0.710199
0.588308
0.570066
0.56675
0
0.091882
0.263469
4,566
191
76
23.905759
0.482605
0.017083
0
0.509317
0
0
0.444767
0.09663
0
0
0
0
0.037267
1
0.037267
false
0
0.024845
0
0.099379
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6a8d04a7cddec9035cf60f534770fa63893df25a
238
py
Python
launcher/commands/__init__.py
guynir42/fritz
6f155e4a115155d06884a3eb6426bc732f6d3461
[ "BSD-3-Clause" ]
12
2020-03-04T21:30:42.000Z
2021-07-14T21:39:09.000Z
launcher/commands/__init__.py
guynir42/fritz
6f155e4a115155d06884a3eb6426bc732f6d3461
[ "BSD-3-Clause" ]
232
2020-03-18T10:18:04.000Z
2022-03-31T03:53:58.000Z
launcher/commands/__init__.py
guynir42/fritz
6f155e4a115155d06884a3eb6426bc732f6d3461
[ "BSD-3-Clause" ]
23
2020-02-13T20:30:33.000Z
2022-03-16T16:18:25.000Z
from .build import build from .develop import develop from .doc import doc from .lint import lint from .log import log from .prune import prune from .run import run from .stop import stop from .test import test from .update import update
21.636364
28
0.789916
40
238
4.7
0.3
0
0
0
0
0
0
0
0
0
0
0
0.168067
238
10
29
23.8
0.949495
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
6a9d031c995e90c9603b7a7968f570abd9d60f78
177
py
Python
build/lib/my_lambdata/hello.py
macrotentional/lambdata
8002f2c890abc194e30bf02fb0c50ef5df7ef923
[ "MIT" ]
null
null
null
build/lib/my_lambdata/hello.py
macrotentional/lambdata
8002f2c890abc194e30bf02fb0c50ef5df7ef923
[ "MIT" ]
null
null
null
build/lib/my_lambdata/hello.py
macrotentional/lambdata
8002f2c890abc194e30bf02fb0c50ef5df7ef923
[ "MIT" ]
null
null
null
from pandas import DataFrame from my_lambdata.my_mod import enlarge print("HELLO") print(enlarge(8)) df = DataFrame({"state": ["CT", "CO", "CA", "TX"]}) print(df.head())
12.642857
51
0.661017
26
177
4.423077
0.692308
0
0
0
0
0
0
0
0
0
0
0.006579
0.141243
177
13
52
13.615385
0.75
0
0
0
0
0
0.102857
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
3
6aa9ad2602957fc22ac070b67ec553dd76d9d695
766
py
Python
utils/mysql_conn_pool/__init__.py
dingp-git/tj_data
8f127c2ccc6700b15ad2e538743241cc54bc83e5
[ "Apache-2.0" ]
null
null
null
utils/mysql_conn_pool/__init__.py
dingp-git/tj_data
8f127c2ccc6700b15ad2e538743241cc54bc83e5
[ "Apache-2.0" ]
null
null
null
utils/mysql_conn_pool/__init__.py
dingp-git/tj_data
8f127c2ccc6700b15ad2e538743241cc54bc83e5
[ "Apache-2.0" ]
null
null
null
# @Copyright(C), OldFive, 2020. # @Date : 2021/3/11 0011 13:31:44 # @Author : OldFive # @Version : 0.1 # @Description : # @History : # @Other: # ▒█████ ██▓ ▓█████▄ █████▒██▓ ██▒ █▓▓█████ # ▒██▒ ██▒▓██▒ ▒██▀ ██▌▓██ ▒▓██▒▓██░ █▒▓█ ▀ # ▒██░ ██▒▒██░ ░██ █▌▒████ ░▒██▒ ▓██ █▒░▒███ # ▒██ ██░▒██░ ...
27.357143
54
0.194517
122
766
3.336066
0.54918
0.127764
0.140049
0.157248
0.093366
0.081081
0.081081
0.081081
0.029484
0.029484
0
0.050328
0.403394
766
27
55
28.37037
0.275711
0.928198
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6ad414ff151cc1b80ee5dcfe206b98f05261dd26
319
py
Python
professors/views.py
vpalmerini/unicamp-api
aa8a140f8f6830264ba9ff06e3398ec28632105c
[ "MIT" ]
null
null
null
professors/views.py
vpalmerini/unicamp-api
aa8a140f8f6830264ba9ff06e3398ec28632105c
[ "MIT" ]
9
2019-12-04T23:47:52.000Z
2021-06-10T18:29:32.000Z
professors/views.py
vpalmerini/unicamp-api
aa8a140f8f6830264ba9ff06e3398ec28632105c
[ "MIT" ]
null
null
null
from rest_framework import viewsets from .models import Professor from . import serializers from rest_framework_extensions.mixins import NestedViewSetMixin class ProfessorViewSet(NestedViewSetMixin, viewsets.ModelViewSet): queryset = Professor.objects.all() serializer_class = serializers.ProfessorSerializer
31.9
66
0.84326
32
319
8.28125
0.59375
0.060377
0.128302
0
0
0
0
0
0
0
0
0
0.109718
319
9
67
35.444444
0.933099
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6ae500de882187f4ce3206309e0da224442bf39c
122
py
Python
anyrl-py/anyrl/tests/__init__.py
flyyufelix/sonic_contest
bba80d7049fc1586a42c05905bae75c271657761
[ "MIT" ]
32
2018-06-14T01:53:12.000Z
2022-03-22T06:53:22.000Z
anyrl-py/anyrl/tests/__init__.py
flyyufelix/sonic_contest
bba80d7049fc1586a42c05905bae75c271657761
[ "MIT" ]
1
2018-07-24T17:14:41.000Z
2018-07-24T17:14:41.000Z
anyrl-py/anyrl/tests/__init__.py
flyyufelix/sonic_contest
bba80d7049fc1586a42c05905bae75c271657761
[ "MIT" ]
10
2018-08-28T12:28:26.000Z
2019-07-18T02:23:44.000Z
""" Facilities for testing RL-related code. """ from .util import SimpleEnv, SimpleModel, TupleCartPole __all__ = dir()
15.25
55
0.737705
14
122
6.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.147541
122
7
56
17.428571
0.826923
0.319672
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0a73cf1986835d27fe086a8a08455ac00358d891
59
py
Python
mmdet/models/detectors/__init__.py
limbo0000/InstanceLoc
a419bb6d27d05f5224a734a91a9f366ed815c1e1
[ "Apache-2.0" ]
120
2021-02-16T12:06:05.000Z
2022-03-30T03:38:37.000Z
mmdet/models/detectors/__init__.py
limbo0000/InstanceLoc
a419bb6d27d05f5224a734a91a9f366ed815c1e1
[ "Apache-2.0" ]
19
2021-02-22T12:52:31.000Z
2022-03-07T12:04:03.000Z
mmdet/models/detectors/__init__.py
limbo0000/InstanceLoc
a419bb6d27d05f5224a734a91a9f366ed815c1e1
[ "Apache-2.0" ]
9
2021-02-22T02:35:20.000Z
2022-02-25T05:38:52.000Z
from .insloc_fpn import InsLocFPN __all__ = ['InsLocFPN']
14.75
33
0.762712
7
59
5.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.135593
59
3
34
19.666667
0.784314
0
0
0
0
0
0.152542
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0a9c9302b760b38c0628c008b5f5c492f2fcdf94
313
py
Python
training_api/domain/services/contract/abstract_model_trainer_service.py
hadikoub/BMW-TensorFlow-Training-GUI
0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d
[ "Apache-2.0" ]
1
2020-06-22T12:56:58.000Z
2020-06-22T12:56:58.000Z
training_api/domain/services/contract/abstract_model_trainer_service.py
hadikoub/BMW-TensorFlow-Training-GUI
0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d
[ "Apache-2.0" ]
null
null
null
training_api/domain/services/contract/abstract_model_trainer_service.py
hadikoub/BMW-TensorFlow-Training-GUI
0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d
[ "Apache-2.0" ]
null
null
null
from abc import ABC, abstractmethod, ABCMeta from domain.models.hyper_parameter_information import HyperParameterInformation class AbstractModelTrainerService(ABC): __metaclass__ = ABCMeta @abstractmethod def train(self, hyper_params: HyperParameterInformation) -> None: raise NotImplementedError
28.454545
95
0.821086
29
313
8.62069
0.724138
0
0
0
0
0
0
0
0
0
0
0
0.127796
313
10
96
31.3
0.915751
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0ab65cb7da8b59d0350a20a82549c7abeac4fcc6
328
py
Python
script/scaffold/templates/integration/integration/__init__.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
23
2017-11-15T21:03:53.000Z
2021-03-29T21:33:48.000Z
script/scaffold/templates/integration/integration/__init__.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
58
2020-08-03T07:33:02.000Z
2022-03-31T06:02:05.000Z
script/scaffold/templates/integration/integration/__init__.py
klauern/home-assistant-core
c18ba6aec0627e6afb6442c678edb5ff2bb17db6
[ "Apache-2.0" ]
14
2018-08-19T16:28:26.000Z
2021-09-02T18:26:53.000Z
"""The NEW_NAME integration.""" import voluptuous as vol from homeassistant.core import HomeAssistant from .const import DOMAIN CONFIG_SCHEMA = vol.Schema({vol.Optional(DOMAIN): {}}, extra=vol.ALLOW_EXTRA) async def async_setup(hass: HomeAssistant, config: dict): """Set up the NEW_NAME integration.""" retu...
23.428571
77
0.746951
44
328
5.454545
0.613636
0.05
0.083333
0.175
0
0
0
0
0
0
0
0
0.140244
328
13
78
25.230769
0.851064
0.07622
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0abc56641d8c910206a92fa8ef0df94c7968f3d0
935
py
Python
azbankgateways/readers/bases.py
lordmahyar/az-iranian-bank-gateways
e9eb7101f2b91318847d63d783c22c4a8d430ba3
[ "MIT" ]
196
2020-12-07T11:29:19.000Z
2022-03-23T09:32:56.000Z
azbankgateways/readers/bases.py
lordmahyar/az-iranian-bank-gateways
e9eb7101f2b91318847d63d783c22c4a8d430ba3
[ "MIT" ]
25
2021-01-13T11:56:35.000Z
2022-03-14T19:41:51.000Z
azbankgateways/readers/bases.py
lordmahyar/az-iranian-bank-gateways
e9eb7101f2b91318847d63d783c22c4a8d430ba3
[ "MIT" ]
44
2021-01-08T18:27:47.000Z
2022-03-22T03:36:04.000Z
import abc import six from azbankgateways.models import BankType from azbankgateways import default_settings as settings @six.add_metaclass(abc.ABCMeta) class Reader: @abc.abstractmethod def read(self, bank_type: BankType, identifier: str) -> dict: """ :param bank_type: :param iden...
22.261905
66
0.613904
103
935
5.456311
0.427184
0.071174
0.142349
0.071174
0.131673
0.131673
0.131673
0
0
0
0
0
0.287701
935
41
67
22.804878
0.843844
0.206417
0
0.4
0
0
0
0
0
0
0
0
0
1
0.25
false
0.2
0.2
0.05
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
0ad55356426b239ed24c3d471528bf7f7a20f51b
20,076
py
Python
python/oneflow/nn/modules/padding.py
Warmchay/oneflow
5a333ff065bb89990318de2f1bd650e314d49301
[ "Apache-2.0" ]
null
null
null
python/oneflow/nn/modules/padding.py
Warmchay/oneflow
5a333ff065bb89990318de2f1bd650e314d49301
[ "Apache-2.0" ]
null
null
null
python/oneflow/nn/modules/padding.py
Warmchay/oneflow
5a333ff065bb89990318de2f1bd650e314d49301
[ "Apache-2.0" ]
null
null
null
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
40.232465
283
0.496613
2,569
20,076
3.794862
0.095368
0.024002
0.029541
0.032003
0.751872
0.732691
0.702431
0.677813
0.655042
0.628372
0
0.075918
0.321578
20,076
498
284
40.313253
0.639868
0.656406
0
0.553191
0
0
0.09375
0
0
0
0
0
0.042553
1
0.099291
false
0
0.042553
0.021277
0.241135
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0af548f56bb5430bfdc6330dc31c99016fbdeeaf
425
py
Python
notes/design/low-level/case-studies/auction-system/auction/commands/CommandCreateBid.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
6
2020-07-05T05:15:19.000Z
2021-01-24T20:17:14.000Z
notes/design/low-level/case-studies/auction-system/auction/commands/CommandCreateBid.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
null
null
null
notes/design/low-level/case-studies/auction-system/auction/commands/CommandCreateBid.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
2
2020-09-14T06:46:37.000Z
2021-06-15T09:17:21.000Z
from commands.AbstractCommand import AbstractCommand class CommandCreateBid(AbstractCommand): def __init__(self, auction_system, buyer_id, auction_id, amount): self.auction_system = auction_system self.buyer_id = buyer_id self.auction_id = auction_id self.amount = amount def e...
32.692308
90
0.736471
53
425
5.584906
0.339623
0.185811
0.172297
0.121622
0.135135
0
0
0
0
0
0
0
0.190588
425
12
91
35.416667
0.860465
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7c20fec74c1413c8d88deda4572801f54eaba3a9
207
py
Python
Leetcode-python/3_Recursion/fibbonacci.py
gnsalok/algo-ds-python
6e37f9a536c634673451d9acaeb4968536fb0b8b
[ "MIT" ]
3
2021-12-17T17:12:23.000Z
2022-03-29T13:41:21.000Z
Leetcode-python/3_Recursion/fibbonacci.py
gnsalok/algo-ds-python
6e37f9a536c634673451d9acaeb4968536fb0b8b
[ "MIT" ]
null
null
null
Leetcode-python/3_Recursion/fibbonacci.py
gnsalok/algo-ds-python
6e37f9a536c634673451d9acaeb4968536fb0b8b
[ "MIT" ]
null
null
null
''' 1,2,3,4 ..... 0,1,1,2,3,5,8,13..... fib(7) == 33 (sum of) ''' def fib(n): if(n == 1): return 0 if(n == 2): return 1 return fib(n-1) + fib(n-2) print(fib(5))
8.625
30
0.376812
40
207
1.95
0.45
0.153846
0.076923
0
0
0
0
0
0
0
0
0.171642
0.352657
207
23
31
9
0.410448
0.280193
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
0.142857
0
0
1
null
0
0
0
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
1
0
0
3
7c223475153c796822ffa2ebf15c079c0c50b9ee
1,192
py
Python
cirq-core/cirq/optimizers/align_left.py
LLcat1217/Cirq
b88069f7b01457e592ad69d6b413642ef11a56b8
[ "Apache-2.0" ]
1
2022-02-02T07:13:54.000Z
2022-02-02T07:13:54.000Z
cirq-core/cirq/optimizers/align_left.py
bradyb/Cirq
610b0d4ea3a7862169610797266734c844ddcc1f
[ "Apache-2.0" ]
4
2022-01-16T14:12:15.000Z
2022-02-24T03:58:46.000Z
cirq-core/cirq/optimizers/align_left.py
bradyb/Cirq
610b0d4ea3a7862169610797266734c844ddcc1f
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The Cirq Developers # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
38.451613
97
0.760906
169
1,192
5.295858
0.550296
0.067039
0.073743
0.035754
0.071508
0.071508
0.071508
0.071508
0
0
0
0.00994
0.15604
1,192
30
98
39.733333
0.879722
0.558725
0
0
0
0
0.099404
0.047714
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
7c2a5db7b2654b6cd26aa8cea736602ceae54b7a
120
py
Python
GeeksforGeeks/sum_of_array_elements.py
Snehakri022/Competitive-Programming-Solutions
62a2cbb2d71a040d81e3e71ad6353a86007b8cb7
[ "MIT" ]
40
2020-07-25T19:35:37.000Z
2022-01-28T02:57:02.000Z
GeeksforGeeks/sum_of_array_elements.py
Snehakri022/Competitive-Programming-Solutions
62a2cbb2d71a040d81e3e71ad6353a86007b8cb7
[ "MIT" ]
34
2020-10-10T17:59:46.000Z
2021-10-05T18:29:25.000Z
GeeksforGeeks/sum_of_array_elements.py
Snehakri022/Competitive-Programming-Solutions
62a2cbb2d71a040d81e3e71ad6353a86007b8cb7
[ "MIT" ]
24
2020-05-03T08:11:53.000Z
2021-10-04T03:23:20.000Z
#code T = int(input()) for i in range(T): N = int(input()) A = list(map(int, input().split())) print(sum(A))
20
39
0.533333
21
120
3.047619
0.714286
0.375
0
0
0
0
0
0
0
0
0
0
0.225
120
6
40
20
0.688172
0.033333
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7c47c5f8379e4fd22a0d468b3bd884476a073606
307
py
Python
main.py
OsmanC4hit/PYTHON-NOTES
76d25575a03937f437a3ebe05e6bbfecdf1785be
[ "MIT" ]
1
2021-12-21T17:18:07.000Z
2021-12-21T17:18:07.000Z
main.py
OsmanC4hit/PYTHON-NOTES
76d25575a03937f437a3ebe05e6bbfecdf1785be
[ "MIT" ]
null
null
null
main.py
OsmanC4hit/PYTHON-NOTES
76d25575a03937f437a3ebe05e6bbfecdf1785be
[ "MIT" ]
null
null
null
musteri_isim = "osman cahit" print("musteri_isim") musteri_soyisim = "Yüksel" print("musteri_soyisim") print(musteri_isim+musteri_soyisim) musteri_cinsiyet = "erkek" print(musteri_cinsiyet) musteri_tc = "1234567890" print(musteri_tc) musteri_doğum_yılı = "1990" print(musteri_doğum_yılı)
19.1875
36
0.762215
38
307
5.789474
0.368421
0.327273
0.145455
0.209091
0.272727
0
0
0
0
0
0
0.052632
0.13355
307
16
37
19.1875
0.774436
0
0
0
0
0
0.215017
0
0
0
0
0
0
1
0
false
0
0
0
0
0.545455
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
7c537a26b853dc88e2ce34f531d8188fc77ace99
1,126
py
Python
examples/python/patterns/structural-patterns/04_decorator.py
phamtanvinh/victor-backend
edb52903a9db6b549fc412ff11570bc54deedba2
[ "MIT" ]
null
null
null
examples/python/patterns/structural-patterns/04_decorator.py
phamtanvinh/victor-backend
edb52903a9db6b549fc412ff11570bc54deedba2
[ "MIT" ]
1
2019-09-15T17:31:01.000Z
2019-09-15T17:31:01.000Z
examples/python/patterns/structural-patterns/04_decorator.py
phamtanvinh/victor-backend
edb52903a9db6b549fc412ff11570bc54deedba2
[ "MIT" ]
1
2019-10-28T10:23:14.000Z
2019-10-28T10:23:14.000Z
class Component(): def operation(self): pass class ConcreteComponent(Component): def operation(self): return 'ConcreteComponent' class Decorator(Component): _component: Component = None def __init__(self, component): self._component = component @property def compone...
22.52
66
0.687389
113
1,126
6.681416
0.292035
0.103311
0.10596
0.116556
0.166887
0.084768
0
0
0
0
0
0.004444
0.20071
1,126
49
67
22.979592
0.834444
0
0
0.15625
0
0
0.206927
0.105684
0
0
0
0
0
1
0.25
false
0.03125
0
0.15625
0.59375
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7c5a221da83b14540d932bb0e49cb4675697736e
1,452
py
Python
test/test_regular_expressions.py
celalormanli/python_sandbox
3063b974d946130a35a4cb8c55014c8df1ffcdb4
[ "MIT" ]
null
null
null
test/test_regular_expressions.py
celalormanli/python_sandbox
3063b974d946130a35a4cb8c55014c8df1ffcdb4
[ "MIT" ]
null
null
null
test/test_regular_expressions.py
celalormanli/python_sandbox
3063b974d946130a35a4cb8c55014c8df1ffcdb4
[ "MIT" ]
null
null
null
from src.regular_expressions import RegularExpressions def test_find_emails(): regular_expressions = RegularExpressions() assert regular_expressions.find_emails( 'fsbvbfds dfsvfds test@emailcom fdvfd fjsı ıfşslfhlkvh fdlkvh şdfhvjdsfkhk test@test.net') == ['test@test.net'] def test_validete_email():...
38.210526
138
0.764463
150
1,452
7.166667
0.346667
0.234419
0.156279
0.234419
0.420465
0.420465
0.310698
0.132093
0
0
0
0.061538
0.149449
1,452
37
139
39.243243
0.808907
0
0
0.24
0
0
0.340909
0.060606
0
0
0
0
0.28
1
0.24
false
0
0.04
0
0.28
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
0
0
0
0
3
7c5afc61eb319364b4324bd60fa3c886846ce844
2,295
py
Python
test/test_compliance_api.py
LayeredInsight/layint_scan_api_python
bc258b2af5d2211b986e32fedea95fcfc7de80ff
[ "Apache-2.0" ]
1
2018-03-26T23:55:00.000Z
2018-03-26T23:55:00.000Z
test/test_compliance_api.py
LayeredInsight/layint_scan_api_python
bc258b2af5d2211b986e32fedea95fcfc7de80ff
[ "Apache-2.0" ]
null
null
null
test/test_compliance_api.py
LayeredInsight/layint_scan_api_python
bc258b2af5d2211b986e32fedea95fcfc7de80ff
[ "Apache-2.0" ]
2
2020-11-04T02:56:33.000Z
2020-11-05T08:12:01.000Z
# coding: utf-8 """ Layered Insight Scan Layered Insight Scan performs static vulnerability analysis, license and package compliance. You can find out more about Scan at http://layeredinsight.com. OpenAPI spec version: 0.9.4 Contact: help@layeredinsight.com Generated by: https://github.com/swagg...
19.615385
160
0.610458
272
2,295
4.919118
0.308824
0.089686
0.082212
0.112108
0.48281
0.339312
0.09417
0
0
0
0
0.002569
0.321569
2,295
116
161
19.784483
0.856776
0.403486
0
0.323529
0
0
0.007805
0
0
0
0
0
0
1
0.352941
false
0.323529
0.205882
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
7c628fde977accf2b13a807dd62b1acd96bca3b1
2,955
py
Python
descarteslabs/workflows/types/primitives/bool_.py
carderne/descarteslabs-python
757b480efb8d58474a3bf07f1dbd90652b46ed64
[ "Apache-2.0" ]
167
2017-03-23T22:16:58.000Z
2022-03-08T09:19:30.000Z
descarteslabs/workflows/types/primitives/bool_.py
carderne/descarteslabs-python
757b480efb8d58474a3bf07f1dbd90652b46ed64
[ "Apache-2.0" ]
93
2017-03-23T22:11:40.000Z
2021-12-13T18:38:53.000Z
descarteslabs/workflows/types/primitives/bool_.py
carderne/descarteslabs-python
757b480efb8d58474a3bf07f1dbd90652b46ed64
[ "Apache-2.0" ]
46
2017-03-25T19:12:14.000Z
2021-08-15T18:04:29.000Z
import numpy as np from ...cereal import serializable from ..core import allow_reflect from .primitive import Primitive from ..mixins import NumPyMixin def _delayed_numpy_ufuncs(): # avoid circular imports from descarteslabs.workflows.types.numpy import numpy_ufuncs return numpy_ufuncs @serializable()...
31.774194
98
0.64467
386
2,955
4.647668
0.352332
0.065217
0.100334
0.120401
0.312709
0.211817
0.142698
0.142698
0
0
0
0.000449
0.246701
2,955
92
99
32.119565
0.805481
0.181387
0
0.145455
0
0.054545
0.266695
0
0
0
0
0
0
1
0.218182
false
0
0.109091
0.163636
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7c80d23329de657a9db1afe541e40de32329bf0b
417
py
Python
09-Palindrome-Number.py
alexartwww/leetcode
59bc306b018e838289aa4806c41666e95c3fb489
[ "MIT" ]
null
null
null
09-Palindrome-Number.py
alexartwww/leetcode
59bc306b018e838289aa4806c41666e95c3fb489
[ "MIT" ]
null
null
null
09-Palindrome-Number.py
alexartwww/leetcode
59bc306b018e838289aa4806c41666e95c3fb489
[ "MIT" ]
null
null
null
class Solution: def isPalindrome(self, x: int) -> bool: if not((-2)**31 <= x and x <= 2**31 - 1): return False return str(x) == str(x)[::-1] if __name__ == '__main__': solution = Solution() assert solution.isPalindrome(121) == True assert solution.isPalindrome(-121) == Fal...
27.8
49
0.601918
51
417
4.764706
0.470588
0.230453
0.427984
0.238683
0
0
0
0
0
0
0
0.060317
0.244604
417
14
50
29.785714
0.711111
0
0
0
0
0
0.019185
0
0
0
0
0
0.363636
1
0.090909
false
0
0
0
0.363636
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3