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
705beae36ec3253d1a051f8253de5f349d87b5a0
160
py
Python
alkh/__init__.py
erez-aharonov/alkh
3b5fc957dcd6d9896a208342fd021e098057e989
[ "Apache-2.0" ]
null
null
null
alkh/__init__.py
erez-aharonov/alkh
3b5fc957dcd6d9896a208342fd021e098057e989
[ "Apache-2.0" ]
null
null
null
alkh/__init__.py
erez-aharonov/alkh
3b5fc957dcd6d9896a208342fd021e098057e989
[ "Apache-2.0" ]
null
null
null
from alkh.dump_data import take_it_offline from alkh.print_utils import print_context version_info = (0, 1, 1) __version__ = '.'.join(map(str, version_info))
22.857143
46
0.775
26
160
4.346154
0.692308
0.141593
0
0
0
0
0
0
0
0
0
0.021277
0.11875
160
6
47
26.666667
0.780142
0
0
0
0
0
0.00625
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
705e315436137d4565031f00db2475dafdf70d91
207
py
Python
Codeforces/A_Point_on_Spiral.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/A_Point_on_Spiral.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/A_Point_on_Spiral.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
x,y=map(int,input().split()) if x==0 and y==0: print(0) elif y<x and y<=1-x: print(-4*y) elif y>1-x and y<=x: print(4*(x-1)+1) elif y>x and y>=-x: print(4*(y-1)+2) else: print(4*(-x-1)+3)
18.818182
28
0.512077
53
207
2
0.301887
0.150943
0.141509
0.169811
0.367925
0.226415
0
0
0
0
0
0.090909
0.202899
207
11
29
18.818182
0.551515
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.454545
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
1
0
3
706173674cbb4b244b9b822d1a0d7a14be88b1ca
590
py
Python
zcrmsdk/src/com/zoho/crm/api/bulk_write/__init__.py
zoho/zohocrm-python-sdk-2.0
3a93eb3b57fed4e08f26bd5b311e101cb2995411
[ "Apache-2.0" ]
null
null
null
zcrmsdk/src/com/zoho/crm/api/bulk_write/__init__.py
zoho/zohocrm-python-sdk-2.0
3a93eb3b57fed4e08f26bd5b311e101cb2995411
[ "Apache-2.0" ]
null
null
null
zcrmsdk/src/com/zoho/crm/api/bulk_write/__init__.py
zoho/zohocrm-python-sdk-2.0
3a93eb3b57fed4e08f26bd5b311e101cb2995411
[ "Apache-2.0" ]
null
null
null
from .request_wrapper import RequestWrapper from .resource import Resource from .bulk_write_operations import BulkWriteOperations, UploadFileHeader from .result import Result from .api_exception import APIException from .action_response import ActionResponse from .response_handler import ResponseHandler from .file impo...
39.333333
72
0.877966
71
590
7.098592
0.464789
0.077381
0.051587
0
0
0
0
0
0
0
0
0
0.09661
590
14
73
42.142857
0.945591
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
70664f5f24f8a5adb591a66980af7bddc06ab645
223
py
Python
packages/PIPS/validation/Rice/loop_private01.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
51
2015-01-31T01:51:39.000Z
2022-02-18T02:01:50.000Z
packages/PIPS/validation/Rice/loop_private01.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
7
2017-05-29T09:29:00.000Z
2019-03-11T16:01:39.000Z
packages/PIPS/validation/Rice/loop_private01.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
12
2015-03-26T08:05:38.000Z
2022-02-18T02:01:51.000Z
from validation import vworkspace import openmp with vworkspace() as w: w.props.memory_effects_only = False w.props.constant_path_effects = False w.fun.loop_private.validate_phases("internalize_parallel_code")
22.3
65
0.793722
31
223
5.451613
0.741935
0.071006
0
0
0
0
0
0
0
0
0
0
0.134529
223
9
66
24.777778
0.875648
0
0
0
0
0
0.112613
0.112613
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
561809a603a853ccd1924eaba1296622789c5aa4
211
py
Python
wisely_project/polls/urls.py
TejasM/wisely
bf00e2ab8633cdb8814589021d19d7cec877bc57
[ "MIT" ]
null
null
null
wisely_project/polls/urls.py
TejasM/wisely
bf00e2ab8633cdb8814589021d19d7cec877bc57
[ "MIT" ]
null
null
null
wisely_project/polls/urls.py
TejasM/wisely
bf00e2ab8633cdb8814589021d19d7cec877bc57
[ "MIT" ]
1
2021-01-24T09:18:39.000Z
2021-01-24T09:18:39.000Z
__author__ = 'Cheng' from django.conf.urls import patterns, url import views urlpatterns = patterns('', url(r'^answer/(?P<question_id>\w+)/$', views.answer_question, name='anspoll'), )
21.1
101
0.635071
25
211
5.12
0.76
0.171875
0
0
0
0
0
0
0
0
0
0
0.203791
211
9
102
23.444444
0.761905
0
0
0
0
0
0.199052
0.14218
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5625e3869165b5790dab1b64f81d078ebd0c7b0f
229
py
Python
tests/test_livingdocs.py
discogs/python-livingdocs
ed75b4d6b4517ba6305f9ee76070d679bbfe7bba
[ "BSD-2-Clause" ]
4
2016-08-22T13:06:51.000Z
2018-03-21T21:13:23.000Z
tests/test_livingdocs.py
discogs/python-livingdocs
ed75b4d6b4517ba6305f9ee76070d679bbfe7bba
[ "BSD-2-Clause" ]
5
2016-10-07T21:24:17.000Z
2016-10-09T16:37:37.000Z
tests/test_livingdocs.py
discogs/python-livingdocs
ed75b4d6b4517ba6305f9ee76070d679bbfe7bba
[ "BSD-2-Clause" ]
5
2016-10-09T05:04:00.000Z
2016-10-09T16:37:04.000Z
#from click.testing import CliRunner #from livingdocs.cli import main # def test_main(): # runner = CliRunner() # result = runner.invoke(main, []) # # assert result.output == '()\n' # assert result.exit_code == 0
17.615385
37
0.646288
28
229
5.214286
0.678571
0.164384
0
0
0
0
0
0
0
0
0
0.005495
0.20524
229
12
38
19.083333
0.796703
0.912664
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
562a68d9550cfad09e414462735fc866baa8c330
364
py
Python
Automate the boring stuff/Chapter_5/Dictonary_type.py
maainul/Paython
c72d7fff3b00bc4f379ca6f9dbef0678f01b55f9
[ "DOC" ]
null
null
null
Automate the boring stuff/Chapter_5/Dictonary_type.py
maainul/Paython
c72d7fff3b00bc4f379ca6f9dbef0678f01b55f9
[ "DOC" ]
null
null
null
Automate the boring stuff/Chapter_5/Dictonary_type.py
maainul/Paython
c72d7fff3b00bc4f379ca6f9dbef0678f01b55f9
[ "DOC" ]
null
null
null
stuff={'rope':1,'torch':6,'gold coin':42,'dagger':1,'arrow':12} #print key from the dictonary for k in stuff.keys(): print(k) #Print value from the dictonary for v in stuff.values(): print(v) # print items from the dictonary for i in stuff.items(): print(i) #seperate value and key for k, v in stuff.ite...
24.266667
63
0.648352
64
364
3.6875
0.4375
0.118644
0.20339
0.241525
0
0
0
0
0
0
0
0.02349
0.181319
364
14
64
26
0.768456
0.304945
0
0
0
0
0.164659
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
562b84f69df78b2e9964151e1f3043d8c82b1275
238
py
Python
src/components/opPicker/onFilterSettingChange.py
t3kt/raytk
e0e2b3643b2f536d597c5db64f02d17f7e8f23ac
[ "CC-BY-4.0" ]
108
2020-11-23T01:22:37.000Z
2022-03-29T09:27:32.000Z
src/components/opPicker/onFilterSettingChange.py
t3kt/raytk
e0e2b3643b2f536d597c5db64f02d17f7e8f23ac
[ "CC-BY-4.0" ]
794
2020-11-21T22:27:37.000Z
2022-03-24T06:41:19.000Z
src/components/opPicker/onFilterSettingChange.py
t3kt/raytk
e0e2b3643b2f536d597c5db64f02d17f7e8f23ac
[ "CC-BY-4.0" ]
3
2021-06-19T00:57:54.000Z
2021-11-01T11:55:07.000Z
# noinspection PyUnreachableCode if False: # noinspection PyUnresolvedReferences from _stubs import * from .opPicker import OpPicker ext.opPicker = OpPicker(COMP()) def onValueChange(par, prev): ext.opPicker.onFilterSettingChange()
23.8
38
0.798319
24
238
7.875
0.666667
0.116402
0
0
0
0
0
0
0
0
0
0
0.121849
238
9
39
26.444444
0.904306
0.277311
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5647cf26c92a47d6f9972f306c8a77aa63bc68b4
3,881
gyp
Python
syzygy/grinder/grinder.gyp
nzeh/syzygy
3573e3d458dbb4285753c28a7cb42ced739f9f55
[ "Apache-2.0" ]
343
2015-01-07T05:58:44.000Z
2022-03-15T14:55:21.000Z
syzygy/grinder/grinder.gyp
nzeh/syzygy-nzeh
3757e53f850644721284073de318e218224dd411
[ "Apache-2.0" ]
61
2015-03-19T18:20:21.000Z
2019-10-23T12:58:23.000Z
syzygy/grinder/grinder.gyp
nzeh/syzygy-nzeh
3757e53f850644721284073de318e218224dd411
[ "Apache-2.0" ]
66
2015-01-20T15:35:05.000Z
2021-11-25T16:49:41.000Z
# Copyright 2012 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 a...
34.345133
74
0.625612
458
3,881
5.043668
0.292576
0.066234
0.051948
0.04329
0.225541
0.153247
0.105628
0.093506
0.049351
0
0
0.003015
0.230868
3,881
112
75
34.651786
0.770854
0.146612
0
0.193878
0
0
0.664039
0.518799
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
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
565d21f01aee96b89d68437f3a756b0e756438f7
258
py
Python
molecule/default/tests/test_default.py
nephelaiio/ansible-role-elastic-repo
c8b6f17463a555cb0ca46af71b011841c3a14bc2
[ "MIT" ]
null
null
null
molecule/default/tests/test_default.py
nephelaiio/ansible-role-elastic-repo
c8b6f17463a555cb0ca46af71b011841c3a14bc2
[ "MIT" ]
null
null
null
molecule/default/tests/test_default.py
nephelaiio/ansible-role-elastic-repo
c8b6f17463a555cb0ca46af71b011841c3a14bc2
[ "MIT" ]
2
2019-06-18T03:29:42.000Z
2021-04-19T13:02:18.000Z
import os import testinfra.utils.ansible_runner testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') def test_package_kibana(host): assert host.package('kibana-oss').is_installed
23.454545
63
0.79845
34
258
5.794118
0.676471
0.142132
0.213198
0.274112
0
0
0
0
0
0
0
0
0.093023
258
10
64
25.8
0.84188
0
0
0
0
0
0.139535
0.089147
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
565f310ef8ba597032d5866addfa1d0013f4ac4d
3,199
py
Python
categories_api/config/settings.py
spanickroon/Categories-API
dc4a3f8e3ba9aa6f836f5d5a8dc3368abc11bac6
[ "MIT" ]
null
null
null
categories_api/config/settings.py
spanickroon/Categories-API
dc4a3f8e3ba9aa6f836f5d5a8dc3368abc11bac6
[ "MIT" ]
1
2021-01-12T10:34:46.000Z
2021-01-12T10:53:08.000Z
categories_api/config/settings.py
spanickroon/Categories-API
dc4a3f8e3ba9aa6f836f5d5a8dc3368abc11bac6
[ "MIT" ]
null
null
null
""" Django settings for categories_api project. Generated by 'django-admin startproject' using Django 3.1.5. """ import os from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for ...
24.234848
91
0.682713
323
3,199
6.597523
0.430341
0.091506
0.045049
0.065697
0.117316
0.092914
0
0
0
0
0
0.0027
0.189434
3,199
131
92
24.419847
0.819128
0.147234
0
0
1
0
0.529867
0.405236
0
0
0
0
0
1
0
false
0.072289
0.024096
0
0.024096
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
5695242cecf6f1ed4bb41e1174b60640ccb8fe71
1,184
py
Python
act/plotting/__init__.py
zssherman/ACT
db87008aa6649d3d21b79ae97ea0f11d7f1f1935
[ "BSD-3-Clause" ]
62
2020-01-13T19:48:49.000Z
2022-03-22T07:56:37.000Z
act/plotting/__init__.py
zssherman/ACT
db87008aa6649d3d21b79ae97ea0f11d7f1f1935
[ "BSD-3-Clause" ]
215
2020-01-07T20:17:11.000Z
2022-03-31T18:49:57.000Z
act/plotting/__init__.py
zssherman/ACT
db87008aa6649d3d21b79ae97ea0f11d7f1f1935
[ "BSD-3-Clause" ]
16
2020-01-13T21:25:55.000Z
2022-03-26T18:01:29.000Z
""" This module contains classes for displaying data. :func:`act.plotting.Display` is the base class on which all other Display classes are inherited from. If you are making a new Display object, please make it inherited from this class. | :func:`act.plotting.ContourDisplay` handles the plotting of contour plots. | :f...
43.851852
83
0.813345
150
1,184
6.413333
0.386667
0.058212
0.12474
0.14553
0
0
0
0
0
0
0
0
0.115709
1,184
26
84
45.538462
0.918816
0.666385
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
56a48ce12c609ebe145e30d01271d5ac873e36ad
209
py
Python
Small Projects/Image Processing/main.py
imran-prog/Python
0f0b89e3240371ae6e2bba30ec81d6e7eff1ac8b
[ "MIT" ]
1
2020-08-12T06:50:04.000Z
2020-08-12T06:50:04.000Z
Small Projects/Image Processing/main.py
imran-prog/Python
0f0b89e3240371ae6e2bba30ec81d6e7eff1ac8b
[ "MIT" ]
null
null
null
Small Projects/Image Processing/main.py
imran-prog/Python
0f0b89e3240371ae6e2bba30ec81d6e7eff1ac8b
[ "MIT" ]
null
null
null
# Image Processing In Pillow import img as img from PIL import Image, ImageFilter img = Image.open("4.4 pikachu.jpg") filter_image = img.convert('L') filter_image.save("blur.png", "png") filter_image.show()
20.9
36
0.741627
34
209
4.470588
0.617647
0.217105
0
0
0
0
0
0
0
0
0
0.010929
0.124402
209
9
37
23.222222
0.819672
0.124402
0
0
0
0
0.149171
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3b24e4a3342d9f3e9f69bad065477893dcdc6148
126
py
Python
version.py
cgtobi/netatmo-api-python
52394669b70f08c9ccb2e874c2377f450de3fd1c
[ "MIT" ]
3
2019-06-25T11:49:07.000Z
2021-02-16T14:31:13.000Z
version.py
cgtobi/netatmo-api-python
52394669b70f08c9ccb2e874c2377f450de3fd1c
[ "MIT" ]
null
null
null
version.py
cgtobi/netatmo-api-python
52394669b70f08c9ccb2e874c2377f450de3fd1c
[ "MIT" ]
null
null
null
MAJOR_VERSION = 4 MINOR_VERSION = 1 PATCH_VERSION = "0.dev0" __version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}.{PATCH_VERSION}"
25.2
64
0.769841
18
126
4.833333
0.5
0.275862
0
0
0
0
0
0
0
0
0
0.035088
0.095238
126
4
65
31.5
0.72807
0
0
0
0
0
0.420635
0.373016
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3b3720d288e15e6b0b2e5b013096fe7fb918b109
2,327
py
Python
CombineDictionaries.py
nathananderson94/EtymologyDict
0630ba403d531d5187ce2a20a7f6a85a2cc5f271
[ "MIT" ]
null
null
null
CombineDictionaries.py
nathananderson94/EtymologyDict
0630ba403d531d5187ce2a20a7f6a85a2cc5f271
[ "MIT" ]
null
null
null
CombineDictionaries.py
nathananderson94/EtymologyDict
0630ba403d531d5187ce2a20a7f6a85a2cc5f271
[ "MIT" ]
null
null
null
wiktionary_fp = 'outputs/WiktionaryOutput_old.csv' def create_data_dict(word, lang, src_lang, src_word='', src_rom='', pos='', relation='', citation=''): return word, lang, src_lang, src_word, src_rom, pos, relation, citation data = [] count = 0 with open(wiktionary_fp, 'r', encoding='utf-8') as f:...
40.12069
121
0.626988
336
2,327
4.16369
0.202381
0.080057
0.080057
0.102931
0.717655
0.717655
0.689778
0.689778
0.689778
0.636883
0
0.004891
0.209282
2,327
57
122
40.824561
0.755435
0.028363
0
0.333333
0
0
0.177727
0.126818
0
0
0
0.017544
0
1
0.025641
false
0
0
0.025641
0.051282
0.025641
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
1
0
0
0
0
0
0
0
0
0
0
3
3b3ff36065863c28aa9cfa713458e62e9da42795
404
py
Python
qt4c/__init__.py
zhangyiming07/QT4C
2d8d60efe0a4ad78a2618c5beeb0c456a63da067
[ "BSD-3-Clause" ]
53
2020-02-20T06:56:03.000Z
2022-03-03T03:09:25.000Z
qt4c/__init__.py
zhangyiming07/QT4C
2d8d60efe0a4ad78a2618c5beeb0c456a63da067
[ "BSD-3-Clause" ]
6
2020-03-03T03:15:53.000Z
2021-01-29T02:24:06.000Z
qt4c/__init__.py
zhangyiming07/QT4C
2d8d60efe0a4ad78a2618c5beeb0c456a63da067
[ "BSD-3-Clause" ]
17
2020-02-26T03:51:41.000Z
2022-03-24T02:23:51.000Z
# -*- coding: utf-8 -*- # # Tencent is pleased to support the open source community by making QT4C available. # Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. # QT4C is licensed under the BSD 3-Clause License, except for the third-party components listed below. # A copy of the BSD ...
40.4
104
0.712871
63
404
4.571429
0.777778
0.041667
0.048611
0.090278
0.138889
0
0
0
0
0
0
0.037152
0.200495
404
9
105
44.888889
0.854489
0.925743
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3b4497ffb4e1de8666f7d20c1cf013d19a166cfe
7,762
py
Python
utils.py
Crazy-Ideas/za2021
d8d85e73fbc8b2fe27a12ad6eacd45005e5c9f45
[ "MIT" ]
null
null
null
utils.py
Crazy-Ideas/za2021
d8d85e73fbc8b2fe27a12ad6eacd45005e5c9f45
[ "MIT" ]
null
null
null
utils.py
Crazy-Ideas/za2021
d8d85e73fbc8b2fe27a12ad6eacd45005e5c9f45
[ "MIT" ]
null
null
null
from typing import Tuple, List, Optional from flask_login import current_user from models import SERIES_TYPES, BYE_SERIES_TYPES, FINAL_SERIES_TYPES, Standing, Series, Match, Player, WINNER, \ DECIDER, INITIAL1, INITIAL2, FINAL class MatchGroup: def __init__(self): self.past_matches: List[MatchPlayer...
38.425743
118
0.686936
1,082
7,762
4.65342
0.123845
0.0429
0.047666
0.034955
0.450844
0.399404
0.335452
0.288977
0.249454
0.214896
0
0.025991
0.216826
7,762
201
119
38.616915
0.80227
0.034527
0
0.201439
0
0
0.027804
0.025531
0
0
0
0
0
1
0.208633
false
0
0.021583
0.107914
0.539568
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3b55052ef9670e4a09579cf7994dc35ace3aba48
284
py
Python
setup.py
youssefsaeed97/yGssBn_distributions_pypi_package
dd10596f67ac5f393686676d67486a1ae53b2bcc
[ "MIT" ]
null
null
null
setup.py
youssefsaeed97/yGssBn_distributions_pypi_package
dd10596f67ac5f393686676d67486a1ae53b2bcc
[ "MIT" ]
null
null
null
setup.py
youssefsaeed97/yGssBn_distributions_pypi_package
dd10596f67ac5f393686676d67486a1ae53b2bcc
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='yGssBn_distributions', version='0.1', description='Gaussian & Binomial distributions', packages=['yGssBn_distributions'], author = 'Youssef Saeed', author_email = 'y0uss3f071997@gmail.com', zip_safe=False)
28.4
54
0.68662
29
284
6.586207
0.827586
0.198953
0
0
0
0
0
0
0
0
0
0.04386
0.197183
284
9
55
31.555556
0.79386
0
0
0
0
0
0.394366
0.080986
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3b5cdc74a009f931c7b6eb60a82e38391f7e86d0
79
py
Python
waterbutler/__init__.py
alexschiller/waterbutler
24014d7705aca3e99a6565fc3b9b4075ec6ec563
[ "Apache-2.0" ]
null
null
null
waterbutler/__init__.py
alexschiller/waterbutler
24014d7705aca3e99a6565fc3b9b4075ec6ec563
[ "Apache-2.0" ]
null
null
null
waterbutler/__init__.py
alexschiller/waterbutler
24014d7705aca3e99a6565fc3b9b4075ec6ec563
[ "Apache-2.0" ]
null
null
null
__version__ = '0.27.1' __import__('pkg_resources').declare_namespace(__name__)
26.333333
55
0.797468
10
79
4.9
1
0
0
0
0
0
0
0
0
0
0
0.053333
0.050633
79
2
56
39.5
0.6
0
0
0
0
0
0.240506
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3b7e0ed059701ee1445746bbb9bbc01d3edb278e
1,091
py
Python
tests/test_scheduler.py
MacHu-GWU/pytq-project
930a94bc5331e62ea40ed1ada7134107eade3258
[ "MIT" ]
null
null
null
tests/test_scheduler.py
MacHu-GWU/pytq-project
930a94bc5331e62ea40ed1ada7134107eade3258
[ "MIT" ]
null
null
null
tests/test_scheduler.py
MacHu-GWU/pytq-project
930a94bc5331e62ea40ed1ada7134107eade3258
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import pytest from pytest import raises, approx from helper import HashAndProcessImplement, validate_schduler_implement from pytq.scheduler import BaseScheduler def test_wrong_implement(): s = BaseScheduler() with raises(Exception): validate_schduler_impl...
21.82
71
0.67736
133
1,091
5.172932
0.43609
0.081395
0.109012
0.075581
0
0
0
0
0
0
0
0.001164
0.212649
1,091
49
72
22.265306
0.799767
0.038497
0
0.064516
0
0
0.020057
0
0
0
0
0
0
1
0.290323
false
0
0.16129
0.129032
0.612903
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3b927e95a2994aa7c42aea4623e03ee2ab9e9ecc
219
py
Python
app/controllers/cursos.py
pedroferronato/curriculos
f76bb8a2abf2c833903af1ef251a1b57126e9d4a
[ "MIT" ]
null
null
null
app/controllers/cursos.py
pedroferronato/curriculos
f76bb8a2abf2c833903af1ef251a1b57126e9d4a
[ "MIT" ]
null
null
null
app/controllers/cursos.py
pedroferronato/curriculos
f76bb8a2abf2c833903af1ef251a1b57126e9d4a
[ "MIT" ]
null
null
null
from flask import render_template from app import app from app.models.tables import Curso @app.route('/cursos') def cursos(): lista = Curso.query.all() return render_template("listar_cursos.html", lista=lista)
24.333333
61
0.753425
32
219
5.0625
0.5625
0.17284
0
0
0
0
0
0
0
0
0
0
0.136986
219
8
62
27.375
0.857143
0
0
0
0
0
0.114155
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3b9f887057cad15f837bdc408436091ffdb686bf
31
py
Python
app/adzerk/__init__.py
Pocket/proxy-server
f7a6d668224dd2b93d0b9b0c41c91744c5b042d3
[ "Apache-2.0" ]
13
2019-11-04T23:55:18.000Z
2021-11-26T07:07:46.000Z
app/adzerk/__init__.py
Pocket/proxy-server
f7a6d668224dd2b93d0b9b0c41c91744c5b042d3
[ "Apache-2.0" ]
12
2020-02-02T10:54:21.000Z
2021-06-10T16:12:55.000Z
app/adzerk/__init__.py
Pocket/proxy-server
f7a6d668224dd2b93d0b9b0c41c91744c5b042d3
[ "Apache-2.0" ]
2
2020-01-15T07:38:24.000Z
2022-01-19T19:55:59.000Z
__all__ = ['api', 'transform']
15.5
30
0.612903
3
31
5
1
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
1
31
31
0.555556
0
0
0
0
0
0.387097
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8e8ee4d7cfe615c10af3b26de2069b96a6dd30a9
255
py
Python
2_intermediate/chapter11/practice/product.py
code4tomorrow/Python
035b6f5d8fd635a16caaff78bcd3f582663dadc3
[ "MIT" ]
4
2021-03-01T00:32:45.000Z
2021-05-21T22:01:52.000Z
2_intermediate/chapter11/practice/product.py
code4tomorrow/Python
035b6f5d8fd635a16caaff78bcd3f582663dadc3
[ "MIT" ]
29
2020-09-12T22:56:04.000Z
2021-09-25T17:08:42.000Z
2_intermediate/chapter11/practice/product.py
code4tomorrow/Python
035b6f5d8fd635a16caaff78bcd3f582663dadc3
[ "MIT" ]
7
2021-02-25T01:50:55.000Z
2022-02-28T00:00:42.000Z
""" Product Write a function that takes a list of numbers as input and returns the product of all the numbers in the list. Use it to print the products of the following sets of numbers: -1, 5, 3, 2, 8 2.5, 3, 0 4, 3, 7, 10 """ # Insert your code here.
15
35
0.694118
52
255
3.403846
0.692308
0.101695
0
0
0
0
0
0
0
0
0
0.070707
0.223529
255
16
36
15.9375
0.823232
0.956863
0
null
0
null
0
0
null
0
0
0.0625
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
1
0
0
0
1
0
0
0
0
0
0
3
8ec9e709346940180ede522f418bca413c1760f5
232
py
Python
datahub/investment/project/proposition/constants.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
6
2019-12-02T16:11:24.000Z
2022-03-18T10:02:02.000Z
datahub/investment/project/proposition/constants.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
1,696
2019-10-31T14:08:37.000Z
2022-03-29T12:35:57.000Z
datahub/investment/project/proposition/constants.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
9
2019-11-22T12:42:03.000Z
2021-09-03T14:25:05.000Z
from django.db import models class PropositionStatus(models.TextChoices): """Proposition statuses.""" ONGOING = ('ongoing', 'Ongoing') ABANDONED = ('abandoned', 'Abandoned') COMPLETED = ('completed', 'Completed')
23.2
44
0.676724
20
232
7.85
0.65
0.178344
0
0
0
0
0
0
0
0
0
0
0.168103
232
9
45
25.777778
0.813472
0.090517
0
0
0
0
0.243902
0
0
0
0
0
0
1
0
false
0
0.2
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
1
0
0
3
8ee61002ae086a2fce5acc0f29d22fa7acbe6575
170
py
Python
output/models/ms_data/datatypes/facets/qname/qname_max_length003_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/datatypes/facets/qname/qname_max_length003_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/datatypes/facets/qname/qname_max_length003_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.datatypes.facets.qname.qname_max_length003_xsd.qname_max_length003 import ( FooType, Test, ) __all__ = [ "FooType", "Test", ]
17
102
0.705882
21
170
5.238095
0.714286
0.145455
0.309091
0
0
0
0
0
0
0
0
0.042857
0.176471
170
9
103
18.888889
0.742857
0
0
0
0
0
0.064706
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8ee84f3c06c8babee6cf725d209c37b2bf249063
225
py
Python
sample_app/app.py
gutoxp/flask-vuejs
86f3eb196d174ccfa3fb62174de83f6101bf91ff
[ "BSD-3-Clause" ]
28
2020-04-01T13:44:08.000Z
2020-07-25T02:34:13.000Z
sample_app/app.py
gutoxp/flask-vuejs
86f3eb196d174ccfa3fb62174de83f6101bf91ff
[ "BSD-3-Clause" ]
13
2020-04-03T23:44:05.000Z
2020-04-08T23:22:41.000Z
sample_app/app.py
gutoxp/flask-vuejs
86f3eb196d174ccfa3fb62174de83f6101bf91ff
[ "BSD-3-Clause" ]
3
2020-04-02T03:56:41.000Z
2020-04-11T21:48:28.000Z
from flask import Flask, render_template from flask_vuejs import Vue def create_app(): app = Flask(__name__) Vue(app) @app.route("/") def form(): return render_template("form.html") return app
16.071429
43
0.653333
30
225
4.633333
0.5
0.129496
0
0
0
0
0
0
0
0
0
0
0.24
225
13
44
17.307692
0.812866
0
0
0
0
0
0.044444
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
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
1
1
0
0
3
8eeb719519e9e389593769e0d7ee78bb03d1ce56
90
py
Python
Python/Desafios/tarefas/exe 24.py
Kaioguilherme1/PythonCodigos
76d078c09f825d5fc81d21ba9cc14793a546847c
[ "MIT" ]
2
2020-05-21T16:02:43.000Z
2020-05-23T17:51:55.000Z
Python/Desafios/tarefas/exe 24.py
Kaioguilherme1/EstudoDeLinguagens
f2acc5fc74178bd33d503de19f817c69959c1690
[ "MIT" ]
null
null
null
Python/Desafios/tarefas/exe 24.py
Kaioguilherme1/EstudoDeLinguagens
f2acc5fc74178bd33d503de19f817c69959c1690
[ "MIT" ]
null
null
null
C = str(input('digite o nome de uma cidade >>>')).strip() print(C[:5].upper() == 'SANTO')
30
57
0.588889
15
90
3.533333
0.933333
0
0
0
0
0
0
0
0
0
0
0.012821
0.133333
90
2
58
45
0.666667
0
0
0
0
0
0.4
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d905430f9acc6774bc1c917cce34ca3e73c3fb4c
264
py
Python
tests/unit/test_create_bbox_extracts.py
nismod/open-gira
be70e1734272d0b8ed60697264e22bf083305faf
[ "MIT" ]
1
2022-02-12T14:37:09.000Z
2022-02-12T14:37:09.000Z
tests/unit/test_create_bbox_extracts.py
nismod/open-gira
be70e1734272d0b8ed60697264e22bf083305faf
[ "MIT" ]
29
2022-01-10T10:02:54.000Z
2022-03-31T17:27:56.000Z
tests/unit/test_create_bbox_extracts.py
nismod/open-gira
be70e1734272d0b8ed60697264e22bf083305faf
[ "MIT" ]
null
null
null
import os import sys import common sys.path.insert(0, os.path.dirname(__file__)) def test_create_bbox_extracts(): common.run_test( 'create_bbox_extracts', 'snakemake results/json/tanzania-mini_extracts.geojson -j1 --keep-target-files' )
20.307692
87
0.723485
36
264
5
0.694444
0.111111
0.155556
0.244444
0
0
0
0
0
0
0
0.009091
0.166667
264
12
88
22
0.809091
0
0
0
0
0
0.367424
0.162879
0
0
0
0
0
1
0.111111
true
0
0.333333
0
0.444444
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
d9103175e6a2da0fc87ade627966b9bc2ec96daa
53
py
Python
cryptoquant/api/okex_tutorial/setting.py
studyquant/StudyQuant
24790634ac320b25361672754558c3797f4fc9e3
[ "Apache-2.0" ]
74
2018-08-10T17:05:57.000Z
2022-03-26T07:06:02.000Z
cryptoquant/api/okex_tutorial/setting.py
ezailwoo/studyquant
24790634ac320b25361672754558c3797f4fc9e3
[ "Apache-2.0" ]
1
2022-03-24T06:42:00.000Z
2022-03-24T06:42:00.000Z
cryptoquant/api/okex_tutorial/setting.py
ezailwoo/studyquant
24790634ac320b25361672754558c3797f4fc9e3
[ "Apache-2.0" ]
18
2020-09-22T09:03:49.000Z
2022-03-31T20:48:54.000Z
api_key = '' secret_key = '' passphrase = ''
6.625
15
0.509434
5
53
5
0.8
0
0
0
0
0
0
0
0
0
0
0
0.320755
53
7
16
7.571429
0.694444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.333333
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
1
0
0
0
0
0
3
d926411b4df1f2da523b0bca090e2575390dad6a
724
py
Python
spira/yevon/aspects/clipper.py
qedalab/spira
32e4d2096e298b9fcc5952abd654312dc232a259
[ "MIT" ]
10
2018-07-13T09:46:21.000Z
2021-06-22T13:34:50.000Z
spira/yevon/aspects/clipper.py
qedalab/spira
32e4d2096e298b9fcc5952abd654312dc232a259
[ "MIT" ]
8
2018-09-09T11:32:40.000Z
2019-10-08T07:47:31.000Z
spira/yevon/aspects/clipper.py
qedalab/spira
32e4d2096e298b9fcc5952abd654312dc232a259
[ "MIT" ]
7
2019-01-17T18:50:17.000Z
2022-01-13T20:27:52.000Z
import numpy as np from spira.yevon.aspects.base import __Aspects__ class __ClipperAspects__(__Aspects__): def __sub__(self, shape): raise Exception("Method __sub__ not implemented in abstract class __ShapeBooleanOpsAspect__") def __and__(self, shape): raise Exception("Method __and__ not...
28.96
101
0.714088
80
724
5.7125
0.375
0.059081
0.091904
0.150985
0.538293
0.347921
0.347921
0
0
0
0
0
0.21547
724
25
102
28.96
0.804577
0
0
0
0
0
0.304828
0.103448
0
0
0
0
0
1
0.4
false
0
0.133333
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d99256be4da838b22cabf7df73e1447049b71f6a
1,800
py
Python
cost.py
SebNickel/deep_learning
3de6767e4c22129b55e7a016d63bc37ceddd6366
[ "MIT" ]
null
null
null
cost.py
SebNickel/deep_learning
3de6767e4c22129b55e7a016d63bc37ceddd6366
[ "MIT" ]
null
null
null
cost.py
SebNickel/deep_learning
3de6767e4c22129b55e7a016d63bc37ceddd6366
[ "MIT" ]
null
null
null
from typing import Callable, List from theano import tensor as T from models import Model, Classifier def zero_one_losses(classifier: Classifier) -> T.TensorVariable: return T.neq(classifier.prediction, classifier.labels) def mean_zero_one_loss(classifier: Classifier) -> T.TensorVariable: return T.mean(ze...
35.294118
126
0.768889
196
1,800
6.857143
0.260204
0.122768
0.14881
0.130208
0.415179
0.360119
0.328869
0.291667
0.291667
0.197917
0
0.000646
0.140556
1,800
51
127
35.294118
0.868132
0
0
0.076923
0
0
0
0
0
0
0
0
0
1
0.269231
false
0
0.115385
0.192308
0.653846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7941597e40e7b431b13c35e58a88b00b669f1c2b
464
py
Python
elasticsearch_django/signals.py
octoenergy/elasticsearch-django
4b24fb8bb5729d950c8d56740f8be0acb336de1c
[ "MIT" ]
87
2016-09-04T06:24:04.000Z
2022-02-01T01:43:47.000Z
elasticsearch_django/signals.py
octoenergy/elasticsearch-django
4b24fb8bb5729d950c8d56740f8be0acb336de1c
[ "MIT" ]
28
2016-12-09T22:48:29.000Z
2021-04-07T11:01:34.000Z
elasticsearch_django/signals.py
octoenergy/elasticsearch-django
4b24fb8bb5729d950c8d56740f8be0acb336de1c
[ "MIT" ]
31
2017-01-30T12:31:47.000Z
2022-02-03T17:22:03.000Z
import django.dispatch # signal fired just before calling model.index_search_document # providing_args=["instance", "index"] pre_index = django.dispatch.Signal() # signal fired just before calling model.update_search_document # providing_args=["instance", "index", "update_fields"] pre_update = django.dispatch.Signal(...
33.142857
63
0.790948
59
464
6
0.322034
0.158192
0.225989
0.177966
0.748588
0.748588
0.542373
0.299435
0.299435
0
0
0
0.096983
464
13
64
35.692308
0.844869
0.672414
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7955cf6935e7cf2ff415457cd8f6ee120151552e
258
py
Python
cats/cats_simus/writefield.py
brunellacarlomagno/CATS
2fb85366dbca81736d75a982156674523632414f
[ "MIT" ]
null
null
null
cats/cats_simus/writefield.py
brunellacarlomagno/CATS
2fb85366dbca81736d75a982156674523632414f
[ "MIT" ]
null
null
null
cats/cats_simus/writefield.py
brunellacarlomagno/CATS
2fb85366dbca81736d75a982156674523632414f
[ "MIT" ]
null
null
null
from astropy.io import fits def writefield(path, filename, field): fits.writeto(path + filename + '_r.fits', field.real, header=None, overwrite=True) fits.writeto(path + filename + '_i.fits', field.imag, header=None, overwrite=True) return
21.5
86
0.70155
35
258
5.114286
0.571429
0.201117
0.167598
0.256983
0
0
0
0
0
0
0
0
0.166667
258
11
87
23.454545
0.832558
0
0
0
0
0
0.054902
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
1
0
0
3
796cd15f4091d4f6fe54827d962e880b3c7f20f8
262
py
Python
PythonExercicios/ex083.py
raulgranja/Python-Course
eaf776ab144923266a4784586f6bdf21911a5235
[ "MIT" ]
null
null
null
PythonExercicios/ex083.py
raulgranja/Python-Course
eaf776ab144923266a4784586f6bdf21911a5235
[ "MIT" ]
null
null
null
PythonExercicios/ex083.py
raulgranja/Python-Course
eaf776ab144923266a4784586f6bdf21911a5235
[ "MIT" ]
null
null
null
e = str(input('Digite a expressão: ')) L = list() for carac in e: if carac in '()': L.append(carac) if L[0] == ')' or L.count('(') != L.count(')') or L[-1] == '(': print('Sua expressão está errada!') else: print('Sua expressão está válida!')
26.2
63
0.541985
40
262
3.55
0.575
0.098592
0.239437
0.295775
0
0
0
0
0
0
0
0.009852
0.225191
262
9
64
29.111111
0.689655
0
0
0
0
0
0.29771
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
79bc3e3782aa1c5c3e1866c8773c51085dd4d241
573
py
Python
tests/__init__.py
NCAR/nctools
76a5361f779fd95793177aa18528c24535001743
[ "MIT" ]
1
2020-08-19T13:12:29.000Z
2020-08-19T13:12:29.000Z
tests/__init__.py
NCAR/nctools
76a5361f779fd95793177aa18528c24535001743
[ "MIT" ]
null
null
null
tests/__init__.py
NCAR/nctools
76a5361f779fd95793177aa18528c24535001743
[ "MIT" ]
null
null
null
import unittest from pyloco.test import TestSuite from .test_ncread import test_classes as task_ncreads from .test_ncdump import test_classes as task_ncdumps from .test_nccalc import test_classes as task_nccalcs from .test_ncplot import test_classes as task_ncplots def nctools_unittest_suite(): loader = unittes...
26.045455
73
0.77836
78
573
5.435897
0.384615
0.075472
0.160377
0.179245
0.216981
0
0
0
0
0
0
0
0.17452
573
21
74
27.285714
0.896406
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.428571
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
79df6e9b331c82785f2d1bd024a58b069c652229
1,904
py
Python
chuckle_bot/ally_message.py
GTOliver/Chucklebot
488ee5476a731ebc89db2ae6d69d7de2fcd76925
[ "Apache-2.0" ]
null
null
null
chuckle_bot/ally_message.py
GTOliver/Chucklebot
488ee5476a731ebc89db2ae6d69d7de2fcd76925
[ "Apache-2.0" ]
null
null
null
chuckle_bot/ally_message.py
GTOliver/Chucklebot
488ee5476a731ebc89db2ae6d69d7de2fcd76925
[ "Apache-2.0" ]
null
null
null
""" AllyMessages are things which are said to allies AllyMessages are said to either all, or certain specific people. This is represented by the "target". Types of message: * <CHAR> SHOULD ATTACK * <CHAR> SHOULD RETREAT * <CHAR> SHOULD WAIT * <CHAR_A> SHOULD SUPPORT <CHAR_B> * <ALL> SHOULD SUPPORT <CHAR_B>...
28.848485
88
0.697479
246
1,904
5.138211
0.235772
0.037975
0.109177
0.028481
0.10443
0.049051
0
0
0
0
0
0
0.205357
1,904
65
89
29.292308
0.835426
0.184874
0
0
0
0
0.02785
0
0
0
0
0
0
1
0.272727
false
0
0
0.181818
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8dc92e2b72bc064349fbda732d5cb32177422ab2
122
py
Python
apps/analisis_correspondencia/apps.py
nickjesus737/MultivariateAnalysis
d2511ff7e2106f0eea7548adbddd0a37e34c7921
[ "MIT" ]
null
null
null
apps/analisis_correspondencia/apps.py
nickjesus737/MultivariateAnalysis
d2511ff7e2106f0eea7548adbddd0a37e34c7921
[ "MIT" ]
null
null
null
apps/analisis_correspondencia/apps.py
nickjesus737/MultivariateAnalysis
d2511ff7e2106f0eea7548adbddd0a37e34c7921
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AnalisisCorrespondenciaConfig(AppConfig): name = 'analisis_correspondencia'
20.333333
47
0.819672
11
122
9
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.122951
122
5
48
24.4
0.925234
0
0
0
0
0
0.196721
0.196721
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8dd568f312ddf33f96e0931dc29855f5c0473849
154
py
Python
framework/network.py
Jincheng-Sun/Kylearn
ba6cd80c97e155d4bb4791b3ae74135bc1365064
[ "Apache-2.0" ]
null
null
null
framework/network.py
Jincheng-Sun/Kylearn
ba6cd80c97e155d4bb4791b3ae74135bc1365064
[ "Apache-2.0" ]
null
null
null
framework/network.py
Jincheng-Sun/Kylearn
ba6cd80c97e155d4bb4791b3ae74135bc1365064
[ "Apache-2.0" ]
3
2019-07-07T06:37:52.000Z
2019-09-10T20:32:34.000Z
from abc import abstractmethod class Network: def __init__(self): pass @abstractmethod def network(self, **kwargs): pass
11.846154
32
0.623377
16
154
5.75
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.305195
154
12
33
12.833333
0.859813
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
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
1
0
1
0
0
0
0
0
3
5c0a5f4626a860f2c5334b4591ceedc0d0098ce4
121
py
Python
brablog/user/urls.py
BruhMano/BraBlog
bf1173d281893fe65fd96e5e5f07bdc4d65095b1
[ "BSD-3-Clause" ]
null
null
null
brablog/user/urls.py
BruhMano/BraBlog
bf1173d281893fe65fd96e5e5f07bdc4d65095b1
[ "BSD-3-Clause" ]
null
null
null
brablog/user/urls.py
BruhMano/BraBlog
bf1173d281893fe65fd96e5e5f07bdc4d65095b1
[ "BSD-3-Clause" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path("<str:name>",views.profile, name="profile") ]
17.285714
52
0.694215
16
121
5.25
0.625
0
0
0
0
0
0
0
0
0
0
0
0.157025
121
7
53
17.285714
0.823529
0
0
0
0
0
0.139344
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5c1b3d6669219b1801674f46e0dbac9e0ef12316
13,693
py
Python
RDS/circle3_central_services/research_manager/src/tests/test_server.py
Sciebo-RDS/Sciebo-RDS
d71cf449ed045a2a7a049e2cb77c99fd5a9195bd
[ "MIT" ]
10
2020-06-24T08:22:24.000Z
2022-01-13T16:17:36.000Z
RDS/circle3_central_services/research_manager/src/tests/test_server.py
Sciebo-RDS/Sciebo-RDS
d71cf449ed045a2a7a049e2cb77c99fd5a9195bd
[ "MIT" ]
78
2020-01-23T14:32:06.000Z
2022-03-07T14:11:16.000Z
RDS/circle3_central_services/research_manager/src/tests/test_server.py
Sciebo-RDS/Sciebo-RDS
d71cf449ed045a2a7a049e2cb77c99fd5a9195bd
[ "MIT" ]
1
2020-06-24T08:33:48.000Z
2020-06-24T08:33:48.000Z
import unittest from lib.EnumStatus import Status def create_app(): from src import bootstrap # creates a test client app = bootstrap(use_default_error=True, testing=True).app # propagate the exceptions to the test client app.config.update({"TESTING": True}) return app class TestProjectServ...
34.491184
108
0.534142
1,321
13,693
5.482967
0.086298
0.078282
0.15477
0.100097
0.783791
0.743338
0.723733
0.693773
0.649455
0.615629
0
0.024594
0.299204
13,693
396
109
34.578283
0.7302
0.018258
0
0.679245
0
0
0.198853
0.048615
0
0
0
0
0.198113
1
0.037736
false
0
0.025157
0
0.069182
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5c2166eaac41bb2837812e85d1228b6e4edf7188
1,043
py
Python
evaluation/hand_calculation/yaku.py
VictorZXY/meowjong
ec71171f7dc2369c55f5e3bd3302cbaa76346561
[ "MIT" ]
null
null
null
evaluation/hand_calculation/yaku.py
VictorZXY/meowjong
ec71171f7dc2369c55f5e3bd3302cbaa76346561
[ "MIT" ]
null
null
null
evaluation/hand_calculation/yaku.py
VictorZXY/meowjong
ec71171f7dc2369c55f5e3bd3302cbaa76346561
[ "MIT" ]
null
null
null
class Yaku: name = None english = None japanese = None chinese = None han_open = None han_closed = None is_yakuman = None def __init__(self): self.set_attributes() def __str__(self): return self.name def __repr__(self): # for calls in array retu...
26.74359
79
0.607862
130
1,043
4.7
0.546154
0.02455
0.03928
0
0
0
0
0
0
0
0
0.005722
0.329818
1,043
38
80
27.447368
0.868383
0.424736
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.277778
false
0
0
0.111111
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5c24820ace57e9f23d742ff397a32e0b4b041616
1,080
py
Python
s3/common.py
alexwlchan/aws_scripts
3cd32e4dd7f2d10053e264260850551a042ee4fd
[ "MIT" ]
3
2020-04-01T02:07:25.000Z
2021-03-25T22:54:23.000Z
s3/common.py
alexwlchan/aws_scripts
3cd32e4dd7f2d10053e264260850551a042ee4fd
[ "MIT" ]
1
2019-03-07T08:41:49.000Z
2019-03-07T08:41:49.000Z
s3/common.py
alexwlchan/aws_scripts
3cd32e4dd7f2d10053e264260850551a042ee4fd
[ "MIT" ]
1
2020-03-01T18:53:44.000Z
2020-03-01T18:53:44.000Z
#!/usr/bin/env python def get_objects(s3_client, *, bucket, prefix): """ Generates every object in an S3 bucket. """ paginator = s3_client.get_paginator("list_objects_v2") for page in paginator.paginate(Bucket=bucket, Prefix=prefix): yield from page["Contents"] def get_object_versions(s3...
26.341463
65
0.648148
133
1,080
5.090226
0.345865
0.094535
0.062038
0.059084
0.398818
0.398818
0.298375
0.298375
0.298375
0.150665
0
0.013431
0.241667
1,080
40
66
27
0.813187
0.185185
0
0.111111
1
0
0.102564
0
0
0
0
0
0
1
0.222222
false
0.055556
0
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
5c2ef431e1b92589f9d9bab0460d58468127ff01
11,835
py
Python
uss/lm_subvocab.py
cronopioelectronico/Unsupervised-Sentence-Summarization
11061d0f111ea0a6fdfeaa14b1405c0078fbb5ab
[ "MIT" ]
47
2019-08-05T13:43:36.000Z
2022-01-11T01:49:25.000Z
uss/lm_subvocab.py
cronopioelectronico/Unsupervised-Sentence-Summarization
11061d0f111ea0a6fdfeaa14b1405c0078fbb5ab
[ "MIT" ]
4
2019-07-29T06:36:18.000Z
2022-01-06T03:00:54.000Z
uss/lm_subvocab.py
cronopioelectronico/Unsupervised-Sentence-Summarization
11061d0f111ea0a6fdfeaa14b1405c0078fbb5ab
[ "MIT" ]
9
2019-06-21T12:30:29.000Z
2021-04-14T11:30:42.000Z
import torch def prob_next(LMModel, vocab, text, hn=None, subvocab=None, clustermask=None, onscore=False, renorm=False): """ Output the probability distribution for the next word based on a pretrained LM, given the previous text. If 'subvocab' is not None, the distribution is restricted on the specified s...
48.306122
141
0.667596
1,548
11,835
5.049096
0.142765
0.046571
0.030706
0.024565
0.785312
0.759084
0.725307
0.670803
0.659545
0.659545
0
0.007469
0.241994
11,835
244
142
48.504098
0.863783
0.499282
0
0.663636
0
0
0.025946
0
0
0
0
0
0.027273
1
0.045455
false
0
0.009091
0
0.163636
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5c4804e5dae685a473390c68dbdf41ac087b8fac
72
py
Python
list.py
rcpatnam/gittest2
7afabfdcb2ee9ff5bb241cf6535868956687266e
[ "MIT" ]
null
null
null
list.py
rcpatnam/gittest2
7afabfdcb2ee9ff5bb241cf6535868956687266e
[ "MIT" ]
null
null
null
list.py
rcpatnam/gittest2
7afabfdcb2ee9ff5bb241cf6535868956687266e
[ "MIT" ]
null
null
null
a = [2, 3, 4, 5] print(a, '\n') print("sliced the last number", a[0:3])
18
39
0.541667
16
72
2.4375
0.75
0
0
0
0
0
0
0
0
0
0
0.101695
0.180556
72
3
40
24
0.559322
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
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
1
0
3
30c312434be13a9da204f21731bfd44d3d1ffd47
677
py
Python
30 Days of Code/Day_20_Sorting/sorting.py
brianchiang-tw/HackerRank
02a30a0033b881206fa15b8d6b4ef99b2dc420c8
[ "MIT" ]
2
2020-05-28T07:15:00.000Z
2020-07-21T08:34:06.000Z
30 Days of Code/Day_20_Sorting/sorting.py
brianchiang-tw/HackerRank
02a30a0033b881206fa15b8d6b4ef99b2dc420c8
[ "MIT" ]
null
null
null
30 Days of Code/Day_20_Sorting/sorting.py
brianchiang-tw/HackerRank
02a30a0033b881206fa15b8d6b4ef99b2dc420c8
[ "MIT" ]
null
null
null
#!/bin/python3 import sys n = int(input().strip()) a = list(map(int, input().strip().split(' '))) # Write Your Code Here total_number_of_swap = 0 for i, x in enumerate( a ): cur_number_of_swap = 0 for j in range( len(a) -1 ): if a[j] > a[j+1]: a[ j ], a[ j+1 ] = a[ j+1 ], a[ j ] ...
18.805556
57
0.581979
114
677
3.27193
0.421053
0.171582
0.257373
0.160858
0.176944
0.032172
0.032172
0
0
0
0
0.022312
0.271787
677
36
58
18.805556
0.73428
0.150665
0
0
0
0
0.16958
0.038462
0
0
0
0.027778
0
1
0
false
0
0.058824
0
0.058824
0.176471
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
30cc0aca94b74df1e0648f068b2986b0fdb9f991
4,186
py
Python
dj/settings.py
mohamed17717/Like-Reddit-Backend-Clone
d60d7a4625ee0f7354a21e53c26c7c52746d735f
[ "MIT" ]
1
2022-01-10T12:00:59.000Z
2022-01-10T12:00:59.000Z
dj/settings.py
mohamed17717/Like-Reddit-Backend-Clone
d60d7a4625ee0f7354a21e53c26c7c52746d735f
[ "MIT" ]
null
null
null
dj/settings.py
mohamed17717/Like-Reddit-Backend-Clone
d60d7a4625ee0f7354a21e53c26c7c52746d735f
[ "MIT" ]
null
null
null
import os from datetime import timedelta from dotenv import load_dotenv load_dotenv() # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djang...
25.680982
90
0.731247
460
4,186
6.454348
0.478261
0.065679
0.040081
0.028292
0.074773
0.052543
0
0
0
0
0
0.009029
0.126851
4,186
162
91
25.839506
0.803283
0.117774
0
0
0
0.008696
0.61436
0.481915
0
0
0
0
0
1
0
false
0.086957
0.026087
0
0.026087
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
30d21eb8ecec850f2492cfa5007be25855fc4ec0
80
py
Python
maestro/bytecode/__init__.py
bobbyluig/pymaestro
4e30ed2a7b14e271d03d800ababdd85af39f4616
[ "MIT" ]
1
2017-06-25T19:45:02.000Z
2017-06-25T19:45:02.000Z
maestro/bytecode/__init__.py
bobbyluig/pymaestro
4e30ed2a7b14e271d03d800ababdd85af39f4616
[ "MIT" ]
null
null
null
maestro/bytecode/__init__.py
bobbyluig/pymaestro
4e30ed2a7b14e271d03d800ababdd85af39f4616
[ "MIT" ]
null
null
null
from maestro.bytecode.reader import BytecodeReader __all__ = ['BytecodeReader']
26.666667
50
0.825
8
80
7.75
0.875
0
0
0
0
0
0
0
0
0
0
0
0.0875
80
3
51
26.666667
0.849315
0
0
0
0
0
0.17284
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a5026a862047ebfb99e9c244bb7a47007d6ec611
540
py
Python
mindpong/utils.py
PolyCortex/MindPong
9bd8cb65d8b8381812079816eeb1c84e848c854d
[ "MIT" ]
22
2018-09-19T17:55:41.000Z
2022-01-23T05:55:15.000Z
mindpong/utils.py
PolyCortex/MindPong
9bd8cb65d8b8381812079816eeb1c84e848c854d
[ "MIT" ]
null
null
null
mindpong/utils.py
PolyCortex/MindPong
9bd8cb65d8b8381812079816eeb1c84e848c854d
[ "MIT" ]
3
2019-05-11T15:34:39.000Z
2020-10-02T20:52:53.000Z
import os from pathlib import Path from PyQt5.QtGui import QPalette, QColor from PyQt5.QtCore import Qt def get_project_root() -> Path: """Returns project root folder.""" return os.path.abspath(os.curdir) def create_palette(): palette = QPalette() palette.setColor(QPalette.Window, QColor(237, 249, 2...
28.421053
68
0.722222
69
540
5.608696
0.492754
0.155039
0.237726
0
0
0
0
0
0
0
0
0.055679
0.168519
540
19
69
28.421053
0.806236
0.051852
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.615385
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a51c1d582a9b783e14d6fe065801930867a95b97
229
py
Python
src/interpreter/functions/define.py
incrementals/b-star
325bb51eafd5c5173582bf065b82d10ef9669275
[ "MIT" ]
2
2021-11-02T04:28:32.000Z
2021-11-05T14:27:08.000Z
src/interpreter/functions/define.py
incrementals/b-star
325bb51eafd5c5173582bf065b82d10ef9669275
[ "MIT" ]
null
null
null
src/interpreter/functions/define.py
incrementals/b-star
325bb51eafd5c5173582bf065b82d10ef9669275
[ "MIT" ]
null
null
null
import src.interpreter.globals as globals def define(name, item): if name in globals.codebase.variables[0]: globals.codebase.variables[0][name] = item return globals.codebase.variables[-1][name] = item
22.9
50
0.689956
30
229
5.266667
0.533333
0.151899
0.455696
0.316456
0
0
0
0
0
0
0
0.016304
0.196507
229
9
51
25.444444
0.842391
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
eb58c65ba730cb21f8e78dd5a256265a01e04810
346
py
Python
orders/models/ordermodel.py
mrearsbig/store
f311c48f8e79f6d6fb7bf2c8c9a0b65d1b271ff0
[ "MIT" ]
1
2021-11-26T21:39:52.000Z
2021-11-26T21:39:52.000Z
orders/models/ordermodel.py
mrearsbig/backend
f311c48f8e79f6d6fb7bf2c8c9a0b65d1b271ff0
[ "MIT" ]
null
null
null
orders/models/ordermodel.py
mrearsbig/backend
f311c48f8e79f6d6fb7bf2c8c9a0b65d1b271ff0
[ "MIT" ]
null
null
null
from django.db import models from users.models import User class Order(models.Model): date = models.DateTimeField(auto_now_add = True) shipping = models.DecimalField(max_digits = 10, decimal_places = 2) total = models.DecimalField(max_digits = 10, decimal_places = 2) client = models.ForeignKey(User, o...
38.444444
71
0.751445
47
346
5.382979
0.638298
0.142292
0.166008
0.213439
0.339921
0.339921
0.339921
0.339921
0
0
0
0.020548
0.156069
346
9
72
38.444444
0.84589
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
eb60ac6989fca97c5a02da8363b1c36ecfd0a12b
350
py
Python
DQM/SiStripCommissioningSources/python/CRackCosmicCandidateFinder_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/SiStripCommissioningSources/python/CRackCosmicCandidateFinder_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/SiStripCommissioningSources/python/CRackCosmicCandidateFinder_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 RecoTracker.SingleTrackPattern.CosmicCandidateFinder_cfi import * cosmicCandidateFinder.pixelRecHits = cms.InputTag('dummy','dummy') cosmicCandidateFinder.MinHits = cms.int32(3) cosmicCandidateFinder.Chi2Cut = cms.double(10000.0) cosmicCandidateFinder.GeometricStructure = ...
43.75
72
0.842857
35
350
8.4
0.714286
0
0
0
0
0
0
0
0
0
0
0.030395
0.06
350
7
73
50
0.863222
0
0
0
0
0
0.042857
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
eb99559f78f5643ac1251c14aceead6700c825a6
2,139
py
Python
qa327_test/backend/test_backend.py
EduardVar/BrainBench
abc26c5a6e7492e5c0ef03457c91175b0bb8ba41
[ "MIT" ]
null
null
null
qa327_test/backend/test_backend.py
EduardVar/BrainBench
abc26c5a6e7492e5c0ef03457c91175b0bb8ba41
[ "MIT" ]
null
null
null
qa327_test/backend/test_backend.py
EduardVar/BrainBench
abc26c5a6e7492e5c0ef03457c91175b0bb8ba41
[ "MIT" ]
2
2021-01-04T04:44:28.000Z
2021-01-16T19:41:29.000Z
import pytest from qa327.backend import validate_password, validate_ticket_inputs from qa327.models import User """ Test validation of passwords (I know I Don't need '== True' or '== False', its for clear definitions of tests """ class TestBackendFunctions(object): def test_valid_password(self): assert...
53.475
201
0.69238
262
2,139
5.51145
0.335878
0.184211
0.182825
0.126039
0.587258
0.322715
0.310942
0.283934
0.188366
0.132964
0
0.075568
0.177186
2,139
39
202
54.846154
0.744886
0.006078
0
0
0
0
0.283009
0
0
0
0
0
0.730769
1
0.115385
false
0.576923
0.115385
0
0.269231
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
3
eba61b6b081ff1f7c5d6ad050f07b074caf6d698
45,062
py
Python
support_code/AtomsDescription.py
Kzra/CoreMS
88bef42e3cf5d11c04ad13b4c58d8a366f7844a7
[ "BSD-2-Clause" ]
1
2021-09-29T18:13:14.000Z
2021-09-29T18:13:14.000Z
support_code/AtomsDescription.py
Kzra/CoreMS
88bef42e3cf5d11c04ad13b4c58d8a366f7844a7
[ "BSD-2-Clause" ]
null
null
null
support_code/AtomsDescription.py
Kzra/CoreMS
88bef42e3cf5d11c04ad13b4c58d8a366f7844a7
[ "BSD-2-Clause" ]
null
null
null
from collections import namedtuple, OrderedDict Atom = namedtuple( 'Atom', 'atomic_number symbol mass_number atomic_mass natural_abundance') atoms = {"H": Atom(atomic_number=1, symbol='H', mass_number='1', atomic_mass=1.007825032239, natural_abundance=0.9998857), "D": Atom(atomic_number=1, symbol='D', ma...
125.172222
133
0.718055
6,327
45,062
4.889679
0.21432
0.114749
0.183599
0.0128
0.451175
0.448945
0.358244
0.358244
0
0
0
0.218299
0.118126
45,062
359
134
125.520891
0.560205
0
0
0
0
0
0.071945
0
0
0
0
0
0
1
0
false
0
0.002801
0
0.002801
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
1
0
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
3
ebcb5483725f5f23272a4ca313f5e443c35f5491
174
py
Python
tests/guinea-pigs/pytest/unittest_error_test.py
djeebus/teamcity-python
b4d38efc1f2c8269128715bf084de9a2d463a922
[ "Apache-2.0" ]
null
null
null
tests/guinea-pigs/pytest/unittest_error_test.py
djeebus/teamcity-python
b4d38efc1f2c8269128715bf084de9a2d463a922
[ "Apache-2.0" ]
null
null
null
tests/guinea-pigs/pytest/unittest_error_test.py
djeebus/teamcity-python
b4d38efc1f2c8269128715bf084de9a2d463a922
[ "Apache-2.0" ]
null
null
null
import unittest class TestErrorFail(unittest.TestCase): def test_error(self): raise Exception('oops') def test_fail(self): self.assertTrue(False)
15.818182
39
0.678161
20
174
5.8
0.75
0.12069
0
0
0
0
0
0
0
0
0
0
0.224138
174
10
40
17.4
0.859259
0
0
0
0
0
0.022989
0
0
0
0
0
0.166667
1
0.333333
false
0
0.166667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
ebdbd77c669c3f9e0b61426029dc0f2beb4dd48e
1,654
py
Python
app/service/link_service.py
JunFuruya/Ratsnake
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
[ "MIT" ]
null
null
null
app/service/link_service.py
JunFuruya/Ratsnake
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
[ "MIT" ]
5
2018-05-17T04:03:39.000Z
2021-09-08T01:03:17.000Z
app/service/link_service.py
JunFuruya/Hideout
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- from app.service.base_service import BaseService from app.repository.link_repository import LinkRepository from app.repository.link_category_repository import LinkCategoryRepository from app.repository.user_repository import UsersRepository from app.entity.link_entity import LinkEntity from app...
43.526316
121
0.770859
223
1,654
5.278027
0.197309
0.081563
0.084962
0.061172
0.53356
0.4435
0.419711
0.367035
0.236194
0.236194
0
0.000714
0.153567
1,654
38
122
43.526316
0.84
0.012696
0
0
0
0
0
0
0
0
0
0
0
1
0.296296
false
0.037037
0.222222
0.259259
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
1
0
0
0
1
1
0
0
3
ebe1f8725273bce543c9f6a0444e53cbff9168f6
328
py
Python
autonotion/filters/__init__.py
minrock/pytion
33a01623bb965fa47202b90f35baaecfe83f5ae1
[ "MIT" ]
null
null
null
autonotion/filters/__init__.py
minrock/pytion
33a01623bb965fa47202b90f35baaecfe83f5ae1
[ "MIT" ]
8
2021-12-23T04:58:43.000Z
2021-12-27T00:27:28.000Z
autonotion/filters/__init__.py
minrock/pytion
33a01623bb965fa47202b90f35baaecfe83f5ae1
[ "MIT" ]
1
2021-12-07T05:33:52.000Z
2021-12-07T05:33:52.000Z
from autonotion.filters.compound import ( CompoundFilter ) from autonotion.filters.database import ( PersonNotionFilter, TextNotionFilter, NumberNotionFilter, CheckboxNotionFilter, SelectNotionFilter, MultiSelectNotionFilter, DateTimeNotionFilter, FileNotionFilter, FormulaNotionF...
21.866667
41
0.768293
20
328
12.6
0.8
0.111111
0.166667
0
0
0
0
0
0
0
0
0
0.182927
328
14
42
23.428571
0.940299
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
cce16ba50835215fc255e40eef81737e69b5151d
835
py
Python
doxyparser/compound/types/docsect1.py
cobhimself/doxyparser
142fdd3876b187a4efac1df932d26fdb53ba374f
[ "MIT" ]
null
null
null
doxyparser/compound/types/docsect1.py
cobhimself/doxyparser
142fdd3876b187a4efac1df932d26fdb53ba374f
[ "MIT" ]
null
null
null
doxyparser/compound/types/docsect1.py
cobhimself/doxyparser
142fdd3876b187a4efac1df932d26fdb53ba374f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Model representation of a docSect1Type from doxygen <xsd:complexType name="docSect1Type" mixed="true"> <xsd:sequence> <xsd:element name="title" type="xsd:string" minOccurs="0" /> <xsd:choice maxOccurs="unbounded"> <xsd:element name="para" type="docParaType" minOccurs="0" maxO...
33.4
99
0.686228
100
835
5.63
0.49
0.071048
0.099467
0.149201
0.261101
0.149201
0.149201
0
0
0
0
0.021008
0.14491
835
25
100
33.4
0.767507
0.753293
0
0
0
0
0.070352
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cce530d887c9fad291e06878f127dee6d28ec8d4
35
py
Python
yggdrasil/languages/dummy/__init__.py
cropsinsilico/yggdrasil
466a4f77605a6f461d57ef7b165a6db7eec4d1fd
[ "BSD-3-Clause" ]
22
2019-02-05T15:20:07.000Z
2022-02-25T09:00:40.000Z
yggdrasil/languages/dummy/__init__.py
cropsinsilico/yggdrasil
466a4f77605a6f461d57ef7b165a6db7eec4d1fd
[ "BSD-3-Clause" ]
48
2019-02-15T20:41:24.000Z
2022-03-16T20:52:02.000Z
yggdrasil/languages/dummy/__init__.py
cropsinsilico/yggdrasil
466a4f77605a6f461d57ef7b165a6db7eec4d1fd
[ "BSD-3-Clause" ]
16
2019-04-27T03:36:40.000Z
2021-12-02T09:47:06.000Z
__all__ = [] # pragma: completion
17.5
34
0.657143
3
35
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.2
35
1
35
35
0.678571
0.514286
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
690f810a174be86a05fa5a0844742589ab18706b
12,388
py
Python
pysnmp-with-texts/CISCO-FIREWALL-TC.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/CISCO-FIREWALL-TC.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/CISCO-FIREWALL-TC.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-FIREWALL-TC (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-FIREWALL-TC # Produced by pysmi-0.3.4 at Wed May 1 11:58:39 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
187.69697
2,929
0.709638
1,605
12,388
5.476012
0.423053
0.011378
0.019115
0.02048
0.271589
0.208215
0.182956
0.17044
0.162476
0.145637
0
0.096714
0.13279
12,388
65
2,930
190.584615
0.7214
0.026477
0
0.22
0
0.2
0.523774
0.005477
0
0
0
0
0
1
0
false
0.02
0.14
0
0.82
0.04
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
1
0
0
3
691b30585cc51d882e52465ca57db5aba45a7fa4
254
py
Python
Coding-Interview/6.print_list_reversingly.py
yangjiahao106/LeetCode
c30ba0ef06f444951f7ab8eee495ac43613d7f4f
[ "RSA-MD" ]
1
2018-04-28T09:07:11.000Z
2018-04-28T09:07:11.000Z
Coding-Interview/6.print_list_reversingly.py
yangjiahao106/LeetCode
c30ba0ef06f444951f7ab8eee495ac43613d7f4f
[ "RSA-MD" ]
1
2018-02-24T16:26:30.000Z
2018-02-24T16:26:44.000Z
Coding-Interview/6.print_list_reversingly.py
yangjiahao106/LeetCode
c30ba0ef06f444951f7ab8eee495ac43613d7f4f
[ "RSA-MD" ]
null
null
null
#! python3 # __author__ = "YangJiaHao" # date: 2018/12/25 # 从尾部到头打印链表, 使用递归实现栈结构, # 链表过长会出现栈溢出 # sys.getrecursionlimit() 1000 def print_list_reversingly(root): if not root: return print_list_reversingly(root.next) print(root.val)
15.875
37
0.69685
30
254
5.633333
0.766667
0.106509
0.236686
0.284024
0
0
0
0
0
0
0
0.063415
0.192913
254
15
38
16.933333
0.760976
0.448819
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.6
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
691c02bd93cf4bdda8574d2acd690151f52634df
2,019
py
Python
osp/test/www/utils/test_assigned_with.py
davidmcclure/open-syllabus-project
078cfd4c5a257fbfb0901d43bfbc6350824eed4e
[ "Apache-2.0" ]
220
2016-01-22T21:19:02.000Z
2022-01-25T04:33:55.000Z
osp/test/www/utils/test_assigned_with.py
davidmcclure/open-syllabus-project
078cfd4c5a257fbfb0901d43bfbc6350824eed4e
[ "Apache-2.0" ]
14
2016-01-23T14:34:39.000Z
2016-09-19T19:58:37.000Z
osp/test/www/utils/test_assigned_with.py
davidmcclure/open-syllabus-project
078cfd4c5a257fbfb0901d43bfbc6350824eed4e
[ "Apache-2.0" ]
14
2016-02-03T13:47:48.000Z
2019-03-27T13:09:05.000Z
import pytest from osp.www.utils import assigned_with from osp.citations.models import Citation_Index from osp.citations.models import Text_Index pytestmark = pytest.mark.usefixtures('db', 'es') def test_assigned_with(add_text, add_doc, add_citation): """ Given a seed text, assigned_with() should pull a...
23.206897
79
0.616642
301
2,019
3.956811
0.199336
0.100756
0.164568
0.18136
0.718724
0.671704
0.631402
0.631402
0.631402
0.631402
0
0.026903
0.245171
2,019
86
80
23.476744
0.754593
0.085191
0
0.769231
0
0
0.025967
0
0
0
0
0
0.134615
1
0.038462
false
0
0.076923
0
0.115385
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6926e25d1656f7ae7949822fd590540b6aa508ee
205
py
Python
colab/apps/voting/tests/runtests.py
caseywstark/colab
e05293e45a657eda19d733bf05624a1613a7a9b7
[ "MIT" ]
1
2015-11-05T11:49:32.000Z
2015-11-05T11:49:32.000Z
colab/apps/voting/tests/runtests.py
caseywstark/colab
e05293e45a657eda19d733bf05624a1613a7a9b7
[ "MIT" ]
null
null
null
colab/apps/voting/tests/runtests.py
caseywstark/colab
e05293e45a657eda19d733bf05624a1613a7a9b7
[ "MIT" ]
null
null
null
import os, sys os.environ['DJANGO_SETTINGS_MODULE'] = 'voting.tests.settings' from django.test.simple import run_tests failures = run_tests(None, verbosity=9) if failures: sys.exit(failures)
22.777778
63
0.741463
29
205
5.103448
0.655172
0.108108
0
0
0
0
0
0
0
0
0
0.005747
0.15122
205
8
64
25.625
0.844828
0
0
0
0
0
0.218274
0.218274
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6932d283251162cda8d454bf0d322ae7546d18b0
215
py
Python
testando_cores.py
isaberamos/Programinhas
d0bfa5099edaf05b9a5f055bf7ce5432588cdc3d
[ "MIT" ]
1
2021-12-28T21:37:33.000Z
2021-12-28T21:37:33.000Z
testando_cores.py
isaberamos/Programinhas
d0bfa5099edaf05b9a5f055bf7ce5432588cdc3d
[ "MIT" ]
null
null
null
testando_cores.py
isaberamos/Programinhas
d0bfa5099edaf05b9a5f055bf7ce5432588cdc3d
[ "MIT" ]
null
null
null
print('\033[7;33;44mOlá, mundo!\033[m') a = 5 b = 7 print("Os valores são \033[31m{}\033[m e \033[32m{}\033[32m".format(a, b)) nome = "Alice" print("Prazer em te conhecer {}{}{}".format("\033[m", nome, "\033[m"))
23.888889
74
0.595349
41
215
3.121951
0.560976
0.125
0
0
0
0
0
0
0
0
0
0.196809
0.125581
215
8
75
26.875
0.484043
0
0
0
0
0
0.590698
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
693b5d6b1c0f17990f509ba7b87a274fd00097b5
62
py
Python
python/testData/quickFixes/PyAddImportQuickFixTest/orderingUnderscoreInPath/main.py
tgodzik/intellij-community
f5ef4191fc30b69db945633951fb160c1cfb7b6f
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/quickFixes/PyAddImportQuickFixTest/orderingUnderscoreInPath/main.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2022-02-19T09:45:05.000Z
2022-02-27T20:32:55.000Z
python/testData/quickFixes/PyAddImportQuickFixTest/orderingUnderscoreInPath/main.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
<error descr="Unresolved reference 'path'">pa<caret>th</error>
62
62
0.758065
9
62
5.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.048387
62
1
62
62
0.79661
0
0
0
0
0
0.428571
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
6945499377824a85a1d7dd6bf367ebf8764768a7
194
py
Python
app/schemas/film_actor.py
luovkle/FastAPI-Movie-Manager
716eeb66a63a47488c4f3fa390321361fd94dbc6
[ "MIT" ]
null
null
null
app/schemas/film_actor.py
luovkle/FastAPI-Movie-Manager
716eeb66a63a47488c4f3fa390321361fd94dbc6
[ "MIT" ]
null
null
null
app/schemas/film_actor.py
luovkle/FastAPI-Movie-Manager
716eeb66a63a47488c4f3fa390321361fd94dbc6
[ "MIT" ]
null
null
null
from pydantic import BaseModel class FilmActorBase(BaseModel): film_id: int actor_id: int class FilmActorCreate(FilmActorBase): ... class FilmActorInDB(FilmActorBase): ...
12.933333
37
0.716495
19
194
7.210526
0.631579
0.072993
0
0
0
0
0
0
0
0
0
0
0.195876
194
14
38
13.857143
0.878205
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0
true
0
0.125
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
15e5faa12f47e0c701419554f5b1f62a98602b79
674
py
Python
calendar_generator/urls.py
rectory-school/rectory-apps
184021529ac9cadc3b7c0fbf93a023c82fc76b91
[ "MIT" ]
null
null
null
calendar_generator/urls.py
rectory-school/rectory-apps
184021529ac9cadc3b7c0fbf93a023c82fc76b91
[ "MIT" ]
5
2020-06-05T17:33:12.000Z
2021-06-10T19:04:41.000Z
calendar_generator/urls.py
rectory-school/rectory-apps
184021529ac9cadc3b7c0fbf93a023c82fc76b91
[ "MIT" ]
1
2016-02-08T15:53:28.000Z
2016-02-08T15:53:28.000Z
from django.conf.urls import include, url urlpatterns = [ url(r'^text/(?P<id>[0-9]+)/$', 'calendar_generator.views.calendar_days_text', name='calendar_generator_days_text'), url(r'^pdf/month-by-month/(?P<id>[0-9]+)/$', 'calendar_generator.views.full_calendar_pdf', name='calendar_generator_days_pdf'), url(r...
67.4
131
0.709199
103
674
4.359223
0.262136
0.378619
0.044543
0.055679
0.318486
0.318486
0.318486
0.138085
0
0
0
0.016
0.0727
674
10
132
67.4
0.7024
0
0
0
0
0
0.702222
0.702222
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
15e77f9fb2a4c095189d26ec48eed95a87443cbc
1,311
py
Python
scraper/storage_spiders/vinhphatmobilecom.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
null
null
null
scraper/storage_spiders/vinhphatmobilecom.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
10
2020-02-11T23:34:28.000Z
2022-03-11T23:16:12.000Z
scraper/storage_spiders/vinhphatmobilecom.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
3
2018-08-05T14:54:25.000Z
2021-06-07T01:49:59.000Z
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div[@class='ty-product-bigpicture']/div[@class='ty-product-bigpicture__left']/div[@class='ty-product-bigpicture__left-wrapper']/h1[@clas...
48.555556
200
0.673532
174
1,311
4.896552
0.465517
0.090376
0.08216
0.099765
0.170188
0.138498
0.065728
0
0
0
0
0.005942
0.101449
1,311
26
201
50.423077
0.717317
0.091533
0
0
1
0.086957
0.636364
0.441919
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
15ecf1f1c27d12803c19cb4fb73c4d1c16d07afb
330
py
Python
artssat/scattering/psd/data/__init__.py
simonpf/pARTS
b4d9f4c2ceac594273c5589e44fe6a3a4f8d7028
[ "MIT" ]
3
2020-09-02T08:20:42.000Z
2020-12-18T17:19:38.000Z
artssat/scattering/psd/data/__init__.py
simonpf/pARTS
b4d9f4c2ceac594273c5589e44fe6a3a4f8d7028
[ "MIT" ]
null
null
null
artssat/scattering/psd/data/__init__.py
simonpf/pARTS
b4d9f4c2ceac594273c5589e44fe6a3a4f8d7028
[ "MIT" ]
null
null
null
""" Handling of PSD data ==================== The :code:`artssat.scattering.psd.data` subpackage provides the :class:`PSDData` class for the handling of numeric PSD data. Numeric PSD data here refers to a PSD that is not given in a parametrized form but instead by an array of particle density values over a given size ...
33
77
0.724242
53
330
4.509434
0.679245
0.117155
0.117155
0
0
0
0
0
0
0
0
0
0.157576
330
9
78
36.666667
0.859712
0.972727
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
15ff0ce363742684a92419fccefe0065d9391325
946
py
Python
metrics.py
brando90/predicting_performance
a6b13cb869c04fc5415893bcf7a3fb2c6179f953
[ "MIT" ]
null
null
null
metrics.py
brando90/predicting_performance
a6b13cb869c04fc5415893bcf7a3fb2c6179f953
[ "MIT" ]
1
2021-12-09T21:46:06.000Z
2021-12-09T21:46:06.000Z
metrics.py
brando90/predicting_performance
a6b13cb869c04fc5415893bcf7a3fb2c6179f953
[ "MIT" ]
null
null
null
import torch from pdb import set_trace as st def calc_loss(mdl,loss,X,Y): loss_val = loss(input=mdl(X),target=Y) return loss_val def calc_accuracy(mdl,X,Y): # TODO: why can't we call .data.numpy() for train_acc as a whole? max_vals, max_indices = torch.max(mdl(X),1) train_acc = (max_indices == Y)...
32.62069
81
0.684989
159
946
3.855346
0.301887
0.195759
0.065253
0.11093
0.522023
0.487765
0.448613
0.334421
0.277325
0.277325
0
0.015132
0.161734
946
28
82
33.785714
0.757881
0.286469
0
0.117647
0
0
0
0
0
0
0
0.035714
0
1
0.235294
false
0
0.117647
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
c6010545cb0babc627212444bf25c6fd5b847437
268
py
Python
tests/test_colors.py
imsodin/pyvista
af3bd7dc7b5b8551b732f6e6fa74f6675027469c
[ "MIT" ]
null
null
null
tests/test_colors.py
imsodin/pyvista
af3bd7dc7b5b8551b732f6e6fa74f6675027469c
[ "MIT" ]
null
null
null
tests/test_colors.py
imsodin/pyvista
af3bd7dc7b5b8551b732f6e6fa74f6675027469c
[ "MIT" ]
null
null
null
import pytest from pyvista import colors def test_invalid_color_str_single_char(): with pytest.raises(ValueError): colors.string_to_rgb('x') def test_invalid_color_str(): with pytest.raises(ValueError): colors.string_to_rgb('not a color')
19.142857
43
0.735075
38
268
4.868421
0.552632
0.075676
0.151351
0.205405
0.702703
0.464865
0.464865
0.464865
0
0
0
0
0.175373
268
13
44
20.615385
0.837104
0
0
0.25
0
0
0.044776
0
0
0
0
0
0
1
0.25
true
0
0.25
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
c61a690b24ff112975d26a53e4422eeae8831b0b
123
py
Python
setup.py
yussiroz/Interceptor_V2
521cf1dbdfb8813432f7e9aa762dfb5e63dae81c
[ "MIT" ]
null
null
null
setup.py
yussiroz/Interceptor_V2
521cf1dbdfb8813432f7e9aa762dfb5e63dae81c
[ "MIT" ]
null
null
null
setup.py
yussiroz/Interceptor_V2
521cf1dbdfb8813432f7e9aa762dfb5e63dae81c
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='interceptor_v2', version='2.0', install_requires=['gym', 'numpy'] )
17.571429
39
0.658537
15
123
5.266667
0.933333
0
0
0
0
0
0
0
0
0
0
0.03
0.186992
123
6
40
20.5
0.76
0
0
0
0
0
0.203252
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c61fececd59d6a7fe4044c4442973a16fbe731e6
358
py
Python
src/functors/OutputSavedJSON.py
eons-dev/esam
269b12ba634ab46d865a9c8da5a2ca43a2462203
[ "MIT" ]
null
null
null
src/functors/OutputSavedJSON.py
eons-dev/esam
269b12ba634ab46d865a9c8da5a2ca43a2462203
[ "MIT" ]
null
null
null
src/functors/OutputSavedJSON.py
eons-dev/esam
269b12ba634ab46d865a9c8da5a2ca43a2462203
[ "MIT" ]
null
null
null
import logging import sys, os import eons from .OutputFormatFunctor import OutputFormatFunctor class OutputSavedJSON(OutputFormatFunctor): def __init__(self, name=eons.INVALID_NAME()): super().__init__(name) #Uses Serializables.ToJSON of self.data to write to self.file def WriteFile(self): ...
25.571429
65
0.743017
44
358
5.840909
0.545455
0.062257
0
0
0
0
0
0
0
0
0
0
0.164804
358
13
66
27.538462
0.859532
0.167598
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.444444
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
c62ac5ec62588087bb07f967330d414c9e7254c6
612
py
Python
devbox/utilities/base_deployment_engine.py
QualiSystems/DevBox
9a1807006bc93727970068d586764e9dccda94ec
[ "Apache-1.1" ]
null
null
null
devbox/utilities/base_deployment_engine.py
QualiSystems/DevBox
9a1807006bc93727970068d586764e9dccda94ec
[ "Apache-1.1" ]
null
null
null
devbox/utilities/base_deployment_engine.py
QualiSystems/DevBox
9a1807006bc93727970068d586764e9dccda94ec
[ "Apache-1.1" ]
null
null
null
import abc class BaseDeploymentEngine(object): __metaclass__ = abc.ABCMeta @abc.abstractmethod def deploy(self, manifest): raise NotImplementedError('deploy method must be implemented') @abc.abstractmethod def destroy(self, manifest): raise NotImplementedError('destroy method mus...
26.608696
80
0.727124
64
612
6.828125
0.359375
0.155606
0.183066
0.329519
0.295195
0.295195
0.295195
0
0
0
0
0
0.199346
612
22
81
27.818182
0.891837
0
0
0.266667
0
0
0.230769
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0
0.466667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
c64a98e71980fd9cf2ddbea64feebd5480670b70
209
py
Python
what_apps/contact/__init__.py
SlashRoot/WHAT
69e78d01065142446234e77ea7c8c31e3482af29
[ "MIT" ]
null
null
null
what_apps/contact/__init__.py
SlashRoot/WHAT
69e78d01065142446234e77ea7c8c31e3482af29
[ "MIT" ]
null
null
null
what_apps/contact/__init__.py
SlashRoot/WHAT
69e78d01065142446234e77ea7c8c31e3482af29
[ "MIT" ]
null
null
null
''' Contact Management. Ideally, this app will handle only static content management and have no dymanic functions of its own. At the moment, our email handler lives here - this probably needs to change. '''
69.666667
201
0.770335
32
209
5.03125
0.9375
0
0
0
0
0
0
0
0
0
0
0
0.172249
209
3
202
69.666667
0.930636
0.961722
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c656ed317fd93d410c763be9094b5c8785695e74
299
py
Python
src/helpers.py
Dmitri-Kuzmin-IT-19V/cdn-dns-controller
505bfd14a6d7f2d9f0aa98de0b3bed1969e8aa5a
[ "Apache-2.0" ]
1
2020-11-19T13:17:22.000Z
2020-11-19T13:17:22.000Z
src/helpers.py
Dmitri-Kuzmin-IT-19V/cdn-dns-controller
505bfd14a6d7f2d9f0aa98de0b3bed1969e8aa5a
[ "Apache-2.0" ]
null
null
null
src/helpers.py
Dmitri-Kuzmin-IT-19V/cdn-dns-controller
505bfd14a6d7f2d9f0aa98de0b3bed1969e8aa5a
[ "Apache-2.0" ]
13
2020-11-03T11:19:04.000Z
2020-11-03T11:38:09.000Z
import random import string class Helper: """ Helper function just to do some stuff. """ def get_random_string(self, length): """ Function to generate random string. """ letters = string.ascii_lowercase return ''.join(random.choice(letters) for i in range(length))
27.181818
69
0.668896
38
299
5.184211
0.684211
0.121827
0
0
0
0
0
0
0
0
0
0
0.227425
299
10
70
29.9
0.852814
0.250836
0
0
1
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d67a73842802e7b7f30f12d6fb76e3f95c488967
451
py
Python
aiopening/spaces/__init__.py
ducandu/aiopening
214d8d6dfc928ab4f8db634018092dc43eaf0e3c
[ "MIT" ]
null
null
null
aiopening/spaces/__init__.py
ducandu/aiopening
214d8d6dfc928ab4f8db634018092dc43eaf0e3c
[ "MIT" ]
null
null
null
aiopening/spaces/__init__.py
ducandu/aiopening
214d8d6dfc928ab4f8db634018092dc43eaf0e3c
[ "MIT" ]
null
null
null
""" ------------------------------------------------------------------------- AIOpening - __init__.py Defines the Spaces (action/state space) base class created: 2017/09/01 in PyCharm (c) 2017 Sven - ducandu GmbH ------------------------------------------------------------------------- """ from .tuple import T...
23.736842
74
0.472284
43
451
4.767442
0.627907
0
0
0
0
0
0
0
0
0
0
0.030457
0.126386
451
18
75
25.055556
0.489848
0.629712
0
0
0
0
0.138158
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d67ab75499a0ccb4893b0be2cc21c51ec843e731
1,986
py
Python
src/browser/timer.py
ENDERZOMBI102/brython-typed
8aababc4765c0493eddcb9503b82a0aebd763a41
[ "MIT" ]
null
null
null
src/browser/timer.py
ENDERZOMBI102/brython-typed
8aababc4765c0493eddcb9503b82a0aebd763a41
[ "MIT" ]
null
null
null
src/browser/timer.py
ENDERZOMBI102/brython-typed
8aababc4765c0493eddcb9503b82a0aebd763a41
[ "MIT" ]
null
null
null
""" Implements methods to allow differed or repetitive execution of functions """ from typing import Callable class _Timer: pass def set_timeout(function: Callable, ms: int, *args) -> _Timer: """ uns function(*args) after ms milliseconds. Returns an object usable in the function clear_timeout() \...
27.583333
113
0.728097
269
1,986
5.249071
0.33829
0.054533
0.074363
0.046742
0.310907
0.199009
0.199009
0.172805
0.113314
0.113314
0
0
0.194864
1,986
72
114
27.583333
0.883052
0.70292
0
0.230769
0
0
0
0
0
0
0
0
0
1
0.461538
false
0.230769
0.076923
0
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
1
0
0
1
0
0
3
d67d3634a1e39f794051dd8c72f90e6e8f289132
231
py
Python
charlie2/__init__.py
sammosummo/Charlie2
e856b9bfc83c11e57a63d487fa14a63764e3f6ae
[ "MIT" ]
5
2019-10-10T08:22:29.000Z
2021-04-09T02:34:13.000Z
charlie2/__init__.py
sammosummo/Charlie2
e856b9bfc83c11e57a63d487fa14a63764e3f6ae
[ "MIT" ]
20
2018-06-20T21:15:48.000Z
2018-09-06T17:13:46.000Z
charlie2/__init__.py
sammosummo/Charlie2
e856b9bfc83c11e57a63d487fa14a63764e3f6ae
[ "MIT" ]
3
2019-11-24T04:10:40.000Z
2020-04-04T07:50:57.000Z
__author__ = "Samuel Robert Mathias" __copyright__ = "Copyright (c) 2018 Sam Mathias" __license__ = "MIT" __version__ = "2.1" __maintainer__ = "Samuel Robert Mathias" __email__ = "samuel.mathias@yale.edu" __status__ = "Production"
28.875
48
0.757576
26
231
5.653846
0.730769
0.163265
0.258503
0
0
0
0
0
0
0
0
0.029703
0.125541
231
7
49
33
0.69802
0
0
0
0
0
0.480519
0.099567
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d6907812f63268dec276f33a210b49355796e192
567
py
Python
cloud_utils/storage/aws.py
hyroai/cloud-utils
b0fc5574f4c7c5caa6e6452e29225f6fe3d2a570
[ "MIT" ]
1
2020-05-12T19:50:04.000Z
2020-05-12T19:50:04.000Z
cloud_utils/storage/aws.py
hyroai/cloud-utils
b0fc5574f4c7c5caa6e6452e29225f6fe3d2a570
[ "MIT" ]
11
2020-05-23T12:18:13.000Z
2022-01-06T21:00:56.000Z
cloud_utils/storage/aws.py
hyroai/cloud-utils
b0fc5574f4c7c5caa6e6452e29225f6fe3d2a570
[ "MIT" ]
1
2020-05-12T19:14:11.000Z
2020-05-12T19:14:11.000Z
import pathlib from typing import Any, Text import boto3 import gamla s3 = boto3.resource("s3") def upload_blob(bucket_name: str, blob_name: str, obj: Any): s3.Bucket(bucket_name).put_object(Key=blob_name, Body=obj.to_json()) @gamla.curry def download_blob_as_string(bucket_name: str, blob_name: str) -> Text: ...
27
81
0.744268
92
567
4.347826
0.402174
0.1225
0.11
0.1275
0.18
0.18
0
0
0
0
0
0.017893
0.112875
567
20
82
28.35
0.777336
0
0
0
0
0
0.022928
0
0
0
0
0
0
1
0.25
false
0
0.333333
0.083333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
d6a39df339309280098dae24a3dcebcc6d646327
276
py
Python
jupyterlab_img_gen/scipy/src/streamlitapp/app.py
sham-sr/data_science_docker_stack
ce44ebe12d19038fecf603053dd3e5f5183e9869
[ "Unlicense" ]
3
2021-04-19T08:46:15.000Z
2021-07-25T17:52:04.000Z
jupyterlab_img_gen/scipy/src/streamlitapp/app.py
sham-sr/data_science_docker_stack
ce44ebe12d19038fecf603053dd3e5f5183e9869
[ "Unlicense" ]
null
null
null
jupyterlab_img_gen/scipy/src/streamlitapp/app.py
sham-sr/data_science_docker_stack
ce44ebe12d19038fecf603053dd3e5f5183e9869
[ "Unlicense" ]
null
null
null
import streamlit as st hide_streamlit_style = """ <style> #MainMenu {visibility: hidden;} footer {visibility: hidden;} </style> """ st.markdown(hide_streamlit_style, unsafe_allow_html=True) st.title('WOW streamlit!')
30.666667
57
0.597826
28
276
5.678571
0.607143
0.163522
0.226415
0
0
0
0
0
0
0
0
0
0.286232
276
9
58
30.666667
0.807107
0
0
0
0
0
0.552347
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d6b94f5ad5b5cc227f8ee72fb712d1ac62732527
126
py
Python
main.py
CIMAFoundation/drops2
75fff4233e235b9ba31044b11502413798da49ac
[ "MIT" ]
1
2019-07-05T05:52:00.000Z
2019-07-05T05:52:00.000Z
main.py
CIMAFoundation/drops2
75fff4233e235b9ba31044b11502413798da49ac
[ "MIT" ]
3
2020-03-24T16:07:01.000Z
2020-11-18T21:38:02.000Z
main.py
CIMAFoundation/drops2
75fff4233e235b9ba31044b11502413798da49ac
[ "MIT" ]
null
null
null
import click from drops2 import sensors, coverages if __name__ == '__main__': s = sensors.get_sensor_list('PLUVIOMETRO')
21
46
0.753968
16
126
5.3125
0.875
0
0
0
0
0
0
0
0
0
0
0.009346
0.150794
126
5
47
25.2
0.785047
0
0
0
0
0
0.150794
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d6ca14dd8d4ba927f993d2c3cf35d5a589d36765
1,424
py
Python
nats/protocol/command.py
databasedav/nats.py
75aa768f4e2aae87f7a2820e2a76aa7eeff71f46
[ "Apache-2.0" ]
1
2022-01-18T05:26:13.000Z
2022-01-18T05:26:13.000Z
nats/protocol/command.py
databasedav/nats.py
75aa768f4e2aae87f7a2820e2a76aa7eeff71f46
[ "Apache-2.0" ]
1
2021-11-05T23:16:21.000Z
2021-11-06T21:58:31.000Z
nats/protocol/command.py
databasedav/nats.py
75aa768f4e2aae87f7a2820e2a76aa7eeff71f46
[ "Apache-2.0" ]
1
2021-12-09T19:49:57.000Z
2021-12-09T19:49:57.000Z
# Copyright 2021 - Guillaume Charbonnier # # Copyright 2016-2018 The NATS Authors # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
38.486486
80
0.701545
216
1,424
4.425926
0.453704
0.062762
0.025105
0.040795
0.08159
0
0
0
0
0
0
0.014605
0.182584
1,424
36
81
39.555556
0.806701
0.416433
0
0
0
0
0.143382
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.142857
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
1
1
0
0
3
d6eae884f91e6261f93496c00d98d3bc12589fa5
711
py
Python
data/map_property.py
kielbasiago/WorldsCollide
5aa7cffdecd14754c9eaa83cd0ad4d0282cc2cc2
[ "MIT" ]
7
2022-01-15T02:53:53.000Z
2022-02-17T00:51:32.000Z
data/map_property.py
asilverthorn/WorldsCollide
5aa7cffdecd14754c9eaa83cd0ad4d0282cc2cc2
[ "MIT" ]
8
2022-01-16T02:45:24.000Z
2022-03-21T02:08:27.000Z
data/map_property.py
asilverthorn/WorldsCollide
5aa7cffdecd14754c9eaa83cd0ad4d0282cc2cc2
[ "MIT" ]
5
2022-01-15T02:53:38.000Z
2022-01-19T17:42:10.000Z
class MapProperty: DATA_SIZE = 33 DATA_START = 0x2d8f00 def __init__(self, rom, id): self.rom = rom self.set_id(id) self.read() def set_id(self, id): self.id = id self.data_start = self.DATA_START + self.id * self.DATA_SIZE def read(self): self.dat...
25.392857
71
0.604782
104
711
3.932692
0.288462
0.234719
0.127139
0.166259
0.178484
0.127139
0
0
0
0
0
0.032692
0.268636
711
27
72
26.333333
0.753846
0
0
0
0
0
0.059072
0.043601
0
0
0.016878
0
0
1
0.25
false
0
0
0
0.4
0.1
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
d6ed19660e287f5e8517fb649463a9bf591cb72e
11,066
py
Python
gberatings/history/models.py
georgeeldredge/gberatings
a0d5137075c7bec09555abcc2faf73939e57cd87
[ "MIT" ]
null
null
null
gberatings/history/models.py
georgeeldredge/gberatings
a0d5137075c7bec09555abcc2faf73939e57cd87
[ "MIT" ]
null
null
null
gberatings/history/models.py
georgeeldredge/gberatings
a0d5137075c7bec09555abcc2faf73939e57cd87
[ "MIT" ]
null
null
null
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey has `on_delete` set to the desired behavior. # * Remove `managed = False` lines if ...
65.869048
133
0.747786
1,413
11,066
5.70913
0.118188
0.075369
0.122474
0.207264
0.577786
0.573075
0.562663
0.561299
0.542705
0.542705
0
0.03535
0.148744
11,066
167
134
66.263473
0.821019
0.226369
0
0.353846
1
0
0.100271
0
0
0
0
0
0
1
0
false
0
0.015385
0
0.846154
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
1
0
0
3
d6fd6daa3e2db97a5738b7cfdd617382c7a24a58
270
py
Python
tests/conftest.py
nolar/jiff
841d8721712d3d2c3a8cc0e658fb71a3563ed23c
[ "MIT" ]
12
2021-12-26T10:44:18.000Z
2022-01-14T23:06:39.000Z
tests/conftest.py
nolar/jiff
841d8721712d3d2c3a8cc0e658fb71a3563ed23c
[ "MIT" ]
1
2021-12-05T15:11:32.000Z
2021-12-05T15:11:32.000Z
tests/conftest.py
nolar/pytest-instant
841d8721712d3d2c3a8cc0e658fb71a3563ed23c
[ "MIT" ]
null
null
null
import asyncio import pytest import looptime @pytest.fixture(autouse=True) def _clear_caches(): looptime.reset_caches() yield looptime.reset_caches() @pytest.fixture() def looptime_loop(): return looptime.patch_event_loop(asyncio.new_event_loop())
15
62
0.755556
34
270
5.735294
0.5
0.133333
0.194872
0
0
0
0
0
0
0
0
0
0.144444
270
17
63
15.882353
0.844156
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
true
0
0.272727
0.090909
0.545455
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
1
0
0
3
ba39e3de590f9a9a02fe777ad8e3f7802c73cee7
539
py
Python
stanford-augmented-image-classification/resnet_stanford_cars_training.py
meghanaravikumar/sigopt-examples
e2d938928384f340d77efb52b226f678b6008fb9
[ "MIT" ]
213
2015-02-24T22:26:46.000Z
2021-11-29T14:17:52.000Z
stanford-augmented-image-classification/resnet_stanford_cars_training.py
meghanaravikumar/sigopt-examples
e2d938928384f340d77efb52b226f678b6008fb9
[ "MIT" ]
73
2015-11-12T03:11:55.000Z
2022-03-11T23:43:18.000Z
stanford-augmented-image-classification/resnet_stanford_cars_training.py
meghanaravikumar/sigopt-examples
e2d938928384f340d77efb52b226f678b6008fb9
[ "MIT" ]
66
2016-01-01T18:25:11.000Z
2020-10-27T03:07:07.000Z
from stanford_cars_cli import CLI, StanfordCarsCLI from i_commandline_arguments import generate_cli_hpo class ResNetTraining(StanfordCarsCLI): def __init__(self): super().__init__() def arg_parse(self): parser = super().arg_parse() parser = generate_cli_hpo(parser) return par...
24.5
65
0.723562
66
539
5.348485
0.5
0.076487
0.110482
0
0
0
0
0
0
0
0
0
0.194805
539
21
66
25.666667
0.813364
0
0
0
1
0
0.014842
0
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
ba3af9ba85f41ec0cb832882e5efedce486babe5
119
py
Python
test.py
yoanncouillec/MongoManager
7402e1d42ac420f73f3fc51916819624c94f9b47
[ "MIT" ]
null
null
null
test.py
yoanncouillec/MongoManager
7402e1d42ac420f73f3fc51916819624c94f9b47
[ "MIT" ]
1
2016-10-06T17:21:13.000Z
2016-10-06T17:46:20.000Z
test.py
afissegalaad/MongoManager
7402e1d42ac420f73f3fc51916819624c94f9b47
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys from MongoManager import MongoCluster cluster = MongoCluster().clean() sys.exit(0)
13.222222
37
0.756303
16
119
5.625
0.8125
0
0
0
0
0
0
0
0
0
0
0.009615
0.12605
119
8
38
14.875
0.855769
0.168067
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ba4fb658858ebce32be3a68d14f58f5fbc761d1a
215
py
Python
examples/imageclassification/nasnetlarge_test.py
houseofai/readyml
7c9464d1f9b1fd6deaa8bca91fe7a95c710bf0a7
[ "Apache-2.0" ]
null
null
null
examples/imageclassification/nasnetlarge_test.py
houseofai/readyml
7c9464d1f9b1fd6deaa8bca91fe7a95c710bf0a7
[ "Apache-2.0" ]
null
null
null
examples/imageclassification/nasnetlarge_test.py
houseofai/readyml
7c9464d1f9b1fd6deaa8bca91fe7a95c710bf0a7
[ "Apache-2.0" ]
null
null
null
from readyml import imageclassification as ric import PIL.Image as Image image_pil = Image.open("../images/greek_street.jpeg") nasnetlarge = ric.NASNetLarge() results = nasnetlarge.infer(image_pil) print(results)
23.888889
53
0.795349
29
215
5.793103
0.586207
0.095238
0
0
0
0
0
0
0
0
0
0
0.102326
215
8
54
26.875
0.870466
0
0
0
0
0
0.125581
0.125581
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ba68980686b36029e82df09d66e8a20228fe0030
724
py
Python
DataTools/Components/Map.py
mushishita/JBMonopoly
53b304176900c3b46f7aa981088fb5dcef278425
[ "MIT" ]
3
2019-07-25T04:24:15.000Z
2021-12-09T08:11:38.000Z
DataTools/Components/Map.py
mushishita/JBMonopoly
53b304176900c3b46f7aa981088fb5dcef278425
[ "MIT" ]
3
2022-02-12T05:41:55.000Z
2022-02-12T05:46:27.000Z
DataTools/Components/Map.py
mushishita/JBMonopoly
53b304176900c3b46f7aa981088fb5dcef278425
[ "MIT" ]
3
2021-12-09T08:22:44.000Z
2022-02-12T14:56:57.000Z
class Map(object): def __init__(self, index, img): self.index = index self.img = img class normalEstate(Map): def __init__(self, index, img, price, owner, numberOfHouses, roadToll): Map.__init__(self, index, img) self.price = price self.owner = owner self.number...
32.909091
87
0.675414
81
724
5.691358
0.197531
0.156182
0.197397
0.24295
0.529284
0.479393
0.32538
0.32538
0.221258
0
0
0
0.222376
724
22
87
32.909091
0.818828
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
ba710defa50fdf1ffcb0a777496aab1175d723ab
221
py
Python
MATCHES.py
akashsuper2000/codechef-archive
e0e4a7daf66812ab7aa3fe42132c3d067a72457b
[ "bzip2-1.0.6" ]
null
null
null
MATCHES.py
akashsuper2000/codechef-archive
e0e4a7daf66812ab7aa3fe42132c3d067a72457b
[ "bzip2-1.0.6" ]
null
null
null
MATCHES.py
akashsuper2000/codechef-archive
e0e4a7daf66812ab7aa3fe42132c3d067a72457b
[ "bzip2-1.0.6" ]
null
null
null
m = {'0':6, '1':2, '2':5, '3':5, '4':4, '5':5, '6':6, '7':3, '8':7, '9':6} for i in range(int(input())): a,b = [int(j) for j in input().split()] c = a+b s = 0 for j in str(c): s+=m[j] print(s)
24.555556
74
0.38914
51
221
1.686275
0.490196
0.046512
0.139535
0
0
0
0
0
0
0
0
0.132911
0.285068
221
8
75
27.625
0.411392
0
0
0
0
0
0.045249
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ba93e0b4c9a6f127a6a8b83be121a5b79cece738
940
py
Python
src/Pybind11Wraps/Geometry/CellFaceFlag.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Pybind11Wraps/Geometry/CellFaceFlag.py
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Pybind11Wraps/Geometry/CellFaceFlag.py
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
#------------------------------------------------------------------------------- # CellFaceFlag #------------------------------------------------------------------------------- from PYB11Generator import * class CellFaceFlag: "A struct for encoding cell face information returned by computeVoronoiVolume" cellF...
34.814815
111
0.555319
97
940
5.298969
0.525773
0.099222
0.116732
0.097276
0.223735
0.223735
0.116732
0
0
0
0
0.014417
0.188298
940
26
112
36.153846
0.65924
0.334043
0
0.235294
0
0.058824
0.486945
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0.117647
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ba9d7a28a5465e5426416c0353b863d8e7b1cb0e
8,065
py
Python
coremltools/converters/mil/mil/ops/tests/test_utils.py
LaudateCorpus1/coremltools
777a4460d6823e5e91dea4fa3eacb0b11c7d5dfc
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
coremltools/converters/mil/mil/ops/tests/test_utils.py
holzschu/coremltools
5ece9069a1487d5083f00f56afe07832d88e3dfa
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
coremltools/converters/mil/mil/ops/tests/test_utils.py
holzschu/coremltools
5ece9069a1487d5083f00f56afe07832d88e3dfa
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
# Copyright (c) 2020, Apple Inc. All rights reserved. # # Use of this source code is governed by a BSD-3-clause license that can be # found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause import numpy as np from coremltools.converters.mil.mil.ops.defs._utils import ( aggregated_pad, ...
30.319549
87
0.579293
1,011
8,065
4.336301
0.120673
0.075274
0.095803
0.086679
0.783531
0.767336
0.746578
0.714416
0.659215
0.579836
0
0.045032
0.306138
8,065
265
88
30.433962
0.738385
0.033478
0
0.497608
0
0
0.042004
0.003982
0
0
0
0
0.133971
1
0.133971
false
0
0.009569
0
0.157895
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bab7cc55ea227beec021ee1bd3ebb8ad2fa0a5c5
259
py
Python
eahub/localgroups/rules.py
taymonbeal/eahub.org
311be65b927b7c7b02f16fba97d74903cf13cf59
[ "MIT" ]
null
null
null
eahub/localgroups/rules.py
taymonbeal/eahub.org
311be65b927b7c7b02f16fba97d74903cf13cf59
[ "MIT" ]
null
null
null
eahub/localgroups/rules.py
taymonbeal/eahub.org
311be65b927b7c7b02f16fba97d74903cf13cf59
[ "MIT" ]
null
null
null
import rules @rules.predicate def is_organiser(user, local_group): return local_group.organisers.filter(pk=user.pk).exists() rules.add_perm("localgroups.change_local_group", is_organiser) rules.add_perm("localgroups.delete_local_group", is_organiser)
23.545455
62
0.810811
37
259
5.378378
0.513514
0.201005
0.120603
0.231156
0
0
0
0
0
0
0
0
0.07722
259
10
63
25.9
0.832636
0
0
0
0
0
0.23166
0.23166
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
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
1
0
0
0
3
babafc521715bb843bd4ac26d53e116571a081c0
202
py
Python
Calculator/subtraction.py
LachlanDev/Python-Basics
000568d011b393d1d74454093373148cba69cfd2
[ "MIT" ]
2
2020-07-14T13:09:13.000Z
2020-12-17T13:28:16.000Z
Calculator/subtraction.py
PapaSnags/Python-Basics
000568d011b393d1d74454093373148cba69cfd2
[ "MIT" ]
null
null
null
Calculator/subtraction.py
PapaSnags/Python-Basics
000568d011b393d1d74454093373148cba69cfd2
[ "MIT" ]
null
null
null
print("Welcome to the Python Subtraction Calculator") num1 = int(input("Give me a number to subtract ")) num2 = int(input("Give me another number to subtract ")) print(num1,"-",num2,"=", num1 - num2)
50.5
57
0.69802
30
202
4.7
0.566667
0.113475
0.170213
0.198582
0
0
0
0
0
0
0
0.034884
0.148515
202
4
58
50.5
0.784884
0
0
0
0
0
0.55
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
bac090e4a37ce5b2cc844f08dd42d98b86fa5f74
241
py
Python
RecoBTag/ImpactParameter/python/trackCounting3D3rdComputer_cfi.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
RecoBTag/ImpactParameter/python/trackCounting3D3rdComputer_cfi.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
RecoBTag/ImpactParameter/python/trackCounting3D3rdComputer_cfi.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
import FWCore.ParameterSet.Config as cms from RecoBTag.ImpactParameter.trackCounting3D2ndComputer_cfi import * # trackCounting3D3rd btag computer trackCounting3D3rdComputer = trackCounting3D2ndComputer.clone( nthTrack = cms.int32(3) )
26.777778
69
0.838174
22
241
9.136364
0.863636
0
0
0
0
0
0
0
0
0
0
0.050926
0.103734
241
8
70
30.125
0.87963
0.13278
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bad865be6faa90c32a335c642e6674891619b772
1,086
py
Python
smartlearner/interfaces/model.py
havaeimo/smartlearner
9fa0d4e757310b185e5c0d2ff43279d21ab4cb17
[ "BSD-3-Clause" ]
null
null
null
smartlearner/interfaces/model.py
havaeimo/smartlearner
9fa0d4e757310b185e5c0d2ff43279d21ab4cb17
[ "BSD-3-Clause" ]
null
null
null
smartlearner/interfaces/model.py
havaeimo/smartlearner
9fa0d4e757310b185e5c0d2ff43279d21ab4cb17
[ "BSD-3-Clause" ]
null
null
null
from abc import ABCMeta, abstractmethod, abstractproperty class abstractclassmethod(classmethod): __isabstractmethod__ = True def __init__(self, callable): callable.__isabstractmethod__ = True super(abstractclassmethod, self).__init__(callable) class Model(object): __metaclass__ = ABCMe...
28.578947
100
0.702578
106
1,086
7
0.377358
0.161725
0.215633
0.229111
0.392183
0.392183
0.334232
0.334232
0.334232
0
0
0
0.206262
1,086
37
101
29.351351
0.860789
0
0
0.153846
0
0
0.248619
0
0
0
0
0
0
1
0.269231
false
0
0.038462
0.038462
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
bae97a4f8d7d915b0e2267d666032d0dc0ffc2a3
6,159
py
Python
template/plugin/math_plugin.py
vaMuchenje/Template-Python
9edbf401cfeb9c33b50bd37fd0643fa0205d8a5e
[ "Artistic-2.0" ]
1
2016-03-02T06:51:04.000Z
2016-03-02T06:51:04.000Z
template/plugin/math_plugin.py
vaMuchenje/Template-Python
9edbf401cfeb9c33b50bd37fd0643fa0205d8a5e
[ "Artistic-2.0" ]
6
2015-10-13T13:46:10.000Z
2019-06-17T09:39:57.000Z
template/plugin/math_plugin.py
vaMuchenje/Template-Python
9edbf401cfeb9c33b50bd37fd0643fa0205d8a5e
[ "Artistic-2.0" ]
3
2018-12-03T13:15:21.000Z
2019-03-13T09:12:09.000Z
# # The Template-Python distribution is Copyright (C) Sean McAfee 2007-2008, # derived from the Perl Template Toolkit Copyright (C) 1996-2007 Andy # Wardley. All Rights Reserved. # # The file "LICENSE" at the top level of this source distribution describes # the terms under which this file may be distributed. # ...
17.597143
76
0.640039
976
6,159
4.016393
0.262295
0.05102
0.081378
0.065051
0.178061
0.13852
0.098214
0.062755
0.056122
0.056122
0
0.026532
0.228933
6,159
349
77
17.647564
0.798905
0.14077
0
0.089552
0
0
0.026054
0
0
0
0
0
0
1
0.320896
false
0.007463
0.037313
0.238806
0.753731
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
240036eb8fb8063ab8823a46d31595149034572c
3,051
py
Python
models/model.py
nealwobuhei/pricing-service
5ed936f169f91f341be6863464833540f37ce071
[ "MIT" ]
null
null
null
models/model.py
nealwobuhei/pricing-service
5ed936f169f91f341be6863464833540f37ce071
[ "MIT" ]
null
null
null
models/model.py
nealwobuhei/pricing-service
5ed936f169f91f341be6863464833540f37ce071
[ "MIT" ]
null
null
null
""" model class: contain the duplicate method in alerts and item class """ from typing import List, TypeVar, Type, Dict, Union from common.database import Database from abc import ABCMeta, abstractmethod T = TypeVar('T', bound='Model') """ # 多态性是指具有不同功能的函数可以使用相同的函数名,这样就可以用一个函数名调用不同内容的函数。 # 在面向对象方法中一般是这样表述多态性:向不同的对象发...
39.115385
135
0.674861
425
3,051
4.736471
0.369412
0.022355
0.015897
0.01689
0.161947
0.097367
0.075509
0.038748
0.038748
0.038748
0
0.002099
0.219272
3,051
77
136
39.623377
0.842989
0.444117
0
0.137931
0
0
0.011503
0
0
0
0
0
0
1
0.275862
false
0.034483
0.103448
0.103448
0.62069
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
24117c7d924580e3bc120df361436af2772e98d6
265
py
Python
web/app/run.py
changshunwang/Poetic_Language
8ca7a61463212c0b6e9bbca4fb72d6dea26b2923
[ "MIT" ]
2
2018-03-27T08:43:49.000Z
2019-03-30T05:49:47.000Z
web/app/run.py
changshunwang/Poetic_Language
8ca7a61463212c0b6e9bbca4fb72d6dea26b2923
[ "MIT" ]
11
2018-03-15T07:45:37.000Z
2018-04-17T09:17:19.000Z
web/app/run.py
changshunwang/Poetic_Language
8ca7a61463212c0b6e9bbca4fb72d6dea26b2923
[ "MIT" ]
null
null
null
import os import sys from views import app import views path = os.path.dirname(os.path.abspath(__file__)) if __name__ == "__main__": #views.setPort(int(sys.argv[1])) app.run(host='0.0.0.0',port=int(sys.argv[1]),threaded=True,use_reloader=False,debug=True)
26.5
93
0.724528
46
265
3.891304
0.586957
0.03352
0.111732
0.122905
0
0
0
0
0
0
0
0.025316
0.10566
265
9
94
29.444444
0.729958
0.116981
0
0
0
0
0.064378
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
242dc15151b054172f765e9533d2e516d2a08689
314
py
Python
tutorials/W3D4_ContinualLearning/solutions/W3D4_Tutorial2_Solution_240f6cb7.py
justynaekert/course-content-dl
aa64d9feb1ae92ad4b7afaf13b13616b3a020c20
[ "CC-BY-4.0", "BSD-3-Clause" ]
473
2021-04-13T18:27:42.000Z
2022-03-28T14:14:35.000Z
tutorials/W3D4_ContinualLearning/solutions/W3D4_Tutorial2_Solution_240f6cb7.py
justynaekert/course-content-dl
aa64d9feb1ae92ad4b7afaf13b13616b3a020c20
[ "CC-BY-4.0", "BSD-3-Clause" ]
399
2021-06-07T20:56:59.000Z
2022-01-26T23:05:06.000Z
tutorials/W3D4_ContinualLearning/solutions/W3D4_Tutorial2_Solution_240f6cb7.py
justynaekert/course-content-dl
aa64d9feb1ae92ad4b7afaf13b13616b3a020c20
[ "CC-BY-4.0", "BSD-3-Clause" ]
170
2021-04-16T11:09:32.000Z
2022-03-31T12:13:52.000Z
""" Answer: Family History Why? The most important feature would be the one which gives the highest accuracy when used alone. This makes Family History the most important feature using it alone results in an accuracy of 0.9 as opposed to 0.875 and 0.85 when using `Is_a_smoker` and `Is_young`, respectively """;
28.545455
78
0.773885
55
314
4.363636
0.709091
0.108333
0.133333
0.191667
0
0
0
0
0
0
0
0.034483
0.16879
314
11
79
28.545455
0.885057
0.968153
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3