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
291bfbb6b5b2b9e12bc73b5eb65200e4deaf9fa0
42
py
Python
All_Source_Code/VisionDeepLearning/VisionDeepLearning_2.py
APMonitor/pds
fa9a7ec920802de346dcdf7f5dd92d752142c16f
[ "MIT" ]
11
2021-01-21T09:46:29.000Z
2022-03-16T19:33:10.000Z
All_Source_Code/VisionDeepLearning/VisionDeepLearning_2.py
the-mahapurush/pds
7cb4087dd8e75cb1e9b2a4283966c798175f61f7
[ "MIT" ]
1
2022-03-16T19:47:09.000Z
2022-03-16T20:11:50.000Z
All_Source_Code/VisionDeepLearning/VisionDeepLearning_2.py
the-mahapurush/pds
7cb4087dd8e75cb1e9b2a4283966c798175f61f7
[ "MIT" ]
12
2021-02-08T21:11:11.000Z
2022-03-20T12:42:49.000Z
for x in faces: print(x['confidence'])
21
26
0.642857
7
42
3.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.190476
42
2
26
21
0.794118
0
0
0
0
0
0.232558
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
2931ae18f7ad0cdbb9d8ba4f1ad27c772f793843
115
py
Python
templates_advanced_lab/templates_advanced/profiles/apps.py
nrgxtra/web_framework
dd84968a77b84a03d66c5db190b28bffc479f05e
[ "MIT" ]
null
null
null
templates_advanced_lab/templates_advanced/profiles/apps.py
nrgxtra/web_framework
dd84968a77b84a03d66c5db190b28bffc479f05e
[ "MIT" ]
null
null
null
templates_advanced_lab/templates_advanced/profiles/apps.py
nrgxtra/web_framework
dd84968a77b84a03d66c5db190b28bffc479f05e
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ProfilesConfig(AppConfig): name = 'templates_advanced.profiles'
19.166667
41
0.756522
12
115
7.166667
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.173913
115
5
42
23
0.905263
0
0
0
0
0
0.245455
0.245455
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
293366e3322897bfeea42e3b5ff97ac8d54c4038
152
py
Python
got/utils/remove_got.py
CircArgs/got
1f7194bb94511df0bb967cfa9dc17bb13d3907b7
[ "Apache-2.0" ]
null
null
null
got/utils/remove_got.py
CircArgs/got
1f7194bb94511df0bb967cfa9dc17bb13d3907b7
[ "Apache-2.0" ]
1
2020-06-08T23:32:48.000Z
2020-06-08T23:32:48.000Z
got/utils/remove_got.py
CircArgs/got
1f7194bb94511df0bb967cfa9dc17bb13d3907b7
[ "Apache-2.0" ]
null
null
null
import os import shutil from . import is_got def remove_got(path=os.getcwd()): exists = is_got(path) if exists: shutil.rmtree(exists)
15.2
33
0.677632
23
152
4.347826
0.565217
0.1
0
0
0
0
0
0
0
0
0
0
0.223684
152
9
34
16.888889
0.847458
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
29520668b2876e36d587fc97775da9bcc6104b3d
87
py
Python
viable/__init__.py
otosense/viable
5ef9ab4edcb2bc878d6eb2374bd74852023fe93c
[ "Apache-2.0" ]
null
null
null
viable/__init__.py
otosense/viable
5ef9ab4edcb2bc878d6eb2374bd74852023fe93c
[ "Apache-2.0" ]
1
2021-08-31T22:20:07.000Z
2021-08-31T22:20:07.000Z
viable/__init__.py
otosense/viable
5ef9ab4edcb2bc878d6eb2374bd74852023fe93c
[ "Apache-2.0" ]
null
null
null
"""Diagnose audio and other input data for ML pipelines >>> print('hello') hello """
12.428571
55
0.678161
12
87
4.916667
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
6
56
14.5
0.819444
0.896552
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
46293db2abf97e9b6e4e290bbab55c5e334d308c
216
py
Python
String_Immutable.py
BeenashPervaiz/Command_Line_Task
a603fbdd06717ff157ecd72881d08329413fd82c
[ "MIT" ]
null
null
null
String_Immutable.py
BeenashPervaiz/Command_Line_Task
a603fbdd06717ff157ecd72881d08329413fd82c
[ "MIT" ]
null
null
null
String_Immutable.py
BeenashPervaiz/Command_Line_Task
a603fbdd06717ff157ecd72881d08329413fd82c
[ "MIT" ]
null
null
null
string = "Character" print(string[2]) # string[2] = 'A' not change it # string.replace('a','A') we can replace it but it cannot change the our string variables. new_string = string.replace('a','A') print(new_string)
30.857143
90
0.708333
36
216
4.194444
0.472222
0.092715
0.18543
0.198676
0
0
0
0
0
0
0
0.010695
0.134259
216
7
91
30.857143
0.796791
0.546296
0
0
0
0
0.115789
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
466898a6b05a27d4468518147527eb379ac58424
161
py
Python
dwitter_app/apps.py
MMohan1/Dwitter
dacf36f2819a33f107fb33b3ded81bb33231edb5
[ "MIT" ]
null
null
null
dwitter_app/apps.py
MMohan1/Dwitter
dacf36f2819a33f107fb33b3ded81bb33231edb5
[ "MIT" ]
7
2017-09-09T07:11:56.000Z
2017-09-19T04:50:58.000Z
dwitter_app/apps.py
MMohan1/dwitter
dacf36f2819a33f107fb33b3ded81bb33231edb5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class DwitterAppConfig(AppConfig): name = 'dwitter_app'
17.888889
39
0.745342
19
161
6
0.842105
0
0
0
0
0
0
0
0
0
0
0.007353
0.15528
161
8
40
20.125
0.830882
0.130435
0
0
0
0
0.07971
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
467be5b671c01893bdd4fef6b573d53b011ecc78
137
py
Python
student_enrollment/models/database/__init__.py
Nicusor97/student_enrollment
d311dba2e77c7dc30df62f4ab48af7b6836e8e11
[ "MIT" ]
null
null
null
student_enrollment/models/database/__init__.py
Nicusor97/student_enrollment
d311dba2e77c7dc30df62f4ab48af7b6836e8e11
[ "MIT" ]
null
null
null
student_enrollment/models/database/__init__.py
Nicusor97/student_enrollment
d311dba2e77c7dc30df62f4ab48af7b6836e8e11
[ "MIT" ]
null
null
null
from .Person import Person from .Student import Student from .Subject import Subject from .User import User from .teacher import Teacher
22.833333
28
0.817518
20
137
5.6
0.35
0
0
0
0
0
0
0
0
0
0
0
0.145985
137
5
29
27.4
0.957265
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
469a60800b250ec7cc6e92e73abb146dd83ca7a7
511
py
Python
Section10_Facade/RegularFacade/Console.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
1
2020-10-20T07:41:51.000Z
2020-10-20T07:41:51.000Z
Section10_Facade/RegularFacade/Console.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
null
null
null
Section10_Facade/RegularFacade/Console.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
null
null
null
from Section10_Facade.RegularFacade.Buffer import Buffer from Section10_Facade.RegularFacade.Viewport import Viewport class Console: def __init__(self): b = Buffer() self.current_viewport: Viewport = Viewport(b) self.buffers = [b] self.viewports = [self.current_viewport] # hig...
26.894737
60
0.694716
63
511
5.412698
0.412698
0.129032
0.222874
0.187683
0
0
0
0
0
0
0
0.009975
0.215264
511
18
61
28.388889
0.840399
0.039139
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.083333
0.583333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
46a0417ceb9d41ed51f5dd267b05e07f1b939d3f
164
py
Python
zad1_5.py
kamilhabrych/python-semestr5-lista1
65faeffe83bcc4706b2818e2e7802d986b19244b
[ "MIT" ]
null
null
null
zad1_5.py
kamilhabrych/python-semestr5-lista1
65faeffe83bcc4706b2818e2e7802d986b19244b
[ "MIT" ]
null
null
null
zad1_5.py
kamilhabrych/python-semestr5-lista1
65faeffe83bcc4706b2818e2e7802d986b19244b
[ "MIT" ]
null
null
null
x = int(input('Podaj pierwsza liczbe calkowita: ')) y = int(input('Podaj druga liczbe calkowita: ')) print() print(x%y) print(y%x) print() print(x//y) print(y//x)
16.4
51
0.664634
28
164
3.892857
0.357143
0.146789
0.238532
0.220183
0.348624
0.348624
0.348624
0
0
0
0
0
0.128049
164
10
52
16.4
0.762238
0
0
0.25
0
0
0.381818
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
46aeeb459a57fd1ef8b7eec747b21051df216020
141
py
Python
maedn/strategy.py
Daniel31415/maedn
98821402328c235f1e46f92a960880745a8a299b
[ "MIT" ]
null
null
null
maedn/strategy.py
Daniel31415/maedn
98821402328c235f1e46f92a960880745a8a299b
[ "MIT" ]
null
null
null
maedn/strategy.py
Daniel31415/maedn
98821402328c235f1e46f92a960880745a8a299b
[ "MIT" ]
null
null
null
class BaseStrategy(object): def get_next_move(self, board): raise NotImplementedError class MoveFirst(BaseStrategy): pass
15.666667
35
0.723404
15
141
6.666667
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.205674
141
8
36
17.625
0.892857
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
4
46b11f9bde3881456e71c2f22b6b91f9a898e9ae
106
py
Python
pkg/codegen/internal/test/testdata/random-pet-pp/python/random-pet.py
pcen/pulumi
1bb85ca98c90f2161fe915df083d47c56c135e4d
[ "Apache-2.0" ]
1
2022-01-04T13:56:27.000Z
2022-01-04T13:56:27.000Z
pkg/codegen/internal/test/testdata/random-pet-pp/python/random-pet.py
pcen/pulumi
1bb85ca98c90f2161fe915df083d47c56c135e4d
[ "Apache-2.0" ]
23
2020-12-08T02:44:30.000Z
2022-03-31T11:21:34.000Z
pkg/codegen/internal/test/testdata/random-pet-pp/python/random-pet.py
pcen/pulumi
1bb85ca98c90f2161fe915df083d47c56c135e4d
[ "Apache-2.0" ]
1
2021-07-01T13:03:23.000Z
2021-07-01T13:03:23.000Z
import pulumi import pulumi_random as random random_pet = random.RandomPet("random_pet", prefix="doggo")
21.2
59
0.801887
15
106
5.466667
0.533333
0.292683
0
0
0
0
0
0
0
0
0
0
0.103774
106
4
60
26.5
0.863158
0
0
0
0
0
0.141509
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
d3bc2cc4b3dc6d2774793a5646bd8b098a82a434
91
py
Python
django_on_cloudrun/basicapi/apps.py
louwjlabuschagne/basic-python-api-ci
db7804332859c0e0dc7529edeaeddc476f28be3c
[ "MIT" ]
null
null
null
django_on_cloudrun/basicapi/apps.py
louwjlabuschagne/basic-python-api-ci
db7804332859c0e0dc7529edeaeddc476f28be3c
[ "MIT" ]
4
2021-03-30T13:46:01.000Z
2021-09-22T19:20:14.000Z
django_on_cloudrun/basicapi/apps.py
louwjlabuschagne/basic-python-api-ci
db7804332859c0e0dc7529edeaeddc476f28be3c
[ "MIT" ]
null
null
null
from django.apps import AppConfig class BasicapiConfig(AppConfig): name = 'basicapi'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
310567293474013f3d4c87db9a3158c849329acd
14,188
py
Python
test/unit_test/controller/test_callback.py
ArnovanHilten/NVFlare
bb45e7d606849c6bc8f7542347459c6ba1be00c4
[ "Apache-2.0" ]
155
2021-08-05T18:05:09.000Z
2022-03-27T15:32:56.000Z
test/unit_test/controller/test_callback.py
ArnovanHilten/NVFlare
bb45e7d606849c6bc8f7542347459c6ba1be00c4
[ "Apache-2.0" ]
216
2021-12-01T06:07:12.000Z
2022-03-30T23:34:02.000Z
test/unit_test/controller/test_callback.py
ArnovanHilten/NVFlare
bb45e7d606849c6bc8f7542347459c6ba1be00c4
[ "Apache-2.0" ]
44
2021-11-24T16:03:29.000Z
2022-03-24T23:28:39.000Z
# Copyright (c) 2021-2022, NVIDIA CORPORATION. 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 ...
40.537143
117
0.622145
1,597
14,188
5.13087
0.112085
0.037222
0.033561
0.015865
0.787772
0.757628
0.720039
0.70332
0.670491
0.657798
0
0.004392
0.27784
14,188
349
118
40.653295
0.795335
0.04391
0
0.667797
0
0
0.090554
0.003469
0
0
0
0
0.071186
1
0.050847
false
0
0.023729
0
0.081356
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
31110171d2380c30f6ab3bf74e526110fcf98d31
3,412
py
Python
crawler/frontier.py
dangrasso/oda-crawler
bb8f58c27fe762d175677b14297b3be95f77f394
[ "MIT" ]
null
null
null
crawler/frontier.py
dangrasso/oda-crawler
bb8f58c27fe762d175677b14297b3be95f77f394
[ "MIT" ]
null
null
null
crawler/frontier.py
dangrasso/oda-crawler
bb8f58c27fe762d175677b14297b3be95f77f394
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from collections import deque from itertools import chain from typing import Iterable class Frontier(ABC): """ This class abstracts away the idea of a frontier of urls for the crawler. It should be possible to add new urls to the frontier, either at low or high priority...
28.198347
110
0.655334
472
3,412
4.506356
0.235169
0.050776
0.060179
0.071462
0.503056
0.460743
0.430654
0.417489
0.348848
0.310296
0
0.001952
0.249414
3,412
120
111
28.433333
0.828583
0.26612
0
0.626866
0
0
0
0
0
0
0
0
0
1
0.343284
false
0.074627
0.059701
0.119403
0.597015
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
1
1
0
0
4
31bb4479dcaf1d213c0d681c5670d68184910df0
55
py
Python
tests/row_generation/__init__.py
jamesscottbrown/wheatley
c1d83cedad542efeb259475c2c9ba88395aee715
[ "MIT" ]
14
2020-08-16T21:41:13.000Z
2021-07-13T01:15:01.000Z
tests/row_generation/__init__.py
jamesscottbrown/wheatley
c1d83cedad542efeb259475c2c9ba88395aee715
[ "MIT" ]
121
2020-08-13T16:54:46.000Z
2021-09-17T10:32:04.000Z
tests/row_generation/__init__.py
jamesscottbrown/wheatley
c1d83cedad542efeb259475c2c9ba88395aee715
[ "MIT" ]
10
2020-12-20T03:52:47.000Z
2021-11-22T14:46:15.000Z
from .generator_test_helpers import gen_rows, as_bells
27.5
54
0.872727
9
55
4.888889
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
55
1
55
55
0.88
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
31c594a18823f70124013bf613a6d21ed20723ee
4,375
py
Python
tests/core/test_repeat.py
perillaroc/takler
607a64ff22b33d507f90acca4640963e69626879
[ "Apache-2.0" ]
null
null
null
tests/core/test_repeat.py
perillaroc/takler
607a64ff22b33d507f90acca4640963e69626879
[ "Apache-2.0" ]
null
null
null
tests/core/test_repeat.py
perillaroc/takler
607a64ff22b33d507f90acca4640963e69626879
[ "Apache-2.0" ]
null
null
null
from datetime import date from takler.core import Repeat, RepeatDate, Flow, NodeStatus, Parameter import pytest # RepeatDate @pytest.fixture def start_date_int(): return 20220601 @pytest.fixture def end_date_int(): return 20220607 def test_repeat_date_create(start_date_int, end_date_int): r = Repeat...
25.584795
71
0.689143
582
4,375
4.946735
0.113402
0.089962
0.083362
0.083362
0.78951
0.756165
0.746787
0.722473
0.632164
0.567211
0
0.111079
0.199543
4,375
170
72
25.735294
0.711022
0.023771
0
0.646018
0
0
0.043928
0
0
0
0
0
0.424779
1
0.079646
false
0
0.026549
0.017699
0.123894
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
31cc85ecee66029e67ebd46865687e0489c078dd
165
py
Python
api_test/settings.py
spothero/api-test
377850c1d80c927c730875317ebf2b7f2391bf60
[ "MIT" ]
null
null
null
api_test/settings.py
spothero/api-test
377850c1d80c927c730875317ebf2b7f2391bf60
[ "MIT" ]
12
2016-09-10T00:41:28.000Z
2017-02-01T20:47:35.000Z
api_test/settings.py
spothero/api-test
377850c1d80c927c730875317ebf2b7f2391bf60
[ "MIT" ]
1
2017-02-27T22:18:19.000Z
2017-02-27T22:18:19.000Z
from django.conf import settings INSTALLED_APPS = settings.INSTALLED_APPS + ( 'django_hosts', ) FIXTURE_FILE = getattr(settings, 'API_TEST_FIXTURE_FILE', '')
18.333333
61
0.751515
20
165
5.85
0.65
0.290598
0.358974
0
0
0
0
0
0
0
0
0
0.139394
165
8
62
20.625
0.823944
0
0
0
0
0
0.2
0.127273
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
31d77f5073f6e74a400b554e5e7a696f04a9c4f5
125
py
Python
users/forms/fields/__init__.py
edcilo/edc_service_users_flask
ccb19956d1f83baae582b083e5c976938f2d31cd
[ "MIT" ]
null
null
null
users/forms/fields/__init__.py
edcilo/edc_service_users_flask
ccb19956d1f83baae582b083e5c976938f2d31cd
[ "MIT" ]
null
null
null
users/forms/fields/__init__.py
edcilo/edc_service_users_flask
ccb19956d1f83baae582b083e5c976938f2d31cd
[ "MIT" ]
null
null
null
from wtforms import Field class ListField(Field): def process_formdata(self, valuelist): self.data = valuelist
17.857143
42
0.72
15
125
5.933333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.208
125
6
43
20.833333
0.89899
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
9edfc3dcf3dc241993c3eac1acb4da1059c6048a
447
py
Python
datahub_client/apis/__init__.py
amkimian/mimir_python
994c1542437fa6bd1d0e53b0c0c4c8f692575374
[ "Apache-2.0" ]
null
null
null
datahub_client/apis/__init__.py
amkimian/mimir_python
994c1542437fa6bd1d0e53b0c0c4c8f692575374
[ "Apache-2.0" ]
null
null
null
datahub_client/apis/__init__.py
amkimian/mimir_python
994c1542437fa6bd1d0e53b0c0c4c8f692575374
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import # import apis into api package from .admin_api import AdminApi from .data_api import DataApi from .dataset_api import DatasetApi from .element_api import ElementApi from .invoice_api import InvoiceApi from .marketplace_api import MarketplaceApi from .query_api import QueryApi fro...
29.8
43
0.850112
65
447
5.6
0.461538
0.271978
0
0
0
0
0
0
0
0
0
0
0.123043
447
14
44
31.928571
0.928571
0.06264
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
9ee3827d40bd3c2ef977372eb92c54f84febb5e5
17,983
py
Python
tests/test_utilities/test_state_machine.py
quest-gmulcahy/bacpypes
fd27c54ac7cf90078bd2cad3084242132311e3b6
[ "MIT" ]
null
null
null
tests/test_utilities/test_state_machine.py
quest-gmulcahy/bacpypes
fd27c54ac7cf90078bd2cad3084242132311e3b6
[ "MIT" ]
null
null
null
tests/test_utilities/test_state_machine.py
quest-gmulcahy/bacpypes
fd27c54ac7cf90078bd2cad3084242132311e3b6
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Test Utilities State Machine ---------------------------- """ import unittest from bacpypes.debugging import bacpypes_debugging, ModuleLogger from ..state_machine import State, StateMachine, StateMachineGroup, match_pdu from ..time_machine import reset_time_machine, ...
30.223529
83
0.642551
2,186
17,983
5.048948
0.076395
0.038054
0.046389
0.076108
0.813627
0.74214
0.696385
0.646643
0.580774
0.513998
0
0.01103
0.279041
17,983
594
84
30.274411
0.840262
0.158928
0
0.563636
0
0
0.086102
0.028612
0
0
0
0
0.321212
0
null
null
0.060606
0.015152
null
null
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
4
9eeee591e15663733b5a5672013dabf998d02a06
71
py
Python
docs/bld/example/r/r_example/setup.py
hmgaudecker/econ-project-templates
0bf8c4701c112a96e2f2a2efe05be5ff39040111
[ "BSD-3-Clause" ]
67
2015-01-19T17:41:02.000Z
2019-10-17T19:12:49.000Z
docs/bld/example/r/r_example/setup.py
hmgaudecker/econ-project-templates
0bf8c4701c112a96e2f2a2efe05be5ff39040111
[ "BSD-3-Clause" ]
64
2015-02-23T15:18:24.000Z
2019-11-20T19:58:59.000Z
docs/bld/example/r/r_example/setup.py
hmgaudecker/econ-project-templates
0bf8c4701c112a96e2f2a2efe05be5ff39040111
[ "BSD-3-Clause" ]
51
2015-01-15T16:10:33.000Z
2019-10-28T21:14:03.000Z
from setuptools import setup setup(name="r_example", version="0.0.1")
17.75
40
0.746479
12
71
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.046875
0.098592
71
3
41
23.666667
0.765625
0
0
0
0
0
0.197183
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9ef57c886ccbb47f3b0baa0c29d3eed412d64e20
253
py
Python
apis/schemas/users.py
Fusemachines/fuse-python-training
939bf935646a60817b1da329791e376c7e59464b
[ "FSFAP" ]
null
null
null
apis/schemas/users.py
Fusemachines/fuse-python-training
939bf935646a60817b1da329791e376c7e59464b
[ "FSFAP" ]
null
null
null
apis/schemas/users.py
Fusemachines/fuse-python-training
939bf935646a60817b1da329791e376c7e59464b
[ "FSFAP" ]
null
null
null
from apis.models import User from flask_marshmallow.schema import Schema from flask_marshmallow.fields import fields class UserSchema(Schema): email = fields.Email(required=True) name = fields.String() address = fields.String(required=True)
31.625
43
0.782609
33
253
5.939394
0.515152
0.091837
0.204082
0
0
0
0
0
0
0
0
0
0.13834
253
8
44
31.625
0.899083
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
7341f85e584be4926fb6ddfbfa265e4fe91e6d8a
39
py
Python
rio_glui/__init__.py
vincentsarago/rio-glui
04b4d0fcfb3394aa2e994f5192e68aab6426dfcf
[ "MIT" ]
null
null
null
rio_glui/__init__.py
vincentsarago/rio-glui
04b4d0fcfb3394aa2e994f5192e68aab6426dfcf
[ "MIT" ]
null
null
null
rio_glui/__init__.py
vincentsarago/rio-glui
04b4d0fcfb3394aa2e994f5192e68aab6426dfcf
[ "MIT" ]
null
null
null
"""rio_glui.""" __version__ = "1.0.5"
9.75
21
0.564103
6
39
2.833333
1
0
0
0
0
0
0
0
0
0
0
0.088235
0.128205
39
3
22
13
0.411765
0.230769
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b4167dda7be66a6b03fe974d8ae4fda8ea679a2f
1,169
py
Python
lingorm/drivers/query_builder_abstract.py
xiaolingzi/python-orm-lingorm
4b614bac1d6427010d7b355e1f67b0bbff52edbc
[ "MIT" ]
2
2020-10-12T02:42:41.000Z
2020-11-29T07:41:40.000Z
lingorm/drivers/query_builder_abstract.py
xiaolingzi/lingorm-python
4b614bac1d6427010d7b355e1f67b0bbff52edbc
[ "MIT" ]
null
null
null
lingorm/drivers/query_builder_abstract.py
xiaolingzi/lingorm-python
4b614bac1d6427010d7b355e1f67b0bbff52edbc
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod class QueryBuilderAbstract: _sql = "" _param_dict = {} _select_sql = "" _from_sql = "" _join_sql = "" _where_sql = "" _group_sql = "" _order_sql = "" _limit_sql = "" @abstractmethod def select(self, **kwargs): pass @abst...
17.712121
57
0.597092
125
1,169
5.328
0.296
0.331832
0.378378
0.114114
0.551051
0.507508
0.366366
0.198198
0
0
0
0
0.310522
1,169
65
58
17.984615
0.826303
0
0
0.52
0
0
0
0
0
0
0
0
0
1
0.26
false
0.26
0.02
0
0.48
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
b419ab0fa40796bc165ce31f6e38ed3e52cedc29
32
py
Python
tests/serialization/__init__.py
crleblanc/citrine-python
4e89e9efc498352b2eb6b9abd60c14835c3dd686
[ "Apache-2.0" ]
null
null
null
tests/serialization/__init__.py
crleblanc/citrine-python
4e89e9efc498352b2eb6b9abd60c14835c3dd686
[ "Apache-2.0" ]
null
null
null
tests/serialization/__init__.py
crleblanc/citrine-python
4e89e9efc498352b2eb6b9abd60c14835c3dd686
[ "Apache-2.0" ]
null
null
null
"""Tests for Schema classes."""
16
31
0.65625
4
32
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.125
32
1
32
32
0.75
0.78125
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
b41e7074e7bb2e46305d76c3aa329e044b2f1928
1,207
py
Python
tests.py
tektx/RSA-Encryption
3401bf5802c06804722184ebbffaad139fa0410d
[ "MIT" ]
1
2021-11-20T11:51:24.000Z
2021-11-20T11:51:24.000Z
tests.py
tektx/RSA-Encryption
3401bf5802c06804722184ebbffaad139fa0410d
[ "MIT" ]
null
null
null
tests.py
tektx/RSA-Encryption
3401bf5802c06804722184ebbffaad139fa0410d
[ "MIT" ]
null
null
null
import main import pytest from unittest import mock import sympy def test_get_nth_prime(): """Prime numbers are generated""" assert sympy.prime(4) == 7 assert sympy.prime(9999999) == 179424671 with pytest.raises(ValueError): assert sympy.prime(0) def test_get_totatives(): """Totatives of...
30.175
65
0.665286
179
1,207
4.329609
0.290503
0.129032
0.167742
0.167742
0.477419
0.385806
0.330323
0.258065
0.134194
0
0
0.07772
0.200497
1,207
39
66
30.948718
0.725389
0.095278
0
0.185185
1
0
0.013072
0
0
0
0
0
0.481481
1
0.148148
true
0
0.148148
0
0.296296
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
1
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
4
b4219764e7a8842e09d9e943d8cb62b801fa1f9c
1,996
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/AMD/framebuffer_sample_positions.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/AMD/framebuffer_sample_positions.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/AMD/framebuffer_sample_positions.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''OpenGL extension AMD.framebuffer_sample_positions This module customises the behaviour of the OpenGL.raw.GL.AMD.framebuffer_sample_positions to provide a more Python-friendly API Overview (from the spec) In unextended GL, the sub-pixel loations of multisampled textures and renderbuffers are generall...
45.363636
77
0.799599
278
1,996
5.676259
0.467626
0.076046
0.063371
0.091888
0.136882
0.136882
0.136882
0.063371
0.063371
0
0
0
0.162826
1,996
44
78
45.363636
0.944345
0.828156
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
b43256cea1b6d76e7ca9d9cb76207a7046e3a170
235
py
Python
comments/admin.py
KingAnduin/fitness
2e510ab0ce9fdb1a90e7a7470d56be5188835e06
[ "Apache-2.0" ]
null
null
null
comments/admin.py
KingAnduin/fitness
2e510ab0ce9fdb1a90e7a7470d56be5188835e06
[ "Apache-2.0" ]
4
2021-03-19T02:05:47.000Z
2021-09-22T18:53:30.000Z
comments/admin.py
KingAnduin/fitness
2e510ab0ce9fdb1a90e7a7470d56be5188835e06
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from comments.models import CommentsInfo class CommentAdmin(admin.ModelAdmin): list_display = ('comment_content', 'comment_create_time', 'order') admin.site.register(CommentsInfo, CommentAdmin)
23.5
70
0.8
27
235
6.814815
0.740741
0
0
0
0
0
0
0
0
0
0
0
0.106383
235
9
71
26.111111
0.87619
0
0
0
0
0
0.165957
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b43b23f6c9c290898367a52cb7732c09e5830c22
157
py
Python
mypy/test/data/fixtures/bool.py
silky/mypy
de6a8d3710df9f49109cb682f2092e4967bfb92c
[ "PSF-2.0" ]
1
2019-06-27T11:34:27.000Z
2019-06-27T11:34:27.000Z
mypy/test/data/fixtures/bool.py
silky/mypy
de6a8d3710df9f49109cb682f2092e4967bfb92c
[ "PSF-2.0" ]
null
null
null
mypy/test/data/fixtures/bool.py
silky/mypy
de6a8d3710df9f49109cb682f2092e4967bfb92c
[ "PSF-2.0" ]
null
null
null
# builtins stub used in boolean-related test cases. class object: def __init__(self) -> None: pass class type: pass class bool: pass class int: pass
14.272727
51
0.719745
24
157
4.541667
0.75
0.247706
0
0
0
0
0
0
0
0
0
0
0.203822
157
10
52
15.7
0.872
0.312102
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.8
0
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
4
b4449458d1af3ee20ba316c8a78eb5573a21dba8
97
py
Python
calculators/apps.py
hughest64/brew_app
f450e9923e6242b3c37dc3934af6ab540c39999f
[ "MIT" ]
null
null
null
calculators/apps.py
hughest64/brew_app
f450e9923e6242b3c37dc3934af6ab540c39999f
[ "MIT" ]
null
null
null
calculators/apps.py
hughest64/brew_app
f450e9923e6242b3c37dc3934af6ab540c39999f
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CalculatorsConfig(AppConfig): name = 'calculators'
16.166667
35
0.773196
10
97
7.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.154639
97
5
36
19.4
0.914634
0
0
0
0
0
0.113402
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b468328061b42a1663be7a99054e6c61fa2c3dda
3,708
py
Python
tests/join_test.py
reuster986/arkouda
f1781e8a51c0d3d78a4d1753a6a70e7a41db8e7b
[ "MIT" ]
null
null
null
tests/join_test.py
reuster986/arkouda
f1781e8a51c0d3d78a4d1753a6a70e7a41db8e7b
[ "MIT" ]
null
null
null
tests/join_test.py
reuster986/arkouda
f1781e8a51c0d3d78a4d1753a6a70e7a41db8e7b
[ "MIT" ]
null
null
null
import importlib import numpy as np import math import gc import sys from base_test import ArkoudaTest from context import arkouda as ak ''' Encapsulates a variety of arkouda join_on_eq_with_dt test cases. ''' class JoinTest(ArkoudaTest): def setUp(self): ArkoudaTest.setUp(self) self.N = 1000 ...
38.625
103
0.60329
595
3,708
3.544538
0.136134
0.073969
0.104315
0.119488
0.749644
0.726411
0.726411
0.709341
0.69559
0.69559
0
0.039912
0.263484
3,708
95
104
39.031579
0.732332
0.046386
0
0.347222
0
0
0.037124
0
0
0
0
0
0.291667
1
0.111111
false
0
0.097222
0
0.222222
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b4880b11f6591cd2aca8100f9d8bfa56b04f9c2f
188
py
Python
examples/reversed.py
Fogapod/pink-accents
deac9b4baf0a60c1d30fd56ff9529c03889b74c1
[ "MIT" ]
1
2022-01-01T10:12:57.000Z
2022-01-01T10:12:57.000Z
examples/reversed.py
Fogapod/pink-accents
deac9b4baf0a60c1d30fd56ff9529c03889b74c1
[ "MIT" ]
null
null
null
examples/reversed.py
Fogapod/pink-accents
deac9b4baf0a60c1d30fd56ff9529c03889b74c1
[ "MIT" ]
null
null
null
from typing import Any from pink_accents import Accent class Reversed(Accent): """.txet sesreveR""" def apply(self, text: str, **kwargs: Any) -> str: return text[::-1]
17.090909
53
0.638298
25
188
4.76
0.76
0
0
0
0
0
0
0
0
0
0
0.006849
0.223404
188
10
54
18.8
0.808219
0.074468
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
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
1
1
0
0
4
81f0d6e7da63e2eacacfeca251573a3d39051c96
1,055
py
Python
teleband/instruments/migrations/0002_data_migration_seed_transpositions.py
JMU-CIME/CPR-Music-Backend
b72b70ed8826595c96c028595181293edcf1e368
[ "MIT" ]
2
2022-01-08T20:21:43.000Z
2022-03-18T03:31:30.000Z
teleband/instruments/migrations/0002_data_migration_seed_transpositions.py
JMU-CIME/CPR-Music-Backend
b72b70ed8826595c96c028595181293edcf1e368
[ "MIT" ]
16
2022-01-08T02:12:54.000Z
2022-03-02T03:02:59.000Z
teleband/instruments/migrations/0002_data_migration_seed_transpositions.py
JMU-CIME/CPR-Music-Backend
b72b70ed8826595c96c028595181293edcf1e368
[ "MIT" ]
2
2022-01-08T00:21:37.000Z
2022-01-18T05:33:15.000Z
# Generated by Django 3.2.11 on 2022-01-07 21:56 from django.db import migrations def update_site_forward(apps, schema_editor): """Set site domain and name.""" Transposition = apps.get_model("instruments", "Transposition") Transposition.objects.update_or_create( name="Alto Clef", ) Transp...
25.119048
87
0.669194
119
1,055
5.739496
0.445378
0.234261
0.304539
0.327965
0.527086
0.527086
0.304539
0.304539
0.304539
0
0
0.026797
0.221801
1,055
41
88
25.731707
0.805116
0.069194
0
0.25
1
0
0.13627
0
0
0
0
0
0
1
0.03125
false
0
0.03125
0
0.15625
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
81f24abb9c82f9cf1e1879fbe7195fc60a9ade2c
100
py
Python
config.py
DerWaldi/cat-dog-audio-classifier
697025d438b3dc45d441d5e34ec62a9041b68a36
[ "MIT" ]
null
null
null
config.py
DerWaldi/cat-dog-audio-classifier
697025d438b3dc45d441d5e34ec62a9041b68a36
[ "MIT" ]
null
null
null
config.py
DerWaldi/cat-dog-audio-classifier
697025d438b3dc45d441d5e34ec62a9041b68a36
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function # Hyper Parameters BATCH_SIZE = 30
25
64
0.84
13
100
5.923077
0.923077
0
0
0
0
0
0
0
0
0
0
0.022727
0.12
100
4
65
25
0.852273
0.16
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
4
c321cba9b4ad5ef09033ba7630fa7d61ea70e07a
951
py
Python
robostat/web/views/timetable/renderers.py
teknologiakerho/robostat-web
10065c0bb9a387ba95e41d28c2f8911c22330372
[ "MIT" ]
null
null
null
robostat/web/views/timetable/renderers.py
teknologiakerho/robostat-web
10065c0bb9a387ba95e41d28c2f8911c22330372
[ "MIT" ]
null
null
null
robostat/web/views/timetable/renderers.py
teknologiakerho/robostat-web
10065c0bb9a387ba95e41d28c2f8911c22330372
[ "MIT" ]
null
null
null
import flask from robostat.rulesets.xsumo import XSumoRuleset from robostat.rulesets.rescue import RescueRuleset from robostat.rulesets.tanssi import DanceInterviewRuleset, DancePerformanceRuleset from robostat.rulesets.haastattelu import HaastatteluRuleset from robostat.web.views.timetable import event_renderer @even...
39.625
83
0.840168
115
951
6.791304
0.234783
0.140845
0.096031
0.107554
0.362356
0.362356
0.25096
0.25096
0
0
0
0
0.071504
951
23
84
41.347826
0.884485
0
0
0
0
0
0.116719
0.116719
0
0
0
0
0
1
0.210526
false
0
0.315789
0.210526
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
1
0
0
1
1
1
0
0
4
c3309b6a724f763b6c0a1e25654b324f11e40da4
238
py
Python
codetools/util/tests/dict_test_case.py
braidedlogix/Codetools_wxPhoenix_py3
555e7e3e4895ef9d79716e0323db4445436d10dc
[ "BSD-3-Clause" ]
1
2017-05-12T04:17:50.000Z
2017-05-12T04:17:50.000Z
codetools/util/tests/dict_test_case.py
braidedlogix/Codetools_wxPhoenix_py3
555e7e3e4895ef9d79716e0323db4445436d10dc
[ "BSD-3-Clause" ]
null
null
null
codetools/util/tests/dict_test_case.py
braidedlogix/Codetools_wxPhoenix_py3
555e7e3e4895ef9d79716e0323db4445436d10dc
[ "BSD-3-Clause" ]
null
null
null
import unittest from traits.testing.api import doctest_for_module import codetools.util.dict as dict class DictDocTestCase(doctest_for_module(dict)): pass if __name__ == '__main__': import sys unittest.main(argv=sys.argv)
18.307692
49
0.768908
33
238
5.181818
0.636364
0.116959
0.187135
0
0
0
0
0
0
0
0
0
0.151261
238
12
50
19.833333
0.846535
0
0
0
0
0
0.033613
0
0
0
0
0
0
1
0
true
0.125
0.5
0
0.625
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
4
c34d0a5423a6326d7300e7ec40960aa7ec8583c5
1,120
py
Python
actors/Big_brother.py
MaryanMorel/utopical-brotherhood
de80c0b38a2410fc4ebd765decdda738e8faf889
[ "MIT" ]
null
null
null
actors/Big_brother.py
MaryanMorel/utopical-brotherhood
de80c0b38a2410fc4ebd765decdda738e8faf889
[ "MIT" ]
null
null
null
actors/Big_brother.py
MaryanMorel/utopical-brotherhood
de80c0b38a2410fc4ebd765decdda738e8faf889
[ "MIT" ]
null
null
null
#! /usr/bin/python2 # -*- coding: utf8 -*- import pykka import time from Manager import Manager class Big_Brother(pykka.ThreadingActor): def __init__(self): super(Big_Brother, self).__init__() self.pool = {'managers':[]} def start_manager(self, token): self.pool['managers'].append(Man...
31.111111
66
0.675
146
1,120
4.90411
0.30137
0.163408
0.223464
0.22486
0.360335
0.325419
0.244413
0.244413
0.191341
0.131285
0
0.002181
0.18125
1,120
35
67
32
0.778626
0.061607
0
0
0
0
0.076409
0
0
0
0
0
0
1
0.333333
false
0
0.125
0
0.541667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
c34eb2cbe27121eb684d0b5496ff31a067a2d088
8,162
py
Python
k2/python/host/tests/properties_test.py
EmreOzkose/k2
818b138b33eabe440601df8910a2b97ac088594b
[ "Apache-2.0" ]
491
2020-09-17T09:05:05.000Z
2022-03-31T13:38:18.000Z
k2/python/host/tests/properties_test.py
jimbozhang/k2
eeeabf187aae5fb4bb91dc66dada32a0e555db6c
[ "Apache-2.0" ]
600
2020-09-17T13:55:06.000Z
2022-03-30T23:23:40.000Z
k2/python/host/tests/properties_test.py
jimbozhang/k2
eeeabf187aae5fb4bb91dc66dada32a0e555db6c
[ "Apache-2.0" ]
121
2020-09-17T15:44:56.000Z
2022-03-23T13:22:52.000Z
#!/usr/bin/env python3 # # Copyright 2020 Xiaomi Corporation (author: Haowen Qiu) # # See ../../../LICENSE for clarification regarding multiple authors # # 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 ...
23.795918
74
0.561872
1,216
8,162
3.594572
0.125822
0.032487
0.019218
0.067262
0.744223
0.721803
0.704415
0.684969
0.661633
0.631434
0
0.08473
0.342073
8,162
342
75
23.865497
0.729237
0.122151
0
0.758893
0
0
0.210039
0
0
0
0
0
0.126482
1
0.126482
false
0
0.011858
0
0.173913
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c35a1638fee74ca8bf00639684ca6fde0cde25da
6,034
py
Python
HW2-6/HW4/Code/CSCI567_hw4_fall16.py
suhail-ansari/Machine-Learning-Algortihms
e116c28848a2cb2132a09fcfdc0301ae89ebcf8b
[ "MIT" ]
null
null
null
HW2-6/HW4/Code/CSCI567_hw4_fall16.py
suhail-ansari/Machine-Learning-Algortihms
e116c28848a2cb2132a09fcfdc0301ae89ebcf8b
[ "MIT" ]
null
null
null
HW2-6/HW4/Code/CSCI567_hw4_fall16.py
suhail-ansari/Machine-Learning-Algortihms
e116c28848a2cb2132a09fcfdc0301ae89ebcf8b
[ "MIT" ]
null
null
null
import hw_utils as ml_utils from datetime import datetime def main(): start = datetime.now() print "Loading Data..." X_tr, y_tr, X_te, y_te = ml_utils.loaddata('./MiniBooNE_PID.txt') print X_tr.shape, y_tr.shape """ print "Normalizing Data..." nX_tr, nX_te = ml_utils.normalize(X_tr, X_t...
32.793478
119
0.629102
1,001
6,034
3.532468
0.110889
0.025452
0.041007
0.05543
0.786765
0.744627
0.70362
0.661765
0.640837
0.640837
0
0.080171
0.226881
6,034
184
120
32.793478
0.677814
0
0
0.342857
0
0
0.10626
0
0
0
0
0
0
0
null
null
0
0.019048
null
null
0.190476
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
c36132b473fdb5d9c9f231f589e9efd2ad61fbda
22
py
Python
fabric_cf/__init__.py
fabric-testbed/OrchestratorClient
ea8904d8c9d3e63f471b2a51ae5b5b4e5e0ca763
[ "MIT" ]
null
null
null
fabric_cf/__init__.py
fabric-testbed/OrchestratorClient
ea8904d8c9d3e63f471b2a51ae5b5b4e5e0ca763
[ "MIT" ]
9
2021-06-08T21:45:01.000Z
2021-12-03T15:39:48.000Z
fabric_cf/__init__.py
fabric-testbed/OrchestratorClient
ea8904d8c9d3e63f471b2a51ae5b5b4e5e0ca763
[ "MIT" ]
null
null
null
__VERSION__ = "1.1b5"
11
21
0.681818
3
22
3.666667
1
0
0
0
0
0
0
0
0
0
0
0.157895
0.136364
22
1
22
22
0.421053
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c382499ab445a5d8c442bd500300ae557a752b8f
3,212
py
Python
tests/integration/mci/test_dates_in_questions.py
qateam123/eq
704757952323647d659c49a71975c56406ff4047
[ "MIT" ]
null
null
null
tests/integration/mci/test_dates_in_questions.py
qateam123/eq
704757952323647d659c49a71975c56406ff4047
[ "MIT" ]
8
2020-03-24T15:24:18.000Z
2022-03-02T04:32:56.000Z
tests/integration/mci/test_dates_in_questions.py
qateam123/eq
704757952323647d659c49a71975c56406ff4047
[ "MIT" ]
null
null
null
from tests.integration.create_token import create_token from tests.integration.integration_test_case import IntegrationTestCase class TestHappyPath(IntegrationTestCase): def test_try_date_203(self): self.try_date('0203', '1') def test_try_another_data_203(self): self.try_another_date('0203',...
38.238095
141
0.657223
417
3,212
4.868106
0.206235
0.070936
0.074877
0.073892
0.8
0.755665
0.736946
0.715271
0.685714
0.685714
0
0.044409
0.228829
3,212
83
142
38.698795
0.775131
0.066625
0
0.566038
0
0
0.204819
0.050201
0
0
0
0
0.339623
1
0.113208
false
0
0.037736
0
0.169811
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6f0172d8d4a17e436cbbf3c046e97f48d0572542
138
py
Python
monasca_predictor/__init__.py
giacomolanciano/monasca-predictor
f0e07304d51cfa06b189ff1ea2350d26c4461329
[ "Apache-2.0" ]
null
null
null
monasca_predictor/__init__.py
giacomolanciano/monasca-predictor
f0e07304d51cfa06b189ff1ea2350d26c4461329
[ "Apache-2.0" ]
null
null
null
monasca_predictor/__init__.py
giacomolanciano/monasca-predictor
f0e07304d51cfa06b189ff1ea2350d26c4461329
[ "Apache-2.0" ]
null
null
null
import monasca_predictor.common.util as util # set up logging before importing any other components util.initialize_logging("predictor")
27.6
54
0.833333
19
138
5.947368
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.108696
138
4
55
34.5
0.918699
0.376812
0
0
0
0
0.107143
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
6f1d6f25c88a4b1349fbb36a0a1b176732d6e506
215
py
Python
libs/SmartMeshSDK/HartMoteConnector/__init__.py
rgrr/smartmeshsdk
a95f3e4d9e2254d59d326428fef8c77319cd4373
[ "BSD-3-Clause" ]
29
2015-02-17T14:22:14.000Z
2021-02-19T06:01:10.000Z
libs/SmartMeshSDK/HartMoteConnector/__init__.py
rgrr/smartmeshsdk
a95f3e4d9e2254d59d326428fef8c77319cd4373
[ "BSD-3-Clause" ]
17
2017-02-10T09:43:13.000Z
2017-09-09T05:46:49.000Z
libs/SmartMeshSDK/HartMoteConnector/__init__.py
rgrr/smartmeshsdk
a95f3e4d9e2254d59d326428fef8c77319cd4373
[ "BSD-3-Clause" ]
35
2015-07-10T18:58:15.000Z
2022-03-20T08:56:25.000Z
try: import HartMoteConnectorClib HartMoteConnector = HartMoteConnectorClib print 'Note: using the C implementation of the HartMoteConnector connector' except ImportError: import HartMoteConnector
30.714286
79
0.795349
19
215
9
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.176744
215
6
80
35.833333
0.966102
0
0
0
0
0
0.320574
0
0
0
0
0
0
0
null
null
0
0.5
null
null
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
1
0
0
0
1
0
0
0
0
4
6f2f9900fc1d3a7330abdfe0ffb0b148c2f42550
1,010
py
Python
tests/test_swf/test_utils.py
David-Wobrock/simpleflow
09f59105b48ae79aef37b506bbde0cd1f2c360d1
[ "MIT" ]
69
2015-02-24T00:49:40.000Z
2022-02-05T02:35:04.000Z
tests/test_swf/test_utils.py
David-Wobrock/simpleflow
09f59105b48ae79aef37b506bbde0cd1f2c360d1
[ "MIT" ]
295
2015-02-06T11:02:00.000Z
2022-03-21T11:01:34.000Z
tests/test_swf/test_utils.py
David-Wobrock/simpleflow
09f59105b48ae79aef37b506bbde0cd1f2c360d1
[ "MIT" ]
27
2015-08-31T22:14:42.000Z
2022-02-08T07:25:01.000Z
# -*- coding:utf-8 -*- import unittest from swf.utils import * class TestUtils(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_get_non_existent_subkey_from_first_level(self): base_dict = {"a": {"1": 2, "2": 3,}} self.assertIsNone(get_subkey(...
25.897436
68
0.609901
146
1,010
3.883562
0.253425
0.155203
0.142857
0.10582
0.756614
0.708995
0.673721
0.627866
0.627866
0.627866
0
0.031526
0.214851
1,010
38
69
26.578947
0.68348
0.019802
0
0.318182
0
0
0.024292
0
0
0
0
0
0.227273
1
0.318182
false
0.090909
0.090909
0
0.454545
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
6f469e4c931735950ab4050af39d78c8d1229fd2
67
py
Python
stock_alerter/__init__.py
rentes/test-driven-python-development
a0070b654e22349a54c5a6183446790f28239496
[ "MIT" ]
1
2019-05-29T23:53:04.000Z
2019-05-29T23:53:04.000Z
stock_alerter/__init__.py
rentes/test-driven-python-development
a0070b654e22349a54c5a6183446790f28239496
[ "MIT" ]
null
null
null
stock_alerter/__init__.py
rentes/test-driven-python-development
a0070b654e22349a54c5a6183446790f28239496
[ "MIT" ]
2
2015-11-01T10:11:23.000Z
2021-04-19T21:32:25.000Z
# -*- coding: utf-8 -*- """Initialise the stock alerter package"""
22.333333
42
0.626866
8
67
5.25
1
0
0
0
0
0
0
0
0
0
0
0.017544
0.149254
67
2
43
33.5
0.719298
0.880597
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
6f68faaf1a02cdb641a0d4707bb667b88b08e941
524
py
Python
tests/notebooks/mirror/ipynb_to_hydrogen/nteract_with_parameter.py
st--/jupytext
f8e8352859cc22e17b11154d0770fd946c4a430a
[ "MIT" ]
5,378
2018-09-01T22:03:43.000Z
2022-03-31T06:51:42.000Z
tests/notebooks/mirror/ipynb_to_hydrogen/nteract_with_parameter.py
st--/jupytext
f8e8352859cc22e17b11154d0770fd946c4a430a
[ "MIT" ]
812
2018-08-31T08:26:13.000Z
2022-03-30T18:12:11.000Z
tests/notebooks/mirror/ipynb_to_hydrogen/nteract_with_parameter.py
st--/jupytext
f8e8352859cc22e17b11154d0770fd946c4a430a
[ "MIT" ]
380
2018-09-02T01:40:07.000Z
2022-03-25T13:57:23.000Z
# --- # jupyter: # kernel_info: # name: python3 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # %% outputHidden=false inputHidden=false tags=["parameters"] param = 4 # %% outputHidden=false inputHidden=false import pandas as pd # %% outputHidden=false inputHidden...
20.96
61
0.624046
62
524
5.241935
0.580645
0.209231
0.344615
0.406154
0
0
0
0
0
0
0
0.023923
0.20229
524
24
62
21.833333
0.753589
0.589695
0
0
0
0
0.049751
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
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
1
0
0
0
0
0
0
0
0
4
48b62ac233c4cf7e05b9bee2be74a30e789497ae
694
py
Python
scripts/patches/lightsail.py
compose-x/troposphere
9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4
[ "BSD-2-Clause" ]
null
null
null
scripts/patches/lightsail.py
compose-x/troposphere
9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4
[ "BSD-2-Clause" ]
null
null
null
scripts/patches/lightsail.py
compose-x/troposphere
9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4
[ "BSD-2-Clause" ]
null
null
null
patches = [ # Rename AWS::Lightsail::Instance.Disk to AWS::Lightsail::Instance.DiskProperty { "op": "move", "from": "/PropertyTypes/AWS::Lightsail::Instance.Disk", "path": "/PropertyTypes/AWS::Lightsail::Instance.DiskProperty", }, { "op": "replace", "path": "/Prop...
30.173913
93
0.583573
60
694
6.75
0.4
0.207407
0.345679
0.407407
0.523457
0.222222
0.222222
0
0
0
0
0
0.236311
694
22
94
31.545455
0.764151
0.178674
0
0.1
0
0
0.583774
0.463845
0
0
0
0
0
1
0
false
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
48c2f6b0b33d8352c130e2af01de0dbb1ffab2d1
22
py
Python
jenkins_job_wrecker/__init__.py
chenhuahuan/jenkins-job-wrecker
ebe639e1334e436a35a463118af35b9f5cecd655
[ "MIT" ]
210
2017-12-18T09:53:04.000Z
2019-12-18T00:25:13.000Z
jenkins_job_wrecker/__init__.py
chenhuahuan/jenkins-job-wrecker
ebe639e1334e436a35a463118af35b9f5cecd655
[ "MIT" ]
40
2015-08-14T23:11:08.000Z
2019-11-11T22:27:29.000Z
jenkins_job_wrecker/__init__.py
chenhuahuan/jenkins-job-wrecker
ebe639e1334e436a35a463118af35b9f5cecd655
[ "MIT" ]
29
2018-02-05T18:55:57.000Z
2019-12-27T18:25:46.000Z
__version__ = '1.7.1'
11
21
0.636364
4
22
2.5
0.75
0
0
0
0
0
0
0
0
0
0
0.157895
0.136364
22
1
22
22
0.368421
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
48dc261d875e4e734311f7cf8fa99887055deb84
520
py
Python
xmatters/__init__.py
matthewhenry1/pyxmatters
9c376e370b30f0b8b2e589ba05fed26dad2814ae
[ "MIT" ]
1
2021-08-09T17:33:38.000Z
2021-08-09T17:33:38.000Z
xmatters/__init__.py
xmatters/pyxmatters
ebe4a88558b7eb3408b59fbf9cabed3a748601a0
[ "MIT" ]
null
null
null
xmatters/__init__.py
xmatters/pyxmatters
ebe4a88558b7eb3408b59fbf9cabed3a748601a0
[ "MIT" ]
2
2020-04-03T22:30:32.000Z
2020-04-20T13:44:18.000Z
from .rest.api import * from .rest.device import * from .rest.group import * from .rest.libraries import * from .rest.person import * from .rest.plans import * from .rest.roster import * from .rest.shift import * from .rest.site import * from .rest.dynamic_teams import * from .rest.oncall import * from .rest.event impo...
26
79
0.751923
78
520
5
0.410256
0.287179
0.430769
0
0
0
0
0
0
0
0
0
0.153846
520
19
80
27.368421
0.886364
0.148077
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
48dcc6c8f2212815b103d9818355fcb88d77f1e7
3,483
py
Python
ocdsmerge/fixtures/mergeid_example.py
kindly/ocds-merge
c8d446c67a149abe341722cb25624cb24cada644
[ "BSD-3-Clause" ]
null
null
null
ocdsmerge/fixtures/mergeid_example.py
kindly/ocds-merge
c8d446c67a149abe341722cb25624cb24cada644
[ "BSD-3-Clause" ]
null
null
null
ocdsmerge/fixtures/mergeid_example.py
kindly/ocds-merge
c8d446c67a149abe341722cb25624cb24cada644
[ "BSD-3-Clause" ]
null
null
null
releases = [ { "ocid": "A", "id": "1", "date": "2014-01-01", "tag": ["tender"], "tender": { "items": [ { "id": "1", "description": "Item 1", "quantity": 1 }, { "id": "2", "desc...
24.702128
52
0.231984
177
3,483
4.564972
0.135593
0.074257
0.147277
0.069307
0.831683
0.800743
0.783416
0.649752
0.482673
0.428218
0
0.090841
0.617571
3,483
140
53
24.878571
0.515766
0
0
0.554745
0
0
0.226307
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
48eed93ac827b534015eaac19161917a33513480
232
py
Python
wtl/streaming_log_response/urls.py
elegion/djangodash2013
3814123f9bff213a5d74db05db3caa83caea731c
[ "MIT" ]
null
null
null
wtl/streaming_log_response/urls.py
elegion/djangodash2013
3814123f9bff213a5d74db05db3caa83caea731c
[ "MIT" ]
1
2017-09-19T17:06:49.000Z
2017-09-19T17:06:49.000Z
wtl/streaming_log_response/urls.py
elegion/djangodash2013
3814123f9bff213a5d74db05db3caa83caea731c
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, url urlpatterns = patterns( 'wtl.streaming_log_response.views', url(r'^$', 'test', name='streamin_log_response_test'), url(r'^2$', 'test2', name='streamin_log_response_test'), )
23.2
60
0.698276
31
232
4.967742
0.612903
0.214286
0.194805
0.298701
0.350649
0
0
0
0
0
0
0.00995
0.133621
232
9
61
25.777778
0.756219
0
0
0
0
0
0.422414
0.362069
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d293f2fec1cd964529f199f2da44e5c02d163228
538
py
Python
4_Data_Driven_Testing/File_management/example6-fileobject.py
turovod/Otus
57433c6944bca155177b07ff361139ff30f7f692
[ "MIT" ]
null
null
null
4_Data_Driven_Testing/File_management/example6-fileobject.py
turovod/Otus
57433c6944bca155177b07ff361139ff30f7f692
[ "MIT" ]
null
null
null
4_Data_Driven_Testing/File_management/example6-fileobject.py
turovod/Otus
57433c6944bca155177b07ff361139ff30f7f692
[ "MIT" ]
null
null
null
with open("mynewtextfile.txt","w+") as f: f.writelines("\nOtus we are learning python\nOtus we are learning python\nOtus we are learning python") f.seek(0) print(f.readlines()) print("Is readable:", f.readable()) print("Is writeable:", f.writable()) print("File no:", f.fileno()) print("Is co...
31.647059
107
0.624535
79
538
4.253165
0.443038
0.107143
0.208333
0.22619
0.47619
0.422619
0.422619
0.422619
0.422619
0.422619
0
0.009174
0.189591
538
17
108
31.647059
0.761468
0
0
0.411765
0
0
0.317254
0
0
0
0
0
0
1
0
true
0
0
0
0
0.588235
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
d2cd956f42c999fffe303ac09ceb7d170d1eb44b
805
py
Python
client/data/email_builder.py
jurandirjdsilva/pycryptomail
baa20875627470f68273a4224db493ddffd2b408
[ "MIT" ]
1
2018-04-20T19:17:45.000Z
2018-04-20T19:17:45.000Z
client/data/email_builder.py
jurandirjdsilva/pycryptomail
baa20875627470f68273a4224db493ddffd2b408
[ "MIT" ]
null
null
null
client/data/email_builder.py
jurandirjdsilva/pycryptomail
baa20875627470f68273a4224db493ddffd2b408
[ "MIT" ]
1
2018-05-25T16:07:20.000Z
2018-05-25T16:07:20.000Z
class EmailBuilder: def __init__(self): self.message = {} def set_from_email(self, email): self.message['from'] = email return self def set_receiver_email(self, email): self.message['receiver'] = email def set_cc_emails(self, emails): self.message['cc'] = email...
23.676471
49
0.613665
91
805
5.274725
0.208791
0.229167
0.1625
0.166667
0.104167
0
0
0
0
0
0
0
0.284472
805
33
50
24.393939
0.833333
0
0
0.24
0
0
0.058385
0
0
0
0
0
0
1
0.36
false
0
0
0.04
0.68
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
1
0
0
4
d2e0cdda7cda40e01166dad17e062c12c346e2cd
8,380
py
Python
suncasa/suncasatasks/calibeovsa.py
wyq24/suncasa
e6ed6d8b9bd2186c4af6d0354d03af5fff9aef7a
[ "BSD-2-Clause" ]
2
2018-02-12T09:34:23.000Z
2019-07-16T18:25:12.000Z
suncasa/suncasatasks/calibeovsa.py
wulinhui1/suncasa-src
1f94aaabaf6a3911fa532648ec6676a221553436
[ "BSD-2-Clause" ]
26
2016-11-09T17:11:45.000Z
2021-08-20T13:41:50.000Z
suncasa/suncasatasks/calibeovsa.py
wulinhui1/suncasa-src
1f94aaabaf6a3911fa532648ec6676a221553436
[ "BSD-2-Clause" ]
17
2016-10-27T18:35:46.000Z
2021-08-03T05:33:57.000Z
##################### generated by xml-casa (v2) from calibeovsa.xml ################ ##################### f295775a00a77dd77b81d6e69924145c ############################## from __future__ import absolute_import import numpy from casatools.typecheck import CasaValidator as _val_ctor _pc = _val_ctor( ) from casatools.coe...
74.159292
1,103
0.678998
1,031
8,380
5.384093
0.237633
0.064853
0.045397
0.043235
0.30481
0.269501
0.205909
0.176725
0.176725
0.160872
0
0.01612
0.163484
8,380
112
1,104
74.821429
0.775749
0.497017
0
0
1
0
0.2891
0
0
0
0
0
0.055556
1
0.055556
false
0
0.388889
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d2f68391546f02bbc5d5716562ac27bb7086e6a3
61
py
Python
app/components/OpenLogger/__init__.py
Eksno/DevOps_Flask_Login
6d5034a3dd719a25ac410093628f033edbbde17c
[ "Apache-2.0" ]
1
2022-01-06T09:21:49.000Z
2022-01-06T09:21:49.000Z
app/components/OpenLogger/__init__.py
Eksno/DevOps_Flask_Login
6d5034a3dd719a25ac410093628f033edbbde17c
[ "Apache-2.0" ]
null
null
null
app/components/OpenLogger/__init__.py
Eksno/DevOps_Flask_Login
6d5034a3dd719a25ac410093628f033edbbde17c
[ "Apache-2.0" ]
null
null
null
from .open_logger import configure_loggers, configure_logger
30.5
60
0.885246
8
61
6.375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.081967
61
1
61
61
0.910714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
960fa873b5a677c342e19b1a6148a00aaa1b07f4
112
py
Python
match_full_name.py
GYosifov88/Python-Fundamentals
b46ba2822bd2dac6ff46830c6a520e559b448442
[ "MIT" ]
null
null
null
match_full_name.py
GYosifov88/Python-Fundamentals
b46ba2822bd2dac6ff46830c6a520e559b448442
[ "MIT" ]
null
null
null
match_full_name.py
GYosifov88/Python-Fundamentals
b46ba2822bd2dac6ff46830c6a520e559b448442
[ "MIT" ]
null
null
null
import re text = input() matches = re.findall(r"\b[A-Z][a-z]+ [A-Z][a-z]+\b", text) print(' '.join(matches))
14
58
0.571429
22
112
2.909091
0.545455
0.125
0.140625
0.1875
0.125
0.125
0
0
0
0
0
0
0.133929
112
7
59
16
0.659794
0
0
0
0
0.25
0.25
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9623952d22c36d9e71c1be2649e9bfe8c76188ea
372
py
Python
cleanup/__main__.py
luist18/feup-pri-proj
ec9272edc27375cffab6387f116b602cd0231371
[ "MIT" ]
null
null
null
cleanup/__main__.py
luist18/feup-pri-proj
ec9272edc27375cffab6387f116b602cd0231371
[ "MIT" ]
null
null
null
cleanup/__main__.py
luist18/feup-pri-proj
ec9272edc27375cffab6387f116b602cd0231371
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from cleanup import cleaner def main(): cleaner.books("data/scraper/book.csv") cleaner.sections("data/scraper/section.csv") cleaner.articles("data/scraper/article.csv", "data/scraper/article_version.csv") # cleaner.article_versions("data/scraper/article_ve...
23.25
66
0.66129
44
372
5.340909
0.5
0.234043
0.229787
0.212766
0.238298
0
0
0
0
0
0
0.003289
0.182796
372
15
67
24.8
0.769737
0.22043
0
0
0
0
0.379791
0.351916
0
0
0
0
0
1
0.125
true
0
0.125
0
0.25
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
9624a7da670ac89ed23a5aca134434019a395a13
5,012
py
Python
app/models.py
CheropS/PitchPerfect
94841bf87f1f8efdc420f2d24415e197f46b5e8f
[ "MIT" ]
null
null
null
app/models.py
CheropS/PitchPerfect
94841bf87f1f8efdc420f2d24415e197f46b5e8f
[ "MIT" ]
null
null
null
app/models.py
CheropS/PitchPerfect
94841bf87f1f8efdc420f2d24415e197f46b5e8f
[ "MIT" ]
null
null
null
from werkzeug.security import generate_password_hash,check_password_hash from . import db from flask_login import UserMixin from . import login_manager from datetime import datetime from dataclasses import dataclass @login_manager.user_loader def load_user(pitch_id): return User.query.get(int(pitch_id)) # class...
30.375758
76
0.673783
645
5,012
5.062016
0.16124
0.068606
0.085758
0.063706
0.762634
0.715161
0.673507
0.643185
0.612864
0.588361
0
0.009826
0.187749
5,012
165
77
30.375758
0.792189
0.276137
0
0.45977
1
0
0.093426
0.017301
0
0
0
0
0
1
0.195402
false
0.183908
0.068966
0.103448
0.758621
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
1
0
0
0
4
824e29bb76c60efabcce0b1ec1e5588b7f020107
390
py
Python
nanome/_internal/_network/_commands/_serialization/_ui/_get_menu_transform.py
rramji/nanome-lib
2806598af31cfb4bb6e16366f0b300d2ddcc9c13
[ "MIT" ]
null
null
null
nanome/_internal/_network/_commands/_serialization/_ui/_get_menu_transform.py
rramji/nanome-lib
2806598af31cfb4bb6e16366f0b300d2ddcc9c13
[ "MIT" ]
null
null
null
nanome/_internal/_network/_commands/_serialization/_ui/_get_menu_transform.py
rramji/nanome-lib
2806598af31cfb4bb6e16366f0b300d2ddcc9c13
[ "MIT" ]
null
null
null
from nanome._internal._util._serializers import _TypeSerializer class _GetMenuTransform(_TypeSerializer): def __init__(self): pass def version(self): return 0 def name(self): return "GetMenuTransform" def serialize(self, version, value, context): context.write_byte(va...
22.941176
63
0.682051
41
390
6.219512
0.585366
0.078431
0
0
0
0
0
0
0
0
0
0.003367
0.238462
390
17
64
22.941176
0.855219
0
0
0
0
0
0.040921
0
0
0
0
0
0
1
0.416667
false
0.083333
0.083333
0.25
0.833333
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
1
1
0
0
4
8267dde16e79ccf1ba05048eaf97384a0f6dd407
150
py
Python
verify/checker/abc150/a.py
naskya/testcase-generator
02765184a275152e1d8c177f2028ca8db315cfee
[ "MIT" ]
4
2020-09-23T07:11:41.000Z
2022-02-02T09:08:21.000Z
verify/checker/abc150/a.py
naskya/testcase-generator
02765184a275152e1d8c177f2028ca8db315cfee
[ "MIT" ]
5
2021-08-29T18:23:01.000Z
2021-11-20T03:53:19.000Z
verify/checker/abc150/a.py
naskya/testcase-generator
02765184a275152e1d8c177f2028ca8db315cfee
[ "MIT" ]
null
null
null
def main() -> None: K, X = map(int, input().split()) assert 1 <= K <= 100 assert 1 <= X <= 10**5 if __name__ == '__main__': main()
15
36
0.486667
22
150
2.954545
0.727273
0.215385
0
0
0
0
0
0
0
0
0
0.07619
0.3
150
9
37
16.666667
0.542857
0
0
0
0
0
0.053333
0
0
0
0
0
0.333333
1
0.166667
true
0
0
0
0.166667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
826f63b596c6cc25a010c826bb77a3ef1a64984c
106
py
Python
lib/PyAMF-0.7.2/pyamf/tests/remoting/__init__.py
MiCHiLU/google_appengine_sdk
3da9f20d7e65e26c4938d2c4054bc4f39cbc5522
[ "Apache-2.0" ]
790
2015-01-03T02:13:39.000Z
2020-05-10T19:53:57.000Z
AppServer/lib/PyAMF-0.6.1/pyamf/tests/remoting/__init__.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
1,361
2015-01-08T23:09:40.000Z
2020-04-14T00:03:04.000Z
AppServer/lib/PyAMF-0.6.1/pyamf/tests/remoting/__init__.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
155
2015-01-08T22:59:31.000Z
2020-04-08T08:01:53.000Z
# Copyright (c) The PyAMF Project. # See LICENSE.txt for details. """ Remoting tests. @since: 0.1.0 """
11.777778
34
0.650943
16
106
4.3125
0.9375
0
0
0
0
0
0
0
0
0
0
0.034483
0.179245
106
8
35
13.25
0.758621
0.877358
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
82771b01893f77029cb6d3ac928fce6deb02cfe4
1,362
py
Python
src/libs/baseview.py
Moniter123/websql
6510f9264526087d499ca690bdff63a630136d2d
[ "MIT" ]
1
2021-08-16T14:52:50.000Z
2021-08-16T14:52:50.000Z
src/libs/baseview.py
Moniter123/websql
6510f9264526087d499ca690bdff63a630136d2d
[ "MIT" ]
null
null
null
src/libs/baseview.py
Moniter123/websql
6510f9264526087d499ca690bdff63a630136d2d
[ "MIT" ]
null
null
null
from django.views.generic.base import View from django.utils.decorators import method_decorator from rest_framework.decorators import api_view from rest_framework.permissions import ( IsAdminUser, AllowAny ) from rest_framework.views import APIView @method_decorator(api_view(['DELETE', 'GET', 'POST', 'PUT']), ...
22.327869
73
0.633627
167
1,362
5.107784
0.239521
0.154748
0.21102
0.253224
0.475967
0.475967
0.475967
0.475967
0.475967
0.475967
0
0
0.254038
1,362
60
74
22.7
0.839567
0
0
0.585366
0
0
0.017621
0
0
0
0
0
0
1
0.317073
false
0.292683
0.121951
0.02439
0.609756
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
82b5548963c572c57584bf94afd5a4b3a94f7777
7,945
py
Python
tests/test_alt_extrapolation.py
DeNederlandscheBank/solvency2-rfr
61f192b98283274594f80605b11823a0a505d0f6
[ "MIT" ]
null
null
null
tests/test_alt_extrapolation.py
DeNederlandscheBank/solvency2-rfr
61f192b98283274594f80605b11823a0a505d0f6
[ "MIT" ]
null
null
null
tests/test_alt_extrapolation.py
DeNederlandscheBank/solvency2-rfr
61f192b98283274594f80605b11823a0a505d0f6
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for alternative extrapolation""" import solvency2_data import numpy as np import pandas as pd import unittest from collections import OrderedDict from datetime import datetime class TestAltExtra(unittest.TestCase): def test_1(self): assert solvency2_data.Dis...
72.889908
174
0.546381
924
7,945
4.616883
0.297619
0.168776
0.185185
0.333333
0.483826
0.45429
0.42241
0.405063
0.405063
0.383966
0
0.516183
0.32725
7,945
109
175
72.889908
0.281946
0.041032
0
0.285714
0
0
0.009857
0
0
0
0
0
0.087912
1
0.087912
false
0
0.065934
0
0.164835
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7da999f7e5298c7ad893f8e67ebaac3244daa810
617
py
Python
MinecraftStats/mcstats/stats/eat_rawmeat.py
jeffry1829/mcweb
8f736427d8adbba626194380e18f4a882ff31162
[ "CC-BY-3.0" ]
null
null
null
MinecraftStats/mcstats/stats/eat_rawmeat.py
jeffry1829/mcweb
8f736427d8adbba626194380e18f4a882ff31162
[ "CC-BY-3.0" ]
null
null
null
MinecraftStats/mcstats/stats/eat_rawmeat.py
jeffry1829/mcweb
8f736427d8adbba626194380e18f4a882ff31162
[ "CC-BY-3.0" ]
1
2020-01-17T13:59:56.000Z
2020-01-17T13:59:56.000Z
from mcstats import mcstats mcstats.registry.append( mcstats.MinecraftStat( 'eat_rawmeat', { 'title': '生食者', 'desc': '吃過的生肉數量', 'unit': 'int', }, mcstats.StatSumReader([ mcstats.StatReader(['minecraft:used','minecraft:porkchop']), ...
32.473684
72
0.564019
49
617
7.081633
0.469388
0.244957
0.37464
0.432277
0.56196
0
0
0
0
0
0
0
0.272285
617
18
73
34.277778
0.772829
0
0
0
0
0
0.3047
0
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
7db78bab15c709b59d39940f56879c6edaa22548
4,223
py
Python
useintest/services/models.py
wtsi-hgi/startfortest
426343c0ff340d4d83575cdafe2c4184707e7693
[ "MIT" ]
1
2019-06-18T20:56:42.000Z
2019-06-18T20:56:42.000Z
useintest/services/models.py
wtsi-hgi/useintest
426343c0ff340d4d83575cdafe2c4184707e7693
[ "MIT" ]
3
2017-09-21T12:14:44.000Z
2018-02-19T11:18:47.000Z
useintest/services/models.py
wtsi-hgi/useintest
426343c0ff340d4d83575cdafe2c4184707e7693
[ "MIT" ]
null
null
null
from typing import Set, Optional, Generic, TypeVar from bidict import bidict from docker.errors import NotFound from docker.models.containers import Container from useintest.common import UseInTestModel, docker_client from useintest.services.exceptions import UnexpectedNumberOfPortsError UserType = TypeVar("UserType...
29.326389
106
0.632252
503
4,223
5.151093
0.276342
0.050946
0.040525
0.027789
0.144346
0.101891
0.083366
0.083366
0.053261
0.053261
0
0.000653
0.274923
4,223
143
107
29.531469
0.845526
0.236798
0
0.175676
0
0
0.036005
0
0
0
0
0.013986
0.013514
1
0.22973
false
0.054054
0.081081
0.054054
0.527027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
1
0
0
4
7df02855c8c20e3ce9aae2101eb956085a791e19
304
py
Python
src/headers.py
ZuuZaa/defacto_price_parser
4cac5b5ba56ae113ecc4d0670f7e1ea1a3136f98
[ "MIT" ]
null
null
null
src/headers.py
ZuuZaa/defacto_price_parser
4cac5b5ba56ae113ecc4d0670f7e1ea1a3136f98
[ "MIT" ]
null
null
null
src/headers.py
ZuuZaa/defacto_price_parser
4cac5b5ba56ae113ecc4d0670f7e1ea1a3136f98
[ "MIT" ]
null
null
null
#for request headers headers = { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'GET', 'Access-Control-Allow-Headers': 'Content-Type', 'Access-Control-Max-Age': '3600', 'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0' }
38
96
0.661184
42
304
4.761905
0.690476
0.26
0.27
0
0
0
0
0
0
0
0
0.099617
0.141447
304
8
97
38
0.666667
0.0625
0
0
0
0.142857
0.740351
0.368421
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
814b3414baeae8ada72bb100f38af2e9c8d037ae
141
py
Python
src/run.py
colinnewell/Adventure-Insecure
46717dd14d88887559bb3a392c67b534c294edaa
[ "MIT" ]
4
2016-09-24T19:46:12.000Z
2017-07-08T02:17:06.000Z
src/run.py
colinnewell/Adventure-Insecure
46717dd14d88887559bb3a392c67b534c294edaa
[ "MIT" ]
null
null
null
src/run.py
colinnewell/Adventure-Insecure
46717dd14d88887559bb3a392c67b534c294edaa
[ "MIT" ]
null
null
null
from app import app if __name__ == '__main__': import logging logging.basicConfig(level=logging.DEBUG) app.run(host='0.0.0.0')
17.625
44
0.680851
21
141
4.190476
0.619048
0.068182
0.068182
0
0
0
0
0
0
0
0
0.034783
0.184397
141
7
45
20.142857
0.730435
0
0
0
0
0
0.106383
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
815337034d73063e67749cfde215e6f0e78751bc
551
py
Python
baleen/console/__init__.py
Rizwanabro/DataLabs
9e095bc4cac584e906dfd6e38eb77b1ef5afe107
[ "MIT" ]
null
null
null
baleen/console/__init__.py
Rizwanabro/DataLabs
9e095bc4cac584e906dfd6e38eb77b1ef5afe107
[ "MIT" ]
null
null
null
baleen/console/__init__.py
Rizwanabro/DataLabs
9e095bc4cac584e906dfd6e38eb77b1ef5afe107
[ "MIT" ]
null
null
null
# baleen.console # Implements the baleen console utility. # # Author: Benjamin Bengfort <benjamin@bengfort.com> # Created: Wed Mar 02 10:52:36 2016 -0500 # # Copyright (C) 2016 Bengfort.com # For license information, see LICENSE.txt # # ID: __init__.py [] benjamin@bengfort.com $ """ Implements the baleen console ut...
25.045455
74
0.53176
53
551
5.45283
0.641509
0.134948
0.131488
0.179931
0.228374
0
0
0
0
0
0
0.041237
0.119782
551
21
75
26.238095
0.554639
0.562613
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
8166af147e99853ff920fed42ceed2604492a1c4
320
py
Python
chemper/mol_toolkits/__init__.py
alexmalins/chemper
cc82c7d538a5157f90e3560cb2f4f6320038a80f
[ "MIT" ]
10
2018-05-21T16:50:05.000Z
2021-12-25T02:30:07.000Z
chemper/mol_toolkits/__init__.py
alexmalins/chemper
cc82c7d538a5157f90e3560cb2f4f6320038a80f
[ "MIT" ]
88
2018-04-12T01:34:18.000Z
2020-10-23T16:34:52.000Z
chemper/mol_toolkits/__init__.py
alexmalins/chemper
cc82c7d538a5157f90e3560cb2f4f6320038a80f
[ "MIT" ]
10
2018-04-30T19:07:43.000Z
2021-12-25T02:30:08.000Z
from . import adapters from . import mol_toolkit if mol_toolkit.HAS_OE: from . import cp_openeye if mol_toolkit.HAS_RDK: from . import cp_rdk if not mol_toolkit.HAS_OE and not mol_toolkit.HAS_RDK: raise Exception("Neither OpenEye or RDKit is installed"\ "ChemPer requires at least one of these toolkits")
24.615385
60
0.76875
53
320
4.433962
0.528302
0.212766
0.221277
0.12766
0
0
0
0
0
0
0
0
0.175
320
12
61
26.666667
0.890152
0
0
0
0
0
0.2625
0
0
0
0
0
0
1
0
true
0
0.444444
0
0.444444
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
81b85c0cca0c578a8886560bf00e8bceada0758e
225
py
Python
rest_framework_security/brute_force_protection/exceptions.py
RubenEu/django-rest-framework-security
638cf271c51a5bafd434a6b6a9c25a7c4849b485
[ "MIT" ]
7
2020-09-01T09:55:25.000Z
2021-11-04T06:59:04.000Z
rest_framework_security/brute_force_protection/exceptions.py
RubenEu/django-rest-framework-security
638cf271c51a5bafd434a6b6a9c25a7c4849b485
[ "MIT" ]
32
2020-10-28T17:09:18.000Z
2022-03-12T00:55:09.000Z
rest_framework_security/brute_force_protection/exceptions.py
RubenEu/django-rest-framework-security
638cf271c51a5bafd434a6b6a9c25a7c4849b485
[ "MIT" ]
2
2020-12-18T01:26:53.000Z
2021-11-04T06:59:07.000Z
class BruteForceProtectionException(Exception): pass class BruteForceProtectionBanException(BruteForceProtectionException): pass class BruteForceProtectionCaptchaException(BruteForceProtectionException): pass
20.454545
74
0.848889
12
225
15.916667
0.5
0.094241
0
0
0
0
0
0
0
0
0
0
0.111111
225
10
75
22.5
0.955
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
c4c350124d7a13ebe8dc6d46b3540225ccf95ce8
190
py
Python
tests/constants.py
fraudnet/kibana-docker
2551584f9ac88ad9bcaf19c342d52fd659434317
[ "Apache-2.0" ]
256
2016-09-26T22:29:37.000Z
2021-11-08T09:39:33.000Z
tests/constants.py
fraudnet/kibana-docker
2551584f9ac88ad9bcaf19c342d52fd659434317
[ "Apache-2.0" ]
97
2016-09-30T11:52:46.000Z
2019-06-25T18:11:53.000Z
tests/constants.py
fraudnet/kibana-docker
2551584f9ac88ad9bcaf19c342d52fd659434317
[ "Apache-2.0" ]
150
2016-10-24T20:42:41.000Z
2021-12-30T05:43:27.000Z
import os from subprocess import run, PIPE try: version = os.environ['ELASTIC_VERSION'] except KeyError: version = run('./bin/elastic-version', stdout=PIPE).stdout.decode().strip()
23.75
79
0.721053
25
190
5.44
0.64
0.205882
0
0
0
0
0
0
0
0
0
0
0.136842
190
7
80
27.142857
0.829268
0
0
0
0
0
0.189474
0.110526
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
c4d24c857ebdd84af0d0024be25ec9ad4621a64f
270
py
Python
blogging/migrations/0006_merge_20201125_0248.py
greeneyedsoandso/django
7b4c5c9ec75cdc34de0fdaf6c3c705539cea0dfc
[ "Unlicense" ]
null
null
null
blogging/migrations/0006_merge_20201125_0248.py
greeneyedsoandso/django
7b4c5c9ec75cdc34de0fdaf6c3c705539cea0dfc
[ "Unlicense" ]
2
2020-11-22T22:34:56.000Z
2020-11-25T03:59:30.000Z
blogging/migrations/0006_merge_20201125_0248.py
greeneyedsoandso/django-blog
7b4c5c9ec75cdc34de0fdaf6c3c705539cea0dfc
[ "Unlicense" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-25 02:48 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("blogging", "0005_auto_20201123_1846"), ("blogging", "0005_auto_20201123_0354"), ] operations = []
19.285714
48
0.662963
33
270
5.242424
0.757576
0.138728
0.184971
0.277457
0
0
0
0
0
0
0
0.221698
0.214815
270
13
49
20.769231
0.59434
0.166667
0
0
1
0
0.278027
0.206278
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f2111b21f4e34c6cf964064e9b2b4acfa9583e06
198
py
Python
Functions.Templates/Templates/HttpTrigger-Python/run.py
jeffhollan/azure-functions-templates
4e202cf4712e3eb57e6270a48a439987bb1502d1
[ "MIT" ]
1
2018-08-10T14:49:38.000Z
2018-08-10T14:49:38.000Z
Functions.Templates/Templates/HttpTrigger-Python/run.py
jeffhollan/azure-functions-templates
4e202cf4712e3eb57e6270a48a439987bb1502d1
[ "MIT" ]
null
null
null
Functions.Templates/Templates/HttpTrigger-Python/run.py
jeffhollan/azure-functions-templates
4e202cf4712e3eb57e6270a48a439987bb1502d1
[ "MIT" ]
1
2020-01-04T18:45:32.000Z
2020-01-04T18:45:32.000Z
import os import json postreqdata = json.loads(open(os.environ['req']).read()) response = open(os.environ['res'], 'w') response.write("hello world from "+postreqdata['name']) response.close()
28.285714
57
0.69697
27
198
5.111111
0.666667
0.086957
0.188406
0
0
0
0
0
0
0
0
0
0.111111
198
7
58
28.285714
0.784091
0
0
0
0
0
0.145078
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
f2121e6239d4fdf2a9e2f605f941869405a147d4
111
py
Python
python/protoconf/__init__.py
mcornea/protoconf
d929833e4594188732297160d4a2d48a688f31ae
[ "MIT" ]
70
2019-12-05T11:24:27.000Z
2022-02-28T10:04:36.000Z
python/protoconf/__init__.py
mcornea/protoconf
d929833e4594188732297160d4a2d48a688f31ae
[ "MIT" ]
171
2019-12-12T20:12:17.000Z
2022-03-28T16:26:47.000Z
python/protoconf/__init__.py
mcornea/protoconf
d929833e4594188732297160d4a2d48a688f31ae
[ "MIT" ]
5
2021-01-02T04:55:53.000Z
2022-02-22T05:34:12.000Z
from .protoconf import ( Protoconf, ProtoconfSync, ProtoconfMutation, ProtoconfMutationSync, )
15.857143
26
0.711712
7
111
11.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.225225
111
6
27
18.5
0.918605
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1ef570d916755d71a737aa832b9e474bdb70e3cc
83
py
Python
activecampaign/admin/__init__.py
pmiguelima/django-activecampaign
2a0b7a3f852c84a1cb061d93bb21f4f74ad4a959
[ "BSD-3-Clause" ]
1
2021-01-10T21:05:14.000Z
2021-01-10T21:05:14.000Z
activecampaign/admin/__init__.py
pmiguelima/django-activecampaign
2a0b7a3f852c84a1cb061d93bb21f4f74ad4a959
[ "BSD-3-Clause" ]
null
null
null
activecampaign/admin/__init__.py
pmiguelima/django-activecampaign
2a0b7a3f852c84a1cb061d93bb21f4f74ad4a959
[ "BSD-3-Clause" ]
null
null
null
from .list import List from .message import Message from .campaign import Campaign
20.75
30
0.819277
12
83
5.666667
0.416667
0
0
0
0
0
0
0
0
0
0
0
0.144578
83
3
31
27.666667
0.957746
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
1ef82b1c9f271fb64981a4c058776dab385fb086
334
py
Python
commands.py
tommyka/Lockscreen_button
c93305520b59d4a1b88791974b991d2f8b895e22
[ "MIT" ]
null
null
null
commands.py
tommyka/Lockscreen_button
c93305520b59d4a1b88791974b991d2f8b895e22
[ "MIT" ]
null
null
null
commands.py
tommyka/Lockscreen_button
c93305520b59d4a1b88791974b991d2f8b895e22
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright: (c) 2017, Tommy Kjær Andersen. All rights reserved. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - import subprocess def lockscreen(): """ Locks the screen on a mac """ subprocess.call('pmset displaysleepnow'...
23.857143
79
0.494012
32
334
5.15625
0.96875
0
0
0
0
0
0
0
0
0
0
0.020576
0.272455
334
13
80
25.692308
0.658436
0.625749
0
0
0
0
0.2
0
0
0
0
0
0
1
0.333333
true
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
1
0
1
0
1
0
0
4
1efccfbe9bbb605fddab41d78fd983f6b502125f
105
py
Python
autograder/autograder/__init__.py
elihschiff/Submitty
8b980997b6f1dfcd73eb4cf4cca43398e67f96dc
[ "BSD-3-Clause" ]
3
2020-07-27T16:23:09.000Z
2022-01-07T16:07:31.000Z
autograder/autograder/__init__.py
elihschiff/Submitty
8b980997b6f1dfcd73eb4cf4cca43398e67f96dc
[ "BSD-3-Clause" ]
2
2021-05-10T14:33:39.000Z
2022-01-06T19:47:03.000Z
autograder/autograder/__init__.py
elihschiff/Submitty
8b980997b6f1dfcd73eb4cf4cca43398e67f96dc
[ "BSD-3-Clause" ]
1
2020-06-25T22:45:25.000Z
2020-06-25T22:45:25.000Z
import os CONFIG_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..', 'config')
26.25
93
0.666667
15
105
4.333333
0.533333
0.276923
0
0
0
0
0
0
0
0
0
0
0.085714
105
3
94
35
0.677083
0
0
0
0
0
0.095238
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
48154e7f1734f1ee7811b79aa0a65eb5a7bef6aa
97
py
Python
phd/__init__.py
jusjusjus/phase-dynamics
34af63c9d7514fe54cc9ef25ff01d3694f318923
[ "MIT" ]
1
2019-01-15T12:03:03.000Z
2019-01-15T12:03:03.000Z
phd/__init__.py
jusjusjus/phase-dynamics
34af63c9d7514fe54cc9ef25ff01d3694f318923
[ "MIT" ]
null
null
null
phd/__init__.py
jusjusjus/phase-dynamics
34af63c9d7514fe54cc9ef25ff01d3694f318923
[ "MIT" ]
null
null
null
from . import matplotlib from .core import mod, unmod, poincare_times, threshold_data, gradient
24.25
70
0.804124
13
97
5.846154
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.134021
97
3
71
32.333333
0.904762
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
4850344d2d95ae56440e0e29a7eda3a81af2d824
134
py
Python
socket 编程/__init__.py
Aloof-0/codesr
a8dc07af32be05d3166b0c869a24cb311a4c0d4e
[ "MIT" ]
1
2021-02-23T07:07:21.000Z
2021-02-23T07:07:21.000Z
socket 编程/__init__.py
Aloof-0/codesr
a8dc07af32be05d3166b0c869a24cb311a4c0d4e
[ "MIT" ]
null
null
null
socket 编程/__init__.py
Aloof-0/codesr
a8dc07af32be05d3166b0c869a24cb311a4c0d4e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @Time : 2020/12/27 23:45 @Auth : 高冷Aloof @File :__init__.py @IDE :PyCharm @Motto:ABC(Always Be Coding) """
16.75
28
0.619403
21
134
3.761905
0.952381
0
0
0
0
0
0
0
0
0
0
0.114035
0.149254
134
8
29
16.75
0.578947
0.932836
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
4879e65d62a90b06d091e261bc5b32f7b70880f2
192
py
Python
src/util.py
BobToninho/cybersecurity-project
019d9ec254a9f46a4fe728c95fe3c03b8df0efba
[ "MIT" ]
null
null
null
src/util.py
BobToninho/cybersecurity-project
019d9ec254a9f46a4fe728c95fe3c03b8df0efba
[ "MIT" ]
null
null
null
src/util.py
BobToninho/cybersecurity-project
019d9ec254a9f46a4fe728c95fe3c03b8df0efba
[ "MIT" ]
null
null
null
# Taken from https://github.com/ojroques/garbled-circuit import json # HELPER FUNCTIONS def parse_json(json_path): with open(json_path) as json_file: return json.load(json_file)
21.333333
56
0.744792
29
192
4.758621
0.724138
0.115942
0
0
0
0
0
0
0
0
0
0
0.161458
192
8
57
24
0.857143
0.369792
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
6f8e4994895333e942cf67d64fafde8ca9e371dc
662
py
Python
hydra/plugins/launcher.py
Lysander6/hydra
3b24ee6472b1153d2f0f2622f3d2dee372ef17eb
[ "MIT" ]
1
2019-12-29T17:58:59.000Z
2019-12-29T17:58:59.000Z
hydra/plugins/launcher.py
Lysander6/hydra
3b24ee6472b1153d2f0f2622f3d2dee372ef17eb
[ "MIT" ]
6
2021-03-11T06:20:24.000Z
2022-02-27T10:43:29.000Z
hydra/plugins/launcher.py
Lysander6/hydra
3b24ee6472b1153d2f0f2622f3d2dee372ef17eb
[ "MIT" ]
1
2020-11-19T06:31:52.000Z
2020-11-19T06:31:52.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved """ Launcher plugin interface """ from abc import abstractmethod from .plugin import Plugin class Launcher(Plugin): """ Abstract launcher """ def __init__(self): raise NotImplementedError() @abstractmethod def set...
22.066667
75
0.640483
66
662
6.30303
0.651515
0.173077
0.182692
0.197115
0
0
0
0
0
0
0
0
0.26284
662
29
76
22.827586
0.852459
0.321752
0
0.454545
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0
0.545455
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
6f9807ee99ea1c454cca40ee24e64998b880fdf1
4,426
py
Python
tests/issues/test_issue.py
mubashshirjamal/code
d9c7adf7efed8e9c1ab3ff8cdeb94e7eb1a45382
[ "BSD-3-Clause" ]
1,582
2015-01-05T02:41:44.000Z
2022-03-30T20:03:22.000Z
tests/issues/test_issue.py
mubashshirjamal/code
d9c7adf7efed8e9c1ab3ff8cdeb94e7eb1a45382
[ "BSD-3-Clause" ]
66
2015-01-23T07:58:04.000Z
2021-11-12T02:23:27.000Z
tests/issues/test_issue.py
mubashshirjamal/code
d9c7adf7efed8e9c1ab3ff8cdeb94e7eb1a45382
[ "BSD-3-Clause" ]
347
2015-01-05T07:47:07.000Z
2021-09-20T21:22:32.000Z
# encoding: UTF-8 from tests.base import TestCase from vilya.models.issue import Issue from vilya.models.issue_comment import IssueComment class TestIssue(TestCase): def test_add_issue(self): i = Issue.add('test', 'test description', 'test', 'assignee') assert isinstance(i, Issue) asser...
34.850394
76
0.593538
576
4,426
4.453125
0.098958
0.037427
0.045614
0.051852
0.734893
0.721248
0.706823
0.660429
0.646394
0.616764
0
0.016144
0.272255
4,426
126
77
35.126984
0.780192
0.003389
0
0.598039
0
0
0.146065
0
0
0
0
0
0.588235
1
0.068627
false
0
0.029412
0
0.107843
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
1
0
0
0
0
0
0
0
0
0
4
6fb12dcb199badef8fd62e3f2a07d596e18d25ce
339
py
Python
users/views.py
riggedCoinflip/mydjango
9f30effc0dccd95916f59a3b65d7e02bdd2827b5
[ "MIT" ]
null
null
null
users/views.py
riggedCoinflip/mydjango
9f30effc0dccd95916f59a3b65d7e02bdd2827b5
[ "MIT" ]
1
2021-02-26T02:13:35.000Z
2021-02-26T02:13:35.000Z
users/views.py
riggedCoinflip/mydjango
9f30effc0dccd95916f59a3b65d7e02bdd2827b5
[ "MIT" ]
null
null
null
from django.shortcuts import get_object_or_404 from django.views import generic from .models import User class UserView(generic.DetailView): template_name = 'users/user.html' model = User def get_object(self, queryset=None): return get_object_or_404(User, username=self.kwargs['username']) # TOD...
24.214286
72
0.761062
46
339
5.434783
0.630435
0.108
0.088
0.112
0
0
0
0
0
0
0
0.020979
0.156342
339
14
73
24.214286
0.853147
0.064897
0
0
0
0
0.072785
0
0
0
0
0.071429
0
1
0.125
false
0
0.375
0.125
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
1
0
0
0
0
0
1
1
1
0
0
4
d200b5abad2f5d2d4884a423bd1145df06bca377
763
py
Python
rasa/shared/utils/cli.py
chaneyjd/rasa
104a9591fc10b96eaa7fe402b6d64ca652b7ebe2
[ "Apache-2.0" ]
1
2020-10-14T18:09:10.000Z
2020-10-14T18:09:10.000Z
rasa/shared/utils/cli.py
chaneyjd/rasa
104a9591fc10b96eaa7fe402b6d64ca652b7ebe2
[ "Apache-2.0" ]
187
2020-02-25T16:07:06.000Z
2022-03-01T13:42:41.000Z
rasa/shared/utils/cli.py
chaneyjd/rasa
104a9591fc10b96eaa7fe402b6d64ca652b7ebe2
[ "Apache-2.0" ]
null
null
null
import sys from typing import Any, Text, NoReturn import rasa.shared.utils.io def print_color(*args: Any, color: Text): print(rasa.shared.utils.io.wrap_with_color(*args, color=color)) def print_success(*args: Any): print_color(*args, color=rasa.shared.utils.io.bcolors.OKGREEN) def print_info(*args: Any):...
23.84375
72
0.731324
117
763
4.623932
0.282051
0.110906
0.166359
0.18854
0.369686
0.369686
0.369686
0.369686
0.369686
0.369686
0
0.001511
0.132372
763
31
73
24.612903
0.81571
0.058978
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.1875
0
0.5625
0.75
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
1
0
4
d203d60326cd778064c2b58fdfad02866e7047a3
404
py
Python
app/core/thermometer/models.py
FHellmann/MLWTF
582c3505d638907a848d5a6c739ee99981300f17
[ "Apache-2.0" ]
null
null
null
app/core/thermometer/models.py
FHellmann/MLWTF
582c3505d638907a848d5a6c739ee99981300f17
[ "Apache-2.0" ]
null
null
null
app/core/thermometer/models.py
FHellmann/MLWTF
582c3505d638907a848d5a6c739ee99981300f17
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python """ Author: Fabio Hellmann <info@fabio-hellmann.de> """ from attr import s, ib from attr.validators import instance_of from datetime import datetime @s(frozen=True) class ThermometerEntry: timestamp = ib(validator=instance_of(datetime), type=datetime) temperature = ib(validator=instance...
25.25
66
0.747525
54
404
5.518519
0.5
0.134228
0.191275
0.211409
0.234899
0.234899
0.234899
0
0
0
0
0
0.133663
404
15
67
26.933333
0.851429
0.158416
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
0.875
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
1
0
1
0
0
4
d20761dd5c9f1d0596917a6693751e8965e19d6e
115
py
Python
02_templates_advanced/templates_advanced-recources/templates_advanced/templates_advanced/pythons_app/apps.py
BoyanPeychinov/python_web_framework
bb3a78c36790821d8b3a2b847494a1138d063193
[ "MIT" ]
null
null
null
02_templates_advanced/templates_advanced-recources/templates_advanced/templates_advanced/pythons_app/apps.py
BoyanPeychinov/python_web_framework
bb3a78c36790821d8b3a2b847494a1138d063193
[ "MIT" ]
null
null
null
02_templates_advanced/templates_advanced-recources/templates_advanced/templates_advanced/pythons_app/apps.py
BoyanPeychinov/python_web_framework
bb3a78c36790821d8b3a2b847494a1138d063193
[ "MIT" ]
null
null
null
from django.apps import AppConfig class PythonsAppConfig(AppConfig): name = 'templates_advanced.pythons_app'
19.166667
43
0.8
13
115
6.923077
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.130435
115
5
44
23
0.9
0
0
0
0
0
0.26087
0.26087
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d21fcd966e7bf85f4693c4d656c53dc2bbd11651
22
py
Python
rayvision_api/tests/__init__.py
renderbus/rayvision_api
e9b0f0ad0e4c9c2c3d5ec6b2ce7f80a7c2cb0f42
[ "Apache-2.0" ]
5
2019-11-15T10:51:03.000Z
2022-02-15T00:22:25.000Z
rayvision_api/tests/__init__.py
foxrenderfarm/rayvision_api
a41b8e03b9028fa7cd60f5ac5fbd0d33dbf19dea
[ "Apache-2.0" ]
2
2020-04-16T08:03:03.000Z
2021-12-01T03:46:31.000Z
rayvision_api/tests/__init__.py
foxrenderfarm/rayvision_api
a41b8e03b9028fa7cd60f5ac5fbd0d33dbf19dea
[ "Apache-2.0" ]
2
2020-01-02T10:37:21.000Z
2020-05-10T07:44:21.000Z
"""A test package."""
11
21
0.545455
3
22
4
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0.681818
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d232d40a2f892cbeeb7b0eb4647e339870d56efa
89
py
Python
Website/AmazeSafe/AppHome/apps.py
jankit18/AmazeSafe
92b95220efc72a9375f8845d4c40a3647abddf7b
[ "MIT" ]
1
2021-05-30T18:14:08.000Z
2021-05-30T18:14:08.000Z
Website/AmazeSafe/AppHome/apps.py
jankit18/HackOn-AmazeSafe
92b95220efc72a9375f8845d4c40a3647abddf7b
[ "MIT" ]
null
null
null
Website/AmazeSafe/AppHome/apps.py
jankit18/HackOn-AmazeSafe
92b95220efc72a9375f8845d4c40a3647abddf7b
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ApphomeConfig(AppConfig): name = 'AppHome'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d2355a815facde0a8a0ded435a5651df455fbd72
273
py
Python
pyrolite/util/skl/__init__.py
JustinGOSSES/pyrolite
21eb5b28d9295625241b73b820fc8892b00fc6b0
[ "BSD-3-Clause" ]
1
2020-03-13T07:11:47.000Z
2020-03-13T07:11:47.000Z
pyrolite/util/skl/__init__.py
JustinGOSSES/pyrolite
21eb5b28d9295625241b73b820fc8892b00fc6b0
[ "BSD-3-Clause" ]
null
null
null
pyrolite/util/skl/__init__.py
JustinGOSSES/pyrolite
21eb5b28d9295625241b73b820fc8892b00fc6b0
[ "BSD-3-Clause" ]
null
null
null
""" Utilities for use with scikit-learn. """ import logging logging.getLogger(__name__).addHandler(logging.NullHandler()) logger = logging.getLogger(__name__) from .pipeline import * from .vis import * from .select import * from .transform import * from .impute import *
19.5
61
0.758242
33
273
6.030303
0.575758
0.201005
0.201005
0
0
0
0
0
0
0
0
0
0.128205
273
13
62
21
0.836134
0.131868
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d235f5872cca7ad61a4ff202d40d6a25085d79d3
736
py
Python
rlkit/torch/irl/encoders/aggregators.py
yifan-you-37/rl_swiss
8b0ee7caa5c1fa93860916004cf4fd970667764f
[ "MIT" ]
56
2019-10-20T03:09:02.000Z
2022-03-25T09:21:40.000Z
rlkit/torch/irl/encoders/aggregators.py
yifan-you-37/rl_swiss
8b0ee7caa5c1fa93860916004cf4fd970667764f
[ "MIT" ]
3
2020-10-01T07:33:51.000Z
2021-05-12T03:40:57.000Z
rlkit/torch/irl/encoders/aggregators.py
yifan-you-37/rl_swiss
8b0ee7caa5c1fa93860916004cf4fd970667764f
[ "MIT" ]
10
2019-11-04T16:56:09.000Z
2022-03-25T09:21:41.000Z
''' the r_tensor is N_tasks x N_samples x dim the mask is N_tasks x N_samples x 1 ''' import torch from torch.nn.functional import tanh def sum_aggregator(r_tensor, mask): return torch.sum(r_tensor*mask, 1) def mean_aggregator(r_tensor, mask): num_r_per_task = torch.sum(mask, 1) return torch.sum...
22.30303
55
0.740489
132
736
3.818182
0.204545
0.194444
0.130952
0.178571
0.666667
0.664683
0.35119
0.126984
0.126984
0
0
0.01461
0.163043
736
32
56
23
0.803571
0.10462
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.125
0.25
0.875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
d26db0687e51360b0440cabdbe8201ef36bd05db
197
py
Python
datahub/company_referral/apps.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
6
2019-12-02T16:11:24.000Z
2022-03-18T10:02:02.000Z
datahub/company_referral/apps.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
1,696
2019-10-31T14:08:37.000Z
2022-03-29T12:35:57.000Z
datahub/company_referral/apps.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
9
2019-11-22T12:42:03.000Z
2021-09-03T14:25:05.000Z
from django.apps import AppConfig class CompanyReferralConfig(AppConfig): """Configuration class for this app.""" name = 'datahub.company_referral' verbose_name = 'Company referral'
21.888889
43
0.741117
21
197
6.857143
0.761905
0.208333
0
0
0
0
0
0
0
0
0
0
0.167513
197
8
44
24.625
0.878049
0.167513
0
0
0
0
0.253165
0.151899
0
0
0
0
0
1
0
false
0
0.25
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
1
0
0
4
9632e5d6abbcb9e5ea2787f0df804fe93c9675b2
179
py
Python
examples/script.py
jack1142/zxpy
fb527cc69169dc884e48bf194c77972a54d1123f
[ "MIT" ]
418
2021-05-08T11:46:29.000Z
2022-03-31T07:28:37.000Z
examples/script.py
jack1142/zxpy
fb527cc69169dc884e48bf194c77972a54d1123f
[ "MIT" ]
31
2021-05-10T07:58:57.000Z
2022-03-07T20:05:32.000Z
examples/script.py
jack1142/zxpy
fb527cc69169dc884e48bf194c77972a54d1123f
[ "MIT" ]
11
2021-05-12T12:20:55.000Z
2022-03-17T22:02:34.000Z
#! /usr/bin/env zxpy ~'echo Hello world!' def print_file_count(): file_count = ~'ls -1 | wc -l' ~"echo -n 'file count is: '" print(file_count) print_file_count()
13.769231
33
0.608939
28
179
3.678571
0.607143
0.436893
0.407767
0
0
0
0
0
0
0
0
0.007194
0.223464
179
12
34
14.916667
0.733813
0.106145
0
0
0
0
0.345912
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.5
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
9643216c8a9249fe50dc3e86c952e0e448650576
102
py
Python
tradearn/questions/apps.py
didils/tradmarkearn
a2a49314639a419db1b7b414319745c81fcc26e1
[ "MIT" ]
null
null
null
tradearn/questions/apps.py
didils/tradmarkearn
a2a49314639a419db1b7b414319745c81fcc26e1
[ "MIT" ]
null
null
null
tradearn/questions/apps.py
didils/tradmarkearn
a2a49314639a419db1b7b414319745c81fcc26e1
[ "MIT" ]
null
null
null
from django.apps import AppConfig class QuestionsConfig(AppConfig): name = 'tradearn.questions'
17
33
0.77451
11
102
7.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.147059
102
5
34
20.4
0.908046
0
0
0
0
0
0.176471
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
96660186e772461dc562759f49df5fce53174b64
203
py
Python
device_finder.py
Slathian/Virtual_Assistant
9cae28d0ace22332d4f68d4133e839ba3a3834e0
[ "MIT" ]
null
null
null
device_finder.py
Slathian/Virtual_Assistant
9cae28d0ace22332d4f68d4133e839ba3a3834e0
[ "MIT" ]
null
null
null
device_finder.py
Slathian/Virtual_Assistant
9cae28d0ace22332d4f68d4133e839ba3a3834e0
[ "MIT" ]
null
null
null
import speech_recognition as sr for index, name in enumerate(sr.Microphone.list_microphone_names()): print("Microphone with name \"{1}\" found for `Microphone(device_index={0})`".format(index, name))
67.666667
102
0.758621
29
203
5.172414
0.689655
0.12
0
0
0
0
0
0
0
0
0
0.010929
0.098522
203
3
102
67.666667
0.808743
0
0
0
0
0
0.308824
0.147059
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
967e112086f981ce610c67002072accb4f25f01e
156,160
py
Python
spytest/apis/routing/bgp.py
macikgozwa/sonic-mgmt
86338be8b2e55fd03d4913037d0e641e443762b0
[ "Apache-2.0" ]
null
null
null
spytest/apis/routing/bgp.py
macikgozwa/sonic-mgmt
86338be8b2e55fd03d4913037d0e641e443762b0
[ "Apache-2.0" ]
1
2021-02-24T13:48:41.000Z
2021-02-24T13:48:41.000Z
spytest/apis/routing/bgp.py
macikgozwa/sonic-mgmt
86338be8b2e55fd03d4913037d0e641e443762b0
[ "Apache-2.0" ]
null
null
null
# This file contains the list of API's which performs BGP operations. # Author : Chaitanya Vella (Chaitanya-vella.kumar@broadcom.com) import re import json from spytest import st, putils import apis.system.reboot as reboot from apis.system.rest import config_rest, delete_rest from utilities.utils import fail_on_erro...
45.316309
240
0.573719
18,499
156,160
4.629277
0.027028
0.046183
0.017469
0.015974
0.827423
0.775599
0.726684
0.68816
0.641043
0.608394
0
0.005536
0.292059
156,160
3,445
241
45.329463
0.769095
0.084631
0
0.662926
0
0
0.210448
0.034197
0
0
0
0
0
1
0.033282
false
0.010449
0.012384
0
0.104102
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
967ecd67e31aba03d61c20f92bc7ac41b6434102
455
py
Python
capitalize.py
hydrogeohc/Programming_tipsandnotes
266e7bc6f605ef16e89831bd95b86c60ddbe3a81
[ "MIT" ]
null
null
null
capitalize.py
hydrogeohc/Programming_tipsandnotes
266e7bc6f605ef16e89831bd95b86c60ddbe3a81
[ "MIT" ]
null
null
null
capitalize.py
hydrogeohc/Programming_tipsandnotes
266e7bc6f605ef16e89831bd95b86c60ddbe3a81
[ "MIT" ]
null
null
null
## Capitalizes the first letter of a string. ## Capitalizes the fist letter of the sring and then adds it with rest of the string. Omit the lower_rest parameter to keep the rest of the string intact, or set it to true to convert to lowercase. def capitalize(string, lower_rest=False): return string[:1].upper() ...
45.5
198
0.712088
71
455
4.521127
0.492958
0.046729
0.056075
0.093458
0
0
0
0
0
0
0
0.008065
0.182418
455
9
199
50.555556
0.854839
0.67033
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
96a37a9d7d4699466df4f12916f37e85ae15ccaf
337
py
Python
projects/serializers.py
dhavall13/fehler_core
dd27802d5b227a32aebcc8bfde68e78a69a36d66
[ "MIT" ]
null
null
null
projects/serializers.py
dhavall13/fehler_core
dd27802d5b227a32aebcc8bfde68e78a69a36d66
[ "MIT" ]
null
null
null
projects/serializers.py
dhavall13/fehler_core
dd27802d5b227a32aebcc8bfde68e78a69a36d66
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Project, Risk class ProjectSerializer(serializers.ModelSerializer): class Meta: model = Project fields = ["name", "space", "description"] class RiskSerializer(serializers.ModelSerializer): class Meta: model = Risk fi...
21.0625
53
0.691395
32
337
7.125
0.59375
0.22807
0.27193
0.307018
0.350877
0
0
0
0
0
0
0
0.225519
337
15
54
22.466667
0.873563
0
0
0.2
0
0
0.080119
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
96a4e785762d420f3e2403085922366bad37f0d5
89
py
Python
myauths/apps.py
benoitboyer/DjangoBio
415e048e7207f4abc6ac9b6bde7b7c7043aab78a
[ "MIT" ]
null
null
null
myauths/apps.py
benoitboyer/DjangoBio
415e048e7207f4abc6ac9b6bde7b7c7043aab78a
[ "MIT" ]
null
null
null
myauths/apps.py
benoitboyer/DjangoBio
415e048e7207f4abc6ac9b6bde7b7c7043aab78a
[ "MIT" ]
null
null
null
from django.apps import AppConfig class MyauthsConfig(AppConfig): name = 'myauths'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
96ad2561503ec1cf6a1a63efae5d0974b55518e6
210
py
Python
notice_comment/models.py
navigo/regulations-site
910c24e46f4e921210a40da452dff69feae692d4
[ "CC0-1.0" ]
18
2016-09-22T05:05:16.000Z
2021-07-28T18:13:48.000Z
notice_comment/models.py
navigo/regulations-site
910c24e46f4e921210a40da452dff69feae692d4
[ "CC0-1.0" ]
260
2016-04-05T22:06:10.000Z
2021-01-07T22:08:15.000Z
notice_comment/models.py
navigo/regulations-site
910c24e46f4e921210a40da452dff69feae692d4
[ "CC0-1.0" ]
25
2016-04-06T03:26:42.000Z
2020-10-19T16:49:23.000Z
from django.db import models class FailedCommentSubmission(models.Model): """ Model that holds comment submissions that failed when submitted to regulations.gov. """ body = models.TextField()
23.333333
74
0.728571
24
210
6.375
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.190476
210
8
75
26.25
0.9
0.395238
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
96aee6f49a25b93a369e1c4505d3f2315e9e5fad
2,491
py
Python
fitDataInfo.py
andreasbayer/AEGUIFit
6a1e31091b74d648d007c75c9fef6efae4086860
[ "BSD-3-Clause" ]
null
null
null
fitDataInfo.py
andreasbayer/AEGUIFit
6a1e31091b74d648d007c75c9fef6efae4086860
[ "BSD-3-Clause" ]
null
null
null
fitDataInfo.py
andreasbayer/AEGUIFit
6a1e31091b74d648d007c75c9fef6efae4086860
[ "BSD-3-Clause" ]
null
null
null
import numpy as np class fitDataInfo(): SUCCESS = "Fit succeeded." FAILURE = "Fit failed." def __init__(self, index): self._fitData = None self._data = None self._stdDev = 1 self._stdErr = None self._fitFunction = None self._msg = "" self._passPr...
22.853211
56
0.575672
268
2,491
5.108209
0.25
0.087655
0.122717
0.027757
0.138787
0.099343
0.099343
0
0
0
0
0.00246
0.34725
2,491
109
57
22.853211
0.839483
0
0
0.217949
0
0
0.010032
0
0
0
0
0
0
1
0.358974
false
0.089744
0.012821
0.153846
0.564103
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
1
1
0
0
4