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
4de3995f7006e874ecfd94953a7c3e1f5ef7d6cb
498
py
Python
CrashCourse/CompletedExamples/L1-HelloWorldAndEntryPoints.py
weightgaming/ProgramingCrashCourse8-8
a793d70f809a5d35d0ed1e1fcb8ac2185d4b12bd
[ "MIT" ]
null
null
null
CrashCourse/CompletedExamples/L1-HelloWorldAndEntryPoints.py
weightgaming/ProgramingCrashCourse8-8
a793d70f809a5d35d0ed1e1fcb8ac2185d4b12bd
[ "MIT" ]
null
null
null
CrashCourse/CompletedExamples/L1-HelloWorldAndEntryPoints.py
weightgaming/ProgramingCrashCourse8-8
a793d70f809a5d35d0ed1e1fcb8ac2185d4b12bd
[ "MIT" ]
null
null
null
# Lesson 1 - Hello world and entry points # # All languages have an "entry point" # An entry point is where the program begins execution # "Main" is a common keyword used to specify the entry point # # Common C style entry points: # int main() # { # return 0; # } # or # void main() # { # } # Hello World is a common ...
20.75
66
0.686747
76
498
4.394737
0.644737
0.08982
0.071856
0
0
0
0
0
0
0
0
0.005141
0.218876
498
24
67
20.75
0.85347
0.751004
0
0
0
0
0.17757
0
0
0
0
0
0
1
0.25
true
0
0
0
0.25
0.25
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
0
0
0
0
0
2
4de71f54c7a48f73e9dfcb0ee6ba3bc1398c5afb
1,202
py
Python
build_files/buildbot/codesign/config_common.py
don-zo/blender
91248876e517983531c44ffc1692674684c67eed
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
build_files/buildbot/codesign/config_common.py
don-zo/blender
91248876e517983531c44ffc1692674684c67eed
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
build_files/buildbot/codesign/config_common.py
don-zo/blender
91248876e517983531c44ffc1692674684c67eed
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
# ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distrib...
35.352941
74
0.748752
185
1,202
4.843243
0.594595
0.03683
0.043527
0.063616
0.091518
0.0625
0
0
0
0
0
0.016393
0.18802
1,202
33
75
36.424242
0.901639
0.872712
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
4df18f052389d1fccf9d79d251bc0d9d1766aac6
20,919
py
Python
python/venv/lib/python2.7/site-packages/openstackclient/tests/compute/v2/test_server.py
sjsucohort6/openstack
8471e6e599c3f52319926a582358358ef84cbadb
[ "MIT" ]
null
null
null
python/venv/lib/python2.7/site-packages/openstackclient/tests/compute/v2/test_server.py
sjsucohort6/openstack
8471e6e599c3f52319926a582358358ef84cbadb
[ "MIT" ]
null
null
null
python/venv/lib/python2.7/site-packages/openstackclient/tests/compute/v2/test_server.py
sjsucohort6/openstack
8471e6e599c3f52319926a582358358ef84cbadb
[ "MIT" ]
null
null
null
# Copyright 2013 Nebula Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
32.839874
77
0.583011
2,224
20,919
5.23786
0.122752
0.058717
0.07726
0.070392
0.790712
0.740579
0.696369
0.677226
0.652245
0.611984
0
0.011792
0.310818
20,919
636
78
32.891509
0.796213
0.101439
0
0.570565
0
0
0.071166
0.008162
0
0
0
0
0.102823
1
0.038306
false
0.002016
0.020161
0
0.076613
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4dfa80d0ccdf2420deb63a2734fa518a47caccfd
216
py
Python
App.py
azucrinaldo/Inheritance
a1e21d699dbb382f7401f973cdc31ce66d04197d
[ "MIT" ]
null
null
null
App.py
azucrinaldo/Inheritance
a1e21d699dbb382f7401f973cdc31ce66d04197d
[ "MIT" ]
null
null
null
App.py
azucrinaldo/Inheritance
a1e21d699dbb382f7401f973cdc31ce66d04197d
[ "MIT" ]
null
null
null
from CalcFinanceira import CalcFinanceira from CalcCientifica import CalcCientifica cc1 = CalcCientifica("Hp", "H230", "Cinza") cf1 = CalcFinanceira("Acer", "A115", "Azul") cc1.exponenciar(1, 2) cf1.modular(3,5)
19.636364
44
0.74537
26
216
6.192308
0.692308
0
0
0
0
0
0
0
0
0
0
0.073298
0.115741
216
10
45
21.6
0.769634
0
0
0
0
0
0.107477
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
15001f7aa20db42a95c6d1b47fdd7a0040f50704
1,438
py
Python
bigpyp/utils.py
retr0h/bigpyp
ba73368660747177d4cfebd1bdd538c7d010c7cb
[ "Apache-2.0" ]
2
2017-08-13T13:09:13.000Z
2019-06-10T20:03:42.000Z
bigpyp/utils.py
retr0h/bigpyp
ba73368660747177d4cfebd1bdd538c7d010c7cb
[ "Apache-2.0" ]
null
null
null
bigpyp/utils.py
retr0h/bigpyp
ba73368660747177d4cfebd1bdd538c7d010c7cb
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013, AT&T Services, Inc. # 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.apach...
25.678571
78
0.696106
213
1,438
4.605634
0.577465
0.050968
0.045872
0.055046
0
0
0
0
0
0
0
0.010408
0.198192
1,438
55
79
26.145455
0.840416
0.471488
0
0
0
0
0.129032
0.068548
0
0
0
0.018182
0
0
null
null
0
0.090909
null
null
0.272727
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
1
0
0
0
0
0
0
0
0
2
15060e6c5ff90ffef4611a09cc0d8b3c53dd53ac
8,248
py
Python
python/nvstrings/tests/test_category.py
brandon-b-miller/cudf
5d2d68ef231bedd3a7e590b071f4d8e4af7e5f93
[ "Apache-2.0" ]
2
2019-12-25T14:20:17.000Z
2019-12-25T14:33:02.000Z
python/nvstrings/tests/test_category.py
CZZLEGEND/cudf
5d2465d6738d00628673fffdc1fac51fad7ef9a7
[ "Apache-2.0" ]
17
2018-11-14T20:57:01.000Z
2019-02-19T22:42:23.000Z
python/nvstrings/tests/test_category.py
CZZLEGEND/cudf
5d2465d6738d00628673fffdc1fac51fad7ef9a7
[ "Apache-2.0" ]
1
2021-10-03T20:29:10.000Z
2021-10-03T20:29:10.000Z
# Copyright (c) 2018-2019, NVIDIA CORPORATION. import numpy as np import pytest from utils import assert_eq import nvcategory import nvstrings def test_size(): strs = nvstrings.to_device( ["eee", "aaa", "eee", "ddd", "ccc", "ccc", "ccc", "eee", "aaa"] ) cat = nvcategory.from_strings(strs) as...
30.776119
77
0.581353
1,169
8,248
3.924722
0.082121
0.057541
0.114865
0.104621
0.759372
0.715126
0.662162
0.646033
0.622058
0.620314
0
0.035917
0.210112
8,248
267
78
30.891386
0.668304
0.005335
0
0.478469
0
0
0.089368
0
0
0
0
0
0.162679
1
0.114833
false
0
0.023923
0
0.138756
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
15071c53ebd6832730facb3aabfd7d80bfb46f3c
683
bzl
Python
third_party/gflags/workspace.bzl
zhouzhibo0117/apollo
f7a2369315a2bf106e473ced7392f4542f4ff3a3
[ "Apache-2.0" ]
7
2017-07-12T18:11:49.000Z
2018-08-04T12:29:55.000Z
third_party/gflags/workspace.bzl
Songjiarui3313/apollo
df9113ae656e28e5374db32529d68e59455058a0
[ "Apache-2.0" ]
32
2020-10-22T02:59:40.000Z
2021-05-06T16:30:50.000Z
third_party/gflags/workspace.bzl
Songjiarui3313/apollo
df9113ae656e28e5374db32529d68e59455058a0
[ "Apache-2.0" ]
7
2020-09-18T10:40:40.000Z
2022-02-22T07:48:52.000Z
"""Loads the gflags library""" # Sanitize a dependency so that it works correctly from code that includes # Apollo as a submodule. def clean_dep(dep): return str(Label(dep)) def repo(): # gflags native.new_local_repository( name = "com_github_gflags_gflags", build_file = clean_dep("//third...
29.695652
81
0.686676
85
683
5.341176
0.6
0.105727
0.112335
0.0837
0.14978
0.14978
0.14978
0
0
0
0
0.085409
0.17716
683
22
82
31.045455
0.72242
0.579795
0
0
0
0
0.301471
0.301471
0
0
0
0
0
1
0.25
false
0
0
0.125
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
15095f51edd7378698735bcb9fa1d329963c24e9
1,250
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_manageability_object_tracking_datatypes.py
CiscoDevNet/ydk-py
073731fea50694d0bc6cd8ebf10fec308dcc0aa9
[ "ECL-2.0", "Apache-2.0" ]
177
2016-03-15T17:03:51.000Z
2022-03-18T16:48:44.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_manageability_object_tracking_datatypes.py
CiscoDevNet/ydk-py
073731fea50694d0bc6cd8ebf10fec308dcc0aa9
[ "ECL-2.0", "Apache-2.0" ]
18
2016-03-30T10:45:22.000Z
2020-07-14T16:28:13.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_manageability_object_tracking_datatypes.py
CiscoDevNet/ydk-py
073731fea50694d0bc6cd8ebf10fec308dcc0aa9
[ "ECL-2.0", "Apache-2.0" ]
85
2016-03-16T20:38:57.000Z
2022-02-22T04:26:02.000Z
""" Cisco_IOS_XR_manageability_object_tracking_datatypes This module contains a collection of generally useful derived YANG data types. Copyright (c) 2013\-2018 by Cisco Systems, Inc. All rights reserved. """ import sys from collections import OrderedDict from ydk.types import Entity as _Entity_ from ydk.types imp...
25
126
0.7552
162
1,250
5.62963
0.450617
0.053728
0.032895
0.059211
0.327851
0.282895
0.282895
0.182018
0.182018
0.182018
0
0.015444
0.1712
1,250
49
127
25.510204
0.864865
0.2944
0
0
0
0
0.052381
0.029762
0
0
0
0
0
1
0.066667
false
0
0.6
0
0.933333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
15129e897eba8221f6cf0fac8d588d767db06efd
8,702
py
Python
Windows Siri 2.0/Helper.py
Tech-Helper504/Windows-Siri
ae2db0cf3d2a27c609a4e0e80ba3747a83bf0e3e
[ "Apache-2.0" ]
null
null
null
Windows Siri 2.0/Helper.py
Tech-Helper504/Windows-Siri
ae2db0cf3d2a27c609a4e0e80ba3747a83bf0e3e
[ "Apache-2.0" ]
null
null
null
Windows Siri 2.0/Helper.py
Tech-Helper504/Windows-Siri
ae2db0cf3d2a27c609a4e0e80ba3747a83bf0e3e
[ "Apache-2.0" ]
null
null
null
from datetime import datetinne import threading import pynput import csv import string import secrets import math def main(): greeting = greet.name greet(greeting) question = input("What do you want?\n") if question.lower() == "converter": converter_changer =input("...
39.375566
363
0.626752
1,170
8,702
4.415385
0.226496
0.021293
0.054201
0.032907
0.355981
0.278939
0.196671
0.174603
0.174603
0.167247
0
0.031941
0.287635
8,702
220
364
39.554545
0.800774
0
0
0.154839
0
0.032258
0.253124
0.041853
0
0
0
0
0
0
null
null
0.058065
0.045161
null
null
0.141935
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
127523fc317e5854b75ab1c4937a135be2ef400f
3,951
py
Python
WebMirror/management/rss_parser_funcs/feed_parse_extractNetorutranslationsWordpressCom.py
fake-name/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
193
2016-08-02T22:04:35.000Z
2022-03-09T20:45:41.000Z
WebMirror/management/rss_parser_funcs/feed_parse_extractNetorutranslationsWordpressCom.py
fake-name/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
533
2016-08-23T20:48:23.000Z
2022-03-28T15:55:13.000Z
WebMirror/management/rss_parser_funcs/feed_parse_extractNetorutranslationsWordpressCom.py
rrosajp/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
19
2015-08-13T18:01:08.000Z
2021-07-12T17:13:09.000Z
def extractNetorutranslationsWordpressCom(item): ''' Parser for 'netorutranslations.wordpress.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('pilgrimage', 'Netorare Pilgrimage of the ...
106.783784
190
0.4204
307
3,951
5.413681
0.563518
0.01083
0.012034
0
0
0
0
0
0
0
0
0.003075
0.506201
3,951
37
191
106.783784
0.846233
0.01139
0
0
0
0.137931
0.399538
0
0
0
0
0
0
1
0.034483
false
0
0
0
0.137931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12791b9a107c9ab2ebf87033272ce2cb03be7e9b
876
py
Python
setup.py
Dome9/logic-onboarding
6474227f04a7d3c0da7decac08fa97d32701eff0
[ "Apache-2.0" ]
1
2020-05-05T21:49:24.000Z
2020-05-05T21:49:24.000Z
setup.py
Dome9/logic-onboarding
6474227f04a7d3c0da7decac08fa97d32701eff0
[ "Apache-2.0" ]
1
2020-08-06T11:23:41.000Z
2020-08-06T11:23:41.000Z
setup.py
Dome9/logic-onboarding
6474227f04a7d3c0da7decac08fa97d32701eff0
[ "Apache-2.0" ]
2
2019-09-26T09:17:41.000Z
2019-11-17T00:18:39.000Z
# -*- coding: utf-8 -*- """ Setup file for logic_onboarding. Use setup.cfg to configure your project. This file was generated with PyScaffold 3.2.1. PyScaffold helps you to put up the scaffold of your new Python project. Learn more under: https://pyscaffold.org/ """ import sys from pkg_resources i...
26.545455
75
0.608447
116
876
4.491379
0.603448
0.051823
0.011516
0
0
0
0
0
0
0
0
0.043344
0.262557
876
32
76
27.375
0.763158
0.294521
0
0
1
0
0.332203
0.128814
0
0
0
0
0
1
0
true
0
0.157895
0
0.157895
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
127c2c530e64b98be4c1e3b3698c60515f9f468c
2,012
py
Python
09_Introduction to Data Visualization with Seaborn/02_Visualizing Two Quantitative Variables/02_Creating two-factor subplots.py
mohd-faizy/DataScience-With-Python
13ebb10cf9083343056d5b782957241de1d595f9
[ "MIT" ]
5
2021-02-03T14:36:58.000Z
2022-01-01T10:29:26.000Z
09_Introduction to Data Visualization with Seaborn/02_Visualizing Two Quantitative Variables/02_Creating two-factor subplots.py
mohd-faizy/DataScience-With-Python
13ebb10cf9083343056d5b782957241de1d595f9
[ "MIT" ]
null
null
null
09_Introduction to Data Visualization with Seaborn/02_Visualizing Two Quantitative Variables/02_Creating two-factor subplots.py
mohd-faizy/DataScience-With-Python
13ebb10cf9083343056d5b782957241de1d595f9
[ "MIT" ]
3
2021-02-08T00:31:16.000Z
2022-03-17T13:52:32.000Z
''' 02 - Creating two-factor Let's continue looking at the student_data dataset of students in secondary school. Here, we want to answer the following question: does a student's first semester grade ("G1") tend to correlate with their final grade ("G3")? There are many aspects of a student's life that could ...
30.484848
84
0.670974
299
2,012
4.488294
0.381271
0.058122
0.067064
0.04918
0.440387
0.38152
0.324888
0.222057
0.222057
0.222057
0
0.01297
0.233598
2,012
65
85
30.953846
0.857328
0.542744
0
0.736842
0
0
0.138996
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
127e4e17cb63391e3a5d63ac7479a7e5432f3269
294
py
Python
TemcaGraphPy/move_stage.py
jaybo/OpenCVGui
46f2d8765deccc7c7696d598a73e14bb44bada9a
[ "Apache-2.0" ]
null
null
null
TemcaGraphPy/move_stage.py
jaybo/OpenCVGui
46f2d8765deccc7c7696d598a73e14bb44bada9a
[ "Apache-2.0" ]
null
null
null
TemcaGraphPy/move_stage.py
jaybo/OpenCVGui
46f2d8765deccc7c7696d598a73e14bb44bada9a
[ "Apache-2.0" ]
null
null
null
from pytemca.stage.stage import RadishStage import msvcrt import time import os,sys stage = RadishStage("*", 8000, 8001, "http://10.128.26.122:8090") stage._set_pos_2d(0.0,0.0) while True: if msvcrt.kbhit(): print msvcrt.getch() else: print 'bar' time.sleep(0.5)
18.375
65
0.659864
46
294
4.152174
0.673913
0.031414
0.031414
0
0
0
0
0
0
0
0
0.122881
0.197279
294
15
66
19.6
0.686441
0
0
0
0
0
0.098639
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
128bb0648e13c86c0d96a79381c7b42deea8ed94
7,797
py
Python
pysnmp/CISCO-VOICE-DNIS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-VOICE-DNIS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-VOICE-DNIS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-VOICE-DNIS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-VOICE-DNIS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:03:03 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
105.364865
1,117
0.755034
878
7,797
6.702733
0.169704
0.010195
0.012744
0.016992
0.370603
0.274087
0.251657
0.251657
0.232285
0.230416
0
0.069189
0.091702
7,797
73
1,118
106.808219
0.76179
0.042837
0
0.111111
0
0
0.182855
0.019989
0
0
0
0
0
1
0
false
0
0.111111
0
0.238095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
129242bd59df8da341a85b3d1d39c8b2e4646900
634
py
Python
tango/integrations/pytorch_lightning/loggers.py
allenai/tango
80c90caefae4ad1c3f8472718ddada912cd8fcf9
[ "Apache-2.0" ]
52
2021-09-24T17:52:34.000Z
2022-03-29T22:55:02.000Z
tango/integrations/pytorch_lightning/loggers.py
keppy/tango
fbb78935a1c8a88c049e5ace0a2d0c7eeb4c8893
[ "Apache-2.0" ]
90
2021-09-29T04:23:29.000Z
2022-03-31T21:23:02.000Z
tango/integrations/pytorch_lightning/loggers.py
keppy/tango
fbb78935a1c8a88c049e5ace0a2d0c7eeb4c8893
[ "Apache-2.0" ]
8
2021-11-13T01:56:22.000Z
2022-02-27T03:29:42.000Z
import pytorch_lightning as pl from tango.common.registrable import Registrable class LightningLogger(pl.loggers.LightningLoggerBase, Registrable): """ This is simply a :class:`~tango.common.registrable.Registrable` version of the PyTorch Lightning :class:`~pytorch_lightning.loggers.base.LightningLoggerB...
30.190476
98
0.723975
70
634
6.457143
0.5
0.141593
0.185841
0.137168
0
0
0
0
0
0
0
0
0.173502
634
20
99
31.7
0.862595
0.285489
0
0
0
0
0.04388
0
0
0
0
0
0
1
0
true
0
0.2
0
0.3
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
1299cf977ca39152cf4c93cef51acdcca33c4c34
3,933
py
Python
Shingles/run_shingles.py
mastino/ert
5e88828b74344322ad635b8f8d804cef6c7cea9a
[ "BSD-3-Clause-LBNL" ]
null
null
null
Shingles/run_shingles.py
mastino/ert
5e88828b74344322ad635b8f8d804cef6c7cea9a
[ "BSD-3-Clause-LBNL" ]
null
null
null
Shingles/run_shingles.py
mastino/ert
5e88828b74344322ad635b8f8d804cef6c7cea9a
[ "BSD-3-Clause-LBNL" ]
null
null
null
''' run_shingles.py author Brian Gravelle email gravelle@lanl.gov This script generates and runs benchamrks to identify benchamrks that hit the roofline at different arithmentic intensties on a particular system. shingles.c is the driver, this generates a series of shingles.h files with different AIs ''' import...
30.968504
105
0.658276
573
3,933
4.359511
0.30541
0.020016
0.054444
0.064452
0.288631
0.254203
0.201761
0.18735
0.135709
0.135709
0
0.055347
0.18688
3,933
126
106
31.214286
0.725766
0.548182
0
0.088889
1
0
0.050141
0.014831
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
129c7b368f924318fe281ec70557c31dbb35cef8
186
py
Python
src/atcoder/tasks/practice_1.py
nabetama-training/CompetitionProgrammingPractice
0801173df3992c2e78b02b383f2df9ba792cbf2f
[ "BSD-2-Clause" ]
null
null
null
src/atcoder/tasks/practice_1.py
nabetama-training/CompetitionProgrammingPractice
0801173df3992c2e78b02b383f2df9ba792cbf2f
[ "BSD-2-Clause" ]
2
2020-07-04T04:19:28.000Z
2020-07-26T06:16:07.000Z
src/atcoder/tasks/practice_1.py
nabetama-training/CompetitionProgrammingPractice
0801173df3992c2e78b02b383f2df9ba792cbf2f
[ "BSD-2-Clause" ]
null
null
null
# https://atcoder.jp/contests/abs/tasks/practice_1 def resolve(): a = int(input()) b, c = list(map(int, input().split())) d = input() print("{} {}".format(a + b + c, d))
26.571429
50
0.548387
28
186
3.607143
0.75
0.158416
0
0
0
0
0
0
0
0
0
0.006757
0.204301
186
6
51
31
0.675676
0.258065
0
0
0
0
0.036765
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12a31fcc336ac4e8b2fda2dadc36ede8730c5df4
417
py
Python
DQM/TrackingMonitor/python/tracksDQMMiniAOD_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/TrackingMonitor/python/tracksDQMMiniAOD_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/TrackingMonitor/python/tracksDQMMiniAOD_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from DQM.TrackingMonitor.packedCandidateTrackValidator_cfi import * packedCandidateTrackValidatorLostTracks = packedCandidateTrackValidator.clone( trackToPackedCandidateAssociation = "lostTracks", rootFolder = "Tracking/PackedCandidate/lostTracks" ) tracksDQMMiniAOD =...
29.785714
78
0.839329
26
417
13.423077
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.105516
417
13
79
32.076923
0.935657
0
0
0
0
0
0.107914
0.083933
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
0
0
0
0
0
0
0
2
12a3b2a20697a4d1b68b463981ae21931870310c
259
py
Python
Application/Clock.py
katielin42/gamEE
3df07b7aec4964840628e2147866ad933bce7996
[ "MIT" ]
null
null
null
Application/Clock.py
katielin42/gamEE
3df07b7aec4964840628e2147866ad933bce7996
[ "MIT" ]
null
null
null
Application/Clock.py
katielin42/gamEE
3df07b7aec4964840628e2147866ad933bce7996
[ "MIT" ]
null
null
null
import pygame class Clock(): def __init__(self, FPS): self.clock = pygame.time.Clock() self.FPS = FPS def waitForTick(self): self.clock.tick(self.FPS) def changeFPS(self, FPS): self.FPS = FPS clock = Clock(60)
16.1875
40
0.590734
34
259
4.382353
0.382353
0.234899
0.147651
0
0
0
0
0
0
0
0
0.010811
0.285714
259
16
41
16.1875
0.794595
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
12ae6c2b3f050ee28154cde255f967976ff41e8d
1,897
py
Python
js/pace/__init__.py
hmoraes/js.pace
0c68309a9dd81dcb168814f3658814897bdc92f9
[ "BSD-3-Clause" ]
null
null
null
js/pace/__init__.py
hmoraes/js.pace
0c68309a9dd81dcb168814f3658814897bdc92f9
[ "BSD-3-Clause" ]
null
null
null
js/pace/__init__.py
hmoraes/js.pace
0c68309a9dd81dcb168814f3658814897bdc92f9
[ "BSD-3-Clause" ]
null
null
null
from fanstatic import Library, Resource, Group library = Library('pace', 'resources') pace_js = Resource(library, 'js/pace.js', minified='js/pace.min.js') pace_barber_shop_css = Resource(library, 'css/pace-barber-shop.css') pace_center_atom_css = Resource(library, 'css/pace-center-atom.css') pace_center_simple_css =...
51.27027
78
0.799684
303
1,897
4.623762
0.108911
0.20985
0.179872
0.20985
0.645253
0.088508
0
0
0
0
0
0
0.070638
1,897
37
79
51.27027
0.794668
0
0
0
0
0
0.18862
0.129083
0
0
0
0
0
1
0
false
0
0.03125
0
0.03125
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
0
0
0
0
0
0
0
0
2
12b54e6b64bdf30fa3e84acced6d03260ef79d61
1,416
py
Python
tasks/multi_length_sequences.py
evanharwin/keras-tcn
81706eaabc069ad27a1786625bbf731b247bf2f0
[ "MIT" ]
1,473
2018-03-22T11:57:25.000Z
2022-03-31T02:49:58.000Z
tasks/multi_length_sequences.py
gf9619/keras-tcn
078901b98e8538b85b5d40953ca8fc52ad9274e0
[ "MIT" ]
177
2018-04-05T04:28:55.000Z
2022-03-19T13:26:57.000Z
tasks/multi_length_sequences.py
gf9619/keras-tcn
078901b98e8538b85b5d40953ca8fc52ad9274e0
[ "MIT" ]
414
2018-03-23T06:36:44.000Z
2022-03-29T11:07:00.000Z
import numpy as np from tensorflow.keras import Sequential from tensorflow.keras.layers import Dense from tcn import TCN # if you increase the sequence length make sure the receptive field of the TCN is big enough. MAX_TIME_STEP = 30 """ Input: sequence of length 7 Input: sequence of length 25 Input: sequence of len...
28.32
97
0.678672
232
1,416
4.00431
0.392241
0.181916
0.209903
0.293864
0.215285
0.176534
0.092573
0.092573
0.092573
0
0
0.044444
0.205508
1,416
49
98
28.897959
0.781333
0.064266
0
0
0
0
0.085744
0
0
0
0
0
0
1
0.041667
false
0
0.166667
0
0.208333
0.041667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12c11eaa75f90b34e255a19aa75e454e0b00887f
2,414
py
Python
0All/CollectData/format_face.py
HCH2CHO/EmotionMap
bc572b4182637dcdd65e9a13c92f2fa0d9a3d680
[ "MIT" ]
3
2021-07-15T15:58:52.000Z
2021-07-16T13:22:47.000Z
0All/CollectData/format_face.py
HCH2CHO/EmotionMap
bc572b4182637dcdd65e9a13c92f2fa0d9a3d680
[ "MIT" ]
null
null
null
0All/CollectData/format_face.py
HCH2CHO/EmotionMap
bc572b4182637dcdd65e9a13c92f2fa0d9a3d680
[ "MIT" ]
4
2017-08-04T12:41:06.000Z
2019-01-31T14:55:10.000Z
def three_word(a, b, c): title = a if title == '\"\"': title = "\'\'" else: title = "\'{0}\'".format(title) tag = b if tag == '\"\"': tag = "\'\'" else: tag = "\'{0}\'".format(tag) description = c if description == '\"\"': description = "\'\'" ...
42.350877
115
0.434134
311
2,414
3.286174
0.254019
0.237769
0.254403
0.019569
0.11546
0.086106
0.086106
0
0
0
0
0.061519
0.340099
2,414
56
116
43.107143
0.580038
0
0
0.057692
0
0.057692
0.176885
0.125518
0
0
0
0
0
1
0.038462
false
0
0
0
0.057692
0.019231
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
0
0
0
0
0
2
12d593836d2c21fd87a4e6f65911ba80eef7eb04
1,363
py
Python
Python-For-Everyone-Horstmann/Chapter10-Inheritance/test_11.py
islayy/Books-solutions
5fe05deb4e9f65875284d8af43bd383bf9ae145b
[ "MIT" ]
null
null
null
Python-For-Everyone-Horstmann/Chapter10-Inheritance/test_11.py
islayy/Books-solutions
5fe05deb4e9f65875284d8af43bd383bf9ae145b
[ "MIT" ]
null
null
null
Python-For-Everyone-Horstmann/Chapter10-Inheritance/test_11.py
islayy/Books-solutions
5fe05deb4e9f65875284d8af43bd383bf9ae145b
[ "MIT" ]
1
2021-01-30T22:19:07.000Z
2021-01-30T22:19:07.000Z
# Unit tests for c11.py # IMPORTS from c11 import Employee from c11 import Manager import unittest # main class EmployeeTests(unittest.TestCase): def setUp(self): self.e = Employee() def test_get_name(self): self.assertEqual("", self.e.get_name()) def test_get_salary(self): sel...
23.912281
54
0.641966
186
1,363
4.483871
0.22043
0.215827
0.059952
0.05036
0.440048
0.386091
0.239808
0.201439
0.11271
0.11271
0
0.023563
0.22157
1,363
56
55
24.339286
0.762488
0.033749
0
0.222222
0
0
0.033537
0
0
0
0
0
0.333333
1
0.305556
false
0
0.083333
0
0.444444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
12dbe88a2cb5ee712bd429b147bc809066963eb0
2,810
py
Python
girderformindlogger/utility/model_importer.py
kevin9carter/childmindinstitute
10a030410f5276cb30829696bcd42b02e4a993b8
[ "Apache-2.0" ]
3
2019-12-18T21:08:48.000Z
2020-04-24T23:34:37.000Z
girderformindlogger/utility/model_importer.py
kevin9carter/childmindinstitute
10a030410f5276cb30829696bcd42b02e4a993b8
[ "Apache-2.0" ]
582
2018-05-15T22:29:21.000Z
2020-05-29T15:21:21.000Z
girderformindlogger/utility/model_importer.py
kevin9carter/childmindinstitute
10a030410f5276cb30829696bcd42b02e4a993b8
[ "Apache-2.0" ]
20
2019-01-27T22:41:15.000Z
2020-03-18T02:37:01.000Z
# -*- coding: utf-8 -*- _modelClasses = {} _coreModelsRegistered = False def _registerCoreModels(): global _coreModelsRegistered if _coreModelsRegistered: return from girderformindlogger.models import ( api_key, assetstore, collection, file, folder, group, item, notification, sett...
35.56962
81
0.67153
298
2,810
6.258389
0.318792
0.167292
0.036997
0.028954
0.064343
0.064343
0.064343
0.064343
0.064343
0.064343
0
0.000463
0.230961
2,810
78
82
36.025641
0.862564
0.308541
0
0.078947
0
0
0.075128
0
0
0
0
0
0
1
0.105263
false
0
0.368421
0
0.552632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
12dc5cc814e76cba283fc2ccca510744ca15e8cb
719
py
Python
2. Add Two Numbers/solution.py
nickdehart/Leetcode
021ea1e6171de553512b1026987ffc597fcba090
[ "MIT" ]
null
null
null
2. Add Two Numbers/solution.py
nickdehart/Leetcode
021ea1e6171de553512b1026987ffc597fcba090
[ "MIT" ]
null
null
null
2. Add Two Numbers/solution.py
nickdehart/Leetcode
021ea1e6171de553512b1026987ffc597fcba090
[ "MIT" ]
null
null
null
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode: ans = str(int(self.combine(l1)) + int(self.combine(l2))) return self...
28.76
71
0.553547
92
719
4.282609
0.336957
0.083756
0.071066
0.116751
0
0
0
0
0
0
0
0.018256
0.314325
719
25
72
28.76
0.780933
0.194715
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
12e023f1f2e39b0816dfe0b78a9188559803a9de
360
py
Python
tests/client_gen/example_program_gen/instructions/__init__.py
kevinheavey/anchorpy
d4cc28365c6adaeaec7f5001fa6b8a3e719b41ad
[ "MIT" ]
87
2021-09-26T18:14:07.000Z
2022-03-28T08:22:24.000Z
tests/client_gen/example_program_gen/instructions/__init__.py
kevinheavey/anchorpy
d4cc28365c6adaeaec7f5001fa6b8a3e719b41ad
[ "MIT" ]
15
2021-10-07T16:12:23.000Z
2022-03-20T21:04:40.000Z
tests/client_gen/example_program_gen/instructions/__init__.py
kevinheavey/anchorpy
d4cc28365c6adaeaec7f5001fa6b8a3e719b41ad
[ "MIT" ]
16
2021-10-16T04:40:28.000Z
2022-03-18T16:49:40.000Z
from .initialize import initialize, InitializeAccounts from .initialize_with_values import ( initialize_with_values, InitializeWithValuesArgs, InitializeWithValuesAccounts, ) from .initialize_with_values2 import ( initialize_with_values2, InitializeWithValues2Args, InitializeWithValues2Accounts,...
27.692308
54
0.822222
31
360
9.225806
0.419355
0.195804
0.125874
0
0
0
0
0
0
0
0
0.012862
0.136111
360
12
55
30
0.906752
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
12f232fec345ed8b51c79fab68aa48d1ba41c3c6
2,126
py
Python
8puzzle/BoardTest.py
RobMcZag/python-algorithms
307f243dfcbc6d08e55e0186df8606d3ed34be9b
[ "Apache-2.0" ]
null
null
null
8puzzle/BoardTest.py
RobMcZag/python-algorithms
307f243dfcbc6d08e55e0186df8606d3ed34be9b
[ "Apache-2.0" ]
null
null
null
8puzzle/BoardTest.py
RobMcZag/python-algorithms
307f243dfcbc6d08e55e0186df8606d3ed34be9b
[ "Apache-2.0" ]
null
null
null
import unittest import Board class BoardTest(unittest.TestCase): def testCreateFromList(self): b = Board.Board([1, 2, 3, 0], 2) self.assertEqual(b.board, [1, 2, 3, 0]) self.assertEqual(b.N, 2) def testCreateFromMatrix(self): b = Board.Board.fromMatrix([[1, 2], [3, 0]]) ...
29.943662
69
0.539981
334
2,126
3.413174
0.143713
0.089474
0.131579
0.197368
0.591228
0.575439
0.575439
0.52807
0.49386
0.442982
0
0.101421
0.271872
2,126
70
70
30.371429
0.635013
0
0
0.339623
0
0
0.023518
0
0
0
0
0
0.339623
1
0.283019
false
0
0.037736
0
0.339623
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
4209cc9abc9123fbaa2cba481775d05dc625c648
639
py
Python
Jogo_pong/widgets/Bola.py
LivioAlvarenga/Tutoriais_Kivy_KivyMD
b6225578e764eaf0312afafbb2f76dc06f92342d
[ "MIT" ]
null
null
null
Jogo_pong/widgets/Bola.py
LivioAlvarenga/Tutoriais_Kivy_KivyMD
b6225578e764eaf0312afafbb2f76dc06f92342d
[ "MIT" ]
null
null
null
Jogo_pong/widgets/Bola.py
LivioAlvarenga/Tutoriais_Kivy_KivyMD
b6225578e764eaf0312afafbb2f76dc06f92342d
[ "MIT" ]
null
null
null
from kivy.properties import NumericProperty, ReferenceListProperty from kivy.uix.widget import Widget from kivy.vector import Vector # Define o elemento "bola" class Bola(Widget): """ Define a bola do jogo e mantém sua velocidade, a qual é um Vector contendo suas componentes de velocidade X e Y. """ ...
27.782609
69
0.72457
82
639
5.597561
0.487805
0.052288
0.11329
0
0
0
0
0
0
0
0
0.003953
0.208138
639
22
70
29.045455
0.903162
0.334898
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
420c15df67262fc562f32e75aeb67b28b501dadc
1,959
py
Python
Homework/2.homework/Tests/test_print.py
mevljas/Quality_and_testing
6a39610084b1538eae270682a6842270e8971b7f
[ "MIT" ]
null
null
null
Homework/2.homework/Tests/test_print.py
mevljas/Quality_and_testing
6a39610084b1538eae270682a6842270e8971b7f
[ "MIT" ]
null
null
null
Homework/2.homework/Tests/test_print.py
mevljas/Quality_and_testing
6a39610084b1538eae270682a6842270e8971b7f
[ "MIT" ]
null
null
null
import pexpect def test_bst_print(): baza = pexpect.pexpect() try: baza.expect("command>") baza.send("add") baza.expect("add> EMSO:") baza.send("2111935500138") baza.expect("add> NAME:") baza.send("Boris") baza.expect("add> SURNAME:") baza.sen...
24.4875
61
0.520163
216
1,959
4.652778
0.25
0.318408
0.155224
0.146269
0.616915
0.616915
0.387065
0.317413
0.317413
0.317413
0
0.067301
0.302195
1,959
79
62
24.797468
0.667886
0
0
0.47619
0
0
0.275792
0
0
0
0
0
0
0
null
null
0.015873
0.015873
null
null
0.095238
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
1
0
0
0
0
0
0
0
0
2
42176e9391c78ef2f435778f49cae59353484a76
200
py
Python
pset6/python/src/agree.py
nerdola-de-cartola/cs50
f783d368b6130161905d16f7f082b6e07998b66a
[ "MIT" ]
null
null
null
pset6/python/src/agree.py
nerdola-de-cartola/cs50
f783d368b6130161905d16f7f082b6e07998b66a
[ "MIT" ]
null
null
null
pset6/python/src/agree.py
nerdola-de-cartola/cs50
f783d368b6130161905d16f7f082b6e07998b66a
[ "MIT" ]
null
null
null
from cs50 import get_string str_input = get_string("Do you agree? ") if str_input == 'y' or str_input == 'Y': print("Agreed.") elif str_input == "n" or str_input == "N": print("Not agreed.")
25
42
0.64
33
200
3.666667
0.545455
0.330579
0.14876
0
0
0
0
0
0
0
0
0.012346
0.19
200
8
43
25
0.734568
0
0
0
0
0
0.179104
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
42181247af0f95b46e3563f4894816385b4a33d2
208
py
Python
matplotlibconf.py
MashaIO/dlmladv
5b29980fe747c9930d00809e744f7ce7d14361bf
[ "MIT" ]
null
null
null
matplotlibconf.py
MashaIO/dlmladv
5b29980fe747c9930d00809e744f7ce7d14361bf
[ "MIT" ]
null
null
null
matplotlibconf.py
MashaIO/dlmladv
5b29980fe747c9930d00809e744f7ce7d14361bf
[ "MIT" ]
null
null
null
from matplotlib.pyplot import rcParams rcParams['font.size'] = 14 rcParams['lines.linewidth'] = 2 rcParams['figure.figsize'] = (8.4, 5.6) rcParams['axes.titlepad'] = 14 rcParams['savefig.pad_inches'] = 0.15
26
39
0.721154
30
208
4.966667
0.8
0.134228
0
0
0
0
0
0
0
0
0
0.064171
0.100962
208
7
40
29.714286
0.73262
0
0
0
0
0
0.331731
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
4221bab9d412ea34088017e191018292537fa33e
4,353
py
Python
test/integration/xattr_test_base.py
kzemek/helpers
d581fe10b7677274c07bec8d9768a42ab3005e8b
[ "MIT" ]
null
null
null
test/integration/xattr_test_base.py
kzemek/helpers
d581fe10b7677274c07bec8d9768a42ab3005e8b
[ "MIT" ]
null
null
null
test/integration/xattr_test_base.py
kzemek/helpers
d581fe10b7677274c07bec8d9768a42ab3005e8b
[ "MIT" ]
null
null
null
"""This module contains tests for extended attributes operations.""" __author__ = "Bartek Kryza" __copyright__ = """(C) 2017 ACK CYFRONET AGH, This software is released under the MIT license cited in 'LICENSE.txt'.""" from test_common import * from posix_test_types import * import pytest def generate_xattr_name(): ...
30.440559
79
0.735125
614
4,353
4.916938
0.180782
0.073534
0.102021
0.138456
0.754554
0.71315
0.689632
0.675389
0.649884
0.633322
0
0.009945
0.16839
4,353
142
80
30.65493
0.824033
0.06708
0
0.625
0
0
0.057502
0
0
0
0
0
0.147727
1
0.090909
false
0
0.034091
0.011364
0.136364
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4223431aaadbe8f76780218fe63d2234146ad9d0
957
py
Python
VTK/vtk_7.1.1_x64_Release/lib/python2.7/site-packages/vtk/tk/vtkTkPhotoImage.py
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
VTK/vtk_7.1.1_x64_Release/lib/python2.7/site-packages/vtk/tk/vtkTkPhotoImage.py
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
VTK/vtk_7.1.1_x64_Release/lib/python2.7/site-packages/vtk/tk/vtkTkPhotoImage.py
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
2
2019-08-30T23:36:13.000Z
2019-11-08T16:52:01.000Z
""" A subclass of tkinter.PhotoImage that connects a vtkImageData to a photo widget. Created by Daniel Blezek, August 2002 """ from __future__ import absolute_import import sys if sys.hexversion < 0x03000000: # for Python2 import Tkinter as tkinter else: # for Python3 import tkinter ...
28.147059
104
0.657262
108
957
5.666667
0.574074
0.083333
0.035948
0
0
0
0
0
0
0
0
0.029619
0.259143
957
33
105
29
0.833568
0.251829
0
0
0
0
0.074924
0.03211
0
0
0.015291
0
0
1
0.133333
false
0
0.333333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
42369f16771ed38b7cc3835d2e00aebd46221794
278
py
Python
2401.py
gabriel1lima/Questoes---URI---Python
4e88d76cf7ea68baf0464071bc4f72ced7d746cd
[ "MIT" ]
1
2020-10-01T14:22:48.000Z
2020-10-01T14:22:48.000Z
2401.py
gabriel1lima/Questoes---URI---Python
4e88d76cf7ea68baf0464071bc4f72ced7d746cd
[ "MIT" ]
null
null
null
2401.py
gabriel1lima/Questoes---URI---Python
4e88d76cf7ea68baf0464071bc4f72ced7d746cd
[ "MIT" ]
7
2020-10-01T13:03:22.000Z
2020-10-02T16:10:25.000Z
n = int(input()) calculadora = 1 for i in range(n): valor, operacao = input().split() valor = int(valor) if(operacao == '/'): calculadora = calculadora / valor else: calculadora = calculadora * valor print("{0:.0f}".format(calculadora))
13.9
41
0.582734
31
278
5.225806
0.580645
0.271605
0.333333
0
0
0
0
0
0
0
0
0.014634
0.26259
278
20
42
13.9
0.77561
0
0
0
0
0
0.028674
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
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
0
0
0
0
0
2
42386cccc82dbac595f96a13d3e692333d137a0e
290
py
Python
tests/test_node2vec.py
612twilight/CogDL-TensorFlow
f850bae3f7fc2cf98501623b0b2b291ff68c9097
[ "MIT" ]
85
2019-12-23T02:51:44.000Z
2021-11-22T02:53:40.000Z
tests/test_node2vec.py
612twilight/CogDL-TensorFlow
f850bae3f7fc2cf98501623b0b2b291ff68c9097
[ "MIT" ]
8
2019-12-24T12:33:13.000Z
2020-01-17T04:22:02.000Z
tests/test_node2vec.py
612twilight/CogDL-TensorFlow
f850bae3f7fc2cf98501623b0b2b291ff68c9097
[ "MIT" ]
21
2019-12-24T07:21:38.000Z
2021-03-11T08:23:19.000Z
import os import sys sys.path.append('../') def test_node2vec(): os.system("python ../scripts/train.py --task unsupervised_node_classification --dataset wikipedia --model node2vec --p_value 0.3 --q_value 0.7 --seed 0 1 2 3 4") pass if __name__ == "__main__": test_node2vec()
24.166667
165
0.693103
44
290
4.25
0.772727
0.128342
0
0
0
0
0
0
0
0
0
0.04918
0.158621
290
12
166
24.166667
0.717213
0
0
0
0
0.125
0.546392
0.109966
0
0
0
0
0
1
0.125
true
0.125
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
423cf5f9f388aa5ab5bc9a033ea92c9ec393b4ab
511
py
Python
ocrd_butler/util.py
stweil/ocrd_butler
bf80d63625111ba413d8d15e873caac24e78b3ae
[ "MIT" ]
6
2020-09-01T10:02:02.000Z
2021-01-29T10:25:09.000Z
ocrd_butler/util.py
stweil/ocrd_butler
bf80d63625111ba413d8d15e873caac24e78b3ae
[ "MIT" ]
4
2020-09-23T09:36:20.000Z
2021-06-22T11:45:11.000Z
ocrd_butler/util.py
stweil/ocrd_butler
bf80d63625111ba413d8d15e873caac24e78b3ae
[ "MIT" ]
5
2020-09-01T10:04:17.000Z
2021-06-28T18:19:52.000Z
# -*- coding: utf-8 -*- """Utils module.""" import json import re def camel_case_split(identifier): """CamelCase split""" matches = re.finditer( ".+?(?:(?<=[a-z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|$)", identifier) return [m.group(0) for m in matches] def host_url(request): return r...
18.925926
64
0.551859
67
511
4.134328
0.552239
0.036101
0.043321
0.057762
0.036101
0.036101
0.036101
0.036101
0
0
0
0.015152
0.225049
511
26
65
19.653846
0.684343
0.164384
0
0
0
0.071429
0.13253
0.127711
0
0
0
0
0
1
0.214286
false
0
0.142857
0.071429
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
423d54eefe9a8c4ae7eba5c3e0e9c2e8d1860e04
121
py
Python
server/workers/persistence/src/example_settings.py
chreman/Headstart
5d8b956faac4389c649f3072b5ac55aaa01644c6
[ "MIT" ]
111
2016-12-10T17:27:46.000Z
2022-03-29T02:57:19.000Z
server/workers/persistence/src/example_settings.py
chreman/Headstart
5d8b956faac4389c649f3072b5ac55aaa01644c6
[ "MIT" ]
338
2016-12-04T17:43:28.000Z
2022-03-04T15:50:33.000Z
server/workers/persistence/src/example_settings.py
chreman/Headstart
5d8b956faac4389c649f3072b5ac55aaa01644c6
[ "MIT" ]
32
2016-12-19T12:48:00.000Z
2022-02-12T17:47:47.000Z
BEHIND_PROXY = True SWAGGER_BASEPATH = "" DEFAULT_DATABASE = "dev" DATABASES = ["test"] ENV = "development" DEBUG = True
17.285714
24
0.719008
14
121
6
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.14876
121
6
25
20.166667
0.815534
0
0
0
0
0
0.14876
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
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
2
426db23dcbb2aa8fd052fb5eb697397310ba7c28
1,784
py
Python
tests/event_broker/test_subscribe_handlers.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
5
2019-07-22T06:04:07.000Z
2021-07-23T06:01:51.000Z
tests/event_broker/test_subscribe_handlers.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
15
2020-07-28T17:33:40.000Z
2021-08-23T17:30:05.000Z
tests/event_broker/test_subscribe_handlers.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
4
2019-08-25T22:41:59.000Z
2020-10-21T14:28:15.000Z
from unittest import TestCase, main, skip from expects import expect, raise_error from questions_three.constants import TestEvent from questions_three.exceptions import UndefinedEvent from questions_three.event_broker import EventBroker, subscribe_event_handlers class TestSubscribEventHandlers(TestCase): def se...
28.774194
78
0.668161
197
1,784
5.695431
0.329949
0.048128
0.098039
0.096257
0.463458
0.463458
0.463458
0.392157
0.30303
0.30303
0
0
0.26009
1,784
61
79
29.245902
0.85
0
0
0.465116
0
0
0.038117
0
0
0
0
0
0.046512
1
0.27907
false
0.023256
0.116279
0
0.511628
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
429b7f34f6a97e630a3b8d0a55962b4b0713dff1
427
py
Python
users/views.py
AlexeyDonskikh/petselection
72a148f866b6550f6ccdfb6117acea25404df955
[ "MIT" ]
null
null
null
users/views.py
AlexeyDonskikh/petselection
72a148f866b6550f6ccdfb6117acea25404df955
[ "MIT" ]
null
null
null
users/views.py
AlexeyDonskikh/petselection
72a148f866b6550f6ccdfb6117acea25404df955
[ "MIT" ]
null
null
null
from django.urls import reverse_lazy from django.views.generic import CreateView, DetailView from users.forms import CreationForm from users.models import User class SignUp(CreateView): form_class = CreationForm success_url = reverse_lazy('login') template_name = 'auth/signUp.html' class ProfileView(De...
23.722222
55
0.765808
54
427
5.888889
0.574074
0.062893
0
0
0
0
0
0
0
0
0
0
0.159251
427
17
56
25.117647
0.885794
0
0
0
0
0
0.112412
0.053864
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
42aa6e4024094420be23698519cda1aa93e6f922
2,856
py
Python
RafalG/sequence_list_b.py
Khayn/2021-12-elearning-pythonana
a54e407adc8fb8c3a5fd2522735ae09cdef6540a
[ "MIT" ]
null
null
null
RafalG/sequence_list_b.py
Khayn/2021-12-elearning-pythonana
a54e407adc8fb8c3a5fd2522735ae09cdef6540a
[ "MIT" ]
null
null
null
RafalG/sequence_list_b.py
Khayn/2021-12-elearning-pythonana
a54e407adc8fb8c3a5fd2522735ae09cdef6540a
[ "MIT" ]
null
null
null
""" * Assignment: Sequence List Many * Required: yes * Complexity: easy * Lines of code: 3 lines * Time: 5 min English: 1. Create list `a` with data from row 1 2. Create list `b` with data from row 2 3. Create list `c` with data from row 3 4. Rewrite data manually: a. Do not automate by writing...
29.75
75
0.571429
482
2,856
3.377593
0.263485
0.014742
0.044226
0.055283
0.361179
0.316953
0.253071
0.119165
0.060197
0
0
0.06816
0.280812
2,856
95
76
30.063158
0.72444
0.859594
0
0
0
0
0.552279
0.485255
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
42aa83b80a10eb6515b685e7e53f5bcb6406600f
635
py
Python
tests/test_0099-read-from-file-object.py
eic/uproot4
deb8d88c2643521f372bf5005c51af8926016c7e
[ "BSD-3-Clause" ]
133
2020-05-08T21:34:11.000Z
2022-03-07T18:12:58.000Z
tests/test_0099-read-from-file-object.py
eic/uproot4
deb8d88c2643521f372bf5005c51af8926016c7e
[ "BSD-3-Clause" ]
269
2020-05-13T02:42:24.000Z
2022-03-24T20:24:16.000Z
tests/test_0099-read-from-file-object.py
eic/uproot4
deb8d88c2643521f372bf5005c51af8926016c7e
[ "BSD-3-Clause" ]
45
2020-05-15T17:48:04.000Z
2022-03-18T19:23:07.000Z
# BSD 3-Clause License; see https://github.com/scikit-hep/uproot4/blob/main/LICENSE from __future__ import absolute_import import pytest import skhep_testdata import uproot def test(): with open(skhep_testdata.data_path("uproot-Zmumu.root"), "rb") as f: assert uproot.open({f: "events"})["px1"].array(li...
25.4
87
0.582677
71
635
5.098592
0.788732
0.071823
0
0
0
0
0
0
0
0
0
0.277162
0.289764
635
24
88
26.458333
0.525499
0.127559
0
0.222222
0
0
0.054348
0
0
0
0
0
0.055556
1
0.055556
true
0
0.222222
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
42ab0b3efa5296c9c259932800d8117ae3fc94ef
719
gyp
Python
binding.gyp
TiePie/node-libtiepie
919945efd9a480ac1a8dc550ac6a95dd0b54e2e9
[ "MIT" ]
null
null
null
binding.gyp
TiePie/node-libtiepie
919945efd9a480ac1a8dc550ac6a95dd0b54e2e9
[ "MIT" ]
null
null
null
binding.gyp
TiePie/node-libtiepie
919945efd9a480ac1a8dc550ac6a95dd0b54e2e9
[ "MIT" ]
1
2018-11-19T09:04:03.000Z
2018-11-19T09:04:03.000Z
{ 'targets': [ { 'target_name': 'node_libtiepie', 'sources': [ 'src/libtiepie.cc' ], 'include_dirs': [ '<!(node -e "require(\'nan\')")' ], 'conditions': [ [ 'OS=="linux"', { 'libraries': ['-ltiepie'] ...
16.72093
57
0.300417
37
719
5.648649
0.702703
0.095694
0
0
0
0
0
0
0
0
0
0
0.54242
719
42
58
17.119048
0.635258
0
0
0.214286
0
0
0.33936
0.087622
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
42ac7480eab892d34ca3fcb0f15c50b04ffc4788
3,187
py
Python
settings/common.py
SuperLeilia/loonflow
6abc579bc6e5961ae324e3a6354833735f70d5a9
[ "MIT" ]
null
null
null
settings/common.py
SuperLeilia/loonflow
6abc579bc6e5961ae324e3a6354833735f70d5a9
[ "MIT" ]
null
null
null
settings/common.py
SuperLeilia/loonflow
6abc579bc6e5961ae324e3a6354833735f70d5a9
[ "MIT" ]
null
null
null
""" Django settings for abs project. Generated by 'django-admin startproject' using Django 2.0.4. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os import...
23.783582
91
0.668026
375
3,187
5.536
0.464
0.075145
0.028902
0.040462
0.19027
0.121387
0.046243
0.046243
0
0
0
0.01202
0.190775
3,187
133
92
23.962406
0.792943
0.219015
0
0.025641
1
0.012821
0.445433
0.295877
0
0
0
0
0
1
0
false
0.064103
0.025641
0
0.025641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
35fb18c5cafe10439247a77d47b391c067f082f8
1,525
py
Python
cp_tool_es2.py
CelesteBlue-dev/grover
620724cbecc4dc7e4875f3b55cff0883a2974005
[ "WTFPL" ]
1
2021-09-26T09:04:39.000Z
2021-09-26T09:04:39.000Z
cp_tool_es2.py
CelesteBlue-dev/grover
620724cbecc4dc7e4875f3b55cff0883a2974005
[ "WTFPL" ]
null
null
null
cp_tool_es2.py
CelesteBlue-dev/grover
620724cbecc4dc7e4875f3b55cff0883a2974005
[ "WTFPL" ]
null
null
null
import os import sys from Crypto.Cipher import AES from Crypto.PublicKey import RSA cui_modulus = 0xA7CCAE0F501188527BF3DACCA3E231C8D8701E7B91927390701DE5E7A96327DAD87167A8F01368ADDFE490E325A290533697058FBA775766698010AFD8FD7A3FFD265E0A52FE04928BCE8B4302F4C70FFAC3C9397FD24B106271E57BDA20D2D702298F6F990ECF9B0FE04FF6CCE...
40.131579
529
0.791475
178
1,525
6.601124
0.393258
0.030638
0.030638
0.038298
0.064681
0.034043
0.034043
0
0
0
0
0.283516
0.104918
1,525
38
530
40.131579
0.577289
0
0
0
0
0
0.003932
0
0
0
0.024902
0
0
0
null
null
0
0.137931
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
c40a20c94651ec43dd2c264786f8423135ce19ab
516
py
Python
3rdparty/pytorch/tools/shared/module_loader.py
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
1
2019-07-23T11:20:58.000Z
2019-07-23T11:20:58.000Z
3rdparty/pytorch/tools/shared/module_loader.py
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
1
2019-07-22T09:48:46.000Z
2019-07-22T09:48:46.000Z
pytorch/tools/shared/module_loader.py
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
null
null
null
import sys def import_module(name, path): if sys.version_info >= (3, 5): import importlib.util spec = importlib.util.spec_from_file_location(name, path) module = importlib.util.module_from_spec(spec) spec.loader.exec_module(module) return module elif sys.version_info >=...
30.352941
65
0.666667
65
516
5.123077
0.430769
0.096096
0.084084
0.09009
0
0
0
0
0
0
0
0.010256
0.244186
516
16
66
32.25
0.84359
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.5
0
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c40fa577d093b3dade4f4514d08934e1202c613b
351
py
Python
feeder/foods/admin.py
straend/feeder
50a84300a6e2346a2106c6881ceddf172b72e03c
[ "MIT" ]
null
null
null
feeder/foods/admin.py
straend/feeder
50a84300a6e2346a2106c6881ceddf172b72e03c
[ "MIT" ]
null
null
null
feeder/foods/admin.py
straend/feeder
50a84300a6e2346a2106c6881ceddf172b72e03c
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Chain, Restaurant, Meal # Register your models here. admin.site.register(Chain) admin.site.register(Restaurant) #admin.site.register(Meal) @admin.register(Meal) class MealAdmin(admin.ModelAdmin): list_display = ('restaurant', 'date', 'food', 'price') list_f...
27
58
0.74359
44
351
5.886364
0.5
0.104247
0.196911
0
0
0
0
0
0
0
0
0
0.116809
351
12
59
29.25
0.835484
0.145299
0
0
0
0
0.124579
0
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
0
1
0
0
2
c41d028e9ce5bb72fdb9d298eb2ca48de7fb56df
506
py
Python
src/tt_storage/tt_storage/tests/helpers.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
85
2017-11-21T12:22:02.000Z
2022-03-27T23:07:17.000Z
src/tt_storage/tt_storage/tests/helpers.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
545
2017-11-04T14:15:04.000Z
2022-03-27T14:19:27.000Z
src/tt_storage/tt_storage/tests/helpers.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
45
2017-11-11T12:36:30.000Z
2022-02-25T06:10:44.000Z
import os from tt_web import utils from tt_web.tests import helpers as web_helpers from .. import service from .. import operations class BaseTests(web_helpers.BaseTests): def create_application(self): return service.create_application(get_config()) async def clean_environment(self, app=None): ...
23
84
0.747036
69
506
5.231884
0.492754
0.033241
0.049862
0
0
0
0
0
0
0
0
0
0.160079
506
21
85
24.095238
0.849412
0
0
0
0
0
0.037549
0
0
0
0
0
0
1
0.153846
false
0
0.384615
0.076923
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c41dca461c1e4cf298d14fc7b6429712403967d4
693
py
Python
jivago/inject/scope/scope_cache.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
12
2018-03-19T20:57:44.000Z
2020-01-27T14:11:24.000Z
jivago/inject/scope/scope_cache.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
73
2018-04-20T22:26:00.000Z
2021-12-01T14:17:37.000Z
jivago/inject/scope/scope_cache.py
keotl/jivago
892dfb0cae773e36245083c3e56f0f8523145523
[ "MIT" ]
1
2019-02-28T13:33:45.000Z
2019-02-28T13:33:45.000Z
class ScopeCache(object): def __init__(self, name: str): """ :param name: human-readable name :param scoped_components: components managed by this scope """ self.name = name def handles_component(self, component: type) -> bool: raise NotImplementedError def...
23.896552
66
0.676768
67
693
6.895522
0.477612
0.112554
0.147186
0.090909
0.207792
0.207792
0.207792
0
0
0
0
0
0.243867
693
28
67
24.75
0.881679
0.131313
0
0.4
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.133333
0
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
c41e9936b81625f9d8e0ead5942ae39cc7a2a787
1,070
py
Python
dimod/reference/composites/scalecomposite.py
hsadeghidw/dimod
c6b4adc18c22f39fd5a79e6775bbcab84b1a5489
[ "Apache-2.0" ]
null
null
null
dimod/reference/composites/scalecomposite.py
hsadeghidw/dimod
c6b4adc18c22f39fd5a79e6775bbcab84b1a5489
[ "Apache-2.0" ]
null
null
null
dimod/reference/composites/scalecomposite.py
hsadeghidw/dimod
c6b4adc18c22f39fd5a79e6775bbcab84b1a5489
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 D-Wave Systems Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
31.470588
79
0.765421
140
1,070
5.735714
0.671429
0.07472
0.032379
0.039851
0
0
0
0
0
0
0
0.00905
0.173832
1,070
33
80
32.424242
0.899321
0.678505
0
0
0
0
0.043478
0
0
0
0
0
0
1
0
false
0.166667
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
c424eb1050506277a4785a21eb430efd36c47a92
1,070
py
Python
pyrestorm/manager.py
alanjds/py-rest-orm
d65f64ff34721d5238901a5882f6a64d956d84be
[ "MIT" ]
9
2016-04-28T20:57:21.000Z
2018-02-27T22:07:58.000Z
pyrestorm/manager.py
alanjds/py-rest-orm
d65f64ff34721d5238901a5882f6a64d956d84be
[ "MIT" ]
3
2016-05-04T19:33:29.000Z
2017-12-16T21:14:00.000Z
pyrestorm/manager.py
alanjds/py-rest-orm
d65f64ff34721d5238901a5882f6a64d956d84be
[ "MIT" ]
4
2019-02-07T20:56:35.000Z
2020-11-04T14:42:06.000Z
from pyrestorm.query import RestQueryset class RestOrmManager(object): def __init__(self, queryset_class=None, **kwargs): super(RestOrmManager, self).__init__(**kwargs) self.queryset_class = queryset_class or RestQueryset # Ensure the objects is only available at the class level def __get...
39.62963
109
0.68785
134
1,070
5.238806
0.477612
0.12963
0.096866
0
0
0
0
0
0
0
0
0
0.223364
1,070
26
110
41.153846
0.844765
0.181308
0
0
0
0
0.025229
0
0
0
0
0
0
1
0.294118
false
0
0.058824
0.058824
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c42eb987fc19b1e1334b7efa6c01b74c7939b590
330
py
Python
backend/tests/test_settings.py
retnikt/notebook
504d1eadf603c4ecaa5da0f8a46b39311da53b15
[ "MIT" ]
2
2021-02-18T14:33:50.000Z
2022-03-30T17:58:24.000Z
backend/tests/test_settings.py
retnikt/nodebook
504d1eadf603c4ecaa5da0f8a46b39311da53b15
[ "MIT" ]
68
2020-05-29T19:19:10.000Z
2021-08-02T08:27:41.000Z
backend/tests/test_settings.py
retnikt/notebook
504d1eadf603c4ecaa5da0f8a46b39311da53b15
[ "MIT" ]
1
2020-11-03T09:47:26.000Z
2020-11-03T09:47:26.000Z
""" Copyright © retnikt <_@retnikt.uk> 2020 This software is licensed under the MIT Licence: https://opensource.org/licenses/MIT """ from notebook.settings import UNIVERSAL_SET def test_universal_set(): class Singleton: pass # made-up class that couldn't possibly be there assert Singleton in UNIV...
23.571429
84
0.739394
46
330
5.217391
0.826087
0.15
0
0
0
0
0
0
0
0
0
0.014815
0.181818
330
13
85
25.384615
0.87037
0.518182
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
true
0.2
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
c43ae1da2c967b9837c3aba94c305a497441e38b
281
py
Python
thenewboston_node/core/utils/settings.py
AbhayAysola/thenewboston-node
8a24cfd814eed590a7a1066e45b8b4877501aa35
[ "MIT" ]
30
2021-03-05T22:08:17.000Z
2021-09-23T02:45:45.000Z
thenewboston_node/core/utils/settings.py
AbhayAysola/thenewboston-node
8a24cfd814eed590a7a1066e45b8b4877501aa35
[ "MIT" ]
148
2021-03-05T23:37:50.000Z
2021-11-02T02:18:58.000Z
thenewboston_node/core/utils/settings.py
AbhayAysola/thenewboston-node
8a24cfd814eed590a7a1066e45b8b4877501aa35
[ "MIT" ]
14
2021-03-05T21:58:46.000Z
2021-10-15T17:27:52.000Z
import logging import os from .misc import yaml_coerce logger = logging.getLogger(__name__) def get_settings_from_environment(prefix): prefix_len = len(prefix) return {key[prefix_len:]: yaml_coerce(value) for key, value in os.environ.items() if key.startswith(prefix)}
23.416667
112
0.768683
41
281
5
0.609756
0.097561
0
0
0
0
0
0
0
0
0
0
0.135231
281
11
113
25.545455
0.843621
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c444672c87cf4a41cba7fb3749aa54261e59f333
840
py
Python
fitter/utils/file.py
mingrammer/resize
77a9f085fc6669c34886790a0c1fb928b20f0943
[ "MIT" ]
10
2017-05-27T06:42:25.000Z
2021-08-21T14:25:14.000Z
fitter/utils/file.py
mingrammer/resize
77a9f085fc6669c34886790a0c1fb928b20f0943
[ "MIT" ]
1
2017-07-04T02:09:50.000Z
2017-07-04T02:09:50.000Z
fitter/utils/file.py
mingrammer/resize
77a9f085fc6669c34886790a0c1fb928b20f0943
[ "MIT" ]
1
2019-09-26T10:27:14.000Z
2019-09-26T10:27:14.000Z
import hashlib import os def generate_hash(param_set): _salt_keys = ('mode', 'width', 'height', 'upscale', 'quality', 'direction', 'degree') hash_string = param_set.path for key in _salt_keys: ...
22.702703
65
0.602381
104
840
4.567308
0.442308
0.067368
0.109474
0.126316
0.235789
0.195789
0.195789
0
0
0
0
0.006678
0.286905
840
36
66
23.333333
0.786311
0
0
0
1
0
0.058333
0
0
0
0
0
0
1
0.192308
false
0
0.076923
0.153846
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
c446ace0e93dbf35e16fc340be8554e50a9c67df
2,617
py
Python
tests/test_Solution.py
nariaki3551/flopt
fdf18deb63827463d90658c107c520aec4f0f707
[ "MIT" ]
4
2020-06-14T10:10:33.000Z
2022-03-11T18:34:02.000Z
tests/test_Solution.py
flab-coder/flopt
681d2f98824a52bb95de73676823d7ae59c6a013
[ "MIT" ]
36
2020-04-30T12:07:15.000Z
2021-11-02T05:30:04.000Z
tests/test_Solution.py
flab-coder/flopt
681d2f98824a52bb95de73676823d7ae59c6a013
[ "MIT" ]
4
2020-04-30T11:32:15.000Z
2021-07-15T09:09:42.000Z
import pytest from math import sqrt from flopt import Variable, Solution @pytest.fixture(scope='function') def b(): _b = [Variable(f'b{i}', lowBound=0, upBound=10, ini_value=i+1, cat='Continuous') for i in range(5)] return Solution('b', _b ) @pytest.fixture(scope='function') def c(): _c = [Variable(f'c{i...
28.139785
103
0.557509
500
2,617
2.828
0.138
0.084158
0.180339
0.031117
0.549505
0.4314
0.401697
0.283593
0.229137
0.158416
0
0.094021
0.207489
2,617
92
104
28.445652
0.587753
0.026366
0
0.072464
0
0
0.03222
0
0
0
0
0
0.391304
1
0.318841
false
0
0.043478
0.028986
0.434783
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
c4488fa13327e91568f9154ae423e6af8ef6d224
1,070
py
Python
app/api_service/ice_creams/api/v1/views.py
TheRayOfSeasons/worker-heavy-cicd
fa36e89dd68ee2fd8b37bda55d6bb885f31afaa7
[ "MIT" ]
null
null
null
app/api_service/ice_creams/api/v1/views.py
TheRayOfSeasons/worker-heavy-cicd
fa36e89dd68ee2fd8b37bda55d6bb885f31afaa7
[ "MIT" ]
null
null
null
app/api_service/ice_creams/api/v1/views.py
TheRayOfSeasons/worker-heavy-cicd
fa36e89dd68ee2fd8b37bda55d6bb885f31afaa7
[ "MIT" ]
null
null
null
from rest_framework import viewsets from ice_creams.models import Flavor from ice_creams.models import IceCream from ice_creams.models import IceCreamServing from ice_creams.models import Topping from .serializers import FlavorSerializer from .serializers import IceCreamSerializer from .serializers import IceCreamSer...
24.318182
52
0.762617
101
1,070
7.990099
0.29703
0.034696
0.064436
0.094176
0.351921
0.228005
0
0
0
0
0
0
0.166355
1,070
43
53
24.883721
0.904709
0.081308
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
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c44b1c2e62d31e7aedeb26fa76bce89821666d34
202,618
py
Python
pywinhv/pywinhv.py
0vercl0k/pywinhv
9c0d15528168be1fb463497f3568929d10e14c53
[ "MIT" ]
57
2019-06-24T15:25:19.000Z
2022-02-21T12:28:04.000Z
pywinhv/pywinhv.py
0vercl0k/pywinhv
9c0d15528168be1fb463497f3568929d10e14c53
[ "MIT" ]
null
null
null
pywinhv/pywinhv.py
0vercl0k/pywinhv
9c0d15528168be1fb463497f3568929d10e14c53
[ "MIT" ]
10
2019-06-25T14:44:52.000Z
2021-09-04T13:35:19.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.12 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info >= (2, 7, 0): def swig_im...
66.67259
221
0.837275
21,819
202,618
6.894129
0.036024
0.101713
0.045286
0.053383
0.7895
0.753076
0.625164
0.436881
0.305013
0.201585
0
0.019763
0.107236
202,618
3,038
222
66.694536
0.811808
0.001456
0
0.315457
1
0
0.045524
0.007108
0
0
0
0
0
1
0.04171
false
0.000701
0.00666
0.021732
0.219769
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
0
0
0
0
0
0
2
c45095c79585109b379c3e5dee1fc610caeb3ebf
443
py
Python
syft/frameworks/torch/he/fv/secret_key.py
wendong1997/PySyft
1754a0720452db8a868104c74c5c2548ea8e75ea
[ "Apache-2.0" ]
7
2020-04-20T22:22:08.000Z
2020-07-25T17:32:08.000Z
syft/frameworks/torch/he/fv/secret_key.py
wendong1997/PySyft
1754a0720452db8a868104c74c5c2548ea8e75ea
[ "Apache-2.0" ]
3
2020-04-24T21:20:57.000Z
2020-05-28T09:17:02.000Z
syft/frameworks/torch/he/fv/secret_key.py
wendong1997/PySyft
1754a0720452db8a868104c74c5c2548ea8e75ea
[ "Apache-2.0" ]
4
2020-04-24T22:32:37.000Z
2020-05-25T19:29:20.000Z
class SecretKey: """A wrapper class for representing secret key. Typical format of secret key data would be [p1. p2, p3...] where pi represents polynomials for each coefficient modulus. Elements of each polynomails is taken from {-1, 0, 1} represented in their respective modulus. Attributes: ...
27.6875
89
0.677201
60
443
4.933333
0.716667
0.091216
0.141892
0
0
0
0
0
0
0
0
0.021084
0.250564
443
15
90
29.533333
0.870482
0.744921
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c4564b58af68e78bfb2a664c467fcd74d1fbe272
3,210
py
Python
cvxpy/atoms/affine/conv.py
jasondark/cvxpy
56aaa01b0e9d98ae5a91a923708129a7b37a6f18
[ "ECL-2.0", "Apache-2.0" ]
7
2015-06-03T01:33:46.000Z
2021-11-15T01:48:49.000Z
cvxpy/atoms/affine/conv.py
Toby-Gao/cvxpy
bd6f5142effa8cf883d1a0d7fd46c0d906b2fb93
[ "ECL-2.0", "Apache-2.0" ]
1
2022-03-09T13:13:44.000Z
2022-03-09T13:13:44.000Z
cvxpy/atoms/affine/conv.py
Toby-Gao/cvxpy
bd6f5142effa8cf883d1a0d7fd46c0d906b2fb93
[ "ECL-2.0", "Apache-2.0" ]
2
2020-10-22T01:35:58.000Z
2022-01-19T10:48:51.000Z
""" Copyright 2013 Steven Diamond Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
30.865385
78
0.63053
455
3,210
4.345055
0.389011
0.036419
0.027314
0.022256
0.098128
0.098128
0.05564
0.030349
0
0
0
0.015618
0.261994
3,210
103
79
31.165049
0.818911
0.511215
0
0
0
0
0.066128
0
0
0
0
0.009709
0
1
0.275862
false
0
0.172414
0
0.689655
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c46598f370c5c161e76a13ebbe72d7553e774b83
685
py
Python
tests/convert/test_to_address.py
x3devships/brownie
b0bedf5352d729903365e33d16df561b86f6c8da
[ "MIT" ]
1,595
2020-06-01T19:41:53.000Z
2022-03-31T16:09:54.000Z
tests/convert/test_to_address.py
x3devships/brownie
b0bedf5352d729903365e33d16df561b86f6c8da
[ "MIT" ]
532
2020-05-30T12:06:17.000Z
2022-03-31T22:33:41.000Z
tests/convert/test_to_address.py
x3devships/brownie
b0bedf5352d729903365e33d16df561b86f6c8da
[ "MIT" ]
303
2020-06-17T00:38:34.000Z
2022-03-31T10:59:48.000Z
#!/usr/bin/python3 import pytest from brownie.convert import to_address addr = "0x14b0Ed2a7C4cC60DD8F676AE44D0831d3c9b2a9E" addr_encoded = b"\x14\xb0\xed*|L\xc6\r\xd8\xf6v\xaeD\xd0\x83\x1d<\x9b*\x9e" def test_success(): assert to_address(addr) == addr assert to_address(addr.lower()) == addr assert to_a...
23.62069
75
0.69635
93
685
4.956989
0.473118
0.175705
0.225597
0.206074
0.507592
0.245119
0.169197
0
0
0
0
0.077193
0.167883
685
28
76
24.464286
0.731579
0.024818
0
0.166667
0
0.055556
0.157421
0.148426
0
0
0.068966
0
0.277778
1
0.166667
false
0
0.111111
0
0.277778
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c47c1bce850e37c88867e715e790ad443329b210
7,563
py
Python
tests/test_06_math/test_602_vector.py
hh-wu/ezdxf
62509ba39b826ee9b36f19c0a5abad7f3518186a
[ "MIT" ]
null
null
null
tests/test_06_math/test_602_vector.py
hh-wu/ezdxf
62509ba39b826ee9b36f19c0a5abad7f3518186a
[ "MIT" ]
null
null
null
tests/test_06_math/test_602_vector.py
hh-wu/ezdxf
62509ba39b826ee9b36f19c0a5abad7f3518186a
[ "MIT" ]
null
null
null
import math from ezdxf.math.vector import Vector def test_init_no_params(): v = Vector() assert v == (0, 0, 0) assert v == Vector() def test_init_one_param(): v = Vector((2, 3)) assert v == (2, 3) # z is 0. v = Vector((2, 3, 4)) assert v == (2, 3, 4) def test_init_two_params(): v...
21.244382
102
0.56036
1,345
7,563
3.055019
0.094424
0.083475
0.099294
0.043806
0.559747
0.46532
0.402044
0.317596
0.253833
0.209053
0
0.128329
0.260214
7,563
355
103
21.304225
0.606077
0.009917
0
0.191667
0
0
0
0
0
0
0
0
0.416667
1
0.204167
false
0
0.0125
0
0.216667
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
1
0
1
0
0
0
0
0
0
0
2
c48029c6532e431469226895901ecd9218ea9503
138
py
Python
com/LimePencil/Q1676/Main.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
2
2021-07-17T13:05:42.000Z
2021-09-12T09:14:24.000Z
com/LimePencil/Q1676/Main.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
null
null
null
com/LimePencil/Q1676/Main.py
LimePencil/baekjoonProblems
61eeeeb875585d165d9e39ecdb3d905b4ba6aa87
[ "MIT" ]
null
null
null
import sys n = int(sys.stdin.readline()) total =0 for i in range(1,n+1): while i%5 == 0: i/=5 total +=1 print(total)
13.8
29
0.543478
26
138
2.884615
0.615385
0.053333
0
0
0
0
0
0
0
0
0
0.071429
0.289855
138
9
30
15.333333
0.693878
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4845e12f45837eb277bbaf2b5fb9d987133d970
11,956
py
Python
tests/2d_test/test.py
ComputationalFlowPhysics/MFC-Caltech
daf9f317b30961b7d7842b0b8cfb0fc0c20e355e
[ "MIT" ]
42
2019-07-25T08:37:24.000Z
2021-09-26T11:30:31.000Z
tests/2d_test/test.py
zhangzhg0508/MFC
1bace9206474f8eb4557ba33c6ed680222e78c80
[ "MIT" ]
1
2020-09-10T01:01:50.000Z
2020-09-10T03:04:08.000Z
tests/2d_test/test.py
zhangzhg0508/MFC
1bace9206474f8eb4557ba33c6ed680222e78c80
[ "MIT" ]
21
2019-07-25T07:57:26.000Z
2021-10-02T03:05:53.000Z
#!/usr/bin/python import math x0 = 10.E-06 p0 = 101325. rho0 = 998. #c0 = 1475. #p0 = rho0*c0*c0 c0 = math.sqrt( p0/rho0 ) #rho0 = p0/(c0*c0) #patm = 101325./p0 patm = 1. print 'x0', x0 print 'p0', p0 print 'c0', c0 print 'rho0', rho0 pl0 = p0 #101325.0 rhol0 = rho0 #998.2...
46.886275
85
0.258197
851
11,956
3.472385
0.331375
0.04264
0.047377
0.018613
0.050085
0.021997
0.01286
0
0
0
0
0.073882
0.581131
11,956
254
86
47.070866
0.516174
0.243142
0
0
0
0
0.118414
0.023393
0
0
0
0
0
0
null
null
0
0.032895
null
null
0.072368
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
c48a881f624f92523287e50f59bc759f76927515
1,464
py
Python
python/runMultiRndRender3Dsim.py
jstraub/dpOptTrans
b8c6549a140b2b4abefeb2fd5180e805c285e10d
[ "MIT-feh" ]
30
2016-06-15T14:41:52.000Z
2021-11-17T00:03:09.000Z
python/runMultiRndRender3Dsim.py
jstraub/dpOptTrans
b8c6549a140b2b4abefeb2fd5180e805c285e10d
[ "MIT-feh" ]
4
2017-01-12T04:55:59.000Z
2021-02-19T01:37:13.000Z
python/runMultiRndRender3Dsim.py
jstraub/dpOptTrans
b8c6549a140b2b4abefeb2fd5180e805c285e10d
[ "MIT-feh" ]
17
2016-06-15T14:42:11.000Z
2020-12-28T23:48:33.000Z
import subprocess as subp import os.path import re, random, argparse, time import numpy as np import time # to generate different random prefixes even if all processes aree # started at the same time with high probability time.sleep(random.random()*5.) parser = argparse.ArgumentParser(description = 'randomly sample t...
28.705882
92
0.668716
200
1,464
4.875
0.55
0.024615
0.038974
0.047179
0.229744
0.157949
0.057436
0
0
0
0
0.022407
0.176913
1,464
50
93
29.28
0.786722
0.238388
0
0
1
0
0.268116
0.131341
0
0
0
0
0
0
null
null
0
0.151515
null
null
0.121212
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
6707ab5aa13f0eb32ff512d51c109ece4b7d395e
33,642
py
Python
src/amuse/units/core.py
sibonyves/amuse
5557bf88d14df1aa02133a199b6d60c0c57dcab7
[ "Apache-2.0" ]
131
2015-06-04T09:06:57.000Z
2022-02-01T12:11:29.000Z
src/amuse/units/core.py
sibonyves/amuse
5557bf88d14df1aa02133a199b6d60c0c57dcab7
[ "Apache-2.0" ]
690
2015-10-17T12:18:08.000Z
2022-03-31T16:15:58.000Z
src/amuse/units/core.py
sibonyves/amuse
5557bf88d14df1aa02133a199b6d60c0c57dcab7
[ "Apache-2.0" ]
102
2015-01-22T10:00:29.000Z
2022-02-09T13:29:43.000Z
from amuse.support.core import late from amuse.support import exceptions import numpy from amuse.support.core import memoize from amuse.support.core import MultitonMetaClass class system(object): ALL = {} def __init__(self, name): self.name = name self.bases = [] self.mapping_from_b...
28.105263
170
0.579395
4,260
33,642
4.383803
0.083568
0.032129
0.017242
0.018206
0.543775
0.461098
0.391593
0.353521
0.306078
0.266452
0
0.013802
0.328072
33,642
1,196
171
28.128763
0.812342
0.192289
0
0.571856
0
0
0.036431
0
0
0
0
0
0
1
0.214072
false
0.004491
0.016467
0.115269
0.505988
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
6709e467826fbf9c7c49f240d4659a0b6f8c3555
1,028
py
Python
setup.py
ronigold/downsemble
7948991583b5337ddf47810a5884368730d3b3b2
[ "MIT" ]
null
null
null
setup.py
ronigold/downsemble
7948991583b5337ddf47810a5884368730d3b3b2
[ "MIT" ]
null
null
null
setup.py
ronigold/downsemble
7948991583b5337ddf47810a5884368730d3b3b2
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name = 'downsemble', packages = ['downsemble'], version = '0.0.1', license='MIT', description = 'his classifier is designed to handle imbalanced data. The classification is based on an ensemble of sub-sets.', author = 'Roni Gold', ...
36.714286
128
0.614786
110
1,028
5.718182
0.690909
0.120827
0.158983
0.165342
0.079491
0
0
0
0
0
0
0.017834
0.236381
1,028
28
129
36.714286
0.783439
0
0
0.074074
0
0.074074
0.591837
0.02138
0
0
0
0
0
1
0
true
0
0.037037
0
0.037037
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
0
0
0
0
0
2
6718c7959750f12f149f04fe81b3bb16226538cc
2,532
py
Python
src/__init__.py
stormi/tsunami
bdc853229834b52b2ee8ed54a3161a1a3133d926
[ "BSD-3-Clause" ]
null
null
null
src/__init__.py
stormi/tsunami
bdc853229834b52b2ee8ed54a3161a1a3133d926
[ "BSD-3-Clause" ]
null
null
null
src/__init__.py
stormi/tsunami
bdc853229834b52b2ee8ed54a3161a1a3133d926
[ "BSD-3-Clause" ]
null
null
null
# -*-coding:Utf-8 -* # Copyright (c) 2010 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # l...
47.773585
79
0.773302
379
2,532
5.166227
0.575198
0.018386
0.017365
0.023493
0.093973
0.069459
0.069459
0.069459
0.069459
0.069459
0
0.002403
0.17812
2,532
52
80
48.692308
0.938491
0.974329
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
671963f56201421c24cd61ff9c24bb1504488c47
167
py
Python
staffjoy/resources/session.py
Joey-Wondersign/Staffjoy-suite-Joey
b6d0d87b8e60e6b866810ebeed631fb02fadad48
[ "MIT" ]
890
2017-02-25T07:11:09.000Z
2022-03-08T05:49:20.000Z
staffjoy/resources/session.py
Joey-Wondersign/Staffjoy-suite-Joey
b6d0d87b8e60e6b866810ebeed631fb02fadad48
[ "MIT" ]
12
2016-02-21T21:23:44.000Z
2017-04-03T22:44:03.000Z
staffjoy/resources/session.py
nfriedly/suite
c58c772d98d1476cad0531b8a296f27ad2ab945c
[ "MIT" ]
276
2017-02-25T09:01:23.000Z
2022-03-19T02:24:02.000Z
from staffjoy.resource import Resource class Session(Resource): """User session""" PATH = "users/{user_id}/sessions/{session_id}" ID_NAME = "session_id"
20.875
50
0.694611
21
167
5.333333
0.571429
0.160714
0
0
0
0
0
0
0
0
0
0
0.167665
167
7
51
23.857143
0.805755
0.071856
0
0
0
0
0.315436
0.248322
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
671a28b2259ef14929fd6f264c87818a91f3f2ef
318
py
Python
libtad/datatypes/business/business_days_operator_type.py
timeanddate/libtad-python
8c3b14578ed1f5f5e79cc83b415433f59e39814f
[ "MIT" ]
2
2022-01-14T11:35:50.000Z
2022-03-07T04:20:14.000Z
libtad/datatypes/business/business_days_operator_type.py
timeanddate/libtad-python
8c3b14578ed1f5f5e79cc83b415433f59e39814f
[ "MIT" ]
null
null
null
libtad/datatypes/business/business_days_operator_type.py
timeanddate/libtad-python
8c3b14578ed1f5f5e79cc83b415433f59e39814f
[ "MIT" ]
null
null
null
from enum import Enum class BusinessDaysOperatorType(Enum): """ An enum class containing business.PeriodTypedays operators. ... Attributes ---------- Add : BusinessDaysOperatorType Add. Subtract : BusinessDaysOperatorType Subtract. """ Add = 1 Subtract = 2
15.9
63
0.616352
25
318
7.84
0.6
0.091837
0
0
0
0
0
0
0
0
0
0.00885
0.289308
318
19
64
16.736842
0.858407
0.556604
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
673dd8b9d55e1ffadb3898643ed8e51b4ba6ba58
371
py
Python
yatube/users/utils.py
otr-study/yatube_project
75be0cdd0b2d1a1209aa8fa59bff4079976c991c
[ "MIT" ]
null
null
null
yatube/users/utils.py
otr-study/yatube_project
75be0cdd0b2d1a1209aa8fa59bff4079976c991c
[ "MIT" ]
null
null
null
yatube/users/utils.py
otr-study/yatube_project
75be0cdd0b2d1a1209aa8fa59bff4079976c991c
[ "MIT" ]
null
null
null
def set_session_user_profile(request, profile=None): user_profile = { 'use_pop_article': True, 'theme': '', 'is_authenticated': request.user.is_authenticated } if profile: user_profile['use_pop_article'] = profile.use_pop_article user_profile['theme'] = profile.theme ...
33.727273
65
0.671159
43
371
5.418605
0.348837
0.283262
0.167382
0.257511
0.206009
0
0
0
0
0
0
0
0.215633
371
10
66
37.1
0.800687
0
0
0
0
0
0.183288
0
0
0
0
0
0
1
0.1
false
0
0
0
0.1
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
674a79ce2d9c46bd7b62cd9bcf8933095a1050ea
793
py
Python
lycheepy/configuration/configuration/resources/process.py
gabrielbazan/lycheepy
f314d3f591f4a449b37ead9baf26b9f5d58d9f0d
[ "MIT" ]
17
2018-08-14T02:42:43.000Z
2022-02-25T00:38:47.000Z
lycheepy/configuration/configuration/resources/process.py
gabrielbazan/lycheepy
f314d3f591f4a449b37ead9baf26b9f5d58d9f0d
[ "MIT" ]
1
2018-11-01T02:55:01.000Z
2018-11-01T02:55:01.000Z
lycheepy/configuration/configuration/resources/process.py
gabrielbazan/lycheepy
f314d3f591f4a449b37ead9baf26b9f5d58d9f0d
[ "MIT" ]
4
2018-10-30T16:01:49.000Z
2021-06-08T20:21:07.000Z
import json from flask import request from simplyrestful.resources import Resource from simplyrestful.exceptions import Conflict from serializers import ProcessSerializer from settings import PROCESS_SPECIFICATION_FIELD class ProcessResource(Resource): endpoint = 'processes' serializer = ProcessSerializer ...
31.72
102
0.755359
89
793
6.573034
0.483146
0.102564
0.128205
0.092308
0.304274
0.304274
0.164103
0.164103
0
0
0
0.004566
0.171501
793
24
103
33.041667
0.885845
0
0
0.105263
0
0
0.069357
0
0
0
0
0
0
1
0.157895
false
0
0.315789
0
0.736842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
67554e81d118d21a2a8328ba8217c3e43379c3b0
264
py
Python
ad_api/sp_brands/keyword_recommendations.py
854350999/python-amazon-ad-api
f7deb695b539296260c6558529b4be39a426967e
[ "MIT" ]
null
null
null
ad_api/sp_brands/keyword_recommendations.py
854350999/python-amazon-ad-api
f7deb695b539296260c6558529b4be39a426967e
[ "MIT" ]
null
null
null
ad_api/sp_brands/keyword_recommendations.py
854350999/python-amazon-ad-api
f7deb695b539296260c6558529b4be39a426967e
[ "MIT" ]
null
null
null
from ..client import Client class KeywordRecommendations(Client): def get_keyword_recommendations(self, params): self.uri_path = "/sb/recommendations/keyword" self.data = params self.method = "post" return self.execute()
17.6
53
0.666667
28
264
6.178571
0.678571
0.115607
0
0
0
0
0
0
0
0
0
0
0.238636
264
14
54
18.857143
0.860697
0
0
0
0
0
0.119231
0.103846
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
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
0
0
1
0
0
2
6759683819670f6bae2599399d1c2b86ae49163a
1,971
py
Python
user_test.py
Matongo2010/password_locker
53159bdd2bfea5a2695d0592bb5ec041fb9650a1
[ "MIT" ]
null
null
null
user_test.py
Matongo2010/password_locker
53159bdd2bfea5a2695d0592bb5ec041fb9650a1
[ "MIT" ]
null
null
null
user_test.py
Matongo2010/password_locker
53159bdd2bfea5a2695d0592bb5ec041fb9650a1
[ "MIT" ]
null
null
null
import unittest # Importing the unittest module from user import User # Importing the members class class TestUser(unittest.TestCase): def setUp(self): ''' Set up method to run before each test cases. ''' self.new_user = User("Dre" , "matongome") # create user object ...
22.146067
71
0.574328
239
1,971
4.531381
0.305439
0.058172
0.091413
0.055402
0.32133
0.266851
0.266851
0.266851
0.23361
0.170822
0
0.005243
0.322679
1,971
88
72
22.397727
0.805993
0
0
0.375
0
0
0.052671
0
0
0
0
0
0.1875
0
null
null
0.125
0.0625
null
null
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
1
0
0
1
0
0
0
0
0
2
676e28aa5927ab380d06131a51de3ef73b73bcb6
1,883
py
Python
src/types/foliage.py
DONG-Jason/chia-blockchain
27b28d62f6b315e45bc00231e007c775f07a414a
[ "Apache-2.0" ]
null
null
null
src/types/foliage.py
DONG-Jason/chia-blockchain
27b28d62f6b315e45bc00231e007c775f07a414a
[ "Apache-2.0" ]
null
null
null
src/types/foliage.py
DONG-Jason/chia-blockchain
27b28d62f6b315e45bc00231e007c775f07a414a
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from typing import List, Optional from blspy import G2Element from src.types.sized_bytes import bytes32 from src.util.ints import uint64, uint32 from src.util.streamable import Streamable, streamable from src.types.pool_target import PoolTarget from src.types.coin import Coin @datac...
31.915254
96
0.783324
245
1,883
5.861224
0.4
0.053621
0.052925
0.08078
0.22702
0.179666
0.126741
0.126741
0.126741
0
0
0.028717
0.167817
1,883
58
97
32.465517
0.887683
0.236856
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
676e65feaf2864ffed4fedf2637476768d7139cb
390
py
Python
skeleton/urls.py
ferranverdes/rp-django-project-skeleton
39cf8478e7d030bda5a5e5528f2852ce0f9d67a9
[ "MIT" ]
1
2020-03-15T18:48:11.000Z
2020-03-15T18:48:11.000Z
skeleton/urls.py
ferranverdes/rp-django-project-skeleton
39cf8478e7d030bda5a5e5528f2852ce0f9d67a9
[ "MIT" ]
null
null
null
skeleton/urls.py
ferranverdes/rp-django-project-skeleton
39cf8478e7d030bda5a5e5528f2852ce0f9d67a9
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static from rest_framework.authtoken.views import obtain_auth_token urlpatterns = [ path('admin/', admin.site.urls), path('token-auth/', obtain_auth_token, name='token_auth')...
35.454545
67
0.797436
56
390
5.392857
0.428571
0.13245
0.092715
0
0
0
0
0
0
0
0
0
0.1
390
10
68
39
0.860399
0
0
0
0
0
0.069231
0
0
0
0
0
0
1
0
false
0
0.555556
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6777670f18e7dd3da3391d572ea9151cfa416ada
933
py
Python
src/backend/common/queries/robot_query.py
bovlb/the-blue-alliance
29389649d96fe060688f218d463e642dcebfd6cc
[ "MIT" ]
null
null
null
src/backend/common/queries/robot_query.py
bovlb/the-blue-alliance
29389649d96fe060688f218d463e642dcebfd6cc
[ "MIT" ]
219
2018-11-02T11:17:28.000Z
2022-03-31T21:51:09.000Z
src/backend/common/queries/robot_query.py
bovlb/the-blue-alliance
29389649d96fe060688f218d463e642dcebfd6cc
[ "MIT" ]
null
null
null
from typing import Any, Generator, List from google.appengine.ext import ndb from backend.common.models.keys import TeamKey from backend.common.models.robot import Robot from backend.common.models.team import Team from backend.common.queries.database_query import CachedDatabaseQuery from backend.common.queries.dict_c...
33.321429
87
0.764202
121
933
5.661157
0.380165
0.09635
0.148905
0.10073
0
0
0
0
0
0
0
0.001255
0.145766
933
27
88
34.555556
0.858218
0
0
0
0
0
0.02358
0.02358
0
0
0
0
0
1
0.095238
false
0
0.380952
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
678934d895757b9812e0ab9cecd27453fafadf2d
388
py
Python
tests/docstrings.py
hyunchel/mochart
e3b318ef603031ce9ef0fdd4ea973b34ce74d184
[ "MIT" ]
4
2019-01-31T06:18:40.000Z
2020-06-06T19:11:23.000Z
tests/docstrings.py
hyunchel/mochart
e3b318ef603031ce9ef0fdd4ea973b34ce74d184
[ "MIT" ]
null
null
null
tests/docstrings.py
hyunchel/mochart
e3b318ef603031ce9ef0fdd4ea973b34ce74d184
[ "MIT" ]
null
null
null
"""Run tests on documentation tests(doctest). Currently setup this way b/c pytest does not support "load_tests" protocol. """ import unittest import doctest import mochart.utils def load_tests(loader, tests, ignore): """Load doctests as unit test suite.""" tests.addTests(doctest.DocTestSuite(mochart.utils)...
19.4
75
0.729381
51
388
5.352941
0.686275
0.065934
0
0
0
0
0
0
0
0
0
0
0.164948
388
19
76
20.421053
0.842593
0.39433
0
0
0
0
0.035874
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
67a613e2dc07b9bb3cd3691cee0ed10c0388cb89
1,726
py
Python
magenta/common/tf_lib.py
danabo/magenta
291521df5541f11d389fb9aef4c9b0c22064d1a3
[ "Apache-2.0" ]
4
2016-09-07T03:39:41.000Z
2021-06-03T18:53:43.000Z
magenta/common/tf_lib.py
danabo/magenta
291521df5541f11d389fb9aef4c9b0c22064d1a3
[ "Apache-2.0" ]
null
null
null
magenta/common/tf_lib.py
danabo/magenta
291521df5541f11d389fb9aef4c9b0c22064d1a3
[ "Apache-2.0" ]
3
2016-08-03T13:53:32.000Z
2016-08-06T00:08:42.000Z
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
33.843137
76
0.738123
243
1,726
5.144033
0.522634
0.048
0.0208
0.0256
0
0
0
0
0
0
0
0.016073
0.170915
1,726
50
77
34.52
0.857442
0.719583
0
0
0
0
0.016588
0
0
0
0
0
0
1
0.416667
false
0
0.083333
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
67aa90ccdbb39ff09d90a5e1a061e711e3b4c530
68
py
Python
cwrouter/__init__.py
t-mart/cwrouter
7d0a5907afd93c5847e7dbd80b9309cb50c3fd77
[ "MIT" ]
3
2015-12-30T04:11:29.000Z
2020-02-20T07:57:32.000Z
cwrouter/__init__.py
t-mart/cwrouter
7d0a5907afd93c5847e7dbd80b9309cb50c3fd77
[ "MIT" ]
null
null
null
cwrouter/__init__.py
t-mart/cwrouter
7d0a5907afd93c5847e7dbd80b9309cb50c3fd77
[ "MIT" ]
null
null
null
__author__ = "Tim Martin" __version__ = "1.3.0" __license__ = "MIT"
17
25
0.691176
9
68
3.888889
1
0
0
0
0
0
0
0
0
0
0
0.051724
0.147059
68
3
26
22.666667
0.551724
0
0
0
0
0
0.264706
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
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
2
67ab8681787575ceb510c757b407af173e428376
2,901
py
Python
DataStructures/Stack/Stack.py
chrisphil335/structlinks
61aee24ec15c7caab9ce99e1f97ce30e7f21157c
[ "MIT" ]
9
2021-04-09T21:20:46.000Z
2022-03-25T12:14:43.000Z
DataStructures/Stack/Stack.py
chrisphil335/structlinks
61aee24ec15c7caab9ce99e1f97ce30e7f21157c
[ "MIT" ]
19
2021-03-22T07:52:39.000Z
2021-04-07T20:04:05.000Z
DataStructures/Stack/Stack.py
chrisphil335/structlinks
61aee24ec15c7caab9ce99e1f97ce30e7f21157c
[ "MIT" ]
7
2021-04-10T21:08:12.000Z
2022-03-20T12:55:23.000Z
""" This is an implementation of the stack data structure, with code pulled from the University of Toronto's CSC110 course notes. """ from __future__ import annotations from typing import Any, Optional, Callable, Sequence class Stack: """ This class represents a stack data structure """ def __init__(...
26.614679
83
0.567046
367
2,901
4.343324
0.275204
0.090339
0.050188
0.040151
0.162484
0.111669
0.08532
0.08532
0.08532
0.08532
0
0.004539
0.316443
2,901
108
84
26.861111
0.799294
0.256808
0
0.08
0
0
0.035895
0
0.04
0
0
0
0
1
0.32
false
0
0.04
0.02
0.62
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
67ae52f959e74b28be6651dc8747a5466a694715
1,742
py
Python
netmiko/cloudgenix/cloudgenix_ion.py
surfgreen/asyncKo
0a8e983d8fd517f864f5d5c69bb94d0058982c27
[ "MIT" ]
null
null
null
netmiko/cloudgenix/cloudgenix_ion.py
surfgreen/asyncKo
0a8e983d8fd517f864f5d5c69bb94d0058982c27
[ "MIT" ]
null
null
null
netmiko/cloudgenix/cloudgenix_ion.py
surfgreen/asyncKo
0a8e983d8fd517f864f5d5c69bb94d0058982c27
[ "MIT" ]
null
null
null
from netmiko.cisco_base_connection import CiscoSSHConnection class CloudGenixIonSSH(CiscoSSHConnection): def establish_connection(self): super().establish_connection(width=100, height=1000) def session_preparation(self, *args, **kwargs): """Prepare the session after the connection has been es...
34.84
99
0.673938
213
1,742
5.29108
0.408451
0.079858
0.049689
0.055901
0.130435
0.130435
0.130435
0.130435
0.130435
0.130435
0
0.007446
0.229047
1,742
49
100
35.55102
0.83172
0.198048
0
0.096774
0
0
0
0
0
0
0
0
0
1
0.290323
false
0.032258
0.032258
0.032258
0.580645
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
67b14f9f4aa7c3d59dffa37f0e03be9f365b4af3
716
py
Python
webServer_Depricated/webServer/views.py
alligladfelder/mercury2020
37445a09528a873f828374b77ef50e9cd10d7be4
[ "Apache-2.0" ]
1
2021-04-05T01:47:54.000Z
2021-04-05T01:47:54.000Z
webServer_Depricated/webServer/views.py
alligladfelder/mercury2020
37445a09528a873f828374b77ef50e9cd10d7be4
[ "Apache-2.0" ]
10
2021-02-03T00:49:56.000Z
2021-04-16T20:57:58.000Z
webServer_Depricated/webServer/views.py
alligladfelder/mercury2020
37445a09528a873f828374b77ef50e9cd10d7be4
[ "Apache-2.0" ]
2
2019-09-26T23:54:58.000Z
2020-10-30T00:35:00.000Z
from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt from . import models import json controllerInfo = models.ControllerInformation() @csrf_exempt def c_index(request): return HttpResponse("Default index.\n" + str(controllerInfo)) @csrf_exempt def c_updateController(request):...
31.130435
85
0.731844
82
716
6.304878
0.45122
0.077369
0.075435
0.081238
0
0
0
0
0
0
0
0.01495
0.159218
716
23
86
31.130435
0.843854
0
0
0.157895
0
0
0.050209
0
0
0
0
0
0
1
0.157895
false
0
0.210526
0.105263
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
67ba31ea7550213e6cabda3ce3c0f480011c2e0d
106
py
Python
earthquakeclassifier/__init__.py
ajcobo/earthquakeclassifier
730716d67b563c04c6d9b2b61e90bb7cff6438cb
[ "0BSD" ]
null
null
null
earthquakeclassifier/__init__.py
ajcobo/earthquakeclassifier
730716d67b563c04c6d9b2b61e90bb7cff6438cb
[ "0BSD" ]
null
null
null
earthquakeclassifier/__init__.py
ajcobo/earthquakeclassifier
730716d67b563c04c6d9b2b61e90bb7cff6438cb
[ "0BSD" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'Alfredo Cobo' __email__ = 'ajscobo@gmail.com' __version__ = '0.1.0'
21.2
31
0.650943
14
106
4.071429
0.928571
0
0
0
0
0
0
0
0
0
0
0.043956
0.141509
106
5
32
21.2
0.582418
0.198113
0
0
0
0
0.404762
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
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
2
67c1dc0011bb4f9f08d5185e97b7a6a290b0e1f7
285
py
Python
sso/verification/tests/factories.py
uktrade/sso
f4fb527cfe12955c079251031261f2407956bad3
[ "MIT" ]
1
2017-06-02T09:09:02.000Z
2017-06-02T09:09:02.000Z
sso/verification/tests/factories.py
uktrade/sso
f4fb527cfe12955c079251031261f2407956bad3
[ "MIT" ]
372
2016-10-25T17:10:18.000Z
2022-03-30T14:53:55.000Z
sso/verification/tests/factories.py
uktrade/sso
f4fb527cfe12955c079251031261f2407956bad3
[ "MIT" ]
3
2016-11-10T17:13:39.000Z
2019-12-06T16:54:46.000Z
import factory.fuzzy from sso.user.tests.factories import UserFactory from sso.verification.models import VerificationCode class VerificationCodeFactory(factory.django.DjangoModelFactory): user = factory.SubFactory(UserFactory) class Meta: model = VerificationCode
23.75
65
0.8
29
285
7.862069
0.655172
0.061404
0
0
0
0
0
0
0
0
0
0
0.140351
285
11
66
25.909091
0.930612
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
67dd4a6b32959b39168db15a89c2ec4044e42183
734
py
Python
django_sourcebook/sourcebook/migrations/0034_auto_20200217_1318.py
maxblee/django_sourcebook
f90ca62cfe43c875a485f783ca1a06be40d9bbc5
[ "MIT" ]
null
null
null
django_sourcebook/sourcebook/migrations/0034_auto_20200217_1318.py
maxblee/django_sourcebook
f90ca62cfe43c875a485f783ca1a06be40d9bbc5
[ "MIT" ]
null
null
null
django_sourcebook/sourcebook/migrations/0034_auto_20200217_1318.py
maxblee/django_sourcebook
f90ca62cfe43c875a485f783ca1a06be40d9bbc5
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-02-17 18:18 import django.contrib.postgres.search from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("sourcebook", "0033_auto_20200217_1317"), ] operations = [ migrations.AlterField( model_name="entit...
25.310345
67
0.584469
69
734
6.115942
0.550725
0.092417
0.149289
0.191943
0.407583
0.407583
0.407583
0.407583
0.407583
0.407583
0
0.06163
0.314714
734
28
68
26.214286
0.777336
0.061308
0
0.545455
1
0
0.103348
0.033479
0
0
0
0
0
1
0
false
0
0.090909
0
0.227273
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
0
0
0
0
0
0
0
0
0
0
2
67e727b05fba094f2ece76d51cc58a502f76407c
171
py
Python
tuple_to_string.py
wfehrnstrom/harmonize
e5661d24b2021739e8ac4bf1d3a530eda4e155b3
[ "MIT" ]
null
null
null
tuple_to_string.py
wfehrnstrom/harmonize
e5661d24b2021739e8ac4bf1d3a530eda4e155b3
[ "MIT" ]
null
null
null
tuple_to_string.py
wfehrnstrom/harmonize
e5661d24b2021739e8ac4bf1d3a530eda4e155b3
[ "MIT" ]
null
null
null
def tuple_to_string(tuple): string = '' for i in range(0, len(tuple)): num = tuple[i] char = chr(num) string += str(char) return string
24.428571
34
0.54386
24
171
3.791667
0.625
0
0
0
0
0
0
0
0
0
0
0.008696
0.327485
171
7
35
24.428571
0.782609
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
67e8507cea84a5e3d18e17dc1e575fd793268ecc
3,538
py
Python
Examples/Example_Token Usage.py
jmhbnz/CherwellAPI
623d2ff22cdf24e5c90c6b5904da7c66141e9cb2
[ "MIT" ]
13
2020-02-20T01:50:16.000Z
2022-03-01T12:16:03.000Z
Examples/Example_Token Usage.py
courtneycw/CherwellAPI
1a5cd02086edb603c02a5c8a70bed0c60ad0b3ee
[ "MIT" ]
3
2020-02-20T00:23:10.000Z
2020-12-08T01:43:22.000Z
Examples/Example_Token Usage.py
courtneycw/CherwellAPI
1a5cd02086edb603c02a5c8a70bed0c60ad0b3ee
[ "MIT" ]
8
2019-06-19T02:20:31.000Z
2022-03-01T12:18:27.000Z
from __future__ import print_function from CherwellAPI import CherwellClient import pickle import time ######################################################################################### # This example demonstrates the use of the REST API token that's retrieved from the Cherwell # Server. The token contains a be...
49.830986
123
0.713397
492
3,538
5.010163
0.29065
0.11359
0.100203
0.081136
0.396349
0.330629
0.324949
0.282759
0.282759
0.282759
0
0.000641
0.118711
3,538
70
124
50.542857
0.789929
0.342849
0
0.193548
0
0
0.324816
0
0
0
0
0
0
1
0
false
0.096774
0.129032
0
0.129032
0.580645
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
2
67ee4b8e7b3dff1bd4664ba33a4b99e0dd3af7d1
673
py
Python
model.py
zigaLuksic/glitch-doctor
85ae7bfec15e0a0c564f31669c3d9f04a76aa159
[ "MIT" ]
null
null
null
model.py
zigaLuksic/glitch-doctor
85ae7bfec15e0a0c564f31669c3d9f04a76aa159
[ "MIT" ]
null
null
null
model.py
zigaLuksic/glitch-doctor
85ae7bfec15e0a0c564f31669c3d9f04a76aa159
[ "MIT" ]
null
null
null
import numpy as np class Model(): """ The true model of the function. All methods and attributes that start with '_' should be treated as private. """ def __init__(self, kwargs): self._dimension = kwargs.get("dimension", 1) self._function = kwargs.get("function", lambda x: 0)...
24.035714
71
0.6211
83
673
4.891566
0.566265
0.064039
0
0
0
0
0
0
0
0
0
0.004124
0.279346
673
27
72
24.925926
0.83299
0.298663
0
0.153846
0
0
0.03908
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0.076923
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
67fa1b0c1c6f57ba213ed751df71144897df9aab
46,461
py
Python
generated/python/proto-google-cloud-error-reporting-v1beta1/google/cloud/proto/devtools/clouderrorreporting/v1beta1/error_stats_service_pb2.py
landrito/api-client-staging
140c312c9335af160efce5b37842c995308e0148
[ "BSD-3-Clause" ]
18
2016-12-08T20:47:57.000Z
2022-01-29T19:36:04.000Z
generated/python/proto-google-cloud-error-reporting-v1beta1/google/cloud/proto/devtools/clouderrorreporting/v1beta1/error_stats_service_pb2.py
landrito/api-client-staging
140c312c9335af160efce5b37842c995308e0148
[ "BSD-3-Clause" ]
252
2016-09-21T20:51:36.000Z
2021-03-25T23:02:36.000Z
generated/python/proto-google-cloud-error-reporting-v1beta1/google/cloud/proto/devtools/clouderrorreporting/v1beta1/error_stats_service_pb2.py
landrito/api-client-staging
140c312c9335af160efce5b37842c995308e0148
[ "BSD-3-Clause" ]
37
2016-09-19T21:13:16.000Z
2022-01-29T19:36:07.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/proto/devtools/clouderrorreporting/v1beta1/error_stats_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import...
48.803571
5,113
0.774456
5,438
46,461
6.349945
0.084038
0.033361
0.118155
0.119313
0.721323
0.672063
0.64012
0.544004
0.494512
0.473024
0
0.039102
0.116549
46,461
951
5,114
48.85489
0.802173
0.062891
0
0.58802
1
0.002445
0.307453
0.264323
0
0
0
0
0
1
0.015892
false
0.001222
0.020782
0
0.04401
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
0
0
0
0
0
2
67fc487b8edbfe716e93bdd223abc0bc5c80c007
526
py
Python
drive/users/viewsets.py
amirasaad/drive
6c8692884d16544b2713071cb652458af1af95c7
[ "MIT" ]
null
null
null
drive/users/viewsets.py
amirasaad/drive
6c8692884d16544b2713071cb652458af1af95c7
[ "MIT" ]
null
null
null
drive/users/viewsets.py
amirasaad/drive
6c8692884d16544b2713071cb652458af1af95c7
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from rest_framework import mixins from rest_framework.viewsets import GenericViewSet from drive.users.permissions import IsAuthenticatedOrCreate from drive.users.serializers import UserSerializer User = get_user_model() class UsersViewSet( GenericViewSet, ...
23.909091
59
0.769962
56
526
7.089286
0.589286
0.035264
0.060453
0
0
0
0
0
0
0
0
0
0.171103
526
21
60
25.047619
0.91055
0.058935
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
db04db58bbcfbd35502936676edde32c7cebe8ad
2,447
py
Python
listings/models.py
leejunweisg/NTUtor
1789ed0eb9446991e73459fb225c0998ed0803b3
[ "MIT" ]
null
null
null
listings/models.py
leejunweisg/NTUtor
1789ed0eb9446991e73459fb225c0998ed0803b3
[ "MIT" ]
null
null
null
listings/models.py
leejunweisg/NTUtor
1789ed0eb9446991e73459fb225c0998ed0803b3
[ "MIT" ]
null
null
null
from django.db import models from users.models import Profile from django.urls import reverse class Module(models.Model): #Django cannot have composite primary keys, thus, using auto increment for pri key moduleID = models.AutoField(primary_key = True) moduleCode = models.CharField(max_length=20, unique=T...
37.075758
114
0.724152
313
2,447
5.543131
0.408946
0.055331
0.048415
0.048991
0.269164
0.21902
0.185591
0.14755
0.12219
0.12219
0
0.006979
0.180221
2,447
65
115
37.646154
0.857926
0.270127
0
0.085714
0
0
0.098592
0.012958
0
0
0
0
0
1
0.114286
false
0
0.085714
0.114286
0.914286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
db0a83a0d737fc15f97c63ae0e974890debc75ad
177
py
Python
oracle_util/config.py
patriciabonaldy/flask-api
018ee778497ecf2c368073444715010f7ba8b9d5
[ "Apache-2.0" ]
null
null
null
oracle_util/config.py
patriciabonaldy/flask-api
018ee778497ecf2c368073444715010f7ba8b9d5
[ "Apache-2.0" ]
1
2021-06-02T01:04:23.000Z
2021-06-02T01:04:23.000Z
oracle_util/config.py
patriciabonaldy/flask-api
018ee778497ecf2c368073444715010f7ba8b9d5
[ "Apache-2.0" ]
null
null
null
'#La nomenclatura utilizada es INSTANCIA_ESQUEMA_PWD' FISCO_USER = 'FISCAR' FISCO_FISCAR_PWD = 'FISCAR' '#String de conexion ' FISCO_CONNECTION_STRING = '10.30.205.127/fisco'
22.125
53
0.779661
25
177
5.24
0.72
0
0
0
0
0
0
0
0
0
0
0.063694
0.112994
177
7
54
25.285714
0.770701
0.288136
0
0
0
0
0.579545
0.119318
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
db1451b9ea95375c875ffccec0e4f9574ec29f09
31,322
py
Python
kernel/protobuf/generated/boosting_tree_model_param_pb2.py
rinceyuan/WeFe
8482cb737cb7ba37b2856d184cd42c1bd35a6318
[ "Apache-2.0" ]
39
2021-10-12T01:43:27.000Z
2022-03-28T04:46:35.000Z
kernel/protobuf/generated/boosting_tree_model_param_pb2.py
rinceyuan/WeFe
8482cb737cb7ba37b2856d184cd42c1bd35a6318
[ "Apache-2.0" ]
6
2021-10-14T02:11:47.000Z
2022-03-23T02:41:50.000Z
kernel/protobuf/generated/boosting_tree_model_param_pb2.py
rinceyuan/WeFe
8482cb737cb7ba37b2856d184cd42c1bd35a6318
[ "Apache-2.0" ]
10
2021-10-14T09:36:03.000Z
2022-02-10T11:05:12.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: boosting-tree-model-param.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_dat...
52.908784
2,599
0.684663
3,423
31,322
6.006719
0.070698
0.048636
0.037352
0.049803
0.725548
0.689072
0.684986
0.678518
0.655659
0.59856
0
0.037601
0.206947
31,322
591
2,600
52.998308
0.790137
0.033235
0
0.67446
1
0.001799
0.241881
0.217266
0
0
0
0
0
1
0
false
0
0.03777
0
0.03777
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
0
0
0
0
0
2
db1a15a7f53e1efa303ad44cadc657bb1d8c59c7
110
py
Python
datacleaner/__init__.py
aptivate/datacleaner
46fbbe593d46f7161f0c7c9ab2a492a87c03c55e
[ "BSD-3-Clause" ]
null
null
null
datacleaner/__init__.py
aptivate/datacleaner
46fbbe593d46f7161f0c7c9ab2a492a87c03c55e
[ "BSD-3-Clause" ]
null
null
null
datacleaner/__init__.py
aptivate/datacleaner
46fbbe593d46f7161f0c7c9ab2a492a87c03c55e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'Hamish Downer' __email__ = 'hamish@aptivate.org' __version__ = '0.1.0'
18.333333
33
0.654545
14
110
4.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0.042553
0.145455
110
5
34
22
0.595745
0.190909
0
0
0
0
0.425287
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
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
2
db1e1b7a3b40ece957af79ae255182d386edecce
1,962
gyp
Python
binding.gyp
tarachandverma/node-switch
40702defe65d8fbc62842d1fabc595dbae108400
[ "MIT" ]
null
null
null
binding.gyp
tarachandverma/node-switch
40702defe65d8fbc62842d1fabc595dbae108400
[ "MIT" ]
null
null
null
binding.gyp
tarachandverma/node-switch
40702defe65d8fbc62842d1fabc595dbae108400
[ "MIT" ]
null
null
null
{ "targets": [ { "target_name": "switch_bindings", "sources": [ "src/switch_bindings.cpp", "src/log-utils/logging.c", "src/log-utils/log_core.c", "src/common-utils/common_utils.c", "src/shm_core/shm_dup.c", "src/shm_core/shm_data.c", "src/shm_core/shm_mutex.c...
28.852941
80
0.525484
236
1,962
4.139831
0.338983
0.09826
0.061412
0.056295
0.262027
0.151484
0.151484
0.094166
0.094166
0
0
0.008493
0.279817
1,962
67
81
29.283582
0.682944
0
0
0.029851
0
0
0.611621
0.320082
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
db1e5a259a8dfd696926cef6237418e8dab7e73f
6,275
py
Python
iconservice/base/exception.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
52
2018-08-24T02:28:43.000Z
2021-07-06T04:44:22.000Z
iconservice/base/exception.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
62
2018-09-17T06:59:16.000Z
2021-12-15T06:02:51.000Z
iconservice/base/exception.py
bayeshack2016/icon-service
36cab484d2e41548d7f2f74526f127ee3a4423fc
[ "Apache-2.0" ]
35
2018-09-14T02:42:10.000Z
2022-02-05T10:34:46.000Z
# -*- coding: utf-8 -*- # Copyright 2018 ICON Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
31.852792
94
0.740398
656
6,275
6.695122
0.286585
0.065118
0.057605
0.094262
0.449681
0.449681
0.436475
0.436475
0.436475
0.436475
0
0.007695
0.171633
6,275
196
95
32.015306
0.837245
0.136733
0
0.282051
0
0
0.011863
0
0
0
0
0
0
1
0.230769
false
0.017094
0.017094
0.034188
0.675214
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
db1e998be6fb5f911e6697e9619539ac99a4077d
701
py
Python
examples/restAPI/my_project/app/serializers.py
emilioag/django_rest_coreapi_schema
9b95f01311f0ba3f936762ba19c96c8a94f1f91f
[ "MIT" ]
null
null
null
examples/restAPI/my_project/app/serializers.py
emilioag/django_rest_coreapi_schema
9b95f01311f0ba3f936762ba19c96c8a94f1f91f
[ "MIT" ]
3
2020-06-05T16:39:19.000Z
2021-06-10T18:06:23.000Z
examples/restAPI/my_project/app/serializers.py
emilioag/django_rest_coreapi_schema
9b95f01311f0ba3f936762ba19c96c8a94f1f91f
[ "MIT" ]
null
null
null
from rest_framework import serializers class UserSerializer(serializers.Serializer): email = serializers.CharField( required=False, help_text="User email") address = serializers.CharField( required=False, help_text="User address") class FilterSerializer(serializers.Serializer...
26.961538
51
0.670471
65
701
7.138462
0.4
0.086207
0.241379
0.213362
0.282328
0.282328
0.193966
0
0
0
0
0
0.221113
701
26
52
26.961538
0.849817
0
0
0.3
0
0
0.092593
0
0
0
0
0
0
1
0
false
0
0.05
0
0.45
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
db22e0a13d9089161ceaf959b349085221d5695c
4,929
py
Python
oo/carro.py
paolofullone/pythonbirds
ad499f87ad32eac46e960f5b0d379190e4ef1b22
[ "MIT" ]
null
null
null
oo/carro.py
paolofullone/pythonbirds
ad499f87ad32eac46e960f5b0d379190e4ef1b22
[ "MIT" ]
null
null
null
oo/carro.py
paolofullone/pythonbirds
ad499f87ad32eac46e960f5b0d379190e4ef1b22
[ "MIT" ]
null
null
null
""" Você deve criar uma classe carro que vai possuir dois atributos compostos por outras duas classes. Motor Direção O motor terá a responsabilidade de controlar a velocidade. Ele oferece os seguintes atributos: 1 - Atributo de dado Velocidade. 2 - Método acelerar que deverá incrementar a velocidade de uma unidade...
30.425926
123
0.625482
619
4,929
4.864297
0.268174
0.037861
0.046496
0.033212
0.266025
0.217536
0.049485
0
0
0
0
0.006176
0.277338
4,929
161
124
30.614907
0.839135
0.743964
0
0.27027
0
0
0.014528
0
0
0
0
0.031056
0
1
0.351351
false
0
0
0.054054
0.540541
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
db27e06dd5bbad1117b7e854d3d0e7bb4d97505c
389
py
Python
grade/management/commands/gerar_grade.py
clips-tk/gradefisl
86ddcb61fa221de250a6a5515e227cf4a804dbb6
[ "MIT" ]
3
2015-11-11T19:13:58.000Z
2016-05-14T10:38:38.000Z
grade/management/commands/gerar_grade.py
clips-tk/gradefisl
86ddcb61fa221de250a6a5515e227cf4a804dbb6
[ "MIT" ]
null
null
null
grade/management/commands/gerar_grade.py
clips-tk/gradefisl
86ddcb61fa221de250a6a5515e227cf4a804dbb6
[ "MIT" ]
null
null
null
from django.core.management.base import BaseCommand, CommandError from grade.views import gerar_grade class Command(BaseCommand): args = 'no args can be provided' help = 'Generate grids from data dump' def handle(self, *args, **options): self.stdout.write('Started generating grids.') gerar...
35.363636
65
0.709512
48
389
5.708333
0.6875
0.072993
0.109489
0
0
0
0
0
0
0
0
0
0.187661
389
11
66
35.363636
0.867089
0
0
0
1
0
0.271795
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
db2acf9c940b43483f4c864800d05b1497a4712e
595
py
Python
dd_crawler/middleware/autologin.py
TeamHG-Memex/domain-discovery-crawler
171f16a0b18d30e23ae6793b011dcfbad8299240
[ "MIT" ]
16
2017-11-14T10:11:32.000Z
2021-08-07T16:05:14.000Z
dd_crawler/middleware/autologin.py
TeamHG-Memex/domain-discovery-crawler
171f16a0b18d30e23ae6793b011dcfbad8299240
[ "MIT" ]
null
null
null
dd_crawler/middleware/autologin.py
TeamHG-Memex/domain-discovery-crawler
171f16a0b18d30e23ae6793b011dcfbad8299240
[ "MIT" ]
9
2018-06-14T18:37:22.000Z
2021-06-02T02:46:26.000Z
from autologin_middleware import AutologinMiddleware class DDAutologinMiddleware(AutologinMiddleware): def needs_login(self, request, spider): return bool(spider.queue.get_login_credentials(request.url)) def login_request(self, request, spider): creds = spider.queue.get_login_credentials(requ...
39.666667
68
0.705882
64
595
6.375
0.390625
0.095588
0.147059
0.093137
0.196078
0.196078
0.196078
0
0
0
0
0
0.188235
595
14
69
42.5
0.844721
0
0
0
0
0
0.119328
0
0
0
0
0
0
1
0.181818
false
0.090909
0.090909
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
db2d006f8780746ce375a3af1dfe847939777c60
2,327
py
Python
src/envs/core/dummy_environment.py
napnel/UoA-thesis-s1260099
dce954b8795c24dc8fbbacb8b7ebdfe101fc01c6
[ "Apache-2.0" ]
null
null
null
src/envs/core/dummy_environment.py
napnel/UoA-thesis-s1260099
dce954b8795c24dc8fbbacb8b7ebdfe101fc01c6
[ "Apache-2.0" ]
null
null
null
src/envs/core/dummy_environment.py
napnel/UoA-thesis-s1260099
dce954b8795c24dc8fbbacb8b7ebdfe101fc01c6
[ "Apache-2.0" ]
null
null
null
import sys from enum import IntEnum from typing import Callable, Optional, Tuple import gym import numpy as np import pandas as pd class TradingEnv(gym.Env): def __init__( self, data: pd.DataFrame, features: pd.DataFrame, window_size: int, fee: float, reward_func: ...
20.234783
81
0.558229
268
2,327
4.66791
0.298507
0.093525
0.083933
0.08793
0.352518
0.243805
0.205436
0.205436
0.180655
0.180655
0
0.003277
0.34422
2,327
114
82
20.412281
0.816514
0
0
0.516484
0
0
0.004297
0
0
0
0
0
0
1
0.21978
false
0.208791
0.065934
0.010989
0.32967
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2