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
e83b7dc736833c7f1c4cdea2bcee1accf29fed9f
244
py
Python
tests/regressiontests/templates/custom.py
huicheese/Django-test3
ac11d2dce245b48392e52d1f4acfd5e7433b243e
[ "BSD-3-Clause" ]
19
2015-05-01T19:59:03.000Z
2021-12-09T08:03:16.000Z
tests/regressiontests/templates/custom.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
1
2018-01-03T15:26:49.000Z
2018-01-03T15:26:49.000Z
tests/regressiontests/templates/custom.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
30
2015-03-25T19:40:07.000Z
2021-05-28T22:59:26.000Z
from django import test from django import template custom_filters = """ >>> t = template.Template("{% load custom %}{{ string|trim:5 }}") >>> ctxt = template.Context({"string": "abcdefghijklmnopqrstuvwxyz"}) >>> t.render(ctxt) u"abcde" """
20.333333
69
0.672131
28
244
5.821429
0.642857
0.122699
0.196319
0
0
0
0
0
0
0
0
0.004717
0.131148
244
11
70
22.181818
0.764151
0
0
0
0
0
0.679012
0.320988
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e855a1c808385b471c61f224061f1e016517dda5
1,668
py
Python
maodevice/validators.py
mao-wfs/mao-device
1c1ac88067da307d210234bebd7091fe5dc982c9
[ "MIT" ]
null
null
null
maodevice/validators.py
mao-wfs/mao-device
1c1ac88067da307d210234bebd7091fe5dc982c9
[ "MIT" ]
null
null
null
maodevice/validators.py
mao-wfs/mao-device
1c1ac88067da307d210234bebd7091fe5dc982c9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from maodevice.core import BaseValidator # from maodevice.exceptions import * # OCTAD-S (Elecs, Inc.) class OctadSValidator(BaseValidator): """Validate a communication with "OCTAD-S". This class is based on "maodevice.core.BaseValidator". Note: This class is used as a met...
26.0625
79
0.6247
194
1,668
5.340206
0.360825
0.052124
0.063707
0.101351
0.71139
0.530888
0.530888
0.530888
0.530888
0.530888
0
0.016639
0.279377
1,668
64
80
26.0625
0.845258
0.608513
0
0.384615
0
0
0.04898
0
0
0
0
0
0.076923
1
0.230769
false
0.153846
0.076923
0
0.615385
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
e85686bc2e35cc751dae6f97e08112f68d1acf4a
977
py
Python
autodraft/draftHost/admin.py
gnmerritt/autodraft
b4071f9cc5eaf57beb19ba1aec99377afdbfb09a
[ "MIT" ]
null
null
null
autodraft/draftHost/admin.py
gnmerritt/autodraft
b4071f9cc5eaf57beb19ba1aec99377afdbfb09a
[ "MIT" ]
null
null
null
autodraft/draftHost/admin.py
gnmerritt/autodraft
b4071f9cc5eaf57beb19ba1aec99377afdbfb09a
[ "MIT" ]
null
null
null
import draftHost.models as models from django.contrib import admin # Will be imported from external sources: admin.site.register(models.NflConference) admin.site.register(models.NflDivision) admin.site.register(models.NflTeam) admin.site.register(models.NflPosition) admin.site.register(models.NflPlayer) admin.site.reg...
31.516129
50
0.829069
128
977
6.328125
0.414063
0.188889
0.35679
0.482716
0
0
0
0
0
0
0
0
0.069601
977
30
51
32.566667
0.891089
0.201638
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.105263
0
0.105263
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e8667b3b969045c1d92961d97490862622973201
872
py
Python
data_transforms.py
theophil-trippe/HDC_TUBerlin_version_1
40342c09a8cdbbaa446536284eb92c1fd537cd75
[ "MIT" ]
2
2021-11-05T09:26:12.000Z
2021-11-05T09:39:04.000Z
data_transforms.py
theophil-trippe/HDC_TUBerlin_version_2
0096c3c4fb6cc4b8b4a783a8bd26edc02f7f6a38
[ "MIT" ]
1
2021-11-05T09:37:41.000Z
2021-11-06T21:14:57.000Z
data_transforms.py
theophil-trippe/HDC_TUBerlin_version_1
40342c09a8cdbbaa446536284eb92c1fd537cd75
[ "MIT" ]
null
null
null
import torch # ----- data transforms ----- class Permute(object): """ Permute order of input tuples. """ def __init__(self, perm): self.perm = perm def __call__(self, inputs): out = tuple([inputs[k] for k in self.perm]) return out class Shift(object): """ Shift. """ def...
22.358974
98
0.627294
112
872
4.508929
0.348214
0.108911
0.087129
0.134653
0.136634
0
0
0
0
0
0
0.006042
0.240826
872
38
99
22.947368
0.756798
0.086009
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.363636
false
0
0.045455
0.136364
0.772727
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
e886ee3157adf7e42f3c2a056a3f0f18eb3bd330
163
py
Python
n00b_bot/leaderboard/image.py
spenpal2000/noob-bot
e79852f00589ba71e906865e0778d6e34cdf02f4
[ "MIT" ]
null
null
null
n00b_bot/leaderboard/image.py
spenpal2000/noob-bot
e79852f00589ba71e906865e0778d6e34cdf02f4
[ "MIT" ]
1
2022-03-13T19:21:09.000Z
2022-03-13T19:21:09.000Z
n00b_bot/leaderboard/image.py
spenpal2000/noob-bot
e79852f00589ba71e906865e0778d6e34cdf02f4
[ "MIT" ]
null
null
null
########### # IMPORTS # ########### # Standard Library Imports # Third Party Library Imports # Local Library Imports ############# # FUNCTIONS # #############
11.642857
29
0.496933
12
163
6.75
0.583333
0.518519
0
0
0
0
0
0
0
0
0
0
0.165644
163
14
30
11.642857
0.595588
0.570552
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e8903f93c0285a51514298b4e0b8e81a02a9a8fa
1,609
py
Python
utilities/helper.py
applied-exploration/multi-drl
3e5d76e174469693ab7a748d0db0a7fc30a9e760
[ "MIT" ]
null
null
null
utilities/helper.py
applied-exploration/multi-drl
3e5d76e174469693ab7a748d0db0a7fc30a9e760
[ "MIT" ]
7
2021-04-19T12:58:34.000Z
2021-04-28T11:26:23.000Z
utilities/helper.py
applied-exploration/multi-drl
3e5d76e174469693ab7a748d0db0a7fc30a9e760
[ "MIT" ]
null
null
null
import os.path import torch # from constants import * # Capital lettered variables are constants from the constants.py file # def get_constant_string(config): # for_title = "Network:: A: {} | C: {}\nLearning:: LR_A: {} | LR_C: {} | TAU: {} \nNoise:: MU: {} | THETA: {} | SIGMA: {}\nBuffer:: Size: {} | ...
39.243902
327
0.697328
227
1,609
4.726872
0.38326
0.048462
0.039143
0.026095
0.139795
0.139795
0.139795
0.091333
0.091333
0.091333
0
0
0.174643
1,609
41
328
39.243902
0.807982
0.410814
0
0
0
0
0.12766
0
0
0
0
0
0
1
0.217391
false
0
0.086957
0.173913
0.521739
0.086957
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
e89abd5ce054dd4cadc33d4ad8f43be14c2c1735
939
py
Python
desktop/core/ext-py/boto-2.46.1/tests/fps/test_verify_signature.py
soongxin/hhue
acf5e0985c2d64b370d25754095e2231899e4c79
[ "Apache-2.0" ]
1
2020-05-17T06:40:33.000Z
2020-05-17T06:40:33.000Z
desktop/core/ext-py/boto-2.46.1/tests/fps/test_verify_signature.py
soongxin/hhue
acf5e0985c2d64b370d25754095e2231899e4c79
[ "Apache-2.0" ]
4
2020-07-21T12:51:46.000Z
2022-01-22T10:29:25.000Z
desktop/core/ext-py/boto-2.46.1/tests/fps/test_verify_signature.py
soongxin/hhue
acf5e0985c2d64b370d25754095e2231899e4c79
[ "Apache-2.0" ]
1
2020-07-25T18:17:57.000Z
2020-07-25T18:17:57.000Z
from boto.fps.connection import FPSConnection def test(): conn = FPSConnection() # example response from the docs params = 'expiry=08%2F2015&signature=ynDukZ9%2FG77uSJVb5YM0cadwHVwYKPMKOO3PNvgADbv6VtymgBxeOWEhED6KGHsGSvSJnMWDN%2FZl639AkRe9Ry%2F7zmn9CmiM%2FZkp1XtshERGTqi2YL10GwQpaH17MQqOX3u1cW4LlyFoLy4celUF...
72.230769
668
0.86049
76
939
10.513158
0.881579
0
0
0
0
0
0
0
0
0
0
0.122172
0.058573
939
12
669
78.25
0.781674
0.031949
0
0
0
0.125
0.77839
0.719956
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e89f9d8555ead9fd8de0b5fb207b95af19540d5c
360
py
Python
other/dingding/dingtalk/api/rest/OapiHealthStepinfoListbyuseridRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
other/dingding/dingtalk/api/rest/OapiHealthStepinfoListbyuseridRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
other/dingding/dingtalk/api/rest/OapiHealthStepinfoListbyuseridRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
''' Created by auto_sdk on 2018.07.25 ''' from dingtalk.api.base import RestApi class OapiHealthStepinfoListbyuseridRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.stat_date = None self.userids = None def getHttpMethod(self): return 'POST' def getapiname(self): return 'ding...
22.5
53
0.763889
47
360
5.638298
0.680851
0.060377
0.083019
0
0
0
0
0
0
0
0
0.025397
0.125
360
15
54
24
0.815873
0.091667
0
0
0
0
0.144201
0.131661
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
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
e8aad1ad568ffc555a7183686bd9fd4f49e4b8b3
1,410
py
Python
fixtura/session.py
AlinaSapaeva/python_training
9a80692c91323e366265cb727132b2279b62184a
[ "Apache-2.0" ]
1
2019-08-02T12:06:24.000Z
2019-08-02T12:06:24.000Z
fixtura/session.py
AlinaSapaeva/python_training
9a80692c91323e366265cb727132b2279b62184a
[ "Apache-2.0" ]
null
null
null
fixtura/session.py
AlinaSapaeva/python_training
9a80692c91323e366265cb727132b2279b62184a
[ "Apache-2.0" ]
null
null
null
import time class SessionHelper: def __init__(self,app): self.app=app def login(self, username, password): wb = self.app.wb self.app.open_home_page() wb.find_element_by_name("user").click() wb.find_element_by_name("user").clear() wb.find_element_by_name("user")...
27.115385
73
0.606383
198
1,410
4.025253
0.242424
0.075282
0.146801
0.169385
0.435383
0.303639
0
0
0
0
0
0.004817
0.26383
1,410
51
74
27.647059
0.763006
0
0
0.263158
0
0
0.055477
0.016358
0
0
0
0
0
1
0.210526
false
0.157895
0.026316
0
0.368421
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
e8b0a2772fea42f50905219d52a8086af3079c02
3,787
py
Python
src/niveristand/_translation/py2rtseq/transformers.py
arnoldcsorvasi/niveristand-python
39e5593e10bb372c801d6fa521e8fc166dab8cfe
[ "MIT" ]
6
2018-07-04T10:59:43.000Z
2022-03-24T13:34:33.000Z
src/niveristand/_translation/py2rtseq/transformers.py
arnoldcsorvasi/niveristand-python
39e5593e10bb372c801d6fa521e8fc166dab8cfe
[ "MIT" ]
14
2018-11-05T20:05:33.000Z
2022-03-10T12:54:58.000Z
src/niveristand/_translation/py2rtseq/transformers.py
arnoldcsorvasi/niveristand-python
39e5593e10bb372c801d6fa521e8fc166dab8cfe
[ "MIT" ]
15
2018-07-04T07:58:49.000Z
2022-02-22T16:35:26.000Z
import ast import sys from niveristand._translation.py2rtseq import assign_transformer from niveristand._translation.py2rtseq import attribute_transformer from niveristand._translation.py2rtseq import augassign_transformer from niveristand._translation.py2rtseq import binaryoperator_transformer from niveristand._transl...
57.378788
95
0.865593
405
3,787
7.548148
0.116049
0.13739
0.238142
0.311416
0.463526
0.450442
0
0
0
0
0
0.008603
0.079218
3,787
65
96
58.261538
0.868081
0
0
0
0
0
0.001848
0
0
0
0
0
0
1
0
false
0.032258
0.483871
0
0.483871
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
e8b2c62fb9ef4add2bafa0eb6e7b94509f5a76fa
145
py
Python
tests/test_DefaultBlueprint.py
ethanphunter/Flask_Template
f1ded37cd5cfa475e80e0c383a10917a8741cd0d
[ "MIT" ]
null
null
null
tests/test_DefaultBlueprint.py
ethanphunter/Flask_Template
f1ded37cd5cfa475e80e0c383a10917a8741cd0d
[ "MIT" ]
8
2018-05-16T18:43:23.000Z
2019-10-01T17:48:25.000Z
tests/test_DefaultBlueprint.py
ethanphunter/Flask_Template
f1ded37cd5cfa475e80e0c383a10917a8741cd0d
[ "MIT" ]
null
null
null
import pytest def test_ping_route(client): """Test the /ping endpoint.""" r = client.get('/default/ping') assert b'pong' in r.data
18.125
35
0.648276
22
145
4.181818
0.772727
0
0
0
0
0
0
0
0
0
0
0
0.2
145
7
36
20.714286
0.793103
0.165517
0
0
0
0
0.147826
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e8c1ad2ece52df54497d1f7ac7e8fa3842c85f9e
476
py
Python
mega/match/functions/not_.py
felipead/sqs-mega-python
82da3b1650a891336c13c80648edda3d3d2967de
[ "MIT" ]
null
null
null
mega/match/functions/not_.py
felipead/sqs-mega-python
82da3b1650a891336c13c80648edda3d3d2967de
[ "MIT" ]
1
2020-05-19T18:57:05.000Z
2020-05-19T18:57:05.000Z
mega/match/functions/not_.py
mega-distributed/sqs-mega-python
82da3b1650a891336c13c80648edda3d3d2967de
[ "MIT" ]
null
null
null
from mega.match.functions.higher_order import HigherOrderFunction from mega.match.functions.identity import identity from mega.match.types import ValueType, RightHandSideType class Not(HigherOrderFunction): def __init__(self, rhs: RightHandSideType): super().__init__(identity(rhs)) def evaluate(self...
22.666667
65
0.726891
60
476
5.6
0.4
0.071429
0.116071
0.130952
0.107143
0
0
0
0
0
0
0
0.170168
476
20
66
23.8
0.850633
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.25
0.25
0.916667
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
e8d4d30350b20fb12cdb1721666b3e695a9fab6c
488
py
Python
src/importer/known_job_variants.py
tiefenauer/ip7-python
512105ba39110ec77d2ea0961dd7c2a42d4ec26d
[ "MIT" ]
null
null
null
src/importer/known_job_variants.py
tiefenauer/ip7-python
512105ba39110ec77d2ea0961dd7c2a42d4ec26d
[ "MIT" ]
null
null
null
src/importer/known_job_variants.py
tiefenauer/ip7-python
512105ba39110ec77d2ea0961dd7c2a42d4ec26d
[ "MIT" ]
null
null
null
from src.importer.known_jobs import KnownJobs from src.util import jobtitle_util from src.util.singleton import Singleton class KnownJobVariants(metaclass=Singleton): """Singleton for all job names and their variants""" def __init__(self): self.known_job_variants = [(job_name, jobtitle_util.create_va...
32.533333
115
0.747951
67
488
5.134328
0.41791
0.101744
0.063953
0.116279
0
0
0
0
0
0
0
0
0.17623
488
14
116
34.857143
0.855721
0.094262
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
e8d533628db6c71d7519a393b6c8f6f472433e8b
1,359
py
Python
setup.py
InQuant/djangocms-search
3bc280dc45852002e68b6b6a755ee23b371009d6
[ "MIT" ]
null
null
null
setup.py
InQuant/djangocms-search
3bc280dc45852002e68b6b6a755ee23b371009d6
[ "MIT" ]
null
null
null
setup.py
InQuant/djangocms-search
3bc280dc45852002e68b6b6a755ee23b371009d6
[ "MIT" ]
null
null
null
from cms_search import __version__ from setuptools import setup setup( name='djangocms-search', version=__version__, author='InQuant GmbH', author_email='info@inquant.de', packages=['cms_search'], url='https://github.com/InQuant/cms_search', license='MIT', description='App to add elasti...
36.72973
101
0.631347
141
1,359
5.93617
0.595745
0.158901
0.20908
0.18638
0
0
0
0
0
0
0
0.010496
0.228845
1,359
36
102
37.75
0.788168
0
0
0
0
0
0.556291
0
0
0
0
0
0
1
0
true
0
0.057143
0
0.057143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2cd398d41167e4cb971b30f0982bf14118617b79
344
py
Python
resource_provisioning/run_script.py
PredOptwithSoftConstraint/PredOptwithSoftConstraint
c0ec41a8c2c48034851cf04cd848013ceba1dd40
[ "MIT" ]
7
2021-12-12T15:23:28.000Z
2022-01-15T23:24:02.000Z
resource_provisioning/run_script.py
PredOptwithSoftConstraint/PredOptwithSoftConstraint
c0ec41a8c2c48034851cf04cd848013ceba1dd40
[ "MIT" ]
null
null
null
resource_provisioning/run_script.py
PredOptwithSoftConstraint/PredOptwithSoftConstraint
c0ec41a8c2c48034851cf04cd848013ceba1dd40
[ "MIT" ]
3
2021-12-23T01:02:59.000Z
2022-01-14T02:12:40.000Z
import os for i in range(10,15): os.system("python run_main_newnet.py --method=1 --seed="+str(i+16900000)+" --loss=l1") # os.system("python run_main_synth.py --method=1 --dim_context="+str(size[j])+" --dim_hard="+str(hard[j])+" --dim_soft="+str(soft[j])+" --seed="+str((i * 123498129 + j * 1324879 + 12958791...
57.333333
218
0.622093
57
344
3.631579
0.596491
0.077295
0.135266
0.164251
0.202899
0
0
0
0
0
0
0.159468
0.125
344
5
219
68.8
0.528239
0.601744
0
0
0
0
0.406015
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
2cd6f6cd095a7b46e9ed515fcea43e7dc28a7448
157
py
Python
pra subir/pythonexercicios/au10a.py
daianebandeira88/curso-python
763f5f36b6d7329549ad861c63acc3c84aade887
[ "MIT" ]
null
null
null
pra subir/pythonexercicios/au10a.py
daianebandeira88/curso-python
763f5f36b6d7329549ad861c63acc3c84aade887
[ "MIT" ]
null
null
null
pra subir/pythonexercicios/au10a.py
daianebandeira88/curso-python
763f5f36b6d7329549ad861c63acc3c84aade887
[ "MIT" ]
null
null
null
nome=str(input('digite seu nome')) if nome== 'daiane': print('que nome lindo !') else: print('seu nome é comun') print('boa noite {}'.format(nome))
19.625
34
0.630573
24
157
4.125
0.666667
0.141414
0
0
0
0
0
0
0
0
0
0
0.171975
157
7
35
22.428571
0.761538
0
0
0
0
0
0.416667
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
fa276e2150048aa8dc82d7d6c2bb0687cd48827b
1,339
py
Python
active_learning_cfd/custom_sampling.py
ImperialCollegeLondon/al_cfd_benchmark
03b51d7e7d4def804e2ac18084deee8401636851
[ "MIT" ]
6
2020-09-27T00:14:48.000Z
2021-11-23T03:35:09.000Z
active_learning_cfd/custom_sampling.py
ImperialCollegeLondon/al_cfd_benchmark
03b51d7e7d4def804e2ac18084deee8401636851
[ "MIT" ]
null
null
null
active_learning_cfd/custom_sampling.py
ImperialCollegeLondon/al_cfd_benchmark
03b51d7e7d4def804e2ac18084deee8401636851
[ "MIT" ]
2
2020-09-27T17:40:33.000Z
2021-12-13T02:31:49.000Z
import numpy as np from sklearn.metrics import pairwise_distances def probabilistic_std_sampling(regressor, X): _, std = regressor.predict(X, return_std=True) query_idx = np.argmax(std) return query_idx, X[query_idx] def random_sampling(regressor, X): query_idx = np.random.choice(np.arange(len(X)), ...
31.880952
73
0.737117
207
1,339
4.449275
0.198068
0.130293
0.058632
0.110749
0.739414
0.739414
0.733985
0.705755
0.527687
0.527687
0
0.011525
0.15758
1,339
41
74
32.658537
0.804965
0
0
0.451613
0
0
0
0
0
0
0
0
0
1
0.16129
false
0
0.064516
0
0.387097
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
fa27c9f6ef912b85073e22881d6b9f399be6bcb7
459
py
Python
visual/wrapper.py
pytorchbearer/visual
2a3a0c8c5f206c878c04e0790fc924133754f567
[ "MIT" ]
9
2019-06-05T09:24:23.000Z
2021-09-06T04:35:54.000Z
visual/wrapper.py
ethanwharris/visual
2a3a0c8c5f206c878c04e0790fc924133754f567
[ "MIT" ]
13
2019-08-13T09:38:06.000Z
2019-10-28T15:02:39.000Z
visual/wrapper.py
pytorchbearer/visual
2a3a0c8c5f206c878c04e0790fc924133754f567
[ "MIT" ]
null
null
null
from visual.redirect_relu import RedirectReLUs from visual.models.utils import IntermediateLayerGetter def wrap(model): """ Wrap model to prepare for visualisations. Redirects ReLU modules for the first 16 batches and stores references to all intermediate layers such that they can be retrieved for ascending. ...
28.6875
119
0.749455
55
459
6.236364
0.727273
0.058309
0
0
0
0
0
0
0
0
0
0.005479
0.204793
459
15
120
30.6
0.934247
0.529412
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
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
1
0
0
1
0
1
0
0
3
fa2dc49fb4cea11c210842469711f1d726920c0a
346
py
Python
my_nn/losses/__init__.py
zerowing-ex/Machine_Learning
2c540cf25588ddf598749362d461f131c17581ce
[ "MIT" ]
null
null
null
my_nn/losses/__init__.py
zerowing-ex/Machine_Learning
2c540cf25588ddf598749362d461f131c17581ce
[ "MIT" ]
null
null
null
my_nn/losses/__init__.py
zerowing-ex/Machine_Learning
2c540cf25588ddf598749362d461f131c17581ce
[ "MIT" ]
null
null
null
__all__ = ['get', 'LossFunction', 'BinaryCrossentropy', 'CategoricalCrossentropy', 'SparseCategoricalCrossentropy'] from my_nn.losses.loss import get, LossFunction from my_nn.losses.probabilistic_losses import BinaryCrossentropy, CategoricalCrossentropy, SparseCategoricalCrossentropy from my_nn.losses.regression_losse...
57.666667
120
0.858382
32
346
9
0.46875
0.0625
0.083333
0.145833
0.583333
0.583333
0.583333
0
0
0
0
0
0.066474
346
5
121
69.2
0.891641
0
0
0
0
0
0.245665
0.150289
0
0
0
0
0
1
0
false
0
0.75
0
0.75
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
fa3db7de08244dcd7ca07747b0d8d3786aa780f3
2,131
py
Python
apps/staff/migrations/0002_auto_20200202_1653.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
3
2021-03-12T18:32:39.000Z
2021-11-08T10:21:04.000Z
apps/staff/migrations/0002_auto_20200202_1653.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
null
null
null
apps/staff/migrations/0002_auto_20200202_1653.py
mehrbodjavadi79/AIC21-Backend
9f4342781f0722804a2eb704b43b52984c81b40a
[ "MIT" ]
2
2021-01-29T14:52:53.000Z
2022-03-05T10:24:24.000Z
# Generated by Django 2.2.8 on 2020-02-02 16:53 import apps.staff.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('staff', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='staff', name=...
29.191781
83
0.539653
198
2,131
5.606061
0.257576
0.089189
0.138739
0.178378
0.725225
0.725225
0.617117
0.498198
0.456757
0.456757
0
0.028531
0.342093
2,131
72
84
29.597222
0.763195
0.021117
0
0.651515
1
0
0.084453
0
0
0
0
0
0
1
0
false
0
0.030303
0
0.075758
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fa45e8fb7b572f9fb1d56598332377987b3d3f5f
330
py
Python
Algorithms/python/Greedy/min_fee.py
tkxkd0159/dsalgo
88ab07d5763a28a415e4eab752839e19061b0b3a
[ "MIT" ]
null
null
null
Algorithms/python/Greedy/min_fee.py
tkxkd0159/dsalgo
88ab07d5763a28a415e4eab752839e19061b0b3a
[ "MIT" ]
3
2022-02-10T04:19:00.000Z
2022-02-10T04:21:26.000Z
Algorithms/python/Greedy/min_fee.py
tkxkd0159/dsalgo
88ab07d5763a28a415e4eab752839e19061b0b3a
[ "MIT" ]
null
null
null
def min_fee(print_page_list): sum_ = 0 prev = 0 for i in sorted(print_page_list): sum_ += (prev + i) prev += i return sum_ if __name__ == "__main__": print(min_fee([6, 11, 4, 1])) print(min_fee([3, 2, 1])) print(min_fee([3, 1, 4, 3, 2])) print(min_fee([8, 4, 2, 3, 9, 23...
22
45
0.527273
59
330
2.610169
0.440678
0.194805
0.285714
0.207792
0.168831
0
0
0
0
0
0
0.102564
0.290909
330
14
46
23.571429
0.555556
0
0
0
0
0
0.024242
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.166667
0.5
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
fa4f77870bbf29a94cbb7a97aedad1a4a21acee6
1,217
py
Python
blog/models.py
shivam0501/CC-PROJECT
74797b648c8b9d45ac063669320d97ccaafec902
[ "Unlicense" ]
2
2021-04-26T14:43:21.000Z
2022-02-22T05:54:11.000Z
blog/models.py
shivam0501/CC-PROJECT
74797b648c8b9d45ac063669320d97ccaafec902
[ "Unlicense" ]
null
null
null
blog/models.py
shivam0501/CC-PROJECT
74797b648c8b9d45ac063669320d97ccaafec902
[ "Unlicense" ]
4
2020-12-16T10:10:28.000Z
2022-02-22T05:53:43.000Z
from django.db import models from django.utils import timezone from django.contrib.auth.models import User from django.urls import reverse from PIL import Image # defining a database table for posts class Post(models.Model): title = models.CharField(max_length=100) content = models.TextField() date_posted...
43.464286
114
0.756779
179
1,217
5.061453
0.581006
0.04415
0.019868
0.037528
0
0
0
0
0
0
0
0.002938
0.161052
1,217
27
115
45.074074
0.884427
0.408381
0
0
0
0
0.033755
0
0
0
0
0
0
1
0.125
false
0
0.3125
0.125
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
fa6376407a68e1cb33c53e88cb4c85c689624ee5
371
py
Python
app/onlib/admin.py
gladunvv/library-api
5975bd6cd86e468354c8b05daa1f82c7a02350a2
[ "MIT" ]
null
null
null
app/onlib/admin.py
gladunvv/library-api
5975bd6cd86e468354c8b05daa1f82c7a02350a2
[ "MIT" ]
7
2020-06-06T00:26:17.000Z
2022-02-10T12:17:47.000Z
app/onlib/admin.py
gladunvv/library-api
5975bd6cd86e468354c8b05daa1f82c7a02350a2
[ "MIT" ]
null
null
null
from django.contrib import admin from onlib.models import Author, Book, Genre @admin.register(Book) class AdminBook(admin.ModelAdmin): list_display = ('title',) @admin.register(Genre) class AdminGenre(admin.ModelAdmin): list_display = ('title',) @admin.register(Author) class AdminAuthor(admin.ModelAdmin...
17.666667
46
0.735849
45
371
5.955556
0.488889
0.145522
0.212687
0.291045
0.328358
0.328358
0.328358
0
0
0
0
0
0.134771
371
20
47
18.55
0.834891
0
0
0.181818
0
0
0.078167
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.727273
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3aff55c0c6d7a9a00b84f5f06a85c41193390230
938
py
Python
tests/test_builtin.py
bmampaey/django-form-renderer
b56eecb16bb8f7a47667aec8baf1ffcc0cd5b776
[ "MIT" ]
1
2020-10-09T15:27:47.000Z
2020-10-09T15:27:47.000Z
tests/test_builtin.py
bmampaey/django-form-renderer
b56eecb16bb8f7a47667aec8baf1ffcc0cd5b776
[ "MIT" ]
null
null
null
tests/test_builtin.py
bmampaey/django-form-renderer
b56eecb16bb8f7a47667aec8baf1ffcc0cd5b776
[ "MIT" ]
null
null
null
from django.test import TestCase from django.template.loader import get_template from forms import BuiltinForm class TestBuiltin(TestCase): def setUp(self): self.template = get_template('default/form.html') def test_unbound(self): form = BuiltinForm() self.assertHTMLEqual(str(form), self.template.render({'f...
31.266667
71
0.728145
117
938
5.777778
0.247863
0.106509
0.195266
0.230769
0.628698
0.628698
0.628698
0.628698
0.628698
0.628698
0
0
0.122601
938
29
72
32.344828
0.821385
0
0
0.285714
0
0
0.04371
0
0
0
0
0
0.285714
1
0.190476
false
0
0.142857
0
0.380952
0
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d70668654e1813221c79c75ac4932b19e0d1534d
87
py
Python
superset/Insights/insights_common.py
iamdsv/incubator-superset
9bb7d139768e714b7a3d25062b8fe4b94906d608
[ "Apache-2.0" ]
null
null
null
superset/Insights/insights_common.py
iamdsv/incubator-superset
9bb7d139768e714b7a3d25062b8fe4b94906d608
[ "Apache-2.0" ]
null
null
null
superset/Insights/insights_common.py
iamdsv/incubator-superset
9bb7d139768e714b7a3d25062b8fe4b94906d608
[ "Apache-2.0" ]
null
null
null
from enum import Enum class InsightType(Enum): Correlation = 1 ProcessExit = 2
17.4
24
0.712644
11
87
5.636364
0.818182
0
0
0
0
0
0
0
0
0
0
0.029851
0.229885
87
5
25
17.4
0.895522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
d74cd8b3e5ec210f9bc81c303077363d77ddf936
232
py
Python
paa191t1/tests/bottles/test_binary_search.py
dmmoura/PAA-2021
435005f6494ece76f03807fb524e0d4a3e1d7222
[ "Apache-2.0" ]
null
null
null
paa191t1/tests/bottles/test_binary_search.py
dmmoura/PAA-2021
435005f6494ece76f03807fb524e0d4a3e1d7222
[ "Apache-2.0" ]
null
null
null
paa191t1/tests/bottles/test_binary_search.py
dmmoura/PAA-2021
435005f6494ece76f03807fb524e0d4a3e1d7222
[ "Apache-2.0" ]
null
null
null
from paa191t1.bottles.binary_search import bottles from paa191t1.tests.bottles.test_binary_search_base import TestBinarySearchBase class TestBinarySearch(TestBinarySearchBase): def setUp(self): self.bottles = bottles
25.777778
79
0.814655
26
232
7.115385
0.576923
0.12973
0
0
0
0
0
0
0
0
0
0.039604
0.12931
232
8
80
29
0.876238
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d768f65c0b29da8b5664a90e8c099acdb4a712b9
777
py
Python
app/main/forms.py
BrianNgeno/Goal-IP
c9f6128950d114bc94ba13680af4e4d1342e0415
[ "MIT" ]
null
null
null
app/main/forms.py
BrianNgeno/Goal-IP
c9f6128950d114bc94ba13680af4e4d1342e0415
[ "MIT" ]
null
null
null
app/main/forms.py
BrianNgeno/Goal-IP
c9f6128950d114bc94ba13680af4e4d1342e0415
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, BooleanField, TextAreaField, SelectField from wtforms.validators import Required, Email, EqualTo from ..models import User from wtforms import ValidationError class UpdateProfile(FlaskForm): bio = TextAreaField('Tell us ab...
40.894737
162
0.747748
80
777
7.2125
0.5375
0.057192
0.119584
0.097054
0
0
0
0
0
0
0
0
0.118404
777
19
163
40.894737
0.842336
0
0
0.2
0
0
0.181234
0
0
0
0
0
0
1
0
false
0.066667
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
d771fa5b066c2ca4f0ff05f8ef7e87bfc70d1a1c
676
py
Python
listings/views.py
EwanWatson/real-estate-app
d7e4cc2b0730b43107e4eb7f489128407bad7c0d
[ "MIT" ]
null
null
null
listings/views.py
EwanWatson/real-estate-app
d7e4cc2b0730b43107e4eb7f489128407bad7c0d
[ "MIT" ]
6
2020-09-29T15:52:38.000Z
2022-03-12T00:48:54.000Z
listings/views.py
EwanWatson/real-estate-app
d7e4cc2b0730b43107e4eb7f489128407bad7c0d
[ "MIT" ]
null
null
null
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from django.shortcuts import render from .models import Listing # Create your views here. def index(request): listings = Listing.objects.order_by('-list_date').filter(is_published=True) paginator = Paginator(listings,3) page_number =...
32.190476
79
0.742604
83
676
5.939759
0.457831
0.121704
0.115619
0.1643
0
0
0
0
0
0
0
0.001739
0.149408
676
21
80
32.190476
0.855652
0.034024
0
0
0
0
0.130368
0.065951
0
0
0
0
0
1
0.1875
false
0
0.1875
0.125
0.5625
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
0
1
1
0
0
3
d7747512d5f549aa164c806fff37c944f7a85866
5,664
py
Python
api/services/v1/object_load_pb2.py
cpfaff/py.nfdi.core.storage
306cff52c32517df3747533bd4a2850d15ad0956
[ "Apache-2.0" ]
null
null
null
api/services/v1/object_load_pb2.py
cpfaff/py.nfdi.core.storage
306cff52c32517df3747533bd4a2850d15ad0956
[ "Apache-2.0" ]
null
null
null
api/services/v1/object_load_pb2.py
cpfaff/py.nfdi.core.storage
306cff52c32517df3747533bd4a2850d15ad0956
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: api/services/v1/object_load.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection...
56.079208
1,379
0.824682
712
5,664
6.162921
0.217697
0.065178
0.06814
0.05629
0.485871
0.458295
0.36258
0.323838
0.253418
0.253418
0
0.061661
0.066561
5,664
100
1,380
56.64
0.7683
0.039901
0
0.296296
1
0.08642
0.42465
0.400516
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d7935efdbe1c1ff991a8a3b5ec173698d15e8d7d
4,244
py
Python
slate/obsidian/objects/events.py
OpenRobot-Packages/slate
687a73dab1fac2e8b1d65297f1fdef0ec8301a16
[ "MIT" ]
9
2021-01-24T00:47:36.000Z
2021-09-15T07:25:08.000Z
slate/obsidian/objects/events.py
OpenRobot-Packages/slate
687a73dab1fac2e8b1d65297f1fdef0ec8301a16
[ "MIT" ]
1
2021-06-17T00:42:54.000Z
2021-06-17T00:42:54.000Z
slate/obsidian/objects/events.py
OpenRobot-Packages/slate
687a73dab1fac2e8b1d65297f1fdef0ec8301a16
[ "MIT" ]
3
2021-01-06T09:53:21.000Z
2021-09-08T05:01:39.000Z
# Future from __future__ import annotations # Standard Library from typing import Any # My stuff from slate.objects.enums import ErrorSeverity, EventType, TrackEndReason __all__ = ( "BaseEvent", "WebsocketOpen", "WebsocketClosed", "TrackStart", "TrackEnd", "TrackStuck", "TrackException",...
21.989637
155
0.619227
503
4,244
4.890656
0.111332
0.056911
0.073984
0.056911
0.464228
0.456098
0.456098
0.420732
0.323984
0.308537
0
0
0.246701
4,244
192
156
22.104167
0.769471
0.00754
0
0.446429
0
0.026786
0.191859
0.143537
0
0
0
0
0
1
0.267857
false
0
0.026786
0.205357
0.5625
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
ad052e62c7bc6a4cf007bef605e4b33342e58b5c
473
py
Python
tests/fixtures/sample_checklists/simple.py
michalbachowski/python-checklisting
31cbe1fb87683ffbb21104585e318d844fc7c52b
[ "MIT" ]
null
null
null
tests/fixtures/sample_checklists/simple.py
michalbachowski/python-checklisting
31cbe1fb87683ffbb21104585e318d844fc7c52b
[ "MIT" ]
null
null
null
tests/fixtures/sample_checklists/simple.py
michalbachowski/python-checklisting
31cbe1fb87683ffbb21104585e318d844fc7c52b
[ "MIT" ]
null
null
null
from pathlib import Path from checklisting.loaders import BaseChecklistSourceConfiguration from checklisting.loaders.pyspd import PySPDChecklistProvider from checklisting.task import Checklist from checklisting.tasks.path import FileExistsTask class SimpleChecklistProvider(PySPDChecklistProvider): def get_check...
36.384615
90
0.843552
43
473
9.139535
0.511628
0.16285
0.117048
0
0
0
0
0
0
0
0
0
0.099366
473
12
91
39.416667
0.922535
0
0
0
0
0
0.033827
0
0
0
0
0
0
1
0.125
false
0
0.625
0.125
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
ad19a9fae3752820fb697104eb3f20a23e95ee1f
561
py
Python
examples/tlstest/client.py
irmen/Pyro3
5bd531088d9a11ec83556a0429f18df6cb5cd437
[ "MIT" ]
3
2018-01-13T20:50:41.000Z
2020-02-24T13:35:08.000Z
examples/tlstest/client.py
irmen/Pyro3
5bd531088d9a11ec83556a0429f18df6cb5cd437
[ "MIT" ]
null
null
null
examples/tlstest/client.py
irmen/Pyro3
5bd531088d9a11ec83556a0429f18df6cb5cd437
[ "MIT" ]
6
2015-03-21T20:34:05.000Z
2021-06-08T04:04:33.000Z
import Pyro.core uri=raw_input("paste uri:") obj1=Pyro.core.getProxyForURI(uri) obj1._setOneway("oneway") obj2=Pyro.core.getProxyForURI(uri) obj2._setOneway("oneway") print "obj1.ping" obj1.ping() print "obj1.ping" obj1.ping() print "obj2.ping" obj2.ping() print "obj2.ping" obj2.ping() print "obj1.onewa...
20.035714
35
0.709447
78
561
5.064103
0.205128
0.151899
0.162025
0.212658
0.488608
0.478481
0.308861
0.179747
0.179747
0
0
0.048682
0.121212
561
27
36
20.777778
0.752536
0
0
0.615385
0
0
0.273408
0
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.461538
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
1
0
0
0
0
0
0
1
0
3
ad38a738133d340e1b9be8f175cb9a6e0ac2ae1f
1,314
py
Python
lfsr-taps.py
andrea-gi/microbench
c7ff996070bcee708df3c1dbd43d064c73c41c66
[ "MIT" ]
11
2015-04-20T18:48:39.000Z
2022-03-13T20:52:25.000Z
lfsr-taps.py
andrea-gi/microbench
c7ff996070bcee708df3c1dbd43d064c73c41c66
[ "MIT" ]
6
2019-07-10T21:27:11.000Z
2019-07-18T15:31:55.000Z
lfsr-taps.py
andrea-gi/microbench
c7ff996070bcee708df3c1dbd43d064c73c41c66
[ "MIT" ]
7
2017-12-24T01:31:16.000Z
2022-03-10T15:06:32.000Z
#!/bin/python import math count=5 print "bits #Elements #HEX_VAL Taps" for i in [ [5,4,3,2], \ [6,5,3,2], \ [7,6,5,4], \ [8,6,5,4], \ [9,8,6,5], \ [10,9,7,6], \ [11,10,9,7], \ [12,11,8,6], \ [13,12,10,9], \ [14,13,11,9], \ [15,14,13,11],\ [16,14,13,11],\ [17,16,15,14],\ [18,17,16,13],\ [19,1...
15.642857
100
0.467275
296
1,314
2.070946
0.304054
0.013051
0.029364
0.035889
0
0
0
0
0
0
0
0.422977
0.125571
1,314
83
101
15.831325
0.110531
0.408676
0
0
0
0
0.064953
0
0
0
0
0
0
0
null
null
0
0.026316
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
ad3aa459bb6f469565c41097abf4ad0747a336cd
2,073
py
Python
2017/22/solve.py
lamperi/aoc
1781dcbac0be18a086c10a9b76fb6a2d3595523c
[ "MIT" ]
null
null
null
2017/22/solve.py
lamperi/aoc
1781dcbac0be18a086c10a9b76fb6a2d3595523c
[ "MIT" ]
null
null
null
2017/22/solve.py
lamperi/aoc
1781dcbac0be18a086c10a9b76fb6a2d3595523c
[ "MIT" ]
null
null
null
example = """..# #.. ...""" import os.path INPUT=os.path.join(os.path.dirname(__file__), "input.txt") with open(INPUT) as f: data = f.read().strip() def func(inp, iterations, size=21): data = [['.' for b in range(size)] for a in range(size)] offset = int((size - len(inp.splitlines()))/2) for i, line in...
28.39726
60
0.491558
283
2,073
3.586572
0.233216
0.094581
0.078818
0.110345
0.728079
0.728079
0.728079
0.680788
0.680788
0.680788
0
0.056859
0.321274
2,073
72
61
28.791667
0.664534
0.004342
0
0.633333
0
0
0.052351
0
0
0
0
0
0
1
0.033333
false
0
0.016667
0
0.083333
0.083333
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
ad78592b870946f600f3092f7d3cd3383ffbaa46
42
py
Python
parachuteCore/__init__.py
aguilarjose11/ParachuteTimeSheetTimeMngmntSystem
9cc6b179a114be930eb3c5abe86cd21e15a9db45
[ "MIT" ]
1
2018-12-18T15:15:21.000Z
2018-12-18T15:15:21.000Z
parachuteCore/__init__.py
aguilarjose11/ParachuteTimeSheetTimeMngmntSystem
9cc6b179a114be930eb3c5abe86cd21e15a9db45
[ "MIT" ]
3
2019-01-17T01:55:16.000Z
2019-02-21T16:27:35.000Z
parachuteCore/__init__.py
aguilarjose11/ParachuteTimeSheetTimeMngmntSystem
9cc6b179a114be930eb3c5abe86cd21e15a9db45
[ "MIT" ]
1
2019-01-16T21:51:08.000Z
2019-01-16T21:51:08.000Z
__all__ = ['menu', 'menulist', 'tstools']
21
41
0.619048
4
42
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.119048
42
1
42
42
0.594595
0
0
0
0
0
0.452381
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
ad81377b05d7069702325016f4a873fed96c7c07
2,375
py
Python
torchaudio/legacy.py
xuhdev/pytorch-audio
0c6ceb26f8146efcc88a497168e899091f5e928e
[ "BSD-2-Clause" ]
2
2019-09-09T08:30:56.000Z
2020-03-29T03:58:15.000Z
torchaudio/legacy.py
xuhdev/pytorch-audio
0c6ceb26f8146efcc88a497168e899091f5e928e
[ "BSD-2-Clause" ]
null
null
null
torchaudio/legacy.py
xuhdev/pytorch-audio
0c6ceb26f8146efcc88a497168e899091f5e928e
[ "BSD-2-Clause" ]
3
2019-09-01T13:25:42.000Z
2021-12-02T09:55:59.000Z
from __future__ import division, print_function import os.path import torch import _torch_sox import torchaudio def load(filepath, out=None, normalization=None, num_frames=0, offset=0): """Loads an audio file from disk into a Tensor. The default options have changed as of torchaudio 0.2 and this function m...
40.254237
115
0.647579
338
2,375
4.5
0.340237
0.059172
0.028928
0.034188
0.460224
0.399737
0.336621
0.302433
0.302433
0.240631
0
0.020761
0.269895
2,375
58
116
40.948276
0.856401
0.769684
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.555556
0
0.888889
0.111111
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
a8db1d34d373c7b2395124734e6d73a1aa5ebb8e
6,561
py
Python
ivi/tektronix/__init__.py
duckythescientist/python-ivi
f2ccf34fedbc5191923a28c22032b5fc23255bf2
[ "MIT" ]
46
2015-01-30T23:39:47.000Z
2021-12-15T02:54:33.000Z
ivi/tektronix/__init__.py
duckythescientist/python-ivi
f2ccf34fedbc5191923a28c22032b5fc23255bf2
[ "MIT" ]
1
2019-05-01T10:16:43.000Z
2019-11-11T20:52:22.000Z
ivi/tektronix/__init__.py
duckythescientist/python-ivi
f2ccf34fedbc5191923a28c22032b5fc23255bf2
[ "MIT" ]
14
2015-03-12T05:16:47.000Z
2021-01-20T21:35:16.000Z
""" Python Interchangeable Virtual Instrument Library Copyright (c) 2012-2017 Alex Forencich Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the...
40.751553
77
0.873342
624
6,561
9.182692
0.379808
0.015358
0.004538
0
0
0
0
0
0
0
0
0.170649
0.100594
6,561
160
78
41.00625
0.800373
0.211401
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
a8e8f6e3cc8b89f0a988415a5a5f7a285be43e98
228
py
Python
tock/projects/urls.py
mikiec84/tock
15318a45b2b144360e4d7e15db655467a45c2ab9
[ "CC0-1.0" ]
null
null
null
tock/projects/urls.py
mikiec84/tock
15318a45b2b144360e4d7e15db655467a45c2ab9
[ "CC0-1.0" ]
4
2021-02-02T22:57:57.000Z
2022-02-10T23:19:15.000Z
tock/projects/urls.py
mikiec84/tock
15318a45b2b144360e4d7e15db655467a45c2ab9
[ "CC0-1.0" ]
null
null
null
from django.urls import path from .views import ProjectListView, ProjectView urlpatterns = [ path('', ProjectListView.as_view(), name='ProjectListView'), path('<int:pk>/', ProjectView.as_view(), name='ProjectView'), ]
25.333333
65
0.714912
25
228
6.44
0.56
0.074534
0.124224
0
0
0
0
0
0
0
0
0
0.127193
228
8
66
28.5
0.809045
0
0
0
0
0
0.153509
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a8ec63f322adceb71a32f74f3a1b63c90fe9bd01
339
py
Python
HW1/Andrii_Haponov/hw_1_2.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW1/Andrii_Haponov/hw_1_2.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW1/Andrii_Haponov/hw_1_2.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
6
2022-02-22T22:30:49.000Z
2022-03-28T12:51:19.000Z
# Define variables a and b. Read values a and b from console and calculate: # a + b # a - b # a * b # a / b # a**b. # Output obtained results. a = int(input("Enter the first number : ")) b = int(input("Enter the second number : ")) print(a + b) print(a - b) print(a * b) print(a / b) print(a**b) print(a%b) print(a...
17.842105
76
0.59882
66
339
3.075758
0.318182
0.128079
0.275862
0.413793
0.325123
0.325123
0.325123
0.325123
0.275862
0.275862
0
0
0.218289
339
19
77
17.842105
0.766038
0.389381
0
0
0
0
0.255
0
0
0
0
0
0
1
0
false
0
0
0
0
0.8
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
d1300abffba270df11e013fb15e7936b025455b3
195
py
Python
yui_loader/tests/settings.py
papuapost/django-yui-loader
db3ce8197f6295b003d81cf2c55715aa11e22f9c
[ "BSD-3-Clause" ]
1
2016-05-09T10:02:46.000Z
2016-05-09T10:02:46.000Z
yui_loader/tests/settings.py
akaihola/django-yui-loader
f5344344279d666f2f29dd7d3366dfce1897eca6
[ "BSD-3-Clause" ]
null
null
null
yui_loader/tests/settings.py
akaihola/django-yui-loader
f5344344279d666f2f29dd7d3366dfce1897eca6
[ "BSD-3-Clause" ]
1
2021-01-26T04:13:30.000Z
2021-01-26T04:13:30.000Z
DATABASE_ENGINE = 'sqlite3' INSTALLED_APPS = 'yui_loader', MIDDLEWARE_CLASSES = 'yui_loader.middleware.YUIIncludeMiddleware', ROOT_URLCONF = 'yui_loader.tests.urls' YUI_INCLUDE_BASE = '/js/yui/'
32.5
66
0.8
24
195
6.125
0.708333
0.183673
0.258503
0
0
0
0
0
0
0
0
0.005556
0.076923
195
5
67
39
0.811111
0
0
0
0
0
0.451282
0.323077
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
d1480dda79019da9f5893325945b49cc2952c904
8,429
py
Python
todo/tests/test_api.py
beshrkayali/fbmtodo
a7e82edd8d59a83c92bcef412954f05ba2e8a34e
[ "MIT" ]
null
null
null
todo/tests/test_api.py
beshrkayali/fbmtodo
a7e82edd8d59a83c92bcef412954f05ba2e8a34e
[ "MIT" ]
null
null
null
todo/tests/test_api.py
beshrkayali/fbmtodo
a7e82edd8d59a83c92bcef412954f05ba2e8a34e
[ "MIT" ]
null
null
null
# from django.test import TestCase from django.core.urlresolvers import reverse from rest_framework.test import APITestCase from rest_framework import status from django.contrib.auth import get_user_model from todo.models import TodoList, TodoItem import json class AuthenticationTests(APITestCase): user_data = { ...
32.544402
79
0.628426
950
8,429
5.434737
0.126316
0.054232
0.043386
0.054232
0.761379
0.725353
0.699012
0.659888
0.655239
0.655239
0
0.014808
0.246886
8,429
258
80
32.670543
0.798519
0.089572
0
0.564103
0
0
0.102949
0.004608
0
0
0
0.011628
0.147436
1
0.076923
false
0.032051
0.038462
0
0.166667
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
d14e8df80dcbe3c82bb8f5672a869e0217d2238f
889
py
Python
SacMnnit/views.py
kks0101/Sac-Portal
2add239f409ce9d7cad998de3528ac177052d2ac
[ "MIT" ]
1
2018-10-14T17:08:15.000Z
2018-10-14T17:08:15.000Z
SacMnnit/views.py
kks0101/Sac-Portal
2add239f409ce9d7cad998de3528ac177052d2ac
[ "MIT" ]
6
2018-10-07T11:32:02.000Z
2018-10-27T02:12:16.000Z
SacMnnit/views.py
kks0101/Sac-Portal
2add239f409ce9d7cad998de3528ac177052d2ac
[ "MIT" ]
7
2018-10-08T15:11:35.000Z
2018-10-20T12:10:14.000Z
from django.shortcuts import render from django.core.mail import send_mail from django.conf import settings as django_settings from django.http import HttpResponse from django.template.context_processors import csrf def home(request): return render(request,'SacMnnit/home.html', {}) def downloads(request): return ...
25.4
65
0.776153
119
889
5.672269
0.336134
0.074074
0.112593
0.154074
0.293333
0.091852
0
0
0
0
0
0
0.103487
889
34
66
26.147059
0.846926
0
0
0
0
0
0.130091
0.075792
0
0
0
0
0
1
0.227273
false
0
0.227273
0.181818
0.681818
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
d15a80c484b99faa59f6862591523ee717efa79c
2,547
py
Python
src/steady/seepagePINN/synthetic_data.py
dcluo28/seepagePINN
84fd1e35bde580d8397b5c7e6937ca7bbcd0f535
[ "MIT" ]
6
2021-12-15T20:56:10.000Z
2022-01-13T16:22:50.000Z
src/steady/seepagePINN/synthetic_data.py
reyhashemi/seepagePINN
84fd1e35bde580d8397b5c7e6937ca7bbcd0f535
[ "MIT" ]
null
null
null
src/steady/seepagePINN/synthetic_data.py
reyhashemi/seepagePINN
84fd1e35bde580d8397b5c7e6937ca7bbcd0f535
[ "MIT" ]
3
2021-06-19T00:43:57.000Z
2022-01-13T16:21:43.000Z
import numpy as np def dupuit_analytic(x, h2, q, L, K): return np.sqrt(2*q/K*(L-x)+h2**2) def make_synthetic_set_dupuit(h2, q, L, K, n_points, scale_q=1.0, noise_sd=0): # Make head data W = 1 x = np.linspace(0, L, n_points) h = dupuit_analytic(x, h2, q, L, K) h += np.random.randn(h.shape[0...
32.653846
119
0.625442
490
2,547
2.977551
0.114286
0.078136
0.022618
0.067855
0.838245
0.782042
0.753256
0.669637
0.631254
0.592872
0
0.042575
0.225363
2,547
77
120
33.077922
0.696908
0.141343
0
0.347826
0
0
0
0
0
0
0
0
0
1
0.152174
false
0
0.021739
0.021739
0.326087
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d161befa2e092183e004dbf24cb4e89dbfe0396c
144
py
Python
urls.py
shishkinav/university_architecture_python
ada1541c9ba94cfa526dde73146ad813223aaa50
[ "MIT" ]
null
null
null
urls.py
shishkinav/university_architecture_python
ada1541c9ba94cfa526dde73146ad813223aaa50
[ "MIT" ]
null
null
null
urls.py
shishkinav/university_architecture_python
ada1541c9ba94cfa526dde73146ad813223aaa50
[ "MIT" ]
null
null
null
from views import MainPage, Contacts, AboutPage urlpatterns = { '/': MainPage(), '/contacts': Contacts(), '/about': AboutPage(), }
18
47
0.618056
12
144
7.416667
0.666667
0.359551
0
0
0
0
0
0
0
0
0
0
0.201389
144
8
48
18
0.773913
0
0
0
0
0
0.110345
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d1729cd1939c0ca3bb3fe17868d5545156463e10
530
py
Python
PA1/code/loss_function.py
badarsh2/EE6132-Deep-Learning-For-Imaging-Assignments
f2485bb2f0c17ebddd4acd176a8c6aa8ace6439a
[ "MIT" ]
1
2019-04-20T09:36:36.000Z
2019-04-20T09:36:36.000Z
PA1/code/loss_function.py
badarsh2/EE6132-Deep-Learning-For-Imaging-Assignments
f2485bb2f0c17ebddd4acd176a8c6aa8ace6439a
[ "MIT" ]
null
null
null
PA1/code/loss_function.py
badarsh2/EE6132-Deep-Learning-For-Imaging-Assignments
f2485bb2f0c17ebddd4acd176a8c6aa8ace6439a
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- """Helper function containing activation functions. """ import numpy as np def cross_entropy_loss(a, y): """Description: Calculates the average cross entropy loss for the given predicted vectors with respect to the actual y vectors Params: a: Array ...
25.238095
85
0.671698
77
530
4.571429
0.636364
0.102273
0.136364
0.107955
0.125
0
0
0
0
0
0
0.009732
0.224528
530
20
86
26.5
0.846715
0.667925
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
66fa89c145e30470758e78fec41e26dae4268a3d
8,898
py
Python
pipe/am/body.py
htinney/byupipe
7b95270caf4c1834552f53d5073db50fb5162aef
[ "Apache-2.0" ]
5
2019-04-20T19:49:55.000Z
2021-02-18T00:17:20.000Z
pipe/am/body.py
htinney/byupipe
7b95270caf4c1834552f53d5073db50fb5162aef
[ "Apache-2.0" ]
133
2019-06-19T02:56:05.000Z
2020-09-21T23:16:22.000Z
pipe/am/body.py
htinney/byupipe
7b95270caf4c1834552f53d5073db50fb5162aef
[ "Apache-2.0" ]
5
2019-08-22T03:14:11.000Z
2021-02-18T00:17:57.000Z
import os # from .department import Department from pipe.am.element import Element from pipe.am.environment import Department, Environment from pipe.am import pipeline_io from pipe.am.registry import Registry ''' body module ''' class Body(object): ''' Abstract class describing bodies that make up a project. ''...
24.445055
117
0.732187
1,252
8,898
5.001597
0.13738
0.039923
0.030661
0.027148
0.38518
0.335037
0.302779
0.230438
0.197062
0.173108
0
0.000539
0.166217
8,898
363
118
24.512397
0.84351
0.176669
0
0.364929
0
0
0.040073
0
0
0
0
0.002755
0
1
0.232227
false
0.004739
0.023697
0.113744
0.559242
0.004739
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
0f0a65fb1b2eca935543c06925d69512c10b2216
336
py
Python
0028-pyspark_example/constants.py
villoro/villoro_posts
d84867266f2beb0dac6d3c43c75fdce61ae56e92
[ "MIT" ]
null
null
null
0028-pyspark_example/constants.py
villoro/villoro_posts
d84867266f2beb0dac6d3c43c75fdce61ae56e92
[ "MIT" ]
null
null
null
0028-pyspark_example/constants.py
villoro/villoro_posts
d84867266f2beb0dac6d3c43c75fdce61ae56e92
[ "MIT" ]
null
null
null
PATH_DATA = "data/" URI_CSV = f"{PATH_DATA}Dades_meteorol_giques_de_la_XEMA.csv" URI_DELTA = f"{PATH_DATA}weather_data.delta" URI_DELTA_PART = f"{PATH_DATA}weather_data_partition.delta" URI_STATIONS = f"{PATH_DATA}Metadades_estacions_meteorol_giques_autom_tiques.csv" URI_VARS = f"{PATH_DATA}Metadades_variables_meteo...
33.6
81
0.83631
55
336
4.6
0.4
0.189723
0.177866
0.126482
0.158103
0
0
0
0
0
0
0
0.0625
336
9
82
37.333333
0.803175
0
0
0
0
0
0.693452
0.678571
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
0f0c58f4299ee2aa782f678c73e48783cc8646a7
170
py
Python
sensai/__init__.py
ceu9jo/Game_market_mini_2000yen
36b51f477b53e84ba770c9de9405ad42832dc02f
[ "MIT" ]
null
null
null
sensai/__init__.py
ceu9jo/Game_market_mini_2000yen
36b51f477b53e84ba770c9de9405ad42832dc02f
[ "MIT" ]
null
null
null
sensai/__init__.py
ceu9jo/Game_market_mini_2000yen
36b51f477b53e84ba770c9de9405ad42832dc02f
[ "MIT" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config.from_object('sensai.config') db = SQLAlchemy(app) import sensai.views
17
39
0.8
24
170
5.416667
0.458333
0.138462
0
0
0
0
0
0
0
0
0
0
0.117647
170
9
40
18.888889
0.866667
0
0
0
0
0
0.076471
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
0f4950663286b23c9ea0718a4d13823a0246a5df
78
py
Python
server/env.default.py
bradleydsmith/cloudconverter
d5fccecb1d05fff536c67f2a7118174819d5ffcb
[ "Apache-2.0" ]
null
null
null
server/env.default.py
bradleydsmith/cloudconverter
d5fccecb1d05fff536c67f2a7118174819d5ffcb
[ "Apache-2.0" ]
null
null
null
server/env.default.py
bradleydsmith/cloudconverter
d5fccecb1d05fff536c67f2a7118174819d5ffcb
[ "Apache-2.0" ]
null
null
null
MYSQL_SERVER="" MYSQL_USER="" MYSQL_PASS="" MYSQL_DB="" UPLOAD_REQUEST_URL=""
13
21
0.74359
11
78
4.727273
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.064103
78
5
22
15.6
0.712329
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.2
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
0f5015e8ec730ed4ef7922123dc865e1876aaadf
3,804
py
Python
compass/config_management/installers/installer.py
huawei-cloud/compass
1f09b2d270917ffcc3829e533dd90c04ef664ff6
[ "Apache-2.0" ]
2
2015-12-07T06:47:16.000Z
2016-01-18T05:27:52.000Z
compass/config_management/installers/installer.py
SysCompass/compass-core
b04d02ae97d6fbeea9a6c42c6d368778c371ccde
[ "Apache-2.0" ]
1
2016-03-17T17:36:56.000Z
2016-03-17T17:36:56.000Z
compass/config_management/installers/installer.py
SysCompass/compass-core
b04d02ae97d6fbeea9a6c42c6d368778c371ccde
[ "Apache-2.0" ]
4
2016-06-13T17:19:14.000Z
2018-09-10T03:11:51.000Z
"""Module to provider installer interface. .. moduleauthor:: Xiaodong Wang <xiaodongwang@huawei.com> """ class Installer(object): """Interface for installer.""" NAME = 'installer' def __init__(self): raise NotImplementedError( '%s is not implemented' % self.__class__.__name__) ...
30.190476
76
0.617771
444
3,804
5.148649
0.13964
0.041995
0.083115
0.091864
0.597988
0.553806
0.493438
0.436133
0.38189
0.170604
0
0
0.287592
3,804
125
77
30.432
0.843542
0.462408
0
0.263158
0
0
0.021911
0
0
0
0
0
0
1
0.394737
false
0.184211
0
0.026316
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
0f6598491d2c657db165412e25eebdf082596538
310
py
Python
styleguide_example/api/urls.py
lanshark/Django-Styleguide-Example
68b2bf603c5aa99e510dff4096cc5bfd8ec457c4
[ "MIT" ]
1
2022-03-13T23:40:11.000Z
2022-03-13T23:40:11.000Z
styleguide_example/api/urls.py
chiemerieezechukwu/Styleguide-Example
a5e945b489ea3d9c88d9842f09189d48e7791cf5
[ "MIT" ]
null
null
null
styleguide_example/api/urls.py
chiemerieezechukwu/Styleguide-Example
a5e945b489ea3d9c88d9842f09189d48e7791cf5
[ "MIT" ]
null
null
null
from django.urls import path, include urlpatterns = [ path( 'auth/', include(('styleguide_example.authentication.urls', 'authentication')) ), path('users/', include(('styleguide_example.users.urls', 'users'))), path('errors/', include(('styleguide_example.errors.urls', 'errors'))), ]
31
86
0.664516
31
310
6.548387
0.419355
0.251232
0.35468
0
0
0
0
0
0
0
0
0
0.145161
310
9
87
34.444444
0.766038
0
0
0
0
0
0.451613
0.312903
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f65e8c8d24ffd7a3e40492005fe03bbafb698d8
555
py
Python
server/app/models.py
flofriday/goafk
1a881eae8d77cbf95cd59fecf9249b76cf8c89cf
[ "MIT" ]
null
null
null
server/app/models.py
flofriday/goafk
1a881eae8d77cbf95cd59fecf9249b76cf8c89cf
[ "MIT" ]
null
null
null
server/app/models.py
flofriday/goafk
1a881eae8d77cbf95cd59fecf9249b76cf8c89cf
[ "MIT" ]
null
null
null
from datetime import datetime from pydantic import BaseModel class UserIn(BaseModel): platform: str user_name: str token: str class User(BaseModel): id: int platform: str user_name: str token: str created_at: datetime class JobIn(BaseModel): command: str exit_code: int ...
14.605263
30
0.645045
74
555
4.72973
0.351351
0.057143
0.085714
0.108571
0.491429
0.491429
0.491429
0.32
0.32
0.32
0
0
0.291892
555
37
31
15
0.890585
0
0
0.758621
0
0
0
0
0
0
0
0
0
1
0
true
0
0.068966
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
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
7e30994468e072f0188a56bd51444d5bef86dad0
165
py
Python
practice-exercises/section-13-sets/6.py
mugan86/bootcamp-basic-to-expert-from-scratch
028aab243386e5a75d84aea319c480ec54913c53
[ "MIT" ]
31
2022-01-19T18:33:40.000Z
2022-03-29T16:24:44.000Z
practice-exercises/section-13-sets/6.py
mugan86/bootcamp-basic-to-expert-from-scratch
028aab243386e5a75d84aea319c480ec54913c53
[ "MIT" ]
1
2022-02-09T17:47:17.000Z
2022-02-09T17:47:17.000Z
practice-exercises/section-13-sets/6.py
mugan86/bootcamp-basic-to-expert-from-scratch
028aab243386e5a75d84aea319c480ec54913c53
[ "MIT" ]
4
2022-01-20T15:41:09.000Z
2022-03-29T16:25:08.000Z
set1 = {10, 20, 30, 40, 50} set2 = {30, 40, 50, 60, 70} set3 = set1.union(set2) print(set3) # set3 = {70, 40, 10, 50, 20, 60, 30} # set1 y set2 se mantienen igual
18.333333
37
0.587879
32
165
3.03125
0.5
0.082474
0.123711
0
0
0
0
0
0
0
0
0.335938
0.224242
165
9
38
18.333333
0.421875
0.4
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e358a08b28698999e8cf580f67cfea71f86a987
629
py
Python
src/utils/database_utils.py
MaximVerlinskii/fastapi-project
52cb92780f54e83c47814967b97b15621d9dd7c7
[ "MIT" ]
1
2022-03-29T15:11:38.000Z
2022-03-29T15:11:38.000Z
src/utils/database_utils.py
MaximVerlinskii/fastapi-project
52cb92780f54e83c47814967b97b15621d9dd7c7
[ "MIT" ]
null
null
null
src/utils/database_utils.py
MaximVerlinskii/fastapi-project
52cb92780f54e83c47814967b97b15621d9dd7c7
[ "MIT" ]
null
null
null
import typing if typing.TYPE_CHECKING: from src.services.database.repositories.base import Model T = typing.TypeVar("T") Dictionary = typing.TypeVar("Dictionary", bound=typing.Dict[typing.Any, typing.Any]) @typing.overload def manual_cast(result: typing.Any) -> "Model": ... @typing.overload def manual_cast(re...
24.192308
101
0.72814
93
629
4.827957
0.451613
0.080178
0.08686
0.126949
0.187082
0.187082
0.187082
0.187082
0
0
0
0
0.136725
629
25
102
25.16
0.826888
0.041335
0
0.142857
0
0
0.03827
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7e49139bd4ab56e550278e6213f3391e7961bb94
253
py
Python
librarybuddy/TransactionManager/views.py
op3ntrap/mylibrary
2c053d9af89e8f16a2bd7c612a3405d4774844c6
[ "MIT" ]
null
null
null
librarybuddy/TransactionManager/views.py
op3ntrap/mylibrary
2c053d9af89e8f16a2bd7c612a3405d4774844c6
[ "MIT" ]
null
null
null
librarybuddy/TransactionManager/views.py
op3ntrap/mylibrary
2c053d9af89e8f16a2bd7c612a3405d4774844c6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render from django.http import HttpResponse def details(request, *args, **kwargs): pass class IssuingViews: pass class ReturningViews: pass
13.315789
39
0.727273
30
253
5.966667
0.733333
0.111732
0
0
0
0
0
0
0
0
0
0.004878
0.189723
253
18
40
14.055556
0.868293
0.083004
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.111111
false
0.333333
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
7e528170c5a731be93052ec3070e1f0581055e0e
243
py
Python
apps/bike/admin.py
F483/bikesurf.org
c85680f7443920a4dbf95e24f58e0a095c3da42f
[ "MIT" ]
6
2015-08-11T19:48:12.000Z
2019-06-26T20:02:05.000Z
apps/bike/admin.py
F483/bikesurf.org
c85680f7443920a4dbf95e24f58e0a095c3da42f
[ "MIT" ]
27
2015-02-15T22:21:20.000Z
2017-12-06T20:27:35.000Z
apps/bike/admin.py
F483/bikesurf.org
c85680f7443920a4dbf95e24f58e0a095c3da42f
[ "MIT" ]
3
2015-08-10T18:11:59.000Z
2017-11-28T20:59:40.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2012 Fabian Barkhau <fabian.barkhau@gmail.com> # License: MIT (see LICENSE.TXT file) from django.contrib import admin from apps.bike.models import Bike admin.site.register(Bike)
18.692308
80
0.666667
33
243
4.909091
0.757576
0.160494
0
0
0
0
0
0
0
0
0
0.026178
0.213992
243
12
81
20.25
0.82199
0.559671
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
7e53f9b492a1faeb9a38972aa46fb20982371e8a
184
py
Python
hexagon/actions/external/open_link.py
redbeestudios/hexagon
dc906ae31a14eb750a3f9bde8dd0633d8e1af486
[ "Apache-2.0" ]
8
2021-06-27T21:46:04.000Z
2022-02-26T18:03:10.000Z
hexagon/actions/external/open_link.py
redbeestudios/hexagon
dc906ae31a14eb750a3f9bde8dd0633d8e1af486
[ "Apache-2.0" ]
31
2021-06-24T14:35:38.000Z
2022-02-17T03:01:23.000Z
hexagon/actions/external/open_link.py
redbeestudios/hexagon
dc906ae31a14eb750a3f9bde8dd0633d8e1af486
[ "Apache-2.0" ]
1
2021-08-16T16:15:16.000Z
2021-08-16T16:15:16.000Z
import webbrowser from hexagon.support.printer import log def main(tool, env, env_args, cli_args): url = env_args log.result("Opening url: " + url) webbrowser.open(url)
18.4
40
0.706522
27
184
4.703704
0.62963
0.110236
0
0
0
0
0
0
0
0
0
0
0.190217
184
9
41
20.444444
0.852349
0
0
0
0
0
0.070652
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7e5869d9cd57c88563a2d3cdd2e8f1c5beadf725
12,431
py
Python
mmtbx/regression/tst_geo_min_restraints_phil.py
jbeilstenedmands/cctbx_project
c228fb15ab10377f664c39553d866281358195aa
[ "BSD-3-Clause-LBNL" ]
null
null
null
mmtbx/regression/tst_geo_min_restraints_phil.py
jbeilstenedmands/cctbx_project
c228fb15ab10377f664c39553d866281358195aa
[ "BSD-3-Clause-LBNL" ]
null
null
null
mmtbx/regression/tst_geo_min_restraints_phil.py
jbeilstenedmands/cctbx_project
c228fb15ab10377f664c39553d866281358195aa
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division from libtbx.utils import null_out from libtbx.test_utils import show_diff from cStringIO import StringIO def exercise_metal_coordination () : pdb_in = """\ HETATM 6 PA ANP A 1 -2.347 2.100 -17.803 1.00 10.27 P HETATM 7 PB ANP A 1 0.438 2.937 -1...
46.733083
83
0.560775
2,415
12,431
2.795031
0.191718
0.041778
0.032593
0.048889
0.476741
0.401481
0.369185
0.325778
0.319704
0.309333
0
0.298012
0.352425
12,431
265
84
46.909434
0.540497
0.015767
0
0.330709
0
0.153543
0.843285
0.057828
0
0
0
0.003774
0.011811
0
null
null
0
0.031496
null
null
0.003937
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
7e6307ad82b854dfcf00565a745d1af29deada90
818
py
Python
reward/logger/interface.py
lgvaz/torchrl
cfff8acaf70d1fec72169162b95ab5ad3547d17a
[ "MIT" ]
5
2018-06-21T14:33:40.000Z
2018-08-18T02:26:03.000Z
reward/logger/interface.py
lgvaz/reward
cfff8acaf70d1fec72169162b95ab5ad3547d17a
[ "MIT" ]
null
null
null
reward/logger/interface.py
lgvaz/reward
cfff8acaf70d1fec72169162b95ab5ad3547d17a
[ "MIT" ]
2
2018-05-08T03:34:49.000Z
2018-06-22T15:04:17.000Z
from .logger import Logger _logger = Logger() def set_logdir(logdir): return _logger.set_logdir(logdir) def set_logfreq(logfreq): return _logger.set_logfreq(logfreq) def set_maxsteps(maxsteps): return _logger.set_maxsteps(maxsteps=maxsteps) def set_debug(debug=True): _logger.debug = debug def get_logdir(): return _...
34.083333
99
0.793399
120
818
5.166667
0.225
0.193548
0.072581
0.058065
0
0
0
0
0
0
0
0.00135
0.094132
818
24
100
34.083333
0.835358
0
0
0
0
0
0
0
0
0
0
0
0
1
0.785714
false
0
0.071429
0.714286
0.928571
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
7e7e790bef48acac1796d5c0de2ed856bf13d8d7
150
py
Python
sdp/duerosskill/urls.py
liutianfang/skill-dev-platform
37e76232869ae6eaf23d88398d2e52e7e0a5a80f
[ "Apache-2.0" ]
3
2018-08-31T02:43:39.000Z
2018-12-23T23:59:23.000Z
sdp/duerosskill/urls.py
liutianfang/skill-dev-platform
37e76232869ae6eaf23d88398d2e52e7e0a5a80f
[ "Apache-2.0" ]
5
2020-06-05T18:50:52.000Z
2022-03-11T23:28:58.000Z
sdp/duerosskill/urls.py
liutianfang/skill-dev-platform
37e76232869ae6eaf23d88398d2e52e7e0a5a80f
[ "Apache-2.0" ]
1
2018-09-13T08:51:41.000Z
2018-09-13T08:51:41.000Z
from django.urls import path from duerosskill import views app_name = "duerosskill" urlpatterns = [ path('demo/', views.index, name='index'), ]
16.666667
45
0.713333
19
150
5.578947
0.631579
0
0
0
0
0
0
0
0
0
0
0
0.16
150
8
46
18.75
0.84127
0
0
0
0
0
0.14
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7e7eb01fe233ff85f6b5fc5509ef75de69bd55f2
1,835
py
Python
mongo/storage.py
gera9/PyProject
236048ec6668ad63841e414123162c8397867891
[ "MIT" ]
null
null
null
mongo/storage.py
gera9/PyProject
236048ec6668ad63841e414123162c8397867891
[ "MIT" ]
null
null
null
mongo/storage.py
gera9/PyProject
236048ec6668ad63841e414123162c8397867891
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from models.artist import Artist from pymongo import MongoClient from helpers.util import artist_to_dict, dict_to_artist from config import Config class Storage(ABC): @abstractmethod def save(self, artist: Artist) -> bool: pass @abstractmethod def delete(se...
31.101695
96
0.680109
235
1,835
4.995745
0.234043
0.07155
0.054514
0.063884
0.422487
0.29983
0.183986
0.136286
0.136286
0
0
0
0.216349
1,835
58
97
31.637931
0.816412
0.026158
0
0.487805
0
0
0.007299
0
0
0
0
0
0
1
0.268293
false
0.121951
0.121951
0.073171
0.585366
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
7e872ad36bdce81666cc24000e20121a2657da63
2,941
py
Python
insta/models.py
alvynah/instagram-clone
1e945a2bc4b13c9f1d612e40bfbc1d94dca6e6e3
[ "MIT" ]
1
2021-06-22T16:31:30.000Z
2021-06-22T16:31:30.000Z
insta/models.py
alvynah/instagram-clone
1e945a2bc4b13c9f1d612e40bfbc1d94dca6e6e3
[ "MIT" ]
null
null
null
insta/models.py
alvynah/instagram-clone
1e945a2bc4b13c9f1d612e40bfbc1d94dca6e6e3
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.db.models.deletion import CASCADE from django.db.models.signals import post_save from django.dispatch import receiver # Create your models here. class Profile(models.Model): user=models.OneToOneField(User, on_delete=models.CASCA...
28.009524
89
0.683781
365
2,941
5.317808
0.263014
0.03967
0.043277
0.064915
0.321999
0.188563
0.125708
0.084493
0.041216
0
0
0.004275
0.204692
2,941
104
90
28.278846
0.825566
0.043523
0
0.298507
0
0
0.05031
0
0
0
0
0
0
1
0.238806
false
0
0.074627
0.104478
0.761194
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
7e8e626781e3562e74d7ab1629e5e2b746f04583
369
py
Python
codegen/python/fixtures/method/special_chars/server/escape_type_api.py
feeltheajf/go-raml
57ce1f4c47bca464efee03cb4a7a28efcd00bea2
[ "BSD-2-Clause" ]
null
null
null
codegen/python/fixtures/method/special_chars/server/escape_type_api.py
feeltheajf/go-raml
57ce1f4c47bca464efee03cb4a7a28efcd00bea2
[ "BSD-2-Clause" ]
null
null
null
codegen/python/fixtures/method/special_chars/server/escape_type_api.py
feeltheajf/go-raml
57ce1f4c47bca464efee03cb4a7a28efcd00bea2
[ "BSD-2-Clause" ]
null
null
null
# DO NOT EDIT THIS FILE. This file will be overwritten when re-running go-raml. from flask import Blueprint import handlers escape_type_api = Blueprint("escape_type_api", __name__) @escape_type_api.route("/escape_type", methods=["POST"]) def escape_type_post(): """ It is handler for POST /escape_type "...
23.0625
79
0.739837
53
369
4.849057
0.603774
0.272374
0.151751
0
0
0
0
0
0
0
0
0
0.159892
369
15
80
24.6
0.829032
0.308943
0
0
1
0
0.129707
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0.333333
0
0
0
null
1
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
0
0
0
3
7e97ee60a7c55eeeaebaba328daf6584347e87c7
1,186
py
Python
cpo/lib/cluster/cluster.py
IBM/data-gate-cli
fc0cb1a560a0156c71eb63a550e198d0cd36e1df
[ "Apache-2.0" ]
9
2020-08-21T08:46:34.000Z
2021-09-02T15:47:41.000Z
cpo/lib/cluster/cluster.py
IBM/data-gate-cli
fc0cb1a560a0156c71eb63a550e198d0cd36e1df
[ "Apache-2.0" ]
10
2020-11-26T15:31:43.000Z
2021-11-08T15:00:01.000Z
cpo/lib/cluster/cluster.py
IBM/data-gate-cli
fc0cb1a560a0156c71eb63a550e198d0cd36e1df
[ "Apache-2.0" ]
null
null
null
# Copyright 2020, 2021 IBM Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
27.581395
75
0.705734
161
1,186
5.118012
0.534161
0.072816
0.031553
0.038835
0
0
0
0
0
0
0
0.013001
0.221754
1,186
42
76
28.238095
0.87974
0.474705
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0.2
0.1
0.1
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
7ea6ea48c486b3415e09ad42cc22cdf304a828db
569
py
Python
tests/test_module_init.py
rhblind/django-pushit
491ab14b7b1004eb73420d23bcc2b74fafaaf7a3
[ "MIT" ]
null
null
null
tests/test_module_init.py
rhblind/django-pushit
491ab14b7b1004eb73420d23bcc2b74fafaaf7a3
[ "MIT" ]
null
null
null
tests/test_module_init.py
rhblind/django-pushit
491ab14b7b1004eb73420d23bcc2b74fafaaf7a3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.test import TestCase from pushit import logger from pushit import connections class LoadPushitTestCase(TestCase): def test_has_logger(self): import logging assert isinstance(logger, logging.Logger), se...
23.708333
78
0.72935
67
569
6.014925
0.432836
0.074442
0.079404
0
0
0
0
0
0
0
0
0.002165
0.188049
569
23
79
24.73913
0.87013
0.036907
0
0
0
0
0.011009
0
0
0
0
0
0.230769
1
0.230769
false
0
0.461538
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
0
1
0
1
0
0
3
7ea8072a26ce84ada55868546f75026949130d12
1,246
py
Python
napari_clemreg/_dock_widget.py
DragaDoncila/napari-clemreg
dae556e526ed80b812a240cc602689d60e297977
[ "MIT" ]
5
2021-08-21T04:25:28.000Z
2022-02-18T16:54:31.000Z
napari_clemreg/_dock_widget.py
DragaDoncila/napari-clemreg
dae556e526ed80b812a240cc602689d60e297977
[ "MIT" ]
null
null
null
napari_clemreg/_dock_widget.py
DragaDoncila/napari-clemreg
dae556e526ed80b812a240cc602689d60e297977
[ "MIT" ]
1
2021-12-21T01:01:41.000Z
2021-12-21T01:01:41.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from napari_plugin_engine import napari_hook_implementation from .widgets.clean_binary_segmentation import make_clean_binary_segmentation from .widgets.log_segmentation import make_log_segmentation from .widgets.data_preprocessing import make_data_preprocessing from .widget...
54.173913
82
0.747994
156
1,246
5.621795
0.371795
0.100342
0.063854
0.061574
0
0
0
0
0
0
0
0.00282
0.146067
1,246
22
83
56.636364
0.821429
0.033708
0
0
0
0
0.165557
0
0
0
0
0
0
1
0.052632
true
0
0.473684
0.052632
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
7eb20d6ef9f03f4170f78307c5ee5a5bcad614a7
160
py
Python
auditless_solcx/__init__.py
auditless/auditless-py-solc-x
9267834b953836584fb935a41f1c0cc3468adfb8
[ "MIT" ]
null
null
null
auditless_solcx/__init__.py
auditless/auditless-py-solc-x
9267834b953836584fb935a41f1c0cc3468adfb8
[ "MIT" ]
null
null
null
auditless_solcx/__init__.py
auditless/auditless-py-solc-x
9267834b953836584fb935a41f1c0cc3468adfb8
[ "MIT" ]
null
null
null
__version__ = "0.1.0" from .main import solcx_start_saving_debugging_output_to_path, AuditlessSolcxException, extract_combined_json_from_compile_combined_json
40
136
0.8875
22
160
5.727273
0.818182
0.190476
0
0
0
0
0
0
0
0
0
0.02
0.0625
160
3
137
53.333333
0.82
0
0
0
0
0
0.03125
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
0e2afedb3fc5b72bdc3a0b6927dbc262950d6225
151
py
Python
Python/models/Larvae.py
sheplu/Anthill
688e25caa5806c4bbe9e3035ddaaadc593996917
[ "MIT" ]
null
null
null
Python/models/Larvae.py
sheplu/Anthill
688e25caa5806c4bbe9e3035ddaaadc593996917
[ "MIT" ]
null
null
null
Python/models/Larvae.py
sheplu/Anthill
688e25caa5806c4bbe9e3035ddaaadc593996917
[ "MIT" ]
null
null
null
#!/user/bin/python # coding: utf8 class Larvae(Ant): """docstring for Larvae""" def __init__(self, arg): super().__init__(arg) self.arg = arg
16.777778
27
0.655629
21
151
4.333333
0.714286
0.153846
0
0
0
0
0
0
0
0
0
0.007937
0.165563
151
9
28
16.777778
0.714286
0.337748
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0e3f7a064dbbf871c6ccb49156b8991db11ab6e4
56
py
Python
p3/p3_utils.py
RajatBhageria/Convolutional-Neural-Nets
0097bb9397a568b4341958f08fd79ad8fb4b55cd
[ "MIT" ]
null
null
null
p3/p3_utils.py
RajatBhageria/Convolutional-Neural-Nets
0097bb9397a568b4341958f08fd79ad8fb4b55cd
[ "MIT" ]
null
null
null
p3/p3_utils.py
RajatBhageria/Convolutional-Neural-Nets
0097bb9397a568b4341958f08fd79ad8fb4b55cd
[ "MIT" ]
null
null
null
''' File name: p3_utils.py Author: Date: '''
9.333333
25
0.5
7
56
3.857143
1
0
0
0
0
0
0
0
0
0
0
0.026316
0.321429
56
5
26
11.2
0.684211
0.642857
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0e4e907e63682957e8b2c6a804ba146632029fc8
1,184
py
Python
p_library/models.py
StalingradTeam/my_site
eb13ebb20f07644a69b45c45d5860b28e513698e
[ "MIT" ]
null
null
null
p_library/models.py
StalingradTeam/my_site
eb13ebb20f07644a69b45c45d5860b28e513698e
[ "MIT" ]
null
null
null
p_library/models.py
StalingradTeam/my_site
eb13ebb20f07644a69b45c45d5860b28e513698e
[ "MIT" ]
null
null
null
from django.db import models class Author(models.Model): full_name = models.TextField() birth_year = models.SmallIntegerField() country = models.CharField(max_length=2) def __str__(self): return self.full_name class Book(models.Model): ISBN = models.CharField(max_length=13) ...
28.878049
117
0.702703
146
1,184
5.472603
0.376712
0.112641
0.135169
0.180225
0.275344
0.157697
0.097622
0
0
0
0
0.015593
0.1875
1,184
40
118
29.6
0.814969
0
0
0.206897
0
0
0.02027
0
0
0
0
0
0
1
0.137931
false
0
0.034483
0.137931
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
0e52f48c2eea27527e7fb8080e9b314aa6702705
6,643
py
Python
tests/escore_python/test_utils.py
mbaak/Eskapade-Core
9ddffd0c5d511711ba258fd388a8bcf8c7e02a41
[ "Apache-2.0" ]
1
2019-01-04T15:20:11.000Z
2019-01-04T15:20:11.000Z
tests/escore_python/test_utils.py
mbaak/Eskapade-Core
9ddffd0c5d511711ba258fd388a8bcf8c7e02a41
[ "Apache-2.0" ]
1
2018-12-19T10:01:52.000Z
2018-12-19T10:01:52.000Z
tests/escore_python/test_utils.py
KaveIO/Eskapade-Core
70bdb8d541bbe785c22b8d476e599bdfb9a55b65
[ "Apache-2.0" ]
null
null
null
import sys import unittest import unittest.mock as mock from escore.utils import set_matplotlib_backend from escore.utils import check_interactive_backend try: # Note, it's very useful to test this function, # but if matplotlib is not installed there is nothing to do import matplotlib matplotlib_found...
41.26087
132
0.697877
803
6,643
5.493151
0.139477
0.067332
0.086148
0.081614
0.767626
0.752891
0.737021
0.721832
0.653593
0.579687
0
0.001349
0.218726
6,643
160
133
41.51875
0.848555
0.168749
0
0.633028
0
0.018349
0.110241
0.016399
0
0
0
0
0.238532
1
0.009174
false
0
0.06422
0
0.091743
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
0e53baf981df76c6e11b3ff32782f6e7db282c46
7,979
py
Python
boto3_type_annotations/boto3_type_annotations/ecs/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
119
2018-12-01T18:20:57.000Z
2022-02-02T10:31:29.000Z
boto3_type_annotations/boto3_type_annotations/ecs/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
15
2018-11-16T00:16:44.000Z
2021-11-13T03:44:18.000Z
boto3_type_annotations/boto3_type_annotations/ecs/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
11
2019-05-06T05:26:51.000Z
2021-09-28T15:27:59.000Z
from typing import Optional from botocore.client import BaseClient from typing import Dict from typing import Union from botocore.paginate import Paginator from datetime import datetime from botocore.waiter import Waiter from typing import List class Client(BaseClient): def can_paginate(self, operation_name: str ...
52.493421
617
0.689435
952
7,979
5.691176
0.157563
0.126615
0.085271
0.096899
0.54522
0.429679
0.381691
0.272979
0.194537
0.164636
0
0
0.205916
7,979
151
618
52.84106
0.855114
0
0
0.456311
0
0
0
0
0
0
0
0
0
1
0.456311
false
0.456311
0.07767
0
0.543689
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
0e5b691acb033d9d9b8d544957ad064f238d578f
334
py
Python
Part_2_intermediate/mod_1/lesson_7/ex_2_from_star_import/school/promote.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_2_intermediate/mod_1/lesson_7/ex_2_from_star_import/school/promote.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_2_intermediate/mod_1/lesson_7/ex_2_from_star_import/school/promote.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
# __all__ = ['check_promotion'] from estudent.school import promotion_status # FAILED_GRADE = 1 _FAILED_GRADE = 1 def check_promotion(subjects_final_grades): for subject, grade in subjects_final_grades.items(): if grade == _FAILED_GRADE: return promotion_status.FAILED return promotion_...
20.875
56
0.739521
41
334
5.585366
0.536585
0.196507
0.183406
0
0
0
0
0
0
0
0
0.007407
0.191617
334
15
57
22.266667
0.840741
0.137725
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0.142857
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
0e669b11e81d6bcb20f0791b3c088ce30218b3ab
340
py
Python
models/__init__.py
statisticszhang/Image-Recognition
da3bf79449c9f1564f99ee1b41598dfb3287a19c
[ "MIT" ]
1
2020-04-18T11:36:55.000Z
2020-04-18T11:36:55.000Z
models/__init__.py
statisticszhang/Image-Recognition
da3bf79449c9f1564f99ee1b41598dfb3287a19c
[ "MIT" ]
null
null
null
models/__init__.py
statisticszhang/Image-Recognition
da3bf79449c9f1564f99ee1b41598dfb3287a19c
[ "MIT" ]
null
null
null
# -*-coding:utf-8 -*- from .lenet import * from .alexnet import * from .vgg import * from .resnet import * from .preresnet import * from .densenet import * from .resnext import * from .senet import * from .mobilenetv1 import * from .mobilenetv2 import * def get_model(config): return globals()[config.architecture](...
22.666667
61
0.729412
44
340
5.590909
0.545455
0.365854
0
0
0
0
0
0
0
0
0
0.010417
0.152941
340
14
62
24.285714
0.84375
0.055882
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.833333
0.083333
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0e696c91020503aad9482cf5e81205ef98e75f3a
394
py
Python
build/lib.linux-x86_64-2.7_ucs4/mx/BeeBase/__init__.py
mkubux/egenix-mx-base
3e6f9186334d9d73743b0219ae857564c7208247
[ "eGenix" ]
null
null
null
build/lib.linux-x86_64-2.7_ucs4/mx/BeeBase/__init__.py
mkubux/egenix-mx-base
3e6f9186334d9d73743b0219ae857564c7208247
[ "eGenix" ]
null
null
null
build/lib.linux-x86_64-2.7_ucs4/mx/BeeBase/__init__.py
mkubux/egenix-mx-base
3e6f9186334d9d73743b0219ae857564c7208247
[ "eGenix" ]
null
null
null
""" BeeBase - B++ Tree database construction kit Copyright (c) 2000, Marc-Andre Lemburg; mailto:mal@lemburg.com Copyright (c) 2000-2015, eGenix.com Software GmbH; mailto:info@egenix.com See the documentation for further information on copyrights, or contact the author. All Rights Reserved. """ # Import...
35.818182
77
0.748731
55
394
5.290909
0.745455
0.068729
0.09622
0
0
0
0
0
0
0
0
0.036697
0.170051
394
10
78
39.4
0.853211
0.796954
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
0e6ef896dd8deefc14bf38b3cc9625e34c9a6790
907
py
Python
arch/label_smoothing.py
zzzace2000/robust_cls_model
c2b9a79dd5ccbb8aa8beaa08baaded6ed45d0410
[ "Apache-2.0" ]
8
2021-06-07T06:38:38.000Z
2022-03-30T02:41:48.000Z
arch/label_smoothing.py
zzzace2000/robust_cls_model
c2b9a79dd5ccbb8aa8beaa08baaded6ed45d0410
[ "Apache-2.0" ]
2
2021-07-29T08:48:56.000Z
2021-11-09T11:54:01.000Z
arch/label_smoothing.py
zzzace2000/robust_cls_model
c2b9a79dd5ccbb8aa8beaa08baaded6ed45d0410
[ "Apache-2.0" ]
1
2022-01-26T13:29:26.000Z
2022-01-26T13:29:26.000Z
''' label smoothing PyTorch implementation Ref: https://github.com/wangleiofficial/label-smoothing-pytorch ''' import torch.nn.functional as F import torch.nn as nn def linear_combination(x, y, epsilon): return epsilon * x + (1 - epsilon) * y def reduce_loss(loss, reduction='mean'): return loss.mean() if re...
32.392857
102
0.675854
121
907
4.92562
0.38843
0.065436
0.07047
0
0
0
0
0
0
0
0
0.008208
0.194046
907
27
103
33.592593
0.807114
0.112459
0
0
0
0
0.018821
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0.117647
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0e7d47c306aa852393219cf44a65602fb2dc1718
975
py
Python
talos/template/server/tpl_celery_worker_py.py
royl88/talos
7a803f3e9a3dcf1d16ed6e9cd798a7a401de8cb8
[ "Apache-2.0" ]
1
2021-05-08T09:00:35.000Z
2021-05-08T09:00:35.000Z
talos/template/server/tpl_celery_worker_py.py
royl88/talos
7a803f3e9a3dcf1d16ed6e9cd798a7a401de8cb8
[ "Apache-2.0" ]
null
null
null
talos/template/server/tpl_celery_worker_py.py
royl88/talos
7a803f3e9a3dcf1d16ed6e9cd798a7a401de8cb8
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 TEMPLATE = u'''${sys_default_coding} from __future__ import absolute_import import os from talos.server import base # from talos.core import config # @config.intercept('db_password', 'other_password') # def get_password(value, origin_value): # """value为上一个拦截器处理后的值(若此函数为第一个拦截器,等价于origin_value) # ...
27.857143
96
0.721026
117
975
5.777778
0.564103
0.08284
0.035503
0.044379
0.08284
0.08284
0.08284
0
0
0
0
0.010936
0.155897
975
34
97
28.676471
0.81045
0.012308
0
0
0
0
0.978148
0.413111
0
0
0
0
0
1
0
false
0.083333
0.25
0
0.25
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
0e91e31df8bf7a2ace51e36d11dd2e90b1fb7984
285
py
Python
kcluster2d/timetest.py
johnabender/ctrax-tmp
3e326ca9d00472dff0dbaea6528f349a5225ad90
[ "Unlicense" ]
null
null
null
kcluster2d/timetest.py
johnabender/ctrax-tmp
3e326ca9d00472dff0dbaea6528f349a5225ad90
[ "Unlicense" ]
null
null
null
kcluster2d/timetest.py
johnabender/ctrax-tmp
3e326ca9d00472dff0dbaea6528f349a5225ad90
[ "Unlicense" ]
null
null
null
import timeit t = timeit.Timer('test_kcluster.test0()','import test_kcluster') res = t.timeit(10) print "elapsed time for test0 = " + str(res) t = timeit.Timer('test_kcluster.test()','import test_kcluster') res = t.timeit(10) print "elapsed time for test = " + str(res)
23.75
65
0.673684
42
285
4.47619
0.333333
0.148936
0.159574
0.170213
0.776596
0.521277
0.521277
0.521277
0.521277
0.521277
0
0.025424
0.17193
285
11
66
25.909091
0.771186
0
0
0.285714
0
0
0.474453
0.076642
0
0
0
0
0
0
null
null
0
0.428571
null
null
0.285714
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
1
0
0
0
1
0
0
0
0
3
7edb71aa4b60bd8294c733d99a8725a21945f296
191
py
Python
tests/test_modem.py
simplyequipped/minimodem
1acb67b10f08c570948a27803272df7b68a96ae6
[ "MIT" ]
null
null
null
tests/test_modem.py
simplyequipped/minimodem
1acb67b10f08c570948a27803272df7b68a96ae6
[ "MIT" ]
null
null
null
tests/test_modem.py
simplyequipped/minimodem
1acb67b10f08c570948a27803272df7b68a96ae6
[ "MIT" ]
null
null
null
import fskmodem def rx_callback(data): print('\nPacket received: ' + data.decode('utf-8')) # use system default audio device modem = fskmodem.Modem() modem.set_rx_callback(rx_callback)
21.222222
55
0.743455
27
191
5.111111
0.703704
0.217391
0
0
0
0
0
0
0
0
0
0.006024
0.13089
191
8
56
23.875
0.825301
0.162304
0
0
0
0
0.151899
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7ef06d93a2b10e672acbcd7bcc2de6d3b59c4916
1,711
py
Python
examples/meetapp/modules/shared_domain/clock.py
pcah/python-clean-architecture
20630d0b3b4c00f6503a26cc98c45df12bc31b3b
[ "MIT" ]
278
2019-01-10T07:57:29.000Z
2022-03-31T22:47:13.000Z
examples/meetapp/modules/shared_domain/clock.py
asuzukosi/python-clean-architecture
20630d0b3b4c00f6503a26cc98c45df12bc31b3b
[ "MIT" ]
80
2018-11-17T23:44:39.000Z
2021-12-15T18:29:04.000Z
examples/meetapp/modules/shared_domain/clock.py
lhaze/dharma
20630d0b3b4c00f6503a26cc98c45df12bc31b3b
[ "MIT" ]
29
2018-11-19T20:11:13.000Z
2022-03-02T06:27:34.000Z
import abc from datetime import ( datetime, timedelta, tzinfo, ) class IClockService(abc.ABC): """Abstract interface of common clock service.""" @property @abc.abstractmethod def timezone(self) -> tzinfo: """Returns timezone of the clock.""" @abc.abstractmethod def now(s...
23.763889
88
0.648743
191
1,711
5.685864
0.282723
0.049724
0.059853
0.058011
0.267956
0.223757
0.071823
0
0
0
0
0
0.237288
1,711
71
89
24.098592
0.832184
0.246055
0
0.487179
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.051282
0.102564
0.615385
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
7d058f58082cde02daac86e8c9a43e834f4bf91e
774
py
Python
source/python/python_etl_exploration/runtime/schemas/cnpj/simple_national.py
paulo3011/opendatafrombrasil
cc15ffadaaccb853e1d73a685de39c2bc5340c7c
[ "MIT" ]
null
null
null
source/python/python_etl_exploration/runtime/schemas/cnpj/simple_national.py
paulo3011/opendatafrombrasil
cc15ffadaaccb853e1d73a685de39c2bc5340c7c
[ "MIT" ]
null
null
null
source/python/python_etl_exploration/runtime/schemas/cnpj/simple_national.py
paulo3011/opendatafrombrasil
cc15ffadaaccb853e1d73a685de39c2bc5340c7c
[ "MIT" ]
null
null
null
from pyspark.sql.types import ( StructType, StringType, ShortType, IntegerType, LongType, DoubleType, DecimalType, DateType) # company of the simple national source schema simple_company_raw_schema = StructType() simple_company_raw_schema.add("basic_cnpj", StringType(), False) simple_c...
36.857143
72
0.784238
100
774
5.69
0.32
0.205624
0.253076
0.347979
0.604569
0.560633
0.509666
0.340949
0.340949
0
0
0
0.103359
774
21
73
36.857143
0.819885
0.056848
0
0
0
0
0.141289
0.028807
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7d0c1cb97e07ff51b540b62c246cf90235d3c3f9
957
py
Python
Main/Resources/users_resource.py
reability/OnBoarded-Backend
65e6f8059da0f397abe64f6bc1a7a5d783b71791
[ "MIT" ]
null
null
null
Main/Resources/users_resource.py
reability/OnBoarded-Backend
65e6f8059da0f397abe64f6bc1a7a5d783b71791
[ "MIT" ]
null
null
null
Main/Resources/users_resource.py
reability/OnBoarded-Backend
65e6f8059da0f397abe64f6bc1a7a5d783b71791
[ "MIT" ]
null
null
null
import json from aiohttp.web_urldispatcher import UrlDispatcher from collections import OrderedDict from Main.Handlers.users import Rest_user_endpoint class UsersRestResource: def __init__(self, users, factory, collection, properties, id_field): self.users = users self.factory = factory se...
33
115
0.712644
114
957
5.824561
0.394737
0.072289
0.048193
0
0
0
0
0
0
0
0
0.002577
0.189133
957
28
116
34.178571
0.853093
0
0
0
0
0
0.031348
0.025078
0
0
0
0
0
1
0.238095
false
0
0.190476
0.142857
0.619048
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
7d115d5ab87e0fb62215c13997d90173496789c7
210
py
Python
tests/test_capture_output.py
skeptycal/template
08ae3dc87e93b5d74110356c2611c4ba458f1662
[ "MIT" ]
2
2020-08-26T03:31:10.000Z
2020-08-26T07:27:30.000Z
tests/test_capture_output.py
skeptycal/template
08ae3dc87e93b5d74110356c2611c4ba458f1662
[ "MIT" ]
null
null
null
tests/test_capture_output.py
skeptycal/template
08ae3dc87e93b5d74110356c2611c4ba458f1662
[ "MIT" ]
null
null
null
from pyplates import capture_output def test_capture_output(): code = """ def f(x): x = x + 1 return x print 'This is my output.' """ capture_output(code) print(f(4))
15
35
0.557143
29
210
3.896552
0.586207
0.345133
0.300885
0
0
0
0
0
0
0
0
0.014184
0.328571
210
13
36
16.153846
0.787234
0
0
0
0
0
0.409524
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0.2
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7d14815b11b127c2b159018ac5ff944ff80c381d
186
py
Python
Chapter_2/projectContianer/appFolder/urls.py
santarini/DjangoForBegin
aa0ae235d0c44269946a26276b7082d67a45f89d
[ "MIT" ]
null
null
null
Chapter_2/projectContianer/appFolder/urls.py
santarini/DjangoForBegin
aa0ae235d0c44269946a26276b7082d67a45f89d
[ "MIT" ]
null
null
null
Chapter_2/projectContianer/appFolder/urls.py
santarini/DjangoForBegin
aa0ae235d0c44269946a26276b7082d67a45f89d
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.HomePageView, name='home'), path('about/', views.AboutPageView, name='about') ]
20.666667
57
0.61828
20
186
5.75
0.6
0
0
0
0
0
0
0
0
0
0
0
0.236559
186
8
58
23.25
0.809859
0
0
0
0
0
0.080645
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7d2431bdd95ea4815f47a41899b53942f9ba1034
562
py
Python
cajas/office/api/serializer/supervisor_calendar_serializer.py
dmontoya1/cajas
5eb3d5835250d5dafae398082200b79c1ca8063b
[ "MIT" ]
null
null
null
cajas/office/api/serializer/supervisor_calendar_serializer.py
dmontoya1/cajas
5eb3d5835250d5dafae398082200b79c1ca8063b
[ "MIT" ]
null
null
null
cajas/office/api/serializer/supervisor_calendar_serializer.py
dmontoya1/cajas
5eb3d5835250d5dafae398082200b79c1ca8063b
[ "MIT" ]
null
null
null
from rest_framework.response import Response from rest_framework import serializers from cajas.office.models.supervisorCalendar import SupervisorCalendar class SupervisorCalendarSerializer(serializers.ModelSerializer): office = serializers.StringRelatedField(many=False, read_only=True) supervisor = serial...
31.222222
75
0.784698
56
562
7.767857
0.464286
0.2
0.227586
0.262069
0.344828
0.344828
0.344828
0
0
0
0
0
0.135231
562
17
76
33.058824
0.895062
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.3
0
0.8
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7d2f669c4d8ffe50b2539cb48c8bfc713ad5bd58
108
py
Python
python-for-beginners/11 - Collections/lists.py
vijayraavi/c9-python-getting-started
345c81fb210601836d3618ff7bd491256ae62fa9
[ "MIT" ]
8,041
2019-09-17T17:25:51.000Z
2022-03-31T11:38:07.000Z
python-for-beginners/11 - Collections/lists.py
magicsolmyr/c9-python-getting-started
a74d0ea8451a9709dcebbb29ae931a9cb82fc695
[ "MIT" ]
43
2019-09-20T15:47:26.000Z
2022-01-23T20:33:28.000Z
python-for-beginners/11 - Collections/lists.py
magicsolmyr/c9-python-getting-started
a74d0ea8451a9709dcebbb29ae931a9cb82fc695
[ "MIT" ]
2,377
2019-09-17T18:16:53.000Z
2022-03-30T15:38:07.000Z
names = ['Christopher', 'Susan'] scores = [] scores.append(98) scores.append(99) print(names) print(scores)
15.428571
32
0.703704
14
108
5.428571
0.571429
0.315789
0
0
0
0
0
0
0
0
0
0.041237
0.101852
108
6
33
18
0.742268
0
0
0
0
0
0.148148
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7d35be2f3da7305011a7288e2e7b94bb9f080030
190
py
Python
prime.py
deveshgujarathi/LetsUpgrade_Python
f23aca195116ebc4793cd609e600a08f98ab032f
[ "Apache-2.0" ]
null
null
null
prime.py
deveshgujarathi/LetsUpgrade_Python
f23aca195116ebc4793cd609e600a08f98ab032f
[ "Apache-2.0" ]
null
null
null
prime.py
deveshgujarathi/LetsUpgrade_Python
f23aca195116ebc4793cd609e600a08f98ab032f
[ "Apache-2.0" ]
null
null
null
num1 = 00 num2 = 200 for n in range(num1, num2 + 1): if n > 1: for i in range(2, n): if (n % i) == 0: break else: print(n)
21.111111
32
0.368421
28
190
2.5
0.571429
0.2
0
0
0
0
0
0
0
0
0
0.141304
0.515789
190
9
33
21.111111
0.619565
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
7d50e351382127b43ce528378ffaec94ecc794f2
12,086
py
Python
ldapconfig.py
daohaoisbibi/hadoop_install
ac69e3f8e0d452c4595812fb070515e8ede0fdb3
[ "Apache-2.0" ]
3
2019-01-26T11:21:14.000Z
2021-03-24T03:23:03.000Z
ldapconfig.py
daohaoisbibi/hadoop_install
ac69e3f8e0d452c4595812fb070515e8ede0fdb3
[ "Apache-2.0" ]
null
null
null
ldapconfig.py
daohaoisbibi/hadoop_install
ac69e3f8e0d452c4595812fb070515e8ede0fdb3
[ "Apache-2.0" ]
null
null
null
CHROOTPW = """ dn: olcDatabase={0}config,cn=config changetype: modify add: olcRootPW olcRootPW: SSHA_KEY """ CHDOMAIN=""" dn: olcDatabase={1}monitor,cn=config changetype: modify replace: olcAccess olcAccess: {0}to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" read by dn.base="cn=admin,dc=mlo...
49.736626
87
0.747476
2,058
12,086
4.373664
0.16035
0.013332
0.019331
0.023553
0.574603
0.552383
0.545384
0.545384
0.434174
0.407066
0
0.205793
0.105825
12,086
243
88
49.736626
0.627094
0
0
0.186957
0
0.473913
0.994291
0.36138
0
0
0
0
0
1
0
false
0.017391
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
addca71e07bc5578430511c8693cd202d9fceaf5
480
py
Python
rocketgram/inlineresults/locationmessagecontent.py
waneroy/rocketgram
b84d12772a743a534878e417cd8c1f3c7d4ace1f
[ "MIT" ]
null
null
null
rocketgram/inlineresults/locationmessagecontent.py
waneroy/rocketgram
b84d12772a743a534878e417cd8c1f3c7d4ace1f
[ "MIT" ]
null
null
null
rocketgram/inlineresults/locationmessagecontent.py
waneroy/rocketgram
b84d12772a743a534878e417cd8c1f3c7d4ace1f
[ "MIT" ]
1
2021-02-26T14:21:59.000Z
2021-02-26T14:21:59.000Z
# Copyright (C) 2015-2019 by Vd. # This file is part of RocketGram, the modern Telegram bot framework. # RocketGram is released under the MIT License (see LICENSE). class LocationMessageContent: """https://core.telegram.org/bots/api#inputlocationmessagecontent""" def __init__(self, latitude, longitude): ...
28.235294
72
0.689583
57
480
5.666667
0.684211
0.099071
0
0
0
0
0
0
0
0
0
0.020888
0.202083
480
16
73
30
0.822454
0.4625
0
0
0
0
0.068
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ade8105fc9578c255d7e34db8f7d1dfe491c5187
830
py
Python
tests/test_risk.py
themiurgo/progmosis
9f902c29328dfc6f79c57b8486b6a674a97d7ddf
[ "MIT" ]
null
null
null
tests/test_risk.py
themiurgo/progmosis
9f902c29328dfc6f79c57b8486b6a674a97d7ddf
[ "MIT" ]
null
null
null
tests/test_risk.py
themiurgo/progmosis
9f902c29328dfc6f79c57b8486b6a674a97d7ddf
[ "MIT" ]
null
null
null
import progmosis user_a = [(0, "A"), (2, "B"), (4, "A")] user_b = [(0, "A"), (4, "A")] user_c = [(0, "A"), (1, "B"), (2, "A"), (4, "A")] user_d = [(0, "A"), (1, "B"), (2, "A"), (4, "A")] user_e = [(0, "A"), (1, "B"), (3, "C"), (4, "A")] user_f = [(0, "A"), (1, "B"), (2, "C"), (3, "A"), (4, "D"), (5, "A")] user_g = [(0...
31.923077
69
0.533735
149
830
2.778523
0.134228
0.173913
0.371981
0.439614
0.743961
0.671498
0.671498
0.637681
0.057971
0
0
0.059507
0.16988
830
25
70
33.2
0.541364
0
0
0
0
0
0.040964
0
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.318182
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
1
0
0
0
0
0
0
0
0
3
bc0d22a8705d7a610eb08d4ef8dd2719e61ca282
4,119
py
Python
src/plugins/roll_dice/__init__.py
Jigsaw111/nondice
645f92ba035bdaf6cf7cd769a01fa0e931b91be4
[ "MIT" ]
6
2021-01-02T18:48:48.000Z
2022-02-17T07:05:22.000Z
src/plugins/roll_dice/__init__.py
Jigsaw111/nondice
645f92ba035bdaf6cf7cd769a01fa0e931b91be4
[ "MIT" ]
null
null
null
src/plugins/roll_dice/__init__.py
Jigsaw111/nondice
645f92ba035bdaf6cf7cd769a01fa0e931b91be4
[ "MIT" ]
1
2021-01-14T12:30:30.000Z
2021-01-14T12:30:30.000Z
from nonebot import on_command, CommandSession from .calculator import BaseCalculator,FateCalculator,WodCalculator,CocCalculator from .sqlite import get_bot_on,set_default_dice,get_default_dice __plugin_name__ = '掷骰' __plugin_usage__ = ( '用法:\n' '.r(h) 4#3d6k2+5 reason\n' '注意这里命令与参数之间是有空格的!' ) @on_command...
48.458824
107
0.75528
546
4,119
5.369963
0.172161
0.114598
0.081855
0.048772
0.798431
0.747613
0.719986
0.668145
0.607435
0.607435
0
0.002198
0.116533
4,119
85
108
48.458824
0.803517
0
0
0.410959
0
0
0.069175
0.005583
0
0
0
0
0
1
0
false
0
0.041096
0
0.041096
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
bc0d8410d5243f4e06ae8eb5920b3d0114ef2ef5
93
py
Python
orchestra/communication/errors.py
code-review-doctor/orchestra
1ba58d26c508e89d2050dc9b0c8439eb1eadd014
[ "Apache-2.0" ]
444
2016-07-25T05:24:30.000Z
2022-02-21T08:12:29.000Z
orchestra/communication/errors.py
code-review-doctor/orchestra
1ba58d26c508e89d2050dc9b0c8439eb1eadd014
[ "Apache-2.0" ]
395
2016-07-26T20:49:59.000Z
2022-03-15T20:58:45.000Z
orchestra/communication/errors.py
code-review-doctor/orchestra
1ba58d26c508e89d2050dc9b0c8439eb1eadd014
[ "Apache-2.0" ]
63
2016-07-26T04:10:21.000Z
2022-03-29T03:32:19.000Z
from slacker import Error class SlackFormatError(Exception): pass SlackError = Error
10.333333
34
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.193548
93
8
35
11.625
0.946667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
bc0f222adccb643c49ad80130459e0b893f04be9
134
py
Python
gpu_list.py
KushanChamindu/Capsules-for-text
03643d47e592d2034b5e72ddee769a4edae7137d
[ "MIT" ]
1
2021-06-19T15:41:28.000Z
2021-06-19T15:41:28.000Z
gpu_list.py
KushanChamindu/Capsules-for-text
03643d47e592d2034b5e72ddee769a4edae7137d
[ "MIT" ]
null
null
null
gpu_list.py
KushanChamindu/Capsules-for-text
03643d47e592d2034b5e72ddee769a4edae7137d
[ "MIT" ]
5
2021-08-28T11:47:14.000Z
2021-09-23T05:22:26.000Z
import tensorflow as tf # choose a device type such as CPU or GPU devices = tf.config.list_physical_devices('GPU') print(devices[0])
22.333333
48
0.768657
23
134
4.391304
0.782609
0
0
0
0
0
0
0
0
0
0
0.008696
0.141791
134
5
49
26.8
0.869565
0.291045
0
0
0
0
0.032258
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bc17a1c0d3f45deb4b6d63dbbb2794747f2fe0be
139
py
Python
code-sample-python/python_first_django/profiles/urls.py
aquatir/learntocode
9b860a528ded64fab2686a93c49dfd4b3947d6c9
[ "MIT" ]
null
null
null
code-sample-python/python_first_django/profiles/urls.py
aquatir/learntocode
9b860a528ded64fab2686a93c49dfd4b3947d6c9
[ "MIT" ]
1
2017-10-03T11:25:54.000Z
2017-10-03T11:25:54.000Z
code-sample-python/python_first_django/profiles/urls.py
aquatir/remember_java_api
6acc72e23a954152d922e380d06f337f55921950
[ "MIT" ]
null
null
null
from django.urls import path from profiles import views urlpatterns = [ path('user/', views.user), path('admin/', views.admin), ]
17.375
32
0.676259
18
139
5.222222
0.555556
0
0
0
0
0
0
0
0
0
0
0
0.179856
139
8
33
17.375
0.824561
0
0
0
0
0
0.078571
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bc2bf60e792558d305178939c8315bc29df2e59b
50
py
Python
catnip/models.py
ObjectifLibre/catnip
5d89c92de0396b1e912bb498af88687dd046718d
[ "Apache-2.0" ]
2
2020-03-13T12:45:10.000Z
2020-04-01T12:04:49.000Z
catnip/models.py
ObjectifLibre/catnip
5d89c92de0396b1e912bb498af88687dd046718d
[ "Apache-2.0" ]
1
2020-07-24T21:54:08.000Z
2020-07-24T21:54:08.000Z
catnip/models.py
ObjectifLibre/catnip
5d89c92de0396b1e912bb498af88687dd046718d
[ "Apache-2.0" ]
1
2020-05-11T19:19:12.000Z
2020-05-11T19:19:12.000Z
from catnip.user import User __all__ = ["User"]
10
28
0.7
7
50
4.428571
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.18
50
4
29
12.5
0.756098
0
0
0
0
0
0.08
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
70cf7538ab48d572dcee51a4995aa0e84a66fe70
128
py
Python
main.py
marx-merten/pygameTest
133d804174f453831731c3979115a51d7966ce79
[ "MIT" ]
null
null
null
main.py
marx-merten/pygameTest
133d804174f453831731c3979115a51d7966ce79
[ "MIT" ]
null
null
null
main.py
marx-merten/pygameTest
133d804174f453831731c3979115a51d7966ce79
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from simplegame import Game if __name__ == '__main__': game = Game() game.init() game.run()
16
27
0.632813
17
128
4.294118
0.764706
0.219178
0
0
0
0
0
0
0
0
0
0.01
0.21875
128
7
28
18.285714
0.72
0.164063
0
0
0
0
0.075472
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
70d997ee9e8bf9993f9aad20c92c9b0abcbce989
258
py
Python
0x0B-python-input_output/3-to_json_string.py
malu17/alx-higher_level_programming
75a24d98c51116b737f339697c75855e34254d3a
[ "MIT" ]
null
null
null
0x0B-python-input_output/3-to_json_string.py
malu17/alx-higher_level_programming
75a24d98c51116b737f339697c75855e34254d3a
[ "MIT" ]
null
null
null
0x0B-python-input_output/3-to_json_string.py
malu17/alx-higher_level_programming
75a24d98c51116b737f339697c75855e34254d3a
[ "MIT" ]
null
null
null
#!/usr/bin/python3 """to_json_string module. Contains a function that returns the JSON representation of an object. """ import json def to_json_string(my_obj): """Returns the JSON representation of an object (string).""" return json.dumps(my_obj)
21.5
70
0.736434
39
258
4.717949
0.589744
0.065217
0.130435
0.304348
0.413043
0.413043
0.413043
0
0
0
0
0.004587
0.155039
258
11
71
23.454545
0.83945
0.647287
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
3
70e5f7a67c8ab1fff29e83ee1418568d427ebb9b
259
py
Python
tests/test_case_one.py
ammarnajjar/fixture-demo
0cca14d80d34fdac299ba97514ee6b3adfbd5e3b
[ "MIT" ]
null
null
null
tests/test_case_one.py
ammarnajjar/fixture-demo
0cca14d80d34fdac299ba97514ee6b3adfbd5e3b
[ "MIT" ]
3
2020-03-24T17:32:02.000Z
2020-04-10T21:12:51.000Z
tests/test_case_one.py
ammarnajjar/fixture-demo
0cca14d80d34fdac299ba97514ee6b3adfbd5e3b
[ "MIT" ]
null
null
null
import pytest @pytest.mark.usefixtures('set_up', 'param') class TestCaseOne: def test_one_1(self, param): assert param == 1 def test_one_2(self, param): assert param == 2 def test_one_3(self, param): assert param == 3
17.266667
43
0.625483
37
259
4.189189
0.459459
0.135484
0.193548
0.387097
0
0
0
0
0
0
0
0.031414
0.262548
259
14
44
18.5
0.780105
0
0
0
0
0
0.042471
0
0
0
0
0
0.333333
1
0.333333
false
0
0.111111
0
0.555556
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
cb01c08989ae3d694703b77dda1b9ed9ed8a870c
1,737
py
Python
secret_sdk/client/grpc/protobuf/cosmos/base/store/v1beta1/__init__.py
ethanleifer/secret-sdk-python
e7fe774781241476fc2905b093f17ceb9d977609
[ "MIT" ]
null
null
null
secret_sdk/client/grpc/protobuf/cosmos/base/store/v1beta1/__init__.py
ethanleifer/secret-sdk-python
e7fe774781241476fc2905b093f17ceb9d977609
[ "MIT" ]
null
null
null
secret_sdk/client/grpc/protobuf/cosmos/base/store/v1beta1/__init__.py
ethanleifer/secret-sdk-python
e7fe774781241476fc2905b093f17ceb9d977609
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # sources: cosmos/base/store/v1beta1/commit_info.proto, cosmos/base/store/v1beta1/listening.proto # plugin: python-betterproto from dataclasses import dataclass from typing import List import betterproto from betterproto.grpc.grpclib_server import ServiceBase ...
30.473684
97
0.740933
224
1,737
5.678571
0.424107
0.084906
0.050314
0.062893
0.227987
0.187107
0.113208
0.113208
0.084906
0.084906
0
0.014583
0.170984
1,737
56
98
31.017857
0.86875
0.407024
0
0.272727
1
0
0.018028
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
cb07ea6994ceaf68ec083b5d989feeae4aa62dd2
14,067
py
Python
t/v26_features.py
makorne/nginx_upstream_module
92cb2a57d61f990f90e0c54d45c7bba7432aa7a6
[ "BSD-2-Clause" ]
1
2019-07-30T08:40:25.000Z
2019-07-30T08:40:25.000Z
t/v26_features.py
makorne/nginx_upstream_module
92cb2a57d61f990f90e0c54d45c7bba7432aa7a6
[ "BSD-2-Clause" ]
null
null
null
t/v26_features.py
makorne/nginx_upstream_module
92cb2a57d61f990f90e0c54d45c7bba7432aa7a6
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python # -_- encoding: utf8 -_- import sys import time sys.path.append('./t') from http_utils import * def arr_of_dicts_to_arr(arr_of_dicts, start_from = 0): res = [] for k in arr_of_dicts: res.append(k.values()[0]) return res[start_from:] # ============ # print ('[+] basic insert') r...
26.743346
111
0.575602
1,938
14,067
3.976264
0.082043
0.052686
0.06722
0.072671
0.847651
0.822216
0.732287
0.695692
0.636906
0.576953
0
0.05064
0.188597
14,067
525
112
26.794286
0.624496
0.041871
0
0.574413
0
0
0.328617
0
0
0
0
0
0.138381
1
0.002611
false
0
0.007833
0
0.013055
0.120104
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3