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
1a1a48b643062f164220c75b43bf45734a607d59
776
py
Python
leetcode/242-valid-anagram.py
oleonardolima/problem-solving
079da5013c1f04e3b6a5c8c42f24cba60f0bc424
[ "MIT" ]
null
null
null
leetcode/242-valid-anagram.py
oleonardolima/problem-solving
079da5013c1f04e3b6a5c8c42f24cba60f0bc424
[ "MIT" ]
null
null
null
leetcode/242-valid-anagram.py
oleonardolima/problem-solving
079da5013c1f04e3b6a5c8c42f24cba60f0bc424
[ "MIT" ]
null
null
null
# Problem Statement: https://leetcode.com/problems/valid-anagram/ class Solution: def isAnagram(self, s: str, t: str) -> bool: if len(s) != len(t): return False else: letter_cnt = {} for letter in s: if not letter in letter_cnt: ...
28.740741
65
0.472938
86
776
4.139535
0.348837
0.27809
0.379213
0.179775
0.47191
0.47191
0.47191
0.47191
0.47191
0.47191
0
0.01171
0.449742
776
26
66
29.846154
0.822014
0.081186
0
0.45
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0
0
0.25
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a7e0ed2819dc3ed233ddffcb6d7776aa10f1f15a
1,659
py
Python
Python/Class2/lists.py
marce1994/Learning
2b5928cf16c0d25bfc130ad4df9d415475395ec3
[ "MIT" ]
null
null
null
Python/Class2/lists.py
marce1994/Learning
2b5928cf16c0d25bfc130ad4df9d415475395ec3
[ "MIT" ]
null
null
null
Python/Class2/lists.py
marce1994/Learning
2b5928cf16c0d25bfc130ad4df9d415475395ec3
[ "MIT" ]
null
null
null
# Online Python compiler (interpreter) to run Python online. # Write Python 3 code in this online editor and run it. vegetables = ["rucula", "tomate", "lechuga", "acelga"]; print(vegetables); print(len(vegetables)); print(str(type(vegetables))); print('-'*10); print(vegetables[0]); # Elemento 0 print(vegetables[1:]...
22.12
66
0.709464
215
1,659
5.390698
0.32093
0.220017
0.088007
0.059534
0.231234
0.174288
0.174288
0.174288
0.174288
0.112166
0
0.019782
0.116335
1,659
74
67
22.418919
0.770805
0.24774
0
0.386364
0
0
0.061688
0
0
0
0
0.013514
0
1
0
false
0
0
0
0
0.704545
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
3
a7e43445e9db29f8e0f2eb13845554ed1bc4b5fc
216
py
Python
examples/simple/main.py
chocri/huey
31756ea83e5a010ea44d04f8d3abfe444406738b
[ "MIT" ]
null
null
null
examples/simple/main.py
chocri/huey
31756ea83e5a010ea44d04f8d3abfe444406738b
[ "MIT" ]
null
null
null
examples/simple/main.py
chocri/huey
31756ea83e5a010ea44d04f8d3abfe444406738b
[ "MIT" ]
null
null
null
from config import Configuration from commands import count_beans if __name__ == '__main__': beans = raw_input('How many beans? ') count_beans(int(beans)) print 'Enqueued job to count %s beans' % beans
24
50
0.717593
30
216
4.8
0.666667
0.138889
0
0
0
0
0
0
0
0
0
0
0.194444
216
8
51
27
0.827586
0
0
0
0
0
0.25
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
c51262f3d4570f9f6b18735df092ef1cf6b10ad5
418
py
Python
_modules/custom_eos.py
iproute-net/saltstack-hello-world
1597bd2e39f0f19a71617fed27d84185c6e74e83
[ "Apache-2.0" ]
null
null
null
_modules/custom_eos.py
iproute-net/saltstack-hello-world
1597bd2e39f0f19a71617fed27d84185c6e74e83
[ "Apache-2.0" ]
null
null
null
_modules/custom_eos.py
iproute-net/saltstack-hello-world
1597bd2e39f0f19a71617fed27d84185c6e74e83
[ "Apache-2.0" ]
1
2022-03-14T09:31:48.000Z
2022-03-14T09:31:48.000Z
def version(): if __grains__['os'] == 'eos': res = __salt__['napalm.pyeapi_run_commands']('show version') return res[0]['version'] else: return 'Not supported on this platform' def model(): if __grains__['os'] == 'eos': res = __salt__['napalm.pyeapi_run_commands']('show vers...
32.153846
68
0.607656
50
418
4.68
0.46
0.068376
0.08547
0.111111
0.854701
0.854701
0.854701
0.547009
0.547009
0.547009
0
0.006329
0.244019
418
13
69
32.153846
0.734177
0
0
0.666667
0
0
0.386635
0.124105
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
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
c53fe720fd0ce5921674cab66ee09985146b1260
175
py
Python
Python/05 - Math/Triangle Quest 2.py
sohammanjrekar/HackerRank
1f5010133a1ac1e765e855a086053c97d9e958be
[ "MIT" ]
null
null
null
Python/05 - Math/Triangle Quest 2.py
sohammanjrekar/HackerRank
1f5010133a1ac1e765e855a086053c97d9e958be
[ "MIT" ]
null
null
null
Python/05 - Math/Triangle Quest 2.py
sohammanjrekar/HackerRank
1f5010133a1ac1e765e855a086053c97d9e958be
[ "MIT" ]
null
null
null
""" Problem:https://www.hackerrank.com/challenges/triangle-quest-2/problem Author: Eda AYDIN """ for i in range(1, int(input()) + 1): print(((10 ** i) // 9) ** 2)
21.875
71
0.594286
26
175
4
0.846154
0
0
0
0
0
0
0
0
0
0
0.048951
0.182857
175
7
72
25
0.678322
0.508571
0
0
0
0
0
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
c5442df343e38ae99160e40a6fc2d116d91d3480
5,332
py
Python
pymatgen/symmetry/tests/test_kpath_hin.py
Chessmag/pymatgen
61a4bb7a1792e1ea2379abd45b3c40efb816fd64
[ "MIT" ]
1
2021-10-18T01:26:50.000Z
2021-10-18T01:26:50.000Z
pymatgen/symmetry/tests/test_kpath_hin.py
Chessmag/pymatgen
61a4bb7a1792e1ea2379abd45b3c40efb816fd64
[ "MIT" ]
null
null
null
pymatgen/symmetry/tests/test_kpath_hin.py
Chessmag/pymatgen
61a4bb7a1792e1ea2379abd45b3c40efb816fd64
[ "MIT" ]
null
null
null
# coding: utf-8 # Copyright (c) Pymatgen Development Team. # Distributed under the terms of the MIT License. import unittest from pymatgen.util.testing import PymatgenTest from pymatgen.core.lattice import Lattice from pymatgen.core.structure import Structure from pymatgen.symmetry.kpath import KPathSeek try: ...
38.637681
117
0.606339
680
5,332
4.658824
0.182353
0.298295
0.397727
0.130682
0.635417
0.631629
0.487058
0.14899
0.065657
0.065657
0
0.132726
0.238372
5,332
137
118
38.919708
0.647377
0.035259
0
0.096154
0
0
0.044968
0
0
0
0
0
0.442308
1
0.019231
false
0
0.067308
0
0.096154
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
c5474858d23d1b1dccf8156d312871c6630f371d
211
py
Python
src/base64.py
eerohele/disjure
baa57b6f07e7f91984c294f97bba2aefdaaf0bb1
[ "Apache-2.0" ]
46
2020-09-07T10:34:38.000Z
2022-03-01T08:28:11.000Z
src/base64.py
eerohele/disjure
baa57b6f07e7f91984c294f97bba2aefdaaf0bb1
[ "Apache-2.0" ]
66
2020-09-25T17:07:37.000Z
2022-03-31T17:56:07.000Z
src/base64.py
eerohele/disjure
baa57b6f07e7f91984c294f97bba2aefdaaf0bb1
[ "Apache-2.0" ]
6
2020-10-06T06:43:53.000Z
2021-08-10T13:16:13.000Z
import binascii def encode(bs): """Given a bytes object, return a Base64-encoded version of that object, without newlines.""" return binascii.b2a_base64(bs, newline=False).decode("utf-8").rstrip()
26.375
84
0.7109
30
211
4.966667
0.8
0
0
0
0
0
0
0
0
0
0
0.033898
0.161137
211
7
85
30.142857
0.80791
0.412322
0
0
0
0
0.04386
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
1
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
c5672153f3db8243c8c0fc55847aeb6bc11eb556
531
py
Python
RecoEgamma/EgammaIsolationAlgos/python/gamIsoDeposits_cff.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoEgamma/EgammaIsolationAlgos/python/gamIsoDeposits_cff.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
7
2016-07-17T02:34:54.000Z
2019-08-13T07:58:37.000Z
RecoEgamma/EgammaIsolationAlgos/python/gamIsoDeposits_cff.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
import FWCore.ParameterSet.Config as cms from RecoEgamma.EgammaIsolationAlgos.egammaIsoSetup_cff import * from RecoEgamma.EgammaIsolationAlgos.gamIsoDepositTk_cff import * from RecoEgamma.EgammaIsolationAlgos.gamIsoDepositEcalFromHits_cff import * from RecoEgamma.EgammaIsolationAlgos.gamIsoDepositHcalFromTowers_cff i...
31.235294
77
0.847458
38
531
11.736842
0.473684
0.125561
0.304933
0.154709
0.289238
0
0
0
0
0
0
0.004237
0.111111
531
16
78
33.1875
0.940678
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3d6c7fb329de47161eaf3a7100c6439773b79f3e
2,181
py
Python
backend/assortment/views.py
StichtingIAPC/swipe
d1ea35a40813d2d5e9cf9edde33148c0a825efc4
[ "BSD-3-Clause-Clear" ]
null
null
null
backend/assortment/views.py
StichtingIAPC/swipe
d1ea35a40813d2d5e9cf9edde33148c0a825efc4
[ "BSD-3-Clause-Clear" ]
null
null
null
backend/assortment/views.py
StichtingIAPC/swipe
d1ea35a40813d2d5e9cf9edde33148c0a825efc4
[ "BSD-3-Clause-Clear" ]
null
null
null
from rest_framework import generics from rest_framework import mixins from assortment.models import AssortmentUnitType, AssortmentLabelType from assortment.serializers import UnitTypeSerializer, LabelTypeSerializer, LabelTypeSerializerWithEdit, \ UnitTypeSerializerWithEdit from www.models import SwipeLoginRequired...
36.35
106
0.683631
189
2,181
7.857143
0.232804
0.118519
0.183165
0.113131
0.696296
0.696296
0.696296
0.696296
0.331313
0.331313
0
0
0.222834
2,181
59
107
36.966102
0.876106
0
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.190476
false
0
0.119048
0.190476
0.785714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
3dac5afcba11596564f5b2a49e1406b9e71a8a82
6,026
py
Python
openstack_dashboard/dashboards/admin/group_types/specs/tests.py
nicozhang/horizon
49df5cffd84b6d9da4e5926afd12e0a92737d740
[ "Apache-2.0" ]
1
2019-11-01T07:40:49.000Z
2019-11-01T07:40:49.000Z
openstack_dashboard/dashboards/admin/group_types/specs/tests.py
nicozhang/horizon
49df5cffd84b6d9da4e5926afd12e0a92737d740
[ "Apache-2.0" ]
7
2017-06-26T14:34:33.000Z
2020-06-30T22:10:50.000Z
openstack_dashboard/dashboards/admin/group_types/specs/tests.py
yi-cloud/horizon-xg
827365753886025dc62fbfbed179ef719d313711
[ "Apache-2.0" ]
6
2015-05-25T00:31:26.000Z
2022-03-21T22:36:25.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
42.43662
75
0.658148
758
6,026
4.914248
0.186016
0.14255
0.076779
0.091275
0.722953
0.716779
0.704966
0.684832
0.66443
0.611812
0
0.005028
0.240956
6,026
141
76
42.737589
0.809357
0.086625
0
0.570093
0
0
0.121085
0.073926
0
0
0
0
0.224299
1
0.056075
false
0
0.028037
0
0.093458
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
3db2fb270bf9f7f3981fe8351e454ca6b15335fb
20,792
py
Python
conpaas-services/src/conpaas/services/webservers/manager/autoscaling/performance.py
bopopescu/conpaas-2
0141a11b67b14757f445b44613ea79819b9c2eaf
[ "BSD-3-Clause" ]
5
2016-02-24T14:44:03.000Z
2020-11-29T19:18:40.000Z
conpaas-services/src/conpaas/services/webservers/manager/autoscaling/performance.py
bopopescu/conpaas-2
0141a11b67b14757f445b44613ea79819b9c2eaf
[ "BSD-3-Clause" ]
25
2015-03-23T16:05:19.000Z
2018-02-13T17:22:22.000Z
conpaas-services/src/conpaas/services/webservers/manager/autoscaling/performance.py
bopopescu/conpaas-2
0141a11b67b14757f445b44613ea79819b9c2eaf
[ "BSD-3-Clause" ]
2
2015-11-06T15:16:09.000Z
2020-07-26T03:18:03.000Z
""" @author: fernandez """ from conpaas.services.webservers.manager.autoscaling import log PATH_LOG_FILE = '/tmp/provisioning.log' log.init(PATH_LOG_FILE) logger = log.create_logger('Autoscaling') DEFAULT_REQUEST_RATE_PREDICTION = 1.2 class ServiceNodePerf(object): """ This class will contain performance...
68.170492
5,212
0.724606
2,486
20,792
5.895012
0.199115
0.015967
0.020061
0.024565
0.650426
0.623541
0.591266
0.569635
0.546844
0.520778
0
0.460136
0.171749
20,792
304
5,213
68.394737
0.39086
0.530444
0
0.366834
0
0.005025
0.033158
0.004634
0
0
0
0
0
1
0.120603
false
0
0.005025
0.025126
0.286432
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3db981f73786001139895383f93da44914a7ef71
55
py
Python
rdmo/options/__init__.py
Raspeanut/rdmo
9f785010a499c372a2f8368ccf76d2ea4150adcb
[ "Apache-2.0" ]
1
2021-12-13T16:32:25.000Z
2021-12-13T16:32:25.000Z
rdmo/options/__init__.py
Raspeanut/rdmo
9f785010a499c372a2f8368ccf76d2ea4150adcb
[ "Apache-2.0" ]
null
null
null
rdmo/options/__init__.py
Raspeanut/rdmo
9f785010a499c372a2f8368ccf76d2ea4150adcb
[ "Apache-2.0" ]
1
2021-05-20T09:31:49.000Z
2021-05-20T09:31:49.000Z
default_app_config = 'rdmo.options.apps.OptionsConfig'
27.5
54
0.836364
7
55
6.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.054545
55
1
55
55
0.846154
0
0
0
0
0
0.563636
0.563636
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3dbbd96a02567b1d4ed2914205703843bdcd4a76
2,519
py
Python
eventsourcing/tests/test_retry_decorator.py
Skyross/eventsourcing
30da69f6a17e9575cadf0bb211d3b7c77d239ffb
[ "BSD-3-Clause" ]
null
null
null
eventsourcing/tests/test_retry_decorator.py
Skyross/eventsourcing
30da69f6a17e9575cadf0bb211d3b7c77d239ffb
[ "BSD-3-Clause" ]
null
null
null
eventsourcing/tests/test_retry_decorator.py
Skyross/eventsourcing
30da69f6a17e9575cadf0bb211d3b7c77d239ffb
[ "BSD-3-Clause" ]
null
null
null
from unittest import TestCase from eventsourcing.utils import retry class TestRetryDecorator(TestCase): def test_bare(self): @retry def f(): pass f() def test_no_args(self): @retry() def f(): pass f() def test_exception_single_va...
20.647541
57
0.533148
272
2,519
4.757353
0.161765
0.064915
0.120556
0.120556
0.761978
0.761978
0.673879
0.602782
0.564142
0.518547
0
0.017035
0.370782
2,519
121
58
20.818182
0.799369
0
0
0.674699
0
0
0.001191
0
0
0
0
0
0.156627
1
0.301205
false
0.108434
0.024096
0
0.337349
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
3dbcdead9229399c65e9353b10a83689a50938b6
339
py
Python
src/bot/botstates/DefaultBot.py
malmgrens4/TwIOTch
a3e05f5fcb5bcd75aba3cf9533ca7c5308e4a2de
[ "MIT" ]
null
null
null
src/bot/botstates/DefaultBot.py
malmgrens4/TwIOTch
a3e05f5fcb5bcd75aba3cf9533ca7c5308e4a2de
[ "MIT" ]
null
null
null
src/bot/botstates/DefaultBot.py
malmgrens4/TwIOTch
a3e05f5fcb5bcd75aba3cf9533ca7c5308e4a2de
[ "MIT" ]
null
null
null
from twitchio.dataclasses import Message from src.bot.botstates.BotState import BotState class DefaultBot(BotState): async def handle_event_message(self, msg: Message) -> None: pass async def handle_join(self, msg: Message) -> None: pass async def can_join(self, msg: Message) -> bool: ...
22.6
63
0.693215
44
339
5.25
0.545455
0.103896
0.181818
0.155844
0.25974
0.25974
0.25974
0
0
0
0
0
0.224189
339
14
64
24.214286
0.878327
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
true
0.222222
0.222222
0
0.444444
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
3dc688aa58a97751bf0c8c51d39ed7db2b35f6e2
877
py
Python
scieio/spectroscopy/views.py
arnelimperial/scieio
279a25766f20d074a3df824c0fbc8b2d8e35f272
[ "MIT" ]
null
null
null
scieio/spectroscopy/views.py
arnelimperial/scieio
279a25766f20d074a3df824c0fbc8b2d8e35f272
[ "MIT" ]
8
2021-03-19T01:56:44.000Z
2022-03-12T00:24:21.000Z
scieio/spectroscopy/views.py
arnelimperial/scieio
279a25766f20d074a3df824c0fbc8b2d8e35f272
[ "MIT" ]
null
null
null
from django.shortcuts import render from rest_framework import viewsets from . import models, serializers class SpectroscopyViewSet(viewsets.ModelViewSet): queryset = models.Spectroscopy.objects.all() serializer_class = serializers.SpectroscopySerializer class AtomicAbsorptionViewSet(viewsets.ModelViewSet):...
30.241379
62
0.810718
79
877
8.924051
0.392405
0.141844
0.198582
0.241135
0.255319
0
0
0
0
0
0
0
0.117446
877
28
63
31.321429
0.910853
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
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
3de8fa45e615d67738e5912e4db14f12ff5e9521
249
py
Python
bin/aaFoamMemoryUsage.py
guillaume-florent/aaFoam
8e821f13cc0a67f1ba26c3ba74db5512fb288928
[ "MIT" ]
null
null
null
bin/aaFoamMemoryUsage.py
guillaume-florent/aaFoam
8e821f13cc0a67f1ba26c3ba74db5512fb288928
[ "MIT" ]
null
null
null
bin/aaFoamMemoryUsage.py
guillaume-florent/aaFoam
8e821f13cc0a67f1ba26c3ba74db5512fb288928
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 r"""Memory usage Run: > aaFoamMemoryUsage.py -p <PID> Do not use sudo, the command won't be found. """ from aa_foam.memory_usage import memory_usage_main if __name__ == '__main__': memory_usage_main()
14.647059
50
0.710843
40
249
4.075
0.8
0.269939
0.184049
0
0
0
0
0
0
0
0
0.004808
0.164659
249
16
51
15.5625
0.778846
0.526104
0
0
0
0
0.073395
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3df97e2c135d9ebb4d270813c26caa54fb5a5fbd
216
py
Python
Chapter1/ruler.py
galinadychko/IntroToPython
14b804f0d7f40e9e8cb515c885d01bdc5f70c627
[ "MIT" ]
null
null
null
Chapter1/ruler.py
galinadychko/IntroToPython
14b804f0d7f40e9e8cb515c885d01bdc5f70c627
[ "MIT" ]
null
null
null
Chapter1/ruler.py
galinadychko/IntroToPython
14b804f0d7f40e9e8cb515c885d01bdc5f70c627
[ "MIT" ]
null
null
null
import stdio ruler1 = "1" ruler2 = ruler1 + " 2 " + ruler1 ruler3 = ruler2 + " 3 " + ruler2 ruler4 = ruler3 + " 4 " + ruler3 stdio.writeln(ruler1) stdio.writeln(ruler2) stdio.writeln(ruler3) stdio.writeln(ruler4)
16.615385
32
0.680556
28
216
5.25
0.392857
0.326531
0.244898
0
0
0
0
0
0
0
0
0.101695
0.180556
216
12
33
18
0.728814
0
0
0
0
0
0.046296
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
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
9a972fa870074164a3182b2cdf422e77610cac35
9,624
py
Python
tests/t10_basic/test_package.py
oscdev-io/ezplugins
370bb53b7d965f012a1c80fb8c11d49fc60e3660
[ "MIT" ]
null
null
null
tests/t10_basic/test_package.py
oscdev-io/ezplugins
370bb53b7d965f012a1c80fb8c11d49fc60e3660
[ "MIT" ]
null
null
null
tests/t10_basic/test_package.py
oscdev-io/ezplugins
370bb53b7d965f012a1c80fb8c11d49fc60e3660
[ "MIT" ]
null
null
null
# # SPDX-License-Identifier: MIT # # Copyright (C) 2019-2021, AllWorldIT. # # 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 rights to # u...
42.396476
125
0.635495
1,089
9,624
5.40404
0.172635
0.092438
0.173322
0.227698
0.752251
0.752251
0.716228
0.64384
0.562787
0.524894
0
0.039474
0.265586
9,624
226
126
42.584071
0.793152
0.165732
0
0.451613
0
0.006452
0.456899
0.385147
0
0
0
0
0.045161
1
0.045161
false
0
0.019355
0
0.077419
0
0
0
0
null
0
0
1
0
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
9a9f88831ddf1e7558324a38f531ae336b5ff116
236
py
Python
helpers/db.py
KBA07/stylor-web-backend
9ef4ade46c81f3d48a63d78227db9dc645989ad4
[ "MIT" ]
null
null
null
helpers/db.py
KBA07/stylor-web-backend
9ef4ade46c81f3d48a63d78227db9dc645989ad4
[ "MIT" ]
null
null
null
helpers/db.py
KBA07/stylor-web-backend
9ef4ade46c81f3d48a63d78227db9dc645989ad4
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine from models.inventory import Base from conf.settings import config def load_db(): engine = create_engine(config.SQLITE_PREFIX + config.SQLITEDB, echo=True) Base.metadata.create_all(engine)
26.222222
77
0.79661
33
236
5.545455
0.636364
0.131148
0
0
0
0
0
0
0
0
0
0
0.131356
236
8
78
29.5
0.892683
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
9aaf56d14e43f0e585ab823d2165fdd1dfd6cb2a
3,867
py
Python
Contents/Libraries/Shared/rebulk/utils.py
jippo015/Sub-Zero.bundle
734e0f7128c05c0f639e11e7dfc77daa1014064b
[ "MIT" ]
1,553
2015-11-09T02:17:06.000Z
2022-03-31T20:24:52.000Z
Contents/Libraries/Shared/rebulk/utils.py
saiterlz/Sub-Zero.bundle
1a0bb9c3e4be84be35d46672907783363fe5a87b
[ "MIT" ]
691
2015-11-05T21:32:26.000Z
2022-03-17T10:52:45.000Z
Contents/Libraries/Shared/rebulk/utils.py
saiterlz/Sub-Zero.bundle
1a0bb9c3e4be84be35d46672907783363fe5a87b
[ "MIT" ]
162
2015-11-06T19:38:55.000Z
2022-03-16T02:42:41.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Various utilities functions """ from collections import MutableSet from types import GeneratorType def find_all(string, sub, start=None, end=None, ignore_case=False, **kwargs): """ Return all indices in string s where substring sub is found, such that sub...
25.11039
100
0.610034
524
3,867
4.366412
0.354962
0.018357
0.024038
0.018357
0.136364
0.136364
0.136364
0.136364
0.136364
0.136364
0
0.006472
0.280838
3,867
153
101
25.27451
0.816253
0.475304
0
0
0
0
0.008206
0
0
0
0
0
0
1
0.3
false
0
0.04
0.12
0.58
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
9ab203f2836522c8acb4529186fdb3bda06d6703
1,319
py
Python
backend/restapi/models/workspace.py
IlluminateMedia/prompts-ai
04723f21f165811ab784f8eebab10b7df2d02075
[ "MIT" ]
null
null
null
backend/restapi/models/workspace.py
IlluminateMedia/prompts-ai
04723f21f165811ab784f8eebab10b7df2d02075
[ "MIT" ]
null
null
null
backend/restapi/models/workspace.py
IlluminateMedia/prompts-ai
04723f21f165811ab784f8eebab10b7df2d02075
[ "MIT" ]
null
null
null
from django.db import models from django.utils.translation import gettext_lazy as _ from .custom_model import CustomModel class Workspace(models.Model): name = models.CharField(max_length=255, blank=False) custom_model = models.ForeignKey( CustomModel, related_name="workspaces", on_delete=models.CASC...
45.482759
84
0.747536
173
1,319
5.520231
0.32948
0.204188
0.245026
0.326702
0.588482
0.588482
0.588482
0.394764
0.163351
0
0
0.034392
0.140258
1,319
28
85
47.107143
0.80776
0
0
0
0
0
0.012889
0
0
0
0
0
0
1
0
false
0
0.125
0
0.875
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
9ab812fd8f6ebcd646319c010e0616cd8af10408
1,675
py
Python
fs_image/rpm/storage/s3_storage.py
singhaditya28/fs_image
3d122da48eab8b26e5add6754cc1f91296139c58
[ "MIT" ]
null
null
null
fs_image/rpm/storage/s3_storage.py
singhaditya28/fs_image
3d122da48eab8b26e5add6754cc1f91296139c58
[ "MIT" ]
null
null
null
fs_image/rpm/storage/s3_storage.py
singhaditya28/fs_image
3d122da48eab8b26e5add6754cc1f91296139c58
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import os from typing import List from .cli_object_storage import CLIObjectStorage class S3Storage(CLIObjectStorage...
31.603774
65
0.641194
234
1,675
4.307692
0.333333
0.071429
0.054563
0.055556
0.286706
0.200397
0.200397
0.200397
0.200397
0.200397
0
0.008507
0.22806
1,675
52
66
32.211538
0.771075
0.134328
0
0
0
0
0.106648
0.043629
0
0
0
0
0
1
0.25
false
0
0.09375
0.1875
0.6875
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
9abefab0ff261d7cb4a6141faaabafe7c7e2a6d2
661
py
Python
Authentication/module/customAuth.py
farazjalili/AuthenticationDjango
ffd43166fd31a4010dc044f8f2fa9b6000a1a8b3
[ "Apache-2.0" ]
null
null
null
Authentication/module/customAuth.py
farazjalili/AuthenticationDjango
ffd43166fd31a4010dc044f8f2fa9b6000a1a8b3
[ "Apache-2.0" ]
13
2020-02-12T03:00:54.000Z
2022-03-02T06:31:24.000Z
Authentication/module/customAuth.py
farazjalili/AuthenticationDjango
ffd43166fd31a4010dc044f8f2fa9b6000a1a8b3
[ "Apache-2.0" ]
null
null
null
from from django.db.models import Q class customeAuth(object): supports_object_permissions = True supports_anonymous_user = False supports_inactive_user = False def get_user(self, user_id): try: return UserProfile.objects.get(pk=user_id) except UserProfile.DoesNotExist: ...
27.541667
76
0.65053
74
661
5.675676
0.486486
0.042857
0.1
0.166667
0.185714
0
0
0
0
0
0
0
0.278366
661
24
77
27.541667
0.880503
0
0
0.315789
0
0
0
0
0
0
0
0
0
0
null
null
0.105263
0.052632
null
null
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
1
0
0
1
0
0
0
0
0
3
9ad7cae380bdc9d1af0beb8dc2fa304f5be2c20b
143
py
Python
gym-witches-multiv2/gym_witches_multiv2/__init__.py
CesMak/gyms
b5a3a0e90b0bc407029fe26e115bc9f9de1044e1
[ "BSD-3-Clause" ]
1
2021-01-25T01:43:49.000Z
2021-01-25T01:43:49.000Z
gym-witches-multiv2/gym_witches_multiv2/__init__.py
CesMak/gyms
b5a3a0e90b0bc407029fe26e115bc9f9de1044e1
[ "BSD-3-Clause" ]
null
null
null
gym-witches-multiv2/gym_witches_multiv2/__init__.py
CesMak/gyms
b5a3a0e90b0bc407029fe26e115bc9f9de1044e1
[ "BSD-3-Clause" ]
null
null
null
from gym.envs.registration import register register( id='Witches_multi-v2', entry_point='gym_witches_multiv2.envs:WitchesEnvMulti', )
20.428571
59
0.776224
18
143
5.944444
0.777778
0
0
0
0
0
0
0
0
0
0
0.015873
0.118881
143
6
60
23.833333
0.833333
0
0
0
0
0
0.391608
0.27972
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
9af6a8dc1f95f636b5ae6c1fa9e2c378bb138b98
179
py
Python
mayan/apps/task_manager/workers.py
sophiawa/Mayan-EDMS
42f20576d0c690b645a60bf53c5169cda4264231
[ "Apache-2.0" ]
1
2021-02-24T15:03:23.000Z
2021-02-24T15:03:23.000Z
mayan/apps/task_manager/workers.py
sophiawa/Mayan-EDMS
42f20576d0c690b645a60bf53c5169cda4264231
[ "Apache-2.0" ]
10
2021-03-20T00:01:17.000Z
2022-03-12T00:48:43.000Z
mayan/apps/task_manager/workers.py
sophiawa/Mayan-EDMS
42f20576d0c690b645a60bf53c5169cda4264231
[ "Apache-2.0" ]
1
2021-04-30T09:43:52.000Z
2021-04-30T09:43:52.000Z
from .classes import Worker worker_fast = Worker(name='fast', nice_level=1) worker_medium = Worker(name='medium', nice_level=18) worker_slow = Worker(name='slow', nice_level=19)
29.833333
52
0.765363
28
179
4.678571
0.464286
0.229008
0
0
0
0
0
0
0
0
0
0.030864
0.094972
179
5
53
35.8
0.777778
0
0
0
0
0
0.078212
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
9afe2e5c0a8f19d964d3da3f5e4b2c19a251ff11
138
py
Python
gridfs_storage/apps.py
Kingjmk/django-gridfs-storage
7b78e25669accea2bd39d96c31f097ce42cdbc9c
[ "MIT" ]
4
2020-08-28T09:52:19.000Z
2022-01-01T16:51:15.000Z
gridfs_storage/apps.py
Kingjmk/django-gridfs-storage
7b78e25669accea2bd39d96c31f097ce42cdbc9c
[ "MIT" ]
null
null
null
gridfs_storage/apps.py
Kingjmk/django-gridfs-storage
7b78e25669accea2bd39d96c31f097ce42cdbc9c
[ "MIT" ]
null
null
null
from django.apps import AppConfig class GridFsStorageConfig(AppConfig): name = 'gridfs_storage' verbose_name = "GridFS Storage"
19.714286
37
0.76087
15
138
6.866667
0.733333
0.194175
0.330097
0
0
0
0
0
0
0
0
0
0.166667
138
6
38
23
0.895652
0
0
0
0
0
0.202899
0
0
0
0
0
0
1
0
false
0
0.25
0
1
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
b10b0e378964dd4ed54b70372b8399be3da921fa
186
py
Python
main.py
Andrew2a1/BillAnalyzer
381b217d0609c3184ca43020e0d98eb18763ba2c
[ "MIT" ]
2
2020-09-03T01:05:32.000Z
2022-02-02T21:13:32.000Z
main.py
Andrew2a1/ShoplistAnalyzer
381b217d0609c3184ca43020e0d98eb18763ba2c
[ "MIT" ]
null
null
null
main.py
Andrew2a1/ShoplistAnalyzer
381b217d0609c3184ca43020e0d98eb18763ba2c
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- import kivy from gui.Application import Application if __name__ == "__main__": app = Application() app.title = "Shoplist Analyzer" app.run()
20.666667
40
0.629032
21
186
5.190476
0.761905
0
0
0
0
0
0
0
0
0
0
0.007042
0.236559
186
9
41
20.666667
0.760563
0.112903
0
0
0
0
0.160256
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
b10dc578791af7b4a912678b367ea833a682febb
847
py
Python
xknx/io/__init__.py
cyberjunky/xknx
c708ed6a2ca6449b74c6cea197d658e3399b99d1
[ "MIT" ]
1
2020-12-27T13:54:34.000Z
2020-12-27T13:54:34.000Z
xknx/io/__init__.py
cyberjunky/xknx
c708ed6a2ca6449b74c6cea197d658e3399b99d1
[ "MIT" ]
1
2019-01-06T11:40:16.000Z
2019-01-06T11:40:16.000Z
xknx/io/__init__.py
cyberjunky/xknx
c708ed6a2ca6449b74c6cea197d658e3399b99d1
[ "MIT" ]
null
null
null
""" This package contains all objects managing Tunneling and Routing Connections.. - KNXIPInterface is the overall managing class. - GatewayScanner searches for available KNX/IP devices in the local network. - Routing uses UDP/Multicast to communicate with KNX/IP device. - Tunnelling uses UDP packets and builds a stat...
40.333333
78
0.83353
108
847
6.462963
0.574074
0.02149
0.025788
0.04298
0
0
0
0
0
0
0
0.001346
0.122786
847
20
79
42.35
0.938089
0.423849
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
b115482dbfe395dade2cd2ecdff3d515b73f1b0e
215
py
Python
backend/myapp/__main__.py
jscriptcoder/Docker-development
411e66465e11e451c87f375b005feb50f5a15b3d
[ "MIT" ]
null
null
null
backend/myapp/__main__.py
jscriptcoder/Docker-development
411e66465e11e451c87f375b005feb50f5a15b3d
[ "MIT" ]
null
null
null
backend/myapp/__main__.py
jscriptcoder/Docker-development
411e66465e11e451c87f375b005feb50f5a15b3d
[ "MIT" ]
null
null
null
from .app import create as create_app if __name__ == '__main__': app = create_app() app.run(debug=app.config['RUN_DEBUG'], host=app.config['APP_HOST'], port=app.config['APP_PORT'])
23.888889
42
0.618605
30
215
4
0.433333
0.225
0.2
0
0
0
0
0
0
0
0
0
0.232558
215
8
43
26.875
0.727273
0
0
0
0
0
0.153488
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
b1330a1ad95dcc20e0c54e7bd0966703c47db569
583
py
Python
app/search_manager/models.py
kodizh/fotos
87f6e95876451e80d8ea5ebcea8ed7f33b957694
[ "BSD-3-Clause" ]
null
null
null
app/search_manager/models.py
kodizh/fotos
87f6e95876451e80d8ea5ebcea8ed7f33b957694
[ "BSD-3-Clause" ]
null
null
null
app/search_manager/models.py
kodizh/fotos
87f6e95876451e80d8ea5ebcea8ed7f33b957694
[ "BSD-3-Clause" ]
null
null
null
from .views.search import search_views from os import walk class SearchManager: def __init__(self, app): self.bp = search_views(self, app.socketio) self.appmoduleslist = app.appmodules def get_name(self): return "search_manager" def get_blueprint(self): return self.bp ...
26.5
67
0.624357
67
583
5.283582
0.507463
0.062147
0
0
0
0
0
0
0
0
0
0
0.286449
583
21
68
27.761905
0.850962
0
0
0
0
0
0.039451
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0.117647
0.588235
0.058824
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
b134e51bb5785c5bc56e5d3a6e4b57ef84478dde
299
py
Python
respyte/tests/test_respyte.py
hyejang/respyte
8d48d04754051ea18224f1c5fa8637b17da6d5b2
[ "BSD-3-Clause" ]
null
null
null
respyte/tests/test_respyte.py
hyejang/respyte
8d48d04754051ea18224f1c5fa8637b17da6d5b2
[ "BSD-3-Clause" ]
1
2019-01-22T02:05:34.000Z
2019-01-22T02:07:33.000Z
respyte/tests/test_respyte.py
hyejang/respyte
8d48d04754051ea18224f1c5fa8637b17da6d5b2
[ "BSD-3-Clause" ]
1
2019-01-22T00:51:26.000Z
2019-01-22T00:51:26.000Z
""" Unit and regression test for the respyte package. """ # Import package, test suite, and other packages as needed import respyte import pytest import sys def test_respyte_imported(): """Sample test, will always pass so long as import statement worked""" assert "respyte" in sys.modules
23
74
0.745819
43
299
5.139535
0.674419
0
0
0
0
0
0
0
0
0
0
0
0.177258
299
12
75
24.916667
0.898374
0.575251
0
0
0
0
0.061404
0
0
0
0
0
0.2
1
0.2
true
0
0.8
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
b13fc2a054ed799fe63df9bec7be1f8a09878114
7,437
py
Python
faker/providers/phone_number/en_GB/__init__.py
mgorny/faker
b1176e01bf4d7f1aef408a4bb96a9e46188cc113
[ "MIT" ]
12,077
2015-01-01T18:30:07.000Z
2022-03-31T23:22:01.000Z
faker/providers/phone_number/en_GB/__init__.py
mgorny/faker
b1176e01bf4d7f1aef408a4bb96a9e46188cc113
[ "MIT" ]
1,306
2015-01-03T05:18:55.000Z
2022-03-31T02:43:04.000Z
faker/providers/phone_number/en_GB/__init__.py
mgorny/faker
b1176e01bf4d7f1aef408a4bb96a9e46188cc113
[ "MIT" ]
1,855
2015-01-08T14:20:10.000Z
2022-03-25T17:23:32.000Z
from .. import Provider as PhoneNumberProvider class Provider(PhoneNumberProvider): # Source: # https://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom # Fake phone numbers should be fake - this provider has been rewritten to # use numbers reserved for dramatic use by Ofcom. See the foll...
27.75
78
0.393035
767
7,437
3.795306
0.305085
0.062865
0.024734
0.028856
0.206115
0.015802
0
0
0
0
0
0.435
0.354578
7,437
267
79
27.853933
0.171458
0.10273
0
0.923695
0
0
0.511265
0
0
0
0
0
0
1
0.004016
false
0
0.004016
0
0.024096
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b1575da1dbe25739a7d10f212a7c1ac852de537d
375
py
Python
libs/src/test/python/dlpx/virtualization/test_delphix_libs_generated.py
vr-delphix/virtualization-sdk
ebf934c9eb1337b35f7eb34e807af63ea259da6a
[ "Apache-2.0" ]
10
2020-01-08T22:34:20.000Z
2022-02-24T17:19:54.000Z
libs/src/test/python/dlpx/virtualization/test_delphix_libs_generated.py
vr-delphix/virtualization-sdk
ebf934c9eb1337b35f7eb34e807af63ea259da6a
[ "Apache-2.0" ]
298
2019-12-18T00:20:13.000Z
2022-03-30T04:36:57.000Z
libs/src/test/python/dlpx/virtualization/test_delphix_libs_generated.py
vr-delphix/virtualization-sdk
ebf934c9eb1337b35f7eb34e807af63ea259da6a
[ "Apache-2.0" ]
30
2019-12-13T19:53:38.000Z
2022-03-05T14:54:54.000Z
# # Copyright (c) 2019 by Delphix. All rights reserved. # from google.protobuf import message def test_import_common(): from dlpx.virtualization.api import common_pb2 assert issubclass(common_pb2.Repository, message.Message) def test_import_libs(): from dlpx.virtualization.api import libs_pb2 asser...
23.4375
63
0.781333
49
375
5.816327
0.510204
0.070175
0.098246
0.140351
0.217544
0
0
0
0
0
0
0.024922
0.144
375
15
64
25
0.862928
0.136
0
0
0
0
0
0
0
0
0
0
0.285714
1
0.285714
true
0
0.714286
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
1
0
1
0
0
0
0
3
b15e9019bf53f5be86afcdcc52a8071123908a1b
1,194
py
Python
survae/distributions/conditional/categorical.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
262
2020-07-05T20:57:44.000Z
2022-03-28T02:24:43.000Z
survae/distributions/conditional/categorical.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
17
2020-08-15T05:43:34.000Z
2022-01-31T12:24:21.000Z
survae/distributions/conditional/categorical.py
alisiahkoohi/survae_flows
e1747b05524c7ab540a211ed360ab3e67bc3e96d
[ "MIT" ]
35
2020-08-24T06:55:37.000Z
2022-02-11T05:17:58.000Z
import torch from torch.distributions import Categorical from survae.distributions.conditional import ConditionalDistribution from survae.utils import sum_except_batch class ConditionalCategorical(ConditionalDistribution): """A Categorical distribution with conditional logits.""" def __init__(self, net): ...
29.121951
68
0.688442
148
1,194
5.344595
0.243243
0.070796
0.091024
0.144121
0.290771
0.290771
0.290771
0.106195
0
0
0
0.001073
0.21943
1,194
40
69
29.85
0.847639
0.042714
0
0.103448
0
0
0
0
0
0
0
0
0
1
0.275862
false
0
0.137931
0.103448
0.689655
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b15fbc926f19b03dce16b9010942aeae158a2557
1,461
py
Python
src/sima/environment/blueprints/windvelocityprofile.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/environment/blueprints/windvelocityprofile.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/environment/blueprints/windvelocityprofile.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# # Generated with WindVelocityProfileBlueprint from dmt.blueprint import Blueprint from dmt.dimension import Dimension from dmt.attribute import Attribute from dmt.enum_attribute import EnumAttribute from dmt.blueprint_attribute import BlueprintAttribute from sima.sima.blueprints.moao import MOAOBlueprint class Wind...
66.409091
166
0.76386
157
1,461
7.025478
0.363057
0.101541
0.145059
0.184044
0.329102
0.269266
0.165005
0
0
0
0
0.00614
0.108145
1,461
22
167
66.409091
0.840368
0.029432
0
0
1
0
0.313698
0.066714
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.470588
0.294118
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b161cb07eef98712fe9b30cdaf03889e22baf84d
160
py
Python
quiz94.py
DailyCodingHabit/dailyquiz
06d2bdd73cde41ce93449cbeed336115a3131dd9
[ "Apache-2.0" ]
null
null
null
quiz94.py
DailyCodingHabit/dailyquiz
06d2bdd73cde41ce93449cbeed336115a3131dd9
[ "Apache-2.0" ]
null
null
null
quiz94.py
DailyCodingHabit/dailyquiz
06d2bdd73cde41ce93449cbeed336115a3131dd9
[ "Apache-2.0" ]
null
null
null
import math if (float("inf") != math.inf): if(math.floor(4) == 4): print(1) else: print(2) else: print(3) #3
10.666667
31
0.41875
21
160
3.190476
0.571429
0.268657
0
0
0
0
0
0
0
0
0
0.06383
0.4125
160
15
32
10.666667
0.648936
0.00625
0
0.25
0
0
0.020979
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0.375
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
b17a89410d274f15c2f08978c177754216ec28b5
178
py
Python
Configurations/NodeParameters.py
vikin91/sdn-switches-benchmarking-framework
c941e9da0d61d415b4d26d68daaad5cac9f981d1
[ "Apache-2.0" ]
null
null
null
Configurations/NodeParameters.py
vikin91/sdn-switches-benchmarking-framework
c941e9da0d61d415b4d26d68daaad5cac9f981d1
[ "Apache-2.0" ]
null
null
null
Configurations/NodeParameters.py
vikin91/sdn-switches-benchmarking-framework
c941e9da0d61d415b4d26d68daaad5cac9f981d1
[ "Apache-2.0" ]
1
2019-02-20T14:21:21.000Z
2019-02-20T14:21:21.000Z
Node11 = {"ip":"10.1.3.11", "user":"marian", "password":"descartes"} Node17 = {"ip":"10.1.3.17", "user":"marian", "password":"descartes"}
25.428571
33
0.460674
20
178
4.1
0.6
0.097561
0.121951
0.146341
0
0
0
0
0
0
0
0.125
0.280899
178
7
34
25.428571
0.515625
0
0
0.666667
0
0
0.424581
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
b186616283441054fad7c9206451302cbe278fcf
1,961
py
Python
pyot/models/tft/item.py
andrewdge/Pyot
a0b44a4462fd643bb21fbdc349beb9546543997c
[ "MIT" ]
null
null
null
pyot/models/tft/item.py
andrewdge/Pyot
a0b44a4462fd643bb21fbdc349beb9546543997c
[ "MIT" ]
null
null
null
pyot/models/tft/item.py
andrewdge/Pyot
a0b44a4462fd643bb21fbdc349beb9546543997c
[ "MIT" ]
null
null
null
from typing import List, Iterator, Mapping from pyot.utils.cdragon import tft_item_sanitize, tft_url from pyot.core.functional import cache_indexes, lazy_property from .__core__ import PyotCore # PYOT CORE OBJECT class Item(PyotCore): description: str effects: Mapping[str, int] from_ids: List[int] i...
25.467532
81
0.625701
251
1,961
4.613546
0.286853
0.02418
0.025907
0.036269
0.214162
0.214162
0.214162
0.162349
0.093264
0.093264
0
0
0.245793
1,961
76
82
25.802632
0.782961
0.008159
0
0.222222
0
0
0.069995
0
0
0
0
0
0
1
0.240741
false
0
0.074074
0.148148
0.703704
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
b1a19c0cf52b5e42aa95a55b9b4400b3de96298b
2,011
py
Python
social/admin/__init__.py
MadeInHaus/django-social
2d88760cbff07083ad3fbab8d60bf340b2a8eba0
[ "MIT" ]
null
null
null
social/admin/__init__.py
MadeInHaus/django-social
2d88760cbff07083ad3fbab8d60bf340b2a8eba0
[ "MIT" ]
1
2015-01-07T17:30:25.000Z
2015-01-07T17:30:25.000Z
social/admin/__init__.py
MadeInHaus/django-social
2d88760cbff07083ad3fbab8d60bf340b2a8eba0
[ "MIT" ]
null
null
null
from django.contrib import admin from ..models import (FacebookAccount, FacebookMessage, FacebookSearch, TwitterAccount, TwitterMessage, TwitterSearch, RSSAccount, RSSMessage, Message, InstagramAccount, InstagramSearch, InstagramMessage, ...
50.275
94
0.780209
140
2,011
11.207143
0.3
0.108987
0.205864
0.079031
0
0
0
0
0
0
0
0
0.152163
2,011
39
95
51.564103
0.920235
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.09375
0
0.09375
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b1a755115ef22b342b60688c5533ceac9128262d
194
py
Python
iletisim/urls.py
VektorelPythonHIA23/WebProje
8dc6b8116cf4ca1aa93b098721eb7e09445a9a15
[ "MIT" ]
null
null
null
iletisim/urls.py
VektorelPythonHIA23/WebProje
8dc6b8116cf4ca1aa93b098721eb7e09445a9a15
[ "MIT" ]
null
null
null
iletisim/urls.py
VektorelPythonHIA23/WebProje
8dc6b8116cf4ca1aa93b098721eb7e09445a9a15
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ # path('',views.gonderListe,name="gonderListe"), # path('detay/<int:pk>',views.gonderiDetay,name="gonderiDetay"), ]
24.25
68
0.680412
22
194
6
0.590909
0
0
0
0
0
0
0
0
0
0
0
0.149485
194
8
69
24.25
0.8
0.561856
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b1a81cd6df11ac395d60a540635d3b6f1dbbfac8
1,216
py
Python
examples/example1.py
arch-cl0wn/Packmax
0b765562d02309775df60f13a5c5bc230cb835c4
[ "Unlicense" ]
1
2022-01-22T10:31:39.000Z
2022-01-22T10:31:39.000Z
examples/example1.py
arch-cl0wn/Packmax
0b765562d02309775df60f13a5c5bc230cb835c4
[ "Unlicense" ]
null
null
null
examples/example1.py
arch-cl0wn/Packmax
0b765562d02309775df60f13a5c5bc230cb835c4
[ "Unlicense" ]
null
null
null
from _3dbp import Bin, Item, Items_List, bp3D, get_items_total_volume # create bin bin = Bin("Container1", 500, 300, 400) # create items items_list = Items_List() items_list.add_item(Item("Item01", 20, 20, 30)) items_list.add_item(Item("Item02", 10, 40, 10)) items_list.add_item(Item("Item03", 20, 40, 10)) items_list.a...
33.777778
125
0.659539
195
1,216
3.897436
0.246154
0.225
0.189474
0.252632
0.436842
0.384211
0.263158
0.136842
0
0
0
0.099271
0.097039
1,216
36
126
33.777778
0.592896
0.025493
0
0.222222
0
0
0.225042
0.089679
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
0.333333
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
b1ad84cabbee6ce6f047242bbf1542c531c4f7ef
19
py
Python
sappgen/cfg/config.py
aayushuppal/sappgen
5553cddadb3ea3a1cd6535610246de9fbf0c8e99
[ "MIT" ]
null
null
null
sappgen/cfg/config.py
aayushuppal/sappgen
5553cddadb3ea3a1cd6535610246de9fbf0c8e99
[ "MIT" ]
null
null
null
sappgen/cfg/config.py
aayushuppal/sappgen
5553cddadb3ea3a1cd6535610246de9fbf0c8e99
[ "MIT" ]
null
null
null
LOG_LEVEL = "INFO"
9.5
18
0.684211
3
19
4
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.75
0
0
0
0
0
0.210526
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
b1aeaa14ad9699f5ca6f97852c15d3f0266f86ff
578
py
Python
hospital/admin.py
mohtasimhadi/ERRSHospitalManagementSystem
443ce45e0ad19079fb934c14fd968bcb4534fbd1
[ "MIT" ]
null
null
null
hospital/admin.py
mohtasimhadi/ERRSHospitalManagementSystem
443ce45e0ad19079fb934c14fd968bcb4534fbd1
[ "MIT" ]
null
null
null
hospital/admin.py
mohtasimhadi/ERRSHospitalManagementSystem
443ce45e0ad19079fb934c14fd968bcb4534fbd1
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. from hospital.models import Doctor, Patient, Appointment, PatientDischargeDetails class DoctorAdmin(admin.ModelAdmin): pass admin.site.register(Doctor, DoctorAdmin) class PatientAdmin(admin.ModelAdmin): pass admin.site.register(Patient, Pati...
17.515152
81
0.806228
57
578
8.175439
0.385965
0.128755
0.16309
0.206009
0.309013
0.309013
0
0
0
0
0
0
0.119377
578
32
82
18.0625
0.915521
0.044983
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
true
0.285714
0.142857
0
0.428571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
4909e537601be6ddaa666a05eec24e3654489411
338
py
Python
ex019.py
carlosvcerqueira/Projetos-Python
2fb91a0be8abf436af6a1d57fb2a1eafd0d30394
[ "MIT" ]
null
null
null
ex019.py
carlosvcerqueira/Projetos-Python
2fb91a0be8abf436af6a1d57fb2a1eafd0d30394
[ "MIT" ]
null
null
null
ex019.py
carlosvcerqueira/Projetos-Python
2fb91a0be8abf436af6a1d57fb2a1eafd0d30394
[ "MIT" ]
null
null
null
import random a1 = input('Digite o nome do primeiro aluno: ') a2 = input('Digite o nome do segundo aluno: ') a3 = input('Digite o nome do terceiro aluno: ') a4 = input('Digite o nome do quarto aluno: ') lista = [a1, a2, a3, a4] escolhido = random.choice(lista) print('O aluno escolhido foi: {}'.format(escolhido))...
19.882353
53
0.64497
50
338
4.36
0.44
0.201835
0.220183
0.293578
0.330275
0
0
0
0
0
0
0.030534
0.224852
338
16
54
21.125
0.801527
0
0
0
0
0
0.490446
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
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
493d108ee30aeafe3138adf9f05ee5443db3485c
234
py
Python
services/users/project/tests/utils.py
mgw2168/testdriven-app
1ad7edfcff5a0ccdd0e17448746f40ac383af9b5
[ "Apache-2.0" ]
2
2019-02-11T05:41:13.000Z
2019-03-27T07:25:14.000Z
services/users/project/tests/utils.py
nishantc7/react-flask-boilerplate
e2b995a3679b48dba40e12bf7580a90cf7a5a333
[ "MIT" ]
null
null
null
services/users/project/tests/utils.py
nishantc7/react-flask-boilerplate
e2b995a3679b48dba40e12bf7580a90cf7a5a333
[ "MIT" ]
null
null
null
from project import db from project.api.models import User def add_user(username, email, password): user = User(username=username, email=email, password=password) db.session.add(user) db.session.commit() return user
23.4
66
0.735043
33
234
5.181818
0.454545
0.128655
0
0
0
0
0
0
0
0
0
0
0.166667
234
9
67
26
0.876923
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.285714
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
4955410d6fe7e3364b6815615eb8cbc176113099
113
py
Python
news-crawler/config.py
awesome-archive/python-crawler-1
f4b2dcd33b2df8d1d0d99ca5aec20784e925a799
[ "MIT" ]
null
null
null
news-crawler/config.py
awesome-archive/python-crawler-1
f4b2dcd33b2df8d1d0d99ca5aec20784e925a799
[ "MIT" ]
null
null
null
news-crawler/config.py
awesome-archive/python-crawler-1
f4b2dcd33b2df8d1d0d99ca5aec20784e925a799
[ "MIT" ]
2
2020-12-06T10:38:25.000Z
2021-05-18T09:27:35.000Z
# Author: veelion db_host = 'localhost' db_db = 'crawler' db_user = 'your-user' db_password = 'your-password'
12.555556
29
0.699115
16
113
4.6875
0.5625
0
0
0
0
0
0
0
0
0
0
0
0.159292
113
8
30
14.125
0.789474
0.132743
0
0
0
0
0.4
0
0
0
0
0
0
1
0
false
0.25
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
49594fc7d17516a1f1bf00a3897aeda5570111e2
11,070
py
Python
coreRelback/models.py
supernoi/relback
b4f04d7ed5cb315e9c862fbd82291ada8fb5af08
[ "MIT" ]
null
null
null
coreRelback/models.py
supernoi/relback
b4f04d7ed5cb315e9c862fbd82291ada8fb5af08
[ "MIT" ]
null
null
null
coreRelback/models.py
supernoi/relback
b4f04d7ed5cb315e9c862fbd82291ada8fb5af08
[ "MIT" ]
1
2019-06-25T13:27:40.000Z
2019-06-25T13:27:40.000Z
from django.db import models class Users(models.Model): id_user = models.FloatField(primary_key=True) name = models.CharField(max_length=50, blank=True, null=True) username = models.CharField(max_length=100, blank=True, null=True) password = models.CharField(max_length=60, blank=True, null=True) s...
40.40146
168
0.719422
1,441
11,070
5.2873
0.10687
0.090563
0.108676
0.144901
0.827143
0.764142
0.689198
0.638273
0.615435
0.526185
0
0.011953
0.168654
11,070
273
169
40.549451
0.81593
0.043451
0
0.490741
0
0
0.085933
0.00917
0
0
0
0
0
1
0.013889
false
0.00463
0.00463
0.013889
0.787037
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4979204ac1ecddc92bb320cce02dc09d6ae650d8
25
py
Python
meiduo_mall/meiduo_mall/apps/auoth/constants.py
1923488289/meiduo_mall
a811b3fd455f3de5286de19bbfa1f3ca5817f4a6
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/auoth/constants.py
1923488289/meiduo_mall
a811b3fd455f3de5286de19bbfa1f3ca5817f4a6
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/auoth/constants.py
1923488289/meiduo_mall
a811b3fd455f3de5286de19bbfa1f3ca5817f4a6
[ "MIT" ]
null
null
null
OPENID_EXPIRES = 60 * 10
12.5
24
0.72
4
25
4.25
1
0
0
0
0
0
0
0
0
0
0
0.2
0.2
25
1
25
25
0.65
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
49997c17c1c5e326d0eace5c81228970137f7a70
2,364
py
Python
comandante/inner/proxy.py
stepan-anokhin/comandante
9fa7da93ae91e4a3c1cde4ad34b4a78edca5aa16
[ "MIT" ]
2
2019-10-06T16:00:51.000Z
2020-01-17T20:11:35.000Z
comandante/inner/proxy.py
stepan-anokhin/comandante
9fa7da93ae91e4a3c1cde4ad34b4a78edca5aa16
[ "MIT" ]
null
null
null
comandante/inner/proxy.py
stepan-anokhin/comandante
9fa7da93ae91e4a3c1cde4ad34b4a78edca5aa16
[ "MIT" ]
null
null
null
"""Python object proxy Description: ----------- This module provides a generic python object proxy class. """ from comandante.inner.helpers import getname class Proxy(object): """Generic python object proxy.""" def _unsupport(self, *names): for name in names: pattern = "'{type}' does no...
23.878788
73
0.609137
278
2,364
4.726619
0.276978
0.175038
0.097412
0.086758
0.150685
0.150685
0.150685
0
0
0
0
0
0.275381
2,364
98
74
24.122449
0.767075
0.115059
0
0
0
0
0.023245
0
0
0
0
0
0
1
0.431034
false
0
0.017241
0.293103
0.775862
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
b8e22d9b0ad023affb31059b6d641c0c149e5e48
1,651
py
Python
airdialogue/evaluator/metrics/f1.py
josephch405/airdialogue
9c8ce15cfc3e9afe7a1eeb430fd2d2f8fea437d5
[ "Apache-2.0" ]
33
2019-11-18T06:22:37.000Z
2022-03-07T15:04:16.000Z
airdialogue/evaluator/metrics/f1.py
josephch405/airdialogue
9c8ce15cfc3e9afe7a1eeb430fd2d2f8fea437d5
[ "Apache-2.0" ]
4
2020-05-22T04:11:00.000Z
2020-07-01T22:51:31.000Z
airdialogue/evaluator/metrics/f1.py
josephch405/airdialogue
9c8ce15cfc3e9afe7a1eeb430fd2d2f8fea437d5
[ "Apache-2.0" ]
9
2019-12-02T22:57:17.000Z
2021-10-16T09:28:42.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
31.150943
74
0.732889
244
1,651
4.844262
0.463115
0.050761
0.043147
0.027073
0.020305
0
0
0
0
0
0
0.013848
0.168988
1,651
52
75
31.75
0.847668
0.410055
0
0
0
0
0.01686
0
0
0
0
0
0
1
0.24
false
0
0.12
0.12
0.64
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
b8ff1fd55496bd49a06efd5a862345eb3023a57c
198
py
Python
billing/tests/__init__.py
hkhanna/django-stripe-billing
75a53c183ff86b1c7edf741683ffe3330e733d87
[ "MIT" ]
1
2022-03-29T20:16:34.000Z
2022-03-29T20:16:34.000Z
billing/tests/__init__.py
hkhanna/django-stripe-billing
75a53c183ff86b1c7edf741683ffe3330e733d87
[ "MIT" ]
2
2022-02-21T17:38:22.000Z
2022-02-22T20:56:39.000Z
billing/tests/__init__.py
hkhanna/django-stripe-billing
75a53c183ff86b1c7edf741683ffe3330e733d87
[ "MIT" ]
null
null
null
try: from celery import Celery app = Celery("billing_test") app.config_from_object("django.conf:settings", namespace="CELERY") app.autodiscover_tasks() except ImportError: pass
22
70
0.717172
24
198
5.75
0.75
0.130435
0
0
0
0
0
0
0
0
0
0
0.176768
198
8
71
24.75
0.846626
0
0
0
0
0
0.191919
0
0
0
0
0
0
1
0
false
0.142857
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
77041a670e200b847e9317370f0bc44ef5f182a6
599
py
Python
src/bindings/python/DocStrings/FileTransform.py
jmertic/OpenColorIO
9b18fd69f981288a6a3640e283b8d9968a15423e
[ "BSD-3-Clause" ]
1
2019-11-18T21:49:25.000Z
2019-11-18T21:49:25.000Z
src/bindings/python/DocStrings/FileTransform.py
KevinJW/OpenColorIO
412aa7ba273616867e607de646e4975791198812
[ "BSD-3-Clause" ]
1
2020-06-12T19:10:09.000Z
2020-06-12T19:10:09.000Z
src/bindings/python/DocStrings/FileTransform.py
KevinJW/OpenColorIO
412aa7ba273616867e607de646e4975791198812
[ "BSD-3-Clause" ]
null
null
null
# SPDX-License-Identifier: BSD-3-Clause # Copyright Contributors to the OpenColorIO Project. class FileTransform: """ FileTransform """ def __init__(self): pass def getSrc(self): pass def setSrc(self, src): pass def getCCCId(self): pass def setCCCId(self,...
21.392857
52
0.611018
60
599
6.033333
0.516667
0.174033
0.151934
0
0
0
0
0
0
0
0
0.002404
0.305509
599
27
53
22.185185
0.867788
0.171953
0
0.47619
0
0
0
0
0
0
0
0
0
1
0.47619
false
0.47619
0
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
7704b4e4dd1435a21f1e89a13e73be959aae7ead
296
gyp
Python
apptests/src/test/resources/argo/node_modules/argo-server/example/node_modules/webkit-devtools-agent/node_modules/v8-profiler/binding.gyp
t-beckmann/trireme
420e180c0fddc3550d0f0ec373cef27d68acbfc1
[ "MIT" ]
null
null
null
apptests/src/test/resources/argo/node_modules/argo-server/example/node_modules/webkit-devtools-agent/node_modules/v8-profiler/binding.gyp
t-beckmann/trireme
420e180c0fddc3550d0f0ec373cef27d68acbfc1
[ "MIT" ]
null
null
null
apptests/src/test/resources/argo/node_modules/argo-server/example/node_modules/webkit-devtools-agent/node_modules/v8-profiler/binding.gyp
t-beckmann/trireme
420e180c0fddc3550d0f0ec373cef27d68acbfc1
[ "MIT" ]
null
null
null
{ 'targets': [ { 'target_name': 'profiler', 'sources': [ 'cpu_profiler.cc', 'graph_edge.cc', 'graph_node.cc', 'heap_profiler.cc', 'profile.cc', 'profile_node.cc', 'profiler.cc', 'snapshot.cc', ], } ] }
16.444444
32
0.435811
26
296
4.730769
0.5
0.243902
0
0
0
0
0
0
0
0
0
0
0.385135
296
17
33
17.411765
0.675824
0
0
0
0
0
0.462838
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
772762c2439369f6761c405af5ca9574d25dfd2a
1,194
py
Python
nematus/server/response.py
aquaktus/nematus
68e0c4488f363404ead783f0938a39e234f8f901
[ "BSD-3-Clause" ]
2
2018-05-05T09:02:19.000Z
2018-10-01T07:43:17.000Z
nematus/server/response.py
aquaktus/nematus
68e0c4488f363404ead783f0938a39e234f8f901
[ "BSD-3-Clause" ]
null
null
null
nematus/server/response.py
aquaktus/nematus
68e0c4488f363404ead783f0938a39e234f8f901
[ "BSD-3-Clause" ]
2
2018-07-16T13:42:55.000Z
2019-07-03T14:07:20.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Defines the abstract response format for Nematus server. """ from abc import ABCMeta, abstractmethod class TranslationResponse(object): """ Abstract translation response base class. """ __metaclass__ = ABCMeta STATUS_OK = 0 STATUS_ERROR = 1 ...
24.875
88
0.637353
125
1,194
5.816
0.52
0.104539
0.041265
0
0
0
0
0
0
0
0
0.003464
0.274707
1,194
47
89
25.404255
0.836028
0.31742
0
0
0
0
0.022695
0
0
0
0
0
0
1
0.210526
false
0.052632
0.052632
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
1
0
1
0
0
1
0
0
3
773ca6758b3695e9c4cba2787ae314eff6d01337
557
py
Python
featuretools/tests/testing_utils/cluster.py
ridicolos/featuretools
0af409da206e0b691ec64a3e0e618a43f1701dd9
[ "BSD-3-Clause" ]
942
2020-11-10T02:59:39.000Z
2022-03-31T16:34:33.000Z
featuretools/tests/testing_utils/cluster.py
167rgc911/featuretools
bbad3f7392b203b7b9c250a93465052e7fc06bbc
[ "BSD-3-Clause" ]
721
2020-11-09T23:12:06.000Z
2022-03-31T22:33:35.000Z
featuretools/tests/testing_utils/cluster.py
167rgc911/featuretools
bbad3f7392b203b7b9c250a93465052e7fc06bbc
[ "BSD-3-Clause" ]
127
2020-11-10T10:12:30.000Z
2022-03-27T08:55:05.000Z
from psutil import virtual_memory def mock_cluster(n_workers=1, threads_per_worker=1, diagnostics_port=8787, memory_limit=None, **dask_kwarg): return (n_workers, threads_per_worker, diagnostics_port, memory_limit) class MockClient(): def __...
25.318182
82
0.64991
64
557
5.28125
0.484375
0.097633
0.094675
0
0
0
0
0
0
0
0
0.016908
0.256733
557
21
83
26.52381
0.799517
0
0
0
0
0
0.048474
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.214286
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
773eef2fe4709bf3e27d02fae264d2ff68268f67
1,277
py
Python
genetic_algorithm.py
ReemAlattas/RapidBot
eabb8ba5dbf74a3131376dbbd9176c4905668fa0
[ "Apache-2.0" ]
null
null
null
genetic_algorithm.py
ReemAlattas/RapidBot
eabb8ba5dbf74a3131376dbbd9176c4905668fa0
[ "Apache-2.0" ]
null
null
null
genetic_algorithm.py
ReemAlattas/RapidBot
eabb8ba5dbf74a3131376dbbd9176c4905668fa0
[ "Apache-2.0" ]
null
null
null
import random ### Design Parameters ### N = 2 # Number of Module Links L = 'd' # Type of Module Links C = [1, 2, 3, 4, 5, 6] # Labels of Connection Faces A = [0, 90, 180, 270] # Rotation Angles ### GA Global Variables ### POP_SIZE = 10 GENERATIONS = 1000 ### Dtto Robot composed of 2 modules ### d2 = [(1, 0, 0, ...
26.061224
142
0.60141
192
1,277
3.989583
0.40625
0.078329
0.050914
0.062663
0.117493
0.117493
0.06658
0.06658
0.06658
0.06658
0
0.07045
0.199687
1,277
49
143
26.061224
0.679061
0.411903
0
0.12
0
0
0.103846
0
0
0
0
0
0
1
0.24
false
0
0.04
0.12
0.52
0.04
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
91f3cb9b0d7b4a83cf0a1acbfa7844329409b33b
101
py
Python
python/rpdk/java/__init__.py
Yunhao-Jiao/cloudformation-cli-java-plugin
850d9930954a512aae04bd446e4dc0614ed16b15
[ "Apache-2.0" ]
null
null
null
python/rpdk/java/__init__.py
Yunhao-Jiao/cloudformation-cli-java-plugin
850d9930954a512aae04bd446e4dc0614ed16b15
[ "Apache-2.0" ]
null
null
null
python/rpdk/java/__init__.py
Yunhao-Jiao/cloudformation-cli-java-plugin
850d9930954a512aae04bd446e4dc0614ed16b15
[ "Apache-2.0" ]
null
null
null
import logging __version__ = "2.0.6" logging.getLogger(__name__).addHandler(logging.NullHandler())
16.833333
61
0.782178
12
101
5.916667
0.833333
0
0
0
0
0
0
0
0
0
0
0.032258
0.079208
101
5
62
20.2
0.731183
0
0
0
0
0
0.049505
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
6203d423489884abd48ba185a6a16692926c078b
428
py
Python
flex/apps/options/receivers.py
centergy/flex
4fc11d3ad48e4b5016f53256015e3eed2157daae
[ "MIT" ]
null
null
null
flex/apps/options/receivers.py
centergy/flex
4fc11d3ad48e4b5016f53256015e3eed2157daae
[ "MIT" ]
null
null
null
flex/apps/options/receivers.py
centergy/flex
4fc11d3ad48e4b5016f53256015e3eed2157daae
[ "MIT" ]
null
null
null
from flex.signal import signals, receiver from .signals import install_options from .core import options @receiver('auth.register_user_perms') def _create_user_perms(app, **kwargs): return { # 'options.write': 'Can Edit Options', } @reciver('auth.register_user_groups') def _create_user_groups(app, **kwargs): ...
18.608696
43
0.759346
57
428
5.438596
0.421053
0.090323
0.103226
0
0
0
0
0
0
0
0
0
0.116822
428
22
44
19.454545
0.820106
0.084112
0
0
0
0
0.14359
0.125641
0
0
0
0
0
1
0.230769
false
0
0.230769
0.153846
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
6218073ff315807f94811beb67c3f1525520e7f0
765
py
Python
tests/tokenizers/test_protein_insertion.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
null
null
null
tests/tokenizers/test_protein_insertion.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
15
2019-10-23T17:35:42.000Z
2020-05-05T21:04:01.000Z
tests/tokenizers/test_protein_insertion.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
null
null
null
"""A module for testing Protein Insertion Tokenization.""" import unittest from variation.tokenizers import ProteinInsertion from variation.tokenizers.caches import AminoAcidCache, NucleotideCache from .tokenizer_base import TokenizerBase class TestProteinInsertionTokenizer(TokenizerBase, unittest.TestCase): """...
33.26087
71
0.743791
75
765
7.52
0.413333
0.170213
0.117021
0.092199
0.134752
0
0
0
0
0
0
0
0.171242
765
22
72
34.772727
0.88959
0.291503
0
0
0
0
0.063953
0
0
0
0
0
0
1
0.272727
false
0
0.363636
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
621db13a739bec981f375692f1a7ec4903fa5334
120
py
Python
gym_vizdoom/__init__.py
gian1312/gym-vizdoom
2e3325d7bf424d707128e93af2df5ec36ac4ec29
[ "MIT" ]
null
null
null
gym_vizdoom/__init__.py
gian1312/gym-vizdoom
2e3325d7bf424d707128e93af2df5ec36ac4ec29
[ "MIT" ]
null
null
null
gym_vizdoom/__init__.py
gian1312/gym-vizdoom
2e3325d7bf424d707128e93af2df5ec36ac4ec29
[ "MIT" ]
null
null
null
from gym.envs.registration import register register( id='vizdoom-v0', entry_point='gym_vizdoom.envs:VizdoomEnv', )
17.142857
44
0.766667
16
120
5.625
0.75
0
0
0
0
0
0
0
0
0
0
0.009346
0.108333
120
6
45
20
0.831776
0
0
0
0
0
0.308333
0.225
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
6233d44892df7c52824e147518fe1ceca13bdfde
670
py
Python
RecoLocalCalo/EcalRecProducers/python/ecalLocalRecoSequence_cff.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoLocalCalo/EcalRecProducers/python/ecalLocalRecoSequence_cff.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoLocalCalo/EcalRecProducers/python/ecalLocalRecoSequence_cff.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms # Calo geometry service model #ECAL conditions # # removed : this goes into CalibCalorimetry/Configuration/data/Ecal_FakeCalibrations.cff # # include "CalibCalorimetry/EcalTrivialCondModules/data/EcalTrivialCondRetriever.cfi" # #ECAL reconstruction from RecoLocalCalo.EcalRecPr...
41.875
109
0.870149
61
670
9.47541
0.57377
0.117647
0.228374
0.134948
0.217993
0
0
0
0
0
0
0
0.070149
670
15
110
44.666667
0.927769
0.347761
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
623f2c8335486d62e4a7ad14955c1b04fce60786
2,289
py
Python
conf/settings/base.py
pincoin/ransabai
dbc4f589f2b157d155674a5935734bd5c0d55a06
[ "MIT" ]
null
null
null
conf/settings/base.py
pincoin/ransabai
dbc4f589f2b157d155674a5935734bd5c0d55a06
[ "MIT" ]
null
null
null
conf/settings/base.py
pincoin/ransabai
dbc4f589f2b157d155674a5935734bd5c0d55a06
[ "MIT" ]
null
null
null
import json from . import BASE_DIR # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/ secret = json.loads(open(BASE_DIR / 'secret.json').read()) SECRET_KEY = secret['SECRET_KEY'] DEBUG = secret['DEBUG'] ALLOWED_HOSTS = secret['ALLOW...
30.118421
91
0.710354
224
2,289
7.151786
0.415179
0.121723
0.074282
0.052434
0.165418
0.165418
0.06804
0.049938
0.049938
0
0
0.003098
0.153779
2,289
75
92
30.52
0.823955
0.152905
0
0
0
0
0.608606
0.525661
0
0
0
0
0
1
0
false
0.096154
0.038462
0
0.038462
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
6249aef2a69d1ee84469684c5bed0f09359c310f
86
py
Python
data/studio21_generated/interview/0381/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0381/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0381/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
class Solution: def minSubArrayLen(self, s: int, nums: List[int]) -> int:
28.666667
61
0.604651
11
86
4.727273
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.255814
86
3
62
28.666667
0.8125
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
62665e46b3c4e8f4486b8698883f397266210b4f
83
py
Python
q2_api_client/endpoints/q2_config_endpoints.py
jcook00/q2-api-client
4431af164eb4baf52e26e8842e017cad1609a279
[ "BSD-2-Clause" ]
null
null
null
q2_api_client/endpoints/q2_config_endpoints.py
jcook00/q2-api-client
4431af164eb4baf52e26e8842e017cad1609a279
[ "BSD-2-Clause" ]
null
null
null
q2_api_client/endpoints/q2_config_endpoints.py
jcook00/q2-api-client
4431af164eb4baf52e26e8842e017cad1609a279
[ "BSD-2-Clause" ]
null
null
null
from enum import Enum class Q2ConfigEndpoint(Enum): Q2_CONFIG = "/q2config"
11.857143
29
0.722892
10
83
5.9
0.8
0
0
0
0
0
0
0
0
0
0
0.044776
0.192771
83
6
30
13.833333
0.835821
0
0
0
0
0
0.108434
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
627f0934ed44bbb53cf7d1b006001e6439320805
2,382
py
Python
hue/schedule.py
paulo6/huecon
8b89b1d2b0f7a8860facefd1ca0cfe06a0e5963c
[ "MIT" ]
1
2020-02-03T14:40:43.000Z
2020-02-03T14:40:43.000Z
hue/schedule.py
paulo6/huecon
8b89b1d2b0f7a8860facefd1ca0cfe06a0e5963c
[ "MIT" ]
1
2018-01-05T15:38:00.000Z
2018-01-05T15:38:00.000Z
hue/schedule.py
paulo6/huecon
8b89b1d2b0f7a8860facefd1ca0cfe06a0e5963c
[ "MIT" ]
null
null
null
# # schedule.py - Contains Hue 'schedule' definitions # import enum import re from . import common class Schedule(common.Object): """ Represents a Hue schedule. """ @property def name(self): return self._data['name'] @property def is_enabled(self): return Status(self._dat...
26.466667
72
0.593199
275
2,382
4.970909
0.265455
0.080468
0.040966
0.05267
0.15801
0.15801
0.103877
0.057059
0.057059
0
0
0
0.276658
2,382
89
73
26.764045
0.793384
0.066331
0
0.222222
0
0
0.087608
0.01044
0
0
0
0
0
1
0.206349
false
0
0.047619
0.126984
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
627f59c609b669372d55520f795397f8c0d93ac5
85
py
Python
porcodio/__init__.py
BranchScope/porcodio
dc24493fdb451d0984d11414f37187f945c930b3
[ "MIT" ]
1
2021-09-14T09:25:07.000Z
2021-09-14T09:25:07.000Z
porcodio/__init__.py
BranchScope/porcodio
dc24493fdb451d0984d11414f37187f945c930b3
[ "MIT" ]
null
null
null
porcodio/__init__.py
BranchScope/porcodio
dc24493fdb451d0984d11414f37187f945c930b3
[ "MIT" ]
null
null
null
from .porcodio import get_porcodio __version__ = "1.0.0" __author__ = "BranchScope"
17
34
0.764706
11
85
5.090909
0.818182
0
0
0
0
0
0
0
0
0
0
0.040541
0.129412
85
4
35
21.25
0.716216
0
0
0
0
0
0.188235
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
656a82b64e8dedf7dc0603736e9997ac86df09b8
210
py
Python
python projects/hip (1).py
levyvix/Python-random-projetcs
1a8601f006fcb2273b3b65e26a7663c87991e9b9
[ "MIT" ]
null
null
null
python projects/hip (1).py
levyvix/Python-random-projetcs
1a8601f006fcb2273b3b65e26a7663c87991e9b9
[ "MIT" ]
null
null
null
python projects/hip (1).py
levyvix/Python-random-projetcs
1a8601f006fcb2273b3b65e26a7663c87991e9b9
[ "MIT" ]
null
null
null
import math cat1=float(input("comprimento do cateto oposto: ")) cat2=float(input("comprimento do cateteo adjacente:")) hip= math.pow(cat1,2)+math.pow(cat2,2) print("hipotenusa: {:.2f}".format(math.sqrt(hip)))
30
54
0.728571
32
210
4.78125
0.625
0.130719
0.27451
0.300654
0
0
0
0
0
0
0
0.036082
0.07619
210
7
55
30
0.752577
0
0
0
0
0
0.383886
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
656debf3adc601a619e4c347c00dd03d40f92ba1
215
py
Python
tests.py
duncte123/Hungrybot
2c6f4468b24be9429795d6bba12e9e3c08bd83b1
[ "MIT" ]
null
null
null
tests.py
duncte123/Hungrybot
2c6f4468b24be9429795d6bba12e9e3c08bd83b1
[ "MIT" ]
null
null
null
tests.py
duncte123/Hungrybot
2c6f4468b24be9429795d6bba12e9e3c08bd83b1
[ "MIT" ]
null
null
null
import unittest import sys if __name__ == "__main__": suite = unittest.TestLoader().discover("test") result = unittest.TextTestRunner(verbosity=2).run(suite) sys.exit(not result.wasSuccessful())
26.875
61
0.702326
24
215
5.958333
0.75
0
0
0
0
0
0
0
0
0
0
0.005587
0.167442
215
7
62
30.714286
0.793296
0
0
0
0
0
0.057692
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
65883740dc6201afdea1fbac663dd3ca9cc3bee9
1,352
py
Python
speck/types/raw.py
schctl/speck
80fdf280e1308ba17d1ca8e951d56a3bda1cd9a8
[ "MIT" ]
null
null
null
speck/types/raw.py
schctl/speck
80fdf280e1308ba17d1ca8e951d56a3bda1cd9a8
[ "MIT" ]
null
null
null
speck/types/raw.py
schctl/speck
80fdf280e1308ba17d1ca8e951d56a3bda1cd9a8
[ "MIT" ]
null
null
null
""" Utility classes for easy conversions. """ from dataclasses import dataclass # The use of dataclasses here # --------------------------- # The dataclasses module provides a decorator and # functions for automatically generating special methods # such as __repr__() for user-defined classes # [docs](https://docs.pyt...
18.777778
61
0.571006
158
1,352
4.734177
0.424051
0.084225
0.086898
0.090909
0.387701
0.387701
0.291444
0.258021
0.156417
0
0
0.034102
0.262574
1,352
71
62
19.042254
0.716148
0.331361
0
0.459459
0
0
0.05792
0
0
0
0
0
0
1
0.243243
false
0
0.027027
0.108108
0.72973
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
65977c52122caa1854d2df3c5485a7e08c0d074f
96
py
Python
python3-cgdk/model/WeatherType.py
leloykun/russian-ai-cup
aa06dcd594f8a33aa5d1accc128b931812de7297
[ "MIT" ]
null
null
null
python3-cgdk/model/WeatherType.py
leloykun/russian-ai-cup
aa06dcd594f8a33aa5d1accc128b931812de7297
[ "MIT" ]
null
null
null
python3-cgdk/model/WeatherType.py
leloykun/russian-ai-cup
aa06dcd594f8a33aa5d1accc128b931812de7297
[ "MIT" ]
null
null
null
from enum import IntEnum class WeatherType(IntEnum): CLEAR = 0 CLOUD = 1 RAIN = 2
12
27
0.635417
13
96
4.692308
0.923077
0
0
0
0
0
0
0
0
0
0
0.044776
0.302083
96
7
28
13.714286
0.865672
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
659cde98e493436a73b64df919db04db78824566
94
py
Python
sample_webapp/apps.py
calocan/rescape_graphene
20b35e7f7020470da7958e9beb1d10b82e1e20cd
[ "MIT" ]
1
2021-05-08T12:04:54.000Z
2021-05-08T12:04:54.000Z
sample_webapp/apps.py
calocan/rescape_graphene
20b35e7f7020470da7958e9beb1d10b82e1e20cd
[ "MIT" ]
6
2021-04-08T18:27:30.000Z
2022-02-10T10:30:50.000Z
sample_webapp/apps.py
rescapes/rescape-graphene
90ac2002636aa9700d5ea459d6aa0699487379f7
[ "MIT" ]
null
null
null
from django.apps import AppConfig class WebappConfig(AppConfig): name = 'sample_webapp'
15.666667
33
0.765957
11
94
6.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.159574
94
5
34
18.8
0.898734
0
0
0
0
0
0.138298
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
65a2ec60c0f71b207ae9371a768d9b0326c91385
798
py
Python
doxyparser/compound/types/docsect3.py
cobhimself/doxyparser
142fdd3876b187a4efac1df932d26fdb53ba374f
[ "MIT" ]
null
null
null
doxyparser/compound/types/docsect3.py
cobhimself/doxyparser
142fdd3876b187a4efac1df932d26fdb53ba374f
[ "MIT" ]
null
null
null
doxyparser/compound/types/docsect3.py
cobhimself/doxyparser
142fdd3876b187a4efac1df932d26fdb53ba374f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Model representation of a docSect3Type from doxygen <xsd:complexType name="docSect3Type" mixed="true"> <xsd:sequence> <xsd:element name="title" type="xsd:string" /> <xsd:choice maxOccurs="unbounded"> <xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbound...
31.92
90
0.682957
96
798
5.572917
0.510417
0.074766
0.104673
0.157009
0.216822
0.157009
0.157009
0
0
0
0
0.020588
0.14787
798
25
91
31.92
0.766176
0.741855
0
0
0
0
0.070352
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
65a57087a372a8001925b674e74c4d82b9452cd5
666
py
Python
links/models.py
suwalszczyzna/libs-django
a023214bb448250764336d9680a65969547360ed
[ "Apache-2.0" ]
null
null
null
links/models.py
suwalszczyzna/libs-django
a023214bb448250764336d9680a65969547360ed
[ "Apache-2.0" ]
null
null
null
links/models.py
suwalszczyzna/libs-django
a023214bb448250764336d9680a65969547360ed
[ "Apache-2.0" ]
null
null
null
from django.db import models from core.models import NanoIdModel, TimeStampModel from .managers import PublishedManager class Tag(NanoIdModel): name = models.CharField(max_length=100) def __str__(self): return self.name class Link(NanoIdModel, TimeStampModel): title = models.CharField(max_leng...
23.785714
72
0.717718
77
666
6.051948
0.519481
0.128755
0.154506
0.206009
0.201717
0
0
0
0
0
0
0.022263
0.190691
666
27
73
24.666667
0.842301
0
0
0.111111
0
0
0.010511
0
0
0
0
0
0
1
0.111111
false
0
0.166667
0.111111
0.944444
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
65c32ef81c09dc57a6d37e2a795090688571c55f
1,423
py
Python
qutipy/__init__.py
arnavdas88/QuTIpy
0cd8263f7f6153b0de86e87479946e5479abc168
[ "Apache-2.0" ]
null
null
null
qutipy/__init__.py
arnavdas88/QuTIpy
0cd8263f7f6153b0de86e87479946e5479abc168
[ "Apache-2.0" ]
null
null
null
qutipy/__init__.py
arnavdas88/QuTIpy
0cd8263f7f6153b0de86e87479946e5479abc168
[ "Apache-2.0" ]
null
null
null
# This file is part of the QuTIpy package. # https://github.com/sumeetkhatri/QuTIpy # # Copyright (c) 2022 Sumeet Khatri. # --.- ..- - .. .--. -.-- # # # SPDX-License-Identifier: AGPL-3.0 # # This program is free software: you can redistribute it and...
31.622222
71
0.718201
202
1,423
5.009901
0.514851
0.148221
0.221344
0.056324
0.081028
0.055336
0
0
0
0
0
0.008787
0.200281
1,423
44
72
32.340909
0.880492
0.543921
0
0
0
0
0.029364
0
0
0
0
0
0
1
0
false
0
0.9
0
0.9
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
65ca10616f2c5b4284ea67e28450294ac681ffdd
25,789
py
Python
services/traction/api/endpoints/routes/credentials.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
null
null
null
services/traction/api/endpoints/routes/credentials.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
null
null
null
services/traction/api/endpoints/routes/credentials.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
null
null
null
import logging from typing import List from fastapi import APIRouter, Depends, HTTPException from pydantic import BaseModel from sqlalchemy.ext.asyncio import AsyncSession from starlette import status from api.api_client_utils import get_api_client from api.db.errors import DoesNotExist from api.db.models.issue_crede...
34.523427
87
0.688511
2,875
25,789
5.852174
0.073391
0.08321
0.050996
0.016345
0.769807
0.752333
0.717266
0.696404
0.690461
0.681605
0
0.001166
0.235023
25,789
746
88
34.569705
0.851683
0.034511
0
0.64915
0
0
0.071196
0.004824
0
0
0
0.00134
0
1
0
false
0.012365
0.03864
0
0.074189
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
0296a574204aef94e38ce4afcc62ad1e6f0db902
512
py
Python
packages/syft/src/syft/lib/python/primitive_interface.py
callezenwaka/PySyft
2545c302441cfe727ec095c4f9aa136bff02be32
[ "Apache-1.1" ]
1
2021-09-14T10:56:43.000Z
2021-09-14T10:56:43.000Z
packages/syft/src/syft/lib/python/primitive_interface.py
callezenwaka/PySyft
2545c302441cfe727ec095c4f9aa136bff02be32
[ "Apache-1.1" ]
2
2021-04-02T10:12:44.000Z
2021-04-02T10:12:50.000Z
packages/syft/src/syft/lib/python/primitive_interface.py
callezenwaka/PySyft
2545c302441cfe727ec095c4f9aa136bff02be32
[ "Apache-1.1" ]
1
2021-08-19T12:23:01.000Z
2021-08-19T12:23:01.000Z
# stdlib from typing import Any # relative from ...core.common import UID from ...core.common.serde.serializable import Serializable class PyPrimitive(Serializable): def __init__(self, temporary_box: bool = False) -> None: self._id: UID # sometimes we need to serialize a python primitive in such...
26.947368
86
0.695313
71
512
4.901408
0.661972
0.103448
0.08046
0
0
0
0
0
0
0
0
0
0.234375
512
18
87
28.444444
0.887755
0.328125
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.111111
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
1
1
0
0
0
0
3
02a81c54b7ae5d7c3a9723d2ad65ccbcab51b37a
181
py
Python
projects/code_combat/4_Backwoods_Forest/187-Burlbole_Grove/burbole_grove.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
projects/code_combat/4_Backwoods_Forest/187-Burlbole_Grove/burbole_grove.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
projects/code_combat/4_Backwoods_Forest/187-Burlbole_Grove/burbole_grove.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
def shouldAttack(target): return target and target.type != "burl" while True: enemy = hero.findNearestEnemy() if shouldAttack(enemy): hero.attack(enemy)
22.625
44
0.651934
20
181
5.9
0.7
0.152542
0
0
0
0
0
0
0
0
0
0
0.243094
181
7
45
25.857143
0.861314
0
0
0
0
0
0.022989
0
0
0
0
0
0
1
0.166667
false
0
0
0.166667
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
0
1
0
0
0
3
02b171d7f9aca04eee4490c5e5d16eba855e0336
3,363
py
Python
VTiger_KPI_Dashboard/sales/migrations/0001_initial.py
roovyshapiro/VTiger_Sales_Dashboard
c20687ed8cd5aea8df6a6868b94389eb3b069d3a
[ "MIT" ]
2
2020-12-15T20:24:14.000Z
2022-01-26T23:56:41.000Z
VTiger_KPI_Dashboard/sales/migrations/0001_initial.py
roovyshapiro/VTiger_Sales_Dashboard
c20687ed8cd5aea8df6a6868b94389eb3b069d3a
[ "MIT" ]
6
2021-04-08T19:35:25.000Z
2021-10-05T00:45:27.000Z
VTiger_KPI_Dashboard/sales/migrations/0001_initial.py
roovyshapiro/VTiger_Sales_Dashboard
c20687ed8cd5aea8df6a6868b94389eb3b069d3a
[ "MIT" ]
13
2021-06-09T20:58:10.000Z
2022-03-21T16:02:42.000Z
# Generated by Django 3.0.3 on 2020-12-14 20:35 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Opportunities', fields=[ ('id', models.Auto...
50.954545
114
0.590544
334
3,363
5.691617
0.257485
0.173593
0.208311
0.277749
0.710679
0.605997
0.356654
0.312467
0.24303
0.24303
0
0.024868
0.270592
3,363
65
115
51.738462
0.750102
0.013381
0
0.310345
1
0
0.175814
0.047949
0
0
0
0
0
1
0
false
0
0.017241
0
0.086207
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
02b4ea3752ad8723ae81b8e23bb9968592f35ce4
1,825
py
Python
models.py
shepherd-dc/flask-blog
d0e21ee103553812012eb99cf44d5dd7e6d16007
[ "MIT" ]
null
null
null
models.py
shepherd-dc/flask-blog
d0e21ee103553812012eb99cf44d5dd7e6d16007
[ "MIT" ]
null
null
null
models.py
shepherd-dc/flask-blog
d0e21ee103553812012eb99cf44d5dd7e6d16007
[ "MIT" ]
null
null
null
from exts import db from datetime import datetime from werkzeug.security import generate_password_hash, check_password_hash class User(db.Model): __tablename__ = 'user' id = db.Column(db.Integer, primary_key=True, autoincrement=True) email = db.Column(db.String(50), nullable=False) username = db.Column...
42.44186
102
0.705205
238
1,825
5.252101
0.235294
0.0896
0.112
0.0576
0.54
0.54
0.5272
0.3376
0.3376
0.3376
0
0.006536
0.161644
1,825
42
103
43.452381
0.810458
0
0
0.25
1
0
0.056438
0
0
0
0
0
0
1
0.055556
false
0.166667
0.083333
0
0.805556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
02bb2da24c58a8706f937111f67d4bb1c15d8982
8,612
py
Python
supereeg/simulate.py
tmuntianu/supereeg
cd6e3ca1a898f091ef2696281c9ea32d1baf3eea
[ "MIT" ]
27
2018-03-30T22:15:18.000Z
2022-03-18T02:53:18.000Z
supereeg/simulate.py
tmuntianu/supereeg
cd6e3ca1a898f091ef2696281c9ea32d1baf3eea
[ "MIT" ]
86
2018-03-30T02:58:18.000Z
2021-07-07T01:45:31.000Z
supereeg/simulate.py
tmuntianu/supereeg
cd6e3ca1a898f091ef2696281c9ea32d1baf3eea
[ "MIT" ]
16
2018-03-30T03:04:00.000Z
2020-03-20T16:51:29.000Z
from __future__ import division import warnings import scipy import numpy as np import pandas as pd from sklearn import datasets from .brain import Brain def simulate_locations(n_elecs=10, set_random_seed=False): """ Simulate iEEG locations Parameters ---------- n_elecs : int Number of ele...
29.493151
151
0.631212
1,200
8,612
4.4175
0.1325
0.071685
0.073571
0.022637
0.744011
0.730051
0.701
0.664026
0.632334
0.622147
0
0.012336
0.284603
8,612
291
152
29.594502
0.848077
0.525197
0
0.294872
0
0
0.018948
0
0
0
0
0
0
1
0.064103
false
0
0.089744
0
0.230769
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
02f5cdaefcd9e21d9c360da51d916169536f2867
551,178
py
Python
tests/examples/minlplib/ibs2.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
2
2021-07-03T13:19:10.000Z
2022-02-06T10:48:13.000Z
tests/examples/minlplib/ibs2.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
1
2021-07-04T14:52:14.000Z
2021-07-15T10:17:11.000Z
tests/examples/minlplib/ibs2.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
null
null
null
# MINLP written by GAMS Convert at 04/21/18 13:52:25 # # Equation counts # Total E G L N X C B # 1822 11 10 1801 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
60.648988
120
0.615485
85,830
551,178
3.952487
0.108132
0.026648
0.106473
0.176865
0.505789
0.391331
0.390529
0.3903
0.3903
0.079695
0
0.40234
0.206498
551,178
9,087
121
60.655662
0.373316
0.001234
0
0.045561
0
0
0
0
0
0
0
0
0
1
0
false
0
0.000138
0
0.000138
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f31635ec6e69430943f53209c99bdef02de3acc1
785
py
Python
ptstat/dist/uniform.py
timmyzhao/ptstat
0401203e5b6053df6d62b2af9ab4b831f1b41660
[ "MIT" ]
116
2017-06-23T07:21:28.000Z
2022-03-11T20:27:22.000Z
ptstat/dist/uniform.py
afcarl/ptstat
0401203e5b6053df6d62b2af9ab4b831f1b41660
[ "MIT" ]
2
2017-06-23T22:17:56.000Z
2017-06-28T07:31:40.000Z
ptstat/dist/uniform.py
afcarl/ptstat
0401203e5b6053df6d62b2af9ab4b831f1b41660
[ "MIT" ]
12
2017-06-25T02:59:59.000Z
2020-07-19T21:33:45.000Z
import torch from torch.autograd import Variable from ptstat.core import RandomVariable, _to_v # TODO: Implement Uniform(a, b) constructor. class Uniform(RandomVariable): """ Uniform(0, 1) iid rv. """ def __init__(self, size, cuda=False): super(Uniform, self).__init__() assert len(size...
24.53125
65
0.612739
104
785
4.326923
0.442308
0.044444
0.08
0
0
0
0
0
0
0
0
0.008757
0.272611
785
31
66
25.322581
0.779335
0.135032
0
0
0
0
0
0
0
0
0
0.064516
0.05
1
0.25
false
0
0.15
0.15
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
f31c147a7042cdd8ed6832409db00a2c0deb7547
2,111
py
Python
libs/icloudsettingsclient.py
mattandersen/icloud-tools
8e76d7750f843bf3d36e1ba272dee5858b9fe63d
[ "MIT" ]
4
2017-03-02T16:32:21.000Z
2019-12-09T15:12:16.000Z
libs/icloudsettingsclient.py
mca-gif/icloud-tools
8e76d7750f843bf3d36e1ba272dee5858b9fe63d
[ "MIT" ]
null
null
null
libs/icloudsettingsclient.py
mca-gif/icloud-tools
8e76d7750f843bf3d36e1ba272dee5858b9fe63d
[ "MIT" ]
1
2019-12-09T15:12:18.000Z
2019-12-09T15:12:18.000Z
import base64 from libs.plistrequester import PlistRequester class ICloudSettingsClient(object): """Implements a client to authorize and retrieve settings from iCloud""" def __init__(self, apple_id, password): self.url = "https://setup.icloud.com/setup/get_account_settings" self.apple_id = ap...
39.830189
120
0.677878
269
2,111
5.130112
0.356877
0.046377
0.071014
0.043478
0.085507
0.085507
0.042029
0
0
0
0
0.007207
0.211274
2,111
52
121
40.596154
0.821622
0.196116
0
0
0
0
0.148104
0
0
0
0
0
0
1
0.25
false
0.15625
0.0625
0
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
1
0
0
1
0
0
3
f31e32a7bd0cdb16e598adc843c0be8382bd1fc4
131
py
Python
meiduo_mall/apps/carts/urls.py
5703863336/electriity
768687deaa76a431732c806dce0774397fd1d196
[ "MIT" ]
null
null
null
meiduo_mall/apps/carts/urls.py
5703863336/electriity
768687deaa76a431732c806dce0774397fd1d196
[ "MIT" ]
null
null
null
meiduo_mall/apps/carts/urls.py
5703863336/electriity
768687deaa76a431732c806dce0774397fd1d196
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^carts/$',views.CartsView.as_view(),name='carts'), ]
26.2
60
0.70229
19
131
4.789474
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.122137
131
5
61
26.2
0.791304
0
0
0
0
0
0.098485
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f3223da21df670ea865396b893b2dde1bf2749cf
205
py
Python
src/restLayer/app/unit_tests/run_suite.py
ucsd-ccbb/Oncolist
a3c7ecde6f665a665873e5aa7be5bc3778f5b17e
[ "MIT" ]
null
null
null
src/restLayer/app/unit_tests/run_suite.py
ucsd-ccbb/Oncolist
a3c7ecde6f665a665873e5aa7be5bc3778f5b17e
[ "MIT" ]
null
null
null
src/restLayer/app/unit_tests/run_suite.py
ucsd-ccbb/Oncolist
a3c7ecde6f665a665873e5aa7be5bc3778f5b17e
[ "MIT" ]
null
null
null
__author__ = 'aarongary' import unittest from app import unit_tests def run_test(): suite = unittest.TestLoader().loadTestsFromModule(unit_tests.scratch_tests) unittest.TextTestRunner().run(suite)
29.285714
79
0.790244
24
205
6.416667
0.666667
0.116883
0
0
0
0
0
0
0
0
0
0
0.112195
205
7
80
29.285714
0.846154
0
0
0
0
0
0.043689
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f32519931f8b1da69391f926bbbd0afebb339ff1
177
py
Python
docs/examples/models_abc.py
jasujm/pydantic
cc1cb4826c74ac5b651ef2d80c3478428a9950ca
[ "MIT" ]
25
2019-06-30T04:37:49.000Z
2022-03-19T19:57:37.000Z
docs/examples/models_abc.py
jasujm/pydantic
cc1cb4826c74ac5b651ef2d80c3478428a9950ca
[ "MIT" ]
197
2020-08-31T06:20:39.000Z
2022-03-29T10:04:22.000Z
docs/examples/models_abc.py
jasujm/pydantic
cc1cb4826c74ac5b651ef2d80c3478428a9950ca
[ "MIT" ]
4
2021-06-25T06:34:49.000Z
2022-02-07T01:52:10.000Z
import abc from pydantic import BaseModel class FooBarModel(BaseModel, abc.ABC): a: str b: int @abc.abstractmethod def my_abstract_method(self): pass
14.75
38
0.683616
23
177
5.173913
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.248588
177
11
39
16.090909
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0.125
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
b84e8eafe61d26ed002f50d0c4bf5f330158daa7
3,299
py
Python
explorer/tests/test_utils.py
velveteer/django-sql-explorer
f477c06cce664833beba6e4a85b9cc92e20e3ceb
[ "MIT" ]
1
2016-10-06T18:25:03.000Z
2016-10-06T18:25:03.000Z
explorer/tests/test_utils.py
velveteer/django-sql-explorer
f477c06cce664833beba6e4a85b9cc92e20e3ceb
[ "MIT" ]
null
null
null
explorer/tests/test_utils.py
velveteer/django-sql-explorer
f477c06cce664833beba6e4a85b9cc92e20e3ceb
[ "MIT" ]
null
null
null
from django.test import TestCase from explorer.actions import generate_report_action from explorer.tests.factories import SimpleQueryFactory from explorer import app_settings from explorer.utils import passes_blacklist, schema_info, param, swap_params, extract_params, shared_dict_update, EXPLORER_PARAM_TOKEN, execute_q...
36.252747
149
0.6699
417
3,299
5.045564
0.282974
0.043251
0.045152
0.023764
0.422529
0.407795
0.290875
0.264259
0.225285
0.211977
0
0.007384
0.220067
3,299
91
150
36.252747
0.810338
0.001819
0
0.3
1
0
0.123026
0
0
0
0
0
0.185714
1
0.214286
false
0.057143
0.071429
0
0.328571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
b84f7936d2c19a51356cf7cdd17b99e96117feea
1,708
py
Python
aiida/cmdline/commands/__init__.py
PercivalN/aiida-core
b215ed5a7ce9342bb7f671b67e95c1f474cc5940
[ "BSD-2-Clause" ]
1
2019-07-31T04:08:13.000Z
2019-07-31T04:08:13.000Z
aiida/cmdline/commands/__init__.py
PercivalN/aiida-core
b215ed5a7ce9342bb7f671b67e95c1f474cc5940
[ "BSD-2-Clause" ]
null
null
null
aiida/cmdline/commands/__init__.py
PercivalN/aiida-core
b215ed5a7ce9342bb7f671b67e95c1f474cc5940
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- ########################################################################### # Copyright (c), The AiiDA team. All rights reserved. # # This file is part of the AiiDA code. # # ...
58.896552
120
0.582553
190
1,708
4.968421
0.526316
0.025424
0.050847
0.040254
0.125
0.074153
0
0
0
0
0
0.000798
0.266393
1,708
28
121
61
0.752594
0.427986
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.636364
0
0.636364
0.090909
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
b8712259a6fb9244c662245a1721564528404377
87
py
Python
records/05-09/__init__.py
AaronYang2333/CSCI_570
03e34ce5ff192fc94612bc3afb51dcab3e854462
[ "Apache-2.0" ]
36
2020-07-25T00:13:25.000Z
2022-02-28T17:48:15.000Z
records/05-09/__init__.py
AaronYang2333/LeetCode
03e34ce5ff192fc94612bc3afb51dcab3e854462
[ "Apache-2.0" ]
6
2020-06-06T04:39:37.000Z
2021-04-03T01:45:39.000Z
records/05-09/__init__.py
AaronYang2333/LeetCode
03e34ce5ff192fc94612bc3afb51dcab3e854462
[ "Apache-2.0" ]
16
2020-12-16T02:38:16.000Z
2022-02-28T17:48:16.000Z
__author__ = 'Aaron Yang' __email__ = 'byang971@usc.edu' __date__ = '5/9/2020 11:12 PM'
29
30
0.712644
14
87
3.571429
1
0
0
0
0
0
0
0
0
0
0
0.171053
0.126437
87
3
31
29
0.486842
0
0
0
0
0
0.488636
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b21980a9e9de6a3e4443cc849a61e7c745054ff5
173
py
Python
ex077b.py
jgabriel1607/Python
d6b75519eb8f0d4fef944e1690ba8914d81a5d16
[ "MIT" ]
null
null
null
ex077b.py
jgabriel1607/Python
d6b75519eb8f0d4fef944e1690ba8914d81a5d16
[ "MIT" ]
null
null
null
ex077b.py
jgabriel1607/Python
d6b75519eb8f0d4fef944e1690ba8914d81a5d16
[ "MIT" ]
null
null
null
palavra = ('Curso', 'Video', 'Python') qualPalavra = 0 qualLetra = 0 while True: if palavra[qualPalavra][qualLetra] in 'AaEeIiOoUu': print(palavra[qualPalavra])
24.714286
55
0.682081
19
173
6.210526
0.684211
0.305085
0
0
0
0
0
0
0
0
0
0.013986
0.17341
173
7
56
24.714286
0.811189
0
0
0
0
0
0.149425
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
b220e270da9e7d675c9f1adbc01128e512c3ad08
46
py
Python
python/pyarcan/version.py
omusaev/tui-bindings
e1ce90f41ce0c55e2de8e27e15c0b4652683081f
[ "BSD-3-Clause" ]
3
2019-12-02T20:29:35.000Z
2021-12-18T06:23:33.000Z
python/pyarcan/version.py
omusaev/tui-bindings
e1ce90f41ce0c55e2de8e27e15c0b4652683081f
[ "BSD-3-Clause" ]
null
null
null
python/pyarcan/version.py
omusaev/tui-bindings
e1ce90f41ce0c55e2de8e27e15c0b4652683081f
[ "BSD-3-Clause" ]
2
2019-12-02T18:38:52.000Z
2020-11-04T19:09:49.000Z
__package__ = 'pyarcan' __version__ = '1.0.0'
15.333333
23
0.695652
6
46
4
0.833333
0
0
0
0
0
0
0
0
0
0
0.075
0.130435
46
2
24
23
0.525
0
0
0
0
0
0.26087
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
b22197390420f8a98f21e18236a7e13f62325435
115
py
Python
source/files/visualization-tables-count-characters.py
StevenClontz/exploring-math-technology
2b8705294499f930b30d4643c3579ad3240cc924
[ "MIT" ]
1
2020-12-08T16:23:39.000Z
2020-12-08T16:23:39.000Z
source/files/visualization-tables-count-characters.py
StevenClontz/mathematics-of-data
2b8705294499f930b30d4643c3579ad3240cc924
[ "MIT" ]
16
2020-09-07T23:12:54.000Z
2021-06-03T17:10:52.000Z
source/files/visualization-tables-count-characters.py
StevenClontz/mathematics-of-data
2b8705294499f930b30d4643c3579ad3240cc924
[ "MIT" ]
null
null
null
book_table = book_table.with_columns([ "Peter", [c.count("Peter") for c in book_chapters], ]) book_table.show()
28.75
55
0.704348
18
115
4.222222
0.611111
0.355263
0
0
0
0
0
0
0
0
0
0
0.121739
115
4
56
28.75
0.752475
0
0
0
0
0
0.086207
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b22ef975d0c7d6453e9691c5e9daeab36cf8ad49
200
py
Python
examples/storage/storage/authentication/tests/conftest.py
Cykooz/restfw
d94db685aa0dcda2eaf3eba24c4a29d5c3eb84e4
[ "MIT" ]
null
null
null
examples/storage/storage/authentication/tests/conftest.py
Cykooz/restfw
d94db685aa0dcda2eaf3eba24c4a29d5c3eb84e4
[ "MIT" ]
null
null
null
examples/storage/storage/authentication/tests/conftest.py
Cykooz/restfw
d94db685aa0dcda2eaf3eba24c4a29d5c3eb84e4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ :Authors: cykooz :Date: 14.03.2020 """ import pytest @pytest.fixture(name='pyramid_apps') def pyramid_apps_fixture(): return [ 'storage.authentication' ]
14.285714
36
0.63
23
200
5.347826
0.826087
0.178862
0
0
0
0
0
0
0
0
0
0.055556
0.19
200
13
37
15.384615
0.703704
0.285
0
0
0
0
0.251852
0.162963
0
0
0
0
0
1
0.166667
true
0
0.166667
0.166667
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
0
0
0
3
b2333529b161f99663c82d4bf921b8c8d04e82cd
128
py
Python
showfile/__init__.py
wasi-master/showfile
0d672d86b5f4ee30179a89038e79dc79594c338a
[ "MIT" ]
null
null
null
showfile/__init__.py
wasi-master/showfile
0d672d86b5f4ee30179a89038e79dc79594c338a
[ "MIT" ]
null
null
null
showfile/__init__.py
wasi-master/showfile
0d672d86b5f4ee30179a89038e79dc79594c338a
[ "MIT" ]
null
null
null
__author__ = "Wasi Master" __version__ = "0.1.2" __title__ = "showfile" __homepage__ = "https://wasi-master.github.io/showfile/"
32
56
0.734375
16
128
4.875
0.8125
0.25641
0
0
0
0
0
0
0
0
0
0.025862
0.09375
128
4
56
32
0.646552
0
0
0
0
0
0.488372
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b237481f19bc9088f2cc84a7103943a7dff44bd7
722
py
Python
tests/angular1/widgets/test_md_dateselect.py
hiroaki-yamamoto/djextra
eed2cdb614f96463e16f0b3acbbce10f6c1ab0bc
[ "MIT" ]
2
2018-05-21T10:31:22.000Z
2018-11-19T15:02:34.000Z
tests/angular1/widgets/test_md_dateselect.py
hiroaki-yamamoto/djextra
eed2cdb614f96463e16f0b3acbbce10f6c1ab0bc
[ "MIT" ]
17
2018-10-04T00:29:06.000Z
2020-09-14T04:20:38.000Z
tests/angular1/widgets/test_md_dateselect.py
hiroaki-yamamoto/djextra
eed2cdb614f96463e16f0b3acbbce10f6c1ab0bc
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 """Date Selection for AngularMaterial test.""" from django import setup from django.forms.widgets import SelectDateWidget from django.test import TestCase from djextra.forms.angular1.widgets import MDDateSelect, MDSelect setup() class SimpleMDDateSelectTest(TestCase): """S...
24.896552
65
0.711911
81
722
6.283951
0.469136
0.058939
0
0
0
0
0
0
0
0
0
0.003373
0.17867
722
28
66
25.785714
0.854975
0.261773
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.25
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
b24598eb76eb3deac56ba99c2c414380b4f7df8f
1,889
py
Python
api/runtime_chalice/chalicelib/__init__.py
viniciusao/awscdk-demo
483ea234dc2d8a1bc24b938776f176323bc22060
[ "MIT" ]
1
2022-01-07T21:54:38.000Z
2022-01-07T21:54:38.000Z
api/runtime_chalice/chalicelib/__init__.py
viniciusao/awscdk-demo
483ea234dc2d8a1bc24b938776f176323bc22060
[ "MIT" ]
null
null
null
api/runtime_chalice/chalicelib/__init__.py
viniciusao/awscdk-demo
483ea234dc2d8a1bc24b938776f176323bc22060
[ "MIT" ]
null
null
null
import abc from collections import OrderedDict import os from typing import Any, Dict, Optional import boto3 class DatabaseInterface(abc.ABC): @abc.abstractmethod def insert_char_info(self, char_info: Dict[str, str]) -> Dict[str, Any]: pass @abc.abstractmethod def get_char_info(self, charnam...
30.967213
78
0.688195
235
1,889
5.259574
0.204255
0.122977
0.087379
0.097087
0.380259
0.380259
0.351133
0.317152
0.288026
0.186893
0
0.001311
0.192165
1,889
61
79
30.967213
0.80865
0
0
0.302326
0
0
0.026984
0
0
0
0
0
0
1
0.27907
false
0.069767
0.116279
0.046512
0.581395
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
b24991f086c47d045e46989a6949fec18e113b74
587
py
Python
tests/test_IO_utils.py
Svdvoort/prognosais
f5f144a2aac5610ea2450392853aa37bce311085
[ "Apache-2.0" ]
3
2020-11-10T09:21:51.000Z
2021-01-12T15:14:19.000Z
tests/test_IO_utils.py
Svdvoort/prognosais
f5f144a2aac5610ea2450392853aa37bce311085
[ "Apache-2.0" ]
38
2020-11-18T14:19:25.000Z
2022-03-17T09:28:48.000Z
tests/test_IO_utils.py
Svdvoort/prognosais
f5f144a2aac5610ea2450392853aa37bce311085
[ "Apache-2.0" ]
null
null
null
import PrognosAIs.IO.utils as IO_utils import pytest import tensorflow as tf @pytest.mark.gpu def test_gpu_compute_capability(): gpu_devices = tf.config.get_visible_devices("GPU") result = IO_utils.get_gpu_compute_capability(gpu_devices[0]) # In the CI pipeline we have a P4000, with compute capability 6....
25.521739
69
0.741056
91
587
4.527473
0.417582
0.206311
0.194175
0.167476
0.376214
0.203884
0.203884
0.203884
0.203884
0
0
0.02444
0.163543
587
22
70
26.681818
0.814664
0.143101
0
0
0
0
0.022
0
0
0
0
0
0.153846
1
0.153846
false
0
0.230769
0
0.384615
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
b24e29ec29455434be49fc2d2668dacb978f4b5c
177
py
Python
clara_bootstrap/__init__.py
royarzun/clara-bootstrap
039f619a840a77a350a751a61f72a6c512d2be44
[ "MIT" ]
null
null
null
clara_bootstrap/__init__.py
royarzun/clara-bootstrap
039f619a840a77a350a751a61f72a6c512d2be44
[ "MIT" ]
3
2016-08-21T04:24:06.000Z
2016-08-25T13:41:41.000Z
clara_bootstrap/__init__.py
royarzun/clara-bootstrap
039f619a840a77a350a751a61f72a6c512d2be44
[ "MIT" ]
null
null
null
# coding=utf-8 import os import glob __author__ = 'royarzun' __version__ = '1.3.5' __all__ = [os.path.basename(f)[:-3] for f in glob.glob(os.path.dirname(__file__) + "/*.py")]
22.125
92
0.677966
29
177
3.586207
0.724138
0.115385
0
0
0
0
0
0
0
0
0
0.032258
0.124294
177
7
93
25.285714
0.63871
0.067797
0
0
0
0
0.110429
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b254e05bd4217b7065454d91e44ced06595e6a9f
118
py
Python
rllib/agents/ddpg/apex.py
jianoaix/ray
1701b923bc83905f8961c06a6a173e3eba46a936
[ "Apache-2.0" ]
null
null
null
rllib/agents/ddpg/apex.py
jianoaix/ray
1701b923bc83905f8961c06a6a173e3eba46a936
[ "Apache-2.0" ]
null
null
null
rllib/agents/ddpg/apex.py
jianoaix/ray
1701b923bc83905f8961c06a6a173e3eba46a936
[ "Apache-2.0" ]
null
null
null
from ray.rllib.algorithms.apex_ddpg import ( # noqa ApexDDPG as ApexDDPGTrainer, APEX_DDPG_DEFAULT_CONFIG, )
23.6
52
0.762712
15
118
5.733333
0.866667
0.186047
0
0
0
0
0
0
0
0
0
0
0.169492
118
4
53
29.5
0.877551
0.033898
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b25f49a14bb7b7d530789e5c680ac8ca7ba476b7
7,850
py
Python
omnifig/top.py
felixludos/omni-f
0bbe0bc362c332483877eff3a19266b60c175ad4
[ "MIT" ]
1
2021-04-13T14:01:48.000Z
2021-04-13T14:01:48.000Z
omnifig/top.py
felixludos/omni-f
0bbe0bc362c332483877eff3a19266b60c175ad4
[ "MIT" ]
null
null
null
omnifig/top.py
felixludos/omni-f
0bbe0bc362c332483877eff3a19266b60c175ad4
[ "MIT" ]
1
2021-11-24T13:36:41.000Z
2021-11-24T13:36:41.000Z
import sys, os from omnibelt import get_printer, resolve_order, monkey_patch from .external import include_files from .util import global_settings prt = get_printer(__name__) # region Projects from .loading import get_profile def get_current_project(): '''Get the current project, assuming a p...
32.708333
125
0.746369
1,075
7,850
5.307907
0.203721
0.083421
0.071504
0.080617
0.23817
0.138451
0.074658
0.062741
0.062741
0.045216
0
0.000153
0.165605
7,850
239
126
32.845188
0.870992
0.496433
0
0
0
0
0.020904
0
0
0
0
0
0
1
0.337349
false
0
0.060241
0.144578
0.698795
0.024096
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