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
1d6716c6302b90b55715b903cc01e19cfa43a54b
61,620
py
Python
src/foreign_if/python/main/python/frovedis/mllib/linear_model.py
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
null
null
null
src/foreign_if/python/main/python/frovedis/mllib/linear_model.py
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
null
null
null
src/foreign_if/python/main/python/frovedis/mllib/linear_model.py
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
null
null
null
""" linear_model.py: wrapper of frovedis Logistic Regression, Linear Regression, Lasso, Ridge Regression, SGDClassifier and SGDRegressor """ import os.path import pickle import warnings import numpy as np from .model_util import * from .metrics import * from ..base import BaseEstimator from ..exrpc imp...
35.332569
91
0.556475
6,880
61,620
4.738517
0.051744
0.025521
0.022331
0.032637
0.872519
0.862796
0.82841
0.813349
0.801816
0.795927
0
0.006316
0.339662
61,620
1,743
92
35.35284
0.794888
0.074278
0
0.837587
0
0
0.093033
0.000979
0
0
0
0
0
1
0.094354
false
0
0.009281
0
0.154679
0.009281
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
1d8623902773f04596f3c65c6276534b7af34a9f
200
py
Python
kerbal_api/__init__.py
obi1kenobi/kerbal-api
930880ac0bc55e3902e9949053a93a6b8a04efee
[ "MIT" ]
3
2020-07-01T23:16:58.000Z
2020-07-29T06:30:31.000Z
kerbal_api/__init__.py
obi1kenobi/kerbal-api
930880ac0bc55e3902e9949053a93a6b8a04efee
[ "MIT" ]
null
null
null
kerbal_api/__init__.py
obi1kenobi/kerbal-api
930880ac0bc55e3902e9949053a93a6b8a04efee
[ "MIT" ]
null
null
null
from .querying import KSP_SCHEMA, KSP_SCHEMA_TEXT, execute_query, get_default_adapter __all__ = [ "KSP_SCHEMA", "KSP_SCHEMA_TEXT", "execute_query", "get_default_adapter", ]
20
86
0.695
24
200
5.125
0.5
0.292683
0.195122
0.292683
0.829268
0.829268
0.829268
0.829268
0.829268
0.829268
0
0
0.21
200
9
87
22.222222
0.778481
0
0
0
0
0
0.298429
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
1
1
1
1
1
1
1
1
1
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
11
d519b6a11830204297846942a9b6101e45082878
88
py
Python
Python3/TuplesAndSets/creating_accessing_set.py
norbertosanchezdichi/TIL
2e9719ddd288022f53b094a42679e849bdbcc625
[ "MIT" ]
null
null
null
Python3/TuplesAndSets/creating_accessing_set.py
norbertosanchezdichi/TIL
2e9719ddd288022f53b094a42679e849bdbcc625
[ "MIT" ]
null
null
null
Python3/TuplesAndSets/creating_accessing_set.py
norbertosanchezdichi/TIL
2e9719ddd288022f53b094a42679e849bdbcc625
[ "MIT" ]
null
null
null
s = set({1, 2, 3, 4, 5, 5, 4}) print(f'{s =}') print(f'{3 in s =}') print(f'{9 in s =}')
22
30
0.431818
22
88
1.727273
0.5
0.473684
0.368421
0
0
0
0
0
0
0
0
0.128571
0.204545
88
4
31
22
0.414286
0
0
0
0
0
0.280899
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
1
0
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
d58cb5c7570729f77ec3ae424a89df63fd3aea49
6,532
py
Python
tests/commands/test_iotserver.py
juanmagal/iot-slice-orchestrator
9fc0df4f74b2788ea116549c001bcb8c6b663280
[ "Apache-2.0" ]
2
2019-08-16T13:05:39.000Z
2019-12-24T16:57:29.000Z
tests/commands/test_iotserver.py
juanmagal/iot-slice-orchestrator
9fc0df4f74b2788ea116549c001bcb8c6b663280
[ "Apache-2.0" ]
null
null
null
tests/commands/test_iotserver.py
juanmagal/iot-slice-orchestrator
9fc0df4f74b2788ea116549c001bcb8c6b663280
[ "Apache-2.0" ]
null
null
null
"""Tests for our `iotorch IoT Server` subcommand.""" from subprocess import PIPE, Popen as popen from unittest import TestCase class TestIotServer(TestCase): def test_returns_iotserver_get(self): name='test' operation='get' configfile='./tests/conf/iotorch.toml' output = popen([...
48.029412
177
0.638855
726
6,532
5.650138
0.092287
0.048269
0.078986
0.118479
0.891516
0.849829
0.812287
0.812287
0.800341
0.800341
0
0.009266
0.190447
6,532
135
178
48.385185
0.766452
0.007042
0
0.709402
0
0
0.246334
0.051706
0
0
0
0
0.153846
1
0.102564
false
0.017094
0.017094
0
0.128205
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d599f5e6a617d4ef07c74eb5ef4f96c53b9cd66a
5,816
py
Python
kikimr/public/api/grpc/draft/ydb_long_tx_v1_pb2_grpc.py
yandex-cloud/ydb-python-sdk
0df2dce2d77fc41ad3020072740f51dd91630177
[ "Apache-2.0" ]
19
2019-07-01T08:25:29.000Z
2022-01-26T14:46:51.000Z
kikimr/public/api/grpc/draft/ydb_long_tx_v1_pb2_grpc.py
yandex-cloud/ydb-python-sdk
0df2dce2d77fc41ad3020072740f51dd91630177
[ "Apache-2.0" ]
5
2019-07-02T13:36:42.000Z
2021-09-14T06:46:48.000Z
kikimr/public/api/grpc/draft/ydb_long_tx_v1_pb2_grpc.py
yandex-cloud/ydb-python-sdk
0df2dce2d77fc41ad3020072740f51dd91630177
[ "Apache-2.0" ]
10
2019-06-07T10:36:19.000Z
2021-10-15T08:58:11.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from kikimr.public.api.protos.draft import ydb_long_tx_pb2 as kikimr_dot_public_dot_api_dot_protos_dot_draft_dot_ydb__long__tx__pb2 class LongTxServiceStub(object): # missing associated documentation comment in .proto file pass ...
50.573913
146
0.801238
705
5,816
6.024113
0.129078
0.036261
0.046621
0.062162
0.808571
0.808571
0.808571
0.715564
0.715564
0.715564
0
0.005568
0.135316
5,816
114
147
51.017544
0.838934
0.091644
0
0.298851
1
0
0.089473
0.039216
0
0
0
0
0
1
0.08046
false
0.068966
0.022989
0
0.126437
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
6394f96c4c067810038cbfa9b589feaea20bc607
6,111
py
Python
pyaz/storage/table/policy/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/storage/table/policy/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/storage/table/policy/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
''' Manage shared access policies of a storage table. ''' from .... pyaz_utils import _call_az def create(name, table_name, account_key=None, account_name=None, connection_string=None, expiry=None, permissions=None, sas_token=None, start=None): ''' Required Parameters: - name -- The stored access pol...
64.326316
365
0.757814
874
6,111
5.169336
0.108696
0.123949
0.106242
0.137229
0.963922
0.963922
0.963922
0.963922
0.963922
0.963922
0
0
0.173621
6,111
94
366
65.010638
0.894653
0.791687
0
0
0
0
0.146146
0
0
0
0
0
0
1
0.454545
false
0
0.090909
0
1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
63b0588bc27a1affe2d5a955537728ad8f95f5be
834
py
Python
tests/data/python38.py
AppliedIntuition/black
bc0c5ca9d41956bf5ed9fc851202579f9e52a338
[ "MIT" ]
16,110
2019-07-22T21:54:54.000Z
2022-03-31T22:52:39.000Z
tests/data/python38.py
marnixah/black-but-usable
83b83d3066d1d857983bfa1a666a409e7255d79d
[ "MIT" ]
1,981
2019-07-22T21:26:16.000Z
2022-03-31T23:14:35.000Z
tests/data/python38.py
marnixah/black-but-usable
83b83d3066d1d857983bfa1a666a409e7255d79d
[ "MIT" ]
1,762
2019-07-22T21:23:00.000Z
2022-03-31T06:10:22.000Z
#!/usr/bin/env python3.8 def starred_return(): my_list = ["value2", "value3"] return "value1", *my_list def starred_yield(): my_list = ["value2", "value3"] yield "value1", *my_list # all right hand side expressions allowed in regular assignments are now also allowed in # annotated assignments a : ...
18.130435
88
0.625899
123
834
4.146341
0.308943
0.094118
0.094118
0.141176
0.988235
0.988235
0.988235
0.988235
0.988235
0.988235
0
0.030722
0.219424
834
45
89
18.533333
0.752688
0.32494
0
1
0
0
0.136691
0
0
0
0
0
0
1
0.3
false
0
0
0
0.4
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
63c05fa8b291376fa8be30f5ccefe0ea3a00756c
89
py
Python
__init__.py
softlab-unimore/landmark
afebdd1e78d4a99caaa7a43cc72f95cb7ece8bbb
[ "MIT" ]
null
null
null
__init__.py
softlab-unimore/landmark
afebdd1e78d4a99caaa7a43cc72f95cb7ece8bbb
[ "MIT" ]
null
null
null
__init__.py
softlab-unimore/landmark
afebdd1e78d4a99caaa7a43cc72f95cb7ece8bbb
[ "MIT" ]
null
null
null
from landmark.landmark import Landmark from landmark.landmark.plot import PlotExplanation
44.5
50
0.88764
11
89
7.181818
0.454545
0.303797
0.506329
0
0
0
0
0
0
0
0
0
0.078652
89
2
50
44.5
0.963415
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
893f928d3d8fe5887c05b90ad7845f1a9f7e62a3
22,999
py
Python
devilry/devilry_qualifiesforexam/tests/test_showstatus.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
29
2015-01-18T22:56:23.000Z
2020-11-10T21:28:27.000Z
devilry/devilry_qualifiesforexam/tests/test_showstatus.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
786
2015-01-06T16:10:18.000Z
2022-03-16T11:10:50.000Z
devilry/devilry_qualifiesforexam/tests/test_showstatus.py
devilry/devilry-django
9ae28e462dfa4cfee966ebacbca04ade9627e715
[ "BSD-3-Clause" ]
15
2015-04-06T06:18:43.000Z
2021-02-24T12:28:30.000Z
# -*- coding: utf-8 -*- # 3rd party imports from model_bakery import baker # Django imports from django import test # CrAdmin imports from cradmin_legacy import cradmin_testhelpers # Devilry imports from devilry.project.common import settings from devilry.devilry_qualifiesforexam.views import qualification_preview...
51.79955
120
0.649202
2,182
22,999
6.601742
0.083868
0.038737
0.027976
0.059979
0.878098
0.866644
0.844498
0.827213
0.806109
0.798056
0
0.008559
0.253272
22,999
443
121
51.916479
0.830208
0.031958
0
0.729592
0
0
0.1697
0.0964
0
0
0
0
0.112245
1
0.061224
false
0.020408
0.015306
0.002551
0.091837
0.010204
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
89903e7bb0718f29bd54eaa9bba272ee4b1884e0
55
py
Python
03_numbers/014_floats.py
selimmh/Python_Basics
9e16de82306261f3acd44d88b862bcc14d1a71a1
[ "CNRI-Python" ]
1
2020-04-17T20:12:55.000Z
2020-04-17T20:12:55.000Z
03_numbers/014_floats.py
selimmh/Python_Basics
9e16de82306261f3acd44d88b862bcc14d1a71a1
[ "CNRI-Python" ]
null
null
null
03_numbers/014_floats.py
selimmh/Python_Basics
9e16de82306261f3acd44d88b862bcc14d1a71a1
[ "CNRI-Python" ]
null
null
null
#working with floats print(1.5 + 2.7) print(1.5 * 2.5)
13.75
20
0.636364
13
55
2.692308
0.615385
0.342857
0.4
0.457143
0
0
0
0
0
0
0
0.173913
0.163636
55
4
21
13.75
0.586957
0.345455
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
9823b6474214ff3054e3d2f82c32f47f6d2e24cd
2,769
py
Python
tests/test_datastores.py
DalavanCloud/nurl-2g
dff81942c585003581a5b55a694ad71ae5c519d7
[ "BSD-2-Clause" ]
1
2019-03-16T05:04:59.000Z
2019-03-16T05:04:59.000Z
tests/test_datastores.py
DalavanCloud/nurl-2g
dff81942c585003581a5b55a694ad71ae5c519d7
[ "BSD-2-Clause" ]
null
null
null
tests/test_datastores.py
DalavanCloud/nurl-2g
dff81942c585003581a5b55a694ad71ae5c519d7
[ "BSD-2-Clause" ]
null
null
null
import os import unittest import operator from nurl import datastores IS_RUNNING_ON_TRAVISCI = os.environ.get('TRAVIS', False) class InMemoryTests(unittest.TestCase): def setUp(self): self.store = datastores.InMemoryDataStore() def test_add_new_pair(self): self.store['foo'] = 'bar' ...
33.361446
67
0.654027
335
2,769
5.21194
0.197015
0.134021
0.123711
0.137457
0.707904
0.707904
0.707904
0.707904
0.707904
0.707904
0
0.00503
0.210184
2,769
82
68
33.768293
0.793324
0.018779
0
0.745763
0
0
0.072089
0
0
0
0
0
0.20339
1
0.254237
false
0
0.084746
0
0.372881
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
7f5221fb075e6371a55357c60ee2181f1b63b6d8
724
py
Python
python_startup.py
DerMaxxiKing/htc_calculator
10d2e31a1cb4256fdcbe25ec915d7280927a064a
[ "MIT" ]
null
null
null
python_startup.py
DerMaxxiKing/htc_calculator
10d2e31a1cb4256fdcbe25ec915d7280927a064a
[ "MIT" ]
null
null
null
python_startup.py
DerMaxxiKing/htc_calculator
10d2e31a1cb4256fdcbe25ec915d7280927a064a
[ "MIT" ]
null
null
null
import sys print('Importing FreeCAD and Modules') sys.path.append('/tmp/squashfs-root/usr/lib/python38.zip') sys.path.append('/tmp/squashfs-root/usr/lib/python3.8') sys.path.append('/tmp/squashfs-root/usr/lib/python3.8/lib-dynload') sys.path.append('/tmp/squashfs-root/usr/lib/python3.8/site-packages') sys.pat...
36.2
70
0.743094
118
724
4.550847
0.279661
0.117318
0.217877
0.268156
0.715084
0.715084
0.715084
0.683426
0.49162
0.49162
0
0.018072
0.082873
724
19
71
38.105263
0.790663
0.161602
0
0.181818
0
0
0.640893
0.591065
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
0.090909
0
0
0
null
0
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
7f6971eccc837e13122161bd7d079ec01e2d2c08
279
py
Python
languages/python/membind/__init__.py
robjsliwa/mem_query
09a1ba736c4d8faadb9df6618934a611fa168647
[ "MIT" ]
null
null
null
languages/python/membind/__init__.py
robjsliwa/mem_query
09a1ba736c4d8faadb9df6618934a611fa168647
[ "MIT" ]
8
2021-03-05T14:42:48.000Z
2021-04-17T19:20:27.000Z
languages/python/membind/__init__.py
robjsliwa/mem_query
09a1ba736c4d8faadb9df6618934a611fa168647
[ "MIT" ]
null
null
null
from membind.memory import linear_mem_addr, write_to_memory,\ ptr_to_str_with_len, ptr_to_str, write_str, result_ptr_to_value __all__ = [ 'linear_mem_addr', 'write_to_memory', 'ptr_to_str_with_len', 'ptr_to_str', 'write_str', 'result_ptr_to_value' ]
23.25
67
0.731183
45
279
3.822222
0.355556
0.174419
0.186047
0.209302
0.848837
0.848837
0.848837
0.848837
0.848837
0.848837
0
0
0.172043
279
12
68
23.25
0.744589
0
0
0
0
0
0.310714
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
1
1
1
1
1
1
1
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
8
7f7fa65983a489ad3d02e1964ea3b9b83aa90d47
5,701
py
Python
ws_lock/tests/test_with_pytest.py
sevdog/test-websocker-user-lock
8aef3249f623e23479d61c7681e0f59909c47926
[ "MIT" ]
null
null
null
ws_lock/tests/test_with_pytest.py
sevdog/test-websocker-user-lock
8aef3249f623e23479d61c7681e0f59909c47926
[ "MIT" ]
null
null
null
ws_lock/tests/test_with_pytest.py
sevdog/test-websocker-user-lock
8aef3249f623e23479d61c7681e0f59909c47926
[ "MIT" ]
null
null
null
import threading from asgiref.sync import sync_to_async import pytest from ..models import Item @pytest.mark.django_db(transaction=True) class TestLocks: @pytest.mark.asyncio async def test_fetch(self, django_db_setup_for_sockets): @sync_to_async def fetch(): return list(Item.obje...
42.864662
102
0.66655
699
5,701
5.044349
0.095851
0.161656
0.265173
0.175837
0.894214
0.892513
0.876064
0.863585
0.835508
0.819342
0
0.005585
0.246273
5,701
132
103
43.189394
0.814987
0.021926
0
0.793103
0
0
0.035567
0
0
0
0
0
0.232759
1
0.008621
false
0
0.034483
0.008621
0.060345
0.008621
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
7fb94eea51dc1edfd1ce09d212b99a1995f6e60a
9,660
py
Python
easyai/model/base_block/cls/attention_net_block.py
lpj0822/image_point_cloud_det
7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f
[ "MIT" ]
1
2020-09-05T09:18:56.000Z
2020-09-05T09:18:56.000Z
easyai/model/base_block/cls/attention_net_block.py
lpj0822/image_point_cloud_det
7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f
[ "MIT" ]
8
2020-04-20T02:18:55.000Z
2022-03-12T00:24:50.000Z
easyai/model/base_block/cls/attention_net_block.py
lpj0822/image_point_cloud_det
7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: from easyai.base_name.block_name import NormalizationType, ActivationType from easyai.model.base_block.utility.base_block import * from easyai.model.base_block.cls.preact_resnet_block import PreActBottleNeck class AttentionNetBlockName(): AttentionModule1 =...
36.590909
120
0.646377
1,319
9,660
4.457165
0.10235
0.025515
0.135737
0.128593
0.87702
0.862732
0.862732
0.843341
0.843341
0.839599
0
0.025498
0.257039
9,660
264
121
36.590909
0.793646
0.120393
0
0.820359
0
0
0.005672
0
0
0
0
0
0.017964
1
0.053892
false
0
0.017964
0
0.149701
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f6a6b0de19abebc078675acb0c73aac6bfabe7ff
4,981
py
Python
pypika/tests/test_groupby_modifiers.py
trust-kaz/pypika
78ce885ca445e63bb6168d4456dd11072c60e63b
[ "Apache-2.0" ]
null
null
null
pypika/tests/test_groupby_modifiers.py
trust-kaz/pypika
78ce885ca445e63bb6168d4456dd11072c60e63b
[ "Apache-2.0" ]
null
null
null
pypika/tests/test_groupby_modifiers.py
trust-kaz/pypika
78ce885ca445e63bb6168d4456dd11072c60e63b
[ "Apache-2.0" ]
null
null
null
import unittest from pypika import Table, Query, Rollup, functions as fn, RollupException __author__ = "Timothy Heys" __email__ = "theys@kayak.com" class RollupTests(unittest.TestCase): table = Table("abc") def test_mysql_one_groupby(self): q = ( Query.from_(self.table) .sel...
31.525316
96
0.543264
594
4,981
4.434343
0.094276
0.23918
0.104784
0.091116
0.840926
0.829916
0.776006
0.774867
0.757403
0.720577
0
0
0.306364
4,981
157
97
31.726115
0.762373
0
0
0.457364
0
0.046512
0.158201
0.045172
0
0
0
0
0.100775
1
0.100775
false
0
0.015504
0
0.131783
0
0
0
0
null
1
0
0
1
1
1
1
1
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
7
f6dbf468315177b0c43f8a136dd4aac24f92ec6f
2,881
py
Python
alpyro_msgs/control_msgs/jointtrajectoryaction.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
1
2020-12-13T13:07:10.000Z
2020-12-13T13:07:10.000Z
alpyro_msgs/control_msgs/jointtrajectoryaction.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
null
null
null
alpyro_msgs/control_msgs/jointtrajectoryaction.py
rho2/alpyro_msgs
b5a680976c40c83df70d61bb2db1de32a1cde8d3
[ "MIT" ]
null
null
null
from typing import List from typing_extensions import Annotated from typing import Final from alpyro_msgs import RosMessage from alpyro_msgs.control_msgs.jointtrajectoryactionfeedback import JointTrajectoryActionFeedback from alpyro_msgs.control_msgs.jointtrajectoryactiongoal import JointTrajectoryActionGoal from alpyr...
160.055556
2,194
0.971538
65
2,881
42.646154
0.415385
0.01443
0.020202
0.022727
0.027056
0
0
0
0
0
0
0.096774
0.020826
2,881
17
2,195
169.470588
0.885856
0
0
0
0
0
0.778202
0.778202
0
1
0
0
0
1
0
false
0
0.5
0
1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
1
0
1
0
0
8
f6dd7716a1796e02d44dbb93f413777f00a869df
10,279
py
Python
DQMServices/Examples/python/test/MessageLogger_cfi.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
DQMServices/Examples/python/test/MessageLogger_cfi.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
DQMServices/Examples/python/test/MessageLogger_cfi.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
import FWCore.ParameterSet.Config as cms MessageLogger = cms.Service("MessageLogger", MessageLogger = cms.untracked.PSet( MEtoEDMConverter_endRun = cms.untracked.PSet( limit = cms.untracked.int32(10000000) ), ConverterTester_endJob = cms.untracked.PSet( limit = cms.u...
38.498127
75
0.618543
841
10,279
7.457788
0.052319
0.304209
0.193878
0.241071
0.857462
0.857462
0.857462
0.857462
0.850128
0.850128
0
0.097381
0.286701
10,279
266
76
38.642857
0.758047
0
0
0.837121
0
0
0.068593
0.057793
0
0
0
0
0
1
0
false
0
0.003788
0
0.003788
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
63dd8896d4477a4e90952ff2908681c9829c918b
1,889
py
Python
bigsi/tests/scoring.py
Phelimb/bfg
bf34abbb9d6f72a9f0c64c40eefc44d810a2502e
[ "MIT" ]
109
2017-12-13T12:25:40.000Z
2021-08-18T08:35:44.000Z
bigsi/tests/scoring.py
Phelimb/bfg
bf34abbb9d6f72a9f0c64c40eefc44d810a2502e
[ "MIT" ]
25
2017-12-14T04:03:46.000Z
2021-11-04T11:50:34.000Z
bigsi/tests/scoring.py
Phelimb/bfg
bf34abbb9d6f72a9f0c64c40eefc44d810a2502e
[ "MIT" ]
20
2017-12-22T02:14:13.000Z
2021-02-01T02:49:02.000Z
from hypothesis import given from hypothesis import example import hypothesis.strategies as st import os from bigsi.scoring import Scorer def test_score(): s = "1111111111111111111111111111111111111111110000000000000000000000000000001111111111111111111111100000000000000000000100000010001111111111111111111111111...
59.03125
1,154
0.827422
88
1,889
17.636364
0.568182
0.018041
0.025773
0
0
0
0
0
0
0
0
0.751202
0.119111
1,889
31
1,155
60.935484
0.18149
0
0
0
0
0
0.685548
0.605611
0
1
0
0
0.037037
1
0.037037
false
0
0.185185
0
0.222222
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
1207a30ab88e9f8a0b8da6bbfdfc28e6385059ad
23,009
py
Python
controls/testing/test_integration/test_fys.py
rossm6/accounts
74633ce4038806222048d85ef9dfe97a957a6a71
[ "MIT" ]
11
2021-01-23T01:09:54.000Z
2021-01-25T07:16:30.000Z
controls/testing/test_integration/test_fys.py
rossm6/accounts
74633ce4038806222048d85ef9dfe97a957a6a71
[ "MIT" ]
7
2021-04-06T18:19:10.000Z
2021-09-22T19:45:03.000Z
controls/testing/test_integration/test_fys.py
rossm6/accounts
74633ce4038806222048d85ef9dfe97a957a6a71
[ "MIT" ]
3
2021-01-23T18:55:32.000Z
2021-02-16T17:47:59.000Z
from datetime import date from controls.models import FinancialYear, ModuleSettings, Period from dateutil.relativedelta import relativedelta from django.contrib.auth import get_user_model from django.shortcuts import reverse from django.test import TestCase from nominals.models import Nominal, NominalTransaction cla...
35.074695
120
0.519927
2,618
23,009
4.371276
0.089763
0.081265
0.020972
0.015729
0.819556
0.799546
0.776302
0.759175
0.71828
0.714261
0
0.097362
0.360772
23,009
655
121
35.128244
0.680718
0.029293
0
0.755372
0
0.003306
0.170525
0.01135
0
0
0
0
0.076033
1
0.018182
false
0.003306
0.01157
0
0.033058
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
121533005dada2a6fed8efe5bc12eb51d5c94103
46
py
Python
src/main/tests/__init__.py
kirillismad/django_blog
9c5d1549ca415e02c8705e4797b55b1272c44428
[ "MIT" ]
null
null
null
src/main/tests/__init__.py
kirillismad/django_blog
9c5d1549ca415e02c8705e4797b55b1272c44428
[ "MIT" ]
12
2020-01-09T09:22:30.000Z
2022-03-11T23:43:55.000Z
src/main/tests/__init__.py
kirillismad/django_blog
9c5d1549ca415e02c8705e4797b55b1272c44428
[ "MIT" ]
null
null
null
from .api_tests import * from .tests import *
15.333333
24
0.73913
7
46
4.714286
0.571429
0.666667
0
0
0
0
0
0
0
0
0
0
0.173913
46
2
25
23
0.868421
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
123eb51cc56f5b2913814f844e283aa01fb155ec
590
py
Python
eval_medseg_timm-regnetx_002_RandomBrightnessContrast.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_medseg_timm-regnetx_002_RandomBrightnessContrast.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_medseg_timm-regnetx_002_RandomBrightnessContrast.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
import os ls=["python main.py --configs configs/eval_medseg_unetplusplus_timm-regnetx_002_0_RandomBrightnessContrast.yml", "python main.py --configs configs/eval_medseg_unetplusplus_timm-regnetx_002_1_RandomBrightnessContrast.yml", "python main.py --configs configs/eval_medseg_unetplusplus_timm-regnetx_002_2_RandomBri...
53.636364
112
0.859322
80
590
5.9625
0.3
0.104822
0.125786
0.199161
0.87631
0.87631
0.87631
0.87631
0.87631
0.87631
0
0.035778
0.052542
590
11
113
53.636364
0.817531
0
0
0
0
0
0.888325
0.676819
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
1240529f0fe8f0a16d35402b23cd41aac6932bb6
15,582
py
Python
Day08/Part2.py
PeterDowdy/AdventOfCode2019
93078b5fc2ef78cdb1b860a3535839dc718c9f5f
[ "MIT" ]
null
null
null
Day08/Part2.py
PeterDowdy/AdventOfCode2019
93078b5fc2ef78cdb1b860a3535839dc718c9f5f
[ "MIT" ]
null
null
null
Day08/Part2.py
PeterDowdy/AdventOfCode2019
93078b5fc2ef78cdb1b860a3535839dc718c9f5f
[ "MIT" ]
null
null
null
img = "2212222102022220222221222222221022220210202222222222222212222222222222221222222222222202221212222212220222202222220222222222212212212222212222220222222222222012022220222222222222222122221222212222222222222222222222222222221222222222222202221212222212220222222222220222222222222212212222212222222222222212222012222...
649.25
15,008
0.98402
100
15,582
153.15
0.26
0.003526
0.005485
0.002742
0.008097
0.007052
0.003134
0
0
0
0
0.972724
0.009434
15,582
23
15,009
677.478261
0.019501
0
0
0
0
0
0.963417
0.962711
0
1
0
0
0
1
0
false
0
0
0
0
0.055556
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
8
124e200558537f6e61b93bf7c4a84e3a109d492e
7,316
py
Python
stylegan/miscellaneous/write_bash_script_in_batch.py
VITA-Group/BlackBoxGANCollapse
e52afab99e8b2e08a92aab86d84d53db77aa8c75
[ "MIT" ]
3
2021-08-04T09:08:05.000Z
2022-01-26T07:32:41.000Z
stylegan/miscellaneous/write_bash_script_in_batch.py
VITA-Group/BlackBoxGANCollapse
e52afab99e8b2e08a92aab86d84d53db77aa8c75
[ "MIT" ]
null
null
null
stylegan/miscellaneous/write_bash_script_in_batch.py
VITA-Group/BlackBoxGANCollapse
e52afab99e8b2e08a92aab86d84d53db77aa8c75
[ "MIT" ]
1
2021-12-09T06:37:22.000Z
2021-12-09T06:37:22.000Z
import os node_gpu_map = {'5m':'3','5n':'0123','5x':'023','72':'1','76':'2'} #{'70':'34','72':'134','74':'134','76':'24','77':'13'} node_gpu_lst = [] for k,v in node_gpu_map.items(): for gpu in v: node_gpu_lst.append((k,int(gpu))) print(node_gpu_lst) for i in range(10): with open('bash_run_{}_{}.sh'.f...
67.740741
181
0.620694
1,077
7,316
4.013928
0.096565
0.116586
0.086977
0.111034
0.955586
0.952811
0.952811
0.952811
0.952811
0.952811
0
0.074249
0.158693
7,316
107
182
68.373832
0.628107
0.007244
0
0.787879
0
0.060606
0.382402
0.19127
0
0
0
0
0
1
0
false
0
0.010101
0
0.010101
0.010101
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
126696b923bec9fdf36c21760dd645eb525e98e6
2,382
py
Python
fusionsid/http.py
FusionSid/FusionSidAPI.py
e1b50622bf4fcec8265f8fd4e9b3ac79b580d286
[ "MIT" ]
5
2022-03-05T23:29:33.000Z
2022-03-20T07:44:20.000Z
fusionsid/http.py
FusionSid/FusionSidAPI.py
e1b50622bf4fcec8265f8fd4e9b3ac79b580d286
[ "MIT" ]
null
null
null
fusionsid/http.py
FusionSid/FusionSidAPI.py
e1b50622bf4fcec8265f8fd4e9b3ac79b580d286
[ "MIT" ]
null
null
null
import aiohttp from typing import Dict class HTTPClient: def __init__(self): self.BASE_URL = "https://api.fusionsid.xyz/api" async def get_image(self, url) -> bytes: """ This function makes a get request to a url and returns the image Parameters url (str) : The ur...
30.538462
96
0.542401
287
2,382
4.456446
0.191638
0.056294
0.034402
0.056294
0.905395
0.905395
0.905395
0.905395
0.905395
0.905395
0
0
0.376994
2,382
77
97
30.935065
0.86186
0
0
0.709677
0
0
0.055862
0.033045
0
0
0
0
0
1
0.032258
false
0
0.064516
0
0.258065
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d6044d19ef4e0761eaf2c007ca86f84c4d84f7e6
104
py
Python
src/tf_transformers/losses/__init__.py
s4sarath/tf-transformers
361f7b01c7816034ddfc8661f8b6a967835bc1de
[ "Apache-2.0" ]
2
2021-03-31T17:48:16.000Z
2021-08-22T11:52:19.000Z
src/tf_transformers/losses/__init__.py
Vibha111094/tf-transformers
f26d440a4de0557e0e481279bfd70a732aaa8825
[ "Apache-2.0" ]
null
null
null
src/tf_transformers/losses/__init__.py
Vibha111094/tf-transformers
f26d440a4de0557e0e481279bfd70a732aaa8825
[ "Apache-2.0" ]
null
null
null
from tf_transformers.losses.cross_entropy import cross_entropy_loss, cross_entropy_loss_label_smoothing
52
103
0.923077
15
104
5.866667
0.666667
0.409091
0.363636
0
0
0
0
0
0
0
0
0
0.048077
104
1
104
104
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
d617cc2f1148571c8bc3349a0e441aef94e19af7
44
py
Python
robosuite-extra/robosuite_extra/models/grippers/__init__.py
eugval/sim2real_dynamics_simulation
2ed175803faa38792f6becc2dc91f44ae71ed9c2
[ "MIT" ]
16
2020-07-28T14:35:44.000Z
2021-11-28T01:50:51.000Z
robosuite-extra/robosuite_extra/models/grippers/__init__.py
eugval/sim2real_dynamics_simulation
2ed175803faa38792f6becc2dc91f44ae71ed9c2
[ "MIT" ]
1
2020-11-26T07:58:30.000Z
2020-12-01T04:40:28.000Z
robosuite-extra/robosuite_extra/models/grippers/__init__.py
eugval/sim2real_dynamics_simulation
2ed175803faa38792f6becc2dc91f44ae71ed9c2
[ "MIT" ]
2
2020-10-18T01:38:49.000Z
2021-12-31T10:56:41.000Z
from .gripper_factory import gripper_factory
44
44
0.909091
6
44
6.333333
0.666667
0.736842
0
0
0
0
0
0
0
0
0
0
0.068182
44
1
44
44
0.926829
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
d64c9955b989b50653ee44901cc63e1e314439d2
40,959
py
Python
envs/babyai/levels/iclr19_levels.py
AliengirlLiv/babyai
51421ee11538bf110c5b2d0c84a15f783d854e7d
[ "MIT" ]
null
null
null
envs/babyai/levels/iclr19_levels.py
AliengirlLiv/babyai
51421ee11538bf110c5b2d0c84a15f783d854e7d
[ "MIT" ]
null
null
null
envs/babyai/levels/iclr19_levels.py
AliengirlLiv/babyai
51421ee11538bf110c5b2d0c84a15f783d854e7d
[ "MIT" ]
null
null
null
""" Levels described in the ICLR 2019 submission. """ from .levelgen import * from .teachable_robot_levels import Level_TeachableRobot class Level_IntroPrimitives(Level_TeachableRobot): """ Get a reward for doing what the teacher tells you to do. """ def __init__(self, max_delay=0, room_size=8, stric...
30.205752
99
0.598184
5,128
40,959
4.422192
0.072933
0.03422
0.041231
0.039688
0.833135
0.807161
0.779997
0.769017
0.732284
0.714292
0
0.017454
0.293586
40,959
1,355
100
30.228044
0.766296
0.098538
0
0.716075
0
0
0.011642
0
0
0
0
0
0
1
0.137787
false
0
0.002088
0.003132
0.286013
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
c3fb930b409e58ae71007bacb0d931810422dc05
3,398
py
Python
amazon/python/cut_off_trees_golf_event_675.py
Xiaoyu-Xing/algorithms
93936aeeef64487285db360b5884e844e0662b8e
[ "MIT" ]
null
null
null
amazon/python/cut_off_trees_golf_event_675.py
Xiaoyu-Xing/algorithms
93936aeeef64487285db360b5884e844e0662b8e
[ "MIT" ]
null
null
null
amazon/python/cut_off_trees_golf_event_675.py
Xiaoyu-Xing/algorithms
93936aeeef64487285db360b5884e844e0662b8e
[ "MIT" ]
null
null
null
# BFS, Map, overtime class Solution: def cutOffTree(self, forest): """ :type forest: List[List[int]] :rtype: int """ height = len(forest) if height == 0: return 0 width = len(forest[0]) if width == 0: return 0 trees = []...
31.174312
118
0.444379
428
3,398
3.523364
0.13785
0.03183
0.03183
0.04244
0.82626
0.774536
0.774536
0.774536
0.738727
0.738727
0
0.025981
0.422307
3,398
108
119
31.462963
0.742231
0.099176
0
0.875
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0
0
0.225
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
7f01ec0e1f1f5ab17f6c13ec9e9a9fdff6a860ee
5,531
py
Python
test/test_binary_max_heap.py
kisliakovsky/structures
19969470a7e9b150b077082cc8ca0c2fc9be279e
[ "MIT" ]
null
null
null
test/test_binary_max_heap.py
kisliakovsky/structures
19969470a7e9b150b077082cc8ca0c2fc9be279e
[ "MIT" ]
null
null
null
test/test_binary_max_heap.py
kisliakovsky/structures
19969470a7e9b150b077082cc8ca0c2fc9be279e
[ "MIT" ]
null
null
null
from unittest import TestCase from src.heap import Heap, MaxIntKey, Entry class TestBinaryMaxHeap(TestCase): def test_init(self): heap = Heap[MaxIntKey, str](2, [ Entry(MaxIntKey(14), 'A'), Entry(MaxIntKey(5), 'B'), Entry(MaxIntKey(7), 'C'), Entry(MaxIntKe...
38.409722
64
0.527029
668
5,531
4.338323
0.080838
0.487923
0.206349
0.349206
0.883368
0.864044
0.728433
0.702208
0.702208
0.702208
0
0.048115
0.271018
5,531
143
65
38.678322
0.670635
0
0
0.759399
0
0
0.018261
0
0
0
0
0
0.135338
1
0.052632
false
0
0.015038
0
0.075188
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
7f02b14f33fc9149193ced91492fc6be6486074a
11,489
py
Python
tests/commands/test_destroy.py
riddopic/opta
25fa6435fdc7e2ea9c7963ed74100fffb0743063
[ "Apache-2.0" ]
null
null
null
tests/commands/test_destroy.py
riddopic/opta
25fa6435fdc7e2ea9c7963ed74100fffb0743063
[ "Apache-2.0" ]
null
null
null
tests/commands/test_destroy.py
riddopic/opta
25fa6435fdc7e2ea9c7963ed74100fffb0743063
[ "Apache-2.0" ]
null
null
null
import os from click.testing import CliRunner from pytest_mock import MockFixture from opta.commands.destroy import destroy from opta.constants import TF_PLAN_PATH from opta.exceptions import UserErrors from opta.layer import Layer from opta.module import Module from tests.util import get_call_args FAKE_ENV_CONFIG =...
35.903125
88
0.671077
1,389
11,489
5.263499
0.094312
0.09178
0.125154
0.179319
0.925455
0.919984
0.919984
0.91205
0.898919
0.898919
0
0.002856
0.20759
11,489
319
89
36.015674
0.800198
0
0
0.709434
0
0
0.299798
0.2432
0
0
0
0
0.086792
1
0.018868
false
0
0.033962
0
0.05283
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
7f246736e98c2f2f1ca088eb30504fcdaa5dd20d
7,915
py
Python
test/regression/daily/systest_pte.py
drakejund/contract
e1dbfcff94f348a0040062fd04c48b0e42b64762
[ "Apache-2.0" ]
172
2017-10-12T07:56:32.000Z
2022-03-10T11:08:02.000Z
test/regression/daily/systest_pte.py
Cielo2017/hyperledger-fabric-gm
40f2d1d03a96872b52cf6c5ba8a5c634e36089a6
[ "Apache-2.0" ]
17
2019-01-08T07:21:18.000Z
2020-11-17T03:46:27.000Z
test/regression/daily/systest_pte.py
Cielo2017/hyperledger-fabric-gm
40f2d1d03a96872b52cf6c5ba8a5c634e36089a6
[ "Apache-2.0" ]
89
2017-09-14T04:38:56.000Z
2021-05-21T17:24:48.000Z
# Copyright IBM Corp. All Rights Reserved. # # SPDX-License-Identifier: Apache-2.0 # ###################################################################### # To execute: # Install: sudo apt-get install python python-pytest # Run on command line: py.test -v --junitxml results.xml ./systest_pte.py import unittest impor...
46.558824
78
0.650158
1,017
7,915
4.961652
0.143559
0.034879
0.033294
0.047562
0.909631
0.905073
0.905073
0.88803
0.88803
0.878716
0
0.036026
0.231965
7,915
169
79
46.83432
0.794045
0.533923
0
0.673469
0
0
0.118323
0
0
0
0
0
0.22449
1
0.22449
false
0.244898
0.040816
0
0.306122
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
8
6165d879fef25868f93117273e33aa9df8de6019
56,696
py
Python
arelle/plugin/cssfPlausibilityChecks.py
gmongelli/Arelle
cdc7c0589f738f7588ffa483855d4b1f0c2dbd16
[ "Apache-2.0" ]
null
null
null
arelle/plugin/cssfPlausibilityChecks.py
gmongelli/Arelle
cdc7c0589f738f7588ffa483855d4b1f0c2dbd16
[ "Apache-2.0" ]
null
null
null
arelle/plugin/cssfPlausibilityChecks.py
gmongelli/Arelle
cdc7c0589f738f7588ffa483855d4b1f0c2dbd16
[ "Apache-2.0" ]
null
null
null
''' Created on Jan 4, 2015 @author: Gregorio Mongelli (Acsone S. A.) (c) Copyright 2015 Acsone S. A., All rights reserved. ''' import os, sys, time, traceback from arelle import ModelDocument, RenderingEvaluator from arelle.ModelDocument import Type from arelle.XbrlConst import assertionSet from arelle.FileSource im...
122.984816
187
0.636712
10,430
56,696
3.327421
0.039118
0.096816
0.109033
0.128858
0.917476
0.912577
0.725083
0.72174
0.717332
0.717332
0
0.148212
0.16756
56,696
460
188
123.252174
0.587126
0.010071
0
0.034404
0
0.788991
0.747135
0.149869
0
0
0
0
0.006881
1
0.011468
false
0
0.018349
0
0.043578
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
617295639f393bff3296fcf1670a98992e6620f6
29,884
py
Python
sdk/python/pulumi_aws/route53/resolver_firewall_rule.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
260
2018-06-18T14:57:00.000Z
2022-03-29T11:41:03.000Z
sdk/python/pulumi_aws/route53/resolver_firewall_rule.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
1,154
2018-06-19T20:38:20.000Z
2022-03-31T19:48:16.000Z
sdk/python/pulumi_aws/route53/resolver_firewall_rule.py
alexbowers/pulumi-aws
7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5
[ "ECL-2.0", "Apache-2.0" ]
115
2018-06-28T03:20:27.000Z
2022-03-29T11:41:06.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
50.996587
227
0.677587
3,788
29,884
5.116156
0.058342
0.068679
0.067183
0.0613
0.902993
0.889216
0.878638
0.861404
0.855573
0.850413
0
0.005582
0.232733
29,884
585
228
51.083761
0.839635
0.397939
0
0.742236
1
0
0.122065
0.0561
0
0
0
0
0
1
0.161491
false
0.003106
0.015528
0
0.273292
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
61a435bb6e6fe8eb359357872a5d950c745e3529
30,979
py
Python
src/gui/abcw_gui.py
acid-base-calculation-wizard/ph-calculator
eb8c6a13f443bfc776e3f9ac466695432fa250fd
[ "MIT" ]
9
2019-07-04T20:05:42.000Z
2020-02-12T08:17:05.000Z
src/gui/abcw_gui.py
acid-base-calculation-wizard/ph-calculator
eb8c6a13f443bfc776e3f9ac466695432fa250fd
[ "MIT" ]
2
2021-06-02T02:03:49.000Z
2021-10-13T00:35:43.000Z
src/gui/abcw_gui.py
acid-base-calculation-wizard/abcw
eb8c6a13f443bfc776e3f9ac466695432fa250fd
[ "MIT" ]
1
2019-08-15T06:55:10.000Z
2019-08-15T06:55:10.000Z
#!/usr/bin/env python3 """ version : v3.1.0-alpha MIT License Copyright (c) 2019-2020 Lee Kyung-ha <i_am@nulleekh.com> 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, inclu...
37.145084
116
0.638271
3,665
30,979
5.112415
0.080491
0.059294
0.03357
0.020281
0.810108
0.789187
0.763089
0.733522
0.722154
0.709345
0
0.01158
0.264082
30,979
833
117
37.189676
0.81029
0.164047
0
0.783465
0
0
0.0552
0.021467
0
0
0
0
0
1
0.09252
false
0
0.009843
0
0.137795
0.047244
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4ee0ea38377e7d2ec42458dedc677e297dc3787d
39,416
py
Python
sdk/python/pulumi_oci/core/ipsec.py
EladGabay/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
5
2021-08-17T11:14:46.000Z
2021-12-31T02:07:03.000Z
sdk/python/pulumi_oci/core/ipsec.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-06T11:21:29.000Z
2021-09-06T11:21:29.000Z
sdk/python/pulumi_oci/core/ipsec.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T23:31:30.000Z
2022-01-02T19:26:54.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
56.148148
347
0.678455
5,089
39,416
5.081155
0.063077
0.062108
0.056849
0.045092
0.935803
0.922771
0.91318
0.902197
0.889473
0.874468
0
0.004421
0.213796
39,416
701
348
56.228245
0.830004
0.498605
0
0.716292
1
0
0.105993
0.016346
0
0
0
0
0
1
0.162921
false
0.002809
0.014045
0
0.275281
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
f6387acbbd6a2501be5ed964250f7e9e77d62082
7,178
py
Python
tests/test_coax_eig_mat.py
mnishida/pymwm
820d0a9056982fd37972b0e10f5dad9d1697ed2f
[ "MIT" ]
null
null
null
tests/test_coax_eig_mat.py
mnishida/pymwm
820d0a9056982fd37972b0e10f5dad9d1697ed2f
[ "MIT" ]
null
null
null
tests/test_coax_eig_mat.py
mnishida/pymwm
820d0a9056982fd37972b0e10f5dad9d1697ed2f
[ "MIT" ]
null
null
null
import numpy as np import numpy.testing as npt from pymwm.coax.samples import Samples from pymwm.utils import coax_utils def test_eig_mat(): size = 0.15 fill = {"RI": 1.0} clad = {"book": "Au", "page": "Stewart-DLF", "bound_check": False} p = { "wl_max": 10.0, "wl_min": 1.0, "...
35.534653
105
0.472834
1,276
7,178
2.481975
0.076803
0.055573
0.090938
0.113672
0.916325
0.916325
0.88317
0.882539
0.882539
0.864856
0
0.113468
0.323488
7,178
201
106
35.711443
0.538715
0.132906
0
0.884146
0
0
0.044721
0
0
0
0
0
0.097561
1
0.018293
false
0
0.02439
0
0.042683
0.036585
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
9c9f43d518d80e14b22c55a34a743515ff2cd200
244
py
Python
wechatpy/work/__init__.py
fuh/wechatpy
83c8ca93acef4149c5e61e3726c89b82052f17c1
[ "MIT" ]
2,428
2015-07-04T08:55:29.000Z
2020-03-16T03:11:22.000Z
wechatpy/work/__init__.py
fuh/wechatpy
83c8ca93acef4149c5e61e3726c89b82052f17c1
[ "MIT" ]
453
2015-06-18T10:39:34.000Z
2020-03-16T05:12:37.000Z
wechatpy/work/__init__.py
fuh/wechatpy
83c8ca93acef4149c5e61e3726c89b82052f17c1
[ "MIT" ]
669
2015-06-18T10:08:12.000Z
2020-03-14T15:35:34.000Z
# -*- coding: utf-8 -*- from wechatpy.work.client import WeChatClient # NOQA from wechatpy.work.crypto import WeChatCrypto # NOQA from wechatpy.work.parser import parse_message # NOQA from wechatpy.work.replies import create_reply # NOQA
30.5
54
0.770492
33
244
5.636364
0.545455
0.258065
0.344086
0.322581
0
0
0
0
0
0
0
0.004785
0.143443
244
7
55
34.857143
0.885167
0.168033
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
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
1
0
1
0
1
0
0
7
9cd8069e741b5bc3114277a1eabc2fee64bdae1a
8,572
py
Python
tests/test_register_models.py
preply/dj_anonymizer
51800e93bb91201f4b0d914c765ea580b438c80a
[ "MIT" ]
17
2019-05-30T20:11:25.000Z
2022-01-31T14:38:25.000Z
tests/test_register_models.py
preply/dj_anonymizer
51800e93bb91201f4b0d914c765ea580b438c80a
[ "MIT" ]
39
2019-05-30T12:25:50.000Z
2022-02-07T12:58:06.000Z
tests/test_register_models.py
preply/dj_anonymizer
51800e93bb91201f4b0d914c765ea580b438c80a
[ "MIT" ]
2
2019-09-27T12:11:03.000Z
2021-08-07T20:48:19.000Z
import datetime import types import pytest from django.contrib.auth.models import Group, Permission, User from django.db.models.query import QuerySet from dj_anonymizer import fields, register_models from dj_anonymizer.anonymizer import Anonymizer @pytest.mark.django_db def test_register_anonym(): class UserAno...
32.225564
79
0.664722
935
8,572
5.915508
0.079144
0.084614
0.110649
0.149702
0.933828
0.926053
0.919725
0.898752
0.773459
0.73079
0
0.002117
0.228418
8,572
265
80
32.34717
0.83414
0
0
0.743243
0
0
0.180938
0.14979
0
0
0
0
0.202703
1
0.040541
false
0.022523
0.031532
0
0.175676
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
9ce6fec449bc7396790896dd1496a8f5dd710e2c
4,727
py
Python
tests/test_correct_sampling.py
mibaumgartner/hackathon_health
e3ab4971ecb4efd0e43c583104b8485c548320d5
[ "Apache-2.0" ]
null
null
null
tests/test_correct_sampling.py
mibaumgartner/hackathon_health
e3ab4971ecb4efd0e43c583104b8485c548320d5
[ "Apache-2.0" ]
null
null
null
tests/test_correct_sampling.py
mibaumgartner/hackathon_health
e3ab4971ecb4efd0e43c583104b8485c548320d5
[ "Apache-2.0" ]
null
null
null
import unittest from typing import List import numpy as np from medhack.distributed_sampler import WeightedDistributedRandomSampler class CorrectSamplingTest(unittest.TestCase): def test_is_balanced(self): n_sampling = 10000 n_negatives = 1000 n_positives = 100 negatives = [0 fo...
27.643275
86
0.581764
553
4,727
4.696203
0.126582
0.048518
0.055449
0.033885
0.898729
0.898729
0.898729
0.898729
0.878706
0.878706
0
0.02607
0.342712
4,727
170
87
27.805882
0.809784
0
0
0.837209
0
0
0.006347
0
0
0
0
0
0.031008
1
0.031008
false
0
0.031008
0
0.069767
0.015504
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
140043c0f3c2527f414afc73800b1484462f34ff
34,239
py
Python
sos_trades_core/tests/l0_test_55_ms_archi_builder.py
os-climate/sostrades-core
bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9
[ "Apache-2.0" ]
8
2022-01-10T14:44:28.000Z
2022-03-31T08:57:14.000Z
sos_trades_core/tests/l0_test_55_ms_archi_builder.py
os-climate/sostrades-core
bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9
[ "Apache-2.0" ]
null
null
null
sos_trades_core/tests/l0_test_55_ms_archi_builder.py
os-climate/sostrades-core
bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9
[ "Apache-2.0" ]
1
2022-02-21T14:51:45.000Z
2022-02-21T14:51:45.000Z
''' Copyright 2022 Airbus SAS 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 dis...
50.277533
211
0.486171
3,697
34,239
4.157425
0.056262
0.071568
0.078465
0.071308
0.893038
0.875407
0.854262
0.854131
0.850098
0.831165
0
0.006994
0.377815
34,239
680
212
50.351471
0.7145
0.022577
0
0.849265
0
0
0.344419
0.103491
0
0
0
0
0.025735
1
0.011029
false
0
0.007353
0
0.020221
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
14a63b8d93c4b932003d89c852195a1f473ecdfb
20,164
py
Python
tests/test_affine_transform.py
huynhngoc/deoxys-image
69faff2e28e062356ddfdc067e482aaae5db014d
[ "MIT" ]
null
null
null
tests/test_affine_transform.py
huynhngoc/deoxys-image
69faff2e28e062356ddfdc067e482aaae5db014d
[ "MIT" ]
null
null
null
tests/test_affine_transform.py
huynhngoc/deoxys-image
69faff2e28e062356ddfdc067e482aaae5db014d
[ "MIT" ]
null
null
null
import pytest import numpy as np from deoxys_image import affine_transform_matrix, apply_affine_transform, \ get_rotation_matrix, get_zoom_matrix, get_shift_matrix, apply_flip def test_get_rotation_matrix_error(): with pytest.raises(ValueError): get_rotation_matrix(rotation_axis=0, theta=30, rank=2) ...
33.273927
79
0.337582
2,547
20,164
2.602277
0.025128
0.185878
0.176976
0.148461
0.960169
0.930899
0.915661
0.887145
0.864062
0.795112
0
0.151867
0.473914
20,164
605
80
33.328926
0.472945
0.036352
0
0.825364
0
0
0.006597
0
0
0
0
0
0.089397
1
0.024948
false
0
0.006237
0
0.031185
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
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
8
14b3b0fdbe92eec7c70d1a20742ce6236719a2d5
134
py
Python
__init__.py
zahrag/BRLVBVC
47c61eb69fbe96789b6a84c1510df0426bbcbfcc
[ "MIT" ]
1
2022-03-17T01:41:04.000Z
2022-03-17T01:41:04.000Z
__init__.py
zahrag/BRLVBVC
47c61eb69fbe96789b6a84c1510df0426bbcbfcc
[ "MIT" ]
null
null
null
__init__.py
zahrag/BRLVBVC
47c61eb69fbe96789b6a84c1510df0426bbcbfcc
[ "MIT" ]
null
null
null
from . import ZGH_BRL_ACL as ZGH_BRL from .ZGH_BRL_Agent import ZGH_BRL_Agent as ZGH_BRL_Agent from .training_ZGH import training_ZGH
33.5
57
0.858209
26
134
4
0.307692
0.288462
0.317308
0
0
0
0
0
0
0
0
0
0.119403
134
3
58
44.666667
0.881356
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
14bcfec6c5c6ce5d70bd350c6d77f014754a92ba
16,736
py
Python
Latest/venv/Lib/site-packages/pyface/tests/test_ui_traits.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-01-09T20:04:31.000Z
2022-01-09T20:04:31.000Z
Latest/venv/Lib/site-packages/pyface/tests/test_ui_traits.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-02-15T12:01:57.000Z
2022-03-24T19:48:47.000Z
Latest/venv/Lib/site-packages/pyface/tests/test_ui_traits.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
null
null
null
#------------------------------------------------------------------------------ # # Copyright (c) 2016, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions d...
29.779359
80
0.63701
1,937
16,736
5.351058
0.078988
0.228654
0.145876
0.061746
0.868307
0.830391
0.799711
0.786782
0.758225
0.717125
0
0.019487
0.251852
16,736
561
81
29.832442
0.808322
0.037763
0
0.743655
0
0
0.012308
0.001305
0
0
0
0
0.449239
1
0.124365
false
0
0.030457
0
0.208122
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
1af894cc7fe63a0602d9583982f2e606eeb81a24
735
py
Python
test_wandb.py
zhihanyang2022/drqn
ac2482e3b42094e6242c042583dbbd9c98e4750b
[ "MIT" ]
5
2021-03-28T14:12:40.000Z
2021-11-19T20:46:10.000Z
test_wandb.py
zhihanyang2022/drqn
ac2482e3b42094e6242c042583dbbd9c98e4750b
[ "MIT" ]
null
null
null
test_wandb.py
zhihanyang2022/drqn
ac2482e3b42094e6242c042583dbbd9c98e4750b
[ "MIT" ]
null
null
null
import wandb import numpy as np run = wandb.init( project="drqn", entity='pomdpr', group='test', settings=wandb.Settings(_disable_stats=True), name='test-01', reinit=True ) for i in range(100): wandb.log({'y': i + np.random.normal()}) run.finish() run = wandb.init( project="drqn", ...
17.926829
49
0.617687
103
735
4.349515
0.31068
0.060268
0.107143
0.133929
0.928571
0.928571
0.928571
0.928571
0.928571
0.928571
0
0.025467
0.198639
735
41
50
17.926829
0.735144
0
0
0.727273
0
0
0.089674
0
0
0
0
0
0
1
0
false
0
0.060606
0
0.060606
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
21131d2c67a9cef5f2022d821c9a8950c36267c8
11,143
py
Python
source/deepsecurity/api/agent_version_control_profiles_api.py
felipecosta09/cloudone-workload-controltower-lifecycle
7927c84d164058b034fc872701b5ee117641f4d1
[ "Apache-2.0" ]
1
2021-10-30T16:40:09.000Z
2021-10-30T16:40:09.000Z
source/deepsecurity/api/agent_version_control_profiles_api.py
felipecosta09/cloudone-workload-controltower-lifecycle
7927c84d164058b034fc872701b5ee117641f4d1
[ "Apache-2.0" ]
1
2021-07-28T20:19:03.000Z
2021-07-28T20:19:03.000Z
source/deepsecurity/api/agent_version_control_profiles_api.py
felipecosta09/cloudone-workload-controltower-lifecycle
7927c84d164058b034fc872701b5ee117641f4d1
[ "Apache-2.0" ]
1
2021-10-30T16:40:02.000Z
2021-10-30T16:40:02.000Z
# coding: utf-8 """ Trend Micro Deep Security API Copyright 2018 - 2020 Trend Micro Incorporated.<br/>Get protected, stay secured, and keep informed with Trend Micro Deep Security's new RESTful API. Access system data and manage security configurations to automate your security workflows and integrate De...
45.855967
311
0.649017
1,286
11,143
5.335925
0.148523
0.080443
0.127368
0.128825
0.874964
0.863597
0.834596
0.813757
0.761586
0.754299
0
0.016175
0.273176
11,143
242
312
46.045455
0.83109
0.347842
0
0.709677
0
0
0.252443
0.132101
0
0
0
0
0
1
0.040323
false
0
0.032258
0
0.129032
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
21547feae364678759e20c48223c9750682d6458
5,637
py
Python
nca47/api/controllers/v1/firewall/vrf.py
WosunOO/nca_xianshu
bbb548cb67b755a57528796d4c5a66ee68df2678
[ "Apache-2.0" ]
null
null
null
nca47/api/controllers/v1/firewall/vrf.py
WosunOO/nca_xianshu
bbb548cb67b755a57528796d4c5a66ee68df2678
[ "Apache-2.0" ]
null
null
null
nca47/api/controllers/v1/firewall/vrf.py
WosunOO/nca_xianshu
bbb548cb67b755a57528796d4c5a66ee68df2678
[ "Apache-2.0" ]
null
null
null
from oslo_serialization import jsonutils as json from nca47.api.controllers.v1 import base from nca47.common.i18n import _ from nca47.common.i18n import _LI, _LE from nca47.common.exception import Nca47Exception from oslo_log import log from nca47.api.controllers.v1 import tools from nca47.manager.central import Centra...
44.039063
79
0.588256
666
5,637
4.852853
0.136637
0.074257
0.111386
0.070545
0.88026
0.846225
0.827042
0.815903
0.815903
0.815903
0
0.017067
0.313997
5,637
127
80
44.385827
0.818723
0.029271
0
0.706897
0
0
0.070605
0
0
0
0
0
0
1
0.043103
false
0
0.086207
0
0.275862
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0d0906ea05fd4461c6d773aff893933f39de41a4
22,155
py
Python
tests/e2e/basic/performance_tests/wifi_capacity_test/open/test_nat_mode.py
DYeag/wlan-testing
81e879d04ea3c6a55d14a330d461d8914507e3b2
[ "BSD-3-Clause" ]
7
2020-08-19T16:45:46.000Z
2022-02-10T09:55:22.000Z
tests/e2e/basic/performance_tests/wifi_capacity_test/open/test_nat_mode.py
DYeag/wlan-testing
81e879d04ea3c6a55d14a330d461d8914507e3b2
[ "BSD-3-Clause" ]
47
2020-12-20T16:06:03.000Z
2022-03-23T03:01:22.000Z
tests/e2e/basic/performance_tests/wifi_capacity_test/open/test_nat_mode.py
DYeag/wlan-testing
81e879d04ea3c6a55d14a330d461d8914507e3b2
[ "BSD-3-Clause" ]
9
2021-02-04T22:32:06.000Z
2021-12-14T17:45:51.000Z
""" Performance Test: Wifi Capacity Test : NAT Mode pytest -m "wifi_capacity_test and NAT" """ import os import pytest import allure pytestmark = [pytest.mark.wifi_capacity_test, pytest.mark.nat] # """pytest.mark.usefixtures("setup_test_run")"""] setup_params_general_dual_band = { "mode": "NAT", "s...
49.453125
109
0.630648
2,852
22,155
4.584502
0.04453
0.058126
0.051396
0.038547
0.963671
0.958776
0.958776
0.958776
0.958776
0.956023
0
0.017375
0.251817
22,155
448
110
49.453125
0.771417
0.062334
0
0.877493
0
0
0.180243
0.015908
0
0
0
0
0.034188
1
0.034188
false
0
0.008547
0
0.051282
0.034188
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0d43716ff1da068fb190ee7e8bce52d6e19a0c9e
3,456
py
Python
matches/function.py
rgrannell1/aleph
775e5b0297087e2ada454696f537accbf23e7331
[ "Unlicense" ]
1
2022-01-30T15:13:06.000Z
2022-01-30T15:13:06.000Z
matches/function.py
rgrannell1/aleph
775e5b0297087e2ada454696f537accbf23e7331
[ "Unlicense" ]
null
null
null
matches/function.py
rgrannell1/aleph
775e5b0297087e2ada454696f537accbf23e7331
[ "Unlicense" ]
null
null
null
from rule import Rule from rule_match import RuleMatch class FunctionRuleMatch(RuleMatch): props = { 'name', 'file', 'location' } def create_table(self, conn): sql = ''' create table if not exists function ( name string not null, file string not null, start...
23.351351
163
0.578125
367
3,456
5.433243
0.152589
0.044132
0.052156
0.108325
0.835005
0.835005
0.835005
0.835005
0.807422
0.794383
0
0
0.294271
3,456
147
164
23.510204
0.817548
0
0
0.798387
0
0.040323
0.529821
0
0
0
0
0
0
1
0.048387
false
0
0.016129
0
0.112903
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
2e94c4bd8740c9700de7e6123f47f9318a9fe816
41,714
py
Python
atom/nucleus/python/nucleus_api/api/customer_api.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
atom/nucleus/python/nucleus_api/api/customer_api.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
atom/nucleus/python/nucleus_api/api/customer_api.py
sumit4-ttn/SDK
b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Hydrogen Atom API The Hydrogen Atom API # noqa: E501 OpenAPI spec version: 1.7.0 Contact: info@hydrogenplatform.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 ...
40.071085
150
0.620271
4,771
41,714
5.126808
0.035213
0.050695
0.039616
0.029436
0.980294
0.973917
0.970891
0.965331
0.957522
0.948038
0
0.016395
0.2923
41,714
1,040
151
40.109615
0.812168
0.319893
0
0.829443
1
0
0.194498
0.05797
0
0
0
0
0
1
0.037702
false
0
0.007181
0
0.100539
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
2ef0bb09773722270d7c37ee64b305aa6c6a2373
442
py
Python
sample_problems/problems_with_solution1.py
adi01trip01/adi_workspace
f493b3ba84645eec3a57607243760a826880d1a3
[ "MIT" ]
null
null
null
sample_problems/problems_with_solution1.py
adi01trip01/adi_workspace
f493b3ba84645eec3a57607243760a826880d1a3
[ "MIT" ]
null
null
null
sample_problems/problems_with_solution1.py
adi01trip01/adi_workspace
f493b3ba84645eec3a57607243760a826880d1a3
[ "MIT" ]
null
null
null
# print it like this """Twinkle, twinkle, little star, How I wonder what you are! Up above the world so high, Like a diamond in the sky. Twinkle, twinkle, little star, How I wonder what you are" """ print("Twinkle, twinkle, little star,\n\tHow I wonder what you are!\n\t\t...
49.111111
195
0.653846
75
442
3.853333
0.386667
0.179931
0.235294
0.193772
0.816609
0.574394
0.574394
0.574394
0.574394
0.574394
0
0
0.253394
442
9
195
49.111111
0.875758
0.538462
0
0
0
1
0.939394
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
1
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
8
258213dfe4274e42134e0dce30d28bab5b78e5fe
8,632
py
Python
test/test_cases__yb_chunk_dml_by_date_part.py
eloemosynator/YbEasyCli
b35ebe03da07898cfa06ff687cba29cd83268c31
[ "MIT" ]
null
null
null
test/test_cases__yb_chunk_dml_by_date_part.py
eloemosynator/YbEasyCli
b35ebe03da07898cfa06ff687cba29cd83268c31
[ "MIT" ]
4
2020-06-03T18:11:29.000Z
2022-03-07T20:41:16.000Z
test/test_cases__yb_chunk_dml_by_date_part.py
eloemosynator/YbEasyCli
b35ebe03da07898cfa06ff687cba29cd83268c31
[ "MIT" ]
2
2020-05-27T23:43:03.000Z
2022-03-03T23:16:15.000Z
map_out = { r'\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{1,6}(-|\+)\d{2}' : 'YYYY-MM-DD HH:MM:SS.FFFFFF-TZ' , r'\d{2}:\d{2}:\d{2}.\d{1,6}' : 'HH:MM:SS.FFFFFF' , r'\d{4}-\d{2}-\d{2}' : 'YYYY-MM-DD'} test_cases = [ test_case( cmd=('yb_chunk_dml_by_date_part.py @{argsdir}/yb_chunk_dml_by_date_part__ar...
94.857143
282
0.671918
1,614
8,632
3.475836
0.089839
0.05918
0.048485
0.057041
0.95205
0.940998
0.934938
0.921747
0.8918
0.885383
0
0.260794
0.133341
8,632
91
283
94.857143
0.489106
0
0
0.545455
0
0.443182
0.945094
0.241863
0
0
0
0
0
1
0
false
0.022727
0
0
0
0.022727
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
259c400a577286baa4cbb09080519d065de39d59
22,530
py
Python
tests/tasks/tasks/util/test_save_tasks.py
Exopy/ecpy_hqc_legacy
3e31a8865d130907a82005e6cd78d99c6da7a951
[ "BSD-3-Clause" ]
null
null
null
tests/tasks/tasks/util/test_save_tasks.py
Exopy/ecpy_hqc_legacy
3e31a8865d130907a82005e6cd78d99c6da7a951
[ "BSD-3-Clause" ]
34
2015-12-14T22:06:57.000Z
2018-02-07T08:40:47.000Z
tests/tasks/tasks/util/test_save_tasks.py
Exopy/ecpy_hqc_legacy
3e31a8865d130907a82005e6cd78d99c6da7a951
[ "BSD-3-Clause" ]
6
2018-04-20T14:48:54.000Z
2021-06-23T22:25:17.000Z
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright 2015-2018 by ExopyHqcLegacy Authors, see AUTHORS for more details. # # Distributed under the terms of the BSD license. # # The full license is in the file LICENCE, distributed with this software. # ------...
30.653061
79
0.534177
2,664
22,530
4.407658
0.087838
0.030659
0.031681
0.042242
0.843383
0.804037
0.77193
0.737183
0.726878
0.695878
0
0.014867
0.3253
22,530
734
80
30.694823
0.757582
0.105326
0
0.778234
0
0
0.091729
0.010576
0
0
0
0.001362
0.215606
1
0.078029
false
0.004107
0.022587
0
0.106776
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
25ba51d1f837e1ebd06f83f9cb7e728b07bb421c
153
py
Python
profiles/admin.py
doriclazar/peak_30
a87217e4d0d1f96d39ad214d40a879c7abfaaaee
[ "Apache-2.0" ]
null
null
null
profiles/admin.py
doriclazar/peak_30
a87217e4d0d1f96d39ad214d40a879c7abfaaaee
[ "Apache-2.0" ]
1
2018-07-14T07:35:55.000Z
2018-07-16T07:40:49.000Z
profiles/admin.py
doriclazar/peak_30
a87217e4d0d1f96d39ad214d40a879c7abfaaaee
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import UserProfile, GroupProfile, BotProfile admin.site.register((UserProfile, GroupProfile, BotProfile))
30.6
60
0.830065
17
153
7.470588
0.647059
0.362205
0.519685
0
0
0
0
0
0
0
0
0
0.091503
153
4
61
38.25
0.913669
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
25bd719dadc592ad7d9d42d960a5ca5975b9cfb4
6,574
py
Python
02-Multilayer/My_Own_Net/letters.py
maikelSoFly/PSI_GCP04_zima_2017-2018_Mikolaj_Stepniewski
012a97e54c186b1fb25e8300dd77e16759632c6e
[ "Apache-2.0" ]
null
null
null
02-Multilayer/My_Own_Net/letters.py
maikelSoFly/PSI_GCP04_zima_2017-2018_Mikolaj_Stepniewski
012a97e54c186b1fb25e8300dd77e16759632c6e
[ "Apache-2.0" ]
null
null
null
02-Multilayer/My_Own_Net/letters.py
maikelSoFly/PSI_GCP04_zima_2017-2018_Mikolaj_Stepniewski
012a97e54c186b1fb25e8300dd77e16759632c6e
[ "Apache-2.0" ]
null
null
null
class LetterInput(): def __init__(self, letter): self.__dict__['_x'] = [] self.__dict__['_d'] = None self.__dict__['_letter'] = letter self.getLetter() def getLetter(self): if self._letter == 'a': self._x = [ 0, 0, 0, 0, 0, ...
28.336207
41
0.210526
838
6,574
1.553699
0.0358
0.402458
0.398618
0.341014
0.830261
0.830261
0.813364
0.799539
0.764977
0.729647
0
0.285086
0.654244
6,574
231
42
28.458874
0.287725
0
0
0.731132
0
0
0.007758
0
0
0
0
0
0
1
0.014151
false
0
0
0
0.033019
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
1
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
14
25dac684316c0f83ee944484a524223dfadb30e6
294,761
py
Python
python2/alibabacloud_oss_sdk/client.py
frenchvandal/alibabacloud-oss-sdk
6d5a8a3b126400403b97725002e50a999ff0d67d
[ "Apache-2.0" ]
15
2019-12-05T16:20:58.000Z
2021-11-18T08:04:21.000Z
python2/alibabacloud_oss_sdk/client.py
frenchvandal/alibabacloud-oss-sdk
6d5a8a3b126400403b97725002e50a999ff0d67d
[ "Apache-2.0" ]
168
2019-12-09T10:24:56.000Z
2022-02-07T06:33:25.000Z
python2/alibabacloud_oss_sdk/client.py
frenchvandal/alibabacloud-oss-sdk
6d5a8a3b126400403b97725002e50a999ff0d67d
[ "Apache-2.0" ]
8
2020-01-03T10:00:24.000Z
2021-05-16T09:10:28.000Z
# -*- coding: utf-8 -*- # This file is auto-generated, don't edit it. Thanks. from __future__ import unicode_literals import time from Tea.exceptions import TeaException, UnretryableException from Tea.request import TeaRequest from Tea.core import TeaCore from Tea.converter import TeaConverter from alibabacloud_cred...
55.095514
194
0.584579
28,190
294,761
5.705215
0.011955
0.083399
0.065641
0.085618
0.955842
0.954872
0.954331
0.953087
0.95162
0.950855
0
0.004867
0.322526
294,761
5,349
195
55.105814
0.800519
0.000963
0
0.870019
1
0
0.073943
0.001749
0
0
0
0
0
1
0.013662
false
0
0.002467
0
0.033397
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
d3137311c4f843d70ae341456f944adc38a794fb
232
py
Python
.setup/cmds/__init__.py
pygalle-io/pygalle.core.base.klass
fa683f7f88b63ca46a0970af81a558c9efbbe942
[ "MIT" ]
null
null
null
.setup/cmds/__init__.py
pygalle-io/pygalle.core.base.klass
fa683f7f88b63ca46a0970af81a558c9efbbe942
[ "MIT" ]
null
null
null
.setup/cmds/__init__.py
pygalle-io/pygalle.core.base.klass
fa683f7f88b63ca46a0970af81a558c9efbbe942
[ "MIT" ]
null
null
null
from .lint_cmd import PylintCommand from .readme_cmd import GenerateReadmeCommand from .apidoc_cmd import BuildApiCommand from .coverage_cmd import CoverageCommand from .coveralls_cmd import CoverallsCommand from .build import Build
38.666667
45
0.875
29
232
6.827586
0.482759
0.227273
0
0
0
0
0
0
0
0
0
0
0.099138
232
6
46
38.666667
0.947368
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
d37a506a76f3220bbd9580ce95dcb924598eb24c
5,434
py
Python
tests/test_state_machine_genome_partially_fixed.py
matthijsdentoom/neat-python
3b403f9efc841b85746b40cecf18ef8b57d50584
[ "BSD-3-Clause" ]
null
null
null
tests/test_state_machine_genome_partially_fixed.py
matthijsdentoom/neat-python
3b403f9efc841b85746b40cecf18ef8b57d50584
[ "BSD-3-Clause" ]
null
null
null
tests/test_state_machine_genome_partially_fixed.py
matthijsdentoom/neat-python
3b403f9efc841b85746b40cecf18ef8b57d50584
[ "BSD-3-Clause" ]
null
null
null
import pickle import unittest from neat.state_machine_genome_partially_fixed import StateMachineGenomeFixed from tests.config_generation import init_fixed_genome_config class TestStateMachineGenome(unittest.TestCase): def test_fixed_layout(self): reference_genome = pickle.load(open('test_genome.pickle',...
38.814286
105
0.670961
625
5,434
5.688
0.136
0.108017
0.051196
0.084388
0.854008
0.811533
0.802532
0.802532
0.772433
0.75865
0
0.019203
0.223776
5,434
139
106
39.093525
0.823613
0.119065
0
0.705882
0
0
0.038857
0
0
0
0
0
0.352941
1
0.082353
false
0
0.047059
0
0.141176
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
9f7195cb71f6932dcc548e2078b800e0e6d26aed
2,230
py
Python
day02/python/fallshare/solution.py
AlexisTM/aoc-2021
91a801b3c812cc3d37d6088a2544227cf158d114
[ "MIT" ]
11
2021-11-28T10:36:54.000Z
2021-12-21T10:38:34.000Z
day02/python/fallshare/solution.py
AlexisTM/aoc-2021
91a801b3c812cc3d37d6088a2544227cf158d114
[ "MIT" ]
83
2021-11-22T17:02:05.000Z
2022-01-29T10:27:31.000Z
day02/python/fallshare/solution.py
AlexisTM/aoc-2021
91a801b3c812cc3d37d6088a2544227cf158d114
[ "MIT" ]
19
2021-11-22T20:47:57.000Z
2022-02-01T08:51:19.000Z
class Submarine: depth = 0 horizontal_pos = 0 def down(self, depth): self.depth += depth def up(self, depth): self.depth -= depth def forward(self, distance): self.horizontal_pos += distance def get_depth(self): return self.depth def get_horizontal_pos(se...
26.547619
67
0.525112
241
2,230
4.759336
0.182573
0.113339
0.045336
0.043592
0.891892
0.891892
0.751526
0.751526
0.751526
0.660854
0
0.006406
0.369955
2,230
84
68
26.547619
0.809964
0
0
0.757576
0
0
0.06589
0
0
0
0
0
0
1
0.212121
false
0
0
0.060606
0.378788
0.030303
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
9f76afc8e551d49808510f885294946ce8a155f9
33,773
py
Python
src/ebay_rest/api/sell_account/api/return_policy_api.py
matecsaj/ebay_rest
dd23236f39e05636eff222f99df1e3699ce47d4a
[ "MIT" ]
3
2021-12-12T04:28:03.000Z
2022-03-10T03:29:18.000Z
src/ebay_rest/api/sell_account/api/return_policy_api.py
jdavv/ebay_rest
20fc88c6aefdae9ab90f9c1330e79abddcd750cd
[ "MIT" ]
33
2021-06-16T20:44:36.000Z
2022-03-30T14:55:06.000Z
src/ebay_rest/api/sell_account/api/return_policy_api.py
jdavv/ebay_rest
20fc88c6aefdae9ab90f9c1330e79abddcd750cd
[ "MIT" ]
7
2021-06-03T09:30:23.000Z
2022-03-08T19:51:33.000Z
# coding: utf-8 """ Account API The <b>Account API</b> gives sellers the ability to configure their eBay seller accounts, including the seller's policies (seller-defined custom policies and eBay business policies), opt in and out of eBay seller programs, configure sales tax tables, and get account information...
54.123397
1,700
0.664555
4,321
33,773
5
0.06642
0.076094
0.034344
0.019995
0.957926
0.954686
0.950336
0.941541
0.935756
0.928628
0
0.010986
0.248038
33,773
623
1,701
54.210273
0.839739
0.503805
0
0.792793
0
0
0.200013
0.049372
0
0
0
0
0
1
0.039039
false
0
0.012012
0
0.108108
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
9f8467ccf84a676eb72dbd9bcad95a3c1e7eceab
97
py
Python
src/rl/tf/values/__init__.py
djjh/reinforcement-learning-labs
22706dab9e7f16e364ee4ed79c0bd67a343e5b08
[ "MIT" ]
1
2019-10-06T11:45:52.000Z
2019-10-06T11:45:52.000Z
src/rl/tf/values/__init__.py
djjh/reinforcement-learning-labs
22706dab9e7f16e364ee4ed79c0bd67a343e5b08
[ "MIT" ]
null
null
null
src/rl/tf/values/__init__.py
djjh/reinforcement-learning-labs
22706dab9e7f16e364ee4ed79c0bd67a343e5b08
[ "MIT" ]
null
null
null
from .value_function import ValueFunction from .linear_value_function import LinearValueFunction
32.333333
54
0.896907
11
97
7.636364
0.636364
0.309524
0.452381
0
0
0
0
0
0
0
0
0
0.082474
97
2
55
48.5
0.94382
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
9fa026af42b3e399726e5fe0e070d9ea52626cdf
21,799
py
Python
tests/server/scheduled_tasks/buffer_jobs_tasks_test.py
WIPACrepo/iceprod
83615da9b0e764bc2498ac588cc2e2b3f5277235
[ "MIT" ]
2
2017-01-23T17:12:41.000Z
2019-01-14T13:38:17.000Z
tests/server/scheduled_tasks/buffer_jobs_tasks_test.py
WIPACrepo/iceprod
83615da9b0e764bc2498ac588cc2e2b3f5277235
[ "MIT" ]
242
2016-05-09T18:46:51.000Z
2022-03-31T22:02:29.000Z
tests/server/scheduled_tasks/buffer_jobs_tasks_test.py
WIPACrepo/iceprod
83615da9b0e764bc2498ac588cc2e2b3f5277235
[ "MIT" ]
2
2017-03-27T09:13:40.000Z
2019-01-27T10:55:30.000Z
""" Test script for scheduled_tasks/buffer_jobs_tasks_test """ import logging logger = logging.getLogger('scheduled_tasks_buffer_jobs_tasks_test') import os import sys import shutil import tempfile import unittest from functools import partial from unittest.mock import patch, MagicMock from tornado.te...
41.442966
108
0.490619
2,266
21,799
4.619153
0.071933
0.047483
0.035827
0.039553
0.868253
0.856024
0.848381
0.833859
0.83061
0.827362
0
0.017123
0.357035
21,799
525
109
41.521905
0.729666
0.003762
0
0.814516
0
0
0.165502
0.017324
0
0
0
0
0.096774
1
0.008065
false
0
0.02621
0
0.209677
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e287397fb37d9797864b88e05cb0712e90859b14
74
py
Python
timeserver/timegetter.py
toplenboren/timelier
a370e11ee85361a672fdb1eb8bac4e9fa82d1f5d
[ "MIT" ]
null
null
null
timeserver/timegetter.py
toplenboren/timelier
a370e11ee85361a672fdb1eb8bac4e9fa82d1f5d
[ "MIT" ]
null
null
null
timeserver/timegetter.py
toplenboren/timelier
a370e11ee85361a672fdb1eb8bac4e9fa82d1f5d
[ "MIT" ]
null
null
null
import datetime def get_time_from_os(): return datetime.datetime.now
14.8
32
0.783784
11
74
5
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.148649
74
4
33
18.5
0.873016
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
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
1
1
0
1
1
1
0
0
7
e2ab10908ff36708dcf7b11417bbf53ef175aa3f
13,191
py
Python
nuage_tempest_plugin/tests/api/vsd_managed/test_vsd_managed_port_security.py
nuagenetworks/nuage-tempest-plugin
ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a
[ "Apache-1.1" ]
1
2021-01-03T01:47:51.000Z
2021-01-03T01:47:51.000Z
nuage_tempest_plugin/tests/api/vsd_managed/test_vsd_managed_port_security.py
nuagenetworks/nuage-tempest-plugin
ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a
[ "Apache-1.1" ]
null
null
null
nuage_tempest_plugin/tests/api/vsd_managed/test_vsd_managed_port_security.py
nuagenetworks/nuage-tempest-plugin
ac1bfb0709c7bbaf04017af3050fb3ed1ad1324a
[ "Apache-1.1" ]
1
2020-10-16T12:04:39.000Z
2020-10-16T12:04:39.000Z
# Copyright 2015 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
42.009554
78
0.604806
1,536
13,191
4.906901
0.114583
0.03715
0.035823
0.036089
0.884835
0.881518
0.881518
0.87223
0.87223
0.865862
0
0.024377
0.28474
13,191
313
79
42.14377
0.774457
0.064438
0
0.920152
0
0
0.090083
0.015338
0
0
0
0
0.053232
1
0.022814
false
0
0.034221
0
0.060837
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e2c1491241290d30347c029922774987bdc3f2ee
17,193
py
Python
src/Inference/patch/UNET_utils.py
kshannon/lung-nodule-localization
8b42844fcd4abf30bd15bbc1f220cc5d12c77382
[ "MIT" ]
3
2017-08-07T09:54:30.000Z
2017-11-23T23:00:02.000Z
src/Inference/patch/UNET_utils.py
kshannon/lung-nodule-localization
8b42844fcd4abf30bd15bbc1f220cc5d12c77382
[ "MIT" ]
1
2018-09-10T13:28:17.000Z
2019-11-16T06:57:08.000Z
src/Inference/patch/UNET_utils.py
kshannon/ucsd-dse-capstone
8b42844fcd4abf30bd15bbc1f220cc5d12c77382
[ "MIT" ]
3
2018-04-21T19:02:00.000Z
2018-04-27T23:30:00.000Z
import pandas as pd import numpy as np from keras.models import load_model import h5py import pandas as pd import argparse import tensorflow as tf import SimpleITK as sitk import matplotlib.pyplot as plt from PIL import Image import os import tensorflow as tf import keras def dice_coef_loss(target, prediction, axis=...
44.426357
218
0.720119
2,406
17,193
5.057772
0.111388
0.147342
0.057277
0.070754
0.877886
0.859643
0.853234
0.83573
0.83384
0.825787
0
0.051282
0.122143
17,193
386
219
44.541451
0.754986
0.133136
0
0.726592
0
0
0.052322
0
0
0
0
0
0
1
0.029963
false
0
0.048689
0
0.108614
0.026217
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e2e83308d80252954ede642c21e4f817e1f4c438
23,608
py
Python
coop_cms/apps/newsletters/tests/test_sending.py
ljean/coop_cms
531f65ceb9ad82c113597d15b764dbcf51264794
[ "BSD-3-Clause" ]
3
2016-01-29T10:55:09.000Z
2022-03-08T16:02:12.000Z
coop_cms/apps/newsletters/tests/test_sending.py
ljean/coop_cms
531f65ceb9ad82c113597d15b764dbcf51264794
[ "BSD-3-Clause" ]
11
2015-03-07T17:30:24.000Z
2016-07-13T09:40:43.000Z
coop_cms/apps/newsletters/tests/test_sending.py
ljean/coop_cms
531f65ceb9ad82c113597d15b764dbcf51264794
[ "BSD-3-Clause" ]
5
2018-08-30T09:03:22.000Z
2019-09-10T13:01:56.000Z
# -*- coding: utf-8 -*- """test email sending""" from datetime import datetime from unittest import skipIf from django.conf import settings from django.contrib.sites.models import Site from django.core import management from django.core import mail from django.test.utils import override_settings from django.urls impo...
49.596639
120
0.61979
2,694
23,608
5.288048
0.060876
0.054752
0.060017
0.080514
0.917029
0.902639
0.89576
0.893303
0.893303
0.880668
0
0.011656
0.251398
23,608
475
121
49.701053
0.794432
0.033421
0
0.784722
0
0.027778
0.116885
0.051574
0
0
0
0
0.25463
1
0.018519
false
0
0.032407
0
0.053241
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
390d6679c99f83ec1e72c2a8055a612a4a382fd2
2,062
py
Python
demos/quote_front_test.py
sea1812/ofx
573d8efd8128c9b9a9b9e7c2adb7162aea2760ca
[ "Apache-2.0" ]
3
2018-07-21T03:07:31.000Z
2020-01-03T14:52:52.000Z
demos/quote_front_test.py
sea1812/ofx
573d8efd8128c9b9a9b9e7c2adb7162aea2760ca
[ "Apache-2.0" ]
null
null
null
demos/quote_front_test.py
sea1812/ofx
573d8efd8128c9b9a9b9e7c2adb7162aea2760ca
[ "Apache-2.0" ]
null
null
null
# encoding: UTF-8 from mods import octkeypass from socket import * import json import config import time host = "192.168.0.64" port = 1025 buffersize=1 addr = (host,port) client = socket() client.connect(addr) print 'connected' def test_100001(): cmd = dict() cmd['cmd']=100001 p = dict() p['code']=...
18.745455
52
0.576625
282
2,062
4.187943
0.20922
0.054191
0.030483
0.050804
0.703641
0.703641
0.703641
0.703641
0.703641
0.703641
0
0.082697
0.237633
2,062
109
53
18.917431
0.668575
0.032008
0
0.724138
0
0
0.113065
0
0
0
0
0
0
0
null
null
0.103448
0.057471
null
null
0.091954
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
8
1a7f76167d9167b8e9a8ca446d1047aacb0c6a85
415
py
Python
tests/data/python38.py
StarryInternet/black
f90f50a7436ca13517933c290ef007e7cb2e7258
[ "MIT" ]
28
2018-09-23T16:01:51.000Z
2022-03-27T18:20:08.000Z
tests/data/python38.py
StarryInternet/black
f90f50a7436ca13517933c290ef007e7cb2e7258
[ "MIT" ]
22
2018-10-10T11:49:07.000Z
2022-03-28T02:16:07.000Z
tests/data/python38.py
StarryInternet/black
f90f50a7436ca13517933c290ef007e7cb2e7258
[ "MIT" ]
10
2020-09-29T21:52:36.000Z
2021-09-29T01:02:11.000Z
#!/usr/bin/env python3.8 def starred_return(): my_list = ["value2", "value3"] return "value1", *my_list def starred_yield(): my_list = ["value2", "value3"] yield "value1", *my_list # output #!/usr/bin/env python3.8 def starred_return(): my_list = ["value2", "value3"] return "value1", *...
14.821429
34
0.616867
55
415
4.436364
0.272727
0.196721
0.196721
0.295082
0.97541
0.97541
0.97541
0.97541
0.97541
0.97541
0
0.048632
0.207229
415
27
35
15.37037
0.693009
0.127711
0
1
0
0
0.200557
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
10
1ab13c4aeb71682271a18cc171683eca29ee94e6
132
py
Python
pratice/godot/modules/gridmap/config.py
wish-wish/skyheroes
6411a3834f0ef152371d732ef76321793e5a3955
[ "MIT" ]
null
null
null
pratice/godot/modules/gridmap/config.py
wish-wish/skyheroes
6411a3834f0ef152371d732ef76321793e5a3955
[ "MIT" ]
null
null
null
pratice/godot/modules/gridmap/config.py
wish-wish/skyheroes
6411a3834f0ef152371d732ef76321793e5a3955
[ "MIT" ]
1
2019-01-13T00:44:17.000Z
2019-01-13T00:44:17.000Z
def can_build(platform): # FIXME: Disabled temporary for gles3 implementation return False def configure(env): pass
13.2
56
0.712121
16
132
5.8125
0.9375
0
0
0
0
0
0
0
0
0
0
0.009804
0.227273
132
9
57
14.666667
0.901961
0.378788
0
0
0
0
0
0
0
0
0
0.111111
0
1
0.5
false
0.25
0
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
1
1
0
0
7
46d2220ceb19d361594062e1747f79008e4e0bf1
14,800
py
Python
sdk/python/pulumi_sakuracloud/ssh_key_gen.py
sacloud/pulumi-sakuracloud
3eff14c6ec8ef4ad6422e0cdf15585df67eb4d6e
[ "ECL-2.0", "Apache-2.0" ]
6
2019-12-07T07:46:05.000Z
2020-12-19T02:41:42.000Z
sdk/python/pulumi_sakuracloud/ssh_key_gen.py
sacloud/pulumi-sakuracloud
3eff14c6ec8ef4ad6422e0cdf15585df67eb4d6e
[ "ECL-2.0", "Apache-2.0" ]
5
2019-09-11T04:41:06.000Z
2021-10-19T07:50:34.000Z
sdk/python/pulumi_sakuracloud/ssh_key_gen.py
sacloud/pulumi-sakuracloud
3eff14c6ec8ef4ad6422e0cdf15585df67eb4d6e
[ "ECL-2.0", "Apache-2.0" ]
2
2019-09-08T05:38:16.000Z
2021-06-24T01:32:47.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
43.023256
190
0.636014
1,861
14,800
4.873186
0.080602
0.073988
0.09108
0.094608
0.804499
0.777594
0.747381
0.733157
0.727533
0.691476
0
0.006484
0.260135
14,800
343
191
43.148688
0.821735
0.358378
0
0.630769
1
0
0.082454
0.004243
0
0
0
0
0
1
0.158974
false
0.138462
0.025641
0
0.282051
0.066667
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
46fd1a45b692fe3172d7e89fcd86e0cc8e0b851d
91
py
Python
small_probs/__init__.py
wlad111/small_probs
423faf556075c4561154e11a8a064c70e0518112
[ "Apache-2.0" ]
null
null
null
small_probs/__init__.py
wlad111/small_probs
423faf556075c4561154e11a8a064c70e0518112
[ "Apache-2.0" ]
null
null
null
small_probs/__init__.py
wlad111/small_probs
423faf556075c4561154e11a8a064c70e0518112
[ "Apache-2.0" ]
null
null
null
import small_probs from small_probs import estimates from small_probs.probability import *
22.75
37
0.868132
13
91
5.846154
0.461538
0.394737
0.368421
0
0
0
0
0
0
0
0
0
0.10989
91
4
37
22.75
0.938272
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
2002b6b707e7695c140a9e1c71545f30a09c7b37
175
py
Python
core/src/zeit/content/video/tests/test_doctest.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
5
2019-05-16T09:51:29.000Z
2021-05-31T09:30:03.000Z
core/src/zeit/content/video/tests/test_doctest.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
107
2019-05-24T12:19:02.000Z
2022-03-23T15:05:56.000Z
core/src/zeit/content/video/tests/test_doctest.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
3
2020-08-14T11:01:17.000Z
2022-01-08T17:32:19.000Z
import zeit.content.video.testing def test_suite(): return zeit.content.video.testing.FunctionalDocFileSuite( 'video.txt', package='zeit.content.video')
21.875
61
0.708571
20
175
6.15
0.6
0.268293
0.390244
0.373984
0
0
0
0
0
0
0
0
0.171429
175
7
62
25
0.848276
0
0
0
0
0
0.154286
0
0
0
0
0
0
1
0.2
true
0
0.2
0.2
0.6
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
1
0
0
8
2035a47ebf174cfb795164237e03a356ef200c90
1,297
py
Python
hackerrank/Data Structures/Compare two linked lists/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerrank/Data Structures/Compare two linked lists/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerrank/Data Structures/Compare two linked lists/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
import unittest import solution class TestQ(unittest.TestCase): def test_case_0(self): list1 = solution.SinglyLinkedList() for i in [1, 2]: list1.insert_node(i) list2 = solution.SinglyLinkedList() for i in [1, 1]: list2.insert_node(i) self.assertEqu...
30.880952
75
0.596762
161
1,297
4.658385
0.180124
0.256
0.288
0.298667
0.862667
0.862667
0.816
0.798667
0.753333
0.753333
0
0.052061
0.289129
1,297
41
76
31.634146
0.761388
0
0
0.742857
0
0
0.006168
0
0
0
0
0
0.114286
1
0.057143
false
0
0.057143
0
0.142857
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
203b49a659ff1631e33c28dc083a0d246474a58e
9,879
py
Python
tests/pytests/unit/beacons/test_btmp.py
waynegemmell/salt
88056db3589cccab8956c2ae4f9b733acce89461
[ "Apache-2.0" ]
3
2015-08-30T04:23:47.000Z
2018-07-15T00:35:23.000Z
tests/pytests/unit/beacons/test_btmp.py
waynegemmell/salt
88056db3589cccab8956c2ae4f9b733acce89461
[ "Apache-2.0" ]
4
2016-05-10T22:05:34.000Z
2016-05-20T18:10:13.000Z
tests/pytests/unit/beacons/test_btmp.py
waynegemmell/salt
88056db3589cccab8956c2ae4f9b733acce89461
[ "Apache-2.0" ]
1
2019-12-17T13:37:16.000Z
2019-12-17T13:37:16.000Z
# Python libs import datetime import logging import pytest # Salt libs import salt.beacons.btmp as btmp from tests.support.mock import MagicMock, mock_open, patch # pylint: disable=import-error try: import dateutil.parser as dateutil_parser # pylint: disable=unused-import _TIME_SUPPORTED = True except Imp...
38.142857
1,485
0.52394
1,307
9,879
3.885998
0.117062
0.77023
1.137626
1.49557
0.742863
0.733609
0.733609
0.712345
0.68478
0.68478
0
0.222503
0.318048
9,879
258
1,486
38.290698
0.531394
0.008098
0
0.472081
0
0.020305
0.418522
0.299163
0
1
0
0
0.081218
1
0.060914
false
0.005076
0.035533
0.005076
0.101523
0
0
0
0
null
1
1
1
0
1
1
1
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
10
64511ac290f51e25b0d2db8f8bbc791a25b52550
391
py
Python
tests/internal/ena_support/test_ena_support_unsupported_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/ena_support/test_ena_support_unsupported_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
null
null
null
tests/internal/ena_support/test_ena_support_unsupported_auto.py
frolovv/aws.ec2.compare
582805823492f833d65c0441c4a14dce697c12aa
[ "Apache-2.0" ]
1
2021-12-15T11:58:22.000Z
2021-12-15T11:58:22.000Z
# Testing module ena_support.unsupported import pytest import ec2_compare.internal.ena_support.unsupported def test_get_internal_data_ena_support_unsupported_get_instances_list(): assert len(ec2_compare.internal.ena_support.unsupported.get_instances_list()) > 0 def test_get_internal_data_ena_support_unsupported_get...
39.1
83
0.86445
56
391
5.589286
0.339286
0.191693
0.402556
0.306709
0.827476
0.827476
0.619808
0.619808
0.619808
0
0
0.013699
0.066496
391
9
84
43.444444
0.843836
0.097187
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
0
0
0
null
0
1
1
1
1
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
1
0
1
0
0
0
0
8
64552bc4794da567f913b2b4b1edb9a1c5b98aa5
258
py
Python
tests/optionstrader/context.py
Zaitsev11/Optionstrader
ed2dbef802ad08f14a0e5280e91746f1bf1fa3f3
[ "MIT" ]
6
2018-04-26T03:02:04.000Z
2022-02-26T04:58:53.000Z
tests/optionstrader/context.py
webclinic017/Optionstrader
ed2dbef802ad08f14a0e5280e91746f1bf1fa3f3
[ "MIT" ]
null
null
null
tests/optionstrader/context.py
webclinic017/Optionstrader
ed2dbef802ad08f14a0e5280e91746f1bf1fa3f3
[ "MIT" ]
5
2019-12-01T08:09:08.000Z
2021-11-28T03:43:24.000Z
import os import sys #sys.path.insert(0, os.path.abspath('..')) sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../../'))) path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../../')) print(path) import optionstrader
32.25
86
0.689922
40
258
4.25
0.3
0.247059
0.229412
0.164706
0.711765
0.711765
0.711765
0.470588
0.470588
0.470588
0
0.008264
0.062016
258
7
87
36.857143
0.694215
0.158915
0
0
0
0
0.055556
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.166667
0
0
0
null
1
1
1
0
1
1
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
7
647054e54a46d29f80374928dfb89d035fab5c79
3,855
py
Python
concertina_tesseract_details/projection_tetrahedral.py
watchduck/concertina_hypercubes
4d51d4ebcb2ea13a237356bb238b066f6f3d9feb
[ "MIT" ]
1
2018-10-28T08:58:54.000Z
2018-10-28T08:58:54.000Z
concertina_tesseract_details/projection_tetrahedral.py
watchduck/concertina_hypercubes
4d51d4ebcb2ea13a237356bb238b066f6f3d9feb
[ "MIT" ]
null
null
null
concertina_tesseract_details/projection_tetrahedral.py
watchduck/concertina_hypercubes
4d51d4ebcb2ea13a237356bb238b066f6f3d9feb
[ "MIT" ]
1
2021-06-19T21:35:11.000Z
2021-06-19T21:35:11.000Z
from functions import project_from_4d_to_3d import numpy as np point_fr = np.array([-1, -1, -1, -1]) # from # the 149 vertices except the lowest one used as view point vertices = [[-1, -1, -1, -1/5], [-1, -1, -3/5, 1/5], [-1, -1, -1/5, -1], [-1, -1, 1/5, -3/5], [-1, -1, 1/5, 1/5], [-1, -3/5, -1, 1/5], [-1, -3/5, -...
132.931034
3,177
0.379507
1,084
3,855
1.324723
0.0369
0.367688
0.348886
0.311978
0.711699
0.688022
0.688022
0.685933
0.683148
0.682451
0
0.320616
0.190921
3,855
28
3,178
137.678571
0.139788
0.016083
0
0
0
0
0.002375
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0.047619
0
0
1
null
1
1
1
0
0
0
0
0
1
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
b39af89b1376d4710ef2624fab89ade20bda66eb
18,059
py
Python
coba/tests/test_environments_filters.py
anrath/coba
635fd21306f52b27e7f5d78ee05148e6934e3d38
[ "BSD-3-Clause" ]
null
null
null
coba/tests/test_environments_filters.py
anrath/coba
635fd21306f52b27e7f5d78ee05148e6934e3d38
[ "BSD-3-Clause" ]
null
null
null
coba/tests/test_environments_filters.py
anrath/coba
635fd21306f52b27e7f5d78ee05148e6934e3d38
[ "BSD-3-Clause" ]
null
null
null
import unittest from math import isnan from coba.config import CobaConfig, NullLogger from coba.environments import SimulatedInteraction, Sort, Scale, Cycle, Impute CobaConfig.logger = NullLogger() class Sort_tests(unittest.TestCase): def test_sort1(self) -> None: interactions = [ Simulate...
40.042129
127
0.61731
2,131
18,059
5.097607
0.035664
0.197459
0.13569
0.090767
0.956458
0.93777
0.916229
0.880604
0.828224
0.816717
0
0.051438
0.216291
18,059
451
128
40.042129
0.716103
0.002879
0
0.634375
0
0
0.030544
0
0
0
0
0
0.459375
1
0.075
false
0
0.0125
0
0.1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
b3aba6a1f7cbf8222e4f9314a3da64497342b943
11,425
py
Python
fixedcolors.py
BullGator024/zandro_rcon
4cc584eb4990306e96b77b1aa9021b7d5fccae62
[ "MIT" ]
1
2022-01-02T16:00:42.000Z
2022-01-02T16:00:42.000Z
fixedcolors.py
BullGator024/zandro_rcon
4cc584eb4990306e96b77b1aa9021b7d5fccae62
[ "MIT" ]
null
null
null
fixedcolors.py
BullGator024/zandro_rcon
4cc584eb4990306e96b77b1aa9021b7d5fccae62
[ "MIT" ]
null
null
null
clist = [ "\\c[uh0]", "\\c[uh1]", "\\c[uh2]", "\\c[uh3]", "\\c[uh4]", "\\c[uh5]", "\\c[uh6]", "\\c[uh7]", "\\c[uh8]", "\\c[uh9]", "\\c[uh10]", "\\c[uh11]", "\\c[uh12]", "\\c[uh13]", "\\c[uh14]", "\\c[uh15]", "\\c[uh16]", "\\c[uh17]", "\\c[uh18]", "\\c[uh19]", "\\c[uh20]", "\\c[uh21]", "\\c[uh22]", "\\c[uh23]", ...
102.927928
218
0.265558
1,866
11,425
1.622722
0.21329
0.011889
0.003963
0.005945
0.827609
0.827609
0.827609
0.827609
0.827609
0.827609
0
0.094721
0.11291
11,425
110
219
103.863636
0.204045
0.005252
0
0.020202
0
0
0.634916
0
0
0
0
0
0
1
0.010101
false
0
0
0
0.020202
0
0
0
1
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
b3ba998fe58557747208404d7d1e3835a1e6b41b
1,240
py
Python
tests/test_Bankroll.py
wdm0006/keeks
ca10d1579932799160bc53bedb19a76330986da0
[ "MIT" ]
1
2021-05-17T21:06:04.000Z
2021-05-17T21:06:04.000Z
tests/test_Bankroll.py
helton-tech/keeks
ca10d1579932799160bc53bedb19a76330986da0
[ "MIT" ]
null
null
null
tests/test_Bankroll.py
helton-tech/keeks
ca10d1579932799160bc53bedb19a76330986da0
[ "MIT" ]
null
null
null
import unittest from keeks.bankroll import BankRoll from keeks.utils import RuinException class TestBankroll(unittest.TestCase): def test_Transactions(self): br = BankRoll(initial_funds=1000, percent_bettable=1, max_draw_down=1) self.assertEqual(br.bettable_funds, 1000) self.assertEqual(br...
33.513514
82
0.695968
159
1,240
5.251572
0.251572
0.215569
0.244311
0.179641
0.735329
0.735329
0.735329
0.735329
0.590419
0.538922
0
0.085366
0.206452
1,240
36
83
34.444444
0.763211
0
0
0.464286
0
0
0
0
0
0
0
0
0.464286
1
0.107143
false
0
0.107143
0
0.25
0
0
0
0
null
1
1
1
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
b3dac9ce4ab7cab7d6ad7f20a13145532c2f3bf1
141,491
py
Python
azure/mgmt/sql/operations/databases_operations.py
EnjoyLifeFund/py36pkgs
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
2
2020-07-29T14:22:17.000Z
2020-11-06T18:47:40.000Z
azure/mgmt/sql/operations/databases_operations.py
EnjoyLifeFund/py36pkgs
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
1
2016-08-01T07:37:04.000Z
2016-08-01T07:37:04.000Z
azure/mgmt/sql/operations/databases_operations.py
EnjoyLifeFund/py36pkgs
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
1
2020-12-12T21:04:41.000Z
2020-12-12T21:04:41.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
48.191757
224
0.665753
15,257
141,491
5.955365
0.023465
0.035626
0.033678
0.016311
0.949527
0.943958
0.939699
0.929123
0.927185
0.923003
0
0.005646
0.24398
141,491
2,935
225
48.208177
0.84376
0.276081
0
0.890897
0
0.022758
0.19282
0.104797
0
0
0
0
0
1
0.049531
false
0
0.009371
0
0.134538
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b3e1422cffd114dc771833fc9d5b8d41f33ab053
3,249
py
Python
examples/cnn_bert/all_models/BERT/embedding/bert.py
Learn-Live/activity_recognition
76fa7bcecc3e422f1ea59fd1aaf576669e1248fb
[ "Apache-2.0" ]
1
2022-01-10T21:02:50.000Z
2022-01-10T21:02:50.000Z
examples/cnn_bert/all_models/BERT/embedding/bert.py
Learn-Live/activity_recognition
76fa7bcecc3e422f1ea59fd1aaf576669e1248fb
[ "Apache-2.0" ]
null
null
null
examples/cnn_bert/all_models/BERT/embedding/bert.py
Learn-Live/activity_recognition
76fa7bcecc3e422f1ea59fd1aaf576669e1248fb
[ "Apache-2.0" ]
null
null
null
import torch.nn as nn from .token import TokenEmbedding from .position import PositionalEmbedding, LearnedPositionalEmbedding2, LearnedPositionalEmbedding, \ LearnedPositionalEmbedding3 from .segment import SegmentEmbedding class BERTEmbedding(nn.Module): """ BERT Embedding which is consisted with under f...
34.56383
101
0.676516
378
3,249
5.645503
0.177249
0.033739
0.041237
0.052484
0.823336
0.823336
0.823336
0.805061
0.792877
0.792877
0
0.008537
0.242844
3,249
93
102
34.935484
0.858943
0.373961
0
0.621622
0
0
0
0
0
0
0
0
0
1
0.216216
false
0
0.108108
0
0.540541
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
373dda1f2869945b705e8c78d8244ccbe4e7e8cf
18,300
py
Python
env/Vehicle2.py
byq-luo/Lane_change_RL
3409238db939e6722441219b4c2dc66033611069
[ "MIT" ]
4
2021-03-11T03:05:31.000Z
2022-03-22T08:45:20.000Z
env/Vehicle2.py
byq-luo/Lane_change_RL
3409238db939e6722441219b4c2dc66033611069
[ "MIT" ]
null
null
null
env/Vehicle2.py
byq-luo/Lane_change_RL
3409238db939e6722441219b4c2dc66033611069
[ "MIT" ]
5
2021-06-18T11:32:34.000Z
2021-12-31T08:10:51.000Z
import math import os, sys if 'SUMO_HOME' in os.environ: tools = os.path.join(os.environ['SUMO_HOME'], 'tools') sys.path.append(tools) print('success') else: sys.exit("please declare environment variable 'SUMO_HOME'") import traci class Vehicle: def __init__(self, veh_id, rd): self.veh_id ...
41.685649
119
0.554863
2,171
18,300
4.506218
0.079226
0.03271
0.044158
0.026577
0.980476
0.980476
0.980476
0.980476
0.980476
0.980476
0
0.020665
0.349508
18,300
439
120
41.685649
0.801159
0.182295
0
0.966997
0
0
0.0055
0
0
0
0
0.004556
0.019802
1
0.026403
false
0
0.009901
0
0.062706
0.0033
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3773940312240caf521e647cb33dde04b7c47d07
178
py
Python
summarize/nn/beam_search/coverage_penalizers/__init__.py
danieldeutsch/summarize
f36a86d58f381ff1f607f356dad3d6ef7b0e0224
[ "Apache-2.0" ]
15
2019-11-01T11:49:44.000Z
2021-01-19T06:59:32.000Z
summarize/nn/beam_search/coverage_penalizers/__init__.py
CogComp/summary-cloze
b38e3e8c7755903477fd92a4cff27125cbf5553d
[ "Apache-2.0" ]
2
2020-03-30T07:54:01.000Z
2021-11-15T16:27:42.000Z
summarize/nn/beam_search/coverage_penalizers/__init__.py
CogComp/summary-cloze
b38e3e8c7755903477fd92a4cff27125cbf5553d
[ "Apache-2.0" ]
3
2019-12-06T05:57:51.000Z
2019-12-11T11:34:21.000Z
from summarize.nn.beam_search.coverage_penalizers.coverage_penalizer import CoveragePenalizer from summarize.nn.beam_search.coverage_penalizers.onmt import ONMTCoveragePenalizer
59.333333
93
0.910112
21
178
7.47619
0.571429
0.165605
0.191083
0.242038
0.547771
0.547771
0.547771
0
0
0
0
0
0.044944
178
2
94
89
0.923529
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
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
1
0
1
0
1
0
0
7
37a9d8f6dd1438c4f6f40f575d418201b3e9915c
9,914
py
Python
HW2Assignment/code/my_hw2.py
rpg711/cs383
468aaf5a57d758056fc3b503a3b835e58e8cfbff
[ "MIT" ]
null
null
null
HW2Assignment/code/my_hw2.py
rpg711/cs383
468aaf5a57d758056fc3b503a3b835e58e8cfbff
[ "MIT" ]
null
null
null
HW2Assignment/code/my_hw2.py
rpg711/cs383
468aaf5a57d758056fc3b503a3b835e58e8cfbff
[ "MIT" ]
null
null
null
from sudoku import Sudoku from copy import deepcopy from collections import deque from time import time class CSP_Solver(object): """ This class is used to solve the CSP with backtracking. """ def __init__(self, puzzle_file): self.sudoku = Sudoku(puzzle_file) self.guesses = 0 s...
34.785965
83
0.547509
1,295
9,914
4.093436
0.10888
0.057725
0.08489
0.050934
0.893982
0.893416
0.877948
0.870025
0.827202
0.827202
0
0.02049
0.320658
9,914
284
84
34.908451
0.766592
0.220395
0
0.745342
0
0
0.010234
0
0
0
0
0
0
1
0.086957
false
0
0.024845
0.018634
0.26087
0.049689
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
37b53377c137ee09232cca8bb4894bcecacb86c0
131,184
py
Python
Phase 4/Insurance_Company.py
Rutvij-1/Panic.c
cc93b1b224f283257c6bd45fbb1a93ae88e427d1
[ "MIT" ]
null
null
null
Phase 4/Insurance_Company.py
Rutvij-1/Panic.c
cc93b1b224f283257c6bd45fbb1a93ae88e427d1
[ "MIT" ]
null
null
null
Phase 4/Insurance_Company.py
Rutvij-1/Panic.c
cc93b1b224f283257c6bd45fbb1a93ae88e427d1
[ "MIT" ]
null
null
null
import subprocess as sp import pymysql import pymysql.cursors from dateutil.parser import parse from dateutil.relativedelta import relativedelta from datetime import datetime def CheckAadhar(aadhar_no): for c in aadhar_no: if c < '0' or c > '9': print("Failed to insert into database") ...
36.725644
289
0.496341
14,155
131,184
4.492617
0.033698
0.04164
0.058497
0.025129
0.882927
0.865551
0.845455
0.822024
0.801739
0.785354
0
0.006187
0.367964
131,184
3,571
290
36.735928
0.760797
0.001974
0
0.823529
0
0.012816
0.347981
0.012909
0.000329
0
0
0
0
1
0.01676
false
0.000986
0.001972
0
0.061124
0.1791
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
37b70f1bd309b3ff93c88eccc5b19ee6d53a1186
141,873
py
Python
gnosis/eth/tests/mocks/mock_trace_block.py
titandac/gnosis-py
cf0af4f25e64b22256eabb415d0f3fe3a6180b14
[ "MIT" ]
64
2018-09-26T19:56:50.000Z
2022-03-18T21:45:59.000Z
gnosis/eth/tests/mocks/mock_trace_block.py
zhanghao-ic/gnosis-py
d2a5912547b7d1b576c826909f4c1d0155db536f
[ "MIT" ]
151
2018-09-10T21:42:05.000Z
2022-03-31T12:33:31.000Z
gnosis/eth/tests/mocks/mock_trace_block.py
zhanghao-ic/gnosis-py
d2a5912547b7d1b576c826909f4c1d0155db536f
[ "MIT" ]
50
2018-12-13T20:43:46.000Z
2022-03-30T09:32:32.000Z
from hexbytes import HexBytes trace_block_2191709_mock = [ { "action": { "from": "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8", "gas": 69000, "value": 1000801159649151900, "callType": "call", "input": HexBytes("0x"), "to": "0x7b5A476715...
56.613328
4,828
0.721074
3,970
141,873
25.767003
0.13073
0.011242
0.015465
0.019532
0.498666
0.493367
0.355335
0.338101
0.258849
0.245388
0
0.597366
0.199777
141,873
2,505
4,829
56.635928
0.303673
0
0
0.663604
0
0
0.685451
0.568184
0
1
0.56896
0
0
1
0
false
0
0.0004
0
0.0004
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
1
null
1
1
0
0
0
0
0
0
0
0
0
0
0
8
8080836038417051027ce4d9642f78e280dd24df
147
py
Python
unittest_reinvent/sample_model_tests/__init__.py
fujirock/Reinvent
9c57636f9d32b4ce5b75670f43906a70d5daf886
[ "MIT" ]
4
2021-05-11T05:34:01.000Z
2022-03-30T10:04:21.000Z
unittest_reinvent/sample_model_tests/__init__.py
prasannavd/Reinvent
ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616
[ "MIT" ]
null
null
null
unittest_reinvent/sample_model_tests/__init__.py
prasannavd/Reinvent
ca02ebee8d8ed83223c55f4a1dd1b3fbc2359616
[ "MIT" ]
2
2021-06-01T11:56:10.000Z
2021-10-05T04:33:56.000Z
from unittest_reinvent.sample_model_tests.test_sample_from_model import * from unittest_reinvent.sample_model_tests.test_sample_logger_tbx import *
73.5
73
0.911565
22
147
5.545455
0.454545
0.196721
0.327869
0.42623
0.754098
0.754098
0.754098
0.754098
0
0
0
0
0.047619
147
2
74
73.5
0.871429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
10
80c35c2732b639a1a0facd33ff4897fdca547cef
1,662
py
Python
ex21_bsearch/test_bsearch.py
techieguy007/learn-more-python-the-hard-way-solutions
7886c860f69d69739a41d6490b8dc3fa777f227b
[ "Zed", "Unlicense" ]
466
2016-11-01T19:40:59.000Z
2022-03-23T16:34:13.000Z
ex21_bsearch/test_bsearch.py
Desperaaado/learn-more-python-the-hard-way-solutions
7886c860f69d69739a41d6490b8dc3fa777f227b
[ "Zed", "Unlicense" ]
2
2017-09-20T09:01:53.000Z
2017-09-21T15:03:56.000Z
ex21_bsearch/test_bsearch.py
Desperaaado/learn-more-python-the-hard-way-solutions
7886c860f69d69739a41d6490b8dc3fa777f227b
[ "Zed", "Unlicense" ]
241
2017-06-17T08:02:26.000Z
2022-03-30T09:09:39.000Z
import bsearch def test_bsearch_list(): data = sorted([5,3,7,1,9,20]) assert bsearch.search_list(data, 5) == (5, 2) assert bsearch.search_list(data, 1) == (1, 0) assert bsearch.search_list(data, 20) == (20, len(data) - 1) assert bsearch.search_list(data, 9) == (9, 4) assert bsearch.search_list...
39.571429
68
0.638989
266
1,662
3.845865
0.112782
0.304985
0.445748
0.269795
0.892473
0.837732
0.748778
0.527859
0.28348
0.189638
0
0.079764
0.185319
1,662
41
69
40.536585
0.675775
0.030084
0
0.090909
0
0
0
0
0
0
0
0
0.727273
1
0.121212
false
0
0.030303
0
0.151515
0
0
0
0
null
1
1
1
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
1
0
0
0
0
0
0
0
0
0
7
80d71540452058a70a45dfeeae37cb00c5bf8474
20,392
py
Python
pyro/dynamic/massspringdamper.py
SherbyRobotics/pyro
43dcb112427978ff237ea14018bcf7f8a8d89997
[ "MIT" ]
14
2019-05-03T15:22:38.000Z
2022-03-14T15:31:54.000Z
pyro/dynamic/massspringdamper.py
Scientist265/pyro
43dcb112427978ff237ea14018bcf7f8a8d89997
[ "MIT" ]
9
2019-08-01T14:22:13.000Z
2021-06-12T01:44:50.000Z
pyro/dynamic/massspringdamper.py
Scientist265/pyro
43dcb112427978ff237ea14018bcf7f8a8d89997
[ "MIT" ]
9
2019-05-21T12:38:36.000Z
2022-03-29T16:28:45.000Z
# -*- coding: utf-8 -*- """ Created on 4 Jun 2021 @author: Alexandre """ import numpy as np from pyro.dynamic import statespace ############################################################################### class SingleMass( statespace.StateSpaceSystem ): """Single Mass with linear spring and damper At...
33.211726
98
0.371812
2,894
20,392
2.581894
0.057015
0.142398
0.103988
0.101178
0.901365
0.88758
0.876874
0.861617
0.849973
0.825616
0
0.102446
0.350432
20,392
614
99
33.211726
0.461649
0.081159
0
0.635015
0
0
0.014281
0
0
0
0
0
0
1
0.047478
false
0
0.005935
0.002967
0.091988
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
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
7
03f535e1ded1c2363b3c0080f1b5b60cdeb7ac23
18,296
py
Python
climateeconomics/tests/l1_test_gradient_forest_v2_discipline.py
os-climate/witness-core
3ef9a44d86804c5ad57deec3c9916348cb3bfbb8
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
1
2022-01-14T06:37:42.000Z
2022-01-14T06:37:42.000Z
climateeconomics/tests/l1_test_gradient_forest_v2_discipline.py
os-climate/witness-core
3ef9a44d86804c5ad57deec3c9916348cb3bfbb8
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
climateeconomics/tests/l1_test_gradient_forest_v2_discipline.py
os-climate/witness-core
3ef9a44d86804c5ad57deec3c9916348cb3bfbb8
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
''' Copyright 2022 Airbus SAS 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 dis...
54.614925
123
0.570671
2,029
18,296
4.793001
0.134056
0.06581
0.070334
0.063342
0.884627
0.877121
0.877121
0.877121
0.877121
0.877121
0
0.034027
0.330181
18,296
334
124
54.778443
0.759527
0.081985
0
0.841699
0
0
0.241612
0.18806
0
0
0
0
0
1
0.015444
false
0
0.023166
0.003861
0.046332
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
20a8c1205f3b1228eafeef056004a91162f8a07f
26,940
py
Python
wharf_management/wharf_management/utils.py
staumoepeau/pms
67aa43fb27f75482275b50dff17f5919e6c394b1
[ "MIT" ]
1
2021-02-19T11:45:24.000Z
2021-02-19T11:45:24.000Z
wharf_management/wharf_management/utils.py
staumoepeau/pms
67aa43fb27f75482275b50dff17f5919e6c394b1
[ "MIT" ]
1
2021-08-12T08:29:50.000Z
2021-08-17T06:12:02.000Z
wharf_management/wharf_management/utils.py
staumoepeau/pms
67aa43fb27f75482275b50dff17f5919e6c394b1
[ "MIT" ]
4
2020-07-22T20:30:00.000Z
2021-08-07T12:36:01.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2020, Sione Taumoepeau and contributors # For license information, please see license.txt from __future__ import unicode_literals import math import frappe from frappe import _ from frappe.utils import cstr, formatdate, cint, getdate, date_diff, add_days, time_diff_in_hours, rou...
43.804878
194
0.605308
2,961
26,940
5.142857
0.057751
0.096664
0.059167
0.036249
0.824796
0.805687
0.788482
0.776202
0.769963
0.760376
0
0.003042
0.279955
26,940
615
195
43.804878
0.781988
0.009651
0
0.724199
0
0.001779
0.241687
0.00791
0
0
0
0
0
1
0.010676
false
0
0.010676
0
0.021352
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
20b2ffa9c9922ec5e76c99dca9c065538352266b
152
py
Python
source/tests/metacall_configuration_exec_path_test/data/scripts/main.py
Zedonboy/core
79a4d959659a0f96b940b28d44476943de120d95
[ "Apache-2.0" ]
null
null
null
source/tests/metacall_configuration_exec_path_test/data/scripts/main.py
Zedonboy/core
79a4d959659a0f96b940b28d44476943de120d95
[ "Apache-2.0" ]
null
null
null
source/tests/metacall_configuration_exec_path_test/data/scripts/main.py
Zedonboy/core
79a4d959659a0f96b940b28d44476943de120d95
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3.5 import metacall_configuration_exec_path_test def main(): return metacall_configuration_exec_path_test.hello_world('test')
21.714286
66
0.802632
21
152
5.380952
0.714286
0.371681
0.442478
0.513274
0.584071
0
0
0
0
0
0
0.014706
0.105263
152
6
67
25.333333
0.816176
0.125
0
0
0
0
0.031746
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
10
20dab5ab4111a24b5eed2612d58a7c0c855c8666
130,150
py
Python
com/vmware/nsx/fabric_client.py
vishal-12/vsphere-automation-sdk-python
9cf363971db77ea5a12928eecd5cf5170a7fcd8a
[ "MIT" ]
null
null
null
com/vmware/nsx/fabric_client.py
vishal-12/vsphere-automation-sdk-python
9cf363971db77ea5a12928eecd5cf5170a7fcd8a
[ "MIT" ]
null
null
null
com/vmware/nsx/fabric_client.py
vishal-12/vsphere-automation-sdk-python
9cf363971db77ea5a12928eecd5cf5170a7fcd8a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2019 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.nsx.fabric. #-----------------------------------------------------------------------...
44.832931
161
0.593446
12,985
130,150
5.713362
0.038121
0.06927
0.083585
0.102874
0.891654
0.87746
0.849073
0.828948
0.812584
0.805521
0
0.001568
0.299262
130,150
2,902
162
44.84838
0.811888
0.273162
0
0.707424
1
0.001638
0.308974
0.198952
0
0
0
0
0
1
0.024563
false
0
0.00655
0
0.069869
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
454aa25823500204a4e665ef8eb58efa3251d028
10,565
py
Python
required_modules/advanced_decoder.py
maiyuren/Hybrid-Quantum-Autoencoder
4c176519b0f0fe1a644beafedc0c7754bdb65435
[ "MIT" ]
1
2021-10-02T23:18:18.000Z
2021-10-02T23:18:18.000Z
required_modules/advanced_decoder.py
maiyuren/Hybrid-Quantum-Autoencoder
4c176519b0f0fe1a644beafedc0c7754bdb65435
[ "MIT" ]
null
null
null
required_modules/advanced_decoder.py
maiyuren/Hybrid-Quantum-Autoencoder
4c176519b0f0fe1a644beafedc0c7754bdb65435
[ "MIT" ]
null
null
null
import sys import gaussian_decoding as gd class EnhancedDecoder(gd.nn.Module): name = 'EnhancedDecoder' def __init__(self, input_size, n_qubits, q_depth, q_delta, reg_size=2, gate_type='ry', shots=None): """ :param input_size: input size :param n...
44.578059
116
0.59044
1,579
10,565
3.60228
0.086764
0.04993
0.082982
0.044304
0.956927
0.949015
0.940225
0.930204
0.912623
0.899437
0
0.014178
0.312352
10,565
236
117
44.766949
0.768754
0.09115
0
0.823529
0
0
0.020987
0
0
0
0
0
0.017647
1
0.023529
false
0
0.011765
0
0.070588
0.005882
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
45b324418f3e5410c11b25af054f25136ee22c4c
131
py
Python
cartoonify/app/image_processor/__init__.py
theendsofinvention/cartoonify
a922ff0e24d0671c83073f5338a5820e3afd1dfc
[ "MIT" ]
1,991
2018-07-03T16:12:28.000Z
2022-03-31T22:57:33.000Z
cartoonify/app/image_processor/__init__.py
theendsofinvention/cartoonify
a922ff0e24d0671c83073f5338a5820e3afd1dfc
[ "MIT" ]
40
2018-07-05T11:12:53.000Z
2022-03-11T23:26:34.000Z
cartoonify/app/image_processor/__init__.py
whiteboarddan/cartoonify
39ea84d96b3e93f0480e6d6158bea506d01278ca
[ "MIT" ]
201
2018-07-04T16:16:57.000Z
2022-03-10T14:39:04.000Z
from .imageprocessor import ImageProcessor from .imageprocessor import tensorflow_model_name from .imageprocessor import model_path
43.666667
49
0.89313
15
131
7.6
0.466667
0.473684
0.631579
0
0
0
0
0
0
0
0
0
0.083969
131
3
50
43.666667
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
b3699988cf74a856c5921b0461fd5edecedab72b
123
py
Python
cpab/cpa1d/utils/__init__.py
freifeld/cpabDiffeo
22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6
[ "MIT" ]
17
2016-03-16T21:35:36.000Z
2021-11-11T04:16:21.000Z
cpab/cpaHd/utils/__init__.py
freifeld/cpabDiffeo
22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6
[ "MIT" ]
null
null
null
cpab/cpaHd/utils/__init__.py
freifeld/cpabDiffeo
22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6
[ "MIT" ]
4
2016-08-12T23:02:09.000Z
2019-03-14T18:20:36.000Z
#from _create_cells import create_cells #from _create_verts_and_H import create_verts_and_H from constraints import *
15.375
52
0.837398
19
123
4.894737
0.421053
0.215054
0.301075
0.322581
0
0
0
0
0
0
0
0
0.138211
123
7
53
17.571429
0.877358
0.723577
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
2fdb716c5153951ce09bc9e9a50fa2ee4853b221
14,732
py
Python
test/test_session.py
willforde/urlquick
a62f6e81a1831436b04baef4faa0f60c93d98936
[ "MIT" ]
7
2017-08-15T23:57:35.000Z
2022-03-21T23:22:32.000Z
test/test_session.py
rrosajp/urlquick
56312c9393c212d9e982f583af9669c1c9448b6f
[ "MIT" ]
31
2017-04-14T13:54:17.000Z
2022-03-28T11:11:43.000Z
test/test_session.py
rrosajp/urlquick
56312c9393c212d9e982f583af9669c1c9448b6f
[ "MIT" ]
2
2017-03-22T02:51:01.000Z
2021-02-27T16:26:41.000Z
import urlquick import requests import shutil import pytest import time @pytest.mark.parametrize("obj", [urlquick, urlquick.Session()]) class TestSessionClean(object): """Clean the database before each and every test.""" # noinspection PyMethodMayBeStatic def setup_method(self): """Remove cache l...
36.375309
114
0.653408
2,080
14,732
4.50625
0.071635
0.086418
0.09218
0.115225
0.890323
0.879654
0.867278
0.82951
0.825669
0.801984
0
0.015515
0.216875
14,732
404
115
36.465347
0.796914
0.072699
0
0.740984
0
0
0.153518
0
0
0
0
0
0.442623
1
0.095082
false
0
0.016393
0
0.121311
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
2fea3353ac6493d28d545e7fbb0e5f13a9ff260d
310,487
py
Python
code/qgis_projects.py
wupperinst/osmTGmod
ce70ba30b2b101cfccde9cc9d6fff3f0e5a12083
[ "Apache-2.0" ]
6
2016-12-02T14:08:33.000Z
2022-01-20T09:32:10.000Z
code/qgis_projects.py
wupperinst/osmTGmod
ce70ba30b2b101cfccde9cc9d6fff3f0e5a12083
[ "Apache-2.0" ]
18
2016-05-03T15:35:31.000Z
2017-12-04T15:21:35.000Z
code/qgis_projects.py
wupperinst/osmTGmod
ce70ba30b2b101cfccde9cc9d6fff3f0e5a12083
[ "Apache-2.0" ]
5
2016-03-25T11:09:41.000Z
2021-04-20T09:47:21.000Z
################################################################################### # # # Copyright "2015" "Wuppertal Institut" # # ...
54.943727
404
0.498031
30,977
310,487
4.919811
0.030603
0.074704
0.140878
0.021909
0.956864
0.952658
0.950322
0.947336
0.945696
0.94441
0
0.05305
0.341032
310,487
5,651
405
54.943727
0.69182
0.003797
0
0.952847
0
0.014947
0.996152
0.213922
0
0
0
0
0
1
0.000178
false
0.006762
0.000178
0
0.000356
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
2fecce968669bcb32c34baee5fdfc2437b88176c
519
py
Python
granule_ingester/granule_ingester/processors/reading_processors/__init__.py
skorper/incubator-sdap-ingester
40cc47a1c09e5809099a89322b54d0ec31b5a820
[ "Apache-2.0" ]
null
null
null
granule_ingester/granule_ingester/processors/reading_processors/__init__.py
skorper/incubator-sdap-ingester
40cc47a1c09e5809099a89322b54d0ec31b5a820
[ "Apache-2.0" ]
1
2021-05-03T22:13:11.000Z
2021-05-03T22:13:11.000Z
granule_ingester/granule_ingester/processors/reading_processors/__init__.py
wphyojpl/incubator-sdap-ingester
472ab158c5bcfd4001a92cc5ebb98c7827f146f8
[ "Apache-2.0" ]
null
null
null
from granule_ingester.processors.reading_processors.EccoReadingProcessor import EccoReadingProcessor from granule_ingester.processors.reading_processors.GridReadingProcessor import GridReadingProcessor from granule_ingester.processors.reading_processors.SwathReadingProcessor import SwathReadingProcessor from granule_in...
86.5
112
0.932563
45
519
10.533333
0.244444
0.116034
0.200422
0.305907
0.485232
0.485232
0
0
0
0
0
0
0.038536
519
5
113
103.8
0.9499
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
1
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8